]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/mac/_controls_wrap.cpp
fixed bug in Set() on DST days (patch 1097811)
[wxWidgets.git] / wxPython / src / mac / _controls_wrap.cpp
CommitLineData
d55e5bfc
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
36ed4f51 3 * Version 1.3.24
d55e5bfc
RD
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11#define SWIGPYTHON
d55e5bfc
RD
12
13#ifdef __cplusplus
14template<class T> class SwigValueWrapper {
15 T *tt;
16public:
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
19 SwigValueWrapper(const T& t) : tt(new T(t)) { }
20 ~SwigValueWrapper() { delete tt; }
21 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
22 operator T&() const { return *tt; }
23 T *operator&() { return tt; }
24private:
25 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
36ed4f51 26};
d55e5bfc
RD
27#endif
28
29
36ed4f51
RD
30#ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31# if defined(__SUNPRO_CC)
32# define SWIG_TEMPLATE_DISAMBIGUATOR template
33# else
34# define SWIG_TEMPLATE_DISAMBIGUATOR
35# endif
36#endif
d55e5bfc 37
d55e5bfc 38
36ed4f51 39#include <Python.h>
d55e5bfc
RD
40
41/***********************************************************************
36ed4f51 42 * swigrun.swg
d55e5bfc 43 *
36ed4f51
RD
44 * This file contains generic CAPI SWIG runtime support for pointer
45 * type checking.
d55e5bfc
RD
46 *
47 ************************************************************************/
48
36ed4f51
RD
49/* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51#define SWIG_RUNTIME_VERSION "1"
d55e5bfc 52
36ed4f51
RD
53/* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54#ifdef SWIG_TYPE_TABLE
55#define SWIG_QUOTE_STRING(x) #x
56#define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57#define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
d55e5bfc 58#else
36ed4f51 59#define SWIG_TYPE_TABLE_NAME
d55e5bfc
RD
60#endif
61
36ed4f51
RD
62#include <string.h>
63
64#ifndef SWIGINLINE
65#if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66# define SWIGINLINE inline
d55e5bfc 67#else
36ed4f51
RD
68# define SWIGINLINE
69#endif
70#endif
71
72/*
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
76
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
79*/
80#ifndef SWIGRUNTIME
81#define SWIGRUNTIME static
82#endif
83#ifndef SWIGRUNTIMEINLINE
84#define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
d55e5bfc
RD
85#endif
86
87#ifdef __cplusplus
88extern "C" {
89#endif
90
91typedef void *(*swig_converter_func)(void *);
92typedef struct swig_type_info *(*swig_dycast_func)(void **);
93
94typedef struct swig_type_info {
95 const char *name;
96 swig_converter_func converter;
97 const char *str;
98 void *clientdata;
99 swig_dycast_func dcast;
100 struct swig_type_info *next;
101 struct swig_type_info *prev;
102} swig_type_info;
103
36ed4f51
RD
104/*
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
107
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
110*/
111SWIGRUNTIME int
112SWIG_TypeNameComp(const char *f1, const char *l1,
113 const char *f2, const char *l2) {
114 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
115 while ((*f1 == ' ') && (f1 != l1)) ++f1;
116 while ((*f2 == ' ') && (f2 != l2)) ++f2;
117 if (*f1 != *f2) return *f1 - *f2;
118 }
119 return (l1 - f1) - (l2 - f2);
120}
121
122/*
123 Check type equivalence in a name list like <name1>|<name2>|...
124*/
125SWIGRUNTIME int
126SWIG_TypeEquiv(const char *nb, const char *tb) {
127 int equiv = 0;
128 const char* te = tb + strlen(tb);
129 const char* ne = nb;
130 while (!equiv && *ne) {
131 for (nb = ne; *ne; ++ne) {
132 if (*ne == '|') break;
133 }
134 equiv = SWIG_TypeNameComp(nb, ne, tb, te) == 0;
135 if (*ne) ++ne;
136 }
137 return equiv;
138}
139
140/*
141 Register a type mapping with the type-checking
142*/
143SWIGRUNTIME swig_type_info *
144SWIG_TypeRegisterTL(swig_type_info **tl, swig_type_info *ti) {
145 swig_type_info *tc, *head, *ret, *next;
146 /* Check to see if this type has already been registered */
147 tc = *tl;
148 while (tc) {
149 /* check simple type equivalence */
150 int typeequiv = (strcmp(tc->name, ti->name) == 0);
151 /* check full type equivalence, resolving typedefs */
152 if (!typeequiv) {
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc->str && ti->str && !strstr(tc->str,"|")) {
155 typeequiv = SWIG_TypeEquiv(ti->str,tc->str);
156 }
157 }
158 if (typeequiv) {
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti->clientdata) tc->clientdata = ti->clientdata;
161 head = tc;
162 next = tc->next;
163 goto l1;
164 }
165 tc = tc->prev;
166 }
167 head = ti;
168 next = 0;
169
170 /* Place in list */
171 ti->prev = *tl;
172 *tl = ti;
173
174 /* Build linked lists */
175 l1:
176 ret = head;
177 tc = ti + 1;
178 /* Patch up the rest of the links */
179 while (tc->name) {
180 head->next = tc;
181 tc->prev = head;
182 head = tc;
183 tc++;
184 }
185 if (next) next->prev = head;
186 head->next = next;
187
188 return ret;
189}
190
191/*
192 Check the typename
193*/
194SWIGRUNTIME swig_type_info *
195SWIG_TypeCheck(const char *c, swig_type_info *ty) {
196 swig_type_info *s;
197 if (!ty) return 0; /* Void pointer */
198 s = ty->next; /* First element always just a name */
199 do {
200 if (strcmp(s->name,c) == 0) {
201 if (s == ty->next) return s;
202 /* Move s to the top of the linked list */
203 s->prev->next = s->next;
204 if (s->next) {
205 s->next->prev = s->prev;
206 }
207 /* Insert s as second element in the list */
208 s->next = ty->next;
209 if (ty->next) ty->next->prev = s;
210 ty->next = s;
211 s->prev = ty;
212 return s;
213 }
214 s = s->next;
215 } while (s && (s != ty->next));
216 return 0;
217}
218
219/*
220 Cast a pointer up an inheritance hierarchy
221*/
222SWIGRUNTIMEINLINE void *
223SWIG_TypeCast(swig_type_info *ty, void *ptr) {
224 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
225}
226
227/*
228 Dynamic pointer casting. Down an inheritance hierarchy
229*/
230SWIGRUNTIME swig_type_info *
231SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
232 swig_type_info *lastty = ty;
233 if (!ty || !ty->dcast) return ty;
234 while (ty && (ty->dcast)) {
235 ty = (*ty->dcast)(ptr);
236 if (ty) lastty = ty;
237 }
238 return lastty;
239}
240
241/*
242 Return the name associated with this type
243*/
244SWIGRUNTIMEINLINE const char *
245SWIG_TypeName(const swig_type_info *ty) {
246 return ty->name;
247}
248
249/*
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
252*/
253SWIGRUNTIME const char *
254SWIG_TypePrettyName(const swig_type_info *type) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
258 specific. */
259 if (type->str != NULL) {
260 const char *last_name = type->str;
261 const char *s;
262 for (s = type->str; *s; s++)
263 if (*s == '|') last_name = s+1;
264 return last_name;
265 }
266 else
267 return type->name;
268}
269
270/*
271 Search for a swig_type_info structure
272*/
273SWIGRUNTIME swig_type_info *
274SWIG_TypeQueryTL(swig_type_info *tl, const char *name) {
275 swig_type_info *ty = tl;
276 while (ty) {
277 if (ty->str && (SWIG_TypeEquiv(ty->str,name))) return ty;
278 if (ty->name && (strcmp(name,ty->name) == 0)) return ty;
279 ty = ty->prev;
280 }
281 return 0;
282}
283
284/*
285 Set the clientdata field for a type
286*/
287SWIGRUNTIME void
288SWIG_TypeClientDataTL(swig_type_info *tl, swig_type_info *ti, void *clientdata) {
289 swig_type_info *tc, *equiv;
290 if (ti->clientdata) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti->clientdata = clientdata;
293 equiv = ti->next;
294 while (equiv) {
295 if (!equiv->converter) {
296 tc = tl;
297 while (tc) {
298 if ((strcmp(tc->name, equiv->name) == 0))
299 SWIG_TypeClientDataTL(tl,tc,clientdata);
300 tc = tc->prev;
301 }
302 }
303 equiv = equiv->next;
304 }
305}
306
307/*
308 Pack binary data into a string
309*/
310SWIGRUNTIME char *
311SWIG_PackData(char *c, void *ptr, size_t sz) {
312 static char hex[17] = "0123456789abcdef";
313 unsigned char *u = (unsigned char *) ptr;
314 const unsigned char *eu = u + sz;
315 register unsigned char uu;
316 for (; u != eu; ++u) {
317 uu = *u;
318 *(c++) = hex[(uu & 0xf0) >> 4];
319 *(c++) = hex[uu & 0xf];
320 }
321 return c;
322}
323
324/*
325 Unpack binary data from a string
326*/
327SWIGRUNTIME const char *
328SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
329 register unsigned char *u = (unsigned char *) ptr;
330 register const unsigned char *eu = u + sz;
331 for (; u != eu; ++u) {
332 register int d = *(c++);
333 register unsigned char uu = 0;
334 if ((d >= '0') && (d <= '9'))
335 uu = ((d - '0') << 4);
336 else if ((d >= 'a') && (d <= 'f'))
337 uu = ((d - ('a'-10)) << 4);
338 else
339 return (char *) 0;
340 d = *(c++);
341 if ((d >= '0') && (d <= '9'))
342 uu |= (d - '0');
343 else if ((d >= 'a') && (d <= 'f'))
344 uu |= (d - ('a'-10));
345 else
346 return (char *) 0;
347 *u = uu;
348 }
349 return c;
350}
351
352/*
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
357*/
358SWIGRUNTIME void
359SWIG_PropagateClientDataTL(swig_type_info *tl, swig_type_info *type) {
360 swig_type_info *equiv = type->next;
361 swig_type_info *tc;
362 if (!type->clientdata) return;
363 while (equiv) {
364 if (!equiv->converter) {
365 tc = tl;
366 while (tc) {
367 if ((strcmp(tc->name, equiv->name) == 0) && !tc->clientdata)
368 SWIG_TypeClientDataTL(tl,tc, type->clientdata);
369 tc = tc->prev;
370 }
371 }
372 equiv = equiv->next;
373 }
374}
d55e5bfc 375
36ed4f51
RD
376/*
377 Pack 'void *' into a string buffer.
378*/
379SWIGRUNTIME char *
380SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
381 char *r = buff;
382 if ((2*sizeof(void *) + 2) > bsz) return 0;
383 *(r++) = '_';
384 r = SWIG_PackData(r,&ptr,sizeof(void *));
385 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
386 strcpy(r,name);
387 return buff;
388}
389
390SWIGRUNTIME const char *
391SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
392 if (*c != '_') {
393 if (strcmp(c,"NULL") == 0) {
394 *ptr = (void *) 0;
395 return name;
396 } else {
397 return 0;
398 }
399 }
400 return SWIG_UnpackData(++c,ptr,sizeof(void *));
401}
402
403SWIGRUNTIME char *
404SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
405 char *r = buff;
406 size_t lname = (name ? strlen(name) : 0);
407 if ((2*sz + 2 + lname) > bsz) return 0;
408 *(r++) = '_';
409 r = SWIG_PackData(r,ptr,sz);
410 if (lname) {
411 strncpy(r,name,lname+1);
412 } else {
413 *r = 0;
414 }
415 return buff;
416}
d55e5bfc 417
36ed4f51
RD
418SWIGRUNTIME const char *
419SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
420 if (*c != '_') {
421 if (strcmp(c,"NULL") == 0) {
422 memset(ptr,0,sz);
423 return name;
424 } else {
425 return 0;
426 }
427 }
428 return SWIG_UnpackData(++c,ptr,sz);
429}
d55e5bfc
RD
430
431#ifdef __cplusplus
432}
433#endif
434
435/***********************************************************************
36ed4f51
RD
436 * common.swg
437 *
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
440 * external linkage.
d55e5bfc 441 *
36ed4f51 442 * Author : David Beazley (beazley@cs.uchicago.edu)
d55e5bfc 443 *
36ed4f51
RD
444 * Copyright (c) 1999-2000, The University of Chicago
445 *
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
d55e5bfc
RD
448 ************************************************************************/
449
36ed4f51
RD
450
451#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452# if !defined(STATIC_LINKED)
453# define SWIGEXPORT(a) __declspec(dllexport) a
454# else
455# define SWIGEXPORT(a) a
456# endif
457#else
458# define SWIGEXPORT(a) a
459#endif
460
d55e5bfc
RD
461#ifdef __cplusplus
462extern "C" {
463#endif
464
d55e5bfc 465
36ed4f51 466/*************************************************************************/
d55e5bfc 467
d55e5bfc 468
36ed4f51 469/* The static type info list */
d55e5bfc 470
36ed4f51
RD
471static swig_type_info *swig_type_list = 0;
472static swig_type_info **swig_type_list_handle = &swig_type_list;
473
d55e5bfc 474
36ed4f51
RD
475/* Register a type mapping with the type-checking */
476static swig_type_info *
477SWIG_TypeRegister(swig_type_info *ti) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle, ti);
479}
d55e5bfc 480
36ed4f51
RD
481/* Search for a swig_type_info structure */
482static swig_type_info *
483SWIG_TypeQuery(const char *name) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle, name);
485}
d55e5bfc 486
36ed4f51
RD
487/* Set the clientdata field for a type */
488static void
489SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle, ti, clientdata);
491}
d55e5bfc 492
36ed4f51
RD
493/* This function will propagate the clientdata field of type to
494* any new swig_type_info structures that have been added into the list
495* of equivalent types. It is like calling
496* SWIG_TypeClientData(type, clientdata) a second time.
497*/
498static void
499SWIG_PropagateClientData(swig_type_info *type) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle, type);
501}
d55e5bfc
RD
502
503#ifdef __cplusplus
504}
505#endif
506
36ed4f51
RD
507/* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
d55e5bfc 510
36ed4f51
RD
511#ifdef __cplusplus
512extern "C" {
513#endif
c370783e 514
36ed4f51
RD
515/* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
d55e5bfc 518
36ed4f51
RD
519#ifndef SWIGINTERN
520#define SWIGINTERN static
521#endif
d55e5bfc 522
36ed4f51
RD
523#ifndef SWIGINTERNSHORT
524#ifdef __cplusplus
525#define SWIGINTERNSHORT static inline
526#else /* C case */
527#define SWIGINTERNSHORT static
528#endif /* __cplusplus */
529#endif
d55e5bfc
RD
530
531
36ed4f51
RD
532/*
533 Exception handling in wrappers
534*/
535#define SWIG_fail goto fail
536#define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537#define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538#define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539#define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540#define SWIG_null_ref(type) SWIG_Python_NullRef(type)
541
542/*
543 Contract support
544*/
545#define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
547
548/* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
d55e5bfc 551
36ed4f51
RD
552/* Constant Types */
553#define SWIG_PY_INT 1
554#define SWIG_PY_FLOAT 2
555#define SWIG_PY_STRING 3
556#define SWIG_PY_POINTER 4
557#define SWIG_PY_BINARY 5
558
559/* Constant information structure */
560typedef struct swig_const_info {
561 int type;
562 char *name;
563 long lvalue;
564 double dvalue;
565 void *pvalue;
566 swig_type_info **ptype;
567} swig_const_info;
d55e5bfc 568
c370783e 569
36ed4f51
RD
570/* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
c370783e
RD
573#define SWIG_OLDOBJ 1
574#define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575#define SWIG_PYSTR SWIG_NEWOBJ + 1
d55e5bfc
RD
576
577#ifdef __cplusplus
36ed4f51
RD
578}
579#endif
d55e5bfc 580
d55e5bfc 581
36ed4f51
RD
582/***********************************************************************
583 * pyrun.swg
584 *
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
587 * type checking.
588 *
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
d55e5bfc 591
36ed4f51
RD
592/* Common SWIG API */
593#define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594#define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595#define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
596
d55e5bfc 597
36ed4f51
RD
598/* Python-specific SWIG API */
599#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600#define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
d55e5bfc 601
d55e5bfc 602
36ed4f51
RD
603/* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
606/*
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
609 not always safe.
610*/
611#if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612# define SWIG_COBJECT_TYPES
613#endif
d55e5bfc 614
36ed4f51
RD
615/* Flags for pointer conversion */
616#define SWIG_POINTER_EXCEPTION 0x1
617#define SWIG_POINTER_DISOWN 0x2
d55e5bfc 618
d55e5bfc 619
36ed4f51
RD
620#ifdef __cplusplus
621extern "C" {
622#endif
d55e5bfc 623
36ed4f51
RD
624/* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
d55e5bfc 627
36ed4f51
RD
628#ifndef SWIG_BUFFER_SIZE
629#define SWIG_BUFFER_SIZE 1024
630#endif
d55e5bfc 631
36ed4f51
RD
632#if defined(SWIG_COBJECT_TYPES)
633#if !defined(SWIG_COBJECT_PYTHON)
634/* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
d55e5bfc 637
36ed4f51
RD
638typedef struct {
639 PyObject_HEAD
640 void *ptr;
641 const char *desc;
642} PySwigObject;
643
644/* Declarations for objects of type PySwigObject */
645
646SWIGRUNTIME int
647PySwigObject_print(PySwigObject *v, FILE *fp, int flags)
d55e5bfc 648{
36ed4f51
RD
649 char result[SWIG_BUFFER_SIZE];
650 if (SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result))) {
651 fputs("<Swig Object at ", fp); fputs(result, fp); fputs(">", fp);
652 return 0;
653 } else {
654 return 1;
d55e5bfc 655 }
36ed4f51
RD
656}
657
658SWIGRUNTIME PyObject *
659PySwigObject_repr(PySwigObject *v)
660{
661 char result[SWIG_BUFFER_SIZE];
662 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
663 PyString_FromFormat("<Swig Object at %s>", result) : 0;
d55e5bfc
RD
664}
665
36ed4f51
RD
666SWIGRUNTIME PyObject *
667PySwigObject_str(PySwigObject *v)
668{
669 char result[SWIG_BUFFER_SIZE];
670 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
671 PyString_FromString(result) : 0;
672}
d55e5bfc 673
36ed4f51
RD
674SWIGRUNTIME PyObject *
675PySwigObject_long(PySwigObject *v)
d55e5bfc 676{
36ed4f51
RD
677 return PyLong_FromUnsignedLong((unsigned long) v->ptr);
678}
679
680SWIGRUNTIME PyObject *
681PySwigObject_oct(PySwigObject *v)
682{
683 char buf[100];
684 unsigned long x = (unsigned long)v->ptr;
685 if (x == 0)
686 strcpy(buf, "0");
687 else
688 PyOS_snprintf(buf, sizeof(buf), "0%lo", x);
689 return PyString_FromString(buf);
d55e5bfc
RD
690}
691
36ed4f51
RD
692SWIGRUNTIME PyObject *
693PySwigObject_hex(PySwigObject *v)
694{
695 char buf[100];
696 PyOS_snprintf(buf, sizeof(buf), "0x%lx", (unsigned long)v->ptr);
697 return PyString_FromString(buf);
698}
d55e5bfc 699
36ed4f51
RD
700SWIGRUNTIME int
701PySwigObject_compare(PySwigObject *v, PySwigObject *w)
702{
703 int c = strcmp(v->desc, w->desc);
704 if (c) {
705 return c;
c370783e 706 } else {
36ed4f51
RD
707 void *i = v->ptr;
708 void *j = w->ptr;
709 return (i < j) ? -1 : (i > j) ? 1 : 0;
c370783e 710 }
d55e5bfc 711}
36ed4f51
RD
712
713SWIGRUNTIME void
714PySwigObject_dealloc(PySwigObject *self)
c370783e 715{
36ed4f51 716 PyObject_DEL(self);
c370783e 717}
36ed4f51
RD
718
719SWIGRUNTIME PyTypeObject*
720PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__[] =
722 "Swig object carries a C/C++ instance pointer";
723
724 static PyNumberMethods PySwigObject_as_number = {
725 (binaryfunc)0, /*nb_add*/
726 (binaryfunc)0, /*nb_subtract*/
727 (binaryfunc)0, /*nb_multiply*/
728 (binaryfunc)0, /*nb_divide*/
729 (binaryfunc)0, /*nb_remainder*/
730 (binaryfunc)0, /*nb_divmod*/
731 (ternaryfunc)0,/*nb_power*/
732 (unaryfunc)0, /*nb_negative*/
733 (unaryfunc)0, /*nb_positive*/
734 (unaryfunc)0, /*nb_absolute*/
735 (inquiry)0, /*nb_nonzero*/
736 0, /*nb_invert*/
737 0, /*nb_lshift*/
738 0, /*nb_rshift*/
739 0, /*nb_and*/
740 0, /*nb_xor*/
741 0, /*nb_or*/
742 (coercion)0, /*nb_coerce*/
743 (unaryfunc)PySwigObject_long, /*nb_int*/
744 (unaryfunc)PySwigObject_long, /*nb_long*/
745 (unaryfunc)0, /*nb_float*/
746 (unaryfunc)PySwigObject_oct, /*nb_oct*/
747 (unaryfunc)PySwigObject_hex, /*nb_hex*/
748#if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
750#endif
751 };
752
753 static int type_init = 0;
754 static PyTypeObject PySwigObject_Type;
755
756 if (!type_init) {
757 PyTypeObject tmp = {
758 PyObject_HEAD_INIT(&PyType_Type)
759 0, /*ob_size*/
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject), /*tp_basicsize*/
762 0, /*tp_itemsize*/
763 /* methods */
764 (destructor)PySwigObject_dealloc, /*tp_dealloc*/
765 (printfunc)PySwigObject_print, /*tp_print*/
766 (getattrfunc)0, /*tp_getattr*/
767 (setattrfunc)0, /*tp_setattr*/
768 (cmpfunc)PySwigObject_compare, /*tp_compare*/
769 (reprfunc)PySwigObject_repr, /*tp_repr*/
770 &PySwigObject_as_number, /*tp_as_number*/
771 0, /*tp_as_sequence*/
772 0, /*tp_as_mapping*/
773 (hashfunc)0, /*tp_hash*/
774 (ternaryfunc)0, /*tp_call*/
775 (reprfunc)PySwigObject_str, /*tp_str*/
776 /* Space for future expansion */
777 0L,0L,0L,0L,
778 PySwigObject_Type__doc__, /* Documentation string */
779#if PY_VERSION_HEX >= 0x02000000
780 0, /* tp_traverse */
781 0, /* tp_clear */
782#endif
783#if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
786#endif
787#if PY_VERSION_HEX >= 0x02020000
788 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 789#endif
36ed4f51
RD
790#if PY_VERSION_HEX >= 0x02030000
791 0, /* tp_del */
792#endif
793#ifdef COUNT_ALLOCS
794 0,0,0,0 /* tp_alloc -> tp_next */
795#endif
796 };
d55e5bfc 797
36ed4f51
RD
798 PySwigObject_Type = tmp;
799 type_init = 1;
800 }
d55e5bfc 801
36ed4f51
RD
802 return &PySwigObject_Type;
803}
804
805SWIGRUNTIME PyObject *
806PySwigObject_FromVoidPtrAndDesc(void *ptr, const char *desc)
807{
808 PySwigObject *self = PyObject_NEW(PySwigObject, PySwigObject_GetType());
809 if (self == NULL) return NULL;
810 self->ptr = ptr;
811 self->desc = desc;
812 return (PyObject *)self;
813}
814
815SWIGRUNTIMEINLINE void *
816PySwigObject_AsVoidPtr(PyObject *self)
817{
818 return ((PySwigObject *)self)->ptr;
819}
820
821SWIGRUNTIMEINLINE const char *
822PySwigObject_GetDesc(PyObject *self)
823{
824 return ((PySwigObject *)self)->desc;
825}
826
827SWIGRUNTIMEINLINE int
828PySwigObject_Check(PyObject *op) {
829 return ((op)->ob_type == PySwigObject_GetType())
830 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
831}
832
833/* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
836
837typedef struct {
838 PyObject_HEAD
839 void *pack;
840 const char *desc;
841 size_t size;
842} PySwigPacked;
843
844SWIGRUNTIME int
845PySwigPacked_print(PySwigPacked *v, FILE *fp, int flags)
846{
847 char result[SWIG_BUFFER_SIZE];
848 fputs("<Swig Packed ", fp);
849 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
850 fputs("at ", fp);
851 fputs(result, fp);
852 }
853 fputs(v->desc,fp);
854 fputs(">", fp);
855 return 0;
856}
857
858SWIGRUNTIME PyObject *
859PySwigPacked_repr(PySwigPacked *v)
860{
861 char result[SWIG_BUFFER_SIZE];
862 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->desc);
864 } else {
865 return PyString_FromFormat("<Swig Packed %s>", v->desc);
866 }
867}
868
869SWIGRUNTIME PyObject *
870PySwigPacked_str(PySwigPacked *v)
871{
872 char result[SWIG_BUFFER_SIZE];
873 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
874 return PyString_FromFormat("%s%s", result, v->desc);
875 } else {
876 return PyString_FromFormat("%s", v->desc);
877 }
878}
879
880SWIGRUNTIME int
881PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
882{
883 int c = strcmp(v->desc, w->desc);
884 if (c) {
885 return c;
886 } else {
887 size_t i = v->size;
888 size_t j = w->size;
889 int s = (i < j) ? -1 : (i > j) ? 1 : 0;
890 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
891 }
892}
893
894SWIGRUNTIME void
895PySwigPacked_dealloc(PySwigPacked *self)
896{
897 free(self->pack);
898 PyObject_DEL(self);
899}
900
901SWIGRUNTIME PyTypeObject*
902PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init = 0;
906
907 static PyTypeObject PySwigPacked_Type;
908 if (!type_init) {
909 PyTypeObject tmp = {
910 PyObject_HEAD_INIT(&PyType_Type)
911 0, /*ob_size*/
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked), /*tp_basicsize*/
914 0, /*tp_itemsize*/
915 /* methods */
916 (destructor)PySwigPacked_dealloc, /*tp_dealloc*/
917 (printfunc)PySwigPacked_print, /*tp_print*/
918 (getattrfunc)0, /*tp_getattr*/
919 (setattrfunc)0, /*tp_setattr*/
920 (cmpfunc)PySwigPacked_compare, /*tp_compare*/
921 (reprfunc)PySwigPacked_repr, /*tp_repr*/
922 0, /*tp_as_number*/
923 0, /*tp_as_sequence*/
924 0, /*tp_as_mapping*/
925 (hashfunc)0, /*tp_hash*/
926 (ternaryfunc)0, /*tp_call*/
927 (reprfunc)PySwigPacked_str, /*tp_str*/
928 /* Space for future expansion */
929 0L,0L,0L,0L,
930 PySwigPacked_Type__doc__, /* Documentation string */
931#if PY_VERSION_HEX >= 0x02000000
932 0, /* tp_traverse */
933 0, /* tp_clear */
934#endif
935#if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
938#endif
939#if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
941#endif
942#if PY_VERSION_HEX >= 0x02030000
943 0, /* tp_del */
944#endif
945#ifdef COUNT_ALLOCS
946 0,0,0,0 /* tp_alloc -> tp_next */
947#endif
948 };
949
950 PySwigPacked_Type = tmp;
951 type_init = 1;
952 }
953
954
955
956 return &PySwigPacked_Type;
957}
958
959SWIGRUNTIME PyObject *
960PySwigPacked_FromDataAndDesc(void *ptr, size_t size, const char *desc)
961{
962 PySwigPacked *self = PyObject_NEW(PySwigPacked, PySwigPacked_GetType());
963 if (self == NULL) {
964 return NULL;
965 } else {
966 void *pack = malloc(size);
967 memcpy(pack, ptr, size);
968 self->pack = pack;
969 self->desc = desc;
970 self->size = size;
971 return (PyObject *) self;
972 }
973}
974
975SWIGRUNTIMEINLINE const char *
976PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
977{
978 PySwigPacked *self = (PySwigPacked *)obj;
979 if (self->size != size) return 0;
980 memcpy(ptr, self->pack, size);
981 return self->desc;
982}
983
984SWIGRUNTIMEINLINE const char *
985PySwigPacked_GetDesc(PyObject *self)
986{
987 return ((PySwigPacked *)self)->desc;
988}
989
990SWIGRUNTIMEINLINE int
991PySwigPacked_Check(PyObject *op) {
992 return ((op)->ob_type == PySwigPacked_GetType())
993 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
994}
995
996#else
997/* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1000
1001#define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002#define PySwigObject_Check(obj) PyCObject_Check(obj)
1003#define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004#define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1005
1006#endif
1007
1008#endif
1009
1010/* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1013
1014SWIGRUNTIME void
1015SWIG_Python_TypeError(const char *type, PyObject *obj)
1016{
1017 if (type) {
1018#if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj)) {
1020 const char *otype = (const char *) PySwigObject_GetDesc(obj);
1021 if (otype) {
1022 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
1023 type, otype);
1024 return;
1025 }
1026 } else
1027#endif
1028 {
1029 const char *otype = (obj ? obj->ob_type->tp_name : 0);
1030 if (otype) {
1031 PyObject *str = PyObject_Str(obj);
1032 const char *cstr = str ? PyString_AsString(str) : 0;
1033 if (cstr) {
1034 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
1035 type, otype, cstr);
1036 } else {
1037 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
1038 type, otype);
1039 }
1040 Py_DECREF(str);
1041 return;
1042 }
1043 }
1044 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
1045 } else {
1046 PyErr_Format(PyExc_TypeError, "unexpected type is received");
1047 }
1048}
1049
1050SWIGRUNTIMEINLINE void
1051SWIG_Python_NullRef(const char *type)
1052{
1053 if (type) {
1054 PyErr_Format(PyExc_TypeError, "null reference of type '%s' was received",type);
1055 } else {
1056 PyErr_Format(PyExc_TypeError, "null reference was received");
1057 }
1058}
1059
1060SWIGRUNTIME int
1061SWIG_Python_AddErrMesg(const char* mesg, int infront)
1062{
1063 if (PyErr_Occurred()) {
1064 PyObject *type = 0;
1065 PyObject *value = 0;
1066 PyObject *traceback = 0;
1067 PyErr_Fetch(&type, &value, &traceback);
1068 if (value) {
1069 PyObject *old_str = PyObject_Str(value);
1070 Py_XINCREF(type);
1071 PyErr_Clear();
1072 if (infront) {
1073 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
1074 } else {
1075 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
1076 }
1077 Py_DECREF(old_str);
1078 }
1079 return 1;
1080 } else {
1081 return 0;
1082 }
1083}
1084
1085SWIGRUNTIME int
1086SWIG_Python_ArgFail(int argnum)
1087{
1088 if (PyErr_Occurred()) {
1089 /* add information about failing argument */
1090 char mesg[256];
1091 sprintf(mesg, "argument number %d:", argnum);
1092 return SWIG_Python_AddErrMesg(mesg, 1);
1093 } else {
1094 return 0;
1095 }
1096}
1097
1098
1099/* -----------------------------------------------------------------------------
1100 * pointers/data manipulation
1101 * ----------------------------------------------------------------------------- */
1102
1103/* Convert a pointer value */
1104SWIGRUNTIME int
1105SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) {
1106 swig_type_info *tc;
1107 const char *c = 0;
1108 static PyObject *SWIG_this = 0;
1109 int newref = 0;
1110 PyObject *pyobj = 0;
1111 void *vptr;
1112
1113 if (!obj) return 0;
1114 if (obj == Py_None) {
1115 *ptr = 0;
1116 return 0;
1117 }
1118
1119#ifdef SWIG_COBJECT_TYPES
1120 if (!(PySwigObject_Check(obj))) {
1121 if (!SWIG_this)
1122 SWIG_this = PyString_FromString("this");
1123 pyobj = obj;
1124 obj = PyObject_GetAttr(obj,SWIG_this);
1125 newref = 1;
1126 if (!obj) goto type_error;
1127 if (!PySwigObject_Check(obj)) {
1128 Py_DECREF(obj);
1129 goto type_error;
1130 }
1131 }
1132 vptr = PySwigObject_AsVoidPtr(obj);
1133 c = (const char *) PySwigObject_GetDesc(obj);
1134 if (newref) { Py_DECREF(obj); }
1135 goto type_check;
1136#else
1137 if (!(PyString_Check(obj))) {
1138 if (!SWIG_this)
1139 SWIG_this = PyString_FromString("this");
1140 pyobj = obj;
1141 obj = PyObject_GetAttr(obj,SWIG_this);
1142 newref = 1;
1143 if (!obj) goto type_error;
1144 if (!PyString_Check(obj)) {
1145 Py_DECREF(obj);
1146 goto type_error;
1147 }
1148 }
1149 c = PyString_AS_STRING(obj);
1150 /* Pointer values must start with leading underscore */
1151 c = SWIG_UnpackVoidPtr(c, &vptr, ty->name);
1152 if (newref) { Py_DECREF(obj); }
1153 if (!c) goto type_error;
1154#endif
1155
1156type_check:
1157
1158 if (ty) {
1159 tc = SWIG_TypeCheck(c,ty);
1160 if (!tc) goto type_error;
1161 *ptr = SWIG_TypeCast(tc,vptr);
1162 } else {
1163 *ptr = vptr;
1164 }
1165
1166 if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) {
1167 PyObject_SetAttrString(pyobj,(char*)"thisown",Py_False);
1168 }
1169 return 0;
1170
1171type_error:
1172 PyErr_Clear();
1173 if (pyobj && !obj) {
1174 obj = pyobj;
1175 if (PyCFunction_Check(obj)) {
1176 /* here we get the method pointer for callbacks */
1177 char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
1178 c = doc ? strstr(doc, "swig_ptr: ") : 0;
1179 if (c) {
1180 c = SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name);
1181 if (!c) goto type_error;
1182 goto type_check;
1183 }
1184 }
1185 }
1186 if (flags & SWIG_POINTER_EXCEPTION) {
1187 if (ty) {
1188 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1189 } else {
1190 SWIG_Python_TypeError("C/C++ pointer", obj);
1191 }
1192 }
1193 return -1;
1194}
1195
1196/* Convert a pointer value, signal an exception on a type mismatch */
1197SWIGRUNTIME void *
1198SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
1199 void *result;
1200 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
1201 PyErr_Clear();
1202 if (flags & SWIG_POINTER_EXCEPTION) {
1203 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1204 SWIG_Python_ArgFail(argnum);
1205 }
1206 }
1207 return result;
1208}
1209
1210/* Convert a packed value value */
1211SWIGRUNTIME int
1212SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty, int flags) {
1213 swig_type_info *tc;
1214 const char *c = 0;
1215
1216#if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1217 c = PySwigPacked_UnpackData(obj, ptr, sz);
1218#else
1219 if ((!obj) || (!PyString_Check(obj))) goto type_error;
1220 c = PyString_AS_STRING(obj);
1221 /* Pointer values must start with leading underscore */
1222 c = SWIG_UnpackDataName(c, ptr, sz, ty->name);
1223#endif
1224 if (!c) goto type_error;
1225 if (ty) {
1226 tc = SWIG_TypeCheck(c,ty);
1227 if (!tc) goto type_error;
1228 }
1229 return 0;
1230
1231type_error:
1232 PyErr_Clear();
1233 if (flags & SWIG_POINTER_EXCEPTION) {
1234 if (ty) {
1235 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1236 } else {
1237 SWIG_Python_TypeError("C/C++ packed data", obj);
1238 }
1239 }
1240 return -1;
1241}
1242
1243/* Create a new array object */
1244SWIGRUNTIME PyObject *
1245SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int own) {
1246 PyObject *robj = 0;
1247 if (!ptr) {
1248 Py_INCREF(Py_None);
1249 return Py_None;
1250 }
1251#ifdef SWIG_COBJECT_TYPES
1252 robj = PySwigObject_FromVoidPtrAndDesc((void *) ptr, (char *)type->name);
1253#else
1254 {
1255 char result[SWIG_BUFFER_SIZE];
1256 robj = SWIG_PackVoidPtr(result, ptr, type->name, sizeof(result)) ?
1257 PyString_FromString(result) : 0;
1258 }
1259#endif
1260 if (!robj || (robj == Py_None)) return robj;
1261 if (type->clientdata) {
1262 PyObject *inst;
1263 PyObject *args = Py_BuildValue((char*)"(O)", robj);
1264 Py_DECREF(robj);
1265 inst = PyObject_CallObject((PyObject *) type->clientdata, args);
1266 Py_DECREF(args);
1267 if (inst) {
1268 if (own) {
1269 PyObject_SetAttrString(inst,(char*)"thisown",Py_True);
1270 }
1271 robj = inst;
1272 }
1273 }
1274 return robj;
1275}
1276
1277SWIGRUNTIME PyObject *
1278SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
1279 PyObject *robj = 0;
1280 if (!ptr) {
1281 Py_INCREF(Py_None);
1282 return Py_None;
1283 }
1284#if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1285 robj = PySwigPacked_FromDataAndDesc((void *) ptr, sz, (char *)type->name);
1286#else
1287 {
1288 char result[SWIG_BUFFER_SIZE];
1289 robj = SWIG_PackDataName(result, ptr, sz, type->name, sizeof(result)) ?
1290 PyString_FromString(result) : 0;
1291 }
1292#endif
1293 return robj;
1294}
1295
1296/* -----------------------------------------------------------------------------*
1297 * Get type list
1298 * -----------------------------------------------------------------------------*/
1299
1300#ifdef SWIG_LINK_RUNTIME
1301void *SWIG_ReturnGlobalTypeList(void *);
1302#endif
1303
1304SWIGRUNTIME swig_type_info **
1305SWIG_Python_GetTypeListHandle() {
1306 static void *type_pointer = (void *)0;
1307 /* first check if module already created */
1308 if (!type_pointer) {
1309#ifdef SWIG_LINK_RUNTIME
1310 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
1311#else
1312 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
1313 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
1314 if (PyErr_Occurred()) {
1315 PyErr_Clear();
1316 type_pointer = (void *)0;
1317 }
1318 }
1319#endif
1320 return (swig_type_info **) type_pointer;
1321}
1322
1323/*
1324 Search for a swig_type_info structure
1325 */
1326SWIGRUNTIMEINLINE swig_type_info *
1327SWIG_Python_GetTypeList() {
1328 swig_type_info **tlh = SWIG_Python_GetTypeListHandle();
1329 return tlh ? *tlh : (swig_type_info*)0;
1330}
1331
1332#define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1333
1334#ifdef __cplusplus
1335}
1336#endif
1337
1338
1339/* -------- TYPES TABLE (BEGIN) -------- */
1340
1341#define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
1342#define SWIGTYPE_p_wxSizer swig_types[1]
1343#define SWIGTYPE_p_wxCheckBox swig_types[2]
1344#define SWIGTYPE_p_wxPyTreeCtrl swig_types[3]
1345#define SWIGTYPE_p_wxEvent swig_types[4]
1346#define SWIGTYPE_p_wxGenericDirCtrl swig_types[5]
1347#define SWIGTYPE_p_bool swig_types[6]
1348#define SWIGTYPE_p_wxItemContainer swig_types[7]
1349#define SWIGTYPE_p_wxPyListCtrl swig_types[8]
1350#define SWIGTYPE_p_wxPyTreeItemData swig_types[9]
1351#define SWIGTYPE_p_wxDirFilterListCtrl swig_types[10]
1352#define SWIGTYPE_p_wxStaticLine swig_types[11]
1353#define SWIGTYPE_p_wxControl swig_types[12]
1354#define SWIGTYPE_p_wxPyControl swig_types[13]
1355#define SWIGTYPE_p_wxGauge swig_types[14]
1356#define SWIGTYPE_p_wxToolBarBase swig_types[15]
1357#define SWIGTYPE_p_wxFont swig_types[16]
1358#define SWIGTYPE_p_wxToggleButton swig_types[17]
1359#define SWIGTYPE_p_wxRadioButton swig_types[18]
1360#define SWIGTYPE_p_wxChoice swig_types[19]
1361#define SWIGTYPE_p_wxMemoryDC swig_types[20]
1362#define SWIGTYPE_ptrdiff_t swig_types[21]
1363#define SWIGTYPE_std__ptrdiff_t swig_types[22]
1364#define SWIGTYPE_p_wxListItemAttr swig_types[23]
1365#define SWIGTYPE_p_void swig_types[24]
1366#define SWIGTYPE_p_int swig_types[25]
1367#define SWIGTYPE_p_wxSize swig_types[26]
1368#define SWIGTYPE_p_wxDC swig_types[27]
1369#define SWIGTYPE_p_wxListView swig_types[28]
1370#define SWIGTYPE_p_wxIcon swig_types[29]
1371#define SWIGTYPE_p_wxVisualAttributes swig_types[30]
1372#define SWIGTYPE_p_wxTextCtrl swig_types[31]
1373#define SWIGTYPE_p_wxNotebook swig_types[32]
1374#define SWIGTYPE_p_wxChoicebook swig_types[33]
1375#define SWIGTYPE_p_wxNotifyEvent swig_types[34]
1376#define SWIGTYPE_p_wxArrayString swig_types[35]
1377#define SWIGTYPE_p_form_ops_t swig_types[36]
1378#define SWIGTYPE_p_wxListbook swig_types[37]
1379#define SWIGTYPE_p_wxStaticBitmap swig_types[38]
1380#define SWIGTYPE_p_wxSlider swig_types[39]
1381#define SWIGTYPE_p_wxStaticBox swig_types[40]
1382#define SWIGTYPE_p_wxArrayInt swig_types[41]
1383#define SWIGTYPE_p_wxContextHelp swig_types[42]
1384#define SWIGTYPE_p_long swig_types[43]
1385#define SWIGTYPE_p_wxDuplexMode swig_types[44]
1386#define SWIGTYPE_p_wxBookCtrlBase swig_types[45]
1387#define SWIGTYPE_p_wxEvtHandler swig_types[46]
1388#define SWIGTYPE_p_wxListEvent swig_types[47]
1389#define SWIGTYPE_p_wxCheckListBox swig_types[48]
1390#define SWIGTYPE_p_wxListBox swig_types[49]
1391#define SWIGTYPE_p_wxSpinButton swig_types[50]
1392#define SWIGTYPE_p_wxButton swig_types[51]
1393#define SWIGTYPE_p_wxBitmapButton swig_types[52]
1394#define SWIGTYPE_p_wxRect swig_types[53]
1395#define SWIGTYPE_p_wxContextHelpButton swig_types[54]
1396#define SWIGTYPE_p_wxRadioBox swig_types[55]
1397#define SWIGTYPE_p_wxScrollBar swig_types[56]
1398#define SWIGTYPE_p_char swig_types[57]
1399#define SWIGTYPE_p_wxComboBox swig_types[58]
1400#define SWIGTYPE_p_wxTreeItemId swig_types[59]
1401#define SWIGTYPE_p_wxHelpEvent swig_types[60]
1402#define SWIGTYPE_p_wxListItem swig_types[61]
1403#define SWIGTYPE_p_wxNotebookSizer swig_types[62]
1404#define SWIGTYPE_p_wxSpinEvent swig_types[63]
1405#define SWIGTYPE_p_wxGenericDragImage swig_types[64]
1406#define SWIGTYPE_p_wxSpinCtrl swig_types[65]
1407#define SWIGTYPE_p_wxPaperSize swig_types[66]
1408#define SWIGTYPE_p_wxImageList swig_types[67]
1409#define SWIGTYPE_p_wxHelpProvider swig_types[68]
1410#define SWIGTYPE_p_wxTextAttr swig_types[69]
1411#define SWIGTYPE_p_wxSimpleHelpProvider swig_types[70]
1412#define SWIGTYPE_p_wxChoicebookEvent swig_types[71]
1413#define SWIGTYPE_p_wxListbookEvent swig_types[72]
1414#define SWIGTYPE_p_wxNotebookEvent swig_types[73]
1415#define SWIGTYPE_p_wxPoint swig_types[74]
1416#define SWIGTYPE_p_wxObject swig_types[75]
1417#define SWIGTYPE_p_wxCursor swig_types[76]
1418#define SWIGTYPE_p_wxKeyEvent swig_types[77]
1419#define SWIGTYPE_p_unsigned_long swig_types[78]
1420#define SWIGTYPE_p_wxWindow swig_types[79]
1421#define SWIGTYPE_p_wxString swig_types[80]
1422#define SWIGTYPE_p_wxBitmap swig_types[81]
1423#define SWIGTYPE_unsigned_int swig_types[82]
1424#define SWIGTYPE_p_unsigned_int swig_types[83]
1425#define SWIGTYPE_p_unsigned_char swig_types[84]
1426#define SWIGTYPE_p_wxMouseEvent swig_types[85]
1427#define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[86]
1428#define SWIGTYPE_p_wxTreeEvent swig_types[87]
1429#define SWIGTYPE_p_wxCommandEvent swig_types[88]
1430#define SWIGTYPE_p_wxStaticText swig_types[89]
1431#define SWIGTYPE_p_wxControlWithItems swig_types[90]
1432#define SWIGTYPE_p_wxToolBarToolBase swig_types[91]
1433#define SWIGTYPE_p_wxColour swig_types[92]
1434#define SWIGTYPE_p_wxToolBar swig_types[93]
1435#define SWIGTYPE_p_wxBookCtrlSizer swig_types[94]
1436#define SWIGTYPE_p_wxValidator swig_types[95]
1437static swig_type_info *swig_types[97];
1438
1439/* -------- TYPES TABLE (END) -------- */
1440
1441
1442/*-----------------------------------------------
1443 @(target):= _controls_.so
1444 ------------------------------------------------*/
1445#define SWIG_init init_controls_
1446
1447#define SWIG_name "_controls_"
1448
1449#include "wx/wxPython/wxPython.h"
1450#include "wx/wxPython/pyclasses.h"
1451
1452 static const wxString wxPyPanelNameStr(wxPanelNameStr);
1453 static const wxString wxPyEmptyString(wxEmptyString);
1454 static const wxString wxPyControlNameStr(wxControlNameStr);
1455
1456 const wxArrayString wxPyEmptyStringArray;
1457
1458 static const wxString wxPyButtonNameStr(wxButtonNameStr);
1459
1460 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1461#define SWIG_From_int PyInt_FromLong
1462/*@@*/
1463
1464
1465#include <limits.h>
1466
1467
1468SWIGINTERN int
1469 SWIG_CheckLongInRange(long value, long min_value, long max_value,
1470 const char *errmsg)
1471{
1472 if (value < min_value) {
1473 if (errmsg) {
1474 PyErr_Format(PyExc_OverflowError,
1475 "value %ld is less than '%s' minimum %ld",
1476 value, errmsg, min_value);
1477 }
1478 return 0;
1479 } else if (value > max_value) {
1480 if (errmsg) {
1481 PyErr_Format(PyExc_OverflowError,
1482 "value %ld is greater than '%s' maximum %ld",
1483 value, errmsg, max_value);
1484 }
1485 return 0;
1486 }
1487 return 1;
1488}
1489
1490
1491SWIGINTERN int
1492SWIG_AsVal_long(PyObject* obj, long* val)
1493{
1494 if (PyNumber_Check(obj)) {
1495 if (val) *val = PyInt_AsLong(obj);
1496 return 1;
1497 }
1498 else {
1499 SWIG_type_error("number", obj);
1500 }
1501 return 0;
1502}
1503
1504
1505#if INT_MAX != LONG_MAX
1506SWIGINTERN int
1507 SWIG_AsVal_int(PyObject *obj, int *val)
1508{
1509 const char* errmsg = val ? "int" : (char*)0;
1510 long v;
1511 if (SWIG_AsVal_long(obj, &v)) {
1512 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
1513 if (val) *val = (int)(v);
1514 return 1;
1515 } else {
1516 return 0;
1517 }
1518 } else {
1519 PyErr_Clear();
1520 }
1521 if (val) {
1522 SWIG_type_error(errmsg, obj);
1523 }
1524 return 0;
1525}
1526#else
1527SWIGINTERNSHORT int
1528 SWIG_AsVal_int(PyObject *obj, int *val)
1529{
1530 return SWIG_AsVal_long(obj,(long*)val);
1531}
1532#endif
1533
1534
1535SWIGINTERNSHORT int
c370783e 1536SWIG_As_int(PyObject* obj)
d55e5bfc 1537{
c370783e
RD
1538 int v;
1539 if (!SWIG_AsVal_int(obj, &v)) {
1540 /*
36ed4f51 1541 this is needed to make valgrind/purify happier.
c370783e
RD
1542 */
1543 memset((void*)&v, 0, sizeof(int));
d55e5bfc 1544 }
c370783e 1545 return v;
d55e5bfc
RD
1546}
1547
1548
36ed4f51 1549SWIGINTERNSHORT long
c370783e 1550SWIG_As_long(PyObject* obj)
d55e5bfc 1551{
c370783e
RD
1552 long v;
1553 if (!SWIG_AsVal_long(obj, &v)) {
1554 /*
36ed4f51 1555 this is needed to make valgrind/purify happier.
c370783e
RD
1556 */
1557 memset((void*)&v, 0, sizeof(long));
d55e5bfc 1558 }
c370783e 1559 return v;
d55e5bfc
RD
1560}
1561
c370783e 1562
36ed4f51 1563SWIGINTERNSHORT int
c370783e
RD
1564SWIG_Check_int(PyObject* obj)
1565{
1566 return SWIG_AsVal_int(obj, (int*)0);
1567}
d55e5bfc 1568
c370783e 1569
36ed4f51 1570SWIGINTERNSHORT int
c370783e 1571SWIG_Check_long(PyObject* obj)
d55e5bfc 1572{
c370783e 1573 return SWIG_AsVal_long(obj, (long*)0);
d55e5bfc
RD
1574}
1575
c370783e 1576 static const wxString wxPyCheckBoxNameStr(wxCheckBoxNameStr);
d55e5bfc 1577
36ed4f51 1578SWIGINTERN int
c370783e 1579 SWIG_AsVal_bool(PyObject *obj, bool *val)
d55e5bfc 1580{
c370783e
RD
1581 if (obj == Py_True) {
1582 if (val) *val = true;
1583 return 1;
1584 }
1585 if (obj == Py_False) {
1586 if (val) *val = false;
d55e5bfc
RD
1587 return 1;
1588 }
c370783e
RD
1589 int res = 0;
1590 if (SWIG_AsVal_int(obj, &res)) {
36ed4f51 1591 if (val) *val = res ? true : false;
c370783e 1592 return 1;
36ed4f51
RD
1593 } else {
1594 PyErr_Clear();
1595 }
c370783e 1596 if (val) {
36ed4f51 1597 SWIG_type_error("bool", obj);
c370783e
RD
1598 }
1599 return 0;
1600}
1601
1602
36ed4f51 1603SWIGINTERNSHORT bool
c370783e
RD
1604SWIG_As_bool(PyObject* obj)
1605{
1606 bool v;
1607 if (!SWIG_AsVal_bool(obj, &v)) {
1608 /*
36ed4f51 1609 this is needed to make valgrind/purify happier.
c370783e
RD
1610 */
1611 memset((void*)&v, 0, sizeof(bool));
1612 }
1613 return v;
1614}
1615
1616
36ed4f51 1617SWIGINTERNSHORT int
c370783e
RD
1618SWIG_Check_bool(PyObject* obj)
1619{
1620 return SWIG_AsVal_bool(obj, (bool*)0);
d55e5bfc
RD
1621}
1622
1623 static const wxString wxPyChoiceNameStr(wxChoiceNameStr);
1624 static const wxString wxPyComboBoxNameStr(wxComboBoxNameStr);
36ed4f51
RD
1625
1626 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1627#define SWIG_From_long PyInt_FromLong
1628/*@@*/
1629
d55e5bfc
RD
1630 static const wxString wxPyGaugeNameStr(wxGaugeNameStr);
1631 static const wxString wxPyStaticBitmapNameStr(wxStaticBitmapNameStr);
1632 static const wxString wxPyStaticBoxNameStr(wxStaticBoxNameStr);
1633 static const wxString wxPyStaticTextNameStr(wxStaticTextNameStr);
1634
1635#include <wx/checklst.h>
1636
1637
1638 static const wxString wxPyListBoxNameStr(wxListBoxNameStr);
36ed4f51 1639static void wxListBox_Insert(wxListBox *self,wxString const &item,int pos,PyObject *clientData=NULL){
d55e5bfc
RD
1640 if (clientData) {
1641 wxPyClientData* data = new wxPyClientData(clientData);
1642 self->Insert(item, pos, data);
1643 } else
1644 self->Insert(item, pos);
1645 }
36ed4f51 1646static PyObject *wxListBox_GetSelections(wxListBox *self){
d55e5bfc
RD
1647 wxArrayInt lst;
1648 self->GetSelections(lst);
1649 PyObject *tup = PyTuple_New(lst.GetCount());
1650 for(size_t i=0; i<lst.GetCount(); i++) {
1651 PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
1652 }
1653 return tup;
1654 }
36ed4f51 1655static void wxListBox_SetItemForegroundColour(wxListBox *self,int item,wxColour const &c){
d55e5bfc
RD
1656 #ifdef __WXMSW__
1657 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
1658 self->GetItem(item)->SetTextColour(c);
1659 #endif
1660 }
36ed4f51 1661static void wxListBox_SetItemBackgroundColour(wxListBox *self,int item,wxColour const &c){
d55e5bfc
RD
1662 #ifdef __WXMSW__
1663 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
1664 self->GetItem(item)->SetBackgroundColour(c);
1665 #endif
1666 }
36ed4f51 1667static void wxListBox_SetItemFont(wxListBox *self,int item,wxFont const &f){
d55e5bfc
RD
1668 #ifdef __WXMSW__
1669 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
1670 self->GetItem(item)->SetFont(f);
1671 #endif
1672 }
1673 static const wxString wxPyTextCtrlNameStr(wxTextCtrlNameStr);
1674
c370783e 1675 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
d55e5bfc
RD
1676 PyObject* o2;
1677 PyObject* o3;
c370783e 1678
d55e5bfc
RD
1679 if (!target) {
1680 target = o;
1681 } else if (target == Py_None) {
1682 Py_DECREF(Py_None);
1683 target = o;
629e65c2
RD
1684 } else {
1685 if (!PyTuple_Check(target)) {
1686 o2 = target;
1687 target = PyTuple_New(1);
1688 PyTuple_SetItem(target, 0, o2);
1689 }
d55e5bfc
RD
1690 o3 = PyTuple_New(1);
1691 PyTuple_SetItem(o3, 0, o);
1692
1693 o2 = target;
1694 target = PySequence_Concat(o2, o3);
1695 Py_DECREF(o2);
1696 Py_DECREF(o3);
1697 }
1698 return target;
629e65c2 1699 }
d55e5bfc
RD
1700
1701
c370783e 1702
36ed4f51 1703SWIGINTERN int
c370783e 1704SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
d55e5bfc 1705{
c370783e
RD
1706 long v = 0;
1707 if (SWIG_AsVal_long(obj, &v) && v < 0) {
36ed4f51 1708 SWIG_type_error("unsigned number", obj);
d55e5bfc 1709 }
c370783e
RD
1710 else if (val)
1711 *val = (unsigned long)v;
1712 return 1;
d55e5bfc
RD
1713}
1714
1715
36ed4f51 1716SWIGINTERNSHORT unsigned long
c370783e 1717SWIG_As_unsigned_SS_long(PyObject* obj)
d55e5bfc 1718{
c370783e
RD
1719 unsigned long v;
1720 if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) {
1721 /*
36ed4f51 1722 this is needed to make valgrind/purify happier.
c370783e
RD
1723 */
1724 memset((void*)&v, 0, sizeof(unsigned long));
d55e5bfc 1725 }
c370783e
RD
1726 return v;
1727}
1728
1729
36ed4f51 1730SWIGINTERNSHORT int
c370783e
RD
1731SWIG_Check_unsigned_SS_long(PyObject* obj)
1732{
1733 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
d55e5bfc
RD
1734}
1735
36ed4f51 1736static void wxTextCtrl_write(wxTextCtrl *self,wxString const &text){
d55e5bfc
RD
1737 self->AppendText(text);
1738 }
36ed4f51 1739static wxString wxTextCtrl_GetString(wxTextCtrl *self,long from,long to){
d55e5bfc
RD
1740 return self->GetValue().Mid(from, to - from);
1741 }
1742 static const wxString wxPyScrollBarNameStr(wxScrollBarNameStr);
1743 static const wxString wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME);
1744 static const wxString wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
1745 static const wxString wxPyRadioBoxNameStr(wxRadioBoxNameStr);
1746 static const wxString wxPyRadioButtonNameStr(wxRadioButtonNameStr);
1747
1748#include <wx/slider.h>
1749
1750
1751 static const wxString wxPySliderNameStr(wxSliderNameStr);
1752 static const wxString wxPyToggleButtonNameStr(_T("wxToggleButton"));
1753
1754#if !wxUSE_TOGGLEBTN
1755// implement dummy items for platforms that don't have this class
1756
1757#define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
1758
1759class wxToggleButton : public wxControl
1760{
1761public:
1762 wxToggleButton(wxWindow *, wxWindowID, const wxString&,
1763 const wxPoint&, const wxSize&, long,
1764 const wxValidator&, const wxString&)
1765 { wxPyRaiseNotImplemented(); }
1766
1767 wxToggleButton()
1768 { wxPyRaiseNotImplemented(); }
1769};
1770#endif
1771
51b83b37 1772 static const wxString wxPyNotebookNameStr(wxNotebookNameStr);
d55e5bfc 1773
36ed4f51 1774SWIGINTERNSHORT PyObject*
c370783e 1775 SWIG_From_unsigned_SS_long(unsigned long value)
d55e5bfc
RD
1776{
1777 return (value > LONG_MAX) ?
1778 PyLong_FromUnsignedLong(value)
36ed4f51 1779 : PyInt_FromLong((long)(value));
d55e5bfc
RD
1780}
1781
1782 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
36ed4f51 1783static PyObject *wxToolBarToolBase_GetClientData(wxToolBarToolBase *self){
d55e5bfc
RD
1784 wxPyUserData* udata = (wxPyUserData*)self->GetClientData();
1785 if (udata) {
1786 Py_INCREF(udata->m_obj);
1787 return udata->m_obj;
1788 } else {
1789 Py_INCREF(Py_None);
1790 return Py_None;
1791 }
1792 }
36ed4f51 1793static void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject *clientData){
d55e5bfc
RD
1794 self->SetClientData(new wxPyUserData(clientData));
1795 }
36ed4f51 1796static 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
1797 wxPyUserData* udata = NULL;
1798 if (clientData && clientData != Py_None)
1799 udata = new wxPyUserData(clientData);
1800 return self->AddTool(id, label, bitmap, bmpDisabled, kind,
1801 shortHelp, longHelp, udata);
1802 }
36ed4f51 1803static 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
1804 wxPyUserData* udata = NULL;
1805 if (clientData && clientData != Py_None)
1806 udata = new wxPyUserData(clientData);
1807 return self->InsertTool(pos, id, label, bitmap, bmpDisabled, kind,
1808 shortHelp, longHelp, udata);
1809 }
36ed4f51 1810static PyObject *wxToolBarBase_GetToolClientData(wxToolBarBase *self,int id){
d55e5bfc
RD
1811 wxPyUserData* udata = (wxPyUserData*)self->GetToolClientData(id);
1812 if (udata) {
1813 Py_INCREF(udata->m_obj);
1814 return udata->m_obj;
1815 } else {
1816 Py_INCREF(Py_None);
1817 return Py_None;
1818 }
1819 }
36ed4f51 1820static void wxToolBarBase_SetToolClientData(wxToolBarBase *self,int id,PyObject *clientData){
d55e5bfc
RD
1821 self->SetToolClientData(id, new wxPyUserData(clientData));
1822 }
1823
1824#include <wx/listctrl.h>
1825
d55e5bfc 1826 static const wxString wxPyListCtrlNameStr(_T("wxListCtrl"));
36ed4f51 1827static void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; }
d55e5bfc
RD
1828 // Python aware sorting function for wxPyListCtrl
1829 static int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
1830 int retval = 0;
1831 PyObject* func = (PyObject*)funcPtr;
1832 bool blocked = wxPyBeginBlockThreads();
1833
1834 PyObject* args = Py_BuildValue("(ii)", item1, item2);
1835 PyObject* result = PyEval_CallObject(func, args);
1836 Py_DECREF(args);
1837 if (result) {
1838 retval = PyInt_AsLong(result);
1839 Py_DECREF(result);
1840 }
1841
1842 wxPyEndBlockThreads(blocked);
1843 return retval;
1844 }
1845
1846 // C++ Version of a Python aware class
1847class wxPyListCtrl : public wxListCtrl {
1848 DECLARE_ABSTRACT_CLASS(wxPyListCtrl);
1849public:
1850 wxPyListCtrl() : wxListCtrl() {}
1851 wxPyListCtrl(wxWindow* parent, wxWindowID id,
1852 const wxPoint& pos,
1853 const wxSize& size,
1854 long style,
1855 const wxValidator& validator,
1856 const wxString& name) :
1857 wxListCtrl(parent, id, pos, size, style, validator, name) {}
1858
1859 bool Create(wxWindow* parent, wxWindowID id,
1860 const wxPoint& pos,
1861 const wxSize& size,
1862 long style,
1863 const wxValidator& validator,
1864 const wxString& name) {
1865 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
1866 }
1867
1868 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
d55e5bfc
RD
1869 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
1870
84f85550
RD
1871 // use the virtual version to avoid a confusing assert in the base class
1872 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage);
1873
d55e5bfc
RD
1874 PYPRIVATE;
1875};
1876
1877IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
1878
1879IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
d55e5bfc 1880IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
84f85550
RD
1881IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl, wxListCtrl, OnGetItemImage);
1882
d55e5bfc 1883
36ed4f51 1884static wxListItem *wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col){
d55e5bfc
RD
1885 wxListItem item;
1886 item.SetMask( wxLIST_MASK_STATE |
1887 wxLIST_MASK_TEXT |
1888 wxLIST_MASK_IMAGE |
1889 wxLIST_MASK_DATA |
1890 wxLIST_SET_ITEM |
1891 wxLIST_MASK_WIDTH |
1892 wxLIST_MASK_FORMAT
1893 );
1894 if (self->GetColumn(col, item))
1895 return new wxListItem(item);
1896 else
1897 return NULL;
1898 }
36ed4f51 1899static wxListItem *wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col=0){
d55e5bfc
RD
1900 wxListItem* info = new wxListItem;
1901 info->m_itemId = itemId;
1902 info->m_col = col;
1903 info->m_mask = 0xFFFF;
1904 self->GetItem(*info);
1905 return info;
1906 }
36ed4f51 1907static wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
d55e5bfc
RD
1908 wxPoint pos;
1909 self->GetItemPosition(item, pos);
1910 return pos;
1911 }
36ed4f51 1912static wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code=wxLIST_RECT_BOUNDS){
d55e5bfc
RD
1913 wxRect rect;
1914 self->GetItemRect(item, rect, code);
1915 return rect;
1916 }
c370783e 1917
36ed4f51 1918static bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
d55e5bfc 1919 if (!PyCallable_Check(func))
b411df4a 1920 return false;
d55e5bfc
RD
1921 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
1922 }
36ed4f51 1923static wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
d55e5bfc
RD
1924
1925
1926
1927 return (wxWindow*)self->m_mainWin;
1928
1929 }
1930
1931#include <wx/treectrl.h>
1932#include "wx/wxPython/pytree.h"
1933
1934 static const wxString wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
36ed4f51
RD
1935static bool wxTreeItemId___eq__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self == *other) : false; }
1936static bool wxTreeItemId___ne__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self != *other) : true; }
1937static void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; }
d55e5bfc
RD
1938 // C++ version of Python aware wxTreeCtrl
1939class wxPyTreeCtrl : public wxTreeCtrl {
1940 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl);
1941public:
1942 wxPyTreeCtrl() : wxTreeCtrl() {}
1943 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
1944 const wxPoint& pos,
1945 const wxSize& size,
1946 long style,
1947 const wxValidator& validator,
1948 const wxString& name) :
1949 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
1950
1951 bool Create(wxWindow *parent, wxWindowID id,
1952 const wxPoint& pos,
1953 const wxSize& size,
1954 long style,
1955 const wxValidator& validator,
1956 const wxString& name) {
1957 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
1958 }
1959
1960
1961 int OnCompareItems(const wxTreeItemId& item1,
1962 const wxTreeItemId& item2) {
1963 int rval = 0;
1964 bool found;
1965 bool blocked = wxPyBeginBlockThreads();
1966 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
b411df4a
RD
1967 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), false);
1968 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), false);
d55e5bfc
RD
1969 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
1970 Py_DECREF(o1);
1971 Py_DECREF(o2);
1972 }
1973 wxPyEndBlockThreads(blocked);
1974 if (! found)
1975 rval = wxTreeCtrl::OnCompareItems(item1, item2);
1976 return rval;
1977 }
1978 PYPRIVATE;
1979};
1980
1981IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
1982
1983
1984
1985#if UINT_MAX < LONG_MAX
36ed4f51 1986/*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
c370783e
RD
1987#define SWIG_From_unsigned_SS_int SWIG_From_long
1988/*@@*/
d55e5bfc 1989#else
36ed4f51 1990/*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
c370783e
RD
1991#define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
1992/*@@*/
d55e5bfc
RD
1993#endif
1994
1995
36ed4f51 1996SWIGINTERNSHORT int
c370783e
RD
1997 SWIG_CheckUnsignedLongInRange(unsigned long value,
1998 unsigned long max_value,
1999 const char *errmsg)
d55e5bfc 2000{
c370783e
RD
2001 if (value > max_value) {
2002 if (errmsg) {
2003 PyErr_Format(PyExc_OverflowError,
36ed4f51 2004 "value %lu is greater than '%s' minimum %lu",
c370783e 2005 value, errmsg, max_value);
d55e5bfc 2006 }
c370783e 2007 return 0;
d55e5bfc 2008 }
c370783e
RD
2009 return 1;
2010 }
d55e5bfc
RD
2011
2012
2013#if UINT_MAX != ULONG_MAX
36ed4f51 2014SWIGINTERN int
c370783e 2015 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
d55e5bfc 2016{
36ed4f51 2017 const char* errmsg = val ? "unsigned int" : (char*)0;
c370783e
RD
2018 unsigned long v;
2019 if (SWIG_AsVal_unsigned_SS_long(obj, &v)) {
2020 if (SWIG_CheckUnsignedLongInRange(v, INT_MAX, errmsg)) {
36ed4f51 2021 if (val) *val = (unsigned int)(v);
c370783e
RD
2022 return 1;
2023 }
2024 } else {
2025 PyErr_Clear();
2026 }
2027 if (val) {
36ed4f51 2028 SWIG_type_error(errmsg, obj);
c370783e
RD
2029 }
2030 return 0;
d55e5bfc
RD
2031}
2032#else
36ed4f51 2033SWIGINTERNSHORT unsigned int
c370783e
RD
2034 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
2035{
2036 return SWIG_AsVal_unsigned_SS_long(obj,(unsigned long *)val);
2037}
d55e5bfc
RD
2038#endif
2039
2040
36ed4f51 2041SWIGINTERNSHORT unsigned int
c370783e 2042SWIG_As_unsigned_SS_int(PyObject* obj)
d55e5bfc 2043{
c370783e
RD
2044 unsigned int v;
2045 if (!SWIG_AsVal_unsigned_SS_int(obj, &v)) {
2046 /*
36ed4f51 2047 this is needed to make valgrind/purify happier.
c370783e
RD
2048 */
2049 memset((void*)&v, 0, sizeof(unsigned int));
d55e5bfc 2050 }
c370783e
RD
2051 return v;
2052}
2053
2054
36ed4f51 2055SWIGINTERNSHORT int
c370783e
RD
2056SWIG_Check_unsigned_SS_int(PyObject* obj)
2057{
2058 return SWIG_AsVal_unsigned_SS_int(obj, (unsigned int*)0);
d55e5bfc
RD
2059}
2060
36ed4f51 2061static wxPyTreeItemData *wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item){
d55e5bfc
RD
2062 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
2063 if (data == NULL) {
2064 data = new wxPyTreeItemData();
2065 data->SetId(item); // set the id
2066 self->SetItemData(item, data);
2067 }
2068 return data;
2069 }
36ed4f51 2070static PyObject *wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item){
d55e5bfc
RD
2071 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
2072 if (data == NULL) {
2073 data = new wxPyTreeItemData();
2074 data->SetId(item); // set the id
2075 self->SetItemData(item, data);
2076 }
2077 return data->GetData();
2078 }
36ed4f51 2079static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
d55e5bfc
RD
2080 data->SetId(item); // set the id
2081 self->SetItemData(item, data);
2082 }
36ed4f51 2083static void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item,PyObject *obj){
d55e5bfc
RD
2084 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
2085 if (data == NULL) {
2086 data = new wxPyTreeItemData(obj);
2087 data->SetId(item); // set the id
2088 self->SetItemData(item, data);
2089 } else
2090 data->SetData(obj);
2091 }
36ed4f51 2092static PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){
d55e5bfc
RD
2093 bool blocked = wxPyBeginBlockThreads();
2094 PyObject* rval = PyList_New(0);
2095 wxArrayTreeItemIds array;
2096 size_t num, x;
2097 num = self->GetSelections(array);
2098 for (x=0; x < num; x++) {
2099 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
b411df4a 2100 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), true);
d55e5bfc 2101 PyList_Append(rval, item);
68e533f8 2102 Py_DECREF(item);
d55e5bfc
RD
2103 }
2104 wxPyEndBlockThreads(blocked);
2105 return rval;
2106 }
36ed4f51 2107static PyObject *wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl *self,wxTreeItemId const &item){
d55e5bfc
RD
2108 void* cookie = 0;
2109 wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie));
2110 bool blocked = wxPyBeginBlockThreads();
2111 PyObject* tup = PyTuple_New(2);
b411df4a 2112 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
d55e5bfc
RD
2113 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
2114 wxPyEndBlockThreads(blocked);
2115 return tup;
2116 }
36ed4f51 2117static PyObject *wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl *self,wxTreeItemId const &item,void *cookie){
d55e5bfc
RD
2118 wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie));
2119 bool blocked = wxPyBeginBlockThreads();
2120 PyObject* tup = PyTuple_New(2);
b411df4a 2121 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
d55e5bfc
RD
2122 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
2123 wxPyEndBlockThreads(blocked);
2124 return tup;
2125 }
36ed4f51 2126static PyObject *wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,wxTreeItemId const &item,bool textOnly=false){
d55e5bfc
RD
2127 wxRect rect;
2128 if (self->GetBoundingRect(item, rect, textOnly)) {
2129 bool blocked = wxPyBeginBlockThreads();
2130 wxRect* r = new wxRect(rect);
b411df4a 2131 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), true);
d55e5bfc
RD
2132 wxPyEndBlockThreads(blocked);
2133 return val;
2134 }
2135 else
2136 RETURN_NONE();
2137 }
2138 static const wxString wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr);
c370783e 2139
36ed4f51 2140SWIGINTERNSHORT PyObject*
c370783e
RD
2141 SWIG_From_bool(bool value)
2142{
2143 PyObject *obj = value ? Py_True : Py_False;
2144 Py_INCREF(obj);
2145 return obj;
2146}
2147
2148
d55e5bfc
RD
2149 // C++ version of Python aware wxControl
2150class wxPyControl : public wxControl
2151{
2152 DECLARE_DYNAMIC_CLASS(wxPyControl)
2153public:
2154 wxPyControl() : wxControl() {}
2155 wxPyControl(wxWindow* parent, const wxWindowID id,
2156 const wxPoint& pos = wxDefaultPosition,
2157 const wxSize& size = wxDefaultSize,
2158 long style = 0,
2159 const wxValidator& validator=wxDefaultValidator,
2160 const wxString& name = wxPyControlNameStr)
2161 : wxControl(parent, id, pos, size, style, validator, name) {}
2162
a5ee0656 2163 void SetBestSize(const wxSize& size) { wxControl::SetBestSize(size); }
d55e5bfc
RD
2164
2165 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
2166 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
2167 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
2168 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
2169
2170 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
2171 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
2172 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
2173
2174 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
2175 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
2176
2177 DEC_PYCALLBACK__(InitDialog);
2178 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
2179 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
2180 DEC_PYCALLBACK_BOOL_(Validate);
2181
2182 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
2183 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
2184 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
2185
2186 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
2187 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
2188
a5ee0656 2189 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
d55e5bfc 2190 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
a5ee0656 2191 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
d55e5bfc 2192
51b83b37
RD
2193 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
2194
d55e5bfc
RD
2195 PYPRIVATE;
2196};
2197
2198IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
2199
2200IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
2201IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
2202IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
2203IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
2204
2205IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
2206IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
2207IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
2208
2209IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
2210IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
2211
2212IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
2213IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
2214IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
2215IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
2216
2217IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
2218IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
2219IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
2220
2221IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
2222IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
2223
a5ee0656 2224IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, ShouldInheritColours);
d55e5bfc 2225IMP_PYCALLBACK__COLOUR(wxPyControl, wxControl, ApplyParentThemeBackground);
a5ee0656 2226IMP_PYCALLBACK_VIZATTR_(wxPyControl, wxControl, GetDefaultAttributes);
d55e5bfc 2227
51b83b37
RD
2228IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, HasTransparentBackground);
2229
d55e5bfc
RD
2230
2231
36ed4f51 2232static void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
d55e5bfc
RD
2233
2234#include <wx/generic/dragimgg.h>
2235
2236#ifdef __cplusplus
2237extern "C" {
2238#endif
c370783e 2239static int _wrap_ButtonNameStr_set(PyObject *) {
d55e5bfc
RD
2240 PyErr_SetString(PyExc_TypeError,"Variable ButtonNameStr is read-only.");
2241 return 1;
2242}
2243
2244
36ed4f51 2245static PyObject *_wrap_ButtonNameStr_get(void) {
d55e5bfc
RD
2246 PyObject *pyobj;
2247
2248 {
2249#if wxUSE_UNICODE
2250 pyobj = PyUnicode_FromWideChar((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
2251#else
2252 pyobj = PyString_FromStringAndSize((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
2253#endif
2254 }
2255 return pyobj;
2256}
2257
2258
c370783e 2259static PyObject *_wrap_new_Button(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2260 PyObject *resultobj;
2261 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17
RD
2262 int arg2 = (int) -1 ;
2263 wxString const &arg3_defvalue = wxPyEmptyString ;
2264 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
2265 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2266 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2267 wxSize const &arg5_defvalue = wxDefaultSize ;
2268 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2269 long arg6 = (long) 0 ;
2270 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2271 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2272 wxString const &arg8_defvalue = wxPyButtonNameStr ;
2273 wxString *arg8 = (wxString *) &arg8_defvalue ;
2274 wxButton *result;
b411df4a 2275 bool temp3 = false ;
d55e5bfc
RD
2276 wxPoint temp4 ;
2277 wxSize temp5 ;
b411df4a 2278 bool temp8 = false ;
d55e5bfc
RD
2279 PyObject * obj0 = 0 ;
2280 PyObject * obj1 = 0 ;
2281 PyObject * obj2 = 0 ;
2282 PyObject * obj3 = 0 ;
2283 PyObject * obj4 = 0 ;
2284 PyObject * obj5 = 0 ;
2285 PyObject * obj6 = 0 ;
2286 PyObject * obj7 = 0 ;
2287 char *kwnames[] = {
2288 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2289 };
2290
bfddbb17 2291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Button",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
2292 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2293 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 2294 if (obj1) {
36ed4f51
RD
2295 {
2296 arg2 = (int)(SWIG_As_int(obj1));
2297 if (SWIG_arg_fail(2)) SWIG_fail;
2298 }
bfddbb17
RD
2299 }
2300 if (obj2) {
2301 {
2302 arg3 = wxString_in_helper(obj2);
2303 if (arg3 == NULL) SWIG_fail;
b411df4a 2304 temp3 = true;
bfddbb17 2305 }
d55e5bfc
RD
2306 }
2307 if (obj3) {
2308 {
2309 arg4 = &temp4;
2310 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2311 }
2312 }
2313 if (obj4) {
2314 {
2315 arg5 = &temp5;
2316 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2317 }
2318 }
2319 if (obj5) {
36ed4f51
RD
2320 {
2321 arg6 = (long)(SWIG_As_long(obj5));
2322 if (SWIG_arg_fail(6)) SWIG_fail;
2323 }
d55e5bfc
RD
2324 }
2325 if (obj6) {
36ed4f51
RD
2326 {
2327 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2328 if (SWIG_arg_fail(7)) SWIG_fail;
2329 if (arg7 == NULL) {
2330 SWIG_null_ref("wxValidator");
2331 }
2332 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
2333 }
2334 }
2335 if (obj7) {
2336 {
2337 arg8 = wxString_in_helper(obj7);
2338 if (arg8 == NULL) SWIG_fail;
b411df4a 2339 temp8 = true;
d55e5bfc
RD
2340 }
2341 }
2342 {
0439c23b 2343 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2344 PyThreadState* __tstate = wxPyBeginAllowThreads();
2345 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2346
2347 wxPyEndAllowThreads(__tstate);
110da5b0 2348 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 2349 }
b0f7404b 2350 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxButton, 1);
d55e5bfc
RD
2351 {
2352 if (temp3)
2353 delete arg3;
2354 }
2355 {
2356 if (temp8)
2357 delete arg8;
2358 }
2359 return resultobj;
2360 fail:
2361 {
2362 if (temp3)
2363 delete arg3;
2364 }
2365 {
2366 if (temp8)
2367 delete arg8;
2368 }
2369 return NULL;
2370}
2371
2372
c370783e 2373static PyObject *_wrap_new_PreButton(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2374 PyObject *resultobj;
2375 wxButton *result;
2376 char *kwnames[] = {
2377 NULL
2378 };
2379
2380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreButton",kwnames)) goto fail;
2381 {
0439c23b 2382 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2383 PyThreadState* __tstate = wxPyBeginAllowThreads();
2384 result = (wxButton *)new wxButton();
2385
2386 wxPyEndAllowThreads(__tstate);
110da5b0 2387 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 2388 }
b0f7404b 2389 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxButton, 1);
d55e5bfc
RD
2390 return resultobj;
2391 fail:
2392 return NULL;
2393}
2394
2395
c370783e 2396static PyObject *_wrap_Button_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2397 PyObject *resultobj;
2398 wxButton *arg1 = (wxButton *) 0 ;
2399 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17
RD
2400 int arg3 = (int) -1 ;
2401 wxString const &arg4_defvalue = wxPyEmptyString ;
2402 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
2403 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2404 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2405 wxSize const &arg6_defvalue = wxDefaultSize ;
2406 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2407 long arg7 = (long) 0 ;
2408 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2409 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2410 wxString const &arg9_defvalue = wxPyButtonNameStr ;
2411 wxString *arg9 = (wxString *) &arg9_defvalue ;
2412 bool result;
b411df4a 2413 bool temp4 = false ;
d55e5bfc
RD
2414 wxPoint temp5 ;
2415 wxSize temp6 ;
b411df4a 2416 bool temp9 = false ;
d55e5bfc
RD
2417 PyObject * obj0 = 0 ;
2418 PyObject * obj1 = 0 ;
2419 PyObject * obj2 = 0 ;
2420 PyObject * obj3 = 0 ;
2421 PyObject * obj4 = 0 ;
2422 PyObject * obj5 = 0 ;
2423 PyObject * obj6 = 0 ;
2424 PyObject * obj7 = 0 ;
2425 PyObject * obj8 = 0 ;
2426 char *kwnames[] = {
2427 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2428 };
2429
bfddbb17 2430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Button_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
36ed4f51
RD
2431 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxButton, SWIG_POINTER_EXCEPTION | 0);
2432 if (SWIG_arg_fail(1)) SWIG_fail;
2433 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2434 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 2435 if (obj2) {
36ed4f51
RD
2436 {
2437 arg3 = (int)(SWIG_As_int(obj2));
2438 if (SWIG_arg_fail(3)) SWIG_fail;
2439 }
bfddbb17
RD
2440 }
2441 if (obj3) {
2442 {
2443 arg4 = wxString_in_helper(obj3);
2444 if (arg4 == NULL) SWIG_fail;
b411df4a 2445 temp4 = true;
bfddbb17 2446 }
d55e5bfc
RD
2447 }
2448 if (obj4) {
2449 {
2450 arg5 = &temp5;
2451 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2452 }
2453 }
2454 if (obj5) {
2455 {
2456 arg6 = &temp6;
2457 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2458 }
2459 }
2460 if (obj6) {
36ed4f51
RD
2461 {
2462 arg7 = (long)(SWIG_As_long(obj6));
2463 if (SWIG_arg_fail(7)) SWIG_fail;
2464 }
d55e5bfc
RD
2465 }
2466 if (obj7) {
36ed4f51
RD
2467 {
2468 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2469 if (SWIG_arg_fail(8)) SWIG_fail;
2470 if (arg8 == NULL) {
2471 SWIG_null_ref("wxValidator");
2472 }
2473 if (SWIG_arg_fail(8)) SWIG_fail;
d55e5bfc
RD
2474 }
2475 }
2476 if (obj8) {
2477 {
2478 arg9 = wxString_in_helper(obj8);
2479 if (arg9 == NULL) SWIG_fail;
b411df4a 2480 temp9 = true;
d55e5bfc
RD
2481 }
2482 }
2483 {
2484 PyThreadState* __tstate = wxPyBeginAllowThreads();
2485 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2486
2487 wxPyEndAllowThreads(__tstate);
2488 if (PyErr_Occurred()) SWIG_fail;
2489 }
2490 {
2491 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2492 }
2493 {
2494 if (temp4)
2495 delete arg4;
2496 }
2497 {
2498 if (temp9)
2499 delete arg9;
2500 }
2501 return resultobj;
2502 fail:
2503 {
2504 if (temp4)
2505 delete arg4;
2506 }
2507 {
2508 if (temp9)
2509 delete arg9;
2510 }
2511 return NULL;
2512}
2513
2514
c370783e 2515static PyObject *_wrap_Button_SetDefault(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2516 PyObject *resultobj;
2517 wxButton *arg1 = (wxButton *) 0 ;
2518 PyObject * obj0 = 0 ;
2519 char *kwnames[] = {
2520 (char *) "self", NULL
2521 };
2522
2523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Button_SetDefault",kwnames,&obj0)) goto fail;
36ed4f51
RD
2524 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxButton, SWIG_POINTER_EXCEPTION | 0);
2525 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
2526 {
2527 PyThreadState* __tstate = wxPyBeginAllowThreads();
2528 (arg1)->SetDefault();
2529
2530 wxPyEndAllowThreads(__tstate);
2531 if (PyErr_Occurred()) SWIG_fail;
2532 }
2533 Py_INCREF(Py_None); resultobj = Py_None;
2534 return resultobj;
2535 fail:
2536 return NULL;
2537}
2538
2539
c370783e 2540static PyObject *_wrap_Button_GetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2541 PyObject *resultobj;
2542 wxSize result;
2543 char *kwnames[] = {
2544 NULL
2545 };
2546
2547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Button_GetDefaultSize",kwnames)) goto fail;
2548 {
2549 PyThreadState* __tstate = wxPyBeginAllowThreads();
2550 result = wxButton::GetDefaultSize();
2551
2552 wxPyEndAllowThreads(__tstate);
2553 if (PyErr_Occurred()) SWIG_fail;
2554 }
2555 {
2556 wxSize * resultptr;
36ed4f51 2557 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
2558 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
2559 }
2560 return resultobj;
2561 fail:
2562 return NULL;
2563}
2564
2565
c370783e 2566static PyObject *_wrap_Button_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 2567 PyObject *resultobj;
36ed4f51 2568 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
2569 wxVisualAttributes result;
2570 PyObject * obj0 = 0 ;
2571 char *kwnames[] = {
2572 (char *) "variant", NULL
2573 };
2574
2575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Button_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
2576 if (obj0) {
36ed4f51
RD
2577 {
2578 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
2579 if (SWIG_arg_fail(1)) SWIG_fail;
2580 }
f20a2e1f
RD
2581 }
2582 {
0439c23b 2583 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
2584 PyThreadState* __tstate = wxPyBeginAllowThreads();
2585 result = wxButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
2586
2587 wxPyEndAllowThreads(__tstate);
110da5b0 2588 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
2589 }
2590 {
2591 wxVisualAttributes * resultptr;
36ed4f51 2592 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
2593 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
2594 }
2595 return resultobj;
2596 fail:
2597 return NULL;
2598}
2599
2600
c370783e 2601static PyObject * Button_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
2602 PyObject *obj;
2603 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2604 SWIG_TypeClientData(SWIGTYPE_p_wxButton, obj);
2605 Py_INCREF(obj);
2606 return Py_BuildValue((char *)"");
2607}
c370783e 2608static PyObject *_wrap_new_BitmapButton(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2609 PyObject *resultobj;
2610 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17
RD
2611 int arg2 = (int) -1 ;
2612 wxBitmap const &arg3_defvalue = wxNullBitmap ;
2613 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
d55e5bfc
RD
2614 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2615 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2616 wxSize const &arg5_defvalue = wxDefaultSize ;
2617 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2618 long arg6 = (long) wxBU_AUTODRAW ;
2619 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2620 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2621 wxString const &arg8_defvalue = wxPyButtonNameStr ;
2622 wxString *arg8 = (wxString *) &arg8_defvalue ;
2623 wxBitmapButton *result;
2624 wxPoint temp4 ;
2625 wxSize temp5 ;
b411df4a 2626 bool temp8 = false ;
d55e5bfc
RD
2627 PyObject * obj0 = 0 ;
2628 PyObject * obj1 = 0 ;
2629 PyObject * obj2 = 0 ;
2630 PyObject * obj3 = 0 ;
2631 PyObject * obj4 = 0 ;
2632 PyObject * obj5 = 0 ;
2633 PyObject * obj6 = 0 ;
2634 PyObject * obj7 = 0 ;
2635 char *kwnames[] = {
2636 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2637 };
2638
bfddbb17 2639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_BitmapButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
2640 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2641 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 2642 if (obj1) {
36ed4f51
RD
2643 {
2644 arg2 = (int)(SWIG_As_int(obj1));
2645 if (SWIG_arg_fail(2)) SWIG_fail;
2646 }
bfddbb17
RD
2647 }
2648 if (obj2) {
36ed4f51
RD
2649 {
2650 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
2651 if (SWIG_arg_fail(3)) SWIG_fail;
2652 if (arg3 == NULL) {
2653 SWIG_null_ref("wxBitmap");
2654 }
2655 if (SWIG_arg_fail(3)) SWIG_fail;
bfddbb17 2656 }
d55e5bfc
RD
2657 }
2658 if (obj3) {
2659 {
2660 arg4 = &temp4;
2661 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2662 }
2663 }
2664 if (obj4) {
2665 {
2666 arg5 = &temp5;
2667 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2668 }
2669 }
2670 if (obj5) {
36ed4f51
RD
2671 {
2672 arg6 = (long)(SWIG_As_long(obj5));
2673 if (SWIG_arg_fail(6)) SWIG_fail;
2674 }
d55e5bfc
RD
2675 }
2676 if (obj6) {
36ed4f51
RD
2677 {
2678 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2679 if (SWIG_arg_fail(7)) SWIG_fail;
2680 if (arg7 == NULL) {
2681 SWIG_null_ref("wxValidator");
2682 }
2683 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
2684 }
2685 }
2686 if (obj7) {
2687 {
2688 arg8 = wxString_in_helper(obj7);
2689 if (arg8 == NULL) SWIG_fail;
b411df4a 2690 temp8 = true;
d55e5bfc
RD
2691 }
2692 }
2693 {
0439c23b 2694 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2695 PyThreadState* __tstate = wxPyBeginAllowThreads();
2696 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2697
2698 wxPyEndAllowThreads(__tstate);
110da5b0 2699 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 2700 }
b0f7404b 2701 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmapButton, 1);
d55e5bfc
RD
2702 {
2703 if (temp8)
2704 delete arg8;
2705 }
2706 return resultobj;
2707 fail:
2708 {
2709 if (temp8)
2710 delete arg8;
2711 }
2712 return NULL;
2713}
2714
2715
c370783e 2716static PyObject *_wrap_new_PreBitmapButton(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2717 PyObject *resultobj;
2718 wxBitmapButton *result;
2719 char *kwnames[] = {
2720 NULL
2721 };
2722
2723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreBitmapButton",kwnames)) goto fail;
2724 {
0439c23b 2725 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2726 PyThreadState* __tstate = wxPyBeginAllowThreads();
2727 result = (wxBitmapButton *)new wxBitmapButton();
2728
2729 wxPyEndAllowThreads(__tstate);
110da5b0 2730 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 2731 }
b0f7404b 2732 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmapButton, 1);
d55e5bfc
RD
2733 return resultobj;
2734 fail:
2735 return NULL;
2736}
2737
2738
c370783e 2739static PyObject *_wrap_BitmapButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2740 PyObject *resultobj;
2741 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2742 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17
RD
2743 int arg3 = (int) -1 ;
2744 wxBitmap const &arg4_defvalue = wxNullBitmap ;
2745 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
d55e5bfc
RD
2746 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2747 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2748 wxSize const &arg6_defvalue = wxDefaultSize ;
2749 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2750 long arg7 = (long) wxBU_AUTODRAW ;
2751 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2752 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2753 wxString const &arg9_defvalue = wxPyButtonNameStr ;
2754 wxString *arg9 = (wxString *) &arg9_defvalue ;
2755 bool result;
2756 wxPoint temp5 ;
2757 wxSize temp6 ;
b411df4a 2758 bool temp9 = false ;
d55e5bfc
RD
2759 PyObject * obj0 = 0 ;
2760 PyObject * obj1 = 0 ;
2761 PyObject * obj2 = 0 ;
2762 PyObject * obj3 = 0 ;
2763 PyObject * obj4 = 0 ;
2764 PyObject * obj5 = 0 ;
2765 PyObject * obj6 = 0 ;
2766 PyObject * obj7 = 0 ;
2767 PyObject * obj8 = 0 ;
2768 char *kwnames[] = {
2769 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2770 };
2771
bfddbb17 2772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
36ed4f51
RD
2773 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2774 if (SWIG_arg_fail(1)) SWIG_fail;
2775 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2776 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 2777 if (obj2) {
36ed4f51
RD
2778 {
2779 arg3 = (int)(SWIG_As_int(obj2));
2780 if (SWIG_arg_fail(3)) SWIG_fail;
2781 }
bfddbb17
RD
2782 }
2783 if (obj3) {
36ed4f51
RD
2784 {
2785 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
2786 if (SWIG_arg_fail(4)) SWIG_fail;
2787 if (arg4 == NULL) {
2788 SWIG_null_ref("wxBitmap");
2789 }
2790 if (SWIG_arg_fail(4)) SWIG_fail;
bfddbb17 2791 }
d55e5bfc
RD
2792 }
2793 if (obj4) {
2794 {
2795 arg5 = &temp5;
2796 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2797 }
2798 }
2799 if (obj5) {
2800 {
2801 arg6 = &temp6;
2802 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2803 }
2804 }
2805 if (obj6) {
36ed4f51
RD
2806 {
2807 arg7 = (long)(SWIG_As_long(obj6));
2808 if (SWIG_arg_fail(7)) SWIG_fail;
2809 }
d55e5bfc
RD
2810 }
2811 if (obj7) {
36ed4f51
RD
2812 {
2813 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2814 if (SWIG_arg_fail(8)) SWIG_fail;
2815 if (arg8 == NULL) {
2816 SWIG_null_ref("wxValidator");
2817 }
2818 if (SWIG_arg_fail(8)) SWIG_fail;
d55e5bfc
RD
2819 }
2820 }
2821 if (obj8) {
2822 {
2823 arg9 = wxString_in_helper(obj8);
2824 if (arg9 == NULL) SWIG_fail;
b411df4a 2825 temp9 = true;
d55e5bfc
RD
2826 }
2827 }
2828 {
2829 PyThreadState* __tstate = wxPyBeginAllowThreads();
2830 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2831
2832 wxPyEndAllowThreads(__tstate);
2833 if (PyErr_Occurred()) SWIG_fail;
2834 }
2835 {
2836 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2837 }
2838 {
2839 if (temp9)
2840 delete arg9;
2841 }
2842 return resultobj;
2843 fail:
2844 {
2845 if (temp9)
2846 delete arg9;
2847 }
2848 return NULL;
2849}
2850
2851
c370783e 2852static PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2853 PyObject *resultobj;
2854 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2855 wxBitmap result;
2856 PyObject * obj0 = 0 ;
2857 char *kwnames[] = {
2858 (char *) "self", NULL
2859 };
2860
2861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapLabel",kwnames,&obj0)) goto fail;
36ed4f51
RD
2862 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2863 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
2864 {
2865 PyThreadState* __tstate = wxPyBeginAllowThreads();
2866 result = (arg1)->GetBitmapLabel();
2867
2868 wxPyEndAllowThreads(__tstate);
2869 if (PyErr_Occurred()) SWIG_fail;
2870 }
2871 {
2872 wxBitmap * resultptr;
36ed4f51 2873 resultptr = new wxBitmap((wxBitmap &)(result));
d55e5bfc
RD
2874 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
2875 }
2876 return resultobj;
2877 fail:
2878 return NULL;
2879}
2880
2881
c370783e 2882static PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2883 PyObject *resultobj;
2884 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2885 wxBitmap result;
2886 PyObject * obj0 = 0 ;
2887 char *kwnames[] = {
2888 (char *) "self", NULL
2889 };
2890
2891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames,&obj0)) goto fail;
36ed4f51
RD
2892 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2893 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
2894 {
2895 PyThreadState* __tstate = wxPyBeginAllowThreads();
2896 result = (arg1)->GetBitmapDisabled();
2897
2898 wxPyEndAllowThreads(__tstate);
2899 if (PyErr_Occurred()) SWIG_fail;
2900 }
2901 {
2902 wxBitmap * resultptr;
36ed4f51 2903 resultptr = new wxBitmap((wxBitmap &)(result));
d55e5bfc
RD
2904 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
2905 }
2906 return resultobj;
2907 fail:
2908 return NULL;
2909}
2910
2911
c370783e 2912static PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2913 PyObject *resultobj;
2914 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2915 wxBitmap result;
2916 PyObject * obj0 = 0 ;
2917 char *kwnames[] = {
2918 (char *) "self", NULL
2919 };
2920
2921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapFocus",kwnames,&obj0)) goto fail;
36ed4f51
RD
2922 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2923 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
2924 {
2925 PyThreadState* __tstate = wxPyBeginAllowThreads();
2926 result = (arg1)->GetBitmapFocus();
2927
2928 wxPyEndAllowThreads(__tstate);
2929 if (PyErr_Occurred()) SWIG_fail;
2930 }
2931 {
2932 wxBitmap * resultptr;
36ed4f51 2933 resultptr = new wxBitmap((wxBitmap &)(result));
d55e5bfc
RD
2934 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
2935 }
2936 return resultobj;
2937 fail:
2938 return NULL;
2939}
2940
2941
c370783e 2942static PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2943 PyObject *resultobj;
2944 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2945 wxBitmap result;
2946 PyObject * obj0 = 0 ;
2947 char *kwnames[] = {
2948 (char *) "self", NULL
2949 };
2950
2951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapSelected",kwnames,&obj0)) goto fail;
36ed4f51
RD
2952 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2953 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
2954 {
2955 PyThreadState* __tstate = wxPyBeginAllowThreads();
2956 result = (arg1)->GetBitmapSelected();
2957
2958 wxPyEndAllowThreads(__tstate);
2959 if (PyErr_Occurred()) SWIG_fail;
2960 }
2961 {
2962 wxBitmap * resultptr;
36ed4f51 2963 resultptr = new wxBitmap((wxBitmap &)(result));
d55e5bfc
RD
2964 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
2965 }
2966 return resultobj;
2967 fail:
2968 return NULL;
2969}
2970
2971
c370783e 2972static PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2973 PyObject *resultobj;
2974 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2975 wxBitmap *arg2 = 0 ;
2976 PyObject * obj0 = 0 ;
2977 PyObject * obj1 = 0 ;
2978 char *kwnames[] = {
2979 (char *) "self",(char *) "bitmap", NULL
2980 };
2981
2982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
2983 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2984 if (SWIG_arg_fail(1)) SWIG_fail;
2985 {
2986 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
2987 if (SWIG_arg_fail(2)) SWIG_fail;
2988 if (arg2 == NULL) {
2989 SWIG_null_ref("wxBitmap");
2990 }
2991 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
2992 }
2993 {
2994 PyThreadState* __tstate = wxPyBeginAllowThreads();
2995 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
2996
2997 wxPyEndAllowThreads(__tstate);
2998 if (PyErr_Occurred()) SWIG_fail;
2999 }
3000 Py_INCREF(Py_None); resultobj = Py_None;
3001 return resultobj;
3002 fail:
3003 return NULL;
3004}
3005
3006
c370783e 3007static PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3008 PyObject *resultobj;
3009 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3010 wxBitmap *arg2 = 0 ;
3011 PyObject * obj0 = 0 ;
3012 PyObject * obj1 = 0 ;
3013 char *kwnames[] = {
3014 (char *) "self",(char *) "bitmap", NULL
3015 };
3016
3017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3018 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3019 if (SWIG_arg_fail(1)) SWIG_fail;
3020 {
3021 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3022 if (SWIG_arg_fail(2)) SWIG_fail;
3023 if (arg2 == NULL) {
3024 SWIG_null_ref("wxBitmap");
3025 }
3026 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
3027 }
3028 {
3029 PyThreadState* __tstate = wxPyBeginAllowThreads();
3030 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
3031
3032 wxPyEndAllowThreads(__tstate);
3033 if (PyErr_Occurred()) SWIG_fail;
3034 }
3035 Py_INCREF(Py_None); resultobj = Py_None;
3036 return resultobj;
3037 fail:
3038 return NULL;
3039}
3040
3041
c370783e 3042static PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3043 PyObject *resultobj;
3044 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3045 wxBitmap *arg2 = 0 ;
3046 PyObject * obj0 = 0 ;
3047 PyObject * obj1 = 0 ;
3048 char *kwnames[] = {
3049 (char *) "self",(char *) "bitmap", NULL
3050 };
3051
3052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3053 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3054 if (SWIG_arg_fail(1)) SWIG_fail;
3055 {
3056 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3057 if (SWIG_arg_fail(2)) SWIG_fail;
3058 if (arg2 == NULL) {
3059 SWIG_null_ref("wxBitmap");
3060 }
3061 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
3062 }
3063 {
3064 PyThreadState* __tstate = wxPyBeginAllowThreads();
3065 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
3066
3067 wxPyEndAllowThreads(__tstate);
3068 if (PyErr_Occurred()) SWIG_fail;
3069 }
3070 Py_INCREF(Py_None); resultobj = Py_None;
3071 return resultobj;
3072 fail:
3073 return NULL;
3074}
3075
3076
c370783e 3077static PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3078 PyObject *resultobj;
3079 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3080 wxBitmap *arg2 = 0 ;
3081 PyObject * obj0 = 0 ;
3082 PyObject * obj1 = 0 ;
3083 char *kwnames[] = {
3084 (char *) "self",(char *) "bitmap", NULL
3085 };
3086
3087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3088 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3089 if (SWIG_arg_fail(1)) SWIG_fail;
3090 {
3091 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3092 if (SWIG_arg_fail(2)) SWIG_fail;
3093 if (arg2 == NULL) {
3094 SWIG_null_ref("wxBitmap");
3095 }
3096 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
3097 }
3098 {
3099 PyThreadState* __tstate = wxPyBeginAllowThreads();
3100 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
3101
3102 wxPyEndAllowThreads(__tstate);
3103 if (PyErr_Occurred()) SWIG_fail;
3104 }
3105 Py_INCREF(Py_None); resultobj = Py_None;
3106 return resultobj;
3107 fail:
3108 return NULL;
3109}
3110
3111
c370783e 3112static PyObject *_wrap_BitmapButton_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3113 PyObject *resultobj;
3114 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3115 int arg2 ;
3116 int arg3 ;
3117 PyObject * obj0 = 0 ;
3118 PyObject * obj1 = 0 ;
3119 PyObject * obj2 = 0 ;
3120 char *kwnames[] = {
3121 (char *) "self",(char *) "x",(char *) "y", NULL
3122 };
3123
3124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BitmapButton_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
3125 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3126 if (SWIG_arg_fail(1)) SWIG_fail;
3127 {
3128 arg2 = (int)(SWIG_As_int(obj1));
3129 if (SWIG_arg_fail(2)) SWIG_fail;
3130 }
3131 {
3132 arg3 = (int)(SWIG_As_int(obj2));
3133 if (SWIG_arg_fail(3)) SWIG_fail;
3134 }
d55e5bfc
RD
3135 {
3136 PyThreadState* __tstate = wxPyBeginAllowThreads();
3137 (arg1)->SetMargins(arg2,arg3);
3138
3139 wxPyEndAllowThreads(__tstate);
3140 if (PyErr_Occurred()) SWIG_fail;
3141 }
3142 Py_INCREF(Py_None); resultobj = Py_None;
3143 return resultobj;
3144 fail:
3145 return NULL;
3146}
3147
3148
c370783e 3149static PyObject *_wrap_BitmapButton_GetMarginX(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3150 PyObject *resultobj;
3151 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3152 int result;
3153 PyObject * obj0 = 0 ;
3154 char *kwnames[] = {
3155 (char *) "self", NULL
3156 };
3157
3158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginX",kwnames,&obj0)) goto fail;
36ed4f51
RD
3159 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3160 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3161 {
3162 PyThreadState* __tstate = wxPyBeginAllowThreads();
3163 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
3164
3165 wxPyEndAllowThreads(__tstate);
3166 if (PyErr_Occurred()) SWIG_fail;
3167 }
36ed4f51
RD
3168 {
3169 resultobj = SWIG_From_int((int)(result));
3170 }
d55e5bfc
RD
3171 return resultobj;
3172 fail:
3173 return NULL;
3174}
3175
3176
c370783e 3177static PyObject *_wrap_BitmapButton_GetMarginY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3178 PyObject *resultobj;
3179 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3180 int result;
3181 PyObject * obj0 = 0 ;
3182 char *kwnames[] = {
3183 (char *) "self", NULL
3184 };
3185
3186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginY",kwnames,&obj0)) goto fail;
36ed4f51
RD
3187 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3188 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3189 {
3190 PyThreadState* __tstate = wxPyBeginAllowThreads();
3191 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
3192
3193 wxPyEndAllowThreads(__tstate);
3194 if (PyErr_Occurred()) SWIG_fail;
3195 }
36ed4f51
RD
3196 {
3197 resultobj = SWIG_From_int((int)(result));
3198 }
d55e5bfc
RD
3199 return resultobj;
3200 fail:
3201 return NULL;
3202}
3203
3204
c370783e 3205static PyObject * BitmapButton_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
3206 PyObject *obj;
3207 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3208 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton, obj);
3209 Py_INCREF(obj);
3210 return Py_BuildValue((char *)"");
3211}
c370783e 3212static int _wrap_CheckBoxNameStr_set(PyObject *) {
d55e5bfc
RD
3213 PyErr_SetString(PyExc_TypeError,"Variable CheckBoxNameStr is read-only.");
3214 return 1;
3215}
3216
3217
36ed4f51 3218static PyObject *_wrap_CheckBoxNameStr_get(void) {
d55e5bfc
RD
3219 PyObject *pyobj;
3220
3221 {
3222#if wxUSE_UNICODE
3223 pyobj = PyUnicode_FromWideChar((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
3224#else
3225 pyobj = PyString_FromStringAndSize((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
3226#endif
3227 }
3228 return pyobj;
3229}
3230
3231
c370783e 3232static PyObject *_wrap_new_CheckBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3233 PyObject *resultobj;
3234 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17
RD
3235 int arg2 = (int) -1 ;
3236 wxString const &arg3_defvalue = wxPyEmptyString ;
3237 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
3238 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3239 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3240 wxSize const &arg5_defvalue = wxDefaultSize ;
3241 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3242 long arg6 = (long) 0 ;
3243 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3244 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3245 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
3246 wxString *arg8 = (wxString *) &arg8_defvalue ;
3247 wxCheckBox *result;
b411df4a 3248 bool temp3 = false ;
d55e5bfc
RD
3249 wxPoint temp4 ;
3250 wxSize temp5 ;
b411df4a 3251 bool temp8 = false ;
d55e5bfc
RD
3252 PyObject * obj0 = 0 ;
3253 PyObject * obj1 = 0 ;
3254 PyObject * obj2 = 0 ;
3255 PyObject * obj3 = 0 ;
3256 PyObject * obj4 = 0 ;
3257 PyObject * obj5 = 0 ;
3258 PyObject * obj6 = 0 ;
3259 PyObject * obj7 = 0 ;
3260 char *kwnames[] = {
3261 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3262 };
3263
bfddbb17 3264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
3265 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3266 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 3267 if (obj1) {
36ed4f51
RD
3268 {
3269 arg2 = (int)(SWIG_As_int(obj1));
3270 if (SWIG_arg_fail(2)) SWIG_fail;
3271 }
bfddbb17
RD
3272 }
3273 if (obj2) {
3274 {
3275 arg3 = wxString_in_helper(obj2);
3276 if (arg3 == NULL) SWIG_fail;
b411df4a 3277 temp3 = true;
bfddbb17 3278 }
d55e5bfc
RD
3279 }
3280 if (obj3) {
3281 {
3282 arg4 = &temp4;
3283 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3284 }
3285 }
3286 if (obj4) {
3287 {
3288 arg5 = &temp5;
3289 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3290 }
3291 }
3292 if (obj5) {
36ed4f51
RD
3293 {
3294 arg6 = (long)(SWIG_As_long(obj5));
3295 if (SWIG_arg_fail(6)) SWIG_fail;
3296 }
d55e5bfc
RD
3297 }
3298 if (obj6) {
36ed4f51
RD
3299 {
3300 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
3301 if (SWIG_arg_fail(7)) SWIG_fail;
3302 if (arg7 == NULL) {
3303 SWIG_null_ref("wxValidator");
3304 }
3305 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
3306 }
3307 }
3308 if (obj7) {
3309 {
3310 arg8 = wxString_in_helper(obj7);
3311 if (arg8 == NULL) SWIG_fail;
b411df4a 3312 temp8 = true;
d55e5bfc
RD
3313 }
3314 }
3315 {
0439c23b 3316 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3317 PyThreadState* __tstate = wxPyBeginAllowThreads();
3318 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3319
3320 wxPyEndAllowThreads(__tstate);
110da5b0 3321 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3322 }
3323 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
3324 {
3325 if (temp3)
3326 delete arg3;
3327 }
3328 {
3329 if (temp8)
3330 delete arg8;
3331 }
3332 return resultobj;
3333 fail:
3334 {
3335 if (temp3)
3336 delete arg3;
3337 }
3338 {
3339 if (temp8)
3340 delete arg8;
3341 }
3342 return NULL;
3343}
3344
3345
c370783e 3346static PyObject *_wrap_new_PreCheckBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3347 PyObject *resultobj;
3348 wxCheckBox *result;
3349 char *kwnames[] = {
3350 NULL
3351 };
3352
3353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckBox",kwnames)) goto fail;
3354 {
0439c23b 3355 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3356 PyThreadState* __tstate = wxPyBeginAllowThreads();
3357 result = (wxCheckBox *)new wxCheckBox();
3358
3359 wxPyEndAllowThreads(__tstate);
110da5b0 3360 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3361 }
3362 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
3363 return resultobj;
3364 fail:
3365 return NULL;
3366}
3367
3368
c370783e 3369static PyObject *_wrap_CheckBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3370 PyObject *resultobj;
3371 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3372 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17
RD
3373 int arg3 = (int) -1 ;
3374 wxString const &arg4_defvalue = wxPyEmptyString ;
3375 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
3376 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3377 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3378 wxSize const &arg6_defvalue = wxDefaultSize ;
3379 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3380 long arg7 = (long) 0 ;
3381 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3382 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3383 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
3384 wxString *arg9 = (wxString *) &arg9_defvalue ;
3385 bool result;
b411df4a 3386 bool temp4 = false ;
d55e5bfc
RD
3387 wxPoint temp5 ;
3388 wxSize temp6 ;
b411df4a 3389 bool temp9 = false ;
d55e5bfc
RD
3390 PyObject * obj0 = 0 ;
3391 PyObject * obj1 = 0 ;
3392 PyObject * obj2 = 0 ;
3393 PyObject * obj3 = 0 ;
3394 PyObject * obj4 = 0 ;
3395 PyObject * obj5 = 0 ;
3396 PyObject * obj6 = 0 ;
3397 PyObject * obj7 = 0 ;
3398 PyObject * obj8 = 0 ;
3399 char *kwnames[] = {
3400 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3401 };
3402
bfddbb17 3403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
36ed4f51
RD
3404 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3405 if (SWIG_arg_fail(1)) SWIG_fail;
3406 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3407 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 3408 if (obj2) {
36ed4f51
RD
3409 {
3410 arg3 = (int)(SWIG_As_int(obj2));
3411 if (SWIG_arg_fail(3)) SWIG_fail;
3412 }
bfddbb17
RD
3413 }
3414 if (obj3) {
3415 {
3416 arg4 = wxString_in_helper(obj3);
3417 if (arg4 == NULL) SWIG_fail;
b411df4a 3418 temp4 = true;
bfddbb17 3419 }
d55e5bfc
RD
3420 }
3421 if (obj4) {
3422 {
3423 arg5 = &temp5;
3424 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3425 }
3426 }
3427 if (obj5) {
3428 {
3429 arg6 = &temp6;
3430 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3431 }
3432 }
3433 if (obj6) {
36ed4f51
RD
3434 {
3435 arg7 = (long)(SWIG_As_long(obj6));
3436 if (SWIG_arg_fail(7)) SWIG_fail;
3437 }
d55e5bfc
RD
3438 }
3439 if (obj7) {
36ed4f51
RD
3440 {
3441 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
3442 if (SWIG_arg_fail(8)) SWIG_fail;
3443 if (arg8 == NULL) {
3444 SWIG_null_ref("wxValidator");
3445 }
3446 if (SWIG_arg_fail(8)) SWIG_fail;
d55e5bfc
RD
3447 }
3448 }
3449 if (obj8) {
3450 {
3451 arg9 = wxString_in_helper(obj8);
3452 if (arg9 == NULL) SWIG_fail;
b411df4a 3453 temp9 = true;
d55e5bfc
RD
3454 }
3455 }
3456 {
3457 PyThreadState* __tstate = wxPyBeginAllowThreads();
3458 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3459
3460 wxPyEndAllowThreads(__tstate);
3461 if (PyErr_Occurred()) SWIG_fail;
3462 }
3463 {
3464 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3465 }
3466 {
3467 if (temp4)
3468 delete arg4;
3469 }
3470 {
3471 if (temp9)
3472 delete arg9;
3473 }
3474 return resultobj;
3475 fail:
3476 {
3477 if (temp4)
3478 delete arg4;
3479 }
3480 {
3481 if (temp9)
3482 delete arg9;
3483 }
3484 return NULL;
3485}
3486
3487
c370783e 3488static PyObject *_wrap_CheckBox_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3489 PyObject *resultobj;
3490 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3491 bool result;
3492 PyObject * obj0 = 0 ;
3493 char *kwnames[] = {
3494 (char *) "self", NULL
3495 };
3496
3497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_GetValue",kwnames,&obj0)) goto fail;
36ed4f51
RD
3498 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3499 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3500 {
3501 PyThreadState* __tstate = wxPyBeginAllowThreads();
3502 result = (bool)(arg1)->GetValue();
3503
3504 wxPyEndAllowThreads(__tstate);
3505 if (PyErr_Occurred()) SWIG_fail;
3506 }
3507 {
3508 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3509 }
3510 return resultobj;
3511 fail:
3512 return NULL;
3513}
3514
3515
c370783e 3516static PyObject *_wrap_CheckBox_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3517 PyObject *resultobj;
3518 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3519 bool result;
3520 PyObject * obj0 = 0 ;
3521 char *kwnames[] = {
3522 (char *) "self", NULL
3523 };
3524
3525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_IsChecked",kwnames,&obj0)) goto fail;
36ed4f51
RD
3526 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3527 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3528 {
3529 PyThreadState* __tstate = wxPyBeginAllowThreads();
3530 result = (bool)(arg1)->IsChecked();
3531
3532 wxPyEndAllowThreads(__tstate);
3533 if (PyErr_Occurred()) SWIG_fail;
3534 }
3535 {
3536 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3537 }
3538 return resultobj;
3539 fail:
3540 return NULL;
3541}
3542
3543
c370783e 3544static PyObject *_wrap_CheckBox_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3545 PyObject *resultobj;
3546 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3547 bool arg2 ;
3548 PyObject * obj0 = 0 ;
3549 PyObject * obj1 = 0 ;
3550 char *kwnames[] = {
3551 (char *) "self",(char *) "state", NULL
3552 };
3553
3554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3555 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3556 if (SWIG_arg_fail(1)) SWIG_fail;
3557 {
3558 arg2 = (bool const)(SWIG_As_bool(obj1));
3559 if (SWIG_arg_fail(2)) SWIG_fail;
3560 }
d55e5bfc
RD
3561 {
3562 PyThreadState* __tstate = wxPyBeginAllowThreads();
3563 (arg1)->SetValue(arg2);
3564
3565 wxPyEndAllowThreads(__tstate);
3566 if (PyErr_Occurred()) SWIG_fail;
3567 }
3568 Py_INCREF(Py_None); resultobj = Py_None;
3569 return resultobj;
3570 fail:
3571 return NULL;
3572}
3573
3574
c370783e 3575static PyObject *_wrap_CheckBox_Get3StateValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3576 PyObject *resultobj;
3577 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
36ed4f51 3578 wxCheckBoxState result;
d55e5bfc
RD
3579 PyObject * obj0 = 0 ;
3580 char *kwnames[] = {
3581 (char *) "self", NULL
3582 };
3583
3584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Get3StateValue",kwnames,&obj0)) goto fail;
36ed4f51
RD
3585 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3586 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3587 {
3588 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 3589 result = (wxCheckBoxState)((wxCheckBox const *)arg1)->Get3StateValue();
d55e5bfc
RD
3590
3591 wxPyEndAllowThreads(__tstate);
3592 if (PyErr_Occurred()) SWIG_fail;
3593 }
36ed4f51 3594 resultobj = SWIG_From_int((result));
d55e5bfc
RD
3595 return resultobj;
3596 fail:
3597 return NULL;
3598}
3599
3600
c370783e 3601static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3602 PyObject *resultobj;
3603 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
36ed4f51 3604 wxCheckBoxState arg2 ;
d55e5bfc
RD
3605 PyObject * obj0 = 0 ;
3606 PyObject * obj1 = 0 ;
3607 char *kwnames[] = {
3608 (char *) "self",(char *) "state", NULL
3609 };
3610
3611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_Set3StateValue",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3612 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3613 if (SWIG_arg_fail(1)) SWIG_fail;
3614 {
3615 arg2 = (wxCheckBoxState)(SWIG_As_int(obj1));
3616 if (SWIG_arg_fail(2)) SWIG_fail;
3617 }
d55e5bfc
RD
3618 {
3619 PyThreadState* __tstate = wxPyBeginAllowThreads();
3620 (arg1)->Set3StateValue((wxCheckBoxState )arg2);
3621
3622 wxPyEndAllowThreads(__tstate);
3623 if (PyErr_Occurred()) SWIG_fail;
3624 }
3625 Py_INCREF(Py_None); resultobj = Py_None;
3626 return resultobj;
3627 fail:
3628 return NULL;
3629}
3630
3631
c370783e 3632static PyObject *_wrap_CheckBox_Is3State(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3633 PyObject *resultobj;
3634 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3635 bool result;
3636 PyObject * obj0 = 0 ;
3637 char *kwnames[] = {
3638 (char *) "self", NULL
3639 };
3640
3641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3State",kwnames,&obj0)) goto fail;
36ed4f51
RD
3642 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3643 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3644 {
3645 PyThreadState* __tstate = wxPyBeginAllowThreads();
3646 result = (bool)((wxCheckBox const *)arg1)->Is3State();
3647
3648 wxPyEndAllowThreads(__tstate);
3649 if (PyErr_Occurred()) SWIG_fail;
3650 }
3651 {
3652 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3653 }
3654 return resultobj;
3655 fail:
3656 return NULL;
3657}
3658
3659
c370783e 3660static PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3661 PyObject *resultobj;
3662 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3663 bool result;
3664 PyObject * obj0 = 0 ;
3665 char *kwnames[] = {
3666 (char *) "self", NULL
3667 };
3668
3669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames,&obj0)) goto fail;
36ed4f51
RD
3670 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3671 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3672 {
3673 PyThreadState* __tstate = wxPyBeginAllowThreads();
3674 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
3675
3676 wxPyEndAllowThreads(__tstate);
3677 if (PyErr_Occurred()) SWIG_fail;
3678 }
3679 {
3680 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3681 }
3682 return resultobj;
3683 fail:
3684 return NULL;
3685}
3686
3687
c370783e 3688static PyObject *_wrap_CheckBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 3689 PyObject *resultobj;
36ed4f51 3690 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
3691 wxVisualAttributes result;
3692 PyObject * obj0 = 0 ;
3693 char *kwnames[] = {
3694 (char *) "variant", NULL
3695 };
3696
3697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
3698 if (obj0) {
36ed4f51
RD
3699 {
3700 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
3701 if (SWIG_arg_fail(1)) SWIG_fail;
3702 }
f20a2e1f
RD
3703 }
3704 {
0439c23b 3705 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
3706 PyThreadState* __tstate = wxPyBeginAllowThreads();
3707 result = wxCheckBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
3708
3709 wxPyEndAllowThreads(__tstate);
110da5b0 3710 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
3711 }
3712 {
3713 wxVisualAttributes * resultptr;
36ed4f51 3714 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
3715 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
3716 }
3717 return resultobj;
3718 fail:
3719 return NULL;
3720}
3721
3722
c370783e 3723static PyObject * CheckBox_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
3724 PyObject *obj;
3725 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3726 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox, obj);
3727 Py_INCREF(obj);
3728 return Py_BuildValue((char *)"");
3729}
c370783e 3730static int _wrap_ChoiceNameStr_set(PyObject *) {
d55e5bfc
RD
3731 PyErr_SetString(PyExc_TypeError,"Variable ChoiceNameStr is read-only.");
3732 return 1;
3733}
3734
3735
36ed4f51 3736static PyObject *_wrap_ChoiceNameStr_get(void) {
d55e5bfc
RD
3737 PyObject *pyobj;
3738
3739 {
3740#if wxUSE_UNICODE
3741 pyobj = PyUnicode_FromWideChar((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
3742#else
3743 pyobj = PyString_FromStringAndSize((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
3744#endif
3745 }
3746 return pyobj;
3747}
3748
3749
c370783e 3750static PyObject *_wrap_new_Choice(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3751 PyObject *resultobj;
3752 wxWindow *arg1 = (wxWindow *) 0 ;
3753 int arg2 = (int) -1 ;
3754 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3755 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3756 wxSize const &arg4_defvalue = wxDefaultSize ;
3757 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3758 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
3759 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
3760 long arg6 = (long) 0 ;
3761 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3762 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3763 wxString const &arg8_defvalue = wxPyChoiceNameStr ;
3764 wxString *arg8 = (wxString *) &arg8_defvalue ;
3765 wxChoice *result;
3766 wxPoint temp3 ;
3767 wxSize temp4 ;
b411df4a
RD
3768 bool temp5 = false ;
3769 bool temp8 = false ;
d55e5bfc
RD
3770 PyObject * obj0 = 0 ;
3771 PyObject * obj1 = 0 ;
3772 PyObject * obj2 = 0 ;
3773 PyObject * obj3 = 0 ;
3774 PyObject * obj4 = 0 ;
3775 PyObject * obj5 = 0 ;
3776 PyObject * obj6 = 0 ;
3777 PyObject * obj7 = 0 ;
3778 char *kwnames[] = {
3779 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3780 };
3781
3782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Choice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
3783 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3784 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 3785 if (obj1) {
36ed4f51
RD
3786 {
3787 arg2 = (int)(SWIG_As_int(obj1));
3788 if (SWIG_arg_fail(2)) SWIG_fail;
3789 }
d55e5bfc
RD
3790 }
3791 if (obj2) {
3792 {
3793 arg3 = &temp3;
3794 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3795 }
3796 }
3797 if (obj3) {
3798 {
3799 arg4 = &temp4;
3800 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3801 }
3802 }
3803 if (obj4) {
3804 {
3805 if (! PySequence_Check(obj4)) {
3806 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
3807 SWIG_fail;
3808 }
3809 arg5 = new wxArrayString;
b411df4a 3810 temp5 = true;
d55e5bfc
RD
3811 int i, len=PySequence_Length(obj4);
3812 for (i=0; i<len; i++) {
3813 PyObject* item = PySequence_GetItem(obj4, i);
3814#if wxUSE_UNICODE
3815 PyObject* str = PyObject_Unicode(item);
3816#else
3817 PyObject* str = PyObject_Str(item);
3818#endif
3819 if (PyErr_Occurred()) SWIG_fail;
3820 arg5->Add(Py2wxString(str));
3821 Py_DECREF(item);
3822 Py_DECREF(str);
3823 }
3824 }
3825 }
3826 if (obj5) {
36ed4f51
RD
3827 {
3828 arg6 = (long)(SWIG_As_long(obj5));
3829 if (SWIG_arg_fail(6)) SWIG_fail;
3830 }
d55e5bfc
RD
3831 }
3832 if (obj6) {
36ed4f51
RD
3833 {
3834 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
3835 if (SWIG_arg_fail(7)) SWIG_fail;
3836 if (arg7 == NULL) {
3837 SWIG_null_ref("wxValidator");
3838 }
3839 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
3840 }
3841 }
3842 if (obj7) {
3843 {
3844 arg8 = wxString_in_helper(obj7);
3845 if (arg8 == NULL) SWIG_fail;
b411df4a 3846 temp8 = true;
d55e5bfc
RD
3847 }
3848 }
3849 {
0439c23b 3850 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3851 PyThreadState* __tstate = wxPyBeginAllowThreads();
3852 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3853
3854 wxPyEndAllowThreads(__tstate);
110da5b0 3855 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3856 }
3857 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
3858 {
3859 if (temp5) delete arg5;
3860 }
3861 {
3862 if (temp8)
3863 delete arg8;
3864 }
3865 return resultobj;
3866 fail:
3867 {
3868 if (temp5) delete arg5;
3869 }
3870 {
3871 if (temp8)
3872 delete arg8;
3873 }
3874 return NULL;
3875}
3876
3877
c370783e 3878static PyObject *_wrap_new_PreChoice(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3879 PyObject *resultobj;
3880 wxChoice *result;
3881 char *kwnames[] = {
3882 NULL
3883 };
3884
3885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoice",kwnames)) goto fail;
3886 {
0439c23b 3887 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3888 PyThreadState* __tstate = wxPyBeginAllowThreads();
3889 result = (wxChoice *)new wxChoice();
3890
3891 wxPyEndAllowThreads(__tstate);
110da5b0 3892 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3893 }
3894 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
3895 return resultobj;
3896 fail:
3897 return NULL;
3898}
3899
3900
c370783e 3901static PyObject *_wrap_Choice_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3902 PyObject *resultobj;
3903 wxChoice *arg1 = (wxChoice *) 0 ;
3904 wxWindow *arg2 = (wxWindow *) 0 ;
3905 int arg3 = (int) -1 ;
3906 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3907 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3908 wxSize const &arg5_defvalue = wxDefaultSize ;
3909 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3910 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
3911 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
3912 long arg7 = (long) 0 ;
3913 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3914 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3915 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
3916 wxString *arg9 = (wxString *) &arg9_defvalue ;
3917 bool result;
3918 wxPoint temp4 ;
3919 wxSize temp5 ;
b411df4a
RD
3920 bool temp6 = false ;
3921 bool temp9 = false ;
d55e5bfc
RD
3922 PyObject * obj0 = 0 ;
3923 PyObject * obj1 = 0 ;
3924 PyObject * obj2 = 0 ;
3925 PyObject * obj3 = 0 ;
3926 PyObject * obj4 = 0 ;
3927 PyObject * obj5 = 0 ;
3928 PyObject * obj6 = 0 ;
3929 PyObject * obj7 = 0 ;
3930 PyObject * obj8 = 0 ;
3931 char *kwnames[] = {
3932 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3933 };
3934
3935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Choice_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
36ed4f51
RD
3936 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoice, SWIG_POINTER_EXCEPTION | 0);
3937 if (SWIG_arg_fail(1)) SWIG_fail;
3938 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3939 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 3940 if (obj2) {
36ed4f51
RD
3941 {
3942 arg3 = (int)(SWIG_As_int(obj2));
3943 if (SWIG_arg_fail(3)) SWIG_fail;
3944 }
d55e5bfc
RD
3945 }
3946 if (obj3) {
3947 {
3948 arg4 = &temp4;
3949 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3950 }
3951 }
3952 if (obj4) {
3953 {
3954 arg5 = &temp5;
3955 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3956 }
3957 }
3958 if (obj5) {
3959 {
3960 if (! PySequence_Check(obj5)) {
3961 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
3962 SWIG_fail;
3963 }
3964 arg6 = new wxArrayString;
b411df4a 3965 temp6 = true;
d55e5bfc
RD
3966 int i, len=PySequence_Length(obj5);
3967 for (i=0; i<len; i++) {
3968 PyObject* item = PySequence_GetItem(obj5, i);
3969#if wxUSE_UNICODE
3970 PyObject* str = PyObject_Unicode(item);
3971#else
3972 PyObject* str = PyObject_Str(item);
3973#endif
3974 if (PyErr_Occurred()) SWIG_fail;
3975 arg6->Add(Py2wxString(str));
3976 Py_DECREF(item);
3977 Py_DECREF(str);
3978 }
3979 }
3980 }
3981 if (obj6) {
36ed4f51
RD
3982 {
3983 arg7 = (long)(SWIG_As_long(obj6));
3984 if (SWIG_arg_fail(7)) SWIG_fail;
3985 }
d55e5bfc
RD
3986 }
3987 if (obj7) {
36ed4f51
RD
3988 {
3989 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
3990 if (SWIG_arg_fail(8)) SWIG_fail;
3991 if (arg8 == NULL) {
3992 SWIG_null_ref("wxValidator");
3993 }
3994 if (SWIG_arg_fail(8)) SWIG_fail;
d55e5bfc
RD
3995 }
3996 }
3997 if (obj8) {
3998 {
3999 arg9 = wxString_in_helper(obj8);
4000 if (arg9 == NULL) SWIG_fail;
b411df4a 4001 temp9 = true;
d55e5bfc
RD
4002 }
4003 }
4004 {
4005 PyThreadState* __tstate = wxPyBeginAllowThreads();
4006 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4007
4008 wxPyEndAllowThreads(__tstate);
4009 if (PyErr_Occurred()) SWIG_fail;
4010 }
4011 {
4012 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4013 }
4014 {
4015 if (temp6) delete arg6;
4016 }
4017 {
4018 if (temp9)
4019 delete arg9;
4020 }
4021 return resultobj;
4022 fail:
4023 {
4024 if (temp6) delete arg6;
4025 }
4026 {
4027 if (temp9)
4028 delete arg9;
4029 }
4030 return NULL;
4031}
4032
4033
c370783e 4034static PyObject *_wrap_Choice_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4035 PyObject *resultobj;
4036 wxChoice *arg1 = (wxChoice *) 0 ;
4037 int arg2 ;
4038 PyObject * obj0 = 0 ;
4039 PyObject * obj1 = 0 ;
4040 char *kwnames[] = {
4041 (char *) "self",(char *) "n", NULL
4042 };
4043
4044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetSelection",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4045 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoice, SWIG_POINTER_EXCEPTION | 0);
4046 if (SWIG_arg_fail(1)) SWIG_fail;
4047 {
4048 arg2 = (int const)(SWIG_As_int(obj1));
4049 if (SWIG_arg_fail(2)) SWIG_fail;
4050 }
d55e5bfc
RD
4051 {
4052 PyThreadState* __tstate = wxPyBeginAllowThreads();
4053 (arg1)->SetSelection(arg2);
4054
4055 wxPyEndAllowThreads(__tstate);
4056 if (PyErr_Occurred()) SWIG_fail;
4057 }
4058 Py_INCREF(Py_None); resultobj = Py_None;
4059 return resultobj;
4060 fail:
4061 return NULL;
4062}
4063
4064
c370783e 4065static PyObject *_wrap_Choice_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4066 PyObject *resultobj;
4067 wxChoice *arg1 = (wxChoice *) 0 ;
4068 wxString *arg2 = 0 ;
121b9a67 4069 bool result;
b411df4a 4070 bool temp2 = false ;
d55e5bfc
RD
4071 PyObject * obj0 = 0 ;
4072 PyObject * obj1 = 0 ;
4073 char *kwnames[] = {
4074 (char *) "self",(char *) "string", NULL
4075 };
4076
4077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4078 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoice, SWIG_POINTER_EXCEPTION | 0);
4079 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4080 {
4081 arg2 = wxString_in_helper(obj1);
4082 if (arg2 == NULL) SWIG_fail;
b411df4a 4083 temp2 = true;
d55e5bfc
RD
4084 }
4085 {
4086 PyThreadState* __tstate = wxPyBeginAllowThreads();
121b9a67 4087 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
d55e5bfc
RD
4088
4089 wxPyEndAllowThreads(__tstate);
4090 if (PyErr_Occurred()) SWIG_fail;
4091 }
121b9a67
RD
4092 {
4093 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4094 }
d55e5bfc
RD
4095 {
4096 if (temp2)
4097 delete arg2;
4098 }
4099 return resultobj;
4100 fail:
4101 {
4102 if (temp2)
4103 delete arg2;
4104 }
4105 return NULL;
4106}
4107
4108
c370783e 4109static PyObject *_wrap_Choice_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4110 PyObject *resultobj;
4111 wxChoice *arg1 = (wxChoice *) 0 ;
4112 int arg2 ;
4113 wxString *arg3 = 0 ;
b411df4a 4114 bool temp3 = false ;
d55e5bfc
RD
4115 PyObject * obj0 = 0 ;
4116 PyObject * obj1 = 0 ;
4117 PyObject * obj2 = 0 ;
4118 char *kwnames[] = {
4119 (char *) "self",(char *) "n",(char *) "string", NULL
4120 };
4121
4122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Choice_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
4123 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoice, SWIG_POINTER_EXCEPTION | 0);
4124 if (SWIG_arg_fail(1)) SWIG_fail;
4125 {
4126 arg2 = (int)(SWIG_As_int(obj1));
4127 if (SWIG_arg_fail(2)) SWIG_fail;
4128 }
d55e5bfc
RD
4129 {
4130 arg3 = wxString_in_helper(obj2);
4131 if (arg3 == NULL) SWIG_fail;
b411df4a 4132 temp3 = true;
d55e5bfc
RD
4133 }
4134 {
4135 PyThreadState* __tstate = wxPyBeginAllowThreads();
4136 (arg1)->SetString(arg2,(wxString const &)*arg3);
4137
4138 wxPyEndAllowThreads(__tstate);
4139 if (PyErr_Occurred()) SWIG_fail;
4140 }
4141 Py_INCREF(Py_None); resultobj = Py_None;
4142 {
4143 if (temp3)
4144 delete arg3;
4145 }
4146 return resultobj;
4147 fail:
4148 {
4149 if (temp3)
4150 delete arg3;
4151 }
4152 return NULL;
4153}
4154
4155
c370783e 4156static PyObject *_wrap_Choice_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 4157 PyObject *resultobj;
36ed4f51 4158 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
4159 wxVisualAttributes result;
4160 PyObject * obj0 = 0 ;
4161 char *kwnames[] = {
4162 (char *) "variant", NULL
4163 };
4164
4165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4166 if (obj0) {
36ed4f51
RD
4167 {
4168 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
4169 if (SWIG_arg_fail(1)) SWIG_fail;
4170 }
f20a2e1f
RD
4171 }
4172 {
0439c23b 4173 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
4174 PyThreadState* __tstate = wxPyBeginAllowThreads();
4175 result = wxChoice::GetClassDefaultAttributes((wxWindowVariant )arg1);
4176
4177 wxPyEndAllowThreads(__tstate);
110da5b0 4178 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
4179 }
4180 {
4181 wxVisualAttributes * resultptr;
36ed4f51 4182 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
4183 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4184 }
4185 return resultobj;
4186 fail:
4187 return NULL;
4188}
4189
4190
c370783e 4191static PyObject * Choice_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
4192 PyObject *obj;
4193 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4194 SWIG_TypeClientData(SWIGTYPE_p_wxChoice, obj);
4195 Py_INCREF(obj);
4196 return Py_BuildValue((char *)"");
4197}
c370783e 4198static int _wrap_ComboBoxNameStr_set(PyObject *) {
d55e5bfc
RD
4199 PyErr_SetString(PyExc_TypeError,"Variable ComboBoxNameStr is read-only.");
4200 return 1;
4201}
4202
4203
36ed4f51 4204static PyObject *_wrap_ComboBoxNameStr_get(void) {
d55e5bfc
RD
4205 PyObject *pyobj;
4206
4207 {
4208#if wxUSE_UNICODE
4209 pyobj = PyUnicode_FromWideChar((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
4210#else
4211 pyobj = PyString_FromStringAndSize((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
4212#endif
4213 }
4214 return pyobj;
4215}
4216
4217
c370783e 4218static PyObject *_wrap_new_ComboBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4219 PyObject *resultobj;
4220 wxWindow *arg1 = (wxWindow *) 0 ;
4221 int arg2 = (int) -1 ;
4222 wxString const &arg3_defvalue = wxPyEmptyString ;
4223 wxString *arg3 = (wxString *) &arg3_defvalue ;
4224 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4225 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4226 wxSize const &arg5_defvalue = wxDefaultSize ;
4227 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4228 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
4229 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
4230 long arg7 = (long) 0 ;
4231 wxValidator const &arg8_defvalue = wxDefaultValidator ;
4232 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
4233 wxString const &arg9_defvalue = wxPyComboBoxNameStr ;
4234 wxString *arg9 = (wxString *) &arg9_defvalue ;
4235 wxComboBox *result;
b411df4a 4236 bool temp3 = false ;
d55e5bfc
RD
4237 wxPoint temp4 ;
4238 wxSize temp5 ;
b411df4a
RD
4239 bool temp6 = false ;
4240 bool temp9 = false ;
d55e5bfc
RD
4241 PyObject * obj0 = 0 ;
4242 PyObject * obj1 = 0 ;
4243 PyObject * obj2 = 0 ;
4244 PyObject * obj3 = 0 ;
4245 PyObject * obj4 = 0 ;
4246 PyObject * obj5 = 0 ;
4247 PyObject * obj6 = 0 ;
4248 PyObject * obj7 = 0 ;
4249 PyObject * obj8 = 0 ;
4250 char *kwnames[] = {
4251 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4252 };
4253
4254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_ComboBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
36ed4f51
RD
4255 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4256 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 4257 if (obj1) {
36ed4f51
RD
4258 {
4259 arg2 = (int)(SWIG_As_int(obj1));
4260 if (SWIG_arg_fail(2)) SWIG_fail;
4261 }
d55e5bfc
RD
4262 }
4263 if (obj2) {
4264 {
4265 arg3 = wxString_in_helper(obj2);
4266 if (arg3 == NULL) SWIG_fail;
b411df4a 4267 temp3 = true;
d55e5bfc
RD
4268 }
4269 }
4270 if (obj3) {
4271 {
4272 arg4 = &temp4;
4273 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4274 }
4275 }
4276 if (obj4) {
4277 {
4278 arg5 = &temp5;
4279 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4280 }
4281 }
4282 if (obj5) {
4283 {
4284 if (! PySequence_Check(obj5)) {
4285 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4286 SWIG_fail;
4287 }
4288 arg6 = new wxArrayString;
b411df4a 4289 temp6 = true;
d55e5bfc
RD
4290 int i, len=PySequence_Length(obj5);
4291 for (i=0; i<len; i++) {
4292 PyObject* item = PySequence_GetItem(obj5, i);
4293#if wxUSE_UNICODE
4294 PyObject* str = PyObject_Unicode(item);
4295#else
4296 PyObject* str = PyObject_Str(item);
4297#endif
4298 if (PyErr_Occurred()) SWIG_fail;
4299 arg6->Add(Py2wxString(str));
4300 Py_DECREF(item);
4301 Py_DECREF(str);
4302 }
4303 }
4304 }
4305 if (obj6) {
36ed4f51
RD
4306 {
4307 arg7 = (long)(SWIG_As_long(obj6));
4308 if (SWIG_arg_fail(7)) SWIG_fail;
4309 }
d55e5bfc
RD
4310 }
4311 if (obj7) {
36ed4f51
RD
4312 {
4313 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
4314 if (SWIG_arg_fail(8)) SWIG_fail;
4315 if (arg8 == NULL) {
4316 SWIG_null_ref("wxValidator");
4317 }
4318 if (SWIG_arg_fail(8)) SWIG_fail;
d55e5bfc
RD
4319 }
4320 }
4321 if (obj8) {
4322 {
4323 arg9 = wxString_in_helper(obj8);
4324 if (arg9 == NULL) SWIG_fail;
b411df4a 4325 temp9 = true;
d55e5bfc
RD
4326 }
4327 }
4328 {
0439c23b 4329 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4330 PyThreadState* __tstate = wxPyBeginAllowThreads();
4331 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);
4332
4333 wxPyEndAllowThreads(__tstate);
110da5b0 4334 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4335 }
4336 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
4337 {
4338 if (temp3)
4339 delete arg3;
4340 }
4341 {
4342 if (temp6) delete arg6;
4343 }
4344 {
4345 if (temp9)
4346 delete arg9;
4347 }
4348 return resultobj;
4349 fail:
4350 {
4351 if (temp3)
4352 delete arg3;
4353 }
4354 {
4355 if (temp6) delete arg6;
4356 }
4357 {
4358 if (temp9)
4359 delete arg9;
4360 }
4361 return NULL;
4362}
4363
4364
c370783e 4365static PyObject *_wrap_new_PreComboBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4366 PyObject *resultobj;
4367 wxComboBox *result;
4368 char *kwnames[] = {
4369 NULL
4370 };
4371
4372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreComboBox",kwnames)) goto fail;
4373 {
0439c23b 4374 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4375 PyThreadState* __tstate = wxPyBeginAllowThreads();
4376 result = (wxComboBox *)new wxComboBox();
4377
4378 wxPyEndAllowThreads(__tstate);
110da5b0 4379 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4380 }
4381 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
4382 return resultobj;
4383 fail:
4384 return NULL;
4385}
4386
4387
c370783e 4388static PyObject *_wrap_ComboBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4389 PyObject *resultobj;
4390 wxComboBox *arg1 = (wxComboBox *) 0 ;
4391 wxWindow *arg2 = (wxWindow *) 0 ;
4392 int arg3 = (int) -1 ;
4393 wxString const &arg4_defvalue = wxPyEmptyString ;
4394 wxString *arg4 = (wxString *) &arg4_defvalue ;
4395 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4396 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4397 wxSize const &arg6_defvalue = wxDefaultSize ;
4398 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4399 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
4400 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
4401 long arg8 = (long) 0 ;
4402 wxValidator const &arg9_defvalue = wxDefaultValidator ;
4403 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
4404 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
4405 wxString *arg10 = (wxString *) &arg10_defvalue ;
4406 bool result;
b411df4a 4407 bool temp4 = false ;
d55e5bfc
RD
4408 wxPoint temp5 ;
4409 wxSize temp6 ;
b411df4a
RD
4410 bool temp7 = false ;
4411 bool temp10 = false ;
d55e5bfc
RD
4412 PyObject * obj0 = 0 ;
4413 PyObject * obj1 = 0 ;
4414 PyObject * obj2 = 0 ;
4415 PyObject * obj3 = 0 ;
4416 PyObject * obj4 = 0 ;
4417 PyObject * obj5 = 0 ;
4418 PyObject * obj6 = 0 ;
4419 PyObject * obj7 = 0 ;
4420 PyObject * obj8 = 0 ;
4421 PyObject * obj9 = 0 ;
4422 char *kwnames[] = {
4423 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4424 };
4425
4426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
36ed4f51
RD
4427 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4428 if (SWIG_arg_fail(1)) SWIG_fail;
4429 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4430 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 4431 if (obj2) {
36ed4f51
RD
4432 {
4433 arg3 = (int)(SWIG_As_int(obj2));
4434 if (SWIG_arg_fail(3)) SWIG_fail;
4435 }
d55e5bfc
RD
4436 }
4437 if (obj3) {
4438 {
4439 arg4 = wxString_in_helper(obj3);
4440 if (arg4 == NULL) SWIG_fail;
b411df4a 4441 temp4 = true;
d55e5bfc
RD
4442 }
4443 }
4444 if (obj4) {
4445 {
4446 arg5 = &temp5;
4447 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4448 }
4449 }
4450 if (obj5) {
4451 {
4452 arg6 = &temp6;
4453 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4454 }
4455 }
4456 if (obj6) {
4457 {
4458 if (! PySequence_Check(obj6)) {
4459 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4460 SWIG_fail;
4461 }
4462 arg7 = new wxArrayString;
b411df4a 4463 temp7 = true;
d55e5bfc
RD
4464 int i, len=PySequence_Length(obj6);
4465 for (i=0; i<len; i++) {
4466 PyObject* item = PySequence_GetItem(obj6, i);
4467#if wxUSE_UNICODE
4468 PyObject* str = PyObject_Unicode(item);
4469#else
4470 PyObject* str = PyObject_Str(item);
4471#endif
4472 if (PyErr_Occurred()) SWIG_fail;
4473 arg7->Add(Py2wxString(str));
4474 Py_DECREF(item);
4475 Py_DECREF(str);
4476 }
4477 }
4478 }
4479 if (obj7) {
36ed4f51
RD
4480 {
4481 arg8 = (long)(SWIG_As_long(obj7));
4482 if (SWIG_arg_fail(8)) SWIG_fail;
4483 }
d55e5bfc
RD
4484 }
4485 if (obj8) {
36ed4f51
RD
4486 {
4487 SWIG_Python_ConvertPtr(obj8, (void **)&arg9, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
4488 if (SWIG_arg_fail(9)) SWIG_fail;
4489 if (arg9 == NULL) {
4490 SWIG_null_ref("wxValidator");
4491 }
4492 if (SWIG_arg_fail(9)) SWIG_fail;
d55e5bfc
RD
4493 }
4494 }
4495 if (obj9) {
4496 {
4497 arg10 = wxString_in_helper(obj9);
4498 if (arg10 == NULL) SWIG_fail;
b411df4a 4499 temp10 = true;
d55e5bfc
RD
4500 }
4501 }
4502 {
4503 PyThreadState* __tstate = wxPyBeginAllowThreads();
4504 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);
4505
4506 wxPyEndAllowThreads(__tstate);
4507 if (PyErr_Occurred()) SWIG_fail;
4508 }
4509 {
4510 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4511 }
4512 {
4513 if (temp4)
4514 delete arg4;
4515 }
4516 {
4517 if (temp7) delete arg7;
4518 }
4519 {
4520 if (temp10)
4521 delete arg10;
4522 }
4523 return resultobj;
4524 fail:
4525 {
4526 if (temp4)
4527 delete arg4;
4528 }
4529 {
4530 if (temp7) delete arg7;
4531 }
4532 {
4533 if (temp10)
4534 delete arg10;
4535 }
4536 return NULL;
4537}
4538
4539
c370783e 4540static PyObject *_wrap_ComboBox_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4541 PyObject *resultobj;
4542 wxComboBox *arg1 = (wxComboBox *) 0 ;
4543 wxString result;
4544 PyObject * obj0 = 0 ;
4545 char *kwnames[] = {
4546 (char *) "self", NULL
4547 };
4548
4549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetValue",kwnames,&obj0)) goto fail;
36ed4f51
RD
4550 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4551 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4552 {
4553 PyThreadState* __tstate = wxPyBeginAllowThreads();
4554 result = ((wxComboBox const *)arg1)->GetValue();
4555
4556 wxPyEndAllowThreads(__tstate);
4557 if (PyErr_Occurred()) SWIG_fail;
4558 }
4559 {
4560#if wxUSE_UNICODE
4561 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4562#else
4563 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4564#endif
4565 }
4566 return resultobj;
4567 fail:
4568 return NULL;
4569}
4570
4571
c370783e 4572static PyObject *_wrap_ComboBox_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4573 PyObject *resultobj;
4574 wxComboBox *arg1 = (wxComboBox *) 0 ;
4575 wxString *arg2 = 0 ;
b411df4a 4576 bool temp2 = false ;
d55e5bfc
RD
4577 PyObject * obj0 = 0 ;
4578 PyObject * obj1 = 0 ;
4579 char *kwnames[] = {
4580 (char *) "self",(char *) "value", NULL
4581 };
4582
4583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4584 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4585 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4586 {
4587 arg2 = wxString_in_helper(obj1);
4588 if (arg2 == NULL) SWIG_fail;
b411df4a 4589 temp2 = true;
d55e5bfc
RD
4590 }
4591 {
4592 PyThreadState* __tstate = wxPyBeginAllowThreads();
4593 (arg1)->SetValue((wxString const &)*arg2);
4594
4595 wxPyEndAllowThreads(__tstate);
4596 if (PyErr_Occurred()) SWIG_fail;
4597 }
4598 Py_INCREF(Py_None); resultobj = Py_None;
4599 {
4600 if (temp2)
4601 delete arg2;
4602 }
4603 return resultobj;
4604 fail:
4605 {
4606 if (temp2)
4607 delete arg2;
4608 }
4609 return NULL;
4610}
4611
4612
c370783e 4613static PyObject *_wrap_ComboBox_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4614 PyObject *resultobj;
4615 wxComboBox *arg1 = (wxComboBox *) 0 ;
4616 PyObject * obj0 = 0 ;
4617 char *kwnames[] = {
4618 (char *) "self", NULL
4619 };
4620
4621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Copy",kwnames,&obj0)) goto fail;
36ed4f51
RD
4622 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4623 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4624 {
4625 PyThreadState* __tstate = wxPyBeginAllowThreads();
4626 (arg1)->Copy();
4627
4628 wxPyEndAllowThreads(__tstate);
4629 if (PyErr_Occurred()) SWIG_fail;
4630 }
4631 Py_INCREF(Py_None); resultobj = Py_None;
4632 return resultobj;
4633 fail:
4634 return NULL;
4635}
4636
4637
c370783e 4638static PyObject *_wrap_ComboBox_Cut(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4639 PyObject *resultobj;
4640 wxComboBox *arg1 = (wxComboBox *) 0 ;
4641 PyObject * obj0 = 0 ;
4642 char *kwnames[] = {
4643 (char *) "self", NULL
4644 };
4645
4646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Cut",kwnames,&obj0)) goto fail;
36ed4f51
RD
4647 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4648 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4649 {
4650 PyThreadState* __tstate = wxPyBeginAllowThreads();
4651 (arg1)->Cut();
4652
4653 wxPyEndAllowThreads(__tstate);
4654 if (PyErr_Occurred()) SWIG_fail;
4655 }
4656 Py_INCREF(Py_None); resultobj = Py_None;
4657 return resultobj;
4658 fail:
4659 return NULL;
4660}
4661
4662
c370783e 4663static PyObject *_wrap_ComboBox_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4664 PyObject *resultobj;
4665 wxComboBox *arg1 = (wxComboBox *) 0 ;
4666 PyObject * obj0 = 0 ;
4667 char *kwnames[] = {
4668 (char *) "self", NULL
4669 };
4670
4671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Paste",kwnames,&obj0)) goto fail;
36ed4f51
RD
4672 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4673 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4674 {
4675 PyThreadState* __tstate = wxPyBeginAllowThreads();
4676 (arg1)->Paste();
4677
4678 wxPyEndAllowThreads(__tstate);
4679 if (PyErr_Occurred()) SWIG_fail;
4680 }
4681 Py_INCREF(Py_None); resultobj = Py_None;
4682 return resultobj;
4683 fail:
4684 return NULL;
4685}
4686
4687
c370783e 4688static PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4689 PyObject *resultobj;
4690 wxComboBox *arg1 = (wxComboBox *) 0 ;
4691 long arg2 ;
4692 PyObject * obj0 = 0 ;
4693 PyObject * obj1 = 0 ;
4694 char *kwnames[] = {
4695 (char *) "self",(char *) "pos", NULL
4696 };
4697
4698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4699 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4700 if (SWIG_arg_fail(1)) SWIG_fail;
4701 {
4702 arg2 = (long)(SWIG_As_long(obj1));
4703 if (SWIG_arg_fail(2)) SWIG_fail;
4704 }
d55e5bfc
RD
4705 {
4706 PyThreadState* __tstate = wxPyBeginAllowThreads();
4707 (arg1)->SetInsertionPoint(arg2);
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
c370783e 4719static PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4720 PyObject *resultobj;
4721 wxComboBox *arg1 = (wxComboBox *) 0 ;
4722 long result;
4723 PyObject * obj0 = 0 ;
4724 char *kwnames[] = {
4725 (char *) "self", NULL
4726 };
4727
4728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetInsertionPoint",kwnames,&obj0)) goto fail;
36ed4f51
RD
4729 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4730 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4731 {
4732 PyThreadState* __tstate = wxPyBeginAllowThreads();
4733 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
4734
4735 wxPyEndAllowThreads(__tstate);
4736 if (PyErr_Occurred()) SWIG_fail;
4737 }
36ed4f51
RD
4738 {
4739 resultobj = SWIG_From_long((long)(result));
4740 }
d55e5bfc
RD
4741 return resultobj;
4742 fail:
4743 return NULL;
4744}
4745
4746
c370783e 4747static PyObject *_wrap_ComboBox_GetLastPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4748 PyObject *resultobj;
4749 wxComboBox *arg1 = (wxComboBox *) 0 ;
4750 long result;
4751 PyObject * obj0 = 0 ;
4752 char *kwnames[] = {
4753 (char *) "self", NULL
4754 };
4755
4756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetLastPosition",kwnames,&obj0)) goto fail;
36ed4f51
RD
4757 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4758 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4759 {
4760 PyThreadState* __tstate = wxPyBeginAllowThreads();
4761 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
4762
4763 wxPyEndAllowThreads(__tstate);
4764 if (PyErr_Occurred()) SWIG_fail;
4765 }
36ed4f51
RD
4766 {
4767 resultobj = SWIG_From_long((long)(result));
4768 }
d55e5bfc
RD
4769 return resultobj;
4770 fail:
4771 return NULL;
4772}
4773
4774
c370783e 4775static PyObject *_wrap_ComboBox_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4776 PyObject *resultobj;
4777 wxComboBox *arg1 = (wxComboBox *) 0 ;
4778 long arg2 ;
4779 long arg3 ;
4780 wxString *arg4 = 0 ;
b411df4a 4781 bool temp4 = false ;
d55e5bfc
RD
4782 PyObject * obj0 = 0 ;
4783 PyObject * obj1 = 0 ;
4784 PyObject * obj2 = 0 ;
4785 PyObject * obj3 = 0 ;
4786 char *kwnames[] = {
4787 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
4788 };
4789
4790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ComboBox_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
4791 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4792 if (SWIG_arg_fail(1)) SWIG_fail;
4793 {
4794 arg2 = (long)(SWIG_As_long(obj1));
4795 if (SWIG_arg_fail(2)) SWIG_fail;
4796 }
4797 {
4798 arg3 = (long)(SWIG_As_long(obj2));
4799 if (SWIG_arg_fail(3)) SWIG_fail;
4800 }
d55e5bfc
RD
4801 {
4802 arg4 = wxString_in_helper(obj3);
4803 if (arg4 == NULL) SWIG_fail;
b411df4a 4804 temp4 = true;
d55e5bfc
RD
4805 }
4806 {
4807 PyThreadState* __tstate = wxPyBeginAllowThreads();
4808 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
4809
4810 wxPyEndAllowThreads(__tstate);
4811 if (PyErr_Occurred()) SWIG_fail;
4812 }
4813 Py_INCREF(Py_None); resultobj = Py_None;
4814 {
4815 if (temp4)
4816 delete arg4;
4817 }
4818 return resultobj;
4819 fail:
4820 {
4821 if (temp4)
4822 delete arg4;
4823 }
4824 return NULL;
4825}
4826
4827
c370783e 4828static PyObject *_wrap_ComboBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4829 PyObject *resultobj;
4830 wxComboBox *arg1 = (wxComboBox *) 0 ;
4831 int arg2 ;
4832 PyObject * obj0 = 0 ;
4833 PyObject * obj1 = 0 ;
4834 char *kwnames[] = {
4835 (char *) "self",(char *) "n", NULL
4836 };
4837
4838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4839 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4840 if (SWIG_arg_fail(1)) SWIG_fail;
4841 {
4842 arg2 = (int)(SWIG_As_int(obj1));
4843 if (SWIG_arg_fail(2)) SWIG_fail;
4844 }
d55e5bfc
RD
4845 {
4846 PyThreadState* __tstate = wxPyBeginAllowThreads();
4847 (arg1)->SetSelection(arg2);
4848
4849 wxPyEndAllowThreads(__tstate);
4850 if (PyErr_Occurred()) SWIG_fail;
4851 }
4852 Py_INCREF(Py_None); resultobj = Py_None;
4853 return resultobj;
4854 fail:
4855 return NULL;
4856}
4857
4858
c370783e 4859static PyObject *_wrap_ComboBox_SetMark(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4860 PyObject *resultobj;
4861 wxComboBox *arg1 = (wxComboBox *) 0 ;
4862 long arg2 ;
4863 long arg3 ;
4864 PyObject * obj0 = 0 ;
4865 PyObject * obj1 = 0 ;
4866 PyObject * obj2 = 0 ;
4867 char *kwnames[] = {
4868 (char *) "self",(char *) "from",(char *) "to", NULL
4869 };
4870
4871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetMark",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
4872 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4873 if (SWIG_arg_fail(1)) SWIG_fail;
4874 {
4875 arg2 = (long)(SWIG_As_long(obj1));
4876 if (SWIG_arg_fail(2)) SWIG_fail;
4877 }
4878 {
4879 arg3 = (long)(SWIG_As_long(obj2));
4880 if (SWIG_arg_fail(3)) SWIG_fail;
4881 }
d55e5bfc
RD
4882 {
4883 PyThreadState* __tstate = wxPyBeginAllowThreads();
4884 (arg1)->SetSelection(arg2,arg3);
4885
4886 wxPyEndAllowThreads(__tstate);
4887 if (PyErr_Occurred()) SWIG_fail;
4888 }
4889 Py_INCREF(Py_None); resultobj = Py_None;
4890 return resultobj;
4891 fail:
4892 return NULL;
4893}
4894
4895
c370783e 4896static PyObject *_wrap_ComboBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
121b9a67
RD
4897 PyObject *resultobj;
4898 wxComboBox *arg1 = (wxComboBox *) 0 ;
4899 wxString *arg2 = 0 ;
4900 bool result;
b411df4a 4901 bool temp2 = false ;
121b9a67
RD
4902 PyObject * obj0 = 0 ;
4903 PyObject * obj1 = 0 ;
4904 char *kwnames[] = {
4905 (char *) "self",(char *) "string", NULL
4906 };
4907
4908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4909 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4910 if (SWIG_arg_fail(1)) SWIG_fail;
121b9a67
RD
4911 {
4912 arg2 = wxString_in_helper(obj1);
4913 if (arg2 == NULL) SWIG_fail;
b411df4a 4914 temp2 = true;
121b9a67
RD
4915 }
4916 {
4917 PyThreadState* __tstate = wxPyBeginAllowThreads();
4918 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
4919
4920 wxPyEndAllowThreads(__tstate);
4921 if (PyErr_Occurred()) SWIG_fail;
4922 }
4923 {
4924 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4925 }
4926 {
4927 if (temp2)
4928 delete arg2;
4929 }
4930 return resultobj;
4931 fail:
4932 {
4933 if (temp2)
4934 delete arg2;
4935 }
4936 return NULL;
4937}
4938
4939
c370783e 4940static PyObject *_wrap_ComboBox_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
121b9a67
RD
4941 PyObject *resultobj;
4942 wxComboBox *arg1 = (wxComboBox *) 0 ;
4943 int arg2 ;
4944 wxString *arg3 = 0 ;
b411df4a 4945 bool temp3 = false ;
121b9a67
RD
4946 PyObject * obj0 = 0 ;
4947 PyObject * obj1 = 0 ;
4948 PyObject * obj2 = 0 ;
4949 char *kwnames[] = {
4950 (char *) "self",(char *) "n",(char *) "string", NULL
4951 };
4952
4953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
4954 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4955 if (SWIG_arg_fail(1)) SWIG_fail;
4956 {
4957 arg2 = (int)(SWIG_As_int(obj1));
4958 if (SWIG_arg_fail(2)) SWIG_fail;
4959 }
121b9a67
RD
4960 {
4961 arg3 = wxString_in_helper(obj2);
4962 if (arg3 == NULL) SWIG_fail;
b411df4a 4963 temp3 = true;
121b9a67
RD
4964 }
4965 {
4966 PyThreadState* __tstate = wxPyBeginAllowThreads();
4967 (arg1)->SetString(arg2,(wxString const &)*arg3);
4968
4969 wxPyEndAllowThreads(__tstate);
4970 if (PyErr_Occurred()) SWIG_fail;
4971 }
4972 Py_INCREF(Py_None); resultobj = Py_None;
4973 {
4974 if (temp3)
4975 delete arg3;
4976 }
4977 return resultobj;
4978 fail:
4979 {
4980 if (temp3)
4981 delete arg3;
4982 }
4983 return NULL;
4984}
4985
4986
c370783e 4987static PyObject *_wrap_ComboBox_SetEditable(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4988 PyObject *resultobj;
4989 wxComboBox *arg1 = (wxComboBox *) 0 ;
4990 bool arg2 ;
4991 PyObject * obj0 = 0 ;
4992 PyObject * obj1 = 0 ;
4993 char *kwnames[] = {
4994 (char *) "self",(char *) "editable", NULL
4995 };
4996
4997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4998 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4999 if (SWIG_arg_fail(1)) SWIG_fail;
5000 {
5001 arg2 = (bool)(SWIG_As_bool(obj1));
5002 if (SWIG_arg_fail(2)) SWIG_fail;
5003 }
d55e5bfc
RD
5004 {
5005 PyThreadState* __tstate = wxPyBeginAllowThreads();
5006 (arg1)->SetEditable(arg2);
5007
5008 wxPyEndAllowThreads(__tstate);
5009 if (PyErr_Occurred()) SWIG_fail;
5010 }
5011 Py_INCREF(Py_None); resultobj = Py_None;
5012 return resultobj;
5013 fail:
5014 return NULL;
5015}
5016
5017
c370783e 5018static PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5019 PyObject *resultobj;
5020 wxComboBox *arg1 = (wxComboBox *) 0 ;
5021 PyObject * obj0 = 0 ;
5022 char *kwnames[] = {
5023 (char *) "self", NULL
5024 };
5025
5026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
36ed4f51
RD
5027 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5028 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5029 {
5030 PyThreadState* __tstate = wxPyBeginAllowThreads();
5031 (arg1)->SetInsertionPointEnd();
5032
5033 wxPyEndAllowThreads(__tstate);
5034 if (PyErr_Occurred()) SWIG_fail;
5035 }
5036 Py_INCREF(Py_None); resultobj = Py_None;
5037 return resultobj;
5038 fail:
5039 return NULL;
5040}
5041
5042
c370783e 5043static PyObject *_wrap_ComboBox_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5044 PyObject *resultobj;
5045 wxComboBox *arg1 = (wxComboBox *) 0 ;
5046 long arg2 ;
5047 long arg3 ;
5048 PyObject * obj0 = 0 ;
5049 PyObject * obj1 = 0 ;
5050 PyObject * obj2 = 0 ;
5051 char *kwnames[] = {
5052 (char *) "self",(char *) "from",(char *) "to", NULL
5053 };
5054
5055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
5056 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5057 if (SWIG_arg_fail(1)) SWIG_fail;
5058 {
5059 arg2 = (long)(SWIG_As_long(obj1));
5060 if (SWIG_arg_fail(2)) SWIG_fail;
5061 }
5062 {
5063 arg3 = (long)(SWIG_As_long(obj2));
5064 if (SWIG_arg_fail(3)) SWIG_fail;
5065 }
d55e5bfc
RD
5066 {
5067 PyThreadState* __tstate = wxPyBeginAllowThreads();
5068 (arg1)->Remove(arg2,arg3);
5069
5070 wxPyEndAllowThreads(__tstate);
5071 if (PyErr_Occurred()) SWIG_fail;
5072 }
5073 Py_INCREF(Py_None); resultobj = Py_None;
5074 return resultobj;
5075 fail:
5076 return NULL;
5077}
5078
5079
5cbf236d
RD
5080static PyObject *_wrap_ComboBox_IsEditable(PyObject *, PyObject *args, PyObject *kwargs) {
5081 PyObject *resultobj;
5082 wxComboBox *arg1 = (wxComboBox *) 0 ;
5083 bool result;
5084 PyObject * obj0 = 0 ;
5085 char *kwnames[] = {
5086 (char *) "self", NULL
5087 };
5088
5089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_IsEditable",kwnames,&obj0)) goto fail;
36ed4f51
RD
5090 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5091 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
5092 {
5093 PyThreadState* __tstate = wxPyBeginAllowThreads();
5094 result = (bool)((wxComboBox const *)arg1)->IsEditable();
5095
5096 wxPyEndAllowThreads(__tstate);
5097 if (PyErr_Occurred()) SWIG_fail;
5098 }
5099 {
5100 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5101 }
5102 return resultobj;
5103 fail:
5104 return NULL;
5105}
5106
5107
5108static PyObject *_wrap_ComboBox_Undo(PyObject *, PyObject *args, PyObject *kwargs) {
5109 PyObject *resultobj;
5110 wxComboBox *arg1 = (wxComboBox *) 0 ;
5111 PyObject * obj0 = 0 ;
5112 char *kwnames[] = {
5113 (char *) "self", NULL
5114 };
5115
5116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Undo",kwnames,&obj0)) goto fail;
36ed4f51
RD
5117 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5118 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
5119 {
5120 PyThreadState* __tstate = wxPyBeginAllowThreads();
5121 (arg1)->Undo();
5122
5123 wxPyEndAllowThreads(__tstate);
5124 if (PyErr_Occurred()) SWIG_fail;
5125 }
5126 Py_INCREF(Py_None); resultobj = Py_None;
5127 return resultobj;
5128 fail:
5129 return NULL;
5130}
5131
5132
5133static PyObject *_wrap_ComboBox_Redo(PyObject *, PyObject *args, PyObject *kwargs) {
5134 PyObject *resultobj;
5135 wxComboBox *arg1 = (wxComboBox *) 0 ;
5136 PyObject * obj0 = 0 ;
5137 char *kwnames[] = {
5138 (char *) "self", NULL
5139 };
5140
5141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Redo",kwnames,&obj0)) goto fail;
36ed4f51
RD
5142 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5143 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
5144 {
5145 PyThreadState* __tstate = wxPyBeginAllowThreads();
5146 (arg1)->Redo();
5147
5148 wxPyEndAllowThreads(__tstate);
5149 if (PyErr_Occurred()) SWIG_fail;
5150 }
5151 Py_INCREF(Py_None); resultobj = Py_None;
5152 return resultobj;
5153 fail:
5154 return NULL;
5155}
5156
5157
5158static PyObject *_wrap_ComboBox_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
5159 PyObject *resultobj;
5160 wxComboBox *arg1 = (wxComboBox *) 0 ;
5161 PyObject * obj0 = 0 ;
5162 char *kwnames[] = {
5163 (char *) "self", NULL
5164 };
5165
5166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SelectAll",kwnames,&obj0)) goto fail;
36ed4f51
RD
5167 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5168 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
5169 {
5170 PyThreadState* __tstate = wxPyBeginAllowThreads();
5171 (arg1)->SelectAll();
5172
5173 wxPyEndAllowThreads(__tstate);
5174 if (PyErr_Occurred()) SWIG_fail;
5175 }
5176 Py_INCREF(Py_None); resultobj = Py_None;
5177 return resultobj;
5178 fail:
5179 return NULL;
5180}
5181
5182
5183static PyObject *_wrap_ComboBox_CanCopy(PyObject *, PyObject *args, PyObject *kwargs) {
5184 PyObject *resultobj;
5185 wxComboBox *arg1 = (wxComboBox *) 0 ;
5186 bool result;
5187 PyObject * obj0 = 0 ;
5188 char *kwnames[] = {
5189 (char *) "self", NULL
5190 };
5191
5192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanCopy",kwnames,&obj0)) goto fail;
36ed4f51
RD
5193 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5194 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
5195 {
5196 PyThreadState* __tstate = wxPyBeginAllowThreads();
5197 result = (bool)((wxComboBox const *)arg1)->CanCopy();
5198
5199 wxPyEndAllowThreads(__tstate);
5200 if (PyErr_Occurred()) SWIG_fail;
5201 }
5202 {
5203 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5204 }
5205 return resultobj;
5206 fail:
5207 return NULL;
5208}
5209
5210
5211static PyObject *_wrap_ComboBox_CanCut(PyObject *, PyObject *args, PyObject *kwargs) {
5212 PyObject *resultobj;
5213 wxComboBox *arg1 = (wxComboBox *) 0 ;
5214 bool result;
5215 PyObject * obj0 = 0 ;
5216 char *kwnames[] = {
5217 (char *) "self", NULL
5218 };
5219
5220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanCut",kwnames,&obj0)) goto fail;
36ed4f51
RD
5221 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5222 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
5223 {
5224 PyThreadState* __tstate = wxPyBeginAllowThreads();
5225 result = (bool)((wxComboBox const *)arg1)->CanCut();
5226
5227 wxPyEndAllowThreads(__tstate);
5228 if (PyErr_Occurred()) SWIG_fail;
5229 }
5230 {
5231 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5232 }
5233 return resultobj;
5234 fail:
5235 return NULL;
5236}
5237
5238
5239static PyObject *_wrap_ComboBox_CanPaste(PyObject *, PyObject *args, PyObject *kwargs) {
5240 PyObject *resultobj;
5241 wxComboBox *arg1 = (wxComboBox *) 0 ;
5242 bool result;
5243 PyObject * obj0 = 0 ;
5244 char *kwnames[] = {
5245 (char *) "self", NULL
5246 };
5247
5248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanPaste",kwnames,&obj0)) goto fail;
36ed4f51
RD
5249 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5250 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
5251 {
5252 PyThreadState* __tstate = wxPyBeginAllowThreads();
5253 result = (bool)((wxComboBox const *)arg1)->CanPaste();
5254
5255 wxPyEndAllowThreads(__tstate);
5256 if (PyErr_Occurred()) SWIG_fail;
5257 }
5258 {
5259 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5260 }
5261 return resultobj;
5262 fail:
5263 return NULL;
5264}
5265
5266
5267static PyObject *_wrap_ComboBox_CanUndo(PyObject *, PyObject *args, PyObject *kwargs) {
5268 PyObject *resultobj;
5269 wxComboBox *arg1 = (wxComboBox *) 0 ;
5270 bool result;
5271 PyObject * obj0 = 0 ;
5272 char *kwnames[] = {
5273 (char *) "self", NULL
5274 };
5275
5276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanUndo",kwnames,&obj0)) goto fail;
36ed4f51
RD
5277 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5278 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
5279 {
5280 PyThreadState* __tstate = wxPyBeginAllowThreads();
5281 result = (bool)((wxComboBox const *)arg1)->CanUndo();
5282
5283 wxPyEndAllowThreads(__tstate);
5284 if (PyErr_Occurred()) SWIG_fail;
5285 }
5286 {
5287 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5288 }
5289 return resultobj;
5290 fail:
5291 return NULL;
5292}
5293
5294
5295static PyObject *_wrap_ComboBox_CanRedo(PyObject *, PyObject *args, PyObject *kwargs) {
5296 PyObject *resultobj;
5297 wxComboBox *arg1 = (wxComboBox *) 0 ;
5298 bool result;
5299 PyObject * obj0 = 0 ;
5300 char *kwnames[] = {
5301 (char *) "self", NULL
5302 };
5303
5304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanRedo",kwnames,&obj0)) goto fail;
36ed4f51
RD
5305 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5306 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
5307 {
5308 PyThreadState* __tstate = wxPyBeginAllowThreads();
5309 result = (bool)((wxComboBox const *)arg1)->CanRedo();
5310
5311 wxPyEndAllowThreads(__tstate);
5312 if (PyErr_Occurred()) SWIG_fail;
5313 }
5314 {
5315 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5316 }
5317 return resultobj;
5318 fail:
5319 return NULL;
5320}
5321
5322
c370783e 5323static PyObject *_wrap_ComboBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 5324 PyObject *resultobj;
36ed4f51 5325 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
5326 wxVisualAttributes result;
5327 PyObject * obj0 = 0 ;
5328 char *kwnames[] = {
5329 (char *) "variant", NULL
5330 };
5331
5332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5333 if (obj0) {
36ed4f51
RD
5334 {
5335 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
5336 if (SWIG_arg_fail(1)) SWIG_fail;
5337 }
f20a2e1f
RD
5338 }
5339 {
0439c23b 5340 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
5341 PyThreadState* __tstate = wxPyBeginAllowThreads();
5342 result = wxComboBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
5343
5344 wxPyEndAllowThreads(__tstate);
110da5b0 5345 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
5346 }
5347 {
5348 wxVisualAttributes * resultptr;
36ed4f51 5349 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
5350 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5351 }
5352 return resultobj;
5353 fail:
5354 return NULL;
5355}
5356
5357
c370783e 5358static PyObject * ComboBox_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
5359 PyObject *obj;
5360 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5361 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox, obj);
5362 Py_INCREF(obj);
5363 return Py_BuildValue((char *)"");
5364}
c370783e 5365static int _wrap_GaugeNameStr_set(PyObject *) {
d55e5bfc
RD
5366 PyErr_SetString(PyExc_TypeError,"Variable GaugeNameStr is read-only.");
5367 return 1;
5368}
5369
5370
36ed4f51 5371static PyObject *_wrap_GaugeNameStr_get(void) {
d55e5bfc
RD
5372 PyObject *pyobj;
5373
5374 {
5375#if wxUSE_UNICODE
5376 pyobj = PyUnicode_FromWideChar((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
5377#else
5378 pyobj = PyString_FromStringAndSize((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
5379#endif
5380 }
5381 return pyobj;
5382}
5383
5384
c370783e 5385static PyObject *_wrap_new_Gauge(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5386 PyObject *resultobj;
5387 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17
RD
5388 int arg2 = (int) -1 ;
5389 int arg3 = (int) 100 ;
d55e5bfc
RD
5390 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5391 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5392 wxSize const &arg5_defvalue = wxDefaultSize ;
5393 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5394 long arg6 = (long) wxGA_HORIZONTAL ;
5395 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5396 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5397 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
5398 wxString *arg8 = (wxString *) &arg8_defvalue ;
5399 wxGauge *result;
5400 wxPoint temp4 ;
5401 wxSize temp5 ;
b411df4a 5402 bool temp8 = false ;
d55e5bfc
RD
5403 PyObject * obj0 = 0 ;
5404 PyObject * obj1 = 0 ;
5405 PyObject * obj2 = 0 ;
5406 PyObject * obj3 = 0 ;
5407 PyObject * obj4 = 0 ;
5408 PyObject * obj5 = 0 ;
5409 PyObject * obj6 = 0 ;
5410 PyObject * obj7 = 0 ;
5411 char *kwnames[] = {
5412 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5413 };
5414
bfddbb17 5415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Gauge",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
5416 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5417 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 5418 if (obj1) {
36ed4f51
RD
5419 {
5420 arg2 = (int)(SWIG_As_int(obj1));
5421 if (SWIG_arg_fail(2)) SWIG_fail;
5422 }
bfddbb17
RD
5423 }
5424 if (obj2) {
36ed4f51
RD
5425 {
5426 arg3 = (int)(SWIG_As_int(obj2));
5427 if (SWIG_arg_fail(3)) SWIG_fail;
5428 }
bfddbb17 5429 }
d55e5bfc
RD
5430 if (obj3) {
5431 {
5432 arg4 = &temp4;
5433 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5434 }
5435 }
5436 if (obj4) {
5437 {
5438 arg5 = &temp5;
5439 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5440 }
5441 }
5442 if (obj5) {
36ed4f51
RD
5443 {
5444 arg6 = (long)(SWIG_As_long(obj5));
5445 if (SWIG_arg_fail(6)) SWIG_fail;
5446 }
d55e5bfc
RD
5447 }
5448 if (obj6) {
36ed4f51
RD
5449 {
5450 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
5451 if (SWIG_arg_fail(7)) SWIG_fail;
5452 if (arg7 == NULL) {
5453 SWIG_null_ref("wxValidator");
5454 }
5455 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
5456 }
5457 }
5458 if (obj7) {
5459 {
5460 arg8 = wxString_in_helper(obj7);
5461 if (arg8 == NULL) SWIG_fail;
b411df4a 5462 temp8 = true;
d55e5bfc
RD
5463 }
5464 }
5465 {
0439c23b 5466 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5467 PyThreadState* __tstate = wxPyBeginAllowThreads();
5468 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
5469
5470 wxPyEndAllowThreads(__tstate);
110da5b0 5471 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5472 }
5473 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
5474 {
5475 if (temp8)
5476 delete arg8;
5477 }
5478 return resultobj;
5479 fail:
5480 {
5481 if (temp8)
5482 delete arg8;
5483 }
5484 return NULL;
5485}
5486
5487
c370783e 5488static PyObject *_wrap_new_PreGauge(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5489 PyObject *resultobj;
5490 wxGauge *result;
5491 char *kwnames[] = {
5492 NULL
5493 };
5494
5495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGauge",kwnames)) goto fail;
5496 {
0439c23b 5497 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5498 PyThreadState* __tstate = wxPyBeginAllowThreads();
5499 result = (wxGauge *)new wxGauge();
5500
5501 wxPyEndAllowThreads(__tstate);
110da5b0 5502 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5503 }
5504 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
5505 return resultobj;
5506 fail:
5507 return NULL;
5508}
5509
5510
c370783e 5511static PyObject *_wrap_Gauge_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5512 PyObject *resultobj;
5513 wxGauge *arg1 = (wxGauge *) 0 ;
5514 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17
RD
5515 int arg3 = (int) -1 ;
5516 int arg4 = (int) 100 ;
d55e5bfc
RD
5517 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5518 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5519 wxSize const &arg6_defvalue = wxDefaultSize ;
5520 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5521 long arg7 = (long) wxGA_HORIZONTAL ;
5522 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5523 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5524 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
5525 wxString *arg9 = (wxString *) &arg9_defvalue ;
5526 bool result;
5527 wxPoint temp5 ;
5528 wxSize temp6 ;
b411df4a 5529 bool temp9 = false ;
d55e5bfc
RD
5530 PyObject * obj0 = 0 ;
5531 PyObject * obj1 = 0 ;
5532 PyObject * obj2 = 0 ;
5533 PyObject * obj3 = 0 ;
5534 PyObject * obj4 = 0 ;
5535 PyObject * obj5 = 0 ;
5536 PyObject * obj6 = 0 ;
5537 PyObject * obj7 = 0 ;
5538 PyObject * obj8 = 0 ;
5539 char *kwnames[] = {
5540 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5541 };
5542
bfddbb17 5543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Gauge_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
36ed4f51
RD
5544 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5545 if (SWIG_arg_fail(1)) SWIG_fail;
5546 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5547 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 5548 if (obj2) {
36ed4f51
RD
5549 {
5550 arg3 = (int)(SWIG_As_int(obj2));
5551 if (SWIG_arg_fail(3)) SWIG_fail;
5552 }
bfddbb17
RD
5553 }
5554 if (obj3) {
36ed4f51
RD
5555 {
5556 arg4 = (int)(SWIG_As_int(obj3));
5557 if (SWIG_arg_fail(4)) SWIG_fail;
5558 }
bfddbb17 5559 }
d55e5bfc
RD
5560 if (obj4) {
5561 {
5562 arg5 = &temp5;
5563 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5564 }
5565 }
5566 if (obj5) {
5567 {
5568 arg6 = &temp6;
5569 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5570 }
5571 }
5572 if (obj6) {
36ed4f51
RD
5573 {
5574 arg7 = (long)(SWIG_As_long(obj6));
5575 if (SWIG_arg_fail(7)) SWIG_fail;
5576 }
d55e5bfc
RD
5577 }
5578 if (obj7) {
36ed4f51
RD
5579 {
5580 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
5581 if (SWIG_arg_fail(8)) SWIG_fail;
5582 if (arg8 == NULL) {
5583 SWIG_null_ref("wxValidator");
5584 }
5585 if (SWIG_arg_fail(8)) SWIG_fail;
d55e5bfc
RD
5586 }
5587 }
5588 if (obj8) {
5589 {
5590 arg9 = wxString_in_helper(obj8);
5591 if (arg9 == NULL) SWIG_fail;
b411df4a 5592 temp9 = true;
d55e5bfc
RD
5593 }
5594 }
5595 {
5596 PyThreadState* __tstate = wxPyBeginAllowThreads();
5597 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5598
5599 wxPyEndAllowThreads(__tstate);
5600 if (PyErr_Occurred()) SWIG_fail;
5601 }
5602 {
5603 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5604 }
5605 {
5606 if (temp9)
5607 delete arg9;
5608 }
5609 return resultobj;
5610 fail:
5611 {
5612 if (temp9)
5613 delete arg9;
5614 }
5615 return NULL;
5616}
5617
5618
c370783e 5619static PyObject *_wrap_Gauge_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5620 PyObject *resultobj;
5621 wxGauge *arg1 = (wxGauge *) 0 ;
5622 int arg2 ;
5623 PyObject * obj0 = 0 ;
5624 PyObject * obj1 = 0 ;
5625 char *kwnames[] = {
5626 (char *) "self",(char *) "range", NULL
5627 };
5628
5629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetRange",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5630 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5631 if (SWIG_arg_fail(1)) SWIG_fail;
5632 {
5633 arg2 = (int)(SWIG_As_int(obj1));
5634 if (SWIG_arg_fail(2)) SWIG_fail;
5635 }
d55e5bfc
RD
5636 {
5637 PyThreadState* __tstate = wxPyBeginAllowThreads();
5638 (arg1)->SetRange(arg2);
5639
5640 wxPyEndAllowThreads(__tstate);
5641 if (PyErr_Occurred()) SWIG_fail;
5642 }
5643 Py_INCREF(Py_None); resultobj = Py_None;
5644 return resultobj;
5645 fail:
5646 return NULL;
5647}
5648
5649
c370783e 5650static PyObject *_wrap_Gauge_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5651 PyObject *resultobj;
5652 wxGauge *arg1 = (wxGauge *) 0 ;
5653 int result;
5654 PyObject * obj0 = 0 ;
5655 char *kwnames[] = {
5656 (char *) "self", NULL
5657 };
5658
5659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetRange",kwnames,&obj0)) goto fail;
36ed4f51
RD
5660 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5661 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5662 {
5663 PyThreadState* __tstate = wxPyBeginAllowThreads();
5664 result = (int)((wxGauge const *)arg1)->GetRange();
5665
5666 wxPyEndAllowThreads(__tstate);
5667 if (PyErr_Occurred()) SWIG_fail;
5668 }
36ed4f51
RD
5669 {
5670 resultobj = SWIG_From_int((int)(result));
5671 }
d55e5bfc
RD
5672 return resultobj;
5673 fail:
5674 return NULL;
5675}
5676
5677
c370783e 5678static PyObject *_wrap_Gauge_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5679 PyObject *resultobj;
5680 wxGauge *arg1 = (wxGauge *) 0 ;
5681 int arg2 ;
5682 PyObject * obj0 = 0 ;
5683 PyObject * obj1 = 0 ;
5684 char *kwnames[] = {
5685 (char *) "self",(char *) "pos", NULL
5686 };
5687
5688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetValue",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5689 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5690 if (SWIG_arg_fail(1)) SWIG_fail;
5691 {
5692 arg2 = (int)(SWIG_As_int(obj1));
5693 if (SWIG_arg_fail(2)) SWIG_fail;
5694 }
d55e5bfc
RD
5695 {
5696 PyThreadState* __tstate = wxPyBeginAllowThreads();
5697 (arg1)->SetValue(arg2);
5698
5699 wxPyEndAllowThreads(__tstate);
5700 if (PyErr_Occurred()) SWIG_fail;
5701 }
5702 Py_INCREF(Py_None); resultobj = Py_None;
5703 return resultobj;
5704 fail:
5705 return NULL;
5706}
5707
5708
c370783e 5709static PyObject *_wrap_Gauge_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5710 PyObject *resultobj;
5711 wxGauge *arg1 = (wxGauge *) 0 ;
5712 int result;
5713 PyObject * obj0 = 0 ;
5714 char *kwnames[] = {
5715 (char *) "self", NULL
5716 };
5717
5718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetValue",kwnames,&obj0)) goto fail;
36ed4f51
RD
5719 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5720 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5721 {
5722 PyThreadState* __tstate = wxPyBeginAllowThreads();
5723 result = (int)((wxGauge const *)arg1)->GetValue();
5724
5725 wxPyEndAllowThreads(__tstate);
5726 if (PyErr_Occurred()) SWIG_fail;
5727 }
36ed4f51
RD
5728 {
5729 resultobj = SWIG_From_int((int)(result));
5730 }
d55e5bfc
RD
5731 return resultobj;
5732 fail:
5733 return NULL;
5734}
5735
5736
c370783e 5737static PyObject *_wrap_Gauge_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5738 PyObject *resultobj;
5739 wxGauge *arg1 = (wxGauge *) 0 ;
5740 bool result;
5741 PyObject * obj0 = 0 ;
5742 char *kwnames[] = {
5743 (char *) "self", NULL
5744 };
5745
5746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_IsVertical",kwnames,&obj0)) goto fail;
36ed4f51
RD
5747 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5748 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5749 {
5750 PyThreadState* __tstate = wxPyBeginAllowThreads();
5751 result = (bool)((wxGauge const *)arg1)->IsVertical();
5752
5753 wxPyEndAllowThreads(__tstate);
5754 if (PyErr_Occurred()) SWIG_fail;
5755 }
5756 {
5757 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5758 }
5759 return resultobj;
5760 fail:
5761 return NULL;
5762}
5763
5764
c370783e 5765static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5766 PyObject *resultobj;
5767 wxGauge *arg1 = (wxGauge *) 0 ;
5768 int arg2 ;
5769 PyObject * obj0 = 0 ;
5770 PyObject * obj1 = 0 ;
5771 char *kwnames[] = {
5772 (char *) "self",(char *) "w", NULL
5773 };
5774
5775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetShadowWidth",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5776 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5777 if (SWIG_arg_fail(1)) SWIG_fail;
5778 {
5779 arg2 = (int)(SWIG_As_int(obj1));
5780 if (SWIG_arg_fail(2)) SWIG_fail;
5781 }
d55e5bfc
RD
5782 {
5783 PyThreadState* __tstate = wxPyBeginAllowThreads();
5784 (arg1)->SetShadowWidth(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
c370783e 5796static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5797 PyObject *resultobj;
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_GetShadowWidth",kwnames,&obj0)) goto fail;
36ed4f51
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)->GetShadowWidth();
5811
5812 wxPyEndAllowThreads(__tstate);
5813 if (PyErr_Occurred()) SWIG_fail;
5814 }
36ed4f51
RD
5815 {
5816 resultobj = SWIG_From_int((int)(result));
5817 }
d55e5bfc
RD
5818 return resultobj;
5819 fail:
5820 return NULL;
5821}
5822
5823
c370783e 5824static PyObject *_wrap_Gauge_SetBezelFace(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5825 PyObject *resultobj;
5826 wxGauge *arg1 = (wxGauge *) 0 ;
5827 int arg2 ;
5828 PyObject * obj0 = 0 ;
5829 PyObject * obj1 = 0 ;
5830 char *kwnames[] = {
5831 (char *) "self",(char *) "w", NULL
5832 };
5833
5834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetBezelFace",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5835 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5836 if (SWIG_arg_fail(1)) SWIG_fail;
5837 {
5838 arg2 = (int)(SWIG_As_int(obj1));
5839 if (SWIG_arg_fail(2)) SWIG_fail;
5840 }
d55e5bfc
RD
5841 {
5842 PyThreadState* __tstate = wxPyBeginAllowThreads();
5843 (arg1)->SetBezelFace(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
c370783e 5855static PyObject *_wrap_Gauge_GetBezelFace(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5856 PyObject *resultobj;
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_GetBezelFace",kwnames,&obj0)) goto fail;
36ed4f51
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)->GetBezelFace();
5870
5871 wxPyEndAllowThreads(__tstate);
5872 if (PyErr_Occurred()) SWIG_fail;
5873 }
36ed4f51
RD
5874 {
5875 resultobj = SWIG_From_int((int)(result));
5876 }
d55e5bfc
RD
5877 return resultobj;
5878 fail:
5879 return NULL;
5880}
5881
5882
c370783e 5883static PyObject *_wrap_Gauge_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 5884 PyObject *resultobj;
36ed4f51 5885 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
5886 wxVisualAttributes result;
5887 PyObject * obj0 = 0 ;
5888 char *kwnames[] = {
5889 (char *) "variant", NULL
5890 };
5891
5892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5893 if (obj0) {
36ed4f51
RD
5894 {
5895 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
5896 if (SWIG_arg_fail(1)) SWIG_fail;
5897 }
f20a2e1f
RD
5898 }
5899 {
0439c23b 5900 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
5901 PyThreadState* __tstate = wxPyBeginAllowThreads();
5902 result = wxGauge::GetClassDefaultAttributes((wxWindowVariant )arg1);
5903
5904 wxPyEndAllowThreads(__tstate);
110da5b0 5905 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
5906 }
5907 {
5908 wxVisualAttributes * resultptr;
36ed4f51 5909 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
5910 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5911 }
5912 return resultobj;
5913 fail:
5914 return NULL;
5915}
5916
5917
c370783e 5918static PyObject * Gauge_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
5919 PyObject *obj;
5920 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5921 SWIG_TypeClientData(SWIGTYPE_p_wxGauge, obj);
5922 Py_INCREF(obj);
5923 return Py_BuildValue((char *)"");
5924}
c370783e 5925static int _wrap_StaticBitmapNameStr_set(PyObject *) {
d55e5bfc
RD
5926 PyErr_SetString(PyExc_TypeError,"Variable StaticBitmapNameStr is read-only.");
5927 return 1;
5928}
5929
5930
36ed4f51 5931static PyObject *_wrap_StaticBitmapNameStr_get(void) {
d55e5bfc
RD
5932 PyObject *pyobj;
5933
5934 {
5935#if wxUSE_UNICODE
5936 pyobj = PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
5937#else
5938 pyobj = PyString_FromStringAndSize((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
5939#endif
5940 }
5941 return pyobj;
5942}
5943
5944
c370783e 5945static int _wrap_StaticBoxNameStr_set(PyObject *) {
d55e5bfc
RD
5946 PyErr_SetString(PyExc_TypeError,"Variable StaticBoxNameStr is read-only.");
5947 return 1;
5948}
5949
5950
36ed4f51 5951static PyObject *_wrap_StaticBoxNameStr_get(void) {
d55e5bfc
RD
5952 PyObject *pyobj;
5953
5954 {
5955#if wxUSE_UNICODE
5956 pyobj = PyUnicode_FromWideChar((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
5957#else
5958 pyobj = PyString_FromStringAndSize((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
5959#endif
5960 }
5961 return pyobj;
5962}
5963
5964
c370783e 5965static int _wrap_StaticTextNameStr_set(PyObject *) {
d55e5bfc
RD
5966 PyErr_SetString(PyExc_TypeError,"Variable StaticTextNameStr is read-only.");
5967 return 1;
5968}
5969
5970
36ed4f51 5971static PyObject *_wrap_StaticTextNameStr_get(void) {
d55e5bfc
RD
5972 PyObject *pyobj;
5973
5974 {
5975#if wxUSE_UNICODE
5976 pyobj = PyUnicode_FromWideChar((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
5977#else
5978 pyobj = PyString_FromStringAndSize((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
5979#endif
5980 }
5981 return pyobj;
5982}
5983
5984
c370783e 5985static PyObject *_wrap_new_StaticBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5986 PyObject *resultobj;
5987 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17
RD
5988 int arg2 = (int) -1 ;
5989 wxString const &arg3_defvalue = wxPyEmptyString ;
5990 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
5991 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5992 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5993 wxSize const &arg5_defvalue = wxDefaultSize ;
5994 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5995 long arg6 = (long) 0 ;
5996 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
5997 wxString *arg7 = (wxString *) &arg7_defvalue ;
5998 wxStaticBox *result;
b411df4a 5999 bool temp3 = false ;
d55e5bfc
RD
6000 wxPoint temp4 ;
6001 wxSize temp5 ;
b411df4a 6002 bool temp7 = false ;
d55e5bfc
RD
6003 PyObject * obj0 = 0 ;
6004 PyObject * obj1 = 0 ;
6005 PyObject * obj2 = 0 ;
6006 PyObject * obj3 = 0 ;
6007 PyObject * obj4 = 0 ;
6008 PyObject * obj5 = 0 ;
6009 PyObject * obj6 = 0 ;
6010 char *kwnames[] = {
6011 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6012 };
6013
bfddbb17 6014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
6015 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6016 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 6017 if (obj1) {
36ed4f51
RD
6018 {
6019 arg2 = (int)(SWIG_As_int(obj1));
6020 if (SWIG_arg_fail(2)) SWIG_fail;
6021 }
bfddbb17
RD
6022 }
6023 if (obj2) {
6024 {
6025 arg3 = wxString_in_helper(obj2);
6026 if (arg3 == NULL) SWIG_fail;
b411df4a 6027 temp3 = true;
bfddbb17 6028 }
d55e5bfc
RD
6029 }
6030 if (obj3) {
6031 {
6032 arg4 = &temp4;
6033 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6034 }
6035 }
6036 if (obj4) {
6037 {
6038 arg5 = &temp5;
6039 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6040 }
6041 }
6042 if (obj5) {
36ed4f51
RD
6043 {
6044 arg6 = (long)(SWIG_As_long(obj5));
6045 if (SWIG_arg_fail(6)) SWIG_fail;
6046 }
d55e5bfc
RD
6047 }
6048 if (obj6) {
6049 {
6050 arg7 = wxString_in_helper(obj6);
6051 if (arg7 == NULL) SWIG_fail;
b411df4a 6052 temp7 = true;
d55e5bfc
RD
6053 }
6054 }
6055 {
0439c23b 6056 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6057 PyThreadState* __tstate = wxPyBeginAllowThreads();
6058 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6059
6060 wxPyEndAllowThreads(__tstate);
110da5b0 6061 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 6062 }
b0f7404b 6063 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBox, 1);
d55e5bfc
RD
6064 {
6065 if (temp3)
6066 delete arg3;
6067 }
6068 {
6069 if (temp7)
6070 delete arg7;
6071 }
6072 return resultobj;
6073 fail:
6074 {
6075 if (temp3)
6076 delete arg3;
6077 }
6078 {
6079 if (temp7)
6080 delete arg7;
6081 }
6082 return NULL;
6083}
6084
6085
c370783e 6086static PyObject *_wrap_new_PreStaticBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6087 PyObject *resultobj;
6088 wxStaticBox *result;
6089 char *kwnames[] = {
6090 NULL
6091 };
6092
6093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBox",kwnames)) goto fail;
6094 {
0439c23b 6095 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6096 PyThreadState* __tstate = wxPyBeginAllowThreads();
6097 result = (wxStaticBox *)new wxStaticBox();
6098
6099 wxPyEndAllowThreads(__tstate);
110da5b0 6100 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 6101 }
b0f7404b 6102 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBox, 1);
d55e5bfc
RD
6103 return resultobj;
6104 fail:
6105 return NULL;
6106}
6107
6108
c370783e 6109static PyObject *_wrap_StaticBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6110 PyObject *resultobj;
6111 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
6112 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17
RD
6113 int arg3 = (int) -1 ;
6114 wxString const &arg4_defvalue = wxPyEmptyString ;
6115 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
6116 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6117 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6118 wxSize const &arg6_defvalue = wxDefaultSize ;
6119 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6120 long arg7 = (long) 0 ;
6121 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
6122 wxString *arg8 = (wxString *) &arg8_defvalue ;
6123 bool result;
b411df4a 6124 bool temp4 = false ;
d55e5bfc
RD
6125 wxPoint temp5 ;
6126 wxSize temp6 ;
b411df4a 6127 bool temp8 = false ;
d55e5bfc
RD
6128 PyObject * obj0 = 0 ;
6129 PyObject * obj1 = 0 ;
6130 PyObject * obj2 = 0 ;
6131 PyObject * obj3 = 0 ;
6132 PyObject * obj4 = 0 ;
6133 PyObject * obj5 = 0 ;
6134 PyObject * obj6 = 0 ;
6135 PyObject * obj7 = 0 ;
6136 char *kwnames[] = {
6137 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6138 };
6139
bfddbb17 6140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
6141 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBox, SWIG_POINTER_EXCEPTION | 0);
6142 if (SWIG_arg_fail(1)) SWIG_fail;
6143 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6144 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 6145 if (obj2) {
36ed4f51
RD
6146 {
6147 arg3 = (int)(SWIG_As_int(obj2));
6148 if (SWIG_arg_fail(3)) SWIG_fail;
6149 }
bfddbb17
RD
6150 }
6151 if (obj3) {
6152 {
6153 arg4 = wxString_in_helper(obj3);
6154 if (arg4 == NULL) SWIG_fail;
b411df4a 6155 temp4 = true;
bfddbb17 6156 }
d55e5bfc
RD
6157 }
6158 if (obj4) {
6159 {
6160 arg5 = &temp5;
6161 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6162 }
6163 }
6164 if (obj5) {
6165 {
6166 arg6 = &temp6;
6167 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6168 }
6169 }
6170 if (obj6) {
36ed4f51
RD
6171 {
6172 arg7 = (long)(SWIG_As_long(obj6));
6173 if (SWIG_arg_fail(7)) SWIG_fail;
6174 }
d55e5bfc
RD
6175 }
6176 if (obj7) {
6177 {
6178 arg8 = wxString_in_helper(obj7);
6179 if (arg8 == NULL) SWIG_fail;
b411df4a 6180 temp8 = true;
d55e5bfc
RD
6181 }
6182 }
6183 {
6184 PyThreadState* __tstate = wxPyBeginAllowThreads();
6185 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6186
6187 wxPyEndAllowThreads(__tstate);
6188 if (PyErr_Occurred()) SWIG_fail;
6189 }
6190 {
6191 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6192 }
6193 {
6194 if (temp4)
6195 delete arg4;
6196 }
6197 {
6198 if (temp8)
6199 delete arg8;
6200 }
6201 return resultobj;
6202 fail:
6203 {
6204 if (temp4)
6205 delete arg4;
6206 }
6207 {
6208 if (temp8)
6209 delete arg8;
6210 }
6211 return NULL;
6212}
6213
6214
c370783e 6215static PyObject *_wrap_StaticBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 6216 PyObject *resultobj;
36ed4f51 6217 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
6218 wxVisualAttributes result;
6219 PyObject * obj0 = 0 ;
6220 char *kwnames[] = {
6221 (char *) "variant", NULL
6222 };
6223
6224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6225 if (obj0) {
36ed4f51
RD
6226 {
6227 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
6228 if (SWIG_arg_fail(1)) SWIG_fail;
6229 }
f20a2e1f
RD
6230 }
6231 {
0439c23b 6232 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
6233 PyThreadState* __tstate = wxPyBeginAllowThreads();
6234 result = wxStaticBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
6235
6236 wxPyEndAllowThreads(__tstate);
110da5b0 6237 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
6238 }
6239 {
6240 wxVisualAttributes * resultptr;
36ed4f51 6241 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
6242 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6243 }
6244 return resultobj;
6245 fail:
6246 return NULL;
6247}
6248
6249
c370783e 6250static PyObject * StaticBox_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
6251 PyObject *obj;
6252 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6253 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox, obj);
6254 Py_INCREF(obj);
6255 return Py_BuildValue((char *)"");
6256}
c370783e 6257static PyObject *_wrap_new_StaticLine(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6258 PyObject *resultobj;
6259 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17 6260 int arg2 = (int) -1 ;
d55e5bfc
RD
6261 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6262 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6263 wxSize const &arg4_defvalue = wxDefaultSize ;
6264 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6265 long arg5 = (long) wxLI_HORIZONTAL ;
6266 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
6267 wxString *arg6 = (wxString *) &arg6_defvalue ;
6268 wxStaticLine *result;
6269 wxPoint temp3 ;
6270 wxSize temp4 ;
b411df4a 6271 bool temp6 = false ;
d55e5bfc
RD
6272 PyObject * obj0 = 0 ;
6273 PyObject * obj1 = 0 ;
6274 PyObject * obj2 = 0 ;
6275 PyObject * obj3 = 0 ;
6276 PyObject * obj4 = 0 ;
6277 PyObject * obj5 = 0 ;
6278 char *kwnames[] = {
6279 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6280 };
6281
bfddbb17 6282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_StaticLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
6283 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6284 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 6285 if (obj1) {
36ed4f51
RD
6286 {
6287 arg2 = (int)(SWIG_As_int(obj1));
6288 if (SWIG_arg_fail(2)) SWIG_fail;
6289 }
bfddbb17 6290 }
d55e5bfc
RD
6291 if (obj2) {
6292 {
6293 arg3 = &temp3;
6294 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6295 }
6296 }
6297 if (obj3) {
6298 {
6299 arg4 = &temp4;
6300 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6301 }
6302 }
6303 if (obj4) {
36ed4f51
RD
6304 {
6305 arg5 = (long)(SWIG_As_long(obj4));
6306 if (SWIG_arg_fail(5)) SWIG_fail;
6307 }
d55e5bfc
RD
6308 }
6309 if (obj5) {
6310 {
6311 arg6 = wxString_in_helper(obj5);
6312 if (arg6 == NULL) SWIG_fail;
b411df4a 6313 temp6 = true;
d55e5bfc
RD
6314 }
6315 }
6316 {
0439c23b 6317 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6318 PyThreadState* __tstate = wxPyBeginAllowThreads();
6319 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
6320
6321 wxPyEndAllowThreads(__tstate);
110da5b0 6322 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6323 }
6324 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
6325 {
6326 if (temp6)
6327 delete arg6;
6328 }
6329 return resultobj;
6330 fail:
6331 {
6332 if (temp6)
6333 delete arg6;
6334 }
6335 return NULL;
6336}
6337
6338
c370783e 6339static PyObject *_wrap_new_PreStaticLine(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6340 PyObject *resultobj;
6341 wxStaticLine *result;
6342 char *kwnames[] = {
6343 NULL
6344 };
6345
6346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticLine",kwnames)) goto fail;
6347 {
0439c23b 6348 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6349 PyThreadState* __tstate = wxPyBeginAllowThreads();
6350 result = (wxStaticLine *)new wxStaticLine();
6351
6352 wxPyEndAllowThreads(__tstate);
110da5b0 6353 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6354 }
6355 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
6356 return resultobj;
6357 fail:
6358 return NULL;
6359}
6360
6361
c370783e 6362static PyObject *_wrap_StaticLine_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6363 PyObject *resultobj;
6364 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
6365 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17 6366 int arg3 = (int) -1 ;
d55e5bfc
RD
6367 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6368 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6369 wxSize const &arg5_defvalue = wxDefaultSize ;
6370 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6371 long arg6 = (long) wxLI_HORIZONTAL ;
6372 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
6373 wxString *arg7 = (wxString *) &arg7_defvalue ;
6374 bool result;
6375 wxPoint temp4 ;
6376 wxSize temp5 ;
b411df4a 6377 bool temp7 = false ;
d55e5bfc
RD
6378 PyObject * obj0 = 0 ;
6379 PyObject * obj1 = 0 ;
6380 PyObject * obj2 = 0 ;
6381 PyObject * obj3 = 0 ;
6382 PyObject * obj4 = 0 ;
6383 PyObject * obj5 = 0 ;
6384 PyObject * obj6 = 0 ;
6385 char *kwnames[] = {
6386 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6387 };
6388
bfddbb17 6389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:StaticLine_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
6390 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticLine, SWIG_POINTER_EXCEPTION | 0);
6391 if (SWIG_arg_fail(1)) SWIG_fail;
6392 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6393 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 6394 if (obj2) {
36ed4f51
RD
6395 {
6396 arg3 = (int)(SWIG_As_int(obj2));
6397 if (SWIG_arg_fail(3)) SWIG_fail;
6398 }
bfddbb17 6399 }
d55e5bfc
RD
6400 if (obj3) {
6401 {
6402 arg4 = &temp4;
6403 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6404 }
6405 }
6406 if (obj4) {
6407 {
6408 arg5 = &temp5;
6409 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6410 }
6411 }
6412 if (obj5) {
36ed4f51
RD
6413 {
6414 arg6 = (long)(SWIG_As_long(obj5));
6415 if (SWIG_arg_fail(6)) SWIG_fail;
6416 }
d55e5bfc
RD
6417 }
6418 if (obj6) {
6419 {
6420 arg7 = wxString_in_helper(obj6);
6421 if (arg7 == NULL) SWIG_fail;
b411df4a 6422 temp7 = true;
d55e5bfc
RD
6423 }
6424 }
6425 {
6426 PyThreadState* __tstate = wxPyBeginAllowThreads();
6427 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6428
6429 wxPyEndAllowThreads(__tstate);
6430 if (PyErr_Occurred()) SWIG_fail;
6431 }
6432 {
6433 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6434 }
6435 {
6436 if (temp7)
6437 delete arg7;
6438 }
6439 return resultobj;
6440 fail:
6441 {
6442 if (temp7)
6443 delete arg7;
6444 }
6445 return NULL;
6446}
6447
6448
c370783e 6449static PyObject *_wrap_StaticLine_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6450 PyObject *resultobj;
6451 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
6452 bool result;
6453 PyObject * obj0 = 0 ;
6454 char *kwnames[] = {
6455 (char *) "self", NULL
6456 };
6457
6458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticLine_IsVertical",kwnames,&obj0)) goto fail;
36ed4f51
RD
6459 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticLine, SWIG_POINTER_EXCEPTION | 0);
6460 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6461 {
6462 PyThreadState* __tstate = wxPyBeginAllowThreads();
6463 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
6464
6465 wxPyEndAllowThreads(__tstate);
6466 if (PyErr_Occurred()) SWIG_fail;
6467 }
6468 {
6469 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6470 }
6471 return resultobj;
6472 fail:
6473 return NULL;
6474}
6475
6476
c370783e 6477static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6478 PyObject *resultobj;
6479 int result;
6480 char *kwnames[] = {
6481 NULL
6482 };
6483
6484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StaticLine_GetDefaultSize",kwnames)) goto fail;
6485 {
6486 PyThreadState* __tstate = wxPyBeginAllowThreads();
6487 result = (int)wxStaticLine::GetDefaultSize();
6488
6489 wxPyEndAllowThreads(__tstate);
6490 if (PyErr_Occurred()) SWIG_fail;
6491 }
36ed4f51
RD
6492 {
6493 resultobj = SWIG_From_int((int)(result));
6494 }
d55e5bfc
RD
6495 return resultobj;
6496 fail:
6497 return NULL;
6498}
6499
6500
c370783e 6501static PyObject *_wrap_StaticLine_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 6502 PyObject *resultobj;
36ed4f51 6503 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
6504 wxVisualAttributes result;
6505 PyObject * obj0 = 0 ;
6506 char *kwnames[] = {
6507 (char *) "variant", NULL
6508 };
6509
6510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6511 if (obj0) {
36ed4f51
RD
6512 {
6513 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
6514 if (SWIG_arg_fail(1)) SWIG_fail;
6515 }
f20a2e1f
RD
6516 }
6517 {
0439c23b 6518 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
6519 PyThreadState* __tstate = wxPyBeginAllowThreads();
6520 result = wxStaticLine::GetClassDefaultAttributes((wxWindowVariant )arg1);
6521
6522 wxPyEndAllowThreads(__tstate);
110da5b0 6523 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
6524 }
6525 {
6526 wxVisualAttributes * resultptr;
36ed4f51 6527 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
6528 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6529 }
6530 return resultobj;
6531 fail:
6532 return NULL;
6533}
6534
6535
c370783e 6536static PyObject * StaticLine_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
6537 PyObject *obj;
6538 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6539 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine, obj);
6540 Py_INCREF(obj);
6541 return Py_BuildValue((char *)"");
6542}
c370783e 6543static PyObject *_wrap_new_StaticText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6544 PyObject *resultobj;
6545 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17
RD
6546 int arg2 = (int) -1 ;
6547 wxString const &arg3_defvalue = wxPyEmptyString ;
6548 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
6549 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6550 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6551 wxSize const &arg5_defvalue = wxDefaultSize ;
6552 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6553 long arg6 = (long) 0 ;
6554 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
6555 wxString *arg7 = (wxString *) &arg7_defvalue ;
6556 wxStaticText *result;
b411df4a 6557 bool temp3 = false ;
d55e5bfc
RD
6558 wxPoint temp4 ;
6559 wxSize temp5 ;
b411df4a 6560 bool temp7 = false ;
d55e5bfc
RD
6561 PyObject * obj0 = 0 ;
6562 PyObject * obj1 = 0 ;
6563 PyObject * obj2 = 0 ;
6564 PyObject * obj3 = 0 ;
6565 PyObject * obj4 = 0 ;
6566 PyObject * obj5 = 0 ;
6567 PyObject * obj6 = 0 ;
6568 char *kwnames[] = {
6569 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6570 };
6571
bfddbb17 6572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
6573 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6574 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 6575 if (obj1) {
36ed4f51
RD
6576 {
6577 arg2 = (int)(SWIG_As_int(obj1));
6578 if (SWIG_arg_fail(2)) SWIG_fail;
6579 }
bfddbb17
RD
6580 }
6581 if (obj2) {
6582 {
6583 arg3 = wxString_in_helper(obj2);
6584 if (arg3 == NULL) SWIG_fail;
b411df4a 6585 temp3 = true;
bfddbb17 6586 }
d55e5bfc
RD
6587 }
6588 if (obj3) {
6589 {
6590 arg4 = &temp4;
6591 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6592 }
6593 }
6594 if (obj4) {
6595 {
6596 arg5 = &temp5;
6597 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6598 }
6599 }
6600 if (obj5) {
36ed4f51
RD
6601 {
6602 arg6 = (long)(SWIG_As_long(obj5));
6603 if (SWIG_arg_fail(6)) SWIG_fail;
6604 }
d55e5bfc
RD
6605 }
6606 if (obj6) {
6607 {
6608 arg7 = wxString_in_helper(obj6);
6609 if (arg7 == NULL) SWIG_fail;
b411df4a 6610 temp7 = true;
d55e5bfc
RD
6611 }
6612 }
6613 {
0439c23b 6614 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6615 PyThreadState* __tstate = wxPyBeginAllowThreads();
6616 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6617
6618 wxPyEndAllowThreads(__tstate);
110da5b0 6619 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6620 }
6621 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
6622 {
6623 if (temp3)
6624 delete arg3;
6625 }
6626 {
6627 if (temp7)
6628 delete arg7;
6629 }
6630 return resultobj;
6631 fail:
6632 {
6633 if (temp3)
6634 delete arg3;
6635 }
6636 {
6637 if (temp7)
6638 delete arg7;
6639 }
6640 return NULL;
6641}
6642
6643
c370783e 6644static PyObject *_wrap_new_PreStaticText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6645 PyObject *resultobj;
6646 wxStaticText *result;
6647 char *kwnames[] = {
6648 NULL
6649 };
6650
6651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticText",kwnames)) goto fail;
6652 {
0439c23b 6653 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6654 PyThreadState* __tstate = wxPyBeginAllowThreads();
6655 result = (wxStaticText *)new wxStaticText();
6656
6657 wxPyEndAllowThreads(__tstate);
110da5b0 6658 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6659 }
6660 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
6661 return resultobj;
6662 fail:
6663 return NULL;
6664}
6665
6666
c370783e 6667static PyObject *_wrap_StaticText_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6668 PyObject *resultobj;
6669 wxStaticText *arg1 = (wxStaticText *) 0 ;
6670 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17
RD
6671 int arg3 = (int) -1 ;
6672 wxString const &arg4_defvalue = wxPyEmptyString ;
6673 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
6674 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6675 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6676 wxSize const &arg6_defvalue = wxDefaultSize ;
6677 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6678 long arg7 = (long) 0 ;
6679 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
6680 wxString *arg8 = (wxString *) &arg8_defvalue ;
6681 bool result;
b411df4a 6682 bool temp4 = false ;
d55e5bfc
RD
6683 wxPoint temp5 ;
6684 wxSize temp6 ;
b411df4a 6685 bool temp8 = false ;
d55e5bfc
RD
6686 PyObject * obj0 = 0 ;
6687 PyObject * obj1 = 0 ;
6688 PyObject * obj2 = 0 ;
6689 PyObject * obj3 = 0 ;
6690 PyObject * obj4 = 0 ;
6691 PyObject * obj5 = 0 ;
6692 PyObject * obj6 = 0 ;
6693 PyObject * obj7 = 0 ;
6694 char *kwnames[] = {
6695 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6696 };
6697
bfddbb17 6698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticText_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
6699 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticText, SWIG_POINTER_EXCEPTION | 0);
6700 if (SWIG_arg_fail(1)) SWIG_fail;
6701 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6702 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 6703 if (obj2) {
36ed4f51
RD
6704 {
6705 arg3 = (int)(SWIG_As_int(obj2));
6706 if (SWIG_arg_fail(3)) SWIG_fail;
6707 }
bfddbb17
RD
6708 }
6709 if (obj3) {
6710 {
6711 arg4 = wxString_in_helper(obj3);
6712 if (arg4 == NULL) SWIG_fail;
b411df4a 6713 temp4 = true;
bfddbb17 6714 }
d55e5bfc
RD
6715 }
6716 if (obj4) {
6717 {
6718 arg5 = &temp5;
6719 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6720 }
6721 }
6722 if (obj5) {
6723 {
6724 arg6 = &temp6;
6725 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6726 }
6727 }
6728 if (obj6) {
36ed4f51
RD
6729 {
6730 arg7 = (long)(SWIG_As_long(obj6));
6731 if (SWIG_arg_fail(7)) SWIG_fail;
6732 }
d55e5bfc
RD
6733 }
6734 if (obj7) {
6735 {
6736 arg8 = wxString_in_helper(obj7);
6737 if (arg8 == NULL) SWIG_fail;
b411df4a 6738 temp8 = true;
d55e5bfc
RD
6739 }
6740 }
6741 {
6742 PyThreadState* __tstate = wxPyBeginAllowThreads();
6743 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6744
6745 wxPyEndAllowThreads(__tstate);
6746 if (PyErr_Occurred()) SWIG_fail;
6747 }
6748 {
6749 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6750 }
6751 {
6752 if (temp4)
6753 delete arg4;
6754 }
6755 {
6756 if (temp8)
6757 delete arg8;
6758 }
6759 return resultobj;
6760 fail:
6761 {
6762 if (temp4)
6763 delete arg4;
6764 }
6765 {
6766 if (temp8)
6767 delete arg8;
6768 }
6769 return NULL;
6770}
6771
6772
c370783e 6773static PyObject *_wrap_StaticText_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 6774 PyObject *resultobj;
36ed4f51 6775 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
6776 wxVisualAttributes result;
6777 PyObject * obj0 = 0 ;
6778 char *kwnames[] = {
6779 (char *) "variant", NULL
6780 };
6781
6782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6783 if (obj0) {
36ed4f51
RD
6784 {
6785 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
6786 if (SWIG_arg_fail(1)) SWIG_fail;
6787 }
f20a2e1f
RD
6788 }
6789 {
0439c23b 6790 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
6791 PyThreadState* __tstate = wxPyBeginAllowThreads();
6792 result = wxStaticText::GetClassDefaultAttributes((wxWindowVariant )arg1);
6793
6794 wxPyEndAllowThreads(__tstate);
110da5b0 6795 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
6796 }
6797 {
6798 wxVisualAttributes * resultptr;
36ed4f51 6799 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
6800 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6801 }
6802 return resultobj;
6803 fail:
6804 return NULL;
6805}
6806
6807
c370783e 6808static PyObject * StaticText_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
6809 PyObject *obj;
6810 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6811 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText, obj);
6812 Py_INCREF(obj);
6813 return Py_BuildValue((char *)"");
6814}
c370783e 6815static PyObject *_wrap_new_StaticBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6816 PyObject *resultobj;
6817 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17
RD
6818 int arg2 = (int) -1 ;
6819 wxBitmap const &arg3_defvalue = wxNullBitmap ;
6820 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
d55e5bfc
RD
6821 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6822 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6823 wxSize const &arg5_defvalue = wxDefaultSize ;
6824 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6825 long arg6 = (long) 0 ;
6826 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
6827 wxString *arg7 = (wxString *) &arg7_defvalue ;
6828 wxStaticBitmap *result;
6829 wxPoint temp4 ;
6830 wxSize temp5 ;
b411df4a 6831 bool temp7 = 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 char *kwnames[] = {
6840 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6841 };
6842
bfddbb17 6843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBitmap",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
6844 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6845 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 6846 if (obj1) {
36ed4f51
RD
6847 {
6848 arg2 = (int)(SWIG_As_int(obj1));
6849 if (SWIG_arg_fail(2)) SWIG_fail;
6850 }
bfddbb17
RD
6851 }
6852 if (obj2) {
36ed4f51
RD
6853 {
6854 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6855 if (SWIG_arg_fail(3)) SWIG_fail;
6856 if (arg3 == NULL) {
6857 SWIG_null_ref("wxBitmap");
6858 }
6859 if (SWIG_arg_fail(3)) SWIG_fail;
bfddbb17 6860 }
d55e5bfc
RD
6861 }
6862 if (obj3) {
6863 {
6864 arg4 = &temp4;
6865 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6866 }
6867 }
6868 if (obj4) {
6869 {
6870 arg5 = &temp5;
6871 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6872 }
6873 }
6874 if (obj5) {
36ed4f51
RD
6875 {
6876 arg6 = (long)(SWIG_As_long(obj5));
6877 if (SWIG_arg_fail(6)) SWIG_fail;
6878 }
d55e5bfc
RD
6879 }
6880 if (obj6) {
6881 {
6882 arg7 = wxString_in_helper(obj6);
6883 if (arg7 == NULL) SWIG_fail;
b411df4a 6884 temp7 = true;
d55e5bfc
RD
6885 }
6886 }
6887 {
0439c23b 6888 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6889 PyThreadState* __tstate = wxPyBeginAllowThreads();
6890 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6891
6892 wxPyEndAllowThreads(__tstate);
110da5b0 6893 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6894 }
6895 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
6896 {
6897 if (temp7)
6898 delete arg7;
6899 }
6900 return resultobj;
6901 fail:
6902 {
6903 if (temp7)
6904 delete arg7;
6905 }
6906 return NULL;
6907}
6908
6909
c370783e 6910static PyObject *_wrap_new_PreStaticBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6911 PyObject *resultobj;
6912 wxStaticBitmap *result;
6913 char *kwnames[] = {
6914 NULL
6915 };
6916
6917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBitmap",kwnames)) goto fail;
6918 {
0439c23b 6919 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6920 PyThreadState* __tstate = wxPyBeginAllowThreads();
6921 result = (wxStaticBitmap *)new wxStaticBitmap();
6922
6923 wxPyEndAllowThreads(__tstate);
110da5b0 6924 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6925 }
6926 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
6927 return resultobj;
6928 fail:
6929 return NULL;
6930}
6931
6932
c370783e 6933static PyObject *_wrap_StaticBitmap_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6934 PyObject *resultobj;
6935 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
6936 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17
RD
6937 int arg3 = (int) -1 ;
6938 wxBitmap const &arg4_defvalue = wxNullBitmap ;
6939 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
d55e5bfc
RD
6940 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6941 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6942 wxSize const &arg6_defvalue = wxDefaultSize ;
6943 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6944 long arg7 = (long) 0 ;
6945 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
6946 wxString *arg8 = (wxString *) &arg8_defvalue ;
6947 bool result;
6948 wxPoint temp5 ;
6949 wxSize temp6 ;
b411df4a 6950 bool temp8 = false ;
d55e5bfc
RD
6951 PyObject * obj0 = 0 ;
6952 PyObject * obj1 = 0 ;
6953 PyObject * obj2 = 0 ;
6954 PyObject * obj3 = 0 ;
6955 PyObject * obj4 = 0 ;
6956 PyObject * obj5 = 0 ;
6957 PyObject * obj6 = 0 ;
6958 PyObject * obj7 = 0 ;
6959 char *kwnames[] = {
6960 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6961 };
6962
bfddbb17 6963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
6964 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
6965 if (SWIG_arg_fail(1)) SWIG_fail;
6966 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6967 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 6968 if (obj2) {
36ed4f51
RD
6969 {
6970 arg3 = (int)(SWIG_As_int(obj2));
6971 if (SWIG_arg_fail(3)) SWIG_fail;
6972 }
bfddbb17
RD
6973 }
6974 if (obj3) {
36ed4f51
RD
6975 {
6976 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6977 if (SWIG_arg_fail(4)) SWIG_fail;
6978 if (arg4 == NULL) {
6979 SWIG_null_ref("wxBitmap");
6980 }
6981 if (SWIG_arg_fail(4)) SWIG_fail;
bfddbb17 6982 }
d55e5bfc
RD
6983 }
6984 if (obj4) {
6985 {
6986 arg5 = &temp5;
6987 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6988 }
6989 }
6990 if (obj5) {
6991 {
6992 arg6 = &temp6;
6993 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6994 }
6995 }
6996 if (obj6) {
36ed4f51
RD
6997 {
6998 arg7 = (long)(SWIG_As_long(obj6));
6999 if (SWIG_arg_fail(7)) SWIG_fail;
7000 }
d55e5bfc
RD
7001 }
7002 if (obj7) {
7003 {
7004 arg8 = wxString_in_helper(obj7);
7005 if (arg8 == NULL) SWIG_fail;
b411df4a 7006 temp8 = true;
d55e5bfc
RD
7007 }
7008 }
7009 {
7010 PyThreadState* __tstate = wxPyBeginAllowThreads();
7011 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
7012
7013 wxPyEndAllowThreads(__tstate);
7014 if (PyErr_Occurred()) SWIG_fail;
7015 }
7016 {
7017 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7018 }
7019 {
7020 if (temp8)
7021 delete arg8;
7022 }
7023 return resultobj;
7024 fail:
7025 {
7026 if (temp8)
7027 delete arg8;
7028 }
7029 return NULL;
7030}
7031
7032
c370783e 7033static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7034 PyObject *resultobj;
7035 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
7036 wxBitmap result;
7037 PyObject * obj0 = 0 ;
7038 char *kwnames[] = {
7039 (char *) "self", NULL
7040 };
7041
7042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBitmap_GetBitmap",kwnames,&obj0)) goto fail;
36ed4f51
RD
7043 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
7044 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7045 {
7046 PyThreadState* __tstate = wxPyBeginAllowThreads();
7047 result = (arg1)->GetBitmap();
7048
7049 wxPyEndAllowThreads(__tstate);
7050 if (PyErr_Occurred()) SWIG_fail;
7051 }
7052 {
7053 wxBitmap * resultptr;
36ed4f51 7054 resultptr = new wxBitmap((wxBitmap &)(result));
d55e5bfc
RD
7055 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
7056 }
7057 return resultobj;
7058 fail:
7059 return NULL;
7060}
7061
7062
c370783e 7063static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7064 PyObject *resultobj;
7065 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
7066 wxBitmap *arg2 = 0 ;
7067 PyObject * obj0 = 0 ;
7068 PyObject * obj1 = 0 ;
7069 char *kwnames[] = {
7070 (char *) "self",(char *) "bitmap", NULL
7071 };
7072
7073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7074 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
7075 if (SWIG_arg_fail(1)) SWIG_fail;
7076 {
7077 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
7078 if (SWIG_arg_fail(2)) SWIG_fail;
7079 if (arg2 == NULL) {
7080 SWIG_null_ref("wxBitmap");
7081 }
7082 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
7083 }
7084 {
7085 PyThreadState* __tstate = wxPyBeginAllowThreads();
7086 (arg1)->SetBitmap((wxBitmap const &)*arg2);
7087
7088 wxPyEndAllowThreads(__tstate);
7089 if (PyErr_Occurred()) SWIG_fail;
7090 }
7091 Py_INCREF(Py_None); resultobj = Py_None;
7092 return resultobj;
7093 fail:
7094 return NULL;
7095}
7096
7097
c370783e 7098static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7099 PyObject *resultobj;
7100 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
7101 wxIcon *arg2 = 0 ;
7102 PyObject * obj0 = 0 ;
7103 PyObject * obj1 = 0 ;
7104 char *kwnames[] = {
7105 (char *) "self",(char *) "icon", NULL
7106 };
7107
7108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7109 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
7110 if (SWIG_arg_fail(1)) SWIG_fail;
7111 {
7112 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
7113 if (SWIG_arg_fail(2)) SWIG_fail;
7114 if (arg2 == NULL) {
7115 SWIG_null_ref("wxIcon");
7116 }
7117 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
7118 }
7119 {
7120 PyThreadState* __tstate = wxPyBeginAllowThreads();
7121 (arg1)->SetIcon((wxIcon const &)*arg2);
7122
7123 wxPyEndAllowThreads(__tstate);
7124 if (PyErr_Occurred()) SWIG_fail;
7125 }
7126 Py_INCREF(Py_None); resultobj = Py_None;
7127 return resultobj;
7128 fail:
7129 return NULL;
7130}
7131
7132
c370783e 7133static PyObject *_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 7134 PyObject *resultobj;
36ed4f51 7135 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
7136 wxVisualAttributes result;
7137 PyObject * obj0 = 0 ;
7138 char *kwnames[] = {
7139 (char *) "variant", NULL
7140 };
7141
7142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
7143 if (obj0) {
36ed4f51
RD
7144 {
7145 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
7146 if (SWIG_arg_fail(1)) SWIG_fail;
7147 }
f20a2e1f
RD
7148 }
7149 {
0439c23b 7150 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
7151 PyThreadState* __tstate = wxPyBeginAllowThreads();
7152 result = wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant )arg1);
7153
7154 wxPyEndAllowThreads(__tstate);
110da5b0 7155 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
7156 }
7157 {
7158 wxVisualAttributes * resultptr;
36ed4f51 7159 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
7160 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
7161 }
7162 return resultobj;
7163 fail:
7164 return NULL;
7165}
7166
7167
c370783e 7168static PyObject * StaticBitmap_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
7169 PyObject *obj;
7170 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7171 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap, obj);
7172 Py_INCREF(obj);
7173 return Py_BuildValue((char *)"");
7174}
c370783e 7175static int _wrap_ListBoxNameStr_set(PyObject *) {
d55e5bfc
RD
7176 PyErr_SetString(PyExc_TypeError,"Variable ListBoxNameStr is read-only.");
7177 return 1;
7178}
7179
7180
36ed4f51 7181static PyObject *_wrap_ListBoxNameStr_get(void) {
d55e5bfc
RD
7182 PyObject *pyobj;
7183
7184 {
7185#if wxUSE_UNICODE
7186 pyobj = PyUnicode_FromWideChar((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
7187#else
7188 pyobj = PyString_FromStringAndSize((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
7189#endif
7190 }
7191 return pyobj;
7192}
7193
7194
c370783e 7195static PyObject *_wrap_new_ListBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7196 PyObject *resultobj;
7197 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17 7198 int arg2 = (int) -1 ;
d55e5bfc
RD
7199 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7200 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7201 wxSize const &arg4_defvalue = wxDefaultSize ;
7202 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7203 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
7204 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
7205 long arg6 = (long) 0 ;
7206 wxValidator const &arg7_defvalue = wxDefaultValidator ;
7207 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
7208 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
7209 wxString *arg8 = (wxString *) &arg8_defvalue ;
7210 wxListBox *result;
7211 wxPoint temp3 ;
7212 wxSize temp4 ;
b411df4a
RD
7213 bool temp5 = false ;
7214 bool temp8 = false ;
d55e5bfc
RD
7215 PyObject * obj0 = 0 ;
7216 PyObject * obj1 = 0 ;
7217 PyObject * obj2 = 0 ;
7218 PyObject * obj3 = 0 ;
7219 PyObject * obj4 = 0 ;
7220 PyObject * obj5 = 0 ;
7221 PyObject * obj6 = 0 ;
7222 PyObject * obj7 = 0 ;
7223 char *kwnames[] = {
7224 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7225 };
7226
bfddbb17 7227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
7228 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7229 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 7230 if (obj1) {
36ed4f51
RD
7231 {
7232 arg2 = (int)(SWIG_As_int(obj1));
7233 if (SWIG_arg_fail(2)) SWIG_fail;
7234 }
bfddbb17 7235 }
d55e5bfc
RD
7236 if (obj2) {
7237 {
7238 arg3 = &temp3;
7239 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7240 }
7241 }
7242 if (obj3) {
7243 {
7244 arg4 = &temp4;
7245 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7246 }
7247 }
7248 if (obj4) {
7249 {
7250 if (! PySequence_Check(obj4)) {
7251 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7252 SWIG_fail;
7253 }
7254 arg5 = new wxArrayString;
b411df4a 7255 temp5 = true;
d55e5bfc
RD
7256 int i, len=PySequence_Length(obj4);
7257 for (i=0; i<len; i++) {
7258 PyObject* item = PySequence_GetItem(obj4, i);
7259#if wxUSE_UNICODE
7260 PyObject* str = PyObject_Unicode(item);
7261#else
7262 PyObject* str = PyObject_Str(item);
7263#endif
7264 if (PyErr_Occurred()) SWIG_fail;
7265 arg5->Add(Py2wxString(str));
7266 Py_DECREF(item);
7267 Py_DECREF(str);
7268 }
7269 }
7270 }
7271 if (obj5) {
36ed4f51
RD
7272 {
7273 arg6 = (long)(SWIG_As_long(obj5));
7274 if (SWIG_arg_fail(6)) SWIG_fail;
7275 }
d55e5bfc
RD
7276 }
7277 if (obj6) {
36ed4f51
RD
7278 {
7279 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
7280 if (SWIG_arg_fail(7)) SWIG_fail;
7281 if (arg7 == NULL) {
7282 SWIG_null_ref("wxValidator");
7283 }
7284 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
7285 }
7286 }
7287 if (obj7) {
7288 {
7289 arg8 = wxString_in_helper(obj7);
7290 if (arg8 == NULL) SWIG_fail;
b411df4a 7291 temp8 = true;
d55e5bfc
RD
7292 }
7293 }
7294 {
0439c23b 7295 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
7296 PyThreadState* __tstate = wxPyBeginAllowThreads();
7297 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
7298
7299 wxPyEndAllowThreads(__tstate);
110da5b0 7300 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
7301 }
7302 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
7303 {
7304 if (temp5) delete arg5;
7305 }
7306 {
7307 if (temp8)
7308 delete arg8;
7309 }
7310 return resultobj;
7311 fail:
7312 {
7313 if (temp5) delete arg5;
7314 }
7315 {
7316 if (temp8)
7317 delete arg8;
7318 }
7319 return NULL;
7320}
7321
7322
c370783e 7323static PyObject *_wrap_new_PreListBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7324 PyObject *resultobj;
7325 wxListBox *result;
7326 char *kwnames[] = {
7327 NULL
7328 };
7329
7330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListBox",kwnames)) goto fail;
7331 {
0439c23b 7332 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
7333 PyThreadState* __tstate = wxPyBeginAllowThreads();
7334 result = (wxListBox *)new wxListBox();
7335
7336 wxPyEndAllowThreads(__tstate);
110da5b0 7337 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
7338 }
7339 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
7340 return resultobj;
7341 fail:
7342 return NULL;
7343}
7344
7345
c370783e 7346static PyObject *_wrap_ListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7347 PyObject *resultobj;
7348 wxListBox *arg1 = (wxListBox *) 0 ;
7349 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17 7350 int arg3 = (int) -1 ;
d55e5bfc
RD
7351 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7352 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7353 wxSize const &arg5_defvalue = wxDefaultSize ;
7354 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7355 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
7356 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
7357 long arg7 = (long) 0 ;
7358 wxValidator const &arg8_defvalue = wxDefaultValidator ;
7359 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
7360 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
7361 wxString *arg9 = (wxString *) &arg9_defvalue ;
7362 bool result;
7363 wxPoint temp4 ;
7364 wxSize temp5 ;
b411df4a
RD
7365 bool temp6 = false ;
7366 bool temp9 = false ;
d55e5bfc
RD
7367 PyObject * obj0 = 0 ;
7368 PyObject * obj1 = 0 ;
7369 PyObject * obj2 = 0 ;
7370 PyObject * obj3 = 0 ;
7371 PyObject * obj4 = 0 ;
7372 PyObject * obj5 = 0 ;
7373 PyObject * obj6 = 0 ;
7374 PyObject * obj7 = 0 ;
7375 PyObject * obj8 = 0 ;
7376 char *kwnames[] = {
7377 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7378 };
7379
bfddbb17 7380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
36ed4f51
RD
7381 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7382 if (SWIG_arg_fail(1)) SWIG_fail;
7383 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7384 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 7385 if (obj2) {
36ed4f51
RD
7386 {
7387 arg3 = (int)(SWIG_As_int(obj2));
7388 if (SWIG_arg_fail(3)) SWIG_fail;
7389 }
bfddbb17 7390 }
d55e5bfc
RD
7391 if (obj3) {
7392 {
7393 arg4 = &temp4;
7394 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7395 }
7396 }
7397 if (obj4) {
7398 {
7399 arg5 = &temp5;
7400 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7401 }
7402 }
7403 if (obj5) {
7404 {
7405 if (! PySequence_Check(obj5)) {
7406 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7407 SWIG_fail;
7408 }
7409 arg6 = new wxArrayString;
b411df4a 7410 temp6 = true;
d55e5bfc
RD
7411 int i, len=PySequence_Length(obj5);
7412 for (i=0; i<len; i++) {
7413 PyObject* item = PySequence_GetItem(obj5, i);
7414#if wxUSE_UNICODE
7415 PyObject* str = PyObject_Unicode(item);
7416#else
7417 PyObject* str = PyObject_Str(item);
7418#endif
7419 if (PyErr_Occurred()) SWIG_fail;
7420 arg6->Add(Py2wxString(str));
7421 Py_DECREF(item);
7422 Py_DECREF(str);
7423 }
7424 }
7425 }
7426 if (obj6) {
36ed4f51
RD
7427 {
7428 arg7 = (long)(SWIG_As_long(obj6));
7429 if (SWIG_arg_fail(7)) SWIG_fail;
7430 }
d55e5bfc
RD
7431 }
7432 if (obj7) {
36ed4f51
RD
7433 {
7434 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
7435 if (SWIG_arg_fail(8)) SWIG_fail;
7436 if (arg8 == NULL) {
7437 SWIG_null_ref("wxValidator");
7438 }
7439 if (SWIG_arg_fail(8)) SWIG_fail;
d55e5bfc
RD
7440 }
7441 }
7442 if (obj8) {
7443 {
7444 arg9 = wxString_in_helper(obj8);
7445 if (arg9 == NULL) SWIG_fail;
b411df4a 7446 temp9 = true;
d55e5bfc
RD
7447 }
7448 }
7449 {
7450 PyThreadState* __tstate = wxPyBeginAllowThreads();
7451 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
7452
7453 wxPyEndAllowThreads(__tstate);
7454 if (PyErr_Occurred()) SWIG_fail;
7455 }
7456 {
7457 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7458 }
7459 {
7460 if (temp6) delete arg6;
7461 }
7462 {
7463 if (temp9)
7464 delete arg9;
7465 }
7466 return resultobj;
7467 fail:
7468 {
7469 if (temp6) delete arg6;
7470 }
7471 {
7472 if (temp9)
7473 delete arg9;
7474 }
7475 return NULL;
7476}
7477
7478
c370783e 7479static PyObject *_wrap_ListBox_Insert(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7480 PyObject *resultobj;
7481 wxListBox *arg1 = (wxListBox *) 0 ;
7482 wxString *arg2 = 0 ;
7483 int arg3 ;
7484 PyObject *arg4 = (PyObject *) NULL ;
b411df4a 7485 bool temp2 = false ;
d55e5bfc
RD
7486 PyObject * obj0 = 0 ;
7487 PyObject * obj1 = 0 ;
7488 PyObject * obj2 = 0 ;
7489 PyObject * obj3 = 0 ;
7490 char *kwnames[] = {
7491 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
7492 };
7493
7494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListBox_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
7495 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7496 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7497 {
7498 arg2 = wxString_in_helper(obj1);
7499 if (arg2 == NULL) SWIG_fail;
b411df4a 7500 temp2 = true;
d55e5bfc 7501 }
36ed4f51
RD
7502 {
7503 arg3 = (int)(SWIG_As_int(obj2));
7504 if (SWIG_arg_fail(3)) SWIG_fail;
7505 }
d55e5bfc
RD
7506 if (obj3) {
7507 arg4 = obj3;
7508 }
7509 {
7510 PyThreadState* __tstate = wxPyBeginAllowThreads();
7511 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
7512
7513 wxPyEndAllowThreads(__tstate);
7514 if (PyErr_Occurred()) SWIG_fail;
7515 }
7516 Py_INCREF(Py_None); resultobj = Py_None;
7517 {
7518 if (temp2)
7519 delete arg2;
7520 }
7521 return resultobj;
7522 fail:
7523 {
7524 if (temp2)
7525 delete arg2;
7526 }
7527 return NULL;
7528}
7529
7530
c370783e 7531static PyObject *_wrap_ListBox_InsertItems(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7532 PyObject *resultobj;
7533 wxListBox *arg1 = (wxListBox *) 0 ;
7534 wxArrayString *arg2 = 0 ;
7535 int arg3 ;
b411df4a 7536 bool temp2 = false ;
d55e5bfc
RD
7537 PyObject * obj0 = 0 ;
7538 PyObject * obj1 = 0 ;
7539 PyObject * obj2 = 0 ;
7540 char *kwnames[] = {
7541 (char *) "self",(char *) "items",(char *) "pos", NULL
7542 };
7543
7544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_InsertItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
7545 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7546 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7547 {
7548 if (! PySequence_Check(obj1)) {
7549 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7550 SWIG_fail;
7551 }
7552 arg2 = new wxArrayString;
b411df4a 7553 temp2 = true;
d55e5bfc
RD
7554 int i, len=PySequence_Length(obj1);
7555 for (i=0; i<len; i++) {
7556 PyObject* item = PySequence_GetItem(obj1, i);
7557#if wxUSE_UNICODE
7558 PyObject* str = PyObject_Unicode(item);
7559#else
7560 PyObject* str = PyObject_Str(item);
7561#endif
7562 if (PyErr_Occurred()) SWIG_fail;
7563 arg2->Add(Py2wxString(str));
7564 Py_DECREF(item);
7565 Py_DECREF(str);
7566 }
7567 }
36ed4f51
RD
7568 {
7569 arg3 = (int)(SWIG_As_int(obj2));
7570 if (SWIG_arg_fail(3)) SWIG_fail;
7571 }
d55e5bfc
RD
7572 {
7573 PyThreadState* __tstate = wxPyBeginAllowThreads();
7574 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
7575
7576 wxPyEndAllowThreads(__tstate);
7577 if (PyErr_Occurred()) SWIG_fail;
7578 }
7579 Py_INCREF(Py_None); resultobj = Py_None;
7580 {
7581 if (temp2) delete arg2;
7582 }
7583 return resultobj;
7584 fail:
7585 {
7586 if (temp2) delete arg2;
7587 }
7588 return NULL;
7589}
7590
7591
c370783e 7592static PyObject *_wrap_ListBox_Set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7593 PyObject *resultobj;
7594 wxListBox *arg1 = (wxListBox *) 0 ;
7595 wxArrayString *arg2 = 0 ;
b411df4a 7596 bool temp2 = false ;
d55e5bfc
RD
7597 PyObject * obj0 = 0 ;
7598 PyObject * obj1 = 0 ;
7599 char *kwnames[] = {
7600 (char *) "self",(char *) "items", NULL
7601 };
7602
7603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7604 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7605 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7606 {
7607 if (! PySequence_Check(obj1)) {
7608 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7609 SWIG_fail;
7610 }
7611 arg2 = new wxArrayString;
b411df4a 7612 temp2 = true;
d55e5bfc
RD
7613 int i, len=PySequence_Length(obj1);
7614 for (i=0; i<len; i++) {
7615 PyObject* item = PySequence_GetItem(obj1, i);
7616#if wxUSE_UNICODE
7617 PyObject* str = PyObject_Unicode(item);
7618#else
7619 PyObject* str = PyObject_Str(item);
7620#endif
7621 if (PyErr_Occurred()) SWIG_fail;
7622 arg2->Add(Py2wxString(str));
7623 Py_DECREF(item);
7624 Py_DECREF(str);
7625 }
7626 }
7627 {
7628 PyThreadState* __tstate = wxPyBeginAllowThreads();
7629 (arg1)->Set((wxArrayString const &)*arg2);
7630
7631 wxPyEndAllowThreads(__tstate);
7632 if (PyErr_Occurred()) SWIG_fail;
7633 }
7634 Py_INCREF(Py_None); resultobj = Py_None;
7635 {
7636 if (temp2) delete arg2;
7637 }
7638 return resultobj;
7639 fail:
7640 {
7641 if (temp2) delete arg2;
7642 }
7643 return NULL;
7644}
7645
7646
c370783e 7647static PyObject *_wrap_ListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7648 PyObject *resultobj;
7649 wxListBox *arg1 = (wxListBox *) 0 ;
7650 int arg2 ;
7651 bool result;
7652 PyObject * obj0 = 0 ;
7653 PyObject * obj1 = 0 ;
7654 char *kwnames[] = {
7655 (char *) "self",(char *) "n", NULL
7656 };
7657
7658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7659 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7660 if (SWIG_arg_fail(1)) SWIG_fail;
7661 {
7662 arg2 = (int)(SWIG_As_int(obj1));
7663 if (SWIG_arg_fail(2)) SWIG_fail;
7664 }
d55e5bfc
RD
7665 {
7666 PyThreadState* __tstate = wxPyBeginAllowThreads();
7667 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
7668
7669 wxPyEndAllowThreads(__tstate);
7670 if (PyErr_Occurred()) SWIG_fail;
7671 }
7672 {
7673 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7674 }
7675 return resultobj;
7676 fail:
7677 return NULL;
7678}
7679
7680
c370783e 7681static PyObject *_wrap_ListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7682 PyObject *resultobj;
7683 wxListBox *arg1 = (wxListBox *) 0 ;
7684 int arg2 ;
b411df4a 7685 bool arg3 = (bool) true ;
d55e5bfc
RD
7686 PyObject * obj0 = 0 ;
7687 PyObject * obj1 = 0 ;
7688 PyObject * obj2 = 0 ;
7689 char *kwnames[] = {
7690 (char *) "self",(char *) "n",(char *) "select", NULL
7691 };
7692
7693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
7694 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7695 if (SWIG_arg_fail(1)) SWIG_fail;
7696 {
7697 arg2 = (int)(SWIG_As_int(obj1));
7698 if (SWIG_arg_fail(2)) SWIG_fail;
7699 }
d55e5bfc 7700 if (obj2) {
36ed4f51
RD
7701 {
7702 arg3 = (bool)(SWIG_As_bool(obj2));
7703 if (SWIG_arg_fail(3)) SWIG_fail;
7704 }
d55e5bfc
RD
7705 }
7706 {
7707 PyThreadState* __tstate = wxPyBeginAllowThreads();
7708 (arg1)->SetSelection(arg2,arg3);
7709
7710 wxPyEndAllowThreads(__tstate);
7711 if (PyErr_Occurred()) SWIG_fail;
7712 }
7713 Py_INCREF(Py_None); resultobj = Py_None;
7714 return resultobj;
7715 fail:
7716 return NULL;
7717}
7718
7719
c370783e 7720static PyObject *_wrap_ListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7721 PyObject *resultobj;
7722 wxListBox *arg1 = (wxListBox *) 0 ;
7723 int arg2 ;
7724 PyObject * obj0 = 0 ;
7725 PyObject * obj1 = 0 ;
7726 char *kwnames[] = {
7727 (char *) "self",(char *) "n", NULL
7728 };
7729
7730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Select",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7731 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7732 if (SWIG_arg_fail(1)) SWIG_fail;
7733 {
7734 arg2 = (int)(SWIG_As_int(obj1));
7735 if (SWIG_arg_fail(2)) SWIG_fail;
7736 }
d55e5bfc
RD
7737 {
7738 PyThreadState* __tstate = wxPyBeginAllowThreads();
7739 (arg1)->Select(arg2);
7740
7741 wxPyEndAllowThreads(__tstate);
7742 if (PyErr_Occurred()) SWIG_fail;
7743 }
7744 Py_INCREF(Py_None); resultobj = Py_None;
7745 return resultobj;
7746 fail:
7747 return NULL;
7748}
7749
7750
c370783e 7751static PyObject *_wrap_ListBox_Deselect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7752 PyObject *resultobj;
7753 wxListBox *arg1 = (wxListBox *) 0 ;
7754 int arg2 ;
7755 PyObject * obj0 = 0 ;
7756 PyObject * obj1 = 0 ;
7757 char *kwnames[] = {
7758 (char *) "self",(char *) "n", NULL
7759 };
7760
7761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Deselect",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7762 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7763 if (SWIG_arg_fail(1)) SWIG_fail;
7764 {
7765 arg2 = (int)(SWIG_As_int(obj1));
7766 if (SWIG_arg_fail(2)) SWIG_fail;
7767 }
d55e5bfc
RD
7768 {
7769 PyThreadState* __tstate = wxPyBeginAllowThreads();
7770 (arg1)->Deselect(arg2);
7771
7772 wxPyEndAllowThreads(__tstate);
7773 if (PyErr_Occurred()) SWIG_fail;
7774 }
7775 Py_INCREF(Py_None); resultobj = Py_None;
7776 return resultobj;
7777 fail:
7778 return NULL;
7779}
7780
7781
c370783e 7782static PyObject *_wrap_ListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7783 PyObject *resultobj;
7784 wxListBox *arg1 = (wxListBox *) 0 ;
7785 int arg2 = (int) -1 ;
7786 PyObject * obj0 = 0 ;
7787 PyObject * obj1 = 0 ;
7788 char *kwnames[] = {
7789 (char *) "self",(char *) "itemToLeaveSelected", NULL
7790 };
7791
7792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListBox_DeselectAll",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7793 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7794 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 7795 if (obj1) {
36ed4f51
RD
7796 {
7797 arg2 = (int)(SWIG_As_int(obj1));
7798 if (SWIG_arg_fail(2)) SWIG_fail;
7799 }
d55e5bfc
RD
7800 }
7801 {
7802 PyThreadState* __tstate = wxPyBeginAllowThreads();
7803 (arg1)->DeselectAll(arg2);
7804
7805 wxPyEndAllowThreads(__tstate);
7806 if (PyErr_Occurred()) SWIG_fail;
7807 }
7808 Py_INCREF(Py_None); resultobj = Py_None;
7809 return resultobj;
7810 fail:
7811 return NULL;
7812}
7813
7814
c370783e 7815static PyObject *_wrap_ListBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7816 PyObject *resultobj;
7817 wxListBox *arg1 = (wxListBox *) 0 ;
7818 wxString *arg2 = 0 ;
b411df4a 7819 bool arg3 = (bool) true ;
d55e5bfc 7820 bool result;
b411df4a 7821 bool temp2 = false ;
d55e5bfc
RD
7822 PyObject * obj0 = 0 ;
7823 PyObject * obj1 = 0 ;
7824 PyObject * obj2 = 0 ;
7825 char *kwnames[] = {
7826 (char *) "self",(char *) "s",(char *) "select", NULL
7827 };
7828
7829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
7830 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7831 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7832 {
7833 arg2 = wxString_in_helper(obj1);
7834 if (arg2 == NULL) SWIG_fail;
b411df4a 7835 temp2 = true;
d55e5bfc
RD
7836 }
7837 if (obj2) {
36ed4f51
RD
7838 {
7839 arg3 = (bool)(SWIG_As_bool(obj2));
7840 if (SWIG_arg_fail(3)) SWIG_fail;
7841 }
d55e5bfc
RD
7842 }
7843 {
7844 PyThreadState* __tstate = wxPyBeginAllowThreads();
7845 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
7846
7847 wxPyEndAllowThreads(__tstate);
7848 if (PyErr_Occurred()) SWIG_fail;
7849 }
7850 {
7851 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7852 }
7853 {
7854 if (temp2)
7855 delete arg2;
7856 }
7857 return resultobj;
7858 fail:
7859 {
7860 if (temp2)
7861 delete arg2;
7862 }
7863 return NULL;
7864}
7865
7866
c370783e 7867static PyObject *_wrap_ListBox_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7868 PyObject *resultobj;
7869 wxListBox *arg1 = (wxListBox *) 0 ;
7870 PyObject *result;
7871 PyObject * obj0 = 0 ;
7872 char *kwnames[] = {
7873 (char *) "self", NULL
7874 };
7875
7876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_GetSelections",kwnames,&obj0)) goto fail;
36ed4f51
RD
7877 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7878 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7879 {
7880 PyThreadState* __tstate = wxPyBeginAllowThreads();
7881 result = (PyObject *)wxListBox_GetSelections(arg1);
7882
7883 wxPyEndAllowThreads(__tstate);
7884 if (PyErr_Occurred()) SWIG_fail;
7885 }
7886 resultobj = result;
7887 return resultobj;
7888 fail:
7889 return NULL;
7890}
7891
7892
c370783e 7893static PyObject *_wrap_ListBox_SetFirstItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7894 PyObject *resultobj;
7895 wxListBox *arg1 = (wxListBox *) 0 ;
7896 int arg2 ;
7897 PyObject * obj0 = 0 ;
7898 PyObject * obj1 = 0 ;
7899 char *kwnames[] = {
7900 (char *) "self",(char *) "n", NULL
7901 };
7902
7903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItem",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7904 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7905 if (SWIG_arg_fail(1)) SWIG_fail;
7906 {
7907 arg2 = (int)(SWIG_As_int(obj1));
7908 if (SWIG_arg_fail(2)) SWIG_fail;
7909 }
d55e5bfc
RD
7910 {
7911 PyThreadState* __tstate = wxPyBeginAllowThreads();
7912 (arg1)->SetFirstItem(arg2);
7913
7914 wxPyEndAllowThreads(__tstate);
7915 if (PyErr_Occurred()) SWIG_fail;
7916 }
7917 Py_INCREF(Py_None); resultobj = Py_None;
7918 return resultobj;
7919 fail:
7920 return NULL;
7921}
7922
7923
c370783e 7924static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7925 PyObject *resultobj;
7926 wxListBox *arg1 = (wxListBox *) 0 ;
7927 wxString *arg2 = 0 ;
b411df4a 7928 bool temp2 = false ;
d55e5bfc
RD
7929 PyObject * obj0 = 0 ;
7930 PyObject * obj1 = 0 ;
7931 char *kwnames[] = {
7932 (char *) "self",(char *) "s", NULL
7933 };
7934
7935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7936 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7937 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7938 {
7939 arg2 = wxString_in_helper(obj1);
7940 if (arg2 == NULL) SWIG_fail;
b411df4a 7941 temp2 = true;
d55e5bfc
RD
7942 }
7943 {
7944 PyThreadState* __tstate = wxPyBeginAllowThreads();
7945 (arg1)->SetFirstItem((wxString const &)*arg2);
7946
7947 wxPyEndAllowThreads(__tstate);
7948 if (PyErr_Occurred()) SWIG_fail;
7949 }
7950 Py_INCREF(Py_None); resultobj = Py_None;
7951 {
7952 if (temp2)
7953 delete arg2;
7954 }
7955 return resultobj;
7956 fail:
7957 {
7958 if (temp2)
7959 delete arg2;
7960 }
7961 return NULL;
7962}
7963
7964
c370783e 7965static PyObject *_wrap_ListBox_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7966 PyObject *resultobj;
7967 wxListBox *arg1 = (wxListBox *) 0 ;
7968 int arg2 ;
7969 PyObject * obj0 = 0 ;
7970 PyObject * obj1 = 0 ;
7971 char *kwnames[] = {
7972 (char *) "self",(char *) "n", NULL
7973 };
7974
7975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7976 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7977 if (SWIG_arg_fail(1)) SWIG_fail;
7978 {
7979 arg2 = (int)(SWIG_As_int(obj1));
7980 if (SWIG_arg_fail(2)) SWIG_fail;
7981 }
d55e5bfc
RD
7982 {
7983 PyThreadState* __tstate = wxPyBeginAllowThreads();
7984 (arg1)->EnsureVisible(arg2);
7985
7986 wxPyEndAllowThreads(__tstate);
7987 if (PyErr_Occurred()) SWIG_fail;
7988 }
7989 Py_INCREF(Py_None); resultobj = Py_None;
7990 return resultobj;
7991 fail:
7992 return NULL;
7993}
7994
7995
c370783e 7996static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7997 PyObject *resultobj;
7998 wxListBox *arg1 = (wxListBox *) 0 ;
7999 wxString *arg2 = 0 ;
b411df4a 8000 bool temp2 = false ;
d55e5bfc
RD
8001 PyObject * obj0 = 0 ;
8002 PyObject * obj1 = 0 ;
8003 char *kwnames[] = {
8004 (char *) "self",(char *) "s", NULL
8005 };
8006
8007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8008 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8009 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8010 {
8011 arg2 = wxString_in_helper(obj1);
8012 if (arg2 == NULL) SWIG_fail;
b411df4a 8013 temp2 = true;
d55e5bfc
RD
8014 }
8015 {
8016 PyThreadState* __tstate = wxPyBeginAllowThreads();
8017 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
8018
8019 wxPyEndAllowThreads(__tstate);
8020 if (PyErr_Occurred()) SWIG_fail;
8021 }
8022 Py_INCREF(Py_None); resultobj = Py_None;
8023 {
8024 if (temp2)
8025 delete arg2;
8026 }
8027 return resultobj;
8028 fail:
8029 {
8030 if (temp2)
8031 delete arg2;
8032 }
8033 return NULL;
8034}
8035
8036
c370783e 8037static PyObject *_wrap_ListBox_IsSorted(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8038 PyObject *resultobj;
8039 wxListBox *arg1 = (wxListBox *) 0 ;
8040 bool result;
8041 PyObject * obj0 = 0 ;
8042 char *kwnames[] = {
8043 (char *) "self", NULL
8044 };
8045
8046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_IsSorted",kwnames,&obj0)) goto fail;
36ed4f51
RD
8047 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8048 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8049 {
8050 PyThreadState* __tstate = wxPyBeginAllowThreads();
8051 result = (bool)((wxListBox const *)arg1)->IsSorted();
8052
8053 wxPyEndAllowThreads(__tstate);
8054 if (PyErr_Occurred()) SWIG_fail;
8055 }
8056 {
8057 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8058 }
8059 return resultobj;
8060 fail:
8061 return NULL;
8062}
8063
8064
c370783e 8065static PyObject *_wrap_ListBox_SetItemForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8066 PyObject *resultobj;
8067 wxListBox *arg1 = (wxListBox *) 0 ;
8068 int arg2 ;
8069 wxColour *arg3 = 0 ;
8070 wxColour temp3 ;
8071 PyObject * obj0 = 0 ;
8072 PyObject * obj1 = 0 ;
8073 PyObject * obj2 = 0 ;
8074 char *kwnames[] = {
8075 (char *) "self",(char *) "item",(char *) "c", NULL
8076 };
8077
8078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
8079 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8080 if (SWIG_arg_fail(1)) SWIG_fail;
8081 {
8082 arg2 = (int)(SWIG_As_int(obj1));
8083 if (SWIG_arg_fail(2)) SWIG_fail;
8084 }
d55e5bfc
RD
8085 {
8086 arg3 = &temp3;
8087 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
8088 }
8089 {
8090 PyThreadState* __tstate = wxPyBeginAllowThreads();
8091 wxListBox_SetItemForegroundColour(arg1,arg2,(wxColour const &)*arg3);
8092
8093 wxPyEndAllowThreads(__tstate);
8094 if (PyErr_Occurred()) SWIG_fail;
8095 }
8096 Py_INCREF(Py_None); resultobj = Py_None;
8097 return resultobj;
8098 fail:
8099 return NULL;
8100}
8101
8102
c370783e 8103static PyObject *_wrap_ListBox_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8104 PyObject *resultobj;
8105 wxListBox *arg1 = (wxListBox *) 0 ;
8106 int arg2 ;
8107 wxColour *arg3 = 0 ;
8108 wxColour temp3 ;
8109 PyObject * obj0 = 0 ;
8110 PyObject * obj1 = 0 ;
8111 PyObject * obj2 = 0 ;
8112 char *kwnames[] = {
8113 (char *) "self",(char *) "item",(char *) "c", NULL
8114 };
8115
8116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
8117 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8118 if (SWIG_arg_fail(1)) SWIG_fail;
8119 {
8120 arg2 = (int)(SWIG_As_int(obj1));
8121 if (SWIG_arg_fail(2)) SWIG_fail;
8122 }
d55e5bfc
RD
8123 {
8124 arg3 = &temp3;
8125 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
8126 }
8127 {
8128 PyThreadState* __tstate = wxPyBeginAllowThreads();
8129 wxListBox_SetItemBackgroundColour(arg1,arg2,(wxColour const &)*arg3);
8130
8131 wxPyEndAllowThreads(__tstate);
8132 if (PyErr_Occurred()) SWIG_fail;
8133 }
8134 Py_INCREF(Py_None); resultobj = Py_None;
8135 return resultobj;
8136 fail:
8137 return NULL;
8138}
8139
8140
c370783e 8141static PyObject *_wrap_ListBox_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8142 PyObject *resultobj;
8143 wxListBox *arg1 = (wxListBox *) 0 ;
8144 int arg2 ;
8145 wxFont *arg3 = 0 ;
8146 PyObject * obj0 = 0 ;
8147 PyObject * obj1 = 0 ;
8148 PyObject * obj2 = 0 ;
8149 char *kwnames[] = {
8150 (char *) "self",(char *) "item",(char *) "f", NULL
8151 };
8152
8153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
8154 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8155 if (SWIG_arg_fail(1)) SWIG_fail;
8156 {
8157 arg2 = (int)(SWIG_As_int(obj1));
8158 if (SWIG_arg_fail(2)) SWIG_fail;
8159 }
8160 {
8161 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
8162 if (SWIG_arg_fail(3)) SWIG_fail;
8163 if (arg3 == NULL) {
8164 SWIG_null_ref("wxFont");
8165 }
8166 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
8167 }
8168 {
8169 PyThreadState* __tstate = wxPyBeginAllowThreads();
8170 wxListBox_SetItemFont(arg1,arg2,(wxFont const &)*arg3);
8171
8172 wxPyEndAllowThreads(__tstate);
8173 if (PyErr_Occurred()) SWIG_fail;
8174 }
8175 Py_INCREF(Py_None); resultobj = Py_None;
8176 return resultobj;
8177 fail:
8178 return NULL;
8179}
8180
8181
c370783e 8182static PyObject *_wrap_ListBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 8183 PyObject *resultobj;
36ed4f51 8184 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
d55e5bfc
RD
8185 wxVisualAttributes result;
8186 PyObject * obj0 = 0 ;
8187 char *kwnames[] = {
8188 (char *) "variant", NULL
8189 };
8190
8191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
8192 if (obj0) {
36ed4f51
RD
8193 {
8194 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
8195 if (SWIG_arg_fail(1)) SWIG_fail;
8196 }
d55e5bfc
RD
8197 }
8198 {
0439c23b 8199 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
8200 PyThreadState* __tstate = wxPyBeginAllowThreads();
8201 result = wxListBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
8202
8203 wxPyEndAllowThreads(__tstate);
110da5b0 8204 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
8205 }
8206 {
8207 wxVisualAttributes * resultptr;
36ed4f51 8208 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
d55e5bfc
RD
8209 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
8210 }
8211 return resultobj;
8212 fail:
8213 return NULL;
8214}
8215
8216
c370783e 8217static PyObject * ListBox_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
8218 PyObject *obj;
8219 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8220 SWIG_TypeClientData(SWIGTYPE_p_wxListBox, obj);
8221 Py_INCREF(obj);
8222 return Py_BuildValue((char *)"");
8223}
c370783e 8224static PyObject *_wrap_new_CheckListBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8225 PyObject *resultobj;
8226 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17 8227 int arg2 = (int) -1 ;
d55e5bfc
RD
8228 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8229 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8230 wxSize const &arg4_defvalue = wxDefaultSize ;
8231 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8232 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
8233 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
8234 long arg6 = (long) 0 ;
8235 wxValidator const &arg7_defvalue = wxDefaultValidator ;
8236 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
8237 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
8238 wxString *arg8 = (wxString *) &arg8_defvalue ;
8239 wxCheckListBox *result;
8240 wxPoint temp3 ;
8241 wxSize temp4 ;
b411df4a
RD
8242 bool temp5 = false ;
8243 bool temp8 = false ;
d55e5bfc
RD
8244 PyObject * obj0 = 0 ;
8245 PyObject * obj1 = 0 ;
8246 PyObject * obj2 = 0 ;
8247 PyObject * obj3 = 0 ;
8248 PyObject * obj4 = 0 ;
8249 PyObject * obj5 = 0 ;
8250 PyObject * obj6 = 0 ;
8251 PyObject * obj7 = 0 ;
8252 char *kwnames[] = {
8253 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8254 };
8255
bfddbb17 8256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
8257 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8258 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 8259 if (obj1) {
36ed4f51
RD
8260 {
8261 arg2 = (int)(SWIG_As_int(obj1));
8262 if (SWIG_arg_fail(2)) SWIG_fail;
8263 }
bfddbb17 8264 }
d55e5bfc
RD
8265 if (obj2) {
8266 {
8267 arg3 = &temp3;
8268 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8269 }
8270 }
8271 if (obj3) {
8272 {
8273 arg4 = &temp4;
8274 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8275 }
8276 }
8277 if (obj4) {
8278 {
8279 if (! PySequence_Check(obj4)) {
8280 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
8281 SWIG_fail;
8282 }
8283 arg5 = new wxArrayString;
b411df4a 8284 temp5 = true;
d55e5bfc
RD
8285 int i, len=PySequence_Length(obj4);
8286 for (i=0; i<len; i++) {
8287 PyObject* item = PySequence_GetItem(obj4, i);
8288#if wxUSE_UNICODE
8289 PyObject* str = PyObject_Unicode(item);
8290#else
8291 PyObject* str = PyObject_Str(item);
8292#endif
8293 if (PyErr_Occurred()) SWIG_fail;
8294 arg5->Add(Py2wxString(str));
8295 Py_DECREF(item);
8296 Py_DECREF(str);
8297 }
8298 }
8299 }
8300 if (obj5) {
36ed4f51
RD
8301 {
8302 arg6 = (long)(SWIG_As_long(obj5));
8303 if (SWIG_arg_fail(6)) SWIG_fail;
8304 }
d55e5bfc
RD
8305 }
8306 if (obj6) {
36ed4f51
RD
8307 {
8308 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
8309 if (SWIG_arg_fail(7)) SWIG_fail;
8310 if (arg7 == NULL) {
8311 SWIG_null_ref("wxValidator");
8312 }
8313 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
8314 }
8315 }
8316 if (obj7) {
8317 {
8318 arg8 = wxString_in_helper(obj7);
8319 if (arg8 == NULL) SWIG_fail;
b411df4a 8320 temp8 = true;
d55e5bfc
RD
8321 }
8322 }
8323 {
0439c23b 8324 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
8325 PyThreadState* __tstate = wxPyBeginAllowThreads();
8326 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
8327
8328 wxPyEndAllowThreads(__tstate);
110da5b0 8329 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
8330 }
8331 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
8332 {
8333 if (temp5) delete arg5;
8334 }
8335 {
8336 if (temp8)
8337 delete arg8;
8338 }
8339 return resultobj;
8340 fail:
8341 {
8342 if (temp5) delete arg5;
8343 }
8344 {
8345 if (temp8)
8346 delete arg8;
8347 }
8348 return NULL;
8349}
8350
8351
c370783e 8352static PyObject *_wrap_new_PreCheckListBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8353 PyObject *resultobj;
8354 wxCheckListBox *result;
8355 char *kwnames[] = {
8356 NULL
8357 };
8358
8359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckListBox",kwnames)) goto fail;
8360 {
0439c23b 8361 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
8362 PyThreadState* __tstate = wxPyBeginAllowThreads();
8363 result = (wxCheckListBox *)new wxCheckListBox();
8364
8365 wxPyEndAllowThreads(__tstate);
110da5b0 8366 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
8367 }
8368 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
8369 return resultobj;
8370 fail:
8371 return NULL;
8372}
8373
8374
c370783e 8375static PyObject *_wrap_CheckListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8376 PyObject *resultobj;
8377 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8378 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17 8379 int arg3 = (int) -1 ;
d55e5bfc
RD
8380 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8381 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8382 wxSize const &arg5_defvalue = wxDefaultSize ;
8383 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8384 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
8385 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
8386 long arg7 = (long) 0 ;
8387 wxValidator const &arg8_defvalue = wxDefaultValidator ;
8388 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
8389 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
8390 wxString *arg9 = (wxString *) &arg9_defvalue ;
8391 bool result;
8392 wxPoint temp4 ;
8393 wxSize temp5 ;
b411df4a
RD
8394 bool temp6 = false ;
8395 bool temp9 = false ;
d55e5bfc
RD
8396 PyObject * obj0 = 0 ;
8397 PyObject * obj1 = 0 ;
8398 PyObject * obj2 = 0 ;
8399 PyObject * obj3 = 0 ;
8400 PyObject * obj4 = 0 ;
8401 PyObject * obj5 = 0 ;
8402 PyObject * obj6 = 0 ;
8403 PyObject * obj7 = 0 ;
8404 PyObject * obj8 = 0 ;
8405 char *kwnames[] = {
8406 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8407 };
8408
bfddbb17 8409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
36ed4f51
RD
8410 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8411 if (SWIG_arg_fail(1)) SWIG_fail;
8412 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8413 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 8414 if (obj2) {
36ed4f51
RD
8415 {
8416 arg3 = (int)(SWIG_As_int(obj2));
8417 if (SWIG_arg_fail(3)) SWIG_fail;
8418 }
bfddbb17 8419 }
d55e5bfc
RD
8420 if (obj3) {
8421 {
8422 arg4 = &temp4;
8423 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8424 }
8425 }
8426 if (obj4) {
8427 {
8428 arg5 = &temp5;
8429 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8430 }
8431 }
8432 if (obj5) {
8433 {
8434 if (! PySequence_Check(obj5)) {
8435 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
8436 SWIG_fail;
8437 }
8438 arg6 = new wxArrayString;
b411df4a 8439 temp6 = true;
d55e5bfc
RD
8440 int i, len=PySequence_Length(obj5);
8441 for (i=0; i<len; i++) {
8442 PyObject* item = PySequence_GetItem(obj5, i);
8443#if wxUSE_UNICODE
8444 PyObject* str = PyObject_Unicode(item);
8445#else
8446 PyObject* str = PyObject_Str(item);
8447#endif
8448 if (PyErr_Occurred()) SWIG_fail;
8449 arg6->Add(Py2wxString(str));
8450 Py_DECREF(item);
8451 Py_DECREF(str);
8452 }
8453 }
8454 }
8455 if (obj6) {
36ed4f51
RD
8456 {
8457 arg7 = (long)(SWIG_As_long(obj6));
8458 if (SWIG_arg_fail(7)) SWIG_fail;
8459 }
d55e5bfc
RD
8460 }
8461 if (obj7) {
36ed4f51
RD
8462 {
8463 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
8464 if (SWIG_arg_fail(8)) SWIG_fail;
8465 if (arg8 == NULL) {
8466 SWIG_null_ref("wxValidator");
8467 }
8468 if (SWIG_arg_fail(8)) SWIG_fail;
d55e5bfc
RD
8469 }
8470 }
8471 if (obj8) {
8472 {
8473 arg9 = wxString_in_helper(obj8);
8474 if (arg9 == NULL) SWIG_fail;
b411df4a 8475 temp9 = true;
d55e5bfc
RD
8476 }
8477 }
8478 {
8479 PyThreadState* __tstate = wxPyBeginAllowThreads();
8480 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
8481
8482 wxPyEndAllowThreads(__tstate);
8483 if (PyErr_Occurred()) SWIG_fail;
8484 }
8485 {
8486 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8487 }
8488 {
8489 if (temp6) delete arg6;
8490 }
8491 {
8492 if (temp9)
8493 delete arg9;
8494 }
8495 return resultobj;
8496 fail:
8497 {
8498 if (temp6) delete arg6;
8499 }
8500 {
8501 if (temp9)
8502 delete arg9;
8503 }
8504 return NULL;
8505}
8506
8507
c370783e 8508static PyObject *_wrap_CheckListBox_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8509 PyObject *resultobj;
8510 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8511 int arg2 ;
8512 bool result;
8513 PyObject * obj0 = 0 ;
8514 PyObject * obj1 = 0 ;
8515 char *kwnames[] = {
8516 (char *) "self",(char *) "index", NULL
8517 };
8518
8519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_IsChecked",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8520 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8521 if (SWIG_arg_fail(1)) SWIG_fail;
8522 {
8523 arg2 = (int)(SWIG_As_int(obj1));
8524 if (SWIG_arg_fail(2)) SWIG_fail;
8525 }
d55e5bfc
RD
8526 {
8527 PyThreadState* __tstate = wxPyBeginAllowThreads();
8528 result = (bool)(arg1)->IsChecked(arg2);
8529
8530 wxPyEndAllowThreads(__tstate);
8531 if (PyErr_Occurred()) SWIG_fail;
8532 }
8533 {
8534 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8535 }
8536 return resultobj;
8537 fail:
8538 return NULL;
8539}
8540
8541
c370783e 8542static PyObject *_wrap_CheckListBox_Check(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8543 PyObject *resultobj;
8544 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8545 int arg2 ;
b411df4a 8546 int arg3 = (int) true ;
d55e5bfc
RD
8547 PyObject * obj0 = 0 ;
8548 PyObject * obj1 = 0 ;
8549 PyObject * obj2 = 0 ;
8550 char *kwnames[] = {
8551 (char *) "self",(char *) "index",(char *) "check", NULL
8552 };
8553
8554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:CheckListBox_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
8555 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8556 if (SWIG_arg_fail(1)) SWIG_fail;
8557 {
8558 arg2 = (int)(SWIG_As_int(obj1));
8559 if (SWIG_arg_fail(2)) SWIG_fail;
8560 }
d55e5bfc 8561 if (obj2) {
36ed4f51
RD
8562 {
8563 arg3 = (int)(SWIG_As_int(obj2));
8564 if (SWIG_arg_fail(3)) SWIG_fail;
8565 }
d55e5bfc
RD
8566 }
8567 {
8568 PyThreadState* __tstate = wxPyBeginAllowThreads();
8569 (arg1)->Check(arg2,arg3);
8570
8571 wxPyEndAllowThreads(__tstate);
8572 if (PyErr_Occurred()) SWIG_fail;
8573 }
8574 Py_INCREF(Py_None); resultobj = Py_None;
8575 return resultobj;
8576 fail:
8577 return NULL;
8578}
8579
8580
c370783e 8581static PyObject *_wrap_CheckListBox_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8582 PyObject *resultobj;
8583 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8584 wxPoint *arg2 = 0 ;
8585 int result;
8586 wxPoint temp2 ;
8587 PyObject * obj0 = 0 ;
8588 PyObject * obj1 = 0 ;
8589 char *kwnames[] = {
8590 (char *) "self",(char *) "pt", NULL
8591 };
8592
8593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_HitTest",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8594 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8595 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8596 {
8597 arg2 = &temp2;
8598 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8599 }
8600 {
8601 PyThreadState* __tstate = wxPyBeginAllowThreads();
8602 result = (int)((wxCheckListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
8603
8604 wxPyEndAllowThreads(__tstate);
8605 if (PyErr_Occurred()) SWIG_fail;
8606 }
36ed4f51
RD
8607 {
8608 resultobj = SWIG_From_int((int)(result));
8609 }
d55e5bfc
RD
8610 return resultobj;
8611 fail:
8612 return NULL;
8613}
8614
8615
c370783e 8616static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8617 PyObject *resultobj;
8618 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8619 int arg2 ;
8620 int arg3 ;
8621 int result;
8622 PyObject * obj0 = 0 ;
8623 PyObject * obj1 = 0 ;
8624 PyObject * obj2 = 0 ;
8625 char *kwnames[] = {
8626 (char *) "self",(char *) "x",(char *) "y", NULL
8627 };
8628
8629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:CheckListBox_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
8630 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8631 if (SWIG_arg_fail(1)) SWIG_fail;
8632 {
8633 arg2 = (int)(SWIG_As_int(obj1));
8634 if (SWIG_arg_fail(2)) SWIG_fail;
8635 }
8636 {
8637 arg3 = (int)(SWIG_As_int(obj2));
8638 if (SWIG_arg_fail(3)) SWIG_fail;
8639 }
d55e5bfc
RD
8640 {
8641 PyThreadState* __tstate = wxPyBeginAllowThreads();
8642 result = (int)((wxCheckListBox const *)arg1)->HitTest(arg2,arg3);
8643
8644 wxPyEndAllowThreads(__tstate);
8645 if (PyErr_Occurred()) SWIG_fail;
8646 }
36ed4f51
RD
8647 {
8648 resultobj = SWIG_From_int((int)(result));
8649 }
d55e5bfc
RD
8650 return resultobj;
8651 fail:
8652 return NULL;
8653}
8654
8655
c370783e 8656static PyObject * CheckListBox_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
8657 PyObject *obj;
8658 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8659 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox, obj);
8660 Py_INCREF(obj);
8661 return Py_BuildValue((char *)"");
8662}
c370783e 8663static int _wrap_TextCtrlNameStr_set(PyObject *) {
d55e5bfc
RD
8664 PyErr_SetString(PyExc_TypeError,"Variable TextCtrlNameStr is read-only.");
8665 return 1;
8666}
8667
8668
36ed4f51 8669static PyObject *_wrap_TextCtrlNameStr_get(void) {
d55e5bfc
RD
8670 PyObject *pyobj;
8671
8672 {
8673#if wxUSE_UNICODE
8674 pyobj = PyUnicode_FromWideChar((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
8675#else
8676 pyobj = PyString_FromStringAndSize((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
8677#endif
8678 }
8679 return pyobj;
8680}
8681
8682
c370783e 8683static PyObject *_wrap_new_TextAttr(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 8684 PyObject *resultobj;
908b74cd
RD
8685 wxColour const &arg1_defvalue = wxNullColour ;
8686 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
d55e5bfc
RD
8687 wxColour const &arg2_defvalue = wxNullColour ;
8688 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
8689 wxFont const &arg3_defvalue = wxNullFont ;
8690 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
36ed4f51 8691 wxTextAttrAlignment arg4 = (wxTextAttrAlignment) wxTEXT_ALIGNMENT_DEFAULT ;
d55e5bfc
RD
8692 wxTextAttr *result;
8693 wxColour temp1 ;
8694 wxColour temp2 ;
8695 PyObject * obj0 = 0 ;
8696 PyObject * obj1 = 0 ;
8697 PyObject * obj2 = 0 ;
8698 PyObject * obj3 = 0 ;
908b74cd
RD
8699 char *kwnames[] = {
8700 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
8701 };
d55e5bfc 8702
908b74cd
RD
8703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TextAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8704 if (obj0) {
8705 {
8706 arg1 = &temp1;
8707 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
8708 }
d55e5bfc
RD
8709 }
8710 if (obj1) {
8711 {
8712 arg2 = &temp2;
8713 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8714 }
8715 }
8716 if (obj2) {
36ed4f51
RD
8717 {
8718 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
8719 if (SWIG_arg_fail(3)) SWIG_fail;
8720 if (arg3 == NULL) {
8721 SWIG_null_ref("wxFont");
8722 }
8723 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
8724 }
8725 }
8726 if (obj3) {
36ed4f51
RD
8727 {
8728 arg4 = (wxTextAttrAlignment)(SWIG_As_int(obj3));
8729 if (SWIG_arg_fail(4)) SWIG_fail;
8730 }
d55e5bfc
RD
8731 }
8732 {
8733 PyThreadState* __tstate = wxPyBeginAllowThreads();
8734 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,(wxTextAttrAlignment )arg4);
8735
8736 wxPyEndAllowThreads(__tstate);
8737 if (PyErr_Occurred()) SWIG_fail;
8738 }
8739 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 1);
8740 return resultobj;
8741 fail:
8742 return NULL;
8743}
8744
8745
c370783e 8746static PyObject *_wrap_delete_TextAttr(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8747 PyObject *resultobj;
8748 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8749 PyObject * obj0 = 0 ;
8750 char *kwnames[] = {
8751 (char *) "self", NULL
8752 };
8753
8754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TextAttr",kwnames,&obj0)) goto fail;
36ed4f51
RD
8755 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8756 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8757 {
8758 PyThreadState* __tstate = wxPyBeginAllowThreads();
8759 delete arg1;
8760
8761 wxPyEndAllowThreads(__tstate);
8762 if (PyErr_Occurred()) SWIG_fail;
8763 }
8764 Py_INCREF(Py_None); resultobj = Py_None;
8765 return resultobj;
8766 fail:
8767 return NULL;
8768}
8769
8770
c370783e 8771static PyObject *_wrap_TextAttr_Init(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8772 PyObject *resultobj;
8773 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8774 PyObject * obj0 = 0 ;
8775 char *kwnames[] = {
8776 (char *) "self", NULL
8777 };
8778
8779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_Init",kwnames,&obj0)) goto fail;
36ed4f51
RD
8780 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8781 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8782 {
8783 PyThreadState* __tstate = wxPyBeginAllowThreads();
8784 (arg1)->Init();
8785
8786 wxPyEndAllowThreads(__tstate);
8787 if (PyErr_Occurred()) SWIG_fail;
8788 }
8789 Py_INCREF(Py_None); resultobj = Py_None;
8790 return resultobj;
8791 fail:
8792 return NULL;
8793}
8794
8795
c370783e 8796static PyObject *_wrap_TextAttr_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8797 PyObject *resultobj;
8798 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8799 wxColour *arg2 = 0 ;
8800 wxColour temp2 ;
8801 PyObject * obj0 = 0 ;
8802 PyObject * obj1 = 0 ;
8803 char *kwnames[] = {
8804 (char *) "self",(char *) "colText", NULL
8805 };
8806
8807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8808 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8809 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8810 {
8811 arg2 = &temp2;
8812 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8813 }
8814 {
8815 PyThreadState* __tstate = wxPyBeginAllowThreads();
8816 (arg1)->SetTextColour((wxColour const &)*arg2);
8817
8818 wxPyEndAllowThreads(__tstate);
8819 if (PyErr_Occurred()) SWIG_fail;
8820 }
8821 Py_INCREF(Py_None); resultobj = Py_None;
8822 return resultobj;
8823 fail:
8824 return NULL;
8825}
8826
8827
c370783e 8828static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8829 PyObject *resultobj;
8830 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8831 wxColour *arg2 = 0 ;
8832 wxColour temp2 ;
8833 PyObject * obj0 = 0 ;
8834 PyObject * obj1 = 0 ;
8835 char *kwnames[] = {
8836 (char *) "self",(char *) "colBack", NULL
8837 };
8838
8839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8840 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8841 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8842 {
8843 arg2 = &temp2;
8844 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8845 }
8846 {
8847 PyThreadState* __tstate = wxPyBeginAllowThreads();
8848 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
8849
8850 wxPyEndAllowThreads(__tstate);
8851 if (PyErr_Occurred()) SWIG_fail;
8852 }
8853 Py_INCREF(Py_None); resultobj = Py_None;
8854 return resultobj;
8855 fail:
8856 return NULL;
8857}
8858
8859
c370783e 8860static PyObject *_wrap_TextAttr_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8861 PyObject *resultobj;
8862 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8863 wxFont *arg2 = 0 ;
8864 long arg3 = (long) wxTEXT_ATTR_FONT ;
8865 PyObject * obj0 = 0 ;
8866 PyObject * obj1 = 0 ;
8867 PyObject * obj2 = 0 ;
8868 char *kwnames[] = {
8869 (char *) "self",(char *) "font",(char *) "flags", NULL
8870 };
8871
8872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
8873 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8874 if (SWIG_arg_fail(1)) SWIG_fail;
8875 {
8876 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
8877 if (SWIG_arg_fail(2)) SWIG_fail;
8878 if (arg2 == NULL) {
8879 SWIG_null_ref("wxFont");
8880 }
8881 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
8882 }
8883 if (obj2) {
36ed4f51
RD
8884 {
8885 arg3 = (long)(SWIG_As_long(obj2));
8886 if (SWIG_arg_fail(3)) SWIG_fail;
8887 }
d55e5bfc
RD
8888 }
8889 {
8890 PyThreadState* __tstate = wxPyBeginAllowThreads();
8891 (arg1)->SetFont((wxFont const &)*arg2,arg3);
8892
8893 wxPyEndAllowThreads(__tstate);
8894 if (PyErr_Occurred()) SWIG_fail;
8895 }
8896 Py_INCREF(Py_None); resultobj = Py_None;
8897 return resultobj;
8898 fail:
8899 return NULL;
8900}
8901
8902
c370783e 8903static PyObject *_wrap_TextAttr_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8904 PyObject *resultobj;
8905 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
36ed4f51 8906 wxTextAttrAlignment arg2 ;
d55e5bfc
RD
8907 PyObject * obj0 = 0 ;
8908 PyObject * obj1 = 0 ;
8909 char *kwnames[] = {
8910 (char *) "self",(char *) "alignment", NULL
8911 };
8912
8913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8914 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8915 if (SWIG_arg_fail(1)) SWIG_fail;
8916 {
8917 arg2 = (wxTextAttrAlignment)(SWIG_As_int(obj1));
8918 if (SWIG_arg_fail(2)) SWIG_fail;
8919 }
d55e5bfc
RD
8920 {
8921 PyThreadState* __tstate = wxPyBeginAllowThreads();
8922 (arg1)->SetAlignment((wxTextAttrAlignment )arg2);
8923
8924 wxPyEndAllowThreads(__tstate);
8925 if (PyErr_Occurred()) SWIG_fail;
8926 }
8927 Py_INCREF(Py_None); resultobj = Py_None;
8928 return resultobj;
8929 fail:
8930 return NULL;
8931}
8932
8933
c370783e 8934static PyObject *_wrap_TextAttr_SetTabs(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8935 PyObject *resultobj;
8936 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8937 wxArrayInt *arg2 = 0 ;
b411df4a 8938 bool temp2 = false ;
d55e5bfc
RD
8939 PyObject * obj0 = 0 ;
8940 PyObject * obj1 = 0 ;
8941 char *kwnames[] = {
8942 (char *) "self",(char *) "tabs", NULL
8943 };
8944
8945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8946 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8947 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8948 {
8949 if (! PySequence_Check(obj1)) {
8950 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
8951 SWIG_fail;
8952 }
8953 arg2 = new wxArrayInt;
b411df4a 8954 temp2 = true;
d55e5bfc
RD
8955 int i, len=PySequence_Length(obj1);
8956 for (i=0; i<len; i++) {
8957 PyObject* item = PySequence_GetItem(obj1, i);
8958 PyObject* number = PyNumber_Int(item);
8959 arg2->Add(PyInt_AS_LONG(number));
8960 Py_DECREF(item);
8961 Py_DECREF(number);
8962 }
8963 }
8964 {
8965 PyThreadState* __tstate = wxPyBeginAllowThreads();
8966 (arg1)->SetTabs((wxArrayInt const &)*arg2);
8967
8968 wxPyEndAllowThreads(__tstate);
8969 if (PyErr_Occurred()) SWIG_fail;
8970 }
8971 Py_INCREF(Py_None); resultobj = Py_None;
8972 {
8973 if (temp2) delete arg2;
8974 }
8975 return resultobj;
8976 fail:
8977 {
8978 if (temp2) delete arg2;
8979 }
8980 return NULL;
8981}
8982
8983
c370783e 8984static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8985 PyObject *resultobj;
8986 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8987 int arg2 ;
68e533f8 8988 int arg3 = (int) 0 ;
d55e5bfc
RD
8989 PyObject * obj0 = 0 ;
8990 PyObject * obj1 = 0 ;
68e533f8 8991 PyObject * obj2 = 0 ;
d55e5bfc 8992 char *kwnames[] = {
68e533f8 8993 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
d55e5bfc
RD
8994 };
8995
68e533f8 8996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
8997 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8998 if (SWIG_arg_fail(1)) SWIG_fail;
8999 {
9000 arg2 = (int)(SWIG_As_int(obj1));
9001 if (SWIG_arg_fail(2)) SWIG_fail;
9002 }
68e533f8 9003 if (obj2) {
36ed4f51
RD
9004 {
9005 arg3 = (int)(SWIG_As_int(obj2));
9006 if (SWIG_arg_fail(3)) SWIG_fail;
9007 }
68e533f8 9008 }
d55e5bfc
RD
9009 {
9010 PyThreadState* __tstate = wxPyBeginAllowThreads();
68e533f8 9011 (arg1)->SetLeftIndent(arg2,arg3);
d55e5bfc
RD
9012
9013 wxPyEndAllowThreads(__tstate);
9014 if (PyErr_Occurred()) SWIG_fail;
9015 }
9016 Py_INCREF(Py_None); resultobj = Py_None;
9017 return resultobj;
9018 fail:
9019 return NULL;
9020}
9021
9022
c370783e 9023static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9024 PyObject *resultobj;
9025 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9026 int arg2 ;
9027 PyObject * obj0 = 0 ;
9028 PyObject * obj1 = 0 ;
9029 char *kwnames[] = {
9030 (char *) "self",(char *) "indent", NULL
9031 };
9032
9033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetRightIndent",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9034 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9035 if (SWIG_arg_fail(1)) SWIG_fail;
9036 {
9037 arg2 = (int)(SWIG_As_int(obj1));
9038 if (SWIG_arg_fail(2)) SWIG_fail;
9039 }
d55e5bfc
RD
9040 {
9041 PyThreadState* __tstate = wxPyBeginAllowThreads();
9042 (arg1)->SetRightIndent(arg2);
9043
9044 wxPyEndAllowThreads(__tstate);
9045 if (PyErr_Occurred()) SWIG_fail;
9046 }
9047 Py_INCREF(Py_None); resultobj = Py_None;
9048 return resultobj;
9049 fail:
9050 return NULL;
9051}
9052
9053
c370783e 9054static PyObject *_wrap_TextAttr_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9055 PyObject *resultobj;
9056 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9057 long arg2 ;
9058 PyObject * obj0 = 0 ;
9059 PyObject * obj1 = 0 ;
9060 char *kwnames[] = {
9061 (char *) "self",(char *) "flags", NULL
9062 };
9063
9064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetFlags",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9065 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9066 if (SWIG_arg_fail(1)) SWIG_fail;
9067 {
9068 arg2 = (long)(SWIG_As_long(obj1));
9069 if (SWIG_arg_fail(2)) SWIG_fail;
9070 }
d55e5bfc
RD
9071 {
9072 PyThreadState* __tstate = wxPyBeginAllowThreads();
9073 (arg1)->SetFlags(arg2);
9074
9075 wxPyEndAllowThreads(__tstate);
9076 if (PyErr_Occurred()) SWIG_fail;
9077 }
9078 Py_INCREF(Py_None); resultobj = Py_None;
9079 return resultobj;
9080 fail:
9081 return NULL;
9082}
9083
9084
c370783e 9085static PyObject *_wrap_TextAttr_HasTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9086 PyObject *resultobj;
9087 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9088 bool result;
9089 PyObject * obj0 = 0 ;
9090 char *kwnames[] = {
9091 (char *) "self", NULL
9092 };
9093
9094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTextColour",kwnames,&obj0)) goto fail;
36ed4f51
RD
9095 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9096 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9097 {
9098 PyThreadState* __tstate = wxPyBeginAllowThreads();
9099 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
9100
9101 wxPyEndAllowThreads(__tstate);
9102 if (PyErr_Occurred()) SWIG_fail;
9103 }
9104 {
9105 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9106 }
9107 return resultobj;
9108 fail:
9109 return NULL;
9110}
9111
9112
c370783e 9113static PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9114 PyObject *resultobj;
9115 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9116 bool result;
9117 PyObject * obj0 = 0 ;
9118 char *kwnames[] = {
9119 (char *) "self", NULL
9120 };
9121
9122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
36ed4f51
RD
9123 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9124 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9125 {
9126 PyThreadState* __tstate = wxPyBeginAllowThreads();
9127 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
9128
9129 wxPyEndAllowThreads(__tstate);
9130 if (PyErr_Occurred()) SWIG_fail;
9131 }
9132 {
9133 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9134 }
9135 return resultobj;
9136 fail:
9137 return NULL;
9138}
9139
9140
c370783e 9141static PyObject *_wrap_TextAttr_HasFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9142 PyObject *resultobj;
9143 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9144 bool result;
9145 PyObject * obj0 = 0 ;
9146 char *kwnames[] = {
9147 (char *) "self", NULL
9148 };
9149
9150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasFont",kwnames,&obj0)) goto fail;
36ed4f51
RD
9151 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9152 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9153 {
9154 PyThreadState* __tstate = wxPyBeginAllowThreads();
9155 result = (bool)((wxTextAttr const *)arg1)->HasFont();
9156
9157 wxPyEndAllowThreads(__tstate);
9158 if (PyErr_Occurred()) SWIG_fail;
9159 }
9160 {
9161 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9162 }
9163 return resultobj;
9164 fail:
9165 return NULL;
9166}
9167
9168
c370783e 9169static PyObject *_wrap_TextAttr_HasAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9170 PyObject *resultobj;
9171 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9172 bool result;
9173 PyObject * obj0 = 0 ;
9174 char *kwnames[] = {
9175 (char *) "self", NULL
9176 };
9177
9178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasAlignment",kwnames,&obj0)) goto fail;
36ed4f51
RD
9179 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9180 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9181 {
9182 PyThreadState* __tstate = wxPyBeginAllowThreads();
9183 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
9184
9185 wxPyEndAllowThreads(__tstate);
9186 if (PyErr_Occurred()) SWIG_fail;
9187 }
9188 {
9189 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9190 }
9191 return resultobj;
9192 fail:
9193 return NULL;
9194}
9195
9196
c370783e 9197static PyObject *_wrap_TextAttr_HasTabs(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9198 PyObject *resultobj;
9199 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9200 bool result;
9201 PyObject * obj0 = 0 ;
9202 char *kwnames[] = {
9203 (char *) "self", NULL
9204 };
9205
9206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTabs",kwnames,&obj0)) goto fail;
36ed4f51
RD
9207 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9208 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9209 {
9210 PyThreadState* __tstate = wxPyBeginAllowThreads();
9211 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
9212
9213 wxPyEndAllowThreads(__tstate);
9214 if (PyErr_Occurred()) SWIG_fail;
9215 }
9216 {
9217 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9218 }
9219 return resultobj;
9220 fail:
9221 return NULL;
9222}
9223
9224
c370783e 9225static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9226 PyObject *resultobj;
9227 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9228 bool result;
9229 PyObject * obj0 = 0 ;
9230 char *kwnames[] = {
9231 (char *) "self", NULL
9232 };
9233
9234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasLeftIndent",kwnames,&obj0)) goto fail;
36ed4f51
RD
9235 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9236 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9237 {
9238 PyThreadState* __tstate = wxPyBeginAllowThreads();
9239 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
9240
9241 wxPyEndAllowThreads(__tstate);
9242 if (PyErr_Occurred()) SWIG_fail;
9243 }
9244 {
9245 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9246 }
9247 return resultobj;
9248 fail:
9249 return NULL;
9250}
9251
9252
c370783e 9253static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9254 PyObject *resultobj;
9255 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9256 bool result;
9257 PyObject * obj0 = 0 ;
9258 char *kwnames[] = {
9259 (char *) "self", NULL
9260 };
9261
9262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasRightIndent",kwnames,&obj0)) goto fail;
36ed4f51
RD
9263 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9264 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9265 {
9266 PyThreadState* __tstate = wxPyBeginAllowThreads();
9267 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
9268
9269 wxPyEndAllowThreads(__tstate);
9270 if (PyErr_Occurred()) SWIG_fail;
9271 }
9272 {
9273 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9274 }
9275 return resultobj;
9276 fail:
9277 return NULL;
9278}
9279
9280
c370783e 9281static PyObject *_wrap_TextAttr_HasFlag(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9282 PyObject *resultobj;
9283 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9284 long arg2 ;
9285 bool result;
9286 PyObject * obj0 = 0 ;
9287 PyObject * obj1 = 0 ;
9288 char *kwnames[] = {
9289 (char *) "self",(char *) "flag", NULL
9290 };
9291
9292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_HasFlag",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9293 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9294 if (SWIG_arg_fail(1)) SWIG_fail;
9295 {
9296 arg2 = (long)(SWIG_As_long(obj1));
9297 if (SWIG_arg_fail(2)) SWIG_fail;
9298 }
d55e5bfc
RD
9299 {
9300 PyThreadState* __tstate = wxPyBeginAllowThreads();
9301 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
9302
9303 wxPyEndAllowThreads(__tstate);
9304 if (PyErr_Occurred()) SWIG_fail;
9305 }
9306 {
9307 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9308 }
9309 return resultobj;
9310 fail:
9311 return NULL;
9312}
9313
9314
c370783e 9315static PyObject *_wrap_TextAttr_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9316 PyObject *resultobj;
9317 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9318 wxColour *result;
9319 PyObject * obj0 = 0 ;
9320 char *kwnames[] = {
9321 (char *) "self", NULL
9322 };
9323
9324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTextColour",kwnames,&obj0)) goto fail;
36ed4f51
RD
9325 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9326 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9327 {
9328 PyThreadState* __tstate = wxPyBeginAllowThreads();
9329 {
9330 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
9331 result = (wxColour *) &_result_ref;
9332 }
9333
9334 wxPyEndAllowThreads(__tstate);
9335 if (PyErr_Occurred()) SWIG_fail;
9336 }
9337 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
9338 return resultobj;
9339 fail:
9340 return NULL;
9341}
9342
9343
c370783e 9344static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9345 PyObject *resultobj;
9346 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9347 wxColour *result;
9348 PyObject * obj0 = 0 ;
9349 char *kwnames[] = {
9350 (char *) "self", NULL
9351 };
9352
9353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
36ed4f51
RD
9354 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9355 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9356 {
9357 PyThreadState* __tstate = wxPyBeginAllowThreads();
9358 {
9359 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
9360 result = (wxColour *) &_result_ref;
9361 }
9362
9363 wxPyEndAllowThreads(__tstate);
9364 if (PyErr_Occurred()) SWIG_fail;
9365 }
9366 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
9367 return resultobj;
9368 fail:
9369 return NULL;
9370}
9371
9372
c370783e 9373static PyObject *_wrap_TextAttr_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9374 PyObject *resultobj;
9375 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9376 wxFont *result;
9377 PyObject * obj0 = 0 ;
9378 char *kwnames[] = {
9379 (char *) "self", NULL
9380 };
9381
9382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFont",kwnames,&obj0)) goto fail;
36ed4f51
RD
9383 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9384 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9385 {
9386 PyThreadState* __tstate = wxPyBeginAllowThreads();
9387 {
9388 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
9389 result = (wxFont *) &_result_ref;
9390 }
9391
9392 wxPyEndAllowThreads(__tstate);
9393 if (PyErr_Occurred()) SWIG_fail;
9394 }
9395 {
9396 wxFont* resultptr = new wxFont(*result);
9397 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxFont, 1);
9398 }
9399 return resultobj;
9400 fail:
9401 return NULL;
9402}
9403
9404
c370783e 9405static PyObject *_wrap_TextAttr_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9406 PyObject *resultobj;
9407 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
36ed4f51 9408 wxTextAttrAlignment result;
d55e5bfc
RD
9409 PyObject * obj0 = 0 ;
9410 char *kwnames[] = {
9411 (char *) "self", NULL
9412 };
9413
9414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetAlignment",kwnames,&obj0)) goto fail;
36ed4f51
RD
9415 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9416 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9417 {
9418 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 9419 result = (wxTextAttrAlignment)((wxTextAttr const *)arg1)->GetAlignment();
d55e5bfc
RD
9420
9421 wxPyEndAllowThreads(__tstate);
9422 if (PyErr_Occurred()) SWIG_fail;
9423 }
36ed4f51 9424 resultobj = SWIG_From_int((result));
d55e5bfc
RD
9425 return resultobj;
9426 fail:
9427 return NULL;
9428}
9429
9430
c370783e 9431static PyObject *_wrap_TextAttr_GetTabs(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9432 PyObject *resultobj;
9433 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9434 wxArrayInt *result;
9435 PyObject * obj0 = 0 ;
9436 char *kwnames[] = {
9437 (char *) "self", NULL
9438 };
9439
9440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTabs",kwnames,&obj0)) goto fail;
36ed4f51
RD
9441 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9442 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9443 {
9444 PyThreadState* __tstate = wxPyBeginAllowThreads();
9445 {
9446 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
9447 result = (wxArrayInt *) &_result_ref;
9448 }
9449
9450 wxPyEndAllowThreads(__tstate);
9451 if (PyErr_Occurred()) SWIG_fail;
9452 }
9453 {
9454 resultobj = PyList_New(0);
9455 size_t idx;
9456 for (idx = 0; idx < result->GetCount(); idx += 1) {
9457 PyObject* val = PyInt_FromLong( result->Item(idx) );
9458 PyList_Append(resultobj, val);
9459 Py_DECREF(val);
9460 }
9461 }
9462 return resultobj;
9463 fail:
9464 return NULL;
9465}
9466
9467
c370783e 9468static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9469 PyObject *resultobj;
9470 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9471 long result;
9472 PyObject * obj0 = 0 ;
9473 char *kwnames[] = {
9474 (char *) "self", NULL
9475 };
9476
9477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftIndent",kwnames,&obj0)) goto fail;
36ed4f51
RD
9478 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9479 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9480 {
9481 PyThreadState* __tstate = wxPyBeginAllowThreads();
9482 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
9483
9484 wxPyEndAllowThreads(__tstate);
9485 if (PyErr_Occurred()) SWIG_fail;
9486 }
36ed4f51
RD
9487 {
9488 resultobj = SWIG_From_long((long)(result));
9489 }
d55e5bfc
RD
9490 return resultobj;
9491 fail:
9492 return NULL;
9493}
9494
9495
c370783e 9496static PyObject *_wrap_TextAttr_GetLeftSubIndent(PyObject *, PyObject *args, PyObject *kwargs) {
68e533f8
RD
9497 PyObject *resultobj;
9498 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9499 long result;
9500 PyObject * obj0 = 0 ;
9501 char *kwnames[] = {
9502 (char *) "self", NULL
9503 };
9504
9505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftSubIndent",kwnames,&obj0)) goto fail;
36ed4f51
RD
9506 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9507 if (SWIG_arg_fail(1)) SWIG_fail;
68e533f8
RD
9508 {
9509 PyThreadState* __tstate = wxPyBeginAllowThreads();
9510 result = (long)((wxTextAttr const *)arg1)->GetLeftSubIndent();
9511
9512 wxPyEndAllowThreads(__tstate);
9513 if (PyErr_Occurred()) SWIG_fail;
9514 }
36ed4f51
RD
9515 {
9516 resultobj = SWIG_From_long((long)(result));
9517 }
68e533f8
RD
9518 return resultobj;
9519 fail:
9520 return NULL;
9521}
9522
9523
c370783e 9524static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9525 PyObject *resultobj;
9526 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9527 long result;
9528 PyObject * obj0 = 0 ;
9529 char *kwnames[] = {
9530 (char *) "self", NULL
9531 };
9532
9533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetRightIndent",kwnames,&obj0)) goto fail;
36ed4f51
RD
9534 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9535 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9536 {
9537 PyThreadState* __tstate = wxPyBeginAllowThreads();
9538 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
9539
9540 wxPyEndAllowThreads(__tstate);
9541 if (PyErr_Occurred()) SWIG_fail;
9542 }
36ed4f51
RD
9543 {
9544 resultobj = SWIG_From_long((long)(result));
9545 }
d55e5bfc
RD
9546 return resultobj;
9547 fail:
9548 return NULL;
9549}
9550
9551
c370783e 9552static PyObject *_wrap_TextAttr_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9553 PyObject *resultobj;
9554 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9555 long result;
9556 PyObject * obj0 = 0 ;
9557 char *kwnames[] = {
9558 (char *) "self", NULL
9559 };
9560
9561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFlags",kwnames,&obj0)) goto fail;
36ed4f51
RD
9562 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9563 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9564 {
9565 PyThreadState* __tstate = wxPyBeginAllowThreads();
9566 result = (long)((wxTextAttr const *)arg1)->GetFlags();
9567
9568 wxPyEndAllowThreads(__tstate);
9569 if (PyErr_Occurred()) SWIG_fail;
9570 }
36ed4f51
RD
9571 {
9572 resultobj = SWIG_From_long((long)(result));
9573 }
d55e5bfc
RD
9574 return resultobj;
9575 fail:
9576 return NULL;
9577}
9578
9579
c370783e 9580static PyObject *_wrap_TextAttr_IsDefault(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9581 PyObject *resultobj;
9582 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9583 bool result;
9584 PyObject * obj0 = 0 ;
9585 char *kwnames[] = {
9586 (char *) "self", NULL
9587 };
9588
9589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_IsDefault",kwnames,&obj0)) goto fail;
36ed4f51
RD
9590 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9591 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9592 {
9593 PyThreadState* __tstate = wxPyBeginAllowThreads();
9594 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
9595
9596 wxPyEndAllowThreads(__tstate);
9597 if (PyErr_Occurred()) SWIG_fail;
9598 }
9599 {
9600 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9601 }
9602 return resultobj;
9603 fail:
9604 return NULL;
9605}
9606
9607
c370783e 9608static PyObject *_wrap_TextAttr_Combine(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9609 PyObject *resultobj;
9610 wxTextAttr *arg1 = 0 ;
9611 wxTextAttr *arg2 = 0 ;
9612 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
9613 wxTextAttr result;
9614 PyObject * obj0 = 0 ;
9615 PyObject * obj1 = 0 ;
9616 PyObject * obj2 = 0 ;
9617 char *kwnames[] = {
9618 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
9619 };
9620
9621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
9622 {
9623 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9624 if (SWIG_arg_fail(1)) SWIG_fail;
9625 if (arg1 == NULL) {
9626 SWIG_null_ref("wxTextAttr");
9627 }
9628 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 9629 }
36ed4f51
RD
9630 {
9631 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9632 if (SWIG_arg_fail(2)) SWIG_fail;
9633 if (arg2 == NULL) {
9634 SWIG_null_ref("wxTextAttr");
9635 }
9636 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 9637 }
36ed4f51
RD
9638 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9639 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
9640 {
9641 PyThreadState* __tstate = wxPyBeginAllowThreads();
9642 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
9643
9644 wxPyEndAllowThreads(__tstate);
9645 if (PyErr_Occurred()) SWIG_fail;
9646 }
9647 {
9648 wxTextAttr * resultptr;
36ed4f51 9649 resultptr = new wxTextAttr((wxTextAttr &)(result));
d55e5bfc
RD
9650 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTextAttr, 1);
9651 }
9652 return resultobj;
9653 fail:
9654 return NULL;
9655}
9656
9657
c370783e 9658static PyObject * TextAttr_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
9659 PyObject *obj;
9660 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9661 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr, obj);
9662 Py_INCREF(obj);
9663 return Py_BuildValue((char *)"");
9664}
c370783e 9665static PyObject *_wrap_new_TextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9666 PyObject *resultobj;
9667 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17 9668 int arg2 = (int) -1 ;
d55e5bfc
RD
9669 wxString const &arg3_defvalue = wxPyEmptyString ;
9670 wxString *arg3 = (wxString *) &arg3_defvalue ;
9671 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9672 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9673 wxSize const &arg5_defvalue = wxDefaultSize ;
9674 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9675 long arg6 = (long) 0 ;
9676 wxValidator const &arg7_defvalue = wxDefaultValidator ;
9677 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
9678 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
9679 wxString *arg8 = (wxString *) &arg8_defvalue ;
9680 wxTextCtrl *result;
b411df4a 9681 bool temp3 = false ;
d55e5bfc
RD
9682 wxPoint temp4 ;
9683 wxSize temp5 ;
b411df4a 9684 bool temp8 = false ;
d55e5bfc
RD
9685 PyObject * obj0 = 0 ;
9686 PyObject * obj1 = 0 ;
9687 PyObject * obj2 = 0 ;
9688 PyObject * obj3 = 0 ;
9689 PyObject * obj4 = 0 ;
9690 PyObject * obj5 = 0 ;
9691 PyObject * obj6 = 0 ;
9692 PyObject * obj7 = 0 ;
9693 char *kwnames[] = {
9694 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9695 };
9696
bfddbb17 9697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_TextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
9698 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
9699 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 9700 if (obj1) {
36ed4f51
RD
9701 {
9702 arg2 = (int)(SWIG_As_int(obj1));
9703 if (SWIG_arg_fail(2)) SWIG_fail;
9704 }
bfddbb17 9705 }
d55e5bfc
RD
9706 if (obj2) {
9707 {
9708 arg3 = wxString_in_helper(obj2);
9709 if (arg3 == NULL) SWIG_fail;
b411df4a 9710 temp3 = true;
d55e5bfc
RD
9711 }
9712 }
9713 if (obj3) {
9714 {
9715 arg4 = &temp4;
9716 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9717 }
9718 }
9719 if (obj4) {
9720 {
9721 arg5 = &temp5;
9722 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9723 }
9724 }
9725 if (obj5) {
36ed4f51
RD
9726 {
9727 arg6 = (long)(SWIG_As_long(obj5));
9728 if (SWIG_arg_fail(6)) SWIG_fail;
9729 }
d55e5bfc
RD
9730 }
9731 if (obj6) {
36ed4f51
RD
9732 {
9733 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
9734 if (SWIG_arg_fail(7)) SWIG_fail;
9735 if (arg7 == NULL) {
9736 SWIG_null_ref("wxValidator");
9737 }
9738 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
9739 }
9740 }
9741 if (obj7) {
9742 {
9743 arg8 = wxString_in_helper(obj7);
9744 if (arg8 == NULL) SWIG_fail;
b411df4a 9745 temp8 = true;
d55e5bfc
RD
9746 }
9747 }
9748 {
0439c23b 9749 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
9750 PyThreadState* __tstate = wxPyBeginAllowThreads();
9751 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
9752
9753 wxPyEndAllowThreads(__tstate);
110da5b0 9754 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 9755 }
b0f7404b 9756 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextCtrl, 1);
d55e5bfc
RD
9757 {
9758 if (temp3)
9759 delete arg3;
9760 }
9761 {
9762 if (temp8)
9763 delete arg8;
9764 }
9765 return resultobj;
9766 fail:
9767 {
9768 if (temp3)
9769 delete arg3;
9770 }
9771 {
9772 if (temp8)
9773 delete arg8;
9774 }
9775 return NULL;
9776}
9777
9778
c370783e 9779static PyObject *_wrap_new_PreTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9780 PyObject *resultobj;
9781 wxTextCtrl *result;
9782 char *kwnames[] = {
9783 NULL
9784 };
9785
9786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTextCtrl",kwnames)) goto fail;
9787 {
0439c23b 9788 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
9789 PyThreadState* __tstate = wxPyBeginAllowThreads();
9790 result = (wxTextCtrl *)new wxTextCtrl();
9791
9792 wxPyEndAllowThreads(__tstate);
110da5b0 9793 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 9794 }
b0f7404b 9795 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextCtrl, 1);
d55e5bfc
RD
9796 return resultobj;
9797 fail:
9798 return NULL;
9799}
9800
9801
c370783e 9802static PyObject *_wrap_TextCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9803 PyObject *resultobj;
9804 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9805 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17 9806 int arg3 = (int) -1 ;
d55e5bfc
RD
9807 wxString const &arg4_defvalue = wxPyEmptyString ;
9808 wxString *arg4 = (wxString *) &arg4_defvalue ;
9809 wxPoint const &arg5_defvalue = wxDefaultPosition ;
9810 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
9811 wxSize const &arg6_defvalue = wxDefaultSize ;
9812 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
9813 long arg7 = (long) 0 ;
9814 wxValidator const &arg8_defvalue = wxDefaultValidator ;
9815 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
9816 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
9817 wxString *arg9 = (wxString *) &arg9_defvalue ;
9818 bool result;
b411df4a 9819 bool temp4 = false ;
d55e5bfc
RD
9820 wxPoint temp5 ;
9821 wxSize temp6 ;
b411df4a 9822 bool temp9 = false ;
d55e5bfc
RD
9823 PyObject * obj0 = 0 ;
9824 PyObject * obj1 = 0 ;
9825 PyObject * obj2 = 0 ;
9826 PyObject * obj3 = 0 ;
9827 PyObject * obj4 = 0 ;
9828 PyObject * obj5 = 0 ;
9829 PyObject * obj6 = 0 ;
9830 PyObject * obj7 = 0 ;
9831 PyObject * obj8 = 0 ;
9832 char *kwnames[] = {
9833 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9834 };
9835
bfddbb17 9836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
36ed4f51
RD
9837 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9838 if (SWIG_arg_fail(1)) SWIG_fail;
9839 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
9840 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 9841 if (obj2) {
36ed4f51
RD
9842 {
9843 arg3 = (int)(SWIG_As_int(obj2));
9844 if (SWIG_arg_fail(3)) SWIG_fail;
9845 }
bfddbb17 9846 }
d55e5bfc
RD
9847 if (obj3) {
9848 {
9849 arg4 = wxString_in_helper(obj3);
9850 if (arg4 == NULL) SWIG_fail;
b411df4a 9851 temp4 = true;
d55e5bfc
RD
9852 }
9853 }
9854 if (obj4) {
9855 {
9856 arg5 = &temp5;
9857 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
9858 }
9859 }
9860 if (obj5) {
9861 {
9862 arg6 = &temp6;
9863 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
9864 }
9865 }
9866 if (obj6) {
36ed4f51
RD
9867 {
9868 arg7 = (long)(SWIG_As_long(obj6));
9869 if (SWIG_arg_fail(7)) SWIG_fail;
9870 }
d55e5bfc
RD
9871 }
9872 if (obj7) {
36ed4f51
RD
9873 {
9874 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
9875 if (SWIG_arg_fail(8)) SWIG_fail;
9876 if (arg8 == NULL) {
9877 SWIG_null_ref("wxValidator");
9878 }
9879 if (SWIG_arg_fail(8)) SWIG_fail;
d55e5bfc
RD
9880 }
9881 }
9882 if (obj8) {
9883 {
9884 arg9 = wxString_in_helper(obj8);
9885 if (arg9 == NULL) SWIG_fail;
b411df4a 9886 temp9 = true;
d55e5bfc
RD
9887 }
9888 }
9889 {
9890 PyThreadState* __tstate = wxPyBeginAllowThreads();
9891 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
9892
9893 wxPyEndAllowThreads(__tstate);
9894 if (PyErr_Occurred()) SWIG_fail;
9895 }
9896 {
9897 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9898 }
9899 {
9900 if (temp4)
9901 delete arg4;
9902 }
9903 {
9904 if (temp9)
9905 delete arg9;
9906 }
9907 return resultobj;
9908 fail:
9909 {
9910 if (temp4)
9911 delete arg4;
9912 }
9913 {
9914 if (temp9)
9915 delete arg9;
9916 }
9917 return NULL;
9918}
9919
9920
c370783e 9921static PyObject *_wrap_TextCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9922 PyObject *resultobj;
9923 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9924 wxString result;
9925 PyObject * obj0 = 0 ;
9926 char *kwnames[] = {
9927 (char *) "self", NULL
9928 };
9929
9930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetValue",kwnames,&obj0)) goto fail;
36ed4f51
RD
9931 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9932 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9933 {
9934 PyThreadState* __tstate = wxPyBeginAllowThreads();
9935 result = ((wxTextCtrl const *)arg1)->GetValue();
9936
9937 wxPyEndAllowThreads(__tstate);
9938 if (PyErr_Occurred()) SWIG_fail;
9939 }
9940 {
9941#if wxUSE_UNICODE
9942 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9943#else
9944 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9945#endif
9946 }
9947 return resultobj;
9948 fail:
9949 return NULL;
9950}
9951
9952
c370783e 9953static PyObject *_wrap_TextCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9954 PyObject *resultobj;
9955 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9956 wxString *arg2 = 0 ;
b411df4a 9957 bool temp2 = false ;
d55e5bfc
RD
9958 PyObject * obj0 = 0 ;
9959 PyObject * obj1 = 0 ;
9960 char *kwnames[] = {
9961 (char *) "self",(char *) "value", NULL
9962 };
9963
9964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9965 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9966 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9967 {
9968 arg2 = wxString_in_helper(obj1);
9969 if (arg2 == NULL) SWIG_fail;
b411df4a 9970 temp2 = true;
d55e5bfc
RD
9971 }
9972 {
9973 PyThreadState* __tstate = wxPyBeginAllowThreads();
9974 (arg1)->SetValue((wxString const &)*arg2);
9975
9976 wxPyEndAllowThreads(__tstate);
9977 if (PyErr_Occurred()) SWIG_fail;
9978 }
9979 Py_INCREF(Py_None); resultobj = Py_None;
9980 {
9981 if (temp2)
9982 delete arg2;
9983 }
9984 return resultobj;
9985 fail:
9986 {
9987 if (temp2)
9988 delete arg2;
9989 }
9990 return NULL;
9991}
9992
9993
c370783e 9994static PyObject *_wrap_TextCtrl_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9995 PyObject *resultobj;
9996 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9997 long arg2 ;
9998 long arg3 ;
9999 wxString result;
10000 PyObject * obj0 = 0 ;
10001 PyObject * obj1 = 0 ;
10002 PyObject * obj2 = 0 ;
10003 char *kwnames[] = {
10004 (char *) "self",(char *) "from",(char *) "to", NULL
10005 };
10006
10007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
10008 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10009 if (SWIG_arg_fail(1)) SWIG_fail;
10010 {
10011 arg2 = (long)(SWIG_As_long(obj1));
10012 if (SWIG_arg_fail(2)) SWIG_fail;
10013 }
10014 {
10015 arg3 = (long)(SWIG_As_long(obj2));
10016 if (SWIG_arg_fail(3)) SWIG_fail;
10017 }
d55e5bfc
RD
10018 {
10019 PyThreadState* __tstate = wxPyBeginAllowThreads();
10020 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
10021
10022 wxPyEndAllowThreads(__tstate);
10023 if (PyErr_Occurred()) SWIG_fail;
10024 }
10025 {
10026#if wxUSE_UNICODE
10027 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10028#else
10029 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10030#endif
10031 }
10032 return resultobj;
10033 fail:
10034 return NULL;
10035}
10036
10037
c370783e 10038static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10039 PyObject *resultobj;
10040 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10041 long arg2 ;
10042 int result;
10043 PyObject * obj0 = 0 ;
10044 PyObject * obj1 = 0 ;
10045 char *kwnames[] = {
10046 (char *) "self",(char *) "lineNo", NULL
10047 };
10048
10049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineLength",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10050 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10051 if (SWIG_arg_fail(1)) SWIG_fail;
10052 {
10053 arg2 = (long)(SWIG_As_long(obj1));
10054 if (SWIG_arg_fail(2)) SWIG_fail;
10055 }
d55e5bfc
RD
10056 {
10057 PyThreadState* __tstate = wxPyBeginAllowThreads();
10058 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
10059
10060 wxPyEndAllowThreads(__tstate);
10061 if (PyErr_Occurred()) SWIG_fail;
10062 }
36ed4f51
RD
10063 {
10064 resultobj = SWIG_From_int((int)(result));
10065 }
d55e5bfc
RD
10066 return resultobj;
10067 fail:
10068 return NULL;
10069}
10070
10071
c370783e 10072static PyObject *_wrap_TextCtrl_GetLineText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10073 PyObject *resultobj;
10074 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10075 long arg2 ;
10076 wxString result;
10077 PyObject * obj0 = 0 ;
10078 PyObject * obj1 = 0 ;
10079 char *kwnames[] = {
10080 (char *) "self",(char *) "lineNo", NULL
10081 };
10082
10083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineText",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10084 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10085 if (SWIG_arg_fail(1)) SWIG_fail;
10086 {
10087 arg2 = (long)(SWIG_As_long(obj1));
10088 if (SWIG_arg_fail(2)) SWIG_fail;
10089 }
d55e5bfc
RD
10090 {
10091 PyThreadState* __tstate = wxPyBeginAllowThreads();
10092 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
10093
10094 wxPyEndAllowThreads(__tstate);
10095 if (PyErr_Occurred()) SWIG_fail;
10096 }
10097 {
10098#if wxUSE_UNICODE
10099 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10100#else
10101 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10102#endif
10103 }
10104 return resultobj;
10105 fail:
10106 return NULL;
10107}
10108
10109
c370783e 10110static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10111 PyObject *resultobj;
10112 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10113 int result;
10114 PyObject * obj0 = 0 ;
10115 char *kwnames[] = {
10116 (char *) "self", NULL
10117 };
10118
10119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetNumberOfLines",kwnames,&obj0)) goto fail;
36ed4f51
RD
10120 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10121 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10122 {
10123 PyThreadState* __tstate = wxPyBeginAllowThreads();
10124 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
10125
10126 wxPyEndAllowThreads(__tstate);
10127 if (PyErr_Occurred()) SWIG_fail;
10128 }
36ed4f51
RD
10129 {
10130 resultobj = SWIG_From_int((int)(result));
10131 }
d55e5bfc
RD
10132 return resultobj;
10133 fail:
10134 return NULL;
10135}
10136
10137
c370783e 10138static PyObject *_wrap_TextCtrl_IsModified(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10139 PyObject *resultobj;
10140 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10141 bool result;
10142 PyObject * obj0 = 0 ;
10143 char *kwnames[] = {
10144 (char *) "self", NULL
10145 };
10146
10147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsModified",kwnames,&obj0)) goto fail;
36ed4f51
RD
10148 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10149 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10150 {
10151 PyThreadState* __tstate = wxPyBeginAllowThreads();
10152 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
10153
10154 wxPyEndAllowThreads(__tstate);
10155 if (PyErr_Occurred()) SWIG_fail;
10156 }
10157 {
10158 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10159 }
10160 return resultobj;
10161 fail:
10162 return NULL;
10163}
10164
10165
c370783e 10166static PyObject *_wrap_TextCtrl_IsEditable(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10167 PyObject *resultobj;
10168 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10169 bool result;
10170 PyObject * obj0 = 0 ;
10171 char *kwnames[] = {
10172 (char *) "self", NULL
10173 };
10174
10175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsEditable",kwnames,&obj0)) goto fail;
36ed4f51
RD
10176 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10177 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10178 {
10179 PyThreadState* __tstate = wxPyBeginAllowThreads();
10180 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
10181
10182 wxPyEndAllowThreads(__tstate);
10183 if (PyErr_Occurred()) SWIG_fail;
10184 }
10185 {
10186 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10187 }
10188 return resultobj;
10189 fail:
10190 return NULL;
10191}
10192
10193
c370783e 10194static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10195 PyObject *resultobj;
10196 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10197 bool result;
10198 PyObject * obj0 = 0 ;
10199 char *kwnames[] = {
10200 (char *) "self", NULL
10201 };
10202
10203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsSingleLine",kwnames,&obj0)) goto fail;
36ed4f51
RD
10204 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10205 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10206 {
10207 PyThreadState* __tstate = wxPyBeginAllowThreads();
10208 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
10209
10210 wxPyEndAllowThreads(__tstate);
10211 if (PyErr_Occurred()) SWIG_fail;
10212 }
10213 {
10214 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10215 }
10216 return resultobj;
10217 fail:
10218 return NULL;
10219}
10220
10221
c370783e 10222static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10223 PyObject *resultobj;
10224 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10225 bool result;
10226 PyObject * obj0 = 0 ;
10227 char *kwnames[] = {
10228 (char *) "self", NULL
10229 };
10230
10231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsMultiLine",kwnames,&obj0)) goto fail;
36ed4f51
RD
10232 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10233 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10234 {
10235 PyThreadState* __tstate = wxPyBeginAllowThreads();
10236 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
10237
10238 wxPyEndAllowThreads(__tstate);
10239 if (PyErr_Occurred()) SWIG_fail;
10240 }
10241 {
10242 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10243 }
10244 return resultobj;
10245 fail:
10246 return NULL;
10247}
10248
10249
c370783e 10250static PyObject *_wrap_TextCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10251 PyObject *resultobj;
10252 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10253 long *arg2 = (long *) 0 ;
10254 long *arg3 = (long *) 0 ;
10255 long temp2 ;
c370783e 10256 int res2 = 0 ;
d55e5bfc 10257 long temp3 ;
c370783e 10258 int res3 = 0 ;
d55e5bfc
RD
10259 PyObject * obj0 = 0 ;
10260 char *kwnames[] = {
10261 (char *) "self", NULL
10262 };
10263
c370783e
RD
10264 arg2 = &temp2; res2 = SWIG_NEWOBJ;
10265 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 10266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetSelection",kwnames,&obj0)) goto fail;
36ed4f51
RD
10267 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10268 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10269 {
10270 PyThreadState* __tstate = wxPyBeginAllowThreads();
10271 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
10272
10273 wxPyEndAllowThreads(__tstate);
10274 if (PyErr_Occurred()) SWIG_fail;
10275 }
10276 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
10277 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
10278 SWIG_From_long((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, 0)));
10279 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
10280 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
d55e5bfc
RD
10281 return resultobj;
10282 fail:
10283 return NULL;
10284}
10285
10286
c370783e 10287static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10288 PyObject *resultobj;
10289 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10290 wxString result;
10291 PyObject * obj0 = 0 ;
10292 char *kwnames[] = {
10293 (char *) "self", NULL
10294 };
10295
10296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetStringSelection",kwnames,&obj0)) goto fail;
36ed4f51
RD
10297 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10298 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10299 {
10300 PyThreadState* __tstate = wxPyBeginAllowThreads();
10301 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
10302
10303 wxPyEndAllowThreads(__tstate);
10304 if (PyErr_Occurred()) SWIG_fail;
10305 }
10306 {
10307#if wxUSE_UNICODE
10308 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10309#else
10310 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10311#endif
10312 }
10313 return resultobj;
10314 fail:
10315 return NULL;
10316}
10317
10318
c370783e 10319static PyObject *_wrap_TextCtrl_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10320 PyObject *resultobj;
10321 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10322 PyObject * obj0 = 0 ;
10323 char *kwnames[] = {
10324 (char *) "self", NULL
10325 };
10326
10327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Clear",kwnames,&obj0)) goto fail;
36ed4f51
RD
10328 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10329 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10330 {
10331 PyThreadState* __tstate = wxPyBeginAllowThreads();
10332 (arg1)->Clear();
10333
10334 wxPyEndAllowThreads(__tstate);
10335 if (PyErr_Occurred()) SWIG_fail;
10336 }
10337 Py_INCREF(Py_None); resultobj = Py_None;
10338 return resultobj;
10339 fail:
10340 return NULL;
10341}
10342
10343
c370783e 10344static PyObject *_wrap_TextCtrl_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10345 PyObject *resultobj;
10346 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10347 long arg2 ;
10348 long arg3 ;
10349 wxString *arg4 = 0 ;
b411df4a 10350 bool temp4 = false ;
d55e5bfc
RD
10351 PyObject * obj0 = 0 ;
10352 PyObject * obj1 = 0 ;
10353 PyObject * obj2 = 0 ;
10354 PyObject * obj3 = 0 ;
10355 char *kwnames[] = {
10356 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
10357 };
10358
10359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
10360 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10361 if (SWIG_arg_fail(1)) SWIG_fail;
10362 {
10363 arg2 = (long)(SWIG_As_long(obj1));
10364 if (SWIG_arg_fail(2)) SWIG_fail;
10365 }
10366 {
10367 arg3 = (long)(SWIG_As_long(obj2));
10368 if (SWIG_arg_fail(3)) SWIG_fail;
10369 }
d55e5bfc
RD
10370 {
10371 arg4 = wxString_in_helper(obj3);
10372 if (arg4 == NULL) SWIG_fail;
b411df4a 10373 temp4 = true;
d55e5bfc
RD
10374 }
10375 {
10376 PyThreadState* __tstate = wxPyBeginAllowThreads();
10377 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
10378
10379 wxPyEndAllowThreads(__tstate);
10380 if (PyErr_Occurred()) SWIG_fail;
10381 }
10382 Py_INCREF(Py_None); resultobj = Py_None;
10383 {
10384 if (temp4)
10385 delete arg4;
10386 }
10387 return resultobj;
10388 fail:
10389 {
10390 if (temp4)
10391 delete arg4;
10392 }
10393 return NULL;
10394}
10395
10396
c370783e 10397static PyObject *_wrap_TextCtrl_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10398 PyObject *resultobj;
10399 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10400 long arg2 ;
10401 long arg3 ;
10402 PyObject * obj0 = 0 ;
10403 PyObject * obj1 = 0 ;
10404 PyObject * obj2 = 0 ;
10405 char *kwnames[] = {
10406 (char *) "self",(char *) "from",(char *) "to", NULL
10407 };
10408
10409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
10410 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10411 if (SWIG_arg_fail(1)) SWIG_fail;
10412 {
10413 arg2 = (long)(SWIG_As_long(obj1));
10414 if (SWIG_arg_fail(2)) SWIG_fail;
10415 }
10416 {
10417 arg3 = (long)(SWIG_As_long(obj2));
10418 if (SWIG_arg_fail(3)) SWIG_fail;
10419 }
d55e5bfc
RD
10420 {
10421 PyThreadState* __tstate = wxPyBeginAllowThreads();
10422 (arg1)->Remove(arg2,arg3);
10423
10424 wxPyEndAllowThreads(__tstate);
10425 if (PyErr_Occurred()) SWIG_fail;
10426 }
10427 Py_INCREF(Py_None); resultobj = Py_None;
10428 return resultobj;
10429 fail:
10430 return NULL;
10431}
10432
10433
c370783e 10434static PyObject *_wrap_TextCtrl_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10435 PyObject *resultobj;
10436 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10437 wxString *arg2 = 0 ;
10438 bool result;
b411df4a 10439 bool temp2 = false ;
d55e5bfc
RD
10440 PyObject * obj0 = 0 ;
10441 PyObject * obj1 = 0 ;
10442 char *kwnames[] = {
10443 (char *) "self",(char *) "file", NULL
10444 };
10445
10446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10447 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10448 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10449 {
10450 arg2 = wxString_in_helper(obj1);
10451 if (arg2 == NULL) SWIG_fail;
b411df4a 10452 temp2 = true;
d55e5bfc
RD
10453 }
10454 {
10455 PyThreadState* __tstate = wxPyBeginAllowThreads();
10456 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
10457
10458 wxPyEndAllowThreads(__tstate);
10459 if (PyErr_Occurred()) SWIG_fail;
10460 }
10461 {
10462 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10463 }
10464 {
10465 if (temp2)
10466 delete arg2;
10467 }
10468 return resultobj;
10469 fail:
10470 {
10471 if (temp2)
10472 delete arg2;
10473 }
10474 return NULL;
10475}
10476
10477
c370783e 10478static PyObject *_wrap_TextCtrl_SaveFile(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10479 PyObject *resultobj;
10480 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10481 wxString const &arg2_defvalue = wxPyEmptyString ;
10482 wxString *arg2 = (wxString *) &arg2_defvalue ;
10483 bool result;
b411df4a 10484 bool temp2 = false ;
d55e5bfc
RD
10485 PyObject * obj0 = 0 ;
10486 PyObject * obj1 = 0 ;
10487 char *kwnames[] = {
10488 (char *) "self",(char *) "file", NULL
10489 };
10490
10491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10492 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10493 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10494 if (obj1) {
10495 {
10496 arg2 = wxString_in_helper(obj1);
10497 if (arg2 == NULL) SWIG_fail;
b411df4a 10498 temp2 = true;
d55e5bfc
RD
10499 }
10500 }
10501 {
10502 PyThreadState* __tstate = wxPyBeginAllowThreads();
10503 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
10504
10505 wxPyEndAllowThreads(__tstate);
10506 if (PyErr_Occurred()) SWIG_fail;
10507 }
10508 {
10509 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10510 }
10511 {
10512 if (temp2)
10513 delete arg2;
10514 }
10515 return resultobj;
10516 fail:
10517 {
10518 if (temp2)
10519 delete arg2;
10520 }
10521 return NULL;
10522}
10523
10524
c370783e 10525static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10526 PyObject *resultobj;
10527 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10528 PyObject * obj0 = 0 ;
10529 char *kwnames[] = {
10530 (char *) "self", NULL
10531 };
10532
10533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_MarkDirty",kwnames,&obj0)) goto fail;
36ed4f51
RD
10534 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10535 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10536 {
10537 PyThreadState* __tstate = wxPyBeginAllowThreads();
10538 (arg1)->MarkDirty();
10539
10540 wxPyEndAllowThreads(__tstate);
10541 if (PyErr_Occurred()) SWIG_fail;
10542 }
10543 Py_INCREF(Py_None); resultobj = Py_None;
10544 return resultobj;
10545 fail:
10546 return NULL;
10547}
10548
10549
c370783e 10550static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10551 PyObject *resultobj;
10552 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10553 PyObject * obj0 = 0 ;
10554 char *kwnames[] = {
10555 (char *) "self", NULL
10556 };
10557
10558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_DiscardEdits",kwnames,&obj0)) goto fail;
36ed4f51
RD
10559 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10560 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10561 {
10562 PyThreadState* __tstate = wxPyBeginAllowThreads();
10563 (arg1)->DiscardEdits();
10564
10565 wxPyEndAllowThreads(__tstate);
10566 if (PyErr_Occurred()) SWIG_fail;
10567 }
10568 Py_INCREF(Py_None); resultobj = Py_None;
10569 return resultobj;
10570 fail:
10571 return NULL;
10572}
10573
10574
c370783e 10575static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10576 PyObject *resultobj;
10577 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10578 unsigned long arg2 ;
10579 PyObject * obj0 = 0 ;
10580 PyObject * obj1 = 0 ;
10581 char *kwnames[] = {
10582 (char *) "self",(char *) "len", NULL
10583 };
10584
10585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10586 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10587 if (SWIG_arg_fail(1)) SWIG_fail;
10588 {
10589 arg2 = (unsigned long)(SWIG_As_unsigned_SS_long(obj1));
10590 if (SWIG_arg_fail(2)) SWIG_fail;
10591 }
d55e5bfc
RD
10592 {
10593 PyThreadState* __tstate = wxPyBeginAllowThreads();
10594 (arg1)->SetMaxLength(arg2);
10595
10596 wxPyEndAllowThreads(__tstate);
10597 if (PyErr_Occurred()) SWIG_fail;
10598 }
10599 Py_INCREF(Py_None); resultobj = Py_None;
10600 return resultobj;
10601 fail:
10602 return NULL;
10603}
10604
10605
c370783e 10606static PyObject *_wrap_TextCtrl_WriteText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10607 PyObject *resultobj;
10608 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10609 wxString *arg2 = 0 ;
b411df4a 10610 bool temp2 = false ;
d55e5bfc
RD
10611 PyObject * obj0 = 0 ;
10612 PyObject * obj1 = 0 ;
10613 char *kwnames[] = {
10614 (char *) "self",(char *) "text", NULL
10615 };
10616
10617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10618 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10619 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10620 {
10621 arg2 = wxString_in_helper(obj1);
10622 if (arg2 == NULL) SWIG_fail;
b411df4a 10623 temp2 = true;
d55e5bfc
RD
10624 }
10625 {
10626 PyThreadState* __tstate = wxPyBeginAllowThreads();
10627 (arg1)->WriteText((wxString const &)*arg2);
10628
10629 wxPyEndAllowThreads(__tstate);
10630 if (PyErr_Occurred()) SWIG_fail;
10631 }
10632 Py_INCREF(Py_None); resultobj = Py_None;
10633 {
10634 if (temp2)
10635 delete arg2;
10636 }
10637 return resultobj;
10638 fail:
10639 {
10640 if (temp2)
10641 delete arg2;
10642 }
10643 return NULL;
10644}
10645
10646
c370783e 10647static PyObject *_wrap_TextCtrl_AppendText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10648 PyObject *resultobj;
10649 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10650 wxString *arg2 = 0 ;
b411df4a 10651 bool temp2 = false ;
d55e5bfc
RD
10652 PyObject * obj0 = 0 ;
10653 PyObject * obj1 = 0 ;
10654 char *kwnames[] = {
10655 (char *) "self",(char *) "text", NULL
10656 };
10657
10658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10659 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10660 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10661 {
10662 arg2 = wxString_in_helper(obj1);
10663 if (arg2 == NULL) SWIG_fail;
b411df4a 10664 temp2 = true;
d55e5bfc
RD
10665 }
10666 {
10667 PyThreadState* __tstate = wxPyBeginAllowThreads();
10668 (arg1)->AppendText((wxString const &)*arg2);
10669
10670 wxPyEndAllowThreads(__tstate);
10671 if (PyErr_Occurred()) SWIG_fail;
10672 }
10673 Py_INCREF(Py_None); resultobj = Py_None;
10674 {
10675 if (temp2)
10676 delete arg2;
10677 }
10678 return resultobj;
10679 fail:
10680 {
10681 if (temp2)
10682 delete arg2;
10683 }
10684 return NULL;
10685}
10686
10687
c370783e 10688static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10689 PyObject *resultobj;
10690 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10691 wxKeyEvent *arg2 = 0 ;
10692 bool result;
10693 PyObject * obj0 = 0 ;
10694 PyObject * obj1 = 0 ;
10695 char *kwnames[] = {
10696 (char *) "self",(char *) "event", NULL
10697 };
10698
10699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10700 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10701 if (SWIG_arg_fail(1)) SWIG_fail;
10702 {
10703 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
10704 if (SWIG_arg_fail(2)) SWIG_fail;
10705 if (arg2 == NULL) {
10706 SWIG_null_ref("wxKeyEvent");
10707 }
10708 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
10709 }
10710 {
10711 PyThreadState* __tstate = wxPyBeginAllowThreads();
10712 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
10713
10714 wxPyEndAllowThreads(__tstate);
10715 if (PyErr_Occurred()) SWIG_fail;
10716 }
10717 {
10718 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10719 }
10720 return resultobj;
10721 fail:
10722 return NULL;
10723}
10724
10725
c370783e 10726static PyObject *_wrap_TextCtrl_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10727 PyObject *resultobj;
10728 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10729 long arg2 ;
10730 long arg3 ;
10731 wxTextAttr *arg4 = 0 ;
10732 bool result;
10733 PyObject * obj0 = 0 ;
10734 PyObject * obj1 = 0 ;
10735 PyObject * obj2 = 0 ;
10736 PyObject * obj3 = 0 ;
10737 char *kwnames[] = {
10738 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
10739 };
10740
10741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_SetStyle",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
10742 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10743 if (SWIG_arg_fail(1)) SWIG_fail;
10744 {
10745 arg2 = (long)(SWIG_As_long(obj1));
10746 if (SWIG_arg_fail(2)) SWIG_fail;
10747 }
10748 {
10749 arg3 = (long)(SWIG_As_long(obj2));
10750 if (SWIG_arg_fail(3)) SWIG_fail;
10751 }
10752 {
10753 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
10754 if (SWIG_arg_fail(4)) SWIG_fail;
10755 if (arg4 == NULL) {
10756 SWIG_null_ref("wxTextAttr");
10757 }
10758 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc
RD
10759 }
10760 {
10761 PyThreadState* __tstate = wxPyBeginAllowThreads();
10762 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
10763
10764 wxPyEndAllowThreads(__tstate);
10765 if (PyErr_Occurred()) SWIG_fail;
10766 }
10767 {
10768 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10769 }
10770 return resultobj;
10771 fail:
10772 return NULL;
10773}
10774
10775
c370783e 10776static PyObject *_wrap_TextCtrl_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10777 PyObject *resultobj;
10778 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10779 long arg2 ;
10780 wxTextAttr *arg3 = 0 ;
10781 bool result;
10782 PyObject * obj0 = 0 ;
10783 PyObject * obj1 = 0 ;
10784 PyObject * obj2 = 0 ;
10785 char *kwnames[] = {
10786 (char *) "self",(char *) "position",(char *) "style", NULL
10787 };
10788
10789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
10790 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10791 if (SWIG_arg_fail(1)) SWIG_fail;
10792 {
10793 arg2 = (long)(SWIG_As_long(obj1));
10794 if (SWIG_arg_fail(2)) SWIG_fail;
10795 }
10796 {
10797 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
10798 if (SWIG_arg_fail(3)) SWIG_fail;
10799 if (arg3 == NULL) {
10800 SWIG_null_ref("wxTextAttr");
10801 }
10802 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
10803 }
10804 {
10805 PyThreadState* __tstate = wxPyBeginAllowThreads();
10806 result = (bool)(arg1)->GetStyle(arg2,*arg3);
10807
10808 wxPyEndAllowThreads(__tstate);
10809 if (PyErr_Occurred()) SWIG_fail;
10810 }
10811 {
10812 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10813 }
10814 return resultobj;
10815 fail:
10816 return NULL;
10817}
10818
10819
c370783e 10820static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10821 PyObject *resultobj;
10822 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10823 wxTextAttr *arg2 = 0 ;
10824 bool result;
10825 PyObject * obj0 = 0 ;
10826 PyObject * obj1 = 0 ;
10827 char *kwnames[] = {
10828 (char *) "self",(char *) "style", NULL
10829 };
10830
10831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10832 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10833 if (SWIG_arg_fail(1)) SWIG_fail;
10834 {
10835 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
10836 if (SWIG_arg_fail(2)) SWIG_fail;
10837 if (arg2 == NULL) {
10838 SWIG_null_ref("wxTextAttr");
10839 }
10840 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
10841 }
10842 {
10843 PyThreadState* __tstate = wxPyBeginAllowThreads();
10844 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
10845
10846 wxPyEndAllowThreads(__tstate);
10847 if (PyErr_Occurred()) SWIG_fail;
10848 }
10849 {
10850 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10851 }
10852 return resultobj;
10853 fail:
10854 return NULL;
10855}
10856
10857
c370783e 10858static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10859 PyObject *resultobj;
10860 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10861 wxTextAttr *result;
10862 PyObject * obj0 = 0 ;
10863 char *kwnames[] = {
10864 (char *) "self", NULL
10865 };
10866
10867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetDefaultStyle",kwnames,&obj0)) goto fail;
36ed4f51
RD
10868 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10869 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10870 {
10871 PyThreadState* __tstate = wxPyBeginAllowThreads();
10872 {
10873 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
10874 result = (wxTextAttr *) &_result_ref;
10875 }
10876
10877 wxPyEndAllowThreads(__tstate);
10878 if (PyErr_Occurred()) SWIG_fail;
10879 }
10880 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 0);
10881 return resultobj;
10882 fail:
10883 return NULL;
10884}
10885
10886
c370783e 10887static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10888 PyObject *resultobj;
10889 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10890 long arg2 ;
10891 long arg3 ;
10892 long result;
10893 PyObject * obj0 = 0 ;
10894 PyObject * obj1 = 0 ;
10895 PyObject * obj2 = 0 ;
10896 char *kwnames[] = {
10897 (char *) "self",(char *) "x",(char *) "y", NULL
10898 };
10899
10900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_XYToPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
10901 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10902 if (SWIG_arg_fail(1)) SWIG_fail;
10903 {
10904 arg2 = (long)(SWIG_As_long(obj1));
10905 if (SWIG_arg_fail(2)) SWIG_fail;
10906 }
10907 {
10908 arg3 = (long)(SWIG_As_long(obj2));
10909 if (SWIG_arg_fail(3)) SWIG_fail;
10910 }
d55e5bfc
RD
10911 {
10912 PyThreadState* __tstate = wxPyBeginAllowThreads();
10913 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
10914
10915 wxPyEndAllowThreads(__tstate);
10916 if (PyErr_Occurred()) SWIG_fail;
10917 }
36ed4f51
RD
10918 {
10919 resultobj = SWIG_From_long((long)(result));
10920 }
d55e5bfc
RD
10921 return resultobj;
10922 fail:
10923 return NULL;
10924}
10925
10926
c370783e 10927static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10928 PyObject *resultobj;
10929 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10930 long arg2 ;
10931 long *arg3 = (long *) 0 ;
10932 long *arg4 = (long *) 0 ;
10933 long temp3 ;
c370783e 10934 int res3 = 0 ;
d55e5bfc 10935 long temp4 ;
c370783e 10936 int res4 = 0 ;
d55e5bfc
RD
10937 PyObject * obj0 = 0 ;
10938 PyObject * obj1 = 0 ;
10939 char *kwnames[] = {
10940 (char *) "self",(char *) "pos", NULL
10941 };
10942
c370783e
RD
10943 arg3 = &temp3; res3 = SWIG_NEWOBJ;
10944 arg4 = &temp4; res4 = SWIG_NEWOBJ;
d55e5bfc 10945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_PositionToXY",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10946 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10947 if (SWIG_arg_fail(1)) SWIG_fail;
10948 {
10949 arg2 = (long)(SWIG_As_long(obj1));
10950 if (SWIG_arg_fail(2)) SWIG_fail;
10951 }
d55e5bfc
RD
10952 {
10953 PyThreadState* __tstate = wxPyBeginAllowThreads();
10954 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
10955
10956 wxPyEndAllowThreads(__tstate);
10957 if (PyErr_Occurred()) SWIG_fail;
10958 }
10959 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
10960 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
10961 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
10962 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
10963 SWIG_From_long((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, 0)));
d55e5bfc
RD
10964 return resultobj;
10965 fail:
10966 return NULL;
10967}
10968
10969
c370783e 10970static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10971 PyObject *resultobj;
10972 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10973 long arg2 ;
10974 PyObject * obj0 = 0 ;
10975 PyObject * obj1 = 0 ;
10976 char *kwnames[] = {
10977 (char *) "self",(char *) "pos", NULL
10978 };
10979
10980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ShowPosition",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10981 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10982 if (SWIG_arg_fail(1)) SWIG_fail;
10983 {
10984 arg2 = (long)(SWIG_As_long(obj1));
10985 if (SWIG_arg_fail(2)) SWIG_fail;
10986 }
d55e5bfc
RD
10987 {
10988 PyThreadState* __tstate = wxPyBeginAllowThreads();
10989 (arg1)->ShowPosition(arg2);
10990
10991 wxPyEndAllowThreads(__tstate);
10992 if (PyErr_Occurred()) SWIG_fail;
10993 }
10994 Py_INCREF(Py_None); resultobj = Py_None;
10995 return resultobj;
10996 fail:
10997 return NULL;
10998}
10999
11000
c370783e 11001static PyObject *_wrap_TextCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11002 PyObject *resultobj;
11003 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11004 wxPoint *arg2 = 0 ;
11005 long *arg3 = (long *) 0 ;
11006 long *arg4 = (long *) 0 ;
36ed4f51 11007 wxTextCtrlHitTestResult result;
d55e5bfc
RD
11008 wxPoint temp2 ;
11009 long temp3 ;
c370783e 11010 int res3 = 0 ;
d55e5bfc 11011 long temp4 ;
c370783e 11012 int res4 = 0 ;
d55e5bfc
RD
11013 PyObject * obj0 = 0 ;
11014 PyObject * obj1 = 0 ;
11015 char *kwnames[] = {
11016 (char *) "self",(char *) "pt", NULL
11017 };
11018
c370783e
RD
11019 arg3 = &temp3; res3 = SWIG_NEWOBJ;
11020 arg4 = &temp4; res4 = SWIG_NEWOBJ;
d55e5bfc 11021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11022 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11023 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11024 {
11025 arg2 = &temp2;
11026 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11027 }
11028 {
11029 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 11030 result = (wxTextCtrlHitTestResult)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3,arg4);
d55e5bfc
RD
11031
11032 wxPyEndAllowThreads(__tstate);
11033 if (PyErr_Occurred()) SWIG_fail;
11034 }
36ed4f51 11035 resultobj = SWIG_From_int((result));
c370783e
RD
11036 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
11037 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
11038 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
11039 SWIG_From_long((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, 0)));
d55e5bfc
RD
11040 return resultobj;
11041 fail:
11042 return NULL;
11043}
11044
11045
c370783e 11046static PyObject *_wrap_TextCtrl_HitTestPos(PyObject *, PyObject *args, PyObject *kwargs) {
4896ac9e
RD
11047 PyObject *resultobj;
11048 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11049 wxPoint *arg2 = 0 ;
11050 long *arg3 = (long *) 0 ;
36ed4f51 11051 wxTextCtrlHitTestResult result;
4896ac9e
RD
11052 wxPoint temp2 ;
11053 long temp3 ;
c370783e 11054 int res3 = 0 ;
4896ac9e
RD
11055 PyObject * obj0 = 0 ;
11056 PyObject * obj1 = 0 ;
11057 char *kwnames[] = {
11058 (char *) "self",(char *) "pt", NULL
11059 };
11060
c370783e 11061 arg3 = &temp3; res3 = SWIG_NEWOBJ;
4896ac9e 11062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTestPos",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11063 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11064 if (SWIG_arg_fail(1)) SWIG_fail;
4896ac9e
RD
11065 {
11066 arg2 = &temp2;
11067 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11068 }
11069 {
11070 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 11071 result = (wxTextCtrlHitTestResult)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
4896ac9e
RD
11072
11073 wxPyEndAllowThreads(__tstate);
11074 if (PyErr_Occurred()) SWIG_fail;
11075 }
36ed4f51 11076 resultobj = SWIG_From_int((result));
c370783e
RD
11077 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
11078 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
4896ac9e
RD
11079 return resultobj;
11080 fail:
11081 return NULL;
11082}
11083
11084
c370783e 11085static PyObject *_wrap_TextCtrl_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11086 PyObject *resultobj;
11087 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11088 PyObject * obj0 = 0 ;
11089 char *kwnames[] = {
11090 (char *) "self", NULL
11091 };
11092
11093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Copy",kwnames,&obj0)) goto fail;
36ed4f51
RD
11094 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11095 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11096 {
11097 PyThreadState* __tstate = wxPyBeginAllowThreads();
11098 (arg1)->Copy();
11099
11100 wxPyEndAllowThreads(__tstate);
11101 if (PyErr_Occurred()) SWIG_fail;
11102 }
11103 Py_INCREF(Py_None); resultobj = Py_None;
11104 return resultobj;
11105 fail:
11106 return NULL;
11107}
11108
11109
c370783e 11110static PyObject *_wrap_TextCtrl_Cut(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11111 PyObject *resultobj;
11112 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11113 PyObject * obj0 = 0 ;
11114 char *kwnames[] = {
11115 (char *) "self", NULL
11116 };
11117
11118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Cut",kwnames,&obj0)) goto fail;
36ed4f51
RD
11119 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11120 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11121 {
11122 PyThreadState* __tstate = wxPyBeginAllowThreads();
11123 (arg1)->Cut();
11124
11125 wxPyEndAllowThreads(__tstate);
11126 if (PyErr_Occurred()) SWIG_fail;
11127 }
11128 Py_INCREF(Py_None); resultobj = Py_None;
11129 return resultobj;
11130 fail:
11131 return NULL;
11132}
11133
11134
c370783e 11135static PyObject *_wrap_TextCtrl_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11136 PyObject *resultobj;
11137 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11138 PyObject * obj0 = 0 ;
11139 char *kwnames[] = {
11140 (char *) "self", NULL
11141 };
11142
11143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Paste",kwnames,&obj0)) goto fail;
36ed4f51
RD
11144 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11145 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11146 {
11147 PyThreadState* __tstate = wxPyBeginAllowThreads();
11148 (arg1)->Paste();
11149
11150 wxPyEndAllowThreads(__tstate);
11151 if (PyErr_Occurred()) SWIG_fail;
11152 }
11153 Py_INCREF(Py_None); resultobj = Py_None;
11154 return resultobj;
11155 fail:
11156 return NULL;
11157}
11158
11159
c370783e 11160static PyObject *_wrap_TextCtrl_CanCopy(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11161 PyObject *resultobj;
11162 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11163 bool result;
11164 PyObject * obj0 = 0 ;
11165 char *kwnames[] = {
11166 (char *) "self", NULL
11167 };
11168
11169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCopy",kwnames,&obj0)) goto fail;
36ed4f51
RD
11170 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11171 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11172 {
11173 PyThreadState* __tstate = wxPyBeginAllowThreads();
11174 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
11175
11176 wxPyEndAllowThreads(__tstate);
11177 if (PyErr_Occurred()) SWIG_fail;
11178 }
11179 {
11180 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11181 }
11182 return resultobj;
11183 fail:
11184 return NULL;
11185}
11186
11187
c370783e 11188static PyObject *_wrap_TextCtrl_CanCut(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11189 PyObject *resultobj;
11190 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11191 bool result;
11192 PyObject * obj0 = 0 ;
11193 char *kwnames[] = {
11194 (char *) "self", NULL
11195 };
11196
11197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCut",kwnames,&obj0)) goto fail;
36ed4f51
RD
11198 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11199 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11200 {
11201 PyThreadState* __tstate = wxPyBeginAllowThreads();
11202 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
11203
11204 wxPyEndAllowThreads(__tstate);
11205 if (PyErr_Occurred()) SWIG_fail;
11206 }
11207 {
11208 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11209 }
11210 return resultobj;
11211 fail:
11212 return NULL;
11213}
11214
11215
c370783e 11216static PyObject *_wrap_TextCtrl_CanPaste(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11217 PyObject *resultobj;
11218 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11219 bool result;
11220 PyObject * obj0 = 0 ;
11221 char *kwnames[] = {
11222 (char *) "self", NULL
11223 };
11224
11225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanPaste",kwnames,&obj0)) goto fail;
36ed4f51
RD
11226 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11227 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11228 {
11229 PyThreadState* __tstate = wxPyBeginAllowThreads();
11230 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
11231
11232 wxPyEndAllowThreads(__tstate);
11233 if (PyErr_Occurred()) SWIG_fail;
11234 }
11235 {
11236 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11237 }
11238 return resultobj;
11239 fail:
11240 return NULL;
11241}
11242
11243
c370783e 11244static PyObject *_wrap_TextCtrl_Undo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11245 PyObject *resultobj;
11246 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11247 PyObject * obj0 = 0 ;
11248 char *kwnames[] = {
11249 (char *) "self", NULL
11250 };
11251
11252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Undo",kwnames,&obj0)) goto fail;
36ed4f51
RD
11253 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11254 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11255 {
11256 PyThreadState* __tstate = wxPyBeginAllowThreads();
11257 (arg1)->Undo();
11258
11259 wxPyEndAllowThreads(__tstate);
11260 if (PyErr_Occurred()) SWIG_fail;
11261 }
11262 Py_INCREF(Py_None); resultobj = Py_None;
11263 return resultobj;
11264 fail:
11265 return NULL;
11266}
11267
11268
c370783e 11269static PyObject *_wrap_TextCtrl_Redo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11270 PyObject *resultobj;
11271 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11272 PyObject * obj0 = 0 ;
11273 char *kwnames[] = {
11274 (char *) "self", NULL
11275 };
11276
11277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Redo",kwnames,&obj0)) goto fail;
36ed4f51
RD
11278 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11279 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11280 {
11281 PyThreadState* __tstate = wxPyBeginAllowThreads();
11282 (arg1)->Redo();
11283
11284 wxPyEndAllowThreads(__tstate);
11285 if (PyErr_Occurred()) SWIG_fail;
11286 }
11287 Py_INCREF(Py_None); resultobj = Py_None;
11288 return resultobj;
11289 fail:
11290 return NULL;
11291}
11292
11293
c370783e 11294static PyObject *_wrap_TextCtrl_CanUndo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11295 PyObject *resultobj;
11296 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11297 bool result;
11298 PyObject * obj0 = 0 ;
11299 char *kwnames[] = {
11300 (char *) "self", NULL
11301 };
11302
11303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanUndo",kwnames,&obj0)) goto fail;
36ed4f51
RD
11304 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11305 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11306 {
11307 PyThreadState* __tstate = wxPyBeginAllowThreads();
11308 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
11309
11310 wxPyEndAllowThreads(__tstate);
11311 if (PyErr_Occurred()) SWIG_fail;
11312 }
11313 {
11314 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11315 }
11316 return resultobj;
11317 fail:
11318 return NULL;
11319}
11320
11321
c370783e 11322static PyObject *_wrap_TextCtrl_CanRedo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11323 PyObject *resultobj;
11324 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11325 bool result;
11326 PyObject * obj0 = 0 ;
11327 char *kwnames[] = {
11328 (char *) "self", NULL
11329 };
11330
11331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanRedo",kwnames,&obj0)) goto fail;
36ed4f51
RD
11332 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11333 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11334 {
11335 PyThreadState* __tstate = wxPyBeginAllowThreads();
11336 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
11337
11338 wxPyEndAllowThreads(__tstate);
11339 if (PyErr_Occurred()) SWIG_fail;
11340 }
11341 {
11342 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11343 }
11344 return resultobj;
11345 fail:
11346 return NULL;
11347}
11348
11349
c370783e 11350static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11351 PyObject *resultobj;
11352 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11353 long arg2 ;
11354 PyObject * obj0 = 0 ;
11355 PyObject * obj1 = 0 ;
11356 char *kwnames[] = {
11357 (char *) "self",(char *) "pos", NULL
11358 };
11359
11360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11361 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11362 if (SWIG_arg_fail(1)) SWIG_fail;
11363 {
11364 arg2 = (long)(SWIG_As_long(obj1));
11365 if (SWIG_arg_fail(2)) SWIG_fail;
11366 }
d55e5bfc
RD
11367 {
11368 PyThreadState* __tstate = wxPyBeginAllowThreads();
11369 (arg1)->SetInsertionPoint(arg2);
11370
11371 wxPyEndAllowThreads(__tstate);
11372 if (PyErr_Occurred()) SWIG_fail;
11373 }
11374 Py_INCREF(Py_None); resultobj = Py_None;
11375 return resultobj;
11376 fail:
11377 return NULL;
11378}
11379
11380
c370783e 11381static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11382 PyObject *resultobj;
11383 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11384 PyObject * obj0 = 0 ;
11385 char *kwnames[] = {
11386 (char *) "self", NULL
11387 };
11388
11389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
36ed4f51
RD
11390 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11391 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11392 {
11393 PyThreadState* __tstate = wxPyBeginAllowThreads();
11394 (arg1)->SetInsertionPointEnd();
11395
11396 wxPyEndAllowThreads(__tstate);
11397 if (PyErr_Occurred()) SWIG_fail;
11398 }
11399 Py_INCREF(Py_None); resultobj = Py_None;
11400 return resultobj;
11401 fail:
11402 return NULL;
11403}
11404
11405
c370783e 11406static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11407 PyObject *resultobj;
11408 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11409 long result;
11410 PyObject * obj0 = 0 ;
11411 char *kwnames[] = {
11412 (char *) "self", NULL
11413 };
11414
11415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetInsertionPoint",kwnames,&obj0)) goto fail;
36ed4f51
RD
11416 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11417 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11418 {
11419 PyThreadState* __tstate = wxPyBeginAllowThreads();
11420 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
11421
11422 wxPyEndAllowThreads(__tstate);
11423 if (PyErr_Occurred()) SWIG_fail;
11424 }
36ed4f51
RD
11425 {
11426 resultobj = SWIG_From_long((long)(result));
11427 }
d55e5bfc
RD
11428 return resultobj;
11429 fail:
11430 return NULL;
11431}
11432
11433
c370783e 11434static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11435 PyObject *resultobj;
11436 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11437 long result;
11438 PyObject * obj0 = 0 ;
11439 char *kwnames[] = {
11440 (char *) "self", NULL
11441 };
11442
11443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetLastPosition",kwnames,&obj0)) goto fail;
36ed4f51
RD
11444 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11445 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11446 {
11447 PyThreadState* __tstate = wxPyBeginAllowThreads();
11448 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
11449
11450 wxPyEndAllowThreads(__tstate);
11451 if (PyErr_Occurred()) SWIG_fail;
11452 }
36ed4f51
RD
11453 {
11454 resultobj = SWIG_From_long((long)(result));
11455 }
d55e5bfc
RD
11456 return resultobj;
11457 fail:
11458 return NULL;
11459}
11460
11461
c370783e 11462static PyObject *_wrap_TextCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11463 PyObject *resultobj;
11464 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11465 long arg2 ;
11466 long arg3 ;
11467 PyObject * obj0 = 0 ;
11468 PyObject * obj1 = 0 ;
11469 PyObject * obj2 = 0 ;
11470 char *kwnames[] = {
11471 (char *) "self",(char *) "from",(char *) "to", NULL
11472 };
11473
11474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
11475 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11476 if (SWIG_arg_fail(1)) SWIG_fail;
11477 {
11478 arg2 = (long)(SWIG_As_long(obj1));
11479 if (SWIG_arg_fail(2)) SWIG_fail;
11480 }
11481 {
11482 arg3 = (long)(SWIG_As_long(obj2));
11483 if (SWIG_arg_fail(3)) SWIG_fail;
11484 }
d55e5bfc
RD
11485 {
11486 PyThreadState* __tstate = wxPyBeginAllowThreads();
11487 (arg1)->SetSelection(arg2,arg3);
11488
11489 wxPyEndAllowThreads(__tstate);
11490 if (PyErr_Occurred()) SWIG_fail;
11491 }
11492 Py_INCREF(Py_None); resultobj = Py_None;
11493 return resultobj;
11494 fail:
11495 return NULL;
11496}
11497
11498
c370783e 11499static PyObject *_wrap_TextCtrl_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11500 PyObject *resultobj;
11501 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11502 PyObject * obj0 = 0 ;
11503 char *kwnames[] = {
11504 (char *) "self", NULL
11505 };
11506
11507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SelectAll",kwnames,&obj0)) goto fail;
36ed4f51
RD
11508 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11509 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11510 {
11511 PyThreadState* __tstate = wxPyBeginAllowThreads();
11512 (arg1)->SelectAll();
11513
11514 wxPyEndAllowThreads(__tstate);
11515 if (PyErr_Occurred()) SWIG_fail;
11516 }
11517 Py_INCREF(Py_None); resultobj = Py_None;
11518 return resultobj;
11519 fail:
11520 return NULL;
11521}
11522
11523
c370783e 11524static PyObject *_wrap_TextCtrl_SetEditable(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11525 PyObject *resultobj;
11526 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11527 bool arg2 ;
11528 PyObject * obj0 = 0 ;
11529 PyObject * obj1 = 0 ;
11530 char *kwnames[] = {
11531 (char *) "self",(char *) "editable", NULL
11532 };
11533
11534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11535 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11536 if (SWIG_arg_fail(1)) SWIG_fail;
11537 {
11538 arg2 = (bool)(SWIG_As_bool(obj1));
11539 if (SWIG_arg_fail(2)) SWIG_fail;
11540 }
d55e5bfc
RD
11541 {
11542 PyThreadState* __tstate = wxPyBeginAllowThreads();
11543 (arg1)->SetEditable(arg2);
11544
11545 wxPyEndAllowThreads(__tstate);
11546 if (PyErr_Occurred()) SWIG_fail;
11547 }
11548 Py_INCREF(Py_None); resultobj = Py_None;
11549 return resultobj;
11550 fail:
11551 return NULL;
11552}
11553
11554
c370783e 11555static PyObject *_wrap_TextCtrl_write(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11556 PyObject *resultobj;
11557 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11558 wxString *arg2 = 0 ;
b411df4a 11559 bool temp2 = false ;
d55e5bfc
RD
11560 PyObject * obj0 = 0 ;
11561 PyObject * obj1 = 0 ;
11562 char *kwnames[] = {
11563 (char *) "self",(char *) "text", NULL
11564 };
11565
11566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11567 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11568 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11569 {
11570 arg2 = wxString_in_helper(obj1);
11571 if (arg2 == NULL) SWIG_fail;
b411df4a 11572 temp2 = true;
d55e5bfc
RD
11573 }
11574 {
11575 PyThreadState* __tstate = wxPyBeginAllowThreads();
11576 wxTextCtrl_write(arg1,(wxString const &)*arg2);
11577
11578 wxPyEndAllowThreads(__tstate);
11579 if (PyErr_Occurred()) SWIG_fail;
11580 }
11581 Py_INCREF(Py_None); resultobj = Py_None;
11582 {
11583 if (temp2)
11584 delete arg2;
11585 }
11586 return resultobj;
11587 fail:
11588 {
11589 if (temp2)
11590 delete arg2;
11591 }
11592 return NULL;
11593}
11594
11595
c370783e 11596static PyObject *_wrap_TextCtrl_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11597 PyObject *resultobj;
11598 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11599 long arg2 ;
11600 long arg3 ;
11601 wxString result;
11602 PyObject * obj0 = 0 ;
11603 PyObject * obj1 = 0 ;
11604 PyObject * obj2 = 0 ;
11605 char *kwnames[] = {
11606 (char *) "self",(char *) "from",(char *) "to", NULL
11607 };
11608
11609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
11610 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11611 if (SWIG_arg_fail(1)) SWIG_fail;
11612 {
11613 arg2 = (long)(SWIG_As_long(obj1));
11614 if (SWIG_arg_fail(2)) SWIG_fail;
11615 }
11616 {
11617 arg3 = (long)(SWIG_As_long(obj2));
11618 if (SWIG_arg_fail(3)) SWIG_fail;
11619 }
d55e5bfc
RD
11620 {
11621 PyThreadState* __tstate = wxPyBeginAllowThreads();
11622 result = wxTextCtrl_GetString(arg1,arg2,arg3);
11623
11624 wxPyEndAllowThreads(__tstate);
11625 if (PyErr_Occurred()) SWIG_fail;
11626 }
11627 {
11628#if wxUSE_UNICODE
11629 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11630#else
11631 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11632#endif
11633 }
11634 return resultobj;
11635 fail:
11636 return NULL;
11637}
11638
11639
c370783e 11640static PyObject *_wrap_TextCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 11641 PyObject *resultobj;
36ed4f51 11642 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
11643 wxVisualAttributes result;
11644 PyObject * obj0 = 0 ;
11645 char *kwnames[] = {
11646 (char *) "variant", NULL
11647 };
11648
11649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
11650 if (obj0) {
36ed4f51
RD
11651 {
11652 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
11653 if (SWIG_arg_fail(1)) SWIG_fail;
11654 }
f20a2e1f
RD
11655 }
11656 {
0439c23b 11657 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
11658 PyThreadState* __tstate = wxPyBeginAllowThreads();
11659 result = wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
11660
11661 wxPyEndAllowThreads(__tstate);
110da5b0 11662 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
11663 }
11664 {
11665 wxVisualAttributes * resultptr;
36ed4f51 11666 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
11667 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
11668 }
11669 return resultobj;
11670 fail:
11671 return NULL;
11672}
11673
11674
c370783e 11675static PyObject * TextCtrl_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
11676 PyObject *obj;
11677 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11678 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl, obj);
11679 Py_INCREF(obj);
11680 return Py_BuildValue((char *)"");
11681}
c370783e 11682static PyObject *_wrap_new_TextUrlEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11683 PyObject *resultobj;
11684 int arg1 ;
11685 wxMouseEvent *arg2 = 0 ;
11686 long arg3 ;
11687 long arg4 ;
11688 wxTextUrlEvent *result;
11689 PyObject * obj0 = 0 ;
11690 PyObject * obj1 = 0 ;
11691 PyObject * obj2 = 0 ;
11692 PyObject * obj3 = 0 ;
11693 char *kwnames[] = {
11694 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
11695 };
11696
11697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_TextUrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
11698 {
11699 arg1 = (int)(SWIG_As_int(obj0));
11700 if (SWIG_arg_fail(1)) SWIG_fail;
11701 }
11702 {
11703 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
11704 if (SWIG_arg_fail(2)) SWIG_fail;
11705 if (arg2 == NULL) {
11706 SWIG_null_ref("wxMouseEvent");
11707 }
11708 if (SWIG_arg_fail(2)) SWIG_fail;
11709 }
11710 {
11711 arg3 = (long)(SWIG_As_long(obj2));
11712 if (SWIG_arg_fail(3)) SWIG_fail;
11713 }
11714 {
11715 arg4 = (long)(SWIG_As_long(obj3));
11716 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc 11717 }
d55e5bfc
RD
11718 {
11719 PyThreadState* __tstate = wxPyBeginAllowThreads();
11720 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
11721
11722 wxPyEndAllowThreads(__tstate);
11723 if (PyErr_Occurred()) SWIG_fail;
11724 }
11725 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextUrlEvent, 1);
11726 return resultobj;
11727 fail:
11728 return NULL;
11729}
11730
11731
c370783e 11732static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11733 PyObject *resultobj;
11734 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
11735 wxMouseEvent *result;
11736 PyObject * obj0 = 0 ;
11737 char *kwnames[] = {
11738 (char *) "self", NULL
11739 };
11740
11741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames,&obj0)) goto fail;
36ed4f51
RD
11742 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_EXCEPTION | 0);
11743 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11744 {
11745 PyThreadState* __tstate = wxPyBeginAllowThreads();
11746 {
11747 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
11748 result = (wxMouseEvent *) &_result_ref;
11749 }
11750
11751 wxPyEndAllowThreads(__tstate);
11752 if (PyErr_Occurred()) SWIG_fail;
11753 }
11754 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMouseEvent, 0);
11755 return resultobj;
11756 fail:
11757 return NULL;
11758}
11759
11760
c370783e 11761static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11762 PyObject *resultobj;
11763 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
11764 long result;
11765 PyObject * obj0 = 0 ;
11766 char *kwnames[] = {
11767 (char *) "self", NULL
11768 };
11769
11770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLStart",kwnames,&obj0)) goto fail;
36ed4f51
RD
11771 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_EXCEPTION | 0);
11772 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11773 {
11774 PyThreadState* __tstate = wxPyBeginAllowThreads();
11775 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
11776
11777 wxPyEndAllowThreads(__tstate);
11778 if (PyErr_Occurred()) SWIG_fail;
11779 }
36ed4f51
RD
11780 {
11781 resultobj = SWIG_From_long((long)(result));
11782 }
d55e5bfc
RD
11783 return resultobj;
11784 fail:
11785 return NULL;
11786}
11787
11788
c370783e 11789static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11790 PyObject *resultobj;
11791 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
11792 long result;
11793 PyObject * obj0 = 0 ;
11794 char *kwnames[] = {
11795 (char *) "self", NULL
11796 };
11797
11798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLEnd",kwnames,&obj0)) goto fail;
36ed4f51
RD
11799 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_EXCEPTION | 0);
11800 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11801 {
11802 PyThreadState* __tstate = wxPyBeginAllowThreads();
11803 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
11804
11805 wxPyEndAllowThreads(__tstate);
11806 if (PyErr_Occurred()) SWIG_fail;
11807 }
36ed4f51
RD
11808 {
11809 resultobj = SWIG_From_long((long)(result));
11810 }
d55e5bfc
RD
11811 return resultobj;
11812 fail:
11813 return NULL;
11814}
11815
11816
c370783e 11817static PyObject * TextUrlEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
11818 PyObject *obj;
11819 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11820 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent, obj);
11821 Py_INCREF(obj);
11822 return Py_BuildValue((char *)"");
11823}
c370783e 11824static int _wrap_ScrollBarNameStr_set(PyObject *) {
d55e5bfc
RD
11825 PyErr_SetString(PyExc_TypeError,"Variable ScrollBarNameStr is read-only.");
11826 return 1;
11827}
11828
11829
36ed4f51 11830static PyObject *_wrap_ScrollBarNameStr_get(void) {
d55e5bfc
RD
11831 PyObject *pyobj;
11832
11833 {
11834#if wxUSE_UNICODE
11835 pyobj = PyUnicode_FromWideChar((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
11836#else
11837 pyobj = PyString_FromStringAndSize((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
11838#endif
11839 }
11840 return pyobj;
11841}
11842
11843
c370783e 11844static PyObject *_wrap_new_ScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11845 PyObject *resultobj;
11846 wxWindow *arg1 = (wxWindow *) 0 ;
11847 int arg2 = (int) -1 ;
11848 wxPoint const &arg3_defvalue = wxDefaultPosition ;
11849 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
11850 wxSize const &arg4_defvalue = wxDefaultSize ;
11851 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
11852 long arg5 = (long) wxSB_HORIZONTAL ;
11853 wxValidator const &arg6_defvalue = wxDefaultValidator ;
11854 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
11855 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
11856 wxString *arg7 = (wxString *) &arg7_defvalue ;
11857 wxScrollBar *result;
11858 wxPoint temp3 ;
11859 wxSize temp4 ;
b411df4a 11860 bool temp7 = false ;
d55e5bfc
RD
11861 PyObject * obj0 = 0 ;
11862 PyObject * obj1 = 0 ;
11863 PyObject * obj2 = 0 ;
11864 PyObject * obj3 = 0 ;
11865 PyObject * obj4 = 0 ;
11866 PyObject * obj5 = 0 ;
11867 PyObject * obj6 = 0 ;
11868 char *kwnames[] = {
11869 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11870 };
11871
11872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ScrollBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
11873 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11874 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 11875 if (obj1) {
36ed4f51
RD
11876 {
11877 arg2 = (int)(SWIG_As_int(obj1));
11878 if (SWIG_arg_fail(2)) SWIG_fail;
11879 }
d55e5bfc
RD
11880 }
11881 if (obj2) {
11882 {
11883 arg3 = &temp3;
11884 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11885 }
11886 }
11887 if (obj3) {
11888 {
11889 arg4 = &temp4;
11890 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
11891 }
11892 }
11893 if (obj4) {
36ed4f51
RD
11894 {
11895 arg5 = (long)(SWIG_As_long(obj4));
11896 if (SWIG_arg_fail(5)) SWIG_fail;
11897 }
d55e5bfc
RD
11898 }
11899 if (obj5) {
36ed4f51
RD
11900 {
11901 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
11902 if (SWIG_arg_fail(6)) SWIG_fail;
11903 if (arg6 == NULL) {
11904 SWIG_null_ref("wxValidator");
11905 }
11906 if (SWIG_arg_fail(6)) SWIG_fail;
d55e5bfc
RD
11907 }
11908 }
11909 if (obj6) {
11910 {
11911 arg7 = wxString_in_helper(obj6);
11912 if (arg7 == NULL) SWIG_fail;
b411df4a 11913 temp7 = true;
d55e5bfc
RD
11914 }
11915 }
11916 {
0439c23b 11917 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
11918 PyThreadState* __tstate = wxPyBeginAllowThreads();
11919 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
11920
11921 wxPyEndAllowThreads(__tstate);
110da5b0 11922 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11923 }
11924 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
11925 {
11926 if (temp7)
11927 delete arg7;
11928 }
11929 return resultobj;
11930 fail:
11931 {
11932 if (temp7)
11933 delete arg7;
11934 }
11935 return NULL;
11936}
11937
11938
c370783e 11939static PyObject *_wrap_new_PreScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11940 PyObject *resultobj;
11941 wxScrollBar *result;
11942 char *kwnames[] = {
11943 NULL
11944 };
11945
11946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrollBar",kwnames)) goto fail;
11947 {
0439c23b 11948 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
11949 PyThreadState* __tstate = wxPyBeginAllowThreads();
11950 result = (wxScrollBar *)new wxScrollBar();
11951
11952 wxPyEndAllowThreads(__tstate);
110da5b0 11953 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11954 }
11955 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
11956 return resultobj;
11957 fail:
11958 return NULL;
11959}
11960
11961
c370783e 11962static PyObject *_wrap_ScrollBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11963 PyObject *resultobj;
11964 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
11965 wxWindow *arg2 = (wxWindow *) 0 ;
11966 int arg3 = (int) -1 ;
11967 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11968 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11969 wxSize const &arg5_defvalue = wxDefaultSize ;
11970 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11971 long arg6 = (long) wxSB_HORIZONTAL ;
11972 wxValidator const &arg7_defvalue = wxDefaultValidator ;
11973 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
11974 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
11975 wxString *arg8 = (wxString *) &arg8_defvalue ;
11976 bool result;
11977 wxPoint temp4 ;
11978 wxSize temp5 ;
b411df4a 11979 bool temp8 = false ;
d55e5bfc
RD
11980 PyObject * obj0 = 0 ;
11981 PyObject * obj1 = 0 ;
11982 PyObject * obj2 = 0 ;
11983 PyObject * obj3 = 0 ;
11984 PyObject * obj4 = 0 ;
11985 PyObject * obj5 = 0 ;
11986 PyObject * obj6 = 0 ;
11987 PyObject * obj7 = 0 ;
11988 char *kwnames[] = {
11989 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11990 };
11991
11992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
11993 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
11994 if (SWIG_arg_fail(1)) SWIG_fail;
11995 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11996 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 11997 if (obj2) {
36ed4f51
RD
11998 {
11999 arg3 = (int)(SWIG_As_int(obj2));
12000 if (SWIG_arg_fail(3)) SWIG_fail;
12001 }
d55e5bfc
RD
12002 }
12003 if (obj3) {
12004 {
12005 arg4 = &temp4;
12006 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12007 }
12008 }
12009 if (obj4) {
12010 {
12011 arg5 = &temp5;
12012 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12013 }
12014 }
12015 if (obj5) {
36ed4f51
RD
12016 {
12017 arg6 = (long)(SWIG_As_long(obj5));
12018 if (SWIG_arg_fail(6)) SWIG_fail;
12019 }
d55e5bfc
RD
12020 }
12021 if (obj6) {
36ed4f51
RD
12022 {
12023 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
12024 if (SWIG_arg_fail(7)) SWIG_fail;
12025 if (arg7 == NULL) {
12026 SWIG_null_ref("wxValidator");
12027 }
12028 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
12029 }
12030 }
12031 if (obj7) {
12032 {
12033 arg8 = wxString_in_helper(obj7);
12034 if (arg8 == NULL) SWIG_fail;
b411df4a 12035 temp8 = true;
d55e5bfc
RD
12036 }
12037 }
12038 {
12039 PyThreadState* __tstate = wxPyBeginAllowThreads();
12040 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
12041
12042 wxPyEndAllowThreads(__tstate);
12043 if (PyErr_Occurred()) SWIG_fail;
12044 }
12045 {
12046 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12047 }
12048 {
12049 if (temp8)
12050 delete arg8;
12051 }
12052 return resultobj;
12053 fail:
12054 {
12055 if (temp8)
12056 delete arg8;
12057 }
12058 return NULL;
12059}
12060
12061
c370783e 12062static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12063 PyObject *resultobj;
12064 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12065 int result;
12066 PyObject * obj0 = 0 ;
12067 char *kwnames[] = {
12068 (char *) "self", NULL
12069 };
12070
12071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbPosition",kwnames,&obj0)) goto fail;
36ed4f51
RD
12072 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12073 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12074 {
12075 PyThreadState* __tstate = wxPyBeginAllowThreads();
12076 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
12077
12078 wxPyEndAllowThreads(__tstate);
12079 if (PyErr_Occurred()) SWIG_fail;
12080 }
36ed4f51
RD
12081 {
12082 resultobj = SWIG_From_int((int)(result));
12083 }
d55e5bfc
RD
12084 return resultobj;
12085 fail:
12086 return NULL;
12087}
12088
12089
c370783e 12090static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12091 PyObject *resultobj;
12092 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12093 int result;
12094 PyObject * obj0 = 0 ;
12095 char *kwnames[] = {
12096 (char *) "self", NULL
12097 };
12098
12099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
12100 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12101 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12102 {
12103 PyThreadState* __tstate = wxPyBeginAllowThreads();
12104 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
12105
12106 wxPyEndAllowThreads(__tstate);
12107 if (PyErr_Occurred()) SWIG_fail;
12108 }
36ed4f51
RD
12109 {
12110 resultobj = SWIG_From_int((int)(result));
12111 }
d55e5bfc
RD
12112 return resultobj;
12113 fail:
12114 return NULL;
12115}
12116
12117
c370783e 12118static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12119 PyObject *resultobj;
12120 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12121 int result;
12122 PyObject * obj0 = 0 ;
12123 char *kwnames[] = {
12124 (char *) "self", NULL
12125 };
12126
12127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetPageSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
12128 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12129 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12130 {
12131 PyThreadState* __tstate = wxPyBeginAllowThreads();
12132 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
12133
12134 wxPyEndAllowThreads(__tstate);
12135 if (PyErr_Occurred()) SWIG_fail;
12136 }
36ed4f51
RD
12137 {
12138 resultobj = SWIG_From_int((int)(result));
12139 }
d55e5bfc
RD
12140 return resultobj;
12141 fail:
12142 return NULL;
12143}
12144
12145
c370783e 12146static PyObject *_wrap_ScrollBar_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12147 PyObject *resultobj;
12148 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12149 int result;
12150 PyObject * obj0 = 0 ;
12151 char *kwnames[] = {
12152 (char *) "self", NULL
12153 };
12154
12155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetRange",kwnames,&obj0)) goto fail;
36ed4f51
RD
12156 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12157 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12158 {
12159 PyThreadState* __tstate = wxPyBeginAllowThreads();
12160 result = (int)((wxScrollBar const *)arg1)->GetRange();
12161
12162 wxPyEndAllowThreads(__tstate);
12163 if (PyErr_Occurred()) SWIG_fail;
12164 }
36ed4f51
RD
12165 {
12166 resultobj = SWIG_From_int((int)(result));
12167 }
d55e5bfc
RD
12168 return resultobj;
12169 fail:
12170 return NULL;
12171}
12172
12173
c370783e 12174static PyObject *_wrap_ScrollBar_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12175 PyObject *resultobj;
12176 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12177 bool result;
12178 PyObject * obj0 = 0 ;
12179 char *kwnames[] = {
12180 (char *) "self", NULL
12181 };
12182
12183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_IsVertical",kwnames,&obj0)) goto fail;
36ed4f51
RD
12184 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12185 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12186 {
12187 PyThreadState* __tstate = wxPyBeginAllowThreads();
12188 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
12189
12190 wxPyEndAllowThreads(__tstate);
12191 if (PyErr_Occurred()) SWIG_fail;
12192 }
12193 {
12194 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12195 }
12196 return resultobj;
12197 fail:
12198 return NULL;
12199}
12200
12201
c370783e 12202static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12203 PyObject *resultobj;
12204 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12205 int arg2 ;
12206 PyObject * obj0 = 0 ;
12207 PyObject * obj1 = 0 ;
12208 char *kwnames[] = {
12209 (char *) "self",(char *) "viewStart", NULL
12210 };
12211
12212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollBar_SetThumbPosition",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
12213 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12214 if (SWIG_arg_fail(1)) SWIG_fail;
12215 {
12216 arg2 = (int)(SWIG_As_int(obj1));
12217 if (SWIG_arg_fail(2)) SWIG_fail;
12218 }
d55e5bfc
RD
12219 {
12220 PyThreadState* __tstate = wxPyBeginAllowThreads();
12221 (arg1)->SetThumbPosition(arg2);
12222
12223 wxPyEndAllowThreads(__tstate);
12224 if (PyErr_Occurred()) SWIG_fail;
12225 }
12226 Py_INCREF(Py_None); resultobj = Py_None;
12227 return resultobj;
12228 fail:
12229 return NULL;
12230}
12231
12232
c370783e 12233static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12234 PyObject *resultobj;
12235 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12236 int arg2 ;
12237 int arg3 ;
12238 int arg4 ;
12239 int arg5 ;
b411df4a 12240 bool arg6 = (bool) true ;
d55e5bfc
RD
12241 PyObject * obj0 = 0 ;
12242 PyObject * obj1 = 0 ;
12243 PyObject * obj2 = 0 ;
12244 PyObject * obj3 = 0 ;
12245 PyObject * obj4 = 0 ;
12246 PyObject * obj5 = 0 ;
12247 char *kwnames[] = {
12248 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
12249 };
12250
12251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
12252 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12253 if (SWIG_arg_fail(1)) SWIG_fail;
12254 {
12255 arg2 = (int)(SWIG_As_int(obj1));
12256 if (SWIG_arg_fail(2)) SWIG_fail;
12257 }
12258 {
12259 arg3 = (int)(SWIG_As_int(obj2));
12260 if (SWIG_arg_fail(3)) SWIG_fail;
12261 }
12262 {
12263 arg4 = (int)(SWIG_As_int(obj3));
12264 if (SWIG_arg_fail(4)) SWIG_fail;
12265 }
12266 {
12267 arg5 = (int)(SWIG_As_int(obj4));
12268 if (SWIG_arg_fail(5)) SWIG_fail;
12269 }
d55e5bfc 12270 if (obj5) {
36ed4f51
RD
12271 {
12272 arg6 = (bool)(SWIG_As_bool(obj5));
12273 if (SWIG_arg_fail(6)) SWIG_fail;
12274 }
d55e5bfc
RD
12275 }
12276 {
12277 PyThreadState* __tstate = wxPyBeginAllowThreads();
12278 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
12279
12280 wxPyEndAllowThreads(__tstate);
12281 if (PyErr_Occurred()) SWIG_fail;
12282 }
12283 Py_INCREF(Py_None); resultobj = Py_None;
12284 return resultobj;
12285 fail:
12286 return NULL;
12287}
12288
12289
c370783e 12290static PyObject *_wrap_ScrollBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 12291 PyObject *resultobj;
36ed4f51 12292 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
12293 wxVisualAttributes result;
12294 PyObject * obj0 = 0 ;
12295 char *kwnames[] = {
12296 (char *) "variant", NULL
12297 };
12298
12299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
12300 if (obj0) {
36ed4f51
RD
12301 {
12302 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
12303 if (SWIG_arg_fail(1)) SWIG_fail;
12304 }
f20a2e1f
RD
12305 }
12306 {
0439c23b 12307 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
12308 PyThreadState* __tstate = wxPyBeginAllowThreads();
12309 result = wxScrollBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
12310
12311 wxPyEndAllowThreads(__tstate);
110da5b0 12312 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
12313 }
12314 {
12315 wxVisualAttributes * resultptr;
36ed4f51 12316 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
12317 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
12318 }
12319 return resultobj;
12320 fail:
12321 return NULL;
12322}
12323
12324
c370783e 12325static PyObject * ScrollBar_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
12326 PyObject *obj;
12327 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12328 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar, obj);
12329 Py_INCREF(obj);
12330 return Py_BuildValue((char *)"");
12331}
c370783e 12332static int _wrap_SPIN_BUTTON_NAME_set(PyObject *) {
d55e5bfc
RD
12333 PyErr_SetString(PyExc_TypeError,"Variable SPIN_BUTTON_NAME is read-only.");
12334 return 1;
12335}
12336
12337
36ed4f51 12338static PyObject *_wrap_SPIN_BUTTON_NAME_get(void) {
d55e5bfc
RD
12339 PyObject *pyobj;
12340
12341 {
12342#if wxUSE_UNICODE
12343 pyobj = PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
12344#else
12345 pyobj = PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
12346#endif
12347 }
12348 return pyobj;
12349}
12350
12351
c370783e 12352static int _wrap_SpinCtrlNameStr_set(PyObject *) {
d55e5bfc
RD
12353 PyErr_SetString(PyExc_TypeError,"Variable SpinCtrlNameStr is read-only.");
12354 return 1;
12355}
12356
12357
36ed4f51 12358static PyObject *_wrap_SpinCtrlNameStr_get(void) {
d55e5bfc
RD
12359 PyObject *pyobj;
12360
12361 {
12362#if wxUSE_UNICODE
12363 pyobj = PyUnicode_FromWideChar((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
12364#else
12365 pyobj = PyString_FromStringAndSize((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
12366#endif
12367 }
12368 return pyobj;
12369}
12370
12371
c370783e 12372static PyObject *_wrap_new_SpinButton(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12373 PyObject *resultobj;
12374 wxWindow *arg1 = (wxWindow *) 0 ;
12375 int arg2 = (int) -1 ;
12376 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12377 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12378 wxSize const &arg4_defvalue = wxDefaultSize ;
12379 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12380 long arg5 = (long) wxSP_HORIZONTAL ;
12381 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
12382 wxString *arg6 = (wxString *) &arg6_defvalue ;
12383 wxSpinButton *result;
12384 wxPoint temp3 ;
12385 wxSize temp4 ;
b411df4a 12386 bool temp6 = false ;
d55e5bfc
RD
12387 PyObject * obj0 = 0 ;
12388 PyObject * obj1 = 0 ;
12389 PyObject * obj2 = 0 ;
12390 PyObject * obj3 = 0 ;
12391 PyObject * obj4 = 0 ;
12392 PyObject * obj5 = 0 ;
12393 char *kwnames[] = {
12394 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12395 };
12396
12397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SpinButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
12398 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12399 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 12400 if (obj1) {
36ed4f51
RD
12401 {
12402 arg2 = (int)(SWIG_As_int(obj1));
12403 if (SWIG_arg_fail(2)) SWIG_fail;
12404 }
d55e5bfc
RD
12405 }
12406 if (obj2) {
12407 {
12408 arg3 = &temp3;
12409 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12410 }
12411 }
12412 if (obj3) {
12413 {
12414 arg4 = &temp4;
12415 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12416 }
12417 }
12418 if (obj4) {
36ed4f51
RD
12419 {
12420 arg5 = (long)(SWIG_As_long(obj4));
12421 if (SWIG_arg_fail(5)) SWIG_fail;
12422 }
d55e5bfc
RD
12423 }
12424 if (obj5) {
12425 {
12426 arg6 = wxString_in_helper(obj5);
12427 if (arg6 == NULL) SWIG_fail;
b411df4a 12428 temp6 = true;
d55e5bfc
RD
12429 }
12430 }
12431 {
0439c23b 12432 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
12433 PyThreadState* __tstate = wxPyBeginAllowThreads();
12434 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12435
12436 wxPyEndAllowThreads(__tstate);
110da5b0 12437 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
12438 }
12439 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
12440 {
12441 if (temp6)
12442 delete arg6;
12443 }
12444 return resultobj;
12445 fail:
12446 {
12447 if (temp6)
12448 delete arg6;
12449 }
12450 return NULL;
12451}
12452
12453
c370783e 12454static PyObject *_wrap_new_PreSpinButton(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12455 PyObject *resultobj;
12456 wxSpinButton *result;
12457 char *kwnames[] = {
12458 NULL
12459 };
12460
12461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinButton",kwnames)) goto fail;
12462 {
0439c23b 12463 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
12464 PyThreadState* __tstate = wxPyBeginAllowThreads();
12465 result = (wxSpinButton *)new wxSpinButton();
12466
12467 wxPyEndAllowThreads(__tstate);
110da5b0 12468 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
12469 }
12470 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
12471 return resultobj;
12472 fail:
12473 return NULL;
12474}
12475
12476
c370783e 12477static PyObject *_wrap_SpinButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12478 PyObject *resultobj;
12479 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12480 wxWindow *arg2 = (wxWindow *) 0 ;
12481 int arg3 = (int) -1 ;
12482 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12483 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12484 wxSize const &arg5_defvalue = wxDefaultSize ;
12485 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12486 long arg6 = (long) wxSP_HORIZONTAL ;
12487 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
12488 wxString *arg7 = (wxString *) &arg7_defvalue ;
12489 bool result;
12490 wxPoint temp4 ;
12491 wxSize temp5 ;
b411df4a 12492 bool temp7 = false ;
d55e5bfc
RD
12493 PyObject * obj0 = 0 ;
12494 PyObject * obj1 = 0 ;
12495 PyObject * obj2 = 0 ;
12496 PyObject * obj3 = 0 ;
12497 PyObject * obj4 = 0 ;
12498 PyObject * obj5 = 0 ;
12499 PyObject * obj6 = 0 ;
12500 char *kwnames[] = {
12501 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12502 };
12503
12504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SpinButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
12505 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12506 if (SWIG_arg_fail(1)) SWIG_fail;
12507 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12508 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 12509 if (obj2) {
36ed4f51
RD
12510 {
12511 arg3 = (int)(SWIG_As_int(obj2));
12512 if (SWIG_arg_fail(3)) SWIG_fail;
12513 }
d55e5bfc
RD
12514 }
12515 if (obj3) {
12516 {
12517 arg4 = &temp4;
12518 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12519 }
12520 }
12521 if (obj4) {
12522 {
12523 arg5 = &temp5;
12524 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12525 }
12526 }
12527 if (obj5) {
36ed4f51
RD
12528 {
12529 arg6 = (long)(SWIG_As_long(obj5));
12530 if (SWIG_arg_fail(6)) SWIG_fail;
12531 }
d55e5bfc
RD
12532 }
12533 if (obj6) {
12534 {
12535 arg7 = wxString_in_helper(obj6);
12536 if (arg7 == NULL) SWIG_fail;
b411df4a 12537 temp7 = true;
d55e5bfc
RD
12538 }
12539 }
12540 {
12541 PyThreadState* __tstate = wxPyBeginAllowThreads();
12542 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12543
12544 wxPyEndAllowThreads(__tstate);
12545 if (PyErr_Occurred()) SWIG_fail;
12546 }
12547 {
12548 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12549 }
12550 {
12551 if (temp7)
12552 delete arg7;
12553 }
12554 return resultobj;
12555 fail:
12556 {
12557 if (temp7)
12558 delete arg7;
12559 }
12560 return NULL;
12561}
12562
12563
c370783e 12564static PyObject *_wrap_SpinButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12565 PyObject *resultobj;
12566 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12567 int result;
12568 PyObject * obj0 = 0 ;
12569 char *kwnames[] = {
12570 (char *) "self", NULL
12571 };
12572
12573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetValue",kwnames,&obj0)) goto fail;
36ed4f51
RD
12574 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12575 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12576 {
12577 PyThreadState* __tstate = wxPyBeginAllowThreads();
12578 result = (int)((wxSpinButton const *)arg1)->GetValue();
12579
12580 wxPyEndAllowThreads(__tstate);
12581 if (PyErr_Occurred()) SWIG_fail;
12582 }
36ed4f51
RD
12583 {
12584 resultobj = SWIG_From_int((int)(result));
12585 }
d55e5bfc
RD
12586 return resultobj;
12587 fail:
12588 return NULL;
12589}
12590
12591
c370783e 12592static PyObject *_wrap_SpinButton_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12593 PyObject *resultobj;
12594 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12595 int result;
12596 PyObject * obj0 = 0 ;
12597 char *kwnames[] = {
12598 (char *) "self", NULL
12599 };
12600
12601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMin",kwnames,&obj0)) goto fail;
36ed4f51
RD
12602 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12603 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12604 {
12605 PyThreadState* __tstate = wxPyBeginAllowThreads();
12606 result = (int)((wxSpinButton const *)arg1)->GetMin();
12607
12608 wxPyEndAllowThreads(__tstate);
12609 if (PyErr_Occurred()) SWIG_fail;
12610 }
36ed4f51
RD
12611 {
12612 resultobj = SWIG_From_int((int)(result));
12613 }
d55e5bfc
RD
12614 return resultobj;
12615 fail:
12616 return NULL;
12617}
12618
12619
c370783e 12620static PyObject *_wrap_SpinButton_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12621 PyObject *resultobj;
12622 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12623 int result;
12624 PyObject * obj0 = 0 ;
12625 char *kwnames[] = {
12626 (char *) "self", NULL
12627 };
12628
12629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMax",kwnames,&obj0)) goto fail;
36ed4f51
RD
12630 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12631 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12632 {
12633 PyThreadState* __tstate = wxPyBeginAllowThreads();
12634 result = (int)((wxSpinButton const *)arg1)->GetMax();
12635
12636 wxPyEndAllowThreads(__tstate);
12637 if (PyErr_Occurred()) SWIG_fail;
12638 }
36ed4f51
RD
12639 {
12640 resultobj = SWIG_From_int((int)(result));
12641 }
d55e5bfc
RD
12642 return resultobj;
12643 fail:
12644 return NULL;
12645}
12646
12647
c370783e 12648static PyObject *_wrap_SpinButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12649 PyObject *resultobj;
12650 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12651 int arg2 ;
12652 PyObject * obj0 = 0 ;
12653 PyObject * obj1 = 0 ;
12654 char *kwnames[] = {
12655 (char *) "self",(char *) "val", NULL
12656 };
12657
12658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
12659 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12660 if (SWIG_arg_fail(1)) SWIG_fail;
12661 {
12662 arg2 = (int)(SWIG_As_int(obj1));
12663 if (SWIG_arg_fail(2)) SWIG_fail;
12664 }
d55e5bfc
RD
12665 {
12666 PyThreadState* __tstate = wxPyBeginAllowThreads();
12667 (arg1)->SetValue(arg2);
12668
12669 wxPyEndAllowThreads(__tstate);
12670 if (PyErr_Occurred()) SWIG_fail;
12671 }
12672 Py_INCREF(Py_None); resultobj = Py_None;
12673 return resultobj;
12674 fail:
12675 return NULL;
12676}
12677
12678
c370783e 12679static PyObject *_wrap_SpinButton_SetMin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12680 PyObject *resultobj;
12681 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12682 int arg2 ;
12683 PyObject * obj0 = 0 ;
12684 PyObject * obj1 = 0 ;
12685 char *kwnames[] = {
12686 (char *) "self",(char *) "minVal", NULL
12687 };
12688
12689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMin",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
12690 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12691 if (SWIG_arg_fail(1)) SWIG_fail;
12692 {
12693 arg2 = (int)(SWIG_As_int(obj1));
12694 if (SWIG_arg_fail(2)) SWIG_fail;
12695 }
d55e5bfc
RD
12696 {
12697 PyThreadState* __tstate = wxPyBeginAllowThreads();
12698 (arg1)->SetMin(arg2);
12699
12700 wxPyEndAllowThreads(__tstate);
12701 if (PyErr_Occurred()) SWIG_fail;
12702 }
12703 Py_INCREF(Py_None); resultobj = Py_None;
12704 return resultobj;
12705 fail:
12706 return NULL;
12707}
12708
12709
c370783e 12710static PyObject *_wrap_SpinButton_SetMax(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12711 PyObject *resultobj;
12712 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12713 int arg2 ;
12714 PyObject * obj0 = 0 ;
12715 PyObject * obj1 = 0 ;
12716 char *kwnames[] = {
12717 (char *) "self",(char *) "maxVal", NULL
12718 };
12719
12720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMax",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
12721 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12722 if (SWIG_arg_fail(1)) SWIG_fail;
12723 {
12724 arg2 = (int)(SWIG_As_int(obj1));
12725 if (SWIG_arg_fail(2)) SWIG_fail;
12726 }
d55e5bfc
RD
12727 {
12728 PyThreadState* __tstate = wxPyBeginAllowThreads();
12729 (arg1)->SetMax(arg2);
12730
12731 wxPyEndAllowThreads(__tstate);
12732 if (PyErr_Occurred()) SWIG_fail;
12733 }
12734 Py_INCREF(Py_None); resultobj = Py_None;
12735 return resultobj;
12736 fail:
12737 return NULL;
12738}
12739
12740
c370783e 12741static PyObject *_wrap_SpinButton_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12742 PyObject *resultobj;
12743 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12744 int arg2 ;
12745 int arg3 ;
12746 PyObject * obj0 = 0 ;
12747 PyObject * obj1 = 0 ;
12748 PyObject * obj2 = 0 ;
12749 char *kwnames[] = {
12750 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
12751 };
12752
12753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinButton_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
12754 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12755 if (SWIG_arg_fail(1)) SWIG_fail;
12756 {
12757 arg2 = (int)(SWIG_As_int(obj1));
12758 if (SWIG_arg_fail(2)) SWIG_fail;
12759 }
12760 {
12761 arg3 = (int)(SWIG_As_int(obj2));
12762 if (SWIG_arg_fail(3)) SWIG_fail;
12763 }
d55e5bfc
RD
12764 {
12765 PyThreadState* __tstate = wxPyBeginAllowThreads();
12766 (arg1)->SetRange(arg2,arg3);
12767
12768 wxPyEndAllowThreads(__tstate);
12769 if (PyErr_Occurred()) SWIG_fail;
12770 }
f20a2e1f
RD
12771 Py_INCREF(Py_None); resultobj = Py_None;
12772 return resultobj;
12773 fail:
12774 return NULL;
12775}
12776
12777
c370783e 12778static PyObject *_wrap_SpinButton_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f
RD
12779 PyObject *resultobj;
12780 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12781 bool result;
12782 PyObject * obj0 = 0 ;
12783 char *kwnames[] = {
12784 (char *) "self", NULL
12785 };
12786
12787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_IsVertical",kwnames,&obj0)) goto fail;
36ed4f51
RD
12788 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12789 if (SWIG_arg_fail(1)) SWIG_fail;
f20a2e1f
RD
12790 {
12791 PyThreadState* __tstate = wxPyBeginAllowThreads();
12792 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
12793
12794 wxPyEndAllowThreads(__tstate);
12795 if (PyErr_Occurred()) SWIG_fail;
12796 }
12797 {
12798 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12799 }
d55e5bfc
RD
12800 return resultobj;
12801 fail:
12802 return NULL;
12803}
12804
12805
c370783e 12806static PyObject *_wrap_SpinButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 12807 PyObject *resultobj;
36ed4f51 12808 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f 12809 wxVisualAttributes result;
d55e5bfc
RD
12810 PyObject * obj0 = 0 ;
12811 char *kwnames[] = {
f20a2e1f 12812 (char *) "variant", NULL
d55e5bfc
RD
12813 };
12814
f20a2e1f
RD
12815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
12816 if (obj0) {
36ed4f51
RD
12817 {
12818 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
12819 if (SWIG_arg_fail(1)) SWIG_fail;
12820 }
f20a2e1f 12821 }
d55e5bfc 12822 {
0439c23b 12823 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 12824 PyThreadState* __tstate = wxPyBeginAllowThreads();
f20a2e1f 12825 result = wxSpinButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
d55e5bfc
RD
12826
12827 wxPyEndAllowThreads(__tstate);
110da5b0 12828 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
12829 }
12830 {
f20a2e1f 12831 wxVisualAttributes * resultptr;
36ed4f51 12832 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f 12833 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
d55e5bfc
RD
12834 }
12835 return resultobj;
12836 fail:
12837 return NULL;
12838}
12839
12840
c370783e 12841static PyObject * SpinButton_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
12842 PyObject *obj;
12843 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12844 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton, obj);
12845 Py_INCREF(obj);
12846 return Py_BuildValue((char *)"");
12847}
c370783e 12848static PyObject *_wrap_new_SpinCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12849 PyObject *resultobj;
12850 wxWindow *arg1 = (wxWindow *) 0 ;
12851 int arg2 = (int) -1 ;
12852 wxString const &arg3_defvalue = wxPyEmptyString ;
12853 wxString *arg3 = (wxString *) &arg3_defvalue ;
12854 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12855 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12856 wxSize const &arg5_defvalue = wxDefaultSize ;
12857 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12858 long arg6 = (long) wxSP_ARROW_KEYS ;
12859 int arg7 = (int) 0 ;
12860 int arg8 = (int) 100 ;
12861 int arg9 = (int) 0 ;
12862 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
12863 wxString *arg10 = (wxString *) &arg10_defvalue ;
12864 wxSpinCtrl *result;
b411df4a 12865 bool temp3 = false ;
d55e5bfc
RD
12866 wxPoint temp4 ;
12867 wxSize temp5 ;
b411df4a 12868 bool temp10 = false ;
d55e5bfc
RD
12869 PyObject * obj0 = 0 ;
12870 PyObject * obj1 = 0 ;
12871 PyObject * obj2 = 0 ;
12872 PyObject * obj3 = 0 ;
12873 PyObject * obj4 = 0 ;
12874 PyObject * obj5 = 0 ;
12875 PyObject * obj6 = 0 ;
12876 PyObject * obj7 = 0 ;
12877 PyObject * obj8 = 0 ;
12878 PyObject * obj9 = 0 ;
12879 char *kwnames[] = {
12880 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
12881 };
12882
12883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
36ed4f51
RD
12884 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12885 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 12886 if (obj1) {
36ed4f51
RD
12887 {
12888 arg2 = (int)(SWIG_As_int(obj1));
12889 if (SWIG_arg_fail(2)) SWIG_fail;
12890 }
d55e5bfc
RD
12891 }
12892 if (obj2) {
12893 {
12894 arg3 = wxString_in_helper(obj2);
12895 if (arg3 == NULL) SWIG_fail;
b411df4a 12896 temp3 = true;
d55e5bfc
RD
12897 }
12898 }
12899 if (obj3) {
12900 {
12901 arg4 = &temp4;
12902 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12903 }
12904 }
12905 if (obj4) {
12906 {
12907 arg5 = &temp5;
12908 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12909 }
12910 }
12911 if (obj5) {
36ed4f51
RD
12912 {
12913 arg6 = (long)(SWIG_As_long(obj5));
12914 if (SWIG_arg_fail(6)) SWIG_fail;
12915 }
d55e5bfc
RD
12916 }
12917 if (obj6) {
36ed4f51
RD
12918 {
12919 arg7 = (int)(SWIG_As_int(obj6));
12920 if (SWIG_arg_fail(7)) SWIG_fail;
12921 }
d55e5bfc
RD
12922 }
12923 if (obj7) {
36ed4f51
RD
12924 {
12925 arg8 = (int)(SWIG_As_int(obj7));
12926 if (SWIG_arg_fail(8)) SWIG_fail;
12927 }
d55e5bfc
RD
12928 }
12929 if (obj8) {
36ed4f51
RD
12930 {
12931 arg9 = (int)(SWIG_As_int(obj8));
12932 if (SWIG_arg_fail(9)) SWIG_fail;
12933 }
d55e5bfc
RD
12934 }
12935 if (obj9) {
12936 {
12937 arg10 = wxString_in_helper(obj9);
12938 if (arg10 == NULL) SWIG_fail;
b411df4a 12939 temp10 = true;
d55e5bfc
RD
12940 }
12941 }
12942 {
0439c23b 12943 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
12944 PyThreadState* __tstate = wxPyBeginAllowThreads();
12945 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
12946
12947 wxPyEndAllowThreads(__tstate);
110da5b0 12948 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
12949 }
12950 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
12951 {
12952 if (temp3)
12953 delete arg3;
12954 }
12955 {
12956 if (temp10)
12957 delete arg10;
12958 }
12959 return resultobj;
12960 fail:
12961 {
12962 if (temp3)
12963 delete arg3;
12964 }
12965 {
12966 if (temp10)
12967 delete arg10;
12968 }
12969 return NULL;
12970}
12971
12972
c370783e 12973static PyObject *_wrap_new_PreSpinCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12974 PyObject *resultobj;
12975 wxSpinCtrl *result;
12976 char *kwnames[] = {
12977 NULL
12978 };
12979
12980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinCtrl",kwnames)) goto fail;
12981 {
0439c23b 12982 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
12983 PyThreadState* __tstate = wxPyBeginAllowThreads();
12984 result = (wxSpinCtrl *)new wxSpinCtrl();
12985
12986 wxPyEndAllowThreads(__tstate);
110da5b0 12987 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
12988 }
12989 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
12990 return resultobj;
12991 fail:
12992 return NULL;
12993}
12994
12995
c370783e 12996static PyObject *_wrap_SpinCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12997 PyObject *resultobj;
12998 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
12999 wxWindow *arg2 = (wxWindow *) 0 ;
13000 int arg3 = (int) -1 ;
13001 wxString const &arg4_defvalue = wxPyEmptyString ;
13002 wxString *arg4 = (wxString *) &arg4_defvalue ;
13003 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13004 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13005 wxSize const &arg6_defvalue = wxDefaultSize ;
13006 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13007 long arg7 = (long) wxSP_ARROW_KEYS ;
13008 int arg8 = (int) 0 ;
13009 int arg9 = (int) 100 ;
13010 int arg10 = (int) 0 ;
13011 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
13012 wxString *arg11 = (wxString *) &arg11_defvalue ;
13013 bool result;
b411df4a 13014 bool temp4 = false ;
d55e5bfc
RD
13015 wxPoint temp5 ;
13016 wxSize temp6 ;
b411df4a 13017 bool temp11 = false ;
d55e5bfc
RD
13018 PyObject * obj0 = 0 ;
13019 PyObject * obj1 = 0 ;
13020 PyObject * obj2 = 0 ;
13021 PyObject * obj3 = 0 ;
13022 PyObject * obj4 = 0 ;
13023 PyObject * obj5 = 0 ;
13024 PyObject * obj6 = 0 ;
13025 PyObject * obj7 = 0 ;
13026 PyObject * obj8 = 0 ;
13027 PyObject * obj9 = 0 ;
13028 PyObject * obj10 = 0 ;
13029 char *kwnames[] = {
13030 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
13031 };
13032
13033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
36ed4f51
RD
13034 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13035 if (SWIG_arg_fail(1)) SWIG_fail;
13036 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13037 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 13038 if (obj2) {
36ed4f51
RD
13039 {
13040 arg3 = (int)(SWIG_As_int(obj2));
13041 if (SWIG_arg_fail(3)) SWIG_fail;
13042 }
d55e5bfc
RD
13043 }
13044 if (obj3) {
13045 {
13046 arg4 = wxString_in_helper(obj3);
13047 if (arg4 == NULL) SWIG_fail;
b411df4a 13048 temp4 = true;
d55e5bfc
RD
13049 }
13050 }
13051 if (obj4) {
13052 {
13053 arg5 = &temp5;
13054 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13055 }
13056 }
13057 if (obj5) {
13058 {
13059 arg6 = &temp6;
13060 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13061 }
13062 }
13063 if (obj6) {
36ed4f51
RD
13064 {
13065 arg7 = (long)(SWIG_As_long(obj6));
13066 if (SWIG_arg_fail(7)) SWIG_fail;
13067 }
d55e5bfc
RD
13068 }
13069 if (obj7) {
36ed4f51
RD
13070 {
13071 arg8 = (int)(SWIG_As_int(obj7));
13072 if (SWIG_arg_fail(8)) SWIG_fail;
13073 }
d55e5bfc
RD
13074 }
13075 if (obj8) {
36ed4f51
RD
13076 {
13077 arg9 = (int)(SWIG_As_int(obj8));
13078 if (SWIG_arg_fail(9)) SWIG_fail;
13079 }
d55e5bfc
RD
13080 }
13081 if (obj9) {
36ed4f51
RD
13082 {
13083 arg10 = (int)(SWIG_As_int(obj9));
13084 if (SWIG_arg_fail(10)) SWIG_fail;
13085 }
d55e5bfc
RD
13086 }
13087 if (obj10) {
13088 {
13089 arg11 = wxString_in_helper(obj10);
13090 if (arg11 == NULL) SWIG_fail;
b411df4a 13091 temp11 = true;
d55e5bfc
RD
13092 }
13093 }
13094 {
13095 PyThreadState* __tstate = wxPyBeginAllowThreads();
13096 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
13097
13098 wxPyEndAllowThreads(__tstate);
13099 if (PyErr_Occurred()) SWIG_fail;
13100 }
13101 {
13102 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13103 }
13104 {
13105 if (temp4)
13106 delete arg4;
13107 }
13108 {
13109 if (temp11)
13110 delete arg11;
13111 }
13112 return resultobj;
13113 fail:
13114 {
13115 if (temp4)
13116 delete arg4;
13117 }
13118 {
13119 if (temp11)
13120 delete arg11;
13121 }
13122 return NULL;
13123}
13124
13125
c370783e 13126static PyObject *_wrap_SpinCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13127 PyObject *resultobj;
13128 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13129 int result;
13130 PyObject * obj0 = 0 ;
13131 char *kwnames[] = {
13132 (char *) "self", NULL
13133 };
13134
13135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetValue",kwnames,&obj0)) goto fail;
36ed4f51
RD
13136 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13137 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13138 {
13139 PyThreadState* __tstate = wxPyBeginAllowThreads();
13140 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
13141
13142 wxPyEndAllowThreads(__tstate);
13143 if (PyErr_Occurred()) SWIG_fail;
13144 }
36ed4f51
RD
13145 {
13146 resultobj = SWIG_From_int((int)(result));
13147 }
d55e5bfc
RD
13148 return resultobj;
13149 fail:
13150 return NULL;
13151}
13152
13153
c370783e 13154static PyObject *_wrap_SpinCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13155 PyObject *resultobj;
13156 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13157 int arg2 ;
13158 PyObject * obj0 = 0 ;
13159 PyObject * obj1 = 0 ;
13160 char *kwnames[] = {
13161 (char *) "self",(char *) "value", NULL
13162 };
13163
13164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
13165 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13166 if (SWIG_arg_fail(1)) SWIG_fail;
13167 {
13168 arg2 = (int)(SWIG_As_int(obj1));
13169 if (SWIG_arg_fail(2)) SWIG_fail;
13170 }
d55e5bfc
RD
13171 {
13172 PyThreadState* __tstate = wxPyBeginAllowThreads();
13173 (arg1)->SetValue(arg2);
13174
13175 wxPyEndAllowThreads(__tstate);
13176 if (PyErr_Occurred()) SWIG_fail;
13177 }
13178 Py_INCREF(Py_None); resultobj = Py_None;
13179 return resultobj;
13180 fail:
13181 return NULL;
13182}
13183
13184
c370783e 13185static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13186 PyObject *resultobj;
13187 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13188 wxString *arg2 = 0 ;
b411df4a 13189 bool temp2 = false ;
d55e5bfc
RD
13190 PyObject * obj0 = 0 ;
13191 PyObject * obj1 = 0 ;
13192 char *kwnames[] = {
13193 (char *) "self",(char *) "text", NULL
13194 };
13195
13196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
13197 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13198 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13199 {
13200 arg2 = wxString_in_helper(obj1);
13201 if (arg2 == NULL) SWIG_fail;
b411df4a 13202 temp2 = true;
d55e5bfc
RD
13203 }
13204 {
13205 PyThreadState* __tstate = wxPyBeginAllowThreads();
13206 (arg1)->SetValue((wxString const &)*arg2);
13207
13208 wxPyEndAllowThreads(__tstate);
13209 if (PyErr_Occurred()) SWIG_fail;
13210 }
13211 Py_INCREF(Py_None); resultobj = Py_None;
13212 {
13213 if (temp2)
13214 delete arg2;
13215 }
13216 return resultobj;
13217 fail:
13218 {
13219 if (temp2)
13220 delete arg2;
13221 }
13222 return NULL;
13223}
13224
13225
c370783e 13226static PyObject *_wrap_SpinCtrl_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13227 PyObject *resultobj;
13228 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13229 int arg2 ;
13230 int arg3 ;
13231 PyObject * obj0 = 0 ;
13232 PyObject * obj1 = 0 ;
13233 PyObject * obj2 = 0 ;
13234 char *kwnames[] = {
13235 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
13236 };
13237
13238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
13239 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13240 if (SWIG_arg_fail(1)) SWIG_fail;
13241 {
13242 arg2 = (int)(SWIG_As_int(obj1));
13243 if (SWIG_arg_fail(2)) SWIG_fail;
13244 }
13245 {
13246 arg3 = (int)(SWIG_As_int(obj2));
13247 if (SWIG_arg_fail(3)) SWIG_fail;
13248 }
d55e5bfc
RD
13249 {
13250 PyThreadState* __tstate = wxPyBeginAllowThreads();
13251 (arg1)->SetRange(arg2,arg3);
13252
13253 wxPyEndAllowThreads(__tstate);
13254 if (PyErr_Occurred()) SWIG_fail;
13255 }
13256 Py_INCREF(Py_None); resultobj = Py_None;
13257 return resultobj;
13258 fail:
13259 return NULL;
13260}
13261
13262
c370783e 13263static PyObject *_wrap_SpinCtrl_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13264 PyObject *resultobj;
13265 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13266 int result;
13267 PyObject * obj0 = 0 ;
13268 char *kwnames[] = {
13269 (char *) "self", NULL
13270 };
13271
13272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMin",kwnames,&obj0)) goto fail;
36ed4f51
RD
13273 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13274 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13275 {
13276 PyThreadState* __tstate = wxPyBeginAllowThreads();
13277 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
13278
13279 wxPyEndAllowThreads(__tstate);
13280 if (PyErr_Occurred()) SWIG_fail;
13281 }
36ed4f51
RD
13282 {
13283 resultobj = SWIG_From_int((int)(result));
13284 }
d55e5bfc
RD
13285 return resultobj;
13286 fail:
13287 return NULL;
13288}
13289
13290
c370783e 13291static PyObject *_wrap_SpinCtrl_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13292 PyObject *resultobj;
13293 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13294 int result;
13295 PyObject * obj0 = 0 ;
13296 char *kwnames[] = {
13297 (char *) "self", NULL
13298 };
13299
13300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMax",kwnames,&obj0)) goto fail;
36ed4f51
RD
13301 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13302 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13303 {
13304 PyThreadState* __tstate = wxPyBeginAllowThreads();
13305 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
13306
13307 wxPyEndAllowThreads(__tstate);
13308 if (PyErr_Occurred()) SWIG_fail;
13309 }
36ed4f51
RD
13310 {
13311 resultobj = SWIG_From_int((int)(result));
13312 }
d55e5bfc
RD
13313 return resultobj;
13314 fail:
13315 return NULL;
13316}
13317
13318
c370783e 13319static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13320 PyObject *resultobj;
13321 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13322 long arg2 ;
13323 long arg3 ;
13324 PyObject * obj0 = 0 ;
13325 PyObject * obj1 = 0 ;
13326 PyObject * obj2 = 0 ;
13327 char *kwnames[] = {
13328 (char *) "self",(char *) "from",(char *) "to", NULL
13329 };
13330
13331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
13332 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13333 if (SWIG_arg_fail(1)) SWIG_fail;
13334 {
13335 arg2 = (long)(SWIG_As_long(obj1));
13336 if (SWIG_arg_fail(2)) SWIG_fail;
13337 }
13338 {
13339 arg3 = (long)(SWIG_As_long(obj2));
13340 if (SWIG_arg_fail(3)) SWIG_fail;
13341 }
d55e5bfc
RD
13342 {
13343 PyThreadState* __tstate = wxPyBeginAllowThreads();
13344 (arg1)->SetSelection(arg2,arg3);
13345
13346 wxPyEndAllowThreads(__tstate);
13347 if (PyErr_Occurred()) SWIG_fail;
13348 }
13349 Py_INCREF(Py_None); resultobj = Py_None;
13350 return resultobj;
13351 fail:
13352 return NULL;
13353}
13354
13355
c370783e 13356static PyObject *_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 13357 PyObject *resultobj;
36ed4f51 13358 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
13359 wxVisualAttributes result;
13360 PyObject * obj0 = 0 ;
13361 char *kwnames[] = {
13362 (char *) "variant", NULL
13363 };
13364
13365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
13366 if (obj0) {
36ed4f51
RD
13367 {
13368 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
13369 if (SWIG_arg_fail(1)) SWIG_fail;
13370 }
f20a2e1f
RD
13371 }
13372 {
0439c23b 13373 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
13374 PyThreadState* __tstate = wxPyBeginAllowThreads();
13375 result = wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
13376
13377 wxPyEndAllowThreads(__tstate);
110da5b0 13378 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
13379 }
13380 {
13381 wxVisualAttributes * resultptr;
36ed4f51 13382 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
13383 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
13384 }
13385 return resultobj;
13386 fail:
13387 return NULL;
13388}
13389
13390
c370783e 13391static PyObject * SpinCtrl_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
13392 PyObject *obj;
13393 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13394 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl, obj);
13395 Py_INCREF(obj);
13396 return Py_BuildValue((char *)"");
13397}
c370783e 13398static PyObject *_wrap_new_SpinEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13399 PyObject *resultobj;
13400 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13401 int arg2 = (int) 0 ;
13402 wxSpinEvent *result;
13403 PyObject * obj0 = 0 ;
13404 PyObject * obj1 = 0 ;
13405 char *kwnames[] = {
13406 (char *) "commandType",(char *) "winid", NULL
13407 };
13408
13409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SpinEvent",kwnames,&obj0,&obj1)) goto fail;
13410 if (obj0) {
36ed4f51
RD
13411 {
13412 arg1 = (wxEventType)(SWIG_As_int(obj0));
13413 if (SWIG_arg_fail(1)) SWIG_fail;
13414 }
d55e5bfc
RD
13415 }
13416 if (obj1) {
36ed4f51
RD
13417 {
13418 arg2 = (int)(SWIG_As_int(obj1));
13419 if (SWIG_arg_fail(2)) SWIG_fail;
13420 }
d55e5bfc
RD
13421 }
13422 {
13423 PyThreadState* __tstate = wxPyBeginAllowThreads();
13424 result = (wxSpinEvent *)new wxSpinEvent(arg1,arg2);
13425
13426 wxPyEndAllowThreads(__tstate);
13427 if (PyErr_Occurred()) SWIG_fail;
13428 }
13429 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinEvent, 1);
13430 return resultobj;
13431 fail:
13432 return NULL;
13433}
13434
13435
c370783e 13436static PyObject *_wrap_SpinEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13437 PyObject *resultobj;
13438 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
13439 int result;
13440 PyObject * obj0 = 0 ;
13441 char *kwnames[] = {
13442 (char *) "self", NULL
13443 };
13444
13445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinEvent_GetPosition",kwnames,&obj0)) goto fail;
36ed4f51
RD
13446 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinEvent, SWIG_POINTER_EXCEPTION | 0);
13447 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13448 {
13449 PyThreadState* __tstate = wxPyBeginAllowThreads();
13450 result = (int)((wxSpinEvent const *)arg1)->GetPosition();
13451
13452 wxPyEndAllowThreads(__tstate);
13453 if (PyErr_Occurred()) SWIG_fail;
13454 }
36ed4f51
RD
13455 {
13456 resultobj = SWIG_From_int((int)(result));
13457 }
d55e5bfc
RD
13458 return resultobj;
13459 fail:
13460 return NULL;
13461}
13462
13463
c370783e 13464static PyObject *_wrap_SpinEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13465 PyObject *resultobj;
13466 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
13467 int arg2 ;
13468 PyObject * obj0 = 0 ;
13469 PyObject * obj1 = 0 ;
13470 char *kwnames[] = {
13471 (char *) "self",(char *) "pos", NULL
13472 };
13473
13474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
13475 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinEvent, SWIG_POINTER_EXCEPTION | 0);
13476 if (SWIG_arg_fail(1)) SWIG_fail;
13477 {
13478 arg2 = (int)(SWIG_As_int(obj1));
13479 if (SWIG_arg_fail(2)) SWIG_fail;
13480 }
d55e5bfc
RD
13481 {
13482 PyThreadState* __tstate = wxPyBeginAllowThreads();
13483 (arg1)->SetPosition(arg2);
13484
13485 wxPyEndAllowThreads(__tstate);
13486 if (PyErr_Occurred()) SWIG_fail;
13487 }
13488 Py_INCREF(Py_None); resultobj = Py_None;
13489 return resultobj;
13490 fail:
13491 return NULL;
13492}
13493
13494
c370783e 13495static PyObject * SpinEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
13496 PyObject *obj;
13497 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13498 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent, obj);
13499 Py_INCREF(obj);
13500 return Py_BuildValue((char *)"");
13501}
c370783e 13502static int _wrap_RadioBoxNameStr_set(PyObject *) {
d55e5bfc
RD
13503 PyErr_SetString(PyExc_TypeError,"Variable RadioBoxNameStr is read-only.");
13504 return 1;
13505}
13506
13507
36ed4f51 13508static PyObject *_wrap_RadioBoxNameStr_get(void) {
d55e5bfc
RD
13509 PyObject *pyobj;
13510
13511 {
13512#if wxUSE_UNICODE
13513 pyobj = PyUnicode_FromWideChar((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
13514#else
13515 pyobj = PyString_FromStringAndSize((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
13516#endif
13517 }
13518 return pyobj;
13519}
13520
13521
c370783e 13522static int _wrap_RadioButtonNameStr_set(PyObject *) {
d55e5bfc
RD
13523 PyErr_SetString(PyExc_TypeError,"Variable RadioButtonNameStr is read-only.");
13524 return 1;
13525}
13526
13527
36ed4f51 13528static PyObject *_wrap_RadioButtonNameStr_get(void) {
d55e5bfc
RD
13529 PyObject *pyobj;
13530
13531 {
13532#if wxUSE_UNICODE
13533 pyobj = PyUnicode_FromWideChar((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
13534#else
13535 pyobj = PyString_FromStringAndSize((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
13536#endif
13537 }
13538 return pyobj;
13539}
13540
13541
c370783e 13542static PyObject *_wrap_new_RadioBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13543 PyObject *resultobj;
13544 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17
RD
13545 int arg2 = (int) -1 ;
13546 wxString const &arg3_defvalue = wxPyEmptyString ;
13547 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
13548 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13549 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13550 wxSize const &arg5_defvalue = wxDefaultSize ;
13551 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13552 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
13553 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
13554 int arg7 = (int) 0 ;
13555 long arg8 = (long) wxRA_HORIZONTAL ;
13556 wxValidator const &arg9_defvalue = wxDefaultValidator ;
13557 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
13558 wxString const &arg10_defvalue = wxPyRadioBoxNameStr ;
13559 wxString *arg10 = (wxString *) &arg10_defvalue ;
13560 wxRadioBox *result;
b411df4a 13561 bool temp3 = false ;
d55e5bfc
RD
13562 wxPoint temp4 ;
13563 wxSize temp5 ;
b411df4a
RD
13564 bool temp6 = false ;
13565 bool temp10 = false ;
d55e5bfc
RD
13566 PyObject * obj0 = 0 ;
13567 PyObject * obj1 = 0 ;
13568 PyObject * obj2 = 0 ;
13569 PyObject * obj3 = 0 ;
13570 PyObject * obj4 = 0 ;
13571 PyObject * obj5 = 0 ;
13572 PyObject * obj6 = 0 ;
13573 PyObject * obj7 = 0 ;
13574 PyObject * obj8 = 0 ;
13575 PyObject * obj9 = 0 ;
13576 char *kwnames[] = {
13577 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13578 };
13579
bfddbb17 13580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
36ed4f51
RD
13581 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13582 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 13583 if (obj1) {
36ed4f51
RD
13584 {
13585 arg2 = (int)(SWIG_As_int(obj1));
13586 if (SWIG_arg_fail(2)) SWIG_fail;
13587 }
bfddbb17
RD
13588 }
13589 if (obj2) {
13590 {
13591 arg3 = wxString_in_helper(obj2);
13592 if (arg3 == NULL) SWIG_fail;
b411df4a 13593 temp3 = true;
bfddbb17 13594 }
d55e5bfc
RD
13595 }
13596 if (obj3) {
13597 {
13598 arg4 = &temp4;
13599 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13600 }
13601 }
13602 if (obj4) {
13603 {
13604 arg5 = &temp5;
13605 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13606 }
13607 }
13608 if (obj5) {
13609 {
13610 if (! PySequence_Check(obj5)) {
13611 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
13612 SWIG_fail;
13613 }
13614 arg6 = new wxArrayString;
b411df4a 13615 temp6 = true;
d55e5bfc
RD
13616 int i, len=PySequence_Length(obj5);
13617 for (i=0; i<len; i++) {
13618 PyObject* item = PySequence_GetItem(obj5, i);
13619#if wxUSE_UNICODE
13620 PyObject* str = PyObject_Unicode(item);
13621#else
13622 PyObject* str = PyObject_Str(item);
13623#endif
13624 if (PyErr_Occurred()) SWIG_fail;
13625 arg6->Add(Py2wxString(str));
13626 Py_DECREF(item);
13627 Py_DECREF(str);
13628 }
13629 }
13630 }
13631 if (obj6) {
36ed4f51
RD
13632 {
13633 arg7 = (int)(SWIG_As_int(obj6));
13634 if (SWIG_arg_fail(7)) SWIG_fail;
13635 }
d55e5bfc
RD
13636 }
13637 if (obj7) {
36ed4f51
RD
13638 {
13639 arg8 = (long)(SWIG_As_long(obj7));
13640 if (SWIG_arg_fail(8)) SWIG_fail;
13641 }
d55e5bfc
RD
13642 }
13643 if (obj8) {
36ed4f51
RD
13644 {
13645 SWIG_Python_ConvertPtr(obj8, (void **)&arg9, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
13646 if (SWIG_arg_fail(9)) SWIG_fail;
13647 if (arg9 == NULL) {
13648 SWIG_null_ref("wxValidator");
13649 }
13650 if (SWIG_arg_fail(9)) SWIG_fail;
d55e5bfc
RD
13651 }
13652 }
13653 if (obj9) {
13654 {
13655 arg10 = wxString_in_helper(obj9);
13656 if (arg10 == NULL) SWIG_fail;
b411df4a 13657 temp10 = true;
d55e5bfc
RD
13658 }
13659 }
13660 {
0439c23b 13661 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
13662 PyThreadState* __tstate = wxPyBeginAllowThreads();
13663 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);
13664
13665 wxPyEndAllowThreads(__tstate);
110da5b0 13666 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
13667 }
13668 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
13669 {
13670 if (temp3)
13671 delete arg3;
13672 }
13673 {
13674 if (temp6) delete arg6;
13675 }
13676 {
13677 if (temp10)
13678 delete arg10;
13679 }
13680 return resultobj;
13681 fail:
13682 {
13683 if (temp3)
13684 delete arg3;
13685 }
13686 {
13687 if (temp6) delete arg6;
13688 }
13689 {
13690 if (temp10)
13691 delete arg10;
13692 }
13693 return NULL;
13694}
13695
13696
c370783e 13697static PyObject *_wrap_new_PreRadioBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13698 PyObject *resultobj;
13699 wxRadioBox *result;
13700 char *kwnames[] = {
13701 NULL
13702 };
13703
13704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioBox",kwnames)) goto fail;
13705 {
0439c23b 13706 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
13707 PyThreadState* __tstate = wxPyBeginAllowThreads();
13708 result = (wxRadioBox *)new wxRadioBox();
13709
13710 wxPyEndAllowThreads(__tstate);
110da5b0 13711 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
13712 }
13713 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
13714 return resultobj;
13715 fail:
13716 return NULL;
13717}
13718
13719
c370783e 13720static PyObject *_wrap_RadioBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13721 PyObject *resultobj;
13722 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13723 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17
RD
13724 int arg3 = (int) -1 ;
13725 wxString const &arg4_defvalue = wxPyEmptyString ;
13726 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
13727 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13728 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13729 wxSize const &arg6_defvalue = wxDefaultSize ;
13730 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13731 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
13732 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
13733 int arg8 = (int) 0 ;
13734 long arg9 = (long) wxRA_HORIZONTAL ;
13735 wxValidator const &arg10_defvalue = wxDefaultValidator ;
13736 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
13737 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
13738 wxString *arg11 = (wxString *) &arg11_defvalue ;
13739 bool result;
b411df4a 13740 bool temp4 = false ;
d55e5bfc
RD
13741 wxPoint temp5 ;
13742 wxSize temp6 ;
b411df4a
RD
13743 bool temp7 = false ;
13744 bool temp11 = false ;
d55e5bfc
RD
13745 PyObject * obj0 = 0 ;
13746 PyObject * obj1 = 0 ;
13747 PyObject * obj2 = 0 ;
13748 PyObject * obj3 = 0 ;
13749 PyObject * obj4 = 0 ;
13750 PyObject * obj5 = 0 ;
13751 PyObject * obj6 = 0 ;
13752 PyObject * obj7 = 0 ;
13753 PyObject * obj8 = 0 ;
13754 PyObject * obj9 = 0 ;
13755 PyObject * obj10 = 0 ;
13756 char *kwnames[] = {
13757 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13758 };
13759
bfddbb17 13760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
36ed4f51
RD
13761 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13762 if (SWIG_arg_fail(1)) SWIG_fail;
13763 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13764 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 13765 if (obj2) {
36ed4f51
RD
13766 {
13767 arg3 = (int)(SWIG_As_int(obj2));
13768 if (SWIG_arg_fail(3)) SWIG_fail;
13769 }
bfddbb17
RD
13770 }
13771 if (obj3) {
13772 {
13773 arg4 = wxString_in_helper(obj3);
13774 if (arg4 == NULL) SWIG_fail;
b411df4a 13775 temp4 = true;
bfddbb17 13776 }
d55e5bfc
RD
13777 }
13778 if (obj4) {
13779 {
13780 arg5 = &temp5;
13781 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13782 }
13783 }
13784 if (obj5) {
13785 {
13786 arg6 = &temp6;
13787 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13788 }
13789 }
13790 if (obj6) {
13791 {
13792 if (! PySequence_Check(obj6)) {
13793 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
13794 SWIG_fail;
13795 }
13796 arg7 = new wxArrayString;
b411df4a 13797 temp7 = true;
d55e5bfc
RD
13798 int i, len=PySequence_Length(obj6);
13799 for (i=0; i<len; i++) {
13800 PyObject* item = PySequence_GetItem(obj6, i);
13801#if wxUSE_UNICODE
13802 PyObject* str = PyObject_Unicode(item);
13803#else
13804 PyObject* str = PyObject_Str(item);
13805#endif
13806 if (PyErr_Occurred()) SWIG_fail;
13807 arg7->Add(Py2wxString(str));
13808 Py_DECREF(item);
13809 Py_DECREF(str);
13810 }
13811 }
13812 }
13813 if (obj7) {
36ed4f51
RD
13814 {
13815 arg8 = (int)(SWIG_As_int(obj7));
13816 if (SWIG_arg_fail(8)) SWIG_fail;
13817 }
d55e5bfc
RD
13818 }
13819 if (obj8) {
36ed4f51
RD
13820 {
13821 arg9 = (long)(SWIG_As_long(obj8));
13822 if (SWIG_arg_fail(9)) SWIG_fail;
13823 }
d55e5bfc
RD
13824 }
13825 if (obj9) {
36ed4f51
RD
13826 {
13827 SWIG_Python_ConvertPtr(obj9, (void **)&arg10, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
13828 if (SWIG_arg_fail(10)) SWIG_fail;
13829 if (arg10 == NULL) {
13830 SWIG_null_ref("wxValidator");
13831 }
13832 if (SWIG_arg_fail(10)) SWIG_fail;
d55e5bfc
RD
13833 }
13834 }
13835 if (obj10) {
13836 {
13837 arg11 = wxString_in_helper(obj10);
13838 if (arg11 == NULL) SWIG_fail;
b411df4a 13839 temp11 = true;
d55e5bfc
RD
13840 }
13841 }
13842 {
13843 PyThreadState* __tstate = wxPyBeginAllowThreads();
13844 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);
13845
13846 wxPyEndAllowThreads(__tstate);
13847 if (PyErr_Occurred()) SWIG_fail;
13848 }
13849 {
13850 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13851 }
13852 {
13853 if (temp4)
13854 delete arg4;
13855 }
13856 {
13857 if (temp7) delete arg7;
13858 }
13859 {
13860 if (temp11)
13861 delete arg11;
13862 }
13863 return resultobj;
13864 fail:
13865 {
13866 if (temp4)
13867 delete arg4;
13868 }
13869 {
13870 if (temp7) delete arg7;
13871 }
13872 {
13873 if (temp11)
13874 delete arg11;
13875 }
13876 return NULL;
13877}
13878
13879
c370783e 13880static PyObject *_wrap_RadioBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13881 PyObject *resultobj;
13882 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13883 int arg2 ;
13884 PyObject * obj0 = 0 ;
13885 PyObject * obj1 = 0 ;
13886 char *kwnames[] = {
13887 (char *) "self",(char *) "n", NULL
13888 };
13889
13890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
13891 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13892 if (SWIG_arg_fail(1)) SWIG_fail;
13893 {
13894 arg2 = (int)(SWIG_As_int(obj1));
13895 if (SWIG_arg_fail(2)) SWIG_fail;
13896 }
d55e5bfc
RD
13897 {
13898 PyThreadState* __tstate = wxPyBeginAllowThreads();
13899 (arg1)->SetSelection(arg2);
13900
13901 wxPyEndAllowThreads(__tstate);
13902 if (PyErr_Occurred()) SWIG_fail;
13903 }
13904 Py_INCREF(Py_None); resultobj = Py_None;
13905 return resultobj;
13906 fail:
13907 return NULL;
13908}
13909
13910
c370783e 13911static PyObject *_wrap_RadioBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13912 PyObject *resultobj;
13913 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13914 int result;
13915 PyObject * obj0 = 0 ;
13916 char *kwnames[] = {
13917 (char *) "self", NULL
13918 };
13919
13920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetSelection",kwnames,&obj0)) goto fail;
36ed4f51
RD
13921 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13922 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13923 {
13924 PyThreadState* __tstate = wxPyBeginAllowThreads();
13925 result = (int)((wxRadioBox const *)arg1)->GetSelection();
13926
13927 wxPyEndAllowThreads(__tstate);
13928 if (PyErr_Occurred()) SWIG_fail;
13929 }
36ed4f51
RD
13930 {
13931 resultobj = SWIG_From_int((int)(result));
13932 }
d55e5bfc
RD
13933 return resultobj;
13934 fail:
13935 return NULL;
13936}
13937
13938
c370783e 13939static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13940 PyObject *resultobj;
13941 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13942 wxString result;
13943 PyObject * obj0 = 0 ;
13944 char *kwnames[] = {
13945 (char *) "self", NULL
13946 };
13947
13948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetStringSelection",kwnames,&obj0)) goto fail;
36ed4f51
RD
13949 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13950 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13951 {
13952 PyThreadState* __tstate = wxPyBeginAllowThreads();
13953 result = ((wxRadioBox const *)arg1)->GetStringSelection();
13954
13955 wxPyEndAllowThreads(__tstate);
13956 if (PyErr_Occurred()) SWIG_fail;
13957 }
13958 {
13959#if wxUSE_UNICODE
13960 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13961#else
13962 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13963#endif
13964 }
13965 return resultobj;
13966 fail:
13967 return NULL;
13968}
13969
13970
c370783e 13971static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13972 PyObject *resultobj;
13973 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13974 wxString *arg2 = 0 ;
13975 bool result;
b411df4a 13976 bool temp2 = false ;
d55e5bfc
RD
13977 PyObject * obj0 = 0 ;
13978 PyObject * obj1 = 0 ;
13979 char *kwnames[] = {
13980 (char *) "self",(char *) "s", NULL
13981 };
13982
13983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
13984 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13985 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13986 {
13987 arg2 = wxString_in_helper(obj1);
13988 if (arg2 == NULL) SWIG_fail;
b411df4a 13989 temp2 = true;
d55e5bfc
RD
13990 }
13991 {
13992 PyThreadState* __tstate = wxPyBeginAllowThreads();
13993 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
13994
13995 wxPyEndAllowThreads(__tstate);
13996 if (PyErr_Occurred()) SWIG_fail;
13997 }
13998 {
13999 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14000 }
14001 {
14002 if (temp2)
14003 delete arg2;
14004 }
14005 return resultobj;
14006 fail:
14007 {
14008 if (temp2)
14009 delete arg2;
14010 }
14011 return NULL;
14012}
14013
14014
c370783e 14015static PyObject *_wrap_RadioBox_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14016 PyObject *resultobj;
14017 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14018 int result;
14019 PyObject * obj0 = 0 ;
14020 char *kwnames[] = {
14021 (char *) "self", NULL
14022 };
14023
14024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetCount",kwnames,&obj0)) goto fail;
36ed4f51
RD
14025 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14026 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14027 {
14028 PyThreadState* __tstate = wxPyBeginAllowThreads();
14029 result = (int)((wxRadioBox const *)arg1)->GetCount();
14030
14031 wxPyEndAllowThreads(__tstate);
14032 if (PyErr_Occurred()) SWIG_fail;
14033 }
36ed4f51
RD
14034 {
14035 resultobj = SWIG_From_int((int)(result));
14036 }
d55e5bfc
RD
14037 return resultobj;
14038 fail:
14039 return NULL;
14040}
14041
14042
c370783e 14043static PyObject *_wrap_RadioBox_FindString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14044 PyObject *resultobj;
14045 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14046 wxString *arg2 = 0 ;
14047 int result;
b411df4a 14048 bool temp2 = false ;
d55e5bfc
RD
14049 PyObject * obj0 = 0 ;
14050 PyObject * obj1 = 0 ;
14051 char *kwnames[] = {
14052 (char *) "self",(char *) "s", NULL
14053 };
14054
14055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
14056 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14057 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14058 {
14059 arg2 = wxString_in_helper(obj1);
14060 if (arg2 == NULL) SWIG_fail;
b411df4a 14061 temp2 = true;
d55e5bfc
RD
14062 }
14063 {
14064 PyThreadState* __tstate = wxPyBeginAllowThreads();
14065 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
14066
14067 wxPyEndAllowThreads(__tstate);
14068 if (PyErr_Occurred()) SWIG_fail;
14069 }
36ed4f51
RD
14070 {
14071 resultobj = SWIG_From_int((int)(result));
14072 }
d55e5bfc
RD
14073 {
14074 if (temp2)
14075 delete arg2;
14076 }
14077 return resultobj;
14078 fail:
14079 {
14080 if (temp2)
14081 delete arg2;
14082 }
14083 return NULL;
14084}
14085
14086
c370783e 14087static PyObject *_wrap_RadioBox_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14088 PyObject *resultobj;
14089 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14090 int arg2 ;
14091 wxString result;
14092 PyObject * obj0 = 0 ;
14093 PyObject * obj1 = 0 ;
14094 char *kwnames[] = {
14095 (char *) "self",(char *) "n", NULL
14096 };
14097
14098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetString",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
14099 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14100 if (SWIG_arg_fail(1)) SWIG_fail;
14101 {
14102 arg2 = (int)(SWIG_As_int(obj1));
14103 if (SWIG_arg_fail(2)) SWIG_fail;
14104 }
d55e5bfc
RD
14105 {
14106 PyThreadState* __tstate = wxPyBeginAllowThreads();
14107 result = ((wxRadioBox const *)arg1)->GetString(arg2);
14108
14109 wxPyEndAllowThreads(__tstate);
14110 if (PyErr_Occurred()) SWIG_fail;
14111 }
14112 {
14113#if wxUSE_UNICODE
14114 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14115#else
14116 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14117#endif
14118 }
14119 return resultobj;
14120 fail:
14121 return NULL;
14122}
14123
14124
c370783e 14125static PyObject *_wrap_RadioBox_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14126 PyObject *resultobj;
14127 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14128 int arg2 ;
14129 wxString *arg3 = 0 ;
b411df4a 14130 bool temp3 = false ;
d55e5bfc
RD
14131 PyObject * obj0 = 0 ;
14132 PyObject * obj1 = 0 ;
14133 PyObject * obj2 = 0 ;
14134 char *kwnames[] = {
14135 (char *) "self",(char *) "n",(char *) "label", NULL
14136 };
14137
14138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
14139 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14140 if (SWIG_arg_fail(1)) SWIG_fail;
14141 {
14142 arg2 = (int)(SWIG_As_int(obj1));
14143 if (SWIG_arg_fail(2)) SWIG_fail;
14144 }
d55e5bfc
RD
14145 {
14146 arg3 = wxString_in_helper(obj2);
14147 if (arg3 == NULL) SWIG_fail;
b411df4a 14148 temp3 = true;
d55e5bfc
RD
14149 }
14150 {
14151 PyThreadState* __tstate = wxPyBeginAllowThreads();
14152 (arg1)->SetString(arg2,(wxString const &)*arg3);
14153
14154 wxPyEndAllowThreads(__tstate);
14155 if (PyErr_Occurred()) SWIG_fail;
14156 }
14157 Py_INCREF(Py_None); resultobj = Py_None;
14158 {
14159 if (temp3)
14160 delete arg3;
14161 }
14162 return resultobj;
14163 fail:
14164 {
14165 if (temp3)
14166 delete arg3;
14167 }
14168 return NULL;
14169}
14170
14171
c370783e 14172static PyObject *_wrap_RadioBox_EnableItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14173 PyObject *resultobj;
14174 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14175 int arg2 ;
b411df4a 14176 bool arg3 = (bool) true ;
d55e5bfc
RD
14177 PyObject * obj0 = 0 ;
14178 PyObject * obj1 = 0 ;
14179 PyObject * obj2 = 0 ;
14180 char *kwnames[] = {
14181 (char *) "self",(char *) "n",(char *) "enable", NULL
14182 };
14183
14184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_EnableItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
14185 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14186 if (SWIG_arg_fail(1)) SWIG_fail;
14187 {
14188 arg2 = (int)(SWIG_As_int(obj1));
14189 if (SWIG_arg_fail(2)) SWIG_fail;
14190 }
d55e5bfc 14191 if (obj2) {
36ed4f51
RD
14192 {
14193 arg3 = (bool)(SWIG_As_bool(obj2));
14194 if (SWIG_arg_fail(3)) SWIG_fail;
14195 }
d55e5bfc
RD
14196 }
14197 {
14198 PyThreadState* __tstate = wxPyBeginAllowThreads();
14199 (arg1)->Enable(arg2,arg3);
14200
14201 wxPyEndAllowThreads(__tstate);
14202 if (PyErr_Occurred()) SWIG_fail;
14203 }
14204 Py_INCREF(Py_None); resultobj = Py_None;
14205 return resultobj;
14206 fail:
14207 return NULL;
14208}
14209
14210
c370783e 14211static PyObject *_wrap_RadioBox_ShowItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14212 PyObject *resultobj;
14213 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14214 int arg2 ;
b411df4a 14215 bool arg3 = (bool) true ;
d55e5bfc
RD
14216 PyObject * obj0 = 0 ;
14217 PyObject * obj1 = 0 ;
14218 PyObject * obj2 = 0 ;
14219 char *kwnames[] = {
14220 (char *) "self",(char *) "n",(char *) "show", NULL
14221 };
14222
14223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_ShowItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
14224 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14225 if (SWIG_arg_fail(1)) SWIG_fail;
14226 {
14227 arg2 = (int)(SWIG_As_int(obj1));
14228 if (SWIG_arg_fail(2)) SWIG_fail;
14229 }
d55e5bfc 14230 if (obj2) {
36ed4f51
RD
14231 {
14232 arg3 = (bool)(SWIG_As_bool(obj2));
14233 if (SWIG_arg_fail(3)) SWIG_fail;
14234 }
d55e5bfc
RD
14235 }
14236 {
14237 PyThreadState* __tstate = wxPyBeginAllowThreads();
14238 (arg1)->Show(arg2,arg3);
14239
14240 wxPyEndAllowThreads(__tstate);
14241 if (PyErr_Occurred()) SWIG_fail;
14242 }
14243 Py_INCREF(Py_None); resultobj = Py_None;
14244 return resultobj;
14245 fail:
14246 return NULL;
14247}
14248
14249
c370783e 14250static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14251 PyObject *resultobj;
14252 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14253 int result;
14254 PyObject * obj0 = 0 ;
14255 char *kwnames[] = {
14256 (char *) "self", NULL
14257 };
14258
14259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetColumnCount",kwnames,&obj0)) goto fail;
36ed4f51
RD
14260 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14261 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14262 {
14263 PyThreadState* __tstate = wxPyBeginAllowThreads();
14264 result = (int)((wxRadioBox const *)arg1)->GetColumnCount();
14265
14266 wxPyEndAllowThreads(__tstate);
14267 if (PyErr_Occurred()) SWIG_fail;
14268 }
36ed4f51
RD
14269 {
14270 resultobj = SWIG_From_int((int)(result));
14271 }
d55e5bfc
RD
14272 return resultobj;
14273 fail:
14274 return NULL;
14275}
14276
14277
c370783e 14278static PyObject *_wrap_RadioBox_GetRowCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14279 PyObject *resultobj;
14280 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14281 int result;
14282 PyObject * obj0 = 0 ;
14283 char *kwnames[] = {
14284 (char *) "self", NULL
14285 };
14286
14287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetRowCount",kwnames,&obj0)) goto fail;
36ed4f51
RD
14288 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14289 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14290 {
14291 PyThreadState* __tstate = wxPyBeginAllowThreads();
14292 result = (int)((wxRadioBox const *)arg1)->GetRowCount();
14293
14294 wxPyEndAllowThreads(__tstate);
14295 if (PyErr_Occurred()) SWIG_fail;
14296 }
36ed4f51
RD
14297 {
14298 resultobj = SWIG_From_int((int)(result));
14299 }
d55e5bfc
RD
14300 return resultobj;
14301 fail:
14302 return NULL;
14303}
14304
14305
c370783e 14306static PyObject *_wrap_RadioBox_GetNextItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14307 PyObject *resultobj;
14308 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14309 int arg2 ;
36ed4f51 14310 wxDirection arg3 ;
d55e5bfc
RD
14311 long arg4 ;
14312 int result;
14313 PyObject * obj0 = 0 ;
14314 PyObject * obj1 = 0 ;
14315 PyObject * obj2 = 0 ;
14316 PyObject * obj3 = 0 ;
14317 char *kwnames[] = {
14318 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
14319 };
14320
14321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RadioBox_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
14322 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14323 if (SWIG_arg_fail(1)) SWIG_fail;
14324 {
14325 arg2 = (int)(SWIG_As_int(obj1));
14326 if (SWIG_arg_fail(2)) SWIG_fail;
14327 }
14328 {
14329 arg3 = (wxDirection)(SWIG_As_int(obj2));
14330 if (SWIG_arg_fail(3)) SWIG_fail;
14331 }
14332 {
14333 arg4 = (long)(SWIG_As_long(obj3));
14334 if (SWIG_arg_fail(4)) SWIG_fail;
14335 }
d55e5bfc
RD
14336 {
14337 PyThreadState* __tstate = wxPyBeginAllowThreads();
14338 result = (int)((wxRadioBox const *)arg1)->GetNextItem(arg2,(wxDirection )arg3,arg4);
14339
14340 wxPyEndAllowThreads(__tstate);
14341 if (PyErr_Occurred()) SWIG_fail;
14342 }
36ed4f51
RD
14343 {
14344 resultobj = SWIG_From_int((int)(result));
14345 }
d55e5bfc
RD
14346 return resultobj;
14347 fail:
14348 return NULL;
14349}
14350
14351
c370783e 14352static PyObject *_wrap_RadioBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 14353 PyObject *resultobj;
36ed4f51 14354 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
14355 wxVisualAttributes result;
14356 PyObject * obj0 = 0 ;
14357 char *kwnames[] = {
14358 (char *) "variant", NULL
14359 };
14360
14361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
14362 if (obj0) {
36ed4f51
RD
14363 {
14364 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
14365 if (SWIG_arg_fail(1)) SWIG_fail;
14366 }
f20a2e1f
RD
14367 }
14368 {
0439c23b 14369 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
14370 PyThreadState* __tstate = wxPyBeginAllowThreads();
14371 result = wxRadioBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
14372
14373 wxPyEndAllowThreads(__tstate);
110da5b0 14374 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
14375 }
14376 {
14377 wxVisualAttributes * resultptr;
36ed4f51 14378 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
14379 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
14380 }
14381 return resultobj;
14382 fail:
14383 return NULL;
14384}
14385
14386
c370783e 14387static PyObject * RadioBox_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
14388 PyObject *obj;
14389 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14390 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox, obj);
14391 Py_INCREF(obj);
14392 return Py_BuildValue((char *)"");
14393}
c370783e 14394static PyObject *_wrap_new_RadioButton(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14395 PyObject *resultobj;
14396 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17
RD
14397 int arg2 = (int) -1 ;
14398 wxString const &arg3_defvalue = wxPyEmptyString ;
14399 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
14400 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14401 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14402 wxSize const &arg5_defvalue = wxDefaultSize ;
14403 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14404 long arg6 = (long) 0 ;
14405 wxValidator const &arg7_defvalue = wxDefaultValidator ;
14406 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
14407 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
14408 wxString *arg8 = (wxString *) &arg8_defvalue ;
14409 wxRadioButton *result;
b411df4a 14410 bool temp3 = false ;
d55e5bfc
RD
14411 wxPoint temp4 ;
14412 wxSize temp5 ;
b411df4a 14413 bool temp8 = false ;
d55e5bfc
RD
14414 PyObject * obj0 = 0 ;
14415 PyObject * obj1 = 0 ;
14416 PyObject * obj2 = 0 ;
14417 PyObject * obj3 = 0 ;
14418 PyObject * obj4 = 0 ;
14419 PyObject * obj5 = 0 ;
14420 PyObject * obj6 = 0 ;
14421 PyObject * obj7 = 0 ;
14422 char *kwnames[] = {
14423 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14424 };
14425
bfddbb17 14426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_RadioButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
14427 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14428 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 14429 if (obj1) {
36ed4f51
RD
14430 {
14431 arg2 = (int)(SWIG_As_int(obj1));
14432 if (SWIG_arg_fail(2)) SWIG_fail;
14433 }
bfddbb17
RD
14434 }
14435 if (obj2) {
14436 {
14437 arg3 = wxString_in_helper(obj2);
14438 if (arg3 == NULL) SWIG_fail;
b411df4a 14439 temp3 = true;
bfddbb17 14440 }
d55e5bfc
RD
14441 }
14442 if (obj3) {
14443 {
14444 arg4 = &temp4;
14445 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14446 }
14447 }
14448 if (obj4) {
14449 {
14450 arg5 = &temp5;
14451 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14452 }
14453 }
14454 if (obj5) {
36ed4f51
RD
14455 {
14456 arg6 = (long)(SWIG_As_long(obj5));
14457 if (SWIG_arg_fail(6)) SWIG_fail;
14458 }
d55e5bfc
RD
14459 }
14460 if (obj6) {
36ed4f51
RD
14461 {
14462 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14463 if (SWIG_arg_fail(7)) SWIG_fail;
14464 if (arg7 == NULL) {
14465 SWIG_null_ref("wxValidator");
14466 }
14467 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
14468 }
14469 }
14470 if (obj7) {
14471 {
14472 arg8 = wxString_in_helper(obj7);
14473 if (arg8 == NULL) SWIG_fail;
b411df4a 14474 temp8 = true;
d55e5bfc
RD
14475 }
14476 }
14477 {
0439c23b 14478 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14479 PyThreadState* __tstate = wxPyBeginAllowThreads();
14480 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
14481
14482 wxPyEndAllowThreads(__tstate);
110da5b0 14483 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14484 }
14485 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
14486 {
14487 if (temp3)
14488 delete arg3;
14489 }
14490 {
14491 if (temp8)
14492 delete arg8;
14493 }
14494 return resultobj;
14495 fail:
14496 {
14497 if (temp3)
14498 delete arg3;
14499 }
14500 {
14501 if (temp8)
14502 delete arg8;
14503 }
14504 return NULL;
14505}
14506
14507
c370783e 14508static PyObject *_wrap_new_PreRadioButton(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14509 PyObject *resultobj;
14510 wxRadioButton *result;
14511 char *kwnames[] = {
14512 NULL
14513 };
14514
14515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioButton",kwnames)) goto fail;
14516 {
0439c23b 14517 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14518 PyThreadState* __tstate = wxPyBeginAllowThreads();
14519 result = (wxRadioButton *)new wxRadioButton();
14520
14521 wxPyEndAllowThreads(__tstate);
110da5b0 14522 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14523 }
14524 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
14525 return resultobj;
14526 fail:
14527 return NULL;
14528}
14529
14530
c370783e 14531static PyObject *_wrap_RadioButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14532 PyObject *resultobj;
14533 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
14534 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17
RD
14535 int arg3 = (int) -1 ;
14536 wxString const &arg4_defvalue = wxPyEmptyString ;
14537 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
14538 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14539 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14540 wxSize const &arg6_defvalue = wxDefaultSize ;
14541 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14542 long arg7 = (long) 0 ;
14543 wxValidator const &arg8_defvalue = wxDefaultValidator ;
14544 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
14545 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
14546 wxString *arg9 = (wxString *) &arg9_defvalue ;
14547 bool result;
b411df4a 14548 bool temp4 = false ;
d55e5bfc
RD
14549 wxPoint temp5 ;
14550 wxSize temp6 ;
b411df4a 14551 bool temp9 = false ;
d55e5bfc
RD
14552 PyObject * obj0 = 0 ;
14553 PyObject * obj1 = 0 ;
14554 PyObject * obj2 = 0 ;
14555 PyObject * obj3 = 0 ;
14556 PyObject * obj4 = 0 ;
14557 PyObject * obj5 = 0 ;
14558 PyObject * obj6 = 0 ;
14559 PyObject * obj7 = 0 ;
14560 PyObject * obj8 = 0 ;
14561 char *kwnames[] = {
14562 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14563 };
14564
bfddbb17 14565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
36ed4f51
RD
14566 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioButton, SWIG_POINTER_EXCEPTION | 0);
14567 if (SWIG_arg_fail(1)) SWIG_fail;
14568 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14569 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 14570 if (obj2) {
36ed4f51
RD
14571 {
14572 arg3 = (int)(SWIG_As_int(obj2));
14573 if (SWIG_arg_fail(3)) SWIG_fail;
14574 }
bfddbb17
RD
14575 }
14576 if (obj3) {
14577 {
14578 arg4 = wxString_in_helper(obj3);
14579 if (arg4 == NULL) SWIG_fail;
b411df4a 14580 temp4 = true;
bfddbb17 14581 }
d55e5bfc
RD
14582 }
14583 if (obj4) {
14584 {
14585 arg5 = &temp5;
14586 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14587 }
14588 }
14589 if (obj5) {
14590 {
14591 arg6 = &temp6;
14592 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14593 }
14594 }
14595 if (obj6) {
36ed4f51
RD
14596 {
14597 arg7 = (long)(SWIG_As_long(obj6));
14598 if (SWIG_arg_fail(7)) SWIG_fail;
14599 }
d55e5bfc
RD
14600 }
14601 if (obj7) {
36ed4f51
RD
14602 {
14603 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14604 if (SWIG_arg_fail(8)) SWIG_fail;
14605 if (arg8 == NULL) {
14606 SWIG_null_ref("wxValidator");
14607 }
14608 if (SWIG_arg_fail(8)) SWIG_fail;
d55e5bfc
RD
14609 }
14610 }
14611 if (obj8) {
14612 {
14613 arg9 = wxString_in_helper(obj8);
14614 if (arg9 == NULL) SWIG_fail;
b411df4a 14615 temp9 = true;
d55e5bfc
RD
14616 }
14617 }
14618 {
14619 PyThreadState* __tstate = wxPyBeginAllowThreads();
14620 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
14621
14622 wxPyEndAllowThreads(__tstate);
14623 if (PyErr_Occurred()) SWIG_fail;
14624 }
14625 {
14626 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14627 }
14628 {
14629 if (temp4)
14630 delete arg4;
14631 }
14632 {
14633 if (temp9)
14634 delete arg9;
14635 }
14636 return resultobj;
14637 fail:
14638 {
14639 if (temp4)
14640 delete arg4;
14641 }
14642 {
14643 if (temp9)
14644 delete arg9;
14645 }
14646 return NULL;
14647}
14648
14649
c370783e 14650static PyObject *_wrap_RadioButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14651 PyObject *resultobj;
14652 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
14653 bool result;
14654 PyObject * obj0 = 0 ;
14655 char *kwnames[] = {
14656 (char *) "self", NULL
14657 };
14658
14659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioButton_GetValue",kwnames,&obj0)) goto fail;
36ed4f51
RD
14660 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioButton, SWIG_POINTER_EXCEPTION | 0);
14661 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14662 {
14663 PyThreadState* __tstate = wxPyBeginAllowThreads();
14664 result = (bool)(arg1)->GetValue();
14665
14666 wxPyEndAllowThreads(__tstate);
14667 if (PyErr_Occurred()) SWIG_fail;
14668 }
14669 {
14670 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14671 }
14672 return resultobj;
14673 fail:
14674 return NULL;
14675}
14676
14677
c370783e 14678static PyObject *_wrap_RadioButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14679 PyObject *resultobj;
14680 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
14681 bool arg2 ;
14682 PyObject * obj0 = 0 ;
14683 PyObject * obj1 = 0 ;
14684 char *kwnames[] = {
14685 (char *) "self",(char *) "value", NULL
14686 };
14687
14688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
14689 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioButton, SWIG_POINTER_EXCEPTION | 0);
14690 if (SWIG_arg_fail(1)) SWIG_fail;
14691 {
14692 arg2 = (bool)(SWIG_As_bool(obj1));
14693 if (SWIG_arg_fail(2)) SWIG_fail;
14694 }
d55e5bfc
RD
14695 {
14696 PyThreadState* __tstate = wxPyBeginAllowThreads();
14697 (arg1)->SetValue(arg2);
14698
14699 wxPyEndAllowThreads(__tstate);
14700 if (PyErr_Occurred()) SWIG_fail;
14701 }
14702 Py_INCREF(Py_None); resultobj = Py_None;
14703 return resultobj;
14704 fail:
14705 return NULL;
14706}
14707
14708
c370783e 14709static PyObject *_wrap_RadioButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 14710 PyObject *resultobj;
36ed4f51 14711 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
14712 wxVisualAttributes result;
14713 PyObject * obj0 = 0 ;
14714 char *kwnames[] = {
14715 (char *) "variant", NULL
14716 };
14717
14718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
14719 if (obj0) {
36ed4f51
RD
14720 {
14721 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
14722 if (SWIG_arg_fail(1)) SWIG_fail;
14723 }
f20a2e1f
RD
14724 }
14725 {
0439c23b 14726 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
14727 PyThreadState* __tstate = wxPyBeginAllowThreads();
14728 result = wxRadioButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
14729
14730 wxPyEndAllowThreads(__tstate);
110da5b0 14731 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
14732 }
14733 {
14734 wxVisualAttributes * resultptr;
36ed4f51 14735 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
14736 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
14737 }
14738 return resultobj;
14739 fail:
14740 return NULL;
14741}
14742
14743
c370783e 14744static PyObject * RadioButton_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
14745 PyObject *obj;
14746 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14747 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton, obj);
14748 Py_INCREF(obj);
14749 return Py_BuildValue((char *)"");
14750}
c370783e 14751static int _wrap_SliderNameStr_set(PyObject *) {
d55e5bfc
RD
14752 PyErr_SetString(PyExc_TypeError,"Variable SliderNameStr is read-only.");
14753 return 1;
14754}
14755
14756
36ed4f51 14757static PyObject *_wrap_SliderNameStr_get(void) {
d55e5bfc
RD
14758 PyObject *pyobj;
14759
14760 {
14761#if wxUSE_UNICODE
14762 pyobj = PyUnicode_FromWideChar((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
14763#else
14764 pyobj = PyString_FromStringAndSize((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
14765#endif
14766 }
14767 return pyobj;
14768}
14769
14770
c370783e 14771static PyObject *_wrap_new_Slider(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14772 PyObject *resultobj;
14773 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17
RD
14774 int arg2 = (int) -1 ;
14775 int arg3 = (int) 0 ;
14776 int arg4 = (int) 0 ;
14777 int arg5 = (int) 100 ;
d55e5bfc
RD
14778 wxPoint const &arg6_defvalue = wxDefaultPosition ;
14779 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
14780 wxSize const &arg7_defvalue = wxDefaultSize ;
14781 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
14782 long arg8 = (long) wxSL_HORIZONTAL ;
14783 wxValidator const &arg9_defvalue = wxDefaultValidator ;
14784 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
14785 wxString const &arg10_defvalue = wxPySliderNameStr ;
14786 wxString *arg10 = (wxString *) &arg10_defvalue ;
14787 wxSlider *result;
14788 wxPoint temp6 ;
14789 wxSize temp7 ;
b411df4a 14790 bool temp10 = false ;
d55e5bfc
RD
14791 PyObject * obj0 = 0 ;
14792 PyObject * obj1 = 0 ;
14793 PyObject * obj2 = 0 ;
14794 PyObject * obj3 = 0 ;
14795 PyObject * obj4 = 0 ;
14796 PyObject * obj5 = 0 ;
14797 PyObject * obj6 = 0 ;
14798 PyObject * obj7 = 0 ;
14799 PyObject * obj8 = 0 ;
14800 PyObject * obj9 = 0 ;
14801 char *kwnames[] = {
14802 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14803 };
14804
bfddbb17 14805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_Slider",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
36ed4f51
RD
14806 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14807 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 14808 if (obj1) {
36ed4f51
RD
14809 {
14810 arg2 = (int)(SWIG_As_int(obj1));
14811 if (SWIG_arg_fail(2)) SWIG_fail;
14812 }
bfddbb17
RD
14813 }
14814 if (obj2) {
36ed4f51
RD
14815 {
14816 arg3 = (int)(SWIG_As_int(obj2));
14817 if (SWIG_arg_fail(3)) SWIG_fail;
14818 }
bfddbb17
RD
14819 }
14820 if (obj3) {
36ed4f51
RD
14821 {
14822 arg4 = (int)(SWIG_As_int(obj3));
14823 if (SWIG_arg_fail(4)) SWIG_fail;
14824 }
bfddbb17
RD
14825 }
14826 if (obj4) {
36ed4f51
RD
14827 {
14828 arg5 = (int)(SWIG_As_int(obj4));
14829 if (SWIG_arg_fail(5)) SWIG_fail;
14830 }
bfddbb17 14831 }
d55e5bfc
RD
14832 if (obj5) {
14833 {
14834 arg6 = &temp6;
14835 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
14836 }
14837 }
14838 if (obj6) {
14839 {
14840 arg7 = &temp7;
14841 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
14842 }
14843 }
14844 if (obj7) {
36ed4f51
RD
14845 {
14846 arg8 = (long)(SWIG_As_long(obj7));
14847 if (SWIG_arg_fail(8)) SWIG_fail;
14848 }
d55e5bfc
RD
14849 }
14850 if (obj8) {
36ed4f51
RD
14851 {
14852 SWIG_Python_ConvertPtr(obj8, (void **)&arg9, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14853 if (SWIG_arg_fail(9)) SWIG_fail;
14854 if (arg9 == NULL) {
14855 SWIG_null_ref("wxValidator");
14856 }
14857 if (SWIG_arg_fail(9)) SWIG_fail;
d55e5bfc
RD
14858 }
14859 }
14860 if (obj9) {
14861 {
14862 arg10 = wxString_in_helper(obj9);
14863 if (arg10 == NULL) SWIG_fail;
b411df4a 14864 temp10 = true;
d55e5bfc
RD
14865 }
14866 }
14867 {
0439c23b 14868 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14869 PyThreadState* __tstate = wxPyBeginAllowThreads();
14870 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
14871
14872 wxPyEndAllowThreads(__tstate);
110da5b0 14873 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14874 }
14875 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
14876 {
14877 if (temp10)
14878 delete arg10;
14879 }
14880 return resultobj;
14881 fail:
14882 {
14883 if (temp10)
14884 delete arg10;
14885 }
14886 return NULL;
14887}
14888
14889
c370783e 14890static PyObject *_wrap_new_PreSlider(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14891 PyObject *resultobj;
14892 wxSlider *result;
14893 char *kwnames[] = {
14894 NULL
14895 };
14896
14897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSlider",kwnames)) goto fail;
14898 {
0439c23b 14899 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14900 PyThreadState* __tstate = wxPyBeginAllowThreads();
14901 result = (wxSlider *)new wxSlider();
14902
14903 wxPyEndAllowThreads(__tstate);
110da5b0 14904 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14905 }
14906 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
14907 return resultobj;
14908 fail:
14909 return NULL;
14910}
14911
14912
c370783e 14913static PyObject *_wrap_Slider_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14914 PyObject *resultobj;
14915 wxSlider *arg1 = (wxSlider *) 0 ;
14916 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17
RD
14917 int arg3 = (int) -1 ;
14918 int arg4 = (int) 0 ;
14919 int arg5 = (int) 0 ;
14920 int arg6 = (int) 100 ;
d55e5bfc
RD
14921 wxPoint const &arg7_defvalue = wxDefaultPosition ;
14922 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
14923 wxSize const &arg8_defvalue = wxDefaultSize ;
14924 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
14925 long arg9 = (long) wxSL_HORIZONTAL ;
14926 wxValidator const &arg10_defvalue = wxDefaultValidator ;
14927 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
14928 wxString const &arg11_defvalue = wxPySliderNameStr ;
14929 wxString *arg11 = (wxString *) &arg11_defvalue ;
14930 bool result;
14931 wxPoint temp7 ;
14932 wxSize temp8 ;
b411df4a 14933 bool temp11 = false ;
d55e5bfc
RD
14934 PyObject * obj0 = 0 ;
14935 PyObject * obj1 = 0 ;
14936 PyObject * obj2 = 0 ;
14937 PyObject * obj3 = 0 ;
14938 PyObject * obj4 = 0 ;
14939 PyObject * obj5 = 0 ;
14940 PyObject * obj6 = 0 ;
14941 PyObject * obj7 = 0 ;
14942 PyObject * obj8 = 0 ;
14943 PyObject * obj9 = 0 ;
14944 PyObject * obj10 = 0 ;
14945 char *kwnames[] = {
14946 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14947 };
14948
bfddbb17 14949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
36ed4f51
RD
14950 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
14951 if (SWIG_arg_fail(1)) SWIG_fail;
14952 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14953 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 14954 if (obj2) {
36ed4f51
RD
14955 {
14956 arg3 = (int)(SWIG_As_int(obj2));
14957 if (SWIG_arg_fail(3)) SWIG_fail;
14958 }
bfddbb17
RD
14959 }
14960 if (obj3) {
36ed4f51
RD
14961 {
14962 arg4 = (int)(SWIG_As_int(obj3));
14963 if (SWIG_arg_fail(4)) SWIG_fail;
14964 }
bfddbb17
RD
14965 }
14966 if (obj4) {
36ed4f51
RD
14967 {
14968 arg5 = (int)(SWIG_As_int(obj4));
14969 if (SWIG_arg_fail(5)) SWIG_fail;
14970 }
bfddbb17
RD
14971 }
14972 if (obj5) {
36ed4f51
RD
14973 {
14974 arg6 = (int)(SWIG_As_int(obj5));
14975 if (SWIG_arg_fail(6)) SWIG_fail;
14976 }
bfddbb17 14977 }
d55e5bfc
RD
14978 if (obj6) {
14979 {
14980 arg7 = &temp7;
14981 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
14982 }
14983 }
14984 if (obj7) {
14985 {
14986 arg8 = &temp8;
14987 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
14988 }
14989 }
14990 if (obj8) {
36ed4f51
RD
14991 {
14992 arg9 = (long)(SWIG_As_long(obj8));
14993 if (SWIG_arg_fail(9)) SWIG_fail;
14994 }
d55e5bfc
RD
14995 }
14996 if (obj9) {
36ed4f51
RD
14997 {
14998 SWIG_Python_ConvertPtr(obj9, (void **)&arg10, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14999 if (SWIG_arg_fail(10)) SWIG_fail;
15000 if (arg10 == NULL) {
15001 SWIG_null_ref("wxValidator");
15002 }
15003 if (SWIG_arg_fail(10)) SWIG_fail;
d55e5bfc
RD
15004 }
15005 }
15006 if (obj10) {
15007 {
15008 arg11 = wxString_in_helper(obj10);
15009 if (arg11 == NULL) SWIG_fail;
b411df4a 15010 temp11 = true;
d55e5bfc
RD
15011 }
15012 }
15013 {
15014 PyThreadState* __tstate = wxPyBeginAllowThreads();
15015 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
15016
15017 wxPyEndAllowThreads(__tstate);
15018 if (PyErr_Occurred()) SWIG_fail;
15019 }
15020 {
15021 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15022 }
15023 {
15024 if (temp11)
15025 delete arg11;
15026 }
15027 return resultobj;
15028 fail:
15029 {
15030 if (temp11)
15031 delete arg11;
15032 }
15033 return NULL;
15034}
15035
15036
c370783e 15037static PyObject *_wrap_Slider_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15038 PyObject *resultobj;
15039 wxSlider *arg1 = (wxSlider *) 0 ;
15040 int result;
15041 PyObject * obj0 = 0 ;
15042 char *kwnames[] = {
15043 (char *) "self", NULL
15044 };
15045
15046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetValue",kwnames,&obj0)) goto fail;
36ed4f51
RD
15047 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15048 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15049 {
15050 PyThreadState* __tstate = wxPyBeginAllowThreads();
15051 result = (int)((wxSlider const *)arg1)->GetValue();
15052
15053 wxPyEndAllowThreads(__tstate);
15054 if (PyErr_Occurred()) SWIG_fail;
15055 }
36ed4f51
RD
15056 {
15057 resultobj = SWIG_From_int((int)(result));
15058 }
d55e5bfc
RD
15059 return resultobj;
15060 fail:
15061 return NULL;
15062}
15063
15064
c370783e 15065static PyObject *_wrap_Slider_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15066 PyObject *resultobj;
15067 wxSlider *arg1 = (wxSlider *) 0 ;
15068 int arg2 ;
15069 PyObject * obj0 = 0 ;
15070 PyObject * obj1 = 0 ;
15071 char *kwnames[] = {
15072 (char *) "self",(char *) "value", NULL
15073 };
15074
15075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetValue",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
15076 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15077 if (SWIG_arg_fail(1)) SWIG_fail;
15078 {
15079 arg2 = (int)(SWIG_As_int(obj1));
15080 if (SWIG_arg_fail(2)) SWIG_fail;
15081 }
d55e5bfc
RD
15082 {
15083 PyThreadState* __tstate = wxPyBeginAllowThreads();
15084 (arg1)->SetValue(arg2);
15085
15086 wxPyEndAllowThreads(__tstate);
15087 if (PyErr_Occurred()) SWIG_fail;
15088 }
15089 Py_INCREF(Py_None); resultobj = Py_None;
15090 return resultobj;
15091 fail:
15092 return NULL;
15093}
15094
15095
c370783e 15096static PyObject *_wrap_Slider_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15097 PyObject *resultobj;
15098 wxSlider *arg1 = (wxSlider *) 0 ;
15099 int arg2 ;
15100 int arg3 ;
15101 PyObject * obj0 = 0 ;
15102 PyObject * obj1 = 0 ;
15103 PyObject * obj2 = 0 ;
15104 char *kwnames[] = {
15105 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
15106 };
15107
15108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
15109 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15110 if (SWIG_arg_fail(1)) SWIG_fail;
15111 {
15112 arg2 = (int)(SWIG_As_int(obj1));
15113 if (SWIG_arg_fail(2)) SWIG_fail;
15114 }
15115 {
15116 arg3 = (int)(SWIG_As_int(obj2));
15117 if (SWIG_arg_fail(3)) SWIG_fail;
15118 }
d55e5bfc
RD
15119 {
15120 PyThreadState* __tstate = wxPyBeginAllowThreads();
15121 (arg1)->SetRange(arg2,arg3);
15122
15123 wxPyEndAllowThreads(__tstate);
15124 if (PyErr_Occurred()) SWIG_fail;
15125 }
15126 Py_INCREF(Py_None); resultobj = Py_None;
15127 return resultobj;
15128 fail:
15129 return NULL;
15130}
15131
15132
c370783e 15133static PyObject *_wrap_Slider_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15134 PyObject *resultobj;
15135 wxSlider *arg1 = (wxSlider *) 0 ;
15136 int result;
15137 PyObject * obj0 = 0 ;
15138 char *kwnames[] = {
15139 (char *) "self", NULL
15140 };
15141
15142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMin",kwnames,&obj0)) goto fail;
36ed4f51
RD
15143 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15144 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15145 {
15146 PyThreadState* __tstate = wxPyBeginAllowThreads();
15147 result = (int)((wxSlider const *)arg1)->GetMin();
15148
15149 wxPyEndAllowThreads(__tstate);
15150 if (PyErr_Occurred()) SWIG_fail;
15151 }
36ed4f51
RD
15152 {
15153 resultobj = SWIG_From_int((int)(result));
15154 }
d55e5bfc
RD
15155 return resultobj;
15156 fail:
15157 return NULL;
15158}
15159
15160
c370783e 15161static PyObject *_wrap_Slider_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15162 PyObject *resultobj;
15163 wxSlider *arg1 = (wxSlider *) 0 ;
15164 int result;
15165 PyObject * obj0 = 0 ;
15166 char *kwnames[] = {
15167 (char *) "self", NULL
15168 };
15169
15170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMax",kwnames,&obj0)) goto fail;
36ed4f51
RD
15171 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15172 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15173 {
15174 PyThreadState* __tstate = wxPyBeginAllowThreads();
15175 result = (int)((wxSlider const *)arg1)->GetMax();
15176
15177 wxPyEndAllowThreads(__tstate);
15178 if (PyErr_Occurred()) SWIG_fail;
15179 }
36ed4f51
RD
15180 {
15181 resultobj = SWIG_From_int((int)(result));
15182 }
d55e5bfc
RD
15183 return resultobj;
15184 fail:
15185 return NULL;
15186}
15187
15188
c370783e 15189static PyObject *_wrap_Slider_SetMin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15190 PyObject *resultobj;
15191 wxSlider *arg1 = (wxSlider *) 0 ;
15192 int arg2 ;
15193 PyObject * obj0 = 0 ;
15194 PyObject * obj1 = 0 ;
15195 char *kwnames[] = {
15196 (char *) "self",(char *) "minValue", NULL
15197 };
15198
15199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMin",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
15200 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15201 if (SWIG_arg_fail(1)) SWIG_fail;
15202 {
15203 arg2 = (int)(SWIG_As_int(obj1));
15204 if (SWIG_arg_fail(2)) SWIG_fail;
15205 }
d55e5bfc
RD
15206 {
15207 PyThreadState* __tstate = wxPyBeginAllowThreads();
15208 (arg1)->SetMin(arg2);
15209
15210 wxPyEndAllowThreads(__tstate);
15211 if (PyErr_Occurred()) SWIG_fail;
15212 }
15213 Py_INCREF(Py_None); resultobj = Py_None;
15214 return resultobj;
15215 fail:
15216 return NULL;
15217}
15218
15219
c370783e 15220static PyObject *_wrap_Slider_SetMax(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15221 PyObject *resultobj;
15222 wxSlider *arg1 = (wxSlider *) 0 ;
15223 int arg2 ;
15224 PyObject * obj0 = 0 ;
15225 PyObject * obj1 = 0 ;
15226 char *kwnames[] = {
15227 (char *) "self",(char *) "maxValue", NULL
15228 };
15229
15230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMax",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
15231 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15232 if (SWIG_arg_fail(1)) SWIG_fail;
15233 {
15234 arg2 = (int)(SWIG_As_int(obj1));
15235 if (SWIG_arg_fail(2)) SWIG_fail;
15236 }
d55e5bfc
RD
15237 {
15238 PyThreadState* __tstate = wxPyBeginAllowThreads();
15239 (arg1)->SetMax(arg2);
15240
15241 wxPyEndAllowThreads(__tstate);
15242 if (PyErr_Occurred()) SWIG_fail;
15243 }
15244 Py_INCREF(Py_None); resultobj = Py_None;
15245 return resultobj;
15246 fail:
15247 return NULL;
15248}
15249
15250
c370783e 15251static PyObject *_wrap_Slider_SetLineSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15252 PyObject *resultobj;
15253 wxSlider *arg1 = (wxSlider *) 0 ;
15254 int arg2 ;
15255 PyObject * obj0 = 0 ;
15256 PyObject * obj1 = 0 ;
15257 char *kwnames[] = {
15258 (char *) "self",(char *) "lineSize", NULL
15259 };
15260
15261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetLineSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
15262 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15263 if (SWIG_arg_fail(1)) SWIG_fail;
15264 {
15265 arg2 = (int)(SWIG_As_int(obj1));
15266 if (SWIG_arg_fail(2)) SWIG_fail;
15267 }
d55e5bfc
RD
15268 {
15269 PyThreadState* __tstate = wxPyBeginAllowThreads();
15270 (arg1)->SetLineSize(arg2);
15271
15272 wxPyEndAllowThreads(__tstate);
15273 if (PyErr_Occurred()) SWIG_fail;
15274 }
15275 Py_INCREF(Py_None); resultobj = Py_None;
15276 return resultobj;
15277 fail:
15278 return NULL;
15279}
15280
15281
c370783e 15282static PyObject *_wrap_Slider_SetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15283 PyObject *resultobj;
15284 wxSlider *arg1 = (wxSlider *) 0 ;
15285 int arg2 ;
15286 PyObject * obj0 = 0 ;
15287 PyObject * obj1 = 0 ;
15288 char *kwnames[] = {
15289 (char *) "self",(char *) "pageSize", NULL
15290 };
15291
15292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
15293 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15294 if (SWIG_arg_fail(1)) SWIG_fail;
15295 {
15296 arg2 = (int)(SWIG_As_int(obj1));
15297 if (SWIG_arg_fail(2)) SWIG_fail;
15298 }
d55e5bfc
RD
15299 {
15300 PyThreadState* __tstate = wxPyBeginAllowThreads();
15301 (arg1)->SetPageSize(arg2);
15302
15303 wxPyEndAllowThreads(__tstate);
15304 if (PyErr_Occurred()) SWIG_fail;
15305 }
15306 Py_INCREF(Py_None); resultobj = Py_None;
15307 return resultobj;
15308 fail:
15309 return NULL;
15310}
15311
15312
c370783e 15313static PyObject *_wrap_Slider_GetLineSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15314 PyObject *resultobj;
15315 wxSlider *arg1 = (wxSlider *) 0 ;
15316 int result;
15317 PyObject * obj0 = 0 ;
15318 char *kwnames[] = {
15319 (char *) "self", NULL
15320 };
15321
15322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetLineSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
15323 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15324 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15325 {
15326 PyThreadState* __tstate = wxPyBeginAllowThreads();
15327 result = (int)((wxSlider const *)arg1)->GetLineSize();
15328
15329 wxPyEndAllowThreads(__tstate);
15330 if (PyErr_Occurred()) SWIG_fail;
15331 }
36ed4f51
RD
15332 {
15333 resultobj = SWIG_From_int((int)(result));
15334 }
d55e5bfc
RD
15335 return resultobj;
15336 fail:
15337 return NULL;
15338}
15339
15340
c370783e 15341static PyObject *_wrap_Slider_GetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15342 PyObject *resultobj;
15343 wxSlider *arg1 = (wxSlider *) 0 ;
15344 int result;
15345 PyObject * obj0 = 0 ;
15346 char *kwnames[] = {
15347 (char *) "self", NULL
15348 };
15349
15350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetPageSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
15351 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15352 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15353 {
15354 PyThreadState* __tstate = wxPyBeginAllowThreads();
15355 result = (int)((wxSlider const *)arg1)->GetPageSize();
15356
15357 wxPyEndAllowThreads(__tstate);
15358 if (PyErr_Occurred()) SWIG_fail;
15359 }
36ed4f51
RD
15360 {
15361 resultobj = SWIG_From_int((int)(result));
15362 }
d55e5bfc
RD
15363 return resultobj;
15364 fail:
15365 return NULL;
15366}
15367
15368
c370783e 15369static PyObject *_wrap_Slider_SetThumbLength(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15370 PyObject *resultobj;
15371 wxSlider *arg1 = (wxSlider *) 0 ;
15372 int arg2 ;
15373 PyObject * obj0 = 0 ;
15374 PyObject * obj1 = 0 ;
15375 char *kwnames[] = {
15376 (char *) "self",(char *) "lenPixels", NULL
15377 };
15378
15379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetThumbLength",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
15380 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15381 if (SWIG_arg_fail(1)) SWIG_fail;
15382 {
15383 arg2 = (int)(SWIG_As_int(obj1));
15384 if (SWIG_arg_fail(2)) SWIG_fail;
15385 }
d55e5bfc
RD
15386 {
15387 PyThreadState* __tstate = wxPyBeginAllowThreads();
15388 (arg1)->SetThumbLength(arg2);
15389
15390 wxPyEndAllowThreads(__tstate);
15391 if (PyErr_Occurred()) SWIG_fail;
15392 }
15393 Py_INCREF(Py_None); resultobj = Py_None;
15394 return resultobj;
15395 fail:
15396 return NULL;
15397}
15398
15399
c370783e 15400static PyObject *_wrap_Slider_GetThumbLength(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15401 PyObject *resultobj;
15402 wxSlider *arg1 = (wxSlider *) 0 ;
15403 int result;
15404 PyObject * obj0 = 0 ;
15405 char *kwnames[] = {
15406 (char *) "self", NULL
15407 };
15408
15409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetThumbLength",kwnames,&obj0)) goto fail;
36ed4f51
RD
15410 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15411 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15412 {
15413 PyThreadState* __tstate = wxPyBeginAllowThreads();
15414 result = (int)((wxSlider const *)arg1)->GetThumbLength();
15415
15416 wxPyEndAllowThreads(__tstate);
15417 if (PyErr_Occurred()) SWIG_fail;
15418 }
36ed4f51
RD
15419 {
15420 resultobj = SWIG_From_int((int)(result));
15421 }
d55e5bfc
RD
15422 return resultobj;
15423 fail:
15424 return NULL;
15425}
15426
15427
c370783e 15428static PyObject *_wrap_Slider_SetTickFreq(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15429 PyObject *resultobj;
15430 wxSlider *arg1 = (wxSlider *) 0 ;
15431 int arg2 ;
15432 int arg3 = (int) 1 ;
15433 PyObject * obj0 = 0 ;
15434 PyObject * obj1 = 0 ;
15435 PyObject * obj2 = 0 ;
15436 char *kwnames[] = {
15437 (char *) "self",(char *) "n",(char *) "pos", NULL
15438 };
15439
15440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Slider_SetTickFreq",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
15441 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15442 if (SWIG_arg_fail(1)) SWIG_fail;
15443 {
15444 arg2 = (int)(SWIG_As_int(obj1));
15445 if (SWIG_arg_fail(2)) SWIG_fail;
15446 }
d55e5bfc 15447 if (obj2) {
36ed4f51
RD
15448 {
15449 arg3 = (int)(SWIG_As_int(obj2));
15450 if (SWIG_arg_fail(3)) SWIG_fail;
15451 }
d55e5bfc
RD
15452 }
15453 {
15454 PyThreadState* __tstate = wxPyBeginAllowThreads();
15455 (arg1)->SetTickFreq(arg2,arg3);
15456
15457 wxPyEndAllowThreads(__tstate);
15458 if (PyErr_Occurred()) SWIG_fail;
15459 }
15460 Py_INCREF(Py_None); resultobj = Py_None;
15461 return resultobj;
15462 fail:
15463 return NULL;
15464}
15465
15466
c370783e 15467static PyObject *_wrap_Slider_GetTickFreq(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15468 PyObject *resultobj;
15469 wxSlider *arg1 = (wxSlider *) 0 ;
15470 int result;
15471 PyObject * obj0 = 0 ;
15472 char *kwnames[] = {
15473 (char *) "self", NULL
15474 };
15475
15476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetTickFreq",kwnames,&obj0)) goto fail;
36ed4f51
RD
15477 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15478 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15479 {
15480 PyThreadState* __tstate = wxPyBeginAllowThreads();
15481 result = (int)((wxSlider const *)arg1)->GetTickFreq();
15482
15483 wxPyEndAllowThreads(__tstate);
15484 if (PyErr_Occurred()) SWIG_fail;
15485 }
36ed4f51
RD
15486 {
15487 resultobj = SWIG_From_int((int)(result));
15488 }
d55e5bfc
RD
15489 return resultobj;
15490 fail:
15491 return NULL;
15492}
15493
15494
c370783e 15495static PyObject *_wrap_Slider_ClearTicks(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15496 PyObject *resultobj;
15497 wxSlider *arg1 = (wxSlider *) 0 ;
15498 PyObject * obj0 = 0 ;
15499 char *kwnames[] = {
15500 (char *) "self", NULL
15501 };
15502
15503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearTicks",kwnames,&obj0)) goto fail;
36ed4f51
RD
15504 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15505 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15506 {
15507 PyThreadState* __tstate = wxPyBeginAllowThreads();
15508 (arg1)->ClearTicks();
15509
15510 wxPyEndAllowThreads(__tstate);
15511 if (PyErr_Occurred()) SWIG_fail;
15512 }
15513 Py_INCREF(Py_None); resultobj = Py_None;
15514 return resultobj;
15515 fail:
15516 return NULL;
15517}
15518
15519
c370783e 15520static PyObject *_wrap_Slider_SetTick(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15521 PyObject *resultobj;
15522 wxSlider *arg1 = (wxSlider *) 0 ;
15523 int arg2 ;
15524 PyObject * obj0 = 0 ;
15525 PyObject * obj1 = 0 ;
15526 char *kwnames[] = {
15527 (char *) "self",(char *) "tickPos", NULL
15528 };
15529
15530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetTick",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
15531 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15532 if (SWIG_arg_fail(1)) SWIG_fail;
15533 {
15534 arg2 = (int)(SWIG_As_int(obj1));
15535 if (SWIG_arg_fail(2)) SWIG_fail;
15536 }
d55e5bfc
RD
15537 {
15538 PyThreadState* __tstate = wxPyBeginAllowThreads();
15539 (arg1)->SetTick(arg2);
15540
15541 wxPyEndAllowThreads(__tstate);
15542 if (PyErr_Occurred()) SWIG_fail;
15543 }
15544 Py_INCREF(Py_None); resultobj = Py_None;
15545 return resultobj;
15546 fail:
15547 return NULL;
15548}
15549
15550
c370783e 15551static PyObject *_wrap_Slider_ClearSel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15552 PyObject *resultobj;
15553 wxSlider *arg1 = (wxSlider *) 0 ;
15554 PyObject * obj0 = 0 ;
15555 char *kwnames[] = {
15556 (char *) "self", NULL
15557 };
15558
15559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearSel",kwnames,&obj0)) goto fail;
36ed4f51
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 (arg1)->ClearSel();
15565
15566 wxPyEndAllowThreads(__tstate);
15567 if (PyErr_Occurred()) SWIG_fail;
15568 }
15569 Py_INCREF(Py_None); resultobj = Py_None;
15570 return resultobj;
15571 fail:
15572 return NULL;
15573}
15574
15575
c370783e 15576static PyObject *_wrap_Slider_GetSelEnd(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15577 PyObject *resultobj;
15578 wxSlider *arg1 = (wxSlider *) 0 ;
15579 int result;
15580 PyObject * obj0 = 0 ;
15581 char *kwnames[] = {
15582 (char *) "self", NULL
15583 };
15584
15585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelEnd",kwnames,&obj0)) goto fail;
36ed4f51
RD
15586 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15587 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15588 {
15589 PyThreadState* __tstate = wxPyBeginAllowThreads();
15590 result = (int)((wxSlider const *)arg1)->GetSelEnd();
15591
15592 wxPyEndAllowThreads(__tstate);
15593 if (PyErr_Occurred()) SWIG_fail;
15594 }
36ed4f51
RD
15595 {
15596 resultobj = SWIG_From_int((int)(result));
15597 }
d55e5bfc
RD
15598 return resultobj;
15599 fail:
15600 return NULL;
15601}
15602
15603
c370783e 15604static PyObject *_wrap_Slider_GetSelStart(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15605 PyObject *resultobj;
15606 wxSlider *arg1 = (wxSlider *) 0 ;
15607 int result;
15608 PyObject * obj0 = 0 ;
15609 char *kwnames[] = {
15610 (char *) "self", NULL
15611 };
15612
15613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelStart",kwnames,&obj0)) goto fail;
36ed4f51
RD
15614 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15615 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15616 {
15617 PyThreadState* __tstate = wxPyBeginAllowThreads();
15618 result = (int)((wxSlider const *)arg1)->GetSelStart();
15619
15620 wxPyEndAllowThreads(__tstate);
15621 if (PyErr_Occurred()) SWIG_fail;
15622 }
36ed4f51
RD
15623 {
15624 resultobj = SWIG_From_int((int)(result));
15625 }
d55e5bfc
RD
15626 return resultobj;
15627 fail:
15628 return NULL;
15629}
15630
15631
c370783e 15632static PyObject *_wrap_Slider_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15633 PyObject *resultobj;
15634 wxSlider *arg1 = (wxSlider *) 0 ;
15635 int arg2 ;
15636 int arg3 ;
15637 PyObject * obj0 = 0 ;
15638 PyObject * obj1 = 0 ;
15639 PyObject * obj2 = 0 ;
15640 char *kwnames[] = {
15641 (char *) "self",(char *) "min",(char *) "max", NULL
15642 };
15643
15644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
15645 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15646 if (SWIG_arg_fail(1)) SWIG_fail;
15647 {
15648 arg2 = (int)(SWIG_As_int(obj1));
15649 if (SWIG_arg_fail(2)) SWIG_fail;
15650 }
15651 {
15652 arg3 = (int)(SWIG_As_int(obj2));
15653 if (SWIG_arg_fail(3)) SWIG_fail;
15654 }
d55e5bfc
RD
15655 {
15656 PyThreadState* __tstate = wxPyBeginAllowThreads();
15657 (arg1)->SetSelection(arg2,arg3);
15658
15659 wxPyEndAllowThreads(__tstate);
15660 if (PyErr_Occurred()) SWIG_fail;
15661 }
15662 Py_INCREF(Py_None); resultobj = Py_None;
15663 return resultobj;
15664 fail:
15665 return NULL;
15666}
15667
15668
c370783e 15669static PyObject *_wrap_Slider_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 15670 PyObject *resultobj;
36ed4f51 15671 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
15672 wxVisualAttributes result;
15673 PyObject * obj0 = 0 ;
15674 char *kwnames[] = {
15675 (char *) "variant", NULL
15676 };
15677
15678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
15679 if (obj0) {
36ed4f51
RD
15680 {
15681 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
15682 if (SWIG_arg_fail(1)) SWIG_fail;
15683 }
f20a2e1f
RD
15684 }
15685 {
0439c23b 15686 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
15687 PyThreadState* __tstate = wxPyBeginAllowThreads();
15688 result = wxSlider::GetClassDefaultAttributes((wxWindowVariant )arg1);
15689
15690 wxPyEndAllowThreads(__tstate);
110da5b0 15691 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
15692 }
15693 {
15694 wxVisualAttributes * resultptr;
36ed4f51 15695 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
15696 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
15697 }
15698 return resultobj;
15699 fail:
15700 return NULL;
15701}
15702
15703
c370783e 15704static PyObject * Slider_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
15705 PyObject *obj;
15706 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15707 SWIG_TypeClientData(SWIGTYPE_p_wxSlider, obj);
15708 Py_INCREF(obj);
15709 return Py_BuildValue((char *)"");
15710}
c370783e 15711static int _wrap_ToggleButtonNameStr_set(PyObject *) {
d55e5bfc
RD
15712 PyErr_SetString(PyExc_TypeError,"Variable ToggleButtonNameStr is read-only.");
15713 return 1;
15714}
15715
15716
36ed4f51 15717static PyObject *_wrap_ToggleButtonNameStr_get(void) {
d55e5bfc
RD
15718 PyObject *pyobj;
15719
15720 {
15721#if wxUSE_UNICODE
15722 pyobj = PyUnicode_FromWideChar((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
15723#else
15724 pyobj = PyString_FromStringAndSize((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
15725#endif
15726 }
15727 return pyobj;
15728}
15729
15730
c370783e 15731static PyObject *_wrap_new_ToggleButton(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15732 PyObject *resultobj;
15733 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17
RD
15734 int arg2 = (int) -1 ;
15735 wxString const &arg3_defvalue = wxPyEmptyString ;
15736 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
15737 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15738 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15739 wxSize const &arg5_defvalue = wxDefaultSize ;
15740 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15741 long arg6 = (long) 0 ;
15742 wxValidator const &arg7_defvalue = wxDefaultValidator ;
15743 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
15744 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
15745 wxString *arg8 = (wxString *) &arg8_defvalue ;
15746 wxToggleButton *result;
b411df4a 15747 bool temp3 = false ;
d55e5bfc
RD
15748 wxPoint temp4 ;
15749 wxSize temp5 ;
b411df4a 15750 bool temp8 = false ;
d55e5bfc
RD
15751 PyObject * obj0 = 0 ;
15752 PyObject * obj1 = 0 ;
15753 PyObject * obj2 = 0 ;
15754 PyObject * obj3 = 0 ;
15755 PyObject * obj4 = 0 ;
15756 PyObject * obj5 = 0 ;
15757 PyObject * obj6 = 0 ;
15758 PyObject * obj7 = 0 ;
15759 char *kwnames[] = {
15760 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15761 };
15762
bfddbb17 15763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ToggleButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
15764 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15765 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 15766 if (obj1) {
36ed4f51
RD
15767 {
15768 arg2 = (int)(SWIG_As_int(obj1));
15769 if (SWIG_arg_fail(2)) SWIG_fail;
15770 }
bfddbb17
RD
15771 }
15772 if (obj2) {
15773 {
15774 arg3 = wxString_in_helper(obj2);
15775 if (arg3 == NULL) SWIG_fail;
b411df4a 15776 temp3 = true;
bfddbb17 15777 }
d55e5bfc
RD
15778 }
15779 if (obj3) {
15780 {
15781 arg4 = &temp4;
15782 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15783 }
15784 }
15785 if (obj4) {
15786 {
15787 arg5 = &temp5;
15788 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15789 }
15790 }
15791 if (obj5) {
36ed4f51
RD
15792 {
15793 arg6 = (long)(SWIG_As_long(obj5));
15794 if (SWIG_arg_fail(6)) SWIG_fail;
15795 }
d55e5bfc
RD
15796 }
15797 if (obj6) {
36ed4f51
RD
15798 {
15799 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
15800 if (SWIG_arg_fail(7)) SWIG_fail;
15801 if (arg7 == NULL) {
15802 SWIG_null_ref("wxValidator");
15803 }
15804 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
15805 }
15806 }
15807 if (obj7) {
15808 {
15809 arg8 = wxString_in_helper(obj7);
15810 if (arg8 == NULL) SWIG_fail;
b411df4a 15811 temp8 = true;
d55e5bfc
RD
15812 }
15813 }
15814 {
0439c23b 15815 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
15816 PyThreadState* __tstate = wxPyBeginAllowThreads();
15817 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
15818
15819 wxPyEndAllowThreads(__tstate);
110da5b0 15820 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
15821 }
15822 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
15823 {
15824 if (temp3)
15825 delete arg3;
15826 }
15827 {
15828 if (temp8)
15829 delete arg8;
15830 }
15831 return resultobj;
15832 fail:
15833 {
15834 if (temp3)
15835 delete arg3;
15836 }
15837 {
15838 if (temp8)
15839 delete arg8;
15840 }
15841 return NULL;
15842}
15843
15844
c370783e 15845static PyObject *_wrap_new_PreToggleButton(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15846 PyObject *resultobj;
15847 wxToggleButton *result;
15848 char *kwnames[] = {
15849 NULL
15850 };
15851
15852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToggleButton",kwnames)) goto fail;
15853 {
0439c23b 15854 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
15855 PyThreadState* __tstate = wxPyBeginAllowThreads();
15856 result = (wxToggleButton *)new wxToggleButton();
15857
15858 wxPyEndAllowThreads(__tstate);
110da5b0 15859 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
15860 }
15861 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
15862 return resultobj;
15863 fail:
15864 return NULL;
15865}
15866
15867
c370783e 15868static PyObject *_wrap_ToggleButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
121b9a67
RD
15869 PyObject *resultobj;
15870 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
15871 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17
RD
15872 int arg3 = (int) -1 ;
15873 wxString const &arg4_defvalue = wxPyEmptyString ;
15874 wxString *arg4 = (wxString *) &arg4_defvalue ;
121b9a67
RD
15875 wxPoint const &arg5_defvalue = wxDefaultPosition ;
15876 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
15877 wxSize const &arg6_defvalue = wxDefaultSize ;
15878 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
15879 long arg7 = (long) 0 ;
15880 wxValidator const &arg8_defvalue = wxDefaultValidator ;
15881 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
15882 wxString const &arg9_defvalue = wxPyToggleButtonNameStr ;
15883 wxString *arg9 = (wxString *) &arg9_defvalue ;
15884 bool result;
b411df4a 15885 bool temp4 = false ;
121b9a67
RD
15886 wxPoint temp5 ;
15887 wxSize temp6 ;
b411df4a 15888 bool temp9 = false ;
121b9a67
RD
15889 PyObject * obj0 = 0 ;
15890 PyObject * obj1 = 0 ;
15891 PyObject * obj2 = 0 ;
15892 PyObject * obj3 = 0 ;
15893 PyObject * obj4 = 0 ;
15894 PyObject * obj5 = 0 ;
15895 PyObject * obj6 = 0 ;
15896 PyObject * obj7 = 0 ;
15897 PyObject * obj8 = 0 ;
15898 char *kwnames[] = {
15899 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15900 };
15901
bfddbb17 15902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
36ed4f51
RD
15903 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
15904 if (SWIG_arg_fail(1)) SWIG_fail;
15905 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15906 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 15907 if (obj2) {
36ed4f51
RD
15908 {
15909 arg3 = (int)(SWIG_As_int(obj2));
15910 if (SWIG_arg_fail(3)) SWIG_fail;
15911 }
bfddbb17
RD
15912 }
15913 if (obj3) {
15914 {
15915 arg4 = wxString_in_helper(obj3);
15916 if (arg4 == NULL) SWIG_fail;
b411df4a 15917 temp4 = true;
bfddbb17 15918 }
121b9a67
RD
15919 }
15920 if (obj4) {
15921 {
15922 arg5 = &temp5;
15923 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
15924 }
15925 }
15926 if (obj5) {
15927 {
15928 arg6 = &temp6;
15929 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
15930 }
15931 }
15932 if (obj6) {
36ed4f51
RD
15933 {
15934 arg7 = (long)(SWIG_As_long(obj6));
15935 if (SWIG_arg_fail(7)) SWIG_fail;
15936 }
121b9a67
RD
15937 }
15938 if (obj7) {
36ed4f51
RD
15939 {
15940 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
15941 if (SWIG_arg_fail(8)) SWIG_fail;
15942 if (arg8 == NULL) {
15943 SWIG_null_ref("wxValidator");
15944 }
15945 if (SWIG_arg_fail(8)) SWIG_fail;
121b9a67
RD
15946 }
15947 }
15948 if (obj8) {
15949 {
15950 arg9 = wxString_in_helper(obj8);
15951 if (arg9 == NULL) SWIG_fail;
b411df4a 15952 temp9 = true;
121b9a67
RD
15953 }
15954 }
15955 {
15956 PyThreadState* __tstate = wxPyBeginAllowThreads();
15957 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
15958
15959 wxPyEndAllowThreads(__tstate);
15960 if (PyErr_Occurred()) SWIG_fail;
15961 }
15962 {
15963 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15964 }
15965 {
15966 if (temp4)
15967 delete arg4;
15968 }
15969 {
15970 if (temp9)
15971 delete arg9;
15972 }
15973 return resultobj;
15974 fail:
15975 {
15976 if (temp4)
15977 delete arg4;
15978 }
15979 {
15980 if (temp9)
15981 delete arg9;
15982 }
15983 return NULL;
15984}
15985
15986
c370783e 15987static PyObject *_wrap_ToggleButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
121b9a67
RD
15988 PyObject *resultobj;
15989 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
15990 bool arg2 ;
15991 PyObject * obj0 = 0 ;
15992 PyObject * obj1 = 0 ;
15993 char *kwnames[] = {
15994 (char *) "self",(char *) "value", NULL
15995 };
15996
15997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
15998 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
15999 if (SWIG_arg_fail(1)) SWIG_fail;
16000 {
16001 arg2 = (bool)(SWIG_As_bool(obj1));
16002 if (SWIG_arg_fail(2)) SWIG_fail;
16003 }
121b9a67
RD
16004 {
16005 PyThreadState* __tstate = wxPyBeginAllowThreads();
16006 (arg1)->SetValue(arg2);
16007
16008 wxPyEndAllowThreads(__tstate);
16009 if (PyErr_Occurred()) SWIG_fail;
16010 }
16011 Py_INCREF(Py_None); resultobj = Py_None;
16012 return resultobj;
16013 fail:
16014 return NULL;
16015}
16016
16017
c370783e 16018static PyObject *_wrap_ToggleButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
121b9a67
RD
16019 PyObject *resultobj;
16020 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
16021 bool result;
16022 PyObject * obj0 = 0 ;
16023 char *kwnames[] = {
16024 (char *) "self", NULL
16025 };
16026
16027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToggleButton_GetValue",kwnames,&obj0)) goto fail;
36ed4f51
RD
16028 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
16029 if (SWIG_arg_fail(1)) SWIG_fail;
121b9a67
RD
16030 {
16031 PyThreadState* __tstate = wxPyBeginAllowThreads();
16032 result = (bool)((wxToggleButton const *)arg1)->GetValue();
16033
16034 wxPyEndAllowThreads(__tstate);
16035 if (PyErr_Occurred()) SWIG_fail;
16036 }
16037 {
16038 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16039 }
16040 return resultobj;
16041 fail:
16042 return NULL;
16043}
16044
16045
c370783e 16046static PyObject *_wrap_ToggleButton_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
121b9a67
RD
16047 PyObject *resultobj;
16048 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
16049 wxString *arg2 = 0 ;
b411df4a 16050 bool temp2 = false ;
121b9a67
RD
16051 PyObject * obj0 = 0 ;
16052 PyObject * obj1 = 0 ;
16053 char *kwnames[] = {
16054 (char *) "self",(char *) "label", NULL
16055 };
16056
16057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetLabel",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16058 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
16059 if (SWIG_arg_fail(1)) SWIG_fail;
121b9a67
RD
16060 {
16061 arg2 = wxString_in_helper(obj1);
16062 if (arg2 == NULL) SWIG_fail;
b411df4a 16063 temp2 = true;
121b9a67
RD
16064 }
16065 {
16066 PyThreadState* __tstate = wxPyBeginAllowThreads();
16067 (arg1)->SetLabel((wxString const &)*arg2);
16068
16069 wxPyEndAllowThreads(__tstate);
16070 if (PyErr_Occurred()) SWIG_fail;
16071 }
16072 Py_INCREF(Py_None); resultobj = Py_None;
16073 {
16074 if (temp2)
16075 delete arg2;
16076 }
16077 return resultobj;
16078 fail:
16079 {
16080 if (temp2)
16081 delete arg2;
16082 }
16083 return NULL;
16084}
16085
16086
c370783e 16087static PyObject *_wrap_ToggleButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 16088 PyObject *resultobj;
36ed4f51 16089 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
16090 wxVisualAttributes result;
16091 PyObject * obj0 = 0 ;
16092 char *kwnames[] = {
16093 (char *) "variant", NULL
16094 };
16095
16096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
16097 if (obj0) {
36ed4f51
RD
16098 {
16099 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
16100 if (SWIG_arg_fail(1)) SWIG_fail;
16101 }
f20a2e1f
RD
16102 }
16103 {
0439c23b 16104 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
16105 PyThreadState* __tstate = wxPyBeginAllowThreads();
16106 result = wxToggleButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
16107
16108 wxPyEndAllowThreads(__tstate);
110da5b0 16109 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
16110 }
16111 {
16112 wxVisualAttributes * resultptr;
36ed4f51 16113 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
16114 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
16115 }
16116 return resultobj;
16117 fail:
16118 return NULL;
16119}
16120
16121
c370783e 16122static PyObject * ToggleButton_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
16123 PyObject *obj;
16124 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16125 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton, obj);
16126 Py_INCREF(obj);
16127 return Py_BuildValue((char *)"");
16128}
51b83b37
RD
16129static int _wrap_NotebookNameStr_set(PyObject *) {
16130 PyErr_SetString(PyExc_TypeError,"Variable NotebookNameStr is read-only.");
d55e5bfc
RD
16131 return 1;
16132}
16133
16134
51b83b37 16135static PyObject *_wrap_NotebookNameStr_get(void) {
d55e5bfc
RD
16136 PyObject *pyobj;
16137
16138 {
16139#if wxUSE_UNICODE
51b83b37 16140 pyobj = PyUnicode_FromWideChar((&wxPyNotebookNameStr)->c_str(), (&wxPyNotebookNameStr)->Len());
d55e5bfc 16141#else
51b83b37 16142 pyobj = PyString_FromStringAndSize((&wxPyNotebookNameStr)->c_str(), (&wxPyNotebookNameStr)->Len());
d55e5bfc
RD
16143#endif
16144 }
16145 return pyobj;
16146}
16147
16148
6e0de3df 16149static PyObject *_wrap_BookCtrlBase_GetPageCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16150 PyObject *resultobj;
6e0de3df 16151 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16152 size_t result;
16153 PyObject * obj0 = 0 ;
16154 char *kwnames[] = {
16155 (char *) "self", NULL
16156 };
16157
6e0de3df 16158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetPageCount",kwnames,&obj0)) goto fail;
36ed4f51
RD
16159 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16160 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16161 {
16162 PyThreadState* __tstate = wxPyBeginAllowThreads();
6e0de3df 16163 result = (size_t)((wxBookCtrlBase const *)arg1)->GetPageCount();
d55e5bfc
RD
16164
16165 wxPyEndAllowThreads(__tstate);
16166 if (PyErr_Occurred()) SWIG_fail;
16167 }
36ed4f51
RD
16168 {
16169 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
16170 }
d55e5bfc
RD
16171 return resultobj;
16172 fail:
16173 return NULL;
16174}
16175
16176
6e0de3df 16177static PyObject *_wrap_BookCtrlBase_GetPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16178 PyObject *resultobj;
6e0de3df 16179 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16180 size_t arg2 ;
16181 wxWindow *result;
16182 PyObject * obj0 = 0 ;
16183 PyObject * obj1 = 0 ;
16184 char *kwnames[] = {
16185 (char *) "self",(char *) "n", NULL
16186 };
16187
6e0de3df 16188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16189 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16190 if (SWIG_arg_fail(1)) SWIG_fail;
16191 {
16192 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16193 if (SWIG_arg_fail(2)) SWIG_fail;
16194 }
d55e5bfc
RD
16195 {
16196 PyThreadState* __tstate = wxPyBeginAllowThreads();
16197 result = (wxWindow *)(arg1)->GetPage(arg2);
16198
16199 wxPyEndAllowThreads(__tstate);
16200 if (PyErr_Occurred()) SWIG_fail;
16201 }
16202 {
412d302d 16203 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
16204 }
16205 return resultobj;
16206 fail:
16207 return NULL;
16208}
16209
16210
6e0de3df 16211static PyObject *_wrap_BookCtrlBase_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
8fb0e70a 16212 PyObject *resultobj;
6e0de3df 16213 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
8fb0e70a
RD
16214 wxWindow *result;
16215 PyObject * obj0 = 0 ;
16216 char *kwnames[] = {
16217 (char *) "self", NULL
16218 };
16219
6e0de3df 16220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetCurrentPage",kwnames,&obj0)) goto fail;
36ed4f51
RD
16221 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16222 if (SWIG_arg_fail(1)) SWIG_fail;
8fb0e70a
RD
16223 {
16224 PyThreadState* __tstate = wxPyBeginAllowThreads();
6e0de3df 16225 result = (wxWindow *)((wxBookCtrlBase const *)arg1)->GetCurrentPage();
8fb0e70a
RD
16226
16227 wxPyEndAllowThreads(__tstate);
16228 if (PyErr_Occurred()) SWIG_fail;
16229 }
16230 {
16231 resultobj = wxPyMake_wxObject(result, 0);
16232 }
16233 return resultobj;
16234 fail:
16235 return NULL;
16236}
16237
16238
6e0de3df 16239static PyObject *_wrap_BookCtrlBase_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16240 PyObject *resultobj;
6e0de3df 16241 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16242 int result;
16243 PyObject * obj0 = 0 ;
16244 char *kwnames[] = {
16245 (char *) "self", NULL
16246 };
16247
6e0de3df 16248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetSelection",kwnames,&obj0)) goto fail;
36ed4f51
RD
16249 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16250 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16251 {
16252 PyThreadState* __tstate = wxPyBeginAllowThreads();
6e0de3df 16253 result = (int)((wxBookCtrlBase const *)arg1)->GetSelection();
d55e5bfc
RD
16254
16255 wxPyEndAllowThreads(__tstate);
16256 if (PyErr_Occurred()) SWIG_fail;
16257 }
36ed4f51
RD
16258 {
16259 resultobj = SWIG_From_int((int)(result));
16260 }
d55e5bfc
RD
16261 return resultobj;
16262 fail:
16263 return NULL;
16264}
16265
16266
6e0de3df 16267static PyObject *_wrap_BookCtrlBase_SetPageText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16268 PyObject *resultobj;
6e0de3df 16269 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16270 size_t arg2 ;
16271 wxString *arg3 = 0 ;
16272 bool result;
b411df4a 16273 bool temp3 = false ;
d55e5bfc
RD
16274 PyObject * obj0 = 0 ;
16275 PyObject * obj1 = 0 ;
16276 PyObject * obj2 = 0 ;
16277 char *kwnames[] = {
16278 (char *) "self",(char *) "n",(char *) "strText", NULL
16279 };
16280
6e0de3df 16281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageText",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
16282 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16283 if (SWIG_arg_fail(1)) SWIG_fail;
16284 {
16285 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16286 if (SWIG_arg_fail(2)) SWIG_fail;
16287 }
d55e5bfc
RD
16288 {
16289 arg3 = wxString_in_helper(obj2);
16290 if (arg3 == NULL) SWIG_fail;
b411df4a 16291 temp3 = true;
d55e5bfc
RD
16292 }
16293 {
16294 PyThreadState* __tstate = wxPyBeginAllowThreads();
16295 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
16296
16297 wxPyEndAllowThreads(__tstate);
16298 if (PyErr_Occurred()) SWIG_fail;
16299 }
16300 {
16301 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16302 }
16303 {
16304 if (temp3)
16305 delete arg3;
16306 }
16307 return resultobj;
16308 fail:
16309 {
16310 if (temp3)
16311 delete arg3;
16312 }
16313 return NULL;
16314}
16315
16316
6e0de3df 16317static PyObject *_wrap_BookCtrlBase_GetPageText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16318 PyObject *resultobj;
6e0de3df 16319 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16320 size_t arg2 ;
16321 wxString result;
16322 PyObject * obj0 = 0 ;
16323 PyObject * obj1 = 0 ;
16324 char *kwnames[] = {
16325 (char *) "self",(char *) "n", NULL
16326 };
16327
6e0de3df 16328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageText",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16329 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16330 if (SWIG_arg_fail(1)) SWIG_fail;
16331 {
16332 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16333 if (SWIG_arg_fail(2)) SWIG_fail;
16334 }
d55e5bfc
RD
16335 {
16336 PyThreadState* __tstate = wxPyBeginAllowThreads();
6e0de3df 16337 result = ((wxBookCtrlBase const *)arg1)->GetPageText(arg2);
d55e5bfc
RD
16338
16339 wxPyEndAllowThreads(__tstate);
16340 if (PyErr_Occurred()) SWIG_fail;
16341 }
16342 {
16343#if wxUSE_UNICODE
16344 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16345#else
16346 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16347#endif
16348 }
16349 return resultobj;
16350 fail:
16351 return NULL;
16352}
16353
16354
6e0de3df 16355static PyObject *_wrap_BookCtrlBase_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16356 PyObject *resultobj;
6e0de3df 16357 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16358 wxImageList *arg2 = (wxImageList *) 0 ;
16359 PyObject * obj0 = 0 ;
16360 PyObject * obj1 = 0 ;
16361 char *kwnames[] = {
16362 (char *) "self",(char *) "imageList", NULL
16363 };
16364
6e0de3df 16365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetImageList",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16366 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16367 if (SWIG_arg_fail(1)) SWIG_fail;
16368 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
16369 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
16370 {
16371 PyThreadState* __tstate = wxPyBeginAllowThreads();
16372 (arg1)->SetImageList(arg2);
16373
16374 wxPyEndAllowThreads(__tstate);
16375 if (PyErr_Occurred()) SWIG_fail;
16376 }
16377 Py_INCREF(Py_None); resultobj = Py_None;
16378 return resultobj;
16379 fail:
16380 return NULL;
16381}
16382
16383
6e0de3df 16384static PyObject *_wrap_BookCtrlBase_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16385 PyObject *resultobj;
6e0de3df 16386 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16387 wxImageList *arg2 = (wxImageList *) 0 ;
16388 PyObject * obj0 = 0 ;
16389 PyObject * obj1 = 0 ;
16390 char *kwnames[] = {
16391 (char *) "self",(char *) "imageList", NULL
16392 };
16393
6e0de3df 16394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16395 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16396 if (SWIG_arg_fail(1)) SWIG_fail;
16397 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
16398 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
16399 {
16400 PyThreadState* __tstate = wxPyBeginAllowThreads();
16401 (arg1)->AssignImageList(arg2);
16402
16403 wxPyEndAllowThreads(__tstate);
16404 if (PyErr_Occurred()) SWIG_fail;
16405 }
16406 Py_INCREF(Py_None); resultobj = Py_None;
16407 return resultobj;
16408 fail:
16409 return NULL;
16410}
16411
16412
6e0de3df 16413static PyObject *_wrap_BookCtrlBase_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16414 PyObject *resultobj;
6e0de3df 16415 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16416 wxImageList *result;
16417 PyObject * obj0 = 0 ;
16418 char *kwnames[] = {
16419 (char *) "self", NULL
16420 };
16421
6e0de3df 16422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetImageList",kwnames,&obj0)) goto fail;
36ed4f51
RD
16423 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16424 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16425 {
16426 PyThreadState* __tstate = wxPyBeginAllowThreads();
6e0de3df 16427 result = (wxImageList *)((wxBookCtrlBase const *)arg1)->GetImageList();
d55e5bfc
RD
16428
16429 wxPyEndAllowThreads(__tstate);
16430 if (PyErr_Occurred()) SWIG_fail;
16431 }
16432 {
412d302d 16433 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
16434 }
16435 return resultobj;
16436 fail:
16437 return NULL;
16438}
16439
16440
6e0de3df 16441static PyObject *_wrap_BookCtrlBase_GetPageImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16442 PyObject *resultobj;
6e0de3df 16443 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16444 size_t arg2 ;
16445 int result;
16446 PyObject * obj0 = 0 ;
16447 PyObject * obj1 = 0 ;
16448 char *kwnames[] = {
16449 (char *) "self",(char *) "n", NULL
16450 };
16451
6e0de3df 16452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageImage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16453 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16454 if (SWIG_arg_fail(1)) SWIG_fail;
16455 {
16456 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16457 if (SWIG_arg_fail(2)) SWIG_fail;
16458 }
d55e5bfc
RD
16459 {
16460 PyThreadState* __tstate = wxPyBeginAllowThreads();
6e0de3df 16461 result = (int)((wxBookCtrlBase const *)arg1)->GetPageImage(arg2);
d55e5bfc
RD
16462
16463 wxPyEndAllowThreads(__tstate);
16464 if (PyErr_Occurred()) SWIG_fail;
16465 }
36ed4f51
RD
16466 {
16467 resultobj = SWIG_From_int((int)(result));
16468 }
d55e5bfc
RD
16469 return resultobj;
16470 fail:
16471 return NULL;
16472}
16473
16474
6e0de3df 16475static PyObject *_wrap_BookCtrlBase_SetPageImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16476 PyObject *resultobj;
6e0de3df 16477 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16478 size_t arg2 ;
16479 int arg3 ;
16480 bool result;
16481 PyObject * obj0 = 0 ;
16482 PyObject * obj1 = 0 ;
16483 PyObject * obj2 = 0 ;
16484 char *kwnames[] = {
16485 (char *) "self",(char *) "n",(char *) "imageId", NULL
16486 };
16487
6e0de3df 16488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
16489 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16490 if (SWIG_arg_fail(1)) SWIG_fail;
16491 {
16492 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16493 if (SWIG_arg_fail(2)) SWIG_fail;
16494 }
16495 {
16496 arg3 = (int)(SWIG_As_int(obj2));
16497 if (SWIG_arg_fail(3)) SWIG_fail;
16498 }
d55e5bfc
RD
16499 {
16500 PyThreadState* __tstate = wxPyBeginAllowThreads();
16501 result = (bool)(arg1)->SetPageImage(arg2,arg3);
16502
16503 wxPyEndAllowThreads(__tstate);
16504 if (PyErr_Occurred()) SWIG_fail;
16505 }
16506 {
16507 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16508 }
16509 return resultobj;
16510 fail:
16511 return NULL;
16512}
16513
16514
6e0de3df 16515static PyObject *_wrap_BookCtrlBase_SetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16516 PyObject *resultobj;
6e0de3df 16517 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16518 wxSize *arg2 = 0 ;
16519 wxSize temp2 ;
16520 PyObject * obj0 = 0 ;
16521 PyObject * obj1 = 0 ;
16522 char *kwnames[] = {
16523 (char *) "self",(char *) "size", NULL
16524 };
16525
6e0de3df 16526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16527 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16528 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16529 {
16530 arg2 = &temp2;
16531 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16532 }
16533 {
16534 PyThreadState* __tstate = wxPyBeginAllowThreads();
16535 (arg1)->SetPageSize((wxSize const &)*arg2);
16536
16537 wxPyEndAllowThreads(__tstate);
16538 if (PyErr_Occurred()) SWIG_fail;
16539 }
16540 Py_INCREF(Py_None); resultobj = Py_None;
16541 return resultobj;
16542 fail:
16543 return NULL;
16544}
16545
16546
6e0de3df 16547static PyObject *_wrap_BookCtrlBase_CalcSizeFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16548 PyObject *resultobj;
6e0de3df 16549 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16550 wxSize *arg2 = 0 ;
16551 wxSize result;
16552 wxSize temp2 ;
16553 PyObject * obj0 = 0 ;
16554 PyObject * obj1 = 0 ;
16555 char *kwnames[] = {
16556 (char *) "self",(char *) "sizePage", NULL
16557 };
16558
6e0de3df 16559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16560 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16561 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16562 {
16563 arg2 = &temp2;
16564 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16565 }
16566 {
16567 PyThreadState* __tstate = wxPyBeginAllowThreads();
6e0de3df 16568 result = ((wxBookCtrlBase const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
d55e5bfc
RD
16569
16570 wxPyEndAllowThreads(__tstate);
16571 if (PyErr_Occurred()) SWIG_fail;
16572 }
16573 {
16574 wxSize * resultptr;
36ed4f51 16575 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
16576 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16577 }
16578 return resultobj;
16579 fail:
16580 return NULL;
16581}
16582
16583
6e0de3df 16584static PyObject *_wrap_BookCtrlBase_DeletePage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16585 PyObject *resultobj;
6e0de3df 16586 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16587 size_t arg2 ;
16588 bool result;
16589 PyObject * obj0 = 0 ;
16590 PyObject * obj1 = 0 ;
16591 char *kwnames[] = {
16592 (char *) "self",(char *) "n", NULL
16593 };
16594
6e0de3df 16595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_DeletePage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16596 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16597 if (SWIG_arg_fail(1)) SWIG_fail;
16598 {
16599 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16600 if (SWIG_arg_fail(2)) SWIG_fail;
16601 }
d55e5bfc
RD
16602 {
16603 PyThreadState* __tstate = wxPyBeginAllowThreads();
16604 result = (bool)(arg1)->DeletePage(arg2);
16605
16606 wxPyEndAllowThreads(__tstate);
16607 if (PyErr_Occurred()) SWIG_fail;
16608 }
16609 {
16610 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16611 }
16612 return resultobj;
16613 fail:
16614 return NULL;
16615}
16616
16617
6e0de3df 16618static PyObject *_wrap_BookCtrlBase_RemovePage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16619 PyObject *resultobj;
6e0de3df 16620 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16621 size_t arg2 ;
16622 bool result;
16623 PyObject * obj0 = 0 ;
16624 PyObject * obj1 = 0 ;
16625 char *kwnames[] = {
16626 (char *) "self",(char *) "n", NULL
16627 };
16628
6e0de3df 16629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_RemovePage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16630 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16631 if (SWIG_arg_fail(1)) SWIG_fail;
16632 {
16633 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16634 if (SWIG_arg_fail(2)) SWIG_fail;
16635 }
d55e5bfc
RD
16636 {
16637 PyThreadState* __tstate = wxPyBeginAllowThreads();
16638 result = (bool)(arg1)->RemovePage(arg2);
16639
16640 wxPyEndAllowThreads(__tstate);
16641 if (PyErr_Occurred()) SWIG_fail;
16642 }
16643 {
16644 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16645 }
16646 return resultobj;
16647 fail:
16648 return NULL;
16649}
16650
16651
6e0de3df 16652static PyObject *_wrap_BookCtrlBase_DeleteAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16653 PyObject *resultobj;
6e0de3df 16654 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16655 bool result;
16656 PyObject * obj0 = 0 ;
16657 char *kwnames[] = {
16658 (char *) "self", NULL
16659 };
16660
6e0de3df 16661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_DeleteAllPages",kwnames,&obj0)) goto fail;
36ed4f51
RD
16662 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16663 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16664 {
16665 PyThreadState* __tstate = wxPyBeginAllowThreads();
16666 result = (bool)(arg1)->DeleteAllPages();
16667
16668 wxPyEndAllowThreads(__tstate);
16669 if (PyErr_Occurred()) SWIG_fail;
16670 }
16671 {
16672 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16673 }
16674 return resultobj;
16675 fail:
16676 return NULL;
16677}
16678
16679
6e0de3df 16680static PyObject *_wrap_BookCtrlBase_AddPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16681 PyObject *resultobj;
6e0de3df 16682 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16683 wxWindow *arg2 = (wxWindow *) 0 ;
16684 wxString *arg3 = 0 ;
b411df4a 16685 bool arg4 = (bool) false ;
d55e5bfc
RD
16686 int arg5 = (int) -1 ;
16687 bool result;
b411df4a 16688 bool temp3 = false ;
d55e5bfc
RD
16689 PyObject * obj0 = 0 ;
16690 PyObject * obj1 = 0 ;
16691 PyObject * obj2 = 0 ;
16692 PyObject * obj3 = 0 ;
16693 PyObject * obj4 = 0 ;
16694 char *kwnames[] = {
16695 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16696 };
16697
6e0de3df 16698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
16699 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16700 if (SWIG_arg_fail(1)) SWIG_fail;
16701 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16702 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
16703 {
16704 arg3 = wxString_in_helper(obj2);
16705 if (arg3 == NULL) SWIG_fail;
b411df4a 16706 temp3 = true;
d55e5bfc
RD
16707 }
16708 if (obj3) {
36ed4f51
RD
16709 {
16710 arg4 = (bool)(SWIG_As_bool(obj3));
16711 if (SWIG_arg_fail(4)) SWIG_fail;
16712 }
d55e5bfc
RD
16713 }
16714 if (obj4) {
36ed4f51
RD
16715 {
16716 arg5 = (int)(SWIG_As_int(obj4));
16717 if (SWIG_arg_fail(5)) SWIG_fail;
16718 }
d55e5bfc
RD
16719 }
16720 {
16721 PyThreadState* __tstate = wxPyBeginAllowThreads();
16722 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
16723
16724 wxPyEndAllowThreads(__tstate);
16725 if (PyErr_Occurred()) SWIG_fail;
16726 }
16727 {
16728 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16729 }
16730 {
16731 if (temp3)
16732 delete arg3;
16733 }
16734 return resultobj;
16735 fail:
16736 {
16737 if (temp3)
16738 delete arg3;
16739 }
16740 return NULL;
16741}
16742
16743
6e0de3df 16744static PyObject *_wrap_BookCtrlBase_InsertPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16745 PyObject *resultobj;
6e0de3df 16746 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16747 size_t arg2 ;
16748 wxWindow *arg3 = (wxWindow *) 0 ;
16749 wxString *arg4 = 0 ;
b411df4a 16750 bool arg5 = (bool) false ;
d55e5bfc
RD
16751 int arg6 = (int) -1 ;
16752 bool result;
b411df4a 16753 bool temp4 = false ;
d55e5bfc
RD
16754 PyObject * obj0 = 0 ;
16755 PyObject * obj1 = 0 ;
16756 PyObject * obj2 = 0 ;
16757 PyObject * obj3 = 0 ;
16758 PyObject * obj4 = 0 ;
16759 PyObject * obj5 = 0 ;
16760 char *kwnames[] = {
16761 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16762 };
16763
6e0de3df 16764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
16765 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16766 if (SWIG_arg_fail(1)) SWIG_fail;
16767 {
16768 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16769 if (SWIG_arg_fail(2)) SWIG_fail;
16770 }
16771 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16772 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
16773 {
16774 arg4 = wxString_in_helper(obj3);
16775 if (arg4 == NULL) SWIG_fail;
b411df4a 16776 temp4 = true;
d55e5bfc
RD
16777 }
16778 if (obj4) {
36ed4f51
RD
16779 {
16780 arg5 = (bool)(SWIG_As_bool(obj4));
16781 if (SWIG_arg_fail(5)) SWIG_fail;
16782 }
d55e5bfc
RD
16783 }
16784 if (obj5) {
36ed4f51
RD
16785 {
16786 arg6 = (int)(SWIG_As_int(obj5));
16787 if (SWIG_arg_fail(6)) SWIG_fail;
16788 }
d55e5bfc
RD
16789 }
16790 {
16791 PyThreadState* __tstate = wxPyBeginAllowThreads();
16792 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
16793
16794 wxPyEndAllowThreads(__tstate);
16795 if (PyErr_Occurred()) SWIG_fail;
16796 }
16797 {
16798 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16799 }
16800 {
16801 if (temp4)
16802 delete arg4;
16803 }
16804 return resultobj;
16805 fail:
16806 {
16807 if (temp4)
16808 delete arg4;
16809 }
16810 return NULL;
16811}
16812
16813
6e0de3df 16814static PyObject *_wrap_BookCtrlBase_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16815 PyObject *resultobj;
6e0de3df 16816 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16817 size_t arg2 ;
16818 int result;
16819 PyObject * obj0 = 0 ;
16820 PyObject * obj1 = 0 ;
16821 char *kwnames[] = {
16822 (char *) "self",(char *) "n", NULL
16823 };
16824
6e0de3df 16825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetSelection",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16826 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16827 if (SWIG_arg_fail(1)) SWIG_fail;
16828 {
16829 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16830 if (SWIG_arg_fail(2)) SWIG_fail;
16831 }
d55e5bfc
RD
16832 {
16833 PyThreadState* __tstate = wxPyBeginAllowThreads();
16834 result = (int)(arg1)->SetSelection(arg2);
16835
16836 wxPyEndAllowThreads(__tstate);
16837 if (PyErr_Occurred()) SWIG_fail;
16838 }
36ed4f51
RD
16839 {
16840 resultobj = SWIG_From_int((int)(result));
16841 }
d55e5bfc
RD
16842 return resultobj;
16843 fail:
16844 return NULL;
16845}
16846
16847
6e0de3df 16848static PyObject *_wrap_BookCtrlBase_AdvanceSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16849 PyObject *resultobj;
6e0de3df 16850 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
b411df4a 16851 bool arg2 = (bool) true ;
d55e5bfc
RD
16852 PyObject * obj0 = 0 ;
16853 PyObject * obj1 = 0 ;
16854 char *kwnames[] = {
16855 (char *) "self",(char *) "forward", NULL
16856 };
16857
6e0de3df 16858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16859 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16860 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 16861 if (obj1) {
36ed4f51
RD
16862 {
16863 arg2 = (bool)(SWIG_As_bool(obj1));
16864 if (SWIG_arg_fail(2)) SWIG_fail;
16865 }
d55e5bfc
RD
16866 }
16867 {
16868 PyThreadState* __tstate = wxPyBeginAllowThreads();
16869 (arg1)->AdvanceSelection(arg2);
16870
16871 wxPyEndAllowThreads(__tstate);
16872 if (PyErr_Occurred()) SWIG_fail;
16873 }
16874 Py_INCREF(Py_None); resultobj = Py_None;
16875 return resultobj;
16876 fail:
16877 return NULL;
16878}
16879
16880
6e0de3df 16881static PyObject *_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 16882 PyObject *resultobj;
36ed4f51 16883 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
16884 wxVisualAttributes result;
16885 PyObject * obj0 = 0 ;
16886 char *kwnames[] = {
16887 (char *) "variant", NULL
16888 };
16889
6e0de3df 16890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
f20a2e1f 16891 if (obj0) {
36ed4f51
RD
16892 {
16893 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
16894 if (SWIG_arg_fail(1)) SWIG_fail;
16895 }
f20a2e1f
RD
16896 }
16897 {
0439c23b 16898 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f 16899 PyThreadState* __tstate = wxPyBeginAllowThreads();
6e0de3df 16900 result = wxBookCtrlBase::GetClassDefaultAttributes((wxWindowVariant )arg1);
f20a2e1f
RD
16901
16902 wxPyEndAllowThreads(__tstate);
110da5b0 16903 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
16904 }
16905 {
16906 wxVisualAttributes * resultptr;
36ed4f51 16907 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
16908 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
16909 }
16910 return resultobj;
16911 fail:
16912 return NULL;
16913}
16914
16915
6e0de3df 16916static PyObject * BookCtrlBase_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
16917 PyObject *obj;
16918 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6e0de3df 16919 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBase, obj);
d55e5bfc
RD
16920 Py_INCREF(obj);
16921 return Py_BuildValue((char *)"");
16922}
6e0de3df 16923static PyObject *_wrap_new_BookCtrlBaseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16924 PyObject *resultobj;
16925 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16926 int arg2 = (int) 0 ;
16927 int arg3 = (int) -1 ;
16928 int arg4 = (int) -1 ;
6e0de3df 16929 wxBookCtrlBaseEvent *result;
d55e5bfc
RD
16930 PyObject * obj0 = 0 ;
16931 PyObject * obj1 = 0 ;
16932 PyObject * obj2 = 0 ;
16933 PyObject * obj3 = 0 ;
16934 char *kwnames[] = {
16935 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
16936 };
16937
6e0de3df 16938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d55e5bfc 16939 if (obj0) {
36ed4f51
RD
16940 {
16941 arg1 = (wxEventType)(SWIG_As_int(obj0));
16942 if (SWIG_arg_fail(1)) SWIG_fail;
16943 }
d55e5bfc
RD
16944 }
16945 if (obj1) {
36ed4f51
RD
16946 {
16947 arg2 = (int)(SWIG_As_int(obj1));
16948 if (SWIG_arg_fail(2)) SWIG_fail;
16949 }
d55e5bfc
RD
16950 }
16951 if (obj2) {
36ed4f51
RD
16952 {
16953 arg3 = (int)(SWIG_As_int(obj2));
16954 if (SWIG_arg_fail(3)) SWIG_fail;
16955 }
d55e5bfc
RD
16956 }
16957 if (obj3) {
36ed4f51
RD
16958 {
16959 arg4 = (int)(SWIG_As_int(obj3));
16960 if (SWIG_arg_fail(4)) SWIG_fail;
16961 }
d55e5bfc
RD
16962 }
16963 {
16964 PyThreadState* __tstate = wxPyBeginAllowThreads();
6e0de3df 16965 result = (wxBookCtrlBaseEvent *)new wxBookCtrlBaseEvent(arg1,arg2,arg3,arg4);
d55e5bfc
RD
16966
16967 wxPyEndAllowThreads(__tstate);
16968 if (PyErr_Occurred()) SWIG_fail;
16969 }
6e0de3df 16970 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlBaseEvent, 1);
d55e5bfc
RD
16971 return resultobj;
16972 fail:
16973 return NULL;
16974}
16975
16976
6e0de3df 16977static PyObject *_wrap_BookCtrlBaseEvent_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16978 PyObject *resultobj;
6e0de3df 16979 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
d55e5bfc
RD
16980 int result;
16981 PyObject * obj0 = 0 ;
16982 char *kwnames[] = {
16983 (char *) "self", NULL
16984 };
16985
6e0de3df 16986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBaseEvent_GetSelection",kwnames,&obj0)) goto fail;
36ed4f51
RD
16987 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
16988 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16989 {
16990 PyThreadState* __tstate = wxPyBeginAllowThreads();
6e0de3df 16991 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetSelection();
d55e5bfc
RD
16992
16993 wxPyEndAllowThreads(__tstate);
16994 if (PyErr_Occurred()) SWIG_fail;
16995 }
36ed4f51
RD
16996 {
16997 resultobj = SWIG_From_int((int)(result));
16998 }
d55e5bfc
RD
16999 return resultobj;
17000 fail:
17001 return NULL;
17002}
17003
17004
6e0de3df 17005static PyObject *_wrap_BookCtrlBaseEvent_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 17006 PyObject *resultobj;
6e0de3df 17007 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
d55e5bfc
RD
17008 int arg2 ;
17009 PyObject * obj0 = 0 ;
17010 PyObject * obj1 = 0 ;
17011 char *kwnames[] = {
17012 (char *) "self",(char *) "nSel", NULL
17013 };
17014
6e0de3df 17015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
17016 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
17017 if (SWIG_arg_fail(1)) SWIG_fail;
17018 {
17019 arg2 = (int)(SWIG_As_int(obj1));
17020 if (SWIG_arg_fail(2)) SWIG_fail;
17021 }
d55e5bfc
RD
17022 {
17023 PyThreadState* __tstate = wxPyBeginAllowThreads();
17024 (arg1)->SetSelection(arg2);
17025
17026 wxPyEndAllowThreads(__tstate);
17027 if (PyErr_Occurred()) SWIG_fail;
17028 }
17029 Py_INCREF(Py_None); resultobj = Py_None;
17030 return resultobj;
17031 fail:
17032 return NULL;
17033}
17034
17035
6e0de3df 17036static PyObject *_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 17037 PyObject *resultobj;
6e0de3df 17038 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
d55e5bfc
RD
17039 int result;
17040 PyObject * obj0 = 0 ;
17041 char *kwnames[] = {
17042 (char *) "self", NULL
17043 };
17044
6e0de3df 17045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBaseEvent_GetOldSelection",kwnames,&obj0)) goto fail;
36ed4f51
RD
17046 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
17047 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17048 {
17049 PyThreadState* __tstate = wxPyBeginAllowThreads();
6e0de3df 17050 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetOldSelection();
d55e5bfc
RD
17051
17052 wxPyEndAllowThreads(__tstate);
17053 if (PyErr_Occurred()) SWIG_fail;
17054 }
36ed4f51
RD
17055 {
17056 resultobj = SWIG_From_int((int)(result));
17057 }
d55e5bfc
RD
17058 return resultobj;
17059 fail:
17060 return NULL;
17061}
17062
17063
6e0de3df 17064static PyObject *_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 17065 PyObject *resultobj;
6e0de3df 17066 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
d55e5bfc
RD
17067 int arg2 ;
17068 PyObject * obj0 = 0 ;
17069 PyObject * obj1 = 0 ;
17070 char *kwnames[] = {
17071 (char *) "self",(char *) "nOldSel", NULL
17072 };
17073
6e0de3df 17074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
17075 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
17076 if (SWIG_arg_fail(1)) SWIG_fail;
17077 {
17078 arg2 = (int)(SWIG_As_int(obj1));
17079 if (SWIG_arg_fail(2)) SWIG_fail;
17080 }
d55e5bfc
RD
17081 {
17082 PyThreadState* __tstate = wxPyBeginAllowThreads();
17083 (arg1)->SetOldSelection(arg2);
17084
17085 wxPyEndAllowThreads(__tstate);
17086 if (PyErr_Occurred()) SWIG_fail;
17087 }
17088 Py_INCREF(Py_None); resultobj = Py_None;
17089 return resultobj;
17090 fail:
17091 return NULL;
17092}
17093
17094
6e0de3df 17095static PyObject * BookCtrlBaseEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
17096 PyObject *obj;
17097 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6e0de3df 17098 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBaseEvent, obj);
d55e5bfc
RD
17099 Py_INCREF(obj);
17100 return Py_BuildValue((char *)"");
17101}
c370783e 17102static PyObject *_wrap_new_Notebook(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17103 PyObject *resultobj;
17104 wxWindow *arg1 = (wxWindow *) 0 ;
17105 int arg2 = (int) -1 ;
17106 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17107 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17108 wxSize const &arg4_defvalue = wxDefaultSize ;
17109 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17110 long arg5 = (long) 0 ;
51b83b37 17111 wxString const &arg6_defvalue = wxPyNotebookNameStr ;
d55e5bfc
RD
17112 wxString *arg6 = (wxString *) &arg6_defvalue ;
17113 wxNotebook *result;
17114 wxPoint temp3 ;
17115 wxSize temp4 ;
b411df4a 17116 bool temp6 = false ;
d55e5bfc
RD
17117 PyObject * obj0 = 0 ;
17118 PyObject * obj1 = 0 ;
17119 PyObject * obj2 = 0 ;
17120 PyObject * obj3 = 0 ;
17121 PyObject * obj4 = 0 ;
17122 PyObject * obj5 = 0 ;
17123 char *kwnames[] = {
17124 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17125 };
17126
17127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Notebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
17128 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17129 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 17130 if (obj1) {
36ed4f51
RD
17131 {
17132 arg2 = (int)(SWIG_As_int(obj1));
17133 if (SWIG_arg_fail(2)) SWIG_fail;
17134 }
d55e5bfc
RD
17135 }
17136 if (obj2) {
17137 {
17138 arg3 = &temp3;
17139 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17140 }
17141 }
17142 if (obj3) {
17143 {
17144 arg4 = &temp4;
17145 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17146 }
17147 }
17148 if (obj4) {
36ed4f51
RD
17149 {
17150 arg5 = (long)(SWIG_As_long(obj4));
17151 if (SWIG_arg_fail(5)) SWIG_fail;
17152 }
d55e5bfc
RD
17153 }
17154 if (obj5) {
17155 {
17156 arg6 = wxString_in_helper(obj5);
17157 if (arg6 == NULL) SWIG_fail;
b411df4a 17158 temp6 = true;
d55e5bfc
RD
17159 }
17160 }
17161 {
0439c23b 17162 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17163 PyThreadState* __tstate = wxPyBeginAllowThreads();
17164 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17165
17166 wxPyEndAllowThreads(__tstate);
110da5b0 17167 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 17168 }
b0f7404b 17169 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebook, 1);
d55e5bfc
RD
17170 {
17171 if (temp6)
17172 delete arg6;
17173 }
17174 return resultobj;
17175 fail:
17176 {
17177 if (temp6)
17178 delete arg6;
17179 }
17180 return NULL;
17181}
17182
17183
c370783e 17184static PyObject *_wrap_new_PreNotebook(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17185 PyObject *resultobj;
17186 wxNotebook *result;
17187 char *kwnames[] = {
17188 NULL
17189 };
17190
17191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreNotebook",kwnames)) goto fail;
17192 {
0439c23b 17193 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17194 PyThreadState* __tstate = wxPyBeginAllowThreads();
17195 result = (wxNotebook *)new wxNotebook();
17196
17197 wxPyEndAllowThreads(__tstate);
110da5b0 17198 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 17199 }
b0f7404b 17200 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebook, 1);
d55e5bfc
RD
17201 return resultobj;
17202 fail:
17203 return NULL;
17204}
17205
17206
c370783e 17207static PyObject *_wrap_Notebook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17208 PyObject *resultobj;
17209 wxNotebook *arg1 = (wxNotebook *) 0 ;
17210 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17 17211 int arg3 = (int) -1 ;
d55e5bfc
RD
17212 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17213 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17214 wxSize const &arg5_defvalue = wxDefaultSize ;
17215 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17216 long arg6 = (long) 0 ;
51b83b37 17217 wxString const &arg7_defvalue = wxPyNotebookNameStr ;
d55e5bfc
RD
17218 wxString *arg7 = (wxString *) &arg7_defvalue ;
17219 bool result;
17220 wxPoint temp4 ;
17221 wxSize temp5 ;
b411df4a 17222 bool temp7 = false ;
d55e5bfc
RD
17223 PyObject * obj0 = 0 ;
17224 PyObject * obj1 = 0 ;
17225 PyObject * obj2 = 0 ;
17226 PyObject * obj3 = 0 ;
17227 PyObject * obj4 = 0 ;
17228 PyObject * obj5 = 0 ;
17229 PyObject * obj6 = 0 ;
17230 char *kwnames[] = {
17231 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17232 };
17233
bfddbb17 17234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Notebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
17235 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17236 if (SWIG_arg_fail(1)) SWIG_fail;
17237 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17238 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 17239 if (obj2) {
36ed4f51
RD
17240 {
17241 arg3 = (int)(SWIG_As_int(obj2));
17242 if (SWIG_arg_fail(3)) SWIG_fail;
17243 }
bfddbb17 17244 }
d55e5bfc
RD
17245 if (obj3) {
17246 {
17247 arg4 = &temp4;
17248 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17249 }
17250 }
17251 if (obj4) {
17252 {
17253 arg5 = &temp5;
17254 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17255 }
17256 }
17257 if (obj5) {
36ed4f51
RD
17258 {
17259 arg6 = (long)(SWIG_As_long(obj5));
17260 if (SWIG_arg_fail(6)) SWIG_fail;
17261 }
d55e5bfc
RD
17262 }
17263 if (obj6) {
17264 {
17265 arg7 = wxString_in_helper(obj6);
17266 if (arg7 == NULL) SWIG_fail;
b411df4a 17267 temp7 = true;
d55e5bfc
RD
17268 }
17269 }
17270 {
17271 PyThreadState* __tstate = wxPyBeginAllowThreads();
17272 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17273
17274 wxPyEndAllowThreads(__tstate);
17275 if (PyErr_Occurred()) SWIG_fail;
17276 }
17277 {
17278 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17279 }
17280 {
17281 if (temp7)
17282 delete arg7;
17283 }
17284 return resultobj;
17285 fail:
17286 {
17287 if (temp7)
17288 delete arg7;
17289 }
17290 return NULL;
17291}
17292
17293
c370783e 17294static PyObject *_wrap_Notebook_GetRowCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17295 PyObject *resultobj;
17296 wxNotebook *arg1 = (wxNotebook *) 0 ;
17297 int result;
17298 PyObject * obj0 = 0 ;
17299 char *kwnames[] = {
17300 (char *) "self", NULL
17301 };
17302
17303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetRowCount",kwnames,&obj0)) goto fail;
36ed4f51
RD
17304 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17305 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17306 {
17307 PyThreadState* __tstate = wxPyBeginAllowThreads();
17308 result = (int)((wxNotebook const *)arg1)->GetRowCount();
17309
17310 wxPyEndAllowThreads(__tstate);
17311 if (PyErr_Occurred()) SWIG_fail;
17312 }
36ed4f51
RD
17313 {
17314 resultobj = SWIG_From_int((int)(result));
17315 }
d55e5bfc
RD
17316 return resultobj;
17317 fail:
17318 return NULL;
17319}
17320
17321
c370783e 17322static PyObject *_wrap_Notebook_SetPadding(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17323 PyObject *resultobj;
17324 wxNotebook *arg1 = (wxNotebook *) 0 ;
17325 wxSize *arg2 = 0 ;
17326 wxSize temp2 ;
17327 PyObject * obj0 = 0 ;
17328 PyObject * obj1 = 0 ;
17329 char *kwnames[] = {
17330 (char *) "self",(char *) "padding", NULL
17331 };
17332
17333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
17334 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17335 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17336 {
17337 arg2 = &temp2;
17338 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17339 }
17340 {
17341 PyThreadState* __tstate = wxPyBeginAllowThreads();
17342 (arg1)->SetPadding((wxSize const &)*arg2);
17343
17344 wxPyEndAllowThreads(__tstate);
17345 if (PyErr_Occurred()) SWIG_fail;
17346 }
17347 Py_INCREF(Py_None); resultobj = Py_None;
17348 return resultobj;
17349 fail:
17350 return NULL;
17351}
17352
17353
c370783e 17354static PyObject *_wrap_Notebook_SetTabSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17355 PyObject *resultobj;
17356 wxNotebook *arg1 = (wxNotebook *) 0 ;
17357 wxSize *arg2 = 0 ;
17358 wxSize temp2 ;
17359 PyObject * obj0 = 0 ;
17360 PyObject * obj1 = 0 ;
17361 char *kwnames[] = {
17362 (char *) "self",(char *) "sz", NULL
17363 };
17364
17365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
17366 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17367 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17368 {
17369 arg2 = &temp2;
17370 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17371 }
17372 {
17373 PyThreadState* __tstate = wxPyBeginAllowThreads();
17374 (arg1)->SetTabSize((wxSize const &)*arg2);
17375
17376 wxPyEndAllowThreads(__tstate);
17377 if (PyErr_Occurred()) SWIG_fail;
17378 }
17379 Py_INCREF(Py_None); resultobj = Py_None;
17380 return resultobj;
17381 fail:
17382 return NULL;
17383}
17384
17385
c370783e 17386static PyObject *_wrap_Notebook_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17387 PyObject *resultobj;
17388 wxNotebook *arg1 = (wxNotebook *) 0 ;
17389 wxPoint *arg2 = 0 ;
17390 long *arg3 = (long *) 0 ;
17391 int result;
17392 wxPoint temp2 ;
17393 long temp3 ;
c370783e 17394 int res3 = 0 ;
d55e5bfc
RD
17395 PyObject * obj0 = 0 ;
17396 PyObject * obj1 = 0 ;
17397 char *kwnames[] = {
17398 (char *) "self",(char *) "pt", NULL
17399 };
17400
c370783e 17401 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 17402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_HitTest",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
17403 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17404 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17405 {
17406 arg2 = &temp2;
17407 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
17408 }
17409 {
17410 PyThreadState* __tstate = wxPyBeginAllowThreads();
17411 result = (int)((wxNotebook const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
17412
17413 wxPyEndAllowThreads(__tstate);
17414 if (PyErr_Occurred()) SWIG_fail;
17415 }
36ed4f51
RD
17416 {
17417 resultobj = SWIG_From_int((int)(result));
17418 }
c370783e
RD
17419 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17420 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
d55e5bfc
RD
17421 return resultobj;
17422 fail:
17423 return NULL;
17424}
17425
17426
c370783e 17427static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17428 PyObject *resultobj;
17429 wxNotebook *arg1 = (wxNotebook *) 0 ;
17430 wxSize *arg2 = 0 ;
17431 wxSize result;
17432 wxSize temp2 ;
17433 PyObject * obj0 = 0 ;
17434 PyObject * obj1 = 0 ;
17435 char *kwnames[] = {
17436 (char *) "self",(char *) "sizePage", NULL
17437 };
17438
17439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
17440 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17441 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17442 {
17443 arg2 = &temp2;
17444 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17445 }
17446 {
17447 PyThreadState* __tstate = wxPyBeginAllowThreads();
17448 result = ((wxNotebook const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
17449
17450 wxPyEndAllowThreads(__tstate);
17451 if (PyErr_Occurred()) SWIG_fail;
17452 }
17453 {
17454 wxSize * resultptr;
36ed4f51 17455 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
17456 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17457 }
17458 return resultobj;
17459 fail:
17460 return NULL;
17461}
17462
17463
c370783e 17464static PyObject *_wrap_Notebook_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 17465 PyObject *resultobj;
36ed4f51 17466 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
17467 wxVisualAttributes result;
17468 PyObject * obj0 = 0 ;
17469 char *kwnames[] = {
17470 (char *) "variant", NULL
17471 };
17472
17473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
17474 if (obj0) {
36ed4f51
RD
17475 {
17476 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
17477 if (SWIG_arg_fail(1)) SWIG_fail;
17478 }
f20a2e1f
RD
17479 }
17480 {
0439c23b 17481 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
17482 PyThreadState* __tstate = wxPyBeginAllowThreads();
17483 result = wxNotebook::GetClassDefaultAttributes((wxWindowVariant )arg1);
17484
17485 wxPyEndAllowThreads(__tstate);
110da5b0 17486 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
17487 }
17488 {
17489 wxVisualAttributes * resultptr;
36ed4f51 17490 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
17491 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
17492 }
17493 return resultobj;
17494 fail:
17495 return NULL;
17496}
17497
17498
c370783e 17499static PyObject * Notebook_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
17500 PyObject *obj;
17501 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17502 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook, obj);
17503 Py_INCREF(obj);
17504 return Py_BuildValue((char *)"");
17505}
c370783e 17506static PyObject *_wrap_new_NotebookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17507 PyObject *resultobj;
17508 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17509 int arg2 = (int) 0 ;
17510 int arg3 = (int) -1 ;
17511 int arg4 = (int) -1 ;
17512 wxNotebookEvent *result;
17513 PyObject * obj0 = 0 ;
17514 PyObject * obj1 = 0 ;
17515 PyObject * obj2 = 0 ;
17516 PyObject * obj3 = 0 ;
17517 char *kwnames[] = {
17518 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17519 };
17520
17521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_NotebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17522 if (obj0) {
36ed4f51
RD
17523 {
17524 arg1 = (wxEventType)(SWIG_As_int(obj0));
17525 if (SWIG_arg_fail(1)) SWIG_fail;
17526 }
d55e5bfc
RD
17527 }
17528 if (obj1) {
36ed4f51
RD
17529 {
17530 arg2 = (int)(SWIG_As_int(obj1));
17531 if (SWIG_arg_fail(2)) SWIG_fail;
17532 }
d55e5bfc
RD
17533 }
17534 if (obj2) {
36ed4f51
RD
17535 {
17536 arg3 = (int)(SWIG_As_int(obj2));
17537 if (SWIG_arg_fail(3)) SWIG_fail;
17538 }
d55e5bfc
RD
17539 }
17540 if (obj3) {
36ed4f51
RD
17541 {
17542 arg4 = (int)(SWIG_As_int(obj3));
17543 if (SWIG_arg_fail(4)) SWIG_fail;
17544 }
d55e5bfc
RD
17545 }
17546 {
17547 PyThreadState* __tstate = wxPyBeginAllowThreads();
17548 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
17549
17550 wxPyEndAllowThreads(__tstate);
17551 if (PyErr_Occurred()) SWIG_fail;
17552 }
17553 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookEvent, 1);
17554 return resultobj;
17555 fail:
17556 return NULL;
17557}
17558
17559
c370783e 17560static PyObject * NotebookEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
17561 PyObject *obj;
17562 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17563 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj);
17564 Py_INCREF(obj);
17565 return Py_BuildValue((char *)"");
17566}
c370783e 17567static PyObject *_wrap_new_Listbook(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17568 PyObject *resultobj;
17569 wxWindow *arg1 = (wxWindow *) 0 ;
17570 int arg2 = (int) -1 ;
17571 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17572 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17573 wxSize const &arg4_defvalue = wxDefaultSize ;
17574 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17575 long arg5 = (long) 0 ;
17576 wxString const &arg6_defvalue = wxPyEmptyString ;
17577 wxString *arg6 = (wxString *) &arg6_defvalue ;
17578 wxListbook *result;
17579 wxPoint temp3 ;
17580 wxSize temp4 ;
b411df4a 17581 bool temp6 = false ;
d55e5bfc
RD
17582 PyObject * obj0 = 0 ;
17583 PyObject * obj1 = 0 ;
17584 PyObject * obj2 = 0 ;
17585 PyObject * obj3 = 0 ;
17586 PyObject * obj4 = 0 ;
17587 PyObject * obj5 = 0 ;
17588 char *kwnames[] = {
17589 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17590 };
17591
17592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Listbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
17593 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17594 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 17595 if (obj1) {
36ed4f51
RD
17596 {
17597 arg2 = (int)(SWIG_As_int(obj1));
17598 if (SWIG_arg_fail(2)) SWIG_fail;
17599 }
d55e5bfc
RD
17600 }
17601 if (obj2) {
17602 {
17603 arg3 = &temp3;
17604 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17605 }
17606 }
17607 if (obj3) {
17608 {
17609 arg4 = &temp4;
17610 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17611 }
17612 }
17613 if (obj4) {
36ed4f51
RD
17614 {
17615 arg5 = (long)(SWIG_As_long(obj4));
17616 if (SWIG_arg_fail(5)) SWIG_fail;
17617 }
d55e5bfc
RD
17618 }
17619 if (obj5) {
17620 {
17621 arg6 = wxString_in_helper(obj5);
17622 if (arg6 == NULL) SWIG_fail;
b411df4a 17623 temp6 = true;
d55e5bfc
RD
17624 }
17625 }
17626 {
0439c23b 17627 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17628 PyThreadState* __tstate = wxPyBeginAllowThreads();
17629 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17630
17631 wxPyEndAllowThreads(__tstate);
110da5b0 17632 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
17633 }
17634 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
17635 {
17636 if (temp6)
17637 delete arg6;
17638 }
17639 return resultobj;
17640 fail:
17641 {
17642 if (temp6)
17643 delete arg6;
17644 }
17645 return NULL;
17646}
17647
17648
c370783e 17649static PyObject *_wrap_new_PreListbook(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17650 PyObject *resultobj;
17651 wxListbook *result;
17652 char *kwnames[] = {
17653 NULL
17654 };
17655
17656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail;
17657 {
0439c23b 17658 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17659 PyThreadState* __tstate = wxPyBeginAllowThreads();
17660 result = (wxListbook *)new wxListbook();
17661
17662 wxPyEndAllowThreads(__tstate);
110da5b0 17663 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
17664 }
17665 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
17666 return resultobj;
17667 fail:
17668 return NULL;
17669}
17670
17671
c370783e 17672static PyObject *_wrap_Listbook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17673 PyObject *resultobj;
17674 wxListbook *arg1 = (wxListbook *) 0 ;
17675 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17 17676 int arg3 = (int) -1 ;
d55e5bfc
RD
17677 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17678 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17679 wxSize const &arg5_defvalue = wxDefaultSize ;
17680 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17681 long arg6 = (long) 0 ;
17682 wxString const &arg7_defvalue = wxPyEmptyString ;
17683 wxString *arg7 = (wxString *) &arg7_defvalue ;
17684 bool result;
17685 wxPoint temp4 ;
17686 wxSize temp5 ;
b411df4a 17687 bool temp7 = false ;
d55e5bfc
RD
17688 PyObject * obj0 = 0 ;
17689 PyObject * obj1 = 0 ;
17690 PyObject * obj2 = 0 ;
17691 PyObject * obj3 = 0 ;
17692 PyObject * obj4 = 0 ;
17693 PyObject * obj5 = 0 ;
17694 PyObject * obj6 = 0 ;
17695 char *kwnames[] = {
17696 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17697 };
17698
bfddbb17 17699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Listbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
17700 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListbook, SWIG_POINTER_EXCEPTION | 0);
17701 if (SWIG_arg_fail(1)) SWIG_fail;
17702 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17703 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 17704 if (obj2) {
36ed4f51
RD
17705 {
17706 arg3 = (int)(SWIG_As_int(obj2));
17707 if (SWIG_arg_fail(3)) SWIG_fail;
17708 }
bfddbb17 17709 }
d55e5bfc
RD
17710 if (obj3) {
17711 {
17712 arg4 = &temp4;
17713 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17714 }
17715 }
17716 if (obj4) {
17717 {
17718 arg5 = &temp5;
17719 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17720 }
17721 }
17722 if (obj5) {
36ed4f51
RD
17723 {
17724 arg6 = (long)(SWIG_As_long(obj5));
17725 if (SWIG_arg_fail(6)) SWIG_fail;
17726 }
d55e5bfc
RD
17727 }
17728 if (obj6) {
17729 {
17730 arg7 = wxString_in_helper(obj6);
17731 if (arg7 == NULL) SWIG_fail;
b411df4a 17732 temp7 = true;
d55e5bfc
RD
17733 }
17734 }
17735 {
17736 PyThreadState* __tstate = wxPyBeginAllowThreads();
17737 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17738
17739 wxPyEndAllowThreads(__tstate);
17740 if (PyErr_Occurred()) SWIG_fail;
17741 }
17742 {
17743 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17744 }
17745 {
17746 if (temp7)
17747 delete arg7;
17748 }
17749 return resultobj;
17750 fail:
17751 {
17752 if (temp7)
17753 delete arg7;
17754 }
17755 return NULL;
17756}
17757
17758
c370783e 17759static PyObject *_wrap_Listbook_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17760 PyObject *resultobj;
17761 wxListbook *arg1 = (wxListbook *) 0 ;
17762 bool result;
17763 PyObject * obj0 = 0 ;
17764 char *kwnames[] = {
17765 (char *) "self", NULL
17766 };
17767
17768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_IsVertical",kwnames,&obj0)) goto fail;
36ed4f51
RD
17769 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListbook, SWIG_POINTER_EXCEPTION | 0);
17770 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17771 {
17772 PyThreadState* __tstate = wxPyBeginAllowThreads();
17773 result = (bool)((wxListbook const *)arg1)->IsVertical();
17774
17775 wxPyEndAllowThreads(__tstate);
17776 if (PyErr_Occurred()) SWIG_fail;
17777 }
17778 {
17779 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17780 }
17781 return resultobj;
17782 fail:
17783 return NULL;
17784}
17785
17786
44bf767a
RD
17787static PyObject *_wrap_Listbook_GetListView(PyObject *, PyObject *args, PyObject *kwargs) {
17788 PyObject *resultobj;
17789 wxListbook *arg1 = (wxListbook *) 0 ;
17790 wxListView *result;
17791 PyObject * obj0 = 0 ;
17792 char *kwnames[] = {
17793 (char *) "self", NULL
17794 };
17795
17796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_GetListView",kwnames,&obj0)) goto fail;
36ed4f51
RD
17797 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListbook, SWIG_POINTER_EXCEPTION | 0);
17798 if (SWIG_arg_fail(1)) SWIG_fail;
44bf767a
RD
17799 {
17800 PyThreadState* __tstate = wxPyBeginAllowThreads();
17801 result = (wxListView *)(arg1)->GetListView();
17802
17803 wxPyEndAllowThreads(__tstate);
17804 if (PyErr_Occurred()) SWIG_fail;
17805 }
17806 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 0);
17807 return resultobj;
17808 fail:
17809 return NULL;
17810}
17811
17812
c370783e 17813static PyObject * Listbook_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
17814 PyObject *obj;
17815 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17816 SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
17817 Py_INCREF(obj);
17818 return Py_BuildValue((char *)"");
17819}
c370783e 17820static PyObject *_wrap_new_ListbookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17821 PyObject *resultobj;
17822 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17823 int arg2 = (int) 0 ;
17824 int arg3 = (int) -1 ;
17825 int arg4 = (int) -1 ;
17826 wxListbookEvent *result;
17827 PyObject * obj0 = 0 ;
17828 PyObject * obj1 = 0 ;
17829 PyObject * obj2 = 0 ;
17830 PyObject * obj3 = 0 ;
17831 char *kwnames[] = {
17832 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17833 };
17834
17835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ListbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17836 if (obj0) {
36ed4f51
RD
17837 {
17838 arg1 = (wxEventType)(SWIG_As_int(obj0));
17839 if (SWIG_arg_fail(1)) SWIG_fail;
17840 }
d55e5bfc
RD
17841 }
17842 if (obj1) {
36ed4f51
RD
17843 {
17844 arg2 = (int)(SWIG_As_int(obj1));
17845 if (SWIG_arg_fail(2)) SWIG_fail;
17846 }
d55e5bfc
RD
17847 }
17848 if (obj2) {
36ed4f51
RD
17849 {
17850 arg3 = (int)(SWIG_As_int(obj2));
17851 if (SWIG_arg_fail(3)) SWIG_fail;
17852 }
d55e5bfc
RD
17853 }
17854 if (obj3) {
36ed4f51
RD
17855 {
17856 arg4 = (int)(SWIG_As_int(obj3));
17857 if (SWIG_arg_fail(4)) SWIG_fail;
17858 }
d55e5bfc
RD
17859 }
17860 {
17861 PyThreadState* __tstate = wxPyBeginAllowThreads();
17862 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
17863
17864 wxPyEndAllowThreads(__tstate);
17865 if (PyErr_Occurred()) SWIG_fail;
17866 }
17867 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbookEvent, 1);
17868 return resultobj;
17869 fail:
17870 return NULL;
17871}
17872
17873
c370783e 17874static PyObject * ListbookEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
17875 PyObject *obj;
17876 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17877 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
17878 Py_INCREF(obj);
17879 return Py_BuildValue((char *)"");
17880}
b411df4a
RD
17881static PyObject *_wrap_new_Choicebook(PyObject *, PyObject *args, PyObject *kwargs) {
17882 PyObject *resultobj;
17883 wxWindow *arg1 = (wxWindow *) 0 ;
17884 int arg2 ;
17885 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17886 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17887 wxSize const &arg4_defvalue = wxDefaultSize ;
17888 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17889 long arg5 = (long) 0 ;
17890 wxString const &arg6_defvalue = wxPyEmptyString ;
17891 wxString *arg6 = (wxString *) &arg6_defvalue ;
17892 wxChoicebook *result;
17893 wxPoint temp3 ;
17894 wxSize temp4 ;
17895 bool temp6 = false ;
17896 PyObject * obj0 = 0 ;
17897 PyObject * obj1 = 0 ;
17898 PyObject * obj2 = 0 ;
17899 PyObject * obj3 = 0 ;
17900 PyObject * obj4 = 0 ;
17901 PyObject * obj5 = 0 ;
17902 char *kwnames[] = {
17903 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17904 };
17905
17906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Choicebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
17907 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17908 if (SWIG_arg_fail(1)) SWIG_fail;
17909 {
17910 arg2 = (int)(SWIG_As_int(obj1));
17911 if (SWIG_arg_fail(2)) SWIG_fail;
17912 }
b411df4a
RD
17913 if (obj2) {
17914 {
17915 arg3 = &temp3;
17916 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17917 }
17918 }
17919 if (obj3) {
17920 {
17921 arg4 = &temp4;
17922 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17923 }
17924 }
17925 if (obj4) {
36ed4f51
RD
17926 {
17927 arg5 = (long)(SWIG_As_long(obj4));
17928 if (SWIG_arg_fail(5)) SWIG_fail;
17929 }
b411df4a
RD
17930 }
17931 if (obj5) {
17932 {
17933 arg6 = wxString_in_helper(obj5);
17934 if (arg6 == NULL) SWIG_fail;
17935 temp6 = true;
17936 }
17937 }
17938 {
17939 if (!wxPyCheckForApp()) SWIG_fail;
17940 PyThreadState* __tstate = wxPyBeginAllowThreads();
17941 result = (wxChoicebook *)new wxChoicebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17942
17943 wxPyEndAllowThreads(__tstate);
17944 if (PyErr_Occurred()) SWIG_fail;
17945 }
17946 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebook, 1);
17947 {
17948 if (temp6)
17949 delete arg6;
17950 }
17951 return resultobj;
17952 fail:
17953 {
17954 if (temp6)
17955 delete arg6;
17956 }
17957 return NULL;
17958}
17959
17960
17961static PyObject *_wrap_new_PreChoicebook(PyObject *, PyObject *args, PyObject *kwargs) {
17962 PyObject *resultobj;
17963 wxChoicebook *result;
17964 char *kwnames[] = {
17965 NULL
17966 };
17967
17968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoicebook",kwnames)) goto fail;
17969 {
17970 if (!wxPyCheckForApp()) SWIG_fail;
17971 PyThreadState* __tstate = wxPyBeginAllowThreads();
17972 result = (wxChoicebook *)new wxChoicebook();
17973
17974 wxPyEndAllowThreads(__tstate);
17975 if (PyErr_Occurred()) SWIG_fail;
17976 }
17977 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebook, 1);
17978 return resultobj;
17979 fail:
17980 return NULL;
17981}
17982
17983
17984static PyObject *_wrap_Choicebook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
17985 PyObject *resultobj;
17986 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
17987 wxWindow *arg2 = (wxWindow *) 0 ;
17988 int arg3 ;
17989 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17990 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17991 wxSize const &arg5_defvalue = wxDefaultSize ;
17992 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17993 long arg6 = (long) 0 ;
17994 wxString const &arg7_defvalue = wxPyEmptyString ;
17995 wxString *arg7 = (wxString *) &arg7_defvalue ;
17996 bool result;
17997 wxPoint temp4 ;
17998 wxSize temp5 ;
17999 bool temp7 = false ;
18000 PyObject * obj0 = 0 ;
18001 PyObject * obj1 = 0 ;
18002 PyObject * obj2 = 0 ;
18003 PyObject * obj3 = 0 ;
18004 PyObject * obj4 = 0 ;
18005 PyObject * obj5 = 0 ;
18006 PyObject * obj6 = 0 ;
18007 char *kwnames[] = {
18008 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18009 };
18010
18011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Choicebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
18012 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
18013 if (SWIG_arg_fail(1)) SWIG_fail;
18014 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18015 if (SWIG_arg_fail(2)) SWIG_fail;
18016 {
18017 arg3 = (int)(SWIG_As_int(obj2));
18018 if (SWIG_arg_fail(3)) SWIG_fail;
18019 }
b411df4a
RD
18020 if (obj3) {
18021 {
18022 arg4 = &temp4;
18023 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
18024 }
18025 }
18026 if (obj4) {
18027 {
18028 arg5 = &temp5;
18029 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
18030 }
18031 }
18032 if (obj5) {
36ed4f51
RD
18033 {
18034 arg6 = (long)(SWIG_As_long(obj5));
18035 if (SWIG_arg_fail(6)) SWIG_fail;
18036 }
b411df4a
RD
18037 }
18038 if (obj6) {
18039 {
18040 arg7 = wxString_in_helper(obj6);
18041 if (arg7 == NULL) SWIG_fail;
18042 temp7 = true;
18043 }
18044 }
18045 {
18046 PyThreadState* __tstate = wxPyBeginAllowThreads();
18047 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
18048
18049 wxPyEndAllowThreads(__tstate);
18050 if (PyErr_Occurred()) SWIG_fail;
18051 }
18052 {
18053 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18054 }
18055 {
18056 if (temp7)
18057 delete arg7;
18058 }
18059 return resultobj;
18060 fail:
18061 {
18062 if (temp7)
18063 delete arg7;
18064 }
18065 return NULL;
18066}
18067
18068
18069static PyObject *_wrap_Choicebook_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
18070 PyObject *resultobj;
18071 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
18072 bool result;
18073 PyObject * obj0 = 0 ;
18074 char *kwnames[] = {
18075 (char *) "self", NULL
18076 };
18077
18078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_IsVertical",kwnames,&obj0)) goto fail;
36ed4f51
RD
18079 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
18080 if (SWIG_arg_fail(1)) SWIG_fail;
b411df4a
RD
18081 {
18082 PyThreadState* __tstate = wxPyBeginAllowThreads();
18083 result = (bool)((wxChoicebook const *)arg1)->IsVertical();
18084
18085 wxPyEndAllowThreads(__tstate);
18086 if (PyErr_Occurred()) SWIG_fail;
18087 }
18088 {
18089 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18090 }
18091 return resultobj;
18092 fail:
18093 return NULL;
18094}
18095
18096
18097static PyObject *_wrap_Choicebook_DeleteAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
18098 PyObject *resultobj;
18099 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
18100 bool result;
18101 PyObject * obj0 = 0 ;
18102 char *kwnames[] = {
18103 (char *) "self", NULL
18104 };
18105
18106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_DeleteAllPages",kwnames,&obj0)) goto fail;
36ed4f51
RD
18107 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
18108 if (SWIG_arg_fail(1)) SWIG_fail;
b411df4a
RD
18109 {
18110 PyThreadState* __tstate = wxPyBeginAllowThreads();
18111 result = (bool)(arg1)->DeleteAllPages();
18112
18113 wxPyEndAllowThreads(__tstate);
18114 if (PyErr_Occurred()) SWIG_fail;
18115 }
18116 {
18117 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18118 }
18119 return resultobj;
18120 fail:
18121 return NULL;
18122}
18123
18124
18125static PyObject * Choicebook_swigregister(PyObject *, PyObject *args) {
18126 PyObject *obj;
18127 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18128 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebook, obj);
18129 Py_INCREF(obj);
18130 return Py_BuildValue((char *)"");
18131}
18132static PyObject *_wrap_new_ChoicebookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
18133 PyObject *resultobj;
18134 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
18135 int arg2 = (int) 0 ;
18136 int arg3 = (int) -1 ;
18137 int arg4 = (int) -1 ;
18138 wxChoicebookEvent *result;
18139 PyObject * obj0 = 0 ;
18140 PyObject * obj1 = 0 ;
18141 PyObject * obj2 = 0 ;
18142 PyObject * obj3 = 0 ;
18143 char *kwnames[] = {
18144 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
18145 };
18146
18147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ChoicebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18148 if (obj0) {
36ed4f51
RD
18149 {
18150 arg1 = (wxEventType)(SWIG_As_int(obj0));
18151 if (SWIG_arg_fail(1)) SWIG_fail;
18152 }
b411df4a
RD
18153 }
18154 if (obj1) {
36ed4f51
RD
18155 {
18156 arg2 = (int)(SWIG_As_int(obj1));
18157 if (SWIG_arg_fail(2)) SWIG_fail;
18158 }
b411df4a
RD
18159 }
18160 if (obj2) {
36ed4f51
RD
18161 {
18162 arg3 = (int)(SWIG_As_int(obj2));
18163 if (SWIG_arg_fail(3)) SWIG_fail;
18164 }
b411df4a
RD
18165 }
18166 if (obj3) {
36ed4f51
RD
18167 {
18168 arg4 = (int)(SWIG_As_int(obj3));
18169 if (SWIG_arg_fail(4)) SWIG_fail;
18170 }
b411df4a
RD
18171 }
18172 {
18173 PyThreadState* __tstate = wxPyBeginAllowThreads();
18174 result = (wxChoicebookEvent *)new wxChoicebookEvent(arg1,arg2,arg3,arg4);
18175
18176 wxPyEndAllowThreads(__tstate);
18177 if (PyErr_Occurred()) SWIG_fail;
18178 }
18179 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebookEvent, 1);
18180 return resultobj;
18181 fail:
18182 return NULL;
18183}
18184
18185
18186static PyObject * ChoicebookEvent_swigregister(PyObject *, PyObject *args) {
18187 PyObject *obj;
18188 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18189 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebookEvent, obj);
18190 Py_INCREF(obj);
18191 return Py_BuildValue((char *)"");
18192}
c370783e 18193static PyObject *_wrap_new_BookCtrlSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 18194 PyObject *resultobj;
6e0de3df 18195 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
18196 wxBookCtrlSizer *result;
18197 PyObject * obj0 = 0 ;
18198 char *kwnames[] = {
18199 (char *) "nb", NULL
18200 };
18201
18202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BookCtrlSizer",kwnames,&obj0)) goto fail;
36ed4f51
RD
18203 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
18204 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18205 {
18206 PyThreadState* __tstate = wxPyBeginAllowThreads();
18207 result = (wxBookCtrlSizer *)new wxBookCtrlSizer(arg1);
18208
18209 wxPyEndAllowThreads(__tstate);
18210 if (PyErr_Occurred()) SWIG_fail;
18211 }
18212 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlSizer, 1);
18213 return resultobj;
18214 fail:
18215 return NULL;
18216}
18217
18218
c370783e 18219static PyObject *_wrap_BookCtrlSizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18220 PyObject *resultobj;
18221 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
18222 PyObject * obj0 = 0 ;
18223 char *kwnames[] = {
18224 (char *) "self", NULL
18225 };
18226
18227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames,&obj0)) goto fail;
36ed4f51
RD
18228 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlSizer, SWIG_POINTER_EXCEPTION | 0);
18229 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18230 {
18231 PyThreadState* __tstate = wxPyBeginAllowThreads();
18232 (arg1)->RecalcSizes();
18233
18234 wxPyEndAllowThreads(__tstate);
18235 if (PyErr_Occurred()) SWIG_fail;
18236 }
18237 Py_INCREF(Py_None); resultobj = Py_None;
18238 return resultobj;
18239 fail:
18240 return NULL;
18241}
18242
18243
c370783e 18244static PyObject *_wrap_BookCtrlSizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18245 PyObject *resultobj;
18246 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
18247 wxSize result;
18248 PyObject * obj0 = 0 ;
18249 char *kwnames[] = {
18250 (char *) "self", NULL
18251 };
18252
18253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_CalcMin",kwnames,&obj0)) goto fail;
36ed4f51
RD
18254 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlSizer, SWIG_POINTER_EXCEPTION | 0);
18255 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18256 {
18257 PyThreadState* __tstate = wxPyBeginAllowThreads();
18258 result = (arg1)->CalcMin();
18259
18260 wxPyEndAllowThreads(__tstate);
18261 if (PyErr_Occurred()) SWIG_fail;
18262 }
18263 {
18264 wxSize * resultptr;
36ed4f51 18265 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
18266 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18267 }
18268 return resultobj;
18269 fail:
18270 return NULL;
18271}
18272
18273
c370783e 18274static PyObject *_wrap_BookCtrlSizer_GetControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18275 PyObject *resultobj;
18276 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
6e0de3df 18277 wxBookCtrlBase *result;
d55e5bfc
RD
18278 PyObject * obj0 = 0 ;
18279 char *kwnames[] = {
18280 (char *) "self", NULL
18281 };
18282
18283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_GetControl",kwnames,&obj0)) goto fail;
36ed4f51
RD
18284 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlSizer, SWIG_POINTER_EXCEPTION | 0);
18285 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18286 {
18287 PyThreadState* __tstate = wxPyBeginAllowThreads();
6e0de3df 18288 result = (wxBookCtrlBase *)(arg1)->GetControl();
d55e5bfc
RD
18289
18290 wxPyEndAllowThreads(__tstate);
18291 if (PyErr_Occurred()) SWIG_fail;
18292 }
6e0de3df 18293 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlBase, 0);
d55e5bfc
RD
18294 return resultobj;
18295 fail:
18296 return NULL;
18297}
18298
18299
c370783e 18300static PyObject * BookCtrlSizer_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
18301 PyObject *obj;
18302 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18303 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer, obj);
18304 Py_INCREF(obj);
18305 return Py_BuildValue((char *)"");
18306}
c370783e 18307static PyObject *_wrap_new_NotebookSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18308 PyObject *resultobj;
18309 wxNotebook *arg1 = (wxNotebook *) 0 ;
18310 wxNotebookSizer *result;
18311 PyObject * obj0 = 0 ;
18312 char *kwnames[] = {
18313 (char *) "nb", NULL
18314 };
18315
18316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_NotebookSizer",kwnames,&obj0)) goto fail;
36ed4f51
RD
18317 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
18318 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18319 {
18320 PyThreadState* __tstate = wxPyBeginAllowThreads();
18321 result = (wxNotebookSizer *)new wxNotebookSizer(arg1);
18322
18323 wxPyEndAllowThreads(__tstate);
18324 if (PyErr_Occurred()) SWIG_fail;
18325 }
18326 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookSizer, 1);
18327 return resultobj;
18328 fail:
18329 return NULL;
18330}
18331
18332
c370783e 18333static PyObject *_wrap_NotebookSizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18334 PyObject *resultobj;
18335 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
18336 PyObject * obj0 = 0 ;
18337 char *kwnames[] = {
18338 (char *) "self", NULL
18339 };
18340
18341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_RecalcSizes",kwnames,&obj0)) goto fail;
36ed4f51
RD
18342 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebookSizer, SWIG_POINTER_EXCEPTION | 0);
18343 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18344 {
18345 PyThreadState* __tstate = wxPyBeginAllowThreads();
18346 (arg1)->RecalcSizes();
18347
18348 wxPyEndAllowThreads(__tstate);
18349 if (PyErr_Occurred()) SWIG_fail;
18350 }
18351 Py_INCREF(Py_None); resultobj = Py_None;
18352 return resultobj;
18353 fail:
18354 return NULL;
18355}
18356
18357
c370783e 18358static PyObject *_wrap_NotebookSizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18359 PyObject *resultobj;
18360 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
18361 wxSize result;
18362 PyObject * obj0 = 0 ;
18363 char *kwnames[] = {
18364 (char *) "self", NULL
18365 };
18366
18367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_CalcMin",kwnames,&obj0)) goto fail;
36ed4f51
RD
18368 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebookSizer, SWIG_POINTER_EXCEPTION | 0);
18369 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18370 {
18371 PyThreadState* __tstate = wxPyBeginAllowThreads();
18372 result = (arg1)->CalcMin();
18373
18374 wxPyEndAllowThreads(__tstate);
18375 if (PyErr_Occurred()) SWIG_fail;
18376 }
18377 {
18378 wxSize * resultptr;
36ed4f51 18379 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
18380 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18381 }
18382 return resultobj;
18383 fail:
18384 return NULL;
18385}
18386
18387
c370783e 18388static PyObject *_wrap_NotebookSizer_GetNotebook(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18389 PyObject *resultobj;
18390 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
18391 wxNotebook *result;
18392 PyObject * obj0 = 0 ;
18393 char *kwnames[] = {
18394 (char *) "self", NULL
18395 };
18396
18397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_GetNotebook",kwnames,&obj0)) goto fail;
36ed4f51
RD
18398 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebookSizer, SWIG_POINTER_EXCEPTION | 0);
18399 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18400 {
18401 PyThreadState* __tstate = wxPyBeginAllowThreads();
18402 result = (wxNotebook *)(arg1)->GetNotebook();
18403
18404 wxPyEndAllowThreads(__tstate);
18405 if (PyErr_Occurred()) SWIG_fail;
18406 }
18407 {
412d302d 18408 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
18409 }
18410 return resultobj;
18411 fail:
18412 return NULL;
18413}
18414
18415
c370783e 18416static PyObject * NotebookSizer_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
18417 PyObject *obj;
18418 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18419 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer, obj);
18420 Py_INCREF(obj);
18421 return Py_BuildValue((char *)"");
18422}
c370783e 18423static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18424 PyObject *resultobj;
18425 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18426 int result;
18427 PyObject * obj0 = 0 ;
18428 char *kwnames[] = {
18429 (char *) "self", NULL
18430 };
18431
18432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetId",kwnames,&obj0)) goto fail;
36ed4f51
RD
18433 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18434 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18435 {
18436 PyThreadState* __tstate = wxPyBeginAllowThreads();
18437 result = (int)(arg1)->GetId();
18438
18439 wxPyEndAllowThreads(__tstate);
18440 if (PyErr_Occurred()) SWIG_fail;
18441 }
36ed4f51
RD
18442 {
18443 resultobj = SWIG_From_int((int)(result));
18444 }
d55e5bfc
RD
18445 return resultobj;
18446 fail:
18447 return NULL;
18448}
18449
18450
c370783e 18451static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18452 PyObject *resultobj;
18453 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18454 wxControl *result;
18455 PyObject * obj0 = 0 ;
18456 char *kwnames[] = {
18457 (char *) "self", NULL
18458 };
18459
18460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetControl",kwnames,&obj0)) goto fail;
36ed4f51
RD
18461 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18462 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18463 {
18464 PyThreadState* __tstate = wxPyBeginAllowThreads();
18465 result = (wxControl *)(arg1)->GetControl();
18466
18467 wxPyEndAllowThreads(__tstate);
18468 if (PyErr_Occurred()) SWIG_fail;
18469 }
18470 {
412d302d 18471 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
18472 }
18473 return resultobj;
18474 fail:
18475 return NULL;
18476}
18477
18478
c370783e 18479static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18480 PyObject *resultobj;
18481 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18482 wxToolBarBase *result;
18483 PyObject * obj0 = 0 ;
18484 char *kwnames[] = {
18485 (char *) "self", NULL
18486 };
18487
18488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetToolBar",kwnames,&obj0)) goto fail;
36ed4f51
RD
18489 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18490 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18491 {
18492 PyThreadState* __tstate = wxPyBeginAllowThreads();
18493 result = (wxToolBarBase *)(arg1)->GetToolBar();
18494
18495 wxPyEndAllowThreads(__tstate);
18496 if (PyErr_Occurred()) SWIG_fail;
18497 }
18498 {
412d302d 18499 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
18500 }
18501 return resultobj;
18502 fail:
18503 return NULL;
18504}
18505
18506
c370783e 18507static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18508 PyObject *resultobj;
18509 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18510 int result;
18511 PyObject * obj0 = 0 ;
18512 char *kwnames[] = {
18513 (char *) "self", NULL
18514 };
18515
18516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsButton",kwnames,&obj0)) goto fail;
36ed4f51
RD
18517 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18518 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18519 {
18520 PyThreadState* __tstate = wxPyBeginAllowThreads();
18521 result = (int)(arg1)->IsButton();
18522
18523 wxPyEndAllowThreads(__tstate);
18524 if (PyErr_Occurred()) SWIG_fail;
18525 }
36ed4f51
RD
18526 {
18527 resultobj = SWIG_From_int((int)(result));
18528 }
d55e5bfc
RD
18529 return resultobj;
18530 fail:
18531 return NULL;
18532}
18533
18534
c370783e 18535static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18536 PyObject *resultobj;
18537 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18538 int result;
18539 PyObject * obj0 = 0 ;
18540 char *kwnames[] = {
18541 (char *) "self", NULL
18542 };
18543
18544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsControl",kwnames,&obj0)) goto fail;
36ed4f51
RD
18545 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18546 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18547 {
18548 PyThreadState* __tstate = wxPyBeginAllowThreads();
18549 result = (int)(arg1)->IsControl();
18550
18551 wxPyEndAllowThreads(__tstate);
18552 if (PyErr_Occurred()) SWIG_fail;
18553 }
36ed4f51
RD
18554 {
18555 resultobj = SWIG_From_int((int)(result));
18556 }
d55e5bfc
RD
18557 return resultobj;
18558 fail:
18559 return NULL;
18560}
18561
18562
c370783e 18563static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18564 PyObject *resultobj;
18565 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18566 int result;
18567 PyObject * obj0 = 0 ;
18568 char *kwnames[] = {
18569 (char *) "self", NULL
18570 };
18571
18572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsSeparator",kwnames,&obj0)) goto fail;
36ed4f51
RD
18573 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18574 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18575 {
18576 PyThreadState* __tstate = wxPyBeginAllowThreads();
18577 result = (int)(arg1)->IsSeparator();
18578
18579 wxPyEndAllowThreads(__tstate);
18580 if (PyErr_Occurred()) SWIG_fail;
18581 }
36ed4f51
RD
18582 {
18583 resultobj = SWIG_From_int((int)(result));
18584 }
d55e5bfc
RD
18585 return resultobj;
18586 fail:
18587 return NULL;
18588}
18589
18590
c370783e 18591static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18592 PyObject *resultobj;
18593 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18594 int result;
18595 PyObject * obj0 = 0 ;
18596 char *kwnames[] = {
18597 (char *) "self", NULL
18598 };
18599
18600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetStyle",kwnames,&obj0)) goto fail;
36ed4f51
RD
18601 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18602 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18603 {
18604 PyThreadState* __tstate = wxPyBeginAllowThreads();
18605 result = (int)(arg1)->GetStyle();
18606
18607 wxPyEndAllowThreads(__tstate);
18608 if (PyErr_Occurred()) SWIG_fail;
18609 }
36ed4f51
RD
18610 {
18611 resultobj = SWIG_From_int((int)(result));
18612 }
d55e5bfc
RD
18613 return resultobj;
18614 fail:
18615 return NULL;
18616}
18617
18618
c370783e 18619static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18620 PyObject *resultobj;
18621 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
36ed4f51 18622 wxItemKind result;
d55e5bfc
RD
18623 PyObject * obj0 = 0 ;
18624 char *kwnames[] = {
18625 (char *) "self", NULL
18626 };
18627
18628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetKind",kwnames,&obj0)) goto fail;
36ed4f51
RD
18629 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18630 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18631 {
18632 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 18633 result = (wxItemKind)(arg1)->GetKind();
d55e5bfc
RD
18634
18635 wxPyEndAllowThreads(__tstate);
18636 if (PyErr_Occurred()) SWIG_fail;
18637 }
36ed4f51 18638 resultobj = SWIG_From_int((result));
d55e5bfc
RD
18639 return resultobj;
18640 fail:
18641 return NULL;
18642}
18643
18644
c370783e 18645static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18646 PyObject *resultobj;
18647 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18648 bool result;
18649 PyObject * obj0 = 0 ;
18650 char *kwnames[] = {
18651 (char *) "self", NULL
18652 };
18653
18654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsEnabled",kwnames,&obj0)) goto fail;
36ed4f51
RD
18655 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18656 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18657 {
18658 PyThreadState* __tstate = wxPyBeginAllowThreads();
18659 result = (bool)(arg1)->IsEnabled();
18660
18661 wxPyEndAllowThreads(__tstate);
18662 if (PyErr_Occurred()) SWIG_fail;
18663 }
18664 {
18665 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18666 }
18667 return resultobj;
18668 fail:
18669 return NULL;
18670}
18671
18672
c370783e 18673static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18674 PyObject *resultobj;
18675 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18676 bool result;
18677 PyObject * obj0 = 0 ;
18678 char *kwnames[] = {
18679 (char *) "self", NULL
18680 };
18681
18682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsToggled",kwnames,&obj0)) goto fail;
36ed4f51
RD
18683 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18684 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18685 {
18686 PyThreadState* __tstate = wxPyBeginAllowThreads();
18687 result = (bool)(arg1)->IsToggled();
18688
18689 wxPyEndAllowThreads(__tstate);
18690 if (PyErr_Occurred()) SWIG_fail;
18691 }
18692 {
18693 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18694 }
18695 return resultobj;
18696 fail:
18697 return NULL;
18698}
18699
18700
c370783e 18701static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18702 PyObject *resultobj;
18703 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18704 bool result;
18705 PyObject * obj0 = 0 ;
18706 char *kwnames[] = {
18707 (char *) "self", NULL
18708 };
18709
18710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames,&obj0)) goto fail;
36ed4f51
RD
18711 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18712 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18713 {
18714 PyThreadState* __tstate = wxPyBeginAllowThreads();
18715 result = (bool)(arg1)->CanBeToggled();
18716
18717 wxPyEndAllowThreads(__tstate);
18718 if (PyErr_Occurred()) SWIG_fail;
18719 }
18720 {
18721 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18722 }
18723 return resultobj;
18724 fail:
18725 return NULL;
18726}
18727
18728
c370783e 18729static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18730 PyObject *resultobj;
18731 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18732 wxBitmap *result;
18733 PyObject * obj0 = 0 ;
18734 char *kwnames[] = {
18735 (char *) "self", NULL
18736 };
18737
18738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames,&obj0)) goto fail;
36ed4f51
RD
18739 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18740 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18741 {
18742 PyThreadState* __tstate = wxPyBeginAllowThreads();
18743 {
18744 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
18745 result = (wxBitmap *) &_result_ref;
18746 }
18747
18748 wxPyEndAllowThreads(__tstate);
18749 if (PyErr_Occurred()) SWIG_fail;
18750 }
18751 {
18752 wxBitmap* resultptr = new wxBitmap(*result);
18753 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
18754 }
18755 return resultobj;
18756 fail:
18757 return NULL;
18758}
18759
18760
c370783e 18761static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18762 PyObject *resultobj;
18763 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18764 wxBitmap *result;
18765 PyObject * obj0 = 0 ;
18766 char *kwnames[] = {
18767 (char *) "self", NULL
18768 };
18769
18770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames,&obj0)) goto fail;
36ed4f51
RD
18771 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18772 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18773 {
18774 PyThreadState* __tstate = wxPyBeginAllowThreads();
18775 {
18776 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
18777 result = (wxBitmap *) &_result_ref;
18778 }
18779
18780 wxPyEndAllowThreads(__tstate);
18781 if (PyErr_Occurred()) SWIG_fail;
18782 }
18783 {
18784 wxBitmap* resultptr = new wxBitmap(*result);
18785 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
18786 }
18787 return resultobj;
18788 fail:
18789 return NULL;
18790}
18791
18792
c370783e 18793static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18794 PyObject *resultobj;
18795 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18796 wxBitmap result;
18797 PyObject * obj0 = 0 ;
18798 char *kwnames[] = {
18799 (char *) "self", NULL
18800 };
18801
18802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetBitmap",kwnames,&obj0)) goto fail;
36ed4f51
RD
18803 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18804 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18805 {
18806 PyThreadState* __tstate = wxPyBeginAllowThreads();
18807 result = (arg1)->GetBitmap();
18808
18809 wxPyEndAllowThreads(__tstate);
18810 if (PyErr_Occurred()) SWIG_fail;
18811 }
18812 {
18813 wxBitmap * resultptr;
36ed4f51 18814 resultptr = new wxBitmap((wxBitmap &)(result));
d55e5bfc
RD
18815 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
18816 }
18817 return resultobj;
18818 fail:
18819 return NULL;
18820}
18821
18822
c370783e 18823static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18824 PyObject *resultobj;
18825 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18826 wxString result;
18827 PyObject * obj0 = 0 ;
18828 char *kwnames[] = {
18829 (char *) "self", NULL
18830 };
18831
18832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLabel",kwnames,&obj0)) goto fail;
36ed4f51
RD
18833 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18834 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18835 {
18836 PyThreadState* __tstate = wxPyBeginAllowThreads();
18837 result = (arg1)->GetLabel();
18838
18839 wxPyEndAllowThreads(__tstate);
18840 if (PyErr_Occurred()) SWIG_fail;
18841 }
18842 {
18843#if wxUSE_UNICODE
18844 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18845#else
18846 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18847#endif
18848 }
18849 return resultobj;
18850 fail:
18851 return NULL;
18852}
18853
18854
c370783e 18855static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18856 PyObject *resultobj;
18857 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18858 wxString result;
18859 PyObject * obj0 = 0 ;
18860 char *kwnames[] = {
18861 (char *) "self", NULL
18862 };
18863
18864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames,&obj0)) goto fail;
36ed4f51
RD
18865 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18866 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18867 {
18868 PyThreadState* __tstate = wxPyBeginAllowThreads();
18869 result = (arg1)->GetShortHelp();
18870
18871 wxPyEndAllowThreads(__tstate);
18872 if (PyErr_Occurred()) SWIG_fail;
18873 }
18874 {
18875#if wxUSE_UNICODE
18876 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18877#else
18878 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18879#endif
18880 }
18881 return resultobj;
18882 fail:
18883 return NULL;
18884}
18885
18886
c370783e 18887static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18888 PyObject *resultobj;
18889 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18890 wxString result;
18891 PyObject * obj0 = 0 ;
18892 char *kwnames[] = {
18893 (char *) "self", NULL
18894 };
18895
18896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames,&obj0)) goto fail;
36ed4f51
RD
18897 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18898 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18899 {
18900 PyThreadState* __tstate = wxPyBeginAllowThreads();
18901 result = (arg1)->GetLongHelp();
18902
18903 wxPyEndAllowThreads(__tstate);
18904 if (PyErr_Occurred()) SWIG_fail;
18905 }
18906 {
18907#if wxUSE_UNICODE
18908 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18909#else
18910 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18911#endif
18912 }
18913 return resultobj;
18914 fail:
18915 return NULL;
18916}
18917
18918
c370783e 18919static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18920 PyObject *resultobj;
18921 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18922 bool arg2 ;
18923 bool result;
18924 PyObject * obj0 = 0 ;
18925 PyObject * obj1 = 0 ;
18926 char *kwnames[] = {
18927 (char *) "self",(char *) "enable", NULL
18928 };
18929
18930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
18931 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18932 if (SWIG_arg_fail(1)) SWIG_fail;
18933 {
18934 arg2 = (bool)(SWIG_As_bool(obj1));
18935 if (SWIG_arg_fail(2)) SWIG_fail;
18936 }
d55e5bfc
RD
18937 {
18938 PyThreadState* __tstate = wxPyBeginAllowThreads();
18939 result = (bool)(arg1)->Enable(arg2);
18940
18941 wxPyEndAllowThreads(__tstate);
18942 if (PyErr_Occurred()) SWIG_fail;
18943 }
18944 {
18945 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18946 }
18947 return resultobj;
18948 fail:
18949 return NULL;
18950}
18951
18952
c370783e 18953static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18954 PyObject *resultobj;
18955 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18956 PyObject * obj0 = 0 ;
18957 char *kwnames[] = {
18958 (char *) "self", NULL
18959 };
18960
18961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Toggle",kwnames,&obj0)) goto fail;
36ed4f51
RD
18962 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18963 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18964 {
18965 PyThreadState* __tstate = wxPyBeginAllowThreads();
18966 (arg1)->Toggle();
18967
18968 wxPyEndAllowThreads(__tstate);
18969 if (PyErr_Occurred()) SWIG_fail;
18970 }
18971 Py_INCREF(Py_None); resultobj = Py_None;
18972 return resultobj;
18973 fail:
18974 return NULL;
18975}
18976
18977
c370783e 18978static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18979 PyObject *resultobj;
18980 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18981 bool arg2 ;
18982 bool result;
18983 PyObject * obj0 = 0 ;
18984 PyObject * obj1 = 0 ;
18985 char *kwnames[] = {
18986 (char *) "self",(char *) "toggle", NULL
18987 };
18988
18989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
18990 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18991 if (SWIG_arg_fail(1)) SWIG_fail;
18992 {
18993 arg2 = (bool)(SWIG_As_bool(obj1));
18994 if (SWIG_arg_fail(2)) SWIG_fail;
18995 }
d55e5bfc
RD
18996 {
18997 PyThreadState* __tstate = wxPyBeginAllowThreads();
18998 result = (bool)(arg1)->SetToggle(arg2);
18999
19000 wxPyEndAllowThreads(__tstate);
19001 if (PyErr_Occurred()) SWIG_fail;
19002 }
19003 {
19004 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19005 }
19006 return resultobj;
19007 fail:
19008 return NULL;
19009}
19010
19011
c370783e 19012static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19013 PyObject *resultobj;
19014 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19015 wxString *arg2 = 0 ;
19016 bool result;
b411df4a 19017 bool temp2 = false ;
d55e5bfc
RD
19018 PyObject * obj0 = 0 ;
19019 PyObject * obj1 = 0 ;
19020 char *kwnames[] = {
19021 (char *) "self",(char *) "help", NULL
19022 };
19023
19024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
19025 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19026 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19027 {
19028 arg2 = wxString_in_helper(obj1);
19029 if (arg2 == NULL) SWIG_fail;
b411df4a 19030 temp2 = true;
d55e5bfc
RD
19031 }
19032 {
19033 PyThreadState* __tstate = wxPyBeginAllowThreads();
19034 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
19035
19036 wxPyEndAllowThreads(__tstate);
19037 if (PyErr_Occurred()) SWIG_fail;
19038 }
19039 {
19040 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19041 }
19042 {
19043 if (temp2)
19044 delete arg2;
19045 }
19046 return resultobj;
19047 fail:
19048 {
19049 if (temp2)
19050 delete arg2;
19051 }
19052 return NULL;
19053}
19054
19055
c370783e 19056static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19057 PyObject *resultobj;
19058 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19059 wxString *arg2 = 0 ;
19060 bool result;
b411df4a 19061 bool temp2 = false ;
d55e5bfc
RD
19062 PyObject * obj0 = 0 ;
19063 PyObject * obj1 = 0 ;
19064 char *kwnames[] = {
19065 (char *) "self",(char *) "help", NULL
19066 };
19067
19068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
19069 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19070 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19071 {
19072 arg2 = wxString_in_helper(obj1);
19073 if (arg2 == NULL) SWIG_fail;
b411df4a 19074 temp2 = true;
d55e5bfc
RD
19075 }
19076 {
19077 PyThreadState* __tstate = wxPyBeginAllowThreads();
19078 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
19079
19080 wxPyEndAllowThreads(__tstate);
19081 if (PyErr_Occurred()) SWIG_fail;
19082 }
19083 {
19084 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19085 }
19086 {
19087 if (temp2)
19088 delete arg2;
19089 }
19090 return resultobj;
19091 fail:
19092 {
19093 if (temp2)
19094 delete arg2;
19095 }
19096 return NULL;
19097}
19098
19099
c370783e 19100static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19101 PyObject *resultobj;
19102 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19103 wxBitmap *arg2 = 0 ;
19104 PyObject * obj0 = 0 ;
19105 PyObject * obj1 = 0 ;
19106 char *kwnames[] = {
19107 (char *) "self",(char *) "bmp", NULL
19108 };
19109
19110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
19111 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19112 if (SWIG_arg_fail(1)) SWIG_fail;
19113 {
19114 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19115 if (SWIG_arg_fail(2)) SWIG_fail;
19116 if (arg2 == NULL) {
19117 SWIG_null_ref("wxBitmap");
19118 }
19119 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
19120 }
19121 {
19122 PyThreadState* __tstate = wxPyBeginAllowThreads();
19123 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
19124
19125 wxPyEndAllowThreads(__tstate);
19126 if (PyErr_Occurred()) SWIG_fail;
19127 }
19128 Py_INCREF(Py_None); resultobj = Py_None;
19129 return resultobj;
19130 fail:
19131 return NULL;
19132}
19133
19134
c370783e 19135static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19136 PyObject *resultobj;
19137 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19138 wxBitmap *arg2 = 0 ;
19139 PyObject * obj0 = 0 ;
19140 PyObject * obj1 = 0 ;
19141 char *kwnames[] = {
19142 (char *) "self",(char *) "bmp", NULL
19143 };
19144
19145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
19146 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19147 if (SWIG_arg_fail(1)) SWIG_fail;
19148 {
19149 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19150 if (SWIG_arg_fail(2)) SWIG_fail;
19151 if (arg2 == NULL) {
19152 SWIG_null_ref("wxBitmap");
19153 }
19154 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
19155 }
19156 {
19157 PyThreadState* __tstate = wxPyBeginAllowThreads();
19158 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
19159
19160 wxPyEndAllowThreads(__tstate);
19161 if (PyErr_Occurred()) SWIG_fail;
19162 }
19163 Py_INCREF(Py_None); resultobj = Py_None;
19164 return resultobj;
19165 fail:
19166 return NULL;
19167}
19168
19169
c370783e 19170static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19171 PyObject *resultobj;
19172 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19173 wxString *arg2 = 0 ;
b411df4a 19174 bool temp2 = false ;
d55e5bfc
RD
19175 PyObject * obj0 = 0 ;
19176 PyObject * obj1 = 0 ;
19177 char *kwnames[] = {
19178 (char *) "self",(char *) "label", NULL
19179 };
19180
19181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
19182 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19183 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19184 {
19185 arg2 = wxString_in_helper(obj1);
19186 if (arg2 == NULL) SWIG_fail;
b411df4a 19187 temp2 = true;
d55e5bfc
RD
19188 }
19189 {
19190 PyThreadState* __tstate = wxPyBeginAllowThreads();
19191 (arg1)->SetLabel((wxString const &)*arg2);
19192
19193 wxPyEndAllowThreads(__tstate);
19194 if (PyErr_Occurred()) SWIG_fail;
19195 }
19196 Py_INCREF(Py_None); resultobj = Py_None;
19197 {
19198 if (temp2)
19199 delete arg2;
19200 }
19201 return resultobj;
19202 fail:
19203 {
19204 if (temp2)
19205 delete arg2;
19206 }
19207 return NULL;
19208}
19209
19210
c370783e 19211static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19212 PyObject *resultobj;
19213 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19214 PyObject * obj0 = 0 ;
19215 char *kwnames[] = {
19216 (char *) "self", NULL
19217 };
19218
19219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Detach",kwnames,&obj0)) goto fail;
36ed4f51
RD
19220 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19221 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19222 {
19223 PyThreadState* __tstate = wxPyBeginAllowThreads();
19224 (arg1)->Detach();
19225
19226 wxPyEndAllowThreads(__tstate);
19227 if (PyErr_Occurred()) SWIG_fail;
19228 }
19229 Py_INCREF(Py_None); resultobj = Py_None;
19230 return resultobj;
19231 fail:
19232 return NULL;
19233}
19234
19235
c370783e 19236static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19237 PyObject *resultobj;
19238 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19239 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
19240 PyObject * obj0 = 0 ;
19241 PyObject * obj1 = 0 ;
19242 char *kwnames[] = {
19243 (char *) "self",(char *) "tbar", NULL
19244 };
19245
19246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
19247 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19248 if (SWIG_arg_fail(1)) SWIG_fail;
19249 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19250 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
19251 {
19252 PyThreadState* __tstate = wxPyBeginAllowThreads();
19253 (arg1)->Attach(arg2);
19254
19255 wxPyEndAllowThreads(__tstate);
19256 if (PyErr_Occurred()) SWIG_fail;
19257 }
19258 Py_INCREF(Py_None); resultobj = Py_None;
19259 return resultobj;
19260 fail:
19261 return NULL;
19262}
19263
19264
c370783e 19265static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19266 PyObject *resultobj;
19267 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19268 PyObject *result;
19269 PyObject * obj0 = 0 ;
19270 char *kwnames[] = {
19271 (char *) "self", NULL
19272 };
19273
19274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetClientData",kwnames,&obj0)) goto fail;
36ed4f51
RD
19275 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19276 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19277 {
19278 PyThreadState* __tstate = wxPyBeginAllowThreads();
19279 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
19280
19281 wxPyEndAllowThreads(__tstate);
19282 if (PyErr_Occurred()) SWIG_fail;
19283 }
19284 resultobj = result;
19285 return resultobj;
19286 fail:
19287 return NULL;
19288}
19289
19290
c370783e 19291static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19292 PyObject *resultobj;
19293 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19294 PyObject *arg2 = (PyObject *) 0 ;
19295 PyObject * obj0 = 0 ;
19296 PyObject * obj1 = 0 ;
19297 char *kwnames[] = {
19298 (char *) "self",(char *) "clientData", NULL
19299 };
19300
19301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
19302 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19303 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19304 arg2 = obj1;
19305 {
19306 PyThreadState* __tstate = wxPyBeginAllowThreads();
19307 wxToolBarToolBase_SetClientData(arg1,arg2);
19308
19309 wxPyEndAllowThreads(__tstate);
19310 if (PyErr_Occurred()) SWIG_fail;
19311 }
19312 Py_INCREF(Py_None); resultobj = Py_None;
19313 return resultobj;
19314 fail:
19315 return NULL;
19316}
19317
19318
c370783e 19319static PyObject * ToolBarToolBase_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
19320 PyObject *obj;
19321 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19322 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase, obj);
19323 Py_INCREF(obj);
19324 return Py_BuildValue((char *)"");
19325}
c370783e 19326static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19327 PyObject *resultobj;
19328 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19329 int arg2 ;
19330 wxString *arg3 = 0 ;
19331 wxBitmap *arg4 = 0 ;
19332 wxBitmap const &arg5_defvalue = wxNullBitmap ;
19333 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
36ed4f51 19334 wxItemKind arg6 = (wxItemKind) wxITEM_NORMAL ;
d55e5bfc
RD
19335 wxString const &arg7_defvalue = wxPyEmptyString ;
19336 wxString *arg7 = (wxString *) &arg7_defvalue ;
19337 wxString const &arg8_defvalue = wxPyEmptyString ;
19338 wxString *arg8 = (wxString *) &arg8_defvalue ;
19339 PyObject *arg9 = (PyObject *) NULL ;
19340 wxToolBarToolBase *result;
b411df4a
RD
19341 bool temp3 = false ;
19342 bool temp7 = false ;
19343 bool temp8 = false ;
d55e5bfc
RD
19344 PyObject * obj0 = 0 ;
19345 PyObject * obj1 = 0 ;
19346 PyObject * obj2 = 0 ;
19347 PyObject * obj3 = 0 ;
19348 PyObject * obj4 = 0 ;
19349 PyObject * obj5 = 0 ;
19350 PyObject * obj6 = 0 ;
19351 PyObject * obj7 = 0 ;
19352 PyObject * obj8 = 0 ;
19353 char *kwnames[] = {
19354 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19355 };
19356
19357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
36ed4f51
RD
19358 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19359 if (SWIG_arg_fail(1)) SWIG_fail;
19360 {
19361 arg2 = (int)(SWIG_As_int(obj1));
19362 if (SWIG_arg_fail(2)) SWIG_fail;
19363 }
d55e5bfc
RD
19364 {
19365 arg3 = wxString_in_helper(obj2);
19366 if (arg3 == NULL) SWIG_fail;
b411df4a 19367 temp3 = true;
d55e5bfc 19368 }
36ed4f51
RD
19369 {
19370 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19371 if (SWIG_arg_fail(4)) SWIG_fail;
19372 if (arg4 == NULL) {
19373 SWIG_null_ref("wxBitmap");
19374 }
19375 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc
RD
19376 }
19377 if (obj4) {
36ed4f51
RD
19378 {
19379 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19380 if (SWIG_arg_fail(5)) SWIG_fail;
19381 if (arg5 == NULL) {
19382 SWIG_null_ref("wxBitmap");
19383 }
19384 if (SWIG_arg_fail(5)) SWIG_fail;
d55e5bfc
RD
19385 }
19386 }
19387 if (obj5) {
36ed4f51
RD
19388 {
19389 arg6 = (wxItemKind)(SWIG_As_int(obj5));
19390 if (SWIG_arg_fail(6)) SWIG_fail;
19391 }
d55e5bfc
RD
19392 }
19393 if (obj6) {
19394 {
19395 arg7 = wxString_in_helper(obj6);
19396 if (arg7 == NULL) SWIG_fail;
b411df4a 19397 temp7 = true;
d55e5bfc
RD
19398 }
19399 }
19400 if (obj7) {
19401 {
19402 arg8 = wxString_in_helper(obj7);
19403 if (arg8 == NULL) SWIG_fail;
b411df4a 19404 temp8 = true;
d55e5bfc
RD
19405 }
19406 }
19407 if (obj8) {
19408 arg9 = obj8;
19409 }
19410 {
19411 PyThreadState* __tstate = wxPyBeginAllowThreads();
19412 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,(wxItemKind )arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
19413
19414 wxPyEndAllowThreads(__tstate);
19415 if (PyErr_Occurred()) SWIG_fail;
19416 }
19417 {
412d302d 19418 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
19419 }
19420 {
19421 if (temp3)
19422 delete arg3;
19423 }
19424 {
19425 if (temp7)
19426 delete arg7;
19427 }
19428 {
19429 if (temp8)
19430 delete arg8;
19431 }
19432 return resultobj;
19433 fail:
19434 {
19435 if (temp3)
19436 delete arg3;
19437 }
19438 {
19439 if (temp7)
19440 delete arg7;
19441 }
19442 {
19443 if (temp8)
19444 delete arg8;
19445 }
19446 return NULL;
19447}
19448
19449
c370783e 19450static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19451 PyObject *resultobj;
19452 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19453 size_t arg2 ;
19454 int arg3 ;
19455 wxString *arg4 = 0 ;
19456 wxBitmap *arg5 = 0 ;
19457 wxBitmap const &arg6_defvalue = wxNullBitmap ;
19458 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
36ed4f51 19459 wxItemKind arg7 = (wxItemKind) wxITEM_NORMAL ;
d55e5bfc
RD
19460 wxString const &arg8_defvalue = wxPyEmptyString ;
19461 wxString *arg8 = (wxString *) &arg8_defvalue ;
19462 wxString const &arg9_defvalue = wxPyEmptyString ;
19463 wxString *arg9 = (wxString *) &arg9_defvalue ;
19464 PyObject *arg10 = (PyObject *) NULL ;
19465 wxToolBarToolBase *result;
b411df4a
RD
19466 bool temp4 = false ;
19467 bool temp8 = false ;
19468 bool temp9 = false ;
d55e5bfc
RD
19469 PyObject * obj0 = 0 ;
19470 PyObject * obj1 = 0 ;
19471 PyObject * obj2 = 0 ;
19472 PyObject * obj3 = 0 ;
19473 PyObject * obj4 = 0 ;
19474 PyObject * obj5 = 0 ;
19475 PyObject * obj6 = 0 ;
19476 PyObject * obj7 = 0 ;
19477 PyObject * obj8 = 0 ;
19478 PyObject * obj9 = 0 ;
19479 char *kwnames[] = {
19480 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19481 };
19482
19483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
36ed4f51
RD
19484 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19485 if (SWIG_arg_fail(1)) SWIG_fail;
19486 {
19487 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19488 if (SWIG_arg_fail(2)) SWIG_fail;
19489 }
19490 {
19491 arg3 = (int)(SWIG_As_int(obj2));
19492 if (SWIG_arg_fail(3)) SWIG_fail;
19493 }
d55e5bfc
RD
19494 {
19495 arg4 = wxString_in_helper(obj3);
19496 if (arg4 == NULL) SWIG_fail;
b411df4a 19497 temp4 = true;
d55e5bfc 19498 }
36ed4f51
RD
19499 {
19500 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19501 if (SWIG_arg_fail(5)) SWIG_fail;
19502 if (arg5 == NULL) {
19503 SWIG_null_ref("wxBitmap");
19504 }
19505 if (SWIG_arg_fail(5)) SWIG_fail;
d55e5bfc
RD
19506 }
19507 if (obj5) {
36ed4f51
RD
19508 {
19509 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19510 if (SWIG_arg_fail(6)) SWIG_fail;
19511 if (arg6 == NULL) {
19512 SWIG_null_ref("wxBitmap");
19513 }
19514 if (SWIG_arg_fail(6)) SWIG_fail;
d55e5bfc
RD
19515 }
19516 }
19517 if (obj6) {
36ed4f51
RD
19518 {
19519 arg7 = (wxItemKind)(SWIG_As_int(obj6));
19520 if (SWIG_arg_fail(7)) SWIG_fail;
19521 }
d55e5bfc
RD
19522 }
19523 if (obj7) {
19524 {
19525 arg8 = wxString_in_helper(obj7);
19526 if (arg8 == NULL) SWIG_fail;
b411df4a 19527 temp8 = true;
d55e5bfc
RD
19528 }
19529 }
19530 if (obj8) {
19531 {
19532 arg9 = wxString_in_helper(obj8);
19533 if (arg9 == NULL) SWIG_fail;
b411df4a 19534 temp9 = true;
d55e5bfc
RD
19535 }
19536 }
19537 if (obj9) {
19538 arg10 = obj9;
19539 }
19540 {
19541 PyThreadState* __tstate = wxPyBeginAllowThreads();
19542 result = (wxToolBarToolBase *)wxToolBarBase_DoInsertTool(arg1,arg2,arg3,(wxString const &)*arg4,(wxBitmap const &)*arg5,(wxBitmap const &)*arg6,(wxItemKind )arg7,(wxString const &)*arg8,(wxString const &)*arg9,arg10);
19543
19544 wxPyEndAllowThreads(__tstate);
19545 if (PyErr_Occurred()) SWIG_fail;
19546 }
19547 {
412d302d 19548 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
19549 }
19550 {
19551 if (temp4)
19552 delete arg4;
19553 }
19554 {
19555 if (temp8)
19556 delete arg8;
19557 }
19558 {
19559 if (temp9)
19560 delete arg9;
19561 }
19562 return resultobj;
19563 fail:
19564 {
19565 if (temp4)
19566 delete arg4;
19567 }
19568 {
19569 if (temp8)
19570 delete arg8;
19571 }
19572 {
19573 if (temp9)
19574 delete arg9;
19575 }
19576 return NULL;
19577}
19578
19579
c370783e 19580static PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19581 PyObject *resultobj;
19582 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19583 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
19584 wxToolBarToolBase *result;
19585 PyObject * obj0 = 0 ;
19586 PyObject * obj1 = 0 ;
19587 char *kwnames[] = {
19588 (char *) "self",(char *) "tool", NULL
19589 };
19590
19591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
19592 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19593 if (SWIG_arg_fail(1)) SWIG_fail;
19594 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19595 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
19596 {
19597 PyThreadState* __tstate = wxPyBeginAllowThreads();
19598 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
19599
19600 wxPyEndAllowThreads(__tstate);
19601 if (PyErr_Occurred()) SWIG_fail;
19602 }
19603 {
412d302d 19604 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
19605 }
19606 return resultobj;
19607 fail:
19608 return NULL;
19609}
19610
19611
c370783e 19612static PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19613 PyObject *resultobj;
19614 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19615 size_t arg2 ;
19616 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
19617 wxToolBarToolBase *result;
19618 PyObject * obj0 = 0 ;
19619 PyObject * obj1 = 0 ;
19620 PyObject * obj2 = 0 ;
19621 char *kwnames[] = {
19622 (char *) "self",(char *) "pos",(char *) "tool", NULL
19623 };
19624
19625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
19626 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19627 if (SWIG_arg_fail(1)) SWIG_fail;
19628 {
19629 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19630 if (SWIG_arg_fail(2)) SWIG_fail;
19631 }
19632 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19633 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
19634 {
19635 PyThreadState* __tstate = wxPyBeginAllowThreads();
19636 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
19637
19638 wxPyEndAllowThreads(__tstate);
19639 if (PyErr_Occurred()) SWIG_fail;
19640 }
19641 {
412d302d 19642 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
19643 }
19644 return resultobj;
19645 fail:
19646 return NULL;
19647}
19648
19649
c370783e 19650static PyObject *_wrap_ToolBarBase_AddControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19651 PyObject *resultobj;
19652 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19653 wxControl *arg2 = (wxControl *) 0 ;
19654 wxToolBarToolBase *result;
19655 PyObject * obj0 = 0 ;
19656 PyObject * obj1 = 0 ;
19657 char *kwnames[] = {
19658 (char *) "self",(char *) "control", NULL
19659 };
19660
19661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
19662 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19663 if (SWIG_arg_fail(1)) SWIG_fail;
19664 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxControl, SWIG_POINTER_EXCEPTION | 0);
19665 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
19666 {
19667 PyThreadState* __tstate = wxPyBeginAllowThreads();
19668 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
19669
19670 wxPyEndAllowThreads(__tstate);
19671 if (PyErr_Occurred()) SWIG_fail;
19672 }
19673 {
412d302d 19674 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
19675 }
19676 return resultobj;
19677 fail:
19678 return NULL;
19679}
19680
19681
c370783e 19682static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19683 PyObject *resultobj;
19684 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19685 size_t arg2 ;
19686 wxControl *arg3 = (wxControl *) 0 ;
19687 wxToolBarToolBase *result;
19688 PyObject * obj0 = 0 ;
19689 PyObject * obj1 = 0 ;
19690 PyObject * obj2 = 0 ;
19691 char *kwnames[] = {
19692 (char *) "self",(char *) "pos",(char *) "control", NULL
19693 };
19694
19695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
19696 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19697 if (SWIG_arg_fail(1)) SWIG_fail;
19698 {
19699 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19700 if (SWIG_arg_fail(2)) SWIG_fail;
19701 }
19702 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxControl, SWIG_POINTER_EXCEPTION | 0);
19703 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
19704 {
19705 PyThreadState* __tstate = wxPyBeginAllowThreads();
19706 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
19707
19708 wxPyEndAllowThreads(__tstate);
19709 if (PyErr_Occurred()) SWIG_fail;
19710 }
19711 {
412d302d 19712 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
19713 }
19714 return resultobj;
19715 fail:
19716 return NULL;
19717}
19718
19719
c370783e 19720static PyObject *_wrap_ToolBarBase_FindControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19721 PyObject *resultobj;
19722 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19723 int arg2 ;
19724 wxControl *result;
19725 PyObject * obj0 = 0 ;
19726 PyObject * obj1 = 0 ;
19727 char *kwnames[] = {
19728 (char *) "self",(char *) "id", NULL
19729 };
19730
19731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindControl",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
19732 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19733 if (SWIG_arg_fail(1)) SWIG_fail;
19734 {
19735 arg2 = (int)(SWIG_As_int(obj1));
19736 if (SWIG_arg_fail(2)) SWIG_fail;
19737 }
d55e5bfc
RD
19738 {
19739 PyThreadState* __tstate = wxPyBeginAllowThreads();
19740 result = (wxControl *)(arg1)->FindControl(arg2);
19741
19742 wxPyEndAllowThreads(__tstate);
19743 if (PyErr_Occurred()) SWIG_fail;
19744 }
19745 {
412d302d 19746 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
19747 }
19748 return resultobj;
19749 fail:
19750 return NULL;
19751}
19752
19753
c370783e 19754static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19755 PyObject *resultobj;
19756 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19757 wxToolBarToolBase *result;
19758 PyObject * obj0 = 0 ;
19759 char *kwnames[] = {
19760 (char *) "self", NULL
19761 };
19762
19763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_AddSeparator",kwnames,&obj0)) goto fail;
36ed4f51
RD
19764 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19765 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19766 {
19767 PyThreadState* __tstate = wxPyBeginAllowThreads();
19768 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
19769
19770 wxPyEndAllowThreads(__tstate);
19771 if (PyErr_Occurred()) SWIG_fail;
19772 }
19773 {
412d302d 19774 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
19775 }
19776 return resultobj;
19777 fail:
19778 return NULL;
19779}
19780
19781
c370783e 19782static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19783 PyObject *resultobj;
19784 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19785 size_t arg2 ;
19786 wxToolBarToolBase *result;
19787 PyObject * obj0 = 0 ;
19788 PyObject * obj1 = 0 ;
19789 char *kwnames[] = {
19790 (char *) "self",(char *) "pos", NULL
19791 };
19792
19793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
19794 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19795 if (SWIG_arg_fail(1)) SWIG_fail;
19796 {
19797 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19798 if (SWIG_arg_fail(2)) SWIG_fail;
19799 }
d55e5bfc
RD
19800 {
19801 PyThreadState* __tstate = wxPyBeginAllowThreads();
19802 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
19803
19804 wxPyEndAllowThreads(__tstate);
19805 if (PyErr_Occurred()) SWIG_fail;
19806 }
19807 {
412d302d 19808 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
19809 }
19810 return resultobj;
19811 fail:
19812 return NULL;
19813}
19814
19815
c370783e 19816static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19817 PyObject *resultobj;
19818 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19819 int arg2 ;
19820 wxToolBarToolBase *result;
19821 PyObject * obj0 = 0 ;
19822 PyObject * obj1 = 0 ;
19823 char *kwnames[] = {
19824 (char *) "self",(char *) "id", NULL
19825 };
19826
19827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_RemoveTool",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
19828 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19829 if (SWIG_arg_fail(1)) SWIG_fail;
19830 {
19831 arg2 = (int)(SWIG_As_int(obj1));
19832 if (SWIG_arg_fail(2)) SWIG_fail;
19833 }
d55e5bfc
RD
19834 {
19835 PyThreadState* __tstate = wxPyBeginAllowThreads();
19836 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
19837
19838 wxPyEndAllowThreads(__tstate);
19839 if (PyErr_Occurred()) SWIG_fail;
19840 }
19841 {
412d302d 19842 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
19843 }
19844 return resultobj;
19845 fail:
19846 return NULL;
19847}
19848
19849
c370783e 19850static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19851 PyObject *resultobj;
19852 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19853 size_t arg2 ;
19854 bool result;
19855 PyObject * obj0 = 0 ;
19856 PyObject * obj1 = 0 ;
19857 char *kwnames[] = {
19858 (char *) "self",(char *) "pos", NULL
19859 };
19860
19861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
19862 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19863 if (SWIG_arg_fail(1)) SWIG_fail;
19864 {
19865 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19866 if (SWIG_arg_fail(2)) SWIG_fail;
19867 }
d55e5bfc
RD
19868 {
19869 PyThreadState* __tstate = wxPyBeginAllowThreads();
19870 result = (bool)(arg1)->DeleteToolByPos(arg2);
19871
19872 wxPyEndAllowThreads(__tstate);
19873 if (PyErr_Occurred()) SWIG_fail;
19874 }
19875 {
19876 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19877 }
19878 return resultobj;
19879 fail:
19880 return NULL;
19881}
19882
19883
c370783e 19884static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19885 PyObject *resultobj;
19886 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19887 int arg2 ;
19888 bool result;
19889 PyObject * obj0 = 0 ;
19890 PyObject * obj1 = 0 ;
19891 char *kwnames[] = {
19892 (char *) "self",(char *) "id", NULL
19893 };
19894
19895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteTool",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
19896 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19897 if (SWIG_arg_fail(1)) SWIG_fail;
19898 {
19899 arg2 = (int)(SWIG_As_int(obj1));
19900 if (SWIG_arg_fail(2)) SWIG_fail;
19901 }
d55e5bfc
RD
19902 {
19903 PyThreadState* __tstate = wxPyBeginAllowThreads();
19904 result = (bool)(arg1)->DeleteTool(arg2);
19905
19906 wxPyEndAllowThreads(__tstate);
19907 if (PyErr_Occurred()) SWIG_fail;
19908 }
19909 {
19910 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19911 }
19912 return resultobj;
19913 fail:
19914 return NULL;
19915}
19916
19917
c370783e 19918static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19919 PyObject *resultobj;
19920 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19921 PyObject * obj0 = 0 ;
19922 char *kwnames[] = {
19923 (char *) "self", NULL
19924 };
19925
19926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_ClearTools",kwnames,&obj0)) goto fail;
36ed4f51
RD
19927 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19928 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19929 {
19930 PyThreadState* __tstate = wxPyBeginAllowThreads();
19931 (arg1)->ClearTools();
19932
19933 wxPyEndAllowThreads(__tstate);
19934 if (PyErr_Occurred()) SWIG_fail;
19935 }
19936 Py_INCREF(Py_None); resultobj = Py_None;
19937 return resultobj;
19938 fail:
19939 return NULL;
19940}
19941
19942
c370783e 19943static PyObject *_wrap_ToolBarBase_Realize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19944 PyObject *resultobj;
19945 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19946 bool result;
19947 PyObject * obj0 = 0 ;
19948 char *kwnames[] = {
19949 (char *) "self", NULL
19950 };
19951
19952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_Realize",kwnames,&obj0)) goto fail;
36ed4f51
RD
19953 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19954 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19955 {
19956 PyThreadState* __tstate = wxPyBeginAllowThreads();
19957 result = (bool)(arg1)->Realize();
19958
19959 wxPyEndAllowThreads(__tstate);
19960 if (PyErr_Occurred()) SWIG_fail;
19961 }
19962 {
19963 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19964 }
19965 return resultobj;
19966 fail:
19967 return NULL;
19968}
19969
19970
c370783e 19971static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19972 PyObject *resultobj;
19973 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19974 int arg2 ;
19975 bool arg3 ;
19976 PyObject * obj0 = 0 ;
19977 PyObject * obj1 = 0 ;
19978 PyObject * obj2 = 0 ;
19979 char *kwnames[] = {
19980 (char *) "self",(char *) "id",(char *) "enable", NULL
19981 };
19982
19983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_EnableTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
19984 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19985 if (SWIG_arg_fail(1)) SWIG_fail;
19986 {
19987 arg2 = (int)(SWIG_As_int(obj1));
19988 if (SWIG_arg_fail(2)) SWIG_fail;
19989 }
19990 {
19991 arg3 = (bool)(SWIG_As_bool(obj2));
19992 if (SWIG_arg_fail(3)) SWIG_fail;
19993 }
d55e5bfc
RD
19994 {
19995 PyThreadState* __tstate = wxPyBeginAllowThreads();
19996 (arg1)->EnableTool(arg2,arg3);
19997
19998 wxPyEndAllowThreads(__tstate);
19999 if (PyErr_Occurred()) SWIG_fail;
20000 }
20001 Py_INCREF(Py_None); resultobj = Py_None;
20002 return resultobj;
20003 fail:
20004 return NULL;
20005}
20006
20007
c370783e 20008static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20009 PyObject *resultobj;
20010 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20011 int arg2 ;
20012 bool arg3 ;
20013 PyObject * obj0 = 0 ;
20014 PyObject * obj1 = 0 ;
20015 PyObject * obj2 = 0 ;
20016 char *kwnames[] = {
20017 (char *) "self",(char *) "id",(char *) "toggle", NULL
20018 };
20019
20020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_ToggleTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
20021 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20022 if (SWIG_arg_fail(1)) SWIG_fail;
20023 {
20024 arg2 = (int)(SWIG_As_int(obj1));
20025 if (SWIG_arg_fail(2)) SWIG_fail;
20026 }
20027 {
20028 arg3 = (bool)(SWIG_As_bool(obj2));
20029 if (SWIG_arg_fail(3)) SWIG_fail;
20030 }
d55e5bfc
RD
20031 {
20032 PyThreadState* __tstate = wxPyBeginAllowThreads();
20033 (arg1)->ToggleTool(arg2,arg3);
20034
20035 wxPyEndAllowThreads(__tstate);
20036 if (PyErr_Occurred()) SWIG_fail;
20037 }
20038 Py_INCREF(Py_None); resultobj = Py_None;
20039 return resultobj;
20040 fail:
20041 return NULL;
20042}
20043
20044
c370783e 20045static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20046 PyObject *resultobj;
20047 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20048 int arg2 ;
20049 bool arg3 ;
20050 PyObject * obj0 = 0 ;
20051 PyObject * obj1 = 0 ;
20052 PyObject * obj2 = 0 ;
20053 char *kwnames[] = {
20054 (char *) "self",(char *) "id",(char *) "toggle", NULL
20055 };
20056
20057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToggle",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
20058 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20059 if (SWIG_arg_fail(1)) SWIG_fail;
20060 {
20061 arg2 = (int)(SWIG_As_int(obj1));
20062 if (SWIG_arg_fail(2)) SWIG_fail;
20063 }
20064 {
20065 arg3 = (bool)(SWIG_As_bool(obj2));
20066 if (SWIG_arg_fail(3)) SWIG_fail;
20067 }
d55e5bfc
RD
20068 {
20069 PyThreadState* __tstate = wxPyBeginAllowThreads();
20070 (arg1)->SetToggle(arg2,arg3);
20071
20072 wxPyEndAllowThreads(__tstate);
20073 if (PyErr_Occurred()) SWIG_fail;
20074 }
20075 Py_INCREF(Py_None); resultobj = Py_None;
20076 return resultobj;
20077 fail:
20078 return NULL;
20079}
20080
20081
c370783e 20082static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20083 PyObject *resultobj;
20084 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20085 int arg2 ;
20086 PyObject *result;
20087 PyObject * obj0 = 0 ;
20088 PyObject * obj1 = 0 ;
20089 char *kwnames[] = {
20090 (char *) "self",(char *) "id", NULL
20091 };
20092
20093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolClientData",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
20094 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20095 if (SWIG_arg_fail(1)) SWIG_fail;
20096 {
20097 arg2 = (int)(SWIG_As_int(obj1));
20098 if (SWIG_arg_fail(2)) SWIG_fail;
20099 }
d55e5bfc
RD
20100 {
20101 PyThreadState* __tstate = wxPyBeginAllowThreads();
20102 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
20103
20104 wxPyEndAllowThreads(__tstate);
20105 if (PyErr_Occurred()) SWIG_fail;
20106 }
20107 resultobj = result;
20108 return resultobj;
20109 fail:
20110 return NULL;
20111}
20112
20113
c370783e 20114static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20115 PyObject *resultobj;
20116 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20117 int arg2 ;
20118 PyObject *arg3 = (PyObject *) 0 ;
20119 PyObject * obj0 = 0 ;
20120 PyObject * obj1 = 0 ;
20121 PyObject * obj2 = 0 ;
20122 char *kwnames[] = {
20123 (char *) "self",(char *) "id",(char *) "clientData", NULL
20124 };
20125
20126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
20127 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20128 if (SWIG_arg_fail(1)) SWIG_fail;
20129 {
20130 arg2 = (int)(SWIG_As_int(obj1));
20131 if (SWIG_arg_fail(2)) SWIG_fail;
20132 }
d55e5bfc
RD
20133 arg3 = obj2;
20134 {
20135 PyThreadState* __tstate = wxPyBeginAllowThreads();
20136 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
20137
20138 wxPyEndAllowThreads(__tstate);
20139 if (PyErr_Occurred()) SWIG_fail;
20140 }
20141 Py_INCREF(Py_None); resultobj = Py_None;
20142 return resultobj;
20143 fail:
20144 return NULL;
20145}
20146
20147
c370783e 20148static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20149 PyObject *resultobj;
20150 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20151 int arg2 ;
20152 int result;
20153 PyObject * obj0 = 0 ;
20154 PyObject * obj1 = 0 ;
20155 char *kwnames[] = {
20156 (char *) "self",(char *) "id", NULL
20157 };
20158
20159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolPos",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
20160 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20161 if (SWIG_arg_fail(1)) SWIG_fail;
20162 {
20163 arg2 = (int)(SWIG_As_int(obj1));
20164 if (SWIG_arg_fail(2)) SWIG_fail;
20165 }
d55e5bfc
RD
20166 {
20167 PyThreadState* __tstate = wxPyBeginAllowThreads();
20168 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
20169
20170 wxPyEndAllowThreads(__tstate);
20171 if (PyErr_Occurred()) SWIG_fail;
20172 }
36ed4f51
RD
20173 {
20174 resultobj = SWIG_From_int((int)(result));
20175 }
d55e5bfc
RD
20176 return resultobj;
20177 fail:
20178 return NULL;
20179}
20180
20181
c370783e 20182static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20183 PyObject *resultobj;
20184 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20185 int arg2 ;
20186 bool result;
20187 PyObject * obj0 = 0 ;
20188 PyObject * obj1 = 0 ;
20189 char *kwnames[] = {
20190 (char *) "self",(char *) "id", NULL
20191 };
20192
20193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolState",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
20194 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20195 if (SWIG_arg_fail(1)) SWIG_fail;
20196 {
20197 arg2 = (int)(SWIG_As_int(obj1));
20198 if (SWIG_arg_fail(2)) SWIG_fail;
20199 }
d55e5bfc
RD
20200 {
20201 PyThreadState* __tstate = wxPyBeginAllowThreads();
20202 result = (bool)(arg1)->GetToolState(arg2);
20203
20204 wxPyEndAllowThreads(__tstate);
20205 if (PyErr_Occurred()) SWIG_fail;
20206 }
20207 {
20208 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20209 }
20210 return resultobj;
20211 fail:
20212 return NULL;
20213}
20214
20215
c370783e 20216static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20217 PyObject *resultobj;
20218 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20219 int arg2 ;
20220 bool result;
20221 PyObject * obj0 = 0 ;
20222 PyObject * obj1 = 0 ;
20223 char *kwnames[] = {
20224 (char *) "self",(char *) "id", NULL
20225 };
20226
20227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
20228 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20229 if (SWIG_arg_fail(1)) SWIG_fail;
20230 {
20231 arg2 = (int)(SWIG_As_int(obj1));
20232 if (SWIG_arg_fail(2)) SWIG_fail;
20233 }
d55e5bfc
RD
20234 {
20235 PyThreadState* __tstate = wxPyBeginAllowThreads();
20236 result = (bool)(arg1)->GetToolEnabled(arg2);
20237
20238 wxPyEndAllowThreads(__tstate);
20239 if (PyErr_Occurred()) SWIG_fail;
20240 }
20241 {
20242 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20243 }
20244 return resultobj;
20245 fail:
20246 return NULL;
20247}
20248
20249
c370783e 20250static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20251 PyObject *resultobj;
20252 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20253 int arg2 ;
20254 wxString *arg3 = 0 ;
b411df4a 20255 bool temp3 = false ;
d55e5bfc
RD
20256 PyObject * obj0 = 0 ;
20257 PyObject * obj1 = 0 ;
20258 PyObject * obj2 = 0 ;
20259 char *kwnames[] = {
20260 (char *) "self",(char *) "id",(char *) "helpString", NULL
20261 };
20262
20263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
20264 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20265 if (SWIG_arg_fail(1)) SWIG_fail;
20266 {
20267 arg2 = (int)(SWIG_As_int(obj1));
20268 if (SWIG_arg_fail(2)) SWIG_fail;
20269 }
d55e5bfc
RD
20270 {
20271 arg3 = wxString_in_helper(obj2);
20272 if (arg3 == NULL) SWIG_fail;
b411df4a 20273 temp3 = true;
d55e5bfc
RD
20274 }
20275 {
20276 PyThreadState* __tstate = wxPyBeginAllowThreads();
20277 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
20278
20279 wxPyEndAllowThreads(__tstate);
20280 if (PyErr_Occurred()) SWIG_fail;
20281 }
20282 Py_INCREF(Py_None); resultobj = Py_None;
20283 {
20284 if (temp3)
20285 delete arg3;
20286 }
20287 return resultobj;
20288 fail:
20289 {
20290 if (temp3)
20291 delete arg3;
20292 }
20293 return NULL;
20294}
20295
20296
c370783e 20297static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20298 PyObject *resultobj;
20299 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20300 int arg2 ;
20301 wxString result;
20302 PyObject * obj0 = 0 ;
20303 PyObject * obj1 = 0 ;
20304 char *kwnames[] = {
20305 (char *) "self",(char *) "id", NULL
20306 };
20307
20308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
20309 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20310 if (SWIG_arg_fail(1)) SWIG_fail;
20311 {
20312 arg2 = (int)(SWIG_As_int(obj1));
20313 if (SWIG_arg_fail(2)) SWIG_fail;
20314 }
d55e5bfc
RD
20315 {
20316 PyThreadState* __tstate = wxPyBeginAllowThreads();
20317 result = (arg1)->GetToolShortHelp(arg2);
20318
20319 wxPyEndAllowThreads(__tstate);
20320 if (PyErr_Occurred()) SWIG_fail;
20321 }
20322 {
20323#if wxUSE_UNICODE
20324 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20325#else
20326 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20327#endif
20328 }
20329 return resultobj;
20330 fail:
20331 return NULL;
20332}
20333
20334
c370783e 20335static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20336 PyObject *resultobj;
20337 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20338 int arg2 ;
20339 wxString *arg3 = 0 ;
b411df4a 20340 bool temp3 = false ;
d55e5bfc
RD
20341 PyObject * obj0 = 0 ;
20342 PyObject * obj1 = 0 ;
20343 PyObject * obj2 = 0 ;
20344 char *kwnames[] = {
20345 (char *) "self",(char *) "id",(char *) "helpString", NULL
20346 };
20347
20348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
20349 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20350 if (SWIG_arg_fail(1)) SWIG_fail;
20351 {
20352 arg2 = (int)(SWIG_As_int(obj1));
20353 if (SWIG_arg_fail(2)) SWIG_fail;
20354 }
d55e5bfc
RD
20355 {
20356 arg3 = wxString_in_helper(obj2);
20357 if (arg3 == NULL) SWIG_fail;
b411df4a 20358 temp3 = true;
d55e5bfc
RD
20359 }
20360 {
20361 PyThreadState* __tstate = wxPyBeginAllowThreads();
20362 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
20363
20364 wxPyEndAllowThreads(__tstate);
20365 if (PyErr_Occurred()) SWIG_fail;
20366 }
20367 Py_INCREF(Py_None); resultobj = Py_None;
20368 {
20369 if (temp3)
20370 delete arg3;
20371 }
20372 return resultobj;
20373 fail:
20374 {
20375 if (temp3)
20376 delete arg3;
20377 }
20378 return NULL;
20379}
20380
20381
c370783e 20382static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20383 PyObject *resultobj;
20384 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20385 int arg2 ;
20386 wxString result;
20387 PyObject * obj0 = 0 ;
20388 PyObject * obj1 = 0 ;
20389 char *kwnames[] = {
20390 (char *) "self",(char *) "id", NULL
20391 };
20392
20393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
20394 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20395 if (SWIG_arg_fail(1)) SWIG_fail;
20396 {
20397 arg2 = (int)(SWIG_As_int(obj1));
20398 if (SWIG_arg_fail(2)) SWIG_fail;
20399 }
d55e5bfc
RD
20400 {
20401 PyThreadState* __tstate = wxPyBeginAllowThreads();
20402 result = (arg1)->GetToolLongHelp(arg2);
20403
20404 wxPyEndAllowThreads(__tstate);
20405 if (PyErr_Occurred()) SWIG_fail;
20406 }
20407 {
20408#if wxUSE_UNICODE
20409 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20410#else
20411 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20412#endif
20413 }
20414 return resultobj;
20415 fail:
20416 return NULL;
20417}
20418
20419
c370783e 20420static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20421 PyObject *resultobj;
20422 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20423 int arg2 ;
20424 int arg3 ;
20425 PyObject * obj0 = 0 ;
20426 PyObject * obj1 = 0 ;
20427 PyObject * obj2 = 0 ;
20428 char *kwnames[] = {
20429 (char *) "self",(char *) "x",(char *) "y", NULL
20430 };
20431
20432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
20433 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20434 if (SWIG_arg_fail(1)) SWIG_fail;
20435 {
20436 arg2 = (int)(SWIG_As_int(obj1));
20437 if (SWIG_arg_fail(2)) SWIG_fail;
20438 }
20439 {
20440 arg3 = (int)(SWIG_As_int(obj2));
20441 if (SWIG_arg_fail(3)) SWIG_fail;
20442 }
d55e5bfc
RD
20443 {
20444 PyThreadState* __tstate = wxPyBeginAllowThreads();
20445 (arg1)->SetMargins(arg2,arg3);
20446
20447 wxPyEndAllowThreads(__tstate);
20448 if (PyErr_Occurred()) SWIG_fail;
20449 }
20450 Py_INCREF(Py_None); resultobj = Py_None;
20451 return resultobj;
20452 fail:
20453 return NULL;
20454}
20455
20456
c370783e 20457static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20458 PyObject *resultobj;
20459 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20460 wxSize *arg2 = 0 ;
20461 wxSize temp2 ;
20462 PyObject * obj0 = 0 ;
20463 PyObject * obj1 = 0 ;
20464 char *kwnames[] = {
20465 (char *) "self",(char *) "size", NULL
20466 };
20467
20468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
20469 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20470 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20471 {
20472 arg2 = &temp2;
20473 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20474 }
20475 {
20476 PyThreadState* __tstate = wxPyBeginAllowThreads();
20477 (arg1)->SetMargins((wxSize const &)*arg2);
20478
20479 wxPyEndAllowThreads(__tstate);
20480 if (PyErr_Occurred()) SWIG_fail;
20481 }
20482 Py_INCREF(Py_None); resultobj = Py_None;
20483 return resultobj;
20484 fail:
20485 return NULL;
20486}
20487
20488
c370783e 20489static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20490 PyObject *resultobj;
20491 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20492 int arg2 ;
20493 PyObject * obj0 = 0 ;
20494 PyObject * obj1 = 0 ;
20495 char *kwnames[] = {
20496 (char *) "self",(char *) "packing", NULL
20497 };
20498
20499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolPacking",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
20500 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20501 if (SWIG_arg_fail(1)) SWIG_fail;
20502 {
20503 arg2 = (int)(SWIG_As_int(obj1));
20504 if (SWIG_arg_fail(2)) SWIG_fail;
20505 }
d55e5bfc
RD
20506 {
20507 PyThreadState* __tstate = wxPyBeginAllowThreads();
20508 (arg1)->SetToolPacking(arg2);
20509
20510 wxPyEndAllowThreads(__tstate);
20511 if (PyErr_Occurred()) SWIG_fail;
20512 }
20513 Py_INCREF(Py_None); resultobj = Py_None;
20514 return resultobj;
20515 fail:
20516 return NULL;
20517}
20518
20519
c370783e 20520static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20521 PyObject *resultobj;
20522 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20523 int arg2 ;
20524 PyObject * obj0 = 0 ;
20525 PyObject * obj1 = 0 ;
20526 char *kwnames[] = {
20527 (char *) "self",(char *) "separation", NULL
20528 };
20529
20530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
20531 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20532 if (SWIG_arg_fail(1)) SWIG_fail;
20533 {
20534 arg2 = (int)(SWIG_As_int(obj1));
20535 if (SWIG_arg_fail(2)) SWIG_fail;
20536 }
d55e5bfc
RD
20537 {
20538 PyThreadState* __tstate = wxPyBeginAllowThreads();
20539 (arg1)->SetToolSeparation(arg2);
20540
20541 wxPyEndAllowThreads(__tstate);
20542 if (PyErr_Occurred()) SWIG_fail;
20543 }
20544 Py_INCREF(Py_None); resultobj = Py_None;
20545 return resultobj;
20546 fail:
20547 return NULL;
20548}
20549
20550
c370783e 20551static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20552 PyObject *resultobj;
20553 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20554 wxSize result;
20555 PyObject * obj0 = 0 ;
20556 char *kwnames[] = {
20557 (char *) "self", NULL
20558 };
20559
20560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolMargins",kwnames,&obj0)) goto fail;
36ed4f51
RD
20561 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20562 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20563 {
20564 PyThreadState* __tstate = wxPyBeginAllowThreads();
20565 result = (arg1)->GetToolMargins();
20566
20567 wxPyEndAllowThreads(__tstate);
20568 if (PyErr_Occurred()) SWIG_fail;
20569 }
20570 {
20571 wxSize * resultptr;
36ed4f51 20572 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
20573 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20574 }
20575 return resultobj;
20576 fail:
20577 return NULL;
20578}
20579
20580
c370783e 20581static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20582 PyObject *resultobj;
20583 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20584 wxSize result;
20585 PyObject * obj0 = 0 ;
20586 char *kwnames[] = {
20587 (char *) "self", NULL
20588 };
20589
20590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMargins",kwnames,&obj0)) goto fail;
36ed4f51
RD
20591 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20592 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20593 {
20594 PyThreadState* __tstate = wxPyBeginAllowThreads();
20595 result = (arg1)->GetMargins();
20596
20597 wxPyEndAllowThreads(__tstate);
20598 if (PyErr_Occurred()) SWIG_fail;
20599 }
20600 {
20601 wxSize * resultptr;
36ed4f51 20602 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
20603 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20604 }
20605 return resultobj;
20606 fail:
20607 return NULL;
20608}
20609
20610
c370783e 20611static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20612 PyObject *resultobj;
20613 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20614 int result;
20615 PyObject * obj0 = 0 ;
20616 char *kwnames[] = {
20617 (char *) "self", NULL
20618 };
20619
20620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolPacking",kwnames,&obj0)) goto fail;
36ed4f51
RD
20621 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20622 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20623 {
20624 PyThreadState* __tstate = wxPyBeginAllowThreads();
20625 result = (int)(arg1)->GetToolPacking();
20626
20627 wxPyEndAllowThreads(__tstate);
20628 if (PyErr_Occurred()) SWIG_fail;
20629 }
36ed4f51
RD
20630 {
20631 resultobj = SWIG_From_int((int)(result));
20632 }
d55e5bfc
RD
20633 return resultobj;
20634 fail:
20635 return NULL;
20636}
20637
20638
c370783e 20639static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20640 PyObject *resultobj;
20641 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20642 int result;
20643 PyObject * obj0 = 0 ;
20644 char *kwnames[] = {
20645 (char *) "self", NULL
20646 };
20647
20648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSeparation",kwnames,&obj0)) goto fail;
36ed4f51
RD
20649 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20650 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20651 {
20652 PyThreadState* __tstate = wxPyBeginAllowThreads();
20653 result = (int)(arg1)->GetToolSeparation();
20654
20655 wxPyEndAllowThreads(__tstate);
20656 if (PyErr_Occurred()) SWIG_fail;
20657 }
36ed4f51
RD
20658 {
20659 resultobj = SWIG_From_int((int)(result));
20660 }
d55e5bfc
RD
20661 return resultobj;
20662 fail:
20663 return NULL;
20664}
20665
20666
c370783e 20667static PyObject *_wrap_ToolBarBase_SetRows(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20668 PyObject *resultobj;
20669 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20670 int arg2 ;
20671 PyObject * obj0 = 0 ;
20672 PyObject * obj1 = 0 ;
20673 char *kwnames[] = {
20674 (char *) "self",(char *) "nRows", NULL
20675 };
20676
20677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetRows",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
20678 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20679 if (SWIG_arg_fail(1)) SWIG_fail;
20680 {
20681 arg2 = (int)(SWIG_As_int(obj1));
20682 if (SWIG_arg_fail(2)) SWIG_fail;
20683 }
d55e5bfc
RD
20684 {
20685 PyThreadState* __tstate = wxPyBeginAllowThreads();
20686 (arg1)->SetRows(arg2);
20687
20688 wxPyEndAllowThreads(__tstate);
20689 if (PyErr_Occurred()) SWIG_fail;
20690 }
20691 Py_INCREF(Py_None); resultobj = Py_None;
20692 return resultobj;
20693 fail:
20694 return NULL;
20695}
20696
20697
c370783e 20698static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20699 PyObject *resultobj;
20700 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20701 int arg2 ;
20702 int arg3 ;
20703 PyObject * obj0 = 0 ;
20704 PyObject * obj1 = 0 ;
20705 PyObject * obj2 = 0 ;
20706 char *kwnames[] = {
20707 (char *) "self",(char *) "rows",(char *) "cols", NULL
20708 };
20709
20710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
20711 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20712 if (SWIG_arg_fail(1)) SWIG_fail;
20713 {
20714 arg2 = (int)(SWIG_As_int(obj1));
20715 if (SWIG_arg_fail(2)) SWIG_fail;
20716 }
20717 {
20718 arg3 = (int)(SWIG_As_int(obj2));
20719 if (SWIG_arg_fail(3)) SWIG_fail;
20720 }
d55e5bfc
RD
20721 {
20722 PyThreadState* __tstate = wxPyBeginAllowThreads();
20723 (arg1)->SetMaxRowsCols(arg2,arg3);
20724
20725 wxPyEndAllowThreads(__tstate);
20726 if (PyErr_Occurred()) SWIG_fail;
20727 }
20728 Py_INCREF(Py_None); resultobj = Py_None;
20729 return resultobj;
20730 fail:
20731 return NULL;
20732}
20733
20734
c370783e 20735static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20736 PyObject *resultobj;
20737 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20738 int result;
20739 PyObject * obj0 = 0 ;
20740 char *kwnames[] = {
20741 (char *) "self", NULL
20742 };
20743
20744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxRows",kwnames,&obj0)) goto fail;
36ed4f51
RD
20745 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20746 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20747 {
20748 PyThreadState* __tstate = wxPyBeginAllowThreads();
20749 result = (int)(arg1)->GetMaxRows();
20750
20751 wxPyEndAllowThreads(__tstate);
20752 if (PyErr_Occurred()) SWIG_fail;
20753 }
36ed4f51
RD
20754 {
20755 resultobj = SWIG_From_int((int)(result));
20756 }
d55e5bfc
RD
20757 return resultobj;
20758 fail:
20759 return NULL;
20760}
20761
20762
c370783e 20763static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20764 PyObject *resultobj;
20765 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20766 int result;
20767 PyObject * obj0 = 0 ;
20768 char *kwnames[] = {
20769 (char *) "self", NULL
20770 };
20771
20772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxCols",kwnames,&obj0)) goto fail;
36ed4f51
RD
20773 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20774 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20775 {
20776 PyThreadState* __tstate = wxPyBeginAllowThreads();
20777 result = (int)(arg1)->GetMaxCols();
20778
20779 wxPyEndAllowThreads(__tstate);
20780 if (PyErr_Occurred()) SWIG_fail;
20781 }
36ed4f51
RD
20782 {
20783 resultobj = SWIG_From_int((int)(result));
20784 }
d55e5bfc
RD
20785 return resultobj;
20786 fail:
20787 return NULL;
20788}
20789
20790
c370783e 20791static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20792 PyObject *resultobj;
20793 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20794 wxSize *arg2 = 0 ;
20795 wxSize temp2 ;
20796 PyObject * obj0 = 0 ;
20797 PyObject * obj1 = 0 ;
20798 char *kwnames[] = {
20799 (char *) "self",(char *) "size", NULL
20800 };
20801
20802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
20803 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20804 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20805 {
20806 arg2 = &temp2;
20807 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20808 }
20809 {
20810 PyThreadState* __tstate = wxPyBeginAllowThreads();
20811 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
20812
20813 wxPyEndAllowThreads(__tstate);
20814 if (PyErr_Occurred()) SWIG_fail;
20815 }
20816 Py_INCREF(Py_None); resultobj = Py_None;
20817 return resultobj;
20818 fail:
20819 return NULL;
20820}
20821
20822
c370783e 20823static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20824 PyObject *resultobj;
20825 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20826 wxSize result;
20827 PyObject * obj0 = 0 ;
20828 char *kwnames[] = {
20829 (char *) "self", NULL
20830 };
20831
20832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
20833 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20834 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20835 {
20836 PyThreadState* __tstate = wxPyBeginAllowThreads();
20837 result = (arg1)->GetToolBitmapSize();
20838
20839 wxPyEndAllowThreads(__tstate);
20840 if (PyErr_Occurred()) SWIG_fail;
20841 }
20842 {
20843 wxSize * resultptr;
36ed4f51 20844 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
20845 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20846 }
20847 return resultobj;
20848 fail:
20849 return NULL;
20850}
20851
20852
c370783e 20853static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20854 PyObject *resultobj;
20855 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20856 wxSize result;
20857 PyObject * obj0 = 0 ;
20858 char *kwnames[] = {
20859 (char *) "self", NULL
20860 };
20861
20862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
20863 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20864 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20865 {
20866 PyThreadState* __tstate = wxPyBeginAllowThreads();
20867 result = (arg1)->GetToolSize();
20868
20869 wxPyEndAllowThreads(__tstate);
20870 if (PyErr_Occurred()) SWIG_fail;
20871 }
20872 {
20873 wxSize * resultptr;
36ed4f51 20874 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
20875 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20876 }
20877 return resultobj;
20878 fail:
20879 return NULL;
20880}
20881
20882
c370783e 20883static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20884 PyObject *resultobj;
20885 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20886 int arg2 ;
20887 int arg3 ;
20888 wxToolBarToolBase *result;
20889 PyObject * obj0 = 0 ;
20890 PyObject * obj1 = 0 ;
20891 PyObject * obj2 = 0 ;
20892 char *kwnames[] = {
20893 (char *) "self",(char *) "x",(char *) "y", NULL
20894 };
20895
20896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
20897 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20898 if (SWIG_arg_fail(1)) SWIG_fail;
20899 {
20900 arg2 = (int)(SWIG_As_int(obj1));
20901 if (SWIG_arg_fail(2)) SWIG_fail;
20902 }
20903 {
20904 arg3 = (int)(SWIG_As_int(obj2));
20905 if (SWIG_arg_fail(3)) SWIG_fail;
20906 }
d55e5bfc
RD
20907 {
20908 PyThreadState* __tstate = wxPyBeginAllowThreads();
20909 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
20910
20911 wxPyEndAllowThreads(__tstate);
20912 if (PyErr_Occurred()) SWIG_fail;
20913 }
20914 {
412d302d 20915 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
20916 }
20917 return resultobj;
20918 fail:
20919 return NULL;
20920}
20921
20922
c370783e 20923static PyObject *_wrap_ToolBarBase_FindById(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20924 PyObject *resultobj;
20925 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20926 int arg2 ;
20927 wxToolBarToolBase *result;
20928 PyObject * obj0 = 0 ;
20929 PyObject * obj1 = 0 ;
20930 char *kwnames[] = {
20931 (char *) "self",(char *) "toolid", NULL
20932 };
20933
20934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindById",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
20935 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20936 if (SWIG_arg_fail(1)) SWIG_fail;
20937 {
20938 arg2 = (int)(SWIG_As_int(obj1));
20939 if (SWIG_arg_fail(2)) SWIG_fail;
20940 }
d55e5bfc
RD
20941 {
20942 PyThreadState* __tstate = wxPyBeginAllowThreads();
20943 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
20944
20945 wxPyEndAllowThreads(__tstate);
20946 if (PyErr_Occurred()) SWIG_fail;
20947 }
20948 {
412d302d 20949 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
20950 }
20951 return resultobj;
20952 fail:
20953 return NULL;
20954}
20955
20956
c370783e 20957static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20958 PyObject *resultobj;
20959 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20960 bool result;
20961 PyObject * obj0 = 0 ;
20962 char *kwnames[] = {
20963 (char *) "self", NULL
20964 };
20965
20966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_IsVertical",kwnames,&obj0)) goto fail;
36ed4f51
RD
20967 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20968 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20969 {
20970 PyThreadState* __tstate = wxPyBeginAllowThreads();
20971 result = (bool)(arg1)->IsVertical();
20972
20973 wxPyEndAllowThreads(__tstate);
20974 if (PyErr_Occurred()) SWIG_fail;
20975 }
20976 {
20977 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20978 }
20979 return resultobj;
20980 fail:
20981 return NULL;
20982}
20983
20984
c370783e 20985static PyObject * ToolBarBase_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
20986 PyObject *obj;
20987 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20988 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase, obj);
20989 Py_INCREF(obj);
20990 return Py_BuildValue((char *)"");
20991}
c370783e 20992static PyObject *_wrap_new_ToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20993 PyObject *resultobj;
20994 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17 20995 int arg2 = (int) -1 ;
d55e5bfc
RD
20996 wxPoint const &arg3_defvalue = wxDefaultPosition ;
20997 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
20998 wxSize const &arg4_defvalue = wxDefaultSize ;
20999 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21000 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
21001 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
21002 wxString *arg6 = (wxString *) &arg6_defvalue ;
21003 wxToolBar *result;
21004 wxPoint temp3 ;
21005 wxSize temp4 ;
b411df4a 21006 bool temp6 = false ;
d55e5bfc
RD
21007 PyObject * obj0 = 0 ;
21008 PyObject * obj1 = 0 ;
21009 PyObject * obj2 = 0 ;
21010 PyObject * obj3 = 0 ;
21011 PyObject * obj4 = 0 ;
21012 PyObject * obj5 = 0 ;
21013 char *kwnames[] = {
21014 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21015 };
21016
bfddbb17 21017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ToolBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
21018 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
21019 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 21020 if (obj1) {
36ed4f51
RD
21021 {
21022 arg2 = (int)(SWIG_As_int(obj1));
21023 if (SWIG_arg_fail(2)) SWIG_fail;
21024 }
bfddbb17 21025 }
d55e5bfc
RD
21026 if (obj2) {
21027 {
21028 arg3 = &temp3;
21029 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21030 }
21031 }
21032 if (obj3) {
21033 {
21034 arg4 = &temp4;
21035 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21036 }
21037 }
21038 if (obj4) {
36ed4f51
RD
21039 {
21040 arg5 = (long)(SWIG_As_long(obj4));
21041 if (SWIG_arg_fail(5)) SWIG_fail;
21042 }
d55e5bfc
RD
21043 }
21044 if (obj5) {
21045 {
21046 arg6 = wxString_in_helper(obj5);
21047 if (arg6 == NULL) SWIG_fail;
b411df4a 21048 temp6 = true;
d55e5bfc
RD
21049 }
21050 }
21051 {
0439c23b 21052 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
21053 PyThreadState* __tstate = wxPyBeginAllowThreads();
21054 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21055
21056 wxPyEndAllowThreads(__tstate);
110da5b0 21057 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 21058 }
b0f7404b 21059 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolBar, 1);
d55e5bfc
RD
21060 {
21061 if (temp6)
21062 delete arg6;
21063 }
21064 return resultobj;
21065 fail:
21066 {
21067 if (temp6)
21068 delete arg6;
21069 }
21070 return NULL;
21071}
21072
21073
c370783e 21074static PyObject *_wrap_new_PreToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21075 PyObject *resultobj;
21076 wxToolBar *result;
21077 char *kwnames[] = {
21078 NULL
21079 };
21080
21081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolBar",kwnames)) goto fail;
21082 {
0439c23b 21083 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
21084 PyThreadState* __tstate = wxPyBeginAllowThreads();
21085 result = (wxToolBar *)new wxToolBar();
21086
21087 wxPyEndAllowThreads(__tstate);
110da5b0 21088 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 21089 }
b0f7404b 21090 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolBar, 1);
d55e5bfc
RD
21091 return resultobj;
21092 fail:
21093 return NULL;
21094}
21095
21096
c370783e 21097static PyObject *_wrap_ToolBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21098 PyObject *resultobj;
21099 wxToolBar *arg1 = (wxToolBar *) 0 ;
21100 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17 21101 int arg3 = (int) -1 ;
d55e5bfc
RD
21102 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21103 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21104 wxSize const &arg5_defvalue = wxDefaultSize ;
21105 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21106 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
21107 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
21108 wxString *arg7 = (wxString *) &arg7_defvalue ;
21109 bool result;
21110 wxPoint temp4 ;
21111 wxSize temp5 ;
b411df4a 21112 bool temp7 = false ;
d55e5bfc
RD
21113 PyObject * obj0 = 0 ;
21114 PyObject * obj1 = 0 ;
21115 PyObject * obj2 = 0 ;
21116 PyObject * obj3 = 0 ;
21117 PyObject * obj4 = 0 ;
21118 PyObject * obj5 = 0 ;
21119 PyObject * obj6 = 0 ;
21120 char *kwnames[] = {
21121 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21122 };
21123
bfddbb17 21124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ToolBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
21125 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0);
21126 if (SWIG_arg_fail(1)) SWIG_fail;
21127 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
21128 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 21129 if (obj2) {
36ed4f51
RD
21130 {
21131 arg3 = (int)(SWIG_As_int(obj2));
21132 if (SWIG_arg_fail(3)) SWIG_fail;
21133 }
bfddbb17 21134 }
d55e5bfc
RD
21135 if (obj3) {
21136 {
21137 arg4 = &temp4;
21138 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21139 }
21140 }
21141 if (obj4) {
21142 {
21143 arg5 = &temp5;
21144 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21145 }
21146 }
21147 if (obj5) {
36ed4f51
RD
21148 {
21149 arg6 = (long)(SWIG_As_long(obj5));
21150 if (SWIG_arg_fail(6)) SWIG_fail;
21151 }
d55e5bfc
RD
21152 }
21153 if (obj6) {
21154 {
21155 arg7 = wxString_in_helper(obj6);
21156 if (arg7 == NULL) SWIG_fail;
b411df4a 21157 temp7 = true;
d55e5bfc
RD
21158 }
21159 }
21160 {
21161 PyThreadState* __tstate = wxPyBeginAllowThreads();
21162 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21163
21164 wxPyEndAllowThreads(__tstate);
21165 if (PyErr_Occurred()) SWIG_fail;
21166 }
21167 {
21168 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21169 }
21170 {
21171 if (temp7)
21172 delete arg7;
21173 }
21174 return resultobj;
21175 fail:
21176 {
21177 if (temp7)
21178 delete arg7;
21179 }
21180 return NULL;
21181}
21182
21183
c370783e 21184static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21185 PyObject *resultobj;
21186 wxToolBar *arg1 = (wxToolBar *) 0 ;
21187 int arg2 ;
21188 int arg3 ;
21189 wxToolBarToolBase *result;
21190 PyObject * obj0 = 0 ;
21191 PyObject * obj1 = 0 ;
21192 PyObject * obj2 = 0 ;
21193 char *kwnames[] = {
21194 (char *) "self",(char *) "x",(char *) "y", NULL
21195 };
21196
21197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBar_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
21198 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0);
21199 if (SWIG_arg_fail(1)) SWIG_fail;
21200 {
21201 arg2 = (int)(SWIG_As_int(obj1));
21202 if (SWIG_arg_fail(2)) SWIG_fail;
21203 }
21204 {
21205 arg3 = (int)(SWIG_As_int(obj2));
21206 if (SWIG_arg_fail(3)) SWIG_fail;
21207 }
d55e5bfc
RD
21208 {
21209 PyThreadState* __tstate = wxPyBeginAllowThreads();
21210 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
21211
21212 wxPyEndAllowThreads(__tstate);
21213 if (PyErr_Occurred()) SWIG_fail;
21214 }
21215 {
412d302d 21216 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
21217 }
21218 return resultobj;
21219 fail:
21220 return NULL;
21221}
21222
21223
c370783e 21224static PyObject *_wrap_ToolBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 21225 PyObject *resultobj;
36ed4f51 21226 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
21227 wxVisualAttributes result;
21228 PyObject * obj0 = 0 ;
21229 char *kwnames[] = {
21230 (char *) "variant", NULL
21231 };
21232
21233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
21234 if (obj0) {
36ed4f51
RD
21235 {
21236 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
21237 if (SWIG_arg_fail(1)) SWIG_fail;
21238 }
f20a2e1f
RD
21239 }
21240 {
0439c23b 21241 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
21242 PyThreadState* __tstate = wxPyBeginAllowThreads();
21243 result = wxToolBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
21244
21245 wxPyEndAllowThreads(__tstate);
110da5b0 21246 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
21247 }
21248 {
21249 wxVisualAttributes * resultptr;
36ed4f51 21250 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
21251 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
21252 }
21253 return resultobj;
21254 fail:
21255 return NULL;
21256}
21257
21258
c370783e 21259static PyObject * ToolBar_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
21260 PyObject *obj;
21261 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21262 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar, obj);
21263 Py_INCREF(obj);
21264 return Py_BuildValue((char *)"");
21265}
c370783e 21266static int _wrap_ListCtrlNameStr_set(PyObject *) {
d55e5bfc
RD
21267 PyErr_SetString(PyExc_TypeError,"Variable ListCtrlNameStr is read-only.");
21268 return 1;
21269}
21270
21271
36ed4f51 21272static PyObject *_wrap_ListCtrlNameStr_get(void) {
d55e5bfc
RD
21273 PyObject *pyobj;
21274
21275 {
21276#if wxUSE_UNICODE
21277 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
21278#else
21279 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
21280#endif
21281 }
21282 return pyobj;
21283}
21284
21285
c370783e 21286static PyObject *_wrap_new_ListItemAttr(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21287 PyObject *resultobj;
21288 wxColour const &arg1_defvalue = wxNullColour ;
21289 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
21290 wxColour const &arg2_defvalue = wxNullColour ;
21291 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
21292 wxFont const &arg3_defvalue = wxNullFont ;
21293 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
21294 wxListItemAttr *result;
21295 wxColour temp1 ;
21296 wxColour temp2 ;
21297 PyObject * obj0 = 0 ;
21298 PyObject * obj1 = 0 ;
21299 PyObject * obj2 = 0 ;
21300 char *kwnames[] = {
21301 (char *) "colText",(char *) "colBack",(char *) "font", NULL
21302 };
21303
21304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
21305 if (obj0) {
21306 {
21307 arg1 = &temp1;
21308 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
21309 }
21310 }
21311 if (obj1) {
21312 {
21313 arg2 = &temp2;
21314 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21315 }
21316 }
21317 if (obj2) {
36ed4f51
RD
21318 {
21319 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
21320 if (SWIG_arg_fail(3)) SWIG_fail;
21321 if (arg3 == NULL) {
21322 SWIG_null_ref("wxFont");
21323 }
21324 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
21325 }
21326 }
21327 {
21328 PyThreadState* __tstate = wxPyBeginAllowThreads();
21329 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
21330
21331 wxPyEndAllowThreads(__tstate);
21332 if (PyErr_Occurred()) SWIG_fail;
21333 }
21334 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 1);
21335 return resultobj;
21336 fail:
21337 return NULL;
21338}
21339
21340
c370783e 21341static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21342 PyObject *resultobj;
21343 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21344 wxColour *arg2 = 0 ;
21345 wxColour temp2 ;
21346 PyObject * obj0 = 0 ;
21347 PyObject * obj1 = 0 ;
21348 char *kwnames[] = {
21349 (char *) "self",(char *) "colText", NULL
21350 };
21351
21352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21353 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21354 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21355 {
21356 arg2 = &temp2;
21357 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21358 }
21359 {
21360 PyThreadState* __tstate = wxPyBeginAllowThreads();
21361 (arg1)->SetTextColour((wxColour const &)*arg2);
21362
21363 wxPyEndAllowThreads(__tstate);
21364 if (PyErr_Occurred()) SWIG_fail;
21365 }
21366 Py_INCREF(Py_None); resultobj = Py_None;
21367 return resultobj;
21368 fail:
21369 return NULL;
21370}
21371
21372
c370783e 21373static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21374 PyObject *resultobj;
21375 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21376 wxColour *arg2 = 0 ;
21377 wxColour temp2 ;
21378 PyObject * obj0 = 0 ;
21379 PyObject * obj1 = 0 ;
21380 char *kwnames[] = {
21381 (char *) "self",(char *) "colBack", NULL
21382 };
21383
21384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21385 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21386 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21387 {
21388 arg2 = &temp2;
21389 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21390 }
21391 {
21392 PyThreadState* __tstate = wxPyBeginAllowThreads();
21393 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
21394
21395 wxPyEndAllowThreads(__tstate);
21396 if (PyErr_Occurred()) SWIG_fail;
21397 }
21398 Py_INCREF(Py_None); resultobj = Py_None;
21399 return resultobj;
21400 fail:
21401 return NULL;
21402}
21403
21404
c370783e 21405static PyObject *_wrap_ListItemAttr_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21406 PyObject *resultobj;
21407 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21408 wxFont *arg2 = 0 ;
21409 PyObject * obj0 = 0 ;
21410 PyObject * obj1 = 0 ;
21411 char *kwnames[] = {
21412 (char *) "self",(char *) "font", NULL
21413 };
21414
21415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21416 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21417 if (SWIG_arg_fail(1)) SWIG_fail;
21418 {
21419 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
21420 if (SWIG_arg_fail(2)) SWIG_fail;
21421 if (arg2 == NULL) {
21422 SWIG_null_ref("wxFont");
21423 }
21424 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
21425 }
21426 {
21427 PyThreadState* __tstate = wxPyBeginAllowThreads();
21428 (arg1)->SetFont((wxFont const &)*arg2);
21429
21430 wxPyEndAllowThreads(__tstate);
21431 if (PyErr_Occurred()) SWIG_fail;
21432 }
21433 Py_INCREF(Py_None); resultobj = Py_None;
21434 return resultobj;
21435 fail:
21436 return NULL;
21437}
21438
21439
c370783e 21440static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21441 PyObject *resultobj;
21442 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21443 bool result;
21444 PyObject * obj0 = 0 ;
21445 char *kwnames[] = {
21446 (char *) "self", NULL
21447 };
21448
21449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasTextColour",kwnames,&obj0)) goto fail;
36ed4f51
RD
21450 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21451 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21452 {
21453 PyThreadState* __tstate = wxPyBeginAllowThreads();
21454 result = (bool)(arg1)->HasTextColour();
21455
21456 wxPyEndAllowThreads(__tstate);
21457 if (PyErr_Occurred()) SWIG_fail;
21458 }
21459 {
21460 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21461 }
21462 return resultobj;
21463 fail:
21464 return NULL;
21465}
21466
21467
c370783e 21468static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21469 PyObject *resultobj;
21470 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21471 bool result;
21472 PyObject * obj0 = 0 ;
21473 char *kwnames[] = {
21474 (char *) "self", NULL
21475 };
21476
21477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
36ed4f51
RD
21478 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21479 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21480 {
21481 PyThreadState* __tstate = wxPyBeginAllowThreads();
21482 result = (bool)(arg1)->HasBackgroundColour();
21483
21484 wxPyEndAllowThreads(__tstate);
21485 if (PyErr_Occurred()) SWIG_fail;
21486 }
21487 {
21488 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21489 }
21490 return resultobj;
21491 fail:
21492 return NULL;
21493}
21494
21495
c370783e 21496static PyObject *_wrap_ListItemAttr_HasFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21497 PyObject *resultobj;
21498 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21499 bool result;
21500 PyObject * obj0 = 0 ;
21501 char *kwnames[] = {
21502 (char *) "self", NULL
21503 };
21504
21505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasFont",kwnames,&obj0)) goto fail;
36ed4f51
RD
21506 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21507 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21508 {
21509 PyThreadState* __tstate = wxPyBeginAllowThreads();
21510 result = (bool)(arg1)->HasFont();
21511
21512 wxPyEndAllowThreads(__tstate);
21513 if (PyErr_Occurred()) SWIG_fail;
21514 }
21515 {
21516 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21517 }
21518 return resultobj;
21519 fail:
21520 return NULL;
21521}
21522
21523
c370783e 21524static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21525 PyObject *resultobj;
21526 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21527 wxColour result;
21528 PyObject * obj0 = 0 ;
21529 char *kwnames[] = {
21530 (char *) "self", NULL
21531 };
21532
21533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetTextColour",kwnames,&obj0)) goto fail;
36ed4f51
RD
21534 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21535 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21536 {
21537 PyThreadState* __tstate = wxPyBeginAllowThreads();
21538 result = (arg1)->GetTextColour();
21539
21540 wxPyEndAllowThreads(__tstate);
21541 if (PyErr_Occurred()) SWIG_fail;
21542 }
21543 {
21544 wxColour * resultptr;
36ed4f51 21545 resultptr = new wxColour((wxColour &)(result));
d55e5bfc
RD
21546 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
21547 }
21548 return resultobj;
21549 fail:
21550 return NULL;
21551}
21552
21553
c370783e 21554static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21555 PyObject *resultobj;
21556 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21557 wxColour result;
21558 PyObject * obj0 = 0 ;
21559 char *kwnames[] = {
21560 (char *) "self", NULL
21561 };
21562
21563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
36ed4f51
RD
21564 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21565 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21566 {
21567 PyThreadState* __tstate = wxPyBeginAllowThreads();
21568 result = (arg1)->GetBackgroundColour();
21569
21570 wxPyEndAllowThreads(__tstate);
21571 if (PyErr_Occurred()) SWIG_fail;
21572 }
21573 {
21574 wxColour * resultptr;
36ed4f51 21575 resultptr = new wxColour((wxColour &)(result));
d55e5bfc
RD
21576 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
21577 }
21578 return resultobj;
21579 fail:
21580 return NULL;
21581}
21582
21583
c370783e 21584static PyObject *_wrap_ListItemAttr_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21585 PyObject *resultobj;
21586 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21587 wxFont result;
21588 PyObject * obj0 = 0 ;
21589 char *kwnames[] = {
21590 (char *) "self", NULL
21591 };
21592
21593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetFont",kwnames,&obj0)) goto fail;
36ed4f51
RD
21594 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21595 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21596 {
21597 PyThreadState* __tstate = wxPyBeginAllowThreads();
21598 result = (arg1)->GetFont();
21599
21600 wxPyEndAllowThreads(__tstate);
21601 if (PyErr_Occurred()) SWIG_fail;
21602 }
21603 {
21604 wxFont * resultptr;
36ed4f51 21605 resultptr = new wxFont((wxFont &)(result));
d55e5bfc
RD
21606 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
21607 }
21608 return resultobj;
21609 fail:
21610 return NULL;
21611}
21612
21613
c370783e 21614static PyObject *_wrap_ListItemAttr_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21615 PyObject *resultobj;
21616 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21617 PyObject * obj0 = 0 ;
21618 char *kwnames[] = {
21619 (char *) "self", NULL
21620 };
21621
21622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_Destroy",kwnames,&obj0)) goto fail;
36ed4f51
RD
21623 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21624 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21625 {
21626 PyThreadState* __tstate = wxPyBeginAllowThreads();
21627 wxListItemAttr_Destroy(arg1);
21628
21629 wxPyEndAllowThreads(__tstate);
21630 if (PyErr_Occurred()) SWIG_fail;
21631 }
21632 Py_INCREF(Py_None); resultobj = Py_None;
21633 return resultobj;
21634 fail:
21635 return NULL;
21636}
21637
21638
c370783e 21639static PyObject * ListItemAttr_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
21640 PyObject *obj;
21641 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21642 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr, obj);
21643 Py_INCREF(obj);
21644 return Py_BuildValue((char *)"");
21645}
c370783e 21646static PyObject *_wrap_new_ListItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21647 PyObject *resultobj;
21648 wxListItem *result;
21649 char *kwnames[] = {
21650 NULL
21651 };
21652
21653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ListItem",kwnames)) goto fail;
21654 {
21655 PyThreadState* __tstate = wxPyBeginAllowThreads();
21656 result = (wxListItem *)new wxListItem();
21657
21658 wxPyEndAllowThreads(__tstate);
21659 if (PyErr_Occurred()) SWIG_fail;
21660 }
21661 {
412d302d 21662 resultobj = wxPyMake_wxObject(result, 1);
d55e5bfc
RD
21663 }
21664 return resultobj;
21665 fail:
21666 return NULL;
21667}
21668
21669
c370783e 21670static PyObject *_wrap_delete_ListItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21671 PyObject *resultobj;
21672 wxListItem *arg1 = (wxListItem *) 0 ;
21673 PyObject * obj0 = 0 ;
21674 char *kwnames[] = {
21675 (char *) "self", NULL
21676 };
21677
21678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItem",kwnames,&obj0)) goto fail;
36ed4f51
RD
21679 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21680 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21681 {
21682 PyThreadState* __tstate = wxPyBeginAllowThreads();
21683 delete arg1;
21684
21685 wxPyEndAllowThreads(__tstate);
21686 if (PyErr_Occurred()) SWIG_fail;
21687 }
21688 Py_INCREF(Py_None); resultobj = Py_None;
21689 return resultobj;
21690 fail:
21691 return NULL;
21692}
21693
21694
c370783e 21695static PyObject *_wrap_ListItem_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21696 PyObject *resultobj;
21697 wxListItem *arg1 = (wxListItem *) 0 ;
21698 PyObject * obj0 = 0 ;
21699 char *kwnames[] = {
21700 (char *) "self", NULL
21701 };
21702
21703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_Clear",kwnames,&obj0)) goto fail;
36ed4f51
RD
21704 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21705 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21706 {
21707 PyThreadState* __tstate = wxPyBeginAllowThreads();
21708 (arg1)->Clear();
21709
21710 wxPyEndAllowThreads(__tstate);
21711 if (PyErr_Occurred()) SWIG_fail;
21712 }
21713 Py_INCREF(Py_None); resultobj = Py_None;
21714 return resultobj;
21715 fail:
21716 return NULL;
21717}
21718
21719
c370783e 21720static PyObject *_wrap_ListItem_ClearAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21721 PyObject *resultobj;
21722 wxListItem *arg1 = (wxListItem *) 0 ;
21723 PyObject * obj0 = 0 ;
21724 char *kwnames[] = {
21725 (char *) "self", NULL
21726 };
21727
21728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_ClearAttributes",kwnames,&obj0)) goto fail;
36ed4f51
RD
21729 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21730 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21731 {
21732 PyThreadState* __tstate = wxPyBeginAllowThreads();
21733 (arg1)->ClearAttributes();
21734
21735 wxPyEndAllowThreads(__tstate);
21736 if (PyErr_Occurred()) SWIG_fail;
21737 }
21738 Py_INCREF(Py_None); resultobj = Py_None;
21739 return resultobj;
21740 fail:
21741 return NULL;
21742}
21743
21744
c370783e 21745static PyObject *_wrap_ListItem_SetMask(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21746 PyObject *resultobj;
21747 wxListItem *arg1 = (wxListItem *) 0 ;
21748 long arg2 ;
21749 PyObject * obj0 = 0 ;
21750 PyObject * obj1 = 0 ;
21751 char *kwnames[] = {
21752 (char *) "self",(char *) "mask", NULL
21753 };
21754
21755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetMask",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21756 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21757 if (SWIG_arg_fail(1)) SWIG_fail;
21758 {
21759 arg2 = (long)(SWIG_As_long(obj1));
21760 if (SWIG_arg_fail(2)) SWIG_fail;
21761 }
d55e5bfc
RD
21762 {
21763 PyThreadState* __tstate = wxPyBeginAllowThreads();
21764 (arg1)->SetMask(arg2);
21765
21766 wxPyEndAllowThreads(__tstate);
21767 if (PyErr_Occurred()) SWIG_fail;
21768 }
21769 Py_INCREF(Py_None); resultobj = Py_None;
21770 return resultobj;
21771 fail:
21772 return NULL;
21773}
21774
21775
c370783e 21776static PyObject *_wrap_ListItem_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21777 PyObject *resultobj;
21778 wxListItem *arg1 = (wxListItem *) 0 ;
21779 long arg2 ;
21780 PyObject * obj0 = 0 ;
21781 PyObject * obj1 = 0 ;
21782 char *kwnames[] = {
21783 (char *) "self",(char *) "id", NULL
21784 };
21785
21786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetId",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21787 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21788 if (SWIG_arg_fail(1)) SWIG_fail;
21789 {
21790 arg2 = (long)(SWIG_As_long(obj1));
21791 if (SWIG_arg_fail(2)) SWIG_fail;
21792 }
d55e5bfc
RD
21793 {
21794 PyThreadState* __tstate = wxPyBeginAllowThreads();
21795 (arg1)->SetId(arg2);
21796
21797 wxPyEndAllowThreads(__tstate);
21798 if (PyErr_Occurred()) SWIG_fail;
21799 }
21800 Py_INCREF(Py_None); resultobj = Py_None;
21801 return resultobj;
21802 fail:
21803 return NULL;
21804}
21805
21806
c370783e 21807static PyObject *_wrap_ListItem_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21808 PyObject *resultobj;
21809 wxListItem *arg1 = (wxListItem *) 0 ;
21810 int arg2 ;
21811 PyObject * obj0 = 0 ;
21812 PyObject * obj1 = 0 ;
21813 char *kwnames[] = {
21814 (char *) "self",(char *) "col", NULL
21815 };
21816
21817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetColumn",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21818 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21819 if (SWIG_arg_fail(1)) SWIG_fail;
21820 {
21821 arg2 = (int)(SWIG_As_int(obj1));
21822 if (SWIG_arg_fail(2)) SWIG_fail;
21823 }
d55e5bfc
RD
21824 {
21825 PyThreadState* __tstate = wxPyBeginAllowThreads();
21826 (arg1)->SetColumn(arg2);
21827
21828 wxPyEndAllowThreads(__tstate);
21829 if (PyErr_Occurred()) SWIG_fail;
21830 }
21831 Py_INCREF(Py_None); resultobj = Py_None;
21832 return resultobj;
21833 fail:
21834 return NULL;
21835}
21836
21837
c370783e 21838static PyObject *_wrap_ListItem_SetState(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21839 PyObject *resultobj;
21840 wxListItem *arg1 = (wxListItem *) 0 ;
21841 long arg2 ;
21842 PyObject * obj0 = 0 ;
21843 PyObject * obj1 = 0 ;
21844 char *kwnames[] = {
21845 (char *) "self",(char *) "state", NULL
21846 };
21847
21848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetState",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21849 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21850 if (SWIG_arg_fail(1)) SWIG_fail;
21851 {
21852 arg2 = (long)(SWIG_As_long(obj1));
21853 if (SWIG_arg_fail(2)) SWIG_fail;
21854 }
d55e5bfc
RD
21855 {
21856 PyThreadState* __tstate = wxPyBeginAllowThreads();
21857 (arg1)->SetState(arg2);
21858
21859 wxPyEndAllowThreads(__tstate);
21860 if (PyErr_Occurred()) SWIG_fail;
21861 }
21862 Py_INCREF(Py_None); resultobj = Py_None;
21863 return resultobj;
21864 fail:
21865 return NULL;
21866}
21867
21868
c370783e 21869static PyObject *_wrap_ListItem_SetStateMask(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21870 PyObject *resultobj;
21871 wxListItem *arg1 = (wxListItem *) 0 ;
21872 long arg2 ;
21873 PyObject * obj0 = 0 ;
21874 PyObject * obj1 = 0 ;
21875 char *kwnames[] = {
21876 (char *) "self",(char *) "stateMask", NULL
21877 };
21878
21879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetStateMask",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21880 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21881 if (SWIG_arg_fail(1)) SWIG_fail;
21882 {
21883 arg2 = (long)(SWIG_As_long(obj1));
21884 if (SWIG_arg_fail(2)) SWIG_fail;
21885 }
d55e5bfc
RD
21886 {
21887 PyThreadState* __tstate = wxPyBeginAllowThreads();
21888 (arg1)->SetStateMask(arg2);
21889
21890 wxPyEndAllowThreads(__tstate);
21891 if (PyErr_Occurred()) SWIG_fail;
21892 }
21893 Py_INCREF(Py_None); resultobj = Py_None;
21894 return resultobj;
21895 fail:
21896 return NULL;
21897}
21898
21899
c370783e 21900static PyObject *_wrap_ListItem_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21901 PyObject *resultobj;
21902 wxListItem *arg1 = (wxListItem *) 0 ;
21903 wxString *arg2 = 0 ;
b411df4a 21904 bool temp2 = false ;
d55e5bfc
RD
21905 PyObject * obj0 = 0 ;
21906 PyObject * obj1 = 0 ;
21907 char *kwnames[] = {
21908 (char *) "self",(char *) "text", NULL
21909 };
21910
21911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21912 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21913 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21914 {
21915 arg2 = wxString_in_helper(obj1);
21916 if (arg2 == NULL) SWIG_fail;
b411df4a 21917 temp2 = true;
d55e5bfc
RD
21918 }
21919 {
21920 PyThreadState* __tstate = wxPyBeginAllowThreads();
21921 (arg1)->SetText((wxString const &)*arg2);
21922
21923 wxPyEndAllowThreads(__tstate);
21924 if (PyErr_Occurred()) SWIG_fail;
21925 }
21926 Py_INCREF(Py_None); resultobj = Py_None;
21927 {
21928 if (temp2)
21929 delete arg2;
21930 }
21931 return resultobj;
21932 fail:
21933 {
21934 if (temp2)
21935 delete arg2;
21936 }
21937 return NULL;
21938}
21939
21940
c370783e 21941static PyObject *_wrap_ListItem_SetImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21942 PyObject *resultobj;
21943 wxListItem *arg1 = (wxListItem *) 0 ;
21944 int arg2 ;
21945 PyObject * obj0 = 0 ;
21946 PyObject * obj1 = 0 ;
21947 char *kwnames[] = {
21948 (char *) "self",(char *) "image", NULL
21949 };
21950
21951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetImage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21952 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21953 if (SWIG_arg_fail(1)) SWIG_fail;
21954 {
21955 arg2 = (int)(SWIG_As_int(obj1));
21956 if (SWIG_arg_fail(2)) SWIG_fail;
21957 }
d55e5bfc
RD
21958 {
21959 PyThreadState* __tstate = wxPyBeginAllowThreads();
21960 (arg1)->SetImage(arg2);
21961
21962 wxPyEndAllowThreads(__tstate);
21963 if (PyErr_Occurred()) SWIG_fail;
21964 }
21965 Py_INCREF(Py_None); resultobj = Py_None;
21966 return resultobj;
21967 fail:
21968 return NULL;
21969}
21970
21971
c370783e 21972static PyObject *_wrap_ListItem_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21973 PyObject *resultobj;
21974 wxListItem *arg1 = (wxListItem *) 0 ;
21975 long arg2 ;
21976 PyObject * obj0 = 0 ;
21977 PyObject * obj1 = 0 ;
21978 char *kwnames[] = {
21979 (char *) "self",(char *) "data", NULL
21980 };
21981
21982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetData",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21983 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21984 if (SWIG_arg_fail(1)) SWIG_fail;
21985 {
21986 arg2 = (long)(SWIG_As_long(obj1));
21987 if (SWIG_arg_fail(2)) SWIG_fail;
21988 }
d55e5bfc
RD
21989 {
21990 PyThreadState* __tstate = wxPyBeginAllowThreads();
21991 (arg1)->SetData(arg2);
21992
21993 wxPyEndAllowThreads(__tstate);
21994 if (PyErr_Occurred()) SWIG_fail;
21995 }
21996 Py_INCREF(Py_None); resultobj = Py_None;
21997 return resultobj;
21998 fail:
21999 return NULL;
22000}
22001
22002
c370783e 22003static PyObject *_wrap_ListItem_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22004 PyObject *resultobj;
22005 wxListItem *arg1 = (wxListItem *) 0 ;
22006 int arg2 ;
22007 PyObject * obj0 = 0 ;
22008 PyObject * obj1 = 0 ;
22009 char *kwnames[] = {
22010 (char *) "self",(char *) "width", NULL
22011 };
22012
22013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetWidth",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22014 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22015 if (SWIG_arg_fail(1)) SWIG_fail;
22016 {
22017 arg2 = (int)(SWIG_As_int(obj1));
22018 if (SWIG_arg_fail(2)) SWIG_fail;
22019 }
d55e5bfc
RD
22020 {
22021 PyThreadState* __tstate = wxPyBeginAllowThreads();
22022 (arg1)->SetWidth(arg2);
22023
22024 wxPyEndAllowThreads(__tstate);
22025 if (PyErr_Occurred()) SWIG_fail;
22026 }
22027 Py_INCREF(Py_None); resultobj = Py_None;
22028 return resultobj;
22029 fail:
22030 return NULL;
22031}
22032
22033
c370783e 22034static PyObject *_wrap_ListItem_SetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22035 PyObject *resultobj;
22036 wxListItem *arg1 = (wxListItem *) 0 ;
36ed4f51 22037 wxListColumnFormat arg2 ;
d55e5bfc
RD
22038 PyObject * obj0 = 0 ;
22039 PyObject * obj1 = 0 ;
22040 char *kwnames[] = {
22041 (char *) "self",(char *) "align", NULL
22042 };
22043
22044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetAlign",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22045 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22046 if (SWIG_arg_fail(1)) SWIG_fail;
22047 {
22048 arg2 = (wxListColumnFormat)(SWIG_As_int(obj1));
22049 if (SWIG_arg_fail(2)) SWIG_fail;
22050 }
d55e5bfc
RD
22051 {
22052 PyThreadState* __tstate = wxPyBeginAllowThreads();
22053 (arg1)->SetAlign((wxListColumnFormat )arg2);
22054
22055 wxPyEndAllowThreads(__tstate);
22056 if (PyErr_Occurred()) SWIG_fail;
22057 }
22058 Py_INCREF(Py_None); resultobj = Py_None;
22059 return resultobj;
22060 fail:
22061 return NULL;
22062}
22063
22064
c370783e 22065static PyObject *_wrap_ListItem_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22066 PyObject *resultobj;
22067 wxListItem *arg1 = (wxListItem *) 0 ;
22068 wxColour *arg2 = 0 ;
22069 wxColour temp2 ;
22070 PyObject * obj0 = 0 ;
22071 PyObject * obj1 = 0 ;
22072 char *kwnames[] = {
22073 (char *) "self",(char *) "colText", NULL
22074 };
22075
22076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22077 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22078 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22079 {
22080 arg2 = &temp2;
22081 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22082 }
22083 {
22084 PyThreadState* __tstate = wxPyBeginAllowThreads();
22085 (arg1)->SetTextColour((wxColour const &)*arg2);
22086
22087 wxPyEndAllowThreads(__tstate);
22088 if (PyErr_Occurred()) SWIG_fail;
22089 }
22090 Py_INCREF(Py_None); resultobj = Py_None;
22091 return resultobj;
22092 fail:
22093 return NULL;
22094}
22095
22096
c370783e 22097static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22098 PyObject *resultobj;
22099 wxListItem *arg1 = (wxListItem *) 0 ;
22100 wxColour *arg2 = 0 ;
22101 wxColour temp2 ;
22102 PyObject * obj0 = 0 ;
22103 PyObject * obj1 = 0 ;
22104 char *kwnames[] = {
22105 (char *) "self",(char *) "colBack", NULL
22106 };
22107
22108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22109 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22110 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22111 {
22112 arg2 = &temp2;
22113 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22114 }
22115 {
22116 PyThreadState* __tstate = wxPyBeginAllowThreads();
22117 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
22118
22119 wxPyEndAllowThreads(__tstate);
22120 if (PyErr_Occurred()) SWIG_fail;
22121 }
22122 Py_INCREF(Py_None); resultobj = Py_None;
22123 return resultobj;
22124 fail:
22125 return NULL;
22126}
22127
22128
c370783e 22129static PyObject *_wrap_ListItem_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22130 PyObject *resultobj;
22131 wxListItem *arg1 = (wxListItem *) 0 ;
22132 wxFont *arg2 = 0 ;
22133 PyObject * obj0 = 0 ;
22134 PyObject * obj1 = 0 ;
22135 char *kwnames[] = {
22136 (char *) "self",(char *) "font", NULL
22137 };
22138
22139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22140 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22141 if (SWIG_arg_fail(1)) SWIG_fail;
22142 {
22143 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
22144 if (SWIG_arg_fail(2)) SWIG_fail;
22145 if (arg2 == NULL) {
22146 SWIG_null_ref("wxFont");
22147 }
22148 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
22149 }
22150 {
22151 PyThreadState* __tstate = wxPyBeginAllowThreads();
22152 (arg1)->SetFont((wxFont const &)*arg2);
22153
22154 wxPyEndAllowThreads(__tstate);
22155 if (PyErr_Occurred()) SWIG_fail;
22156 }
22157 Py_INCREF(Py_None); resultobj = Py_None;
22158 return resultobj;
22159 fail:
22160 return NULL;
22161}
22162
22163
c370783e 22164static PyObject *_wrap_ListItem_GetMask(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22165 PyObject *resultobj;
22166 wxListItem *arg1 = (wxListItem *) 0 ;
22167 long result;
22168 PyObject * obj0 = 0 ;
22169 char *kwnames[] = {
22170 (char *) "self", NULL
22171 };
22172
22173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetMask",kwnames,&obj0)) goto fail;
36ed4f51
RD
22174 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22175 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22176 {
22177 PyThreadState* __tstate = wxPyBeginAllowThreads();
22178 result = (long)(arg1)->GetMask();
22179
22180 wxPyEndAllowThreads(__tstate);
22181 if (PyErr_Occurred()) SWIG_fail;
22182 }
36ed4f51
RD
22183 {
22184 resultobj = SWIG_From_long((long)(result));
22185 }
d55e5bfc
RD
22186 return resultobj;
22187 fail:
22188 return NULL;
22189}
22190
22191
c370783e 22192static PyObject *_wrap_ListItem_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22193 PyObject *resultobj;
22194 wxListItem *arg1 = (wxListItem *) 0 ;
22195 long result;
22196 PyObject * obj0 = 0 ;
22197 char *kwnames[] = {
22198 (char *) "self", NULL
22199 };
22200
22201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetId",kwnames,&obj0)) goto fail;
36ed4f51
RD
22202 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22203 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22204 {
22205 PyThreadState* __tstate = wxPyBeginAllowThreads();
22206 result = (long)(arg1)->GetId();
22207
22208 wxPyEndAllowThreads(__tstate);
22209 if (PyErr_Occurred()) SWIG_fail;
22210 }
36ed4f51
RD
22211 {
22212 resultobj = SWIG_From_long((long)(result));
22213 }
d55e5bfc
RD
22214 return resultobj;
22215 fail:
22216 return NULL;
22217}
22218
22219
c370783e 22220static PyObject *_wrap_ListItem_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22221 PyObject *resultobj;
22222 wxListItem *arg1 = (wxListItem *) 0 ;
22223 int result;
22224 PyObject * obj0 = 0 ;
22225 char *kwnames[] = {
22226 (char *) "self", NULL
22227 };
22228
22229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetColumn",kwnames,&obj0)) goto fail;
36ed4f51
RD
22230 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22231 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22232 {
22233 PyThreadState* __tstate = wxPyBeginAllowThreads();
22234 result = (int)(arg1)->GetColumn();
22235
22236 wxPyEndAllowThreads(__tstate);
22237 if (PyErr_Occurred()) SWIG_fail;
22238 }
36ed4f51
RD
22239 {
22240 resultobj = SWIG_From_int((int)(result));
22241 }
d55e5bfc
RD
22242 return resultobj;
22243 fail:
22244 return NULL;
22245}
22246
22247
c370783e 22248static PyObject *_wrap_ListItem_GetState(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22249 PyObject *resultobj;
22250 wxListItem *arg1 = (wxListItem *) 0 ;
22251 long result;
22252 PyObject * obj0 = 0 ;
22253 char *kwnames[] = {
22254 (char *) "self", NULL
22255 };
22256
22257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetState",kwnames,&obj0)) goto fail;
36ed4f51
RD
22258 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22259 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22260 {
22261 PyThreadState* __tstate = wxPyBeginAllowThreads();
22262 result = (long)(arg1)->GetState();
22263
22264 wxPyEndAllowThreads(__tstate);
22265 if (PyErr_Occurred()) SWIG_fail;
22266 }
36ed4f51
RD
22267 {
22268 resultobj = SWIG_From_long((long)(result));
22269 }
d55e5bfc
RD
22270 return resultobj;
22271 fail:
22272 return NULL;
22273}
22274
22275
c370783e 22276static PyObject *_wrap_ListItem_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22277 PyObject *resultobj;
22278 wxListItem *arg1 = (wxListItem *) 0 ;
22279 wxString *result;
22280 PyObject * obj0 = 0 ;
22281 char *kwnames[] = {
22282 (char *) "self", NULL
22283 };
22284
22285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetText",kwnames,&obj0)) goto fail;
36ed4f51
RD
22286 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22287 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22288 {
22289 PyThreadState* __tstate = wxPyBeginAllowThreads();
22290 {
22291 wxString const &_result_ref = (arg1)->GetText();
22292 result = (wxString *) &_result_ref;
22293 }
22294
22295 wxPyEndAllowThreads(__tstate);
22296 if (PyErr_Occurred()) SWIG_fail;
22297 }
22298 {
22299#if wxUSE_UNICODE
22300 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
22301#else
22302 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
22303#endif
22304 }
22305 return resultobj;
22306 fail:
22307 return NULL;
22308}
22309
22310
c370783e 22311static PyObject *_wrap_ListItem_GetImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22312 PyObject *resultobj;
22313 wxListItem *arg1 = (wxListItem *) 0 ;
22314 int result;
22315 PyObject * obj0 = 0 ;
22316 char *kwnames[] = {
22317 (char *) "self", NULL
22318 };
22319
22320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetImage",kwnames,&obj0)) goto fail;
36ed4f51
RD
22321 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22322 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22323 {
22324 PyThreadState* __tstate = wxPyBeginAllowThreads();
22325 result = (int)(arg1)->GetImage();
22326
22327 wxPyEndAllowThreads(__tstate);
22328 if (PyErr_Occurred()) SWIG_fail;
22329 }
36ed4f51
RD
22330 {
22331 resultobj = SWIG_From_int((int)(result));
22332 }
d55e5bfc
RD
22333 return resultobj;
22334 fail:
22335 return NULL;
22336}
22337
22338
c370783e 22339static PyObject *_wrap_ListItem_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22340 PyObject *resultobj;
22341 wxListItem *arg1 = (wxListItem *) 0 ;
22342 long result;
22343 PyObject * obj0 = 0 ;
22344 char *kwnames[] = {
22345 (char *) "self", NULL
22346 };
22347
22348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetData",kwnames,&obj0)) goto fail;
36ed4f51
RD
22349 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22350 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22351 {
22352 PyThreadState* __tstate = wxPyBeginAllowThreads();
22353 result = (long)(arg1)->GetData();
22354
22355 wxPyEndAllowThreads(__tstate);
22356 if (PyErr_Occurred()) SWIG_fail;
22357 }
36ed4f51
RD
22358 {
22359 resultobj = SWIG_From_long((long)(result));
22360 }
d55e5bfc
RD
22361 return resultobj;
22362 fail:
22363 return NULL;
22364}
22365
22366
c370783e 22367static PyObject *_wrap_ListItem_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22368 PyObject *resultobj;
22369 wxListItem *arg1 = (wxListItem *) 0 ;
22370 int result;
22371 PyObject * obj0 = 0 ;
22372 char *kwnames[] = {
22373 (char *) "self", NULL
22374 };
22375
22376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetWidth",kwnames,&obj0)) goto fail;
36ed4f51
RD
22377 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22378 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22379 {
22380 PyThreadState* __tstate = wxPyBeginAllowThreads();
22381 result = (int)(arg1)->GetWidth();
22382
22383 wxPyEndAllowThreads(__tstate);
22384 if (PyErr_Occurred()) SWIG_fail;
22385 }
36ed4f51
RD
22386 {
22387 resultobj = SWIG_From_int((int)(result));
22388 }
d55e5bfc
RD
22389 return resultobj;
22390 fail:
22391 return NULL;
22392}
22393
22394
c370783e 22395static PyObject *_wrap_ListItem_GetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22396 PyObject *resultobj;
22397 wxListItem *arg1 = (wxListItem *) 0 ;
36ed4f51 22398 wxListColumnFormat result;
d55e5bfc
RD
22399 PyObject * obj0 = 0 ;
22400 char *kwnames[] = {
22401 (char *) "self", NULL
22402 };
22403
22404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAlign",kwnames,&obj0)) goto fail;
36ed4f51
RD
22405 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22406 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22407 {
22408 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 22409 result = (wxListColumnFormat)(arg1)->GetAlign();
d55e5bfc
RD
22410
22411 wxPyEndAllowThreads(__tstate);
22412 if (PyErr_Occurred()) SWIG_fail;
22413 }
36ed4f51 22414 resultobj = SWIG_From_int((result));
d55e5bfc
RD
22415 return resultobj;
22416 fail:
22417 return NULL;
22418}
22419
22420
c370783e 22421static PyObject *_wrap_ListItem_GetAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22422 PyObject *resultobj;
22423 wxListItem *arg1 = (wxListItem *) 0 ;
22424 wxListItemAttr *result;
22425 PyObject * obj0 = 0 ;
22426 char *kwnames[] = {
22427 (char *) "self", NULL
22428 };
22429
22430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAttributes",kwnames,&obj0)) goto fail;
36ed4f51
RD
22431 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22432 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22433 {
22434 PyThreadState* __tstate = wxPyBeginAllowThreads();
22435 result = (wxListItemAttr *)(arg1)->GetAttributes();
22436
22437 wxPyEndAllowThreads(__tstate);
22438 if (PyErr_Occurred()) SWIG_fail;
22439 }
22440 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 0);
22441 return resultobj;
22442 fail:
22443 return NULL;
22444}
22445
22446
c370783e 22447static PyObject *_wrap_ListItem_HasAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22448 PyObject *resultobj;
22449 wxListItem *arg1 = (wxListItem *) 0 ;
22450 bool result;
22451 PyObject * obj0 = 0 ;
22452 char *kwnames[] = {
22453 (char *) "self", NULL
22454 };
22455
22456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_HasAttributes",kwnames,&obj0)) goto fail;
36ed4f51
RD
22457 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22458 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22459 {
22460 PyThreadState* __tstate = wxPyBeginAllowThreads();
22461 result = (bool)(arg1)->HasAttributes();
22462
22463 wxPyEndAllowThreads(__tstate);
22464 if (PyErr_Occurred()) SWIG_fail;
22465 }
22466 {
22467 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22468 }
22469 return resultobj;
22470 fail:
22471 return NULL;
22472}
22473
22474
c370783e 22475static PyObject *_wrap_ListItem_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22476 PyObject *resultobj;
22477 wxListItem *arg1 = (wxListItem *) 0 ;
22478 wxColour result;
22479 PyObject * obj0 = 0 ;
22480 char *kwnames[] = {
22481 (char *) "self", NULL
22482 };
22483
22484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetTextColour",kwnames,&obj0)) goto fail;
36ed4f51
RD
22485 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22486 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22487 {
22488 PyThreadState* __tstate = wxPyBeginAllowThreads();
22489 result = ((wxListItem const *)arg1)->GetTextColour();
22490
22491 wxPyEndAllowThreads(__tstate);
22492 if (PyErr_Occurred()) SWIG_fail;
22493 }
22494 {
22495 wxColour * resultptr;
36ed4f51 22496 resultptr = new wxColour((wxColour &)(result));
d55e5bfc
RD
22497 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
22498 }
22499 return resultobj;
22500 fail:
22501 return NULL;
22502}
22503
22504
c370783e 22505static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22506 PyObject *resultobj;
22507 wxListItem *arg1 = (wxListItem *) 0 ;
22508 wxColour result;
22509 PyObject * obj0 = 0 ;
22510 char *kwnames[] = {
22511 (char *) "self", NULL
22512 };
22513
22514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
36ed4f51
RD
22515 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22516 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22517 {
22518 PyThreadState* __tstate = wxPyBeginAllowThreads();
22519 result = ((wxListItem const *)arg1)->GetBackgroundColour();
22520
22521 wxPyEndAllowThreads(__tstate);
22522 if (PyErr_Occurred()) SWIG_fail;
22523 }
22524 {
22525 wxColour * resultptr;
36ed4f51 22526 resultptr = new wxColour((wxColour &)(result));
d55e5bfc
RD
22527 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
22528 }
22529 return resultobj;
22530 fail:
22531 return NULL;
22532}
22533
22534
c370783e 22535static PyObject *_wrap_ListItem_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22536 PyObject *resultobj;
22537 wxListItem *arg1 = (wxListItem *) 0 ;
22538 wxFont result;
22539 PyObject * obj0 = 0 ;
22540 char *kwnames[] = {
22541 (char *) "self", NULL
22542 };
22543
22544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetFont",kwnames,&obj0)) goto fail;
36ed4f51
RD
22545 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22546 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22547 {
22548 PyThreadState* __tstate = wxPyBeginAllowThreads();
22549 result = ((wxListItem const *)arg1)->GetFont();
22550
22551 wxPyEndAllowThreads(__tstate);
22552 if (PyErr_Occurred()) SWIG_fail;
22553 }
22554 {
22555 wxFont * resultptr;
36ed4f51 22556 resultptr = new wxFont((wxFont &)(result));
d55e5bfc
RD
22557 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
22558 }
22559 return resultobj;
22560 fail:
22561 return NULL;
22562}
22563
22564
c370783e 22565static PyObject *_wrap_ListItem_m_mask_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22566 PyObject *resultobj;
22567 wxListItem *arg1 = (wxListItem *) 0 ;
22568 long arg2 ;
22569 PyObject * obj0 = 0 ;
22570 PyObject * obj1 = 0 ;
22571 char *kwnames[] = {
22572 (char *) "self",(char *) "m_mask", NULL
22573 };
22574
22575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_mask_set",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22576 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22577 if (SWIG_arg_fail(1)) SWIG_fail;
22578 {
22579 arg2 = (long)(SWIG_As_long(obj1));
22580 if (SWIG_arg_fail(2)) SWIG_fail;
22581 }
d55e5bfc
RD
22582 if (arg1) (arg1)->m_mask = arg2;
22583
22584 Py_INCREF(Py_None); resultobj = Py_None;
22585 return resultobj;
22586 fail:
22587 return NULL;
22588}
22589
22590
c370783e 22591static PyObject *_wrap_ListItem_m_mask_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22592 PyObject *resultobj;
22593 wxListItem *arg1 = (wxListItem *) 0 ;
22594 long result;
22595 PyObject * obj0 = 0 ;
22596 char *kwnames[] = {
22597 (char *) "self", NULL
22598 };
22599
22600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_mask_get",kwnames,&obj0)) goto fail;
36ed4f51
RD
22601 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22602 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22603 result = (long) ((arg1)->m_mask);
22604
36ed4f51
RD
22605 {
22606 resultobj = SWIG_From_long((long)(result));
22607 }
d55e5bfc
RD
22608 return resultobj;
22609 fail:
22610 return NULL;
22611}
22612
22613
c370783e 22614static PyObject *_wrap_ListItem_m_itemId_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22615 PyObject *resultobj;
22616 wxListItem *arg1 = (wxListItem *) 0 ;
22617 long arg2 ;
22618 PyObject * obj0 = 0 ;
22619 PyObject * obj1 = 0 ;
22620 char *kwnames[] = {
22621 (char *) "self",(char *) "m_itemId", NULL
22622 };
22623
22624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_itemId_set",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22625 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22626 if (SWIG_arg_fail(1)) SWIG_fail;
22627 {
22628 arg2 = (long)(SWIG_As_long(obj1));
22629 if (SWIG_arg_fail(2)) SWIG_fail;
22630 }
d55e5bfc
RD
22631 if (arg1) (arg1)->m_itemId = arg2;
22632
22633 Py_INCREF(Py_None); resultobj = Py_None;
22634 return resultobj;
22635 fail:
22636 return NULL;
22637}
22638
22639
c370783e 22640static PyObject *_wrap_ListItem_m_itemId_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22641 PyObject *resultobj;
22642 wxListItem *arg1 = (wxListItem *) 0 ;
22643 long result;
22644 PyObject * obj0 = 0 ;
22645 char *kwnames[] = {
22646 (char *) "self", NULL
22647 };
22648
22649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_itemId_get",kwnames,&obj0)) goto fail;
36ed4f51
RD
22650 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22651 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22652 result = (long) ((arg1)->m_itemId);
22653
36ed4f51
RD
22654 {
22655 resultobj = SWIG_From_long((long)(result));
22656 }
d55e5bfc
RD
22657 return resultobj;
22658 fail:
22659 return NULL;
22660}
22661
22662
c370783e 22663static PyObject *_wrap_ListItem_m_col_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22664 PyObject *resultobj;
22665 wxListItem *arg1 = (wxListItem *) 0 ;
22666 int arg2 ;
22667 PyObject * obj0 = 0 ;
22668 PyObject * obj1 = 0 ;
22669 char *kwnames[] = {
22670 (char *) "self",(char *) "m_col", NULL
22671 };
22672
22673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_col_set",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22674 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22675 if (SWIG_arg_fail(1)) SWIG_fail;
22676 {
22677 arg2 = (int)(SWIG_As_int(obj1));
22678 if (SWIG_arg_fail(2)) SWIG_fail;
22679 }
d55e5bfc
RD
22680 if (arg1) (arg1)->m_col = arg2;
22681
22682 Py_INCREF(Py_None); resultobj = Py_None;
22683 return resultobj;
22684 fail:
22685 return NULL;
22686}
22687
22688
c370783e 22689static PyObject *_wrap_ListItem_m_col_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22690 PyObject *resultobj;
22691 wxListItem *arg1 = (wxListItem *) 0 ;
22692 int result;
22693 PyObject * obj0 = 0 ;
22694 char *kwnames[] = {
22695 (char *) "self", NULL
22696 };
22697
22698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_col_get",kwnames,&obj0)) goto fail;
36ed4f51
RD
22699 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22700 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22701 result = (int) ((arg1)->m_col);
22702
36ed4f51
RD
22703 {
22704 resultobj = SWIG_From_int((int)(result));
22705 }
d55e5bfc
RD
22706 return resultobj;
22707 fail:
22708 return NULL;
22709}
22710
22711
c370783e 22712static PyObject *_wrap_ListItem_m_state_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22713 PyObject *resultobj;
22714 wxListItem *arg1 = (wxListItem *) 0 ;
22715 long arg2 ;
22716 PyObject * obj0 = 0 ;
22717 PyObject * obj1 = 0 ;
22718 char *kwnames[] = {
22719 (char *) "self",(char *) "m_state", NULL
22720 };
22721
22722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_state_set",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22723 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22724 if (SWIG_arg_fail(1)) SWIG_fail;
22725 {
22726 arg2 = (long)(SWIG_As_long(obj1));
22727 if (SWIG_arg_fail(2)) SWIG_fail;
22728 }
d55e5bfc
RD
22729 if (arg1) (arg1)->m_state = arg2;
22730
22731 Py_INCREF(Py_None); resultobj = Py_None;
22732 return resultobj;
22733 fail:
22734 return NULL;
22735}
22736
22737
c370783e 22738static PyObject *_wrap_ListItem_m_state_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22739 PyObject *resultobj;
22740 wxListItem *arg1 = (wxListItem *) 0 ;
22741 long result;
22742 PyObject * obj0 = 0 ;
22743 char *kwnames[] = {
22744 (char *) "self", NULL
22745 };
22746
22747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_state_get",kwnames,&obj0)) goto fail;
36ed4f51
RD
22748 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22749 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22750 result = (long) ((arg1)->m_state);
22751
36ed4f51
RD
22752 {
22753 resultobj = SWIG_From_long((long)(result));
22754 }
d55e5bfc
RD
22755 return resultobj;
22756 fail:
22757 return NULL;
22758}
22759
22760
c370783e 22761static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22762 PyObject *resultobj;
22763 wxListItem *arg1 = (wxListItem *) 0 ;
22764 long arg2 ;
22765 PyObject * obj0 = 0 ;
22766 PyObject * obj1 = 0 ;
22767 char *kwnames[] = {
22768 (char *) "self",(char *) "m_stateMask", NULL
22769 };
22770
22771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_stateMask_set",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22772 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22773 if (SWIG_arg_fail(1)) SWIG_fail;
22774 {
22775 arg2 = (long)(SWIG_As_long(obj1));
22776 if (SWIG_arg_fail(2)) SWIG_fail;
22777 }
d55e5bfc
RD
22778 if (arg1) (arg1)->m_stateMask = arg2;
22779
22780 Py_INCREF(Py_None); resultobj = Py_None;
22781 return resultobj;
22782 fail:
22783 return NULL;
22784}
22785
22786
c370783e 22787static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22788 PyObject *resultobj;
22789 wxListItem *arg1 = (wxListItem *) 0 ;
22790 long result;
22791 PyObject * obj0 = 0 ;
22792 char *kwnames[] = {
22793 (char *) "self", NULL
22794 };
22795
22796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_stateMask_get",kwnames,&obj0)) goto fail;
36ed4f51
RD
22797 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22798 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22799 result = (long) ((arg1)->m_stateMask);
22800
36ed4f51
RD
22801 {
22802 resultobj = SWIG_From_long((long)(result));
22803 }
d55e5bfc
RD
22804 return resultobj;
22805 fail:
22806 return NULL;
22807}
22808
22809
c370783e 22810static PyObject *_wrap_ListItem_m_text_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22811 PyObject *resultobj;
22812 wxListItem *arg1 = (wxListItem *) 0 ;
22813 wxString *arg2 = (wxString *) 0 ;
b411df4a 22814 bool temp2 = false ;
d55e5bfc
RD
22815 PyObject * obj0 = 0 ;
22816 PyObject * obj1 = 0 ;
22817 char *kwnames[] = {
22818 (char *) "self",(char *) "m_text", NULL
22819 };
22820
22821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22822 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22823 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22824 {
22825 arg2 = wxString_in_helper(obj1);
22826 if (arg2 == NULL) SWIG_fail;
b411df4a 22827 temp2 = true;
d55e5bfc
RD
22828 }
22829 if (arg1) (arg1)->m_text = *arg2;
22830
22831 Py_INCREF(Py_None); resultobj = Py_None;
22832 {
22833 if (temp2)
22834 delete arg2;
22835 }
22836 return resultobj;
22837 fail:
22838 {
22839 if (temp2)
22840 delete arg2;
22841 }
22842 return NULL;
22843}
22844
22845
c370783e 22846static PyObject *_wrap_ListItem_m_text_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22847 PyObject *resultobj;
22848 wxListItem *arg1 = (wxListItem *) 0 ;
22849 wxString *result;
22850 PyObject * obj0 = 0 ;
22851 char *kwnames[] = {
22852 (char *) "self", NULL
22853 };
22854
22855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_get",kwnames,&obj0)) goto fail;
36ed4f51
RD
22856 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22857 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22858 result = (wxString *)& ((arg1)->m_text);
22859
22860 {
22861#if wxUSE_UNICODE
22862 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
22863#else
22864 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
22865#endif
22866 }
22867 return resultobj;
22868 fail:
22869 return NULL;
22870}
22871
22872
c370783e 22873static PyObject *_wrap_ListItem_m_image_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22874 PyObject *resultobj;
22875 wxListItem *arg1 = (wxListItem *) 0 ;
22876 int arg2 ;
22877 PyObject * obj0 = 0 ;
22878 PyObject * obj1 = 0 ;
22879 char *kwnames[] = {
22880 (char *) "self",(char *) "m_image", NULL
22881 };
22882
22883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_image_set",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22884 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22885 if (SWIG_arg_fail(1)) SWIG_fail;
22886 {
22887 arg2 = (int)(SWIG_As_int(obj1));
22888 if (SWIG_arg_fail(2)) SWIG_fail;
22889 }
d55e5bfc
RD
22890 if (arg1) (arg1)->m_image = arg2;
22891
22892 Py_INCREF(Py_None); resultobj = Py_None;
22893 return resultobj;
22894 fail:
22895 return NULL;
22896}
22897
22898
c370783e 22899static PyObject *_wrap_ListItem_m_image_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22900 PyObject *resultobj;
22901 wxListItem *arg1 = (wxListItem *) 0 ;
22902 int result;
22903 PyObject * obj0 = 0 ;
22904 char *kwnames[] = {
22905 (char *) "self", NULL
22906 };
22907
22908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) goto fail;
36ed4f51
RD
22909 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22910 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22911 result = (int) ((arg1)->m_image);
22912
36ed4f51
RD
22913 {
22914 resultobj = SWIG_From_int((int)(result));
22915 }
d55e5bfc
RD
22916 return resultobj;
22917 fail:
22918 return NULL;
22919}
22920
22921
c370783e 22922static PyObject *_wrap_ListItem_m_data_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22923 PyObject *resultobj;
22924 wxListItem *arg1 = (wxListItem *) 0 ;
22925 long arg2 ;
22926 PyObject * obj0 = 0 ;
22927 PyObject * obj1 = 0 ;
22928 char *kwnames[] = {
22929 (char *) "self",(char *) "m_data", NULL
22930 };
22931
22932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_data_set",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22933 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22934 if (SWIG_arg_fail(1)) SWIG_fail;
22935 {
22936 arg2 = (long)(SWIG_As_long(obj1));
22937 if (SWIG_arg_fail(2)) SWIG_fail;
22938 }
d55e5bfc
RD
22939 if (arg1) (arg1)->m_data = arg2;
22940
22941 Py_INCREF(Py_None); resultobj = Py_None;
22942 return resultobj;
22943 fail:
22944 return NULL;
22945}
22946
22947
c370783e 22948static PyObject *_wrap_ListItem_m_data_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22949 PyObject *resultobj;
22950 wxListItem *arg1 = (wxListItem *) 0 ;
22951 long result;
22952 PyObject * obj0 = 0 ;
22953 char *kwnames[] = {
22954 (char *) "self", NULL
22955 };
22956
22957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_data_get",kwnames,&obj0)) goto fail;
36ed4f51
RD
22958 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22959 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22960 result = (long) ((arg1)->m_data);
22961
36ed4f51
RD
22962 {
22963 resultobj = SWIG_From_long((long)(result));
22964 }
d55e5bfc
RD
22965 return resultobj;
22966 fail:
22967 return NULL;
22968}
22969
22970
c370783e 22971static PyObject *_wrap_ListItem_m_format_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22972 PyObject *resultobj;
22973 wxListItem *arg1 = (wxListItem *) 0 ;
22974 int arg2 ;
22975 PyObject * obj0 = 0 ;
22976 PyObject * obj1 = 0 ;
22977 char *kwnames[] = {
22978 (char *) "self",(char *) "m_format", NULL
22979 };
22980
22981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_format_set",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22982 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22983 if (SWIG_arg_fail(1)) SWIG_fail;
22984 {
22985 arg2 = (int)(SWIG_As_int(obj1));
22986 if (SWIG_arg_fail(2)) SWIG_fail;
22987 }
d55e5bfc
RD
22988 if (arg1) (arg1)->m_format = arg2;
22989
22990 Py_INCREF(Py_None); resultobj = Py_None;
22991 return resultobj;
22992 fail:
22993 return NULL;
22994}
22995
22996
c370783e 22997static PyObject *_wrap_ListItem_m_format_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22998 PyObject *resultobj;
22999 wxListItem *arg1 = (wxListItem *) 0 ;
23000 int result;
23001 PyObject * obj0 = 0 ;
23002 char *kwnames[] = {
23003 (char *) "self", NULL
23004 };
23005
23006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_format_get",kwnames,&obj0)) goto fail;
36ed4f51
RD
23007 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23008 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23009 result = (int) ((arg1)->m_format);
23010
36ed4f51
RD
23011 {
23012 resultobj = SWIG_From_int((int)(result));
23013 }
d55e5bfc
RD
23014 return resultobj;
23015 fail:
23016 return NULL;
23017}
23018
23019
c370783e 23020static PyObject *_wrap_ListItem_m_width_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23021 PyObject *resultobj;
23022 wxListItem *arg1 = (wxListItem *) 0 ;
23023 int arg2 ;
23024 PyObject * obj0 = 0 ;
23025 PyObject * obj1 = 0 ;
23026 char *kwnames[] = {
23027 (char *) "self",(char *) "m_width", NULL
23028 };
23029
23030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_width_set",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23031 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23032 if (SWIG_arg_fail(1)) SWIG_fail;
23033 {
23034 arg2 = (int)(SWIG_As_int(obj1));
23035 if (SWIG_arg_fail(2)) SWIG_fail;
23036 }
d55e5bfc
RD
23037 if (arg1) (arg1)->m_width = arg2;
23038
23039 Py_INCREF(Py_None); resultobj = Py_None;
23040 return resultobj;
23041 fail:
23042 return NULL;
23043}
23044
23045
c370783e 23046static PyObject *_wrap_ListItem_m_width_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23047 PyObject *resultobj;
23048 wxListItem *arg1 = (wxListItem *) 0 ;
23049 int result;
23050 PyObject * obj0 = 0 ;
23051 char *kwnames[] = {
23052 (char *) "self", NULL
23053 };
23054
23055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
36ed4f51
RD
23056 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23057 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23058 result = (int) ((arg1)->m_width);
23059
36ed4f51
RD
23060 {
23061 resultobj = SWIG_From_int((int)(result));
23062 }
d55e5bfc
RD
23063 return resultobj;
23064 fail:
23065 return NULL;
23066}
23067
23068
c370783e 23069static PyObject * ListItem_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
23070 PyObject *obj;
23071 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23072 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
23073 Py_INCREF(obj);
23074 return Py_BuildValue((char *)"");
23075}
c370783e 23076static PyObject *_wrap_new_ListEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23077 PyObject *resultobj;
23078 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
23079 int arg2 = (int) 0 ;
23080 wxListEvent *result;
23081 PyObject * obj0 = 0 ;
23082 PyObject * obj1 = 0 ;
23083 char *kwnames[] = {
23084 (char *) "commandType",(char *) "id", NULL
23085 };
23086
23087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ListEvent",kwnames,&obj0,&obj1)) goto fail;
23088 if (obj0) {
36ed4f51
RD
23089 {
23090 arg1 = (wxEventType)(SWIG_As_int(obj0));
23091 if (SWIG_arg_fail(1)) SWIG_fail;
23092 }
d55e5bfc
RD
23093 }
23094 if (obj1) {
36ed4f51
RD
23095 {
23096 arg2 = (int)(SWIG_As_int(obj1));
23097 if (SWIG_arg_fail(2)) SWIG_fail;
23098 }
d55e5bfc
RD
23099 }
23100 {
23101 PyThreadState* __tstate = wxPyBeginAllowThreads();
23102 result = (wxListEvent *)new wxListEvent(arg1,arg2);
23103
23104 wxPyEndAllowThreads(__tstate);
23105 if (PyErr_Occurred()) SWIG_fail;
23106 }
23107 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListEvent, 1);
23108 return resultobj;
23109 fail:
23110 return NULL;
23111}
23112
23113
c370783e 23114static PyObject *_wrap_ListEvent_m_code_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23115 PyObject *resultobj;
23116 wxListEvent *arg1 = (wxListEvent *) 0 ;
23117 int arg2 ;
23118 PyObject * obj0 = 0 ;
23119 PyObject * obj1 = 0 ;
23120 char *kwnames[] = {
23121 (char *) "self",(char *) "m_code", NULL
23122 };
23123
23124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_code_set",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23125 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23126 if (SWIG_arg_fail(1)) SWIG_fail;
23127 {
23128 arg2 = (int)(SWIG_As_int(obj1));
23129 if (SWIG_arg_fail(2)) SWIG_fail;
23130 }
d55e5bfc
RD
23131 if (arg1) (arg1)->m_code = arg2;
23132
23133 Py_INCREF(Py_None); resultobj = Py_None;
23134 return resultobj;
23135 fail:
23136 return NULL;
23137}
23138
23139
c370783e 23140static PyObject *_wrap_ListEvent_m_code_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23141 PyObject *resultobj;
23142 wxListEvent *arg1 = (wxListEvent *) 0 ;
23143 int result;
23144 PyObject * obj0 = 0 ;
23145 char *kwnames[] = {
23146 (char *) "self", NULL
23147 };
23148
23149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) goto fail;
36ed4f51
RD
23150 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23151 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23152 result = (int) ((arg1)->m_code);
23153
36ed4f51
RD
23154 {
23155 resultobj = SWIG_From_int((int)(result));
23156 }
d55e5bfc
RD
23157 return resultobj;
23158 fail:
23159 return NULL;
23160}
23161
23162
c370783e 23163static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23164 PyObject *resultobj;
23165 wxListEvent *arg1 = (wxListEvent *) 0 ;
23166 long arg2 ;
23167 PyObject * obj0 = 0 ;
23168 PyObject * obj1 = 0 ;
23169 char *kwnames[] = {
23170 (char *) "self",(char *) "m_oldItemIndex", NULL
23171 };
23172
23173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23174 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23175 if (SWIG_arg_fail(1)) SWIG_fail;
23176 {
23177 arg2 = (long)(SWIG_As_long(obj1));
23178 if (SWIG_arg_fail(2)) SWIG_fail;
23179 }
d55e5bfc
RD
23180 if (arg1) (arg1)->m_oldItemIndex = arg2;
23181
23182 Py_INCREF(Py_None); resultobj = Py_None;
23183 return resultobj;
23184 fail:
23185 return NULL;
23186}
23187
23188
c370783e 23189static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23190 PyObject *resultobj;
23191 wxListEvent *arg1 = (wxListEvent *) 0 ;
23192 long result;
23193 PyObject * obj0 = 0 ;
23194 char *kwnames[] = {
23195 (char *) "self", NULL
23196 };
23197
23198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) goto fail;
36ed4f51
RD
23199 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23200 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23201 result = (long) ((arg1)->m_oldItemIndex);
23202
36ed4f51
RD
23203 {
23204 resultobj = SWIG_From_long((long)(result));
23205 }
d55e5bfc
RD
23206 return resultobj;
23207 fail:
23208 return NULL;
23209}
23210
23211
c370783e 23212static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23213 PyObject *resultobj;
23214 wxListEvent *arg1 = (wxListEvent *) 0 ;
23215 long arg2 ;
23216 PyObject * obj0 = 0 ;
23217 PyObject * obj1 = 0 ;
23218 char *kwnames[] = {
23219 (char *) "self",(char *) "m_itemIndex", NULL
23220 };
23221
23222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_itemIndex_set",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23223 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23224 if (SWIG_arg_fail(1)) SWIG_fail;
23225 {
23226 arg2 = (long)(SWIG_As_long(obj1));
23227 if (SWIG_arg_fail(2)) SWIG_fail;
23228 }
d55e5bfc
RD
23229 if (arg1) (arg1)->m_itemIndex = arg2;
23230
23231 Py_INCREF(Py_None); resultobj = Py_None;
23232 return resultobj;
23233 fail:
23234 return NULL;
23235}
23236
23237
c370783e 23238static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23239 PyObject *resultobj;
23240 wxListEvent *arg1 = (wxListEvent *) 0 ;
23241 long result;
23242 PyObject * obj0 = 0 ;
23243 char *kwnames[] = {
23244 (char *) "self", NULL
23245 };
23246
23247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) goto fail;
36ed4f51
RD
23248 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23249 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23250 result = (long) ((arg1)->m_itemIndex);
23251
36ed4f51
RD
23252 {
23253 resultobj = SWIG_From_long((long)(result));
23254 }
d55e5bfc
RD
23255 return resultobj;
23256 fail:
23257 return NULL;
23258}
23259
23260
c370783e 23261static PyObject *_wrap_ListEvent_m_col_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23262 PyObject *resultobj;
23263 wxListEvent *arg1 = (wxListEvent *) 0 ;
23264 int arg2 ;
23265 PyObject * obj0 = 0 ;
23266 PyObject * obj1 = 0 ;
23267 char *kwnames[] = {
23268 (char *) "self",(char *) "m_col", NULL
23269 };
23270
23271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_col_set",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23272 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23273 if (SWIG_arg_fail(1)) SWIG_fail;
23274 {
23275 arg2 = (int)(SWIG_As_int(obj1));
23276 if (SWIG_arg_fail(2)) SWIG_fail;
23277 }
d55e5bfc
RD
23278 if (arg1) (arg1)->m_col = arg2;
23279
23280 Py_INCREF(Py_None); resultobj = Py_None;
23281 return resultobj;
23282 fail:
23283 return NULL;
23284}
23285
23286
c370783e 23287static PyObject *_wrap_ListEvent_m_col_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23288 PyObject *resultobj;
23289 wxListEvent *arg1 = (wxListEvent *) 0 ;
23290 int result;
23291 PyObject * obj0 = 0 ;
23292 char *kwnames[] = {
23293 (char *) "self", NULL
23294 };
23295
23296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_col_get",kwnames,&obj0)) goto fail;
36ed4f51
RD
23297 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23298 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23299 result = (int) ((arg1)->m_col);
23300
36ed4f51
RD
23301 {
23302 resultobj = SWIG_From_int((int)(result));
23303 }
d55e5bfc
RD
23304 return resultobj;
23305 fail:
23306 return NULL;
23307}
23308
23309
c370783e 23310static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23311 PyObject *resultobj;
23312 wxListEvent *arg1 = (wxListEvent *) 0 ;
23313 wxPoint *arg2 = (wxPoint *) 0 ;
23314 PyObject * obj0 = 0 ;
23315 PyObject * obj1 = 0 ;
23316 char *kwnames[] = {
23317 (char *) "self",(char *) "m_pointDrag", NULL
23318 };
23319
23320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23321 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23322 if (SWIG_arg_fail(1)) SWIG_fail;
23323 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | 0);
23324 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
23325 if (arg1) (arg1)->m_pointDrag = *arg2;
23326
23327 Py_INCREF(Py_None); resultobj = Py_None;
23328 return resultobj;
23329 fail:
23330 return NULL;
23331}
23332
23333
c370783e 23334static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23335 PyObject *resultobj;
23336 wxListEvent *arg1 = (wxListEvent *) 0 ;
23337 wxPoint *result;
23338 PyObject * obj0 = 0 ;
23339 char *kwnames[] = {
23340 (char *) "self", NULL
23341 };
23342
23343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) goto fail;
36ed4f51
RD
23344 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23345 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23346 result = (wxPoint *)& ((arg1)->m_pointDrag);
23347
23348 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
23349 return resultobj;
23350 fail:
23351 return NULL;
23352}
23353
23354
c370783e 23355static PyObject *_wrap_ListEvent_m_item_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23356 PyObject *resultobj;
23357 wxListEvent *arg1 = (wxListEvent *) 0 ;
23358 wxListItem *result;
23359 PyObject * obj0 = 0 ;
23360 char *kwnames[] = {
23361 (char *) "self", NULL
23362 };
23363
23364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
36ed4f51
RD
23365 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23366 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23367 result = (wxListItem *)& ((arg1)->m_item);
23368
23369 {
412d302d 23370 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
23371 }
23372 return resultobj;
23373 fail:
23374 return NULL;
23375}
23376
23377
c370783e 23378static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23379 PyObject *resultobj;
23380 wxListEvent *arg1 = (wxListEvent *) 0 ;
23381 int result;
23382 PyObject * obj0 = 0 ;
23383 char *kwnames[] = {
23384 (char *) "self", NULL
23385 };
23386
23387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetKeyCode",kwnames,&obj0)) goto fail;
36ed4f51
RD
23388 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23389 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23390 {
23391 PyThreadState* __tstate = wxPyBeginAllowThreads();
23392 result = (int)(arg1)->GetKeyCode();
23393
23394 wxPyEndAllowThreads(__tstate);
23395 if (PyErr_Occurred()) SWIG_fail;
23396 }
36ed4f51
RD
23397 {
23398 resultobj = SWIG_From_int((int)(result));
23399 }
d55e5bfc
RD
23400 return resultobj;
23401 fail:
23402 return NULL;
23403}
23404
23405
c370783e 23406static PyObject *_wrap_ListEvent_GetIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23407 PyObject *resultobj;
23408 wxListEvent *arg1 = (wxListEvent *) 0 ;
23409 long result;
23410 PyObject * obj0 = 0 ;
23411 char *kwnames[] = {
23412 (char *) "self", NULL
23413 };
23414
23415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetIndex",kwnames,&obj0)) goto fail;
36ed4f51
RD
23416 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23417 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23418 {
23419 PyThreadState* __tstate = wxPyBeginAllowThreads();
23420 result = (long)(arg1)->GetIndex();
23421
23422 wxPyEndAllowThreads(__tstate);
23423 if (PyErr_Occurred()) SWIG_fail;
23424 }
36ed4f51
RD
23425 {
23426 resultobj = SWIG_From_long((long)(result));
23427 }
d55e5bfc
RD
23428 return resultobj;
23429 fail:
23430 return NULL;
23431}
23432
23433
c370783e 23434static PyObject *_wrap_ListEvent_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23435 PyObject *resultobj;
23436 wxListEvent *arg1 = (wxListEvent *) 0 ;
23437 int result;
23438 PyObject * obj0 = 0 ;
23439 char *kwnames[] = {
23440 (char *) "self", NULL
23441 };
23442
23443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",kwnames,&obj0)) goto fail;
36ed4f51
RD
23444 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23445 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23446 {
23447 PyThreadState* __tstate = wxPyBeginAllowThreads();
23448 result = (int)(arg1)->GetColumn();
23449
23450 wxPyEndAllowThreads(__tstate);
23451 if (PyErr_Occurred()) SWIG_fail;
23452 }
36ed4f51
RD
23453 {
23454 resultobj = SWIG_From_int((int)(result));
23455 }
d55e5bfc
RD
23456 return resultobj;
23457 fail:
23458 return NULL;
23459}
23460
23461
c370783e 23462static PyObject *_wrap_ListEvent_GetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23463 PyObject *resultobj;
23464 wxListEvent *arg1 = (wxListEvent *) 0 ;
23465 wxPoint result;
23466 PyObject * obj0 = 0 ;
23467 char *kwnames[] = {
23468 (char *) "self", NULL
23469 };
23470
23471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",kwnames,&obj0)) goto fail;
36ed4f51
RD
23472 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23473 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23474 {
23475 PyThreadState* __tstate = wxPyBeginAllowThreads();
23476 result = (arg1)->GetPoint();
23477
23478 wxPyEndAllowThreads(__tstate);
23479 if (PyErr_Occurred()) SWIG_fail;
23480 }
23481 {
23482 wxPoint * resultptr;
36ed4f51 23483 resultptr = new wxPoint((wxPoint &)(result));
d55e5bfc
RD
23484 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
23485 }
23486 return resultobj;
23487 fail:
23488 return NULL;
23489}
23490
23491
c370783e 23492static PyObject *_wrap_ListEvent_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23493 PyObject *resultobj;
23494 wxListEvent *arg1 = (wxListEvent *) 0 ;
23495 wxString *result;
23496 PyObject * obj0 = 0 ;
23497 char *kwnames[] = {
23498 (char *) "self", NULL
23499 };
23500
23501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",kwnames,&obj0)) goto fail;
36ed4f51
RD
23502 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23503 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23504 {
23505 PyThreadState* __tstate = wxPyBeginAllowThreads();
23506 {
23507 wxString const &_result_ref = (arg1)->GetLabel();
23508 result = (wxString *) &_result_ref;
23509 }
23510
23511 wxPyEndAllowThreads(__tstate);
23512 if (PyErr_Occurred()) SWIG_fail;
23513 }
23514 {
23515#if wxUSE_UNICODE
23516 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23517#else
23518 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23519#endif
23520 }
23521 return resultobj;
23522 fail:
23523 return NULL;
23524}
23525
23526
c370783e 23527static PyObject *_wrap_ListEvent_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23528 PyObject *resultobj;
23529 wxListEvent *arg1 = (wxListEvent *) 0 ;
23530 wxString *result;
23531 PyObject * obj0 = 0 ;
23532 char *kwnames[] = {
23533 (char *) "self", NULL
23534 };
23535
23536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
36ed4f51
RD
23537 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23538 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23539 {
23540 PyThreadState* __tstate = wxPyBeginAllowThreads();
23541 {
23542 wxString const &_result_ref = (arg1)->GetText();
23543 result = (wxString *) &_result_ref;
23544 }
23545
23546 wxPyEndAllowThreads(__tstate);
23547 if (PyErr_Occurred()) SWIG_fail;
23548 }
23549 {
23550#if wxUSE_UNICODE
23551 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23552#else
23553 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23554#endif
23555 }
23556 return resultobj;
23557 fail:
23558 return NULL;
23559}
23560
23561
c370783e 23562static PyObject *_wrap_ListEvent_GetImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23563 PyObject *resultobj;
23564 wxListEvent *arg1 = (wxListEvent *) 0 ;
23565 int result;
23566 PyObject * obj0 = 0 ;
23567 char *kwnames[] = {
23568 (char *) "self", NULL
23569 };
23570
23571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetImage",kwnames,&obj0)) goto fail;
36ed4f51
RD
23572 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23573 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23574 {
23575 PyThreadState* __tstate = wxPyBeginAllowThreads();
23576 result = (int)(arg1)->GetImage();
23577
23578 wxPyEndAllowThreads(__tstate);
23579 if (PyErr_Occurred()) SWIG_fail;
23580 }
36ed4f51
RD
23581 {
23582 resultobj = SWIG_From_int((int)(result));
23583 }
d55e5bfc
RD
23584 return resultobj;
23585 fail:
23586 return NULL;
23587}
23588
23589
c370783e 23590static PyObject *_wrap_ListEvent_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23591 PyObject *resultobj;
23592 wxListEvent *arg1 = (wxListEvent *) 0 ;
23593 long result;
23594 PyObject * obj0 = 0 ;
23595 char *kwnames[] = {
23596 (char *) "self", NULL
23597 };
23598
23599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetData",kwnames,&obj0)) goto fail;
36ed4f51
RD
23600 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23601 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23602 {
23603 PyThreadState* __tstate = wxPyBeginAllowThreads();
23604 result = (long)(arg1)->GetData();
23605
23606 wxPyEndAllowThreads(__tstate);
23607 if (PyErr_Occurred()) SWIG_fail;
23608 }
36ed4f51
RD
23609 {
23610 resultobj = SWIG_From_long((long)(result));
23611 }
d55e5bfc
RD
23612 return resultobj;
23613 fail:
23614 return NULL;
23615}
23616
23617
c370783e 23618static PyObject *_wrap_ListEvent_GetMask(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23619 PyObject *resultobj;
23620 wxListEvent *arg1 = (wxListEvent *) 0 ;
23621 long result;
23622 PyObject * obj0 = 0 ;
23623 char *kwnames[] = {
23624 (char *) "self", NULL
23625 };
23626
23627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",kwnames,&obj0)) goto fail;
36ed4f51
RD
23628 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23629 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23630 {
23631 PyThreadState* __tstate = wxPyBeginAllowThreads();
23632 result = (long)(arg1)->GetMask();
23633
23634 wxPyEndAllowThreads(__tstate);
23635 if (PyErr_Occurred()) SWIG_fail;
23636 }
36ed4f51
RD
23637 {
23638 resultobj = SWIG_From_long((long)(result));
23639 }
d55e5bfc
RD
23640 return resultobj;
23641 fail:
23642 return NULL;
23643}
23644
23645
c370783e 23646static PyObject *_wrap_ListEvent_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23647 PyObject *resultobj;
23648 wxListEvent *arg1 = (wxListEvent *) 0 ;
23649 wxListItem *result;
23650 PyObject * obj0 = 0 ;
23651 char *kwnames[] = {
23652 (char *) "self", NULL
23653 };
23654
23655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",kwnames,&obj0)) goto fail;
36ed4f51
RD
23656 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23657 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23658 {
23659 PyThreadState* __tstate = wxPyBeginAllowThreads();
23660 {
23661 wxListItem const &_result_ref = (arg1)->GetItem();
23662 result = (wxListItem *) &_result_ref;
23663 }
23664
23665 wxPyEndAllowThreads(__tstate);
23666 if (PyErr_Occurred()) SWIG_fail;
23667 }
23668 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItem, 0);
23669 return resultobj;
23670 fail:
23671 return NULL;
23672}
23673
23674
c370783e 23675static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23676 PyObject *resultobj;
23677 wxListEvent *arg1 = (wxListEvent *) 0 ;
23678 long result;
23679 PyObject * obj0 = 0 ;
23680 char *kwnames[] = {
23681 (char *) "self", NULL
23682 };
23683
23684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheFrom",kwnames,&obj0)) goto fail;
36ed4f51
RD
23685 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23686 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23687 {
23688 PyThreadState* __tstate = wxPyBeginAllowThreads();
23689 result = (long)(arg1)->GetCacheFrom();
23690
23691 wxPyEndAllowThreads(__tstate);
23692 if (PyErr_Occurred()) SWIG_fail;
23693 }
36ed4f51
RD
23694 {
23695 resultobj = SWIG_From_long((long)(result));
23696 }
d55e5bfc
RD
23697 return resultobj;
23698 fail:
23699 return NULL;
23700}
23701
23702
c370783e 23703static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23704 PyObject *resultobj;
23705 wxListEvent *arg1 = (wxListEvent *) 0 ;
23706 long result;
23707 PyObject * obj0 = 0 ;
23708 char *kwnames[] = {
23709 (char *) "self", NULL
23710 };
23711
23712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",kwnames,&obj0)) goto fail;
36ed4f51
RD
23713 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23714 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23715 {
23716 PyThreadState* __tstate = wxPyBeginAllowThreads();
23717 result = (long)(arg1)->GetCacheTo();
23718
23719 wxPyEndAllowThreads(__tstate);
23720 if (PyErr_Occurred()) SWIG_fail;
23721 }
36ed4f51
RD
23722 {
23723 resultobj = SWIG_From_long((long)(result));
23724 }
d55e5bfc
RD
23725 return resultobj;
23726 fail:
23727 return NULL;
23728}
23729
23730
c370783e 23731static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23732 PyObject *resultobj;
23733 wxListEvent *arg1 = (wxListEvent *) 0 ;
23734 bool result;
23735 PyObject * obj0 = 0 ;
23736 char *kwnames[] = {
23737 (char *) "self", NULL
23738 };
23739
23740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
36ed4f51
RD
23741 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23742 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23743 {
23744 PyThreadState* __tstate = wxPyBeginAllowThreads();
23745 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
23746
23747 wxPyEndAllowThreads(__tstate);
23748 if (PyErr_Occurred()) SWIG_fail;
23749 }
23750 {
23751 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23752 }
23753 return resultobj;
23754 fail:
23755 return NULL;
23756}
23757
23758
c370783e 23759static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23760 PyObject *resultobj;
23761 wxListEvent *arg1 = (wxListEvent *) 0 ;
23762 bool arg2 ;
23763 PyObject * obj0 = 0 ;
23764 PyObject * obj1 = 0 ;
23765 char *kwnames[] = {
23766 (char *) "self",(char *) "editCancelled", NULL
23767 };
23768
23769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23770 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23771 if (SWIG_arg_fail(1)) SWIG_fail;
23772 {
23773 arg2 = (bool)(SWIG_As_bool(obj1));
23774 if (SWIG_arg_fail(2)) SWIG_fail;
23775 }
d55e5bfc
RD
23776 {
23777 PyThreadState* __tstate = wxPyBeginAllowThreads();
23778 (arg1)->SetEditCanceled(arg2);
23779
23780 wxPyEndAllowThreads(__tstate);
23781 if (PyErr_Occurred()) SWIG_fail;
23782 }
23783 Py_INCREF(Py_None); resultobj = Py_None;
23784 return resultobj;
23785 fail:
23786 return NULL;
23787}
23788
23789
c370783e 23790static PyObject * ListEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
23791 PyObject *obj;
23792 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23793 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
23794 Py_INCREF(obj);
23795 return Py_BuildValue((char *)"");
23796}
c370783e 23797static PyObject *_wrap_new_ListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23798 PyObject *resultobj;
23799 wxWindow *arg1 = (wxWindow *) 0 ;
23800 int arg2 = (int) -1 ;
23801 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23802 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23803 wxSize const &arg4_defvalue = wxDefaultSize ;
23804 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23805 long arg5 = (long) wxLC_ICON ;
23806 wxValidator const &arg6_defvalue = wxDefaultValidator ;
23807 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
23808 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
23809 wxString *arg7 = (wxString *) &arg7_defvalue ;
23810 wxPyListCtrl *result;
23811 wxPoint temp3 ;
23812 wxSize temp4 ;
b411df4a 23813 bool temp7 = false ;
d55e5bfc
RD
23814 PyObject * obj0 = 0 ;
23815 PyObject * obj1 = 0 ;
23816 PyObject * obj2 = 0 ;
23817 PyObject * obj3 = 0 ;
23818 PyObject * obj4 = 0 ;
23819 PyObject * obj5 = 0 ;
23820 PyObject * obj6 = 0 ;
23821 char *kwnames[] = {
23822 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23823 };
23824
23825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
23826 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
23827 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 23828 if (obj1) {
36ed4f51
RD
23829 {
23830 arg2 = (int)(SWIG_As_int(obj1));
23831 if (SWIG_arg_fail(2)) SWIG_fail;
23832 }
d55e5bfc
RD
23833 }
23834 if (obj2) {
23835 {
23836 arg3 = &temp3;
23837 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23838 }
23839 }
23840 if (obj3) {
23841 {
23842 arg4 = &temp4;
23843 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23844 }
23845 }
23846 if (obj4) {
36ed4f51
RD
23847 {
23848 arg5 = (long)(SWIG_As_long(obj4));
23849 if (SWIG_arg_fail(5)) SWIG_fail;
23850 }
d55e5bfc
RD
23851 }
23852 if (obj5) {
36ed4f51
RD
23853 {
23854 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
23855 if (SWIG_arg_fail(6)) SWIG_fail;
23856 if (arg6 == NULL) {
23857 SWIG_null_ref("wxValidator");
23858 }
23859 if (SWIG_arg_fail(6)) SWIG_fail;
d55e5bfc
RD
23860 }
23861 }
23862 if (obj6) {
23863 {
23864 arg7 = wxString_in_helper(obj6);
23865 if (arg7 == NULL) SWIG_fail;
b411df4a 23866 temp7 = true;
d55e5bfc
RD
23867 }
23868 }
23869 {
0439c23b 23870 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
23871 PyThreadState* __tstate = wxPyBeginAllowThreads();
23872 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
23873
23874 wxPyEndAllowThreads(__tstate);
110da5b0 23875 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
23876 }
23877 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
23878 {
23879 if (temp7)
23880 delete arg7;
23881 }
23882 return resultobj;
23883 fail:
23884 {
23885 if (temp7)
23886 delete arg7;
23887 }
23888 return NULL;
23889}
23890
23891
c370783e 23892static PyObject *_wrap_new_PreListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23893 PyObject *resultobj;
23894 wxPyListCtrl *result;
23895 char *kwnames[] = {
23896 NULL
23897 };
23898
23899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
23900 {
0439c23b 23901 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
23902 PyThreadState* __tstate = wxPyBeginAllowThreads();
23903 result = (wxPyListCtrl *)new wxPyListCtrl();
23904
23905 wxPyEndAllowThreads(__tstate);
110da5b0 23906 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
23907 }
23908 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
23909 return resultobj;
23910 fail:
23911 return NULL;
23912}
23913
23914
c370783e 23915static PyObject *_wrap_ListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23916 PyObject *resultobj;
23917 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23918 wxWindow *arg2 = (wxWindow *) 0 ;
23919 int arg3 = (int) -1 ;
23920 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23921 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23922 wxSize const &arg5_defvalue = wxDefaultSize ;
23923 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23924 long arg6 = (long) wxLC_ICON ;
23925 wxValidator const &arg7_defvalue = wxDefaultValidator ;
23926 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
23927 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
23928 wxString *arg8 = (wxString *) &arg8_defvalue ;
23929 bool result;
23930 wxPoint temp4 ;
23931 wxSize temp5 ;
b411df4a 23932 bool temp8 = false ;
d55e5bfc
RD
23933 PyObject * obj0 = 0 ;
23934 PyObject * obj1 = 0 ;
23935 PyObject * obj2 = 0 ;
23936 PyObject * obj3 = 0 ;
23937 PyObject * obj4 = 0 ;
23938 PyObject * obj5 = 0 ;
23939 PyObject * obj6 = 0 ;
23940 PyObject * obj7 = 0 ;
23941 char *kwnames[] = {
23942 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23943 };
23944
23945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
23946 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
23947 if (SWIG_arg_fail(1)) SWIG_fail;
23948 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
23949 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 23950 if (obj2) {
36ed4f51
RD
23951 {
23952 arg3 = (int)(SWIG_As_int(obj2));
23953 if (SWIG_arg_fail(3)) SWIG_fail;
23954 }
d55e5bfc
RD
23955 }
23956 if (obj3) {
23957 {
23958 arg4 = &temp4;
23959 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23960 }
23961 }
23962 if (obj4) {
23963 {
23964 arg5 = &temp5;
23965 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23966 }
23967 }
23968 if (obj5) {
36ed4f51
RD
23969 {
23970 arg6 = (long)(SWIG_As_long(obj5));
23971 if (SWIG_arg_fail(6)) SWIG_fail;
23972 }
d55e5bfc
RD
23973 }
23974 if (obj6) {
36ed4f51
RD
23975 {
23976 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
23977 if (SWIG_arg_fail(7)) SWIG_fail;
23978 if (arg7 == NULL) {
23979 SWIG_null_ref("wxValidator");
23980 }
23981 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
23982 }
23983 }
23984 if (obj7) {
23985 {
23986 arg8 = wxString_in_helper(obj7);
23987 if (arg8 == NULL) SWIG_fail;
b411df4a 23988 temp8 = true;
d55e5bfc
RD
23989 }
23990 }
23991 {
23992 PyThreadState* __tstate = wxPyBeginAllowThreads();
23993 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
23994
23995 wxPyEndAllowThreads(__tstate);
23996 if (PyErr_Occurred()) SWIG_fail;
23997 }
23998 {
23999 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24000 }
24001 {
24002 if (temp8)
24003 delete arg8;
24004 }
24005 return resultobj;
24006 fail:
24007 {
24008 if (temp8)
24009 delete arg8;
24010 }
24011 return NULL;
24012}
24013
24014
c370783e 24015static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24016 PyObject *resultobj;
24017 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24018 PyObject *arg2 = (PyObject *) 0 ;
24019 PyObject *arg3 = (PyObject *) 0 ;
24020 PyObject * obj0 = 0 ;
24021 PyObject * obj1 = 0 ;
24022 PyObject * obj2 = 0 ;
24023 char *kwnames[] = {
24024 (char *) "self",(char *) "self",(char *) "_class", NULL
24025 };
24026
24027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
24028 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24029 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24030 arg2 = obj1;
24031 arg3 = obj2;
24032 {
24033 PyThreadState* __tstate = wxPyBeginAllowThreads();
24034 (arg1)->_setCallbackInfo(arg2,arg3);
24035
24036 wxPyEndAllowThreads(__tstate);
24037 if (PyErr_Occurred()) SWIG_fail;
24038 }
24039 Py_INCREF(Py_None); resultobj = Py_None;
24040 return resultobj;
24041 fail:
24042 return NULL;
24043}
24044
24045
c370783e 24046static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24047 PyObject *resultobj;
24048 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24049 wxColour *arg2 = 0 ;
24050 bool result;
24051 wxColour temp2 ;
24052 PyObject * obj0 = 0 ;
24053 PyObject * obj1 = 0 ;
24054 char *kwnames[] = {
24055 (char *) "self",(char *) "col", NULL
24056 };
24057
24058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
24059 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24060 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24061 {
24062 arg2 = &temp2;
24063 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
24064 }
24065 {
24066 PyThreadState* __tstate = wxPyBeginAllowThreads();
24067 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
24068
24069 wxPyEndAllowThreads(__tstate);
24070 if (PyErr_Occurred()) SWIG_fail;
24071 }
24072 {
24073 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24074 }
24075 return resultobj;
24076 fail:
24077 return NULL;
24078}
24079
24080
c370783e 24081static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24082 PyObject *resultobj;
24083 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24084 wxColour *arg2 = 0 ;
24085 bool result;
24086 wxColour temp2 ;
24087 PyObject * obj0 = 0 ;
24088 PyObject * obj1 = 0 ;
24089 char *kwnames[] = {
24090 (char *) "self",(char *) "col", NULL
24091 };
24092
24093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
24094 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24095 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24096 {
24097 arg2 = &temp2;
24098 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
24099 }
24100 {
24101 PyThreadState* __tstate = wxPyBeginAllowThreads();
24102 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
24103
24104 wxPyEndAllowThreads(__tstate);
24105 if (PyErr_Occurred()) SWIG_fail;
24106 }
24107 {
24108 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24109 }
24110 return resultobj;
24111 fail:
24112 return NULL;
24113}
24114
24115
c370783e 24116static PyObject *_wrap_ListCtrl_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24117 PyObject *resultobj;
24118 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24119 int arg2 ;
24120 wxListItem *result;
24121 PyObject * obj0 = 0 ;
24122 PyObject * obj1 = 0 ;
24123 char *kwnames[] = {
24124 (char *) "self",(char *) "col", NULL
24125 };
24126
24127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
24128 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24129 if (SWIG_arg_fail(1)) SWIG_fail;
24130 {
24131 arg2 = (int)(SWIG_As_int(obj1));
24132 if (SWIG_arg_fail(2)) SWIG_fail;
24133 }
d55e5bfc
RD
24134 {
24135 PyThreadState* __tstate = wxPyBeginAllowThreads();
24136 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
24137
24138 wxPyEndAllowThreads(__tstate);
24139 if (PyErr_Occurred()) SWIG_fail;
24140 }
24141 {
412d302d 24142 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
24143 }
24144 return resultobj;
24145 fail:
24146 return NULL;
24147}
24148
24149
c370783e 24150static PyObject *_wrap_ListCtrl_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24151 PyObject *resultobj;
24152 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24153 int arg2 ;
24154 wxListItem *arg3 = 0 ;
24155 bool result;
24156 PyObject * obj0 = 0 ;
24157 PyObject * obj1 = 0 ;
24158 PyObject * obj2 = 0 ;
24159 char *kwnames[] = {
24160 (char *) "self",(char *) "col",(char *) "item", NULL
24161 };
24162
24163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
24164 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24165 if (SWIG_arg_fail(1)) SWIG_fail;
24166 {
24167 arg2 = (int)(SWIG_As_int(obj1));
24168 if (SWIG_arg_fail(2)) SWIG_fail;
24169 }
24170 {
24171 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24172 if (SWIG_arg_fail(3)) SWIG_fail;
24173 if (arg3 == NULL) {
24174 SWIG_null_ref("wxListItem");
24175 }
24176 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
24177 }
24178 {
24179 PyThreadState* __tstate = wxPyBeginAllowThreads();
24180 result = (bool)(arg1)->SetColumn(arg2,*arg3);
24181
24182 wxPyEndAllowThreads(__tstate);
24183 if (PyErr_Occurred()) SWIG_fail;
24184 }
24185 {
24186 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24187 }
24188 return resultobj;
24189 fail:
24190 return NULL;
24191}
24192
24193
c370783e 24194static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24195 PyObject *resultobj;
24196 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24197 int arg2 ;
24198 int result;
24199 PyObject * obj0 = 0 ;
24200 PyObject * obj1 = 0 ;
24201 char *kwnames[] = {
24202 (char *) "self",(char *) "col", NULL
24203 };
24204
24205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
24206 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24207 if (SWIG_arg_fail(1)) SWIG_fail;
24208 {
24209 arg2 = (int)(SWIG_As_int(obj1));
24210 if (SWIG_arg_fail(2)) SWIG_fail;
24211 }
d55e5bfc
RD
24212 {
24213 PyThreadState* __tstate = wxPyBeginAllowThreads();
24214 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
24215
24216 wxPyEndAllowThreads(__tstate);
24217 if (PyErr_Occurred()) SWIG_fail;
24218 }
36ed4f51
RD
24219 {
24220 resultobj = SWIG_From_int((int)(result));
24221 }
d55e5bfc
RD
24222 return resultobj;
24223 fail:
24224 return NULL;
24225}
24226
24227
c370783e 24228static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24229 PyObject *resultobj;
24230 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24231 int arg2 ;
24232 int arg3 ;
24233 bool result;
24234 PyObject * obj0 = 0 ;
24235 PyObject * obj1 = 0 ;
24236 PyObject * obj2 = 0 ;
24237 char *kwnames[] = {
24238 (char *) "self",(char *) "col",(char *) "width", NULL
24239 };
24240
24241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
24242 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24243 if (SWIG_arg_fail(1)) SWIG_fail;
24244 {
24245 arg2 = (int)(SWIG_As_int(obj1));
24246 if (SWIG_arg_fail(2)) SWIG_fail;
24247 }
24248 {
24249 arg3 = (int)(SWIG_As_int(obj2));
24250 if (SWIG_arg_fail(3)) SWIG_fail;
24251 }
d55e5bfc
RD
24252 {
24253 PyThreadState* __tstate = wxPyBeginAllowThreads();
24254 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
24255
24256 wxPyEndAllowThreads(__tstate);
24257 if (PyErr_Occurred()) SWIG_fail;
24258 }
24259 {
24260 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24261 }
24262 return resultobj;
24263 fail:
24264 return NULL;
24265}
24266
24267
c370783e 24268static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24269 PyObject *resultobj;
24270 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24271 int result;
24272 PyObject * obj0 = 0 ;
24273 char *kwnames[] = {
24274 (char *) "self", NULL
24275 };
24276
24277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",kwnames,&obj0)) goto fail;
36ed4f51
RD
24278 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24279 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24280 {
24281 PyThreadState* __tstate = wxPyBeginAllowThreads();
24282 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
24283
24284 wxPyEndAllowThreads(__tstate);
24285 if (PyErr_Occurred()) SWIG_fail;
24286 }
36ed4f51
RD
24287 {
24288 resultobj = SWIG_From_int((int)(result));
24289 }
d55e5bfc
RD
24290 return resultobj;
24291 fail:
24292 return NULL;
24293}
24294
24295
c370783e 24296static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24297 PyObject *resultobj;
24298 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24299 wxRect result;
24300 PyObject * obj0 = 0 ;
24301 char *kwnames[] = {
24302 (char *) "self", NULL
24303 };
24304
24305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) goto fail;
36ed4f51
RD
24306 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24307 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24308 {
24309 PyThreadState* __tstate = wxPyBeginAllowThreads();
24310 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
24311
24312 wxPyEndAllowThreads(__tstate);
24313 if (PyErr_Occurred()) SWIG_fail;
24314 }
24315 {
24316 wxRect * resultptr;
36ed4f51 24317 resultptr = new wxRect((wxRect &)(result));
d55e5bfc
RD
24318 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
24319 }
24320 return resultobj;
24321 fail:
24322 return NULL;
24323}
24324
24325
c370783e 24326static PyObject *_wrap_ListCtrl_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24327 PyObject *resultobj;
24328 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24329 long arg2 ;
24330 int arg3 = (int) 0 ;
24331 wxListItem *result;
24332 PyObject * obj0 = 0 ;
24333 PyObject * obj1 = 0 ;
24334 PyObject * obj2 = 0 ;
24335 char *kwnames[] = {
24336 (char *) "self",(char *) "itemId",(char *) "col", NULL
24337 };
24338
24339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
24340 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24341 if (SWIG_arg_fail(1)) SWIG_fail;
24342 {
24343 arg2 = (long)(SWIG_As_long(obj1));
24344 if (SWIG_arg_fail(2)) SWIG_fail;
24345 }
d55e5bfc 24346 if (obj2) {
36ed4f51
RD
24347 {
24348 arg3 = (int)(SWIG_As_int(obj2));
24349 if (SWIG_arg_fail(3)) SWIG_fail;
24350 }
d55e5bfc
RD
24351 }
24352 {
24353 PyThreadState* __tstate = wxPyBeginAllowThreads();
24354 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
24355
24356 wxPyEndAllowThreads(__tstate);
24357 if (PyErr_Occurred()) SWIG_fail;
24358 }
24359 {
412d302d 24360 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
24361 }
24362 return resultobj;
24363 fail:
24364 return NULL;
24365}
24366
24367
c370783e 24368static PyObject *_wrap_ListCtrl_SetItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24369 PyObject *resultobj;
24370 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24371 wxListItem *arg2 = 0 ;
24372 bool result;
24373 PyObject * obj0 = 0 ;
24374 PyObject * obj1 = 0 ;
24375 char *kwnames[] = {
24376 (char *) "self",(char *) "info", NULL
24377 };
24378
24379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
24380 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24381 if (SWIG_arg_fail(1)) SWIG_fail;
24382 {
24383 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24384 if (SWIG_arg_fail(2)) SWIG_fail;
24385 if (arg2 == NULL) {
24386 SWIG_null_ref("wxListItem");
24387 }
24388 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24389 }
24390 {
24391 PyThreadState* __tstate = wxPyBeginAllowThreads();
24392 result = (bool)(arg1)->SetItem(*arg2);
24393
24394 wxPyEndAllowThreads(__tstate);
24395 if (PyErr_Occurred()) SWIG_fail;
24396 }
24397 {
24398 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24399 }
24400 return resultobj;
24401 fail:
24402 return NULL;
24403}
24404
24405
c370783e 24406static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24407 PyObject *resultobj;
24408 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24409 long arg2 ;
24410 int arg3 ;
24411 wxString *arg4 = 0 ;
24412 int arg5 = (int) -1 ;
24413 long result;
b411df4a 24414 bool temp4 = false ;
d55e5bfc
RD
24415 PyObject * obj0 = 0 ;
24416 PyObject * obj1 = 0 ;
24417 PyObject * obj2 = 0 ;
24418 PyObject * obj3 = 0 ;
24419 PyObject * obj4 = 0 ;
24420 char *kwnames[] = {
24421 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
24422 };
24423
24424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
24425 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24426 if (SWIG_arg_fail(1)) SWIG_fail;
24427 {
24428 arg2 = (long)(SWIG_As_long(obj1));
24429 if (SWIG_arg_fail(2)) SWIG_fail;
24430 }
24431 {
24432 arg3 = (int)(SWIG_As_int(obj2));
24433 if (SWIG_arg_fail(3)) SWIG_fail;
24434 }
d55e5bfc
RD
24435 {
24436 arg4 = wxString_in_helper(obj3);
24437 if (arg4 == NULL) SWIG_fail;
b411df4a 24438 temp4 = true;
d55e5bfc
RD
24439 }
24440 if (obj4) {
36ed4f51
RD
24441 {
24442 arg5 = (int)(SWIG_As_int(obj4));
24443 if (SWIG_arg_fail(5)) SWIG_fail;
24444 }
d55e5bfc
RD
24445 }
24446 {
24447 PyThreadState* __tstate = wxPyBeginAllowThreads();
24448 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
24449
24450 wxPyEndAllowThreads(__tstate);
24451 if (PyErr_Occurred()) SWIG_fail;
24452 }
36ed4f51
RD
24453 {
24454 resultobj = SWIG_From_long((long)(result));
24455 }
d55e5bfc
RD
24456 {
24457 if (temp4)
24458 delete arg4;
24459 }
24460 return resultobj;
24461 fail:
24462 {
24463 if (temp4)
24464 delete arg4;
24465 }
24466 return NULL;
24467}
24468
24469
c370783e 24470static PyObject *_wrap_ListCtrl_GetItemState(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24471 PyObject *resultobj;
24472 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24473 long arg2 ;
24474 long arg3 ;
24475 int result;
24476 PyObject * obj0 = 0 ;
24477 PyObject * obj1 = 0 ;
24478 PyObject * obj2 = 0 ;
24479 char *kwnames[] = {
24480 (char *) "self",(char *) "item",(char *) "stateMask", NULL
24481 };
24482
24483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_GetItemState",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
24484 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24485 if (SWIG_arg_fail(1)) SWIG_fail;
24486 {
24487 arg2 = (long)(SWIG_As_long(obj1));
24488 if (SWIG_arg_fail(2)) SWIG_fail;
24489 }
24490 {
24491 arg3 = (long)(SWIG_As_long(obj2));
24492 if (SWIG_arg_fail(3)) SWIG_fail;
24493 }
d55e5bfc
RD
24494 {
24495 PyThreadState* __tstate = wxPyBeginAllowThreads();
24496 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
24497
24498 wxPyEndAllowThreads(__tstate);
24499 if (PyErr_Occurred()) SWIG_fail;
24500 }
36ed4f51
RD
24501 {
24502 resultobj = SWIG_From_int((int)(result));
24503 }
d55e5bfc
RD
24504 return resultobj;
24505 fail:
24506 return NULL;
24507}
24508
24509
c370783e 24510static PyObject *_wrap_ListCtrl_SetItemState(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24511 PyObject *resultobj;
24512 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24513 long arg2 ;
24514 long arg3 ;
24515 long arg4 ;
24516 bool result;
24517 PyObject * obj0 = 0 ;
24518 PyObject * obj1 = 0 ;
24519 PyObject * obj2 = 0 ;
24520 PyObject * obj3 = 0 ;
24521 char *kwnames[] = {
24522 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
24523 };
24524
24525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemState",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
24526 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24527 if (SWIG_arg_fail(1)) SWIG_fail;
24528 {
24529 arg2 = (long)(SWIG_As_long(obj1));
24530 if (SWIG_arg_fail(2)) SWIG_fail;
24531 }
24532 {
24533 arg3 = (long)(SWIG_As_long(obj2));
24534 if (SWIG_arg_fail(3)) SWIG_fail;
24535 }
24536 {
24537 arg4 = (long)(SWIG_As_long(obj3));
24538 if (SWIG_arg_fail(4)) SWIG_fail;
24539 }
d55e5bfc
RD
24540 {
24541 PyThreadState* __tstate = wxPyBeginAllowThreads();
24542 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
24543
24544 wxPyEndAllowThreads(__tstate);
24545 if (PyErr_Occurred()) SWIG_fail;
24546 }
24547 {
24548 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24549 }
24550 return resultobj;
24551 fail:
24552 return NULL;
24553}
24554
24555
c370783e 24556static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24557 PyObject *resultobj;
24558 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24559 long arg2 ;
24560 int arg3 ;
84f85550 24561 int arg4 = (int) -1 ;
d55e5bfc
RD
24562 bool result;
24563 PyObject * obj0 = 0 ;
24564 PyObject * obj1 = 0 ;
24565 PyObject * obj2 = 0 ;
24566 PyObject * obj3 = 0 ;
24567 char *kwnames[] = {
24568 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
24569 };
24570
84f85550 24571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
24572 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24573 if (SWIG_arg_fail(1)) SWIG_fail;
24574 {
24575 arg2 = (long)(SWIG_As_long(obj1));
24576 if (SWIG_arg_fail(2)) SWIG_fail;
24577 }
24578 {
24579 arg3 = (int)(SWIG_As_int(obj2));
24580 if (SWIG_arg_fail(3)) SWIG_fail;
24581 }
84f85550 24582 if (obj3) {
36ed4f51
RD
24583 {
24584 arg4 = (int)(SWIG_As_int(obj3));
24585 if (SWIG_arg_fail(4)) SWIG_fail;
24586 }
84f85550 24587 }
d55e5bfc
RD
24588 {
24589 PyThreadState* __tstate = wxPyBeginAllowThreads();
24590 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
24591
24592 wxPyEndAllowThreads(__tstate);
24593 if (PyErr_Occurred()) SWIG_fail;
24594 }
24595 {
24596 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24597 }
24598 return resultobj;
24599 fail:
24600 return NULL;
24601}
24602
24603
c370783e 24604static PyObject *_wrap_ListCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24605 PyObject *resultobj;
24606 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24607 long arg2 ;
24608 wxString result;
24609 PyObject * obj0 = 0 ;
24610 PyObject * obj1 = 0 ;
24611 char *kwnames[] = {
24612 (char *) "self",(char *) "item", NULL
24613 };
24614
24615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
24616 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24617 if (SWIG_arg_fail(1)) SWIG_fail;
24618 {
24619 arg2 = (long)(SWIG_As_long(obj1));
24620 if (SWIG_arg_fail(2)) SWIG_fail;
24621 }
d55e5bfc
RD
24622 {
24623 PyThreadState* __tstate = wxPyBeginAllowThreads();
24624 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
24625
24626 wxPyEndAllowThreads(__tstate);
24627 if (PyErr_Occurred()) SWIG_fail;
24628 }
24629 {
24630#if wxUSE_UNICODE
24631 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24632#else
24633 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24634#endif
24635 }
24636 return resultobj;
24637 fail:
24638 return NULL;
24639}
24640
24641
c370783e 24642static PyObject *_wrap_ListCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24643 PyObject *resultobj;
24644 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24645 long arg2 ;
24646 wxString *arg3 = 0 ;
b411df4a 24647 bool temp3 = false ;
d55e5bfc
RD
24648 PyObject * obj0 = 0 ;
24649 PyObject * obj1 = 0 ;
24650 PyObject * obj2 = 0 ;
24651 char *kwnames[] = {
24652 (char *) "self",(char *) "item",(char *) "str", NULL
24653 };
24654
24655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
24656 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24657 if (SWIG_arg_fail(1)) SWIG_fail;
24658 {
24659 arg2 = (long)(SWIG_As_long(obj1));
24660 if (SWIG_arg_fail(2)) SWIG_fail;
24661 }
d55e5bfc
RD
24662 {
24663 arg3 = wxString_in_helper(obj2);
24664 if (arg3 == NULL) SWIG_fail;
b411df4a 24665 temp3 = true;
d55e5bfc
RD
24666 }
24667 {
24668 PyThreadState* __tstate = wxPyBeginAllowThreads();
24669 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
24670
24671 wxPyEndAllowThreads(__tstate);
24672 if (PyErr_Occurred()) SWIG_fail;
24673 }
24674 Py_INCREF(Py_None); resultobj = Py_None;
24675 {
24676 if (temp3)
24677 delete arg3;
24678 }
24679 return resultobj;
24680 fail:
24681 {
24682 if (temp3)
24683 delete arg3;
24684 }
24685 return NULL;
24686}
24687
24688
c370783e 24689static PyObject *_wrap_ListCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24690 PyObject *resultobj;
24691 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24692 long arg2 ;
24693 long result;
24694 PyObject * obj0 = 0 ;
24695 PyObject * obj1 = 0 ;
24696 char *kwnames[] = {
24697 (char *) "self",(char *) "item", NULL
24698 };
24699
24700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
24701 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24702 if (SWIG_arg_fail(1)) SWIG_fail;
24703 {
24704 arg2 = (long)(SWIG_As_long(obj1));
24705 if (SWIG_arg_fail(2)) SWIG_fail;
24706 }
d55e5bfc
RD
24707 {
24708 PyThreadState* __tstate = wxPyBeginAllowThreads();
24709 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
24710
24711 wxPyEndAllowThreads(__tstate);
24712 if (PyErr_Occurred()) SWIG_fail;
24713 }
36ed4f51
RD
24714 {
24715 resultobj = SWIG_From_long((long)(result));
24716 }
d55e5bfc
RD
24717 return resultobj;
24718 fail:
24719 return NULL;
24720}
24721
24722
c370783e 24723static PyObject *_wrap_ListCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24724 PyObject *resultobj;
24725 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24726 long arg2 ;
24727 long arg3 ;
24728 bool result;
24729 PyObject * obj0 = 0 ;
24730 PyObject * obj1 = 0 ;
24731 PyObject * obj2 = 0 ;
24732 char *kwnames[] = {
24733 (char *) "self",(char *) "item",(char *) "data", NULL
24734 };
24735
24736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
24737 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24738 if (SWIG_arg_fail(1)) SWIG_fail;
24739 {
24740 arg2 = (long)(SWIG_As_long(obj1));
24741 if (SWIG_arg_fail(2)) SWIG_fail;
24742 }
24743 {
24744 arg3 = (long)(SWIG_As_long(obj2));
24745 if (SWIG_arg_fail(3)) SWIG_fail;
24746 }
d55e5bfc
RD
24747 {
24748 PyThreadState* __tstate = wxPyBeginAllowThreads();
24749 result = (bool)(arg1)->SetItemData(arg2,arg3);
24750
24751 wxPyEndAllowThreads(__tstate);
24752 if (PyErr_Occurred()) SWIG_fail;
24753 }
24754 {
24755 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24756 }
24757 return resultobj;
24758 fail:
24759 return NULL;
24760}
24761
24762
c370783e 24763static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24764 PyObject *resultobj;
24765 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24766 long arg2 ;
24767 wxPoint result;
24768 PyObject * obj0 = 0 ;
24769 PyObject * obj1 = 0 ;
24770 char *kwnames[] = {
24771 (char *) "self",(char *) "item", NULL
24772 };
24773
24774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemPosition",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
24775 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24776 if (SWIG_arg_fail(1)) SWIG_fail;
24777 {
24778 arg2 = (long)(SWIG_As_long(obj1));
24779 if (SWIG_arg_fail(2)) SWIG_fail;
24780 }
d55e5bfc
RD
24781 {
24782 PyThreadState* __tstate = wxPyBeginAllowThreads();
24783 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
24784
24785 wxPyEndAllowThreads(__tstate);
24786 if (PyErr_Occurred()) SWIG_fail;
24787 }
24788 {
24789 wxPoint * resultptr;
36ed4f51 24790 resultptr = new wxPoint((wxPoint &)(result));
d55e5bfc
RD
24791 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
24792 }
24793 return resultobj;
24794 fail:
24795 return NULL;
24796}
24797
24798
c370783e 24799static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24800 PyObject *resultobj;
24801 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24802 long arg2 ;
24803 int arg3 = (int) wxLIST_RECT_BOUNDS ;
24804 wxRect result;
24805 PyObject * obj0 = 0 ;
24806 PyObject * obj1 = 0 ;
24807 PyObject * obj2 = 0 ;
24808 char *kwnames[] = {
24809 (char *) "self",(char *) "item",(char *) "code", NULL
24810 };
24811
24812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItemRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
24813 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24814 if (SWIG_arg_fail(1)) SWIG_fail;
24815 {
24816 arg2 = (long)(SWIG_As_long(obj1));
24817 if (SWIG_arg_fail(2)) SWIG_fail;
24818 }
d55e5bfc 24819 if (obj2) {
36ed4f51
RD
24820 {
24821 arg3 = (int)(SWIG_As_int(obj2));
24822 if (SWIG_arg_fail(3)) SWIG_fail;
24823 }
d55e5bfc
RD
24824 }
24825 {
24826 PyThreadState* __tstate = wxPyBeginAllowThreads();
24827 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
24828
24829 wxPyEndAllowThreads(__tstate);
24830 if (PyErr_Occurred()) SWIG_fail;
24831 }
24832 {
24833 wxRect * resultptr;
36ed4f51 24834 resultptr = new wxRect((wxRect &)(result));
d55e5bfc
RD
24835 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
24836 }
24837 return resultobj;
24838 fail:
24839 return NULL;
24840}
24841
24842
c370783e 24843static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24844 PyObject *resultobj;
24845 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24846 long arg2 ;
24847 wxPoint *arg3 = 0 ;
24848 bool result;
24849 wxPoint temp3 ;
24850 PyObject * obj0 = 0 ;
24851 PyObject * obj1 = 0 ;
24852 PyObject * obj2 = 0 ;
24853 char *kwnames[] = {
24854 (char *) "self",(char *) "item",(char *) "pos", NULL
24855 };
24856
24857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
24858 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24859 if (SWIG_arg_fail(1)) SWIG_fail;
24860 {
24861 arg2 = (long)(SWIG_As_long(obj1));
24862 if (SWIG_arg_fail(2)) SWIG_fail;
24863 }
d55e5bfc
RD
24864 {
24865 arg3 = &temp3;
24866 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24867 }
24868 {
24869 PyThreadState* __tstate = wxPyBeginAllowThreads();
24870 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
24871
24872 wxPyEndAllowThreads(__tstate);
24873 if (PyErr_Occurred()) SWIG_fail;
24874 }
24875 {
24876 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24877 }
24878 return resultobj;
24879 fail:
24880 return NULL;
24881}
24882
24883
c370783e 24884static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24885 PyObject *resultobj;
24886 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24887 int result;
24888 PyObject * obj0 = 0 ;
24889 char *kwnames[] = {
24890 (char *) "self", NULL
24891 };
24892
24893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemCount",kwnames,&obj0)) goto fail;
36ed4f51
RD
24894 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24895 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24896 {
24897 PyThreadState* __tstate = wxPyBeginAllowThreads();
24898 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
24899
24900 wxPyEndAllowThreads(__tstate);
24901 if (PyErr_Occurred()) SWIG_fail;
24902 }
36ed4f51
RD
24903 {
24904 resultobj = SWIG_From_int((int)(result));
24905 }
d55e5bfc
RD
24906 return resultobj;
24907 fail:
24908 return NULL;
24909}
24910
24911
c370783e 24912static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24913 PyObject *resultobj;
24914 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24915 int result;
24916 PyObject * obj0 = 0 ;
24917 char *kwnames[] = {
24918 (char *) "self", NULL
24919 };
24920
24921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
36ed4f51
RD
24922 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24923 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24924 {
24925 PyThreadState* __tstate = wxPyBeginAllowThreads();
24926 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
24927
24928 wxPyEndAllowThreads(__tstate);
24929 if (PyErr_Occurred()) SWIG_fail;
24930 }
36ed4f51
RD
24931 {
24932 resultobj = SWIG_From_int((int)(result));
24933 }
d55e5bfc
RD
24934 return resultobj;
24935 fail:
24936 return NULL;
24937}
24938
24939
c370783e 24940static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24941 PyObject *resultobj;
24942 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24943 wxSize result;
24944 PyObject * obj0 = 0 ;
24945 char *kwnames[] = {
24946 (char *) "self", NULL
24947 };
24948
24949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
36ed4f51
RD
24950 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24951 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24952 {
24953 PyThreadState* __tstate = wxPyBeginAllowThreads();
24954 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
24955
24956 wxPyEndAllowThreads(__tstate);
24957 if (PyErr_Occurred()) SWIG_fail;
24958 }
24959 {
24960 wxSize * resultptr;
36ed4f51 24961 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
24962 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
24963 }
24964 return resultobj;
24965 fail:
24966 return NULL;
24967}
24968
24969
c370783e 24970static PyObject *_wrap_ListCtrl_SetItemSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24971 PyObject *resultobj;
24972 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24973 int arg2 ;
b411df4a 24974 bool arg3 = (bool) false ;
d55e5bfc
RD
24975 PyObject * obj0 = 0 ;
24976 PyObject * obj1 = 0 ;
24977 PyObject * obj2 = 0 ;
24978 char *kwnames[] = {
24979 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
24980 };
24981
24982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
24983 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24984 if (SWIG_arg_fail(1)) SWIG_fail;
24985 {
24986 arg2 = (int)(SWIG_As_int(obj1));
24987 if (SWIG_arg_fail(2)) SWIG_fail;
24988 }
d55e5bfc 24989 if (obj2) {
36ed4f51
RD
24990 {
24991 arg3 = (bool)(SWIG_As_bool(obj2));
24992 if (SWIG_arg_fail(3)) SWIG_fail;
24993 }
d55e5bfc
RD
24994 }
24995 {
24996 PyThreadState* __tstate = wxPyBeginAllowThreads();
24997 (arg1)->SetItemSpacing(arg2,arg3);
24998
24999 wxPyEndAllowThreads(__tstate);
25000 if (PyErr_Occurred()) SWIG_fail;
25001 }
25002 Py_INCREF(Py_None); resultobj = Py_None;
25003 return resultobj;
25004 fail:
25005 return NULL;
25006}
25007
25008
c370783e 25009static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25010 PyObject *resultobj;
25011 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25012 int result;
25013 PyObject * obj0 = 0 ;
25014 char *kwnames[] = {
25015 (char *) "self", NULL
25016 };
25017
25018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames,&obj0)) goto fail;
36ed4f51
RD
25019 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25020 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25021 {
25022 PyThreadState* __tstate = wxPyBeginAllowThreads();
25023 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
25024
25025 wxPyEndAllowThreads(__tstate);
25026 if (PyErr_Occurred()) SWIG_fail;
25027 }
36ed4f51
RD
25028 {
25029 resultobj = SWIG_From_int((int)(result));
25030 }
d55e5bfc
RD
25031 return resultobj;
25032 fail:
25033 return NULL;
25034}
25035
25036
c370783e 25037static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25038 PyObject *resultobj;
25039 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25040 wxColour result;
25041 PyObject * obj0 = 0 ;
25042 char *kwnames[] = {
25043 (char *) "self", NULL
25044 };
25045
25046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",kwnames,&obj0)) goto fail;
36ed4f51
RD
25047 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25048 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25049 {
25050 PyThreadState* __tstate = wxPyBeginAllowThreads();
25051 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
25052
25053 wxPyEndAllowThreads(__tstate);
25054 if (PyErr_Occurred()) SWIG_fail;
25055 }
25056 {
25057 wxColour * resultptr;
36ed4f51 25058 resultptr = new wxColour((wxColour &)(result));
d55e5bfc
RD
25059 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
25060 }
25061 return resultobj;
25062 fail:
25063 return NULL;
25064}
25065
25066
c370783e 25067static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25068 PyObject *resultobj;
25069 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25070 wxColour *arg2 = 0 ;
25071 wxColour temp2 ;
25072 PyObject * obj0 = 0 ;
25073 PyObject * obj1 = 0 ;
25074 char *kwnames[] = {
25075 (char *) "self",(char *) "col", NULL
25076 };
25077
25078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
25079 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25080 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25081 {
25082 arg2 = &temp2;
25083 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
25084 }
25085 {
25086 PyThreadState* __tstate = wxPyBeginAllowThreads();
25087 (arg1)->SetTextColour((wxColour const &)*arg2);
25088
25089 wxPyEndAllowThreads(__tstate);
25090 if (PyErr_Occurred()) SWIG_fail;
25091 }
25092 Py_INCREF(Py_None); resultobj = Py_None;
25093 return resultobj;
25094 fail:
25095 return NULL;
25096}
25097
25098
c370783e 25099static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25100 PyObject *resultobj;
25101 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25102 long result;
25103 PyObject * obj0 = 0 ;
25104 char *kwnames[] = {
25105 (char *) "self", NULL
25106 };
25107
25108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
36ed4f51
RD
25109 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25110 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25111 {
25112 PyThreadState* __tstate = wxPyBeginAllowThreads();
25113 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
25114
25115 wxPyEndAllowThreads(__tstate);
25116 if (PyErr_Occurred()) SWIG_fail;
25117 }
36ed4f51
RD
25118 {
25119 resultobj = SWIG_From_long((long)(result));
25120 }
d55e5bfc
RD
25121 return resultobj;
25122 fail:
25123 return NULL;
25124}
25125
25126
c370783e 25127static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25128 PyObject *resultobj;
25129 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25130 long arg2 ;
b411df4a 25131 bool arg3 = (bool) true ;
d55e5bfc
RD
25132 PyObject * obj0 = 0 ;
25133 PyObject * obj1 = 0 ;
25134 PyObject * obj2 = 0 ;
25135 char *kwnames[] = {
25136 (char *) "self",(char *) "style",(char *) "add", NULL
25137 };
25138
25139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
25140 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25141 if (SWIG_arg_fail(1)) SWIG_fail;
25142 {
25143 arg2 = (long)(SWIG_As_long(obj1));
25144 if (SWIG_arg_fail(2)) SWIG_fail;
25145 }
d55e5bfc 25146 if (obj2) {
36ed4f51
RD
25147 {
25148 arg3 = (bool)(SWIG_As_bool(obj2));
25149 if (SWIG_arg_fail(3)) SWIG_fail;
25150 }
d55e5bfc
RD
25151 }
25152 {
25153 PyThreadState* __tstate = wxPyBeginAllowThreads();
25154 (arg1)->SetSingleStyle(arg2,arg3);
25155
25156 wxPyEndAllowThreads(__tstate);
25157 if (PyErr_Occurred()) SWIG_fail;
25158 }
25159 Py_INCREF(Py_None); resultobj = Py_None;
25160 return resultobj;
25161 fail:
25162 return NULL;
25163}
25164
25165
c370783e 25166static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25167 PyObject *resultobj;
25168 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25169 long arg2 ;
25170 PyObject * obj0 = 0 ;
25171 PyObject * obj1 = 0 ;
25172 char *kwnames[] = {
25173 (char *) "self",(char *) "style", NULL
25174 };
25175
25176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
25177 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25178 if (SWIG_arg_fail(1)) SWIG_fail;
25179 {
25180 arg2 = (long)(SWIG_As_long(obj1));
25181 if (SWIG_arg_fail(2)) SWIG_fail;
25182 }
d55e5bfc
RD
25183 {
25184 PyThreadState* __tstate = wxPyBeginAllowThreads();
25185 (arg1)->SetWindowStyleFlag(arg2);
25186
25187 wxPyEndAllowThreads(__tstate);
25188 if (PyErr_Occurred()) SWIG_fail;
25189 }
25190 Py_INCREF(Py_None); resultobj = Py_None;
25191 return resultobj;
25192 fail:
25193 return NULL;
25194}
25195
25196
c370783e 25197static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25198 PyObject *resultobj;
25199 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25200 long arg2 ;
25201 int arg3 = (int) wxLIST_NEXT_ALL ;
25202 int arg4 = (int) wxLIST_STATE_DONTCARE ;
25203 long result;
25204 PyObject * obj0 = 0 ;
25205 PyObject * obj1 = 0 ;
25206 PyObject * obj2 = 0 ;
25207 PyObject * obj3 = 0 ;
25208 char *kwnames[] = {
25209 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
25210 };
25211
25212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
25213 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25214 if (SWIG_arg_fail(1)) SWIG_fail;
25215 {
25216 arg2 = (long)(SWIG_As_long(obj1));
25217 if (SWIG_arg_fail(2)) SWIG_fail;
25218 }
d55e5bfc 25219 if (obj2) {
36ed4f51
RD
25220 {
25221 arg3 = (int)(SWIG_As_int(obj2));
25222 if (SWIG_arg_fail(3)) SWIG_fail;
25223 }
d55e5bfc
RD
25224 }
25225 if (obj3) {
36ed4f51
RD
25226 {
25227 arg4 = (int)(SWIG_As_int(obj3));
25228 if (SWIG_arg_fail(4)) SWIG_fail;
25229 }
d55e5bfc
RD
25230 }
25231 {
25232 PyThreadState* __tstate = wxPyBeginAllowThreads();
25233 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
25234
25235 wxPyEndAllowThreads(__tstate);
25236 if (PyErr_Occurred()) SWIG_fail;
25237 }
36ed4f51
RD
25238 {
25239 resultobj = SWIG_From_long((long)(result));
25240 }
d55e5bfc
RD
25241 return resultobj;
25242 fail:
25243 return NULL;
25244}
25245
25246
c370783e 25247static PyObject *_wrap_ListCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25248 PyObject *resultobj;
25249 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25250 int arg2 ;
25251 wxImageList *result;
25252 PyObject * obj0 = 0 ;
25253 PyObject * obj1 = 0 ;
25254 char *kwnames[] = {
25255 (char *) "self",(char *) "which", NULL
25256 };
25257
25258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetImageList",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
25259 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25260 if (SWIG_arg_fail(1)) SWIG_fail;
25261 {
25262 arg2 = (int)(SWIG_As_int(obj1));
25263 if (SWIG_arg_fail(2)) SWIG_fail;
25264 }
d55e5bfc
RD
25265 {
25266 PyThreadState* __tstate = wxPyBeginAllowThreads();
25267 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
25268
25269 wxPyEndAllowThreads(__tstate);
25270 if (PyErr_Occurred()) SWIG_fail;
25271 }
25272 {
412d302d 25273 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
25274 }
25275 return resultobj;
25276 fail:
25277 return NULL;
25278}
25279
25280
c370783e 25281static PyObject *_wrap_ListCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25282 PyObject *resultobj;
25283 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25284 wxImageList *arg2 = (wxImageList *) 0 ;
25285 int arg3 ;
25286 PyObject * obj0 = 0 ;
25287 PyObject * obj1 = 0 ;
25288 PyObject * obj2 = 0 ;
25289 char *kwnames[] = {
25290 (char *) "self",(char *) "imageList",(char *) "which", NULL
25291 };
25292
25293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
25294 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25295 if (SWIG_arg_fail(1)) SWIG_fail;
25296 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
25297 if (SWIG_arg_fail(2)) SWIG_fail;
25298 {
25299 arg3 = (int)(SWIG_As_int(obj2));
25300 if (SWIG_arg_fail(3)) SWIG_fail;
25301 }
d55e5bfc
RD
25302 {
25303 PyThreadState* __tstate = wxPyBeginAllowThreads();
25304 (arg1)->SetImageList(arg2,arg3);
25305
25306 wxPyEndAllowThreads(__tstate);
25307 if (PyErr_Occurred()) SWIG_fail;
25308 }
25309 Py_INCREF(Py_None); resultobj = Py_None;
25310 return resultobj;
25311 fail:
25312 return NULL;
25313}
25314
25315
c370783e 25316static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25317 PyObject *resultobj;
25318 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25319 wxImageList *arg2 = (wxImageList *) 0 ;
25320 int arg3 ;
25321 PyObject * obj0 = 0 ;
25322 PyObject * obj1 = 0 ;
25323 PyObject * obj2 = 0 ;
25324 char *kwnames[] = {
25325 (char *) "self",(char *) "imageList",(char *) "which", NULL
25326 };
25327
25328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
25329 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25330 if (SWIG_arg_fail(1)) SWIG_fail;
25331 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
25332 if (SWIG_arg_fail(2)) SWIG_fail;
25333 {
25334 arg3 = (int)(SWIG_As_int(obj2));
25335 if (SWIG_arg_fail(3)) SWIG_fail;
25336 }
d55e5bfc
RD
25337 {
25338 PyThreadState* __tstate = wxPyBeginAllowThreads();
25339 (arg1)->AssignImageList(arg2,arg3);
25340
25341 wxPyEndAllowThreads(__tstate);
25342 if (PyErr_Occurred()) SWIG_fail;
25343 }
25344 Py_INCREF(Py_None); resultobj = Py_None;
25345 return resultobj;
25346 fail:
25347 return NULL;
25348}
25349
25350
c370783e 25351static PyObject *_wrap_ListCtrl_InReportView(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25352 PyObject *resultobj;
25353 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25354 bool result;
25355 PyObject * obj0 = 0 ;
25356 char *kwnames[] = {
25357 (char *) "self", NULL
25358 };
25359
25360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_InReportView",kwnames,&obj0)) goto fail;
36ed4f51
RD
25361 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25362 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25363 {
25364 PyThreadState* __tstate = wxPyBeginAllowThreads();
25365 result = (bool)((wxPyListCtrl const *)arg1)->InReportView();
25366
25367 wxPyEndAllowThreads(__tstate);
25368 if (PyErr_Occurred()) SWIG_fail;
25369 }
25370 {
25371 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25372 }
25373 return resultobj;
25374 fail:
25375 return NULL;
25376}
25377
25378
c370783e 25379static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25380 PyObject *resultobj;
25381 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25382 bool result;
25383 PyObject * obj0 = 0 ;
25384 char *kwnames[] = {
25385 (char *) "self", NULL
25386 };
25387
25388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_IsVirtual",kwnames,&obj0)) goto fail;
36ed4f51
RD
25389 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25390 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25391 {
25392 PyThreadState* __tstate = wxPyBeginAllowThreads();
25393 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
25394
25395 wxPyEndAllowThreads(__tstate);
25396 if (PyErr_Occurred()) SWIG_fail;
25397 }
25398 {
25399 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25400 }
25401 return resultobj;
25402 fail:
25403 return NULL;
25404}
25405
25406
c370783e 25407static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25408 PyObject *resultobj;
25409 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25410 long arg2 ;
25411 PyObject * obj0 = 0 ;
25412 PyObject * obj1 = 0 ;
25413 char *kwnames[] = {
25414 (char *) "self",(char *) "item", NULL
25415 };
25416
25417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_RefreshItem",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
25418 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25419 if (SWIG_arg_fail(1)) SWIG_fail;
25420 {
25421 arg2 = (long)(SWIG_As_long(obj1));
25422 if (SWIG_arg_fail(2)) SWIG_fail;
25423 }
d55e5bfc
RD
25424 {
25425 PyThreadState* __tstate = wxPyBeginAllowThreads();
25426 (arg1)->RefreshItem(arg2);
25427
25428 wxPyEndAllowThreads(__tstate);
25429 if (PyErr_Occurred()) SWIG_fail;
25430 }
25431 Py_INCREF(Py_None); resultobj = Py_None;
25432 return resultobj;
25433 fail:
25434 return NULL;
25435}
25436
25437
c370783e 25438static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25439 PyObject *resultobj;
25440 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25441 long arg2 ;
25442 long arg3 ;
25443 PyObject * obj0 = 0 ;
25444 PyObject * obj1 = 0 ;
25445 PyObject * obj2 = 0 ;
25446 char *kwnames[] = {
25447 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
25448 };
25449
25450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_RefreshItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
25451 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25452 if (SWIG_arg_fail(1)) SWIG_fail;
25453 {
25454 arg2 = (long)(SWIG_As_long(obj1));
25455 if (SWIG_arg_fail(2)) SWIG_fail;
25456 }
25457 {
25458 arg3 = (long)(SWIG_As_long(obj2));
25459 if (SWIG_arg_fail(3)) SWIG_fail;
25460 }
d55e5bfc
RD
25461 {
25462 PyThreadState* __tstate = wxPyBeginAllowThreads();
25463 (arg1)->RefreshItems(arg2,arg3);
25464
25465 wxPyEndAllowThreads(__tstate);
25466 if (PyErr_Occurred()) SWIG_fail;
25467 }
25468 Py_INCREF(Py_None); resultobj = Py_None;
25469 return resultobj;
25470 fail:
25471 return NULL;
25472}
25473
25474
c370783e 25475static PyObject *_wrap_ListCtrl_Arrange(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25476 PyObject *resultobj;
25477 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25478 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
25479 bool result;
25480 PyObject * obj0 = 0 ;
25481 PyObject * obj1 = 0 ;
25482 char *kwnames[] = {
25483 (char *) "self",(char *) "flag", NULL
25484 };
25485
25486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListCtrl_Arrange",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
25487 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25488 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 25489 if (obj1) {
36ed4f51
RD
25490 {
25491 arg2 = (int)(SWIG_As_int(obj1));
25492 if (SWIG_arg_fail(2)) SWIG_fail;
25493 }
d55e5bfc
RD
25494 }
25495 {
25496 PyThreadState* __tstate = wxPyBeginAllowThreads();
25497 result = (bool)(arg1)->Arrange(arg2);
25498
25499 wxPyEndAllowThreads(__tstate);
25500 if (PyErr_Occurred()) SWIG_fail;
25501 }
25502 {
25503 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25504 }
25505 return resultobj;
25506 fail:
25507 return NULL;
25508}
25509
25510
c370783e 25511static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25512 PyObject *resultobj;
25513 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25514 long arg2 ;
25515 bool result;
25516 PyObject * obj0 = 0 ;
25517 PyObject * obj1 = 0 ;
25518 char *kwnames[] = {
25519 (char *) "self",(char *) "item", NULL
25520 };
25521
25522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
25523 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25524 if (SWIG_arg_fail(1)) SWIG_fail;
25525 {
25526 arg2 = (long)(SWIG_As_long(obj1));
25527 if (SWIG_arg_fail(2)) SWIG_fail;
25528 }
d55e5bfc
RD
25529 {
25530 PyThreadState* __tstate = wxPyBeginAllowThreads();
25531 result = (bool)(arg1)->DeleteItem(arg2);
25532
25533 wxPyEndAllowThreads(__tstate);
25534 if (PyErr_Occurred()) SWIG_fail;
25535 }
25536 {
25537 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25538 }
25539 return resultobj;
25540 fail:
25541 return NULL;
25542}
25543
25544
c370783e 25545static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25546 PyObject *resultobj;
25547 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25548 bool result;
25549 PyObject * obj0 = 0 ;
25550 char *kwnames[] = {
25551 (char *) "self", NULL
25552 };
25553
25554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
36ed4f51
RD
25555 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25556 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25557 {
25558 PyThreadState* __tstate = wxPyBeginAllowThreads();
25559 result = (bool)(arg1)->DeleteAllItems();
25560
25561 wxPyEndAllowThreads(__tstate);
25562 if (PyErr_Occurred()) SWIG_fail;
25563 }
25564 {
25565 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25566 }
25567 return resultobj;
25568 fail:
25569 return NULL;
25570}
25571
25572
c370783e 25573static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25574 PyObject *resultobj;
25575 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25576 int arg2 ;
25577 bool result;
25578 PyObject * obj0 = 0 ;
25579 PyObject * obj1 = 0 ;
25580 char *kwnames[] = {
25581 (char *) "self",(char *) "col", NULL
25582 };
25583
25584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteColumn",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
25585 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25586 if (SWIG_arg_fail(1)) SWIG_fail;
25587 {
25588 arg2 = (int)(SWIG_As_int(obj1));
25589 if (SWIG_arg_fail(2)) SWIG_fail;
25590 }
d55e5bfc
RD
25591 {
25592 PyThreadState* __tstate = wxPyBeginAllowThreads();
25593 result = (bool)(arg1)->DeleteColumn(arg2);
25594
25595 wxPyEndAllowThreads(__tstate);
25596 if (PyErr_Occurred()) SWIG_fail;
25597 }
25598 {
25599 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25600 }
25601 return resultobj;
25602 fail:
25603 return NULL;
25604}
25605
25606
c370783e 25607static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25608 PyObject *resultobj;
25609 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25610 bool result;
25611 PyObject * obj0 = 0 ;
25612 char *kwnames[] = {
25613 (char *) "self", NULL
25614 };
25615
25616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
36ed4f51
RD
25617 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25618 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25619 {
25620 PyThreadState* __tstate = wxPyBeginAllowThreads();
25621 result = (bool)(arg1)->DeleteAllColumns();
25622
25623 wxPyEndAllowThreads(__tstate);
25624 if (PyErr_Occurred()) SWIG_fail;
25625 }
25626 {
25627 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25628 }
25629 return resultobj;
25630 fail:
25631 return NULL;
25632}
25633
25634
c370783e 25635static PyObject *_wrap_ListCtrl_ClearAll(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25636 PyObject *resultobj;
25637 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25638 PyObject * obj0 = 0 ;
25639 char *kwnames[] = {
25640 (char *) "self", NULL
25641 };
25642
25643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) goto fail;
36ed4f51
RD
25644 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25645 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25646 {
25647 PyThreadState* __tstate = wxPyBeginAllowThreads();
25648 (arg1)->ClearAll();
25649
25650 wxPyEndAllowThreads(__tstate);
25651 if (PyErr_Occurred()) SWIG_fail;
25652 }
25653 Py_INCREF(Py_None); resultobj = Py_None;
25654 return resultobj;
25655 fail:
25656 return NULL;
25657}
25658
25659
c370783e 25660static PyObject *_wrap_ListCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25661 PyObject *resultobj;
25662 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25663 long arg2 ;
25664 PyObject * obj0 = 0 ;
25665 PyObject * obj1 = 0 ;
25666 char *kwnames[] = {
25667 (char *) "self",(char *) "item", NULL
25668 };
25669
25670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
25671 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25672 if (SWIG_arg_fail(1)) SWIG_fail;
25673 {
25674 arg2 = (long)(SWIG_As_long(obj1));
25675 if (SWIG_arg_fail(2)) SWIG_fail;
25676 }
d55e5bfc
RD
25677 {
25678 PyThreadState* __tstate = wxPyBeginAllowThreads();
25679 (arg1)->EditLabel(arg2);
25680
25681 wxPyEndAllowThreads(__tstate);
25682 if (PyErr_Occurred()) SWIG_fail;
25683 }
25684 Py_INCREF(Py_None); resultobj = Py_None;
25685 return resultobj;
25686 fail:
25687 return NULL;
25688}
25689
25690
c370783e 25691static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25692 PyObject *resultobj;
25693 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25694 long arg2 ;
25695 bool result;
25696 PyObject * obj0 = 0 ;
25697 PyObject * obj1 = 0 ;
25698 char *kwnames[] = {
25699 (char *) "self",(char *) "item", NULL
25700 };
25701
25702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
25703 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25704 if (SWIG_arg_fail(1)) SWIG_fail;
25705 {
25706 arg2 = (long)(SWIG_As_long(obj1));
25707 if (SWIG_arg_fail(2)) SWIG_fail;
25708 }
d55e5bfc
RD
25709 {
25710 PyThreadState* __tstate = wxPyBeginAllowThreads();
25711 result = (bool)(arg1)->EnsureVisible(arg2);
25712
25713 wxPyEndAllowThreads(__tstate);
25714 if (PyErr_Occurred()) SWIG_fail;
25715 }
25716 {
25717 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25718 }
25719 return resultobj;
25720 fail:
25721 return NULL;
25722}
25723
25724
c370783e 25725static PyObject *_wrap_ListCtrl_FindItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25726 PyObject *resultobj;
25727 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25728 long arg2 ;
25729 wxString *arg3 = 0 ;
b411df4a 25730 bool arg4 = (bool) false ;
d55e5bfc 25731 long result;
b411df4a 25732 bool temp3 = false ;
d55e5bfc
RD
25733 PyObject * obj0 = 0 ;
25734 PyObject * obj1 = 0 ;
25735 PyObject * obj2 = 0 ;
25736 PyObject * obj3 = 0 ;
25737 char *kwnames[] = {
25738 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
25739 };
25740
25741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
25742 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25743 if (SWIG_arg_fail(1)) SWIG_fail;
25744 {
25745 arg2 = (long)(SWIG_As_long(obj1));
25746 if (SWIG_arg_fail(2)) SWIG_fail;
25747 }
d55e5bfc
RD
25748 {
25749 arg3 = wxString_in_helper(obj2);
25750 if (arg3 == NULL) SWIG_fail;
b411df4a 25751 temp3 = true;
d55e5bfc
RD
25752 }
25753 if (obj3) {
36ed4f51
RD
25754 {
25755 arg4 = (bool)(SWIG_As_bool(obj3));
25756 if (SWIG_arg_fail(4)) SWIG_fail;
25757 }
d55e5bfc
RD
25758 }
25759 {
25760 PyThreadState* __tstate = wxPyBeginAllowThreads();
25761 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
25762
25763 wxPyEndAllowThreads(__tstate);
25764 if (PyErr_Occurred()) SWIG_fail;
25765 }
36ed4f51
RD
25766 {
25767 resultobj = SWIG_From_long((long)(result));
25768 }
d55e5bfc
RD
25769 {
25770 if (temp3)
25771 delete arg3;
25772 }
25773 return resultobj;
25774 fail:
25775 {
25776 if (temp3)
25777 delete arg3;
25778 }
25779 return NULL;
25780}
25781
25782
c370783e 25783static PyObject *_wrap_ListCtrl_FindItemData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25784 PyObject *resultobj;
25785 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25786 long arg2 ;
25787 long arg3 ;
25788 long result;
25789 PyObject * obj0 = 0 ;
25790 PyObject * obj1 = 0 ;
25791 PyObject * obj2 = 0 ;
25792 char *kwnames[] = {
25793 (char *) "self",(char *) "start",(char *) "data", NULL
25794 };
25795
25796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_FindItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
25797 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25798 if (SWIG_arg_fail(1)) SWIG_fail;
25799 {
25800 arg2 = (long)(SWIG_As_long(obj1));
25801 if (SWIG_arg_fail(2)) SWIG_fail;
25802 }
25803 {
25804 arg3 = (long)(SWIG_As_long(obj2));
25805 if (SWIG_arg_fail(3)) SWIG_fail;
25806 }
d55e5bfc
RD
25807 {
25808 PyThreadState* __tstate = wxPyBeginAllowThreads();
25809 result = (long)(arg1)->FindItem(arg2,arg3);
25810
25811 wxPyEndAllowThreads(__tstate);
25812 if (PyErr_Occurred()) SWIG_fail;
25813 }
36ed4f51
RD
25814 {
25815 resultobj = SWIG_From_long((long)(result));
25816 }
d55e5bfc
RD
25817 return resultobj;
25818 fail:
25819 return NULL;
25820}
25821
25822
c370783e 25823static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25824 PyObject *resultobj;
25825 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25826 long arg2 ;
25827 wxPoint *arg3 = 0 ;
25828 int arg4 ;
25829 long result;
25830 wxPoint temp3 ;
25831 PyObject * obj0 = 0 ;
25832 PyObject * obj1 = 0 ;
25833 PyObject * obj2 = 0 ;
25834 PyObject * obj3 = 0 ;
25835 char *kwnames[] = {
25836 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
25837 };
25838
25839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
25840 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25841 if (SWIG_arg_fail(1)) SWIG_fail;
25842 {
25843 arg2 = (long)(SWIG_As_long(obj1));
25844 if (SWIG_arg_fail(2)) SWIG_fail;
25845 }
d55e5bfc
RD
25846 {
25847 arg3 = &temp3;
25848 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25849 }
36ed4f51
RD
25850 {
25851 arg4 = (int)(SWIG_As_int(obj3));
25852 if (SWIG_arg_fail(4)) SWIG_fail;
25853 }
d55e5bfc
RD
25854 {
25855 PyThreadState* __tstate = wxPyBeginAllowThreads();
25856 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
25857
25858 wxPyEndAllowThreads(__tstate);
25859 if (PyErr_Occurred()) SWIG_fail;
25860 }
36ed4f51
RD
25861 {
25862 resultobj = SWIG_From_long((long)(result));
25863 }
d55e5bfc
RD
25864 return resultobj;
25865 fail:
25866 return NULL;
25867}
25868
25869
c370783e 25870static PyObject *_wrap_ListCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25871 PyObject *resultobj;
25872 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25873 wxPoint *arg2 = 0 ;
25874 int *arg3 = 0 ;
25875 long result;
25876 wxPoint temp2 ;
25877 int temp3 ;
c370783e 25878 int res3 = 0 ;
d55e5bfc
RD
25879 PyObject * obj0 = 0 ;
25880 PyObject * obj1 = 0 ;
25881 char *kwnames[] = {
25882 (char *) "self",(char *) "point", NULL
25883 };
25884
c370783e 25885 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 25886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
25887 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25888 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25889 {
25890 arg2 = &temp2;
25891 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25892 }
25893 {
25894 PyThreadState* __tstate = wxPyBeginAllowThreads();
25895 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
25896
25897 wxPyEndAllowThreads(__tstate);
25898 if (PyErr_Occurred()) SWIG_fail;
25899 }
36ed4f51
RD
25900 {
25901 resultobj = SWIG_From_long((long)(result));
25902 }
c370783e
RD
25903 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
25904 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
25905 return resultobj;
25906 fail:
25907 return NULL;
25908}
25909
25910
c370783e 25911static PyObject *_wrap_ListCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25912 PyObject *resultobj;
25913 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25914 wxListItem *arg2 = 0 ;
25915 long result;
25916 PyObject * obj0 = 0 ;
25917 PyObject * obj1 = 0 ;
25918 char *kwnames[] = {
25919 (char *) "self",(char *) "info", NULL
25920 };
25921
25922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
25923 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25924 if (SWIG_arg_fail(1)) SWIG_fail;
25925 {
25926 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
25927 if (SWIG_arg_fail(2)) SWIG_fail;
25928 if (arg2 == NULL) {
25929 SWIG_null_ref("wxListItem");
25930 }
25931 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
25932 }
25933 {
25934 PyThreadState* __tstate = wxPyBeginAllowThreads();
25935 result = (long)(arg1)->InsertItem(*arg2);
25936
25937 wxPyEndAllowThreads(__tstate);
25938 if (PyErr_Occurred()) SWIG_fail;
25939 }
36ed4f51
RD
25940 {
25941 resultobj = SWIG_From_long((long)(result));
25942 }
d55e5bfc
RD
25943 return resultobj;
25944 fail:
25945 return NULL;
25946}
25947
25948
c370783e 25949static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25950 PyObject *resultobj;
25951 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25952 long arg2 ;
25953 wxString *arg3 = 0 ;
25954 long result;
b411df4a 25955 bool temp3 = false ;
d55e5bfc
RD
25956 PyObject * obj0 = 0 ;
25957 PyObject * obj1 = 0 ;
25958 PyObject * obj2 = 0 ;
25959 char *kwnames[] = {
25960 (char *) "self",(char *) "index",(char *) "label", NULL
25961 };
25962
25963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertStringItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
25964 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25965 if (SWIG_arg_fail(1)) SWIG_fail;
25966 {
25967 arg2 = (long)(SWIG_As_long(obj1));
25968 if (SWIG_arg_fail(2)) SWIG_fail;
25969 }
d55e5bfc
RD
25970 {
25971 arg3 = wxString_in_helper(obj2);
25972 if (arg3 == NULL) SWIG_fail;
b411df4a 25973 temp3 = true;
d55e5bfc
RD
25974 }
25975 {
25976 PyThreadState* __tstate = wxPyBeginAllowThreads();
25977 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3);
25978
25979 wxPyEndAllowThreads(__tstate);
25980 if (PyErr_Occurred()) SWIG_fail;
25981 }
36ed4f51
RD
25982 {
25983 resultobj = SWIG_From_long((long)(result));
25984 }
d55e5bfc
RD
25985 {
25986 if (temp3)
25987 delete arg3;
25988 }
25989 return resultobj;
25990 fail:
25991 {
25992 if (temp3)
25993 delete arg3;
25994 }
25995 return NULL;
25996}
25997
25998
c370783e 25999static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26000 PyObject *resultobj;
26001 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26002 long arg2 ;
26003 int arg3 ;
26004 long result;
26005 PyObject * obj0 = 0 ;
26006 PyObject * obj1 = 0 ;
26007 PyObject * obj2 = 0 ;
26008 char *kwnames[] = {
26009 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
26010 };
26011
26012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertImageItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
26013 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26014 if (SWIG_arg_fail(1)) SWIG_fail;
26015 {
26016 arg2 = (long)(SWIG_As_long(obj1));
26017 if (SWIG_arg_fail(2)) SWIG_fail;
26018 }
26019 {
26020 arg3 = (int)(SWIG_As_int(obj2));
26021 if (SWIG_arg_fail(3)) SWIG_fail;
26022 }
d55e5bfc
RD
26023 {
26024 PyThreadState* __tstate = wxPyBeginAllowThreads();
26025 result = (long)(arg1)->InsertItem(arg2,arg3);
26026
26027 wxPyEndAllowThreads(__tstate);
26028 if (PyErr_Occurred()) SWIG_fail;
26029 }
36ed4f51
RD
26030 {
26031 resultobj = SWIG_From_long((long)(result));
26032 }
d55e5bfc
RD
26033 return resultobj;
26034 fail:
26035 return NULL;
26036}
26037
26038
c370783e 26039static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26040 PyObject *resultobj;
26041 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26042 long arg2 ;
26043 wxString *arg3 = 0 ;
26044 int arg4 ;
26045 long result;
b411df4a 26046 bool temp3 = false ;
d55e5bfc
RD
26047 PyObject * obj0 = 0 ;
26048 PyObject * obj1 = 0 ;
26049 PyObject * obj2 = 0 ;
26050 PyObject * obj3 = 0 ;
26051 char *kwnames[] = {
26052 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
26053 };
26054
26055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
26056 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26057 if (SWIG_arg_fail(1)) SWIG_fail;
26058 {
26059 arg2 = (long)(SWIG_As_long(obj1));
26060 if (SWIG_arg_fail(2)) SWIG_fail;
26061 }
d55e5bfc
RD
26062 {
26063 arg3 = wxString_in_helper(obj2);
26064 if (arg3 == NULL) SWIG_fail;
b411df4a 26065 temp3 = true;
d55e5bfc 26066 }
36ed4f51
RD
26067 {
26068 arg4 = (int)(SWIG_As_int(obj3));
26069 if (SWIG_arg_fail(4)) SWIG_fail;
26070 }
d55e5bfc
RD
26071 {
26072 PyThreadState* __tstate = wxPyBeginAllowThreads();
26073 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
26074
26075 wxPyEndAllowThreads(__tstate);
26076 if (PyErr_Occurred()) SWIG_fail;
26077 }
36ed4f51
RD
26078 {
26079 resultobj = SWIG_From_long((long)(result));
26080 }
d55e5bfc
RD
26081 {
26082 if (temp3)
26083 delete arg3;
26084 }
26085 return resultobj;
26086 fail:
26087 {
26088 if (temp3)
26089 delete arg3;
26090 }
26091 return NULL;
26092}
26093
26094
c370783e 26095static PyObject *_wrap_ListCtrl_InsertColumnInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26096 PyObject *resultobj;
26097 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26098 long arg2 ;
26099 wxListItem *arg3 = 0 ;
26100 long result;
26101 PyObject * obj0 = 0 ;
26102 PyObject * obj1 = 0 ;
26103 PyObject * obj2 = 0 ;
26104 char *kwnames[] = {
26105 (char *) "self",(char *) "col",(char *) "info", NULL
26106 };
26107
26108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
26109 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26110 if (SWIG_arg_fail(1)) SWIG_fail;
26111 {
26112 arg2 = (long)(SWIG_As_long(obj1));
26113 if (SWIG_arg_fail(2)) SWIG_fail;
26114 }
26115 {
26116 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
26117 if (SWIG_arg_fail(3)) SWIG_fail;
26118 if (arg3 == NULL) {
26119 SWIG_null_ref("wxListItem");
26120 }
26121 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
26122 }
26123 {
26124 PyThreadState* __tstate = wxPyBeginAllowThreads();
26125 result = (long)(arg1)->InsertColumn(arg2,*arg3);
26126
26127 wxPyEndAllowThreads(__tstate);
26128 if (PyErr_Occurred()) SWIG_fail;
26129 }
36ed4f51
RD
26130 {
26131 resultobj = SWIG_From_long((long)(result));
26132 }
d55e5bfc
RD
26133 return resultobj;
26134 fail:
26135 return NULL;
26136}
26137
26138
c370783e 26139static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26140 PyObject *resultobj;
26141 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26142 long arg2 ;
26143 wxString *arg3 = 0 ;
26144 int arg4 = (int) wxLIST_FORMAT_LEFT ;
26145 int arg5 = (int) -1 ;
26146 long result;
b411df4a 26147 bool temp3 = false ;
d55e5bfc
RD
26148 PyObject * obj0 = 0 ;
26149 PyObject * obj1 = 0 ;
26150 PyObject * obj2 = 0 ;
26151 PyObject * obj3 = 0 ;
26152 PyObject * obj4 = 0 ;
26153 char *kwnames[] = {
26154 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
26155 };
26156
26157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
26158 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26159 if (SWIG_arg_fail(1)) SWIG_fail;
26160 {
26161 arg2 = (long)(SWIG_As_long(obj1));
26162 if (SWIG_arg_fail(2)) SWIG_fail;
26163 }
d55e5bfc
RD
26164 {
26165 arg3 = wxString_in_helper(obj2);
26166 if (arg3 == NULL) SWIG_fail;
b411df4a 26167 temp3 = true;
d55e5bfc
RD
26168 }
26169 if (obj3) {
36ed4f51
RD
26170 {
26171 arg4 = (int)(SWIG_As_int(obj3));
26172 if (SWIG_arg_fail(4)) SWIG_fail;
26173 }
d55e5bfc
RD
26174 }
26175 if (obj4) {
36ed4f51
RD
26176 {
26177 arg5 = (int)(SWIG_As_int(obj4));
26178 if (SWIG_arg_fail(5)) SWIG_fail;
26179 }
d55e5bfc
RD
26180 }
26181 {
26182 PyThreadState* __tstate = wxPyBeginAllowThreads();
26183 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
26184
26185 wxPyEndAllowThreads(__tstate);
26186 if (PyErr_Occurred()) SWIG_fail;
26187 }
36ed4f51
RD
26188 {
26189 resultobj = SWIG_From_long((long)(result));
26190 }
d55e5bfc
RD
26191 {
26192 if (temp3)
26193 delete arg3;
26194 }
26195 return resultobj;
26196 fail:
26197 {
26198 if (temp3)
26199 delete arg3;
26200 }
26201 return NULL;
26202}
26203
26204
c370783e 26205static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26206 PyObject *resultobj;
26207 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26208 long arg2 ;
26209 PyObject * obj0 = 0 ;
26210 PyObject * obj1 = 0 ;
26211 char *kwnames[] = {
26212 (char *) "self",(char *) "count", NULL
26213 };
26214
26215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26216 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26217 if (SWIG_arg_fail(1)) SWIG_fail;
26218 {
26219 arg2 = (long)(SWIG_As_long(obj1));
26220 if (SWIG_arg_fail(2)) SWIG_fail;
26221 }
d55e5bfc
RD
26222 {
26223 PyThreadState* __tstate = wxPyBeginAllowThreads();
26224 (arg1)->SetItemCount(arg2);
26225
26226 wxPyEndAllowThreads(__tstate);
26227 if (PyErr_Occurred()) SWIG_fail;
26228 }
26229 Py_INCREF(Py_None); resultobj = Py_None;
26230 return resultobj;
26231 fail:
26232 return NULL;
26233}
26234
26235
c370783e 26236static PyObject *_wrap_ListCtrl_ScrollList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26237 PyObject *resultobj;
26238 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26239 int arg2 ;
26240 int arg3 ;
26241 bool result;
26242 PyObject * obj0 = 0 ;
26243 PyObject * obj1 = 0 ;
26244 PyObject * obj2 = 0 ;
26245 char *kwnames[] = {
26246 (char *) "self",(char *) "dx",(char *) "dy", NULL
26247 };
26248
26249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_ScrollList",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
26250 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26251 if (SWIG_arg_fail(1)) SWIG_fail;
26252 {
26253 arg2 = (int)(SWIG_As_int(obj1));
26254 if (SWIG_arg_fail(2)) SWIG_fail;
26255 }
26256 {
26257 arg3 = (int)(SWIG_As_int(obj2));
26258 if (SWIG_arg_fail(3)) SWIG_fail;
26259 }
d55e5bfc
RD
26260 {
26261 PyThreadState* __tstate = wxPyBeginAllowThreads();
26262 result = (bool)(arg1)->ScrollList(arg2,arg3);
26263
26264 wxPyEndAllowThreads(__tstate);
26265 if (PyErr_Occurred()) SWIG_fail;
26266 }
26267 {
26268 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26269 }
26270 return resultobj;
26271 fail:
26272 return NULL;
26273}
26274
26275
c370783e 26276static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26277 PyObject *resultobj;
26278 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26279 long arg2 ;
26280 wxColour *arg3 = 0 ;
26281 wxColour temp3 ;
26282 PyObject * obj0 = 0 ;
26283 PyObject * obj1 = 0 ;
26284 PyObject * obj2 = 0 ;
26285 char *kwnames[] = {
26286 (char *) "self",(char *) "item",(char *) "col", NULL
26287 };
26288
26289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
26290 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26291 if (SWIG_arg_fail(1)) SWIG_fail;
26292 {
26293 arg2 = (long)(SWIG_As_long(obj1));
26294 if (SWIG_arg_fail(2)) SWIG_fail;
26295 }
d55e5bfc
RD
26296 {
26297 arg3 = &temp3;
26298 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
26299 }
26300 {
26301 PyThreadState* __tstate = wxPyBeginAllowThreads();
26302 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
26303
26304 wxPyEndAllowThreads(__tstate);
26305 if (PyErr_Occurred()) SWIG_fail;
26306 }
26307 Py_INCREF(Py_None); resultobj = Py_None;
26308 return resultobj;
26309 fail:
26310 return NULL;
26311}
26312
26313
c370783e 26314static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26315 PyObject *resultobj;
26316 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26317 long arg2 ;
26318 wxColour result;
26319 PyObject * obj0 = 0 ;
26320 PyObject * obj1 = 0 ;
26321 char *kwnames[] = {
26322 (char *) "self",(char *) "item", NULL
26323 };
26324
26325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26326 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26327 if (SWIG_arg_fail(1)) SWIG_fail;
26328 {
26329 arg2 = (long)(SWIG_As_long(obj1));
26330 if (SWIG_arg_fail(2)) SWIG_fail;
26331 }
d55e5bfc
RD
26332 {
26333 PyThreadState* __tstate = wxPyBeginAllowThreads();
26334 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
26335
26336 wxPyEndAllowThreads(__tstate);
26337 if (PyErr_Occurred()) SWIG_fail;
26338 }
26339 {
26340 wxColour * resultptr;
36ed4f51 26341 resultptr = new wxColour((wxColour &)(result));
d55e5bfc
RD
26342 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
26343 }
26344 return resultobj;
26345 fail:
26346 return NULL;
26347}
26348
26349
c370783e 26350static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26351 PyObject *resultobj;
26352 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26353 long arg2 ;
26354 wxColour *arg3 = 0 ;
26355 wxColour temp3 ;
26356 PyObject * obj0 = 0 ;
26357 PyObject * obj1 = 0 ;
26358 PyObject * obj2 = 0 ;
26359 char *kwnames[] = {
26360 (char *) "self",(char *) "item",(char *) "col", NULL
26361 };
26362
26363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
26364 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26365 if (SWIG_arg_fail(1)) SWIG_fail;
26366 {
26367 arg2 = (long)(SWIG_As_long(obj1));
26368 if (SWIG_arg_fail(2)) SWIG_fail;
26369 }
d55e5bfc
RD
26370 {
26371 arg3 = &temp3;
26372 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
26373 }
26374 {
26375 PyThreadState* __tstate = wxPyBeginAllowThreads();
26376 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
26377
26378 wxPyEndAllowThreads(__tstate);
26379 if (PyErr_Occurred()) SWIG_fail;
26380 }
26381 Py_INCREF(Py_None); resultobj = Py_None;
26382 return resultobj;
26383 fail:
26384 return NULL;
26385}
26386
26387
c370783e 26388static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26389 PyObject *resultobj;
26390 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26391 long arg2 ;
26392 wxColour result;
26393 PyObject * obj0 = 0 ;
26394 PyObject * obj1 = 0 ;
26395 char *kwnames[] = {
26396 (char *) "self",(char *) "item", NULL
26397 };
26398
26399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26400 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26401 if (SWIG_arg_fail(1)) SWIG_fail;
26402 {
26403 arg2 = (long)(SWIG_As_long(obj1));
26404 if (SWIG_arg_fail(2)) SWIG_fail;
26405 }
d55e5bfc
RD
26406 {
26407 PyThreadState* __tstate = wxPyBeginAllowThreads();
26408 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
26409
26410 wxPyEndAllowThreads(__tstate);
26411 if (PyErr_Occurred()) SWIG_fail;
26412 }
26413 {
26414 wxColour * resultptr;
36ed4f51 26415 resultptr = new wxColour((wxColour &)(result));
d55e5bfc
RD
26416 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
26417 }
26418 return resultobj;
26419 fail:
26420 return NULL;
26421}
26422
26423
c370783e 26424static PyObject *_wrap_ListCtrl_SortItems(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26425 PyObject *resultobj;
26426 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26427 PyObject *arg2 = (PyObject *) 0 ;
26428 bool result;
26429 PyObject * obj0 = 0 ;
26430 PyObject * obj1 = 0 ;
26431 char *kwnames[] = {
26432 (char *) "self",(char *) "func", NULL
26433 };
26434
26435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26436 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26437 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26438 arg2 = obj1;
26439 {
26440 PyThreadState* __tstate = wxPyBeginAllowThreads();
26441 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
26442
26443 wxPyEndAllowThreads(__tstate);
26444 if (PyErr_Occurred()) SWIG_fail;
26445 }
26446 {
26447 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26448 }
26449 return resultobj;
26450 fail:
26451 return NULL;
26452}
26453
26454
c370783e 26455static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26456 PyObject *resultobj;
26457 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26458 wxWindow *result;
26459 PyObject * obj0 = 0 ;
26460 char *kwnames[] = {
26461 (char *) "self", NULL
26462 };
26463
26464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
36ed4f51
RD
26465 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26466 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26467 {
26468 PyThreadState* __tstate = wxPyBeginAllowThreads();
26469 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
26470
26471 wxPyEndAllowThreads(__tstate);
26472 if (PyErr_Occurred()) SWIG_fail;
26473 }
26474 {
412d302d 26475 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
26476 }
26477 return resultobj;
26478 fail:
26479 return NULL;
26480}
26481
26482
c370783e 26483static PyObject *_wrap_ListCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 26484 PyObject *resultobj;
36ed4f51 26485 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
d55e5bfc
RD
26486 wxVisualAttributes result;
26487 PyObject * obj0 = 0 ;
26488 char *kwnames[] = {
26489 (char *) "variant", NULL
26490 };
26491
26492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
26493 if (obj0) {
36ed4f51
RD
26494 {
26495 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
26496 if (SWIG_arg_fail(1)) SWIG_fail;
26497 }
d55e5bfc
RD
26498 }
26499 {
0439c23b 26500 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
26501 PyThreadState* __tstate = wxPyBeginAllowThreads();
26502 result = wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
26503
26504 wxPyEndAllowThreads(__tstate);
110da5b0 26505 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
26506 }
26507 {
26508 wxVisualAttributes * resultptr;
36ed4f51 26509 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
d55e5bfc
RD
26510 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
26511 }
26512 return resultobj;
26513 fail:
26514 return NULL;
26515}
26516
26517
c370783e 26518static PyObject * ListCtrl_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
26519 PyObject *obj;
26520 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26521 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
26522 Py_INCREF(obj);
26523 return Py_BuildValue((char *)"");
26524}
c370783e 26525static PyObject *_wrap_new_ListView(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26526 PyObject *resultobj;
26527 wxWindow *arg1 = (wxWindow *) 0 ;
26528 int arg2 = (int) -1 ;
26529 wxPoint const &arg3_defvalue = wxDefaultPosition ;
26530 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
26531 wxSize const &arg4_defvalue = wxDefaultSize ;
26532 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
26533 long arg5 = (long) wxLC_REPORT ;
26534 wxValidator const &arg6_defvalue = wxDefaultValidator ;
26535 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
26536 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
26537 wxString *arg7 = (wxString *) &arg7_defvalue ;
26538 wxListView *result;
26539 wxPoint temp3 ;
26540 wxSize temp4 ;
b411df4a 26541 bool temp7 = false ;
d55e5bfc
RD
26542 PyObject * obj0 = 0 ;
26543 PyObject * obj1 = 0 ;
26544 PyObject * obj2 = 0 ;
26545 PyObject * obj3 = 0 ;
26546 PyObject * obj4 = 0 ;
26547 PyObject * obj5 = 0 ;
26548 PyObject * obj6 = 0 ;
26549 char *kwnames[] = {
26550 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26551 };
26552
26553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListView",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
26554 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26555 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 26556 if (obj1) {
36ed4f51
RD
26557 {
26558 arg2 = (int)(SWIG_As_int(obj1));
26559 if (SWIG_arg_fail(2)) SWIG_fail;
26560 }
d55e5bfc
RD
26561 }
26562 if (obj2) {
26563 {
26564 arg3 = &temp3;
26565 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
26566 }
26567 }
26568 if (obj3) {
26569 {
26570 arg4 = &temp4;
26571 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
26572 }
26573 }
26574 if (obj4) {
36ed4f51
RD
26575 {
26576 arg5 = (long)(SWIG_As_long(obj4));
26577 if (SWIG_arg_fail(5)) SWIG_fail;
26578 }
d55e5bfc
RD
26579 }
26580 if (obj5) {
36ed4f51
RD
26581 {
26582 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
26583 if (SWIG_arg_fail(6)) SWIG_fail;
26584 if (arg6 == NULL) {
26585 SWIG_null_ref("wxValidator");
26586 }
26587 if (SWIG_arg_fail(6)) SWIG_fail;
d55e5bfc
RD
26588 }
26589 }
26590 if (obj6) {
26591 {
26592 arg7 = wxString_in_helper(obj6);
26593 if (arg7 == NULL) SWIG_fail;
b411df4a 26594 temp7 = true;
d55e5bfc
RD
26595 }
26596 }
26597 {
0439c23b 26598 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
26599 PyThreadState* __tstate = wxPyBeginAllowThreads();
26600 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
26601
26602 wxPyEndAllowThreads(__tstate);
110da5b0 26603 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
26604 }
26605 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
26606 {
26607 if (temp7)
26608 delete arg7;
26609 }
26610 return resultobj;
26611 fail:
26612 {
26613 if (temp7)
26614 delete arg7;
26615 }
26616 return NULL;
26617}
26618
26619
c370783e 26620static PyObject *_wrap_new_PreListView(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26621 PyObject *resultobj;
26622 wxListView *result;
26623 char *kwnames[] = {
26624 NULL
26625 };
26626
26627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
26628 {
0439c23b 26629 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
26630 PyThreadState* __tstate = wxPyBeginAllowThreads();
26631 result = (wxListView *)new wxListView();
26632
26633 wxPyEndAllowThreads(__tstate);
110da5b0 26634 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
26635 }
26636 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
26637 return resultobj;
26638 fail:
26639 return NULL;
26640}
26641
26642
c370783e 26643static PyObject *_wrap_ListView_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26644 PyObject *resultobj;
26645 wxListView *arg1 = (wxListView *) 0 ;
26646 wxWindow *arg2 = (wxWindow *) 0 ;
26647 int arg3 = (int) -1 ;
26648 wxPoint const &arg4_defvalue = wxDefaultPosition ;
26649 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
26650 wxSize const &arg5_defvalue = wxDefaultSize ;
26651 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
26652 long arg6 = (long) wxLC_REPORT ;
26653 wxValidator const &arg7_defvalue = wxDefaultValidator ;
26654 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
26655 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
26656 wxString *arg8 = (wxString *) &arg8_defvalue ;
26657 bool result;
26658 wxPoint temp4 ;
26659 wxSize temp5 ;
b411df4a 26660 bool temp8 = false ;
d55e5bfc
RD
26661 PyObject * obj0 = 0 ;
26662 PyObject * obj1 = 0 ;
26663 PyObject * obj2 = 0 ;
26664 PyObject * obj3 = 0 ;
26665 PyObject * obj4 = 0 ;
26666 PyObject * obj5 = 0 ;
26667 PyObject * obj6 = 0 ;
26668 PyObject * obj7 = 0 ;
26669 char *kwnames[] = {
26670 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26671 };
26672
26673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListView_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
26674 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26675 if (SWIG_arg_fail(1)) SWIG_fail;
26676 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26677 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 26678 if (obj2) {
36ed4f51
RD
26679 {
26680 arg3 = (int)(SWIG_As_int(obj2));
26681 if (SWIG_arg_fail(3)) SWIG_fail;
26682 }
d55e5bfc
RD
26683 }
26684 if (obj3) {
26685 {
26686 arg4 = &temp4;
26687 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
26688 }
26689 }
26690 if (obj4) {
26691 {
26692 arg5 = &temp5;
26693 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
26694 }
26695 }
26696 if (obj5) {
36ed4f51
RD
26697 {
26698 arg6 = (long)(SWIG_As_long(obj5));
26699 if (SWIG_arg_fail(6)) SWIG_fail;
26700 }
d55e5bfc
RD
26701 }
26702 if (obj6) {
36ed4f51
RD
26703 {
26704 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
26705 if (SWIG_arg_fail(7)) SWIG_fail;
26706 if (arg7 == NULL) {
26707 SWIG_null_ref("wxValidator");
26708 }
26709 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
26710 }
26711 }
26712 if (obj7) {
26713 {
26714 arg8 = wxString_in_helper(obj7);
26715 if (arg8 == NULL) SWIG_fail;
b411df4a 26716 temp8 = true;
d55e5bfc
RD
26717 }
26718 }
26719 {
26720 PyThreadState* __tstate = wxPyBeginAllowThreads();
26721 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
26722
26723 wxPyEndAllowThreads(__tstate);
26724 if (PyErr_Occurred()) SWIG_fail;
26725 }
26726 {
26727 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26728 }
26729 {
26730 if (temp8)
26731 delete arg8;
26732 }
26733 return resultobj;
26734 fail:
26735 {
26736 if (temp8)
26737 delete arg8;
26738 }
26739 return NULL;
26740}
26741
26742
c370783e 26743static PyObject *_wrap_ListView_Select(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26744 PyObject *resultobj;
26745 wxListView *arg1 = (wxListView *) 0 ;
26746 long arg2 ;
b411df4a 26747 bool arg3 = (bool) true ;
d55e5bfc
RD
26748 PyObject * obj0 = 0 ;
26749 PyObject * obj1 = 0 ;
26750 PyObject * obj2 = 0 ;
26751 char *kwnames[] = {
26752 (char *) "self",(char *) "n",(char *) "on", NULL
26753 };
26754
26755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListView_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
26756 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26757 if (SWIG_arg_fail(1)) SWIG_fail;
26758 {
26759 arg2 = (long)(SWIG_As_long(obj1));
26760 if (SWIG_arg_fail(2)) SWIG_fail;
26761 }
d55e5bfc 26762 if (obj2) {
36ed4f51
RD
26763 {
26764 arg3 = (bool)(SWIG_As_bool(obj2));
26765 if (SWIG_arg_fail(3)) SWIG_fail;
26766 }
d55e5bfc
RD
26767 }
26768 {
26769 PyThreadState* __tstate = wxPyBeginAllowThreads();
26770 (arg1)->Select(arg2,arg3);
26771
26772 wxPyEndAllowThreads(__tstate);
26773 if (PyErr_Occurred()) SWIG_fail;
26774 }
26775 Py_INCREF(Py_None); resultobj = Py_None;
26776 return resultobj;
26777 fail:
26778 return NULL;
26779}
26780
26781
c370783e 26782static PyObject *_wrap_ListView_Focus(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26783 PyObject *resultobj;
26784 wxListView *arg1 = (wxListView *) 0 ;
26785 long arg2 ;
26786 PyObject * obj0 = 0 ;
26787 PyObject * obj1 = 0 ;
26788 char *kwnames[] = {
26789 (char *) "self",(char *) "index", NULL
26790 };
26791
26792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_Focus",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26793 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26794 if (SWIG_arg_fail(1)) SWIG_fail;
26795 {
26796 arg2 = (long)(SWIG_As_long(obj1));
26797 if (SWIG_arg_fail(2)) SWIG_fail;
26798 }
d55e5bfc
RD
26799 {
26800 PyThreadState* __tstate = wxPyBeginAllowThreads();
26801 (arg1)->Focus(arg2);
26802
26803 wxPyEndAllowThreads(__tstate);
26804 if (PyErr_Occurred()) SWIG_fail;
26805 }
26806 Py_INCREF(Py_None); resultobj = Py_None;
26807 return resultobj;
26808 fail:
26809 return NULL;
26810}
26811
26812
c370783e 26813static PyObject *_wrap_ListView_GetFocusedItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26814 PyObject *resultobj;
26815 wxListView *arg1 = (wxListView *) 0 ;
26816 long result;
26817 PyObject * obj0 = 0 ;
26818 char *kwnames[] = {
26819 (char *) "self", NULL
26820 };
26821
26822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
36ed4f51
RD
26823 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26824 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26825 {
26826 PyThreadState* __tstate = wxPyBeginAllowThreads();
26827 result = (long)((wxListView const *)arg1)->GetFocusedItem();
26828
26829 wxPyEndAllowThreads(__tstate);
26830 if (PyErr_Occurred()) SWIG_fail;
26831 }
36ed4f51
RD
26832 {
26833 resultobj = SWIG_From_long((long)(result));
26834 }
d55e5bfc
RD
26835 return resultobj;
26836 fail:
26837 return NULL;
26838}
26839
26840
c370783e 26841static PyObject *_wrap_ListView_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26842 PyObject *resultobj;
26843 wxListView *arg1 = (wxListView *) 0 ;
26844 long arg2 ;
26845 long result;
26846 PyObject * obj0 = 0 ;
26847 PyObject * obj1 = 0 ;
26848 char *kwnames[] = {
26849 (char *) "self",(char *) "item", NULL
26850 };
26851
26852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26853 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26854 if (SWIG_arg_fail(1)) SWIG_fail;
26855 {
26856 arg2 = (long)(SWIG_As_long(obj1));
26857 if (SWIG_arg_fail(2)) SWIG_fail;
26858 }
d55e5bfc
RD
26859 {
26860 PyThreadState* __tstate = wxPyBeginAllowThreads();
26861 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
26862
26863 wxPyEndAllowThreads(__tstate);
26864 if (PyErr_Occurred()) SWIG_fail;
26865 }
36ed4f51
RD
26866 {
26867 resultobj = SWIG_From_long((long)(result));
26868 }
d55e5bfc
RD
26869 return resultobj;
26870 fail:
26871 return NULL;
26872}
26873
26874
c370783e 26875static PyObject *_wrap_ListView_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26876 PyObject *resultobj;
26877 wxListView *arg1 = (wxListView *) 0 ;
26878 long result;
26879 PyObject * obj0 = 0 ;
26880 char *kwnames[] = {
26881 (char *) "self", NULL
26882 };
26883
26884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
36ed4f51
RD
26885 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26886 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26887 {
26888 PyThreadState* __tstate = wxPyBeginAllowThreads();
26889 result = (long)((wxListView const *)arg1)->GetFirstSelected();
26890
26891 wxPyEndAllowThreads(__tstate);
26892 if (PyErr_Occurred()) SWIG_fail;
26893 }
36ed4f51
RD
26894 {
26895 resultobj = SWIG_From_long((long)(result));
26896 }
d55e5bfc
RD
26897 return resultobj;
26898 fail:
26899 return NULL;
26900}
26901
26902
c370783e 26903static PyObject *_wrap_ListView_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26904 PyObject *resultobj;
26905 wxListView *arg1 = (wxListView *) 0 ;
26906 long arg2 ;
26907 bool result;
26908 PyObject * obj0 = 0 ;
26909 PyObject * obj1 = 0 ;
26910 char *kwnames[] = {
26911 (char *) "self",(char *) "index", NULL
26912 };
26913
26914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_IsSelected",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26915 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26916 if (SWIG_arg_fail(1)) SWIG_fail;
26917 {
26918 arg2 = (long)(SWIG_As_long(obj1));
26919 if (SWIG_arg_fail(2)) SWIG_fail;
26920 }
d55e5bfc
RD
26921 {
26922 PyThreadState* __tstate = wxPyBeginAllowThreads();
26923 result = (bool)(arg1)->IsSelected(arg2);
26924
26925 wxPyEndAllowThreads(__tstate);
26926 if (PyErr_Occurred()) SWIG_fail;
26927 }
26928 {
26929 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26930 }
26931 return resultobj;
26932 fail:
26933 return NULL;
26934}
26935
26936
c370783e 26937static PyObject *_wrap_ListView_SetColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26938 PyObject *resultobj;
26939 wxListView *arg1 = (wxListView *) 0 ;
26940 int arg2 ;
26941 int arg3 ;
26942 PyObject * obj0 = 0 ;
26943 PyObject * obj1 = 0 ;
26944 PyObject * obj2 = 0 ;
26945 char *kwnames[] = {
26946 (char *) "self",(char *) "col",(char *) "image", NULL
26947 };
26948
26949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListView_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
26950 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26951 if (SWIG_arg_fail(1)) SWIG_fail;
26952 {
26953 arg2 = (int)(SWIG_As_int(obj1));
26954 if (SWIG_arg_fail(2)) SWIG_fail;
26955 }
26956 {
26957 arg3 = (int)(SWIG_As_int(obj2));
26958 if (SWIG_arg_fail(3)) SWIG_fail;
26959 }
d55e5bfc
RD
26960 {
26961 PyThreadState* __tstate = wxPyBeginAllowThreads();
26962 (arg1)->SetColumnImage(arg2,arg3);
26963
26964 wxPyEndAllowThreads(__tstate);
26965 if (PyErr_Occurred()) SWIG_fail;
26966 }
26967 Py_INCREF(Py_None); resultobj = Py_None;
26968 return resultobj;
26969 fail:
26970 return NULL;
26971}
26972
26973
c370783e 26974static PyObject *_wrap_ListView_ClearColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26975 PyObject *resultobj;
26976 wxListView *arg1 = (wxListView *) 0 ;
26977 int arg2 ;
26978 PyObject * obj0 = 0 ;
26979 PyObject * obj1 = 0 ;
26980 char *kwnames[] = {
26981 (char *) "self",(char *) "col", NULL
26982 };
26983
26984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_ClearColumnImage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26985 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26986 if (SWIG_arg_fail(1)) SWIG_fail;
26987 {
26988 arg2 = (int)(SWIG_As_int(obj1));
26989 if (SWIG_arg_fail(2)) SWIG_fail;
26990 }
d55e5bfc
RD
26991 {
26992 PyThreadState* __tstate = wxPyBeginAllowThreads();
26993 (arg1)->ClearColumnImage(arg2);
26994
26995 wxPyEndAllowThreads(__tstate);
26996 if (PyErr_Occurred()) SWIG_fail;
26997 }
26998 Py_INCREF(Py_None); resultobj = Py_None;
26999 return resultobj;
27000 fail:
27001 return NULL;
27002}
27003
27004
c370783e 27005static PyObject * ListView_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
27006 PyObject *obj;
27007 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27008 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
27009 Py_INCREF(obj);
27010 return Py_BuildValue((char *)"");
27011}
c370783e 27012static int _wrap_TreeCtrlNameStr_set(PyObject *) {
d55e5bfc
RD
27013 PyErr_SetString(PyExc_TypeError,"Variable TreeCtrlNameStr is read-only.");
27014 return 1;
27015}
27016
27017
36ed4f51 27018static PyObject *_wrap_TreeCtrlNameStr_get(void) {
d55e5bfc
RD
27019 PyObject *pyobj;
27020
27021 {
27022#if wxUSE_UNICODE
27023 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
27024#else
27025 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
27026#endif
27027 }
27028 return pyobj;
27029}
27030
27031
c370783e 27032static PyObject *_wrap_new_TreeItemId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27033 PyObject *resultobj;
27034 wxTreeItemId *result;
27035 char *kwnames[] = {
27036 NULL
27037 };
27038
27039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
27040 {
27041 PyThreadState* __tstate = wxPyBeginAllowThreads();
27042 result = (wxTreeItemId *)new wxTreeItemId();
27043
27044 wxPyEndAllowThreads(__tstate);
27045 if (PyErr_Occurred()) SWIG_fail;
27046 }
27047 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 1);
27048 return resultobj;
27049 fail:
27050 return NULL;
27051}
27052
27053
c370783e 27054static PyObject *_wrap_delete_TreeItemId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27055 PyObject *resultobj;
27056 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27057 PyObject * obj0 = 0 ;
27058 char *kwnames[] = {
27059 (char *) "self", NULL
27060 };
27061
27062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",kwnames,&obj0)) goto fail;
36ed4f51
RD
27063 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27064 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27065 {
27066 PyThreadState* __tstate = wxPyBeginAllowThreads();
27067 delete arg1;
27068
27069 wxPyEndAllowThreads(__tstate);
27070 if (PyErr_Occurred()) SWIG_fail;
27071 }
27072 Py_INCREF(Py_None); resultobj = Py_None;
27073 return resultobj;
27074 fail:
27075 return NULL;
27076}
27077
27078
c370783e 27079static PyObject *_wrap_TreeItemId_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27080 PyObject *resultobj;
27081 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27082 bool result;
27083 PyObject * obj0 = 0 ;
27084 char *kwnames[] = {
27085 (char *) "self", NULL
27086 };
27087
27088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
36ed4f51
RD
27089 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27090 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27091 {
27092 PyThreadState* __tstate = wxPyBeginAllowThreads();
27093 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
27094
27095 wxPyEndAllowThreads(__tstate);
27096 if (PyErr_Occurred()) SWIG_fail;
27097 }
27098 {
27099 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27100 }
27101 return resultobj;
27102 fail:
27103 return NULL;
27104}
27105
27106
c370783e 27107static PyObject *_wrap_TreeItemId___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27108 PyObject *resultobj;
27109 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27110 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
27111 bool result;
27112 PyObject * obj0 = 0 ;
27113 PyObject * obj1 = 0 ;
27114 char *kwnames[] = {
27115 (char *) "self",(char *) "other", NULL
27116 };
27117
27118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
27119 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27120 if (SWIG_arg_fail(1)) SWIG_fail;
27121 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27122 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27123 {
27124 PyThreadState* __tstate = wxPyBeginAllowThreads();
27125 result = (bool)wxTreeItemId___eq__(arg1,(wxTreeItemId const *)arg2);
27126
27127 wxPyEndAllowThreads(__tstate);
27128 if (PyErr_Occurred()) SWIG_fail;
27129 }
27130 {
27131 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27132 }
27133 return resultobj;
27134 fail:
27135 return NULL;
27136}
27137
27138
c370783e 27139static PyObject *_wrap_TreeItemId___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27140 PyObject *resultobj;
27141 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27142 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
27143 bool result;
27144 PyObject * obj0 = 0 ;
27145 PyObject * obj1 = 0 ;
27146 char *kwnames[] = {
27147 (char *) "self",(char *) "other", NULL
27148 };
27149
27150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
27151 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27152 if (SWIG_arg_fail(1)) SWIG_fail;
27153 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27154 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27155 {
27156 PyThreadState* __tstate = wxPyBeginAllowThreads();
27157 result = (bool)wxTreeItemId___ne__(arg1,(wxTreeItemId const *)arg2);
27158
27159 wxPyEndAllowThreads(__tstate);
27160 if (PyErr_Occurred()) SWIG_fail;
27161 }
27162 {
27163 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27164 }
27165 return resultobj;
27166 fail:
27167 return NULL;
27168}
27169
27170
c370783e 27171static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27172 PyObject *resultobj;
27173 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27174 void *arg2 = (void *) 0 ;
27175 PyObject * obj0 = 0 ;
27176 PyObject * obj1 = 0 ;
27177 char *kwnames[] = {
27178 (char *) "self",(char *) "m_pItem", NULL
27179 };
27180
27181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
27182 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27183 if (SWIG_arg_fail(1)) SWIG_fail;
27184 {
27185 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),0,SWIG_POINTER_EXCEPTION|SWIG_POINTER_DISOWN))== -1) {
27186 SWIG_arg_fail(2);SWIG_fail;
27187 }
27188 }
d55e5bfc
RD
27189 if (arg1) (arg1)->m_pItem = arg2;
27190
27191 Py_INCREF(Py_None); resultobj = Py_None;
27192 return resultobj;
27193 fail:
27194 return NULL;
27195}
27196
27197
c370783e 27198static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27199 PyObject *resultobj;
27200 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27201 void *result;
27202 PyObject * obj0 = 0 ;
27203 char *kwnames[] = {
27204 (char *) "self", NULL
27205 };
27206
27207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
36ed4f51
RD
27208 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27209 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27210 result = (void *) ((arg1)->m_pItem);
27211
27212 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0);
27213 return resultobj;
27214 fail:
27215 return NULL;
27216}
27217
27218
c370783e 27219static PyObject * TreeItemId_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
27220 PyObject *obj;
27221 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27222 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
27223 Py_INCREF(obj);
27224 return Py_BuildValue((char *)"");
27225}
c370783e 27226static PyObject *_wrap_new_TreeItemData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27227 PyObject *resultobj;
27228 PyObject *arg1 = (PyObject *) NULL ;
27229 wxPyTreeItemData *result;
27230 PyObject * obj0 = 0 ;
27231 char *kwnames[] = {
27232 (char *) "obj", NULL
27233 };
27234
27235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
27236 if (obj0) {
27237 arg1 = obj0;
27238 }
27239 {
27240 PyThreadState* __tstate = wxPyBeginAllowThreads();
27241 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
27242
27243 wxPyEndAllowThreads(__tstate);
27244 if (PyErr_Occurred()) SWIG_fail;
27245 }
27246 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 1);
27247 return resultobj;
27248 fail:
27249 return NULL;
27250}
27251
27252
c370783e 27253static PyObject *_wrap_TreeItemData_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27254 PyObject *resultobj;
27255 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27256 PyObject *result;
27257 PyObject * obj0 = 0 ;
27258 char *kwnames[] = {
27259 (char *) "self", NULL
27260 };
27261
27262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) goto fail;
36ed4f51
RD
27263 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27264 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27265 {
27266 PyThreadState* __tstate = wxPyBeginAllowThreads();
27267 result = (PyObject *)(arg1)->GetData();
27268
27269 wxPyEndAllowThreads(__tstate);
27270 if (PyErr_Occurred()) SWIG_fail;
27271 }
27272 resultobj = result;
27273 return resultobj;
27274 fail:
27275 return NULL;
27276}
27277
27278
c370783e 27279static PyObject *_wrap_TreeItemData_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27280 PyObject *resultobj;
27281 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27282 PyObject *arg2 = (PyObject *) 0 ;
27283 PyObject * obj0 = 0 ;
27284 PyObject * obj1 = 0 ;
27285 char *kwnames[] = {
27286 (char *) "self",(char *) "obj", NULL
27287 };
27288
27289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
27290 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27291 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27292 arg2 = obj1;
27293 {
27294 PyThreadState* __tstate = wxPyBeginAllowThreads();
27295 (arg1)->SetData(arg2);
27296
27297 wxPyEndAllowThreads(__tstate);
27298 if (PyErr_Occurred()) SWIG_fail;
27299 }
27300 Py_INCREF(Py_None); resultobj = Py_None;
27301 return resultobj;
27302 fail:
27303 return NULL;
27304}
27305
27306
c370783e 27307static PyObject *_wrap_TreeItemData_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27308 PyObject *resultobj;
27309 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27310 wxTreeItemId *result;
27311 PyObject * obj0 = 0 ;
27312 char *kwnames[] = {
27313 (char *) "self", NULL
27314 };
27315
27316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
36ed4f51
RD
27317 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27318 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27319 {
27320 PyThreadState* __tstate = wxPyBeginAllowThreads();
27321 {
27322 wxTreeItemId const &_result_ref = (arg1)->GetId();
27323 result = (wxTreeItemId *) &_result_ref;
27324 }
27325
27326 wxPyEndAllowThreads(__tstate);
27327 if (PyErr_Occurred()) SWIG_fail;
27328 }
27329 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 0);
27330 return resultobj;
27331 fail:
27332 return NULL;
27333}
27334
27335
c370783e 27336static PyObject *_wrap_TreeItemData_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27337 PyObject *resultobj;
27338 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27339 wxTreeItemId *arg2 = 0 ;
27340 PyObject * obj0 = 0 ;
27341 PyObject * obj1 = 0 ;
27342 char *kwnames[] = {
27343 (char *) "self",(char *) "id", NULL
27344 };
27345
27346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
27347 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27348 if (SWIG_arg_fail(1)) SWIG_fail;
27349 {
27350 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27351 if (SWIG_arg_fail(2)) SWIG_fail;
27352 if (arg2 == NULL) {
27353 SWIG_null_ref("wxTreeItemId");
27354 }
27355 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27356 }
27357 {
27358 PyThreadState* __tstate = wxPyBeginAllowThreads();
27359 (arg1)->SetId((wxTreeItemId const &)*arg2);
27360
27361 wxPyEndAllowThreads(__tstate);
27362 if (PyErr_Occurred()) SWIG_fail;
27363 }
27364 Py_INCREF(Py_None); resultobj = Py_None;
27365 return resultobj;
27366 fail:
27367 return NULL;
27368}
27369
27370
c370783e 27371static PyObject *_wrap_TreeItemData_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27372 PyObject *resultobj;
27373 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27374 PyObject * obj0 = 0 ;
27375 char *kwnames[] = {
27376 (char *) "self", NULL
27377 };
27378
27379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
36ed4f51
RD
27380 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27381 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27382 {
27383 PyThreadState* __tstate = wxPyBeginAllowThreads();
27384 wxPyTreeItemData_Destroy(arg1);
27385
27386 wxPyEndAllowThreads(__tstate);
27387 if (PyErr_Occurred()) SWIG_fail;
27388 }
27389 Py_INCREF(Py_None); resultobj = Py_None;
27390 return resultobj;
27391 fail:
27392 return NULL;
27393}
27394
27395
c370783e 27396static PyObject * TreeItemData_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
27397 PyObject *obj;
27398 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27399 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
27400 Py_INCREF(obj);
27401 return Py_BuildValue((char *)"");
27402}
c370783e 27403static PyObject *_wrap_new_TreeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27404 PyObject *resultobj;
27405 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
27406 int arg2 = (int) 0 ;
27407 wxTreeEvent *result;
27408 PyObject * obj0 = 0 ;
27409 PyObject * obj1 = 0 ;
27410 char *kwnames[] = {
27411 (char *) "commandType",(char *) "id", NULL
27412 };
27413
27414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TreeEvent",kwnames,&obj0,&obj1)) goto fail;
27415 if (obj0) {
36ed4f51
RD
27416 {
27417 arg1 = (wxEventType)(SWIG_As_int(obj0));
27418 if (SWIG_arg_fail(1)) SWIG_fail;
27419 }
d55e5bfc
RD
27420 }
27421 if (obj1) {
36ed4f51
RD
27422 {
27423 arg2 = (int)(SWIG_As_int(obj1));
27424 if (SWIG_arg_fail(2)) SWIG_fail;
27425 }
d55e5bfc
RD
27426 }
27427 {
27428 PyThreadState* __tstate = wxPyBeginAllowThreads();
27429 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
27430
27431 wxPyEndAllowThreads(__tstate);
27432 if (PyErr_Occurred()) SWIG_fail;
27433 }
27434 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeEvent, 1);
27435 return resultobj;
27436 fail:
27437 return NULL;
27438}
27439
27440
c370783e 27441static PyObject *_wrap_TreeEvent_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27442 PyObject *resultobj;
27443 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27444 wxTreeItemId result;
27445 PyObject * obj0 = 0 ;
27446 char *kwnames[] = {
27447 (char *) "self", NULL
27448 };
27449
27450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
36ed4f51
RD
27451 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27452 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27453 {
27454 PyThreadState* __tstate = wxPyBeginAllowThreads();
27455 result = ((wxTreeEvent const *)arg1)->GetItem();
27456
27457 wxPyEndAllowThreads(__tstate);
27458 if (PyErr_Occurred()) SWIG_fail;
27459 }
27460 {
27461 wxTreeItemId * resultptr;
36ed4f51 27462 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
27463 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27464 }
27465 return resultobj;
27466 fail:
27467 return NULL;
27468}
27469
27470
c370783e 27471static PyObject *_wrap_TreeEvent_SetItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27472 PyObject *resultobj;
27473 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27474 wxTreeItemId *arg2 = 0 ;
27475 PyObject * obj0 = 0 ;
27476 PyObject * obj1 = 0 ;
27477 char *kwnames[] = {
27478 (char *) "self",(char *) "item", NULL
27479 };
27480
27481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
27482 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27483 if (SWIG_arg_fail(1)) SWIG_fail;
27484 {
27485 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27486 if (SWIG_arg_fail(2)) SWIG_fail;
27487 if (arg2 == NULL) {
27488 SWIG_null_ref("wxTreeItemId");
27489 }
27490 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27491 }
27492 {
27493 PyThreadState* __tstate = wxPyBeginAllowThreads();
27494 (arg1)->SetItem((wxTreeItemId const &)*arg2);
27495
27496 wxPyEndAllowThreads(__tstate);
27497 if (PyErr_Occurred()) SWIG_fail;
27498 }
27499 Py_INCREF(Py_None); resultobj = Py_None;
27500 return resultobj;
27501 fail:
27502 return NULL;
27503}
27504
27505
c370783e 27506static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27507 PyObject *resultobj;
27508 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27509 wxTreeItemId result;
27510 PyObject * obj0 = 0 ;
27511 char *kwnames[] = {
27512 (char *) "self", NULL
27513 };
27514
27515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
36ed4f51
RD
27516 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27517 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27518 {
27519 PyThreadState* __tstate = wxPyBeginAllowThreads();
27520 result = ((wxTreeEvent const *)arg1)->GetOldItem();
27521
27522 wxPyEndAllowThreads(__tstate);
27523 if (PyErr_Occurred()) SWIG_fail;
27524 }
27525 {
27526 wxTreeItemId * resultptr;
36ed4f51 27527 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
27528 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27529 }
27530 return resultobj;
27531 fail:
27532 return NULL;
27533}
27534
27535
c370783e 27536static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27537 PyObject *resultobj;
27538 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27539 wxTreeItemId *arg2 = 0 ;
27540 PyObject * obj0 = 0 ;
27541 PyObject * obj1 = 0 ;
27542 char *kwnames[] = {
27543 (char *) "self",(char *) "item", NULL
27544 };
27545
27546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
27547 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27548 if (SWIG_arg_fail(1)) SWIG_fail;
27549 {
27550 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27551 if (SWIG_arg_fail(2)) SWIG_fail;
27552 if (arg2 == NULL) {
27553 SWIG_null_ref("wxTreeItemId");
27554 }
27555 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27556 }
27557 {
27558 PyThreadState* __tstate = wxPyBeginAllowThreads();
27559 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
27560
27561 wxPyEndAllowThreads(__tstate);
27562 if (PyErr_Occurred()) SWIG_fail;
27563 }
27564 Py_INCREF(Py_None); resultobj = Py_None;
27565 return resultobj;
27566 fail:
27567 return NULL;
27568}
27569
27570
c370783e 27571static PyObject *_wrap_TreeEvent_GetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27572 PyObject *resultobj;
27573 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27574 wxPoint result;
27575 PyObject * obj0 = 0 ;
27576 char *kwnames[] = {
27577 (char *) "self", NULL
27578 };
27579
27580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",kwnames,&obj0)) goto fail;
36ed4f51
RD
27581 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27582 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27583 {
27584 PyThreadState* __tstate = wxPyBeginAllowThreads();
27585 result = ((wxTreeEvent const *)arg1)->GetPoint();
27586
27587 wxPyEndAllowThreads(__tstate);
27588 if (PyErr_Occurred()) SWIG_fail;
27589 }
27590 {
27591 wxPoint * resultptr;
36ed4f51 27592 resultptr = new wxPoint((wxPoint &)(result));
d55e5bfc
RD
27593 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
27594 }
27595 return resultobj;
27596 fail:
27597 return NULL;
27598}
27599
27600
c370783e 27601static PyObject *_wrap_TreeEvent_SetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27602 PyObject *resultobj;
27603 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27604 wxPoint *arg2 = 0 ;
27605 wxPoint temp2 ;
27606 PyObject * obj0 = 0 ;
27607 PyObject * obj1 = 0 ;
27608 char *kwnames[] = {
27609 (char *) "self",(char *) "pt", NULL
27610 };
27611
27612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
27613 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27614 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27615 {
27616 arg2 = &temp2;
27617 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
27618 }
27619 {
27620 PyThreadState* __tstate = wxPyBeginAllowThreads();
27621 (arg1)->SetPoint((wxPoint const &)*arg2);
27622
27623 wxPyEndAllowThreads(__tstate);
27624 if (PyErr_Occurred()) SWIG_fail;
27625 }
27626 Py_INCREF(Py_None); resultobj = Py_None;
27627 return resultobj;
27628 fail:
27629 return NULL;
27630}
27631
27632
c370783e 27633static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27634 PyObject *resultobj;
27635 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27636 wxKeyEvent *result;
27637 PyObject * obj0 = 0 ;
27638 char *kwnames[] = {
27639 (char *) "self", NULL
27640 };
27641
27642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",kwnames,&obj0)) goto fail;
36ed4f51
RD
27643 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27644 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27645 {
27646 PyThreadState* __tstate = wxPyBeginAllowThreads();
27647 {
27648 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
27649 result = (wxKeyEvent *) &_result_ref;
27650 }
27651
27652 wxPyEndAllowThreads(__tstate);
27653 if (PyErr_Occurred()) SWIG_fail;
27654 }
27655 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxKeyEvent, 0);
27656 return resultobj;
27657 fail:
27658 return NULL;
27659}
27660
27661
c370783e 27662static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27663 PyObject *resultobj;
27664 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27665 int result;
27666 PyObject * obj0 = 0 ;
27667 char *kwnames[] = {
27668 (char *) "self", NULL
27669 };
27670
27671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",kwnames,&obj0)) goto fail;
36ed4f51
RD
27672 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27673 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27674 {
27675 PyThreadState* __tstate = wxPyBeginAllowThreads();
27676 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
27677
27678 wxPyEndAllowThreads(__tstate);
27679 if (PyErr_Occurred()) SWIG_fail;
27680 }
36ed4f51
RD
27681 {
27682 resultobj = SWIG_From_int((int)(result));
27683 }
d55e5bfc
RD
27684 return resultobj;
27685 fail:
27686 return NULL;
27687}
27688
27689
c370783e 27690static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27691 PyObject *resultobj;
27692 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27693 wxKeyEvent *arg2 = 0 ;
27694 PyObject * obj0 = 0 ;
27695 PyObject * obj1 = 0 ;
27696 char *kwnames[] = {
27697 (char *) "self",(char *) "evt", NULL
27698 };
27699
27700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
27701 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27702 if (SWIG_arg_fail(1)) SWIG_fail;
27703 {
27704 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
27705 if (SWIG_arg_fail(2)) SWIG_fail;
27706 if (arg2 == NULL) {
27707 SWIG_null_ref("wxKeyEvent");
27708 }
27709 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27710 }
27711 {
27712 PyThreadState* __tstate = wxPyBeginAllowThreads();
27713 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
27714
27715 wxPyEndAllowThreads(__tstate);
27716 if (PyErr_Occurred()) SWIG_fail;
27717 }
27718 Py_INCREF(Py_None); resultobj = Py_None;
27719 return resultobj;
27720 fail:
27721 return NULL;
27722}
27723
27724
c370783e 27725static PyObject *_wrap_TreeEvent_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27726 PyObject *resultobj;
27727 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27728 wxString *result;
27729 PyObject * obj0 = 0 ;
27730 char *kwnames[] = {
27731 (char *) "self", NULL
27732 };
27733
27734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",kwnames,&obj0)) goto fail;
36ed4f51
RD
27735 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27736 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27737 {
27738 PyThreadState* __tstate = wxPyBeginAllowThreads();
27739 {
27740 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
27741 result = (wxString *) &_result_ref;
27742 }
27743
27744 wxPyEndAllowThreads(__tstate);
27745 if (PyErr_Occurred()) SWIG_fail;
27746 }
27747 {
27748#if wxUSE_UNICODE
27749 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
27750#else
27751 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
27752#endif
27753 }
27754 return resultobj;
27755 fail:
27756 return NULL;
27757}
27758
27759
c370783e 27760static PyObject *_wrap_TreeEvent_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27761 PyObject *resultobj;
27762 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27763 wxString *arg2 = 0 ;
b411df4a 27764 bool temp2 = false ;
d55e5bfc
RD
27765 PyObject * obj0 = 0 ;
27766 PyObject * obj1 = 0 ;
27767 char *kwnames[] = {
27768 (char *) "self",(char *) "label", NULL
27769 };
27770
27771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
27772 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27773 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27774 {
27775 arg2 = wxString_in_helper(obj1);
27776 if (arg2 == NULL) SWIG_fail;
b411df4a 27777 temp2 = true;
d55e5bfc
RD
27778 }
27779 {
27780 PyThreadState* __tstate = wxPyBeginAllowThreads();
27781 (arg1)->SetLabel((wxString const &)*arg2);
27782
27783 wxPyEndAllowThreads(__tstate);
27784 if (PyErr_Occurred()) SWIG_fail;
27785 }
27786 Py_INCREF(Py_None); resultobj = Py_None;
27787 {
27788 if (temp2)
27789 delete arg2;
27790 }
27791 return resultobj;
27792 fail:
27793 {
27794 if (temp2)
27795 delete arg2;
27796 }
27797 return NULL;
27798}
27799
27800
c370783e 27801static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27802 PyObject *resultobj;
27803 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27804 bool result;
27805 PyObject * obj0 = 0 ;
27806 char *kwnames[] = {
27807 (char *) "self", NULL
27808 };
27809
27810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
36ed4f51
RD
27811 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27812 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27813 {
27814 PyThreadState* __tstate = wxPyBeginAllowThreads();
27815 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
27816
27817 wxPyEndAllowThreads(__tstate);
27818 if (PyErr_Occurred()) SWIG_fail;
27819 }
27820 {
27821 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27822 }
27823 return resultobj;
27824 fail:
27825 return NULL;
27826}
27827
27828
c370783e 27829static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27830 PyObject *resultobj;
27831 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27832 bool arg2 ;
27833 PyObject * obj0 = 0 ;
27834 PyObject * obj1 = 0 ;
27835 char *kwnames[] = {
27836 (char *) "self",(char *) "editCancelled", NULL
27837 };
27838
27839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
27840 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27841 if (SWIG_arg_fail(1)) SWIG_fail;
27842 {
27843 arg2 = (bool)(SWIG_As_bool(obj1));
27844 if (SWIG_arg_fail(2)) SWIG_fail;
27845 }
d55e5bfc
RD
27846 {
27847 PyThreadState* __tstate = wxPyBeginAllowThreads();
27848 (arg1)->SetEditCanceled(arg2);
27849
27850 wxPyEndAllowThreads(__tstate);
27851 if (PyErr_Occurred()) SWIG_fail;
27852 }
27853 Py_INCREF(Py_None); resultobj = Py_None;
27854 return resultobj;
27855 fail:
27856 return NULL;
27857}
27858
27859
c370783e 27860static PyObject *_wrap_TreeEvent_SetToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27861 PyObject *resultobj;
27862 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27863 wxString *arg2 = 0 ;
b411df4a 27864 bool temp2 = false ;
d55e5bfc
RD
27865 PyObject * obj0 = 0 ;
27866 PyObject * obj1 = 0 ;
27867 char *kwnames[] = {
27868 (char *) "self",(char *) "toolTip", NULL
27869 };
27870
27871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
27872 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27873 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27874 {
27875 arg2 = wxString_in_helper(obj1);
27876 if (arg2 == NULL) SWIG_fail;
b411df4a 27877 temp2 = true;
d55e5bfc
RD
27878 }
27879 {
27880 PyThreadState* __tstate = wxPyBeginAllowThreads();
27881 (arg1)->SetToolTip((wxString const &)*arg2);
27882
27883 wxPyEndAllowThreads(__tstate);
27884 if (PyErr_Occurred()) SWIG_fail;
27885 }
27886 Py_INCREF(Py_None); resultobj = Py_None;
27887 {
27888 if (temp2)
27889 delete arg2;
27890 }
27891 return resultobj;
27892 fail:
27893 {
27894 if (temp2)
27895 delete arg2;
27896 }
27897 return NULL;
27898}
27899
27900
c370783e 27901static PyObject * TreeEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
27902 PyObject *obj;
27903 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27904 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
27905 Py_INCREF(obj);
27906 return Py_BuildValue((char *)"");
27907}
c370783e 27908static PyObject *_wrap_new_TreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27909 PyObject *resultobj;
27910 wxWindow *arg1 = (wxWindow *) 0 ;
27911 int arg2 = (int) -1 ;
27912 wxPoint const &arg3_defvalue = wxDefaultPosition ;
27913 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
27914 wxSize const &arg4_defvalue = wxDefaultSize ;
27915 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
27916 long arg5 = (long) wxTR_DEFAULT_STYLE ;
27917 wxValidator const &arg6_defvalue = wxDefaultValidator ;
27918 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
27919 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
27920 wxString *arg7 = (wxString *) &arg7_defvalue ;
27921 wxPyTreeCtrl *result;
27922 wxPoint temp3 ;
27923 wxSize temp4 ;
b411df4a 27924 bool temp7 = false ;
d55e5bfc
RD
27925 PyObject * obj0 = 0 ;
27926 PyObject * obj1 = 0 ;
27927 PyObject * obj2 = 0 ;
27928 PyObject * obj3 = 0 ;
27929 PyObject * obj4 = 0 ;
27930 PyObject * obj5 = 0 ;
27931 PyObject * obj6 = 0 ;
27932 char *kwnames[] = {
27933 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27934 };
27935
27936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
27937 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27938 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 27939 if (obj1) {
36ed4f51
RD
27940 {
27941 arg2 = (int)(SWIG_As_int(obj1));
27942 if (SWIG_arg_fail(2)) SWIG_fail;
27943 }
d55e5bfc
RD
27944 }
27945 if (obj2) {
27946 {
27947 arg3 = &temp3;
27948 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
27949 }
27950 }
27951 if (obj3) {
27952 {
27953 arg4 = &temp4;
27954 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
27955 }
27956 }
27957 if (obj4) {
36ed4f51
RD
27958 {
27959 arg5 = (long)(SWIG_As_long(obj4));
27960 if (SWIG_arg_fail(5)) SWIG_fail;
27961 }
d55e5bfc
RD
27962 }
27963 if (obj5) {
36ed4f51
RD
27964 {
27965 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
27966 if (SWIG_arg_fail(6)) SWIG_fail;
27967 if (arg6 == NULL) {
27968 SWIG_null_ref("wxValidator");
27969 }
27970 if (SWIG_arg_fail(6)) SWIG_fail;
d55e5bfc
RD
27971 }
27972 }
27973 if (obj6) {
27974 {
27975 arg7 = wxString_in_helper(obj6);
27976 if (arg7 == NULL) SWIG_fail;
b411df4a 27977 temp7 = true;
d55e5bfc
RD
27978 }
27979 }
27980 {
0439c23b 27981 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
27982 PyThreadState* __tstate = wxPyBeginAllowThreads();
27983 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
27984
27985 wxPyEndAllowThreads(__tstate);
110da5b0 27986 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 27987 }
b0f7404b 27988 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeCtrl, 1);
d55e5bfc
RD
27989 {
27990 if (temp7)
27991 delete arg7;
27992 }
27993 return resultobj;
27994 fail:
27995 {
27996 if (temp7)
27997 delete arg7;
27998 }
27999 return NULL;
28000}
28001
28002
c370783e 28003static PyObject *_wrap_new_PreTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28004 PyObject *resultobj;
28005 wxPyTreeCtrl *result;
28006 char *kwnames[] = {
28007 NULL
28008 };
28009
28010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
28011 {
0439c23b 28012 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
28013 PyThreadState* __tstate = wxPyBeginAllowThreads();
28014 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
28015
28016 wxPyEndAllowThreads(__tstate);
110da5b0 28017 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 28018 }
b0f7404b 28019 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeCtrl, 1);
d55e5bfc
RD
28020 return resultobj;
28021 fail:
28022 return NULL;
28023}
28024
28025
c370783e 28026static PyObject *_wrap_TreeCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28027 PyObject *resultobj;
28028 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28029 wxWindow *arg2 = (wxWindow *) 0 ;
28030 int arg3 = (int) -1 ;
28031 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28032 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28033 wxSize const &arg5_defvalue = wxDefaultSize ;
28034 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28035 long arg6 = (long) wxTR_DEFAULT_STYLE ;
28036 wxValidator const &arg7_defvalue = wxDefaultValidator ;
28037 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
28038 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
28039 wxString *arg8 = (wxString *) &arg8_defvalue ;
28040 bool result;
28041 wxPoint temp4 ;
28042 wxSize temp5 ;
b411df4a 28043 bool temp8 = false ;
d55e5bfc
RD
28044 PyObject * obj0 = 0 ;
28045 PyObject * obj1 = 0 ;
28046 PyObject * obj2 = 0 ;
28047 PyObject * obj3 = 0 ;
28048 PyObject * obj4 = 0 ;
28049 PyObject * obj5 = 0 ;
28050 PyObject * obj6 = 0 ;
28051 PyObject * obj7 = 0 ;
28052 char *kwnames[] = {
28053 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28054 };
28055
28056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
28057 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28058 if (SWIG_arg_fail(1)) SWIG_fail;
28059 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28060 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 28061 if (obj2) {
36ed4f51
RD
28062 {
28063 arg3 = (int)(SWIG_As_int(obj2));
28064 if (SWIG_arg_fail(3)) SWIG_fail;
28065 }
d55e5bfc
RD
28066 }
28067 if (obj3) {
28068 {
28069 arg4 = &temp4;
28070 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28071 }
28072 }
28073 if (obj4) {
28074 {
28075 arg5 = &temp5;
28076 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28077 }
28078 }
28079 if (obj5) {
36ed4f51
RD
28080 {
28081 arg6 = (long)(SWIG_As_long(obj5));
28082 if (SWIG_arg_fail(6)) SWIG_fail;
28083 }
d55e5bfc
RD
28084 }
28085 if (obj6) {
36ed4f51
RD
28086 {
28087 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
28088 if (SWIG_arg_fail(7)) SWIG_fail;
28089 if (arg7 == NULL) {
28090 SWIG_null_ref("wxValidator");
28091 }
28092 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
28093 }
28094 }
28095 if (obj7) {
28096 {
28097 arg8 = wxString_in_helper(obj7);
28098 if (arg8 == NULL) SWIG_fail;
b411df4a 28099 temp8 = true;
d55e5bfc
RD
28100 }
28101 }
28102 {
28103 PyThreadState* __tstate = wxPyBeginAllowThreads();
28104 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
28105
28106 wxPyEndAllowThreads(__tstate);
28107 if (PyErr_Occurred()) SWIG_fail;
28108 }
28109 {
28110 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28111 }
28112 {
28113 if (temp8)
28114 delete arg8;
28115 }
28116 return resultobj;
28117 fail:
28118 {
28119 if (temp8)
28120 delete arg8;
28121 }
28122 return NULL;
28123}
28124
28125
c370783e 28126static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28127 PyObject *resultobj;
28128 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28129 PyObject *arg2 = (PyObject *) 0 ;
28130 PyObject *arg3 = (PyObject *) 0 ;
28131 PyObject * obj0 = 0 ;
28132 PyObject * obj1 = 0 ;
28133 PyObject * obj2 = 0 ;
28134 char *kwnames[] = {
28135 (char *) "self",(char *) "self",(char *) "_class", NULL
28136 };
28137
28138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
28139 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28140 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28141 arg2 = obj1;
28142 arg3 = obj2;
28143 {
28144 PyThreadState* __tstate = wxPyBeginAllowThreads();
28145 (arg1)->_setCallbackInfo(arg2,arg3);
28146
28147 wxPyEndAllowThreads(__tstate);
28148 if (PyErr_Occurred()) SWIG_fail;
28149 }
28150 Py_INCREF(Py_None); resultobj = Py_None;
28151 return resultobj;
28152 fail:
28153 return NULL;
28154}
28155
28156
c370783e 28157static PyObject *_wrap_TreeCtrl_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28158 PyObject *resultobj;
28159 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28160 size_t result;
28161 PyObject * obj0 = 0 ;
28162 char *kwnames[] = {
28163 (char *) "self", NULL
28164 };
28165
28166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",kwnames,&obj0)) goto fail;
36ed4f51
RD
28167 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28168 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28169 {
28170 PyThreadState* __tstate = wxPyBeginAllowThreads();
28171 result = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
28172
28173 wxPyEndAllowThreads(__tstate);
28174 if (PyErr_Occurred()) SWIG_fail;
28175 }
36ed4f51
RD
28176 {
28177 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
28178 }
d55e5bfc
RD
28179 return resultobj;
28180 fail:
28181 return NULL;
28182}
28183
28184
c370783e 28185static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28186 PyObject *resultobj;
28187 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28188 unsigned int result;
28189 PyObject * obj0 = 0 ;
28190 char *kwnames[] = {
28191 (char *) "self", NULL
28192 };
28193
28194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
36ed4f51
RD
28195 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28196 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28197 {
28198 PyThreadState* __tstate = wxPyBeginAllowThreads();
28199 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
28200
28201 wxPyEndAllowThreads(__tstate);
28202 if (PyErr_Occurred()) SWIG_fail;
28203 }
36ed4f51
RD
28204 {
28205 resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result));
28206 }
d55e5bfc
RD
28207 return resultobj;
28208 fail:
28209 return NULL;
28210}
28211
28212
c370783e 28213static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28214 PyObject *resultobj;
28215 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28216 unsigned int arg2 ;
28217 PyObject * obj0 = 0 ;
28218 PyObject * obj1 = 0 ;
28219 char *kwnames[] = {
28220 (char *) "self",(char *) "indent", NULL
28221 };
28222
28223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
28224 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28225 if (SWIG_arg_fail(1)) SWIG_fail;
28226 {
28227 arg2 = (unsigned int)(SWIG_As_unsigned_SS_int(obj1));
28228 if (SWIG_arg_fail(2)) SWIG_fail;
28229 }
d55e5bfc
RD
28230 {
28231 PyThreadState* __tstate = wxPyBeginAllowThreads();
28232 (arg1)->SetIndent(arg2);
28233
28234 wxPyEndAllowThreads(__tstate);
28235 if (PyErr_Occurred()) SWIG_fail;
28236 }
28237 Py_INCREF(Py_None); resultobj = Py_None;
28238 return resultobj;
28239 fail:
28240 return NULL;
28241}
28242
28243
c370783e 28244static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28245 PyObject *resultobj;
28246 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28247 unsigned int result;
28248 PyObject * obj0 = 0 ;
28249 char *kwnames[] = {
28250 (char *) "self", NULL
28251 };
28252
28253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",kwnames,&obj0)) goto fail;
36ed4f51
RD
28254 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28255 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28256 {
28257 PyThreadState* __tstate = wxPyBeginAllowThreads();
28258 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
28259
28260 wxPyEndAllowThreads(__tstate);
28261 if (PyErr_Occurred()) SWIG_fail;
28262 }
36ed4f51
RD
28263 {
28264 resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result));
28265 }
d55e5bfc
RD
28266 return resultobj;
28267 fail:
28268 return NULL;
28269}
28270
28271
c370783e 28272static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28273 PyObject *resultobj;
28274 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28275 unsigned int arg2 ;
28276 PyObject * obj0 = 0 ;
28277 PyObject * obj1 = 0 ;
28278 char *kwnames[] = {
28279 (char *) "self",(char *) "spacing", NULL
28280 };
28281
28282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
28283 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28284 if (SWIG_arg_fail(1)) SWIG_fail;
28285 {
28286 arg2 = (unsigned int)(SWIG_As_unsigned_SS_int(obj1));
28287 if (SWIG_arg_fail(2)) SWIG_fail;
28288 }
d55e5bfc
RD
28289 {
28290 PyThreadState* __tstate = wxPyBeginAllowThreads();
28291 (arg1)->SetSpacing(arg2);
28292
28293 wxPyEndAllowThreads(__tstate);
28294 if (PyErr_Occurred()) SWIG_fail;
28295 }
28296 Py_INCREF(Py_None); resultobj = Py_None;
28297 return resultobj;
28298 fail:
28299 return NULL;
28300}
28301
28302
c370783e 28303static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28304 PyObject *resultobj;
28305 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28306 wxImageList *result;
28307 PyObject * obj0 = 0 ;
28308 char *kwnames[] = {
28309 (char *) "self", NULL
28310 };
28311
28312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) goto fail;
36ed4f51
RD
28313 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28314 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28315 {
28316 PyThreadState* __tstate = wxPyBeginAllowThreads();
28317 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
28318
28319 wxPyEndAllowThreads(__tstate);
28320 if (PyErr_Occurred()) SWIG_fail;
28321 }
28322 {
412d302d 28323 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
28324 }
28325 return resultobj;
28326 fail:
28327 return NULL;
28328}
28329
28330
c370783e 28331static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28332 PyObject *resultobj;
28333 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28334 wxImageList *result;
28335 PyObject * obj0 = 0 ;
28336 char *kwnames[] = {
28337 (char *) "self", NULL
28338 };
28339
28340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
36ed4f51
RD
28341 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28342 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28343 {
28344 PyThreadState* __tstate = wxPyBeginAllowThreads();
28345 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
28346
28347 wxPyEndAllowThreads(__tstate);
28348 if (PyErr_Occurred()) SWIG_fail;
28349 }
28350 {
412d302d 28351 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
28352 }
28353 return resultobj;
28354 fail:
28355 return NULL;
28356}
28357
28358
c370783e 28359static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28360 PyObject *resultobj;
28361 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28362 wxImageList *arg2 = (wxImageList *) 0 ;
28363 PyObject * obj0 = 0 ;
28364 PyObject * obj1 = 0 ;
28365 char *kwnames[] = {
28366 (char *) "self",(char *) "imageList", NULL
28367 };
28368
28369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
28370 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28371 if (SWIG_arg_fail(1)) SWIG_fail;
28372 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
28373 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28374 {
28375 PyThreadState* __tstate = wxPyBeginAllowThreads();
28376 (arg1)->SetImageList(arg2);
28377
28378 wxPyEndAllowThreads(__tstate);
28379 if (PyErr_Occurred()) SWIG_fail;
28380 }
28381 Py_INCREF(Py_None); resultobj = Py_None;
28382 return resultobj;
28383 fail:
28384 return NULL;
28385}
28386
28387
c370783e 28388static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28389 PyObject *resultobj;
28390 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28391 wxImageList *arg2 = (wxImageList *) 0 ;
28392 PyObject * obj0 = 0 ;
28393 PyObject * obj1 = 0 ;
28394 char *kwnames[] = {
28395 (char *) "self",(char *) "imageList", NULL
28396 };
28397
28398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
28399 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28400 if (SWIG_arg_fail(1)) SWIG_fail;
28401 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
28402 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28403 {
28404 PyThreadState* __tstate = wxPyBeginAllowThreads();
28405 (arg1)->SetStateImageList(arg2);
28406
28407 wxPyEndAllowThreads(__tstate);
28408 if (PyErr_Occurred()) SWIG_fail;
28409 }
28410 Py_INCREF(Py_None); resultobj = Py_None;
28411 return resultobj;
28412 fail:
28413 return NULL;
28414}
28415
28416
c370783e 28417static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28418 PyObject *resultobj;
28419 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28420 wxImageList *arg2 = (wxImageList *) 0 ;
28421 PyObject * obj0 = 0 ;
28422 PyObject * obj1 = 0 ;
28423 char *kwnames[] = {
28424 (char *) "self",(char *) "imageList", NULL
28425 };
28426
28427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
28428 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28429 if (SWIG_arg_fail(1)) SWIG_fail;
28430 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
28431 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28432 {
28433 PyThreadState* __tstate = wxPyBeginAllowThreads();
28434 (arg1)->AssignImageList(arg2);
28435
28436 wxPyEndAllowThreads(__tstate);
28437 if (PyErr_Occurred()) SWIG_fail;
28438 }
28439 Py_INCREF(Py_None); resultobj = Py_None;
28440 return resultobj;
28441 fail:
28442 return NULL;
28443}
28444
28445
c370783e 28446static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28447 PyObject *resultobj;
28448 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28449 wxImageList *arg2 = (wxImageList *) 0 ;
28450 PyObject * obj0 = 0 ;
28451 PyObject * obj1 = 0 ;
28452 char *kwnames[] = {
28453 (char *) "self",(char *) "imageList", NULL
28454 };
28455
28456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
28457 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28458 if (SWIG_arg_fail(1)) SWIG_fail;
28459 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
28460 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28461 {
28462 PyThreadState* __tstate = wxPyBeginAllowThreads();
28463 (arg1)->AssignStateImageList(arg2);
28464
28465 wxPyEndAllowThreads(__tstate);
28466 if (PyErr_Occurred()) SWIG_fail;
28467 }
28468 Py_INCREF(Py_None); resultobj = Py_None;
28469 return resultobj;
28470 fail:
28471 return NULL;
28472}
28473
28474
c370783e 28475static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28476 PyObject *resultobj;
28477 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28478 wxTreeItemId *arg2 = 0 ;
28479 wxString result;
28480 PyObject * obj0 = 0 ;
28481 PyObject * obj1 = 0 ;
28482 char *kwnames[] = {
28483 (char *) "self",(char *) "item", NULL
28484 };
28485
28486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
28487 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28488 if (SWIG_arg_fail(1)) SWIG_fail;
28489 {
28490 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28491 if (SWIG_arg_fail(2)) SWIG_fail;
28492 if (arg2 == NULL) {
28493 SWIG_null_ref("wxTreeItemId");
28494 }
28495 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28496 }
28497 {
28498 PyThreadState* __tstate = wxPyBeginAllowThreads();
28499 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
28500
28501 wxPyEndAllowThreads(__tstate);
28502 if (PyErr_Occurred()) SWIG_fail;
28503 }
28504 {
28505#if wxUSE_UNICODE
28506 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28507#else
28508 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28509#endif
28510 }
28511 return resultobj;
28512 fail:
28513 return NULL;
28514}
28515
28516
c370783e 28517static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28518 PyObject *resultobj;
28519 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28520 wxTreeItemId *arg2 = 0 ;
36ed4f51 28521 wxTreeItemIcon arg3 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
d55e5bfc
RD
28522 int result;
28523 PyObject * obj0 = 0 ;
28524 PyObject * obj1 = 0 ;
28525 PyObject * obj2 = 0 ;
28526 char *kwnames[] = {
28527 (char *) "self",(char *) "item",(char *) "which", NULL
28528 };
28529
28530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
28531 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28532 if (SWIG_arg_fail(1)) SWIG_fail;
28533 {
28534 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28535 if (SWIG_arg_fail(2)) SWIG_fail;
28536 if (arg2 == NULL) {
28537 SWIG_null_ref("wxTreeItemId");
28538 }
28539 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28540 }
28541 if (obj2) {
36ed4f51
RD
28542 {
28543 arg3 = (wxTreeItemIcon)(SWIG_As_int(obj2));
28544 if (SWIG_arg_fail(3)) SWIG_fail;
28545 }
d55e5bfc
RD
28546 }
28547 {
28548 PyThreadState* __tstate = wxPyBeginAllowThreads();
28549 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,(wxTreeItemIcon )arg3);
28550
28551 wxPyEndAllowThreads(__tstate);
28552 if (PyErr_Occurred()) SWIG_fail;
28553 }
36ed4f51
RD
28554 {
28555 resultobj = SWIG_From_int((int)(result));
28556 }
d55e5bfc
RD
28557 return resultobj;
28558 fail:
28559 return NULL;
28560}
28561
28562
c370783e 28563static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28564 PyObject *resultobj;
28565 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28566 wxTreeItemId *arg2 = 0 ;
28567 wxPyTreeItemData *result;
28568 PyObject * obj0 = 0 ;
28569 PyObject * obj1 = 0 ;
28570 char *kwnames[] = {
28571 (char *) "self",(char *) "item", NULL
28572 };
28573
28574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
28575 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28576 if (SWIG_arg_fail(1)) SWIG_fail;
28577 {
28578 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28579 if (SWIG_arg_fail(2)) SWIG_fail;
28580 if (arg2 == NULL) {
28581 SWIG_null_ref("wxTreeItemId");
28582 }
28583 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28584 }
28585 {
28586 PyThreadState* __tstate = wxPyBeginAllowThreads();
28587 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
28588
28589 wxPyEndAllowThreads(__tstate);
28590 if (PyErr_Occurred()) SWIG_fail;
28591 }
28592 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 0);
28593 return resultobj;
28594 fail:
28595 return NULL;
28596}
28597
28598
c370783e 28599static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28600 PyObject *resultobj;
28601 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28602 wxTreeItemId *arg2 = 0 ;
28603 PyObject *result;
28604 PyObject * obj0 = 0 ;
28605 PyObject * obj1 = 0 ;
28606 char *kwnames[] = {
28607 (char *) "self",(char *) "item", NULL
28608 };
28609
28610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
28611 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28612 if (SWIG_arg_fail(1)) SWIG_fail;
28613 {
28614 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28615 if (SWIG_arg_fail(2)) SWIG_fail;
28616 if (arg2 == NULL) {
28617 SWIG_null_ref("wxTreeItemId");
28618 }
28619 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28620 }
28621 {
28622 PyThreadState* __tstate = wxPyBeginAllowThreads();
28623 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
28624
28625 wxPyEndAllowThreads(__tstate);
28626 if (PyErr_Occurred()) SWIG_fail;
28627 }
28628 resultobj = result;
28629 return resultobj;
28630 fail:
28631 return NULL;
28632}
28633
28634
c370783e 28635static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28636 PyObject *resultobj;
28637 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28638 wxTreeItemId *arg2 = 0 ;
28639 wxColour result;
28640 PyObject * obj0 = 0 ;
28641 PyObject * obj1 = 0 ;
28642 char *kwnames[] = {
28643 (char *) "self",(char *) "item", NULL
28644 };
28645
28646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
28647 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28648 if (SWIG_arg_fail(1)) SWIG_fail;
28649 {
28650 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28651 if (SWIG_arg_fail(2)) SWIG_fail;
28652 if (arg2 == NULL) {
28653 SWIG_null_ref("wxTreeItemId");
28654 }
28655 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28656 }
28657 {
28658 PyThreadState* __tstate = wxPyBeginAllowThreads();
28659 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
28660
28661 wxPyEndAllowThreads(__tstate);
28662 if (PyErr_Occurred()) SWIG_fail;
28663 }
28664 {
28665 wxColour * resultptr;
36ed4f51 28666 resultptr = new wxColour((wxColour &)(result));
d55e5bfc
RD
28667 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
28668 }
28669 return resultobj;
28670 fail:
28671 return NULL;
28672}
28673
28674
c370783e 28675static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28676 PyObject *resultobj;
28677 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28678 wxTreeItemId *arg2 = 0 ;
28679 wxColour result;
28680 PyObject * obj0 = 0 ;
28681 PyObject * obj1 = 0 ;
28682 char *kwnames[] = {
28683 (char *) "self",(char *) "item", NULL
28684 };
28685
28686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
28687 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28688 if (SWIG_arg_fail(1)) SWIG_fail;
28689 {
28690 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28691 if (SWIG_arg_fail(2)) SWIG_fail;
28692 if (arg2 == NULL) {
28693 SWIG_null_ref("wxTreeItemId");
28694 }
28695 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28696 }
28697 {
28698 PyThreadState* __tstate = wxPyBeginAllowThreads();
28699 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
28700
28701 wxPyEndAllowThreads(__tstate);
28702 if (PyErr_Occurred()) SWIG_fail;
28703 }
28704 {
28705 wxColour * resultptr;
36ed4f51 28706 resultptr = new wxColour((wxColour &)(result));
d55e5bfc
RD
28707 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
28708 }
28709 return resultobj;
28710 fail:
28711 return NULL;
28712}
28713
28714
c370783e 28715static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28716 PyObject *resultobj;
28717 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28718 wxTreeItemId *arg2 = 0 ;
28719 wxFont result;
28720 PyObject * obj0 = 0 ;
28721 PyObject * obj1 = 0 ;
28722 char *kwnames[] = {
28723 (char *) "self",(char *) "item", NULL
28724 };
28725
28726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
28727 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28728 if (SWIG_arg_fail(1)) SWIG_fail;
28729 {
28730 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28731 if (SWIG_arg_fail(2)) SWIG_fail;
28732 if (arg2 == NULL) {
28733 SWIG_null_ref("wxTreeItemId");
28734 }
28735 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28736 }
28737 {
28738 PyThreadState* __tstate = wxPyBeginAllowThreads();
28739 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
28740
28741 wxPyEndAllowThreads(__tstate);
28742 if (PyErr_Occurred()) SWIG_fail;
28743 }
28744 {
28745 wxFont * resultptr;
36ed4f51 28746 resultptr = new wxFont((wxFont &)(result));
d55e5bfc
RD
28747 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
28748 }
28749 return resultobj;
28750 fail:
28751 return NULL;
28752}
28753
28754
c370783e 28755static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28756 PyObject *resultobj;
28757 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28758 wxTreeItemId *arg2 = 0 ;
28759 wxString *arg3 = 0 ;
b411df4a 28760 bool temp3 = false ;
d55e5bfc
RD
28761 PyObject * obj0 = 0 ;
28762 PyObject * obj1 = 0 ;
28763 PyObject * obj2 = 0 ;
28764 char *kwnames[] = {
28765 (char *) "self",(char *) "item",(char *) "text", NULL
28766 };
28767
28768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
28769 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28770 if (SWIG_arg_fail(1)) SWIG_fail;
28771 {
28772 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28773 if (SWIG_arg_fail(2)) SWIG_fail;
28774 if (arg2 == NULL) {
28775 SWIG_null_ref("wxTreeItemId");
28776 }
28777 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28778 }
28779 {
28780 arg3 = wxString_in_helper(obj2);
28781 if (arg3 == NULL) SWIG_fail;
b411df4a 28782 temp3 = true;
d55e5bfc
RD
28783 }
28784 {
28785 PyThreadState* __tstate = wxPyBeginAllowThreads();
28786 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
28787
28788 wxPyEndAllowThreads(__tstate);
28789 if (PyErr_Occurred()) SWIG_fail;
28790 }
28791 Py_INCREF(Py_None); resultobj = Py_None;
28792 {
28793 if (temp3)
28794 delete arg3;
28795 }
28796 return resultobj;
28797 fail:
28798 {
28799 if (temp3)
28800 delete arg3;
28801 }
28802 return NULL;
28803}
28804
28805
c370783e 28806static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28807 PyObject *resultobj;
28808 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28809 wxTreeItemId *arg2 = 0 ;
28810 int arg3 ;
36ed4f51 28811 wxTreeItemIcon arg4 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
d55e5bfc
RD
28812 PyObject * obj0 = 0 ;
28813 PyObject * obj1 = 0 ;
28814 PyObject * obj2 = 0 ;
28815 PyObject * obj3 = 0 ;
28816 char *kwnames[] = {
28817 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
28818 };
28819
28820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
28821 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28822 if (SWIG_arg_fail(1)) SWIG_fail;
28823 {
28824 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28825 if (SWIG_arg_fail(2)) SWIG_fail;
28826 if (arg2 == NULL) {
28827 SWIG_null_ref("wxTreeItemId");
28828 }
28829 if (SWIG_arg_fail(2)) SWIG_fail;
28830 }
28831 {
28832 arg3 = (int)(SWIG_As_int(obj2));
28833 if (SWIG_arg_fail(3)) SWIG_fail;
28834 }
d55e5bfc 28835 if (obj3) {
36ed4f51
RD
28836 {
28837 arg4 = (wxTreeItemIcon)(SWIG_As_int(obj3));
28838 if (SWIG_arg_fail(4)) SWIG_fail;
28839 }
d55e5bfc
RD
28840 }
28841 {
28842 PyThreadState* __tstate = wxPyBeginAllowThreads();
28843 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4);
28844
28845 wxPyEndAllowThreads(__tstate);
28846 if (PyErr_Occurred()) SWIG_fail;
28847 }
28848 Py_INCREF(Py_None); resultobj = Py_None;
28849 return resultobj;
28850 fail:
28851 return NULL;
28852}
28853
28854
c370783e 28855static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28856 PyObject *resultobj;
28857 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28858 wxTreeItemId *arg2 = 0 ;
28859 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
28860 PyObject * obj0 = 0 ;
28861 PyObject * obj1 = 0 ;
28862 PyObject * obj2 = 0 ;
28863 char *kwnames[] = {
28864 (char *) "self",(char *) "item",(char *) "data", NULL
28865 };
28866
28867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
28868 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28869 if (SWIG_arg_fail(1)) SWIG_fail;
28870 {
28871 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28872 if (SWIG_arg_fail(2)) SWIG_fail;
28873 if (arg2 == NULL) {
28874 SWIG_null_ref("wxTreeItemId");
28875 }
28876 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 28877 }
36ed4f51
RD
28878 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
28879 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
28880 {
28881 PyThreadState* __tstate = wxPyBeginAllowThreads();
28882 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
28883
28884 wxPyEndAllowThreads(__tstate);
28885 if (PyErr_Occurred()) SWIG_fail;
28886 }
28887 Py_INCREF(Py_None); resultobj = Py_None;
28888 return resultobj;
28889 fail:
28890 return NULL;
28891}
28892
28893
c370783e 28894static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28895 PyObject *resultobj;
28896 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28897 wxTreeItemId *arg2 = 0 ;
28898 PyObject *arg3 = (PyObject *) 0 ;
28899 PyObject * obj0 = 0 ;
28900 PyObject * obj1 = 0 ;
28901 PyObject * obj2 = 0 ;
28902 char *kwnames[] = {
28903 (char *) "self",(char *) "item",(char *) "obj", NULL
28904 };
28905
28906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
28907 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28908 if (SWIG_arg_fail(1)) SWIG_fail;
28909 {
28910 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28911 if (SWIG_arg_fail(2)) SWIG_fail;
28912 if (arg2 == NULL) {
28913 SWIG_null_ref("wxTreeItemId");
28914 }
28915 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28916 }
28917 arg3 = obj2;
28918 {
28919 PyThreadState* __tstate = wxPyBeginAllowThreads();
28920 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
28921
28922 wxPyEndAllowThreads(__tstate);
28923 if (PyErr_Occurred()) SWIG_fail;
28924 }
28925 Py_INCREF(Py_None); resultobj = Py_None;
28926 return resultobj;
28927 fail:
28928 return NULL;
28929}
28930
28931
c370783e 28932static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28933 PyObject *resultobj;
28934 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28935 wxTreeItemId *arg2 = 0 ;
b411df4a 28936 bool arg3 = (bool) true ;
d55e5bfc
RD
28937 PyObject * obj0 = 0 ;
28938 PyObject * obj1 = 0 ;
28939 PyObject * obj2 = 0 ;
28940 char *kwnames[] = {
28941 (char *) "self",(char *) "item",(char *) "has", NULL
28942 };
28943
28944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
28945 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28946 if (SWIG_arg_fail(1)) SWIG_fail;
28947 {
28948 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28949 if (SWIG_arg_fail(2)) SWIG_fail;
28950 if (arg2 == NULL) {
28951 SWIG_null_ref("wxTreeItemId");
28952 }
28953 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28954 }
28955 if (obj2) {
36ed4f51
RD
28956 {
28957 arg3 = (bool)(SWIG_As_bool(obj2));
28958 if (SWIG_arg_fail(3)) SWIG_fail;
28959 }
d55e5bfc
RD
28960 }
28961 {
28962 PyThreadState* __tstate = wxPyBeginAllowThreads();
28963 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
28964
28965 wxPyEndAllowThreads(__tstate);
28966 if (PyErr_Occurred()) SWIG_fail;
28967 }
28968 Py_INCREF(Py_None); resultobj = Py_None;
28969 return resultobj;
28970 fail:
28971 return NULL;
28972}
28973
28974
c370783e 28975static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28976 PyObject *resultobj;
28977 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28978 wxTreeItemId *arg2 = 0 ;
b411df4a 28979 bool arg3 = (bool) true ;
d55e5bfc
RD
28980 PyObject * obj0 = 0 ;
28981 PyObject * obj1 = 0 ;
28982 PyObject * obj2 = 0 ;
28983 char *kwnames[] = {
28984 (char *) "self",(char *) "item",(char *) "bold", NULL
28985 };
28986
28987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
28988 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28989 if (SWIG_arg_fail(1)) SWIG_fail;
28990 {
28991 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28992 if (SWIG_arg_fail(2)) SWIG_fail;
28993 if (arg2 == NULL) {
28994 SWIG_null_ref("wxTreeItemId");
28995 }
28996 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28997 }
28998 if (obj2) {
36ed4f51
RD
28999 {
29000 arg3 = (bool)(SWIG_As_bool(obj2));
29001 if (SWIG_arg_fail(3)) SWIG_fail;
29002 }
d55e5bfc
RD
29003 }
29004 {
29005 PyThreadState* __tstate = wxPyBeginAllowThreads();
29006 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
29007
29008 wxPyEndAllowThreads(__tstate);
29009 if (PyErr_Occurred()) SWIG_fail;
29010 }
29011 Py_INCREF(Py_None); resultobj = Py_None;
29012 return resultobj;
29013 fail:
29014 return NULL;
29015}
29016
29017
c370783e 29018static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29019 PyObject *resultobj;
29020 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29021 wxTreeItemId *arg2 = 0 ;
29022 wxColour *arg3 = 0 ;
29023 wxColour temp3 ;
29024 PyObject * obj0 = 0 ;
29025 PyObject * obj1 = 0 ;
29026 PyObject * obj2 = 0 ;
29027 char *kwnames[] = {
29028 (char *) "self",(char *) "item",(char *) "col", NULL
29029 };
29030
29031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
29032 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29033 if (SWIG_arg_fail(1)) SWIG_fail;
29034 {
29035 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29036 if (SWIG_arg_fail(2)) SWIG_fail;
29037 if (arg2 == NULL) {
29038 SWIG_null_ref("wxTreeItemId");
29039 }
29040 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29041 }
29042 {
29043 arg3 = &temp3;
29044 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
29045 }
29046 {
29047 PyThreadState* __tstate = wxPyBeginAllowThreads();
29048 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
29049
29050 wxPyEndAllowThreads(__tstate);
29051 if (PyErr_Occurred()) SWIG_fail;
29052 }
29053 Py_INCREF(Py_None); resultobj = Py_None;
29054 return resultobj;
29055 fail:
29056 return NULL;
29057}
29058
29059
c370783e 29060static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29061 PyObject *resultobj;
29062 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29063 wxTreeItemId *arg2 = 0 ;
29064 wxColour *arg3 = 0 ;
29065 wxColour temp3 ;
29066 PyObject * obj0 = 0 ;
29067 PyObject * obj1 = 0 ;
29068 PyObject * obj2 = 0 ;
29069 char *kwnames[] = {
29070 (char *) "self",(char *) "item",(char *) "col", NULL
29071 };
29072
29073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
29074 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29075 if (SWIG_arg_fail(1)) SWIG_fail;
29076 {
29077 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29078 if (SWIG_arg_fail(2)) SWIG_fail;
29079 if (arg2 == NULL) {
29080 SWIG_null_ref("wxTreeItemId");
29081 }
29082 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29083 }
29084 {
29085 arg3 = &temp3;
29086 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
29087 }
29088 {
29089 PyThreadState* __tstate = wxPyBeginAllowThreads();
29090 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
29091
29092 wxPyEndAllowThreads(__tstate);
29093 if (PyErr_Occurred()) SWIG_fail;
29094 }
29095 Py_INCREF(Py_None); resultobj = Py_None;
29096 return resultobj;
29097 fail:
29098 return NULL;
29099}
29100
29101
c370783e 29102static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29103 PyObject *resultobj;
29104 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29105 wxTreeItemId *arg2 = 0 ;
29106 wxFont *arg3 = 0 ;
29107 PyObject * obj0 = 0 ;
29108 PyObject * obj1 = 0 ;
29109 PyObject * obj2 = 0 ;
29110 char *kwnames[] = {
29111 (char *) "self",(char *) "item",(char *) "font", NULL
29112 };
29113
29114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
29115 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29116 if (SWIG_arg_fail(1)) SWIG_fail;
29117 {
29118 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29119 if (SWIG_arg_fail(2)) SWIG_fail;
29120 if (arg2 == NULL) {
29121 SWIG_null_ref("wxTreeItemId");
29122 }
29123 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 29124 }
36ed4f51
RD
29125 {
29126 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
29127 if (SWIG_arg_fail(3)) SWIG_fail;
29128 if (arg3 == NULL) {
29129 SWIG_null_ref("wxFont");
29130 }
29131 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
29132 }
29133 {
29134 PyThreadState* __tstate = wxPyBeginAllowThreads();
29135 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
29136
29137 wxPyEndAllowThreads(__tstate);
29138 if (PyErr_Occurred()) SWIG_fail;
29139 }
29140 Py_INCREF(Py_None); resultobj = Py_None;
29141 return resultobj;
29142 fail:
29143 return NULL;
29144}
29145
29146
c370783e 29147static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29148 PyObject *resultobj;
29149 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29150 wxTreeItemId *arg2 = 0 ;
29151 bool result;
29152 PyObject * obj0 = 0 ;
29153 PyObject * obj1 = 0 ;
29154 char *kwnames[] = {
29155 (char *) "self",(char *) "item", NULL
29156 };
29157
29158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
29159 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29160 if (SWIG_arg_fail(1)) SWIG_fail;
29161 {
29162 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29163 if (SWIG_arg_fail(2)) SWIG_fail;
29164 if (arg2 == NULL) {
29165 SWIG_null_ref("wxTreeItemId");
29166 }
29167 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29168 }
29169 {
29170 PyThreadState* __tstate = wxPyBeginAllowThreads();
29171 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
29172
29173 wxPyEndAllowThreads(__tstate);
29174 if (PyErr_Occurred()) SWIG_fail;
29175 }
29176 {
29177 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29178 }
29179 return resultobj;
29180 fail:
29181 return NULL;
29182}
29183
29184
c370783e 29185static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29186 PyObject *resultobj;
29187 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29188 wxTreeItemId *arg2 = 0 ;
29189 bool result;
29190 PyObject * obj0 = 0 ;
29191 PyObject * obj1 = 0 ;
29192 char *kwnames[] = {
29193 (char *) "self",(char *) "item", NULL
29194 };
29195
29196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
29197 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29198 if (SWIG_arg_fail(1)) SWIG_fail;
29199 {
29200 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29201 if (SWIG_arg_fail(2)) SWIG_fail;
29202 if (arg2 == NULL) {
29203 SWIG_null_ref("wxTreeItemId");
29204 }
29205 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29206 }
29207 {
29208 PyThreadState* __tstate = wxPyBeginAllowThreads();
29209 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
29210
29211 wxPyEndAllowThreads(__tstate);
29212 if (PyErr_Occurred()) SWIG_fail;
29213 }
29214 {
29215 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29216 }
29217 return resultobj;
29218 fail:
29219 return NULL;
29220}
29221
29222
c370783e 29223static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29224 PyObject *resultobj;
29225 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29226 wxTreeItemId *arg2 = 0 ;
29227 bool result;
29228 PyObject * obj0 = 0 ;
29229 PyObject * obj1 = 0 ;
29230 char *kwnames[] = {
29231 (char *) "self",(char *) "item", NULL
29232 };
29233
29234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
29235 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29236 if (SWIG_arg_fail(1)) SWIG_fail;
29237 {
29238 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29239 if (SWIG_arg_fail(2)) SWIG_fail;
29240 if (arg2 == NULL) {
29241 SWIG_null_ref("wxTreeItemId");
29242 }
29243 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29244 }
29245 {
29246 PyThreadState* __tstate = wxPyBeginAllowThreads();
29247 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
29248
29249 wxPyEndAllowThreads(__tstate);
29250 if (PyErr_Occurred()) SWIG_fail;
29251 }
29252 {
29253 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29254 }
29255 return resultobj;
29256 fail:
29257 return NULL;
29258}
29259
29260
c370783e 29261static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29262 PyObject *resultobj;
29263 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29264 wxTreeItemId *arg2 = 0 ;
29265 bool result;
29266 PyObject * obj0 = 0 ;
29267 PyObject * obj1 = 0 ;
29268 char *kwnames[] = {
29269 (char *) "self",(char *) "item", NULL
29270 };
29271
29272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
29273 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29274 if (SWIG_arg_fail(1)) SWIG_fail;
29275 {
29276 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29277 if (SWIG_arg_fail(2)) SWIG_fail;
29278 if (arg2 == NULL) {
29279 SWIG_null_ref("wxTreeItemId");
29280 }
29281 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29282 }
29283 {
29284 PyThreadState* __tstate = wxPyBeginAllowThreads();
29285 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
29286
29287 wxPyEndAllowThreads(__tstate);
29288 if (PyErr_Occurred()) SWIG_fail;
29289 }
29290 {
29291 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29292 }
29293 return resultobj;
29294 fail:
29295 return NULL;
29296}
29297
29298
c370783e 29299static PyObject *_wrap_TreeCtrl_IsBold(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29300 PyObject *resultobj;
29301 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29302 wxTreeItemId *arg2 = 0 ;
29303 bool result;
29304 PyObject * obj0 = 0 ;
29305 PyObject * obj1 = 0 ;
29306 char *kwnames[] = {
29307 (char *) "self",(char *) "item", NULL
29308 };
29309
29310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
29311 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29312 if (SWIG_arg_fail(1)) SWIG_fail;
29313 {
29314 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29315 if (SWIG_arg_fail(2)) SWIG_fail;
29316 if (arg2 == NULL) {
29317 SWIG_null_ref("wxTreeItemId");
29318 }
29319 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29320 }
29321 {
29322 PyThreadState* __tstate = wxPyBeginAllowThreads();
29323 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
29324
29325 wxPyEndAllowThreads(__tstate);
29326 if (PyErr_Occurred()) SWIG_fail;
29327 }
29328 {
29329 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29330 }
29331 return resultobj;
29332 fail:
29333 return NULL;
29334}
29335
29336
c370783e 29337static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29338 PyObject *resultobj;
29339 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29340 wxTreeItemId *arg2 = 0 ;
b411df4a 29341 bool arg3 = (bool) true ;
d55e5bfc
RD
29342 size_t result;
29343 PyObject * obj0 = 0 ;
29344 PyObject * obj1 = 0 ;
29345 PyObject * obj2 = 0 ;
29346 char *kwnames[] = {
29347 (char *) "self",(char *) "item",(char *) "recursively", NULL
29348 };
29349
29350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
29351 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29352 if (SWIG_arg_fail(1)) SWIG_fail;
29353 {
29354 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29355 if (SWIG_arg_fail(2)) SWIG_fail;
29356 if (arg2 == NULL) {
29357 SWIG_null_ref("wxTreeItemId");
29358 }
29359 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29360 }
29361 if (obj2) {
36ed4f51
RD
29362 {
29363 arg3 = (bool)(SWIG_As_bool(obj2));
29364 if (SWIG_arg_fail(3)) SWIG_fail;
29365 }
d55e5bfc
RD
29366 }
29367 {
29368 PyThreadState* __tstate = wxPyBeginAllowThreads();
29369 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
29370
29371 wxPyEndAllowThreads(__tstate);
29372 if (PyErr_Occurred()) SWIG_fail;
29373 }
36ed4f51
RD
29374 {
29375 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
29376 }
d55e5bfc
RD
29377 return resultobj;
29378 fail:
29379 return NULL;
29380}
29381
29382
c370783e 29383static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29384 PyObject *resultobj;
29385 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29386 wxTreeItemId result;
29387 PyObject * obj0 = 0 ;
29388 char *kwnames[] = {
29389 (char *) "self", NULL
29390 };
29391
29392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
36ed4f51
RD
29393 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29394 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29395 {
29396 PyThreadState* __tstate = wxPyBeginAllowThreads();
29397 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
29398
29399 wxPyEndAllowThreads(__tstate);
29400 if (PyErr_Occurred()) SWIG_fail;
29401 }
29402 {
29403 wxTreeItemId * resultptr;
36ed4f51 29404 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
29405 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29406 }
29407 return resultobj;
29408 fail:
29409 return NULL;
29410}
29411
29412
c370783e 29413static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29414 PyObject *resultobj;
29415 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29416 wxTreeItemId result;
29417 PyObject * obj0 = 0 ;
29418 char *kwnames[] = {
29419 (char *) "self", NULL
29420 };
29421
29422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
36ed4f51
RD
29423 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29424 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29425 {
29426 PyThreadState* __tstate = wxPyBeginAllowThreads();
29427 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
29428
29429 wxPyEndAllowThreads(__tstate);
29430 if (PyErr_Occurred()) SWIG_fail;
29431 }
29432 {
29433 wxTreeItemId * resultptr;
36ed4f51 29434 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
29435 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29436 }
29437 return resultobj;
29438 fail:
29439 return NULL;
29440}
29441
29442
c370783e 29443static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29444 PyObject *resultobj;
29445 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29446 PyObject *result;
29447 PyObject * obj0 = 0 ;
29448 char *kwnames[] = {
29449 (char *) "self", NULL
29450 };
29451
29452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
36ed4f51
RD
29453 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29454 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29455 {
29456 PyThreadState* __tstate = wxPyBeginAllowThreads();
29457 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
29458
29459 wxPyEndAllowThreads(__tstate);
29460 if (PyErr_Occurred()) SWIG_fail;
29461 }
29462 resultobj = result;
29463 return resultobj;
29464 fail:
29465 return NULL;
29466}
29467
29468
c370783e 29469static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29470 PyObject *resultobj;
29471 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29472 wxTreeItemId *arg2 = 0 ;
29473 wxTreeItemId result;
29474 PyObject * obj0 = 0 ;
29475 PyObject * obj1 = 0 ;
29476 char *kwnames[] = {
29477 (char *) "self",(char *) "item", NULL
29478 };
29479
29480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
29481 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29482 if (SWIG_arg_fail(1)) SWIG_fail;
29483 {
29484 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29485 if (SWIG_arg_fail(2)) SWIG_fail;
29486 if (arg2 == NULL) {
29487 SWIG_null_ref("wxTreeItemId");
29488 }
29489 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29490 }
29491 {
29492 PyThreadState* __tstate = wxPyBeginAllowThreads();
29493 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
29494
29495 wxPyEndAllowThreads(__tstate);
29496 if (PyErr_Occurred()) SWIG_fail;
29497 }
29498 {
29499 wxTreeItemId * resultptr;
36ed4f51 29500 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
29501 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29502 }
29503 return resultobj;
29504 fail:
29505 return NULL;
29506}
29507
29508
c370783e 29509static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29510 PyObject *resultobj;
29511 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29512 wxTreeItemId *arg2 = 0 ;
29513 PyObject *result;
29514 PyObject * obj0 = 0 ;
29515 PyObject * obj1 = 0 ;
29516 char *kwnames[] = {
29517 (char *) "self",(char *) "item", NULL
29518 };
29519
29520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
29521 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29522 if (SWIG_arg_fail(1)) SWIG_fail;
29523 {
29524 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29525 if (SWIG_arg_fail(2)) SWIG_fail;
29526 if (arg2 == NULL) {
29527 SWIG_null_ref("wxTreeItemId");
29528 }
29529 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29530 }
29531 {
29532 PyThreadState* __tstate = wxPyBeginAllowThreads();
29533 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
29534
29535 wxPyEndAllowThreads(__tstate);
29536 if (PyErr_Occurred()) SWIG_fail;
29537 }
29538 resultobj = result;
29539 return resultobj;
29540 fail:
29541 return NULL;
29542}
29543
29544
c370783e 29545static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29546 PyObject *resultobj;
29547 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29548 wxTreeItemId *arg2 = 0 ;
29549 void *arg3 = (void *) 0 ;
29550 PyObject *result;
29551 PyObject * obj0 = 0 ;
29552 PyObject * obj1 = 0 ;
29553 PyObject * obj2 = 0 ;
29554 char *kwnames[] = {
29555 (char *) "self",(char *) "item",(char *) "cookie", NULL
29556 };
29557
29558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
29559 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29560 if (SWIG_arg_fail(1)) SWIG_fail;
29561 {
29562 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29563 if (SWIG_arg_fail(2)) SWIG_fail;
29564 if (arg2 == NULL) {
29565 SWIG_null_ref("wxTreeItemId");
29566 }
29567 if (SWIG_arg_fail(2)) SWIG_fail;
29568 }
29569 {
29570 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),0,SWIG_POINTER_EXCEPTION|0))== -1) {
29571 SWIG_arg_fail(3);SWIG_fail;
29572 }
d55e5bfc 29573 }
d55e5bfc
RD
29574 {
29575 PyThreadState* __tstate = wxPyBeginAllowThreads();
29576 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
29577
29578 wxPyEndAllowThreads(__tstate);
29579 if (PyErr_Occurred()) SWIG_fail;
29580 }
29581 resultobj = result;
29582 return resultobj;
29583 fail:
29584 return NULL;
29585}
29586
29587
c370783e 29588static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29589 PyObject *resultobj;
29590 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29591 wxTreeItemId *arg2 = 0 ;
29592 wxTreeItemId result;
29593 PyObject * obj0 = 0 ;
29594 PyObject * obj1 = 0 ;
29595 char *kwnames[] = {
29596 (char *) "self",(char *) "item", NULL
29597 };
29598
29599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
29600 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29601 if (SWIG_arg_fail(1)) SWIG_fail;
29602 {
29603 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29604 if (SWIG_arg_fail(2)) SWIG_fail;
29605 if (arg2 == NULL) {
29606 SWIG_null_ref("wxTreeItemId");
29607 }
29608 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29609 }
29610 {
29611 PyThreadState* __tstate = wxPyBeginAllowThreads();
29612 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
29613
29614 wxPyEndAllowThreads(__tstate);
29615 if (PyErr_Occurred()) SWIG_fail;
29616 }
29617 {
29618 wxTreeItemId * resultptr;
36ed4f51 29619 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
29620 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29621 }
29622 return resultobj;
29623 fail:
29624 return NULL;
29625}
29626
29627
c370783e 29628static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29629 PyObject *resultobj;
29630 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29631 wxTreeItemId *arg2 = 0 ;
29632 wxTreeItemId result;
29633 PyObject * obj0 = 0 ;
29634 PyObject * obj1 = 0 ;
29635 char *kwnames[] = {
29636 (char *) "self",(char *) "item", NULL
29637 };
29638
29639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
29640 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29641 if (SWIG_arg_fail(1)) SWIG_fail;
29642 {
29643 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29644 if (SWIG_arg_fail(2)) SWIG_fail;
29645 if (arg2 == NULL) {
29646 SWIG_null_ref("wxTreeItemId");
29647 }
29648 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29649 }
29650 {
29651 PyThreadState* __tstate = wxPyBeginAllowThreads();
29652 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
29653
29654 wxPyEndAllowThreads(__tstate);
29655 if (PyErr_Occurred()) SWIG_fail;
29656 }
29657 {
29658 wxTreeItemId * resultptr;
36ed4f51 29659 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
29660 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29661 }
29662 return resultobj;
29663 fail:
29664 return NULL;
29665}
29666
29667
c370783e 29668static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29669 PyObject *resultobj;
29670 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29671 wxTreeItemId *arg2 = 0 ;
29672 wxTreeItemId result;
29673 PyObject * obj0 = 0 ;
29674 PyObject * obj1 = 0 ;
29675 char *kwnames[] = {
29676 (char *) "self",(char *) "item", NULL
29677 };
29678
29679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
29680 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29681 if (SWIG_arg_fail(1)) SWIG_fail;
29682 {
29683 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29684 if (SWIG_arg_fail(2)) SWIG_fail;
29685 if (arg2 == NULL) {
29686 SWIG_null_ref("wxTreeItemId");
29687 }
29688 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29689 }
29690 {
29691 PyThreadState* __tstate = wxPyBeginAllowThreads();
29692 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
29693
29694 wxPyEndAllowThreads(__tstate);
29695 if (PyErr_Occurred()) SWIG_fail;
29696 }
29697 {
29698 wxTreeItemId * resultptr;
36ed4f51 29699 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
29700 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29701 }
29702 return resultobj;
29703 fail:
29704 return NULL;
29705}
29706
29707
c370783e 29708static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29709 PyObject *resultobj;
29710 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29711 wxTreeItemId result;
29712 PyObject * obj0 = 0 ;
29713 char *kwnames[] = {
29714 (char *) "self", NULL
29715 };
29716
29717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
36ed4f51
RD
29718 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29719 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29720 {
29721 PyThreadState* __tstate = wxPyBeginAllowThreads();
29722 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
29723
29724 wxPyEndAllowThreads(__tstate);
29725 if (PyErr_Occurred()) SWIG_fail;
29726 }
29727 {
29728 wxTreeItemId * resultptr;
36ed4f51 29729 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
29730 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29731 }
29732 return resultobj;
29733 fail:
29734 return NULL;
29735}
29736
29737
c370783e 29738static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29739 PyObject *resultobj;
29740 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29741 wxTreeItemId *arg2 = 0 ;
29742 wxTreeItemId result;
29743 PyObject * obj0 = 0 ;
29744 PyObject * obj1 = 0 ;
29745 char *kwnames[] = {
29746 (char *) "self",(char *) "item", NULL
29747 };
29748
29749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
29750 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29751 if (SWIG_arg_fail(1)) SWIG_fail;
29752 {
29753 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29754 if (SWIG_arg_fail(2)) SWIG_fail;
29755 if (arg2 == NULL) {
29756 SWIG_null_ref("wxTreeItemId");
29757 }
29758 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29759 }
29760 {
29761 PyThreadState* __tstate = wxPyBeginAllowThreads();
29762 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
29763
29764 wxPyEndAllowThreads(__tstate);
29765 if (PyErr_Occurred()) SWIG_fail;
29766 }
29767 {
29768 wxTreeItemId * resultptr;
36ed4f51 29769 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
29770 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29771 }
29772 return resultobj;
29773 fail:
29774 return NULL;
29775}
29776
29777
c370783e 29778static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29779 PyObject *resultobj;
29780 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29781 wxTreeItemId *arg2 = 0 ;
29782 wxTreeItemId result;
29783 PyObject * obj0 = 0 ;
29784 PyObject * obj1 = 0 ;
29785 char *kwnames[] = {
29786 (char *) "self",(char *) "item", NULL
29787 };
29788
29789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
29790 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29791 if (SWIG_arg_fail(1)) SWIG_fail;
29792 {
29793 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29794 if (SWIG_arg_fail(2)) SWIG_fail;
29795 if (arg2 == NULL) {
29796 SWIG_null_ref("wxTreeItemId");
29797 }
29798 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29799 }
29800 {
29801 PyThreadState* __tstate = wxPyBeginAllowThreads();
29802 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
29803
29804 wxPyEndAllowThreads(__tstate);
29805 if (PyErr_Occurred()) SWIG_fail;
29806 }
29807 {
29808 wxTreeItemId * resultptr;
36ed4f51 29809 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
29810 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29811 }
29812 return resultobj;
29813 fail:
29814 return NULL;
29815}
29816
29817
c370783e 29818static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29819 PyObject *resultobj;
29820 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29821 wxString *arg2 = 0 ;
29822 int arg3 = (int) -1 ;
29823 int arg4 = (int) -1 ;
29824 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
29825 wxTreeItemId result;
b411df4a 29826 bool temp2 = false ;
d55e5bfc
RD
29827 PyObject * obj0 = 0 ;
29828 PyObject * obj1 = 0 ;
29829 PyObject * obj2 = 0 ;
29830 PyObject * obj3 = 0 ;
29831 PyObject * obj4 = 0 ;
29832 char *kwnames[] = {
29833 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29834 };
29835
29836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
29837 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29838 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29839 {
29840 arg2 = wxString_in_helper(obj1);
29841 if (arg2 == NULL) SWIG_fail;
b411df4a 29842 temp2 = true;
d55e5bfc
RD
29843 }
29844 if (obj2) {
36ed4f51
RD
29845 {
29846 arg3 = (int)(SWIG_As_int(obj2));
29847 if (SWIG_arg_fail(3)) SWIG_fail;
29848 }
d55e5bfc
RD
29849 }
29850 if (obj3) {
36ed4f51
RD
29851 {
29852 arg4 = (int)(SWIG_As_int(obj3));
29853 if (SWIG_arg_fail(4)) SWIG_fail;
29854 }
d55e5bfc
RD
29855 }
29856 if (obj4) {
36ed4f51
RD
29857 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
29858 if (SWIG_arg_fail(5)) SWIG_fail;
d55e5bfc
RD
29859 }
29860 {
29861 PyThreadState* __tstate = wxPyBeginAllowThreads();
29862 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
29863
29864 wxPyEndAllowThreads(__tstate);
29865 if (PyErr_Occurred()) SWIG_fail;
29866 }
29867 {
29868 wxTreeItemId * resultptr;
36ed4f51 29869 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
29870 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29871 }
29872 {
29873 if (temp2)
29874 delete arg2;
29875 }
29876 return resultobj;
29877 fail:
29878 {
29879 if (temp2)
29880 delete arg2;
29881 }
29882 return NULL;
29883}
29884
29885
c370783e 29886static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29887 PyObject *resultobj;
29888 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29889 wxTreeItemId *arg2 = 0 ;
29890 wxString *arg3 = 0 ;
29891 int arg4 = (int) -1 ;
29892 int arg5 = (int) -1 ;
29893 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
29894 wxTreeItemId result;
b411df4a 29895 bool temp3 = false ;
d55e5bfc
RD
29896 PyObject * obj0 = 0 ;
29897 PyObject * obj1 = 0 ;
29898 PyObject * obj2 = 0 ;
29899 PyObject * obj3 = 0 ;
29900 PyObject * obj4 = 0 ;
29901 PyObject * obj5 = 0 ;
29902 char *kwnames[] = {
29903 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29904 };
29905
29906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
29907 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29908 if (SWIG_arg_fail(1)) SWIG_fail;
29909 {
29910 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29911 if (SWIG_arg_fail(2)) SWIG_fail;
29912 if (arg2 == NULL) {
29913 SWIG_null_ref("wxTreeItemId");
29914 }
29915 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29916 }
29917 {
29918 arg3 = wxString_in_helper(obj2);
29919 if (arg3 == NULL) SWIG_fail;
b411df4a 29920 temp3 = true;
d55e5bfc
RD
29921 }
29922 if (obj3) {
36ed4f51
RD
29923 {
29924 arg4 = (int)(SWIG_As_int(obj3));
29925 if (SWIG_arg_fail(4)) SWIG_fail;
29926 }
d55e5bfc
RD
29927 }
29928 if (obj4) {
36ed4f51
RD
29929 {
29930 arg5 = (int)(SWIG_As_int(obj4));
29931 if (SWIG_arg_fail(5)) SWIG_fail;
29932 }
d55e5bfc
RD
29933 }
29934 if (obj5) {
36ed4f51
RD
29935 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
29936 if (SWIG_arg_fail(6)) SWIG_fail;
d55e5bfc
RD
29937 }
29938 {
29939 PyThreadState* __tstate = wxPyBeginAllowThreads();
29940 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
29941
29942 wxPyEndAllowThreads(__tstate);
29943 if (PyErr_Occurred()) SWIG_fail;
29944 }
29945 {
29946 wxTreeItemId * resultptr;
36ed4f51 29947 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
29948 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29949 }
29950 {
29951 if (temp3)
29952 delete arg3;
29953 }
29954 return resultobj;
29955 fail:
29956 {
29957 if (temp3)
29958 delete arg3;
29959 }
29960 return NULL;
29961}
29962
29963
c370783e 29964static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29965 PyObject *resultobj;
29966 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29967 wxTreeItemId *arg2 = 0 ;
29968 wxTreeItemId *arg3 = 0 ;
29969 wxString *arg4 = 0 ;
29970 int arg5 = (int) -1 ;
29971 int arg6 = (int) -1 ;
29972 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
29973 wxTreeItemId result;
b411df4a 29974 bool temp4 = false ;
d55e5bfc
RD
29975 PyObject * obj0 = 0 ;
29976 PyObject * obj1 = 0 ;
29977 PyObject * obj2 = 0 ;
29978 PyObject * obj3 = 0 ;
29979 PyObject * obj4 = 0 ;
29980 PyObject * obj5 = 0 ;
29981 PyObject * obj6 = 0 ;
29982 char *kwnames[] = {
29983 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29984 };
29985
29986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
29987 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29988 if (SWIG_arg_fail(1)) SWIG_fail;
29989 {
29990 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29991 if (SWIG_arg_fail(2)) SWIG_fail;
29992 if (arg2 == NULL) {
29993 SWIG_null_ref("wxTreeItemId");
29994 }
29995 if (SWIG_arg_fail(2)) SWIG_fail;
29996 }
29997 {
29998 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29999 if (SWIG_arg_fail(3)) SWIG_fail;
30000 if (arg3 == NULL) {
30001 SWIG_null_ref("wxTreeItemId");
30002 }
30003 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
30004 }
30005 {
30006 arg4 = wxString_in_helper(obj3);
30007 if (arg4 == NULL) SWIG_fail;
b411df4a 30008 temp4 = true;
d55e5bfc
RD
30009 }
30010 if (obj4) {
36ed4f51
RD
30011 {
30012 arg5 = (int)(SWIG_As_int(obj4));
30013 if (SWIG_arg_fail(5)) SWIG_fail;
30014 }
d55e5bfc
RD
30015 }
30016 if (obj5) {
36ed4f51
RD
30017 {
30018 arg6 = (int)(SWIG_As_int(obj5));
30019 if (SWIG_arg_fail(6)) SWIG_fail;
30020 }
d55e5bfc
RD
30021 }
30022 if (obj6) {
36ed4f51
RD
30023 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
30024 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
30025 }
30026 {
30027 PyThreadState* __tstate = wxPyBeginAllowThreads();
30028 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
30029
30030 wxPyEndAllowThreads(__tstate);
30031 if (PyErr_Occurred()) SWIG_fail;
30032 }
30033 {
30034 wxTreeItemId * resultptr;
36ed4f51 30035 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
30036 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30037 }
30038 {
30039 if (temp4)
30040 delete arg4;
30041 }
30042 return resultobj;
30043 fail:
30044 {
30045 if (temp4)
30046 delete arg4;
30047 }
30048 return NULL;
30049}
30050
30051
c370783e 30052static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30053 PyObject *resultobj;
30054 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30055 wxTreeItemId *arg2 = 0 ;
30056 size_t arg3 ;
30057 wxString *arg4 = 0 ;
30058 int arg5 = (int) -1 ;
30059 int arg6 = (int) -1 ;
30060 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
30061 wxTreeItemId result;
b411df4a 30062 bool temp4 = false ;
d55e5bfc
RD
30063 PyObject * obj0 = 0 ;
30064 PyObject * obj1 = 0 ;
30065 PyObject * obj2 = 0 ;
30066 PyObject * obj3 = 0 ;
30067 PyObject * obj4 = 0 ;
30068 PyObject * obj5 = 0 ;
30069 PyObject * obj6 = 0 ;
30070 char *kwnames[] = {
30071 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30072 };
30073
30074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
30075 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30076 if (SWIG_arg_fail(1)) SWIG_fail;
30077 {
30078 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30079 if (SWIG_arg_fail(2)) SWIG_fail;
30080 if (arg2 == NULL) {
30081 SWIG_null_ref("wxTreeItemId");
30082 }
30083 if (SWIG_arg_fail(2)) SWIG_fail;
30084 }
30085 {
30086 arg3 = (size_t)(SWIG_As_unsigned_SS_long(obj2));
30087 if (SWIG_arg_fail(3)) SWIG_fail;
30088 }
d55e5bfc
RD
30089 {
30090 arg4 = wxString_in_helper(obj3);
30091 if (arg4 == NULL) SWIG_fail;
b411df4a 30092 temp4 = true;
d55e5bfc
RD
30093 }
30094 if (obj4) {
36ed4f51
RD
30095 {
30096 arg5 = (int)(SWIG_As_int(obj4));
30097 if (SWIG_arg_fail(5)) SWIG_fail;
30098 }
d55e5bfc
RD
30099 }
30100 if (obj5) {
36ed4f51
RD
30101 {
30102 arg6 = (int)(SWIG_As_int(obj5));
30103 if (SWIG_arg_fail(6)) SWIG_fail;
30104 }
d55e5bfc
RD
30105 }
30106 if (obj6) {
36ed4f51
RD
30107 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
30108 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
30109 }
30110 {
30111 PyThreadState* __tstate = wxPyBeginAllowThreads();
30112 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
30113
30114 wxPyEndAllowThreads(__tstate);
30115 if (PyErr_Occurred()) SWIG_fail;
30116 }
30117 {
30118 wxTreeItemId * resultptr;
36ed4f51 30119 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
30120 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30121 }
30122 {
30123 if (temp4)
30124 delete arg4;
30125 }
30126 return resultobj;
30127 fail:
30128 {
30129 if (temp4)
30130 delete arg4;
30131 }
30132 return NULL;
30133}
30134
30135
c370783e 30136static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30137 PyObject *resultobj;
30138 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30139 wxTreeItemId *arg2 = 0 ;
30140 wxString *arg3 = 0 ;
30141 int arg4 = (int) -1 ;
30142 int arg5 = (int) -1 ;
30143 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
30144 wxTreeItemId result;
b411df4a 30145 bool temp3 = false ;
d55e5bfc
RD
30146 PyObject * obj0 = 0 ;
30147 PyObject * obj1 = 0 ;
30148 PyObject * obj2 = 0 ;
30149 PyObject * obj3 = 0 ;
30150 PyObject * obj4 = 0 ;
30151 PyObject * obj5 = 0 ;
30152 char *kwnames[] = {
30153 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30154 };
30155
30156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
30157 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30158 if (SWIG_arg_fail(1)) SWIG_fail;
30159 {
30160 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30161 if (SWIG_arg_fail(2)) SWIG_fail;
30162 if (arg2 == NULL) {
30163 SWIG_null_ref("wxTreeItemId");
30164 }
30165 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30166 }
30167 {
30168 arg3 = wxString_in_helper(obj2);
30169 if (arg3 == NULL) SWIG_fail;
b411df4a 30170 temp3 = true;
d55e5bfc
RD
30171 }
30172 if (obj3) {
36ed4f51
RD
30173 {
30174 arg4 = (int)(SWIG_As_int(obj3));
30175 if (SWIG_arg_fail(4)) SWIG_fail;
30176 }
d55e5bfc
RD
30177 }
30178 if (obj4) {
36ed4f51
RD
30179 {
30180 arg5 = (int)(SWIG_As_int(obj4));
30181 if (SWIG_arg_fail(5)) SWIG_fail;
30182 }
d55e5bfc
RD
30183 }
30184 if (obj5) {
36ed4f51
RD
30185 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
30186 if (SWIG_arg_fail(6)) SWIG_fail;
d55e5bfc
RD
30187 }
30188 {
30189 PyThreadState* __tstate = wxPyBeginAllowThreads();
30190 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
30191
30192 wxPyEndAllowThreads(__tstate);
30193 if (PyErr_Occurred()) SWIG_fail;
30194 }
30195 {
30196 wxTreeItemId * resultptr;
36ed4f51 30197 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
30198 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30199 }
30200 {
30201 if (temp3)
30202 delete arg3;
30203 }
30204 return resultobj;
30205 fail:
30206 {
30207 if (temp3)
30208 delete arg3;
30209 }
30210 return NULL;
30211}
30212
30213
c370783e 30214static PyObject *_wrap_TreeCtrl_Delete(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30215 PyObject *resultobj;
30216 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30217 wxTreeItemId *arg2 = 0 ;
30218 PyObject * obj0 = 0 ;
30219 PyObject * obj1 = 0 ;
30220 char *kwnames[] = {
30221 (char *) "self",(char *) "item", NULL
30222 };
30223
30224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
30225 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30226 if (SWIG_arg_fail(1)) SWIG_fail;
30227 {
30228 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30229 if (SWIG_arg_fail(2)) SWIG_fail;
30230 if (arg2 == NULL) {
30231 SWIG_null_ref("wxTreeItemId");
30232 }
30233 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30234 }
30235 {
30236 PyThreadState* __tstate = wxPyBeginAllowThreads();
30237 (arg1)->Delete((wxTreeItemId const &)*arg2);
30238
30239 wxPyEndAllowThreads(__tstate);
30240 if (PyErr_Occurred()) SWIG_fail;
30241 }
30242 Py_INCREF(Py_None); resultobj = Py_None;
30243 return resultobj;
30244 fail:
30245 return NULL;
30246}
30247
30248
c370783e 30249static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30250 PyObject *resultobj;
30251 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30252 wxTreeItemId *arg2 = 0 ;
30253 PyObject * obj0 = 0 ;
30254 PyObject * obj1 = 0 ;
30255 char *kwnames[] = {
30256 (char *) "self",(char *) "item", NULL
30257 };
30258
30259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
30260 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30261 if (SWIG_arg_fail(1)) SWIG_fail;
30262 {
30263 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30264 if (SWIG_arg_fail(2)) SWIG_fail;
30265 if (arg2 == NULL) {
30266 SWIG_null_ref("wxTreeItemId");
30267 }
30268 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30269 }
30270 {
30271 PyThreadState* __tstate = wxPyBeginAllowThreads();
30272 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
30273
30274 wxPyEndAllowThreads(__tstate);
30275 if (PyErr_Occurred()) SWIG_fail;
30276 }
30277 Py_INCREF(Py_None); resultobj = Py_None;
30278 return resultobj;
30279 fail:
30280 return NULL;
30281}
30282
30283
c370783e 30284static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30285 PyObject *resultobj;
30286 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30287 PyObject * obj0 = 0 ;
30288 char *kwnames[] = {
30289 (char *) "self", NULL
30290 };
30291
30292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
36ed4f51
RD
30293 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30294 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30295 {
30296 PyThreadState* __tstate = wxPyBeginAllowThreads();
30297 (arg1)->DeleteAllItems();
30298
30299 wxPyEndAllowThreads(__tstate);
30300 if (PyErr_Occurred()) SWIG_fail;
30301 }
30302 Py_INCREF(Py_None); resultobj = Py_None;
30303 return resultobj;
30304 fail:
30305 return NULL;
30306}
30307
30308
c370783e 30309static PyObject *_wrap_TreeCtrl_Expand(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30310 PyObject *resultobj;
30311 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30312 wxTreeItemId *arg2 = 0 ;
30313 PyObject * obj0 = 0 ;
30314 PyObject * obj1 = 0 ;
30315 char *kwnames[] = {
30316 (char *) "self",(char *) "item", NULL
30317 };
30318
30319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
30320 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30321 if (SWIG_arg_fail(1)) SWIG_fail;
30322 {
30323 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30324 if (SWIG_arg_fail(2)) SWIG_fail;
30325 if (arg2 == NULL) {
30326 SWIG_null_ref("wxTreeItemId");
30327 }
30328 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30329 }
30330 {
30331 PyThreadState* __tstate = wxPyBeginAllowThreads();
30332 (arg1)->Expand((wxTreeItemId const &)*arg2);
30333
30334 wxPyEndAllowThreads(__tstate);
30335 if (PyErr_Occurred()) SWIG_fail;
30336 }
30337 Py_INCREF(Py_None); resultobj = Py_None;
30338 return resultobj;
30339 fail:
30340 return NULL;
30341}
30342
30343
c370783e 30344static PyObject *_wrap_TreeCtrl_Collapse(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30345 PyObject *resultobj;
30346 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30347 wxTreeItemId *arg2 = 0 ;
30348 PyObject * obj0 = 0 ;
30349 PyObject * obj1 = 0 ;
30350 char *kwnames[] = {
30351 (char *) "self",(char *) "item", NULL
30352 };
30353
30354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
30355 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30356 if (SWIG_arg_fail(1)) SWIG_fail;
30357 {
30358 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30359 if (SWIG_arg_fail(2)) SWIG_fail;
30360 if (arg2 == NULL) {
30361 SWIG_null_ref("wxTreeItemId");
30362 }
30363 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30364 }
30365 {
30366 PyThreadState* __tstate = wxPyBeginAllowThreads();
30367 (arg1)->Collapse((wxTreeItemId const &)*arg2);
30368
30369 wxPyEndAllowThreads(__tstate);
30370 if (PyErr_Occurred()) SWIG_fail;
30371 }
30372 Py_INCREF(Py_None); resultobj = Py_None;
30373 return resultobj;
30374 fail:
30375 return NULL;
30376}
30377
30378
c370783e 30379static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30380 PyObject *resultobj;
30381 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30382 wxTreeItemId *arg2 = 0 ;
30383 PyObject * obj0 = 0 ;
30384 PyObject * obj1 = 0 ;
30385 char *kwnames[] = {
30386 (char *) "self",(char *) "item", NULL
30387 };
30388
30389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
30390 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30391 if (SWIG_arg_fail(1)) SWIG_fail;
30392 {
30393 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30394 if (SWIG_arg_fail(2)) SWIG_fail;
30395 if (arg2 == NULL) {
30396 SWIG_null_ref("wxTreeItemId");
30397 }
30398 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30399 }
30400 {
30401 PyThreadState* __tstate = wxPyBeginAllowThreads();
30402 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
30403
30404 wxPyEndAllowThreads(__tstate);
30405 if (PyErr_Occurred()) SWIG_fail;
30406 }
30407 Py_INCREF(Py_None); resultobj = Py_None;
30408 return resultobj;
30409 fail:
30410 return NULL;
30411}
30412
30413
c370783e 30414static PyObject *_wrap_TreeCtrl_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30415 PyObject *resultobj;
30416 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30417 wxTreeItemId *arg2 = 0 ;
30418 PyObject * obj0 = 0 ;
30419 PyObject * obj1 = 0 ;
30420 char *kwnames[] = {
30421 (char *) "self",(char *) "item", NULL
30422 };
30423
30424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
30425 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30426 if (SWIG_arg_fail(1)) SWIG_fail;
30427 {
30428 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30429 if (SWIG_arg_fail(2)) SWIG_fail;
30430 if (arg2 == NULL) {
30431 SWIG_null_ref("wxTreeItemId");
30432 }
30433 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30434 }
30435 {
30436 PyThreadState* __tstate = wxPyBeginAllowThreads();
30437 (arg1)->Toggle((wxTreeItemId const &)*arg2);
30438
30439 wxPyEndAllowThreads(__tstate);
30440 if (PyErr_Occurred()) SWIG_fail;
30441 }
30442 Py_INCREF(Py_None); resultobj = Py_None;
30443 return resultobj;
30444 fail:
30445 return NULL;
30446}
30447
30448
c370783e 30449static PyObject *_wrap_TreeCtrl_Unselect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30450 PyObject *resultobj;
30451 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30452 PyObject * obj0 = 0 ;
30453 char *kwnames[] = {
30454 (char *) "self", NULL
30455 };
30456
30457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
36ed4f51
RD
30458 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30459 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30460 {
30461 PyThreadState* __tstate = wxPyBeginAllowThreads();
30462 (arg1)->Unselect();
30463
30464 wxPyEndAllowThreads(__tstate);
30465 if (PyErr_Occurred()) SWIG_fail;
30466 }
30467 Py_INCREF(Py_None); resultobj = Py_None;
30468 return resultobj;
30469 fail:
30470 return NULL;
30471}
30472
30473
c370783e 30474static PyObject *_wrap_TreeCtrl_UnselectItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30475 PyObject *resultobj;
30476 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30477 wxTreeItemId *arg2 = 0 ;
30478 PyObject * obj0 = 0 ;
30479 PyObject * obj1 = 0 ;
30480 char *kwnames[] = {
30481 (char *) "self",(char *) "item", NULL
30482 };
30483
30484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_UnselectItem",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
30485 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30486 if (SWIG_arg_fail(1)) SWIG_fail;
30487 {
30488 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30489 if (SWIG_arg_fail(2)) SWIG_fail;
30490 if (arg2 == NULL) {
30491 SWIG_null_ref("wxTreeItemId");
30492 }
30493 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30494 }
30495 {
30496 PyThreadState* __tstate = wxPyBeginAllowThreads();
30497 (arg1)->UnselectItem((wxTreeItemId const &)*arg2);
30498
30499 wxPyEndAllowThreads(__tstate);
30500 if (PyErr_Occurred()) SWIG_fail;
30501 }
30502 Py_INCREF(Py_None); resultobj = Py_None;
30503 return resultobj;
30504 fail:
30505 return NULL;
30506}
30507
30508
c370783e 30509static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30510 PyObject *resultobj;
30511 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30512 PyObject * obj0 = 0 ;
30513 char *kwnames[] = {
30514 (char *) "self", NULL
30515 };
30516
30517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_UnselectAll",kwnames,&obj0)) goto fail;
36ed4f51
RD
30518 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30519 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30520 {
30521 PyThreadState* __tstate = wxPyBeginAllowThreads();
30522 (arg1)->UnselectAll();
30523
30524 wxPyEndAllowThreads(__tstate);
30525 if (PyErr_Occurred()) SWIG_fail;
30526 }
30527 Py_INCREF(Py_None); resultobj = Py_None;
30528 return resultobj;
30529 fail:
30530 return NULL;
30531}
30532
30533
c370783e 30534static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30535 PyObject *resultobj;
30536 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30537 wxTreeItemId *arg2 = 0 ;
b411df4a 30538 bool arg3 = (bool) true ;
d55e5bfc
RD
30539 PyObject * obj0 = 0 ;
30540 PyObject * obj1 = 0 ;
30541 PyObject * obj2 = 0 ;
30542 char *kwnames[] = {
30543 (char *) "self",(char *) "item",(char *) "select", NULL
30544 };
30545
30546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
30547 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30548 if (SWIG_arg_fail(1)) SWIG_fail;
30549 {
30550 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30551 if (SWIG_arg_fail(2)) SWIG_fail;
30552 if (arg2 == NULL) {
30553 SWIG_null_ref("wxTreeItemId");
30554 }
30555 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30556 }
30557 if (obj2) {
36ed4f51
RD
30558 {
30559 arg3 = (bool)(SWIG_As_bool(obj2));
30560 if (SWIG_arg_fail(3)) SWIG_fail;
30561 }
d55e5bfc
RD
30562 }
30563 {
30564 PyThreadState* __tstate = wxPyBeginAllowThreads();
30565 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3);
30566
30567 wxPyEndAllowThreads(__tstate);
30568 if (PyErr_Occurred()) SWIG_fail;
30569 }
30570 Py_INCREF(Py_None); resultobj = Py_None;
30571 return resultobj;
30572 fail:
30573 return NULL;
30574}
30575
30576
c370783e 30577static PyObject *_wrap_TreeCtrl_ToggleItemSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30578 PyObject *resultobj;
30579 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30580 wxTreeItemId *arg2 = 0 ;
30581 PyObject * obj0 = 0 ;
30582 PyObject * obj1 = 0 ;
30583 char *kwnames[] = {
30584 (char *) "self",(char *) "item", NULL
30585 };
30586
30587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
30588 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30589 if (SWIG_arg_fail(1)) SWIG_fail;
30590 {
30591 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30592 if (SWIG_arg_fail(2)) SWIG_fail;
30593 if (arg2 == NULL) {
30594 SWIG_null_ref("wxTreeItemId");
30595 }
30596 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30597 }
30598 {
30599 PyThreadState* __tstate = wxPyBeginAllowThreads();
30600 (arg1)->ToggleItemSelection((wxTreeItemId const &)*arg2);
30601
30602 wxPyEndAllowThreads(__tstate);
30603 if (PyErr_Occurred()) SWIG_fail;
30604 }
30605 Py_INCREF(Py_None); resultobj = Py_None;
30606 return resultobj;
30607 fail:
30608 return NULL;
30609}
30610
30611
c370783e 30612static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30613 PyObject *resultobj;
30614 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30615 wxTreeItemId *arg2 = 0 ;
30616 PyObject * obj0 = 0 ;
30617 PyObject * obj1 = 0 ;
30618 char *kwnames[] = {
30619 (char *) "self",(char *) "item", NULL
30620 };
30621
30622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
30623 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30624 if (SWIG_arg_fail(1)) SWIG_fail;
30625 {
30626 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30627 if (SWIG_arg_fail(2)) SWIG_fail;
30628 if (arg2 == NULL) {
30629 SWIG_null_ref("wxTreeItemId");
30630 }
30631 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30632 }
30633 {
30634 PyThreadState* __tstate = wxPyBeginAllowThreads();
30635 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
30636
30637 wxPyEndAllowThreads(__tstate);
30638 if (PyErr_Occurred()) SWIG_fail;
30639 }
30640 Py_INCREF(Py_None); resultobj = Py_None;
30641 return resultobj;
30642 fail:
30643 return NULL;
30644}
30645
30646
c370783e 30647static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30648 PyObject *resultobj;
30649 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30650 wxTreeItemId *arg2 = 0 ;
30651 PyObject * obj0 = 0 ;
30652 PyObject * obj1 = 0 ;
30653 char *kwnames[] = {
30654 (char *) "self",(char *) "item", NULL
30655 };
30656
30657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
30658 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30659 if (SWIG_arg_fail(1)) SWIG_fail;
30660 {
30661 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30662 if (SWIG_arg_fail(2)) SWIG_fail;
30663 if (arg2 == NULL) {
30664 SWIG_null_ref("wxTreeItemId");
30665 }
30666 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30667 }
30668 {
30669 PyThreadState* __tstate = wxPyBeginAllowThreads();
30670 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
30671
30672 wxPyEndAllowThreads(__tstate);
30673 if (PyErr_Occurred()) SWIG_fail;
30674 }
30675 Py_INCREF(Py_None); resultobj = Py_None;
30676 return resultobj;
30677 fail:
30678 return NULL;
30679}
30680
30681
c370783e 30682static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30683 PyObject *resultobj;
30684 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30685 wxTreeItemId *arg2 = 0 ;
30686 PyObject * obj0 = 0 ;
30687 PyObject * obj1 = 0 ;
30688 char *kwnames[] = {
30689 (char *) "self",(char *) "item", NULL
30690 };
30691
30692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
30693 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30694 if (SWIG_arg_fail(1)) SWIG_fail;
30695 {
30696 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30697 if (SWIG_arg_fail(2)) SWIG_fail;
30698 if (arg2 == NULL) {
30699 SWIG_null_ref("wxTreeItemId");
30700 }
30701 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30702 }
30703 {
30704 PyThreadState* __tstate = wxPyBeginAllowThreads();
30705 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
30706
30707 wxPyEndAllowThreads(__tstate);
30708 if (PyErr_Occurred()) SWIG_fail;
30709 }
30710 Py_INCREF(Py_None); resultobj = Py_None;
30711 return resultobj;
30712 fail:
30713 return NULL;
30714}
30715
30716
c370783e 30717static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30718 PyObject *resultobj;
30719 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30720 wxTextCtrl *result;
30721 PyObject * obj0 = 0 ;
30722 char *kwnames[] = {
30723 (char *) "self", NULL
30724 };
30725
30726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
36ed4f51
RD
30727 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30728 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30729 {
30730 PyThreadState* __tstate = wxPyBeginAllowThreads();
30731 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
30732
30733 wxPyEndAllowThreads(__tstate);
30734 if (PyErr_Occurred()) SWIG_fail;
30735 }
30736 {
412d302d 30737 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
30738 }
30739 return resultobj;
30740 fail:
30741 return NULL;
30742}
30743
30744
c370783e 30745static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30746 PyObject *resultobj;
30747 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30748 wxTreeItemId *arg2 = 0 ;
30749 PyObject * obj0 = 0 ;
30750 PyObject * obj1 = 0 ;
30751 char *kwnames[] = {
30752 (char *) "self",(char *) "item", NULL
30753 };
30754
30755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
30756 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30757 if (SWIG_arg_fail(1)) SWIG_fail;
30758 {
30759 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30760 if (SWIG_arg_fail(2)) SWIG_fail;
30761 if (arg2 == NULL) {
30762 SWIG_null_ref("wxTreeItemId");
30763 }
30764 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30765 }
30766 {
30767 PyThreadState* __tstate = wxPyBeginAllowThreads();
30768 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
30769
30770 wxPyEndAllowThreads(__tstate);
30771 if (PyErr_Occurred()) SWIG_fail;
30772 }
30773 Py_INCREF(Py_None); resultobj = Py_None;
30774 return resultobj;
30775 fail:
30776 return NULL;
30777}
30778
30779
c370783e 30780static PyObject *_wrap_TreeCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30781 PyObject *resultobj;
30782 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30783 wxPoint *arg2 = 0 ;
30784 int *arg3 = 0 ;
30785 wxTreeItemId result;
30786 wxPoint temp2 ;
30787 int temp3 ;
c370783e 30788 int res3 = 0 ;
d55e5bfc
RD
30789 PyObject * obj0 = 0 ;
30790 PyObject * obj1 = 0 ;
30791 char *kwnames[] = {
30792 (char *) "self",(char *) "point", NULL
30793 };
30794
c370783e 30795 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 30796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
30797 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30798 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30799 {
30800 arg2 = &temp2;
30801 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
30802 }
30803 {
30804 PyThreadState* __tstate = wxPyBeginAllowThreads();
30805 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
30806
30807 wxPyEndAllowThreads(__tstate);
30808 if (PyErr_Occurred()) SWIG_fail;
30809 }
30810 {
30811 wxTreeItemId * resultptr;
36ed4f51 30812 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
30813 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30814 }
c370783e
RD
30815 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
30816 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
30817 return resultobj;
30818 fail:
30819 return NULL;
30820}
30821
30822
c370783e 30823static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30824 PyObject *resultobj;
30825 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30826 wxTreeItemId *arg2 = 0 ;
b411df4a 30827 bool arg3 = (bool) false ;
d55e5bfc
RD
30828 PyObject *result;
30829 PyObject * obj0 = 0 ;
30830 PyObject * obj1 = 0 ;
30831 PyObject * obj2 = 0 ;
30832 char *kwnames[] = {
30833 (char *) "self",(char *) "item",(char *) "textOnly", NULL
30834 };
30835
30836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
30837 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30838 if (SWIG_arg_fail(1)) SWIG_fail;
30839 {
30840 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30841 if (SWIG_arg_fail(2)) SWIG_fail;
30842 if (arg2 == NULL) {
30843 SWIG_null_ref("wxTreeItemId");
30844 }
30845 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30846 }
30847 if (obj2) {
36ed4f51
RD
30848 {
30849 arg3 = (bool)(SWIG_As_bool(obj2));
30850 if (SWIG_arg_fail(3)) SWIG_fail;
30851 }
d55e5bfc
RD
30852 }
30853 {
30854 PyThreadState* __tstate = wxPyBeginAllowThreads();
30855 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
30856
30857 wxPyEndAllowThreads(__tstate);
30858 if (PyErr_Occurred()) SWIG_fail;
30859 }
30860 resultobj = result;
30861 return resultobj;
30862 fail:
30863 return NULL;
30864}
30865
30866
c370783e 30867static PyObject *_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 30868 PyObject *resultobj;
36ed4f51 30869 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
d55e5bfc
RD
30870 wxVisualAttributes result;
30871 PyObject * obj0 = 0 ;
30872 char *kwnames[] = {
30873 (char *) "variant", NULL
30874 };
30875
30876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
30877 if (obj0) {
36ed4f51
RD
30878 {
30879 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
30880 if (SWIG_arg_fail(1)) SWIG_fail;
30881 }
d55e5bfc
RD
30882 }
30883 {
0439c23b 30884 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
30885 PyThreadState* __tstate = wxPyBeginAllowThreads();
30886 result = wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
30887
30888 wxPyEndAllowThreads(__tstate);
110da5b0 30889 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
30890 }
30891 {
30892 wxVisualAttributes * resultptr;
36ed4f51 30893 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
d55e5bfc
RD
30894 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
30895 }
30896 return resultobj;
30897 fail:
30898 return NULL;
30899}
30900
30901
c370783e 30902static PyObject * TreeCtrl_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
30903 PyObject *obj;
30904 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30905 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
30906 Py_INCREF(obj);
30907 return Py_BuildValue((char *)"");
30908}
c370783e 30909static int _wrap_DirDialogDefaultFolderStr_set(PyObject *) {
d55e5bfc
RD
30910 PyErr_SetString(PyExc_TypeError,"Variable DirDialogDefaultFolderStr is read-only.");
30911 return 1;
30912}
30913
30914
36ed4f51 30915static PyObject *_wrap_DirDialogDefaultFolderStr_get(void) {
d55e5bfc
RD
30916 PyObject *pyobj;
30917
30918 {
30919#if wxUSE_UNICODE
30920 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
30921#else
30922 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
30923#endif
30924 }
30925 return pyobj;
30926}
30927
30928
c370783e 30929static PyObject *_wrap_new_GenericDirCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30930 PyObject *resultobj;
30931 wxWindow *arg1 = (wxWindow *) 0 ;
30932 int arg2 = (int) (int)-1 ;
30933 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
30934 wxString *arg3 = (wxString *) &arg3_defvalue ;
30935 wxPoint const &arg4_defvalue = wxDefaultPosition ;
30936 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
30937 wxSize const &arg5_defvalue = wxDefaultSize ;
30938 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
30939 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
30940 wxString const &arg7_defvalue = wxPyEmptyString ;
30941 wxString *arg7 = (wxString *) &arg7_defvalue ;
30942 int arg8 = (int) 0 ;
30943 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
30944 wxString *arg9 = (wxString *) &arg9_defvalue ;
30945 wxGenericDirCtrl *result;
b411df4a 30946 bool temp3 = false ;
d55e5bfc
RD
30947 wxPoint temp4 ;
30948 wxSize temp5 ;
b411df4a
RD
30949 bool temp7 = false ;
30950 bool temp9 = false ;
d55e5bfc
RD
30951 PyObject * obj0 = 0 ;
30952 PyObject * obj1 = 0 ;
30953 PyObject * obj2 = 0 ;
30954 PyObject * obj3 = 0 ;
30955 PyObject * obj4 = 0 ;
30956 PyObject * obj5 = 0 ;
30957 PyObject * obj6 = 0 ;
30958 PyObject * obj7 = 0 ;
30959 PyObject * obj8 = 0 ;
30960 char *kwnames[] = {
30961 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
30962 };
30963
30964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
36ed4f51
RD
30965 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
30966 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 30967 if (obj1) {
36ed4f51
RD
30968 {
30969 arg2 = (int const)(SWIG_As_int(obj1));
30970 if (SWIG_arg_fail(2)) SWIG_fail;
30971 }
d55e5bfc
RD
30972 }
30973 if (obj2) {
30974 {
30975 arg3 = wxString_in_helper(obj2);
30976 if (arg3 == NULL) SWIG_fail;
b411df4a 30977 temp3 = true;
d55e5bfc
RD
30978 }
30979 }
30980 if (obj3) {
30981 {
30982 arg4 = &temp4;
30983 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
30984 }
30985 }
30986 if (obj4) {
30987 {
30988 arg5 = &temp5;
30989 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
30990 }
30991 }
30992 if (obj5) {
36ed4f51
RD
30993 {
30994 arg6 = (long)(SWIG_As_long(obj5));
30995 if (SWIG_arg_fail(6)) SWIG_fail;
30996 }
d55e5bfc
RD
30997 }
30998 if (obj6) {
30999 {
31000 arg7 = wxString_in_helper(obj6);
31001 if (arg7 == NULL) SWIG_fail;
b411df4a 31002 temp7 = true;
d55e5bfc
RD
31003 }
31004 }
31005 if (obj7) {
36ed4f51
RD
31006 {
31007 arg8 = (int)(SWIG_As_int(obj7));
31008 if (SWIG_arg_fail(8)) SWIG_fail;
31009 }
d55e5bfc
RD
31010 }
31011 if (obj8) {
31012 {
31013 arg9 = wxString_in_helper(obj8);
31014 if (arg9 == NULL) SWIG_fail;
b411df4a 31015 temp9 = true;
d55e5bfc
RD
31016 }
31017 }
31018 {
0439c23b 31019 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
31020 PyThreadState* __tstate = wxPyBeginAllowThreads();
31021 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
31022
31023 wxPyEndAllowThreads(__tstate);
110da5b0 31024 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
31025 }
31026 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
31027 {
31028 if (temp3)
31029 delete arg3;
31030 }
31031 {
31032 if (temp7)
31033 delete arg7;
31034 }
31035 {
31036 if (temp9)
31037 delete arg9;
31038 }
31039 return resultobj;
31040 fail:
31041 {
31042 if (temp3)
31043 delete arg3;
31044 }
31045 {
31046 if (temp7)
31047 delete arg7;
31048 }
31049 {
31050 if (temp9)
31051 delete arg9;
31052 }
31053 return NULL;
31054}
31055
31056
c370783e 31057static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31058 PyObject *resultobj;
31059 wxGenericDirCtrl *result;
31060 char *kwnames[] = {
31061 NULL
31062 };
31063
31064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
31065 {
0439c23b 31066 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
31067 PyThreadState* __tstate = wxPyBeginAllowThreads();
31068 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
31069
31070 wxPyEndAllowThreads(__tstate);
110da5b0 31071 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
31072 }
31073 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
31074 return resultobj;
31075 fail:
31076 return NULL;
31077}
31078
31079
c370783e 31080static PyObject *_wrap_GenericDirCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31081 PyObject *resultobj;
31082 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31083 wxWindow *arg2 = (wxWindow *) 0 ;
31084 int arg3 = (int) (int)-1 ;
31085 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
31086 wxString *arg4 = (wxString *) &arg4_defvalue ;
31087 wxPoint const &arg5_defvalue = wxDefaultPosition ;
31088 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
31089 wxSize const &arg6_defvalue = wxDefaultSize ;
31090 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
31091 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
31092 wxString const &arg8_defvalue = wxPyEmptyString ;
31093 wxString *arg8 = (wxString *) &arg8_defvalue ;
31094 int arg9 = (int) 0 ;
31095 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
31096 wxString *arg10 = (wxString *) &arg10_defvalue ;
31097 bool result;
b411df4a 31098 bool temp4 = false ;
d55e5bfc
RD
31099 wxPoint temp5 ;
31100 wxSize temp6 ;
b411df4a
RD
31101 bool temp8 = false ;
31102 bool temp10 = false ;
d55e5bfc
RD
31103 PyObject * obj0 = 0 ;
31104 PyObject * obj1 = 0 ;
31105 PyObject * obj2 = 0 ;
31106 PyObject * obj3 = 0 ;
31107 PyObject * obj4 = 0 ;
31108 PyObject * obj5 = 0 ;
31109 PyObject * obj6 = 0 ;
31110 PyObject * obj7 = 0 ;
31111 PyObject * obj8 = 0 ;
31112 PyObject * obj9 = 0 ;
31113 char *kwnames[] = {
31114 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
31115 };
31116
31117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
36ed4f51
RD
31118 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31119 if (SWIG_arg_fail(1)) SWIG_fail;
31120 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31121 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 31122 if (obj2) {
36ed4f51
RD
31123 {
31124 arg3 = (int const)(SWIG_As_int(obj2));
31125 if (SWIG_arg_fail(3)) SWIG_fail;
31126 }
d55e5bfc
RD
31127 }
31128 if (obj3) {
31129 {
31130 arg4 = wxString_in_helper(obj3);
31131 if (arg4 == NULL) SWIG_fail;
b411df4a 31132 temp4 = true;
d55e5bfc
RD
31133 }
31134 }
31135 if (obj4) {
31136 {
31137 arg5 = &temp5;
31138 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
31139 }
31140 }
31141 if (obj5) {
31142 {
31143 arg6 = &temp6;
31144 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
31145 }
31146 }
31147 if (obj6) {
36ed4f51
RD
31148 {
31149 arg7 = (long)(SWIG_As_long(obj6));
31150 if (SWIG_arg_fail(7)) SWIG_fail;
31151 }
d55e5bfc
RD
31152 }
31153 if (obj7) {
31154 {
31155 arg8 = wxString_in_helper(obj7);
31156 if (arg8 == NULL) SWIG_fail;
b411df4a 31157 temp8 = true;
d55e5bfc
RD
31158 }
31159 }
31160 if (obj8) {
36ed4f51
RD
31161 {
31162 arg9 = (int)(SWIG_As_int(obj8));
31163 if (SWIG_arg_fail(9)) SWIG_fail;
31164 }
d55e5bfc
RD
31165 }
31166 if (obj9) {
31167 {
31168 arg10 = wxString_in_helper(obj9);
31169 if (arg10 == NULL) SWIG_fail;
b411df4a 31170 temp10 = true;
d55e5bfc
RD
31171 }
31172 }
31173 {
31174 PyThreadState* __tstate = wxPyBeginAllowThreads();
31175 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
31176
31177 wxPyEndAllowThreads(__tstate);
31178 if (PyErr_Occurred()) SWIG_fail;
31179 }
31180 {
31181 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31182 }
31183 {
31184 if (temp4)
31185 delete arg4;
31186 }
31187 {
31188 if (temp8)
31189 delete arg8;
31190 }
31191 {
31192 if (temp10)
31193 delete arg10;
31194 }
31195 return resultobj;
31196 fail:
31197 {
31198 if (temp4)
31199 delete arg4;
31200 }
31201 {
31202 if (temp8)
31203 delete arg8;
31204 }
31205 {
31206 if (temp10)
31207 delete arg10;
31208 }
31209 return NULL;
31210}
31211
31212
c370783e 31213static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31214 PyObject *resultobj;
31215 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31216 wxString *arg2 = 0 ;
31217 bool result;
b411df4a 31218 bool temp2 = false ;
d55e5bfc
RD
31219 PyObject * obj0 = 0 ;
31220 PyObject * obj1 = 0 ;
31221 char *kwnames[] = {
31222 (char *) "self",(char *) "path", NULL
31223 };
31224
31225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
31226 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31227 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31228 {
31229 arg2 = wxString_in_helper(obj1);
31230 if (arg2 == NULL) SWIG_fail;
b411df4a 31231 temp2 = true;
d55e5bfc
RD
31232 }
31233 {
31234 PyThreadState* __tstate = wxPyBeginAllowThreads();
31235 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
31236
31237 wxPyEndAllowThreads(__tstate);
31238 if (PyErr_Occurred()) SWIG_fail;
31239 }
31240 {
31241 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31242 }
31243 {
31244 if (temp2)
31245 delete arg2;
31246 }
31247 return resultobj;
31248 fail:
31249 {
31250 if (temp2)
31251 delete arg2;
31252 }
31253 return NULL;
31254}
31255
31256
c370783e 31257static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31258 PyObject *resultobj;
31259 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31260 wxString result;
31261 PyObject * obj0 = 0 ;
31262 char *kwnames[] = {
31263 (char *) "self", NULL
31264 };
31265
31266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames,&obj0)) goto fail;
36ed4f51
RD
31267 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31268 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31269 {
31270 PyThreadState* __tstate = wxPyBeginAllowThreads();
31271 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
31272
31273 wxPyEndAllowThreads(__tstate);
31274 if (PyErr_Occurred()) SWIG_fail;
31275 }
31276 {
31277#if wxUSE_UNICODE
31278 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31279#else
31280 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31281#endif
31282 }
31283 return resultobj;
31284 fail:
31285 return NULL;
31286}
31287
31288
c370783e 31289static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31290 PyObject *resultobj;
31291 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31292 wxString *arg2 = 0 ;
b411df4a 31293 bool temp2 = false ;
d55e5bfc
RD
31294 PyObject * obj0 = 0 ;
31295 PyObject * obj1 = 0 ;
31296 char *kwnames[] = {
31297 (char *) "self",(char *) "path", NULL
31298 };
31299
31300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
31301 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31302 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31303 {
31304 arg2 = wxString_in_helper(obj1);
31305 if (arg2 == NULL) SWIG_fail;
b411df4a 31306 temp2 = true;
d55e5bfc
RD
31307 }
31308 {
31309 PyThreadState* __tstate = wxPyBeginAllowThreads();
31310 (arg1)->SetDefaultPath((wxString const &)*arg2);
31311
31312 wxPyEndAllowThreads(__tstate);
31313 if (PyErr_Occurred()) SWIG_fail;
31314 }
31315 Py_INCREF(Py_None); resultobj = Py_None;
31316 {
31317 if (temp2)
31318 delete arg2;
31319 }
31320 return resultobj;
31321 fail:
31322 {
31323 if (temp2)
31324 delete arg2;
31325 }
31326 return NULL;
31327}
31328
31329
c370783e 31330static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31331 PyObject *resultobj;
31332 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31333 wxString result;
31334 PyObject * obj0 = 0 ;
31335 char *kwnames[] = {
31336 (char *) "self", NULL
31337 };
31338
31339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
36ed4f51
RD
31340 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31341 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31342 {
31343 PyThreadState* __tstate = wxPyBeginAllowThreads();
31344 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
31345
31346 wxPyEndAllowThreads(__tstate);
31347 if (PyErr_Occurred()) SWIG_fail;
31348 }
31349 {
31350#if wxUSE_UNICODE
31351 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31352#else
31353 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31354#endif
31355 }
31356 return resultobj;
31357 fail:
31358 return NULL;
31359}
31360
31361
c370783e 31362static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31363 PyObject *resultobj;
31364 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31365 wxString result;
31366 PyObject * obj0 = 0 ;
31367 char *kwnames[] = {
31368 (char *) "self", NULL
31369 };
31370
31371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
36ed4f51
RD
31372 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31373 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31374 {
31375 PyThreadState* __tstate = wxPyBeginAllowThreads();
31376 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
31377
31378 wxPyEndAllowThreads(__tstate);
31379 if (PyErr_Occurred()) SWIG_fail;
31380 }
31381 {
31382#if wxUSE_UNICODE
31383 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31384#else
31385 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31386#endif
31387 }
31388 return resultobj;
31389 fail:
31390 return NULL;
31391}
31392
31393
c370783e 31394static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31395 PyObject *resultobj;
31396 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31397 wxString *arg2 = 0 ;
b411df4a 31398 bool temp2 = false ;
d55e5bfc
RD
31399 PyObject * obj0 = 0 ;
31400 PyObject * obj1 = 0 ;
31401 char *kwnames[] = {
31402 (char *) "self",(char *) "path", NULL
31403 };
31404
31405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
31406 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31407 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31408 {
31409 arg2 = wxString_in_helper(obj1);
31410 if (arg2 == NULL) SWIG_fail;
b411df4a 31411 temp2 = true;
d55e5bfc
RD
31412 }
31413 {
31414 PyThreadState* __tstate = wxPyBeginAllowThreads();
31415 (arg1)->SetPath((wxString const &)*arg2);
31416
31417 wxPyEndAllowThreads(__tstate);
31418 if (PyErr_Occurred()) SWIG_fail;
31419 }
31420 Py_INCREF(Py_None); resultobj = Py_None;
31421 {
31422 if (temp2)
31423 delete arg2;
31424 }
31425 return resultobj;
31426 fail:
31427 {
31428 if (temp2)
31429 delete arg2;
31430 }
31431 return NULL;
31432}
31433
31434
c370783e 31435static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31436 PyObject *resultobj;
31437 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31438 bool arg2 ;
31439 PyObject * obj0 = 0 ;
31440 PyObject * obj1 = 0 ;
31441 char *kwnames[] = {
31442 (char *) "self",(char *) "show", NULL
31443 };
31444
31445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
31446 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31447 if (SWIG_arg_fail(1)) SWIG_fail;
31448 {
31449 arg2 = (bool)(SWIG_As_bool(obj1));
31450 if (SWIG_arg_fail(2)) SWIG_fail;
31451 }
d55e5bfc
RD
31452 {
31453 PyThreadState* __tstate = wxPyBeginAllowThreads();
31454 (arg1)->ShowHidden(arg2);
31455
31456 wxPyEndAllowThreads(__tstate);
31457 if (PyErr_Occurred()) SWIG_fail;
31458 }
31459 Py_INCREF(Py_None); resultobj = Py_None;
31460 return resultobj;
31461 fail:
31462 return NULL;
31463}
31464
31465
c370783e 31466static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31467 PyObject *resultobj;
31468 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31469 bool result;
31470 PyObject * obj0 = 0 ;
31471 char *kwnames[] = {
31472 (char *) "self", NULL
31473 };
31474
31475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames,&obj0)) goto fail;
36ed4f51
RD
31476 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31477 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31478 {
31479 PyThreadState* __tstate = wxPyBeginAllowThreads();
31480 result = (bool)(arg1)->GetShowHidden();
31481
31482 wxPyEndAllowThreads(__tstate);
31483 if (PyErr_Occurred()) SWIG_fail;
31484 }
31485 {
31486 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31487 }
31488 return resultobj;
31489 fail:
31490 return NULL;
31491}
31492
31493
c370783e 31494static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31495 PyObject *resultobj;
31496 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31497 wxString result;
31498 PyObject * obj0 = 0 ;
31499 char *kwnames[] = {
31500 (char *) "self", NULL
31501 };
31502
31503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilter",kwnames,&obj0)) goto fail;
36ed4f51
RD
31504 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31505 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31506 {
31507 PyThreadState* __tstate = wxPyBeginAllowThreads();
31508 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
31509
31510 wxPyEndAllowThreads(__tstate);
31511 if (PyErr_Occurred()) SWIG_fail;
31512 }
31513 {
31514#if wxUSE_UNICODE
31515 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31516#else
31517 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31518#endif
31519 }
31520 return resultobj;
31521 fail:
31522 return NULL;
31523}
31524
31525
c370783e 31526static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31527 PyObject *resultobj;
31528 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31529 wxString *arg2 = 0 ;
b411df4a 31530 bool temp2 = false ;
d55e5bfc
RD
31531 PyObject * obj0 = 0 ;
31532 PyObject * obj1 = 0 ;
31533 char *kwnames[] = {
31534 (char *) "self",(char *) "filter", NULL
31535 };
31536
31537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
31538 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31539 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31540 {
31541 arg2 = wxString_in_helper(obj1);
31542 if (arg2 == NULL) SWIG_fail;
b411df4a 31543 temp2 = true;
d55e5bfc
RD
31544 }
31545 {
31546 PyThreadState* __tstate = wxPyBeginAllowThreads();
31547 (arg1)->SetFilter((wxString const &)*arg2);
31548
31549 wxPyEndAllowThreads(__tstate);
31550 if (PyErr_Occurred()) SWIG_fail;
31551 }
31552 Py_INCREF(Py_None); resultobj = Py_None;
31553 {
31554 if (temp2)
31555 delete arg2;
31556 }
31557 return resultobj;
31558 fail:
31559 {
31560 if (temp2)
31561 delete arg2;
31562 }
31563 return NULL;
31564}
31565
31566
c370783e 31567static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31568 PyObject *resultobj;
31569 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31570 int result;
31571 PyObject * obj0 = 0 ;
31572 char *kwnames[] = {
31573 (char *) "self", NULL
31574 };
31575
31576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames,&obj0)) goto fail;
36ed4f51
RD
31577 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31578 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31579 {
31580 PyThreadState* __tstate = wxPyBeginAllowThreads();
31581 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
31582
31583 wxPyEndAllowThreads(__tstate);
31584 if (PyErr_Occurred()) SWIG_fail;
31585 }
36ed4f51
RD
31586 {
31587 resultobj = SWIG_From_int((int)(result));
31588 }
d55e5bfc
RD
31589 return resultobj;
31590 fail:
31591 return NULL;
31592}
31593
31594
c370783e 31595static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31596 PyObject *resultobj;
31597 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31598 int arg2 ;
31599 PyObject * obj0 = 0 ;
31600 PyObject * obj1 = 0 ;
31601 char *kwnames[] = {
31602 (char *) "self",(char *) "n", NULL
31603 };
31604
31605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
31606 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31607 if (SWIG_arg_fail(1)) SWIG_fail;
31608 {
31609 arg2 = (int)(SWIG_As_int(obj1));
31610 if (SWIG_arg_fail(2)) SWIG_fail;
31611 }
d55e5bfc
RD
31612 {
31613 PyThreadState* __tstate = wxPyBeginAllowThreads();
31614 (arg1)->SetFilterIndex(arg2);
31615
31616 wxPyEndAllowThreads(__tstate);
31617 if (PyErr_Occurred()) SWIG_fail;
31618 }
31619 Py_INCREF(Py_None); resultobj = Py_None;
31620 return resultobj;
31621 fail:
31622 return NULL;
31623}
31624
31625
c370783e 31626static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31627 PyObject *resultobj;
31628 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31629 wxTreeItemId result;
31630 PyObject * obj0 = 0 ;
31631 char *kwnames[] = {
31632 (char *) "self", NULL
31633 };
31634
31635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
36ed4f51
RD
31636 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31637 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31638 {
31639 PyThreadState* __tstate = wxPyBeginAllowThreads();
31640 result = (arg1)->GetRootId();
31641
31642 wxPyEndAllowThreads(__tstate);
31643 if (PyErr_Occurred()) SWIG_fail;
31644 }
31645 {
31646 wxTreeItemId * resultptr;
36ed4f51 31647 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
31648 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31649 }
31650 return resultobj;
31651 fail:
31652 return NULL;
31653}
31654
31655
c370783e 31656static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31657 PyObject *resultobj;
31658 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31659 wxPyTreeCtrl *result;
31660 PyObject * obj0 = 0 ;
31661 char *kwnames[] = {
31662 (char *) "self", NULL
31663 };
31664
31665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
36ed4f51
RD
31666 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31667 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31668 {
31669 PyThreadState* __tstate = wxPyBeginAllowThreads();
31670 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
31671
31672 wxPyEndAllowThreads(__tstate);
31673 if (PyErr_Occurred()) SWIG_fail;
31674 }
31675 {
412d302d 31676 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
31677 }
31678 return resultobj;
31679 fail:
31680 return NULL;
31681}
31682
31683
c370783e 31684static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31685 PyObject *resultobj;
31686 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31687 wxDirFilterListCtrl *result;
31688 PyObject * obj0 = 0 ;
31689 char *kwnames[] = {
31690 (char *) "self", NULL
31691 };
31692
31693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames,&obj0)) goto fail;
36ed4f51
RD
31694 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31695 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31696 {
31697 PyThreadState* __tstate = wxPyBeginAllowThreads();
31698 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
31699
31700 wxPyEndAllowThreads(__tstate);
31701 if (PyErr_Occurred()) SWIG_fail;
31702 }
31703 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 0);
31704 return resultobj;
31705 fail:
31706 return NULL;
31707}
31708
31709
c370783e 31710static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31711 PyObject *resultobj;
31712 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31713 wxTreeItemId arg2 ;
31714 wxString *arg3 = 0 ;
31715 bool *arg4 = 0 ;
31716 wxTreeItemId result;
b411df4a 31717 bool temp3 = false ;
d55e5bfc 31718 bool temp4 ;
c370783e 31719 int res4 = 0 ;
d55e5bfc
RD
31720 PyObject * obj0 = 0 ;
31721 PyObject * obj1 = 0 ;
31722 PyObject * obj2 = 0 ;
31723 char *kwnames[] = {
31724 (char *) "self",(char *) "parentId",(char *) "path", NULL
31725 };
31726
c370783e 31727 arg4 = &temp4; res4 = SWIG_NEWOBJ;
d55e5bfc 31728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
31729 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31730 if (SWIG_arg_fail(1)) SWIG_fail;
31731 {
31732 wxTreeItemId * argp;
31733 SWIG_Python_ConvertPtr(obj1, (void **)&argp, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION);
31734 if (SWIG_arg_fail(2)) SWIG_fail;
31735 if (argp == NULL) {
31736 SWIG_null_ref("wxTreeItemId");
31737 }
31738 if (SWIG_arg_fail(2)) SWIG_fail;
31739 arg2 = *argp;
31740 }
d55e5bfc
RD
31741 {
31742 arg3 = wxString_in_helper(obj2);
31743 if (arg3 == NULL) SWIG_fail;
b411df4a 31744 temp3 = true;
d55e5bfc
RD
31745 }
31746 {
31747 PyThreadState* __tstate = wxPyBeginAllowThreads();
31748 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
31749
31750 wxPyEndAllowThreads(__tstate);
31751 if (PyErr_Occurred()) SWIG_fail;
31752 }
31753 {
31754 wxTreeItemId * resultptr;
36ed4f51 31755 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
31756 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31757 }
c370783e
RD
31758 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
31759 SWIG_From_bool((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, 0)));
d55e5bfc
RD
31760 {
31761 if (temp3)
31762 delete arg3;
31763 }
31764 return resultobj;
31765 fail:
31766 {
31767 if (temp3)
31768 delete arg3;
31769 }
31770 return NULL;
31771}
31772
31773
c370783e 31774static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31775 PyObject *resultobj;
31776 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31777 PyObject * obj0 = 0 ;
31778 char *kwnames[] = {
31779 (char *) "self", NULL
31780 };
31781
31782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
36ed4f51
RD
31783 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31784 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31785 {
31786 PyThreadState* __tstate = wxPyBeginAllowThreads();
31787 (arg1)->DoResize();
31788
31789 wxPyEndAllowThreads(__tstate);
31790 if (PyErr_Occurred()) SWIG_fail;
31791 }
31792 Py_INCREF(Py_None); resultobj = Py_None;
31793 return resultobj;
31794 fail:
31795 return NULL;
31796}
31797
31798
c370783e 31799static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31800 PyObject *resultobj;
31801 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31802 PyObject * obj0 = 0 ;
31803 char *kwnames[] = {
31804 (char *) "self", NULL
31805 };
31806
31807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
36ed4f51
RD
31808 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31809 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31810 {
31811 PyThreadState* __tstate = wxPyBeginAllowThreads();
31812 (arg1)->ReCreateTree();
31813
31814 wxPyEndAllowThreads(__tstate);
31815 if (PyErr_Occurred()) SWIG_fail;
31816 }
31817 Py_INCREF(Py_None); resultobj = Py_None;
31818 return resultobj;
31819 fail:
31820 return NULL;
31821}
31822
31823
c370783e 31824static PyObject * GenericDirCtrl_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
31825 PyObject *obj;
31826 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31827 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
31828 Py_INCREF(obj);
31829 return Py_BuildValue((char *)"");
31830}
c370783e 31831static PyObject *_wrap_new_DirFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31832 PyObject *resultobj;
31833 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31834 int arg2 = (int) (int)-1 ;
31835 wxPoint const &arg3_defvalue = wxDefaultPosition ;
31836 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
31837 wxSize const &arg4_defvalue = wxDefaultSize ;
31838 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
31839 long arg5 = (long) 0 ;
31840 wxDirFilterListCtrl *result;
31841 wxPoint temp3 ;
31842 wxSize temp4 ;
31843 PyObject * obj0 = 0 ;
31844 PyObject * obj1 = 0 ;
31845 PyObject * obj2 = 0 ;
31846 PyObject * obj3 = 0 ;
31847 PyObject * obj4 = 0 ;
31848 char *kwnames[] = {
31849 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
31850 };
31851
31852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
31853 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31854 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 31855 if (obj1) {
36ed4f51
RD
31856 {
31857 arg2 = (int const)(SWIG_As_int(obj1));
31858 if (SWIG_arg_fail(2)) SWIG_fail;
31859 }
d55e5bfc
RD
31860 }
31861 if (obj2) {
31862 {
31863 arg3 = &temp3;
31864 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
31865 }
31866 }
31867 if (obj3) {
31868 {
31869 arg4 = &temp4;
31870 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
31871 }
31872 }
31873 if (obj4) {
36ed4f51
RD
31874 {
31875 arg5 = (long)(SWIG_As_long(obj4));
31876 if (SWIG_arg_fail(5)) SWIG_fail;
31877 }
d55e5bfc
RD
31878 }
31879 {
0439c23b 31880 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
31881 PyThreadState* __tstate = wxPyBeginAllowThreads();
31882 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
31883
31884 wxPyEndAllowThreads(__tstate);
110da5b0 31885 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
31886 }
31887 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
31888 return resultobj;
31889 fail:
31890 return NULL;
31891}
31892
31893
c370783e 31894static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31895 PyObject *resultobj;
31896 wxDirFilterListCtrl *result;
31897 char *kwnames[] = {
31898 NULL
31899 };
31900
31901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
31902 {
0439c23b 31903 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
31904 PyThreadState* __tstate = wxPyBeginAllowThreads();
31905 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
31906
31907 wxPyEndAllowThreads(__tstate);
110da5b0 31908 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
31909 }
31910 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
31911 return resultobj;
31912 fail:
31913 return NULL;
31914}
31915
31916
c370783e 31917static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31918 PyObject *resultobj;
31919 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
31920 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
31921 int arg3 = (int) (int)-1 ;
31922 wxPoint const &arg4_defvalue = wxDefaultPosition ;
31923 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
31924 wxSize const &arg5_defvalue = wxDefaultSize ;
31925 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
31926 long arg6 = (long) 0 ;
31927 bool result;
31928 wxPoint temp4 ;
31929 wxSize temp5 ;
31930 PyObject * obj0 = 0 ;
31931 PyObject * obj1 = 0 ;
31932 PyObject * obj2 = 0 ;
31933 PyObject * obj3 = 0 ;
31934 PyObject * obj4 = 0 ;
31935 PyObject * obj5 = 0 ;
31936 char *kwnames[] = {
31937 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
31938 };
31939
31940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
31941 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirFilterListCtrl, SWIG_POINTER_EXCEPTION | 0);
31942 if (SWIG_arg_fail(1)) SWIG_fail;
31943 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31944 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 31945 if (obj2) {
36ed4f51
RD
31946 {
31947 arg3 = (int const)(SWIG_As_int(obj2));
31948 if (SWIG_arg_fail(3)) SWIG_fail;
31949 }
d55e5bfc
RD
31950 }
31951 if (obj3) {
31952 {
31953 arg4 = &temp4;
31954 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
31955 }
31956 }
31957 if (obj4) {
31958 {
31959 arg5 = &temp5;
31960 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
31961 }
31962 }
31963 if (obj5) {
36ed4f51
RD
31964 {
31965 arg6 = (long)(SWIG_As_long(obj5));
31966 if (SWIG_arg_fail(6)) SWIG_fail;
31967 }
d55e5bfc
RD
31968 }
31969 {
31970 PyThreadState* __tstate = wxPyBeginAllowThreads();
31971 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
31972
31973 wxPyEndAllowThreads(__tstate);
31974 if (PyErr_Occurred()) SWIG_fail;
31975 }
31976 {
31977 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31978 }
31979 return resultobj;
31980 fail:
31981 return NULL;
31982}
31983
31984
c370783e 31985static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31986 PyObject *resultobj;
31987 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
31988 wxString *arg2 = 0 ;
31989 int arg3 ;
b411df4a 31990 bool temp2 = false ;
d55e5bfc
RD
31991 PyObject * obj0 = 0 ;
31992 PyObject * obj1 = 0 ;
31993 PyObject * obj2 = 0 ;
31994 char *kwnames[] = {
31995 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
31996 };
31997
31998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
31999 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirFilterListCtrl, SWIG_POINTER_EXCEPTION | 0);
32000 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32001 {
32002 arg2 = wxString_in_helper(obj1);
32003 if (arg2 == NULL) SWIG_fail;
b411df4a 32004 temp2 = true;
d55e5bfc 32005 }
36ed4f51
RD
32006 {
32007 arg3 = (int)(SWIG_As_int(obj2));
32008 if (SWIG_arg_fail(3)) SWIG_fail;
32009 }
d55e5bfc
RD
32010 {
32011 PyThreadState* __tstate = wxPyBeginAllowThreads();
32012 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
32013
32014 wxPyEndAllowThreads(__tstate);
32015 if (PyErr_Occurred()) SWIG_fail;
32016 }
32017 Py_INCREF(Py_None); resultobj = Py_None;
32018 {
32019 if (temp2)
32020 delete arg2;
32021 }
32022 return resultobj;
32023 fail:
32024 {
32025 if (temp2)
32026 delete arg2;
32027 }
32028 return NULL;
32029}
32030
32031
c370783e 32032static PyObject * DirFilterListCtrl_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
32033 PyObject *obj;
32034 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32035 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
32036 Py_INCREF(obj);
32037 return Py_BuildValue((char *)"");
32038}
c370783e 32039static PyObject *_wrap_new_PyControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32040 PyObject *resultobj;
32041 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17 32042 int arg2 = (int) (int)-1 ;
d55e5bfc
RD
32043 wxPoint const &arg3_defvalue = wxDefaultPosition ;
32044 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
32045 wxSize const &arg4_defvalue = wxDefaultSize ;
32046 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
32047 long arg5 = (long) 0 ;
32048 wxValidator const &arg6_defvalue = wxDefaultValidator ;
32049 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
32050 wxString const &arg7_defvalue = wxPyControlNameStr ;
32051 wxString *arg7 = (wxString *) &arg7_defvalue ;
32052 wxPyControl *result;
32053 wxPoint temp3 ;
32054 wxSize temp4 ;
b411df4a 32055 bool temp7 = false ;
d55e5bfc
RD
32056 PyObject * obj0 = 0 ;
32057 PyObject * obj1 = 0 ;
32058 PyObject * obj2 = 0 ;
32059 PyObject * obj3 = 0 ;
32060 PyObject * obj4 = 0 ;
32061 PyObject * obj5 = 0 ;
32062 PyObject * obj6 = 0 ;
32063 char *kwnames[] = {
32064 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32065 };
32066
bfddbb17 32067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_PyControl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
32068 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32069 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 32070 if (obj1) {
36ed4f51
RD
32071 {
32072 arg2 = (int const)(SWIG_As_int(obj1));
32073 if (SWIG_arg_fail(2)) SWIG_fail;
32074 }
bfddbb17 32075 }
d55e5bfc
RD
32076 if (obj2) {
32077 {
32078 arg3 = &temp3;
32079 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
32080 }
32081 }
32082 if (obj3) {
32083 {
32084 arg4 = &temp4;
32085 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
32086 }
32087 }
32088 if (obj4) {
36ed4f51
RD
32089 {
32090 arg5 = (long)(SWIG_As_long(obj4));
32091 if (SWIG_arg_fail(5)) SWIG_fail;
32092 }
d55e5bfc
RD
32093 }
32094 if (obj5) {
36ed4f51
RD
32095 {
32096 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
32097 if (SWIG_arg_fail(6)) SWIG_fail;
32098 if (arg6 == NULL) {
32099 SWIG_null_ref("wxValidator");
32100 }
32101 if (SWIG_arg_fail(6)) SWIG_fail;
d55e5bfc
RD
32102 }
32103 }
32104 if (obj6) {
32105 {
32106 arg7 = wxString_in_helper(obj6);
32107 if (arg7 == NULL) SWIG_fail;
b411df4a 32108 temp7 = true;
d55e5bfc
RD
32109 }
32110 }
32111 {
0439c23b 32112 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
32113 PyThreadState* __tstate = wxPyBeginAllowThreads();
32114 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
32115
32116 wxPyEndAllowThreads(__tstate);
110da5b0 32117 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
32118 }
32119 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
32120 {
32121 if (temp7)
32122 delete arg7;
32123 }
32124 return resultobj;
32125 fail:
32126 {
32127 if (temp7)
32128 delete arg7;
32129 }
32130 return NULL;
32131}
32132
32133
c370783e 32134static PyObject *_wrap_new_PrePyControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32135 PyObject *resultobj;
32136 wxPyControl *result;
32137 char *kwnames[] = {
32138 NULL
32139 };
32140
32141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyControl",kwnames)) goto fail;
32142 {
0439c23b 32143 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
32144 PyThreadState* __tstate = wxPyBeginAllowThreads();
32145 result = (wxPyControl *)new wxPyControl();
32146
32147 wxPyEndAllowThreads(__tstate);
110da5b0 32148 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
32149 }
32150 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
32151 return resultobj;
32152 fail:
32153 return NULL;
32154}
32155
32156
c370783e 32157static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32158 PyObject *resultobj;
32159 wxPyControl *arg1 = (wxPyControl *) 0 ;
32160 PyObject *arg2 = (PyObject *) 0 ;
32161 PyObject *arg3 = (PyObject *) 0 ;
32162 PyObject * obj0 = 0 ;
32163 PyObject * obj1 = 0 ;
32164 PyObject * obj2 = 0 ;
32165 char *kwnames[] = {
32166 (char *) "self",(char *) "self",(char *) "_class", NULL
32167 };
32168
32169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
32170 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32171 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32172 arg2 = obj1;
32173 arg3 = obj2;
32174 {
32175 PyThreadState* __tstate = wxPyBeginAllowThreads();
32176 (arg1)->_setCallbackInfo(arg2,arg3);
32177
32178 wxPyEndAllowThreads(__tstate);
32179 if (PyErr_Occurred()) SWIG_fail;
32180 }
32181 Py_INCREF(Py_None); resultobj = Py_None;
32182 return resultobj;
32183 fail:
32184 return NULL;
32185}
32186
32187
c370783e 32188static PyObject *_wrap_PyControl_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
a5ee0656
RD
32189 PyObject *resultobj;
32190 wxPyControl *arg1 = (wxPyControl *) 0 ;
32191 wxSize *arg2 = 0 ;
32192 wxSize temp2 ;
32193 PyObject * obj0 = 0 ;
32194 PyObject * obj1 = 0 ;
32195 char *kwnames[] = {
32196 (char *) "self",(char *) "size", NULL
32197 };
32198
32199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
32200 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32201 if (SWIG_arg_fail(1)) SWIG_fail;
a5ee0656
RD
32202 {
32203 arg2 = &temp2;
32204 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
32205 }
32206 {
32207 PyThreadState* __tstate = wxPyBeginAllowThreads();
32208 (arg1)->SetBestSize((wxSize const &)*arg2);
32209
32210 wxPyEndAllowThreads(__tstate);
32211 if (PyErr_Occurred()) SWIG_fail;
32212 }
32213 Py_INCREF(Py_None); resultobj = Py_None;
32214 return resultobj;
32215 fail:
32216 return NULL;
32217}
32218
32219
c370783e 32220static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32221 PyObject *resultobj;
32222 wxPyControl *arg1 = (wxPyControl *) 0 ;
32223 int arg2 ;
32224 int arg3 ;
32225 int arg4 ;
32226 int arg5 ;
32227 PyObject * obj0 = 0 ;
32228 PyObject * obj1 = 0 ;
32229 PyObject * obj2 = 0 ;
32230 PyObject * obj3 = 0 ;
32231 PyObject * obj4 = 0 ;
32232 char *kwnames[] = {
32233 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
32234 };
32235
32236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
32237 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32238 if (SWIG_arg_fail(1)) SWIG_fail;
32239 {
32240 arg2 = (int)(SWIG_As_int(obj1));
32241 if (SWIG_arg_fail(2)) SWIG_fail;
32242 }
32243 {
32244 arg3 = (int)(SWIG_As_int(obj2));
32245 if (SWIG_arg_fail(3)) SWIG_fail;
32246 }
32247 {
32248 arg4 = (int)(SWIG_As_int(obj3));
32249 if (SWIG_arg_fail(4)) SWIG_fail;
32250 }
32251 {
32252 arg5 = (int)(SWIG_As_int(obj4));
32253 if (SWIG_arg_fail(5)) SWIG_fail;
32254 }
d55e5bfc
RD
32255 {
32256 PyThreadState* __tstate = wxPyBeginAllowThreads();
32257 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
32258
32259 wxPyEndAllowThreads(__tstate);
32260 if (PyErr_Occurred()) SWIG_fail;
32261 }
32262 Py_INCREF(Py_None); resultobj = Py_None;
32263 return resultobj;
32264 fail:
32265 return NULL;
32266}
32267
32268
c370783e 32269static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32270 PyObject *resultobj;
32271 wxPyControl *arg1 = (wxPyControl *) 0 ;
32272 int arg2 ;
32273 int arg3 ;
32274 int arg4 ;
32275 int arg5 ;
32276 int arg6 = (int) wxSIZE_AUTO ;
32277 PyObject * obj0 = 0 ;
32278 PyObject * obj1 = 0 ;
32279 PyObject * obj2 = 0 ;
32280 PyObject * obj3 = 0 ;
32281 PyObject * obj4 = 0 ;
32282 PyObject * obj5 = 0 ;
32283 char *kwnames[] = {
32284 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
32285 };
32286
32287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
32288 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32289 if (SWIG_arg_fail(1)) SWIG_fail;
32290 {
32291 arg2 = (int)(SWIG_As_int(obj1));
32292 if (SWIG_arg_fail(2)) SWIG_fail;
32293 }
32294 {
32295 arg3 = (int)(SWIG_As_int(obj2));
32296 if (SWIG_arg_fail(3)) SWIG_fail;
32297 }
32298 {
32299 arg4 = (int)(SWIG_As_int(obj3));
32300 if (SWIG_arg_fail(4)) SWIG_fail;
32301 }
32302 {
32303 arg5 = (int)(SWIG_As_int(obj4));
32304 if (SWIG_arg_fail(5)) SWIG_fail;
32305 }
d55e5bfc 32306 if (obj5) {
36ed4f51
RD
32307 {
32308 arg6 = (int)(SWIG_As_int(obj5));
32309 if (SWIG_arg_fail(6)) SWIG_fail;
32310 }
d55e5bfc
RD
32311 }
32312 {
32313 PyThreadState* __tstate = wxPyBeginAllowThreads();
32314 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
32315
32316 wxPyEndAllowThreads(__tstate);
32317 if (PyErr_Occurred()) SWIG_fail;
32318 }
32319 Py_INCREF(Py_None); resultobj = Py_None;
32320 return resultobj;
32321 fail:
32322 return NULL;
32323}
32324
32325
c370783e 32326static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32327 PyObject *resultobj;
32328 wxPyControl *arg1 = (wxPyControl *) 0 ;
32329 int arg2 ;
32330 int arg3 ;
32331 PyObject * obj0 = 0 ;
32332 PyObject * obj1 = 0 ;
32333 PyObject * obj2 = 0 ;
32334 char *kwnames[] = {
32335 (char *) "self",(char *) "width",(char *) "height", NULL
32336 };
32337
32338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
32339 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32340 if (SWIG_arg_fail(1)) SWIG_fail;
32341 {
32342 arg2 = (int)(SWIG_As_int(obj1));
32343 if (SWIG_arg_fail(2)) SWIG_fail;
32344 }
32345 {
32346 arg3 = (int)(SWIG_As_int(obj2));
32347 if (SWIG_arg_fail(3)) SWIG_fail;
32348 }
d55e5bfc
RD
32349 {
32350 PyThreadState* __tstate = wxPyBeginAllowThreads();
32351 (arg1)->base_DoSetClientSize(arg2,arg3);
32352
32353 wxPyEndAllowThreads(__tstate);
32354 if (PyErr_Occurred()) SWIG_fail;
32355 }
32356 Py_INCREF(Py_None); resultobj = Py_None;
32357 return resultobj;
32358 fail:
32359 return NULL;
32360}
32361
32362
c370783e 32363static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32364 PyObject *resultobj;
32365 wxPyControl *arg1 = (wxPyControl *) 0 ;
32366 int arg2 ;
32367 int arg3 ;
32368 PyObject * obj0 = 0 ;
32369 PyObject * obj1 = 0 ;
32370 PyObject * obj2 = 0 ;
32371 char *kwnames[] = {
32372 (char *) "self",(char *) "x",(char *) "y", NULL
32373 };
32374
32375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
32376 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32377 if (SWIG_arg_fail(1)) SWIG_fail;
32378 {
32379 arg2 = (int)(SWIG_As_int(obj1));
32380 if (SWIG_arg_fail(2)) SWIG_fail;
32381 }
32382 {
32383 arg3 = (int)(SWIG_As_int(obj2));
32384 if (SWIG_arg_fail(3)) SWIG_fail;
32385 }
d55e5bfc
RD
32386 {
32387 PyThreadState* __tstate = wxPyBeginAllowThreads();
32388 (arg1)->base_DoSetVirtualSize(arg2,arg3);
32389
32390 wxPyEndAllowThreads(__tstate);
32391 if (PyErr_Occurred()) SWIG_fail;
32392 }
32393 Py_INCREF(Py_None); resultobj = Py_None;
32394 return resultobj;
32395 fail:
32396 return NULL;
32397}
32398
32399
c370783e 32400static PyObject *_wrap_PyControl_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32401 PyObject *resultobj;
32402 wxPyControl *arg1 = (wxPyControl *) 0 ;
32403 int *arg2 = (int *) 0 ;
32404 int *arg3 = (int *) 0 ;
32405 int temp2 ;
c370783e 32406 int res2 = 0 ;
d55e5bfc 32407 int temp3 ;
c370783e 32408 int res3 = 0 ;
d55e5bfc
RD
32409 PyObject * obj0 = 0 ;
32410 char *kwnames[] = {
32411 (char *) "self", NULL
32412 };
32413
c370783e
RD
32414 arg2 = &temp2; res2 = SWIG_NEWOBJ;
32415 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 32416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
32417 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32418 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32419 {
32420 PyThreadState* __tstate = wxPyBeginAllowThreads();
32421 ((wxPyControl const *)arg1)->base_DoGetSize(arg2,arg3);
32422
32423 wxPyEndAllowThreads(__tstate);
32424 if (PyErr_Occurred()) SWIG_fail;
32425 }
32426 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
32427 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
32428 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
32429 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
32430 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
32431 return resultobj;
32432 fail:
32433 return NULL;
32434}
32435
32436
c370783e 32437static PyObject *_wrap_PyControl_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32438 PyObject *resultobj;
32439 wxPyControl *arg1 = (wxPyControl *) 0 ;
32440 int *arg2 = (int *) 0 ;
32441 int *arg3 = (int *) 0 ;
32442 int temp2 ;
c370783e 32443 int res2 = 0 ;
d55e5bfc 32444 int temp3 ;
c370783e 32445 int res3 = 0 ;
d55e5bfc
RD
32446 PyObject * obj0 = 0 ;
32447 char *kwnames[] = {
32448 (char *) "self", NULL
32449 };
32450
c370783e
RD
32451 arg2 = &temp2; res2 = SWIG_NEWOBJ;
32452 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 32453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetClientSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
32454 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32455 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32456 {
32457 PyThreadState* __tstate = wxPyBeginAllowThreads();
32458 ((wxPyControl const *)arg1)->base_DoGetClientSize(arg2,arg3);
32459
32460 wxPyEndAllowThreads(__tstate);
32461 if (PyErr_Occurred()) SWIG_fail;
32462 }
32463 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
32464 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
32465 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
32466 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
32467 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
32468 return resultobj;
32469 fail:
32470 return NULL;
32471}
32472
32473
c370783e 32474static PyObject *_wrap_PyControl_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32475 PyObject *resultobj;
32476 wxPyControl *arg1 = (wxPyControl *) 0 ;
32477 int *arg2 = (int *) 0 ;
32478 int *arg3 = (int *) 0 ;
32479 int temp2 ;
c370783e 32480 int res2 = 0 ;
d55e5bfc 32481 int temp3 ;
c370783e 32482 int res3 = 0 ;
d55e5bfc
RD
32483 PyObject * obj0 = 0 ;
32484 char *kwnames[] = {
32485 (char *) "self", NULL
32486 };
32487
c370783e
RD
32488 arg2 = &temp2; res2 = SWIG_NEWOBJ;
32489 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 32490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetPosition",kwnames,&obj0)) goto fail;
36ed4f51
RD
32491 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32492 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32493 {
32494 PyThreadState* __tstate = wxPyBeginAllowThreads();
32495 ((wxPyControl const *)arg1)->base_DoGetPosition(arg2,arg3);
32496
32497 wxPyEndAllowThreads(__tstate);
32498 if (PyErr_Occurred()) SWIG_fail;
32499 }
32500 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
32501 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
32502 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
32503 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
32504 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
32505 return resultobj;
32506 fail:
32507 return NULL;
32508}
32509
32510
c370783e 32511static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32512 PyObject *resultobj;
32513 wxPyControl *arg1 = (wxPyControl *) 0 ;
32514 wxSize result;
32515 PyObject * obj0 = 0 ;
32516 char *kwnames[] = {
32517 (char *) "self", NULL
32518 };
32519
32520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
32521 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32522 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32523 {
32524 PyThreadState* __tstate = wxPyBeginAllowThreads();
32525 result = ((wxPyControl const *)arg1)->base_DoGetVirtualSize();
32526
32527 wxPyEndAllowThreads(__tstate);
32528 if (PyErr_Occurred()) SWIG_fail;
32529 }
32530 {
32531 wxSize * resultptr;
36ed4f51 32532 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
32533 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
32534 }
32535 return resultobj;
32536 fail:
32537 return NULL;
32538}
32539
32540
c370783e 32541static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32542 PyObject *resultobj;
32543 wxPyControl *arg1 = (wxPyControl *) 0 ;
32544 wxSize result;
32545 PyObject * obj0 = 0 ;
32546 char *kwnames[] = {
32547 (char *) "self", NULL
32548 };
32549
32550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetBestSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
32551 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32552 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32553 {
32554 PyThreadState* __tstate = wxPyBeginAllowThreads();
32555 result = ((wxPyControl const *)arg1)->base_DoGetBestSize();
32556
32557 wxPyEndAllowThreads(__tstate);
32558 if (PyErr_Occurred()) SWIG_fail;
32559 }
32560 {
32561 wxSize * resultptr;
36ed4f51 32562 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
32563 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
32564 }
32565 return resultobj;
32566 fail:
32567 return NULL;
32568}
32569
32570
c370783e 32571static PyObject *_wrap_PyControl_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32572 PyObject *resultobj;
32573 wxPyControl *arg1 = (wxPyControl *) 0 ;
32574 PyObject * obj0 = 0 ;
32575 char *kwnames[] = {
32576 (char *) "self", NULL
32577 };
32578
32579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_InitDialog",kwnames,&obj0)) goto fail;
36ed4f51
RD
32580 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32581 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32582 {
32583 PyThreadState* __tstate = wxPyBeginAllowThreads();
32584 (arg1)->base_InitDialog();
32585
32586 wxPyEndAllowThreads(__tstate);
32587 if (PyErr_Occurred()) SWIG_fail;
32588 }
32589 Py_INCREF(Py_None); resultobj = Py_None;
32590 return resultobj;
32591 fail:
32592 return NULL;
32593}
32594
32595
c370783e 32596static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32597 PyObject *resultobj;
32598 wxPyControl *arg1 = (wxPyControl *) 0 ;
32599 bool result;
32600 PyObject * obj0 = 0 ;
32601 char *kwnames[] = {
32602 (char *) "self", NULL
32603 };
32604
32605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
36ed4f51
RD
32606 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32607 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32608 {
32609 PyThreadState* __tstate = wxPyBeginAllowThreads();
32610 result = (bool)(arg1)->base_TransferDataToWindow();
32611
32612 wxPyEndAllowThreads(__tstate);
32613 if (PyErr_Occurred()) SWIG_fail;
32614 }
32615 {
32616 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32617 }
32618 return resultobj;
32619 fail:
32620 return NULL;
32621}
32622
32623
c370783e 32624static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32625 PyObject *resultobj;
32626 wxPyControl *arg1 = (wxPyControl *) 0 ;
32627 bool result;
32628 PyObject * obj0 = 0 ;
32629 char *kwnames[] = {
32630 (char *) "self", NULL
32631 };
32632
32633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
36ed4f51
RD
32634 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32635 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32636 {
32637 PyThreadState* __tstate = wxPyBeginAllowThreads();
32638 result = (bool)(arg1)->base_TransferDataFromWindow();
32639
32640 wxPyEndAllowThreads(__tstate);
32641 if (PyErr_Occurred()) SWIG_fail;
32642 }
32643 {
32644 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32645 }
32646 return resultobj;
32647 fail:
32648 return NULL;
32649}
32650
32651
c370783e 32652static PyObject *_wrap_PyControl_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32653 PyObject *resultobj;
32654 wxPyControl *arg1 = (wxPyControl *) 0 ;
32655 bool result;
32656 PyObject * obj0 = 0 ;
32657 char *kwnames[] = {
32658 (char *) "self", NULL
32659 };
32660
32661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_Validate",kwnames,&obj0)) goto fail;
36ed4f51
RD
32662 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32663 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32664 {
32665 PyThreadState* __tstate = wxPyBeginAllowThreads();
32666 result = (bool)(arg1)->base_Validate();
32667
32668 wxPyEndAllowThreads(__tstate);
32669 if (PyErr_Occurred()) SWIG_fail;
32670 }
32671 {
32672 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32673 }
32674 return resultobj;
32675 fail:
32676 return NULL;
32677}
32678
32679
c370783e 32680static PyObject *_wrap_PyControl_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32681 PyObject *resultobj;
32682 wxPyControl *arg1 = (wxPyControl *) 0 ;
32683 bool result;
32684 PyObject * obj0 = 0 ;
32685 char *kwnames[] = {
32686 (char *) "self", NULL
32687 };
32688
32689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocus",kwnames,&obj0)) goto fail;
36ed4f51
RD
32690 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32691 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32692 {
32693 PyThreadState* __tstate = wxPyBeginAllowThreads();
32694 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocus();
32695
32696 wxPyEndAllowThreads(__tstate);
32697 if (PyErr_Occurred()) SWIG_fail;
32698 }
32699 {
32700 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32701 }
32702 return resultobj;
32703 fail:
32704 return NULL;
32705}
32706
32707
c370783e 32708static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32709 PyObject *resultobj;
32710 wxPyControl *arg1 = (wxPyControl *) 0 ;
32711 bool result;
32712 PyObject * obj0 = 0 ;
32713 char *kwnames[] = {
32714 (char *) "self", NULL
32715 };
32716
32717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
36ed4f51
RD
32718 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32719 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32720 {
32721 PyThreadState* __tstate = wxPyBeginAllowThreads();
32722 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocusFromKeyboard();
32723
32724 wxPyEndAllowThreads(__tstate);
32725 if (PyErr_Occurred()) SWIG_fail;
32726 }
32727 {
32728 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32729 }
32730 return resultobj;
32731 fail:
32732 return NULL;
32733}
32734
32735
c370783e 32736static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32737 PyObject *resultobj;
32738 wxPyControl *arg1 = (wxPyControl *) 0 ;
32739 wxSize result;
32740 PyObject * obj0 = 0 ;
32741 char *kwnames[] = {
32742 (char *) "self", NULL
32743 };
32744
32745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetMaxSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
32746 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32747 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32748 {
32749 PyThreadState* __tstate = wxPyBeginAllowThreads();
32750 result = ((wxPyControl const *)arg1)->base_GetMaxSize();
32751
32752 wxPyEndAllowThreads(__tstate);
32753 if (PyErr_Occurred()) SWIG_fail;
32754 }
32755 {
32756 wxSize * resultptr;
36ed4f51 32757 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
32758 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
32759 }
32760 return resultobj;
32761 fail:
32762 return NULL;
32763}
32764
32765
c370783e 32766static PyObject *_wrap_PyControl_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32767 PyObject *resultobj;
32768 wxPyControl *arg1 = (wxPyControl *) 0 ;
32769 wxWindow *arg2 = (wxWindow *) 0 ;
32770 PyObject * obj0 = 0 ;
32771 PyObject * obj1 = 0 ;
32772 char *kwnames[] = {
32773 (char *) "self",(char *) "child", NULL
32774 };
32775
32776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
32777 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32778 if (SWIG_arg_fail(1)) SWIG_fail;
32779 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32780 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
32781 {
32782 PyThreadState* __tstate = wxPyBeginAllowThreads();
32783 (arg1)->base_AddChild(arg2);
32784
32785 wxPyEndAllowThreads(__tstate);
32786 if (PyErr_Occurred()) SWIG_fail;
32787 }
32788 Py_INCREF(Py_None); resultobj = Py_None;
32789 return resultobj;
32790 fail:
32791 return NULL;
32792}
32793
32794
c370783e 32795static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32796 PyObject *resultobj;
32797 wxPyControl *arg1 = (wxPyControl *) 0 ;
32798 wxWindow *arg2 = (wxWindow *) 0 ;
32799 PyObject * obj0 = 0 ;
32800 PyObject * obj1 = 0 ;
32801 char *kwnames[] = {
32802 (char *) "self",(char *) "child", NULL
32803 };
32804
32805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
32806 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32807 if (SWIG_arg_fail(1)) SWIG_fail;
32808 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32809 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
32810 {
32811 PyThreadState* __tstate = wxPyBeginAllowThreads();
32812 (arg1)->base_RemoveChild(arg2);
32813
32814 wxPyEndAllowThreads(__tstate);
32815 if (PyErr_Occurred()) SWIG_fail;
32816 }
32817 Py_INCREF(Py_None); resultobj = Py_None;
32818 return resultobj;
32819 fail:
32820 return NULL;
32821}
32822
32823
c370783e 32824static PyObject *_wrap_PyControl_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32825 PyObject *resultobj;
32826 wxPyControl *arg1 = (wxPyControl *) 0 ;
32827 bool result;
32828 PyObject * obj0 = 0 ;
32829 char *kwnames[] = {
32830 (char *) "self", NULL
32831 };
32832
32833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
36ed4f51
RD
32834 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32835 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32836 {
32837 PyThreadState* __tstate = wxPyBeginAllowThreads();
a5ee0656 32838 result = (bool)((wxPyControl const *)arg1)->base_ShouldInheritColours();
d55e5bfc
RD
32839
32840 wxPyEndAllowThreads(__tstate);
32841 if (PyErr_Occurred()) SWIG_fail;
32842 }
32843 {
32844 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32845 }
32846 return resultobj;
32847 fail:
32848 return NULL;
32849}
32850
32851
c370783e 32852static PyObject *_wrap_PyControl_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32853 PyObject *resultobj;
32854 wxPyControl *arg1 = (wxPyControl *) 0 ;
32855 wxColour *arg2 = 0 ;
32856 wxColour temp2 ;
32857 PyObject * obj0 = 0 ;
32858 PyObject * obj1 = 0 ;
32859 char *kwnames[] = {
32860 (char *) "self",(char *) "c", NULL
32861 };
32862
32863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
32864 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32865 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32866 {
32867 arg2 = &temp2;
32868 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
32869 }
32870 {
32871 PyThreadState* __tstate = wxPyBeginAllowThreads();
32872 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
32873
32874 wxPyEndAllowThreads(__tstate);
32875 if (PyErr_Occurred()) SWIG_fail;
32876 }
32877 Py_INCREF(Py_None); resultobj = Py_None;
32878 return resultobj;
32879 fail:
32880 return NULL;
32881}
32882
32883
c370783e 32884static PyObject *_wrap_PyControl_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
a5ee0656
RD
32885 PyObject *resultobj;
32886 wxPyControl *arg1 = (wxPyControl *) 0 ;
32887 wxVisualAttributes result;
32888 PyObject * obj0 = 0 ;
32889 char *kwnames[] = {
32890 (char *) "self", NULL
32891 };
32892
32893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
36ed4f51
RD
32894 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32895 if (SWIG_arg_fail(1)) SWIG_fail;
a5ee0656
RD
32896 {
32897 PyThreadState* __tstate = wxPyBeginAllowThreads();
32898 result = (arg1)->base_GetDefaultAttributes();
32899
32900 wxPyEndAllowThreads(__tstate);
32901 if (PyErr_Occurred()) SWIG_fail;
32902 }
32903 {
32904 wxVisualAttributes * resultptr;
36ed4f51 32905 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
a5ee0656
RD
32906 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
32907 }
32908 return resultobj;
32909 fail:
32910 return NULL;
32911}
32912
32913
c370783e 32914static PyObject * PyControl_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
32915 PyObject *obj;
32916 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32917 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
32918 Py_INCREF(obj);
32919 return Py_BuildValue((char *)"");
32920}
c370783e 32921static PyObject *_wrap_new_HelpEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32922 PyObject *resultobj;
32923 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
32924 int arg2 = (int) 0 ;
32925 wxPoint const &arg3_defvalue = wxDefaultPosition ;
32926 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
32927 wxHelpEvent *result;
32928 wxPoint temp3 ;
32929 PyObject * obj0 = 0 ;
32930 PyObject * obj1 = 0 ;
32931 PyObject * obj2 = 0 ;
32932 char *kwnames[] = {
32933 (char *) "type",(char *) "winid",(char *) "pt", NULL
32934 };
32935
32936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_HelpEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
32937 if (obj0) {
36ed4f51
RD
32938 {
32939 arg1 = (wxEventType)(SWIG_As_int(obj0));
32940 if (SWIG_arg_fail(1)) SWIG_fail;
32941 }
d55e5bfc
RD
32942 }
32943 if (obj1) {
36ed4f51
RD
32944 {
32945 arg2 = (int)(SWIG_As_int(obj1));
32946 if (SWIG_arg_fail(2)) SWIG_fail;
32947 }
d55e5bfc
RD
32948 }
32949 if (obj2) {
32950 {
32951 arg3 = &temp3;
32952 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
32953 }
32954 }
32955 {
32956 PyThreadState* __tstate = wxPyBeginAllowThreads();
32957 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
32958
32959 wxPyEndAllowThreads(__tstate);
32960 if (PyErr_Occurred()) SWIG_fail;
32961 }
32962 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpEvent, 1);
32963 return resultobj;
32964 fail:
32965 return NULL;
32966}
32967
32968
c370783e 32969static PyObject *_wrap_HelpEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32970 PyObject *resultobj;
32971 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
32972 wxPoint result;
32973 PyObject * obj0 = 0 ;
32974 char *kwnames[] = {
32975 (char *) "self", NULL
32976 };
32977
32978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",kwnames,&obj0)) goto fail;
36ed4f51
RD
32979 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
32980 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32981 {
32982 PyThreadState* __tstate = wxPyBeginAllowThreads();
32983 result = ((wxHelpEvent const *)arg1)->GetPosition();
32984
32985 wxPyEndAllowThreads(__tstate);
32986 if (PyErr_Occurred()) SWIG_fail;
32987 }
32988 {
32989 wxPoint * resultptr;
36ed4f51 32990 resultptr = new wxPoint((wxPoint const &)(result));
d55e5bfc
RD
32991 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
32992 }
32993 return resultobj;
32994 fail:
32995 return NULL;
32996}
32997
32998
c370783e 32999static PyObject *_wrap_HelpEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33000 PyObject *resultobj;
33001 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33002 wxPoint *arg2 = 0 ;
33003 wxPoint temp2 ;
33004 PyObject * obj0 = 0 ;
33005 PyObject * obj1 = 0 ;
33006 char *kwnames[] = {
33007 (char *) "self",(char *) "pos", NULL
33008 };
33009
33010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
33011 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33012 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33013 {
33014 arg2 = &temp2;
33015 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
33016 }
33017 {
33018 PyThreadState* __tstate = wxPyBeginAllowThreads();
33019 (arg1)->SetPosition((wxPoint const &)*arg2);
33020
33021 wxPyEndAllowThreads(__tstate);
33022 if (PyErr_Occurred()) SWIG_fail;
33023 }
33024 Py_INCREF(Py_None); resultobj = Py_None;
33025 return resultobj;
33026 fail:
33027 return NULL;
33028}
33029
33030
c370783e 33031static PyObject *_wrap_HelpEvent_GetLink(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33032 PyObject *resultobj;
33033 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33034 wxString *result;
33035 PyObject * obj0 = 0 ;
33036 char *kwnames[] = {
33037 (char *) "self", NULL
33038 };
33039
33040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) goto fail;
36ed4f51
RD
33041 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33042 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33043 {
33044 PyThreadState* __tstate = wxPyBeginAllowThreads();
33045 {
33046 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
33047 result = (wxString *) &_result_ref;
33048 }
33049
33050 wxPyEndAllowThreads(__tstate);
33051 if (PyErr_Occurred()) SWIG_fail;
33052 }
33053 {
33054#if wxUSE_UNICODE
33055 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
33056#else
33057 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
33058#endif
33059 }
33060 return resultobj;
33061 fail:
33062 return NULL;
33063}
33064
33065
c370783e 33066static PyObject *_wrap_HelpEvent_SetLink(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33067 PyObject *resultobj;
33068 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33069 wxString *arg2 = 0 ;
b411df4a 33070 bool temp2 = false ;
d55e5bfc
RD
33071 PyObject * obj0 = 0 ;
33072 PyObject * obj1 = 0 ;
33073 char *kwnames[] = {
33074 (char *) "self",(char *) "link", NULL
33075 };
33076
33077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
33078 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33079 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33080 {
33081 arg2 = wxString_in_helper(obj1);
33082 if (arg2 == NULL) SWIG_fail;
b411df4a 33083 temp2 = true;
d55e5bfc
RD
33084 }
33085 {
33086 PyThreadState* __tstate = wxPyBeginAllowThreads();
33087 (arg1)->SetLink((wxString const &)*arg2);
33088
33089 wxPyEndAllowThreads(__tstate);
33090 if (PyErr_Occurred()) SWIG_fail;
33091 }
33092 Py_INCREF(Py_None); resultobj = Py_None;
33093 {
33094 if (temp2)
33095 delete arg2;
33096 }
33097 return resultobj;
33098 fail:
33099 {
33100 if (temp2)
33101 delete arg2;
33102 }
33103 return NULL;
33104}
33105
33106
c370783e 33107static PyObject *_wrap_HelpEvent_GetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33108 PyObject *resultobj;
33109 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33110 wxString *result;
33111 PyObject * obj0 = 0 ;
33112 char *kwnames[] = {
33113 (char *) "self", NULL
33114 };
33115
33116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) goto fail;
36ed4f51
RD
33117 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33118 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33119 {
33120 PyThreadState* __tstate = wxPyBeginAllowThreads();
33121 {
33122 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
33123 result = (wxString *) &_result_ref;
33124 }
33125
33126 wxPyEndAllowThreads(__tstate);
33127 if (PyErr_Occurred()) SWIG_fail;
33128 }
33129 {
33130#if wxUSE_UNICODE
33131 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
33132#else
33133 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
33134#endif
33135 }
33136 return resultobj;
33137 fail:
33138 return NULL;
33139}
33140
33141
c370783e 33142static PyObject *_wrap_HelpEvent_SetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33143 PyObject *resultobj;
33144 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33145 wxString *arg2 = 0 ;
b411df4a 33146 bool temp2 = false ;
d55e5bfc
RD
33147 PyObject * obj0 = 0 ;
33148 PyObject * obj1 = 0 ;
33149 char *kwnames[] = {
33150 (char *) "self",(char *) "target", NULL
33151 };
33152
33153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
33154 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33155 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33156 {
33157 arg2 = wxString_in_helper(obj1);
33158 if (arg2 == NULL) SWIG_fail;
b411df4a 33159 temp2 = true;
d55e5bfc
RD
33160 }
33161 {
33162 PyThreadState* __tstate = wxPyBeginAllowThreads();
33163 (arg1)->SetTarget((wxString const &)*arg2);
33164
33165 wxPyEndAllowThreads(__tstate);
33166 if (PyErr_Occurred()) SWIG_fail;
33167 }
33168 Py_INCREF(Py_None); resultobj = Py_None;
33169 {
33170 if (temp2)
33171 delete arg2;
33172 }
33173 return resultobj;
33174 fail:
33175 {
33176 if (temp2)
33177 delete arg2;
33178 }
33179 return NULL;
33180}
33181
33182
c370783e 33183static PyObject * HelpEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
33184 PyObject *obj;
33185 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33186 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
33187 Py_INCREF(obj);
33188 return Py_BuildValue((char *)"");
33189}
c370783e 33190static PyObject *_wrap_new_ContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33191 PyObject *resultobj;
33192 wxWindow *arg1 = (wxWindow *) NULL ;
b411df4a 33193 bool arg2 = (bool) true ;
d55e5bfc
RD
33194 wxContextHelp *result;
33195 PyObject * obj0 = 0 ;
33196 PyObject * obj1 = 0 ;
33197 char *kwnames[] = {
33198 (char *) "window",(char *) "doNow", NULL
33199 };
33200
33201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
33202 if (obj0) {
36ed4f51
RD
33203 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33204 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33205 }
33206 if (obj1) {
36ed4f51
RD
33207 {
33208 arg2 = (bool)(SWIG_As_bool(obj1));
33209 if (SWIG_arg_fail(2)) SWIG_fail;
33210 }
d55e5bfc
RD
33211 }
33212 {
0439c23b 33213 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
33214 PyThreadState* __tstate = wxPyBeginAllowThreads();
33215 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
33216
33217 wxPyEndAllowThreads(__tstate);
110da5b0 33218 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
33219 }
33220 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelp, 1);
33221 return resultobj;
33222 fail:
33223 return NULL;
33224}
33225
33226
c370783e 33227static PyObject *_wrap_delete_ContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33228 PyObject *resultobj;
33229 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
33230 PyObject * obj0 = 0 ;
33231 char *kwnames[] = {
33232 (char *) "self", NULL
33233 };
33234
33235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
36ed4f51
RD
33236 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextHelp, SWIG_POINTER_EXCEPTION | 0);
33237 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33238 {
33239 PyThreadState* __tstate = wxPyBeginAllowThreads();
33240 delete arg1;
33241
33242 wxPyEndAllowThreads(__tstate);
33243 if (PyErr_Occurred()) SWIG_fail;
33244 }
33245 Py_INCREF(Py_None); resultobj = Py_None;
33246 return resultobj;
33247 fail:
33248 return NULL;
33249}
33250
33251
c370783e 33252static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33253 PyObject *resultobj;
33254 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
33255 wxWindow *arg2 = (wxWindow *) NULL ;
33256 bool result;
33257 PyObject * obj0 = 0 ;
33258 PyObject * obj1 = 0 ;
33259 char *kwnames[] = {
33260 (char *) "self",(char *) "window", NULL
33261 };
33262
33263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
33264 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextHelp, SWIG_POINTER_EXCEPTION | 0);
33265 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 33266 if (obj1) {
36ed4f51
RD
33267 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33268 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
33269 }
33270 {
33271 PyThreadState* __tstate = wxPyBeginAllowThreads();
33272 result = (bool)(arg1)->BeginContextHelp(arg2);
33273
33274 wxPyEndAllowThreads(__tstate);
33275 if (PyErr_Occurred()) SWIG_fail;
33276 }
33277 {
33278 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33279 }
33280 return resultobj;
33281 fail:
33282 return NULL;
33283}
33284
33285
c370783e 33286static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33287 PyObject *resultobj;
33288 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
33289 bool result;
33290 PyObject * obj0 = 0 ;
33291 char *kwnames[] = {
33292 (char *) "self", NULL
33293 };
33294
33295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
36ed4f51
RD
33296 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextHelp, SWIG_POINTER_EXCEPTION | 0);
33297 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33298 {
33299 PyThreadState* __tstate = wxPyBeginAllowThreads();
33300 result = (bool)(arg1)->EndContextHelp();
33301
33302 wxPyEndAllowThreads(__tstate);
33303 if (PyErr_Occurred()) SWIG_fail;
33304 }
33305 {
33306 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33307 }
33308 return resultobj;
33309 fail:
33310 return NULL;
33311}
33312
33313
c370783e 33314static PyObject * ContextHelp_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
33315 PyObject *obj;
33316 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33317 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
33318 Py_INCREF(obj);
33319 return Py_BuildValue((char *)"");
33320}
c370783e 33321static PyObject *_wrap_new_ContextHelpButton(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33322 PyObject *resultobj;
33323 wxWindow *arg1 = (wxWindow *) 0 ;
33324 int arg2 = (int) wxID_CONTEXT_HELP ;
33325 wxPoint const &arg3_defvalue = wxDefaultPosition ;
33326 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
33327 wxSize const &arg4_defvalue = wxDefaultSize ;
33328 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
33329 long arg5 = (long) wxBU_AUTODRAW ;
33330 wxContextHelpButton *result;
33331 wxPoint temp3 ;
33332 wxSize temp4 ;
33333 PyObject * obj0 = 0 ;
33334 PyObject * obj1 = 0 ;
33335 PyObject * obj2 = 0 ;
33336 PyObject * obj3 = 0 ;
33337 PyObject * obj4 = 0 ;
33338 char *kwnames[] = {
33339 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
33340 };
33341
33342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ContextHelpButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
33343 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33344 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 33345 if (obj1) {
36ed4f51
RD
33346 {
33347 arg2 = (int)(SWIG_As_int(obj1));
33348 if (SWIG_arg_fail(2)) SWIG_fail;
33349 }
d55e5bfc
RD
33350 }
33351 if (obj2) {
33352 {
33353 arg3 = &temp3;
33354 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
33355 }
33356 }
33357 if (obj3) {
33358 {
33359 arg4 = &temp4;
33360 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
33361 }
33362 }
33363 if (obj4) {
36ed4f51
RD
33364 {
33365 arg5 = (long)(SWIG_As_long(obj4));
33366 if (SWIG_arg_fail(5)) SWIG_fail;
33367 }
d55e5bfc
RD
33368 }
33369 {
0439c23b 33370 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
33371 PyThreadState* __tstate = wxPyBeginAllowThreads();
33372 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
33373
33374 wxPyEndAllowThreads(__tstate);
110da5b0 33375 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
33376 }
33377 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelpButton, 1);
33378 return resultobj;
33379 fail:
33380 return NULL;
33381}
33382
33383
c370783e 33384static PyObject * ContextHelpButton_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
33385 PyObject *obj;
33386 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33387 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
33388 Py_INCREF(obj);
33389 return Py_BuildValue((char *)"");
33390}
c370783e 33391static PyObject *_wrap_HelpProvider_Set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33392 PyObject *resultobj;
33393 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33394 wxHelpProvider *result;
33395 PyObject * obj0 = 0 ;
33396 char *kwnames[] = {
33397 (char *) "helpProvider", NULL
33398 };
33399
33400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
36ed4f51
RD
33401 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33402 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33403 {
33404 PyThreadState* __tstate = wxPyBeginAllowThreads();
33405 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
33406
33407 wxPyEndAllowThreads(__tstate);
33408 if (PyErr_Occurred()) SWIG_fail;
33409 }
33410 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
33411 return resultobj;
33412 fail:
33413 return NULL;
33414}
33415
33416
c370783e 33417static PyObject *_wrap_HelpProvider_Get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33418 PyObject *resultobj;
33419 wxHelpProvider *result;
33420 char *kwnames[] = {
33421 NULL
33422 };
33423
33424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
33425 {
33426 PyThreadState* __tstate = wxPyBeginAllowThreads();
33427 result = (wxHelpProvider *)wxHelpProvider::Get();
33428
33429 wxPyEndAllowThreads(__tstate);
33430 if (PyErr_Occurred()) SWIG_fail;
33431 }
33432 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
33433 return resultobj;
33434 fail:
33435 return NULL;
33436}
33437
33438
c370783e 33439static PyObject *_wrap_HelpProvider_GetHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33440 PyObject *resultobj;
33441 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33442 wxWindow *arg2 = (wxWindow *) 0 ;
33443 wxString result;
33444 PyObject * obj0 = 0 ;
33445 PyObject * obj1 = 0 ;
33446 char *kwnames[] = {
33447 (char *) "self",(char *) "window", NULL
33448 };
33449
33450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
33451 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33452 if (SWIG_arg_fail(1)) SWIG_fail;
33453 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33454 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
33455 {
33456 PyThreadState* __tstate = wxPyBeginAllowThreads();
33457 result = (arg1)->GetHelp((wxWindow const *)arg2);
33458
33459 wxPyEndAllowThreads(__tstate);
33460 if (PyErr_Occurred()) SWIG_fail;
33461 }
33462 {
33463#if wxUSE_UNICODE
33464 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
33465#else
33466 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
33467#endif
33468 }
33469 return resultobj;
33470 fail:
33471 return NULL;
33472}
33473
33474
c370783e 33475static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33476 PyObject *resultobj;
33477 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33478 wxWindow *arg2 = (wxWindow *) 0 ;
33479 bool result;
33480 PyObject * obj0 = 0 ;
33481 PyObject * obj1 = 0 ;
33482 char *kwnames[] = {
33483 (char *) "self",(char *) "window", NULL
33484 };
33485
33486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
33487 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33488 if (SWIG_arg_fail(1)) SWIG_fail;
33489 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33490 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
33491 {
33492 PyThreadState* __tstate = wxPyBeginAllowThreads();
33493 result = (bool)(arg1)->ShowHelp(arg2);
33494
33495 wxPyEndAllowThreads(__tstate);
33496 if (PyErr_Occurred()) SWIG_fail;
33497 }
33498 {
33499 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33500 }
33501 return resultobj;
33502 fail:
33503 return NULL;
33504}
33505
33506
c370783e 33507static PyObject *_wrap_HelpProvider_AddHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33508 PyObject *resultobj;
33509 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33510 wxWindow *arg2 = (wxWindow *) 0 ;
33511 wxString *arg3 = 0 ;
b411df4a 33512 bool temp3 = false ;
d55e5bfc
RD
33513 PyObject * obj0 = 0 ;
33514 PyObject * obj1 = 0 ;
33515 PyObject * obj2 = 0 ;
33516 char *kwnames[] = {
33517 (char *) "self",(char *) "window",(char *) "text", NULL
33518 };
33519
33520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
33521 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33522 if (SWIG_arg_fail(1)) SWIG_fail;
33523 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33524 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
33525 {
33526 arg3 = wxString_in_helper(obj2);
33527 if (arg3 == NULL) SWIG_fail;
b411df4a 33528 temp3 = true;
d55e5bfc
RD
33529 }
33530 {
33531 PyThreadState* __tstate = wxPyBeginAllowThreads();
33532 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
33533
33534 wxPyEndAllowThreads(__tstate);
33535 if (PyErr_Occurred()) SWIG_fail;
33536 }
33537 Py_INCREF(Py_None); resultobj = Py_None;
33538 {
33539 if (temp3)
33540 delete arg3;
33541 }
33542 return resultobj;
33543 fail:
33544 {
33545 if (temp3)
33546 delete arg3;
33547 }
33548 return NULL;
33549}
33550
33551
c370783e 33552static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33553 PyObject *resultobj;
33554 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33555 int arg2 ;
33556 wxString *arg3 = 0 ;
b411df4a 33557 bool temp3 = false ;
d55e5bfc
RD
33558 PyObject * obj0 = 0 ;
33559 PyObject * obj1 = 0 ;
33560 PyObject * obj2 = 0 ;
33561 char *kwnames[] = {
33562 (char *) "self",(char *) "id",(char *) "text", NULL
33563 };
33564
33565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelpById",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
33566 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33567 if (SWIG_arg_fail(1)) SWIG_fail;
33568 {
33569 arg2 = (int)(SWIG_As_int(obj1));
33570 if (SWIG_arg_fail(2)) SWIG_fail;
33571 }
d55e5bfc
RD
33572 {
33573 arg3 = wxString_in_helper(obj2);
33574 if (arg3 == NULL) SWIG_fail;
b411df4a 33575 temp3 = true;
d55e5bfc
RD
33576 }
33577 {
33578 PyThreadState* __tstate = wxPyBeginAllowThreads();
33579 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
33580
33581 wxPyEndAllowThreads(__tstate);
33582 if (PyErr_Occurred()) SWIG_fail;
33583 }
33584 Py_INCREF(Py_None); resultobj = Py_None;
33585 {
33586 if (temp3)
33587 delete arg3;
33588 }
33589 return resultobj;
33590 fail:
33591 {
33592 if (temp3)
33593 delete arg3;
33594 }
33595 return NULL;
33596}
33597
33598
c370783e 33599static PyObject *_wrap_HelpProvider_RemoveHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33600 PyObject *resultobj;
33601 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33602 wxWindow *arg2 = (wxWindow *) 0 ;
33603 PyObject * obj0 = 0 ;
33604 PyObject * obj1 = 0 ;
33605 char *kwnames[] = {
33606 (char *) "self",(char *) "window", NULL
33607 };
33608
33609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_RemoveHelp",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
33610 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33611 if (SWIG_arg_fail(1)) SWIG_fail;
33612 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33613 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
33614 {
33615 PyThreadState* __tstate = wxPyBeginAllowThreads();
33616 (arg1)->RemoveHelp(arg2);
33617
33618 wxPyEndAllowThreads(__tstate);
33619 if (PyErr_Occurred()) SWIG_fail;
33620 }
33621 Py_INCREF(Py_None); resultobj = Py_None;
33622 return resultobj;
33623 fail:
33624 return NULL;
33625}
33626
33627
c370783e 33628static PyObject *_wrap_HelpProvider_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33629 PyObject *resultobj;
33630 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33631 PyObject * obj0 = 0 ;
33632 char *kwnames[] = {
33633 (char *) "self", NULL
33634 };
33635
33636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
36ed4f51
RD
33637 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33638 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33639 {
33640 PyThreadState* __tstate = wxPyBeginAllowThreads();
33641 wxHelpProvider_Destroy(arg1);
33642
33643 wxPyEndAllowThreads(__tstate);
33644 if (PyErr_Occurred()) SWIG_fail;
33645 }
33646 Py_INCREF(Py_None); resultobj = Py_None;
33647 return resultobj;
33648 fail:
33649 return NULL;
33650}
33651
33652
c370783e 33653static PyObject * HelpProvider_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
33654 PyObject *obj;
33655 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33656 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
33657 Py_INCREF(obj);
33658 return Py_BuildValue((char *)"");
33659}
c370783e 33660static PyObject *_wrap_new_SimpleHelpProvider(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33661 PyObject *resultobj;
33662 wxSimpleHelpProvider *result;
33663 char *kwnames[] = {
33664 NULL
33665 };
33666
33667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
33668 {
33669 PyThreadState* __tstate = wxPyBeginAllowThreads();
33670 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
33671
33672 wxPyEndAllowThreads(__tstate);
33673 if (PyErr_Occurred()) SWIG_fail;
33674 }
33675 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSimpleHelpProvider, 1);
33676 return resultobj;
33677 fail:
33678 return NULL;
33679}
33680
33681
c370783e 33682static PyObject * SimpleHelpProvider_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
33683 PyObject *obj;
33684 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33685 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
33686 Py_INCREF(obj);
33687 return Py_BuildValue((char *)"");
33688}
c370783e 33689static PyObject *_wrap_new_DragImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33690 PyObject *resultobj;
33691 wxBitmap *arg1 = 0 ;
33692 wxCursor const &arg2_defvalue = wxNullCursor ;
33693 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
33694 wxGenericDragImage *result;
33695 PyObject * obj0 = 0 ;
33696 PyObject * obj1 = 0 ;
33697 char *kwnames[] = {
33698 (char *) "image",(char *) "cursor", NULL
33699 };
33700
33701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
33702 {
33703 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
33704 if (SWIG_arg_fail(1)) SWIG_fail;
33705 if (arg1 == NULL) {
33706 SWIG_null_ref("wxBitmap");
33707 }
33708 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33709 }
33710 if (obj1) {
36ed4f51
RD
33711 {
33712 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
33713 if (SWIG_arg_fail(2)) SWIG_fail;
33714 if (arg2 == NULL) {
33715 SWIG_null_ref("wxCursor");
33716 }
33717 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
33718 }
33719 }
33720 {
0439c23b 33721 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
33722 PyThreadState* __tstate = wxPyBeginAllowThreads();
33723 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
33724
33725 wxPyEndAllowThreads(__tstate);
110da5b0 33726 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
33727 }
33728 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
33729 return resultobj;
33730 fail:
33731 return NULL;
33732}
33733
33734
c370783e 33735static PyObject *_wrap_new_DragIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33736 PyObject *resultobj;
33737 wxIcon *arg1 = 0 ;
33738 wxCursor const &arg2_defvalue = wxNullCursor ;
33739 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
33740 wxGenericDragImage *result;
33741 PyObject * obj0 = 0 ;
33742 PyObject * obj1 = 0 ;
33743 char *kwnames[] = {
33744 (char *) "image",(char *) "cursor", NULL
33745 };
33746
33747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
33748 {
33749 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
33750 if (SWIG_arg_fail(1)) SWIG_fail;
33751 if (arg1 == NULL) {
33752 SWIG_null_ref("wxIcon");
33753 }
33754 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33755 }
33756 if (obj1) {
36ed4f51
RD
33757 {
33758 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
33759 if (SWIG_arg_fail(2)) SWIG_fail;
33760 if (arg2 == NULL) {
33761 SWIG_null_ref("wxCursor");
33762 }
33763 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
33764 }
33765 }
33766 {
0439c23b 33767 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
33768 PyThreadState* __tstate = wxPyBeginAllowThreads();
33769 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
33770
33771 wxPyEndAllowThreads(__tstate);
110da5b0 33772 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
33773 }
33774 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
33775 return resultobj;
33776 fail:
33777 return NULL;
33778}
33779
33780
c370783e 33781static PyObject *_wrap_new_DragString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33782 PyObject *resultobj;
33783 wxString *arg1 = 0 ;
33784 wxCursor const &arg2_defvalue = wxNullCursor ;
33785 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
33786 wxGenericDragImage *result;
b411df4a 33787 bool temp1 = false ;
d55e5bfc
RD
33788 PyObject * obj0 = 0 ;
33789 PyObject * obj1 = 0 ;
33790 char *kwnames[] = {
33791 (char *) "str",(char *) "cursor", NULL
33792 };
33793
33794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail;
33795 {
33796 arg1 = wxString_in_helper(obj0);
33797 if (arg1 == NULL) SWIG_fail;
b411df4a 33798 temp1 = true;
d55e5bfc
RD
33799 }
33800 if (obj1) {
36ed4f51
RD
33801 {
33802 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
33803 if (SWIG_arg_fail(2)) SWIG_fail;
33804 if (arg2 == NULL) {
33805 SWIG_null_ref("wxCursor");
33806 }
33807 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
33808 }
33809 }
33810 {
0439c23b 33811 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
33812 PyThreadState* __tstate = wxPyBeginAllowThreads();
33813 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
33814
33815 wxPyEndAllowThreads(__tstate);
110da5b0 33816 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
33817 }
33818 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
33819 {
33820 if (temp1)
33821 delete arg1;
33822 }
33823 return resultobj;
33824 fail:
33825 {
33826 if (temp1)
33827 delete arg1;
33828 }
33829 return NULL;
33830}
33831
33832
c370783e 33833static PyObject *_wrap_new_DragTreeItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33834 PyObject *resultobj;
33835 wxPyTreeCtrl *arg1 = 0 ;
33836 wxTreeItemId *arg2 = 0 ;
33837 wxGenericDragImage *result;
33838 PyObject * obj0 = 0 ;
33839 PyObject * obj1 = 0 ;
33840 char *kwnames[] = {
33841 (char *) "treeCtrl",(char *) "id", NULL
33842 };
33843
33844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
33845 {
33846 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
33847 if (SWIG_arg_fail(1)) SWIG_fail;
33848 if (arg1 == NULL) {
33849 SWIG_null_ref("wxPyTreeCtrl");
33850 }
33851 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 33852 }
36ed4f51
RD
33853 {
33854 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
33855 if (SWIG_arg_fail(2)) SWIG_fail;
33856 if (arg2 == NULL) {
33857 SWIG_null_ref("wxTreeItemId");
33858 }
33859 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
33860 }
33861 {
0439c23b 33862 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
33863 PyThreadState* __tstate = wxPyBeginAllowThreads();
33864 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
33865
33866 wxPyEndAllowThreads(__tstate);
110da5b0 33867 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
33868 }
33869 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
33870 return resultobj;
33871 fail:
33872 return NULL;
33873}
33874
33875
c370783e 33876static PyObject *_wrap_new_DragListItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33877 PyObject *resultobj;
33878 wxPyListCtrl *arg1 = 0 ;
33879 long arg2 ;
33880 wxGenericDragImage *result;
33881 PyObject * obj0 = 0 ;
33882 PyObject * obj1 = 0 ;
33883 char *kwnames[] = {
33884 (char *) "listCtrl",(char *) "id", NULL
33885 };
33886
33887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragListItem",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
33888 {
33889 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
33890 if (SWIG_arg_fail(1)) SWIG_fail;
33891 if (arg1 == NULL) {
33892 SWIG_null_ref("wxPyListCtrl");
33893 }
33894 if (SWIG_arg_fail(1)) SWIG_fail;
33895 }
33896 {
33897 arg2 = (long)(SWIG_As_long(obj1));
33898 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 33899 }
d55e5bfc 33900 {
0439c23b 33901 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
33902 PyThreadState* __tstate = wxPyBeginAllowThreads();
33903 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
33904
33905 wxPyEndAllowThreads(__tstate);
110da5b0 33906 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
33907 }
33908 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
33909 return resultobj;
33910 fail:
33911 return NULL;
33912}
33913
33914
c370783e 33915static PyObject *_wrap_delete_DragImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33916 PyObject *resultobj;
33917 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
33918 PyObject * obj0 = 0 ;
33919 char *kwnames[] = {
33920 (char *) "self", NULL
33921 };
33922
33923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail;
36ed4f51
RD
33924 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
33925 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33926 {
33927 PyThreadState* __tstate = wxPyBeginAllowThreads();
33928 delete arg1;
33929
33930 wxPyEndAllowThreads(__tstate);
33931 if (PyErr_Occurred()) SWIG_fail;
33932 }
33933 Py_INCREF(Py_None); resultobj = Py_None;
33934 return resultobj;
33935 fail:
33936 return NULL;
33937}
33938
33939
c370783e 33940static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33941 PyObject *resultobj;
33942 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
33943 wxBitmap *arg2 = (wxBitmap *) 0 ;
33944 PyObject * obj0 = 0 ;
33945 PyObject * obj1 = 0 ;
33946 char *kwnames[] = {
33947 (char *) "self",(char *) "bitmap", NULL
33948 };
33949
33950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
33951 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
33952 if (SWIG_arg_fail(1)) SWIG_fail;
33953 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
33954 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
33955 {
33956 PyThreadState* __tstate = wxPyBeginAllowThreads();
33957 (arg1)->SetBackingBitmap(arg2);
33958
33959 wxPyEndAllowThreads(__tstate);
33960 if (PyErr_Occurred()) SWIG_fail;
33961 }
33962 Py_INCREF(Py_None); resultobj = Py_None;
33963 return resultobj;
33964 fail:
33965 return NULL;
33966}
33967
33968
c370783e 33969static PyObject *_wrap_DragImage_BeginDrag(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33970 PyObject *resultobj;
33971 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
33972 wxPoint *arg2 = 0 ;
33973 wxWindow *arg3 = (wxWindow *) 0 ;
b411df4a 33974 bool arg4 = (bool) false ;
d55e5bfc
RD
33975 wxRect *arg5 = (wxRect *) NULL ;
33976 bool result;
33977 wxPoint temp2 ;
33978 PyObject * obj0 = 0 ;
33979 PyObject * obj1 = 0 ;
33980 PyObject * obj2 = 0 ;
33981 PyObject * obj3 = 0 ;
33982 PyObject * obj4 = 0 ;
33983 char *kwnames[] = {
33984 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
33985 };
33986
33987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
33988 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
33989 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33990 {
33991 arg2 = &temp2;
33992 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
33993 }
36ed4f51
RD
33994 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33995 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc 33996 if (obj3) {
36ed4f51
RD
33997 {
33998 arg4 = (bool)(SWIG_As_bool(obj3));
33999 if (SWIG_arg_fail(4)) SWIG_fail;
34000 }
d55e5bfc
RD
34001 }
34002 if (obj4) {
36ed4f51
RD
34003 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
34004 if (SWIG_arg_fail(5)) SWIG_fail;
d55e5bfc
RD
34005 }
34006 {
34007 PyThreadState* __tstate = wxPyBeginAllowThreads();
34008 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
34009
34010 wxPyEndAllowThreads(__tstate);
34011 if (PyErr_Occurred()) SWIG_fail;
34012 }
34013 {
34014 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34015 }
34016 return resultobj;
34017 fail:
34018 return NULL;
34019}
34020
34021
c370783e 34022static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34023 PyObject *resultobj;
34024 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34025 wxPoint *arg2 = 0 ;
34026 wxWindow *arg3 = (wxWindow *) 0 ;
34027 wxWindow *arg4 = (wxWindow *) 0 ;
34028 bool result;
34029 wxPoint temp2 ;
34030 PyObject * obj0 = 0 ;
34031 PyObject * obj1 = 0 ;
34032 PyObject * obj2 = 0 ;
34033 PyObject * obj3 = 0 ;
34034 char *kwnames[] = {
34035 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
34036 };
34037
34038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
34039 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34040 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34041 {
34042 arg2 = &temp2;
34043 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34044 }
36ed4f51
RD
34045 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34046 if (SWIG_arg_fail(3)) SWIG_fail;
34047 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34048 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc
RD
34049 {
34050 PyThreadState* __tstate = wxPyBeginAllowThreads();
34051 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
34052
34053 wxPyEndAllowThreads(__tstate);
34054 if (PyErr_Occurred()) SWIG_fail;
34055 }
34056 {
34057 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34058 }
34059 return resultobj;
34060 fail:
34061 return NULL;
34062}
34063
34064
c370783e 34065static PyObject *_wrap_DragImage_EndDrag(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34066 PyObject *resultobj;
34067 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34068 bool result;
34069 PyObject * obj0 = 0 ;
34070 char *kwnames[] = {
34071 (char *) "self", NULL
34072 };
34073
34074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail;
36ed4f51
RD
34075 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34076 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34077 {
34078 PyThreadState* __tstate = wxPyBeginAllowThreads();
34079 result = (bool)(arg1)->EndDrag();
34080
34081 wxPyEndAllowThreads(__tstate);
34082 if (PyErr_Occurred()) SWIG_fail;
34083 }
34084 {
34085 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34086 }
34087 return resultobj;
34088 fail:
34089 return NULL;
34090}
34091
34092
c370783e 34093static PyObject *_wrap_DragImage_Move(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34094 PyObject *resultobj;
34095 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34096 wxPoint *arg2 = 0 ;
34097 bool result;
34098 wxPoint temp2 ;
34099 PyObject * obj0 = 0 ;
34100 PyObject * obj1 = 0 ;
34101 char *kwnames[] = {
34102 (char *) "self",(char *) "pt", NULL
34103 };
34104
34105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
34106 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34107 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34108 {
34109 arg2 = &temp2;
34110 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34111 }
34112 {
34113 PyThreadState* __tstate = wxPyBeginAllowThreads();
34114 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
34115
34116 wxPyEndAllowThreads(__tstate);
34117 if (PyErr_Occurred()) SWIG_fail;
34118 }
34119 {
34120 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34121 }
34122 return resultobj;
34123 fail:
34124 return NULL;
34125}
34126
34127
c370783e 34128static PyObject *_wrap_DragImage_Show(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34129 PyObject *resultobj;
34130 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34131 bool result;
34132 PyObject * obj0 = 0 ;
34133 char *kwnames[] = {
34134 (char *) "self", NULL
34135 };
34136
34137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail;
36ed4f51
RD
34138 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34139 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34140 {
34141 PyThreadState* __tstate = wxPyBeginAllowThreads();
34142 result = (bool)(arg1)->Show();
34143
34144 wxPyEndAllowThreads(__tstate);
34145 if (PyErr_Occurred()) SWIG_fail;
34146 }
34147 {
34148 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34149 }
34150 return resultobj;
34151 fail:
34152 return NULL;
34153}
34154
34155
c370783e 34156static PyObject *_wrap_DragImage_Hide(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34157 PyObject *resultobj;
34158 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34159 bool result;
34160 PyObject * obj0 = 0 ;
34161 char *kwnames[] = {
34162 (char *) "self", NULL
34163 };
34164
34165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail;
36ed4f51
RD
34166 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34167 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34168 {
34169 PyThreadState* __tstate = wxPyBeginAllowThreads();
34170 result = (bool)(arg1)->Hide();
34171
34172 wxPyEndAllowThreads(__tstate);
34173 if (PyErr_Occurred()) SWIG_fail;
34174 }
34175 {
34176 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34177 }
34178 return resultobj;
34179 fail:
34180 return NULL;
34181}
34182
34183
c370783e 34184static PyObject *_wrap_DragImage_GetImageRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34185 PyObject *resultobj;
34186 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34187 wxPoint *arg2 = 0 ;
34188 wxRect result;
34189 wxPoint temp2 ;
34190 PyObject * obj0 = 0 ;
34191 PyObject * obj1 = 0 ;
34192 char *kwnames[] = {
34193 (char *) "self",(char *) "pos", NULL
34194 };
34195
34196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
34197 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34198 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34199 {
34200 arg2 = &temp2;
34201 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34202 }
34203 {
34204 PyThreadState* __tstate = wxPyBeginAllowThreads();
34205 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
34206
34207 wxPyEndAllowThreads(__tstate);
34208 if (PyErr_Occurred()) SWIG_fail;
34209 }
34210 {
34211 wxRect * resultptr;
36ed4f51 34212 resultptr = new wxRect((wxRect &)(result));
d55e5bfc
RD
34213 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
34214 }
34215 return resultobj;
34216 fail:
34217 return NULL;
34218}
34219
34220
c370783e 34221static PyObject *_wrap_DragImage_DoDrawImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34222 PyObject *resultobj;
34223 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34224 wxDC *arg2 = 0 ;
34225 wxPoint *arg3 = 0 ;
34226 bool result;
34227 wxPoint temp3 ;
34228 PyObject * obj0 = 0 ;
34229 PyObject * obj1 = 0 ;
34230 PyObject * obj2 = 0 ;
34231 char *kwnames[] = {
34232 (char *) "self",(char *) "dc",(char *) "pos", NULL
34233 };
34234
34235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
34236 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34237 if (SWIG_arg_fail(1)) SWIG_fail;
34238 {
34239 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
34240 if (SWIG_arg_fail(2)) SWIG_fail;
34241 if (arg2 == NULL) {
34242 SWIG_null_ref("wxDC");
34243 }
34244 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
34245 }
34246 {
34247 arg3 = &temp3;
34248 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
34249 }
34250 {
34251 PyThreadState* __tstate = wxPyBeginAllowThreads();
34252 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
34253
34254 wxPyEndAllowThreads(__tstate);
34255 if (PyErr_Occurred()) SWIG_fail;
34256 }
34257 {
34258 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34259 }
34260 return resultobj;
34261 fail:
34262 return NULL;
34263}
34264
34265
c370783e 34266static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34267 PyObject *resultobj;
34268 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34269 wxDC *arg2 = 0 ;
34270 wxMemoryDC *arg3 = 0 ;
34271 wxRect *arg4 = 0 ;
34272 wxRect *arg5 = 0 ;
34273 bool result;
34274 wxRect temp4 ;
34275 wxRect temp5 ;
34276 PyObject * obj0 = 0 ;
34277 PyObject * obj1 = 0 ;
34278 PyObject * obj2 = 0 ;
34279 PyObject * obj3 = 0 ;
34280 PyObject * obj4 = 0 ;
34281 char *kwnames[] = {
34282 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
34283 };
34284
34285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
34286 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34287 if (SWIG_arg_fail(1)) SWIG_fail;
34288 {
34289 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
34290 if (SWIG_arg_fail(2)) SWIG_fail;
34291 if (arg2 == NULL) {
34292 SWIG_null_ref("wxDC");
34293 }
34294 if (SWIG_arg_fail(2)) SWIG_fail;
34295 }
34296 {
34297 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxMemoryDC, SWIG_POINTER_EXCEPTION | 0);
34298 if (SWIG_arg_fail(3)) SWIG_fail;
34299 if (arg3 == NULL) {
34300 SWIG_null_ref("wxMemoryDC");
34301 }
34302 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
34303 }
34304 {
34305 arg4 = &temp4;
34306 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
34307 }
34308 {
34309 arg5 = &temp5;
34310 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
34311 }
34312 {
34313 PyThreadState* __tstate = wxPyBeginAllowThreads();
34314 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
34315
34316 wxPyEndAllowThreads(__tstate);
34317 if (PyErr_Occurred()) SWIG_fail;
34318 }
34319 {
34320 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34321 }
34322 return resultobj;
34323 fail:
34324 return NULL;
34325}
34326
34327
c370783e 34328static PyObject *_wrap_DragImage_RedrawImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34329 PyObject *resultobj;
34330 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34331 wxPoint *arg2 = 0 ;
34332 wxPoint *arg3 = 0 ;
34333 bool arg4 ;
34334 bool arg5 ;
34335 bool result;
34336 wxPoint temp2 ;
34337 wxPoint temp3 ;
34338 PyObject * obj0 = 0 ;
34339 PyObject * obj1 = 0 ;
34340 PyObject * obj2 = 0 ;
34341 PyObject * obj3 = 0 ;
34342 PyObject * obj4 = 0 ;
34343 char *kwnames[] = {
34344 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
34345 };
34346
34347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
34348 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34349 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34350 {
34351 arg2 = &temp2;
34352 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34353 }
34354 {
34355 arg3 = &temp3;
34356 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
34357 }
36ed4f51
RD
34358 {
34359 arg4 = (bool)(SWIG_As_bool(obj3));
34360 if (SWIG_arg_fail(4)) SWIG_fail;
34361 }
34362 {
34363 arg5 = (bool)(SWIG_As_bool(obj4));
34364 if (SWIG_arg_fail(5)) SWIG_fail;
34365 }
d55e5bfc
RD
34366 {
34367 PyThreadState* __tstate = wxPyBeginAllowThreads();
34368 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
34369
34370 wxPyEndAllowThreads(__tstate);
34371 if (PyErr_Occurred()) SWIG_fail;
34372 }
34373 {
34374 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34375 }
34376 return resultobj;
34377 fail:
34378 return NULL;
34379}
34380
34381
c370783e 34382static PyObject * DragImage_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
34383 PyObject *obj;
34384 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34385 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj);
34386 Py_INCREF(obj);
34387 return Py_BuildValue((char *)"");
34388}
34389static PyMethodDef SwigMethods[] = {
36ed4f51
RD
34390 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS, NULL},
34391 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS, NULL},
34392 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34393 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS, NULL},
34394 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
34395 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction) _wrap_Button_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34396 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS, NULL},
34397 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS, NULL},
34398 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS, NULL},
34399 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34400 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL},
34401 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL},
34402 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL},
34403 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL},
34404 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL},
34405 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL},
34406 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL},
34407 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL},
34408 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
34409 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS, NULL},
34410 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS, NULL},
34411 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS, NULL},
34412 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS, NULL},
34413 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS, NULL},
34414 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34415 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34416 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL},
34417 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34418 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS, NULL},
34419 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS, NULL},
34420 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS, NULL},
34421 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS, NULL},
34422 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction) _wrap_CheckBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34423 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS, NULL},
34424 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS, NULL},
34425 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS, NULL},
34426 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34427 { (char *)"Choice_SetSelection", (PyCFunction) _wrap_Choice_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34428 { (char *)"Choice_SetStringSelection", (PyCFunction) _wrap_Choice_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34429 { (char *)"Choice_SetString", (PyCFunction) _wrap_Choice_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
34430 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction) _wrap_Choice_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34431 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS, NULL},
34432 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS, NULL},
34433 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS, NULL},
34434 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34435 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34436 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34437 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
34438 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS, NULL},
34439 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS, NULL},
34440 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
34441 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
34442 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS, NULL},
34443 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
34444 { (char *)"ComboBox_SetSelection", (PyCFunction) _wrap_ComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34445 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS, NULL},
34446 { (char *)"ComboBox_SetStringSelection", (PyCFunction) _wrap_ComboBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34447 { (char *)"ComboBox_SetString", (PyCFunction) _wrap_ComboBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
34448 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
34449 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS, NULL},
34450 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
34451 { (char *)"ComboBox_IsEditable", (PyCFunction) _wrap_ComboBox_IsEditable, METH_VARARGS | METH_KEYWORDS, NULL},
34452 { (char *)"ComboBox_Undo", (PyCFunction) _wrap_ComboBox_Undo, METH_VARARGS | METH_KEYWORDS, NULL},
34453 { (char *)"ComboBox_Redo", (PyCFunction) _wrap_ComboBox_Redo, METH_VARARGS | METH_KEYWORDS, NULL},
34454 { (char *)"ComboBox_SelectAll", (PyCFunction) _wrap_ComboBox_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
34455 { (char *)"ComboBox_CanCopy", (PyCFunction) _wrap_ComboBox_CanCopy, METH_VARARGS | METH_KEYWORDS, NULL},
34456 { (char *)"ComboBox_CanCut", (PyCFunction) _wrap_ComboBox_CanCut, METH_VARARGS | METH_KEYWORDS, NULL},
34457 { (char *)"ComboBox_CanPaste", (PyCFunction) _wrap_ComboBox_CanPaste, METH_VARARGS | METH_KEYWORDS, NULL},
34458 { (char *)"ComboBox_CanUndo", (PyCFunction) _wrap_ComboBox_CanUndo, METH_VARARGS | METH_KEYWORDS, NULL},
34459 { (char *)"ComboBox_CanRedo", (PyCFunction) _wrap_ComboBox_CanRedo, METH_VARARGS | METH_KEYWORDS, NULL},
34460 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ComboBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34461 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS, NULL},
34462 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS, NULL},
34463 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS, NULL},
34464 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34465 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
34466 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
34467 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34468 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34469 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
34470 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL},
34471 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL},
34472 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL},
34473 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL},
34474 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction) _wrap_Gauge_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34475 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS, NULL},
34476 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS, NULL},
34477 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS, NULL},
34478 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34479 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34480 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS, NULL},
34481 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS, NULL},
34482 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS, NULL},
34483 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34484 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
34485 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
34486 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticLine_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34487 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS, NULL},
34488 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS, NULL},
34489 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS, NULL},
34490 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34491 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticText_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34492 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS, NULL},
34493 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
34494 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
34495 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34496 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
34497 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
34498 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
34499 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBitmap_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34500 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS, NULL},
34501 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS, NULL},
34502 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS, NULL},
34503 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34504 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS, NULL},
34505 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS, NULL},
34506 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS, NULL},
34507 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
34508 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34509 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
34510 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS, NULL},
34511 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
34512 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34513 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
34514 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS, NULL},
34515 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS, NULL},
34516 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
34517 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
34518 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS, NULL},
34519 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction) _wrap_ListBox_SetItemForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
34520 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction) _wrap_ListBox_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
34521 { (char *)"ListBox_SetItemFont", (PyCFunction) _wrap_ListBox_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
34522 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ListBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34523 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS, NULL},
34524 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS, NULL},
34525 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS, NULL},
34526 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34527 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL},
34528 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS, NULL},
34529 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
34530 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
34531 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS, NULL},
34532 { (char *)"new_TextAttr", (PyCFunction) _wrap_new_TextAttr, METH_VARARGS | METH_KEYWORDS, NULL},
34533 { (char *)"delete_TextAttr", (PyCFunction) _wrap_delete_TextAttr, METH_VARARGS | METH_KEYWORDS, NULL},
34534 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS, NULL},
34535 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
34536 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
34537 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
34538 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
34539 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS, NULL},
34540 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
34541 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
34542 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
34543 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
34544 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
34545 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS, NULL},
34546 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
34547 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS, NULL},
34548 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
34549 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
34550 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL},
34551 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
34552 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
34553 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
34554 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
34555 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS, NULL},
34556 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
34557 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction) _wrap_TextAttr_GetLeftSubIndent, METH_VARARGS | METH_KEYWORDS, NULL},
34558 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
34559 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
34560 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS, NULL},
34561 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS, NULL},
34562 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS, NULL},
34563 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
34564 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
34565 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34566 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34567 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34568 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
34569 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS, NULL},
34570 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS, NULL},
34571 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS, NULL},
34572 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS, NULL},
34573 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS, NULL},
34574 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS, NULL},
34575 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS, NULL},
34576 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34577 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34578 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
34579 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
34580 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
34581 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
34582 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL},
34583 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS, NULL},
34584 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS, NULL},
34585 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS, NULL},
34586 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS, NULL},
34587 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS, NULL},
34588 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS, NULL},
34589 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
34590 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
34591 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL},
34592 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL},
34593 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS, NULL},
34594 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS, NULL},
34595 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS, NULL},
34596 { (char *)"TextCtrl_HitTest", (PyCFunction) _wrap_TextCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
34597 { (char *)"TextCtrl_HitTestPos", (PyCFunction) _wrap_TextCtrl_HitTestPos, METH_VARARGS | METH_KEYWORDS, NULL},
34598 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
34599 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS, NULL},
34600 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS, NULL},
34601 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS, NULL},
34602 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS, NULL},
34603 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS, NULL},
34604 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS, NULL},
34605 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS, NULL},
34606 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS, NULL},
34607 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS, NULL},
34608 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
34609 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS, NULL},
34610 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
34611 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS, NULL},
34612 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34613 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
34614 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
34615 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS, NULL},
34616 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
34617 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TextCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34618 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS, NULL},
34619 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS, NULL},
34620 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS, NULL},
34621 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS, NULL},
34622 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS, NULL},
34623 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS, NULL},
34624 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
34625 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
34626 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34627 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL},
34628 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS, NULL},
34629 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
34630 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
34631 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
34632 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL},
34633 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS, NULL},
34634 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrollBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34635 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS, NULL},
34636 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS, NULL},
34637 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS, NULL},
34638 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34639 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34640 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS, NULL},
34641 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS, NULL},
34642 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34643 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS, NULL},
34644 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS, NULL},
34645 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
34646 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
34647 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34648 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS, NULL},
34649 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
34650 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
34651 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34652 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34653 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34654 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS, NULL},
34655 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
34656 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS, NULL},
34657 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS, NULL},
34658 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34659 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34660 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS, NULL},
34661 { (char *)"new_SpinEvent", (PyCFunction) _wrap_new_SpinEvent, METH_VARARGS | METH_KEYWORDS, NULL},
34662 { (char *)"SpinEvent_GetPosition", (PyCFunction) _wrap_SpinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
34663 { (char *)"SpinEvent_SetPosition", (PyCFunction) _wrap_SpinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
34664 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister, METH_VARARGS, NULL},
34665 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS, NULL},
34666 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS, NULL},
34667 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34668 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34669 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34670 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34671 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34672 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS, NULL},
34673 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS, NULL},
34674 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
34675 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
34676 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS, NULL},
34677 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS, NULL},
34678 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL},
34679 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS, NULL},
34680 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
34681 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34682 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS, NULL},
34683 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS, NULL},
34684 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS, NULL},
34685 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34686 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34687 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34688 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34689 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS, NULL},
34690 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS, NULL},
34691 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS, NULL},
34692 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34693 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34694 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34695 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
34696 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS, NULL},
34697 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS, NULL},
34698 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS, NULL},
34699 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS, NULL},
34700 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS, NULL},
34701 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
34702 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS, NULL},
34703 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
34704 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL},
34705 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL},
34706 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL},
34707 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL},
34708 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS, NULL},
34709 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS, NULL},
34710 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS, NULL},
34711 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS, NULL},
34712 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS, NULL},
34713 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34714 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction) _wrap_Slider_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34715 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS, NULL},
34716 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS, NULL},
34717 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS, NULL},
34718 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34719 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34720 { (char *)"ToggleButton_GetValue", (PyCFunction) _wrap_ToggleButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34721 { (char *)"ToggleButton_SetLabel", (PyCFunction) _wrap_ToggleButton_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
34722 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction) _wrap_ToggleButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34723 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS, NULL},
34724 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction) _wrap_BookCtrlBase_GetPageCount, METH_VARARGS | METH_KEYWORDS, NULL},
34725 { (char *)"BookCtrlBase_GetPage", (PyCFunction) _wrap_BookCtrlBase_GetPage, METH_VARARGS | METH_KEYWORDS, NULL},
34726 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction) _wrap_BookCtrlBase_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
34727 { (char *)"BookCtrlBase_GetSelection", (PyCFunction) _wrap_BookCtrlBase_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34728 { (char *)"BookCtrlBase_SetPageText", (PyCFunction) _wrap_BookCtrlBase_SetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
34729 { (char *)"BookCtrlBase_GetPageText", (PyCFunction) _wrap_BookCtrlBase_GetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
34730 { (char *)"BookCtrlBase_SetImageList", (PyCFunction) _wrap_BookCtrlBase_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
34731 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction) _wrap_BookCtrlBase_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
34732 { (char *)"BookCtrlBase_GetImageList", (PyCFunction) _wrap_BookCtrlBase_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
34733 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction) _wrap_BookCtrlBase_GetPageImage, METH_VARARGS | METH_KEYWORDS, NULL},
34734 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction) _wrap_BookCtrlBase_SetPageImage, METH_VARARGS | METH_KEYWORDS, NULL},
34735 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction) _wrap_BookCtrlBase_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
34736 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrlBase_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
34737 { (char *)"BookCtrlBase_DeletePage", (PyCFunction) _wrap_BookCtrlBase_DeletePage, METH_VARARGS | METH_KEYWORDS, NULL},
34738 { (char *)"BookCtrlBase_RemovePage", (PyCFunction) _wrap_BookCtrlBase_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL},
34739 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction) _wrap_BookCtrlBase_DeleteAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
34740 { (char *)"BookCtrlBase_AddPage", (PyCFunction) _wrap_BookCtrlBase_AddPage, METH_VARARGS | METH_KEYWORDS, NULL},
34741 { (char *)"BookCtrlBase_InsertPage", (PyCFunction) _wrap_BookCtrlBase_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL},
34742 { (char *)"BookCtrlBase_SetSelection", (PyCFunction) _wrap_BookCtrlBase_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34743 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction) _wrap_BookCtrlBase_AdvanceSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34744 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction) _wrap_BookCtrlBase_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34745 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister, METH_VARARGS, NULL},
34746 { (char *)"new_BookCtrlBaseEvent", (PyCFunction) _wrap_new_BookCtrlBaseEvent, METH_VARARGS | METH_KEYWORDS, NULL},
34747 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34748 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34749 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34750 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34751 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister, METH_VARARGS, NULL},
34752 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS, NULL},
34753 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS, NULL},
34754 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34755 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS, NULL},
34756 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS, NULL},
34757 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS, NULL},
34758 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
34759 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
34760 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction) _wrap_Notebook_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34761 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS, NULL},
34762 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
34763 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS, NULL},
34764 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS, NULL},
34765 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS, NULL},
34766 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34767 { (char *)"Listbook_IsVertical", (PyCFunction) _wrap_Listbook_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
34768 { (char *)"Listbook_GetListView", (PyCFunction) _wrap_Listbook_GetListView, METH_VARARGS | METH_KEYWORDS, NULL},
34769 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS, NULL},
34770 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
34771 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS, NULL},
34772 { (char *)"new_Choicebook", (PyCFunction) _wrap_new_Choicebook, METH_VARARGS | METH_KEYWORDS, NULL},
34773 { (char *)"new_PreChoicebook", (PyCFunction) _wrap_new_PreChoicebook, METH_VARARGS | METH_KEYWORDS, NULL},
34774 { (char *)"Choicebook_Create", (PyCFunction) _wrap_Choicebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34775 { (char *)"Choicebook_IsVertical", (PyCFunction) _wrap_Choicebook_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
34776 { (char *)"Choicebook_DeleteAllPages", (PyCFunction) _wrap_Choicebook_DeleteAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
34777 { (char *)"Choicebook_swigregister", Choicebook_swigregister, METH_VARARGS, NULL},
34778 { (char *)"new_ChoicebookEvent", (PyCFunction) _wrap_new_ChoicebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
34779 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister, METH_VARARGS, NULL},
34780 { (char *)"new_BookCtrlSizer", (PyCFunction) _wrap_new_BookCtrlSizer, METH_VARARGS | METH_KEYWORDS, NULL},
34781 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction) _wrap_BookCtrlSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS, NULL},
34782 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction) _wrap_BookCtrlSizer_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL},
34783 { (char *)"BookCtrlSizer_GetControl", (PyCFunction) _wrap_BookCtrlSizer_GetControl, METH_VARARGS | METH_KEYWORDS, NULL},
34784 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister, METH_VARARGS, NULL},
34785 { (char *)"new_NotebookSizer", (PyCFunction) _wrap_new_NotebookSizer, METH_VARARGS | METH_KEYWORDS, NULL},
34786 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction) _wrap_NotebookSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS, NULL},
34787 { (char *)"NotebookSizer_CalcMin", (PyCFunction) _wrap_NotebookSizer_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL},
34788 { (char *)"NotebookSizer_GetNotebook", (PyCFunction) _wrap_NotebookSizer_GetNotebook, METH_VARARGS | METH_KEYWORDS, NULL},
34789 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister, METH_VARARGS, NULL},
34790 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
34791 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS, NULL},
34792 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
34793 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS, NULL},
34794 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS, NULL},
34795 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
34796 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
34797 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS, NULL},
34798 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
34799 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS, NULL},
34800 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS, NULL},
34801 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
34802 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
34803 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
34804 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
34805 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
34806 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
34807 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS, NULL},
34808 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
34809 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL},
34810 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
34811 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
34812 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
34813 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
34814 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
34815 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS, NULL},
34816 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS, NULL},
34817 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS, NULL},
34818 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS, NULL},
34819 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS, NULL},
34820 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS, NULL},
34821 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS, NULL},
34822 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS, NULL},
34823 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS, NULL},
34824 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS, NULL},
34825 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS, NULL},
34826 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS, NULL},
34827 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
34828 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
34829 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS, NULL},
34830 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS, NULL},
34831 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS, NULL},
34832 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS, NULL},
34833 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS, NULL},
34834 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS, NULL},
34835 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS, NULL},
34836 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL},
34837 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL},
34838 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL},
34839 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS, NULL},
34840 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS, NULL},
34841 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
34842 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
34843 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
34844 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
34845 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
34846 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
34847 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
34848 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL},
34849 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL},
34850 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS, NULL},
34851 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
34852 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL},
34853 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL},
34854 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS, NULL},
34855 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS, NULL},
34856 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS, NULL},
34857 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS, NULL},
34858 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL},
34859 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL},
34860 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS, NULL},
34861 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL},
34862 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS, NULL},
34863 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
34864 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS, NULL},
34865 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
34866 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
34867 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34868 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL},
34869 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ToolBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34870 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS, NULL},
34871 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS, NULL},
34872 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
34873 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
34874 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
34875 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
34876 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
34877 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS, NULL},
34878 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
34879 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
34880 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
34881 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
34882 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS, NULL},
34883 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS, NULL},
34884 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS, NULL},
34885 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
34886 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34887 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS, NULL},
34888 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
34889 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
34890 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS, NULL},
34891 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS, NULL},
34892 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
34893 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS, NULL},
34894 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
34895 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
34896 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
34897 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
34898 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
34899 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
34900 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS, NULL},
34901 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
34902 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
34903 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS, NULL},
34904 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS, NULL},
34905 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS, NULL},
34906 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
34907 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
34908 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
34909 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34910 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34911 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
34912 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
34913 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
34914 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS, NULL},
34915 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS, NULL},
34916 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS, NULL},
34917 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS, NULL},
34918 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS, NULL},
34919 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS, NULL},
34920 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS, NULL},
34921 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS, NULL},
34922 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS, NULL},
34923 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS, NULL},
34924 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS, NULL},
34925 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS, NULL},
34926 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS, NULL},
34927 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS, NULL},
34928 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS, NULL},
34929 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS, NULL},
34930 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS, NULL},
34931 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS, NULL},
34932 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS, NULL},
34933 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS, NULL},
34934 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS, NULL},
34935 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS, NULL},
34936 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS, NULL},
34937 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS, NULL},
34938 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS, NULL},
34939 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS, NULL},
34940 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS, NULL},
34941 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS, NULL},
34942 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS, NULL},
34943 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS, NULL},
34944 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS, NULL},
34945 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS, NULL},
34946 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS, NULL},
34947 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL},
34948 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS, NULL},
34949 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
34950 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
34951 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
34952 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS, NULL},
34953 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS, NULL},
34954 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
34955 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS, NULL},
34956 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
34957 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS, NULL},
34958 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS, NULL},
34959 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS, NULL},
34960 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
34961 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS, NULL},
34962 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
34963 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
34964 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34965 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
34966 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
34967 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
34968 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
34969 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
34970 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
34971 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
34972 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS, NULL},
34973 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS, NULL},
34974 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
34975 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
34976 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
34977 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS, NULL},
34978 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS, NULL},
34979 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
34980 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
34981 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
34982 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
34983 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
34984 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL},
34985 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS, NULL},
34986 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL},
34987 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
34988 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL},
34989 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
34990 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction) _wrap_ListCtrl_SetItemSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
34991 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
34992 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
34993 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
34994 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS, NULL},
34995 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS, NULL},
34996 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS, NULL},
34997 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
34998 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
34999 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35000 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35001 { (char *)"ListCtrl_InReportView", (PyCFunction) _wrap_ListCtrl_InReportView, METH_VARARGS | METH_KEYWORDS, NULL},
35002 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS, NULL},
35003 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS, NULL},
35004 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS, NULL},
35005 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS, NULL},
35006 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS, NULL},
35007 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS, NULL},
35008 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35009 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS, NULL},
35010 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS, NULL},
35011 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35012 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35013 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS, NULL},
35014 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35015 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS, NULL},
35016 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
35017 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
35018 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
35019 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS, NULL},
35020 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
35021 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction) _wrap_ListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL},
35022 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35023 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
35024 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS, NULL},
35025 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35026 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35027 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35028 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35029 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS, NULL},
35030 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35031 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_ListCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35032 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS, NULL},
35033 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS, NULL},
35034 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS, NULL},
35035 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35036 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS, NULL},
35037 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS, NULL},
35038 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS, NULL},
35039 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35040 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35041 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35042 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
35043 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
35044 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS, NULL},
35045 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS, NULL},
35046 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS, NULL},
35047 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
35048 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
35049 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
35050 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS, NULL},
35051 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS, NULL},
35052 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS, NULL},
35053 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35054 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
35055 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
35056 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
35057 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
35058 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
35059 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS, NULL},
35060 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35061 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35062 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35063 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS, NULL},
35064 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS, NULL},
35065 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35066 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35067 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35068 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL},
35069 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35070 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35071 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35072 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS, NULL},
35073 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
35074 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
35075 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS, NULL},
35076 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35077 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35078 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35079 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
35080 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS, NULL},
35081 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35082 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35083 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
35084 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
35085 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35086 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35087 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35088 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35089 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35090 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35091 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
35092 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
35093 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35094 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
35095 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35096 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35097 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
35098 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
35099 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
35100 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35101 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
35102 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
35103 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS, NULL},
35104 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35105 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35106 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
35107 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35108 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
35109 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
35110 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35111 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS, NULL},
35112 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS, NULL},
35113 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS, NULL},
35114 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35115 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
35116 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS, NULL},
35117 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL},
35118 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS, NULL},
35119 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL},
35120 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS, NULL},
35121 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS, NULL},
35122 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS, NULL},
35123 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35124 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35125 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS, NULL},
35126 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL},
35127 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
35128 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS, NULL},
35129 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL},
35130 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS, NULL},
35131 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS, NULL},
35132 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS, NULL},
35133 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS, NULL},
35134 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS, NULL},
35135 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS, NULL},
35136 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
35137 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS, NULL},
35138 { (char *)"TreeCtrl_UnselectItem", (PyCFunction) _wrap_TreeCtrl_UnselectItem, METH_VARARGS | METH_KEYWORDS, NULL},
35139 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
35140 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS, NULL},
35141 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction) _wrap_TreeCtrl_ToggleItemSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35142 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35143 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS, NULL},
35144 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35145 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS, NULL},
35146 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS, NULL},
35147 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
35148 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
35149 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TreeCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35150 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS, NULL},
35151 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35152 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35153 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35154 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS, NULL},
35155 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL},
35156 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL},
35157 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS, NULL},
35158 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS, NULL},
35159 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
35160 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS, NULL},
35161 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS, NULL},
35162 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS, NULL},
35163 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS, NULL},
35164 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
35165 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
35166 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS, NULL},
35167 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35168 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35169 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS, NULL},
35170 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS, NULL},
35171 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS, NULL},
35172 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS, NULL},
35173 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35174 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35175 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35176 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS, NULL},
35177 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS, NULL},
35178 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS, NULL},
35179 { (char *)"new_PrePyControl", (PyCFunction) _wrap_new_PrePyControl, METH_VARARGS | METH_KEYWORDS, NULL},
35180 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
35181 { (char *)"PyControl_SetBestSize", (PyCFunction) _wrap_PyControl_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
35182 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction) _wrap_PyControl_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35183 { (char *)"PyControl_base_DoSetSize", (PyCFunction) _wrap_PyControl_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
35184 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction) _wrap_PyControl_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
35185 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
35186 { (char *)"PyControl_base_DoGetSize", (PyCFunction) _wrap_PyControl_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
35187 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction) _wrap_PyControl_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
35188 { (char *)"PyControl_base_DoGetPosition", (PyCFunction) _wrap_PyControl_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35189 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
35190 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction) _wrap_PyControl_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
35191 { (char *)"PyControl_base_InitDialog", (PyCFunction) _wrap_PyControl_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
35192 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction) _wrap_PyControl_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35193 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35194 { (char *)"PyControl_base_Validate", (PyCFunction) _wrap_PyControl_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
35195 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction) _wrap_PyControl_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
35196 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
35197 { (char *)"PyControl_base_GetMaxSize", (PyCFunction) _wrap_PyControl_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
35198 { (char *)"PyControl_base_AddChild", (PyCFunction) _wrap_PyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
35199 { (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
35200 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction) _wrap_PyControl_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
35201 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyControl_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL},
35202 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction) _wrap_PyControl_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35203 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS, NULL},
35204 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35205 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35206 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35207 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS, NULL},
35208 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS, NULL},
35209 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS, NULL},
35210 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS, NULL},
35211 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS, NULL},
35212 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35213 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35214 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35215 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35216 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS, NULL},
35217 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS, NULL},
35218 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS, NULL},
35219 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS, NULL},
35220 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS, NULL},
35221 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35222 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35223 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35224 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS, NULL},
35225 { (char *)"HelpProvider_RemoveHelp", (PyCFunction) _wrap_HelpProvider_RemoveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35226 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
35227 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS, NULL},
35228 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS, NULL},
35229 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS, NULL},
35230 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS, NULL},
35231 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS, NULL},
35232 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS, NULL},
35233 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS, NULL},
35234 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS, NULL},
35235 { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS, NULL},
35236 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35237 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS, NULL},
35238 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS, NULL},
35239 { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS, NULL},
35240 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS, NULL},
35241 { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS, NULL},
35242 { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS, NULL},
35243 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS, NULL},
35244 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS, NULL},
35245 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35246 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS, NULL},
35247 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS, NULL},
c370783e 35248 { NULL, NULL, 0, NULL }
d55e5bfc
RD
35249};
35250
35251
35252/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
35253
d55e5bfc
RD
35254static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
35255 return (void *)((wxSizer *) ((wxBoxSizer *) x));
35256}
35257static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
35258 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
35259}
62d32a5f
RD
35260static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x) {
35261 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
35262}
d55e5bfc
RD
35263static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
35264 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
35265}
35266static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
35267 return (void *)((wxSizer *) ((wxGridSizer *) x));
35268}
35269static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
35270 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
35271}
35272static void *_p_wxNotebookSizerTo_p_wxSizer(void *x) {
35273 return (void *)((wxSizer *) ((wxNotebookSizer *) x));
35274}
35275static void *_p_wxPySizerTo_p_wxSizer(void *x) {
35276 return (void *)((wxSizer *) ((wxPySizer *) x));
35277}
35278static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x) {
35279 return (void *)((wxSizer *) ((wxBookCtrlSizer *) x));
35280}
35281static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
35282 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
35283}
35284static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
35285 return (void *)((wxEvent *) ((wxMenuEvent *) x));
35286}
35287static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
35288 return (void *)((wxEvent *) ((wxCloseEvent *) x));
35289}
35290static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
35291 return (void *)((wxEvent *) ((wxMouseEvent *) x));
35292}
35293static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
35294 return (void *)((wxEvent *) ((wxEraseEvent *) x));
35295}
6e0de3df
RD
35296static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x) {
35297 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
35298}
d55e5bfc
RD
35299static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
35300 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
35301}
35302static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
35303 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
35304}
35305static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
35306 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
35307}
35308static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
35309 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
35310}
35311static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
35312 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
35313}
d55e5bfc
RD
35314static void *_p_wxPyEventTo_p_wxEvent(void *x) {
35315 return (void *)((wxEvent *) ((wxPyEvent *) x));
35316}
35317static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
35318 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
35319}
35320static void *_p_wxListEventTo_p_wxEvent(void *x) {
35321 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
35322}
35323static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
6e0de3df 35324 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
d55e5bfc
RD
35325}
35326static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
6e0de3df 35327 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
d55e5bfc 35328}
b411df4a 35329static void *_p_wxChoicebookEventTo_p_wxEvent(void *x) {
6e0de3df 35330 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
b411df4a 35331}
d55e5bfc
RD
35332static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
35333 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
35334}
35335static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
35336 return (void *)((wxEvent *) ((wxIdleEvent *) x));
35337}
35338static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
35339 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
35340}
35341static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
35342 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
35343}
35344static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
35345 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
35346}
35347static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
35348 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
35349}
35350static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
35351 return (void *)((wxEvent *) ((wxActivateEvent *) x));
35352}
35353static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
35354 return (void *)((wxEvent *) ((wxSizeEvent *) x));
35355}
35356static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
35357 return (void *)((wxEvent *) ((wxMoveEvent *) x));
35358}
35359static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
35360 return (void *)((wxEvent *) ((wxPaintEvent *) x));
35361}
35362static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
35363 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
35364}
35365static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
35366 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
35367}
35368static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
35369 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
35370}
35371static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
35372 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
35373}
35374static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
35375 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
35376}
35377static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
35378 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
35379}
35380static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
35381 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
35382}
35383static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
35384 return (void *)((wxEvent *) ((wxFocusEvent *) x));
35385}
35386static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
35387 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
35388}
35389static void *_p_wxShowEventTo_p_wxEvent(void *x) {
35390 return (void *)((wxEvent *) ((wxShowEvent *) x));
35391}
35392static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
35393 return (void *)((wxEvent *) ((wxCommandEvent *) x));
35394}
35395static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
35396 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
35397}
35398static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
35399 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
35400}
35401static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
35402 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
35403}
35404static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
35405 return (void *)((wxEvent *) ((wxKeyEvent *) x));
35406}
35407static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
35408 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
35409}
35410static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
35411 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
35412}
35413static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
35414 return (void *)((wxItemContainer *) ((wxComboBox *) x));
35415}
35416static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
35417 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
35418}
35419static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
35420 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
35421}
35422static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
35423 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
35424}
35425static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
35426 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
35427}
35428static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
35429 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
35430}
35431static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
35432 return (void *)((wxPyListCtrl *) ((wxListView *) x));
35433}
6e0de3df
RD
35434static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x) {
35435 return (void *)((wxControl *) ((wxBookCtrlBase *) x));
d55e5bfc
RD
35436}
35437static void *_p_wxToolBarTo_p_wxControl(void *x) {
35438 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
35439}
b411df4a
RD
35440static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
35441 return (void *)((wxControl *) ((wxToggleButton *) x));
d55e5bfc 35442}
b411df4a
RD
35443static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
35444 return (void *)((wxControl *) ((wxRadioButton *) x));
d55e5bfc 35445}
b411df4a
RD
35446static void *_p_wxPyControlTo_p_wxControl(void *x) {
35447 return (void *)((wxControl *) ((wxPyControl *) x));
d55e5bfc 35448}
b411df4a
RD
35449static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
35450 return (void *)((wxControl *) ((wxToolBarBase *) x));
35451}
35452static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
35453 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
d55e5bfc
RD
35454}
35455static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
35456 return (void *)((wxControl *) ((wxPyListCtrl *) x));
35457}
b411df4a
RD
35458static void *_p_wxComboBoxTo_p_wxControl(void *x) {
35459 return (void *)((wxControl *) ((wxComboBox *) x));
d55e5bfc 35460}
b411df4a
RD
35461static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
35462 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
d55e5bfc
RD
35463}
35464static void *_p_wxScrollBarTo_p_wxControl(void *x) {
35465 return (void *)((wxControl *) ((wxScrollBar *) x));
35466}
b411df4a
RD
35467static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
35468 return (void *)((wxControl *) ((wxControlWithItems *) x));
d55e5bfc
RD
35469}
35470static void *_p_wxGaugeTo_p_wxControl(void *x) {
35471 return (void *)((wxControl *) ((wxGauge *) x));
35472}
b411df4a
RD
35473static void *_p_wxStaticLineTo_p_wxControl(void *x) {
35474 return (void *)((wxControl *) ((wxStaticLine *) x));
d55e5bfc 35475}
b411df4a 35476static void *_p_wxChoicebookTo_p_wxControl(void *x) {
6e0de3df 35477 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxChoicebook *) x));
d55e5bfc 35478}
b411df4a 35479static void *_p_wxListbookTo_p_wxControl(void *x) {
6e0de3df 35480 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxListbook *) x));
d55e5bfc 35481}
b411df4a
RD
35482static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
35483 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
d55e5bfc 35484}
b411df4a
RD
35485static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
35486 return (void *)((wxControl *) ((wxCheckBox *) x));
d55e5bfc
RD
35487}
35488static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
35489 return (void *)((wxControl *) ((wxRadioBox *) x));
35490}
b411df4a
RD
35491static void *_p_wxChoiceTo_p_wxControl(void *x) {
35492 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
35493}
35494static void *_p_wxListBoxTo_p_wxControl(void *x) {
35495 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
35496}
35497static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
35498 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
35499}
35500static void *_p_wxListViewTo_p_wxControl(void *x) {
35501 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
35502}
d55e5bfc 35503static void *_p_wxNotebookTo_p_wxControl(void *x) {
6e0de3df 35504 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxNotebook *) x));
d55e5bfc 35505}
b411df4a
RD
35506static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
35507 return (void *)((wxControl *) ((wxStaticBitmap *) x));
d55e5bfc 35508}
b411df4a
RD
35509static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
35510 return (void *)((wxControl *) ((wxSpinCtrl *) x));
d55e5bfc 35511}
b411df4a
RD
35512static void *_p_wxStaticTextTo_p_wxControl(void *x) {
35513 return (void *)((wxControl *) ((wxStaticText *) x));
d55e5bfc 35514}
b411df4a
RD
35515static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
35516 return (void *)((wxControl *) ((wxStaticBox *) x));
d55e5bfc
RD
35517}
35518static void *_p_wxSliderTo_p_wxControl(void *x) {
35519 return (void *)((wxControl *) ((wxSlider *) x));
35520}
b411df4a
RD
35521static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
35522 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
d55e5bfc 35523}
b411df4a
RD
35524static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
35525 return (void *)((wxControl *) ((wxSpinButton *) x));
d55e5bfc 35526}
b411df4a
RD
35527static void *_p_wxButtonTo_p_wxControl(void *x) {
35528 return (void *)((wxControl *) ((wxButton *) x));
d55e5bfc 35529}
b411df4a
RD
35530static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
35531 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
35532}
35533static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
35534 return (void *)((wxControl *) ((wxTextCtrl *) x));
d55e5bfc
RD
35535}
35536static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
35537 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
35538}
35539static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
35540 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
35541}
6e0de3df
RD
35542static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x) {
35543 return (void *)((wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
35544}
d55e5bfc
RD
35545static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
35546 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
35547}
d55e5bfc
RD
35548static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
35549 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
35550}
35551static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x) {
35552 return (void *)((wxNotifyEvent *) ((wxSpinEvent *) x));
35553}
35554static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
6e0de3df 35555 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
d55e5bfc
RD
35556}
35557static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
6e0de3df 35558 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
d55e5bfc 35559}
b411df4a 35560static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x) {
6e0de3df
RD
35561 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
35562}
35563static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x) {
35564 return (void *)((wxBookCtrlBase *) ((wxChoicebook *) x));
35565}
35566static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x) {
35567 return (void *)((wxBookCtrlBase *) ((wxListbook *) x));
b411df4a 35568}
6e0de3df
RD
35569static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x) {
35570 return (void *)((wxBookCtrlBase *) ((wxNotebook *) x));
d55e5bfc
RD
35571}
35572static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
35573 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
35574}
6e0de3df
RD
35575static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x) {
35576 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
35577}
d55e5bfc
RD
35578static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
35579 return (void *)((wxEvtHandler *) ((wxValidator *) x));
35580}
35581static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
35582 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
35583}
35584static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
35585 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
35586}
35587static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
35588 return (void *)((wxEvtHandler *) ((wxMenu *) x));
35589}
35590static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
35591 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
35592}
35593static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
35594 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
35595}
35596static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
35597 return (void *)((wxEvtHandler *) ((wxWindow *) x));
35598}
35599static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
35600 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
35601}
35602static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
35603 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
35604}
d55e5bfc
RD
35605static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
35606 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxComboBox *) x));
35607}
b411df4a
RD
35608static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
35609 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
35610}
d55e5bfc
RD
35611static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
35612 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
35613}
35614static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
35615 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
35616}
35617static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
35618 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
35619}
35620static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
35621 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
35622}
35623static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
35624 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
35625}
35626static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
35627 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
35628}
35629static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
35630 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
35631}
35632static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
35633 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
35634}
b411df4a 35635static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x) {
6e0de3df 35636 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
b411df4a 35637}
d55e5bfc 35638static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
6e0de3df 35639 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
d55e5bfc
RD
35640}
35641static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
35642 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
35643}
35644static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
35645 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
35646}
35647static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
35648 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
35649}
35650static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
35651 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
35652}
35653static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
35654 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
35655}
35656static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
35657 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
35658}
35659static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
6e0de3df 35660 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
d55e5bfc
RD
35661}
35662static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
35663 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
35664}
35665static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
35666 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
35667}
35668static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
35669 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
35670}
35671static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
35672 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
35673}
35674static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
35675 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
35676}
35677static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
35678 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
35679}
35680static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
35681 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
35682}
35683static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
35684 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
35685}
35686static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
35687 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
35688}
35689static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
35690 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
35691}
35692static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
35693 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
35694}
35695static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
35696 return (void *)((wxListBox *) ((wxCheckListBox *) x));
35697}
d55e5bfc
RD
35698static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
35699 return (void *)((wxButton *) ((wxBitmapButton *) x));
35700}
35701static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
35702 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
35703}
35704static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
35705 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
35706}
35707static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
35708 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
35709}
35710static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
35711 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
35712}
35713static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
35714 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
35715}
35716static void *_p_wxSizerItemTo_p_wxObject(void *x) {
35717 return (void *)((wxObject *) ((wxSizerItem *) x));
35718}
35719static void *_p_wxScrollEventTo_p_wxObject(void *x) {
35720 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
35721}
35722static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
35723 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
35724}
35725static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
35726 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
35727}
d55e5bfc
RD
35728static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
35729 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
35730}
35731static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
35732 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
35733}
35734static void *_p_wxSizerTo_p_wxObject(void *x) {
35735 return (void *)((wxObject *) ((wxSizer *) x));
35736}
35737static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
35738 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
35739}
35740static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
35741 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
35742}
35743static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
35744 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
35745}
35746static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
35747 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
35748}
35749static void *_p_wxEventTo_p_wxObject(void *x) {
35750 return (void *)((wxObject *) ((wxEvent *) x));
35751}
35752static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
35753 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
35754}
35755static void *_p_wxGridSizerTo_p_wxObject(void *x) {
35756 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
35757}
35758static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
35759 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
35760}
35761static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
35762 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
35763}
35764static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
35765 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
35766}
35767static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
35768 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
35769}
35770static void *_p_wxPaintEventTo_p_wxObject(void *x) {
35771 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
35772}
35773static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
35774 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
35775}
35776static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
35777 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
35778}
35779static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
35780 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
35781}
35782static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
35783 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
35784}
35785static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
35786 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
35787}
35788static void *_p_wxStaticLineTo_p_wxObject(void *x) {
35789 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
35790}
35791static void *_p_wxControlTo_p_wxObject(void *x) {
35792 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
35793}
35794static void *_p_wxPyControlTo_p_wxObject(void *x) {
35795 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
35796}
35797static void *_p_wxGaugeTo_p_wxObject(void *x) {
35798 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
35799}
35800static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
35801 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
35802}
35803static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
35804 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
35805}
35806static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
35807 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
35808}
35809static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
35810 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
35811}
35812static void *_p_wxChoiceTo_p_wxObject(void *x) {
35813 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
35814}
35815static void *_p_wxFSFileTo_p_wxObject(void *x) {
35816 return (void *)((wxObject *) ((wxFSFile *) x));
35817}
35818static void *_p_wxPySizerTo_p_wxObject(void *x) {
35819 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
35820}
35821static void *_p_wxListViewTo_p_wxObject(void *x) {
35822 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
35823}
35824static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
35825 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
35826}
35827static void *_p_wxNotebookTo_p_wxObject(void *x) {
6e0de3df 35828 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
d55e5bfc
RD
35829}
35830static void *_p_wxPyEventTo_p_wxObject(void *x) {
35831 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
35832}
35833static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
35834 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
35835}
b411df4a 35836static void *_p_wxChoicebookTo_p_wxObject(void *x) {
6e0de3df 35837 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
b411df4a 35838}
d55e5bfc 35839static void *_p_wxListbookTo_p_wxObject(void *x) {
6e0de3df 35840 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
d55e5bfc
RD
35841}
35842static void *_p_wxShowEventTo_p_wxObject(void *x) {
35843 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
35844}
35845static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
35846 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
35847}
35848static void *_p_wxSliderTo_p_wxObject(void *x) {
35849 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
35850}
35851static void *_p_wxMenuItemTo_p_wxObject(void *x) {
35852 return (void *)((wxObject *) ((wxMenuItem *) x));
35853}
35854static void *_p_wxIdleEventTo_p_wxObject(void *x) {
35855 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
35856}
35857static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
35858 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
35859}
35860static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
35861 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
35862}
35863static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
35864 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
35865}
35866static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
35867 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
35868}
35869static void *_p_wxSizeEventTo_p_wxObject(void *x) {
35870 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
35871}
35872static void *_p_wxMoveEventTo_p_wxObject(void *x) {
35873 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
35874}
35875static void *_p_wxActivateEventTo_p_wxObject(void *x) {
35876 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
35877}
35878static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
35879 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
35880}
35881static void *_p_wxContextHelpTo_p_wxObject(void *x) {
35882 return (void *)((wxObject *) ((wxContextHelp *) x));
35883}
6e0de3df
RD
35884static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x) {
35885 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
35886}
d55e5bfc
RD
35887static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
35888 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
35889}
35890static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
35891 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
35892}
35893static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
35894 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
35895}
35896static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
35897 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
35898}
35899static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
35900 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
35901}
35902static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
35903 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
35904}
35905static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
35906 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
35907}
35908static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
35909 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
35910}
35911static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
35912 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
35913}
35914static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
35915 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
35916}
35917static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
35918 return (void *)((wxObject *) ((wxImageHandler *) x));
35919}
35920static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
35921 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
35922}
35923static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
35924 return (void *)((wxObject *) ((wxEvtHandler *) x));
35925}
35926static void *_p_wxListEventTo_p_wxObject(void *x) {
35927 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
35928}
35929static void *_p_wxListBoxTo_p_wxObject(void *x) {
35930 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
35931}
35932static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
35933 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
35934}
d55e5bfc
RD
35935static void *_p_wxButtonTo_p_wxObject(void *x) {
35936 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
35937}
35938static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
35939 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
35940}
35941static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
35942 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
35943}
35944static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
35945 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
35946}
62d32a5f
RD
35947static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
35948 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
35949}
d55e5bfc
RD
35950static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
35951 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
35952}
35953static void *_p_wxScrollBarTo_p_wxObject(void *x) {
35954 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
35955}
35956static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
35957 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
35958}
35959static void *_p_wxComboBoxTo_p_wxObject(void *x) {
35960 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxComboBox *) x));
35961}
35962static void *_p_wxHelpEventTo_p_wxObject(void *x) {
35963 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
35964}
35965static void *_p_wxListItemTo_p_wxObject(void *x) {
35966 return (void *)((wxObject *) ((wxListItem *) x));
35967}
35968static void *_p_wxImageTo_p_wxObject(void *x) {
35969 return (void *)((wxObject *) ((wxImage *) x));
35970}
35971static void *_p_wxNotebookSizerTo_p_wxObject(void *x) {
35972 return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x));
35973}
35974static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
35975 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
35976}
35977static void *_p_wxSpinEventTo_p_wxObject(void *x) {
35978 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
35979}
35980static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
35981 return (void *)((wxObject *) ((wxGenericDragImage *) x));
35982}
35983static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
35984 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
35985}
35986static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
6e0de3df 35987 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
d55e5bfc
RD
35988}
35989static void *_p_wxListbookEventTo_p_wxObject(void *x) {
6e0de3df 35990 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
d55e5bfc 35991}
b411df4a 35992static void *_p_wxChoicebookEventTo_p_wxObject(void *x) {
6e0de3df 35993 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
b411df4a 35994}
d55e5bfc
RD
35995static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
35996 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
35997}
35998static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
35999 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
36000}
36001static void *_p_wxKeyEventTo_p_wxObject(void *x) {
36002 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
36003}
36004static void *_p_wxWindowTo_p_wxObject(void *x) {
36005 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
36006}
36007static void *_p_wxMenuTo_p_wxObject(void *x) {
36008 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
36009}
36010static void *_p_wxMenuBarTo_p_wxObject(void *x) {
36011 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
36012}
36013static void *_p_wxFileSystemTo_p_wxObject(void *x) {
36014 return (void *)((wxObject *) ((wxFileSystem *) x));
36015}
36016static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
36017 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
36018}
36019static void *_p_wxMenuEventTo_p_wxObject(void *x) {
36020 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
36021}
36022static void *_p_wxPyAppTo_p_wxObject(void *x) {
36023 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
36024}
36025static void *_p_wxCloseEventTo_p_wxObject(void *x) {
36026 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
36027}
36028static void *_p_wxMouseEventTo_p_wxObject(void *x) {
36029 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
36030}
36031static void *_p_wxEraseEventTo_p_wxObject(void *x) {
36032 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
36033}
6e0de3df
RD
36034static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x) {
36035 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
36036}
d55e5bfc
RD
36037static void *_p_wxTreeEventTo_p_wxObject(void *x) {
36038 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
36039}
36040static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
36041 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
36042}
36043static void *_p_wxCommandEventTo_p_wxObject(void *x) {
36044 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
36045}
36046static void *_p_wxStaticTextTo_p_wxObject(void *x) {
36047 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
36048}
36049static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
36050 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
36051}
36052static void *_p_wxFocusEventTo_p_wxObject(void *x) {
36053 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
36054}
36055static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
36056 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
36057}
36058static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
36059 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
36060}
36061static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
36062 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
36063}
36064static void *_p_wxToolBarTo_p_wxObject(void *x) {
36065 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
36066}
36067static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
36068 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
36069}
36070static void *_p_wxValidatorTo_p_wxObject(void *x) {
36071 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
36072}
36073static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) {
36074 return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x));
36075}
d55e5bfc
RD
36076static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
36077 return (void *)((wxWindow *) ((wxMenuBar *) x));
36078}
6e0de3df
RD
36079static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x) {
36080 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrlBase *) x));
36081}
d55e5bfc
RD
36082static void *_p_wxToolBarTo_p_wxWindow(void *x) {
36083 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
36084}
36085static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
36086 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
36087}
36088static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
36089 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
36090}
d55e5bfc
RD
36091static void *_p_wxControlTo_p_wxWindow(void *x) {
36092 return (void *)((wxWindow *) ((wxControl *) x));
36093}
36094static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
36095 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
36096}
36097static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
36098 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
36099}
36100static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
36101 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
36102}
36103static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
36104 return (void *)((wxWindow *) (wxControl *) ((wxComboBox *) x));
36105}
b411df4a
RD
36106static void *_p_wxPyControlTo_p_wxWindow(void *x) {
36107 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
36108}
d55e5bfc
RD
36109static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
36110 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
36111}
36112static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
36113 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
36114}
36115static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
36116 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
36117}
36118static void *_p_wxGaugeTo_p_wxWindow(void *x) {
36119 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
36120}
36121static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
36122 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
36123}
b411df4a 36124static void *_p_wxChoicebookTo_p_wxWindow(void *x) {
6e0de3df 36125 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
b411df4a 36126}
d55e5bfc 36127static void *_p_wxListbookTo_p_wxWindow(void *x) {
6e0de3df 36128 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
d55e5bfc
RD
36129}
36130static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
36131 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
36132}
36133static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
36134 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
36135}
36136static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
36137 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
36138}
36139static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
36140 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
36141}
36142static void *_p_wxChoiceTo_p_wxWindow(void *x) {
36143 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
36144}
36145static void *_p_wxListBoxTo_p_wxWindow(void *x) {
36146 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
36147}
36148static void *_p_wxListViewTo_p_wxWindow(void *x) {
36149 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
36150}
36151static void *_p_wxNotebookTo_p_wxWindow(void *x) {
6e0de3df 36152 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
d55e5bfc
RD
36153}
36154static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
36155 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
36156}
36157static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
36158 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
36159}
36160static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
36161 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
36162}
36163static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
36164 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
36165}
36166static void *_p_wxSliderTo_p_wxWindow(void *x) {
36167 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
36168}
36169static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
36170 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
36171}
36172static void *_p_wxButtonTo_p_wxWindow(void *x) {
36173 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
36174}
36175static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
36176 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
36177}
36178static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
36179 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
36180}
36181static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
36182 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
36183}
6e0de3df
RD
36184static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
36185 return (void *)((wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
36186}
36187static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x) {
36188 return (void *)((wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
36189}
36190static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
36191 return (void *)((wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
36192}
d55e5bfc
RD
36193static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
36194 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
36195}
d55e5bfc
RD
36196static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
36197 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
36198}
36199static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
36200 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
36201}
36202static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
36203 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
36204}
36205static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
36206 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
36207}
36208static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
36209 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
36210}
b411df4a 36211static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x) {
6e0de3df 36212 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
b411df4a 36213}
d55e5bfc 36214static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
6e0de3df 36215 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
d55e5bfc
RD
36216}
36217static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
6e0de3df 36218 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
d55e5bfc 36219}
d55e5bfc
RD
36220static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
36221 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
36222}
b411df4a
RD
36223static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
36224 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
36225}
6e0de3df
RD
36226static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x) {
36227 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
36228}
d55e5bfc
RD
36229static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
36230 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
36231}
36232static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
36233 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
36234}
36235static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
36236 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
36237}
36238static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
36239 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
36240}
36241static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
36242 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
36243}
36244static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
36245 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
36246}
36247static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
36248 return (void *)((wxControlWithItems *) ((wxChoice *) x));
36249}
36250static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
36251 return (void *)((wxControlWithItems *) ((wxListBox *) x));
36252}
36253static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
36254 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
36255}
36256static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
36257 return (void *)((wxValidator *) ((wxPyValidator *) x));
36258}
36259static swig_type_info _swigt__p_wxTextUrlEvent[] = {{"_p_wxTextUrlEvent", 0, "wxTextUrlEvent *", 0, 0, 0, 0},{"_p_wxTextUrlEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
62d32a5f 36260static swig_type_info _swigt__p_wxSizer[] = {{"_p_wxSizer", 0, "wxSizer *", 0, 0, 0, 0},{"_p_wxSizer", 0, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxNotebookSizer", _p_wxNotebookSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxBookCtrlSizer", _p_wxBookCtrlSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
36261static swig_type_info _swigt__p_wxCheckBox[] = {{"_p_wxCheckBox", 0, "wxCheckBox *", 0, 0, 0, 0},{"_p_wxCheckBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36262static swig_type_info _swigt__p_wxPyTreeCtrl[] = {{"_p_wxPyTreeCtrl", 0, "wxPyTreeCtrl *", 0, 0, 0, 0},{"_p_wxPyTreeCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
6e0de3df 36263static swig_type_info _swigt__p_wxEvent[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBaseEvent", _p_wxBookCtrlBaseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
36264static swig_type_info _swigt__p_wxGenericDirCtrl[] = {{"_p_wxGenericDirCtrl", 0, "wxGenericDirCtrl *", 0, 0, 0, 0},{"_p_wxGenericDirCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36265static swig_type_info _swigt__p_bool[] = {{"_p_bool", 0, "bool *", 0, 0, 0, 0},{"_p_bool", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
36266static swig_type_info _swigt__p_wxItemContainer[] = {{"_p_wxItemContainer", 0, "wxItemContainer *", 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxItemContainer, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxItemContainer, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxItemContainer, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxItemContainer, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxItemContainer, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxItemContainer, 0, 0, 0, 0, 0},{"_p_wxItemContainer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36267static swig_type_info _swigt__p_wxPyListCtrl[] = {{"_p_wxPyListCtrl", 0, "wxPyListCtrl *", 0, 0, 0, 0},{"_p_wxPyListCtrl", 0, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxPyListCtrl, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36ed4f51 36268static swig_type_info _swigt__p_wxPyTreeItemData[] = {{"_p_wxPyTreeItemData", 0, "wxPyTreeItemData *", 0, 0, 0, 0},{"_p_wxPyTreeItemData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
36269static swig_type_info _swigt__p_wxDirFilterListCtrl[] = {{"_p_wxDirFilterListCtrl", 0, "wxDirFilterListCtrl *", 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36270static swig_type_info _swigt__p_wxStaticLine[] = {{"_p_wxStaticLine", 0, "wxStaticLine *", 0, 0, 0, 0},{"_p_wxStaticLine", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
6e0de3df 36271static swig_type_info _swigt__p_wxControl[] = {{"_p_wxControl", 0, "wxControl *", 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxControl", 0, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
36272static swig_type_info _swigt__p_wxPyControl[] = {{"_p_wxPyControl", 0, "wxPyControl *", 0, 0, 0, 0},{"_p_wxPyControl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36273static swig_type_info _swigt__p_wxGauge[] = {{"_p_wxGauge", 0, "wxGauge *", 0, 0, 0, 0},{"_p_wxGauge", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36274static swig_type_info _swigt__p_wxToolBarBase[] = {{"_p_wxToolBarBase", 0, "wxToolBarBase *", 0, 0, 0, 0},{"_p_wxToolBarBase", 0, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxToolBarBase, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36275static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0, 0, 0, 0},{"_p_wxFont", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36276static swig_type_info _swigt__p_wxToggleButton[] = {{"_p_wxToggleButton", 0, "wxToggleButton *", 0, 0, 0, 0},{"_p_wxToggleButton", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36277static swig_type_info _swigt__p_wxRadioButton[] = {{"_p_wxRadioButton", 0, "wxRadioButton *", 0, 0, 0, 0},{"_p_wxRadioButton", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36278static swig_type_info _swigt__p_wxChoice[] = {{"_p_wxChoice", 0, "wxChoice *", 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice, 0, 0, 0, 0, 0},{"_p_wxChoice", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36279static swig_type_info _swigt__p_wxMemoryDC[] = {{"_p_wxMemoryDC", 0, "wxMemoryDC *", 0, 0, 0, 0},{"_p_wxMemoryDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36ed4f51
RD
36280static swig_type_info _swigt__ptrdiff_t[] = {{"_ptrdiff_t", 0, "ptrdiff_t", 0, 0, 0, 0},{"_ptrdiff_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36281static swig_type_info _swigt__std__ptrdiff_t[] = {{"_std__ptrdiff_t", 0, "std::ptrdiff_t", 0, 0, 0, 0},{"_std__ptrdiff_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
36282static swig_type_info _swigt__p_wxListItemAttr[] = {{"_p_wxListItemAttr", 0, "wxListItemAttr *", 0, 0, 0, 0},{"_p_wxListItemAttr", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36283static swig_type_info _swigt__p_void[] = {{"_p_void", 0, "void *", 0, 0, 0, 0},{"_p_void", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36284static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0, 0, 0, 0},{"_p_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36285static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0, 0, 0, 0},{"_p_wxSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36286static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0, 0, 0, 0},{"_p_wxDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36287static swig_type_info _swigt__p_wxListView[] = {{"_p_wxListView", 0, "wxListView *", 0, 0, 0, 0},{"_p_wxListView", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36288static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0, 0, 0, 0},{"_p_wxIcon", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36289static swig_type_info _swigt__p_wxVisualAttributes[] = {{"_p_wxVisualAttributes", 0, "wxVisualAttributes *", 0, 0, 0, 0},{"_p_wxVisualAttributes", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36290static swig_type_info _swigt__p_wxTextCtrl[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0, 0, 0, 0},{"_p_wxTextCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36291static swig_type_info _swigt__p_wxNotebook[] = {{"_p_wxNotebook", 0, "wxNotebook *", 0, 0, 0, 0},{"_p_wxNotebook", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
b411df4a 36292static swig_type_info _swigt__p_wxChoicebook[] = {{"_p_wxChoicebook", 0, "wxChoicebook *", 0, 0, 0, 0},{"_p_wxChoicebook", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
6e0de3df 36293static swig_type_info _swigt__p_wxNotifyEvent[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0, 0, 0, 0},{"_p_wxBookCtrlBaseEvent", _p_wxBookCtrlBaseEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc 36294static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0, 0, 0, 0},{"_p_wxArrayString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36ed4f51 36295static swig_type_info _swigt__p_form_ops_t[] = {{"_p_form_ops_t", 0, "enum form_ops_t *|form_ops_t *", 0, 0, 0, 0},{"_p_form_ops_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
36296static swig_type_info _swigt__p_wxListbook[] = {{"_p_wxListbook", 0, "wxListbook *", 0, 0, 0, 0},{"_p_wxListbook", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36297static swig_type_info _swigt__p_wxStaticBitmap[] = {{"_p_wxStaticBitmap", 0, "wxStaticBitmap *", 0, 0, 0, 0},{"_p_wxStaticBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36298static swig_type_info _swigt__p_wxSlider[] = {{"_p_wxSlider", 0, "wxSlider *", 0, 0, 0, 0},{"_p_wxSlider", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36299static swig_type_info _swigt__p_wxStaticBox[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0, 0, 0, 0},{"_p_wxStaticBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36300static swig_type_info _swigt__p_wxArrayInt[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0, 0, 0, 0},{"_p_wxArrayInt", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36301static swig_type_info _swigt__p_wxContextHelp[] = {{"_p_wxContextHelp", 0, "wxContextHelp *", 0, 0, 0, 0},{"_p_wxContextHelp", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36302static swig_type_info _swigt__p_long[] = {{"_p_long", 0, "long *", 0, 0, 0, 0},{"_p_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36ed4f51 36303static swig_type_info _swigt__p_wxDuplexMode[] = {{"_p_wxDuplexMode", 0, "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0, 0},{"_p_wxDuplexMode", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
6e0de3df
RD
36304static swig_type_info _swigt__p_wxBookCtrlBase[] = {{"_p_wxBookCtrlBase", 0, "wxBookCtrlBase *", 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxBookCtrlBase, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxBookCtrlBase, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBase", 0, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxBookCtrlBase, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36305static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
36306static swig_type_info _swigt__p_wxListEvent[] = {{"_p_wxListEvent", 0, "wxListEvent *", 0, 0, 0, 0},{"_p_wxListEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36307static swig_type_info _swigt__p_wxCheckListBox[] = {{"_p_wxCheckListBox", 0, "wxCheckListBox *", 0, 0, 0, 0},{"_p_wxCheckListBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36308static swig_type_info _swigt__p_wxListBox[] = {{"_p_wxListBox", 0, "wxListBox *", 0, 0, 0, 0},{"_p_wxListBox", 0, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxListBox, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
36309static swig_type_info _swigt__p_wxSpinButton[] = {{"_p_wxSpinButton", 0, "wxSpinButton *", 0, 0, 0, 0},{"_p_wxSpinButton", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36310static swig_type_info _swigt__p_wxButton[] = {{"_p_wxButton", 0, "wxButton *", 0, 0, 0, 0},{"_p_wxButton", 0, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxButton, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxButton, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36311static swig_type_info _swigt__p_wxBitmapButton[] = {{"_p_wxBitmapButton", 0, "wxBitmapButton *", 0, 0, 0, 0},{"_p_wxBitmapButton", 0, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxBitmapButton, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36312static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0, 0, 0, 0},{"_p_wxRect", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36313static swig_type_info _swigt__p_wxContextHelpButton[] = {{"_p_wxContextHelpButton", 0, "wxContextHelpButton *", 0, 0, 0, 0},{"_p_wxContextHelpButton", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36314static swig_type_info _swigt__p_wxRadioBox[] = {{"_p_wxRadioBox", 0, "wxRadioBox *", 0, 0, 0, 0},{"_p_wxRadioBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36315static swig_type_info _swigt__p_wxScrollBar[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0, 0, 0, 0},{"_p_wxScrollBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36316static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc 36317static swig_type_info _swigt__p_wxComboBox[] = {{"_p_wxComboBox", 0, "wxComboBox *", 0, 0, 0, 0},{"_p_wxComboBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36ed4f51 36318static swig_type_info _swigt__p_wxTreeItemId[] = {{"_p_wxTreeItemId", 0, "wxTreeItemId *", 0, 0, 0, 0},{"_p_wxTreeItemId", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
36319static swig_type_info _swigt__p_wxHelpEvent[] = {{"_p_wxHelpEvent", 0, "wxHelpEvent *", 0, 0, 0, 0},{"_p_wxHelpEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36320static swig_type_info _swigt__p_wxListItem[] = {{"_p_wxListItem", 0, "wxListItem *", 0, 0, 0, 0},{"_p_wxListItem", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36321static swig_type_info _swigt__p_wxNotebookSizer[] = {{"_p_wxNotebookSizer", 0, "wxNotebookSizer *", 0, 0, 0, 0},{"_p_wxNotebookSizer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36322static swig_type_info _swigt__p_wxSpinEvent[] = {{"_p_wxSpinEvent", 0, "wxSpinEvent *", 0, 0, 0, 0},{"_p_wxSpinEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36323static swig_type_info _swigt__p_wxGenericDragImage[] = {{"_p_wxGenericDragImage", 0, "wxGenericDragImage *", 0, 0, 0, 0},{"_p_wxGenericDragImage", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36324static swig_type_info _swigt__p_wxSpinCtrl[] = {{"_p_wxSpinCtrl", 0, "wxSpinCtrl *", 0, 0, 0, 0},{"_p_wxSpinCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36ed4f51 36325static swig_type_info _swigt__p_wxPaperSize[] = {{"_p_wxPaperSize", 0, "enum wxPaperSize *|wxPaperSize *", 0, 0, 0, 0},{"_p_wxPaperSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
36326static swig_type_info _swigt__p_wxImageList[] = {{"_p_wxImageList", 0, "wxImageList *", 0, 0, 0, 0},{"_p_wxImageList", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36327static swig_type_info _swigt__p_wxHelpProvider[] = {{"_p_wxHelpProvider", 0, "wxHelpProvider *", 0, 0, 0, 0},{"_p_wxHelpProvider", 0, 0, 0, 0, 0, 0},{"_p_wxSimpleHelpProvider", _p_wxSimpleHelpProviderTo_p_wxHelpProvider, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36328static swig_type_info _swigt__p_wxTextAttr[] = {{"_p_wxTextAttr", 0, "wxTextAttr *", 0, 0, 0, 0},{"_p_wxTextAttr", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36329static swig_type_info _swigt__p_wxSimpleHelpProvider[] = {{"_p_wxSimpleHelpProvider", 0, "wxSimpleHelpProvider *", 0, 0, 0, 0},{"_p_wxSimpleHelpProvider", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
b411df4a 36330static swig_type_info _swigt__p_wxChoicebookEvent[] = {{"_p_wxChoicebookEvent", 0, "wxChoicebookEvent *", 0, 0, 0, 0},{"_p_wxChoicebookEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
36331static swig_type_info _swigt__p_wxListbookEvent[] = {{"_p_wxListbookEvent", 0, "wxListbookEvent *", 0, 0, 0, 0},{"_p_wxListbookEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36332static swig_type_info _swigt__p_wxNotebookEvent[] = {{"_p_wxNotebookEvent", 0, "wxNotebookEvent *", 0, 0, 0, 0},{"_p_wxNotebookEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36ed4f51 36333static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0, 0, 0, 0},{"_p_wxPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
62d32a5f 36334static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextHelp", _p_wxContextHelpTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListItem", _p_wxListItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotebookSizer", _p_wxNotebookSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGenericDragImage", _p_wxGenericDragImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBaseEvent", _p_wxBookCtrlBaseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToolBarToolBase", _p_wxToolBarToolBaseTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBookCtrlSizer", _p_wxBookCtrlSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
36335static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0, 0, 0, 0},{"_p_wxCursor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36336static swig_type_info _swigt__p_wxKeyEvent[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0, 0, 0, 0},{"_p_wxKeyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36ed4f51 36337static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *|wxUIntPtr *", 0, 0, 0, 0},{"_p_unsigned_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
6e0de3df 36338static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
36339static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0, 0, 0, 0},{"_p_wxString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36340static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0, 0, 0, 0},{"_p_wxBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36ed4f51
RD
36341static swig_type_info _swigt__unsigned_int[] = {{"_unsigned_int", 0, "unsigned int|std::size_t", 0, 0, 0, 0},{"_unsigned_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36342static swig_type_info _swigt__p_unsigned_int[] = {{"_p_unsigned_int", 0, "unsigned int *|time_t *", 0, 0, 0, 0},{"_p_unsigned_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36343static swig_type_info _swigt__p_unsigned_char[] = {{"_p_unsigned_char", 0, "unsigned char *|byte *", 0, 0, 0, 0},{"_p_unsigned_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc 36344static swig_type_info _swigt__p_wxMouseEvent[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0, 0, 0, 0},{"_p_wxMouseEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
6e0de3df 36345static swig_type_info _swigt__p_wxBookCtrlBaseEvent[] = {{"_p_wxBookCtrlBaseEvent", 0, "wxBookCtrlBaseEvent *", 0, 0, 0, 0},{"_p_wxBookCtrlBaseEvent", 0, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxBookCtrlBaseEvent, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxBookCtrlBaseEvent, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36ed4f51 36346static swig_type_info _swigt__p_wxTreeEvent[] = {{"_p_wxTreeEvent", 0, "wxTreeEvent *", 0, 0, 0, 0},{"_p_wxTreeEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
6e0de3df 36347static swig_type_info _swigt__p_wxCommandEvent[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBaseEvent", _p_wxBookCtrlBaseEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
36348static swig_type_info _swigt__p_wxStaticText[] = {{"_p_wxStaticText", 0, "wxStaticText *", 0, 0, 0, 0},{"_p_wxStaticText", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36349static swig_type_info _swigt__p_wxControlWithItems[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControlWithItems, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxControlWithItems, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", 0, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxControlWithItems, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControlWithItems, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36350static swig_type_info _swigt__p_wxToolBarToolBase[] = {{"_p_wxToolBarToolBase", 0, "wxToolBarToolBase *", 0, 0, 0, 0},{"_p_wxToolBarToolBase", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36351static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0, 0, 0, 0},{"_p_wxColour", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36352static swig_type_info _swigt__p_wxToolBar[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0, 0, 0, 0},{"_p_wxToolBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36353static swig_type_info _swigt__p_wxBookCtrlSizer[] = {{"_p_wxBookCtrlSizer", 0, "wxBookCtrlSizer *", 0, 0, 0, 0},{"_p_wxBookCtrlSizer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36354static swig_type_info _swigt__p_wxValidator[] = {{"_p_wxValidator", 0, "wxValidator *", 0, 0, 0, 0},{"_p_wxValidator", 0, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36355
36356static swig_type_info *swig_types_initial[] = {
36357_swigt__p_wxTextUrlEvent,
d55e5bfc
RD
36358_swigt__p_wxSizer,
36359_swigt__p_wxCheckBox,
36360_swigt__p_wxPyTreeCtrl,
36361_swigt__p_wxEvent,
36362_swigt__p_wxGenericDirCtrl,
36363_swigt__p_bool,
d55e5bfc
RD
36364_swigt__p_wxItemContainer,
36365_swigt__p_wxPyListCtrl,
36ed4f51 36366_swigt__p_wxPyTreeItemData,
d55e5bfc
RD
36367_swigt__p_wxDirFilterListCtrl,
36368_swigt__p_wxStaticLine,
36369_swigt__p_wxControl,
36370_swigt__p_wxPyControl,
36371_swigt__p_wxGauge,
36372_swigt__p_wxToolBarBase,
36373_swigt__p_wxFont,
36374_swigt__p_wxToggleButton,
36375_swigt__p_wxRadioButton,
36376_swigt__p_wxChoice,
36377_swigt__p_wxMemoryDC,
36ed4f51
RD
36378_swigt__ptrdiff_t,
36379_swigt__std__ptrdiff_t,
d55e5bfc
RD
36380_swigt__p_wxListItemAttr,
36381_swigt__p_void,
36382_swigt__p_int,
36383_swigt__p_wxSize,
36384_swigt__p_wxDC,
36385_swigt__p_wxListView,
36386_swigt__p_wxIcon,
36387_swigt__p_wxVisualAttributes,
36388_swigt__p_wxTextCtrl,
36389_swigt__p_wxNotebook,
b411df4a 36390_swigt__p_wxChoicebook,
d55e5bfc
RD
36391_swigt__p_wxNotifyEvent,
36392_swigt__p_wxArrayString,
36ed4f51 36393_swigt__p_form_ops_t,
d55e5bfc
RD
36394_swigt__p_wxListbook,
36395_swigt__p_wxStaticBitmap,
36396_swigt__p_wxSlider,
36397_swigt__p_wxStaticBox,
36398_swigt__p_wxArrayInt,
36399_swigt__p_wxContextHelp,
36400_swigt__p_long,
36ed4f51 36401_swigt__p_wxDuplexMode,
6e0de3df 36402_swigt__p_wxBookCtrlBase,
d55e5bfc
RD
36403_swigt__p_wxEvtHandler,
36404_swigt__p_wxListEvent,
36405_swigt__p_wxCheckListBox,
36406_swigt__p_wxListBox,
d55e5bfc
RD
36407_swigt__p_wxSpinButton,
36408_swigt__p_wxButton,
36409_swigt__p_wxBitmapButton,
36410_swigt__p_wxRect,
36411_swigt__p_wxContextHelpButton,
36412_swigt__p_wxRadioBox,
36413_swigt__p_wxScrollBar,
36414_swigt__p_char,
d55e5bfc 36415_swigt__p_wxComboBox,
36ed4f51 36416_swigt__p_wxTreeItemId,
d55e5bfc
RD
36417_swigt__p_wxHelpEvent,
36418_swigt__p_wxListItem,
36419_swigt__p_wxNotebookSizer,
36420_swigt__p_wxSpinEvent,
36421_swigt__p_wxGenericDragImage,
36422_swigt__p_wxSpinCtrl,
36ed4f51 36423_swigt__p_wxPaperSize,
d55e5bfc
RD
36424_swigt__p_wxImageList,
36425_swigt__p_wxHelpProvider,
36426_swigt__p_wxTextAttr,
36427_swigt__p_wxSimpleHelpProvider,
b411df4a 36428_swigt__p_wxChoicebookEvent,
d55e5bfc
RD
36429_swigt__p_wxListbookEvent,
36430_swigt__p_wxNotebookEvent,
36ed4f51 36431_swigt__p_wxPoint,
d55e5bfc
RD
36432_swigt__p_wxObject,
36433_swigt__p_wxCursor,
36434_swigt__p_wxKeyEvent,
36ed4f51 36435_swigt__p_unsigned_long,
d55e5bfc
RD
36436_swigt__p_wxWindow,
36437_swigt__p_wxString,
36438_swigt__p_wxBitmap,
36ed4f51
RD
36439_swigt__unsigned_int,
36440_swigt__p_unsigned_int,
36441_swigt__p_unsigned_char,
d55e5bfc 36442_swigt__p_wxMouseEvent,
6e0de3df 36443_swigt__p_wxBookCtrlBaseEvent,
36ed4f51 36444_swigt__p_wxTreeEvent,
d55e5bfc
RD
36445_swigt__p_wxCommandEvent,
36446_swigt__p_wxStaticText,
36447_swigt__p_wxControlWithItems,
36448_swigt__p_wxToolBarToolBase,
36449_swigt__p_wxColour,
36450_swigt__p_wxToolBar,
36451_swigt__p_wxBookCtrlSizer,
36452_swigt__p_wxValidator,
364530
36454};
36455
36456
36457/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
36458
36459static swig_const_info swig_const_table[] = {
c370783e 36460{0, 0, 0, 0.0, 0, 0}};
d55e5bfc
RD
36461
36462#ifdef __cplusplus
36463}
36464#endif
36465
36ed4f51
RD
36466
36467#ifdef __cplusplus
36468extern "C" {
36469#endif
36470
36471 /* Python-specific SWIG API */
36472#define SWIG_newvarlink() SWIG_Python_newvarlink()
36473#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
36474#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
36475
36476 /* -----------------------------------------------------------------------------
36477 * global variable support code.
36478 * ----------------------------------------------------------------------------- */
36479
36480 typedef struct swig_globalvar {
36481 char *name; /* Name of global variable */
36482 PyObject *(*get_attr)(); /* Return the current value */
36483 int (*set_attr)(PyObject *); /* Set the value */
36484 struct swig_globalvar *next;
36485 } swig_globalvar;
36486
36487 typedef struct swig_varlinkobject {
36488 PyObject_HEAD
36489 swig_globalvar *vars;
36490 } swig_varlinkobject;
36491
36492 static PyObject *
36493 swig_varlink_repr(swig_varlinkobject *v) {
36494 v = v;
36495 return PyString_FromString("<Swig global variables>");
36496 }
36497
36498 static int
36499 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
36500 swig_globalvar *var;
36501 flags = flags;
36502 fprintf(fp,"Swig global variables { ");
36503 for (var = v->vars; var; var=var->next) {
36504 fprintf(fp,"%s", var->name);
36505 if (var->next) fprintf(fp,", ");
36506 }
36507 fprintf(fp," }\n");
36508 return 0;
36509 }
36510
36511 static PyObject *
36512 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
36513 swig_globalvar *var = v->vars;
36514 while (var) {
36515 if (strcmp(var->name,n) == 0) {
36516 return (*var->get_attr)();
36517 }
36518 var = var->next;
36519 }
36520 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
36521 return NULL;
36522 }
36523
36524 static int
36525 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
36526 swig_globalvar *var = v->vars;
36527 while (var) {
36528 if (strcmp(var->name,n) == 0) {
36529 return (*var->set_attr)(p);
36530 }
36531 var = var->next;
36532 }
36533 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
36534 return 1;
36535 }
36536
36537 static PyTypeObject varlinktype = {
36538 PyObject_HEAD_INIT(0)
36539 0, /* Number of items in variable part (ob_size) */
36540 (char *)"swigvarlink", /* Type name (tp_name) */
36541 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
36542 0, /* Itemsize (tp_itemsize) */
36543 0, /* Deallocator (tp_dealloc) */
36544 (printfunc) swig_varlink_print, /* Print (tp_print) */
36545 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
36546 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
36547 0, /* tp_compare */
36548 (reprfunc) swig_varlink_repr, /* tp_repr */
36549 0, /* tp_as_number */
36550 0, /* tp_as_sequence */
36551 0, /* tp_as_mapping */
36552 0, /* tp_hash */
36553 0, /* tp_call */
36554 0, /* tp_str */
36555 0, /* tp_getattro */
36556 0, /* tp_setattro */
36557 0, /* tp_as_buffer */
36558 0, /* tp_flags */
36559 0, /* tp_doc */
36560#if PY_VERSION_HEX >= 0x02000000
36561 0, /* tp_traverse */
36562 0, /* tp_clear */
36563#endif
36564#if PY_VERSION_HEX >= 0x02010000
36565 0, /* tp_richcompare */
36566 0, /* tp_weaklistoffset */
36567#endif
36568#if PY_VERSION_HEX >= 0x02020000
36569 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
36570#endif
36571#if PY_VERSION_HEX >= 0x02030000
36572 0, /* tp_del */
36573#endif
36574#ifdef COUNT_ALLOCS
36575 0,0,0,0 /* tp_alloc -> tp_next */
36576#endif
36577 };
36578
36579 /* Create a variable linking object for use later */
36580 static PyObject *
36581 SWIG_Python_newvarlink(void) {
36582 swig_varlinkobject *result = 0;
36583 result = PyMem_NEW(swig_varlinkobject,1);
36584 varlinktype.ob_type = &PyType_Type; /* Patch varlinktype into a PyType */
36585 result->ob_type = &varlinktype;
36586 result->vars = 0;
36587 result->ob_refcnt = 0;
36588 Py_XINCREF((PyObject *) result);
36589 return ((PyObject*) result);
36590 }
36591
36592 static void
36593 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
36594 swig_varlinkobject *v;
36595 swig_globalvar *gv;
36596 v= (swig_varlinkobject *) p;
36597 gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
36598 gv->name = (char *) malloc(strlen(name)+1);
36599 strcpy(gv->name,name);
36600 gv->get_attr = get_attr;
36601 gv->set_attr = set_attr;
36602 gv->next = v->vars;
36603 v->vars = gv;
36604 }
36605
36606 /* -----------------------------------------------------------------------------
36607 * constants/methods manipulation
36608 * ----------------------------------------------------------------------------- */
36609
36610 /* Install Constants */
36611 static void
36612 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
36613 PyObject *obj = 0;
36614 size_t i;
36615 for (i = 0; constants[i].type; i++) {
36616 switch(constants[i].type) {
36617 case SWIG_PY_INT:
36618 obj = PyInt_FromLong(constants[i].lvalue);
36619 break;
36620 case SWIG_PY_FLOAT:
36621 obj = PyFloat_FromDouble(constants[i].dvalue);
36622 break;
36623 case SWIG_PY_STRING:
36624 if (constants[i].pvalue) {
36625 obj = PyString_FromString((char *) constants[i].pvalue);
36626 } else {
36627 Py_INCREF(Py_None);
36628 obj = Py_None;
36629 }
36630 break;
36631 case SWIG_PY_POINTER:
36632 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
36633 break;
36634 case SWIG_PY_BINARY:
36635 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
36636 break;
36637 default:
36638 obj = 0;
36639 break;
36640 }
36641 if (obj) {
36642 PyDict_SetItemString(d,constants[i].name,obj);
36643 Py_DECREF(obj);
36644 }
36645 }
36646 }
36647
36648 /* -----------------------------------------------------------------------------*/
36649 /* Fix SwigMethods to carry the callback ptrs when needed */
36650 /* -----------------------------------------------------------------------------*/
36651
36652 static void
36653 SWIG_Python_FixMethods(PyMethodDef *methods,
36654 swig_const_info *const_table,
36655 swig_type_info **types,
36656 swig_type_info **types_initial) {
36657 size_t i;
36658 for (i = 0; methods[i].ml_name; ++i) {
36659 char *c = methods[i].ml_doc;
36660 if (c && (c = strstr(c, "swig_ptr: "))) {
36661 int j;
36662 swig_const_info *ci = 0;
36663 char *name = c + 10;
36664 for (j = 0; const_table[j].type; j++) {
36665 if (strncmp(const_table[j].name, name,
36666 strlen(const_table[j].name)) == 0) {
36667 ci = &(const_table[j]);
36668 break;
36669 }
36670 }
36671 if (ci) {
36672 size_t shift = (ci->ptype) - types;
36673 swig_type_info *ty = types_initial[shift];
36674 size_t ldoc = (c - methods[i].ml_doc);
36675 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
36676 char *ndoc = (char*)malloc(ldoc + lptr + 10);
36677 char *buff = ndoc;
36678 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue: (void *)(ci->lvalue);
36679 strncpy(buff, methods[i].ml_doc, ldoc);
36680 buff += ldoc;
36681 strncpy(buff, "swig_ptr: ", 10);
36682 buff += 10;
36683 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
36684 methods[i].ml_doc = ndoc;
36685 }
36686 }
36687 }
36688 }
36689
36690 /* -----------------------------------------------------------------------------*
36691 * Initialize type list
36692 * -----------------------------------------------------------------------------*/
36693
36694#if PY_MAJOR_VERSION < 2
36695 /* PyModule_AddObject function was introduced in Python 2.0. The following function
36696 is copied out of Python/modsupport.c in python version 2.3.4 */
36697 static int
36698 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
36699 {
36700 PyObject *dict;
36701 if (!PyModule_Check(m)) {
36702 PyErr_SetString(PyExc_TypeError,
36703 "PyModule_AddObject() needs module as first arg");
36704 return -1;
36705 }
36706 if (!o) {
36707 PyErr_SetString(PyExc_TypeError,
36708 "PyModule_AddObject() needs non-NULL value");
36709 return -1;
36710 }
36711
36712 dict = PyModule_GetDict(m);
36713 if (dict == NULL) {
36714 /* Internal error -- modules must have a dict! */
36715 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
36716 PyModule_GetName(m));
36717 return -1;
36718 }
36719 if (PyDict_SetItemString(dict, name, o))
36720 return -1;
36721 Py_DECREF(o);
36722 return 0;
36723 }
36724#endif
36725
36726 static swig_type_info **
36727 SWIG_Python_SetTypeListHandle(swig_type_info **type_list_handle) {
36728 static PyMethodDef swig_empty_runtime_method_table[] = {
36729 {
36730 NULL, NULL, 0, NULL
36731 }
36732 };/* Sentinel */
36733
36734 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
36735 swig_empty_runtime_method_table);
36736 PyObject *pointer = PyCObject_FromVoidPtr((void *) type_list_handle, NULL);
36737 if (pointer && module) {
36738 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
36739 }
36740 return type_list_handle;
36741 }
36742
36743 static swig_type_info **
36744 SWIG_Python_LookupTypePointer(swig_type_info **type_list_handle) {
36745 swig_type_info **type_pointer;
36746
36747 /* first check if module already created */
36748 type_pointer = SWIG_Python_GetTypeListHandle();
36749 if (type_pointer) {
36750 return type_pointer;
36751 } else {
36752 /* create a new module and variable */
36753 return SWIG_Python_SetTypeListHandle(type_list_handle);
36754 }
36755 }
36756
36757#ifdef __cplusplus
36758}
36759#endif
36760
36761/* -----------------------------------------------------------------------------*
36762 * Partial Init method
36763 * -----------------------------------------------------------------------------*/
36764
36765#ifdef SWIG_LINK_RUNTIME
36766#ifdef __cplusplus
36767extern "C"
36768#endif
36769SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
36770#endif
36771
d55e5bfc
RD
36772#ifdef __cplusplus
36773extern "C"
36774#endif
36775SWIGEXPORT(void) SWIG_init(void) {
36776 static PyObject *SWIG_globals = 0;
36777 static int typeinit = 0;
36778 PyObject *m, *d;
36779 int i;
36780 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
36ed4f51
RD
36781
36782 /* Fix SwigMethods to carry the callback ptrs when needed */
36783 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_types_initial);
36784
d55e5bfc
RD
36785 m = Py_InitModule((char *) SWIG_name, SwigMethods);
36786 d = PyModule_GetDict(m);
36787
36788 if (!typeinit) {
36ed4f51
RD
36789#ifdef SWIG_LINK_RUNTIME
36790 swig_type_list_handle = (swig_type_info **) SWIG_ReturnGlobalTypeList(swig_type_list_handle);
36791#else
36792# ifndef SWIG_STATIC_RUNTIME
36793 swig_type_list_handle = SWIG_Python_LookupTypePointer(swig_type_list_handle);
36794# endif
36795#endif
d55e5bfc
RD
36796 for (i = 0; swig_types_initial[i]; i++) {
36797 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
36798 }
36799 typeinit = 1;
36800 }
36801 SWIG_InstallConstants(d,swig_const_table);
36802
36803 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
36804 SWIG_addvarlink(SWIG_globals,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get, _wrap_ButtonNameStr_set);
36ed4f51
RD
36805 {
36806 PyDict_SetItemString(d,"BU_LEFT", SWIG_From_int((int)(wxBU_LEFT)));
36807 }
36808 {
36809 PyDict_SetItemString(d,"BU_TOP", SWIG_From_int((int)(wxBU_TOP)));
36810 }
36811 {
36812 PyDict_SetItemString(d,"BU_RIGHT", SWIG_From_int((int)(wxBU_RIGHT)));
36813 }
36814 {
36815 PyDict_SetItemString(d,"BU_BOTTOM", SWIG_From_int((int)(wxBU_BOTTOM)));
36816 }
36817 {
36818 PyDict_SetItemString(d,"BU_ALIGN_MASK", SWIG_From_int((int)(wxBU_ALIGN_MASK)));
36819 }
36820 {
36821 PyDict_SetItemString(d,"BU_EXACTFIT", SWIG_From_int((int)(wxBU_EXACTFIT)));
36822 }
36823 {
36824 PyDict_SetItemString(d,"BU_AUTODRAW", SWIG_From_int((int)(wxBU_AUTODRAW)));
36825 }
d55e5bfc 36826 SWIG_addvarlink(SWIG_globals,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get, _wrap_CheckBoxNameStr_set);
36ed4f51
RD
36827 {
36828 PyDict_SetItemString(d,"CHK_2STATE", SWIG_From_int((int)(wxCHK_2STATE)));
36829 }
36830 {
36831 PyDict_SetItemString(d,"CHK_3STATE", SWIG_From_int((int)(wxCHK_3STATE)));
36832 }
36833 {
36834 PyDict_SetItemString(d,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_From_int((int)(wxCHK_ALLOW_3RD_STATE_FOR_USER)));
36835 }
36836 {
36837 PyDict_SetItemString(d,"CHK_UNCHECKED", SWIG_From_int((int)(wxCHK_UNCHECKED)));
36838 }
36839 {
36840 PyDict_SetItemString(d,"CHK_CHECKED", SWIG_From_int((int)(wxCHK_CHECKED)));
36841 }
36842 {
36843 PyDict_SetItemString(d,"CHK_UNDETERMINED", SWIG_From_int((int)(wxCHK_UNDETERMINED)));
36844 }
d55e5bfc
RD
36845 SWIG_addvarlink(SWIG_globals,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get, _wrap_ChoiceNameStr_set);
36846 SWIG_addvarlink(SWIG_globals,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get, _wrap_ComboBoxNameStr_set);
36847 SWIG_addvarlink(SWIG_globals,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get, _wrap_GaugeNameStr_set);
36ed4f51
RD
36848 {
36849 PyDict_SetItemString(d,"GA_HORIZONTAL", SWIG_From_int((int)(wxGA_HORIZONTAL)));
36850 }
36851 {
36852 PyDict_SetItemString(d,"GA_VERTICAL", SWIG_From_int((int)(wxGA_VERTICAL)));
36853 }
36854 {
36855 PyDict_SetItemString(d,"GA_SMOOTH", SWIG_From_int((int)(wxGA_SMOOTH)));
36856 }
36857 {
36858 PyDict_SetItemString(d,"GA_PROGRESSBAR", SWIG_From_int((int)(wxGA_PROGRESSBAR)));
36859 }
d55e5bfc
RD
36860 SWIG_addvarlink(SWIG_globals,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get, _wrap_StaticBitmapNameStr_set);
36861 SWIG_addvarlink(SWIG_globals,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get, _wrap_StaticBoxNameStr_set);
36862 SWIG_addvarlink(SWIG_globals,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get, _wrap_StaticTextNameStr_set);
36863 SWIG_addvarlink(SWIG_globals,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get, _wrap_ListBoxNameStr_set);
36864 SWIG_addvarlink(SWIG_globals,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get, _wrap_TextCtrlNameStr_set);
36ed4f51
RD
36865 {
36866 PyDict_SetItemString(d,"TE_NO_VSCROLL", SWIG_From_int((int)(wxTE_NO_VSCROLL)));
36867 }
36868 {
36869 PyDict_SetItemString(d,"TE_AUTO_SCROLL", SWIG_From_int((int)(wxTE_AUTO_SCROLL)));
36870 }
36871 {
36872 PyDict_SetItemString(d,"TE_READONLY", SWIG_From_int((int)(wxTE_READONLY)));
36873 }
36874 {
36875 PyDict_SetItemString(d,"TE_MULTILINE", SWIG_From_int((int)(wxTE_MULTILINE)));
36876 }
36877 {
36878 PyDict_SetItemString(d,"TE_PROCESS_TAB", SWIG_From_int((int)(wxTE_PROCESS_TAB)));
36879 }
36880 {
36881 PyDict_SetItemString(d,"TE_LEFT", SWIG_From_int((int)(wxTE_LEFT)));
36882 }
36883 {
36884 PyDict_SetItemString(d,"TE_CENTER", SWIG_From_int((int)(wxTE_CENTER)));
36885 }
36886 {
36887 PyDict_SetItemString(d,"TE_RIGHT", SWIG_From_int((int)(wxTE_RIGHT)));
36888 }
36889 {
36890 PyDict_SetItemString(d,"TE_CENTRE", SWIG_From_int((int)(wxTE_CENTRE)));
36891 }
36892 {
36893 PyDict_SetItemString(d,"TE_RICH", SWIG_From_int((int)(wxTE_RICH)));
36894 }
36895 {
36896 PyDict_SetItemString(d,"TE_PROCESS_ENTER", SWIG_From_int((int)(wxTE_PROCESS_ENTER)));
36897 }
36898 {
36899 PyDict_SetItemString(d,"TE_PASSWORD", SWIG_From_int((int)(wxTE_PASSWORD)));
36900 }
36901 {
36902 PyDict_SetItemString(d,"TE_AUTO_URL", SWIG_From_int((int)(wxTE_AUTO_URL)));
36903 }
36904 {
36905 PyDict_SetItemString(d,"TE_NOHIDESEL", SWIG_From_int((int)(wxTE_NOHIDESEL)));
36906 }
36907 {
36908 PyDict_SetItemString(d,"TE_DONTWRAP", SWIG_From_int((int)(wxTE_DONTWRAP)));
36909 }
36910 {
36911 PyDict_SetItemString(d,"TE_LINEWRAP", SWIG_From_int((int)(wxTE_LINEWRAP)));
36912 }
36913 {
36914 PyDict_SetItemString(d,"TE_WORDWRAP", SWIG_From_int((int)(wxTE_WORDWRAP)));
36915 }
36916 {
36917 PyDict_SetItemString(d,"TE_RICH2", SWIG_From_int((int)(wxTE_RICH2)));
36918 }
36919 {
36920 PyDict_SetItemString(d,"TEXT_ALIGNMENT_DEFAULT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_DEFAULT)));
36921 }
36922 {
36923 PyDict_SetItemString(d,"TEXT_ALIGNMENT_LEFT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_LEFT)));
36924 }
36925 {
36926 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTRE", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTRE)));
36927 }
36928 {
36929 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTER", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTER)));
36930 }
36931 {
36932 PyDict_SetItemString(d,"TEXT_ALIGNMENT_RIGHT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_RIGHT)));
36933 }
36934 {
36935 PyDict_SetItemString(d,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_From_int((int)(wxTEXT_ALIGNMENT_JUSTIFIED)));
36936 }
36937 {
36938 PyDict_SetItemString(d,"TEXT_ATTR_TEXT_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_TEXT_COLOUR)));
36939 }
36940 {
36941 PyDict_SetItemString(d,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_BACKGROUND_COLOUR)));
36942 }
36943 {
36944 PyDict_SetItemString(d,"TEXT_ATTR_FONT_FACE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_FACE)));
36945 }
36946 {
36947 PyDict_SetItemString(d,"TEXT_ATTR_FONT_SIZE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_SIZE)));
36948 }
36949 {
36950 PyDict_SetItemString(d,"TEXT_ATTR_FONT_WEIGHT", SWIG_From_int((int)(wxTEXT_ATTR_FONT_WEIGHT)));
36951 }
36952 {
36953 PyDict_SetItemString(d,"TEXT_ATTR_FONT_ITALIC", SWIG_From_int((int)(wxTEXT_ATTR_FONT_ITALIC)));
36954 }
36955 {
36956 PyDict_SetItemString(d,"TEXT_ATTR_FONT_UNDERLINE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_UNDERLINE)));
36957 }
36958 {
36959 PyDict_SetItemString(d,"TEXT_ATTR_FONT", SWIG_From_int((int)(wxTEXT_ATTR_FONT)));
36960 }
36961 {
36962 PyDict_SetItemString(d,"TEXT_ATTR_ALIGNMENT", SWIG_From_int((int)(wxTEXT_ATTR_ALIGNMENT)));
36963 }
36964 {
36965 PyDict_SetItemString(d,"TEXT_ATTR_LEFT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_LEFT_INDENT)));
36966 }
36967 {
36968 PyDict_SetItemString(d,"TEXT_ATTR_RIGHT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_RIGHT_INDENT)));
36969 }
36970 {
36971 PyDict_SetItemString(d,"TEXT_ATTR_TABS", SWIG_From_int((int)(wxTEXT_ATTR_TABS)));
36972 }
36973 {
36974 PyDict_SetItemString(d,"TE_HT_UNKNOWN", SWIG_From_int((int)(wxTE_HT_UNKNOWN)));
36975 }
36976 {
36977 PyDict_SetItemString(d,"TE_HT_BEFORE", SWIG_From_int((int)(wxTE_HT_BEFORE)));
36978 }
36979 {
36980 PyDict_SetItemString(d,"TE_HT_ON_TEXT", SWIG_From_int((int)(wxTE_HT_ON_TEXT)));
36981 }
36982 {
36983 PyDict_SetItemString(d,"TE_HT_BELOW", SWIG_From_int((int)(wxTE_HT_BELOW)));
36984 }
36985 {
36986 PyDict_SetItemString(d,"TE_HT_BEYOND", SWIG_From_int((int)(wxTE_HT_BEYOND)));
36987 }
d55e5bfc
RD
36988 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
36989 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
36990 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
36991 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
36992 SWIG_addvarlink(SWIG_globals,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get, _wrap_ScrollBarNameStr_set);
36993 SWIG_addvarlink(SWIG_globals,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get, _wrap_SPIN_BUTTON_NAME_set);
36994 SWIG_addvarlink(SWIG_globals,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get, _wrap_SpinCtrlNameStr_set);
36ed4f51
RD
36995 {
36996 PyDict_SetItemString(d,"SP_HORIZONTAL", SWIG_From_int((int)(wxSP_HORIZONTAL)));
36997 }
36998 {
36999 PyDict_SetItemString(d,"SP_VERTICAL", SWIG_From_int((int)(wxSP_VERTICAL)));
37000 }
37001 {
37002 PyDict_SetItemString(d,"SP_ARROW_KEYS", SWIG_From_int((int)(wxSP_ARROW_KEYS)));
37003 }
37004 {
37005 PyDict_SetItemString(d,"SP_WRAP", SWIG_From_int((int)(wxSP_WRAP)));
37006 }
d55e5bfc
RD
37007 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
37008 SWIG_addvarlink(SWIG_globals,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get, _wrap_RadioBoxNameStr_set);
37009 SWIG_addvarlink(SWIG_globals,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get, _wrap_RadioButtonNameStr_set);
37010 SWIG_addvarlink(SWIG_globals,(char*)"SliderNameStr",_wrap_SliderNameStr_get, _wrap_SliderNameStr_set);
37011 SWIG_addvarlink(SWIG_globals,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get, _wrap_ToggleButtonNameStr_set);
37012 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
51b83b37 37013 SWIG_addvarlink(SWIG_globals,(char*)"NotebookNameStr",_wrap_NotebookNameStr_get, _wrap_NotebookNameStr_set);
36ed4f51
RD
37014 {
37015 PyDict_SetItemString(d,"NB_FIXEDWIDTH", SWIG_From_int((int)(wxNB_FIXEDWIDTH)));
37016 }
37017 {
37018 PyDict_SetItemString(d,"NB_TOP", SWIG_From_int((int)(wxNB_TOP)));
37019 }
37020 {
37021 PyDict_SetItemString(d,"NB_LEFT", SWIG_From_int((int)(wxNB_LEFT)));
37022 }
37023 {
37024 PyDict_SetItemString(d,"NB_RIGHT", SWIG_From_int((int)(wxNB_RIGHT)));
37025 }
37026 {
37027 PyDict_SetItemString(d,"NB_BOTTOM", SWIG_From_int((int)(wxNB_BOTTOM)));
37028 }
37029 {
37030 PyDict_SetItemString(d,"NB_MULTILINE", SWIG_From_int((int)(wxNB_MULTILINE)));
37031 }
37032 {
37033 PyDict_SetItemString(d,"NB_HITTEST_NOWHERE", SWIG_From_int((int)(wxNB_HITTEST_NOWHERE)));
37034 }
37035 {
37036 PyDict_SetItemString(d,"NB_HITTEST_ONICON", SWIG_From_int((int)(wxNB_HITTEST_ONICON)));
37037 }
37038 {
37039 PyDict_SetItemString(d,"NB_HITTEST_ONLABEL", SWIG_From_int((int)(wxNB_HITTEST_ONLABEL)));
37040 }
37041 {
37042 PyDict_SetItemString(d,"NB_HITTEST_ONITEM", SWIG_From_int((int)(wxNB_HITTEST_ONITEM)));
37043 }
d55e5bfc
RD
37044 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
37045 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
36ed4f51
RD
37046 {
37047 PyDict_SetItemString(d,"LB_DEFAULT", SWIG_From_int((int)(wxLB_DEFAULT)));
37048 }
37049 {
37050 PyDict_SetItemString(d,"LB_TOP", SWIG_From_int((int)(wxLB_TOP)));
37051 }
37052 {
37053 PyDict_SetItemString(d,"LB_BOTTOM", SWIG_From_int((int)(wxLB_BOTTOM)));
37054 }
37055 {
37056 PyDict_SetItemString(d,"LB_LEFT", SWIG_From_int((int)(wxLB_LEFT)));
37057 }
37058 {
37059 PyDict_SetItemString(d,"LB_RIGHT", SWIG_From_int((int)(wxLB_RIGHT)));
37060 }
37061 {
37062 PyDict_SetItemString(d,"LB_ALIGN_MASK", SWIG_From_int((int)(wxLB_ALIGN_MASK)));
37063 }
d55e5bfc
RD
37064 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
37065 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
36ed4f51
RD
37066 {
37067 PyDict_SetItemString(d,"CHB_DEFAULT", SWIG_From_int((int)(wxCHB_DEFAULT)));
37068 }
37069 {
37070 PyDict_SetItemString(d,"CHB_TOP", SWIG_From_int((int)(wxCHB_TOP)));
37071 }
37072 {
37073 PyDict_SetItemString(d,"CHB_BOTTOM", SWIG_From_int((int)(wxCHB_BOTTOM)));
37074 }
37075 {
37076 PyDict_SetItemString(d,"CHB_LEFT", SWIG_From_int((int)(wxCHB_LEFT)));
37077 }
37078 {
37079 PyDict_SetItemString(d,"CHB_RIGHT", SWIG_From_int((int)(wxCHB_RIGHT)));
37080 }
37081 {
37082 PyDict_SetItemString(d,"CHB_ALIGN_MASK", SWIG_From_int((int)(wxCHB_ALIGN_MASK)));
37083 }
b411df4a
RD
37084 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED));
37085 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING));
36ed4f51
RD
37086 {
37087 PyDict_SetItemString(d,"TOOL_STYLE_BUTTON", SWIG_From_int((int)(wxTOOL_STYLE_BUTTON)));
37088 }
37089 {
37090 PyDict_SetItemString(d,"TOOL_STYLE_SEPARATOR", SWIG_From_int((int)(wxTOOL_STYLE_SEPARATOR)));
37091 }
37092 {
37093 PyDict_SetItemString(d,"TOOL_STYLE_CONTROL", SWIG_From_int((int)(wxTOOL_STYLE_CONTROL)));
37094 }
37095 {
37096 PyDict_SetItemString(d,"TB_HORIZONTAL", SWIG_From_int((int)(wxTB_HORIZONTAL)));
37097 }
37098 {
37099 PyDict_SetItemString(d,"TB_VERTICAL", SWIG_From_int((int)(wxTB_VERTICAL)));
37100 }
37101 {
37102 PyDict_SetItemString(d,"TB_3DBUTTONS", SWIG_From_int((int)(wxTB_3DBUTTONS)));
37103 }
37104 {
37105 PyDict_SetItemString(d,"TB_FLAT", SWIG_From_int((int)(wxTB_FLAT)));
37106 }
37107 {
37108 PyDict_SetItemString(d,"TB_DOCKABLE", SWIG_From_int((int)(wxTB_DOCKABLE)));
37109 }
37110 {
37111 PyDict_SetItemString(d,"TB_NOICONS", SWIG_From_int((int)(wxTB_NOICONS)));
37112 }
37113 {
37114 PyDict_SetItemString(d,"TB_TEXT", SWIG_From_int((int)(wxTB_TEXT)));
37115 }
37116 {
37117 PyDict_SetItemString(d,"TB_NODIVIDER", SWIG_From_int((int)(wxTB_NODIVIDER)));
37118 }
37119 {
37120 PyDict_SetItemString(d,"TB_NOALIGN", SWIG_From_int((int)(wxTB_NOALIGN)));
37121 }
37122 {
37123 PyDict_SetItemString(d,"TB_HORZ_LAYOUT", SWIG_From_int((int)(wxTB_HORZ_LAYOUT)));
37124 }
37125 {
37126 PyDict_SetItemString(d,"TB_HORZ_TEXT", SWIG_From_int((int)(wxTB_HORZ_TEXT)));
37127 }
d55e5bfc 37128 SWIG_addvarlink(SWIG_globals,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get, _wrap_ListCtrlNameStr_set);
36ed4f51
RD
37129 {
37130 PyDict_SetItemString(d,"LC_VRULES", SWIG_From_int((int)(wxLC_VRULES)));
37131 }
37132 {
37133 PyDict_SetItemString(d,"LC_HRULES", SWIG_From_int((int)(wxLC_HRULES)));
37134 }
37135 {
37136 PyDict_SetItemString(d,"LC_ICON", SWIG_From_int((int)(wxLC_ICON)));
37137 }
37138 {
37139 PyDict_SetItemString(d,"LC_SMALL_ICON", SWIG_From_int((int)(wxLC_SMALL_ICON)));
37140 }
37141 {
37142 PyDict_SetItemString(d,"LC_LIST", SWIG_From_int((int)(wxLC_LIST)));
37143 }
37144 {
37145 PyDict_SetItemString(d,"LC_REPORT", SWIG_From_int((int)(wxLC_REPORT)));
37146 }
37147 {
37148 PyDict_SetItemString(d,"LC_ALIGN_TOP", SWIG_From_int((int)(wxLC_ALIGN_TOP)));
37149 }
37150 {
37151 PyDict_SetItemString(d,"LC_ALIGN_LEFT", SWIG_From_int((int)(wxLC_ALIGN_LEFT)));
37152 }
37153 {
37154 PyDict_SetItemString(d,"LC_AUTOARRANGE", SWIG_From_int((int)(wxLC_AUTOARRANGE)));
37155 }
37156 {
37157 PyDict_SetItemString(d,"LC_VIRTUAL", SWIG_From_int((int)(wxLC_VIRTUAL)));
37158 }
37159 {
37160 PyDict_SetItemString(d,"LC_EDIT_LABELS", SWIG_From_int((int)(wxLC_EDIT_LABELS)));
37161 }
37162 {
37163 PyDict_SetItemString(d,"LC_NO_HEADER", SWIG_From_int((int)(wxLC_NO_HEADER)));
37164 }
37165 {
37166 PyDict_SetItemString(d,"LC_NO_SORT_HEADER", SWIG_From_int((int)(wxLC_NO_SORT_HEADER)));
37167 }
37168 {
37169 PyDict_SetItemString(d,"LC_SINGLE_SEL", SWIG_From_int((int)(wxLC_SINGLE_SEL)));
37170 }
37171 {
37172 PyDict_SetItemString(d,"LC_SORT_ASCENDING", SWIG_From_int((int)(wxLC_SORT_ASCENDING)));
37173 }
37174 {
37175 PyDict_SetItemString(d,"LC_SORT_DESCENDING", SWIG_From_int((int)(wxLC_SORT_DESCENDING)));
37176 }
37177 {
37178 PyDict_SetItemString(d,"LC_MASK_TYPE", SWIG_From_int((int)(wxLC_MASK_TYPE)));
37179 }
37180 {
37181 PyDict_SetItemString(d,"LC_MASK_ALIGN", SWIG_From_int((int)(wxLC_MASK_ALIGN)));
37182 }
37183 {
37184 PyDict_SetItemString(d,"LC_MASK_SORT", SWIG_From_int((int)(wxLC_MASK_SORT)));
37185 }
37186 {
37187 PyDict_SetItemString(d,"LIST_MASK_STATE", SWIG_From_int((int)(wxLIST_MASK_STATE)));
37188 }
37189 {
37190 PyDict_SetItemString(d,"LIST_MASK_TEXT", SWIG_From_int((int)(wxLIST_MASK_TEXT)));
37191 }
37192 {
37193 PyDict_SetItemString(d,"LIST_MASK_IMAGE", SWIG_From_int((int)(wxLIST_MASK_IMAGE)));
37194 }
37195 {
37196 PyDict_SetItemString(d,"LIST_MASK_DATA", SWIG_From_int((int)(wxLIST_MASK_DATA)));
37197 }
37198 {
37199 PyDict_SetItemString(d,"LIST_SET_ITEM", SWIG_From_int((int)(wxLIST_SET_ITEM)));
37200 }
37201 {
37202 PyDict_SetItemString(d,"LIST_MASK_WIDTH", SWIG_From_int((int)(wxLIST_MASK_WIDTH)));
37203 }
37204 {
37205 PyDict_SetItemString(d,"LIST_MASK_FORMAT", SWIG_From_int((int)(wxLIST_MASK_FORMAT)));
37206 }
37207 {
37208 PyDict_SetItemString(d,"LIST_STATE_DONTCARE", SWIG_From_int((int)(wxLIST_STATE_DONTCARE)));
37209 }
37210 {
37211 PyDict_SetItemString(d,"LIST_STATE_DROPHILITED", SWIG_From_int((int)(wxLIST_STATE_DROPHILITED)));
37212 }
37213 {
37214 PyDict_SetItemString(d,"LIST_STATE_FOCUSED", SWIG_From_int((int)(wxLIST_STATE_FOCUSED)));
37215 }
37216 {
37217 PyDict_SetItemString(d,"LIST_STATE_SELECTED", SWIG_From_int((int)(wxLIST_STATE_SELECTED)));
37218 }
37219 {
37220 PyDict_SetItemString(d,"LIST_STATE_CUT", SWIG_From_int((int)(wxLIST_STATE_CUT)));
37221 }
37222 {
37223 PyDict_SetItemString(d,"LIST_STATE_DISABLED", SWIG_From_int((int)(wxLIST_STATE_DISABLED)));
37224 }
37225 {
37226 PyDict_SetItemString(d,"LIST_STATE_FILTERED", SWIG_From_int((int)(wxLIST_STATE_FILTERED)));
37227 }
37228 {
37229 PyDict_SetItemString(d,"LIST_STATE_INUSE", SWIG_From_int((int)(wxLIST_STATE_INUSE)));
37230 }
37231 {
37232 PyDict_SetItemString(d,"LIST_STATE_PICKED", SWIG_From_int((int)(wxLIST_STATE_PICKED)));
37233 }
37234 {
37235 PyDict_SetItemString(d,"LIST_STATE_SOURCE", SWIG_From_int((int)(wxLIST_STATE_SOURCE)));
37236 }
37237 {
37238 PyDict_SetItemString(d,"LIST_HITTEST_ABOVE", SWIG_From_int((int)(wxLIST_HITTEST_ABOVE)));
37239 }
37240 {
37241 PyDict_SetItemString(d,"LIST_HITTEST_BELOW", SWIG_From_int((int)(wxLIST_HITTEST_BELOW)));
37242 }
37243 {
37244 PyDict_SetItemString(d,"LIST_HITTEST_NOWHERE", SWIG_From_int((int)(wxLIST_HITTEST_NOWHERE)));
37245 }
37246 {
37247 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMICON)));
37248 }
37249 {
37250 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMLABEL)));
37251 }
37252 {
37253 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMRIGHT)));
37254 }
37255 {
37256 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMSTATEICON)));
37257 }
37258 {
37259 PyDict_SetItemString(d,"LIST_HITTEST_TOLEFT", SWIG_From_int((int)(wxLIST_HITTEST_TOLEFT)));
37260 }
37261 {
37262 PyDict_SetItemString(d,"LIST_HITTEST_TORIGHT", SWIG_From_int((int)(wxLIST_HITTEST_TORIGHT)));
37263 }
37264 {
37265 PyDict_SetItemString(d,"LIST_HITTEST_ONITEM", SWIG_From_int((int)(wxLIST_HITTEST_ONITEM)));
37266 }
37267 {
37268 PyDict_SetItemString(d,"LIST_NEXT_ABOVE", SWIG_From_int((int)(wxLIST_NEXT_ABOVE)));
37269 }
37270 {
37271 PyDict_SetItemString(d,"LIST_NEXT_ALL", SWIG_From_int((int)(wxLIST_NEXT_ALL)));
37272 }
37273 {
37274 PyDict_SetItemString(d,"LIST_NEXT_BELOW", SWIG_From_int((int)(wxLIST_NEXT_BELOW)));
37275 }
37276 {
37277 PyDict_SetItemString(d,"LIST_NEXT_LEFT", SWIG_From_int((int)(wxLIST_NEXT_LEFT)));
37278 }
37279 {
37280 PyDict_SetItemString(d,"LIST_NEXT_RIGHT", SWIG_From_int((int)(wxLIST_NEXT_RIGHT)));
37281 }
37282 {
37283 PyDict_SetItemString(d,"LIST_ALIGN_DEFAULT", SWIG_From_int((int)(wxLIST_ALIGN_DEFAULT)));
37284 }
37285 {
37286 PyDict_SetItemString(d,"LIST_ALIGN_LEFT", SWIG_From_int((int)(wxLIST_ALIGN_LEFT)));
37287 }
37288 {
37289 PyDict_SetItemString(d,"LIST_ALIGN_TOP", SWIG_From_int((int)(wxLIST_ALIGN_TOP)));
37290 }
37291 {
37292 PyDict_SetItemString(d,"LIST_ALIGN_SNAP_TO_GRID", SWIG_From_int((int)(wxLIST_ALIGN_SNAP_TO_GRID)));
37293 }
37294 {
37295 PyDict_SetItemString(d,"LIST_FORMAT_LEFT", SWIG_From_int((int)(wxLIST_FORMAT_LEFT)));
37296 }
37297 {
37298 PyDict_SetItemString(d,"LIST_FORMAT_RIGHT", SWIG_From_int((int)(wxLIST_FORMAT_RIGHT)));
37299 }
37300 {
37301 PyDict_SetItemString(d,"LIST_FORMAT_CENTRE", SWIG_From_int((int)(wxLIST_FORMAT_CENTRE)));
37302 }
37303 {
37304 PyDict_SetItemString(d,"LIST_FORMAT_CENTER", SWIG_From_int((int)(wxLIST_FORMAT_CENTER)));
37305 }
37306 {
37307 PyDict_SetItemString(d,"LIST_AUTOSIZE", SWIG_From_int((int)(wxLIST_AUTOSIZE)));
37308 }
37309 {
37310 PyDict_SetItemString(d,"LIST_AUTOSIZE_USEHEADER", SWIG_From_int((int)(wxLIST_AUTOSIZE_USEHEADER)));
37311 }
37312 {
37313 PyDict_SetItemString(d,"LIST_RECT_BOUNDS", SWIG_From_int((int)(wxLIST_RECT_BOUNDS)));
37314 }
37315 {
37316 PyDict_SetItemString(d,"LIST_RECT_ICON", SWIG_From_int((int)(wxLIST_RECT_ICON)));
37317 }
37318 {
37319 PyDict_SetItemString(d,"LIST_RECT_LABEL", SWIG_From_int((int)(wxLIST_RECT_LABEL)));
37320 }
37321 {
37322 PyDict_SetItemString(d,"LIST_FIND_UP", SWIG_From_int((int)(wxLIST_FIND_UP)));
37323 }
37324 {
37325 PyDict_SetItemString(d,"LIST_FIND_DOWN", SWIG_From_int((int)(wxLIST_FIND_DOWN)));
37326 }
37327 {
37328 PyDict_SetItemString(d,"LIST_FIND_LEFT", SWIG_From_int((int)(wxLIST_FIND_LEFT)));
37329 }
37330 {
37331 PyDict_SetItemString(d,"LIST_FIND_RIGHT", SWIG_From_int((int)(wxLIST_FIND_RIGHT)));
37332 }
d55e5bfc
RD
37333 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
37334 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
37335 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
37336 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
37337 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
37338 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
37339 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO));
37340 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO));
37341 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
37342 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
37343 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
37344 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
37345 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
37346 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
37347 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
37348 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
37349 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
37350 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
37351 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
37352 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
37353 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
37354 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
37355
37356 // Map renamed classes back to their common name for OOR
37357 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
37358
37359 SWIG_addvarlink(SWIG_globals,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get, _wrap_TreeCtrlNameStr_set);
36ed4f51
RD
37360 {
37361 PyDict_SetItemString(d,"TR_NO_BUTTONS", SWIG_From_int((int)(wxTR_NO_BUTTONS)));
37362 }
37363 {
37364 PyDict_SetItemString(d,"TR_HAS_BUTTONS", SWIG_From_int((int)(wxTR_HAS_BUTTONS)));
37365 }
37366 {
37367 PyDict_SetItemString(d,"TR_NO_LINES", SWIG_From_int((int)(wxTR_NO_LINES)));
37368 }
37369 {
37370 PyDict_SetItemString(d,"TR_LINES_AT_ROOT", SWIG_From_int((int)(wxTR_LINES_AT_ROOT)));
37371 }
37372 {
37373 PyDict_SetItemString(d,"TR_SINGLE", SWIG_From_int((int)(wxTR_SINGLE)));
37374 }
37375 {
37376 PyDict_SetItemString(d,"TR_MULTIPLE", SWIG_From_int((int)(wxTR_MULTIPLE)));
37377 }
37378 {
37379 PyDict_SetItemString(d,"TR_EXTENDED", SWIG_From_int((int)(wxTR_EXTENDED)));
37380 }
37381 {
37382 PyDict_SetItemString(d,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_From_int((int)(wxTR_HAS_VARIABLE_ROW_HEIGHT)));
37383 }
37384 {
37385 PyDict_SetItemString(d,"TR_EDIT_LABELS", SWIG_From_int((int)(wxTR_EDIT_LABELS)));
37386 }
37387 {
37388 PyDict_SetItemString(d,"TR_HIDE_ROOT", SWIG_From_int((int)(wxTR_HIDE_ROOT)));
37389 }
37390 {
37391 PyDict_SetItemString(d,"TR_ROW_LINES", SWIG_From_int((int)(wxTR_ROW_LINES)));
37392 }
37393 {
37394 PyDict_SetItemString(d,"TR_FULL_ROW_HIGHLIGHT", SWIG_From_int((int)(wxTR_FULL_ROW_HIGHLIGHT)));
37395 }
37396 {
37397 PyDict_SetItemString(d,"TR_DEFAULT_STYLE", SWIG_From_int((int)(wxTR_DEFAULT_STYLE)));
37398 }
37399 {
37400 PyDict_SetItemString(d,"TR_TWIST_BUTTONS", SWIG_From_int((int)(wxTR_TWIST_BUTTONS)));
37401 }
37402 {
37403 PyDict_SetItemString(d,"TR_MAC_BUTTONS", SWIG_From_int((int)(wxTR_MAC_BUTTONS)));
37404 }
37405 {
37406 PyDict_SetItemString(d,"TR_AQUA_BUTTONS", SWIG_From_int((int)(wxTR_AQUA_BUTTONS)));
37407 }
37408 {
37409 PyDict_SetItemString(d,"TreeItemIcon_Normal", SWIG_From_int((int)(wxTreeItemIcon_Normal)));
37410 }
37411 {
37412 PyDict_SetItemString(d,"TreeItemIcon_Selected", SWIG_From_int((int)(wxTreeItemIcon_Selected)));
37413 }
37414 {
37415 PyDict_SetItemString(d,"TreeItemIcon_Expanded", SWIG_From_int((int)(wxTreeItemIcon_Expanded)));
37416 }
37417 {
37418 PyDict_SetItemString(d,"TreeItemIcon_SelectedExpanded", SWIG_From_int((int)(wxTreeItemIcon_SelectedExpanded)));
37419 }
37420 {
37421 PyDict_SetItemString(d,"TreeItemIcon_Max", SWIG_From_int((int)(wxTreeItemIcon_Max)));
37422 }
37423 {
37424 PyDict_SetItemString(d,"TREE_HITTEST_ABOVE", SWIG_From_int((int)(wxTREE_HITTEST_ABOVE)));
37425 }
37426 {
37427 PyDict_SetItemString(d,"TREE_HITTEST_BELOW", SWIG_From_int((int)(wxTREE_HITTEST_BELOW)));
37428 }
37429 {
37430 PyDict_SetItemString(d,"TREE_HITTEST_NOWHERE", SWIG_From_int((int)(wxTREE_HITTEST_NOWHERE)));
37431 }
37432 {
37433 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMBUTTON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMBUTTON)));
37434 }
37435 {
37436 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMICON)));
37437 }
37438 {
37439 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMINDENT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMINDENT)));
37440 }
37441 {
37442 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLABEL)));
37443 }
37444 {
37445 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMRIGHT)));
37446 }
37447 {
37448 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMSTATEICON)));
37449 }
37450 {
37451 PyDict_SetItemString(d,"TREE_HITTEST_TOLEFT", SWIG_From_int((int)(wxTREE_HITTEST_TOLEFT)));
37452 }
37453 {
37454 PyDict_SetItemString(d,"TREE_HITTEST_TORIGHT", SWIG_From_int((int)(wxTREE_HITTEST_TORIGHT)));
37455 }
37456 {
37457 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMUPPERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMUPPERPART)));
37458 }
37459 {
37460 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLOWERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLOWERPART)));
37461 }
37462 {
37463 PyDict_SetItemString(d,"TREE_HITTEST_ONITEM", SWIG_From_int((int)(wxTREE_HITTEST_ONITEM)));
37464 }
d55e5bfc
RD
37465 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
37466 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
37467 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
37468 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
37469 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
37470 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
37471 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
37472 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
37473 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
37474 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
37475 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
37476 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
37477 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
37478 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
37479 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
37480 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
37481 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
37482 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
37483 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
37484 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
62d32a5f 37485 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU));
d55e5bfc
RD
37486
37487 // Map renamed classes back to their common name for OOR
37488 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
37489 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
37490
37491 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get, _wrap_DirDialogDefaultFolderStr_set);
36ed4f51
RD
37492 {
37493 PyDict_SetItemString(d,"DIRCTRL_DIR_ONLY", SWIG_From_int((int)(wxDIRCTRL_DIR_ONLY)));
37494 }
37495 {
37496 PyDict_SetItemString(d,"DIRCTRL_SELECT_FIRST", SWIG_From_int((int)(wxDIRCTRL_SELECT_FIRST)));
37497 }
37498 {
37499 PyDict_SetItemString(d,"DIRCTRL_SHOW_FILTERS", SWIG_From_int((int)(wxDIRCTRL_SHOW_FILTERS)));
37500 }
37501 {
37502 PyDict_SetItemString(d,"DIRCTRL_3D_INTERNAL", SWIG_From_int((int)(wxDIRCTRL_3D_INTERNAL)));
37503 }
37504 {
37505 PyDict_SetItemString(d,"DIRCTRL_EDIT_LABELS", SWIG_From_int((int)(wxDIRCTRL_EDIT_LABELS)));
37506 }
37507 {
37508 PyDict_SetItemString(d,"FRAME_EX_CONTEXTHELP", SWIG_From_int((int)(wxFRAME_EX_CONTEXTHELP)));
37509 }
37510 {
37511 PyDict_SetItemString(d,"DIALOG_EX_CONTEXTHELP", SWIG_From_int((int)(wxDIALOG_EX_CONTEXTHELP)));
37512 }
d55e5bfc
RD
37513 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
37514 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
37515
37516 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
37517
37518}
37519