]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/_controls_wrap.cpp
wx.Rect.Inflate/Defalte docs
[wxWidgets.git] / wxPython / src / msw / _controls_wrap.cpp
CommitLineData
d55e5bfc
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
093d3ff1 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);
093d3ff1 26};
d55e5bfc
RD
27#endif
28
29
093d3ff1
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
093d3ff1 39#include <Python.h>
d55e5bfc
RD
40
41/***********************************************************************
093d3ff1 42 * swigrun.swg
d55e5bfc 43 *
093d3ff1
RD
44 * This file contains generic CAPI SWIG runtime support for pointer
45 * type checking.
d55e5bfc
RD
46 *
47 ************************************************************************/
48
093d3ff1
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
093d3ff1
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
093d3ff1 59#define SWIG_TYPE_TABLE_NAME
d55e5bfc
RD
60#endif
61
093d3ff1
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
093d3ff1
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
093d3ff1
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
093d3ff1
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
093d3ff1
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/***********************************************************************
093d3ff1
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 *
093d3ff1 442 * Author : David Beazley (beazley@cs.uchicago.edu)
d55e5bfc 443 *
093d3ff1
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
093d3ff1
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
093d3ff1 466/*************************************************************************/
d55e5bfc 467
d55e5bfc 468
093d3ff1 469/* The static type info list */
d55e5bfc 470
093d3ff1
RD
471static swig_type_info *swig_type_list = 0;
472static swig_type_info **swig_type_list_handle = &swig_type_list;
473
d55e5bfc 474
093d3ff1
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
093d3ff1
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
093d3ff1
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
093d3ff1
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
093d3ff1
RD
507/* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
d55e5bfc 510
093d3ff1
RD
511#ifdef __cplusplus
512extern "C" {
513#endif
c32bde28 514
093d3ff1
RD
515/* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
d55e5bfc 518
093d3ff1
RD
519#ifndef SWIGINTERN
520#define SWIGINTERN static
521#endif
d55e5bfc 522
093d3ff1
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
093d3ff1
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
093d3ff1
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
c32bde28 569
093d3ff1
RD
570/* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
c32bde28
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
093d3ff1
RD
578}
579#endif
d55e5bfc 580
d55e5bfc 581
093d3ff1
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
093d3ff1
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
093d3ff1
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
093d3ff1
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
093d3ff1
RD
615/* Flags for pointer conversion */
616#define SWIG_POINTER_EXCEPTION 0x1
617#define SWIG_POINTER_DISOWN 0x2
d55e5bfc 618
d55e5bfc 619
093d3ff1
RD
620#ifdef __cplusplus
621extern "C" {
622#endif
d55e5bfc 623
093d3ff1
RD
624/* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
d55e5bfc 627
093d3ff1
RD
628#ifndef SWIG_BUFFER_SIZE
629#define SWIG_BUFFER_SIZE 1024
630#endif
d55e5bfc 631
093d3ff1
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
093d3ff1
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{
093d3ff1
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 }
093d3ff1
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
093d3ff1
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
093d3ff1
RD
674SWIGRUNTIME PyObject *
675PySwigObject_long(PySwigObject *v)
d55e5bfc 676{
093d3ff1
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
093d3ff1
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
093d3ff1
RD
700SWIGRUNTIME int
701PySwigObject_compare(PySwigObject *v, PySwigObject *w)
702{
703 int c = strcmp(v->desc, w->desc);
704 if (c) {
705 return c;
c32bde28 706 } else {
093d3ff1
RD
707 void *i = v->ptr;
708 void *j = w->ptr;
709 return (i < j) ? -1 : (i > j) ? 1 : 0;
c32bde28 710 }
d55e5bfc 711}
093d3ff1
RD
712
713SWIGRUNTIME void
714PySwigObject_dealloc(PySwigObject *self)
c32bde28 715{
093d3ff1 716 PyObject_DEL(self);
c32bde28 717}
093d3ff1
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
093d3ff1
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
093d3ff1
RD
798 PySwigObject_Type = tmp;
799 type_init = 1;
800 }
d55e5bfc 801
093d3ff1
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 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\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
c32bde28 1536SWIG_As_int(PyObject* obj)
d55e5bfc 1537{
c32bde28
RD
1538 int v;
1539 if (!SWIG_AsVal_int(obj, &v)) {
1540 /*
093d3ff1 1541 this is needed to make valgrind/purify happier.
c32bde28
RD
1542 */
1543 memset((void*)&v, 0, sizeof(int));
d55e5bfc 1544 }
c32bde28 1545 return v;
d55e5bfc
RD
1546}
1547
1548
093d3ff1 1549SWIGINTERNSHORT long
c32bde28 1550SWIG_As_long(PyObject* obj)
d55e5bfc 1551{
c32bde28
RD
1552 long v;
1553 if (!SWIG_AsVal_long(obj, &v)) {
1554 /*
093d3ff1 1555 this is needed to make valgrind/purify happier.
c32bde28
RD
1556 */
1557 memset((void*)&v, 0, sizeof(long));
d55e5bfc 1558 }
c32bde28 1559 return v;
d55e5bfc
RD
1560}
1561
c32bde28 1562
093d3ff1 1563SWIGINTERNSHORT int
c32bde28
RD
1564SWIG_Check_int(PyObject* obj)
1565{
1566 return SWIG_AsVal_int(obj, (int*)0);
1567}
d55e5bfc 1568
c32bde28 1569
093d3ff1 1570SWIGINTERNSHORT int
c32bde28 1571SWIG_Check_long(PyObject* obj)
d55e5bfc 1572{
c32bde28 1573 return SWIG_AsVal_long(obj, (long*)0);
d55e5bfc
RD
1574}
1575
c32bde28 1576 static const wxString wxPyCheckBoxNameStr(wxCheckBoxNameStr);
d55e5bfc 1577
093d3ff1 1578SWIGINTERN int
c32bde28 1579 SWIG_AsVal_bool(PyObject *obj, bool *val)
d55e5bfc 1580{
c32bde28
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 }
c32bde28
RD
1589 int res = 0;
1590 if (SWIG_AsVal_int(obj, &res)) {
093d3ff1 1591 if (val) *val = res ? true : false;
c32bde28 1592 return 1;
093d3ff1
RD
1593 } else {
1594 PyErr_Clear();
1595 }
c32bde28 1596 if (val) {
093d3ff1 1597 SWIG_type_error("bool", obj);
c32bde28
RD
1598 }
1599 return 0;
1600}
1601
1602
093d3ff1 1603SWIGINTERNSHORT bool
c32bde28
RD
1604SWIG_As_bool(PyObject* obj)
1605{
1606 bool v;
1607 if (!SWIG_AsVal_bool(obj, &v)) {
1608 /*
093d3ff1 1609 this is needed to make valgrind/purify happier.
c32bde28
RD
1610 */
1611 memset((void*)&v, 0, sizeof(bool));
1612 }
1613 return v;
1614}
1615
1616
093d3ff1 1617SWIGINTERNSHORT int
c32bde28
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);
f78cc896 1625
093d3ff1
RD
1626 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1627#define SWIG_From_long PyInt_FromLong
1628/*@@*/
1629
1630
f78cc896
RD
1631 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
1632 PyObject* o2;
1633 PyObject* o3;
1634
1635 if (!target) {
1636 target = o;
1637 } else if (target == Py_None) {
1638 Py_DECREF(Py_None);
1639 target = o;
1640 } else {
1641 if (!PyTuple_Check(target)) {
1642 o2 = target;
1643 target = PyTuple_New(1);
1644 PyTuple_SetItem(target, 0, o2);
1645 }
1646 o3 = PyTuple_New(1);
1647 PyTuple_SetItem(o3, 0, o);
1648
1649 o2 = target;
1650 target = PySequence_Concat(o2, o3);
1651 Py_DECREF(o2);
1652 Py_DECREF(o3);
1653 }
1654 return target;
1655 }
1656
1657
d55e5bfc
RD
1658 static const wxString wxPyGaugeNameStr(wxGaugeNameStr);
1659 static const wxString wxPyStaticBitmapNameStr(wxStaticBitmapNameStr);
1660 static const wxString wxPyStaticBoxNameStr(wxStaticBoxNameStr);
1661 static const wxString wxPyStaticTextNameStr(wxStaticTextNameStr);
1662
1663#include <wx/checklst.h>
1664
1665
1666 static const wxString wxPyListBoxNameStr(wxListBoxNameStr);
093d3ff1 1667static void wxListBox_Insert(wxListBox *self,wxString const &item,int pos,PyObject *clientData=NULL){
d55e5bfc
RD
1668 if (clientData) {
1669 wxPyClientData* data = new wxPyClientData(clientData);
1670 self->Insert(item, pos, data);
1671 } else
1672 self->Insert(item, pos);
1673 }
093d3ff1 1674static PyObject *wxListBox_GetSelections(wxListBox *self){
d55e5bfc
RD
1675 wxArrayInt lst;
1676 self->GetSelections(lst);
1677 PyObject *tup = PyTuple_New(lst.GetCount());
1678 for(size_t i=0; i<lst.GetCount(); i++) {
1679 PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
1680 }
1681 return tup;
1682 }
093d3ff1 1683static void wxListBox_SetItemForegroundColour(wxListBox *self,int item,wxColour const &c){
d55e5bfc
RD
1684 #ifdef __WXMSW__
1685 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
1686 self->GetItem(item)->SetTextColour(c);
1687 #endif
1688 }
093d3ff1 1689static void wxListBox_SetItemBackgroundColour(wxListBox *self,int item,wxColour const &c){
d55e5bfc
RD
1690 #ifdef __WXMSW__
1691 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
1692 self->GetItem(item)->SetBackgroundColour(c);
1693 #endif
1694 }
093d3ff1 1695static void wxListBox_SetItemFont(wxListBox *self,int item,wxFont const &f){
d55e5bfc
RD
1696 #ifdef __WXMSW__
1697 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
1698 self->GetItem(item)->SetFont(f);
1699 #endif
1700 }
1701 static const wxString wxPyTextCtrlNameStr(wxTextCtrlNameStr);
1702
093d3ff1 1703SWIGINTERN int
c32bde28 1704SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
d55e5bfc 1705{
c32bde28
RD
1706 long v = 0;
1707 if (SWIG_AsVal_long(obj, &v) && v < 0) {
093d3ff1 1708 SWIG_type_error("unsigned number", obj);
d55e5bfc 1709 }
c32bde28
RD
1710 else if (val)
1711 *val = (unsigned long)v;
1712 return 1;
d55e5bfc
RD
1713}
1714
1715
093d3ff1 1716SWIGINTERNSHORT unsigned long
c32bde28 1717SWIG_As_unsigned_SS_long(PyObject* obj)
d55e5bfc 1718{
c32bde28
RD
1719 unsigned long v;
1720 if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) {
1721 /*
093d3ff1 1722 this is needed to make valgrind/purify happier.
c32bde28
RD
1723 */
1724 memset((void*)&v, 0, sizeof(unsigned long));
d55e5bfc 1725 }
c32bde28
RD
1726 return v;
1727}
1728
1729
093d3ff1 1730SWIGINTERNSHORT int
c32bde28
RD
1731SWIG_Check_unsigned_SS_long(PyObject* obj)
1732{
1733 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
d55e5bfc
RD
1734}
1735
093d3ff1 1736static void wxTextCtrl_write(wxTextCtrl *self,wxString const &text){
d55e5bfc
RD
1737 self->AppendText(text);
1738 }
093d3ff1 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
093d3ff1 1774SWIGINTERNSHORT PyObject*
c32bde28 1775 SWIG_From_unsigned_SS_long(unsigned long value)
d55e5bfc
RD
1776{
1777 return (value > LONG_MAX) ?
1778 PyLong_FromUnsignedLong(value)
093d3ff1 1779 : PyInt_FromLong((long)(value));
d55e5bfc
RD
1780}
1781
1782 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
093d3ff1 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 }
093d3ff1 1793static void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject *clientData){
d55e5bfc
RD
1794 self->SetClientData(new wxPyUserData(clientData));
1795 }
093d3ff1 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 }
093d3ff1 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 }
093d3ff1 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 }
093d3ff1 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
fef4c27a 1826 static const wxString wxPyListCtrlNameStr(wxListCtrlNameStr);
093d3ff1 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
093d3ff1 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 }
093d3ff1 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 }
093d3ff1 1907static wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
d55e5bfc
RD
1908 wxPoint pos;
1909 self->GetItemPosition(item, pos);
1910 return pos;
1911 }
093d3ff1 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 }
c32bde28 1917
093d3ff1 1918static bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
d55e5bfc 1919 if (!PyCallable_Check(func))
ae8162c8 1920 return false;
d55e5bfc
RD
1921 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
1922 }
093d3ff1 1923static wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
d55e5bfc
RD
1924
1925 return self;
1926
1927
1928
1929 }
1930
1931#include <wx/treectrl.h>
1932#include "wx/wxPython/pytree.h"
1933
1934 static const wxString wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
093d3ff1
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"))) {
ae8162c8
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
093d3ff1 1986/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
c32bde28
RD
1987#define SWIG_From_unsigned_SS_int SWIG_From_long
1988/*@@*/
d55e5bfc 1989#else
093d3ff1 1990/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
c32bde28
RD
1991#define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
1992/*@@*/
d55e5bfc
RD
1993#endif
1994
1995
093d3ff1 1996SWIGINTERNSHORT int
c32bde28
RD
1997 SWIG_CheckUnsignedLongInRange(unsigned long value,
1998 unsigned long max_value,
1999 const char *errmsg)
d55e5bfc 2000{
c32bde28
RD
2001 if (value > max_value) {
2002 if (errmsg) {
2003 PyErr_Format(PyExc_OverflowError,
093d3ff1 2004 "value %lu is greater than '%s' minimum %lu",
c32bde28 2005 value, errmsg, max_value);
d55e5bfc 2006 }
c32bde28 2007 return 0;
d55e5bfc 2008 }
c32bde28
RD
2009 return 1;
2010 }
d55e5bfc
RD
2011
2012
2013#if UINT_MAX != ULONG_MAX
093d3ff1 2014SWIGINTERN int
c32bde28 2015 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
d55e5bfc 2016{
093d3ff1 2017 const char* errmsg = val ? "unsigned int" : (char*)0;
c32bde28
RD
2018 unsigned long v;
2019 if (SWIG_AsVal_unsigned_SS_long(obj, &v)) {
2020 if (SWIG_CheckUnsignedLongInRange(v, INT_MAX, errmsg)) {
093d3ff1 2021 if (val) *val = (unsigned int)(v);
c32bde28
RD
2022 return 1;
2023 }
2024 } else {
2025 PyErr_Clear();
2026 }
2027 if (val) {
093d3ff1 2028 SWIG_type_error(errmsg, obj);
c32bde28
RD
2029 }
2030 return 0;
d55e5bfc
RD
2031}
2032#else
093d3ff1 2033SWIGINTERNSHORT unsigned int
c32bde28
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
093d3ff1 2041SWIGINTERNSHORT unsigned int
c32bde28 2042SWIG_As_unsigned_SS_int(PyObject* obj)
d55e5bfc 2043{
c32bde28
RD
2044 unsigned int v;
2045 if (!SWIG_AsVal_unsigned_SS_int(obj, &v)) {
2046 /*
093d3ff1 2047 this is needed to make valgrind/purify happier.
c32bde28
RD
2048 */
2049 memset((void*)&v, 0, sizeof(unsigned int));
d55e5bfc 2050 }
c32bde28
RD
2051 return v;
2052}
2053
2054
093d3ff1 2055SWIGINTERNSHORT int
c32bde28
RD
2056SWIG_Check_unsigned_SS_int(PyObject* obj)
2057{
2058 return SWIG_AsVal_unsigned_SS_int(obj, (unsigned int*)0);
d55e5bfc
RD
2059}
2060
093d3ff1 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 }
093d3ff1 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 }
093d3ff1 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 }
093d3ff1 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 }
093d3ff1 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));
ae8162c8 2100 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), true);
d55e5bfc 2101 PyList_Append(rval, item);
a07a67e6 2102 Py_DECREF(item);
d55e5bfc
RD
2103 }
2104 wxPyEndBlockThreads(blocked);
2105 return rval;
2106 }
093d3ff1 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);
ae8162c8 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 }
093d3ff1 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);
ae8162c8 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 }
093d3ff1 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);
ae8162c8 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);
c32bde28 2139
093d3ff1 2140SWIGINTERNSHORT PyObject*
c32bde28
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
caef1a4d 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
caef1a4d 2189 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
d55e5bfc 2190 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
caef1a4d 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
caef1a4d 2224IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, ShouldInheritColours);
d55e5bfc 2225IMP_PYCALLBACK__COLOUR(wxPyControl, wxControl, ApplyParentThemeBackground);
caef1a4d 2226IMP_PYCALLBACK_VIZATTR_(wxPyControl, wxControl, GetDefaultAttributes);
d55e5bfc 2227
51b83b37
RD
2228IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, HasTransparentBackground);
2229
d55e5bfc
RD
2230
2231
093d3ff1 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
c32bde28 2239static int _wrap_ButtonNameStr_set(PyObject *) {
d55e5bfc
RD
2240 PyErr_SetString(PyExc_TypeError,"Variable ButtonNameStr is read-only.");
2241 return 1;
2242}
2243
2244
093d3ff1 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
c32bde28 2259static PyObject *_wrap_new_Button(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2260 PyObject *resultobj;
2261 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
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;
ae8162c8 2275 bool temp3 = false ;
d55e5bfc
RD
2276 wxPoint temp4 ;
2277 wxSize temp5 ;
ae8162c8 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
248ed943 2291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Button",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
2292 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2293 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 2294 if (obj1) {
093d3ff1
RD
2295 {
2296 arg2 = (int)(SWIG_As_int(obj1));
2297 if (SWIG_arg_fail(2)) SWIG_fail;
2298 }
248ed943
RD
2299 }
2300 if (obj2) {
2301 {
2302 arg3 = wxString_in_helper(obj2);
2303 if (arg3 == NULL) SWIG_fail;
ae8162c8 2304 temp3 = true;
248ed943 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) {
093d3ff1
RD
2320 {
2321 arg6 = (long)(SWIG_As_long(obj5));
2322 if (SWIG_arg_fail(6)) SWIG_fail;
2323 }
d55e5bfc
RD
2324 }
2325 if (obj6) {
093d3ff1
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;
ae8162c8 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
c32bde28 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
c32bde28 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 ;
248ed943
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;
ae8162c8 2413 bool temp4 = false ;
d55e5bfc
RD
2414 wxPoint temp5 ;
2415 wxSize temp6 ;
ae8162c8 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
248ed943 2430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Button_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
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;
248ed943 2435 if (obj2) {
093d3ff1
RD
2436 {
2437 arg3 = (int)(SWIG_As_int(obj2));
2438 if (SWIG_arg_fail(3)) SWIG_fail;
2439 }
248ed943
RD
2440 }
2441 if (obj3) {
2442 {
2443 arg4 = wxString_in_helper(obj3);
2444 if (arg4 == NULL) SWIG_fail;
ae8162c8 2445 temp4 = true;
248ed943 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) {
093d3ff1
RD
2461 {
2462 arg7 = (long)(SWIG_As_long(obj6));
2463 if (SWIG_arg_fail(7)) SWIG_fail;
2464 }
d55e5bfc
RD
2465 }
2466 if (obj7) {
093d3ff1
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;
ae8162c8 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
c32bde28 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;
093d3ff1
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
c32bde28 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;
093d3ff1 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
c32bde28 2566static PyObject *_wrap_Button_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 2567 PyObject *resultobj;
093d3ff1 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) {
093d3ff1
RD
2577 {
2578 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
2579 if (SWIG_arg_fail(1)) SWIG_fail;
2580 }
f20a2e1f
RD
2581 }
2582 {
19272049 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;
093d3ff1 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
c32bde28 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}
c32bde28 2608static PyObject *_wrap_new_BitmapButton(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2609 PyObject *resultobj;
2610 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
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 ;
ae8162c8 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
248ed943 2639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_BitmapButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
2640 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2641 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 2642 if (obj1) {
093d3ff1
RD
2643 {
2644 arg2 = (int)(SWIG_As_int(obj1));
2645 if (SWIG_arg_fail(2)) SWIG_fail;
2646 }
248ed943
RD
2647 }
2648 if (obj2) {
093d3ff1
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;
248ed943 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) {
093d3ff1
RD
2671 {
2672 arg6 = (long)(SWIG_As_long(obj5));
2673 if (SWIG_arg_fail(6)) SWIG_fail;
2674 }
d55e5bfc
RD
2675 }
2676 if (obj6) {
093d3ff1
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;
ae8162c8 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
c32bde28 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
c32bde28 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 ;
248ed943
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 ;
ae8162c8 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
248ed943 2772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
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;
248ed943 2777 if (obj2) {
093d3ff1
RD
2778 {
2779 arg3 = (int)(SWIG_As_int(obj2));
2780 if (SWIG_arg_fail(3)) SWIG_fail;
2781 }
248ed943
RD
2782 }
2783 if (obj3) {
093d3ff1
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;
248ed943 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) {
093d3ff1
RD
2806 {
2807 arg7 = (long)(SWIG_As_long(obj6));
2808 if (SWIG_arg_fail(7)) SWIG_fail;
2809 }
d55e5bfc
RD
2810 }
2811 if (obj7) {
093d3ff1
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;
ae8162c8 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
c32bde28 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;
093d3ff1
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;
093d3ff1 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
c32bde28 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;
093d3ff1
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;
093d3ff1 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
c32bde28 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;
093d3ff1
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;
093d3ff1 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
c32bde28 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;
093d3ff1
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;
093d3ff1 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
c32bde28 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;
093d3ff1
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
c32bde28 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;
093d3ff1
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
c32bde28 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;
093d3ff1
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
c32bde28 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;
093d3ff1
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
c32bde28 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;
093d3ff1
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
c32bde28 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;
093d3ff1
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 }
093d3ff1
RD
3168 {
3169 resultobj = SWIG_From_int((int)(result));
3170 }
d55e5bfc
RD
3171 return resultobj;
3172 fail:
3173 return NULL;
3174}
3175
3176
c32bde28 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;
093d3ff1
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 }
093d3ff1
RD
3196 {
3197 resultobj = SWIG_From_int((int)(result));
3198 }
d55e5bfc
RD
3199 return resultobj;
3200 fail:
3201 return NULL;
3202}
3203
3204
c32bde28 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}
c32bde28 3212static int _wrap_CheckBoxNameStr_set(PyObject *) {
d55e5bfc
RD
3213 PyErr_SetString(PyExc_TypeError,"Variable CheckBoxNameStr is read-only.");
3214 return 1;
3215}
3216
3217
093d3ff1 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
c32bde28 3232static PyObject *_wrap_new_CheckBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3233 PyObject *resultobj;
3234 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
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;
ae8162c8 3248 bool temp3 = false ;
d55e5bfc
RD
3249 wxPoint temp4 ;
3250 wxSize temp5 ;
ae8162c8 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
248ed943 3264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
3265 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3266 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 3267 if (obj1) {
093d3ff1
RD
3268 {
3269 arg2 = (int)(SWIG_As_int(obj1));
3270 if (SWIG_arg_fail(2)) SWIG_fail;
3271 }
248ed943
RD
3272 }
3273 if (obj2) {
3274 {
3275 arg3 = wxString_in_helper(obj2);
3276 if (arg3 == NULL) SWIG_fail;
ae8162c8 3277 temp3 = true;
248ed943 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) {
093d3ff1
RD
3293 {
3294 arg6 = (long)(SWIG_As_long(obj5));
3295 if (SWIG_arg_fail(6)) SWIG_fail;
3296 }
d55e5bfc
RD
3297 }
3298 if (obj6) {
093d3ff1
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;
ae8162c8 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
c32bde28 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
c32bde28 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 ;
248ed943
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;
ae8162c8 3386 bool temp4 = false ;
d55e5bfc
RD
3387 wxPoint temp5 ;
3388 wxSize temp6 ;
ae8162c8 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
248ed943 3403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
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;
248ed943 3408 if (obj2) {
093d3ff1
RD
3409 {
3410 arg3 = (int)(SWIG_As_int(obj2));
3411 if (SWIG_arg_fail(3)) SWIG_fail;
3412 }
248ed943
RD
3413 }
3414 if (obj3) {
3415 {
3416 arg4 = wxString_in_helper(obj3);
3417 if (arg4 == NULL) SWIG_fail;
ae8162c8 3418 temp4 = true;
248ed943 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) {
093d3ff1
RD
3434 {
3435 arg7 = (long)(SWIG_As_long(obj6));
3436 if (SWIG_arg_fail(7)) SWIG_fail;
3437 }
d55e5bfc
RD
3438 }
3439 if (obj7) {
093d3ff1
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;
ae8162c8 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
c32bde28 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;
093d3ff1
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
c32bde28 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;
093d3ff1
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
c32bde28 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;
093d3ff1
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
c32bde28 3575static PyObject *_wrap_CheckBox_Get3StateValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3576 PyObject *resultobj;
3577 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
093d3ff1 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;
093d3ff1
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();
093d3ff1 3589 result = (wxCheckBoxState)((wxCheckBox const *)arg1)->Get3StateValue();
d55e5bfc
RD
3590
3591 wxPyEndAllowThreads(__tstate);
3592 if (PyErr_Occurred()) SWIG_fail;
3593 }
093d3ff1 3594 resultobj = SWIG_From_int((result));
d55e5bfc
RD
3595 return resultobj;
3596 fail:
3597 return NULL;
3598}
3599
3600
c32bde28 3601static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3602 PyObject *resultobj;
3603 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
093d3ff1 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;
093d3ff1
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
c32bde28 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;
093d3ff1
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
c32bde28 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;
093d3ff1
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
c32bde28 3688static PyObject *_wrap_CheckBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 3689 PyObject *resultobj;
093d3ff1 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) {
093d3ff1
RD
3699 {
3700 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
3701 if (SWIG_arg_fail(1)) SWIG_fail;
3702 }
f20a2e1f
RD
3703 }
3704 {
19272049 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;
093d3ff1 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
c32bde28 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}
c32bde28 3730static int _wrap_ChoiceNameStr_set(PyObject *) {
d55e5bfc
RD
3731 PyErr_SetString(PyExc_TypeError,"Variable ChoiceNameStr is read-only.");
3732 return 1;
3733}
3734
3735
093d3ff1 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
c32bde28 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 ;
ae8162c8
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;
093d3ff1
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) {
093d3ff1
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;
ae8162c8 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) {
093d3ff1
RD
3827 {
3828 arg6 = (long)(SWIG_As_long(obj5));
3829 if (SWIG_arg_fail(6)) SWIG_fail;
3830 }
d55e5bfc
RD
3831 }
3832 if (obj6) {
093d3ff1
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;
ae8162c8 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
c32bde28 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
c32bde28 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 ;
ae8162c8
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;
093d3ff1
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) {
093d3ff1
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;
ae8162c8 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) {
093d3ff1
RD
3982 {
3983 arg7 = (long)(SWIG_As_long(obj6));
3984 if (SWIG_arg_fail(7)) SWIG_fail;
3985 }
d55e5bfc
RD
3986 }
3987 if (obj7) {
093d3ff1
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;
ae8162c8 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
c32bde28 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;
093d3ff1
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
c32bde28 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;
ae8162c8 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;
093d3ff1
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;
ae8162c8 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
c32bde28 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 ;
ae8162c8 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;
093d3ff1
RD
4123 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoice, SWIG_POINTER_EXCEPTION | 0);
4124 if (SWIG_arg_fail(1)) SWIG_fail;
4125 {
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;
ae8162c8 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
c32bde28 4156static PyObject *_wrap_Choice_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 4157 PyObject *resultobj;
093d3ff1 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) {
093d3ff1
RD
4167 {
4168 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
4169 if (SWIG_arg_fail(1)) SWIG_fail;
4170 }
f20a2e1f
RD
4171 }
4172 {
19272049 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;
093d3ff1 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
c32bde28 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}
c32bde28 4198static int _wrap_ComboBoxNameStr_set(PyObject *) {
d55e5bfc
RD
4199 PyErr_SetString(PyExc_TypeError,"Variable ComboBoxNameStr is read-only.");
4200 return 1;
4201}
4202
4203
093d3ff1 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
c32bde28 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;
ae8162c8 4236 bool temp3 = false ;
d55e5bfc
RD
4237 wxPoint temp4 ;
4238 wxSize temp5 ;
ae8162c8
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;
093d3ff1
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) {
093d3ff1
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;
ae8162c8 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;
ae8162c8 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) {
093d3ff1
RD
4306 {
4307 arg7 = (long)(SWIG_As_long(obj6));
4308 if (SWIG_arg_fail(7)) SWIG_fail;
4309 }
d55e5bfc
RD
4310 }
4311 if (obj7) {
093d3ff1
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;
ae8162c8 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
c32bde28 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
c32bde28 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;
ae8162c8 4407 bool temp4 = false ;
d55e5bfc
RD
4408 wxPoint temp5 ;
4409 wxSize temp6 ;
ae8162c8
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;
093d3ff1
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) {
093d3ff1
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;
ae8162c8 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;
ae8162c8 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) {
093d3ff1
RD
4480 {
4481 arg8 = (long)(SWIG_As_long(obj7));
4482 if (SWIG_arg_fail(8)) SWIG_fail;
4483 }
d55e5bfc
RD
4484 }
4485 if (obj8) {
093d3ff1
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;
ae8162c8 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
c32bde28 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;
093d3ff1
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
c32bde28 4572static PyObject *_wrap_ComboBox_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4573 PyObject *resultobj;
4574 wxComboBox *arg1 = (wxComboBox *) 0 ;
4575 wxString *arg2 = 0 ;
ae8162c8 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;
093d3ff1
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;
ae8162c8 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
c32bde28 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;
093d3ff1
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
c32bde28 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;
093d3ff1
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
c32bde28 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;
093d3ff1
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
c32bde28 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;
093d3ff1
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
c32bde28 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;
093d3ff1
RD
4729 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4730 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4731 {
4732 PyThreadState* __tstate = wxPyBeginAllowThreads();
4733 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
4734
4735 wxPyEndAllowThreads(__tstate);
4736 if (PyErr_Occurred()) SWIG_fail;
4737 }
093d3ff1
RD
4738 {
4739 resultobj = SWIG_From_long((long)(result));
4740 }
d55e5bfc
RD
4741 return resultobj;
4742 fail:
4743 return NULL;
4744}
4745
4746
c32bde28 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;
093d3ff1
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 }
093d3ff1
RD
4766 {
4767 resultobj = SWIG_From_long((long)(result));
4768 }
d55e5bfc
RD
4769 return resultobj;
4770 fail:
4771 return NULL;
4772}
4773
4774
c32bde28 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 ;
ae8162c8 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;
093d3ff1
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;
ae8162c8 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
c32bde28 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;
093d3ff1
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
c32bde28 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;
093d3ff1
RD
4872 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4873 if (SWIG_arg_fail(1)) SWIG_fail;
4874 {
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
f78cc896
RD
4896static PyObject *_wrap_ComboBox_GetMark(PyObject *, PyObject *args, PyObject *kwargs) {
4897 PyObject *resultobj;
4898 wxComboBox *arg1 = (wxComboBox *) 0 ;
4899 long *arg2 = (long *) 0 ;
4900 long *arg3 = (long *) 0 ;
4901 long temp2 ;
4902 int res2 = 0 ;
4903 long temp3 ;
4904 int res3 = 0 ;
4905 PyObject * obj0 = 0 ;
4906 char *kwnames[] = {
4907 (char *) "self", NULL
4908 };
4909
4910 arg2 = &temp2; res2 = SWIG_NEWOBJ;
4911 arg3 = &temp3; res3 = SWIG_NEWOBJ;
4912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetMark",kwnames,&obj0)) goto fail;
093d3ff1
RD
4913 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4914 if (SWIG_arg_fail(1)) SWIG_fail;
f78cc896
RD
4915 {
4916 PyThreadState* __tstate = wxPyBeginAllowThreads();
4917 (arg1)->GetSelection(arg2,arg3);
4918
4919 wxPyEndAllowThreads(__tstate);
4920 if (PyErr_Occurred()) SWIG_fail;
4921 }
4922 Py_INCREF(Py_None); resultobj = Py_None;
4923 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
4924 SWIG_From_long((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, 0)));
4925 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
4926 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
4927 return resultobj;
4928 fail:
4929 return NULL;
4930}
4931
4932
c32bde28 4933static PyObject *_wrap_ComboBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
121b9a67
RD
4934 PyObject *resultobj;
4935 wxComboBox *arg1 = (wxComboBox *) 0 ;
4936 wxString *arg2 = 0 ;
4937 bool result;
ae8162c8 4938 bool temp2 = false ;
121b9a67
RD
4939 PyObject * obj0 = 0 ;
4940 PyObject * obj1 = 0 ;
4941 char *kwnames[] = {
4942 (char *) "self",(char *) "string", NULL
4943 };
4944
4945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4946 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4947 if (SWIG_arg_fail(1)) SWIG_fail;
121b9a67
RD
4948 {
4949 arg2 = wxString_in_helper(obj1);
4950 if (arg2 == NULL) SWIG_fail;
ae8162c8 4951 temp2 = true;
121b9a67
RD
4952 }
4953 {
4954 PyThreadState* __tstate = wxPyBeginAllowThreads();
4955 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
4956
4957 wxPyEndAllowThreads(__tstate);
4958 if (PyErr_Occurred()) SWIG_fail;
4959 }
4960 {
4961 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4962 }
4963 {
4964 if (temp2)
4965 delete arg2;
4966 }
4967 return resultobj;
4968 fail:
4969 {
4970 if (temp2)
4971 delete arg2;
4972 }
4973 return NULL;
4974}
4975
4976
c32bde28 4977static PyObject *_wrap_ComboBox_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
121b9a67
RD
4978 PyObject *resultobj;
4979 wxComboBox *arg1 = (wxComboBox *) 0 ;
4980 int arg2 ;
4981 wxString *arg3 = 0 ;
ae8162c8 4982 bool temp3 = false ;
121b9a67
RD
4983 PyObject * obj0 = 0 ;
4984 PyObject * obj1 = 0 ;
4985 PyObject * obj2 = 0 ;
4986 char *kwnames[] = {
4987 (char *) "self",(char *) "n",(char *) "string", NULL
4988 };
4989
4990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
4991 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4992 if (SWIG_arg_fail(1)) SWIG_fail;
4993 {
4994 arg2 = (int)(SWIG_As_int(obj1));
4995 if (SWIG_arg_fail(2)) SWIG_fail;
4996 }
121b9a67
RD
4997 {
4998 arg3 = wxString_in_helper(obj2);
4999 if (arg3 == NULL) SWIG_fail;
ae8162c8 5000 temp3 = true;
121b9a67
RD
5001 }
5002 {
5003 PyThreadState* __tstate = wxPyBeginAllowThreads();
5004 (arg1)->SetString(arg2,(wxString const &)*arg3);
5005
5006 wxPyEndAllowThreads(__tstate);
5007 if (PyErr_Occurred()) SWIG_fail;
5008 }
5009 Py_INCREF(Py_None); resultobj = Py_None;
5010 {
5011 if (temp3)
5012 delete arg3;
5013 }
5014 return resultobj;
5015 fail:
5016 {
5017 if (temp3)
5018 delete arg3;
5019 }
5020 return NULL;
5021}
5022
5023
c32bde28 5024static PyObject *_wrap_ComboBox_SetEditable(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5025 PyObject *resultobj;
5026 wxComboBox *arg1 = (wxComboBox *) 0 ;
5027 bool arg2 ;
5028 PyObject * obj0 = 0 ;
5029 PyObject * obj1 = 0 ;
5030 char *kwnames[] = {
5031 (char *) "self",(char *) "editable", NULL
5032 };
5033
5034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5035 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5036 if (SWIG_arg_fail(1)) SWIG_fail;
5037 {
5038 arg2 = (bool)(SWIG_As_bool(obj1));
5039 if (SWIG_arg_fail(2)) SWIG_fail;
5040 }
d55e5bfc
RD
5041 {
5042 PyThreadState* __tstate = wxPyBeginAllowThreads();
5043 (arg1)->SetEditable(arg2);
5044
5045 wxPyEndAllowThreads(__tstate);
5046 if (PyErr_Occurred()) SWIG_fail;
5047 }
5048 Py_INCREF(Py_None); resultobj = Py_None;
5049 return resultobj;
5050 fail:
5051 return NULL;
5052}
5053
5054
c32bde28 5055static PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5056 PyObject *resultobj;
5057 wxComboBox *arg1 = (wxComboBox *) 0 ;
5058 PyObject * obj0 = 0 ;
5059 char *kwnames[] = {
5060 (char *) "self", NULL
5061 };
5062
5063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
093d3ff1
RD
5064 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5065 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5066 {
5067 PyThreadState* __tstate = wxPyBeginAllowThreads();
5068 (arg1)->SetInsertionPointEnd();
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
c32bde28 5080static PyObject *_wrap_ComboBox_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5081 PyObject *resultobj;
5082 wxComboBox *arg1 = (wxComboBox *) 0 ;
5083 long arg2 ;
5084 long arg3 ;
5085 PyObject * obj0 = 0 ;
5086 PyObject * obj1 = 0 ;
5087 PyObject * obj2 = 0 ;
5088 char *kwnames[] = {
5089 (char *) "self",(char *) "from",(char *) "to", NULL
5090 };
5091
5092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
5093 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5094 if (SWIG_arg_fail(1)) SWIG_fail;
5095 {
5096 arg2 = (long)(SWIG_As_long(obj1));
5097 if (SWIG_arg_fail(2)) SWIG_fail;
5098 }
5099 {
5100 arg3 = (long)(SWIG_As_long(obj2));
5101 if (SWIG_arg_fail(3)) SWIG_fail;
5102 }
d55e5bfc
RD
5103 {
5104 PyThreadState* __tstate = wxPyBeginAllowThreads();
5105 (arg1)->Remove(arg2,arg3);
5106
5107 wxPyEndAllowThreads(__tstate);
5108 if (PyErr_Occurred()) SWIG_fail;
5109 }
5110 Py_INCREF(Py_None); resultobj = Py_None;
5111 return resultobj;
5112 fail:
5113 return NULL;
5114}
5115
5116
b519803b
RD
5117static PyObject *_wrap_ComboBox_IsEditable(PyObject *, PyObject *args, PyObject *kwargs) {
5118 PyObject *resultobj;
5119 wxComboBox *arg1 = (wxComboBox *) 0 ;
5120 bool result;
5121 PyObject * obj0 = 0 ;
5122 char *kwnames[] = {
5123 (char *) "self", NULL
5124 };
5125
5126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_IsEditable",kwnames,&obj0)) goto fail;
093d3ff1
RD
5127 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5128 if (SWIG_arg_fail(1)) SWIG_fail;
b519803b
RD
5129 {
5130 PyThreadState* __tstate = wxPyBeginAllowThreads();
5131 result = (bool)((wxComboBox const *)arg1)->IsEditable();
5132
5133 wxPyEndAllowThreads(__tstate);
5134 if (PyErr_Occurred()) SWIG_fail;
5135 }
5136 {
5137 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5138 }
5139 return resultobj;
5140 fail:
5141 return NULL;
5142}
5143
5144
5145static PyObject *_wrap_ComboBox_Undo(PyObject *, PyObject *args, PyObject *kwargs) {
5146 PyObject *resultobj;
5147 wxComboBox *arg1 = (wxComboBox *) 0 ;
5148 PyObject * obj0 = 0 ;
5149 char *kwnames[] = {
5150 (char *) "self", NULL
5151 };
5152
5153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Undo",kwnames,&obj0)) goto fail;
093d3ff1
RD
5154 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5155 if (SWIG_arg_fail(1)) SWIG_fail;
b519803b
RD
5156 {
5157 PyThreadState* __tstate = wxPyBeginAllowThreads();
5158 (arg1)->Undo();
5159
5160 wxPyEndAllowThreads(__tstate);
5161 if (PyErr_Occurred()) SWIG_fail;
5162 }
5163 Py_INCREF(Py_None); resultobj = Py_None;
5164 return resultobj;
5165 fail:
5166 return NULL;
5167}
5168
5169
5170static PyObject *_wrap_ComboBox_Redo(PyObject *, PyObject *args, PyObject *kwargs) {
5171 PyObject *resultobj;
5172 wxComboBox *arg1 = (wxComboBox *) 0 ;
5173 PyObject * obj0 = 0 ;
5174 char *kwnames[] = {
5175 (char *) "self", NULL
5176 };
5177
5178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Redo",kwnames,&obj0)) goto fail;
093d3ff1
RD
5179 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5180 if (SWIG_arg_fail(1)) SWIG_fail;
b519803b
RD
5181 {
5182 PyThreadState* __tstate = wxPyBeginAllowThreads();
5183 (arg1)->Redo();
5184
5185 wxPyEndAllowThreads(__tstate);
5186 if (PyErr_Occurred()) SWIG_fail;
5187 }
5188 Py_INCREF(Py_None); resultobj = Py_None;
5189 return resultobj;
5190 fail:
5191 return NULL;
5192}
5193
5194
5195static PyObject *_wrap_ComboBox_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
5196 PyObject *resultobj;
5197 wxComboBox *arg1 = (wxComboBox *) 0 ;
5198 PyObject * obj0 = 0 ;
5199 char *kwnames[] = {
5200 (char *) "self", NULL
5201 };
5202
5203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SelectAll",kwnames,&obj0)) goto fail;
093d3ff1
RD
5204 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5205 if (SWIG_arg_fail(1)) SWIG_fail;
b519803b
RD
5206 {
5207 PyThreadState* __tstate = wxPyBeginAllowThreads();
5208 (arg1)->SelectAll();
5209
5210 wxPyEndAllowThreads(__tstate);
5211 if (PyErr_Occurred()) SWIG_fail;
5212 }
5213 Py_INCREF(Py_None); resultobj = Py_None;
5214 return resultobj;
5215 fail:
5216 return NULL;
5217}
5218
5219
5220static PyObject *_wrap_ComboBox_CanCopy(PyObject *, PyObject *args, PyObject *kwargs) {
5221 PyObject *resultobj;
5222 wxComboBox *arg1 = (wxComboBox *) 0 ;
5223 bool result;
5224 PyObject * obj0 = 0 ;
5225 char *kwnames[] = {
5226 (char *) "self", NULL
5227 };
5228
5229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanCopy",kwnames,&obj0)) goto fail;
093d3ff1
RD
5230 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5231 if (SWIG_arg_fail(1)) SWIG_fail;
b519803b
RD
5232 {
5233 PyThreadState* __tstate = wxPyBeginAllowThreads();
5234 result = (bool)((wxComboBox const *)arg1)->CanCopy();
5235
5236 wxPyEndAllowThreads(__tstate);
5237 if (PyErr_Occurred()) SWIG_fail;
5238 }
5239 {
5240 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5241 }
5242 return resultobj;
5243 fail:
5244 return NULL;
5245}
5246
5247
5248static PyObject *_wrap_ComboBox_CanCut(PyObject *, PyObject *args, PyObject *kwargs) {
5249 PyObject *resultobj;
5250 wxComboBox *arg1 = (wxComboBox *) 0 ;
5251 bool result;
5252 PyObject * obj0 = 0 ;
5253 char *kwnames[] = {
5254 (char *) "self", NULL
5255 };
5256
5257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanCut",kwnames,&obj0)) goto fail;
093d3ff1
RD
5258 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5259 if (SWIG_arg_fail(1)) SWIG_fail;
b519803b
RD
5260 {
5261 PyThreadState* __tstate = wxPyBeginAllowThreads();
5262 result = (bool)((wxComboBox const *)arg1)->CanCut();
5263
5264 wxPyEndAllowThreads(__tstate);
5265 if (PyErr_Occurred()) SWIG_fail;
5266 }
5267 {
5268 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5269 }
5270 return resultobj;
5271 fail:
5272 return NULL;
5273}
5274
5275
5276static PyObject *_wrap_ComboBox_CanPaste(PyObject *, PyObject *args, PyObject *kwargs) {
5277 PyObject *resultobj;
5278 wxComboBox *arg1 = (wxComboBox *) 0 ;
5279 bool result;
5280 PyObject * obj0 = 0 ;
5281 char *kwnames[] = {
5282 (char *) "self", NULL
5283 };
5284
5285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanPaste",kwnames,&obj0)) goto fail;
093d3ff1
RD
5286 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5287 if (SWIG_arg_fail(1)) SWIG_fail;
b519803b
RD
5288 {
5289 PyThreadState* __tstate = wxPyBeginAllowThreads();
5290 result = (bool)((wxComboBox const *)arg1)->CanPaste();
5291
5292 wxPyEndAllowThreads(__tstate);
5293 if (PyErr_Occurred()) SWIG_fail;
5294 }
5295 {
5296 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5297 }
5298 return resultobj;
5299 fail:
5300 return NULL;
5301}
5302
5303
5304static PyObject *_wrap_ComboBox_CanUndo(PyObject *, PyObject *args, PyObject *kwargs) {
5305 PyObject *resultobj;
5306 wxComboBox *arg1 = (wxComboBox *) 0 ;
5307 bool result;
5308 PyObject * obj0 = 0 ;
5309 char *kwnames[] = {
5310 (char *) "self", NULL
5311 };
5312
5313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanUndo",kwnames,&obj0)) goto fail;
093d3ff1
RD
5314 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5315 if (SWIG_arg_fail(1)) SWIG_fail;
b519803b
RD
5316 {
5317 PyThreadState* __tstate = wxPyBeginAllowThreads();
5318 result = (bool)((wxComboBox const *)arg1)->CanUndo();
5319
5320 wxPyEndAllowThreads(__tstate);
5321 if (PyErr_Occurred()) SWIG_fail;
5322 }
5323 {
5324 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5325 }
5326 return resultobj;
5327 fail:
5328 return NULL;
5329}
5330
5331
5332static PyObject *_wrap_ComboBox_CanRedo(PyObject *, PyObject *args, PyObject *kwargs) {
5333 PyObject *resultobj;
5334 wxComboBox *arg1 = (wxComboBox *) 0 ;
5335 bool result;
5336 PyObject * obj0 = 0 ;
5337 char *kwnames[] = {
5338 (char *) "self", NULL
5339 };
5340
5341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanRedo",kwnames,&obj0)) goto fail;
093d3ff1
RD
5342 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5343 if (SWIG_arg_fail(1)) SWIG_fail;
b519803b
RD
5344 {
5345 PyThreadState* __tstate = wxPyBeginAllowThreads();
5346 result = (bool)((wxComboBox const *)arg1)->CanRedo();
5347
5348 wxPyEndAllowThreads(__tstate);
5349 if (PyErr_Occurred()) SWIG_fail;
5350 }
5351 {
5352 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5353 }
5354 return resultobj;
5355 fail:
5356 return NULL;
5357}
5358
5359
c32bde28 5360static PyObject *_wrap_ComboBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 5361 PyObject *resultobj;
093d3ff1 5362 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
5363 wxVisualAttributes result;
5364 PyObject * obj0 = 0 ;
5365 char *kwnames[] = {
5366 (char *) "variant", NULL
5367 };
5368
5369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5370 if (obj0) {
093d3ff1
RD
5371 {
5372 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
5373 if (SWIG_arg_fail(1)) SWIG_fail;
5374 }
f20a2e1f
RD
5375 }
5376 {
19272049 5377 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
5378 PyThreadState* __tstate = wxPyBeginAllowThreads();
5379 result = wxComboBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
5380
5381 wxPyEndAllowThreads(__tstate);
110da5b0 5382 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
5383 }
5384 {
5385 wxVisualAttributes * resultptr;
093d3ff1 5386 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
5387 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5388 }
5389 return resultobj;
5390 fail:
5391 return NULL;
5392}
5393
5394
c32bde28 5395static PyObject * ComboBox_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
5396 PyObject *obj;
5397 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5398 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox, obj);
5399 Py_INCREF(obj);
5400 return Py_BuildValue((char *)"");
5401}
c32bde28 5402static int _wrap_GaugeNameStr_set(PyObject *) {
d55e5bfc
RD
5403 PyErr_SetString(PyExc_TypeError,"Variable GaugeNameStr is read-only.");
5404 return 1;
5405}
5406
5407
093d3ff1 5408static PyObject *_wrap_GaugeNameStr_get(void) {
d55e5bfc
RD
5409 PyObject *pyobj;
5410
5411 {
5412#if wxUSE_UNICODE
5413 pyobj = PyUnicode_FromWideChar((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
5414#else
5415 pyobj = PyString_FromStringAndSize((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
5416#endif
5417 }
5418 return pyobj;
5419}
5420
5421
c32bde28 5422static PyObject *_wrap_new_Gauge(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5423 PyObject *resultobj;
5424 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
5425 int arg2 = (int) -1 ;
5426 int arg3 = (int) 100 ;
d55e5bfc
RD
5427 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5428 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5429 wxSize const &arg5_defvalue = wxDefaultSize ;
5430 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5431 long arg6 = (long) wxGA_HORIZONTAL ;
5432 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5433 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5434 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
5435 wxString *arg8 = (wxString *) &arg8_defvalue ;
5436 wxGauge *result;
5437 wxPoint temp4 ;
5438 wxSize temp5 ;
ae8162c8 5439 bool temp8 = false ;
d55e5bfc
RD
5440 PyObject * obj0 = 0 ;
5441 PyObject * obj1 = 0 ;
5442 PyObject * obj2 = 0 ;
5443 PyObject * obj3 = 0 ;
5444 PyObject * obj4 = 0 ;
5445 PyObject * obj5 = 0 ;
5446 PyObject * obj6 = 0 ;
5447 PyObject * obj7 = 0 ;
5448 char *kwnames[] = {
5449 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5450 };
5451
248ed943 5452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Gauge",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
5453 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5454 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 5455 if (obj1) {
093d3ff1
RD
5456 {
5457 arg2 = (int)(SWIG_As_int(obj1));
5458 if (SWIG_arg_fail(2)) SWIG_fail;
5459 }
248ed943
RD
5460 }
5461 if (obj2) {
093d3ff1
RD
5462 {
5463 arg3 = (int)(SWIG_As_int(obj2));
5464 if (SWIG_arg_fail(3)) SWIG_fail;
5465 }
248ed943 5466 }
d55e5bfc
RD
5467 if (obj3) {
5468 {
5469 arg4 = &temp4;
5470 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5471 }
5472 }
5473 if (obj4) {
5474 {
5475 arg5 = &temp5;
5476 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5477 }
5478 }
5479 if (obj5) {
093d3ff1
RD
5480 {
5481 arg6 = (long)(SWIG_As_long(obj5));
5482 if (SWIG_arg_fail(6)) SWIG_fail;
5483 }
d55e5bfc
RD
5484 }
5485 if (obj6) {
093d3ff1
RD
5486 {
5487 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
5488 if (SWIG_arg_fail(7)) SWIG_fail;
5489 if (arg7 == NULL) {
5490 SWIG_null_ref("wxValidator");
5491 }
5492 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
5493 }
5494 }
5495 if (obj7) {
5496 {
5497 arg8 = wxString_in_helper(obj7);
5498 if (arg8 == NULL) SWIG_fail;
ae8162c8 5499 temp8 = true;
d55e5bfc
RD
5500 }
5501 }
5502 {
0439c23b 5503 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5504 PyThreadState* __tstate = wxPyBeginAllowThreads();
5505 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
5506
5507 wxPyEndAllowThreads(__tstate);
110da5b0 5508 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5509 }
5510 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
5511 {
5512 if (temp8)
5513 delete arg8;
5514 }
5515 return resultobj;
5516 fail:
5517 {
5518 if (temp8)
5519 delete arg8;
5520 }
5521 return NULL;
5522}
5523
5524
c32bde28 5525static PyObject *_wrap_new_PreGauge(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5526 PyObject *resultobj;
5527 wxGauge *result;
5528 char *kwnames[] = {
5529 NULL
5530 };
5531
5532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGauge",kwnames)) goto fail;
5533 {
0439c23b 5534 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5535 PyThreadState* __tstate = wxPyBeginAllowThreads();
5536 result = (wxGauge *)new wxGauge();
5537
5538 wxPyEndAllowThreads(__tstate);
110da5b0 5539 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5540 }
5541 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
5542 return resultobj;
5543 fail:
5544 return NULL;
5545}
5546
5547
c32bde28 5548static PyObject *_wrap_Gauge_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5549 PyObject *resultobj;
5550 wxGauge *arg1 = (wxGauge *) 0 ;
5551 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
5552 int arg3 = (int) -1 ;
5553 int arg4 = (int) 100 ;
d55e5bfc
RD
5554 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5555 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5556 wxSize const &arg6_defvalue = wxDefaultSize ;
5557 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5558 long arg7 = (long) wxGA_HORIZONTAL ;
5559 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5560 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5561 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
5562 wxString *arg9 = (wxString *) &arg9_defvalue ;
5563 bool result;
5564 wxPoint temp5 ;
5565 wxSize temp6 ;
ae8162c8 5566 bool temp9 = false ;
d55e5bfc
RD
5567 PyObject * obj0 = 0 ;
5568 PyObject * obj1 = 0 ;
5569 PyObject * obj2 = 0 ;
5570 PyObject * obj3 = 0 ;
5571 PyObject * obj4 = 0 ;
5572 PyObject * obj5 = 0 ;
5573 PyObject * obj6 = 0 ;
5574 PyObject * obj7 = 0 ;
5575 PyObject * obj8 = 0 ;
5576 char *kwnames[] = {
5577 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5578 };
5579
248ed943 5580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Gauge_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
5581 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5582 if (SWIG_arg_fail(1)) SWIG_fail;
5583 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5584 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 5585 if (obj2) {
093d3ff1
RD
5586 {
5587 arg3 = (int)(SWIG_As_int(obj2));
5588 if (SWIG_arg_fail(3)) SWIG_fail;
5589 }
248ed943
RD
5590 }
5591 if (obj3) {
093d3ff1
RD
5592 {
5593 arg4 = (int)(SWIG_As_int(obj3));
5594 if (SWIG_arg_fail(4)) SWIG_fail;
5595 }
248ed943 5596 }
d55e5bfc
RD
5597 if (obj4) {
5598 {
5599 arg5 = &temp5;
5600 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5601 }
5602 }
5603 if (obj5) {
5604 {
5605 arg6 = &temp6;
5606 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5607 }
5608 }
5609 if (obj6) {
093d3ff1
RD
5610 {
5611 arg7 = (long)(SWIG_As_long(obj6));
5612 if (SWIG_arg_fail(7)) SWIG_fail;
5613 }
d55e5bfc
RD
5614 }
5615 if (obj7) {
093d3ff1
RD
5616 {
5617 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
5618 if (SWIG_arg_fail(8)) SWIG_fail;
5619 if (arg8 == NULL) {
5620 SWIG_null_ref("wxValidator");
5621 }
5622 if (SWIG_arg_fail(8)) SWIG_fail;
d55e5bfc
RD
5623 }
5624 }
5625 if (obj8) {
5626 {
5627 arg9 = wxString_in_helper(obj8);
5628 if (arg9 == NULL) SWIG_fail;
ae8162c8 5629 temp9 = true;
d55e5bfc
RD
5630 }
5631 }
5632 {
5633 PyThreadState* __tstate = wxPyBeginAllowThreads();
5634 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5635
5636 wxPyEndAllowThreads(__tstate);
5637 if (PyErr_Occurred()) SWIG_fail;
5638 }
5639 {
5640 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5641 }
5642 {
5643 if (temp9)
5644 delete arg9;
5645 }
5646 return resultobj;
5647 fail:
5648 {
5649 if (temp9)
5650 delete arg9;
5651 }
5652 return NULL;
5653}
5654
5655
c32bde28 5656static PyObject *_wrap_Gauge_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5657 PyObject *resultobj;
5658 wxGauge *arg1 = (wxGauge *) 0 ;
5659 int arg2 ;
5660 PyObject * obj0 = 0 ;
5661 PyObject * obj1 = 0 ;
5662 char *kwnames[] = {
5663 (char *) "self",(char *) "range", NULL
5664 };
5665
5666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetRange",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5667 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5668 if (SWIG_arg_fail(1)) SWIG_fail;
5669 {
5670 arg2 = (int)(SWIG_As_int(obj1));
5671 if (SWIG_arg_fail(2)) SWIG_fail;
5672 }
d55e5bfc
RD
5673 {
5674 PyThreadState* __tstate = wxPyBeginAllowThreads();
5675 (arg1)->SetRange(arg2);
5676
5677 wxPyEndAllowThreads(__tstate);
5678 if (PyErr_Occurred()) SWIG_fail;
5679 }
5680 Py_INCREF(Py_None); resultobj = Py_None;
5681 return resultobj;
5682 fail:
5683 return NULL;
5684}
5685
5686
c32bde28 5687static PyObject *_wrap_Gauge_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5688 PyObject *resultobj;
5689 wxGauge *arg1 = (wxGauge *) 0 ;
5690 int result;
5691 PyObject * obj0 = 0 ;
5692 char *kwnames[] = {
5693 (char *) "self", NULL
5694 };
5695
5696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetRange",kwnames,&obj0)) goto fail;
093d3ff1
RD
5697 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5698 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5699 {
5700 PyThreadState* __tstate = wxPyBeginAllowThreads();
5701 result = (int)((wxGauge const *)arg1)->GetRange();
5702
5703 wxPyEndAllowThreads(__tstate);
5704 if (PyErr_Occurred()) SWIG_fail;
5705 }
093d3ff1
RD
5706 {
5707 resultobj = SWIG_From_int((int)(result));
5708 }
d55e5bfc
RD
5709 return resultobj;
5710 fail:
5711 return NULL;
5712}
5713
5714
c32bde28 5715static PyObject *_wrap_Gauge_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5716 PyObject *resultobj;
5717 wxGauge *arg1 = (wxGauge *) 0 ;
5718 int arg2 ;
5719 PyObject * obj0 = 0 ;
5720 PyObject * obj1 = 0 ;
5721 char *kwnames[] = {
5722 (char *) "self",(char *) "pos", NULL
5723 };
5724
5725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetValue",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5726 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5727 if (SWIG_arg_fail(1)) SWIG_fail;
5728 {
5729 arg2 = (int)(SWIG_As_int(obj1));
5730 if (SWIG_arg_fail(2)) SWIG_fail;
5731 }
d55e5bfc
RD
5732 {
5733 PyThreadState* __tstate = wxPyBeginAllowThreads();
5734 (arg1)->SetValue(arg2);
5735
5736 wxPyEndAllowThreads(__tstate);
5737 if (PyErr_Occurred()) SWIG_fail;
5738 }
5739 Py_INCREF(Py_None); resultobj = Py_None;
5740 return resultobj;
5741 fail:
5742 return NULL;
5743}
5744
5745
c32bde28 5746static PyObject *_wrap_Gauge_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5747 PyObject *resultobj;
5748 wxGauge *arg1 = (wxGauge *) 0 ;
5749 int result;
5750 PyObject * obj0 = 0 ;
5751 char *kwnames[] = {
5752 (char *) "self", NULL
5753 };
5754
5755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
5756 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5757 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5758 {
5759 PyThreadState* __tstate = wxPyBeginAllowThreads();
5760 result = (int)((wxGauge const *)arg1)->GetValue();
5761
5762 wxPyEndAllowThreads(__tstate);
5763 if (PyErr_Occurred()) SWIG_fail;
5764 }
093d3ff1
RD
5765 {
5766 resultobj = SWIG_From_int((int)(result));
5767 }
d55e5bfc
RD
5768 return resultobj;
5769 fail:
5770 return NULL;
5771}
5772
5773
c32bde28 5774static PyObject *_wrap_Gauge_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5775 PyObject *resultobj;
5776 wxGauge *arg1 = (wxGauge *) 0 ;
5777 bool result;
5778 PyObject * obj0 = 0 ;
5779 char *kwnames[] = {
5780 (char *) "self", NULL
5781 };
5782
5783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_IsVertical",kwnames,&obj0)) goto fail;
093d3ff1
RD
5784 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5785 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5786 {
5787 PyThreadState* __tstate = wxPyBeginAllowThreads();
5788 result = (bool)((wxGauge const *)arg1)->IsVertical();
5789
5790 wxPyEndAllowThreads(__tstate);
5791 if (PyErr_Occurred()) SWIG_fail;
5792 }
5793 {
5794 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5795 }
5796 return resultobj;
5797 fail:
5798 return NULL;
5799}
5800
5801
c32bde28 5802static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5803 PyObject *resultobj;
5804 wxGauge *arg1 = (wxGauge *) 0 ;
5805 int arg2 ;
5806 PyObject * obj0 = 0 ;
5807 PyObject * obj1 = 0 ;
5808 char *kwnames[] = {
5809 (char *) "self",(char *) "w", NULL
5810 };
5811
5812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetShadowWidth",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5813 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5814 if (SWIG_arg_fail(1)) SWIG_fail;
5815 {
5816 arg2 = (int)(SWIG_As_int(obj1));
5817 if (SWIG_arg_fail(2)) SWIG_fail;
5818 }
d55e5bfc
RD
5819 {
5820 PyThreadState* __tstate = wxPyBeginAllowThreads();
5821 (arg1)->SetShadowWidth(arg2);
5822
5823 wxPyEndAllowThreads(__tstate);
5824 if (PyErr_Occurred()) SWIG_fail;
5825 }
5826 Py_INCREF(Py_None); resultobj = Py_None;
5827 return resultobj;
5828 fail:
5829 return NULL;
5830}
5831
5832
c32bde28 5833static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5834 PyObject *resultobj;
5835 wxGauge *arg1 = (wxGauge *) 0 ;
5836 int result;
5837 PyObject * obj0 = 0 ;
5838 char *kwnames[] = {
5839 (char *) "self", NULL
5840 };
5841
5842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetShadowWidth",kwnames,&obj0)) goto fail;
093d3ff1
RD
5843 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5844 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5845 {
5846 PyThreadState* __tstate = wxPyBeginAllowThreads();
5847 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
5848
5849 wxPyEndAllowThreads(__tstate);
5850 if (PyErr_Occurred()) SWIG_fail;
5851 }
093d3ff1
RD
5852 {
5853 resultobj = SWIG_From_int((int)(result));
5854 }
d55e5bfc
RD
5855 return resultobj;
5856 fail:
5857 return NULL;
5858}
5859
5860
c32bde28 5861static PyObject *_wrap_Gauge_SetBezelFace(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5862 PyObject *resultobj;
5863 wxGauge *arg1 = (wxGauge *) 0 ;
5864 int arg2 ;
5865 PyObject * obj0 = 0 ;
5866 PyObject * obj1 = 0 ;
5867 char *kwnames[] = {
5868 (char *) "self",(char *) "w", NULL
5869 };
5870
5871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetBezelFace",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5872 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5873 if (SWIG_arg_fail(1)) SWIG_fail;
5874 {
5875 arg2 = (int)(SWIG_As_int(obj1));
5876 if (SWIG_arg_fail(2)) SWIG_fail;
5877 }
d55e5bfc
RD
5878 {
5879 PyThreadState* __tstate = wxPyBeginAllowThreads();
5880 (arg1)->SetBezelFace(arg2);
5881
5882 wxPyEndAllowThreads(__tstate);
5883 if (PyErr_Occurred()) SWIG_fail;
5884 }
5885 Py_INCREF(Py_None); resultobj = Py_None;
5886 return resultobj;
5887 fail:
5888 return NULL;
5889}
5890
5891
c32bde28 5892static PyObject *_wrap_Gauge_GetBezelFace(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5893 PyObject *resultobj;
5894 wxGauge *arg1 = (wxGauge *) 0 ;
5895 int result;
5896 PyObject * obj0 = 0 ;
5897 char *kwnames[] = {
5898 (char *) "self", NULL
5899 };
5900
5901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetBezelFace",kwnames,&obj0)) goto fail;
093d3ff1
RD
5902 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5903 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5904 {
5905 PyThreadState* __tstate = wxPyBeginAllowThreads();
5906 result = (int)((wxGauge const *)arg1)->GetBezelFace();
5907
5908 wxPyEndAllowThreads(__tstate);
5909 if (PyErr_Occurred()) SWIG_fail;
5910 }
093d3ff1
RD
5911 {
5912 resultobj = SWIG_From_int((int)(result));
5913 }
d55e5bfc
RD
5914 return resultobj;
5915 fail:
5916 return NULL;
5917}
5918
5919
c32bde28 5920static PyObject *_wrap_Gauge_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 5921 PyObject *resultobj;
093d3ff1 5922 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
5923 wxVisualAttributes result;
5924 PyObject * obj0 = 0 ;
5925 char *kwnames[] = {
5926 (char *) "variant", NULL
5927 };
5928
5929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5930 if (obj0) {
093d3ff1
RD
5931 {
5932 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
5933 if (SWIG_arg_fail(1)) SWIG_fail;
5934 }
f20a2e1f
RD
5935 }
5936 {
19272049 5937 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
5938 PyThreadState* __tstate = wxPyBeginAllowThreads();
5939 result = wxGauge::GetClassDefaultAttributes((wxWindowVariant )arg1);
5940
5941 wxPyEndAllowThreads(__tstate);
110da5b0 5942 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
5943 }
5944 {
5945 wxVisualAttributes * resultptr;
093d3ff1 5946 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
5947 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5948 }
5949 return resultobj;
5950 fail:
5951 return NULL;
5952}
5953
5954
c32bde28 5955static PyObject * Gauge_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
5956 PyObject *obj;
5957 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5958 SWIG_TypeClientData(SWIGTYPE_p_wxGauge, obj);
5959 Py_INCREF(obj);
5960 return Py_BuildValue((char *)"");
5961}
c32bde28 5962static int _wrap_StaticBitmapNameStr_set(PyObject *) {
d55e5bfc
RD
5963 PyErr_SetString(PyExc_TypeError,"Variable StaticBitmapNameStr is read-only.");
5964 return 1;
5965}
5966
5967
093d3ff1 5968static PyObject *_wrap_StaticBitmapNameStr_get(void) {
d55e5bfc
RD
5969 PyObject *pyobj;
5970
5971 {
5972#if wxUSE_UNICODE
5973 pyobj = PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
5974#else
5975 pyobj = PyString_FromStringAndSize((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
5976#endif
5977 }
5978 return pyobj;
5979}
5980
5981
c32bde28 5982static int _wrap_StaticBoxNameStr_set(PyObject *) {
d55e5bfc
RD
5983 PyErr_SetString(PyExc_TypeError,"Variable StaticBoxNameStr is read-only.");
5984 return 1;
5985}
5986
5987
093d3ff1 5988static PyObject *_wrap_StaticBoxNameStr_get(void) {
d55e5bfc
RD
5989 PyObject *pyobj;
5990
5991 {
5992#if wxUSE_UNICODE
5993 pyobj = PyUnicode_FromWideChar((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
5994#else
5995 pyobj = PyString_FromStringAndSize((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
5996#endif
5997 }
5998 return pyobj;
5999}
6000
6001
c32bde28 6002static int _wrap_StaticTextNameStr_set(PyObject *) {
d55e5bfc
RD
6003 PyErr_SetString(PyExc_TypeError,"Variable StaticTextNameStr is read-only.");
6004 return 1;
6005}
6006
6007
093d3ff1 6008static PyObject *_wrap_StaticTextNameStr_get(void) {
d55e5bfc
RD
6009 PyObject *pyobj;
6010
6011 {
6012#if wxUSE_UNICODE
6013 pyobj = PyUnicode_FromWideChar((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
6014#else
6015 pyobj = PyString_FromStringAndSize((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
6016#endif
6017 }
6018 return pyobj;
6019}
6020
6021
c32bde28 6022static PyObject *_wrap_new_StaticBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6023 PyObject *resultobj;
6024 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
6025 int arg2 = (int) -1 ;
6026 wxString const &arg3_defvalue = wxPyEmptyString ;
6027 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
6028 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6029 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6030 wxSize const &arg5_defvalue = wxDefaultSize ;
6031 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6032 long arg6 = (long) 0 ;
6033 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
6034 wxString *arg7 = (wxString *) &arg7_defvalue ;
6035 wxStaticBox *result;
ae8162c8 6036 bool temp3 = false ;
d55e5bfc
RD
6037 wxPoint temp4 ;
6038 wxSize temp5 ;
ae8162c8 6039 bool temp7 = false ;
d55e5bfc
RD
6040 PyObject * obj0 = 0 ;
6041 PyObject * obj1 = 0 ;
6042 PyObject * obj2 = 0 ;
6043 PyObject * obj3 = 0 ;
6044 PyObject * obj4 = 0 ;
6045 PyObject * obj5 = 0 ;
6046 PyObject * obj6 = 0 ;
6047 char *kwnames[] = {
6048 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6049 };
6050
248ed943 6051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
6052 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6053 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 6054 if (obj1) {
093d3ff1
RD
6055 {
6056 arg2 = (int)(SWIG_As_int(obj1));
6057 if (SWIG_arg_fail(2)) SWIG_fail;
6058 }
248ed943
RD
6059 }
6060 if (obj2) {
6061 {
6062 arg3 = wxString_in_helper(obj2);
6063 if (arg3 == NULL) SWIG_fail;
ae8162c8 6064 temp3 = true;
248ed943 6065 }
d55e5bfc
RD
6066 }
6067 if (obj3) {
6068 {
6069 arg4 = &temp4;
6070 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6071 }
6072 }
6073 if (obj4) {
6074 {
6075 arg5 = &temp5;
6076 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6077 }
6078 }
6079 if (obj5) {
093d3ff1
RD
6080 {
6081 arg6 = (long)(SWIG_As_long(obj5));
6082 if (SWIG_arg_fail(6)) SWIG_fail;
6083 }
d55e5bfc
RD
6084 }
6085 if (obj6) {
6086 {
6087 arg7 = wxString_in_helper(obj6);
6088 if (arg7 == NULL) SWIG_fail;
ae8162c8 6089 temp7 = true;
d55e5bfc
RD
6090 }
6091 }
6092 {
0439c23b 6093 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6094 PyThreadState* __tstate = wxPyBeginAllowThreads();
6095 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6096
6097 wxPyEndAllowThreads(__tstate);
110da5b0 6098 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 6099 }
b0f7404b 6100 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBox, 1);
d55e5bfc
RD
6101 {
6102 if (temp3)
6103 delete arg3;
6104 }
6105 {
6106 if (temp7)
6107 delete arg7;
6108 }
6109 return resultobj;
6110 fail:
6111 {
6112 if (temp3)
6113 delete arg3;
6114 }
6115 {
6116 if (temp7)
6117 delete arg7;
6118 }
6119 return NULL;
6120}
6121
6122
c32bde28 6123static PyObject *_wrap_new_PreStaticBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6124 PyObject *resultobj;
6125 wxStaticBox *result;
6126 char *kwnames[] = {
6127 NULL
6128 };
6129
6130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBox",kwnames)) goto fail;
6131 {
0439c23b 6132 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6133 PyThreadState* __tstate = wxPyBeginAllowThreads();
6134 result = (wxStaticBox *)new wxStaticBox();
6135
6136 wxPyEndAllowThreads(__tstate);
110da5b0 6137 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 6138 }
b0f7404b 6139 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBox, 1);
d55e5bfc
RD
6140 return resultobj;
6141 fail:
6142 return NULL;
6143}
6144
6145
c32bde28 6146static PyObject *_wrap_StaticBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6147 PyObject *resultobj;
6148 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
6149 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
6150 int arg3 = (int) -1 ;
6151 wxString const &arg4_defvalue = wxPyEmptyString ;
6152 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
6153 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6154 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6155 wxSize const &arg6_defvalue = wxDefaultSize ;
6156 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6157 long arg7 = (long) 0 ;
6158 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
6159 wxString *arg8 = (wxString *) &arg8_defvalue ;
6160 bool result;
ae8162c8 6161 bool temp4 = false ;
d55e5bfc
RD
6162 wxPoint temp5 ;
6163 wxSize temp6 ;
ae8162c8 6164 bool temp8 = false ;
d55e5bfc
RD
6165 PyObject * obj0 = 0 ;
6166 PyObject * obj1 = 0 ;
6167 PyObject * obj2 = 0 ;
6168 PyObject * obj3 = 0 ;
6169 PyObject * obj4 = 0 ;
6170 PyObject * obj5 = 0 ;
6171 PyObject * obj6 = 0 ;
6172 PyObject * obj7 = 0 ;
6173 char *kwnames[] = {
6174 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6175 };
6176
248ed943 6177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
6178 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBox, SWIG_POINTER_EXCEPTION | 0);
6179 if (SWIG_arg_fail(1)) SWIG_fail;
6180 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6181 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 6182 if (obj2) {
093d3ff1
RD
6183 {
6184 arg3 = (int)(SWIG_As_int(obj2));
6185 if (SWIG_arg_fail(3)) SWIG_fail;
6186 }
248ed943
RD
6187 }
6188 if (obj3) {
6189 {
6190 arg4 = wxString_in_helper(obj3);
6191 if (arg4 == NULL) SWIG_fail;
ae8162c8 6192 temp4 = true;
248ed943 6193 }
d55e5bfc
RD
6194 }
6195 if (obj4) {
6196 {
6197 arg5 = &temp5;
6198 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6199 }
6200 }
6201 if (obj5) {
6202 {
6203 arg6 = &temp6;
6204 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6205 }
6206 }
6207 if (obj6) {
093d3ff1
RD
6208 {
6209 arg7 = (long)(SWIG_As_long(obj6));
6210 if (SWIG_arg_fail(7)) SWIG_fail;
6211 }
d55e5bfc
RD
6212 }
6213 if (obj7) {
6214 {
6215 arg8 = wxString_in_helper(obj7);
6216 if (arg8 == NULL) SWIG_fail;
ae8162c8 6217 temp8 = true;
d55e5bfc
RD
6218 }
6219 }
6220 {
6221 PyThreadState* __tstate = wxPyBeginAllowThreads();
6222 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6223
6224 wxPyEndAllowThreads(__tstate);
6225 if (PyErr_Occurred()) SWIG_fail;
6226 }
6227 {
6228 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6229 }
6230 {
6231 if (temp4)
6232 delete arg4;
6233 }
6234 {
6235 if (temp8)
6236 delete arg8;
6237 }
6238 return resultobj;
6239 fail:
6240 {
6241 if (temp4)
6242 delete arg4;
6243 }
6244 {
6245 if (temp8)
6246 delete arg8;
6247 }
6248 return NULL;
6249}
6250
6251
c32bde28 6252static PyObject *_wrap_StaticBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 6253 PyObject *resultobj;
093d3ff1 6254 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
6255 wxVisualAttributes result;
6256 PyObject * obj0 = 0 ;
6257 char *kwnames[] = {
6258 (char *) "variant", NULL
6259 };
6260
6261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6262 if (obj0) {
093d3ff1
RD
6263 {
6264 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
6265 if (SWIG_arg_fail(1)) SWIG_fail;
6266 }
f20a2e1f
RD
6267 }
6268 {
19272049 6269 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
6270 PyThreadState* __tstate = wxPyBeginAllowThreads();
6271 result = wxStaticBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
6272
6273 wxPyEndAllowThreads(__tstate);
110da5b0 6274 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
6275 }
6276 {
6277 wxVisualAttributes * resultptr;
093d3ff1 6278 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
6279 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6280 }
6281 return resultobj;
6282 fail:
6283 return NULL;
6284}
6285
6286
c32bde28 6287static PyObject * StaticBox_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
6288 PyObject *obj;
6289 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6290 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox, obj);
6291 Py_INCREF(obj);
6292 return Py_BuildValue((char *)"");
6293}
c32bde28 6294static PyObject *_wrap_new_StaticLine(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6295 PyObject *resultobj;
6296 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 6297 int arg2 = (int) -1 ;
d55e5bfc
RD
6298 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6299 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6300 wxSize const &arg4_defvalue = wxDefaultSize ;
6301 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6302 long arg5 = (long) wxLI_HORIZONTAL ;
6303 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
6304 wxString *arg6 = (wxString *) &arg6_defvalue ;
6305 wxStaticLine *result;
6306 wxPoint temp3 ;
6307 wxSize temp4 ;
ae8162c8 6308 bool temp6 = false ;
d55e5bfc
RD
6309 PyObject * obj0 = 0 ;
6310 PyObject * obj1 = 0 ;
6311 PyObject * obj2 = 0 ;
6312 PyObject * obj3 = 0 ;
6313 PyObject * obj4 = 0 ;
6314 PyObject * obj5 = 0 ;
6315 char *kwnames[] = {
6316 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6317 };
6318
248ed943 6319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_StaticLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
6320 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6321 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 6322 if (obj1) {
093d3ff1
RD
6323 {
6324 arg2 = (int)(SWIG_As_int(obj1));
6325 if (SWIG_arg_fail(2)) SWIG_fail;
6326 }
248ed943 6327 }
d55e5bfc
RD
6328 if (obj2) {
6329 {
6330 arg3 = &temp3;
6331 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6332 }
6333 }
6334 if (obj3) {
6335 {
6336 arg4 = &temp4;
6337 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6338 }
6339 }
6340 if (obj4) {
093d3ff1
RD
6341 {
6342 arg5 = (long)(SWIG_As_long(obj4));
6343 if (SWIG_arg_fail(5)) SWIG_fail;
6344 }
d55e5bfc
RD
6345 }
6346 if (obj5) {
6347 {
6348 arg6 = wxString_in_helper(obj5);
6349 if (arg6 == NULL) SWIG_fail;
ae8162c8 6350 temp6 = true;
d55e5bfc
RD
6351 }
6352 }
6353 {
0439c23b 6354 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6355 PyThreadState* __tstate = wxPyBeginAllowThreads();
6356 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
6357
6358 wxPyEndAllowThreads(__tstate);
110da5b0 6359 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6360 }
6361 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
6362 {
6363 if (temp6)
6364 delete arg6;
6365 }
6366 return resultobj;
6367 fail:
6368 {
6369 if (temp6)
6370 delete arg6;
6371 }
6372 return NULL;
6373}
6374
6375
c32bde28 6376static PyObject *_wrap_new_PreStaticLine(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6377 PyObject *resultobj;
6378 wxStaticLine *result;
6379 char *kwnames[] = {
6380 NULL
6381 };
6382
6383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticLine",kwnames)) goto fail;
6384 {
0439c23b 6385 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6386 PyThreadState* __tstate = wxPyBeginAllowThreads();
6387 result = (wxStaticLine *)new wxStaticLine();
6388
6389 wxPyEndAllowThreads(__tstate);
110da5b0 6390 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6391 }
6392 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
6393 return resultobj;
6394 fail:
6395 return NULL;
6396}
6397
6398
c32bde28 6399static PyObject *_wrap_StaticLine_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6400 PyObject *resultobj;
6401 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
6402 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 6403 int arg3 = (int) -1 ;
d55e5bfc
RD
6404 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6405 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6406 wxSize const &arg5_defvalue = wxDefaultSize ;
6407 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6408 long arg6 = (long) wxLI_HORIZONTAL ;
6409 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
6410 wxString *arg7 = (wxString *) &arg7_defvalue ;
6411 bool result;
6412 wxPoint temp4 ;
6413 wxSize temp5 ;
ae8162c8 6414 bool temp7 = false ;
d55e5bfc
RD
6415 PyObject * obj0 = 0 ;
6416 PyObject * obj1 = 0 ;
6417 PyObject * obj2 = 0 ;
6418 PyObject * obj3 = 0 ;
6419 PyObject * obj4 = 0 ;
6420 PyObject * obj5 = 0 ;
6421 PyObject * obj6 = 0 ;
6422 char *kwnames[] = {
6423 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6424 };
6425
248ed943 6426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:StaticLine_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
6427 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticLine, SWIG_POINTER_EXCEPTION | 0);
6428 if (SWIG_arg_fail(1)) SWIG_fail;
6429 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6430 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 6431 if (obj2) {
093d3ff1
RD
6432 {
6433 arg3 = (int)(SWIG_As_int(obj2));
6434 if (SWIG_arg_fail(3)) SWIG_fail;
6435 }
248ed943 6436 }
d55e5bfc
RD
6437 if (obj3) {
6438 {
6439 arg4 = &temp4;
6440 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6441 }
6442 }
6443 if (obj4) {
6444 {
6445 arg5 = &temp5;
6446 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6447 }
6448 }
6449 if (obj5) {
093d3ff1
RD
6450 {
6451 arg6 = (long)(SWIG_As_long(obj5));
6452 if (SWIG_arg_fail(6)) SWIG_fail;
6453 }
d55e5bfc
RD
6454 }
6455 if (obj6) {
6456 {
6457 arg7 = wxString_in_helper(obj6);
6458 if (arg7 == NULL) SWIG_fail;
ae8162c8 6459 temp7 = true;
d55e5bfc
RD
6460 }
6461 }
6462 {
6463 PyThreadState* __tstate = wxPyBeginAllowThreads();
6464 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6465
6466 wxPyEndAllowThreads(__tstate);
6467 if (PyErr_Occurred()) SWIG_fail;
6468 }
6469 {
6470 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6471 }
6472 {
6473 if (temp7)
6474 delete arg7;
6475 }
6476 return resultobj;
6477 fail:
6478 {
6479 if (temp7)
6480 delete arg7;
6481 }
6482 return NULL;
6483}
6484
6485
c32bde28 6486static PyObject *_wrap_StaticLine_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6487 PyObject *resultobj;
6488 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
6489 bool result;
6490 PyObject * obj0 = 0 ;
6491 char *kwnames[] = {
6492 (char *) "self", NULL
6493 };
6494
6495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticLine_IsVertical",kwnames,&obj0)) goto fail;
093d3ff1
RD
6496 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticLine, SWIG_POINTER_EXCEPTION | 0);
6497 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6498 {
6499 PyThreadState* __tstate = wxPyBeginAllowThreads();
6500 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
6501
6502 wxPyEndAllowThreads(__tstate);
6503 if (PyErr_Occurred()) SWIG_fail;
6504 }
6505 {
6506 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6507 }
6508 return resultobj;
6509 fail:
6510 return NULL;
6511}
6512
6513
c32bde28 6514static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6515 PyObject *resultobj;
6516 int result;
6517 char *kwnames[] = {
6518 NULL
6519 };
6520
6521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StaticLine_GetDefaultSize",kwnames)) goto fail;
6522 {
6523 PyThreadState* __tstate = wxPyBeginAllowThreads();
6524 result = (int)wxStaticLine::GetDefaultSize();
6525
6526 wxPyEndAllowThreads(__tstate);
6527 if (PyErr_Occurred()) SWIG_fail;
6528 }
093d3ff1
RD
6529 {
6530 resultobj = SWIG_From_int((int)(result));
6531 }
d55e5bfc
RD
6532 return resultobj;
6533 fail:
6534 return NULL;
6535}
6536
6537
c32bde28 6538static PyObject *_wrap_StaticLine_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 6539 PyObject *resultobj;
093d3ff1 6540 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
6541 wxVisualAttributes result;
6542 PyObject * obj0 = 0 ;
6543 char *kwnames[] = {
6544 (char *) "variant", NULL
6545 };
6546
6547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6548 if (obj0) {
093d3ff1
RD
6549 {
6550 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
6551 if (SWIG_arg_fail(1)) SWIG_fail;
6552 }
f20a2e1f
RD
6553 }
6554 {
19272049 6555 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
6556 PyThreadState* __tstate = wxPyBeginAllowThreads();
6557 result = wxStaticLine::GetClassDefaultAttributes((wxWindowVariant )arg1);
6558
6559 wxPyEndAllowThreads(__tstate);
110da5b0 6560 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
6561 }
6562 {
6563 wxVisualAttributes * resultptr;
093d3ff1 6564 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
6565 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6566 }
6567 return resultobj;
6568 fail:
6569 return NULL;
6570}
6571
6572
c32bde28 6573static PyObject * StaticLine_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
6574 PyObject *obj;
6575 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6576 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine, obj);
6577 Py_INCREF(obj);
6578 return Py_BuildValue((char *)"");
6579}
c32bde28 6580static PyObject *_wrap_new_StaticText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6581 PyObject *resultobj;
6582 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
6583 int arg2 = (int) -1 ;
6584 wxString const &arg3_defvalue = wxPyEmptyString ;
6585 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
6586 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6587 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6588 wxSize const &arg5_defvalue = wxDefaultSize ;
6589 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6590 long arg6 = (long) 0 ;
6591 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
6592 wxString *arg7 = (wxString *) &arg7_defvalue ;
6593 wxStaticText *result;
ae8162c8 6594 bool temp3 = false ;
d55e5bfc
RD
6595 wxPoint temp4 ;
6596 wxSize temp5 ;
ae8162c8 6597 bool temp7 = false ;
d55e5bfc
RD
6598 PyObject * obj0 = 0 ;
6599 PyObject * obj1 = 0 ;
6600 PyObject * obj2 = 0 ;
6601 PyObject * obj3 = 0 ;
6602 PyObject * obj4 = 0 ;
6603 PyObject * obj5 = 0 ;
6604 PyObject * obj6 = 0 ;
6605 char *kwnames[] = {
6606 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6607 };
6608
248ed943 6609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
6610 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6611 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 6612 if (obj1) {
093d3ff1
RD
6613 {
6614 arg2 = (int)(SWIG_As_int(obj1));
6615 if (SWIG_arg_fail(2)) SWIG_fail;
6616 }
248ed943
RD
6617 }
6618 if (obj2) {
6619 {
6620 arg3 = wxString_in_helper(obj2);
6621 if (arg3 == NULL) SWIG_fail;
ae8162c8 6622 temp3 = true;
248ed943 6623 }
d55e5bfc
RD
6624 }
6625 if (obj3) {
6626 {
6627 arg4 = &temp4;
6628 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6629 }
6630 }
6631 if (obj4) {
6632 {
6633 arg5 = &temp5;
6634 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6635 }
6636 }
6637 if (obj5) {
093d3ff1
RD
6638 {
6639 arg6 = (long)(SWIG_As_long(obj5));
6640 if (SWIG_arg_fail(6)) SWIG_fail;
6641 }
d55e5bfc
RD
6642 }
6643 if (obj6) {
6644 {
6645 arg7 = wxString_in_helper(obj6);
6646 if (arg7 == NULL) SWIG_fail;
ae8162c8 6647 temp7 = true;
d55e5bfc
RD
6648 }
6649 }
6650 {
0439c23b 6651 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6652 PyThreadState* __tstate = wxPyBeginAllowThreads();
6653 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6654
6655 wxPyEndAllowThreads(__tstate);
110da5b0 6656 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6657 }
6658 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
6659 {
6660 if (temp3)
6661 delete arg3;
6662 }
6663 {
6664 if (temp7)
6665 delete arg7;
6666 }
6667 return resultobj;
6668 fail:
6669 {
6670 if (temp3)
6671 delete arg3;
6672 }
6673 {
6674 if (temp7)
6675 delete arg7;
6676 }
6677 return NULL;
6678}
6679
6680
c32bde28 6681static PyObject *_wrap_new_PreStaticText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6682 PyObject *resultobj;
6683 wxStaticText *result;
6684 char *kwnames[] = {
6685 NULL
6686 };
6687
6688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticText",kwnames)) goto fail;
6689 {
0439c23b 6690 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6691 PyThreadState* __tstate = wxPyBeginAllowThreads();
6692 result = (wxStaticText *)new wxStaticText();
6693
6694 wxPyEndAllowThreads(__tstate);
110da5b0 6695 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6696 }
6697 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
6698 return resultobj;
6699 fail:
6700 return NULL;
6701}
6702
6703
c32bde28 6704static PyObject *_wrap_StaticText_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6705 PyObject *resultobj;
6706 wxStaticText *arg1 = (wxStaticText *) 0 ;
6707 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
6708 int arg3 = (int) -1 ;
6709 wxString const &arg4_defvalue = wxPyEmptyString ;
6710 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
6711 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6712 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6713 wxSize const &arg6_defvalue = wxDefaultSize ;
6714 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6715 long arg7 = (long) 0 ;
6716 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
6717 wxString *arg8 = (wxString *) &arg8_defvalue ;
6718 bool result;
ae8162c8 6719 bool temp4 = false ;
d55e5bfc
RD
6720 wxPoint temp5 ;
6721 wxSize temp6 ;
ae8162c8 6722 bool temp8 = false ;
d55e5bfc
RD
6723 PyObject * obj0 = 0 ;
6724 PyObject * obj1 = 0 ;
6725 PyObject * obj2 = 0 ;
6726 PyObject * obj3 = 0 ;
6727 PyObject * obj4 = 0 ;
6728 PyObject * obj5 = 0 ;
6729 PyObject * obj6 = 0 ;
6730 PyObject * obj7 = 0 ;
6731 char *kwnames[] = {
6732 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6733 };
6734
248ed943 6735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticText_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
6736 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticText, SWIG_POINTER_EXCEPTION | 0);
6737 if (SWIG_arg_fail(1)) SWIG_fail;
6738 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6739 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 6740 if (obj2) {
093d3ff1
RD
6741 {
6742 arg3 = (int)(SWIG_As_int(obj2));
6743 if (SWIG_arg_fail(3)) SWIG_fail;
6744 }
248ed943
RD
6745 }
6746 if (obj3) {
6747 {
6748 arg4 = wxString_in_helper(obj3);
6749 if (arg4 == NULL) SWIG_fail;
ae8162c8 6750 temp4 = true;
248ed943 6751 }
d55e5bfc
RD
6752 }
6753 if (obj4) {
6754 {
6755 arg5 = &temp5;
6756 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6757 }
6758 }
6759 if (obj5) {
6760 {
6761 arg6 = &temp6;
6762 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6763 }
6764 }
6765 if (obj6) {
093d3ff1
RD
6766 {
6767 arg7 = (long)(SWIG_As_long(obj6));
6768 if (SWIG_arg_fail(7)) SWIG_fail;
6769 }
d55e5bfc
RD
6770 }
6771 if (obj7) {
6772 {
6773 arg8 = wxString_in_helper(obj7);
6774 if (arg8 == NULL) SWIG_fail;
ae8162c8 6775 temp8 = true;
d55e5bfc
RD
6776 }
6777 }
6778 {
6779 PyThreadState* __tstate = wxPyBeginAllowThreads();
6780 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6781
6782 wxPyEndAllowThreads(__tstate);
6783 if (PyErr_Occurred()) SWIG_fail;
6784 }
6785 {
6786 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6787 }
6788 {
6789 if (temp4)
6790 delete arg4;
6791 }
6792 {
6793 if (temp8)
6794 delete arg8;
6795 }
6796 return resultobj;
6797 fail:
6798 {
6799 if (temp4)
6800 delete arg4;
6801 }
6802 {
6803 if (temp8)
6804 delete arg8;
6805 }
6806 return NULL;
6807}
6808
6809
c32bde28 6810static PyObject *_wrap_StaticText_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 6811 PyObject *resultobj;
093d3ff1 6812 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
6813 wxVisualAttributes result;
6814 PyObject * obj0 = 0 ;
6815 char *kwnames[] = {
6816 (char *) "variant", NULL
6817 };
6818
6819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6820 if (obj0) {
093d3ff1
RD
6821 {
6822 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
6823 if (SWIG_arg_fail(1)) SWIG_fail;
6824 }
f20a2e1f
RD
6825 }
6826 {
19272049 6827 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
6828 PyThreadState* __tstate = wxPyBeginAllowThreads();
6829 result = wxStaticText::GetClassDefaultAttributes((wxWindowVariant )arg1);
6830
6831 wxPyEndAllowThreads(__tstate);
110da5b0 6832 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
6833 }
6834 {
6835 wxVisualAttributes * resultptr;
093d3ff1 6836 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
6837 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6838 }
6839 return resultobj;
6840 fail:
6841 return NULL;
6842}
6843
6844
c32bde28 6845static PyObject * StaticText_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
6846 PyObject *obj;
6847 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6848 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText, obj);
6849 Py_INCREF(obj);
6850 return Py_BuildValue((char *)"");
6851}
c32bde28 6852static PyObject *_wrap_new_StaticBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6853 PyObject *resultobj;
6854 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
6855 int arg2 = (int) -1 ;
6856 wxBitmap const &arg3_defvalue = wxNullBitmap ;
6857 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
d55e5bfc
RD
6858 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6859 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6860 wxSize const &arg5_defvalue = wxDefaultSize ;
6861 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6862 long arg6 = (long) 0 ;
6863 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
6864 wxString *arg7 = (wxString *) &arg7_defvalue ;
6865 wxStaticBitmap *result;
6866 wxPoint temp4 ;
6867 wxSize temp5 ;
ae8162c8 6868 bool temp7 = false ;
d55e5bfc
RD
6869 PyObject * obj0 = 0 ;
6870 PyObject * obj1 = 0 ;
6871 PyObject * obj2 = 0 ;
6872 PyObject * obj3 = 0 ;
6873 PyObject * obj4 = 0 ;
6874 PyObject * obj5 = 0 ;
6875 PyObject * obj6 = 0 ;
6876 char *kwnames[] = {
6877 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6878 };
6879
248ed943 6880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBitmap",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
6881 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6882 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 6883 if (obj1) {
093d3ff1
RD
6884 {
6885 arg2 = (int)(SWIG_As_int(obj1));
6886 if (SWIG_arg_fail(2)) SWIG_fail;
6887 }
248ed943
RD
6888 }
6889 if (obj2) {
093d3ff1
RD
6890 {
6891 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6892 if (SWIG_arg_fail(3)) SWIG_fail;
6893 if (arg3 == NULL) {
6894 SWIG_null_ref("wxBitmap");
6895 }
6896 if (SWIG_arg_fail(3)) SWIG_fail;
248ed943 6897 }
d55e5bfc
RD
6898 }
6899 if (obj3) {
6900 {
6901 arg4 = &temp4;
6902 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6903 }
6904 }
6905 if (obj4) {
6906 {
6907 arg5 = &temp5;
6908 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6909 }
6910 }
6911 if (obj5) {
093d3ff1
RD
6912 {
6913 arg6 = (long)(SWIG_As_long(obj5));
6914 if (SWIG_arg_fail(6)) SWIG_fail;
6915 }
d55e5bfc
RD
6916 }
6917 if (obj6) {
6918 {
6919 arg7 = wxString_in_helper(obj6);
6920 if (arg7 == NULL) SWIG_fail;
ae8162c8 6921 temp7 = true;
d55e5bfc
RD
6922 }
6923 }
6924 {
0439c23b 6925 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6926 PyThreadState* __tstate = wxPyBeginAllowThreads();
6927 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6928
6929 wxPyEndAllowThreads(__tstate);
110da5b0 6930 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6931 }
6932 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
6933 {
6934 if (temp7)
6935 delete arg7;
6936 }
6937 return resultobj;
6938 fail:
6939 {
6940 if (temp7)
6941 delete arg7;
6942 }
6943 return NULL;
6944}
6945
6946
c32bde28 6947static PyObject *_wrap_new_PreStaticBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6948 PyObject *resultobj;
6949 wxStaticBitmap *result;
6950 char *kwnames[] = {
6951 NULL
6952 };
6953
6954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBitmap",kwnames)) goto fail;
6955 {
0439c23b 6956 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6957 PyThreadState* __tstate = wxPyBeginAllowThreads();
6958 result = (wxStaticBitmap *)new wxStaticBitmap();
6959
6960 wxPyEndAllowThreads(__tstate);
110da5b0 6961 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6962 }
6963 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
6964 return resultobj;
6965 fail:
6966 return NULL;
6967}
6968
6969
c32bde28 6970static PyObject *_wrap_StaticBitmap_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6971 PyObject *resultobj;
6972 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
6973 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
6974 int arg3 = (int) -1 ;
6975 wxBitmap const &arg4_defvalue = wxNullBitmap ;
6976 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
d55e5bfc
RD
6977 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6978 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6979 wxSize const &arg6_defvalue = wxDefaultSize ;
6980 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6981 long arg7 = (long) 0 ;
6982 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
6983 wxString *arg8 = (wxString *) &arg8_defvalue ;
6984 bool result;
6985 wxPoint temp5 ;
6986 wxSize temp6 ;
ae8162c8 6987 bool temp8 = false ;
d55e5bfc
RD
6988 PyObject * obj0 = 0 ;
6989 PyObject * obj1 = 0 ;
6990 PyObject * obj2 = 0 ;
6991 PyObject * obj3 = 0 ;
6992 PyObject * obj4 = 0 ;
6993 PyObject * obj5 = 0 ;
6994 PyObject * obj6 = 0 ;
6995 PyObject * obj7 = 0 ;
6996 char *kwnames[] = {
6997 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6998 };
6999
248ed943 7000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
7001 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
7002 if (SWIG_arg_fail(1)) SWIG_fail;
7003 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7004 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 7005 if (obj2) {
093d3ff1
RD
7006 {
7007 arg3 = (int)(SWIG_As_int(obj2));
7008 if (SWIG_arg_fail(3)) SWIG_fail;
7009 }
248ed943
RD
7010 }
7011 if (obj3) {
093d3ff1
RD
7012 {
7013 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
7014 if (SWIG_arg_fail(4)) SWIG_fail;
7015 if (arg4 == NULL) {
7016 SWIG_null_ref("wxBitmap");
7017 }
7018 if (SWIG_arg_fail(4)) SWIG_fail;
248ed943 7019 }
d55e5bfc
RD
7020 }
7021 if (obj4) {
7022 {
7023 arg5 = &temp5;
7024 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7025 }
7026 }
7027 if (obj5) {
7028 {
7029 arg6 = &temp6;
7030 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
7031 }
7032 }
7033 if (obj6) {
093d3ff1
RD
7034 {
7035 arg7 = (long)(SWIG_As_long(obj6));
7036 if (SWIG_arg_fail(7)) SWIG_fail;
7037 }
d55e5bfc
RD
7038 }
7039 if (obj7) {
7040 {
7041 arg8 = wxString_in_helper(obj7);
7042 if (arg8 == NULL) SWIG_fail;
ae8162c8 7043 temp8 = true;
d55e5bfc
RD
7044 }
7045 }
7046 {
7047 PyThreadState* __tstate = wxPyBeginAllowThreads();
7048 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
7049
7050 wxPyEndAllowThreads(__tstate);
7051 if (PyErr_Occurred()) SWIG_fail;
7052 }
7053 {
7054 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7055 }
7056 {
7057 if (temp8)
7058 delete arg8;
7059 }
7060 return resultobj;
7061 fail:
7062 {
7063 if (temp8)
7064 delete arg8;
7065 }
7066 return NULL;
7067}
7068
7069
c32bde28 7070static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7071 PyObject *resultobj;
7072 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
7073 wxBitmap result;
7074 PyObject * obj0 = 0 ;
7075 char *kwnames[] = {
7076 (char *) "self", NULL
7077 };
7078
7079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBitmap_GetBitmap",kwnames,&obj0)) goto fail;
093d3ff1
RD
7080 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
7081 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7082 {
7083 PyThreadState* __tstate = wxPyBeginAllowThreads();
7084 result = (arg1)->GetBitmap();
7085
7086 wxPyEndAllowThreads(__tstate);
7087 if (PyErr_Occurred()) SWIG_fail;
7088 }
7089 {
7090 wxBitmap * resultptr;
093d3ff1 7091 resultptr = new wxBitmap((wxBitmap &)(result));
d55e5bfc
RD
7092 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
7093 }
7094 return resultobj;
7095 fail:
7096 return NULL;
7097}
7098
7099
c32bde28 7100static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7101 PyObject *resultobj;
7102 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
7103 wxBitmap *arg2 = 0 ;
7104 PyObject * obj0 = 0 ;
7105 PyObject * obj1 = 0 ;
7106 char *kwnames[] = {
7107 (char *) "self",(char *) "bitmap", NULL
7108 };
7109
7110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7111 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
7112 if (SWIG_arg_fail(1)) SWIG_fail;
7113 {
7114 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
7115 if (SWIG_arg_fail(2)) SWIG_fail;
7116 if (arg2 == NULL) {
7117 SWIG_null_ref("wxBitmap");
7118 }
7119 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
7120 }
7121 {
7122 PyThreadState* __tstate = wxPyBeginAllowThreads();
7123 (arg1)->SetBitmap((wxBitmap const &)*arg2);
7124
7125 wxPyEndAllowThreads(__tstate);
7126 if (PyErr_Occurred()) SWIG_fail;
7127 }
7128 Py_INCREF(Py_None); resultobj = Py_None;
7129 return resultobj;
7130 fail:
7131 return NULL;
7132}
7133
7134
c32bde28 7135static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7136 PyObject *resultobj;
7137 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
7138 wxIcon *arg2 = 0 ;
7139 PyObject * obj0 = 0 ;
7140 PyObject * obj1 = 0 ;
7141 char *kwnames[] = {
7142 (char *) "self",(char *) "icon", NULL
7143 };
7144
7145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7146 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
7147 if (SWIG_arg_fail(1)) SWIG_fail;
7148 {
7149 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
7150 if (SWIG_arg_fail(2)) SWIG_fail;
7151 if (arg2 == NULL) {
7152 SWIG_null_ref("wxIcon");
7153 }
7154 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
7155 }
7156 {
7157 PyThreadState* __tstate = wxPyBeginAllowThreads();
7158 (arg1)->SetIcon((wxIcon const &)*arg2);
7159
7160 wxPyEndAllowThreads(__tstate);
7161 if (PyErr_Occurred()) SWIG_fail;
7162 }
7163 Py_INCREF(Py_None); resultobj = Py_None;
7164 return resultobj;
7165 fail:
7166 return NULL;
7167}
7168
7169
c32bde28 7170static PyObject *_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 7171 PyObject *resultobj;
093d3ff1 7172 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
7173 wxVisualAttributes result;
7174 PyObject * obj0 = 0 ;
7175 char *kwnames[] = {
7176 (char *) "variant", NULL
7177 };
7178
7179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
7180 if (obj0) {
093d3ff1
RD
7181 {
7182 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
7183 if (SWIG_arg_fail(1)) SWIG_fail;
7184 }
f20a2e1f
RD
7185 }
7186 {
19272049 7187 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
7188 PyThreadState* __tstate = wxPyBeginAllowThreads();
7189 result = wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant )arg1);
7190
7191 wxPyEndAllowThreads(__tstate);
110da5b0 7192 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
7193 }
7194 {
7195 wxVisualAttributes * resultptr;
093d3ff1 7196 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
7197 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
7198 }
7199 return resultobj;
7200 fail:
7201 return NULL;
7202}
7203
7204
c32bde28 7205static PyObject * StaticBitmap_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
7206 PyObject *obj;
7207 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7208 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap, obj);
7209 Py_INCREF(obj);
7210 return Py_BuildValue((char *)"");
7211}
c32bde28 7212static int _wrap_ListBoxNameStr_set(PyObject *) {
d55e5bfc
RD
7213 PyErr_SetString(PyExc_TypeError,"Variable ListBoxNameStr is read-only.");
7214 return 1;
7215}
7216
7217
093d3ff1 7218static PyObject *_wrap_ListBoxNameStr_get(void) {
d55e5bfc
RD
7219 PyObject *pyobj;
7220
7221 {
7222#if wxUSE_UNICODE
7223 pyobj = PyUnicode_FromWideChar((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
7224#else
7225 pyobj = PyString_FromStringAndSize((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
7226#endif
7227 }
7228 return pyobj;
7229}
7230
7231
c32bde28 7232static PyObject *_wrap_new_ListBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7233 PyObject *resultobj;
7234 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 7235 int arg2 = (int) -1 ;
d55e5bfc
RD
7236 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7237 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7238 wxSize const &arg4_defvalue = wxDefaultSize ;
7239 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7240 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
7241 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
7242 long arg6 = (long) 0 ;
7243 wxValidator const &arg7_defvalue = wxDefaultValidator ;
7244 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
7245 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
7246 wxString *arg8 = (wxString *) &arg8_defvalue ;
7247 wxListBox *result;
7248 wxPoint temp3 ;
7249 wxSize temp4 ;
ae8162c8
RD
7250 bool temp5 = false ;
7251 bool temp8 = false ;
d55e5bfc
RD
7252 PyObject * obj0 = 0 ;
7253 PyObject * obj1 = 0 ;
7254 PyObject * obj2 = 0 ;
7255 PyObject * obj3 = 0 ;
7256 PyObject * obj4 = 0 ;
7257 PyObject * obj5 = 0 ;
7258 PyObject * obj6 = 0 ;
7259 PyObject * obj7 = 0 ;
7260 char *kwnames[] = {
7261 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7262 };
7263
248ed943 7264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
7265 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7266 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 7267 if (obj1) {
093d3ff1
RD
7268 {
7269 arg2 = (int)(SWIG_As_int(obj1));
7270 if (SWIG_arg_fail(2)) SWIG_fail;
7271 }
248ed943 7272 }
d55e5bfc
RD
7273 if (obj2) {
7274 {
7275 arg3 = &temp3;
7276 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7277 }
7278 }
7279 if (obj3) {
7280 {
7281 arg4 = &temp4;
7282 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7283 }
7284 }
7285 if (obj4) {
7286 {
7287 if (! PySequence_Check(obj4)) {
7288 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7289 SWIG_fail;
7290 }
7291 arg5 = new wxArrayString;
ae8162c8 7292 temp5 = true;
d55e5bfc
RD
7293 int i, len=PySequence_Length(obj4);
7294 for (i=0; i<len; i++) {
7295 PyObject* item = PySequence_GetItem(obj4, i);
7296#if wxUSE_UNICODE
7297 PyObject* str = PyObject_Unicode(item);
7298#else
7299 PyObject* str = PyObject_Str(item);
7300#endif
7301 if (PyErr_Occurred()) SWIG_fail;
7302 arg5->Add(Py2wxString(str));
7303 Py_DECREF(item);
7304 Py_DECREF(str);
7305 }
7306 }
7307 }
7308 if (obj5) {
093d3ff1
RD
7309 {
7310 arg6 = (long)(SWIG_As_long(obj5));
7311 if (SWIG_arg_fail(6)) SWIG_fail;
7312 }
d55e5bfc
RD
7313 }
7314 if (obj6) {
093d3ff1
RD
7315 {
7316 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
7317 if (SWIG_arg_fail(7)) SWIG_fail;
7318 if (arg7 == NULL) {
7319 SWIG_null_ref("wxValidator");
7320 }
7321 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
7322 }
7323 }
7324 if (obj7) {
7325 {
7326 arg8 = wxString_in_helper(obj7);
7327 if (arg8 == NULL) SWIG_fail;
ae8162c8 7328 temp8 = true;
d55e5bfc
RD
7329 }
7330 }
7331 {
0439c23b 7332 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
7333 PyThreadState* __tstate = wxPyBeginAllowThreads();
7334 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
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 {
7341 if (temp5) delete arg5;
7342 }
7343 {
7344 if (temp8)
7345 delete arg8;
7346 }
7347 return resultobj;
7348 fail:
7349 {
7350 if (temp5) delete arg5;
7351 }
7352 {
7353 if (temp8)
7354 delete arg8;
7355 }
7356 return NULL;
7357}
7358
7359
c32bde28 7360static PyObject *_wrap_new_PreListBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7361 PyObject *resultobj;
7362 wxListBox *result;
7363 char *kwnames[] = {
7364 NULL
7365 };
7366
7367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListBox",kwnames)) goto fail;
7368 {
0439c23b 7369 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
7370 PyThreadState* __tstate = wxPyBeginAllowThreads();
7371 result = (wxListBox *)new wxListBox();
7372
7373 wxPyEndAllowThreads(__tstate);
110da5b0 7374 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
7375 }
7376 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
7377 return resultobj;
7378 fail:
7379 return NULL;
7380}
7381
7382
c32bde28 7383static PyObject *_wrap_ListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7384 PyObject *resultobj;
7385 wxListBox *arg1 = (wxListBox *) 0 ;
7386 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 7387 int arg3 = (int) -1 ;
d55e5bfc
RD
7388 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7389 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7390 wxSize const &arg5_defvalue = wxDefaultSize ;
7391 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7392 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
7393 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
7394 long arg7 = (long) 0 ;
7395 wxValidator const &arg8_defvalue = wxDefaultValidator ;
7396 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
7397 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
7398 wxString *arg9 = (wxString *) &arg9_defvalue ;
7399 bool result;
7400 wxPoint temp4 ;
7401 wxSize temp5 ;
ae8162c8
RD
7402 bool temp6 = false ;
7403 bool temp9 = false ;
d55e5bfc
RD
7404 PyObject * obj0 = 0 ;
7405 PyObject * obj1 = 0 ;
7406 PyObject * obj2 = 0 ;
7407 PyObject * obj3 = 0 ;
7408 PyObject * obj4 = 0 ;
7409 PyObject * obj5 = 0 ;
7410 PyObject * obj6 = 0 ;
7411 PyObject * obj7 = 0 ;
7412 PyObject * obj8 = 0 ;
7413 char *kwnames[] = {
7414 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7415 };
7416
248ed943 7417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
7418 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7419 if (SWIG_arg_fail(1)) SWIG_fail;
7420 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7421 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 7422 if (obj2) {
093d3ff1
RD
7423 {
7424 arg3 = (int)(SWIG_As_int(obj2));
7425 if (SWIG_arg_fail(3)) SWIG_fail;
7426 }
248ed943 7427 }
d55e5bfc
RD
7428 if (obj3) {
7429 {
7430 arg4 = &temp4;
7431 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7432 }
7433 }
7434 if (obj4) {
7435 {
7436 arg5 = &temp5;
7437 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7438 }
7439 }
7440 if (obj5) {
7441 {
7442 if (! PySequence_Check(obj5)) {
7443 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7444 SWIG_fail;
7445 }
7446 arg6 = new wxArrayString;
ae8162c8 7447 temp6 = true;
d55e5bfc
RD
7448 int i, len=PySequence_Length(obj5);
7449 for (i=0; i<len; i++) {
7450 PyObject* item = PySequence_GetItem(obj5, i);
7451#if wxUSE_UNICODE
7452 PyObject* str = PyObject_Unicode(item);
7453#else
7454 PyObject* str = PyObject_Str(item);
7455#endif
7456 if (PyErr_Occurred()) SWIG_fail;
7457 arg6->Add(Py2wxString(str));
7458 Py_DECREF(item);
7459 Py_DECREF(str);
7460 }
7461 }
7462 }
7463 if (obj6) {
093d3ff1
RD
7464 {
7465 arg7 = (long)(SWIG_As_long(obj6));
7466 if (SWIG_arg_fail(7)) SWIG_fail;
7467 }
d55e5bfc
RD
7468 }
7469 if (obj7) {
093d3ff1
RD
7470 {
7471 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
7472 if (SWIG_arg_fail(8)) SWIG_fail;
7473 if (arg8 == NULL) {
7474 SWIG_null_ref("wxValidator");
7475 }
7476 if (SWIG_arg_fail(8)) SWIG_fail;
d55e5bfc
RD
7477 }
7478 }
7479 if (obj8) {
7480 {
7481 arg9 = wxString_in_helper(obj8);
7482 if (arg9 == NULL) SWIG_fail;
ae8162c8 7483 temp9 = true;
d55e5bfc
RD
7484 }
7485 }
7486 {
7487 PyThreadState* __tstate = wxPyBeginAllowThreads();
7488 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
7489
7490 wxPyEndAllowThreads(__tstate);
7491 if (PyErr_Occurred()) SWIG_fail;
7492 }
7493 {
7494 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7495 }
7496 {
7497 if (temp6) delete arg6;
7498 }
7499 {
7500 if (temp9)
7501 delete arg9;
7502 }
7503 return resultobj;
7504 fail:
7505 {
7506 if (temp6) delete arg6;
7507 }
7508 {
7509 if (temp9)
7510 delete arg9;
7511 }
7512 return NULL;
7513}
7514
7515
c32bde28 7516static PyObject *_wrap_ListBox_Insert(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7517 PyObject *resultobj;
7518 wxListBox *arg1 = (wxListBox *) 0 ;
7519 wxString *arg2 = 0 ;
7520 int arg3 ;
7521 PyObject *arg4 = (PyObject *) NULL ;
ae8162c8 7522 bool temp2 = false ;
d55e5bfc
RD
7523 PyObject * obj0 = 0 ;
7524 PyObject * obj1 = 0 ;
7525 PyObject * obj2 = 0 ;
7526 PyObject * obj3 = 0 ;
7527 char *kwnames[] = {
7528 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
7529 };
7530
7531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListBox_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
7532 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7533 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7534 {
7535 arg2 = wxString_in_helper(obj1);
7536 if (arg2 == NULL) SWIG_fail;
ae8162c8 7537 temp2 = true;
d55e5bfc 7538 }
093d3ff1
RD
7539 {
7540 arg3 = (int)(SWIG_As_int(obj2));
7541 if (SWIG_arg_fail(3)) SWIG_fail;
7542 }
d55e5bfc
RD
7543 if (obj3) {
7544 arg4 = obj3;
7545 }
7546 {
7547 PyThreadState* __tstate = wxPyBeginAllowThreads();
7548 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
7549
7550 wxPyEndAllowThreads(__tstate);
7551 if (PyErr_Occurred()) SWIG_fail;
7552 }
7553 Py_INCREF(Py_None); resultobj = Py_None;
7554 {
7555 if (temp2)
7556 delete arg2;
7557 }
7558 return resultobj;
7559 fail:
7560 {
7561 if (temp2)
7562 delete arg2;
7563 }
7564 return NULL;
7565}
7566
7567
c32bde28 7568static PyObject *_wrap_ListBox_InsertItems(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7569 PyObject *resultobj;
7570 wxListBox *arg1 = (wxListBox *) 0 ;
7571 wxArrayString *arg2 = 0 ;
7572 int arg3 ;
ae8162c8 7573 bool temp2 = false ;
d55e5bfc
RD
7574 PyObject * obj0 = 0 ;
7575 PyObject * obj1 = 0 ;
7576 PyObject * obj2 = 0 ;
7577 char *kwnames[] = {
7578 (char *) "self",(char *) "items",(char *) "pos", NULL
7579 };
7580
7581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_InsertItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
7582 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7583 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7584 {
7585 if (! PySequence_Check(obj1)) {
7586 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7587 SWIG_fail;
7588 }
7589 arg2 = new wxArrayString;
ae8162c8 7590 temp2 = true;
d55e5bfc
RD
7591 int i, len=PySequence_Length(obj1);
7592 for (i=0; i<len; i++) {
7593 PyObject* item = PySequence_GetItem(obj1, i);
7594#if wxUSE_UNICODE
7595 PyObject* str = PyObject_Unicode(item);
7596#else
7597 PyObject* str = PyObject_Str(item);
7598#endif
7599 if (PyErr_Occurred()) SWIG_fail;
7600 arg2->Add(Py2wxString(str));
7601 Py_DECREF(item);
7602 Py_DECREF(str);
7603 }
7604 }
093d3ff1
RD
7605 {
7606 arg3 = (int)(SWIG_As_int(obj2));
7607 if (SWIG_arg_fail(3)) SWIG_fail;
7608 }
d55e5bfc
RD
7609 {
7610 PyThreadState* __tstate = wxPyBeginAllowThreads();
7611 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
7612
7613 wxPyEndAllowThreads(__tstate);
7614 if (PyErr_Occurred()) SWIG_fail;
7615 }
7616 Py_INCREF(Py_None); resultobj = Py_None;
7617 {
7618 if (temp2) delete arg2;
7619 }
7620 return resultobj;
7621 fail:
7622 {
7623 if (temp2) delete arg2;
7624 }
7625 return NULL;
7626}
7627
7628
c32bde28 7629static PyObject *_wrap_ListBox_Set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7630 PyObject *resultobj;
7631 wxListBox *arg1 = (wxListBox *) 0 ;
7632 wxArrayString *arg2 = 0 ;
ae8162c8 7633 bool temp2 = false ;
d55e5bfc
RD
7634 PyObject * obj0 = 0 ;
7635 PyObject * obj1 = 0 ;
7636 char *kwnames[] = {
7637 (char *) "self",(char *) "items", NULL
7638 };
7639
7640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7641 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7642 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7643 {
7644 if (! PySequence_Check(obj1)) {
7645 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7646 SWIG_fail;
7647 }
7648 arg2 = new wxArrayString;
ae8162c8 7649 temp2 = true;
d55e5bfc
RD
7650 int i, len=PySequence_Length(obj1);
7651 for (i=0; i<len; i++) {
7652 PyObject* item = PySequence_GetItem(obj1, i);
7653#if wxUSE_UNICODE
7654 PyObject* str = PyObject_Unicode(item);
7655#else
7656 PyObject* str = PyObject_Str(item);
7657#endif
7658 if (PyErr_Occurred()) SWIG_fail;
7659 arg2->Add(Py2wxString(str));
7660 Py_DECREF(item);
7661 Py_DECREF(str);
7662 }
7663 }
7664 {
7665 PyThreadState* __tstate = wxPyBeginAllowThreads();
7666 (arg1)->Set((wxArrayString const &)*arg2);
7667
7668 wxPyEndAllowThreads(__tstate);
7669 if (PyErr_Occurred()) SWIG_fail;
7670 }
7671 Py_INCREF(Py_None); resultobj = Py_None;
7672 {
7673 if (temp2) delete arg2;
7674 }
7675 return resultobj;
7676 fail:
7677 {
7678 if (temp2) delete arg2;
7679 }
7680 return NULL;
7681}
7682
7683
c32bde28 7684static PyObject *_wrap_ListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7685 PyObject *resultobj;
7686 wxListBox *arg1 = (wxListBox *) 0 ;
7687 int arg2 ;
7688 bool result;
7689 PyObject * obj0 = 0 ;
7690 PyObject * obj1 = 0 ;
7691 char *kwnames[] = {
7692 (char *) "self",(char *) "n", NULL
7693 };
7694
7695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7696 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7697 if (SWIG_arg_fail(1)) SWIG_fail;
7698 {
7699 arg2 = (int)(SWIG_As_int(obj1));
7700 if (SWIG_arg_fail(2)) SWIG_fail;
7701 }
d55e5bfc
RD
7702 {
7703 PyThreadState* __tstate = wxPyBeginAllowThreads();
7704 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
7705
7706 wxPyEndAllowThreads(__tstate);
7707 if (PyErr_Occurred()) SWIG_fail;
7708 }
7709 {
7710 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7711 }
7712 return resultobj;
7713 fail:
7714 return NULL;
7715}
7716
7717
c32bde28 7718static PyObject *_wrap_ListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7719 PyObject *resultobj;
7720 wxListBox *arg1 = (wxListBox *) 0 ;
7721 int arg2 ;
ae8162c8 7722 bool arg3 = (bool) true ;
d55e5bfc
RD
7723 PyObject * obj0 = 0 ;
7724 PyObject * obj1 = 0 ;
7725 PyObject * obj2 = 0 ;
7726 char *kwnames[] = {
7727 (char *) "self",(char *) "n",(char *) "select", NULL
7728 };
7729
7730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
7731 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7732 if (SWIG_arg_fail(1)) SWIG_fail;
7733 {
7734 arg2 = (int)(SWIG_As_int(obj1));
7735 if (SWIG_arg_fail(2)) SWIG_fail;
7736 }
d55e5bfc 7737 if (obj2) {
093d3ff1
RD
7738 {
7739 arg3 = (bool)(SWIG_As_bool(obj2));
7740 if (SWIG_arg_fail(3)) SWIG_fail;
7741 }
d55e5bfc
RD
7742 }
7743 {
7744 PyThreadState* __tstate = wxPyBeginAllowThreads();
7745 (arg1)->SetSelection(arg2,arg3);
7746
7747 wxPyEndAllowThreads(__tstate);
7748 if (PyErr_Occurred()) SWIG_fail;
7749 }
7750 Py_INCREF(Py_None); resultobj = Py_None;
7751 return resultobj;
7752 fail:
7753 return NULL;
7754}
7755
7756
c32bde28 7757static PyObject *_wrap_ListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7758 PyObject *resultobj;
7759 wxListBox *arg1 = (wxListBox *) 0 ;
7760 int arg2 ;
7761 PyObject * obj0 = 0 ;
7762 PyObject * obj1 = 0 ;
7763 char *kwnames[] = {
7764 (char *) "self",(char *) "n", NULL
7765 };
7766
7767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Select",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7768 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7769 if (SWIG_arg_fail(1)) SWIG_fail;
7770 {
7771 arg2 = (int)(SWIG_As_int(obj1));
7772 if (SWIG_arg_fail(2)) SWIG_fail;
7773 }
d55e5bfc
RD
7774 {
7775 PyThreadState* __tstate = wxPyBeginAllowThreads();
7776 (arg1)->Select(arg2);
7777
7778 wxPyEndAllowThreads(__tstate);
7779 if (PyErr_Occurred()) SWIG_fail;
7780 }
7781 Py_INCREF(Py_None); resultobj = Py_None;
7782 return resultobj;
7783 fail:
7784 return NULL;
7785}
7786
7787
c32bde28 7788static PyObject *_wrap_ListBox_Deselect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7789 PyObject *resultobj;
7790 wxListBox *arg1 = (wxListBox *) 0 ;
7791 int arg2 ;
7792 PyObject * obj0 = 0 ;
7793 PyObject * obj1 = 0 ;
7794 char *kwnames[] = {
7795 (char *) "self",(char *) "n", NULL
7796 };
7797
7798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Deselect",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7799 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7800 if (SWIG_arg_fail(1)) SWIG_fail;
7801 {
7802 arg2 = (int)(SWIG_As_int(obj1));
7803 if (SWIG_arg_fail(2)) SWIG_fail;
7804 }
d55e5bfc
RD
7805 {
7806 PyThreadState* __tstate = wxPyBeginAllowThreads();
7807 (arg1)->Deselect(arg2);
7808
7809 wxPyEndAllowThreads(__tstate);
7810 if (PyErr_Occurred()) SWIG_fail;
7811 }
7812 Py_INCREF(Py_None); resultobj = Py_None;
7813 return resultobj;
7814 fail:
7815 return NULL;
7816}
7817
7818
c32bde28 7819static PyObject *_wrap_ListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7820 PyObject *resultobj;
7821 wxListBox *arg1 = (wxListBox *) 0 ;
7822 int arg2 = (int) -1 ;
7823 PyObject * obj0 = 0 ;
7824 PyObject * obj1 = 0 ;
7825 char *kwnames[] = {
7826 (char *) "self",(char *) "itemToLeaveSelected", NULL
7827 };
7828
7829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListBox_DeselectAll",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7830 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7831 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 7832 if (obj1) {
093d3ff1
RD
7833 {
7834 arg2 = (int)(SWIG_As_int(obj1));
7835 if (SWIG_arg_fail(2)) SWIG_fail;
7836 }
d55e5bfc
RD
7837 }
7838 {
7839 PyThreadState* __tstate = wxPyBeginAllowThreads();
7840 (arg1)->DeselectAll(arg2);
7841
7842 wxPyEndAllowThreads(__tstate);
7843 if (PyErr_Occurred()) SWIG_fail;
7844 }
7845 Py_INCREF(Py_None); resultobj = Py_None;
7846 return resultobj;
7847 fail:
7848 return NULL;
7849}
7850
7851
c32bde28 7852static PyObject *_wrap_ListBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7853 PyObject *resultobj;
7854 wxListBox *arg1 = (wxListBox *) 0 ;
7855 wxString *arg2 = 0 ;
ae8162c8 7856 bool arg3 = (bool) true ;
d55e5bfc 7857 bool result;
ae8162c8 7858 bool temp2 = false ;
d55e5bfc
RD
7859 PyObject * obj0 = 0 ;
7860 PyObject * obj1 = 0 ;
7861 PyObject * obj2 = 0 ;
7862 char *kwnames[] = {
7863 (char *) "self",(char *) "s",(char *) "select", NULL
7864 };
7865
7866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
7867 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7868 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7869 {
7870 arg2 = wxString_in_helper(obj1);
7871 if (arg2 == NULL) SWIG_fail;
ae8162c8 7872 temp2 = true;
d55e5bfc
RD
7873 }
7874 if (obj2) {
093d3ff1
RD
7875 {
7876 arg3 = (bool)(SWIG_As_bool(obj2));
7877 if (SWIG_arg_fail(3)) SWIG_fail;
7878 }
d55e5bfc
RD
7879 }
7880 {
7881 PyThreadState* __tstate = wxPyBeginAllowThreads();
7882 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
7883
7884 wxPyEndAllowThreads(__tstate);
7885 if (PyErr_Occurred()) SWIG_fail;
7886 }
7887 {
7888 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7889 }
7890 {
7891 if (temp2)
7892 delete arg2;
7893 }
7894 return resultobj;
7895 fail:
7896 {
7897 if (temp2)
7898 delete arg2;
7899 }
7900 return NULL;
7901}
7902
7903
c32bde28 7904static PyObject *_wrap_ListBox_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7905 PyObject *resultobj;
7906 wxListBox *arg1 = (wxListBox *) 0 ;
7907 PyObject *result;
7908 PyObject * obj0 = 0 ;
7909 char *kwnames[] = {
7910 (char *) "self", NULL
7911 };
7912
7913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_GetSelections",kwnames,&obj0)) goto fail;
093d3ff1
RD
7914 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7915 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7916 {
7917 PyThreadState* __tstate = wxPyBeginAllowThreads();
7918 result = (PyObject *)wxListBox_GetSelections(arg1);
7919
7920 wxPyEndAllowThreads(__tstate);
7921 if (PyErr_Occurred()) SWIG_fail;
7922 }
7923 resultobj = result;
7924 return resultobj;
7925 fail:
7926 return NULL;
7927}
7928
7929
c32bde28 7930static PyObject *_wrap_ListBox_SetFirstItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7931 PyObject *resultobj;
7932 wxListBox *arg1 = (wxListBox *) 0 ;
7933 int arg2 ;
7934 PyObject * obj0 = 0 ;
7935 PyObject * obj1 = 0 ;
7936 char *kwnames[] = {
7937 (char *) "self",(char *) "n", NULL
7938 };
7939
7940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7941 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7942 if (SWIG_arg_fail(1)) SWIG_fail;
7943 {
7944 arg2 = (int)(SWIG_As_int(obj1));
7945 if (SWIG_arg_fail(2)) SWIG_fail;
7946 }
d55e5bfc
RD
7947 {
7948 PyThreadState* __tstate = wxPyBeginAllowThreads();
7949 (arg1)->SetFirstItem(arg2);
7950
7951 wxPyEndAllowThreads(__tstate);
7952 if (PyErr_Occurred()) SWIG_fail;
7953 }
7954 Py_INCREF(Py_None); resultobj = Py_None;
7955 return resultobj;
7956 fail:
7957 return NULL;
7958}
7959
7960
c32bde28 7961static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7962 PyObject *resultobj;
7963 wxListBox *arg1 = (wxListBox *) 0 ;
7964 wxString *arg2 = 0 ;
ae8162c8 7965 bool temp2 = false ;
d55e5bfc
RD
7966 PyObject * obj0 = 0 ;
7967 PyObject * obj1 = 0 ;
7968 char *kwnames[] = {
7969 (char *) "self",(char *) "s", NULL
7970 };
7971
7972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7973 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7974 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7975 {
7976 arg2 = wxString_in_helper(obj1);
7977 if (arg2 == NULL) SWIG_fail;
ae8162c8 7978 temp2 = true;
d55e5bfc
RD
7979 }
7980 {
7981 PyThreadState* __tstate = wxPyBeginAllowThreads();
7982 (arg1)->SetFirstItem((wxString const &)*arg2);
7983
7984 wxPyEndAllowThreads(__tstate);
7985 if (PyErr_Occurred()) SWIG_fail;
7986 }
7987 Py_INCREF(Py_None); resultobj = Py_None;
7988 {
7989 if (temp2)
7990 delete arg2;
7991 }
7992 return resultobj;
7993 fail:
7994 {
7995 if (temp2)
7996 delete arg2;
7997 }
7998 return NULL;
7999}
8000
8001
c32bde28 8002static PyObject *_wrap_ListBox_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8003 PyObject *resultobj;
8004 wxListBox *arg1 = (wxListBox *) 0 ;
8005 int arg2 ;
8006 PyObject * obj0 = 0 ;
8007 PyObject * obj1 = 0 ;
8008 char *kwnames[] = {
8009 (char *) "self",(char *) "n", NULL
8010 };
8011
8012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8013 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8014 if (SWIG_arg_fail(1)) SWIG_fail;
8015 {
8016 arg2 = (int)(SWIG_As_int(obj1));
8017 if (SWIG_arg_fail(2)) SWIG_fail;
8018 }
d55e5bfc
RD
8019 {
8020 PyThreadState* __tstate = wxPyBeginAllowThreads();
8021 (arg1)->EnsureVisible(arg2);
8022
8023 wxPyEndAllowThreads(__tstate);
8024 if (PyErr_Occurred()) SWIG_fail;
8025 }
8026 Py_INCREF(Py_None); resultobj = Py_None;
8027 return resultobj;
8028 fail:
8029 return NULL;
8030}
8031
8032
c32bde28 8033static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8034 PyObject *resultobj;
8035 wxListBox *arg1 = (wxListBox *) 0 ;
8036 wxString *arg2 = 0 ;
ae8162c8 8037 bool temp2 = false ;
d55e5bfc
RD
8038 PyObject * obj0 = 0 ;
8039 PyObject * obj1 = 0 ;
8040 char *kwnames[] = {
8041 (char *) "self",(char *) "s", NULL
8042 };
8043
8044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8045 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8046 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8047 {
8048 arg2 = wxString_in_helper(obj1);
8049 if (arg2 == NULL) SWIG_fail;
ae8162c8 8050 temp2 = true;
d55e5bfc
RD
8051 }
8052 {
8053 PyThreadState* __tstate = wxPyBeginAllowThreads();
8054 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
8055
8056 wxPyEndAllowThreads(__tstate);
8057 if (PyErr_Occurred()) SWIG_fail;
8058 }
8059 Py_INCREF(Py_None); resultobj = Py_None;
8060 {
8061 if (temp2)
8062 delete arg2;
8063 }
8064 return resultobj;
8065 fail:
8066 {
8067 if (temp2)
8068 delete arg2;
8069 }
8070 return NULL;
8071}
8072
8073
c32bde28 8074static PyObject *_wrap_ListBox_IsSorted(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8075 PyObject *resultobj;
8076 wxListBox *arg1 = (wxListBox *) 0 ;
8077 bool result;
8078 PyObject * obj0 = 0 ;
8079 char *kwnames[] = {
8080 (char *) "self", NULL
8081 };
8082
8083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_IsSorted",kwnames,&obj0)) goto fail;
093d3ff1
RD
8084 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8085 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8086 {
8087 PyThreadState* __tstate = wxPyBeginAllowThreads();
8088 result = (bool)((wxListBox const *)arg1)->IsSorted();
8089
8090 wxPyEndAllowThreads(__tstate);
8091 if (PyErr_Occurred()) SWIG_fail;
8092 }
8093 {
8094 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8095 }
8096 return resultobj;
8097 fail:
8098 return NULL;
8099}
8100
8101
c32bde28 8102static PyObject *_wrap_ListBox_SetItemForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8103 PyObject *resultobj;
8104 wxListBox *arg1 = (wxListBox *) 0 ;
8105 int arg2 ;
8106 wxColour *arg3 = 0 ;
8107 wxColour temp3 ;
8108 PyObject * obj0 = 0 ;
8109 PyObject * obj1 = 0 ;
8110 PyObject * obj2 = 0 ;
8111 char *kwnames[] = {
8112 (char *) "self",(char *) "item",(char *) "c", NULL
8113 };
8114
8115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8116 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8117 if (SWIG_arg_fail(1)) SWIG_fail;
8118 {
8119 arg2 = (int)(SWIG_As_int(obj1));
8120 if (SWIG_arg_fail(2)) SWIG_fail;
8121 }
d55e5bfc
RD
8122 {
8123 arg3 = &temp3;
8124 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
8125 }
8126 {
8127 PyThreadState* __tstate = wxPyBeginAllowThreads();
8128 wxListBox_SetItemForegroundColour(arg1,arg2,(wxColour const &)*arg3);
8129
8130 wxPyEndAllowThreads(__tstate);
8131 if (PyErr_Occurred()) SWIG_fail;
8132 }
8133 Py_INCREF(Py_None); resultobj = Py_None;
8134 return resultobj;
8135 fail:
8136 return NULL;
8137}
8138
8139
c32bde28 8140static PyObject *_wrap_ListBox_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8141 PyObject *resultobj;
8142 wxListBox *arg1 = (wxListBox *) 0 ;
8143 int arg2 ;
8144 wxColour *arg3 = 0 ;
8145 wxColour temp3 ;
8146 PyObject * obj0 = 0 ;
8147 PyObject * obj1 = 0 ;
8148 PyObject * obj2 = 0 ;
8149 char *kwnames[] = {
8150 (char *) "self",(char *) "item",(char *) "c", NULL
8151 };
8152
8153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
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 }
d55e5bfc
RD
8160 {
8161 arg3 = &temp3;
8162 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
8163 }
8164 {
8165 PyThreadState* __tstate = wxPyBeginAllowThreads();
8166 wxListBox_SetItemBackgroundColour(arg1,arg2,(wxColour const &)*arg3);
8167
8168 wxPyEndAllowThreads(__tstate);
8169 if (PyErr_Occurred()) SWIG_fail;
8170 }
8171 Py_INCREF(Py_None); resultobj = Py_None;
8172 return resultobj;
8173 fail:
8174 return NULL;
8175}
8176
8177
c32bde28 8178static PyObject *_wrap_ListBox_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8179 PyObject *resultobj;
8180 wxListBox *arg1 = (wxListBox *) 0 ;
8181 int arg2 ;
8182 wxFont *arg3 = 0 ;
8183 PyObject * obj0 = 0 ;
8184 PyObject * obj1 = 0 ;
8185 PyObject * obj2 = 0 ;
8186 char *kwnames[] = {
8187 (char *) "self",(char *) "item",(char *) "f", NULL
8188 };
8189
8190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8191 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8192 if (SWIG_arg_fail(1)) SWIG_fail;
8193 {
8194 arg2 = (int)(SWIG_As_int(obj1));
8195 if (SWIG_arg_fail(2)) SWIG_fail;
8196 }
8197 {
8198 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
8199 if (SWIG_arg_fail(3)) SWIG_fail;
8200 if (arg3 == NULL) {
8201 SWIG_null_ref("wxFont");
8202 }
8203 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
8204 }
8205 {
8206 PyThreadState* __tstate = wxPyBeginAllowThreads();
8207 wxListBox_SetItemFont(arg1,arg2,(wxFont const &)*arg3);
8208
8209 wxPyEndAllowThreads(__tstate);
8210 if (PyErr_Occurred()) SWIG_fail;
8211 }
8212 Py_INCREF(Py_None); resultobj = Py_None;
8213 return resultobj;
8214 fail:
8215 return NULL;
8216}
8217
8218
c32bde28 8219static PyObject *_wrap_ListBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 8220 PyObject *resultobj;
093d3ff1 8221 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
d55e5bfc
RD
8222 wxVisualAttributes result;
8223 PyObject * obj0 = 0 ;
8224 char *kwnames[] = {
8225 (char *) "variant", NULL
8226 };
8227
8228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
8229 if (obj0) {
093d3ff1
RD
8230 {
8231 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
8232 if (SWIG_arg_fail(1)) SWIG_fail;
8233 }
d55e5bfc
RD
8234 }
8235 {
19272049 8236 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
8237 PyThreadState* __tstate = wxPyBeginAllowThreads();
8238 result = wxListBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
8239
8240 wxPyEndAllowThreads(__tstate);
110da5b0 8241 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
8242 }
8243 {
8244 wxVisualAttributes * resultptr;
093d3ff1 8245 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
d55e5bfc
RD
8246 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
8247 }
8248 return resultobj;
8249 fail:
8250 return NULL;
8251}
8252
8253
c32bde28 8254static PyObject * ListBox_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
8255 PyObject *obj;
8256 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8257 SWIG_TypeClientData(SWIGTYPE_p_wxListBox, obj);
8258 Py_INCREF(obj);
8259 return Py_BuildValue((char *)"");
8260}
c32bde28 8261static PyObject *_wrap_new_CheckListBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8262 PyObject *resultobj;
8263 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 8264 int arg2 = (int) -1 ;
d55e5bfc
RD
8265 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8266 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8267 wxSize const &arg4_defvalue = wxDefaultSize ;
8268 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8269 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
8270 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
8271 long arg6 = (long) 0 ;
8272 wxValidator const &arg7_defvalue = wxDefaultValidator ;
8273 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
8274 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
8275 wxString *arg8 = (wxString *) &arg8_defvalue ;
8276 wxCheckListBox *result;
8277 wxPoint temp3 ;
8278 wxSize temp4 ;
ae8162c8
RD
8279 bool temp5 = false ;
8280 bool temp8 = false ;
d55e5bfc
RD
8281 PyObject * obj0 = 0 ;
8282 PyObject * obj1 = 0 ;
8283 PyObject * obj2 = 0 ;
8284 PyObject * obj3 = 0 ;
8285 PyObject * obj4 = 0 ;
8286 PyObject * obj5 = 0 ;
8287 PyObject * obj6 = 0 ;
8288 PyObject * obj7 = 0 ;
8289 char *kwnames[] = {
8290 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8291 };
8292
248ed943 8293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
8294 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8295 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 8296 if (obj1) {
093d3ff1
RD
8297 {
8298 arg2 = (int)(SWIG_As_int(obj1));
8299 if (SWIG_arg_fail(2)) SWIG_fail;
8300 }
248ed943 8301 }
d55e5bfc
RD
8302 if (obj2) {
8303 {
8304 arg3 = &temp3;
8305 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8306 }
8307 }
8308 if (obj3) {
8309 {
8310 arg4 = &temp4;
8311 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8312 }
8313 }
8314 if (obj4) {
8315 {
8316 if (! PySequence_Check(obj4)) {
8317 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
8318 SWIG_fail;
8319 }
8320 arg5 = new wxArrayString;
ae8162c8 8321 temp5 = true;
d55e5bfc
RD
8322 int i, len=PySequence_Length(obj4);
8323 for (i=0; i<len; i++) {
8324 PyObject* item = PySequence_GetItem(obj4, i);
8325#if wxUSE_UNICODE
8326 PyObject* str = PyObject_Unicode(item);
8327#else
8328 PyObject* str = PyObject_Str(item);
8329#endif
8330 if (PyErr_Occurred()) SWIG_fail;
8331 arg5->Add(Py2wxString(str));
8332 Py_DECREF(item);
8333 Py_DECREF(str);
8334 }
8335 }
8336 }
8337 if (obj5) {
093d3ff1
RD
8338 {
8339 arg6 = (long)(SWIG_As_long(obj5));
8340 if (SWIG_arg_fail(6)) SWIG_fail;
8341 }
d55e5bfc
RD
8342 }
8343 if (obj6) {
093d3ff1
RD
8344 {
8345 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
8346 if (SWIG_arg_fail(7)) SWIG_fail;
8347 if (arg7 == NULL) {
8348 SWIG_null_ref("wxValidator");
8349 }
8350 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
8351 }
8352 }
8353 if (obj7) {
8354 {
8355 arg8 = wxString_in_helper(obj7);
8356 if (arg8 == NULL) SWIG_fail;
ae8162c8 8357 temp8 = true;
d55e5bfc
RD
8358 }
8359 }
8360 {
0439c23b 8361 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
8362 PyThreadState* __tstate = wxPyBeginAllowThreads();
8363 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
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 {
8370 if (temp5) delete arg5;
8371 }
8372 {
8373 if (temp8)
8374 delete arg8;
8375 }
8376 return resultobj;
8377 fail:
8378 {
8379 if (temp5) delete arg5;
8380 }
8381 {
8382 if (temp8)
8383 delete arg8;
8384 }
8385 return NULL;
8386}
8387
8388
c32bde28 8389static PyObject *_wrap_new_PreCheckListBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8390 PyObject *resultobj;
8391 wxCheckListBox *result;
8392 char *kwnames[] = {
8393 NULL
8394 };
8395
8396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckListBox",kwnames)) goto fail;
8397 {
0439c23b 8398 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
8399 PyThreadState* __tstate = wxPyBeginAllowThreads();
8400 result = (wxCheckListBox *)new wxCheckListBox();
8401
8402 wxPyEndAllowThreads(__tstate);
110da5b0 8403 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
8404 }
8405 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
8406 return resultobj;
8407 fail:
8408 return NULL;
8409}
8410
8411
c32bde28 8412static PyObject *_wrap_CheckListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8413 PyObject *resultobj;
8414 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8415 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 8416 int arg3 = (int) -1 ;
d55e5bfc
RD
8417 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8418 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8419 wxSize const &arg5_defvalue = wxDefaultSize ;
8420 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8421 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
8422 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
8423 long arg7 = (long) 0 ;
8424 wxValidator const &arg8_defvalue = wxDefaultValidator ;
8425 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
8426 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
8427 wxString *arg9 = (wxString *) &arg9_defvalue ;
8428 bool result;
8429 wxPoint temp4 ;
8430 wxSize temp5 ;
ae8162c8
RD
8431 bool temp6 = false ;
8432 bool temp9 = false ;
d55e5bfc
RD
8433 PyObject * obj0 = 0 ;
8434 PyObject * obj1 = 0 ;
8435 PyObject * obj2 = 0 ;
8436 PyObject * obj3 = 0 ;
8437 PyObject * obj4 = 0 ;
8438 PyObject * obj5 = 0 ;
8439 PyObject * obj6 = 0 ;
8440 PyObject * obj7 = 0 ;
8441 PyObject * obj8 = 0 ;
8442 char *kwnames[] = {
8443 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8444 };
8445
248ed943 8446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
8447 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8448 if (SWIG_arg_fail(1)) SWIG_fail;
8449 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8450 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 8451 if (obj2) {
093d3ff1
RD
8452 {
8453 arg3 = (int)(SWIG_As_int(obj2));
8454 if (SWIG_arg_fail(3)) SWIG_fail;
8455 }
248ed943 8456 }
d55e5bfc
RD
8457 if (obj3) {
8458 {
8459 arg4 = &temp4;
8460 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8461 }
8462 }
8463 if (obj4) {
8464 {
8465 arg5 = &temp5;
8466 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8467 }
8468 }
8469 if (obj5) {
8470 {
8471 if (! PySequence_Check(obj5)) {
8472 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
8473 SWIG_fail;
8474 }
8475 arg6 = new wxArrayString;
ae8162c8 8476 temp6 = true;
d55e5bfc
RD
8477 int i, len=PySequence_Length(obj5);
8478 for (i=0; i<len; i++) {
8479 PyObject* item = PySequence_GetItem(obj5, i);
8480#if wxUSE_UNICODE
8481 PyObject* str = PyObject_Unicode(item);
8482#else
8483 PyObject* str = PyObject_Str(item);
8484#endif
8485 if (PyErr_Occurred()) SWIG_fail;
8486 arg6->Add(Py2wxString(str));
8487 Py_DECREF(item);
8488 Py_DECREF(str);
8489 }
8490 }
8491 }
8492 if (obj6) {
093d3ff1
RD
8493 {
8494 arg7 = (long)(SWIG_As_long(obj6));
8495 if (SWIG_arg_fail(7)) SWIG_fail;
8496 }
d55e5bfc
RD
8497 }
8498 if (obj7) {
093d3ff1
RD
8499 {
8500 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
8501 if (SWIG_arg_fail(8)) SWIG_fail;
8502 if (arg8 == NULL) {
8503 SWIG_null_ref("wxValidator");
8504 }
8505 if (SWIG_arg_fail(8)) SWIG_fail;
d55e5bfc
RD
8506 }
8507 }
8508 if (obj8) {
8509 {
8510 arg9 = wxString_in_helper(obj8);
8511 if (arg9 == NULL) SWIG_fail;
ae8162c8 8512 temp9 = true;
d55e5bfc
RD
8513 }
8514 }
8515 {
8516 PyThreadState* __tstate = wxPyBeginAllowThreads();
8517 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
8518
8519 wxPyEndAllowThreads(__tstate);
8520 if (PyErr_Occurred()) SWIG_fail;
8521 }
8522 {
8523 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8524 }
8525 {
8526 if (temp6) delete arg6;
8527 }
8528 {
8529 if (temp9)
8530 delete arg9;
8531 }
8532 return resultobj;
8533 fail:
8534 {
8535 if (temp6) delete arg6;
8536 }
8537 {
8538 if (temp9)
8539 delete arg9;
8540 }
8541 return NULL;
8542}
8543
8544
c32bde28 8545static PyObject *_wrap_CheckListBox_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8546 PyObject *resultobj;
8547 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8548 int arg2 ;
8549 bool result;
8550 PyObject * obj0 = 0 ;
8551 PyObject * obj1 = 0 ;
8552 char *kwnames[] = {
8553 (char *) "self",(char *) "index", NULL
8554 };
8555
8556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_IsChecked",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8557 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8558 if (SWIG_arg_fail(1)) SWIG_fail;
8559 {
8560 arg2 = (int)(SWIG_As_int(obj1));
8561 if (SWIG_arg_fail(2)) SWIG_fail;
8562 }
d55e5bfc
RD
8563 {
8564 PyThreadState* __tstate = wxPyBeginAllowThreads();
8565 result = (bool)(arg1)->IsChecked(arg2);
8566
8567 wxPyEndAllowThreads(__tstate);
8568 if (PyErr_Occurred()) SWIG_fail;
8569 }
8570 {
8571 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8572 }
8573 return resultobj;
8574 fail:
8575 return NULL;
8576}
8577
8578
c32bde28 8579static PyObject *_wrap_CheckListBox_Check(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8580 PyObject *resultobj;
8581 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8582 int arg2 ;
ae8162c8 8583 int arg3 = (int) true ;
d55e5bfc
RD
8584 PyObject * obj0 = 0 ;
8585 PyObject * obj1 = 0 ;
8586 PyObject * obj2 = 0 ;
8587 char *kwnames[] = {
8588 (char *) "self",(char *) "index",(char *) "check", NULL
8589 };
8590
8591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:CheckListBox_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8592 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8593 if (SWIG_arg_fail(1)) SWIG_fail;
8594 {
8595 arg2 = (int)(SWIG_As_int(obj1));
8596 if (SWIG_arg_fail(2)) SWIG_fail;
8597 }
d55e5bfc 8598 if (obj2) {
093d3ff1
RD
8599 {
8600 arg3 = (int)(SWIG_As_int(obj2));
8601 if (SWIG_arg_fail(3)) SWIG_fail;
8602 }
d55e5bfc
RD
8603 }
8604 {
8605 PyThreadState* __tstate = wxPyBeginAllowThreads();
8606 (arg1)->Check(arg2,arg3);
8607
8608 wxPyEndAllowThreads(__tstate);
8609 if (PyErr_Occurred()) SWIG_fail;
8610 }
8611 Py_INCREF(Py_None); resultobj = Py_None;
8612 return resultobj;
8613 fail:
8614 return NULL;
8615}
8616
8617
c32bde28 8618static PyObject *_wrap_CheckListBox_GetItemHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8619 PyObject *resultobj;
8620 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8621 int result;
8622 PyObject * obj0 = 0 ;
8623 char *kwnames[] = {
8624 (char *) "self", NULL
8625 };
8626
8627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckListBox_GetItemHeight",kwnames,&obj0)) goto fail;
093d3ff1
RD
8628 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8629 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8630 {
8631 PyThreadState* __tstate = wxPyBeginAllowThreads();
8632 result = (int)(arg1)->GetItemHeight();
8633
8634 wxPyEndAllowThreads(__tstate);
8635 if (PyErr_Occurred()) SWIG_fail;
8636 }
093d3ff1
RD
8637 {
8638 resultobj = SWIG_From_int((int)(result));
8639 }
d55e5bfc
RD
8640 return resultobj;
8641 fail:
8642 return NULL;
8643}
8644
8645
c32bde28 8646static PyObject *_wrap_CheckListBox_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8647 PyObject *resultobj;
8648 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8649 wxPoint *arg2 = 0 ;
8650 int result;
8651 wxPoint temp2 ;
8652 PyObject * obj0 = 0 ;
8653 PyObject * obj1 = 0 ;
8654 char *kwnames[] = {
8655 (char *) "self",(char *) "pt", NULL
8656 };
8657
8658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_HitTest",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8659 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8660 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8661 {
8662 arg2 = &temp2;
8663 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8664 }
8665 {
8666 PyThreadState* __tstate = wxPyBeginAllowThreads();
8667 result = (int)((wxCheckListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
8668
8669 wxPyEndAllowThreads(__tstate);
8670 if (PyErr_Occurred()) SWIG_fail;
8671 }
093d3ff1
RD
8672 {
8673 resultobj = SWIG_From_int((int)(result));
8674 }
d55e5bfc
RD
8675 return resultobj;
8676 fail:
8677 return NULL;
8678}
8679
8680
c32bde28 8681static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8682 PyObject *resultobj;
8683 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8684 int arg2 ;
8685 int arg3 ;
8686 int result;
8687 PyObject * obj0 = 0 ;
8688 PyObject * obj1 = 0 ;
8689 PyObject * obj2 = 0 ;
8690 char *kwnames[] = {
8691 (char *) "self",(char *) "x",(char *) "y", NULL
8692 };
8693
8694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:CheckListBox_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8695 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8696 if (SWIG_arg_fail(1)) SWIG_fail;
8697 {
8698 arg2 = (int)(SWIG_As_int(obj1));
8699 if (SWIG_arg_fail(2)) SWIG_fail;
8700 }
8701 {
8702 arg3 = (int)(SWIG_As_int(obj2));
8703 if (SWIG_arg_fail(3)) SWIG_fail;
8704 }
d55e5bfc
RD
8705 {
8706 PyThreadState* __tstate = wxPyBeginAllowThreads();
8707 result = (int)((wxCheckListBox const *)arg1)->HitTest(arg2,arg3);
8708
8709 wxPyEndAllowThreads(__tstate);
8710 if (PyErr_Occurred()) SWIG_fail;
8711 }
093d3ff1
RD
8712 {
8713 resultobj = SWIG_From_int((int)(result));
8714 }
d55e5bfc
RD
8715 return resultobj;
8716 fail:
8717 return NULL;
8718}
8719
8720
c32bde28 8721static PyObject * CheckListBox_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
8722 PyObject *obj;
8723 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8724 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox, obj);
8725 Py_INCREF(obj);
8726 return Py_BuildValue((char *)"");
8727}
c32bde28 8728static int _wrap_TextCtrlNameStr_set(PyObject *) {
d55e5bfc
RD
8729 PyErr_SetString(PyExc_TypeError,"Variable TextCtrlNameStr is read-only.");
8730 return 1;
8731}
8732
8733
093d3ff1 8734static PyObject *_wrap_TextCtrlNameStr_get(void) {
d55e5bfc
RD
8735 PyObject *pyobj;
8736
8737 {
8738#if wxUSE_UNICODE
8739 pyobj = PyUnicode_FromWideChar((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
8740#else
8741 pyobj = PyString_FromStringAndSize((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
8742#endif
8743 }
8744 return pyobj;
8745}
8746
8747
c32bde28 8748static PyObject *_wrap_new_TextAttr(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 8749 PyObject *resultobj;
908b74cd
RD
8750 wxColour const &arg1_defvalue = wxNullColour ;
8751 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
d55e5bfc
RD
8752 wxColour const &arg2_defvalue = wxNullColour ;
8753 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
8754 wxFont const &arg3_defvalue = wxNullFont ;
8755 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
093d3ff1 8756 wxTextAttrAlignment arg4 = (wxTextAttrAlignment) wxTEXT_ALIGNMENT_DEFAULT ;
d55e5bfc
RD
8757 wxTextAttr *result;
8758 wxColour temp1 ;
8759 wxColour temp2 ;
8760 PyObject * obj0 = 0 ;
8761 PyObject * obj1 = 0 ;
8762 PyObject * obj2 = 0 ;
8763 PyObject * obj3 = 0 ;
908b74cd
RD
8764 char *kwnames[] = {
8765 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
8766 };
d55e5bfc 8767
908b74cd
RD
8768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TextAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8769 if (obj0) {
8770 {
8771 arg1 = &temp1;
8772 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
8773 }
d55e5bfc
RD
8774 }
8775 if (obj1) {
8776 {
8777 arg2 = &temp2;
8778 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8779 }
8780 }
8781 if (obj2) {
093d3ff1
RD
8782 {
8783 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
8784 if (SWIG_arg_fail(3)) SWIG_fail;
8785 if (arg3 == NULL) {
8786 SWIG_null_ref("wxFont");
8787 }
8788 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
8789 }
8790 }
8791 if (obj3) {
093d3ff1
RD
8792 {
8793 arg4 = (wxTextAttrAlignment)(SWIG_As_int(obj3));
8794 if (SWIG_arg_fail(4)) SWIG_fail;
8795 }
d55e5bfc
RD
8796 }
8797 {
8798 PyThreadState* __tstate = wxPyBeginAllowThreads();
8799 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,(wxTextAttrAlignment )arg4);
8800
8801 wxPyEndAllowThreads(__tstate);
8802 if (PyErr_Occurred()) SWIG_fail;
8803 }
8804 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 1);
8805 return resultobj;
8806 fail:
8807 return NULL;
8808}
8809
8810
c32bde28 8811static PyObject *_wrap_delete_TextAttr(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8812 PyObject *resultobj;
8813 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8814 PyObject * obj0 = 0 ;
8815 char *kwnames[] = {
8816 (char *) "self", NULL
8817 };
8818
8819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TextAttr",kwnames,&obj0)) goto fail;
093d3ff1
RD
8820 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8821 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8822 {
8823 PyThreadState* __tstate = wxPyBeginAllowThreads();
8824 delete arg1;
8825
8826 wxPyEndAllowThreads(__tstate);
8827 if (PyErr_Occurred()) SWIG_fail;
8828 }
8829 Py_INCREF(Py_None); resultobj = Py_None;
8830 return resultobj;
8831 fail:
8832 return NULL;
8833}
8834
8835
c32bde28 8836static PyObject *_wrap_TextAttr_Init(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8837 PyObject *resultobj;
8838 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8839 PyObject * obj0 = 0 ;
8840 char *kwnames[] = {
8841 (char *) "self", NULL
8842 };
8843
8844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_Init",kwnames,&obj0)) goto fail;
093d3ff1
RD
8845 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8846 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8847 {
8848 PyThreadState* __tstate = wxPyBeginAllowThreads();
8849 (arg1)->Init();
8850
8851 wxPyEndAllowThreads(__tstate);
8852 if (PyErr_Occurred()) SWIG_fail;
8853 }
8854 Py_INCREF(Py_None); resultobj = Py_None;
8855 return resultobj;
8856 fail:
8857 return NULL;
8858}
8859
8860
c32bde28 8861static PyObject *_wrap_TextAttr_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8862 PyObject *resultobj;
8863 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8864 wxColour *arg2 = 0 ;
8865 wxColour temp2 ;
8866 PyObject * obj0 = 0 ;
8867 PyObject * obj1 = 0 ;
8868 char *kwnames[] = {
8869 (char *) "self",(char *) "colText", NULL
8870 };
8871
8872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8873 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8874 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8875 {
8876 arg2 = &temp2;
8877 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8878 }
8879 {
8880 PyThreadState* __tstate = wxPyBeginAllowThreads();
8881 (arg1)->SetTextColour((wxColour const &)*arg2);
8882
8883 wxPyEndAllowThreads(__tstate);
8884 if (PyErr_Occurred()) SWIG_fail;
8885 }
8886 Py_INCREF(Py_None); resultobj = Py_None;
8887 return resultobj;
8888 fail:
8889 return NULL;
8890}
8891
8892
c32bde28 8893static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8894 PyObject *resultobj;
8895 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8896 wxColour *arg2 = 0 ;
8897 wxColour temp2 ;
8898 PyObject * obj0 = 0 ;
8899 PyObject * obj1 = 0 ;
8900 char *kwnames[] = {
8901 (char *) "self",(char *) "colBack", NULL
8902 };
8903
8904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8905 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8906 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8907 {
8908 arg2 = &temp2;
8909 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8910 }
8911 {
8912 PyThreadState* __tstate = wxPyBeginAllowThreads();
8913 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
8914
8915 wxPyEndAllowThreads(__tstate);
8916 if (PyErr_Occurred()) SWIG_fail;
8917 }
8918 Py_INCREF(Py_None); resultobj = Py_None;
8919 return resultobj;
8920 fail:
8921 return NULL;
8922}
8923
8924
c32bde28 8925static PyObject *_wrap_TextAttr_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8926 PyObject *resultobj;
8927 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8928 wxFont *arg2 = 0 ;
8929 long arg3 = (long) wxTEXT_ATTR_FONT ;
8930 PyObject * obj0 = 0 ;
8931 PyObject * obj1 = 0 ;
8932 PyObject * obj2 = 0 ;
8933 char *kwnames[] = {
8934 (char *) "self",(char *) "font",(char *) "flags", NULL
8935 };
8936
8937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8938 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8939 if (SWIG_arg_fail(1)) SWIG_fail;
8940 {
8941 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
8942 if (SWIG_arg_fail(2)) SWIG_fail;
8943 if (arg2 == NULL) {
8944 SWIG_null_ref("wxFont");
8945 }
8946 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
8947 }
8948 if (obj2) {
093d3ff1
RD
8949 {
8950 arg3 = (long)(SWIG_As_long(obj2));
8951 if (SWIG_arg_fail(3)) SWIG_fail;
8952 }
d55e5bfc
RD
8953 }
8954 {
8955 PyThreadState* __tstate = wxPyBeginAllowThreads();
8956 (arg1)->SetFont((wxFont const &)*arg2,arg3);
8957
8958 wxPyEndAllowThreads(__tstate);
8959 if (PyErr_Occurred()) SWIG_fail;
8960 }
8961 Py_INCREF(Py_None); resultobj = Py_None;
8962 return resultobj;
8963 fail:
8964 return NULL;
8965}
8966
8967
c32bde28 8968static PyObject *_wrap_TextAttr_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8969 PyObject *resultobj;
8970 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
093d3ff1 8971 wxTextAttrAlignment arg2 ;
d55e5bfc
RD
8972 PyObject * obj0 = 0 ;
8973 PyObject * obj1 = 0 ;
8974 char *kwnames[] = {
8975 (char *) "self",(char *) "alignment", NULL
8976 };
8977
8978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8979 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8980 if (SWIG_arg_fail(1)) SWIG_fail;
8981 {
8982 arg2 = (wxTextAttrAlignment)(SWIG_As_int(obj1));
8983 if (SWIG_arg_fail(2)) SWIG_fail;
8984 }
d55e5bfc
RD
8985 {
8986 PyThreadState* __tstate = wxPyBeginAllowThreads();
8987 (arg1)->SetAlignment((wxTextAttrAlignment )arg2);
8988
8989 wxPyEndAllowThreads(__tstate);
8990 if (PyErr_Occurred()) SWIG_fail;
8991 }
8992 Py_INCREF(Py_None); resultobj = Py_None;
8993 return resultobj;
8994 fail:
8995 return NULL;
8996}
8997
8998
c32bde28 8999static PyObject *_wrap_TextAttr_SetTabs(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9000 PyObject *resultobj;
9001 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9002 wxArrayInt *arg2 = 0 ;
ae8162c8 9003 bool temp2 = false ;
d55e5bfc
RD
9004 PyObject * obj0 = 0 ;
9005 PyObject * obj1 = 0 ;
9006 char *kwnames[] = {
9007 (char *) "self",(char *) "tabs", NULL
9008 };
9009
9010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9011 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9012 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9013 {
9014 if (! PySequence_Check(obj1)) {
9015 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
9016 SWIG_fail;
9017 }
9018 arg2 = new wxArrayInt;
ae8162c8 9019 temp2 = true;
d55e5bfc
RD
9020 int i, len=PySequence_Length(obj1);
9021 for (i=0; i<len; i++) {
9022 PyObject* item = PySequence_GetItem(obj1, i);
9023 PyObject* number = PyNumber_Int(item);
9024 arg2->Add(PyInt_AS_LONG(number));
9025 Py_DECREF(item);
9026 Py_DECREF(number);
9027 }
9028 }
9029 {
9030 PyThreadState* __tstate = wxPyBeginAllowThreads();
9031 (arg1)->SetTabs((wxArrayInt const &)*arg2);
9032
9033 wxPyEndAllowThreads(__tstate);
9034 if (PyErr_Occurred()) SWIG_fail;
9035 }
9036 Py_INCREF(Py_None); resultobj = Py_None;
9037 {
9038 if (temp2) delete arg2;
9039 }
9040 return resultobj;
9041 fail:
9042 {
9043 if (temp2) delete arg2;
9044 }
9045 return NULL;
9046}
9047
9048
c32bde28 9049static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9050 PyObject *resultobj;
9051 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9052 int arg2 ;
a07a67e6 9053 int arg3 = (int) 0 ;
d55e5bfc
RD
9054 PyObject * obj0 = 0 ;
9055 PyObject * obj1 = 0 ;
a07a67e6 9056 PyObject * obj2 = 0 ;
d55e5bfc 9057 char *kwnames[] = {
a07a67e6 9058 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
d55e5bfc
RD
9059 };
9060
a07a67e6 9061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
9062 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9063 if (SWIG_arg_fail(1)) SWIG_fail;
9064 {
9065 arg2 = (int)(SWIG_As_int(obj1));
9066 if (SWIG_arg_fail(2)) SWIG_fail;
9067 }
a07a67e6 9068 if (obj2) {
093d3ff1
RD
9069 {
9070 arg3 = (int)(SWIG_As_int(obj2));
9071 if (SWIG_arg_fail(3)) SWIG_fail;
9072 }
a07a67e6 9073 }
d55e5bfc
RD
9074 {
9075 PyThreadState* __tstate = wxPyBeginAllowThreads();
a07a67e6 9076 (arg1)->SetLeftIndent(arg2,arg3);
d55e5bfc
RD
9077
9078 wxPyEndAllowThreads(__tstate);
9079 if (PyErr_Occurred()) SWIG_fail;
9080 }
9081 Py_INCREF(Py_None); resultobj = Py_None;
9082 return resultobj;
9083 fail:
9084 return NULL;
9085}
9086
9087
c32bde28 9088static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9089 PyObject *resultobj;
9090 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9091 int arg2 ;
9092 PyObject * obj0 = 0 ;
9093 PyObject * obj1 = 0 ;
9094 char *kwnames[] = {
9095 (char *) "self",(char *) "indent", NULL
9096 };
9097
9098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetRightIndent",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9099 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9100 if (SWIG_arg_fail(1)) SWIG_fail;
9101 {
9102 arg2 = (int)(SWIG_As_int(obj1));
9103 if (SWIG_arg_fail(2)) SWIG_fail;
9104 }
d55e5bfc
RD
9105 {
9106 PyThreadState* __tstate = wxPyBeginAllowThreads();
9107 (arg1)->SetRightIndent(arg2);
9108
9109 wxPyEndAllowThreads(__tstate);
9110 if (PyErr_Occurred()) SWIG_fail;
9111 }
9112 Py_INCREF(Py_None); resultobj = Py_None;
9113 return resultobj;
9114 fail:
9115 return NULL;
9116}
9117
9118
c32bde28 9119static PyObject *_wrap_TextAttr_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9120 PyObject *resultobj;
9121 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9122 long arg2 ;
9123 PyObject * obj0 = 0 ;
9124 PyObject * obj1 = 0 ;
9125 char *kwnames[] = {
9126 (char *) "self",(char *) "flags", NULL
9127 };
9128
9129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetFlags",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9130 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9131 if (SWIG_arg_fail(1)) SWIG_fail;
9132 {
9133 arg2 = (long)(SWIG_As_long(obj1));
9134 if (SWIG_arg_fail(2)) SWIG_fail;
9135 }
d55e5bfc
RD
9136 {
9137 PyThreadState* __tstate = wxPyBeginAllowThreads();
9138 (arg1)->SetFlags(arg2);
9139
9140 wxPyEndAllowThreads(__tstate);
9141 if (PyErr_Occurred()) SWIG_fail;
9142 }
9143 Py_INCREF(Py_None); resultobj = Py_None;
9144 return resultobj;
9145 fail:
9146 return NULL;
9147}
9148
9149
c32bde28 9150static PyObject *_wrap_TextAttr_HasTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9151 PyObject *resultobj;
9152 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9153 bool result;
9154 PyObject * obj0 = 0 ;
9155 char *kwnames[] = {
9156 (char *) "self", NULL
9157 };
9158
9159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTextColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
9160 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9161 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9162 {
9163 PyThreadState* __tstate = wxPyBeginAllowThreads();
9164 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
9165
9166 wxPyEndAllowThreads(__tstate);
9167 if (PyErr_Occurred()) SWIG_fail;
9168 }
9169 {
9170 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9171 }
9172 return resultobj;
9173 fail:
9174 return NULL;
9175}
9176
9177
c32bde28 9178static PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9179 PyObject *resultobj;
9180 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9181 bool result;
9182 PyObject * obj0 = 0 ;
9183 char *kwnames[] = {
9184 (char *) "self", NULL
9185 };
9186
9187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
9188 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9189 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9190 {
9191 PyThreadState* __tstate = wxPyBeginAllowThreads();
9192 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
9193
9194 wxPyEndAllowThreads(__tstate);
9195 if (PyErr_Occurred()) SWIG_fail;
9196 }
9197 {
9198 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9199 }
9200 return resultobj;
9201 fail:
9202 return NULL;
9203}
9204
9205
c32bde28 9206static PyObject *_wrap_TextAttr_HasFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9207 PyObject *resultobj;
9208 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9209 bool result;
9210 PyObject * obj0 = 0 ;
9211 char *kwnames[] = {
9212 (char *) "self", NULL
9213 };
9214
9215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasFont",kwnames,&obj0)) goto fail;
093d3ff1
RD
9216 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9217 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9218 {
9219 PyThreadState* __tstate = wxPyBeginAllowThreads();
9220 result = (bool)((wxTextAttr const *)arg1)->HasFont();
9221
9222 wxPyEndAllowThreads(__tstate);
9223 if (PyErr_Occurred()) SWIG_fail;
9224 }
9225 {
9226 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9227 }
9228 return resultobj;
9229 fail:
9230 return NULL;
9231}
9232
9233
c32bde28 9234static PyObject *_wrap_TextAttr_HasAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9235 PyObject *resultobj;
9236 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9237 bool result;
9238 PyObject * obj0 = 0 ;
9239 char *kwnames[] = {
9240 (char *) "self", NULL
9241 };
9242
9243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasAlignment",kwnames,&obj0)) goto fail;
093d3ff1
RD
9244 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9245 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9246 {
9247 PyThreadState* __tstate = wxPyBeginAllowThreads();
9248 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
9249
9250 wxPyEndAllowThreads(__tstate);
9251 if (PyErr_Occurred()) SWIG_fail;
9252 }
9253 {
9254 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9255 }
9256 return resultobj;
9257 fail:
9258 return NULL;
9259}
9260
9261
c32bde28 9262static PyObject *_wrap_TextAttr_HasTabs(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9263 PyObject *resultobj;
9264 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9265 bool result;
9266 PyObject * obj0 = 0 ;
9267 char *kwnames[] = {
9268 (char *) "self", NULL
9269 };
9270
9271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTabs",kwnames,&obj0)) goto fail;
093d3ff1
RD
9272 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9273 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9274 {
9275 PyThreadState* __tstate = wxPyBeginAllowThreads();
9276 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
9277
9278 wxPyEndAllowThreads(__tstate);
9279 if (PyErr_Occurred()) SWIG_fail;
9280 }
9281 {
9282 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9283 }
9284 return resultobj;
9285 fail:
9286 return NULL;
9287}
9288
9289
c32bde28 9290static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9291 PyObject *resultobj;
9292 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9293 bool result;
9294 PyObject * obj0 = 0 ;
9295 char *kwnames[] = {
9296 (char *) "self", NULL
9297 };
9298
9299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasLeftIndent",kwnames,&obj0)) goto fail;
093d3ff1
RD
9300 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9301 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9302 {
9303 PyThreadState* __tstate = wxPyBeginAllowThreads();
9304 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
9305
9306 wxPyEndAllowThreads(__tstate);
9307 if (PyErr_Occurred()) SWIG_fail;
9308 }
9309 {
9310 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9311 }
9312 return resultobj;
9313 fail:
9314 return NULL;
9315}
9316
9317
c32bde28 9318static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9319 PyObject *resultobj;
9320 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9321 bool result;
9322 PyObject * obj0 = 0 ;
9323 char *kwnames[] = {
9324 (char *) "self", NULL
9325 };
9326
9327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasRightIndent",kwnames,&obj0)) goto fail;
093d3ff1
RD
9328 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9329 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9330 {
9331 PyThreadState* __tstate = wxPyBeginAllowThreads();
9332 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
9333
9334 wxPyEndAllowThreads(__tstate);
9335 if (PyErr_Occurred()) SWIG_fail;
9336 }
9337 {
9338 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9339 }
9340 return resultobj;
9341 fail:
9342 return NULL;
9343}
9344
9345
c32bde28 9346static PyObject *_wrap_TextAttr_HasFlag(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9347 PyObject *resultobj;
9348 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9349 long arg2 ;
9350 bool result;
9351 PyObject * obj0 = 0 ;
9352 PyObject * obj1 = 0 ;
9353 char *kwnames[] = {
9354 (char *) "self",(char *) "flag", NULL
9355 };
9356
9357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_HasFlag",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9358 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9359 if (SWIG_arg_fail(1)) SWIG_fail;
9360 {
9361 arg2 = (long)(SWIG_As_long(obj1));
9362 if (SWIG_arg_fail(2)) SWIG_fail;
9363 }
d55e5bfc
RD
9364 {
9365 PyThreadState* __tstate = wxPyBeginAllowThreads();
9366 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
9367
9368 wxPyEndAllowThreads(__tstate);
9369 if (PyErr_Occurred()) SWIG_fail;
9370 }
9371 {
9372 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9373 }
9374 return resultobj;
9375 fail:
9376 return NULL;
9377}
9378
9379
c32bde28 9380static PyObject *_wrap_TextAttr_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9381 PyObject *resultobj;
9382 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9383 wxColour *result;
9384 PyObject * obj0 = 0 ;
9385 char *kwnames[] = {
9386 (char *) "self", NULL
9387 };
9388
9389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTextColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
9390 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9391 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9392 {
9393 PyThreadState* __tstate = wxPyBeginAllowThreads();
9394 {
9395 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
9396 result = (wxColour *) &_result_ref;
9397 }
9398
9399 wxPyEndAllowThreads(__tstate);
9400 if (PyErr_Occurred()) SWIG_fail;
9401 }
9402 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
9403 return resultobj;
9404 fail:
9405 return NULL;
9406}
9407
9408
c32bde28 9409static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9410 PyObject *resultobj;
9411 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9412 wxColour *result;
9413 PyObject * obj0 = 0 ;
9414 char *kwnames[] = {
9415 (char *) "self", NULL
9416 };
9417
9418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
9419 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9420 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9421 {
9422 PyThreadState* __tstate = wxPyBeginAllowThreads();
9423 {
9424 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
9425 result = (wxColour *) &_result_ref;
9426 }
9427
9428 wxPyEndAllowThreads(__tstate);
9429 if (PyErr_Occurred()) SWIG_fail;
9430 }
9431 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
9432 return resultobj;
9433 fail:
9434 return NULL;
9435}
9436
9437
c32bde28 9438static PyObject *_wrap_TextAttr_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9439 PyObject *resultobj;
9440 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9441 wxFont *result;
9442 PyObject * obj0 = 0 ;
9443 char *kwnames[] = {
9444 (char *) "self", NULL
9445 };
9446
9447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFont",kwnames,&obj0)) goto fail;
093d3ff1
RD
9448 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9449 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9450 {
9451 PyThreadState* __tstate = wxPyBeginAllowThreads();
9452 {
9453 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
9454 result = (wxFont *) &_result_ref;
9455 }
9456
9457 wxPyEndAllowThreads(__tstate);
9458 if (PyErr_Occurred()) SWIG_fail;
9459 }
9460 {
9461 wxFont* resultptr = new wxFont(*result);
9462 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxFont, 1);
9463 }
9464 return resultobj;
9465 fail:
9466 return NULL;
9467}
9468
9469
c32bde28 9470static PyObject *_wrap_TextAttr_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9471 PyObject *resultobj;
9472 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
093d3ff1 9473 wxTextAttrAlignment result;
d55e5bfc
RD
9474 PyObject * obj0 = 0 ;
9475 char *kwnames[] = {
9476 (char *) "self", NULL
9477 };
9478
9479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetAlignment",kwnames,&obj0)) goto fail;
093d3ff1
RD
9480 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9481 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9482 {
9483 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 9484 result = (wxTextAttrAlignment)((wxTextAttr const *)arg1)->GetAlignment();
d55e5bfc
RD
9485
9486 wxPyEndAllowThreads(__tstate);
9487 if (PyErr_Occurred()) SWIG_fail;
9488 }
093d3ff1 9489 resultobj = SWIG_From_int((result));
d55e5bfc
RD
9490 return resultobj;
9491 fail:
9492 return NULL;
9493}
9494
9495
c32bde28 9496static PyObject *_wrap_TextAttr_GetTabs(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9497 PyObject *resultobj;
9498 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9499 wxArrayInt *result;
9500 PyObject * obj0 = 0 ;
9501 char *kwnames[] = {
9502 (char *) "self", NULL
9503 };
9504
9505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTabs",kwnames,&obj0)) goto fail;
093d3ff1
RD
9506 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9507 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9508 {
9509 PyThreadState* __tstate = wxPyBeginAllowThreads();
9510 {
9511 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
9512 result = (wxArrayInt *) &_result_ref;
9513 }
9514
9515 wxPyEndAllowThreads(__tstate);
9516 if (PyErr_Occurred()) SWIG_fail;
9517 }
9518 {
9519 resultobj = PyList_New(0);
9520 size_t idx;
9521 for (idx = 0; idx < result->GetCount(); idx += 1) {
9522 PyObject* val = PyInt_FromLong( result->Item(idx) );
9523 PyList_Append(resultobj, val);
9524 Py_DECREF(val);
9525 }
9526 }
9527 return resultobj;
9528 fail:
9529 return NULL;
9530}
9531
9532
c32bde28 9533static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9534 PyObject *resultobj;
9535 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9536 long result;
9537 PyObject * obj0 = 0 ;
9538 char *kwnames[] = {
9539 (char *) "self", NULL
9540 };
9541
9542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftIndent",kwnames,&obj0)) goto fail;
093d3ff1
RD
9543 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9544 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9545 {
9546 PyThreadState* __tstate = wxPyBeginAllowThreads();
9547 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
9548
9549 wxPyEndAllowThreads(__tstate);
9550 if (PyErr_Occurred()) SWIG_fail;
9551 }
093d3ff1
RD
9552 {
9553 resultobj = SWIG_From_long((long)(result));
9554 }
d55e5bfc
RD
9555 return resultobj;
9556 fail:
9557 return NULL;
9558}
9559
9560
c32bde28 9561static PyObject *_wrap_TextAttr_GetLeftSubIndent(PyObject *, PyObject *args, PyObject *kwargs) {
a07a67e6
RD
9562 PyObject *resultobj;
9563 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9564 long result;
9565 PyObject * obj0 = 0 ;
9566 char *kwnames[] = {
9567 (char *) "self", NULL
9568 };
9569
9570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftSubIndent",kwnames,&obj0)) goto fail;
093d3ff1
RD
9571 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9572 if (SWIG_arg_fail(1)) SWIG_fail;
a07a67e6
RD
9573 {
9574 PyThreadState* __tstate = wxPyBeginAllowThreads();
9575 result = (long)((wxTextAttr const *)arg1)->GetLeftSubIndent();
9576
9577 wxPyEndAllowThreads(__tstate);
9578 if (PyErr_Occurred()) SWIG_fail;
9579 }
093d3ff1
RD
9580 {
9581 resultobj = SWIG_From_long((long)(result));
9582 }
a07a67e6
RD
9583 return resultobj;
9584 fail:
9585 return NULL;
9586}
9587
9588
c32bde28 9589static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9590 PyObject *resultobj;
9591 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9592 long result;
9593 PyObject * obj0 = 0 ;
9594 char *kwnames[] = {
9595 (char *) "self", NULL
9596 };
9597
9598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetRightIndent",kwnames,&obj0)) goto fail;
093d3ff1
RD
9599 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9600 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9601 {
9602 PyThreadState* __tstate = wxPyBeginAllowThreads();
9603 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
9604
9605 wxPyEndAllowThreads(__tstate);
9606 if (PyErr_Occurred()) SWIG_fail;
9607 }
093d3ff1
RD
9608 {
9609 resultobj = SWIG_From_long((long)(result));
9610 }
d55e5bfc
RD
9611 return resultobj;
9612 fail:
9613 return NULL;
9614}
9615
9616
c32bde28 9617static PyObject *_wrap_TextAttr_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9618 PyObject *resultobj;
9619 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9620 long result;
9621 PyObject * obj0 = 0 ;
9622 char *kwnames[] = {
9623 (char *) "self", NULL
9624 };
9625
9626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFlags",kwnames,&obj0)) goto fail;
093d3ff1
RD
9627 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9628 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9629 {
9630 PyThreadState* __tstate = wxPyBeginAllowThreads();
9631 result = (long)((wxTextAttr const *)arg1)->GetFlags();
9632
9633 wxPyEndAllowThreads(__tstate);
9634 if (PyErr_Occurred()) SWIG_fail;
9635 }
093d3ff1
RD
9636 {
9637 resultobj = SWIG_From_long((long)(result));
9638 }
d55e5bfc
RD
9639 return resultobj;
9640 fail:
9641 return NULL;
9642}
9643
9644
c32bde28 9645static PyObject *_wrap_TextAttr_IsDefault(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9646 PyObject *resultobj;
9647 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9648 bool result;
9649 PyObject * obj0 = 0 ;
9650 char *kwnames[] = {
9651 (char *) "self", NULL
9652 };
9653
9654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_IsDefault",kwnames,&obj0)) goto fail;
093d3ff1
RD
9655 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9656 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9657 {
9658 PyThreadState* __tstate = wxPyBeginAllowThreads();
9659 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
9660
9661 wxPyEndAllowThreads(__tstate);
9662 if (PyErr_Occurred()) SWIG_fail;
9663 }
9664 {
9665 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9666 }
9667 return resultobj;
9668 fail:
9669 return NULL;
9670}
9671
9672
c32bde28 9673static PyObject *_wrap_TextAttr_Combine(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9674 PyObject *resultobj;
9675 wxTextAttr *arg1 = 0 ;
9676 wxTextAttr *arg2 = 0 ;
9677 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
9678 wxTextAttr result;
9679 PyObject * obj0 = 0 ;
9680 PyObject * obj1 = 0 ;
9681 PyObject * obj2 = 0 ;
9682 char *kwnames[] = {
9683 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
9684 };
9685
9686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
9687 {
9688 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9689 if (SWIG_arg_fail(1)) SWIG_fail;
9690 if (arg1 == NULL) {
9691 SWIG_null_ref("wxTextAttr");
9692 }
9693 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 9694 }
093d3ff1
RD
9695 {
9696 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9697 if (SWIG_arg_fail(2)) SWIG_fail;
9698 if (arg2 == NULL) {
9699 SWIG_null_ref("wxTextAttr");
9700 }
9701 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 9702 }
093d3ff1
RD
9703 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9704 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
9705 {
9706 PyThreadState* __tstate = wxPyBeginAllowThreads();
9707 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
9708
9709 wxPyEndAllowThreads(__tstate);
9710 if (PyErr_Occurred()) SWIG_fail;
9711 }
9712 {
9713 wxTextAttr * resultptr;
093d3ff1 9714 resultptr = new wxTextAttr((wxTextAttr &)(result));
d55e5bfc
RD
9715 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTextAttr, 1);
9716 }
9717 return resultobj;
9718 fail:
9719 return NULL;
9720}
9721
9722
c32bde28 9723static PyObject * TextAttr_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
9724 PyObject *obj;
9725 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9726 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr, obj);
9727 Py_INCREF(obj);
9728 return Py_BuildValue((char *)"");
9729}
c32bde28 9730static PyObject *_wrap_new_TextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9731 PyObject *resultobj;
9732 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 9733 int arg2 = (int) -1 ;
d55e5bfc
RD
9734 wxString const &arg3_defvalue = wxPyEmptyString ;
9735 wxString *arg3 = (wxString *) &arg3_defvalue ;
9736 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9737 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9738 wxSize const &arg5_defvalue = wxDefaultSize ;
9739 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9740 long arg6 = (long) 0 ;
9741 wxValidator const &arg7_defvalue = wxDefaultValidator ;
9742 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
9743 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
9744 wxString *arg8 = (wxString *) &arg8_defvalue ;
9745 wxTextCtrl *result;
ae8162c8 9746 bool temp3 = false ;
d55e5bfc
RD
9747 wxPoint temp4 ;
9748 wxSize temp5 ;
ae8162c8 9749 bool temp8 = false ;
d55e5bfc
RD
9750 PyObject * obj0 = 0 ;
9751 PyObject * obj1 = 0 ;
9752 PyObject * obj2 = 0 ;
9753 PyObject * obj3 = 0 ;
9754 PyObject * obj4 = 0 ;
9755 PyObject * obj5 = 0 ;
9756 PyObject * obj6 = 0 ;
9757 PyObject * obj7 = 0 ;
9758 char *kwnames[] = {
9759 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9760 };
9761
248ed943 9762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_TextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
9763 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
9764 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 9765 if (obj1) {
093d3ff1
RD
9766 {
9767 arg2 = (int)(SWIG_As_int(obj1));
9768 if (SWIG_arg_fail(2)) SWIG_fail;
9769 }
248ed943 9770 }
d55e5bfc
RD
9771 if (obj2) {
9772 {
9773 arg3 = wxString_in_helper(obj2);
9774 if (arg3 == NULL) SWIG_fail;
ae8162c8 9775 temp3 = true;
d55e5bfc
RD
9776 }
9777 }
9778 if (obj3) {
9779 {
9780 arg4 = &temp4;
9781 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9782 }
9783 }
9784 if (obj4) {
9785 {
9786 arg5 = &temp5;
9787 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9788 }
9789 }
9790 if (obj5) {
093d3ff1
RD
9791 {
9792 arg6 = (long)(SWIG_As_long(obj5));
9793 if (SWIG_arg_fail(6)) SWIG_fail;
9794 }
d55e5bfc
RD
9795 }
9796 if (obj6) {
093d3ff1
RD
9797 {
9798 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
9799 if (SWIG_arg_fail(7)) SWIG_fail;
9800 if (arg7 == NULL) {
9801 SWIG_null_ref("wxValidator");
9802 }
9803 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
9804 }
9805 }
9806 if (obj7) {
9807 {
9808 arg8 = wxString_in_helper(obj7);
9809 if (arg8 == NULL) SWIG_fail;
ae8162c8 9810 temp8 = true;
d55e5bfc
RD
9811 }
9812 }
9813 {
0439c23b 9814 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
9815 PyThreadState* __tstate = wxPyBeginAllowThreads();
9816 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
9817
9818 wxPyEndAllowThreads(__tstate);
110da5b0 9819 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 9820 }
b0f7404b 9821 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextCtrl, 1);
d55e5bfc
RD
9822 {
9823 if (temp3)
9824 delete arg3;
9825 }
9826 {
9827 if (temp8)
9828 delete arg8;
9829 }
9830 return resultobj;
9831 fail:
9832 {
9833 if (temp3)
9834 delete arg3;
9835 }
9836 {
9837 if (temp8)
9838 delete arg8;
9839 }
9840 return NULL;
9841}
9842
9843
c32bde28 9844static PyObject *_wrap_new_PreTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9845 PyObject *resultobj;
9846 wxTextCtrl *result;
9847 char *kwnames[] = {
9848 NULL
9849 };
9850
9851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTextCtrl",kwnames)) goto fail;
9852 {
0439c23b 9853 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
9854 PyThreadState* __tstate = wxPyBeginAllowThreads();
9855 result = (wxTextCtrl *)new wxTextCtrl();
9856
9857 wxPyEndAllowThreads(__tstate);
110da5b0 9858 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 9859 }
b0f7404b 9860 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextCtrl, 1);
d55e5bfc
RD
9861 return resultobj;
9862 fail:
9863 return NULL;
9864}
9865
9866
c32bde28 9867static PyObject *_wrap_TextCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9868 PyObject *resultobj;
9869 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9870 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 9871 int arg3 = (int) -1 ;
d55e5bfc
RD
9872 wxString const &arg4_defvalue = wxPyEmptyString ;
9873 wxString *arg4 = (wxString *) &arg4_defvalue ;
9874 wxPoint const &arg5_defvalue = wxDefaultPosition ;
9875 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
9876 wxSize const &arg6_defvalue = wxDefaultSize ;
9877 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
9878 long arg7 = (long) 0 ;
9879 wxValidator const &arg8_defvalue = wxDefaultValidator ;
9880 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
9881 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
9882 wxString *arg9 = (wxString *) &arg9_defvalue ;
9883 bool result;
ae8162c8 9884 bool temp4 = false ;
d55e5bfc
RD
9885 wxPoint temp5 ;
9886 wxSize temp6 ;
ae8162c8 9887 bool temp9 = false ;
d55e5bfc
RD
9888 PyObject * obj0 = 0 ;
9889 PyObject * obj1 = 0 ;
9890 PyObject * obj2 = 0 ;
9891 PyObject * obj3 = 0 ;
9892 PyObject * obj4 = 0 ;
9893 PyObject * obj5 = 0 ;
9894 PyObject * obj6 = 0 ;
9895 PyObject * obj7 = 0 ;
9896 PyObject * obj8 = 0 ;
9897 char *kwnames[] = {
9898 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9899 };
9900
248ed943 9901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
9902 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9903 if (SWIG_arg_fail(1)) SWIG_fail;
9904 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
9905 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 9906 if (obj2) {
093d3ff1
RD
9907 {
9908 arg3 = (int)(SWIG_As_int(obj2));
9909 if (SWIG_arg_fail(3)) SWIG_fail;
9910 }
248ed943 9911 }
d55e5bfc
RD
9912 if (obj3) {
9913 {
9914 arg4 = wxString_in_helper(obj3);
9915 if (arg4 == NULL) SWIG_fail;
ae8162c8 9916 temp4 = true;
d55e5bfc
RD
9917 }
9918 }
9919 if (obj4) {
9920 {
9921 arg5 = &temp5;
9922 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
9923 }
9924 }
9925 if (obj5) {
9926 {
9927 arg6 = &temp6;
9928 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
9929 }
9930 }
9931 if (obj6) {
093d3ff1
RD
9932 {
9933 arg7 = (long)(SWIG_As_long(obj6));
9934 if (SWIG_arg_fail(7)) SWIG_fail;
9935 }
d55e5bfc
RD
9936 }
9937 if (obj7) {
093d3ff1
RD
9938 {
9939 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
9940 if (SWIG_arg_fail(8)) SWIG_fail;
9941 if (arg8 == NULL) {
9942 SWIG_null_ref("wxValidator");
9943 }
9944 if (SWIG_arg_fail(8)) SWIG_fail;
d55e5bfc
RD
9945 }
9946 }
9947 if (obj8) {
9948 {
9949 arg9 = wxString_in_helper(obj8);
9950 if (arg9 == NULL) SWIG_fail;
ae8162c8 9951 temp9 = true;
d55e5bfc
RD
9952 }
9953 }
9954 {
9955 PyThreadState* __tstate = wxPyBeginAllowThreads();
9956 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
9957
9958 wxPyEndAllowThreads(__tstate);
9959 if (PyErr_Occurred()) SWIG_fail;
9960 }
9961 {
9962 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9963 }
9964 {
9965 if (temp4)
9966 delete arg4;
9967 }
9968 {
9969 if (temp9)
9970 delete arg9;
9971 }
9972 return resultobj;
9973 fail:
9974 {
9975 if (temp4)
9976 delete arg4;
9977 }
9978 {
9979 if (temp9)
9980 delete arg9;
9981 }
9982 return NULL;
9983}
9984
9985
c32bde28 9986static PyObject *_wrap_TextCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9987 PyObject *resultobj;
9988 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9989 wxString result;
9990 PyObject * obj0 = 0 ;
9991 char *kwnames[] = {
9992 (char *) "self", NULL
9993 };
9994
9995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
9996 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9997 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9998 {
9999 PyThreadState* __tstate = wxPyBeginAllowThreads();
10000 result = ((wxTextCtrl const *)arg1)->GetValue();
10001
10002 wxPyEndAllowThreads(__tstate);
10003 if (PyErr_Occurred()) SWIG_fail;
10004 }
10005 {
10006#if wxUSE_UNICODE
10007 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10008#else
10009 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10010#endif
10011 }
10012 return resultobj;
10013 fail:
10014 return NULL;
10015}
10016
10017
c32bde28 10018static PyObject *_wrap_TextCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10019 PyObject *resultobj;
10020 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10021 wxString *arg2 = 0 ;
ae8162c8 10022 bool temp2 = false ;
d55e5bfc
RD
10023 PyObject * obj0 = 0 ;
10024 PyObject * obj1 = 0 ;
10025 char *kwnames[] = {
10026 (char *) "self",(char *) "value", NULL
10027 };
10028
10029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10030 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10031 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10032 {
10033 arg2 = wxString_in_helper(obj1);
10034 if (arg2 == NULL) SWIG_fail;
ae8162c8 10035 temp2 = true;
d55e5bfc
RD
10036 }
10037 {
10038 PyThreadState* __tstate = wxPyBeginAllowThreads();
10039 (arg1)->SetValue((wxString const &)*arg2);
10040
10041 wxPyEndAllowThreads(__tstate);
10042 if (PyErr_Occurred()) SWIG_fail;
10043 }
10044 Py_INCREF(Py_None); resultobj = Py_None;
10045 {
10046 if (temp2)
10047 delete arg2;
10048 }
10049 return resultobj;
10050 fail:
10051 {
10052 if (temp2)
10053 delete arg2;
10054 }
10055 return NULL;
10056}
10057
10058
c32bde28 10059static PyObject *_wrap_TextCtrl_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10060 PyObject *resultobj;
10061 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10062 long arg2 ;
10063 long arg3 ;
10064 wxString result;
10065 PyObject * obj0 = 0 ;
10066 PyObject * obj1 = 0 ;
10067 PyObject * obj2 = 0 ;
10068 char *kwnames[] = {
10069 (char *) "self",(char *) "from",(char *) "to", NULL
10070 };
10071
10072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10073 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10074 if (SWIG_arg_fail(1)) SWIG_fail;
10075 {
10076 arg2 = (long)(SWIG_As_long(obj1));
10077 if (SWIG_arg_fail(2)) SWIG_fail;
10078 }
10079 {
10080 arg3 = (long)(SWIG_As_long(obj2));
10081 if (SWIG_arg_fail(3)) SWIG_fail;
10082 }
d55e5bfc
RD
10083 {
10084 PyThreadState* __tstate = wxPyBeginAllowThreads();
10085 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
10086
10087 wxPyEndAllowThreads(__tstate);
10088 if (PyErr_Occurred()) SWIG_fail;
10089 }
10090 {
10091#if wxUSE_UNICODE
10092 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10093#else
10094 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10095#endif
10096 }
10097 return resultobj;
10098 fail:
10099 return NULL;
10100}
10101
10102
c32bde28 10103static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10104 PyObject *resultobj;
10105 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10106 long arg2 ;
10107 int result;
10108 PyObject * obj0 = 0 ;
10109 PyObject * obj1 = 0 ;
10110 char *kwnames[] = {
10111 (char *) "self",(char *) "lineNo", NULL
10112 };
10113
10114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineLength",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10115 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10116 if (SWIG_arg_fail(1)) SWIG_fail;
10117 {
10118 arg2 = (long)(SWIG_As_long(obj1));
10119 if (SWIG_arg_fail(2)) SWIG_fail;
10120 }
d55e5bfc
RD
10121 {
10122 PyThreadState* __tstate = wxPyBeginAllowThreads();
10123 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
10124
10125 wxPyEndAllowThreads(__tstate);
10126 if (PyErr_Occurred()) SWIG_fail;
10127 }
093d3ff1
RD
10128 {
10129 resultobj = SWIG_From_int((int)(result));
10130 }
d55e5bfc
RD
10131 return resultobj;
10132 fail:
10133 return NULL;
10134}
10135
10136
c32bde28 10137static PyObject *_wrap_TextCtrl_GetLineText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10138 PyObject *resultobj;
10139 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10140 long arg2 ;
10141 wxString result;
10142 PyObject * obj0 = 0 ;
10143 PyObject * obj1 = 0 ;
10144 char *kwnames[] = {
10145 (char *) "self",(char *) "lineNo", NULL
10146 };
10147
10148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10149 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10150 if (SWIG_arg_fail(1)) SWIG_fail;
10151 {
10152 arg2 = (long)(SWIG_As_long(obj1));
10153 if (SWIG_arg_fail(2)) SWIG_fail;
10154 }
d55e5bfc
RD
10155 {
10156 PyThreadState* __tstate = wxPyBeginAllowThreads();
10157 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
10158
10159 wxPyEndAllowThreads(__tstate);
10160 if (PyErr_Occurred()) SWIG_fail;
10161 }
10162 {
10163#if wxUSE_UNICODE
10164 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10165#else
10166 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10167#endif
10168 }
10169 return resultobj;
10170 fail:
10171 return NULL;
10172}
10173
10174
c32bde28 10175static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10176 PyObject *resultobj;
10177 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10178 int result;
10179 PyObject * obj0 = 0 ;
10180 char *kwnames[] = {
10181 (char *) "self", NULL
10182 };
10183
10184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetNumberOfLines",kwnames,&obj0)) goto fail;
093d3ff1
RD
10185 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10186 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10187 {
10188 PyThreadState* __tstate = wxPyBeginAllowThreads();
10189 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
10190
10191 wxPyEndAllowThreads(__tstate);
10192 if (PyErr_Occurred()) SWIG_fail;
10193 }
093d3ff1
RD
10194 {
10195 resultobj = SWIG_From_int((int)(result));
10196 }
d55e5bfc
RD
10197 return resultobj;
10198 fail:
10199 return NULL;
10200}
10201
10202
c32bde28 10203static PyObject *_wrap_TextCtrl_IsModified(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10204 PyObject *resultobj;
10205 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10206 bool result;
10207 PyObject * obj0 = 0 ;
10208 char *kwnames[] = {
10209 (char *) "self", NULL
10210 };
10211
10212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsModified",kwnames,&obj0)) goto fail;
093d3ff1
RD
10213 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10214 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10215 {
10216 PyThreadState* __tstate = wxPyBeginAllowThreads();
10217 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
10218
10219 wxPyEndAllowThreads(__tstate);
10220 if (PyErr_Occurred()) SWIG_fail;
10221 }
10222 {
10223 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10224 }
10225 return resultobj;
10226 fail:
10227 return NULL;
10228}
10229
10230
c32bde28 10231static PyObject *_wrap_TextCtrl_IsEditable(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10232 PyObject *resultobj;
10233 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10234 bool result;
10235 PyObject * obj0 = 0 ;
10236 char *kwnames[] = {
10237 (char *) "self", NULL
10238 };
10239
10240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsEditable",kwnames,&obj0)) goto fail;
093d3ff1
RD
10241 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10242 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10243 {
10244 PyThreadState* __tstate = wxPyBeginAllowThreads();
10245 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
10246
10247 wxPyEndAllowThreads(__tstate);
10248 if (PyErr_Occurred()) SWIG_fail;
10249 }
10250 {
10251 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10252 }
10253 return resultobj;
10254 fail:
10255 return NULL;
10256}
10257
10258
c32bde28 10259static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10260 PyObject *resultobj;
10261 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10262 bool result;
10263 PyObject * obj0 = 0 ;
10264 char *kwnames[] = {
10265 (char *) "self", NULL
10266 };
10267
10268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsSingleLine",kwnames,&obj0)) goto fail;
093d3ff1
RD
10269 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10270 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10271 {
10272 PyThreadState* __tstate = wxPyBeginAllowThreads();
10273 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
10274
10275 wxPyEndAllowThreads(__tstate);
10276 if (PyErr_Occurred()) SWIG_fail;
10277 }
10278 {
10279 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10280 }
10281 return resultobj;
10282 fail:
10283 return NULL;
10284}
10285
10286
c32bde28 10287static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10288 PyObject *resultobj;
10289 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10290 bool result;
10291 PyObject * obj0 = 0 ;
10292 char *kwnames[] = {
10293 (char *) "self", NULL
10294 };
10295
10296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsMultiLine",kwnames,&obj0)) goto fail;
093d3ff1
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 = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
10302
10303 wxPyEndAllowThreads(__tstate);
10304 if (PyErr_Occurred()) SWIG_fail;
10305 }
10306 {
10307 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10308 }
10309 return resultobj;
10310 fail:
10311 return NULL;
10312}
10313
10314
c32bde28 10315static PyObject *_wrap_TextCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10316 PyObject *resultobj;
10317 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10318 long *arg2 = (long *) 0 ;
10319 long *arg3 = (long *) 0 ;
10320 long temp2 ;
c32bde28 10321 int res2 = 0 ;
d55e5bfc 10322 long temp3 ;
c32bde28 10323 int res3 = 0 ;
d55e5bfc
RD
10324 PyObject * obj0 = 0 ;
10325 char *kwnames[] = {
10326 (char *) "self", NULL
10327 };
10328
c32bde28
RD
10329 arg2 = &temp2; res2 = SWIG_NEWOBJ;
10330 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 10331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
10332 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10333 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10334 {
10335 PyThreadState* __tstate = wxPyBeginAllowThreads();
10336 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
10337
10338 wxPyEndAllowThreads(__tstate);
10339 if (PyErr_Occurred()) SWIG_fail;
10340 }
10341 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
10342 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
10343 SWIG_From_long((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, 0)));
10344 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
10345 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
d55e5bfc
RD
10346 return resultobj;
10347 fail:
10348 return NULL;
10349}
10350
10351
c32bde28 10352static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10353 PyObject *resultobj;
10354 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10355 wxString result;
10356 PyObject * obj0 = 0 ;
10357 char *kwnames[] = {
10358 (char *) "self", NULL
10359 };
10360
10361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetStringSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
10362 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10363 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10364 {
10365 PyThreadState* __tstate = wxPyBeginAllowThreads();
10366 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
10367
10368 wxPyEndAllowThreads(__tstate);
10369 if (PyErr_Occurred()) SWIG_fail;
10370 }
10371 {
10372#if wxUSE_UNICODE
10373 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10374#else
10375 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10376#endif
10377 }
10378 return resultobj;
10379 fail:
10380 return NULL;
10381}
10382
10383
c32bde28 10384static PyObject *_wrap_TextCtrl_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10385 PyObject *resultobj;
10386 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10387 PyObject * obj0 = 0 ;
10388 char *kwnames[] = {
10389 (char *) "self", NULL
10390 };
10391
10392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Clear",kwnames,&obj0)) goto fail;
093d3ff1
RD
10393 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10394 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10395 {
10396 PyThreadState* __tstate = wxPyBeginAllowThreads();
10397 (arg1)->Clear();
10398
10399 wxPyEndAllowThreads(__tstate);
10400 if (PyErr_Occurred()) SWIG_fail;
10401 }
10402 Py_INCREF(Py_None); resultobj = Py_None;
10403 return resultobj;
10404 fail:
10405 return NULL;
10406}
10407
10408
c32bde28 10409static PyObject *_wrap_TextCtrl_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10410 PyObject *resultobj;
10411 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10412 long arg2 ;
10413 long arg3 ;
10414 wxString *arg4 = 0 ;
ae8162c8 10415 bool temp4 = false ;
d55e5bfc
RD
10416 PyObject * obj0 = 0 ;
10417 PyObject * obj1 = 0 ;
10418 PyObject * obj2 = 0 ;
10419 PyObject * obj3 = 0 ;
10420 char *kwnames[] = {
10421 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
10422 };
10423
10424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
10425 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10426 if (SWIG_arg_fail(1)) SWIG_fail;
10427 {
10428 arg2 = (long)(SWIG_As_long(obj1));
10429 if (SWIG_arg_fail(2)) SWIG_fail;
10430 }
10431 {
10432 arg3 = (long)(SWIG_As_long(obj2));
10433 if (SWIG_arg_fail(3)) SWIG_fail;
10434 }
d55e5bfc
RD
10435 {
10436 arg4 = wxString_in_helper(obj3);
10437 if (arg4 == NULL) SWIG_fail;
ae8162c8 10438 temp4 = true;
d55e5bfc
RD
10439 }
10440 {
10441 PyThreadState* __tstate = wxPyBeginAllowThreads();
10442 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
10443
10444 wxPyEndAllowThreads(__tstate);
10445 if (PyErr_Occurred()) SWIG_fail;
10446 }
10447 Py_INCREF(Py_None); resultobj = Py_None;
10448 {
10449 if (temp4)
10450 delete arg4;
10451 }
10452 return resultobj;
10453 fail:
10454 {
10455 if (temp4)
10456 delete arg4;
10457 }
10458 return NULL;
10459}
10460
10461
c32bde28 10462static PyObject *_wrap_TextCtrl_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10463 PyObject *resultobj;
10464 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10465 long arg2 ;
10466 long arg3 ;
10467 PyObject * obj0 = 0 ;
10468 PyObject * obj1 = 0 ;
10469 PyObject * obj2 = 0 ;
10470 char *kwnames[] = {
10471 (char *) "self",(char *) "from",(char *) "to", NULL
10472 };
10473
10474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10475 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10476 if (SWIG_arg_fail(1)) SWIG_fail;
10477 {
10478 arg2 = (long)(SWIG_As_long(obj1));
10479 if (SWIG_arg_fail(2)) SWIG_fail;
10480 }
10481 {
10482 arg3 = (long)(SWIG_As_long(obj2));
10483 if (SWIG_arg_fail(3)) SWIG_fail;
10484 }
d55e5bfc
RD
10485 {
10486 PyThreadState* __tstate = wxPyBeginAllowThreads();
10487 (arg1)->Remove(arg2,arg3);
10488
10489 wxPyEndAllowThreads(__tstate);
10490 if (PyErr_Occurred()) SWIG_fail;
10491 }
10492 Py_INCREF(Py_None); resultobj = Py_None;
10493 return resultobj;
10494 fail:
10495 return NULL;
10496}
10497
10498
c32bde28 10499static PyObject *_wrap_TextCtrl_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10500 PyObject *resultobj;
10501 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10502 wxString *arg2 = 0 ;
10503 bool result;
ae8162c8 10504 bool temp2 = false ;
d55e5bfc
RD
10505 PyObject * obj0 = 0 ;
10506 PyObject * obj1 = 0 ;
10507 char *kwnames[] = {
10508 (char *) "self",(char *) "file", NULL
10509 };
10510
10511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10512 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10513 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10514 {
10515 arg2 = wxString_in_helper(obj1);
10516 if (arg2 == NULL) SWIG_fail;
ae8162c8 10517 temp2 = true;
d55e5bfc
RD
10518 }
10519 {
10520 PyThreadState* __tstate = wxPyBeginAllowThreads();
10521 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
10522
10523 wxPyEndAllowThreads(__tstate);
10524 if (PyErr_Occurred()) SWIG_fail;
10525 }
10526 {
10527 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10528 }
10529 {
10530 if (temp2)
10531 delete arg2;
10532 }
10533 return resultobj;
10534 fail:
10535 {
10536 if (temp2)
10537 delete arg2;
10538 }
10539 return NULL;
10540}
10541
10542
c32bde28 10543static PyObject *_wrap_TextCtrl_SaveFile(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10544 PyObject *resultobj;
10545 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10546 wxString const &arg2_defvalue = wxPyEmptyString ;
10547 wxString *arg2 = (wxString *) &arg2_defvalue ;
10548 bool result;
ae8162c8 10549 bool temp2 = false ;
d55e5bfc
RD
10550 PyObject * obj0 = 0 ;
10551 PyObject * obj1 = 0 ;
10552 char *kwnames[] = {
10553 (char *) "self",(char *) "file", NULL
10554 };
10555
10556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10557 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10558 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10559 if (obj1) {
10560 {
10561 arg2 = wxString_in_helper(obj1);
10562 if (arg2 == NULL) SWIG_fail;
ae8162c8 10563 temp2 = true;
d55e5bfc
RD
10564 }
10565 }
10566 {
10567 PyThreadState* __tstate = wxPyBeginAllowThreads();
10568 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
10569
10570 wxPyEndAllowThreads(__tstate);
10571 if (PyErr_Occurred()) SWIG_fail;
10572 }
10573 {
10574 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10575 }
10576 {
10577 if (temp2)
10578 delete arg2;
10579 }
10580 return resultobj;
10581 fail:
10582 {
10583 if (temp2)
10584 delete arg2;
10585 }
10586 return NULL;
10587}
10588
10589
c32bde28 10590static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10591 PyObject *resultobj;
10592 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10593 PyObject * obj0 = 0 ;
10594 char *kwnames[] = {
10595 (char *) "self", NULL
10596 };
10597
10598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_MarkDirty",kwnames,&obj0)) goto fail;
093d3ff1
RD
10599 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10600 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10601 {
10602 PyThreadState* __tstate = wxPyBeginAllowThreads();
10603 (arg1)->MarkDirty();
10604
10605 wxPyEndAllowThreads(__tstate);
10606 if (PyErr_Occurred()) SWIG_fail;
10607 }
10608 Py_INCREF(Py_None); resultobj = Py_None;
10609 return resultobj;
10610 fail:
10611 return NULL;
10612}
10613
10614
c32bde28 10615static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10616 PyObject *resultobj;
10617 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10618 PyObject * obj0 = 0 ;
10619 char *kwnames[] = {
10620 (char *) "self", NULL
10621 };
10622
10623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_DiscardEdits",kwnames,&obj0)) goto fail;
093d3ff1
RD
10624 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10625 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10626 {
10627 PyThreadState* __tstate = wxPyBeginAllowThreads();
10628 (arg1)->DiscardEdits();
10629
10630 wxPyEndAllowThreads(__tstate);
10631 if (PyErr_Occurred()) SWIG_fail;
10632 }
10633 Py_INCREF(Py_None); resultobj = Py_None;
10634 return resultobj;
10635 fail:
10636 return NULL;
10637}
10638
10639
c32bde28 10640static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10641 PyObject *resultobj;
10642 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10643 unsigned long arg2 ;
10644 PyObject * obj0 = 0 ;
10645 PyObject * obj1 = 0 ;
10646 char *kwnames[] = {
10647 (char *) "self",(char *) "len", NULL
10648 };
10649
10650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10651 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10652 if (SWIG_arg_fail(1)) SWIG_fail;
10653 {
10654 arg2 = (unsigned long)(SWIG_As_unsigned_SS_long(obj1));
10655 if (SWIG_arg_fail(2)) SWIG_fail;
10656 }
d55e5bfc
RD
10657 {
10658 PyThreadState* __tstate = wxPyBeginAllowThreads();
10659 (arg1)->SetMaxLength(arg2);
10660
10661 wxPyEndAllowThreads(__tstate);
10662 if (PyErr_Occurred()) SWIG_fail;
10663 }
10664 Py_INCREF(Py_None); resultobj = Py_None;
10665 return resultobj;
10666 fail:
10667 return NULL;
10668}
10669
10670
c32bde28 10671static PyObject *_wrap_TextCtrl_WriteText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10672 PyObject *resultobj;
10673 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10674 wxString *arg2 = 0 ;
ae8162c8 10675 bool temp2 = false ;
d55e5bfc
RD
10676 PyObject * obj0 = 0 ;
10677 PyObject * obj1 = 0 ;
10678 char *kwnames[] = {
10679 (char *) "self",(char *) "text", NULL
10680 };
10681
10682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10683 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10684 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10685 {
10686 arg2 = wxString_in_helper(obj1);
10687 if (arg2 == NULL) SWIG_fail;
ae8162c8 10688 temp2 = true;
d55e5bfc
RD
10689 }
10690 {
10691 PyThreadState* __tstate = wxPyBeginAllowThreads();
10692 (arg1)->WriteText((wxString const &)*arg2);
10693
10694 wxPyEndAllowThreads(__tstate);
10695 if (PyErr_Occurred()) SWIG_fail;
10696 }
10697 Py_INCREF(Py_None); resultobj = Py_None;
10698 {
10699 if (temp2)
10700 delete arg2;
10701 }
10702 return resultobj;
10703 fail:
10704 {
10705 if (temp2)
10706 delete arg2;
10707 }
10708 return NULL;
10709}
10710
10711
c32bde28 10712static PyObject *_wrap_TextCtrl_AppendText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10713 PyObject *resultobj;
10714 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10715 wxString *arg2 = 0 ;
ae8162c8 10716 bool temp2 = false ;
d55e5bfc
RD
10717 PyObject * obj0 = 0 ;
10718 PyObject * obj1 = 0 ;
10719 char *kwnames[] = {
10720 (char *) "self",(char *) "text", NULL
10721 };
10722
10723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10724 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10725 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10726 {
10727 arg2 = wxString_in_helper(obj1);
10728 if (arg2 == NULL) SWIG_fail;
ae8162c8 10729 temp2 = true;
d55e5bfc
RD
10730 }
10731 {
10732 PyThreadState* __tstate = wxPyBeginAllowThreads();
10733 (arg1)->AppendText((wxString const &)*arg2);
10734
10735 wxPyEndAllowThreads(__tstate);
10736 if (PyErr_Occurred()) SWIG_fail;
10737 }
10738 Py_INCREF(Py_None); resultobj = Py_None;
10739 {
10740 if (temp2)
10741 delete arg2;
10742 }
10743 return resultobj;
10744 fail:
10745 {
10746 if (temp2)
10747 delete arg2;
10748 }
10749 return NULL;
10750}
10751
10752
c32bde28 10753static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10754 PyObject *resultobj;
10755 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10756 wxKeyEvent *arg2 = 0 ;
10757 bool result;
10758 PyObject * obj0 = 0 ;
10759 PyObject * obj1 = 0 ;
10760 char *kwnames[] = {
10761 (char *) "self",(char *) "event", NULL
10762 };
10763
10764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10765 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10766 if (SWIG_arg_fail(1)) SWIG_fail;
10767 {
10768 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
10769 if (SWIG_arg_fail(2)) SWIG_fail;
10770 if (arg2 == NULL) {
10771 SWIG_null_ref("wxKeyEvent");
10772 }
10773 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
10774 }
10775 {
10776 PyThreadState* __tstate = wxPyBeginAllowThreads();
10777 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
10778
10779 wxPyEndAllowThreads(__tstate);
10780 if (PyErr_Occurred()) SWIG_fail;
10781 }
10782 {
10783 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10784 }
10785 return resultobj;
10786 fail:
10787 return NULL;
10788}
10789
10790
c32bde28 10791static PyObject *_wrap_TextCtrl_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10792 PyObject *resultobj;
10793 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10794 long arg2 ;
10795 long arg3 ;
10796 wxTextAttr *arg4 = 0 ;
10797 bool result;
10798 PyObject * obj0 = 0 ;
10799 PyObject * obj1 = 0 ;
10800 PyObject * obj2 = 0 ;
10801 PyObject * obj3 = 0 ;
10802 char *kwnames[] = {
10803 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
10804 };
10805
10806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_SetStyle",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
10807 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10808 if (SWIG_arg_fail(1)) SWIG_fail;
10809 {
10810 arg2 = (long)(SWIG_As_long(obj1));
10811 if (SWIG_arg_fail(2)) SWIG_fail;
10812 }
10813 {
10814 arg3 = (long)(SWIG_As_long(obj2));
10815 if (SWIG_arg_fail(3)) SWIG_fail;
10816 }
10817 {
10818 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
10819 if (SWIG_arg_fail(4)) SWIG_fail;
10820 if (arg4 == NULL) {
10821 SWIG_null_ref("wxTextAttr");
10822 }
10823 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc
RD
10824 }
10825 {
10826 PyThreadState* __tstate = wxPyBeginAllowThreads();
10827 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
10828
10829 wxPyEndAllowThreads(__tstate);
10830 if (PyErr_Occurred()) SWIG_fail;
10831 }
10832 {
10833 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10834 }
10835 return resultobj;
10836 fail:
10837 return NULL;
10838}
10839
10840
c32bde28 10841static PyObject *_wrap_TextCtrl_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10842 PyObject *resultobj;
10843 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10844 long arg2 ;
10845 wxTextAttr *arg3 = 0 ;
10846 bool result;
10847 PyObject * obj0 = 0 ;
10848 PyObject * obj1 = 0 ;
10849 PyObject * obj2 = 0 ;
10850 char *kwnames[] = {
10851 (char *) "self",(char *) "position",(char *) "style", NULL
10852 };
10853
10854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10855 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10856 if (SWIG_arg_fail(1)) SWIG_fail;
10857 {
10858 arg2 = (long)(SWIG_As_long(obj1));
10859 if (SWIG_arg_fail(2)) SWIG_fail;
10860 }
10861 {
10862 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
10863 if (SWIG_arg_fail(3)) SWIG_fail;
10864 if (arg3 == NULL) {
10865 SWIG_null_ref("wxTextAttr");
10866 }
10867 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
10868 }
10869 {
10870 PyThreadState* __tstate = wxPyBeginAllowThreads();
10871 result = (bool)(arg1)->GetStyle(arg2,*arg3);
10872
10873 wxPyEndAllowThreads(__tstate);
10874 if (PyErr_Occurred()) SWIG_fail;
10875 }
10876 {
10877 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10878 }
10879 return resultobj;
10880 fail:
10881 return NULL;
10882}
10883
10884
c32bde28 10885static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10886 PyObject *resultobj;
10887 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10888 wxTextAttr *arg2 = 0 ;
10889 bool result;
10890 PyObject * obj0 = 0 ;
10891 PyObject * obj1 = 0 ;
10892 char *kwnames[] = {
10893 (char *) "self",(char *) "style", NULL
10894 };
10895
10896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10897 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10898 if (SWIG_arg_fail(1)) SWIG_fail;
10899 {
10900 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
10901 if (SWIG_arg_fail(2)) SWIG_fail;
10902 if (arg2 == NULL) {
10903 SWIG_null_ref("wxTextAttr");
10904 }
10905 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
10906 }
10907 {
10908 PyThreadState* __tstate = wxPyBeginAllowThreads();
10909 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
10910
10911 wxPyEndAllowThreads(__tstate);
10912 if (PyErr_Occurred()) SWIG_fail;
10913 }
10914 {
10915 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10916 }
10917 return resultobj;
10918 fail:
10919 return NULL;
10920}
10921
10922
c32bde28 10923static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10924 PyObject *resultobj;
10925 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10926 wxTextAttr *result;
10927 PyObject * obj0 = 0 ;
10928 char *kwnames[] = {
10929 (char *) "self", NULL
10930 };
10931
10932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetDefaultStyle",kwnames,&obj0)) goto fail;
093d3ff1
RD
10933 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10934 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10935 {
10936 PyThreadState* __tstate = wxPyBeginAllowThreads();
10937 {
10938 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
10939 result = (wxTextAttr *) &_result_ref;
10940 }
10941
10942 wxPyEndAllowThreads(__tstate);
10943 if (PyErr_Occurred()) SWIG_fail;
10944 }
10945 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 0);
10946 return resultobj;
10947 fail:
10948 return NULL;
10949}
10950
10951
c32bde28 10952static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10953 PyObject *resultobj;
10954 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10955 long arg2 ;
10956 long arg3 ;
10957 long result;
10958 PyObject * obj0 = 0 ;
10959 PyObject * obj1 = 0 ;
10960 PyObject * obj2 = 0 ;
10961 char *kwnames[] = {
10962 (char *) "self",(char *) "x",(char *) "y", NULL
10963 };
10964
10965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_XYToPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10966 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10967 if (SWIG_arg_fail(1)) SWIG_fail;
10968 {
10969 arg2 = (long)(SWIG_As_long(obj1));
10970 if (SWIG_arg_fail(2)) SWIG_fail;
10971 }
10972 {
10973 arg3 = (long)(SWIG_As_long(obj2));
10974 if (SWIG_arg_fail(3)) SWIG_fail;
10975 }
d55e5bfc
RD
10976 {
10977 PyThreadState* __tstate = wxPyBeginAllowThreads();
10978 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
10979
10980 wxPyEndAllowThreads(__tstate);
10981 if (PyErr_Occurred()) SWIG_fail;
10982 }
093d3ff1
RD
10983 {
10984 resultobj = SWIG_From_long((long)(result));
10985 }
d55e5bfc
RD
10986 return resultobj;
10987 fail:
10988 return NULL;
10989}
10990
10991
c32bde28 10992static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10993 PyObject *resultobj;
10994 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10995 long arg2 ;
10996 long *arg3 = (long *) 0 ;
10997 long *arg4 = (long *) 0 ;
10998 long temp3 ;
c32bde28 10999 int res3 = 0 ;
d55e5bfc 11000 long temp4 ;
c32bde28 11001 int res4 = 0 ;
d55e5bfc
RD
11002 PyObject * obj0 = 0 ;
11003 PyObject * obj1 = 0 ;
11004 char *kwnames[] = {
11005 (char *) "self",(char *) "pos", NULL
11006 };
11007
c32bde28
RD
11008 arg3 = &temp3; res3 = SWIG_NEWOBJ;
11009 arg4 = &temp4; res4 = SWIG_NEWOBJ;
d55e5bfc 11010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_PositionToXY",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11011 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11012 if (SWIG_arg_fail(1)) SWIG_fail;
11013 {
11014 arg2 = (long)(SWIG_As_long(obj1));
11015 if (SWIG_arg_fail(2)) SWIG_fail;
11016 }
d55e5bfc
RD
11017 {
11018 PyThreadState* __tstate = wxPyBeginAllowThreads();
11019 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
11020
11021 wxPyEndAllowThreads(__tstate);
11022 if (PyErr_Occurred()) SWIG_fail;
11023 }
11024 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
11025 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
11026 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
11027 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
11028 SWIG_From_long((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, 0)));
d55e5bfc
RD
11029 return resultobj;
11030 fail:
11031 return NULL;
11032}
11033
11034
c32bde28 11035static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11036 PyObject *resultobj;
11037 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11038 long arg2 ;
11039 PyObject * obj0 = 0 ;
11040 PyObject * obj1 = 0 ;
11041 char *kwnames[] = {
11042 (char *) "self",(char *) "pos", NULL
11043 };
11044
11045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ShowPosition",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11046 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11047 if (SWIG_arg_fail(1)) SWIG_fail;
11048 {
11049 arg2 = (long)(SWIG_As_long(obj1));
11050 if (SWIG_arg_fail(2)) SWIG_fail;
11051 }
d55e5bfc
RD
11052 {
11053 PyThreadState* __tstate = wxPyBeginAllowThreads();
11054 (arg1)->ShowPosition(arg2);
11055
11056 wxPyEndAllowThreads(__tstate);
11057 if (PyErr_Occurred()) SWIG_fail;
11058 }
11059 Py_INCREF(Py_None); resultobj = Py_None;
11060 return resultobj;
11061 fail:
11062 return NULL;
11063}
11064
11065
c32bde28 11066static PyObject *_wrap_TextCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11067 PyObject *resultobj;
11068 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11069 wxPoint *arg2 = 0 ;
11070 long *arg3 = (long *) 0 ;
11071 long *arg4 = (long *) 0 ;
093d3ff1 11072 wxTextCtrlHitTestResult result;
d55e5bfc
RD
11073 wxPoint temp2 ;
11074 long temp3 ;
c32bde28 11075 int res3 = 0 ;
d55e5bfc 11076 long temp4 ;
c32bde28 11077 int res4 = 0 ;
d55e5bfc
RD
11078 PyObject * obj0 = 0 ;
11079 PyObject * obj1 = 0 ;
11080 char *kwnames[] = {
11081 (char *) "self",(char *) "pt", NULL
11082 };
11083
c32bde28
RD
11084 arg3 = &temp3; res3 = SWIG_NEWOBJ;
11085 arg4 = &temp4; res4 = SWIG_NEWOBJ;
d55e5bfc 11086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11087 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11088 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11089 {
11090 arg2 = &temp2;
11091 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11092 }
11093 {
11094 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 11095 result = (wxTextCtrlHitTestResult)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3,arg4);
d55e5bfc
RD
11096
11097 wxPyEndAllowThreads(__tstate);
11098 if (PyErr_Occurred()) SWIG_fail;
11099 }
093d3ff1 11100 resultobj = SWIG_From_int((result));
c32bde28
RD
11101 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
11102 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
11103 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
11104 SWIG_From_long((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, 0)));
d55e5bfc
RD
11105 return resultobj;
11106 fail:
11107 return NULL;
11108}
11109
11110
c32bde28 11111static PyObject *_wrap_TextCtrl_HitTestPos(PyObject *, PyObject *args, PyObject *kwargs) {
4896ac9e
RD
11112 PyObject *resultobj;
11113 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11114 wxPoint *arg2 = 0 ;
11115 long *arg3 = (long *) 0 ;
093d3ff1 11116 wxTextCtrlHitTestResult result;
4896ac9e
RD
11117 wxPoint temp2 ;
11118 long temp3 ;
c32bde28 11119 int res3 = 0 ;
4896ac9e
RD
11120 PyObject * obj0 = 0 ;
11121 PyObject * obj1 = 0 ;
11122 char *kwnames[] = {
11123 (char *) "self",(char *) "pt", NULL
11124 };
11125
c32bde28 11126 arg3 = &temp3; res3 = SWIG_NEWOBJ;
4896ac9e 11127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTestPos",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11128 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11129 if (SWIG_arg_fail(1)) SWIG_fail;
4896ac9e
RD
11130 {
11131 arg2 = &temp2;
11132 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11133 }
11134 {
11135 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 11136 result = (wxTextCtrlHitTestResult)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
4896ac9e
RD
11137
11138 wxPyEndAllowThreads(__tstate);
11139 if (PyErr_Occurred()) SWIG_fail;
11140 }
093d3ff1 11141 resultobj = SWIG_From_int((result));
c32bde28
RD
11142 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
11143 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
4896ac9e
RD
11144 return resultobj;
11145 fail:
11146 return NULL;
11147}
11148
11149
c32bde28 11150static PyObject *_wrap_TextCtrl_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11151 PyObject *resultobj;
11152 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11153 PyObject * obj0 = 0 ;
11154 char *kwnames[] = {
11155 (char *) "self", NULL
11156 };
11157
11158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Copy",kwnames,&obj0)) goto fail;
093d3ff1
RD
11159 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11160 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11161 {
11162 PyThreadState* __tstate = wxPyBeginAllowThreads();
11163 (arg1)->Copy();
11164
11165 wxPyEndAllowThreads(__tstate);
11166 if (PyErr_Occurred()) SWIG_fail;
11167 }
11168 Py_INCREF(Py_None); resultobj = Py_None;
11169 return resultobj;
11170 fail:
11171 return NULL;
11172}
11173
11174
c32bde28 11175static PyObject *_wrap_TextCtrl_Cut(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11176 PyObject *resultobj;
11177 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11178 PyObject * obj0 = 0 ;
11179 char *kwnames[] = {
11180 (char *) "self", NULL
11181 };
11182
11183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Cut",kwnames,&obj0)) goto fail;
093d3ff1
RD
11184 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11185 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11186 {
11187 PyThreadState* __tstate = wxPyBeginAllowThreads();
11188 (arg1)->Cut();
11189
11190 wxPyEndAllowThreads(__tstate);
11191 if (PyErr_Occurred()) SWIG_fail;
11192 }
11193 Py_INCREF(Py_None); resultobj = Py_None;
11194 return resultobj;
11195 fail:
11196 return NULL;
11197}
11198
11199
c32bde28 11200static PyObject *_wrap_TextCtrl_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11201 PyObject *resultobj;
11202 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11203 PyObject * obj0 = 0 ;
11204 char *kwnames[] = {
11205 (char *) "self", NULL
11206 };
11207
11208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Paste",kwnames,&obj0)) goto fail;
093d3ff1
RD
11209 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11210 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11211 {
11212 PyThreadState* __tstate = wxPyBeginAllowThreads();
11213 (arg1)->Paste();
11214
11215 wxPyEndAllowThreads(__tstate);
11216 if (PyErr_Occurred()) SWIG_fail;
11217 }
11218 Py_INCREF(Py_None); resultobj = Py_None;
11219 return resultobj;
11220 fail:
11221 return NULL;
11222}
11223
11224
c32bde28 11225static PyObject *_wrap_TextCtrl_CanCopy(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11226 PyObject *resultobj;
11227 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11228 bool result;
11229 PyObject * obj0 = 0 ;
11230 char *kwnames[] = {
11231 (char *) "self", NULL
11232 };
11233
11234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCopy",kwnames,&obj0)) goto fail;
093d3ff1
RD
11235 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11236 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11237 {
11238 PyThreadState* __tstate = wxPyBeginAllowThreads();
11239 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
11240
11241 wxPyEndAllowThreads(__tstate);
11242 if (PyErr_Occurred()) SWIG_fail;
11243 }
11244 {
11245 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11246 }
11247 return resultobj;
11248 fail:
11249 return NULL;
11250}
11251
11252
c32bde28 11253static PyObject *_wrap_TextCtrl_CanCut(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11254 PyObject *resultobj;
11255 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11256 bool result;
11257 PyObject * obj0 = 0 ;
11258 char *kwnames[] = {
11259 (char *) "self", NULL
11260 };
11261
11262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCut",kwnames,&obj0)) goto fail;
093d3ff1
RD
11263 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11264 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11265 {
11266 PyThreadState* __tstate = wxPyBeginAllowThreads();
11267 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
11268
11269 wxPyEndAllowThreads(__tstate);
11270 if (PyErr_Occurred()) SWIG_fail;
11271 }
11272 {
11273 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11274 }
11275 return resultobj;
11276 fail:
11277 return NULL;
11278}
11279
11280
c32bde28 11281static PyObject *_wrap_TextCtrl_CanPaste(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11282 PyObject *resultobj;
11283 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11284 bool result;
11285 PyObject * obj0 = 0 ;
11286 char *kwnames[] = {
11287 (char *) "self", NULL
11288 };
11289
11290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanPaste",kwnames,&obj0)) goto fail;
093d3ff1
RD
11291 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11292 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11293 {
11294 PyThreadState* __tstate = wxPyBeginAllowThreads();
11295 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
11296
11297 wxPyEndAllowThreads(__tstate);
11298 if (PyErr_Occurred()) SWIG_fail;
11299 }
11300 {
11301 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11302 }
11303 return resultobj;
11304 fail:
11305 return NULL;
11306}
11307
11308
c32bde28 11309static PyObject *_wrap_TextCtrl_Undo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11310 PyObject *resultobj;
11311 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11312 PyObject * obj0 = 0 ;
11313 char *kwnames[] = {
11314 (char *) "self", NULL
11315 };
11316
11317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Undo",kwnames,&obj0)) goto fail;
093d3ff1
RD
11318 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11319 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11320 {
11321 PyThreadState* __tstate = wxPyBeginAllowThreads();
11322 (arg1)->Undo();
11323
11324 wxPyEndAllowThreads(__tstate);
11325 if (PyErr_Occurred()) SWIG_fail;
11326 }
11327 Py_INCREF(Py_None); resultobj = Py_None;
11328 return resultobj;
11329 fail:
11330 return NULL;
11331}
11332
11333
c32bde28 11334static PyObject *_wrap_TextCtrl_Redo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11335 PyObject *resultobj;
11336 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11337 PyObject * obj0 = 0 ;
11338 char *kwnames[] = {
11339 (char *) "self", NULL
11340 };
11341
11342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Redo",kwnames,&obj0)) goto fail;
093d3ff1
RD
11343 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11344 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11345 {
11346 PyThreadState* __tstate = wxPyBeginAllowThreads();
11347 (arg1)->Redo();
11348
11349 wxPyEndAllowThreads(__tstate);
11350 if (PyErr_Occurred()) SWIG_fail;
11351 }
11352 Py_INCREF(Py_None); resultobj = Py_None;
11353 return resultobj;
11354 fail:
11355 return NULL;
11356}
11357
11358
c32bde28 11359static PyObject *_wrap_TextCtrl_CanUndo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11360 PyObject *resultobj;
11361 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11362 bool result;
11363 PyObject * obj0 = 0 ;
11364 char *kwnames[] = {
11365 (char *) "self", NULL
11366 };
11367
11368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanUndo",kwnames,&obj0)) goto fail;
093d3ff1
RD
11369 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11370 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11371 {
11372 PyThreadState* __tstate = wxPyBeginAllowThreads();
11373 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
11374
11375 wxPyEndAllowThreads(__tstate);
11376 if (PyErr_Occurred()) SWIG_fail;
11377 }
11378 {
11379 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11380 }
11381 return resultobj;
11382 fail:
11383 return NULL;
11384}
11385
11386
c32bde28 11387static PyObject *_wrap_TextCtrl_CanRedo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11388 PyObject *resultobj;
11389 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11390 bool result;
11391 PyObject * obj0 = 0 ;
11392 char *kwnames[] = {
11393 (char *) "self", NULL
11394 };
11395
11396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanRedo",kwnames,&obj0)) goto fail;
093d3ff1
RD
11397 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11398 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11399 {
11400 PyThreadState* __tstate = wxPyBeginAllowThreads();
11401 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
11402
11403 wxPyEndAllowThreads(__tstate);
11404 if (PyErr_Occurred()) SWIG_fail;
11405 }
11406 {
11407 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11408 }
11409 return resultobj;
11410 fail:
11411 return NULL;
11412}
11413
11414
c32bde28 11415static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11416 PyObject *resultobj;
11417 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11418 long arg2 ;
11419 PyObject * obj0 = 0 ;
11420 PyObject * obj1 = 0 ;
11421 char *kwnames[] = {
11422 (char *) "self",(char *) "pos", NULL
11423 };
11424
11425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11426 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11427 if (SWIG_arg_fail(1)) SWIG_fail;
11428 {
11429 arg2 = (long)(SWIG_As_long(obj1));
11430 if (SWIG_arg_fail(2)) SWIG_fail;
11431 }
d55e5bfc
RD
11432 {
11433 PyThreadState* __tstate = wxPyBeginAllowThreads();
11434 (arg1)->SetInsertionPoint(arg2);
11435
11436 wxPyEndAllowThreads(__tstate);
11437 if (PyErr_Occurred()) SWIG_fail;
11438 }
11439 Py_INCREF(Py_None); resultobj = Py_None;
11440 return resultobj;
11441 fail:
11442 return NULL;
11443}
11444
11445
c32bde28 11446static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11447 PyObject *resultobj;
11448 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11449 PyObject * obj0 = 0 ;
11450 char *kwnames[] = {
11451 (char *) "self", NULL
11452 };
11453
11454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
093d3ff1
RD
11455 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11456 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11457 {
11458 PyThreadState* __tstate = wxPyBeginAllowThreads();
11459 (arg1)->SetInsertionPointEnd();
11460
11461 wxPyEndAllowThreads(__tstate);
11462 if (PyErr_Occurred()) SWIG_fail;
11463 }
11464 Py_INCREF(Py_None); resultobj = Py_None;
11465 return resultobj;
11466 fail:
11467 return NULL;
11468}
11469
11470
c32bde28 11471static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11472 PyObject *resultobj;
11473 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11474 long result;
11475 PyObject * obj0 = 0 ;
11476 char *kwnames[] = {
11477 (char *) "self", NULL
11478 };
11479
11480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetInsertionPoint",kwnames,&obj0)) goto fail;
093d3ff1
RD
11481 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11482 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11483 {
11484 PyThreadState* __tstate = wxPyBeginAllowThreads();
11485 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
11486
11487 wxPyEndAllowThreads(__tstate);
11488 if (PyErr_Occurred()) SWIG_fail;
11489 }
093d3ff1
RD
11490 {
11491 resultobj = SWIG_From_long((long)(result));
11492 }
d55e5bfc
RD
11493 return resultobj;
11494 fail:
11495 return NULL;
11496}
11497
11498
c32bde28 11499static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11500 PyObject *resultobj;
11501 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11502 long result;
11503 PyObject * obj0 = 0 ;
11504 char *kwnames[] = {
11505 (char *) "self", NULL
11506 };
11507
11508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetLastPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
11509 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11510 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11511 {
11512 PyThreadState* __tstate = wxPyBeginAllowThreads();
11513 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
11514
11515 wxPyEndAllowThreads(__tstate);
11516 if (PyErr_Occurred()) SWIG_fail;
11517 }
093d3ff1
RD
11518 {
11519 resultobj = SWIG_From_long((long)(result));
11520 }
d55e5bfc
RD
11521 return resultobj;
11522 fail:
11523 return NULL;
11524}
11525
11526
c32bde28 11527static PyObject *_wrap_TextCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11528 PyObject *resultobj;
11529 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11530 long arg2 ;
11531 long arg3 ;
11532 PyObject * obj0 = 0 ;
11533 PyObject * obj1 = 0 ;
11534 PyObject * obj2 = 0 ;
11535 char *kwnames[] = {
11536 (char *) "self",(char *) "from",(char *) "to", NULL
11537 };
11538
11539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
11540 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11541 if (SWIG_arg_fail(1)) SWIG_fail;
11542 {
11543 arg2 = (long)(SWIG_As_long(obj1));
11544 if (SWIG_arg_fail(2)) SWIG_fail;
11545 }
11546 {
11547 arg3 = (long)(SWIG_As_long(obj2));
11548 if (SWIG_arg_fail(3)) SWIG_fail;
11549 }
d55e5bfc
RD
11550 {
11551 PyThreadState* __tstate = wxPyBeginAllowThreads();
11552 (arg1)->SetSelection(arg2,arg3);
11553
11554 wxPyEndAllowThreads(__tstate);
11555 if (PyErr_Occurred()) SWIG_fail;
11556 }
11557 Py_INCREF(Py_None); resultobj = Py_None;
11558 return resultobj;
11559 fail:
11560 return NULL;
11561}
11562
11563
c32bde28 11564static PyObject *_wrap_TextCtrl_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11565 PyObject *resultobj;
11566 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11567 PyObject * obj0 = 0 ;
11568 char *kwnames[] = {
11569 (char *) "self", NULL
11570 };
11571
11572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SelectAll",kwnames,&obj0)) goto fail;
093d3ff1
RD
11573 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11574 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11575 {
11576 PyThreadState* __tstate = wxPyBeginAllowThreads();
11577 (arg1)->SelectAll();
11578
11579 wxPyEndAllowThreads(__tstate);
11580 if (PyErr_Occurred()) SWIG_fail;
11581 }
11582 Py_INCREF(Py_None); resultobj = Py_None;
11583 return resultobj;
11584 fail:
11585 return NULL;
11586}
11587
11588
c32bde28 11589static PyObject *_wrap_TextCtrl_SetEditable(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11590 PyObject *resultobj;
11591 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11592 bool arg2 ;
11593 PyObject * obj0 = 0 ;
11594 PyObject * obj1 = 0 ;
11595 char *kwnames[] = {
11596 (char *) "self",(char *) "editable", NULL
11597 };
11598
11599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11600 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11601 if (SWIG_arg_fail(1)) SWIG_fail;
11602 {
11603 arg2 = (bool)(SWIG_As_bool(obj1));
11604 if (SWIG_arg_fail(2)) SWIG_fail;
11605 }
d55e5bfc
RD
11606 {
11607 PyThreadState* __tstate = wxPyBeginAllowThreads();
11608 (arg1)->SetEditable(arg2);
11609
11610 wxPyEndAllowThreads(__tstate);
11611 if (PyErr_Occurred()) SWIG_fail;
11612 }
11613 Py_INCREF(Py_None); resultobj = Py_None;
11614 return resultobj;
11615 fail:
11616 return NULL;
11617}
11618
11619
c32bde28 11620static PyObject *_wrap_TextCtrl_ShowNativeCaret(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11621 PyObject *resultobj;
11622 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
ae8162c8 11623 bool arg2 = (bool) true ;
d55e5bfc
RD
11624 bool result;
11625 PyObject * obj0 = 0 ;
11626 PyObject * obj1 = 0 ;
11627 char *kwnames[] = {
11628 (char *) "self",(char *) "show", NULL
11629 };
11630
11631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11632 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11633 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 11634 if (obj1) {
093d3ff1
RD
11635 {
11636 arg2 = (bool)(SWIG_As_bool(obj1));
11637 if (SWIG_arg_fail(2)) SWIG_fail;
11638 }
d55e5bfc
RD
11639 }
11640 {
11641 PyThreadState* __tstate = wxPyBeginAllowThreads();
11642 result = (bool)(arg1)->ShowNativeCaret(arg2);
11643
11644 wxPyEndAllowThreads(__tstate);
11645 if (PyErr_Occurred()) SWIG_fail;
11646 }
11647 {
11648 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11649 }
11650 return resultobj;
11651 fail:
11652 return NULL;
11653}
11654
11655
c32bde28 11656static PyObject *_wrap_TextCtrl_HideNativeCaret(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11657 PyObject *resultobj;
11658 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11659 bool result;
11660 PyObject * obj0 = 0 ;
11661 char *kwnames[] = {
11662 (char *) "self", NULL
11663 };
11664
11665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_HideNativeCaret",kwnames,&obj0)) goto fail;
093d3ff1
RD
11666 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11667 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11668 {
11669 PyThreadState* __tstate = wxPyBeginAllowThreads();
11670 result = (bool)(arg1)->HideNativeCaret();
11671
11672 wxPyEndAllowThreads(__tstate);
11673 if (PyErr_Occurred()) SWIG_fail;
11674 }
11675 {
11676 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11677 }
11678 return resultobj;
11679 fail:
11680 return NULL;
11681}
11682
11683
c32bde28 11684static PyObject *_wrap_TextCtrl_write(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11685 PyObject *resultobj;
11686 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11687 wxString *arg2 = 0 ;
ae8162c8 11688 bool temp2 = false ;
d55e5bfc
RD
11689 PyObject * obj0 = 0 ;
11690 PyObject * obj1 = 0 ;
11691 char *kwnames[] = {
11692 (char *) "self",(char *) "text", NULL
11693 };
11694
11695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11696 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11697 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11698 {
11699 arg2 = wxString_in_helper(obj1);
11700 if (arg2 == NULL) SWIG_fail;
ae8162c8 11701 temp2 = true;
d55e5bfc
RD
11702 }
11703 {
11704 PyThreadState* __tstate = wxPyBeginAllowThreads();
11705 wxTextCtrl_write(arg1,(wxString const &)*arg2);
11706
11707 wxPyEndAllowThreads(__tstate);
11708 if (PyErr_Occurred()) SWIG_fail;
11709 }
11710 Py_INCREF(Py_None); resultobj = Py_None;
11711 {
11712 if (temp2)
11713 delete arg2;
11714 }
11715 return resultobj;
11716 fail:
11717 {
11718 if (temp2)
11719 delete arg2;
11720 }
11721 return NULL;
11722}
11723
11724
c32bde28 11725static PyObject *_wrap_TextCtrl_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11726 PyObject *resultobj;
11727 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11728 long arg2 ;
11729 long arg3 ;
11730 wxString result;
11731 PyObject * obj0 = 0 ;
11732 PyObject * obj1 = 0 ;
11733 PyObject * obj2 = 0 ;
11734 char *kwnames[] = {
11735 (char *) "self",(char *) "from",(char *) "to", NULL
11736 };
11737
11738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
11739 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11740 if (SWIG_arg_fail(1)) SWIG_fail;
11741 {
11742 arg2 = (long)(SWIG_As_long(obj1));
11743 if (SWIG_arg_fail(2)) SWIG_fail;
11744 }
11745 {
11746 arg3 = (long)(SWIG_As_long(obj2));
11747 if (SWIG_arg_fail(3)) SWIG_fail;
11748 }
d55e5bfc
RD
11749 {
11750 PyThreadState* __tstate = wxPyBeginAllowThreads();
11751 result = wxTextCtrl_GetString(arg1,arg2,arg3);
11752
11753 wxPyEndAllowThreads(__tstate);
11754 if (PyErr_Occurred()) SWIG_fail;
11755 }
11756 {
11757#if wxUSE_UNICODE
11758 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11759#else
11760 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11761#endif
11762 }
11763 return resultobj;
11764 fail:
11765 return NULL;
11766}
11767
11768
c32bde28 11769static PyObject *_wrap_TextCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 11770 PyObject *resultobj;
093d3ff1 11771 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
11772 wxVisualAttributes result;
11773 PyObject * obj0 = 0 ;
11774 char *kwnames[] = {
11775 (char *) "variant", NULL
11776 };
11777
11778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
11779 if (obj0) {
093d3ff1
RD
11780 {
11781 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
11782 if (SWIG_arg_fail(1)) SWIG_fail;
11783 }
f20a2e1f
RD
11784 }
11785 {
19272049 11786 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
11787 PyThreadState* __tstate = wxPyBeginAllowThreads();
11788 result = wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
11789
11790 wxPyEndAllowThreads(__tstate);
110da5b0 11791 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
11792 }
11793 {
11794 wxVisualAttributes * resultptr;
093d3ff1 11795 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
11796 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
11797 }
11798 return resultobj;
11799 fail:
11800 return NULL;
11801}
11802
11803
c32bde28 11804static PyObject * TextCtrl_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
11805 PyObject *obj;
11806 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11807 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl, obj);
11808 Py_INCREF(obj);
11809 return Py_BuildValue((char *)"");
11810}
c32bde28 11811static PyObject *_wrap_new_TextUrlEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11812 PyObject *resultobj;
11813 int arg1 ;
11814 wxMouseEvent *arg2 = 0 ;
11815 long arg3 ;
11816 long arg4 ;
11817 wxTextUrlEvent *result;
11818 PyObject * obj0 = 0 ;
11819 PyObject * obj1 = 0 ;
11820 PyObject * obj2 = 0 ;
11821 PyObject * obj3 = 0 ;
11822 char *kwnames[] = {
11823 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
11824 };
11825
11826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_TextUrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
11827 {
11828 arg1 = (int)(SWIG_As_int(obj0));
11829 if (SWIG_arg_fail(1)) SWIG_fail;
11830 }
11831 {
11832 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
11833 if (SWIG_arg_fail(2)) SWIG_fail;
11834 if (arg2 == NULL) {
11835 SWIG_null_ref("wxMouseEvent");
11836 }
11837 if (SWIG_arg_fail(2)) SWIG_fail;
11838 }
11839 {
11840 arg3 = (long)(SWIG_As_long(obj2));
11841 if (SWIG_arg_fail(3)) SWIG_fail;
11842 }
11843 {
11844 arg4 = (long)(SWIG_As_long(obj3));
11845 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc 11846 }
d55e5bfc
RD
11847 {
11848 PyThreadState* __tstate = wxPyBeginAllowThreads();
11849 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
11850
11851 wxPyEndAllowThreads(__tstate);
11852 if (PyErr_Occurred()) SWIG_fail;
11853 }
11854 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextUrlEvent, 1);
11855 return resultobj;
11856 fail:
11857 return NULL;
11858}
11859
11860
c32bde28 11861static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11862 PyObject *resultobj;
11863 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
11864 wxMouseEvent *result;
11865 PyObject * obj0 = 0 ;
11866 char *kwnames[] = {
11867 (char *) "self", NULL
11868 };
11869
11870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames,&obj0)) goto fail;
093d3ff1
RD
11871 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_EXCEPTION | 0);
11872 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11873 {
11874 PyThreadState* __tstate = wxPyBeginAllowThreads();
11875 {
11876 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
11877 result = (wxMouseEvent *) &_result_ref;
11878 }
11879
11880 wxPyEndAllowThreads(__tstate);
11881 if (PyErr_Occurred()) SWIG_fail;
11882 }
11883 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMouseEvent, 0);
11884 return resultobj;
11885 fail:
11886 return NULL;
11887}
11888
11889
c32bde28 11890static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11891 PyObject *resultobj;
11892 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
11893 long result;
11894 PyObject * obj0 = 0 ;
11895 char *kwnames[] = {
11896 (char *) "self", NULL
11897 };
11898
11899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLStart",kwnames,&obj0)) goto fail;
093d3ff1
RD
11900 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_EXCEPTION | 0);
11901 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11902 {
11903 PyThreadState* __tstate = wxPyBeginAllowThreads();
11904 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
11905
11906 wxPyEndAllowThreads(__tstate);
11907 if (PyErr_Occurred()) SWIG_fail;
11908 }
093d3ff1
RD
11909 {
11910 resultobj = SWIG_From_long((long)(result));
11911 }
d55e5bfc
RD
11912 return resultobj;
11913 fail:
11914 return NULL;
11915}
11916
11917
c32bde28 11918static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11919 PyObject *resultobj;
11920 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
11921 long result;
11922 PyObject * obj0 = 0 ;
11923 char *kwnames[] = {
11924 (char *) "self", NULL
11925 };
11926
11927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLEnd",kwnames,&obj0)) goto fail;
093d3ff1
RD
11928 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_EXCEPTION | 0);
11929 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11930 {
11931 PyThreadState* __tstate = wxPyBeginAllowThreads();
11932 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
11933
11934 wxPyEndAllowThreads(__tstate);
11935 if (PyErr_Occurred()) SWIG_fail;
11936 }
093d3ff1
RD
11937 {
11938 resultobj = SWIG_From_long((long)(result));
11939 }
d55e5bfc
RD
11940 return resultobj;
11941 fail:
11942 return NULL;
11943}
11944
11945
c32bde28 11946static PyObject * TextUrlEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
11947 PyObject *obj;
11948 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11949 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent, obj);
11950 Py_INCREF(obj);
11951 return Py_BuildValue((char *)"");
11952}
c32bde28 11953static int _wrap_ScrollBarNameStr_set(PyObject *) {
d55e5bfc
RD
11954 PyErr_SetString(PyExc_TypeError,"Variable ScrollBarNameStr is read-only.");
11955 return 1;
11956}
11957
11958
093d3ff1 11959static PyObject *_wrap_ScrollBarNameStr_get(void) {
d55e5bfc
RD
11960 PyObject *pyobj;
11961
11962 {
11963#if wxUSE_UNICODE
11964 pyobj = PyUnicode_FromWideChar((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
11965#else
11966 pyobj = PyString_FromStringAndSize((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
11967#endif
11968 }
11969 return pyobj;
11970}
11971
11972
c32bde28 11973static PyObject *_wrap_new_ScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11974 PyObject *resultobj;
11975 wxWindow *arg1 = (wxWindow *) 0 ;
11976 int arg2 = (int) -1 ;
11977 wxPoint const &arg3_defvalue = wxDefaultPosition ;
11978 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
11979 wxSize const &arg4_defvalue = wxDefaultSize ;
11980 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
11981 long arg5 = (long) wxSB_HORIZONTAL ;
11982 wxValidator const &arg6_defvalue = wxDefaultValidator ;
11983 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
11984 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
11985 wxString *arg7 = (wxString *) &arg7_defvalue ;
11986 wxScrollBar *result;
11987 wxPoint temp3 ;
11988 wxSize temp4 ;
ae8162c8 11989 bool temp7 = false ;
d55e5bfc
RD
11990 PyObject * obj0 = 0 ;
11991 PyObject * obj1 = 0 ;
11992 PyObject * obj2 = 0 ;
11993 PyObject * obj3 = 0 ;
11994 PyObject * obj4 = 0 ;
11995 PyObject * obj5 = 0 ;
11996 PyObject * obj6 = 0 ;
11997 char *kwnames[] = {
11998 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11999 };
12000
12001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ScrollBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
12002 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12003 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 12004 if (obj1) {
093d3ff1
RD
12005 {
12006 arg2 = (int)(SWIG_As_int(obj1));
12007 if (SWIG_arg_fail(2)) SWIG_fail;
12008 }
d55e5bfc
RD
12009 }
12010 if (obj2) {
12011 {
12012 arg3 = &temp3;
12013 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12014 }
12015 }
12016 if (obj3) {
12017 {
12018 arg4 = &temp4;
12019 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12020 }
12021 }
12022 if (obj4) {
093d3ff1
RD
12023 {
12024 arg5 = (long)(SWIG_As_long(obj4));
12025 if (SWIG_arg_fail(5)) SWIG_fail;
12026 }
d55e5bfc
RD
12027 }
12028 if (obj5) {
093d3ff1
RD
12029 {
12030 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
12031 if (SWIG_arg_fail(6)) SWIG_fail;
12032 if (arg6 == NULL) {
12033 SWIG_null_ref("wxValidator");
12034 }
12035 if (SWIG_arg_fail(6)) SWIG_fail;
d55e5bfc
RD
12036 }
12037 }
12038 if (obj6) {
12039 {
12040 arg7 = wxString_in_helper(obj6);
12041 if (arg7 == NULL) SWIG_fail;
ae8162c8 12042 temp7 = true;
d55e5bfc
RD
12043 }
12044 }
12045 {
0439c23b 12046 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
12047 PyThreadState* __tstate = wxPyBeginAllowThreads();
12048 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
12049
12050 wxPyEndAllowThreads(__tstate);
110da5b0 12051 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
12052 }
12053 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
12054 {
12055 if (temp7)
12056 delete arg7;
12057 }
12058 return resultobj;
12059 fail:
12060 {
12061 if (temp7)
12062 delete arg7;
12063 }
12064 return NULL;
12065}
12066
12067
c32bde28 12068static PyObject *_wrap_new_PreScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12069 PyObject *resultobj;
12070 wxScrollBar *result;
12071 char *kwnames[] = {
12072 NULL
12073 };
12074
12075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrollBar",kwnames)) goto fail;
12076 {
0439c23b 12077 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
12078 PyThreadState* __tstate = wxPyBeginAllowThreads();
12079 result = (wxScrollBar *)new wxScrollBar();
12080
12081 wxPyEndAllowThreads(__tstate);
110da5b0 12082 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
12083 }
12084 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
12085 return resultobj;
12086 fail:
12087 return NULL;
12088}
12089
12090
c32bde28 12091static PyObject *_wrap_ScrollBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12092 PyObject *resultobj;
12093 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12094 wxWindow *arg2 = (wxWindow *) 0 ;
12095 int arg3 = (int) -1 ;
12096 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12097 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12098 wxSize const &arg5_defvalue = wxDefaultSize ;
12099 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12100 long arg6 = (long) wxSB_HORIZONTAL ;
12101 wxValidator const &arg7_defvalue = wxDefaultValidator ;
12102 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
12103 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
12104 wxString *arg8 = (wxString *) &arg8_defvalue ;
12105 bool result;
12106 wxPoint temp4 ;
12107 wxSize temp5 ;
ae8162c8 12108 bool temp8 = false ;
d55e5bfc
RD
12109 PyObject * obj0 = 0 ;
12110 PyObject * obj1 = 0 ;
12111 PyObject * obj2 = 0 ;
12112 PyObject * obj3 = 0 ;
12113 PyObject * obj4 = 0 ;
12114 PyObject * obj5 = 0 ;
12115 PyObject * obj6 = 0 ;
12116 PyObject * obj7 = 0 ;
12117 char *kwnames[] = {
12118 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12119 };
12120
12121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
12122 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12123 if (SWIG_arg_fail(1)) SWIG_fail;
12124 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12125 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 12126 if (obj2) {
093d3ff1
RD
12127 {
12128 arg3 = (int)(SWIG_As_int(obj2));
12129 if (SWIG_arg_fail(3)) SWIG_fail;
12130 }
d55e5bfc
RD
12131 }
12132 if (obj3) {
12133 {
12134 arg4 = &temp4;
12135 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12136 }
12137 }
12138 if (obj4) {
12139 {
12140 arg5 = &temp5;
12141 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12142 }
12143 }
12144 if (obj5) {
093d3ff1
RD
12145 {
12146 arg6 = (long)(SWIG_As_long(obj5));
12147 if (SWIG_arg_fail(6)) SWIG_fail;
12148 }
d55e5bfc
RD
12149 }
12150 if (obj6) {
093d3ff1
RD
12151 {
12152 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
12153 if (SWIG_arg_fail(7)) SWIG_fail;
12154 if (arg7 == NULL) {
12155 SWIG_null_ref("wxValidator");
12156 }
12157 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
12158 }
12159 }
12160 if (obj7) {
12161 {
12162 arg8 = wxString_in_helper(obj7);
12163 if (arg8 == NULL) SWIG_fail;
ae8162c8 12164 temp8 = true;
d55e5bfc
RD
12165 }
12166 }
12167 {
12168 PyThreadState* __tstate = wxPyBeginAllowThreads();
12169 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
12170
12171 wxPyEndAllowThreads(__tstate);
12172 if (PyErr_Occurred()) SWIG_fail;
12173 }
12174 {
12175 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12176 }
12177 {
12178 if (temp8)
12179 delete arg8;
12180 }
12181 return resultobj;
12182 fail:
12183 {
12184 if (temp8)
12185 delete arg8;
12186 }
12187 return NULL;
12188}
12189
12190
c32bde28 12191static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12192 PyObject *resultobj;
12193 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12194 int result;
12195 PyObject * obj0 = 0 ;
12196 char *kwnames[] = {
12197 (char *) "self", NULL
12198 };
12199
12200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
12201 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12202 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12203 {
12204 PyThreadState* __tstate = wxPyBeginAllowThreads();
12205 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
12206
12207 wxPyEndAllowThreads(__tstate);
12208 if (PyErr_Occurred()) SWIG_fail;
12209 }
093d3ff1
RD
12210 {
12211 resultobj = SWIG_From_int((int)(result));
12212 }
d55e5bfc
RD
12213 return resultobj;
12214 fail:
12215 return NULL;
12216}
12217
12218
c32bde28 12219static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12220 PyObject *resultobj;
12221 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12222 int result;
12223 PyObject * obj0 = 0 ;
12224 char *kwnames[] = {
12225 (char *) "self", NULL
12226 };
12227
12228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
12229 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12230 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12231 {
12232 PyThreadState* __tstate = wxPyBeginAllowThreads();
12233 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
12234
12235 wxPyEndAllowThreads(__tstate);
12236 if (PyErr_Occurred()) SWIG_fail;
12237 }
093d3ff1
RD
12238 {
12239 resultobj = SWIG_From_int((int)(result));
12240 }
d55e5bfc
RD
12241 return resultobj;
12242 fail:
12243 return NULL;
12244}
12245
12246
c32bde28 12247static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12248 PyObject *resultobj;
12249 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12250 int result;
12251 PyObject * obj0 = 0 ;
12252 char *kwnames[] = {
12253 (char *) "self", NULL
12254 };
12255
12256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetPageSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
12257 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12258 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12259 {
12260 PyThreadState* __tstate = wxPyBeginAllowThreads();
12261 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
12262
12263 wxPyEndAllowThreads(__tstate);
12264 if (PyErr_Occurred()) SWIG_fail;
12265 }
093d3ff1
RD
12266 {
12267 resultobj = SWIG_From_int((int)(result));
12268 }
d55e5bfc
RD
12269 return resultobj;
12270 fail:
12271 return NULL;
12272}
12273
12274
c32bde28 12275static PyObject *_wrap_ScrollBar_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12276 PyObject *resultobj;
12277 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12278 int result;
12279 PyObject * obj0 = 0 ;
12280 char *kwnames[] = {
12281 (char *) "self", NULL
12282 };
12283
12284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetRange",kwnames,&obj0)) goto fail;
093d3ff1
RD
12285 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12286 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12287 {
12288 PyThreadState* __tstate = wxPyBeginAllowThreads();
12289 result = (int)((wxScrollBar const *)arg1)->GetRange();
12290
12291 wxPyEndAllowThreads(__tstate);
12292 if (PyErr_Occurred()) SWIG_fail;
12293 }
093d3ff1
RD
12294 {
12295 resultobj = SWIG_From_int((int)(result));
12296 }
d55e5bfc
RD
12297 return resultobj;
12298 fail:
12299 return NULL;
12300}
12301
12302
c32bde28 12303static PyObject *_wrap_ScrollBar_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12304 PyObject *resultobj;
12305 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12306 bool result;
12307 PyObject * obj0 = 0 ;
12308 char *kwnames[] = {
12309 (char *) "self", NULL
12310 };
12311
12312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_IsVertical",kwnames,&obj0)) goto fail;
093d3ff1
RD
12313 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12314 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12315 {
12316 PyThreadState* __tstate = wxPyBeginAllowThreads();
12317 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
12318
12319 wxPyEndAllowThreads(__tstate);
12320 if (PyErr_Occurred()) SWIG_fail;
12321 }
12322 {
12323 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12324 }
12325 return resultobj;
12326 fail:
12327 return NULL;
12328}
12329
12330
c32bde28 12331static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12332 PyObject *resultobj;
12333 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12334 int arg2 ;
12335 PyObject * obj0 = 0 ;
12336 PyObject * obj1 = 0 ;
12337 char *kwnames[] = {
12338 (char *) "self",(char *) "viewStart", NULL
12339 };
12340
12341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollBar_SetThumbPosition",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12342 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12343 if (SWIG_arg_fail(1)) SWIG_fail;
12344 {
12345 arg2 = (int)(SWIG_As_int(obj1));
12346 if (SWIG_arg_fail(2)) SWIG_fail;
12347 }
d55e5bfc
RD
12348 {
12349 PyThreadState* __tstate = wxPyBeginAllowThreads();
12350 (arg1)->SetThumbPosition(arg2);
12351
12352 wxPyEndAllowThreads(__tstate);
12353 if (PyErr_Occurred()) SWIG_fail;
12354 }
12355 Py_INCREF(Py_None); resultobj = Py_None;
12356 return resultobj;
12357 fail:
12358 return NULL;
12359}
12360
12361
c32bde28 12362static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12363 PyObject *resultobj;
12364 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12365 int arg2 ;
12366 int arg3 ;
12367 int arg4 ;
12368 int arg5 ;
ae8162c8 12369 bool arg6 = (bool) true ;
d55e5bfc
RD
12370 PyObject * obj0 = 0 ;
12371 PyObject * obj1 = 0 ;
12372 PyObject * obj2 = 0 ;
12373 PyObject * obj3 = 0 ;
12374 PyObject * obj4 = 0 ;
12375 PyObject * obj5 = 0 ;
12376 char *kwnames[] = {
12377 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
12378 };
12379
12380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
12381 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12382 if (SWIG_arg_fail(1)) SWIG_fail;
12383 {
12384 arg2 = (int)(SWIG_As_int(obj1));
12385 if (SWIG_arg_fail(2)) SWIG_fail;
12386 }
12387 {
12388 arg3 = (int)(SWIG_As_int(obj2));
12389 if (SWIG_arg_fail(3)) SWIG_fail;
12390 }
12391 {
12392 arg4 = (int)(SWIG_As_int(obj3));
12393 if (SWIG_arg_fail(4)) SWIG_fail;
12394 }
12395 {
12396 arg5 = (int)(SWIG_As_int(obj4));
12397 if (SWIG_arg_fail(5)) SWIG_fail;
12398 }
d55e5bfc 12399 if (obj5) {
093d3ff1
RD
12400 {
12401 arg6 = (bool)(SWIG_As_bool(obj5));
12402 if (SWIG_arg_fail(6)) SWIG_fail;
12403 }
d55e5bfc
RD
12404 }
12405 {
12406 PyThreadState* __tstate = wxPyBeginAllowThreads();
12407 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
12408
12409 wxPyEndAllowThreads(__tstate);
12410 if (PyErr_Occurred()) SWIG_fail;
12411 }
12412 Py_INCREF(Py_None); resultobj = Py_None;
12413 return resultobj;
12414 fail:
12415 return NULL;
12416}
12417
12418
c32bde28 12419static PyObject *_wrap_ScrollBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 12420 PyObject *resultobj;
093d3ff1 12421 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
12422 wxVisualAttributes result;
12423 PyObject * obj0 = 0 ;
12424 char *kwnames[] = {
12425 (char *) "variant", NULL
12426 };
12427
12428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
12429 if (obj0) {
093d3ff1
RD
12430 {
12431 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
12432 if (SWIG_arg_fail(1)) SWIG_fail;
12433 }
f20a2e1f
RD
12434 }
12435 {
19272049 12436 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
12437 PyThreadState* __tstate = wxPyBeginAllowThreads();
12438 result = wxScrollBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
12439
12440 wxPyEndAllowThreads(__tstate);
110da5b0 12441 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
12442 }
12443 {
12444 wxVisualAttributes * resultptr;
093d3ff1 12445 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
12446 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
12447 }
12448 return resultobj;
12449 fail:
12450 return NULL;
12451}
12452
12453
c32bde28 12454static PyObject * ScrollBar_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
12455 PyObject *obj;
12456 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12457 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar, obj);
12458 Py_INCREF(obj);
12459 return Py_BuildValue((char *)"");
12460}
c32bde28 12461static int _wrap_SPIN_BUTTON_NAME_set(PyObject *) {
d55e5bfc
RD
12462 PyErr_SetString(PyExc_TypeError,"Variable SPIN_BUTTON_NAME is read-only.");
12463 return 1;
12464}
12465
12466
093d3ff1 12467static PyObject *_wrap_SPIN_BUTTON_NAME_get(void) {
d55e5bfc
RD
12468 PyObject *pyobj;
12469
12470 {
12471#if wxUSE_UNICODE
12472 pyobj = PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
12473#else
12474 pyobj = PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
12475#endif
12476 }
12477 return pyobj;
12478}
12479
12480
c32bde28 12481static int _wrap_SpinCtrlNameStr_set(PyObject *) {
d55e5bfc
RD
12482 PyErr_SetString(PyExc_TypeError,"Variable SpinCtrlNameStr is read-only.");
12483 return 1;
12484}
12485
12486
093d3ff1 12487static PyObject *_wrap_SpinCtrlNameStr_get(void) {
d55e5bfc
RD
12488 PyObject *pyobj;
12489
12490 {
12491#if wxUSE_UNICODE
12492 pyobj = PyUnicode_FromWideChar((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
12493#else
12494 pyobj = PyString_FromStringAndSize((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
12495#endif
12496 }
12497 return pyobj;
12498}
12499
12500
c32bde28 12501static PyObject *_wrap_new_SpinButton(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12502 PyObject *resultobj;
12503 wxWindow *arg1 = (wxWindow *) 0 ;
12504 int arg2 = (int) -1 ;
12505 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12506 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12507 wxSize const &arg4_defvalue = wxDefaultSize ;
12508 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12509 long arg5 = (long) wxSP_HORIZONTAL ;
12510 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
12511 wxString *arg6 = (wxString *) &arg6_defvalue ;
12512 wxSpinButton *result;
12513 wxPoint temp3 ;
12514 wxSize temp4 ;
ae8162c8 12515 bool temp6 = false ;
d55e5bfc
RD
12516 PyObject * obj0 = 0 ;
12517 PyObject * obj1 = 0 ;
12518 PyObject * obj2 = 0 ;
12519 PyObject * obj3 = 0 ;
12520 PyObject * obj4 = 0 ;
12521 PyObject * obj5 = 0 ;
12522 char *kwnames[] = {
12523 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12524 };
12525
12526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SpinButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
12527 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12528 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 12529 if (obj1) {
093d3ff1
RD
12530 {
12531 arg2 = (int)(SWIG_As_int(obj1));
12532 if (SWIG_arg_fail(2)) SWIG_fail;
12533 }
d55e5bfc
RD
12534 }
12535 if (obj2) {
12536 {
12537 arg3 = &temp3;
12538 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12539 }
12540 }
12541 if (obj3) {
12542 {
12543 arg4 = &temp4;
12544 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12545 }
12546 }
12547 if (obj4) {
093d3ff1
RD
12548 {
12549 arg5 = (long)(SWIG_As_long(obj4));
12550 if (SWIG_arg_fail(5)) SWIG_fail;
12551 }
d55e5bfc
RD
12552 }
12553 if (obj5) {
12554 {
12555 arg6 = wxString_in_helper(obj5);
12556 if (arg6 == NULL) SWIG_fail;
ae8162c8 12557 temp6 = true;
d55e5bfc
RD
12558 }
12559 }
12560 {
0439c23b 12561 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
12562 PyThreadState* __tstate = wxPyBeginAllowThreads();
12563 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12564
12565 wxPyEndAllowThreads(__tstate);
110da5b0 12566 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
12567 }
12568 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
12569 {
12570 if (temp6)
12571 delete arg6;
12572 }
12573 return resultobj;
12574 fail:
12575 {
12576 if (temp6)
12577 delete arg6;
12578 }
12579 return NULL;
12580}
12581
12582
c32bde28 12583static PyObject *_wrap_new_PreSpinButton(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12584 PyObject *resultobj;
12585 wxSpinButton *result;
12586 char *kwnames[] = {
12587 NULL
12588 };
12589
12590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinButton",kwnames)) goto fail;
12591 {
0439c23b 12592 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
12593 PyThreadState* __tstate = wxPyBeginAllowThreads();
12594 result = (wxSpinButton *)new wxSpinButton();
12595
12596 wxPyEndAllowThreads(__tstate);
110da5b0 12597 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
12598 }
12599 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
12600 return resultobj;
12601 fail:
12602 return NULL;
12603}
12604
12605
c32bde28 12606static PyObject *_wrap_SpinButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12607 PyObject *resultobj;
12608 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12609 wxWindow *arg2 = (wxWindow *) 0 ;
12610 int arg3 = (int) -1 ;
12611 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12612 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12613 wxSize const &arg5_defvalue = wxDefaultSize ;
12614 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12615 long arg6 = (long) wxSP_HORIZONTAL ;
12616 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
12617 wxString *arg7 = (wxString *) &arg7_defvalue ;
12618 bool result;
12619 wxPoint temp4 ;
12620 wxSize temp5 ;
ae8162c8 12621 bool temp7 = false ;
d55e5bfc
RD
12622 PyObject * obj0 = 0 ;
12623 PyObject * obj1 = 0 ;
12624 PyObject * obj2 = 0 ;
12625 PyObject * obj3 = 0 ;
12626 PyObject * obj4 = 0 ;
12627 PyObject * obj5 = 0 ;
12628 PyObject * obj6 = 0 ;
12629 char *kwnames[] = {
12630 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12631 };
12632
12633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SpinButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
12634 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12635 if (SWIG_arg_fail(1)) SWIG_fail;
12636 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12637 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 12638 if (obj2) {
093d3ff1
RD
12639 {
12640 arg3 = (int)(SWIG_As_int(obj2));
12641 if (SWIG_arg_fail(3)) SWIG_fail;
12642 }
d55e5bfc
RD
12643 }
12644 if (obj3) {
12645 {
12646 arg4 = &temp4;
12647 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12648 }
12649 }
12650 if (obj4) {
12651 {
12652 arg5 = &temp5;
12653 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12654 }
12655 }
12656 if (obj5) {
093d3ff1
RD
12657 {
12658 arg6 = (long)(SWIG_As_long(obj5));
12659 if (SWIG_arg_fail(6)) SWIG_fail;
12660 }
d55e5bfc
RD
12661 }
12662 if (obj6) {
12663 {
12664 arg7 = wxString_in_helper(obj6);
12665 if (arg7 == NULL) SWIG_fail;
ae8162c8 12666 temp7 = true;
d55e5bfc
RD
12667 }
12668 }
12669 {
12670 PyThreadState* __tstate = wxPyBeginAllowThreads();
12671 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12672
12673 wxPyEndAllowThreads(__tstate);
12674 if (PyErr_Occurred()) SWIG_fail;
12675 }
12676 {
12677 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12678 }
12679 {
12680 if (temp7)
12681 delete arg7;
12682 }
12683 return resultobj;
12684 fail:
12685 {
12686 if (temp7)
12687 delete arg7;
12688 }
12689 return NULL;
12690}
12691
12692
c32bde28 12693static PyObject *_wrap_SpinButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12694 PyObject *resultobj;
12695 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12696 int result;
12697 PyObject * obj0 = 0 ;
12698 char *kwnames[] = {
12699 (char *) "self", NULL
12700 };
12701
12702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
12703 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12704 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12705 {
12706 PyThreadState* __tstate = wxPyBeginAllowThreads();
12707 result = (int)((wxSpinButton const *)arg1)->GetValue();
12708
12709 wxPyEndAllowThreads(__tstate);
12710 if (PyErr_Occurred()) SWIG_fail;
12711 }
093d3ff1
RD
12712 {
12713 resultobj = SWIG_From_int((int)(result));
12714 }
d55e5bfc
RD
12715 return resultobj;
12716 fail:
12717 return NULL;
12718}
12719
12720
c32bde28 12721static PyObject *_wrap_SpinButton_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12722 PyObject *resultobj;
12723 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12724 int result;
12725 PyObject * obj0 = 0 ;
12726 char *kwnames[] = {
12727 (char *) "self", NULL
12728 };
12729
12730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMin",kwnames,&obj0)) goto fail;
093d3ff1
RD
12731 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12732 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12733 {
12734 PyThreadState* __tstate = wxPyBeginAllowThreads();
12735 result = (int)((wxSpinButton const *)arg1)->GetMin();
12736
12737 wxPyEndAllowThreads(__tstate);
12738 if (PyErr_Occurred()) SWIG_fail;
12739 }
093d3ff1
RD
12740 {
12741 resultobj = SWIG_From_int((int)(result));
12742 }
d55e5bfc
RD
12743 return resultobj;
12744 fail:
12745 return NULL;
12746}
12747
12748
c32bde28 12749static PyObject *_wrap_SpinButton_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12750 PyObject *resultobj;
12751 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12752 int result;
12753 PyObject * obj0 = 0 ;
12754 char *kwnames[] = {
12755 (char *) "self", NULL
12756 };
12757
12758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMax",kwnames,&obj0)) goto fail;
093d3ff1
RD
12759 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12760 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12761 {
12762 PyThreadState* __tstate = wxPyBeginAllowThreads();
12763 result = (int)((wxSpinButton const *)arg1)->GetMax();
12764
12765 wxPyEndAllowThreads(__tstate);
12766 if (PyErr_Occurred()) SWIG_fail;
12767 }
093d3ff1
RD
12768 {
12769 resultobj = SWIG_From_int((int)(result));
12770 }
d55e5bfc
RD
12771 return resultobj;
12772 fail:
12773 return NULL;
12774}
12775
12776
c32bde28 12777static PyObject *_wrap_SpinButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12778 PyObject *resultobj;
12779 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12780 int arg2 ;
12781 PyObject * obj0 = 0 ;
12782 PyObject * obj1 = 0 ;
12783 char *kwnames[] = {
12784 (char *) "self",(char *) "val", NULL
12785 };
12786
12787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12788 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12789 if (SWIG_arg_fail(1)) SWIG_fail;
12790 {
12791 arg2 = (int)(SWIG_As_int(obj1));
12792 if (SWIG_arg_fail(2)) SWIG_fail;
12793 }
d55e5bfc
RD
12794 {
12795 PyThreadState* __tstate = wxPyBeginAllowThreads();
12796 (arg1)->SetValue(arg2);
12797
12798 wxPyEndAllowThreads(__tstate);
12799 if (PyErr_Occurred()) SWIG_fail;
12800 }
12801 Py_INCREF(Py_None); resultobj = Py_None;
12802 return resultobj;
12803 fail:
12804 return NULL;
12805}
12806
12807
c32bde28 12808static PyObject *_wrap_SpinButton_SetMin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12809 PyObject *resultobj;
12810 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12811 int arg2 ;
12812 PyObject * obj0 = 0 ;
12813 PyObject * obj1 = 0 ;
12814 char *kwnames[] = {
12815 (char *) "self",(char *) "minVal", NULL
12816 };
12817
12818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMin",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12819 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12820 if (SWIG_arg_fail(1)) SWIG_fail;
12821 {
12822 arg2 = (int)(SWIG_As_int(obj1));
12823 if (SWIG_arg_fail(2)) SWIG_fail;
12824 }
d55e5bfc
RD
12825 {
12826 PyThreadState* __tstate = wxPyBeginAllowThreads();
12827 (arg1)->SetMin(arg2);
12828
12829 wxPyEndAllowThreads(__tstate);
12830 if (PyErr_Occurred()) SWIG_fail;
12831 }
12832 Py_INCREF(Py_None); resultobj = Py_None;
12833 return resultobj;
12834 fail:
12835 return NULL;
12836}
12837
12838
c32bde28 12839static PyObject *_wrap_SpinButton_SetMax(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12840 PyObject *resultobj;
12841 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12842 int arg2 ;
12843 PyObject * obj0 = 0 ;
12844 PyObject * obj1 = 0 ;
12845 char *kwnames[] = {
12846 (char *) "self",(char *) "maxVal", NULL
12847 };
12848
12849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMax",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12850 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12851 if (SWIG_arg_fail(1)) SWIG_fail;
12852 {
12853 arg2 = (int)(SWIG_As_int(obj1));
12854 if (SWIG_arg_fail(2)) SWIG_fail;
12855 }
d55e5bfc
RD
12856 {
12857 PyThreadState* __tstate = wxPyBeginAllowThreads();
12858 (arg1)->SetMax(arg2);
12859
12860 wxPyEndAllowThreads(__tstate);
12861 if (PyErr_Occurred()) SWIG_fail;
12862 }
12863 Py_INCREF(Py_None); resultobj = Py_None;
12864 return resultobj;
12865 fail:
12866 return NULL;
12867}
12868
12869
c32bde28 12870static PyObject *_wrap_SpinButton_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12871 PyObject *resultobj;
12872 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12873 int arg2 ;
12874 int arg3 ;
12875 PyObject * obj0 = 0 ;
12876 PyObject * obj1 = 0 ;
12877 PyObject * obj2 = 0 ;
12878 char *kwnames[] = {
12879 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
12880 };
12881
12882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinButton_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
12883 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12884 if (SWIG_arg_fail(1)) SWIG_fail;
12885 {
12886 arg2 = (int)(SWIG_As_int(obj1));
12887 if (SWIG_arg_fail(2)) SWIG_fail;
12888 }
12889 {
12890 arg3 = (int)(SWIG_As_int(obj2));
12891 if (SWIG_arg_fail(3)) SWIG_fail;
12892 }
d55e5bfc
RD
12893 {
12894 PyThreadState* __tstate = wxPyBeginAllowThreads();
12895 (arg1)->SetRange(arg2,arg3);
12896
12897 wxPyEndAllowThreads(__tstate);
12898 if (PyErr_Occurred()) SWIG_fail;
12899 }
f20a2e1f
RD
12900 Py_INCREF(Py_None); resultobj = Py_None;
12901 return resultobj;
12902 fail:
12903 return NULL;
12904}
12905
12906
c32bde28 12907static PyObject *_wrap_SpinButton_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f
RD
12908 PyObject *resultobj;
12909 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12910 bool result;
12911 PyObject * obj0 = 0 ;
12912 char *kwnames[] = {
12913 (char *) "self", NULL
12914 };
12915
12916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_IsVertical",kwnames,&obj0)) goto fail;
093d3ff1
RD
12917 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12918 if (SWIG_arg_fail(1)) SWIG_fail;
f20a2e1f
RD
12919 {
12920 PyThreadState* __tstate = wxPyBeginAllowThreads();
12921 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
12922
12923 wxPyEndAllowThreads(__tstate);
12924 if (PyErr_Occurred()) SWIG_fail;
12925 }
12926 {
12927 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12928 }
d55e5bfc
RD
12929 return resultobj;
12930 fail:
12931 return NULL;
12932}
12933
12934
c32bde28 12935static PyObject *_wrap_SpinButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 12936 PyObject *resultobj;
093d3ff1 12937 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f 12938 wxVisualAttributes result;
d55e5bfc
RD
12939 PyObject * obj0 = 0 ;
12940 char *kwnames[] = {
f20a2e1f 12941 (char *) "variant", NULL
d55e5bfc
RD
12942 };
12943
f20a2e1f
RD
12944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
12945 if (obj0) {
093d3ff1
RD
12946 {
12947 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
12948 if (SWIG_arg_fail(1)) SWIG_fail;
12949 }
f20a2e1f 12950 }
d55e5bfc 12951 {
19272049 12952 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 12953 PyThreadState* __tstate = wxPyBeginAllowThreads();
f20a2e1f 12954 result = wxSpinButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
d55e5bfc
RD
12955
12956 wxPyEndAllowThreads(__tstate);
110da5b0 12957 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
12958 }
12959 {
f20a2e1f 12960 wxVisualAttributes * resultptr;
093d3ff1 12961 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f 12962 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
d55e5bfc
RD
12963 }
12964 return resultobj;
12965 fail:
12966 return NULL;
12967}
12968
12969
c32bde28 12970static PyObject * SpinButton_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
12971 PyObject *obj;
12972 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12973 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton, obj);
12974 Py_INCREF(obj);
12975 return Py_BuildValue((char *)"");
12976}
c32bde28 12977static PyObject *_wrap_new_SpinCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12978 PyObject *resultobj;
12979 wxWindow *arg1 = (wxWindow *) 0 ;
12980 int arg2 = (int) -1 ;
12981 wxString const &arg3_defvalue = wxPyEmptyString ;
12982 wxString *arg3 = (wxString *) &arg3_defvalue ;
12983 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12984 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12985 wxSize const &arg5_defvalue = wxDefaultSize ;
12986 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12987 long arg6 = (long) wxSP_ARROW_KEYS ;
12988 int arg7 = (int) 0 ;
12989 int arg8 = (int) 100 ;
12990 int arg9 = (int) 0 ;
12991 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
12992 wxString *arg10 = (wxString *) &arg10_defvalue ;
12993 wxSpinCtrl *result;
ae8162c8 12994 bool temp3 = false ;
d55e5bfc
RD
12995 wxPoint temp4 ;
12996 wxSize temp5 ;
ae8162c8 12997 bool temp10 = false ;
d55e5bfc
RD
12998 PyObject * obj0 = 0 ;
12999 PyObject * obj1 = 0 ;
13000 PyObject * obj2 = 0 ;
13001 PyObject * obj3 = 0 ;
13002 PyObject * obj4 = 0 ;
13003 PyObject * obj5 = 0 ;
13004 PyObject * obj6 = 0 ;
13005 PyObject * obj7 = 0 ;
13006 PyObject * obj8 = 0 ;
13007 PyObject * obj9 = 0 ;
13008 char *kwnames[] = {
13009 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
13010 };
13011
13012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
093d3ff1
RD
13013 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13014 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 13015 if (obj1) {
093d3ff1
RD
13016 {
13017 arg2 = (int)(SWIG_As_int(obj1));
13018 if (SWIG_arg_fail(2)) SWIG_fail;
13019 }
d55e5bfc
RD
13020 }
13021 if (obj2) {
13022 {
13023 arg3 = wxString_in_helper(obj2);
13024 if (arg3 == NULL) SWIG_fail;
ae8162c8 13025 temp3 = true;
d55e5bfc
RD
13026 }
13027 }
13028 if (obj3) {
13029 {
13030 arg4 = &temp4;
13031 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13032 }
13033 }
13034 if (obj4) {
13035 {
13036 arg5 = &temp5;
13037 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13038 }
13039 }
13040 if (obj5) {
093d3ff1
RD
13041 {
13042 arg6 = (long)(SWIG_As_long(obj5));
13043 if (SWIG_arg_fail(6)) SWIG_fail;
13044 }
d55e5bfc
RD
13045 }
13046 if (obj6) {
093d3ff1
RD
13047 {
13048 arg7 = (int)(SWIG_As_int(obj6));
13049 if (SWIG_arg_fail(7)) SWIG_fail;
13050 }
d55e5bfc
RD
13051 }
13052 if (obj7) {
093d3ff1
RD
13053 {
13054 arg8 = (int)(SWIG_As_int(obj7));
13055 if (SWIG_arg_fail(8)) SWIG_fail;
13056 }
d55e5bfc
RD
13057 }
13058 if (obj8) {
093d3ff1
RD
13059 {
13060 arg9 = (int)(SWIG_As_int(obj8));
13061 if (SWIG_arg_fail(9)) SWIG_fail;
13062 }
d55e5bfc
RD
13063 }
13064 if (obj9) {
13065 {
13066 arg10 = wxString_in_helper(obj9);
13067 if (arg10 == NULL) SWIG_fail;
ae8162c8 13068 temp10 = true;
d55e5bfc
RD
13069 }
13070 }
13071 {
0439c23b 13072 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
13073 PyThreadState* __tstate = wxPyBeginAllowThreads();
13074 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
13075
13076 wxPyEndAllowThreads(__tstate);
110da5b0 13077 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
13078 }
13079 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
13080 {
13081 if (temp3)
13082 delete arg3;
13083 }
13084 {
13085 if (temp10)
13086 delete arg10;
13087 }
13088 return resultobj;
13089 fail:
13090 {
13091 if (temp3)
13092 delete arg3;
13093 }
13094 {
13095 if (temp10)
13096 delete arg10;
13097 }
13098 return NULL;
13099}
13100
13101
c32bde28 13102static PyObject *_wrap_new_PreSpinCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13103 PyObject *resultobj;
13104 wxSpinCtrl *result;
13105 char *kwnames[] = {
13106 NULL
13107 };
13108
13109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinCtrl",kwnames)) goto fail;
13110 {
0439c23b 13111 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
13112 PyThreadState* __tstate = wxPyBeginAllowThreads();
13113 result = (wxSpinCtrl *)new wxSpinCtrl();
13114
13115 wxPyEndAllowThreads(__tstate);
110da5b0 13116 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
13117 }
13118 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
13119 return resultobj;
13120 fail:
13121 return NULL;
13122}
13123
13124
c32bde28 13125static PyObject *_wrap_SpinCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13126 PyObject *resultobj;
13127 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13128 wxWindow *arg2 = (wxWindow *) 0 ;
13129 int arg3 = (int) -1 ;
13130 wxString const &arg4_defvalue = wxPyEmptyString ;
13131 wxString *arg4 = (wxString *) &arg4_defvalue ;
13132 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13133 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13134 wxSize const &arg6_defvalue = wxDefaultSize ;
13135 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13136 long arg7 = (long) wxSP_ARROW_KEYS ;
13137 int arg8 = (int) 0 ;
13138 int arg9 = (int) 100 ;
13139 int arg10 = (int) 0 ;
13140 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
13141 wxString *arg11 = (wxString *) &arg11_defvalue ;
13142 bool result;
ae8162c8 13143 bool temp4 = false ;
d55e5bfc
RD
13144 wxPoint temp5 ;
13145 wxSize temp6 ;
ae8162c8 13146 bool temp11 = false ;
d55e5bfc
RD
13147 PyObject * obj0 = 0 ;
13148 PyObject * obj1 = 0 ;
13149 PyObject * obj2 = 0 ;
13150 PyObject * obj3 = 0 ;
13151 PyObject * obj4 = 0 ;
13152 PyObject * obj5 = 0 ;
13153 PyObject * obj6 = 0 ;
13154 PyObject * obj7 = 0 ;
13155 PyObject * obj8 = 0 ;
13156 PyObject * obj9 = 0 ;
13157 PyObject * obj10 = 0 ;
13158 char *kwnames[] = {
13159 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
13160 };
13161
13162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
093d3ff1
RD
13163 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13164 if (SWIG_arg_fail(1)) SWIG_fail;
13165 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13166 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 13167 if (obj2) {
093d3ff1
RD
13168 {
13169 arg3 = (int)(SWIG_As_int(obj2));
13170 if (SWIG_arg_fail(3)) SWIG_fail;
13171 }
d55e5bfc
RD
13172 }
13173 if (obj3) {
13174 {
13175 arg4 = wxString_in_helper(obj3);
13176 if (arg4 == NULL) SWIG_fail;
ae8162c8 13177 temp4 = true;
d55e5bfc
RD
13178 }
13179 }
13180 if (obj4) {
13181 {
13182 arg5 = &temp5;
13183 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13184 }
13185 }
13186 if (obj5) {
13187 {
13188 arg6 = &temp6;
13189 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13190 }
13191 }
13192 if (obj6) {
093d3ff1
RD
13193 {
13194 arg7 = (long)(SWIG_As_long(obj6));
13195 if (SWIG_arg_fail(7)) SWIG_fail;
13196 }
d55e5bfc
RD
13197 }
13198 if (obj7) {
093d3ff1
RD
13199 {
13200 arg8 = (int)(SWIG_As_int(obj7));
13201 if (SWIG_arg_fail(8)) SWIG_fail;
13202 }
d55e5bfc
RD
13203 }
13204 if (obj8) {
093d3ff1
RD
13205 {
13206 arg9 = (int)(SWIG_As_int(obj8));
13207 if (SWIG_arg_fail(9)) SWIG_fail;
13208 }
d55e5bfc
RD
13209 }
13210 if (obj9) {
093d3ff1
RD
13211 {
13212 arg10 = (int)(SWIG_As_int(obj9));
13213 if (SWIG_arg_fail(10)) SWIG_fail;
13214 }
d55e5bfc
RD
13215 }
13216 if (obj10) {
13217 {
13218 arg11 = wxString_in_helper(obj10);
13219 if (arg11 == NULL) SWIG_fail;
ae8162c8 13220 temp11 = true;
d55e5bfc
RD
13221 }
13222 }
13223 {
13224 PyThreadState* __tstate = wxPyBeginAllowThreads();
13225 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
13226
13227 wxPyEndAllowThreads(__tstate);
13228 if (PyErr_Occurred()) SWIG_fail;
13229 }
13230 {
13231 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13232 }
13233 {
13234 if (temp4)
13235 delete arg4;
13236 }
13237 {
13238 if (temp11)
13239 delete arg11;
13240 }
13241 return resultobj;
13242 fail:
13243 {
13244 if (temp4)
13245 delete arg4;
13246 }
13247 {
13248 if (temp11)
13249 delete arg11;
13250 }
13251 return NULL;
13252}
13253
13254
c32bde28 13255static PyObject *_wrap_SpinCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13256 PyObject *resultobj;
13257 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13258 int result;
13259 PyObject * obj0 = 0 ;
13260 char *kwnames[] = {
13261 (char *) "self", NULL
13262 };
13263
13264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
13265 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13266 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13267 {
13268 PyThreadState* __tstate = wxPyBeginAllowThreads();
13269 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
13270
13271 wxPyEndAllowThreads(__tstate);
13272 if (PyErr_Occurred()) SWIG_fail;
13273 }
093d3ff1
RD
13274 {
13275 resultobj = SWIG_From_int((int)(result));
13276 }
d55e5bfc
RD
13277 return resultobj;
13278 fail:
13279 return NULL;
13280}
13281
13282
c32bde28 13283static PyObject *_wrap_SpinCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13284 PyObject *resultobj;
13285 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13286 int arg2 ;
13287 PyObject * obj0 = 0 ;
13288 PyObject * obj1 = 0 ;
13289 char *kwnames[] = {
13290 (char *) "self",(char *) "value", NULL
13291 };
13292
13293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13294 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13295 if (SWIG_arg_fail(1)) SWIG_fail;
13296 {
13297 arg2 = (int)(SWIG_As_int(obj1));
13298 if (SWIG_arg_fail(2)) SWIG_fail;
13299 }
d55e5bfc
RD
13300 {
13301 PyThreadState* __tstate = wxPyBeginAllowThreads();
13302 (arg1)->SetValue(arg2);
13303
13304 wxPyEndAllowThreads(__tstate);
13305 if (PyErr_Occurred()) SWIG_fail;
13306 }
13307 Py_INCREF(Py_None); resultobj = Py_None;
13308 return resultobj;
13309 fail:
13310 return NULL;
13311}
13312
13313
c32bde28 13314static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13315 PyObject *resultobj;
13316 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13317 wxString *arg2 = 0 ;
ae8162c8 13318 bool temp2 = false ;
d55e5bfc
RD
13319 PyObject * obj0 = 0 ;
13320 PyObject * obj1 = 0 ;
13321 char *kwnames[] = {
13322 (char *) "self",(char *) "text", NULL
13323 };
13324
13325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13326 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13327 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13328 {
13329 arg2 = wxString_in_helper(obj1);
13330 if (arg2 == NULL) SWIG_fail;
ae8162c8 13331 temp2 = true;
d55e5bfc
RD
13332 }
13333 {
13334 PyThreadState* __tstate = wxPyBeginAllowThreads();
13335 (arg1)->SetValue((wxString const &)*arg2);
13336
13337 wxPyEndAllowThreads(__tstate);
13338 if (PyErr_Occurred()) SWIG_fail;
13339 }
13340 Py_INCREF(Py_None); resultobj = Py_None;
13341 {
13342 if (temp2)
13343 delete arg2;
13344 }
13345 return resultobj;
13346 fail:
13347 {
13348 if (temp2)
13349 delete arg2;
13350 }
13351 return NULL;
13352}
13353
13354
c32bde28 13355static PyObject *_wrap_SpinCtrl_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13356 PyObject *resultobj;
13357 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13358 int arg2 ;
13359 int arg3 ;
13360 PyObject * obj0 = 0 ;
13361 PyObject * obj1 = 0 ;
13362 PyObject * obj2 = 0 ;
13363 char *kwnames[] = {
13364 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
13365 };
13366
13367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
13368 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13369 if (SWIG_arg_fail(1)) SWIG_fail;
13370 {
13371 arg2 = (int)(SWIG_As_int(obj1));
13372 if (SWIG_arg_fail(2)) SWIG_fail;
13373 }
13374 {
13375 arg3 = (int)(SWIG_As_int(obj2));
13376 if (SWIG_arg_fail(3)) SWIG_fail;
13377 }
d55e5bfc
RD
13378 {
13379 PyThreadState* __tstate = wxPyBeginAllowThreads();
13380 (arg1)->SetRange(arg2,arg3);
13381
13382 wxPyEndAllowThreads(__tstate);
13383 if (PyErr_Occurred()) SWIG_fail;
13384 }
13385 Py_INCREF(Py_None); resultobj = Py_None;
13386 return resultobj;
13387 fail:
13388 return NULL;
13389}
13390
13391
c32bde28 13392static PyObject *_wrap_SpinCtrl_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13393 PyObject *resultobj;
13394 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13395 int result;
13396 PyObject * obj0 = 0 ;
13397 char *kwnames[] = {
13398 (char *) "self", NULL
13399 };
13400
13401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMin",kwnames,&obj0)) goto fail;
093d3ff1
RD
13402 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13403 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13404 {
13405 PyThreadState* __tstate = wxPyBeginAllowThreads();
13406 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
13407
13408 wxPyEndAllowThreads(__tstate);
13409 if (PyErr_Occurred()) SWIG_fail;
13410 }
093d3ff1
RD
13411 {
13412 resultobj = SWIG_From_int((int)(result));
13413 }
d55e5bfc
RD
13414 return resultobj;
13415 fail:
13416 return NULL;
13417}
13418
13419
c32bde28 13420static PyObject *_wrap_SpinCtrl_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13421 PyObject *resultobj;
13422 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13423 int result;
13424 PyObject * obj0 = 0 ;
13425 char *kwnames[] = {
13426 (char *) "self", NULL
13427 };
13428
13429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMax",kwnames,&obj0)) goto fail;
093d3ff1
RD
13430 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13431 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13432 {
13433 PyThreadState* __tstate = wxPyBeginAllowThreads();
13434 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
13435
13436 wxPyEndAllowThreads(__tstate);
13437 if (PyErr_Occurred()) SWIG_fail;
13438 }
093d3ff1
RD
13439 {
13440 resultobj = SWIG_From_int((int)(result));
13441 }
d55e5bfc
RD
13442 return resultobj;
13443 fail:
13444 return NULL;
13445}
13446
13447
c32bde28 13448static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13449 PyObject *resultobj;
13450 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13451 long arg2 ;
13452 long arg3 ;
13453 PyObject * obj0 = 0 ;
13454 PyObject * obj1 = 0 ;
13455 PyObject * obj2 = 0 ;
13456 char *kwnames[] = {
13457 (char *) "self",(char *) "from",(char *) "to", NULL
13458 };
13459
13460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
13461 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13462 if (SWIG_arg_fail(1)) SWIG_fail;
13463 {
13464 arg2 = (long)(SWIG_As_long(obj1));
13465 if (SWIG_arg_fail(2)) SWIG_fail;
13466 }
13467 {
13468 arg3 = (long)(SWIG_As_long(obj2));
13469 if (SWIG_arg_fail(3)) SWIG_fail;
13470 }
d55e5bfc
RD
13471 {
13472 PyThreadState* __tstate = wxPyBeginAllowThreads();
13473 (arg1)->SetSelection(arg2,arg3);
13474
13475 wxPyEndAllowThreads(__tstate);
13476 if (PyErr_Occurred()) SWIG_fail;
13477 }
13478 Py_INCREF(Py_None); resultobj = Py_None;
13479 return resultobj;
13480 fail:
13481 return NULL;
13482}
13483
13484
c32bde28 13485static PyObject *_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 13486 PyObject *resultobj;
093d3ff1 13487 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
13488 wxVisualAttributes result;
13489 PyObject * obj0 = 0 ;
13490 char *kwnames[] = {
13491 (char *) "variant", NULL
13492 };
13493
13494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
13495 if (obj0) {
093d3ff1
RD
13496 {
13497 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
13498 if (SWIG_arg_fail(1)) SWIG_fail;
13499 }
f20a2e1f
RD
13500 }
13501 {
19272049 13502 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
13503 PyThreadState* __tstate = wxPyBeginAllowThreads();
13504 result = wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
13505
13506 wxPyEndAllowThreads(__tstate);
110da5b0 13507 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
13508 }
13509 {
13510 wxVisualAttributes * resultptr;
093d3ff1 13511 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
13512 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
13513 }
13514 return resultobj;
13515 fail:
13516 return NULL;
13517}
13518
13519
c32bde28 13520static PyObject * SpinCtrl_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
13521 PyObject *obj;
13522 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13523 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl, obj);
13524 Py_INCREF(obj);
13525 return Py_BuildValue((char *)"");
13526}
c32bde28 13527static PyObject *_wrap_new_SpinEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13528 PyObject *resultobj;
13529 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13530 int arg2 = (int) 0 ;
13531 wxSpinEvent *result;
13532 PyObject * obj0 = 0 ;
13533 PyObject * obj1 = 0 ;
13534 char *kwnames[] = {
13535 (char *) "commandType",(char *) "winid", NULL
13536 };
13537
13538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SpinEvent",kwnames,&obj0,&obj1)) goto fail;
13539 if (obj0) {
093d3ff1
RD
13540 {
13541 arg1 = (wxEventType)(SWIG_As_int(obj0));
13542 if (SWIG_arg_fail(1)) SWIG_fail;
13543 }
d55e5bfc
RD
13544 }
13545 if (obj1) {
093d3ff1
RD
13546 {
13547 arg2 = (int)(SWIG_As_int(obj1));
13548 if (SWIG_arg_fail(2)) SWIG_fail;
13549 }
d55e5bfc
RD
13550 }
13551 {
13552 PyThreadState* __tstate = wxPyBeginAllowThreads();
13553 result = (wxSpinEvent *)new wxSpinEvent(arg1,arg2);
13554
13555 wxPyEndAllowThreads(__tstate);
13556 if (PyErr_Occurred()) SWIG_fail;
13557 }
13558 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinEvent, 1);
13559 return resultobj;
13560 fail:
13561 return NULL;
13562}
13563
13564
c32bde28 13565static PyObject *_wrap_SpinEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13566 PyObject *resultobj;
13567 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
13568 int result;
13569 PyObject * obj0 = 0 ;
13570 char *kwnames[] = {
13571 (char *) "self", NULL
13572 };
13573
13574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinEvent_GetPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
13575 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinEvent, SWIG_POINTER_EXCEPTION | 0);
13576 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13577 {
13578 PyThreadState* __tstate = wxPyBeginAllowThreads();
13579 result = (int)((wxSpinEvent const *)arg1)->GetPosition();
13580
13581 wxPyEndAllowThreads(__tstate);
13582 if (PyErr_Occurred()) SWIG_fail;
13583 }
093d3ff1
RD
13584 {
13585 resultobj = SWIG_From_int((int)(result));
13586 }
d55e5bfc
RD
13587 return resultobj;
13588 fail:
13589 return NULL;
13590}
13591
13592
c32bde28 13593static PyObject *_wrap_SpinEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13594 PyObject *resultobj;
13595 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
13596 int arg2 ;
13597 PyObject * obj0 = 0 ;
13598 PyObject * obj1 = 0 ;
13599 char *kwnames[] = {
13600 (char *) "self",(char *) "pos", NULL
13601 };
13602
13603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13604 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinEvent, SWIG_POINTER_EXCEPTION | 0);
13605 if (SWIG_arg_fail(1)) SWIG_fail;
13606 {
13607 arg2 = (int)(SWIG_As_int(obj1));
13608 if (SWIG_arg_fail(2)) SWIG_fail;
13609 }
d55e5bfc
RD
13610 {
13611 PyThreadState* __tstate = wxPyBeginAllowThreads();
13612 (arg1)->SetPosition(arg2);
13613
13614 wxPyEndAllowThreads(__tstate);
13615 if (PyErr_Occurred()) SWIG_fail;
13616 }
13617 Py_INCREF(Py_None); resultobj = Py_None;
13618 return resultobj;
13619 fail:
13620 return NULL;
13621}
13622
13623
c32bde28 13624static PyObject * SpinEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
13625 PyObject *obj;
13626 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13627 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent, obj);
13628 Py_INCREF(obj);
13629 return Py_BuildValue((char *)"");
13630}
c32bde28 13631static int _wrap_RadioBoxNameStr_set(PyObject *) {
d55e5bfc
RD
13632 PyErr_SetString(PyExc_TypeError,"Variable RadioBoxNameStr is read-only.");
13633 return 1;
13634}
13635
13636
093d3ff1 13637static PyObject *_wrap_RadioBoxNameStr_get(void) {
d55e5bfc
RD
13638 PyObject *pyobj;
13639
13640 {
13641#if wxUSE_UNICODE
13642 pyobj = PyUnicode_FromWideChar((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
13643#else
13644 pyobj = PyString_FromStringAndSize((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
13645#endif
13646 }
13647 return pyobj;
13648}
13649
13650
c32bde28 13651static int _wrap_RadioButtonNameStr_set(PyObject *) {
d55e5bfc
RD
13652 PyErr_SetString(PyExc_TypeError,"Variable RadioButtonNameStr is read-only.");
13653 return 1;
13654}
13655
13656
093d3ff1 13657static PyObject *_wrap_RadioButtonNameStr_get(void) {
d55e5bfc
RD
13658 PyObject *pyobj;
13659
13660 {
13661#if wxUSE_UNICODE
13662 pyobj = PyUnicode_FromWideChar((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
13663#else
13664 pyobj = PyString_FromStringAndSize((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
13665#endif
13666 }
13667 return pyobj;
13668}
13669
13670
c32bde28 13671static PyObject *_wrap_new_RadioBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13672 PyObject *resultobj;
13673 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
13674 int arg2 = (int) -1 ;
13675 wxString const &arg3_defvalue = wxPyEmptyString ;
13676 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
13677 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13678 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13679 wxSize const &arg5_defvalue = wxDefaultSize ;
13680 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13681 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
13682 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
13683 int arg7 = (int) 0 ;
13684 long arg8 = (long) wxRA_HORIZONTAL ;
13685 wxValidator const &arg9_defvalue = wxDefaultValidator ;
13686 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
13687 wxString const &arg10_defvalue = wxPyRadioBoxNameStr ;
13688 wxString *arg10 = (wxString *) &arg10_defvalue ;
13689 wxRadioBox *result;
ae8162c8 13690 bool temp3 = false ;
d55e5bfc
RD
13691 wxPoint temp4 ;
13692 wxSize temp5 ;
ae8162c8
RD
13693 bool temp6 = false ;
13694 bool temp10 = false ;
d55e5bfc
RD
13695 PyObject * obj0 = 0 ;
13696 PyObject * obj1 = 0 ;
13697 PyObject * obj2 = 0 ;
13698 PyObject * obj3 = 0 ;
13699 PyObject * obj4 = 0 ;
13700 PyObject * obj5 = 0 ;
13701 PyObject * obj6 = 0 ;
13702 PyObject * obj7 = 0 ;
13703 PyObject * obj8 = 0 ;
13704 PyObject * obj9 = 0 ;
13705 char *kwnames[] = {
13706 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13707 };
13708
248ed943 13709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
093d3ff1
RD
13710 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13711 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 13712 if (obj1) {
093d3ff1
RD
13713 {
13714 arg2 = (int)(SWIG_As_int(obj1));
13715 if (SWIG_arg_fail(2)) SWIG_fail;
13716 }
248ed943
RD
13717 }
13718 if (obj2) {
13719 {
13720 arg3 = wxString_in_helper(obj2);
13721 if (arg3 == NULL) SWIG_fail;
ae8162c8 13722 temp3 = true;
248ed943 13723 }
d55e5bfc
RD
13724 }
13725 if (obj3) {
13726 {
13727 arg4 = &temp4;
13728 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13729 }
13730 }
13731 if (obj4) {
13732 {
13733 arg5 = &temp5;
13734 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13735 }
13736 }
13737 if (obj5) {
13738 {
13739 if (! PySequence_Check(obj5)) {
13740 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
13741 SWIG_fail;
13742 }
13743 arg6 = new wxArrayString;
ae8162c8 13744 temp6 = true;
d55e5bfc
RD
13745 int i, len=PySequence_Length(obj5);
13746 for (i=0; i<len; i++) {
13747 PyObject* item = PySequence_GetItem(obj5, i);
13748#if wxUSE_UNICODE
13749 PyObject* str = PyObject_Unicode(item);
13750#else
13751 PyObject* str = PyObject_Str(item);
13752#endif
13753 if (PyErr_Occurred()) SWIG_fail;
13754 arg6->Add(Py2wxString(str));
13755 Py_DECREF(item);
13756 Py_DECREF(str);
13757 }
13758 }
13759 }
13760 if (obj6) {
093d3ff1
RD
13761 {
13762 arg7 = (int)(SWIG_As_int(obj6));
13763 if (SWIG_arg_fail(7)) SWIG_fail;
13764 }
d55e5bfc
RD
13765 }
13766 if (obj7) {
093d3ff1
RD
13767 {
13768 arg8 = (long)(SWIG_As_long(obj7));
13769 if (SWIG_arg_fail(8)) SWIG_fail;
13770 }
d55e5bfc
RD
13771 }
13772 if (obj8) {
093d3ff1
RD
13773 {
13774 SWIG_Python_ConvertPtr(obj8, (void **)&arg9, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
13775 if (SWIG_arg_fail(9)) SWIG_fail;
13776 if (arg9 == NULL) {
13777 SWIG_null_ref("wxValidator");
13778 }
13779 if (SWIG_arg_fail(9)) SWIG_fail;
d55e5bfc
RD
13780 }
13781 }
13782 if (obj9) {
13783 {
13784 arg10 = wxString_in_helper(obj9);
13785 if (arg10 == NULL) SWIG_fail;
ae8162c8 13786 temp10 = true;
d55e5bfc
RD
13787 }
13788 }
13789 {
0439c23b 13790 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
13791 PyThreadState* __tstate = wxPyBeginAllowThreads();
13792 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);
13793
13794 wxPyEndAllowThreads(__tstate);
110da5b0 13795 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
13796 }
13797 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
13798 {
13799 if (temp3)
13800 delete arg3;
13801 }
13802 {
13803 if (temp6) delete arg6;
13804 }
13805 {
13806 if (temp10)
13807 delete arg10;
13808 }
13809 return resultobj;
13810 fail:
13811 {
13812 if (temp3)
13813 delete arg3;
13814 }
13815 {
13816 if (temp6) delete arg6;
13817 }
13818 {
13819 if (temp10)
13820 delete arg10;
13821 }
13822 return NULL;
13823}
13824
13825
c32bde28 13826static PyObject *_wrap_new_PreRadioBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13827 PyObject *resultobj;
13828 wxRadioBox *result;
13829 char *kwnames[] = {
13830 NULL
13831 };
13832
13833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioBox",kwnames)) goto fail;
13834 {
0439c23b 13835 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
13836 PyThreadState* __tstate = wxPyBeginAllowThreads();
13837 result = (wxRadioBox *)new wxRadioBox();
13838
13839 wxPyEndAllowThreads(__tstate);
110da5b0 13840 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
13841 }
13842 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
13843 return resultobj;
13844 fail:
13845 return NULL;
13846}
13847
13848
c32bde28 13849static PyObject *_wrap_RadioBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13850 PyObject *resultobj;
13851 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13852 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
13853 int arg3 = (int) -1 ;
13854 wxString const &arg4_defvalue = wxPyEmptyString ;
13855 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
13856 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13857 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13858 wxSize const &arg6_defvalue = wxDefaultSize ;
13859 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13860 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
13861 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
13862 int arg8 = (int) 0 ;
13863 long arg9 = (long) wxRA_HORIZONTAL ;
13864 wxValidator const &arg10_defvalue = wxDefaultValidator ;
13865 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
13866 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
13867 wxString *arg11 = (wxString *) &arg11_defvalue ;
13868 bool result;
ae8162c8 13869 bool temp4 = false ;
d55e5bfc
RD
13870 wxPoint temp5 ;
13871 wxSize temp6 ;
ae8162c8
RD
13872 bool temp7 = false ;
13873 bool temp11 = false ;
d55e5bfc
RD
13874 PyObject * obj0 = 0 ;
13875 PyObject * obj1 = 0 ;
13876 PyObject * obj2 = 0 ;
13877 PyObject * obj3 = 0 ;
13878 PyObject * obj4 = 0 ;
13879 PyObject * obj5 = 0 ;
13880 PyObject * obj6 = 0 ;
13881 PyObject * obj7 = 0 ;
13882 PyObject * obj8 = 0 ;
13883 PyObject * obj9 = 0 ;
13884 PyObject * obj10 = 0 ;
13885 char *kwnames[] = {
13886 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13887 };
13888
248ed943 13889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
093d3ff1
RD
13890 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13891 if (SWIG_arg_fail(1)) SWIG_fail;
13892 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13893 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 13894 if (obj2) {
093d3ff1
RD
13895 {
13896 arg3 = (int)(SWIG_As_int(obj2));
13897 if (SWIG_arg_fail(3)) SWIG_fail;
13898 }
248ed943
RD
13899 }
13900 if (obj3) {
13901 {
13902 arg4 = wxString_in_helper(obj3);
13903 if (arg4 == NULL) SWIG_fail;
ae8162c8 13904 temp4 = true;
248ed943 13905 }
d55e5bfc
RD
13906 }
13907 if (obj4) {
13908 {
13909 arg5 = &temp5;
13910 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13911 }
13912 }
13913 if (obj5) {
13914 {
13915 arg6 = &temp6;
13916 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13917 }
13918 }
13919 if (obj6) {
13920 {
13921 if (! PySequence_Check(obj6)) {
13922 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
13923 SWIG_fail;
13924 }
13925 arg7 = new wxArrayString;
ae8162c8 13926 temp7 = true;
d55e5bfc
RD
13927 int i, len=PySequence_Length(obj6);
13928 for (i=0; i<len; i++) {
13929 PyObject* item = PySequence_GetItem(obj6, i);
13930#if wxUSE_UNICODE
13931 PyObject* str = PyObject_Unicode(item);
13932#else
13933 PyObject* str = PyObject_Str(item);
13934#endif
13935 if (PyErr_Occurred()) SWIG_fail;
13936 arg7->Add(Py2wxString(str));
13937 Py_DECREF(item);
13938 Py_DECREF(str);
13939 }
13940 }
13941 }
13942 if (obj7) {
093d3ff1
RD
13943 {
13944 arg8 = (int)(SWIG_As_int(obj7));
13945 if (SWIG_arg_fail(8)) SWIG_fail;
13946 }
d55e5bfc
RD
13947 }
13948 if (obj8) {
093d3ff1
RD
13949 {
13950 arg9 = (long)(SWIG_As_long(obj8));
13951 if (SWIG_arg_fail(9)) SWIG_fail;
13952 }
d55e5bfc
RD
13953 }
13954 if (obj9) {
093d3ff1
RD
13955 {
13956 SWIG_Python_ConvertPtr(obj9, (void **)&arg10, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
13957 if (SWIG_arg_fail(10)) SWIG_fail;
13958 if (arg10 == NULL) {
13959 SWIG_null_ref("wxValidator");
13960 }
13961 if (SWIG_arg_fail(10)) SWIG_fail;
d55e5bfc
RD
13962 }
13963 }
13964 if (obj10) {
13965 {
13966 arg11 = wxString_in_helper(obj10);
13967 if (arg11 == NULL) SWIG_fail;
ae8162c8 13968 temp11 = true;
d55e5bfc
RD
13969 }
13970 }
13971 {
13972 PyThreadState* __tstate = wxPyBeginAllowThreads();
13973 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);
13974
13975 wxPyEndAllowThreads(__tstate);
13976 if (PyErr_Occurred()) SWIG_fail;
13977 }
13978 {
13979 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13980 }
13981 {
13982 if (temp4)
13983 delete arg4;
13984 }
13985 {
13986 if (temp7) delete arg7;
13987 }
13988 {
13989 if (temp11)
13990 delete arg11;
13991 }
13992 return resultobj;
13993 fail:
13994 {
13995 if (temp4)
13996 delete arg4;
13997 }
13998 {
13999 if (temp7) delete arg7;
14000 }
14001 {
14002 if (temp11)
14003 delete arg11;
14004 }
14005 return NULL;
14006}
14007
14008
c32bde28 14009static PyObject *_wrap_RadioBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14010 PyObject *resultobj;
14011 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14012 int arg2 ;
14013 PyObject * obj0 = 0 ;
14014 PyObject * obj1 = 0 ;
14015 char *kwnames[] = {
14016 (char *) "self",(char *) "n", NULL
14017 };
14018
14019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14020 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14021 if (SWIG_arg_fail(1)) SWIG_fail;
14022 {
14023 arg2 = (int)(SWIG_As_int(obj1));
14024 if (SWIG_arg_fail(2)) SWIG_fail;
14025 }
d55e5bfc
RD
14026 {
14027 PyThreadState* __tstate = wxPyBeginAllowThreads();
14028 (arg1)->SetSelection(arg2);
14029
14030 wxPyEndAllowThreads(__tstate);
14031 if (PyErr_Occurred()) SWIG_fail;
14032 }
14033 Py_INCREF(Py_None); resultobj = Py_None;
14034 return resultobj;
14035 fail:
14036 return NULL;
14037}
14038
14039
c32bde28 14040static PyObject *_wrap_RadioBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14041 PyObject *resultobj;
14042 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14043 int result;
14044 PyObject * obj0 = 0 ;
14045 char *kwnames[] = {
14046 (char *) "self", NULL
14047 };
14048
14049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
14050 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14051 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14052 {
14053 PyThreadState* __tstate = wxPyBeginAllowThreads();
14054 result = (int)((wxRadioBox const *)arg1)->GetSelection();
14055
14056 wxPyEndAllowThreads(__tstate);
14057 if (PyErr_Occurred()) SWIG_fail;
14058 }
093d3ff1
RD
14059 {
14060 resultobj = SWIG_From_int((int)(result));
14061 }
d55e5bfc
RD
14062 return resultobj;
14063 fail:
14064 return NULL;
14065}
14066
14067
c32bde28 14068static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14069 PyObject *resultobj;
14070 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14071 wxString result;
14072 PyObject * obj0 = 0 ;
14073 char *kwnames[] = {
14074 (char *) "self", NULL
14075 };
14076
14077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetStringSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
14078 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14079 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14080 {
14081 PyThreadState* __tstate = wxPyBeginAllowThreads();
14082 result = ((wxRadioBox const *)arg1)->GetStringSelection();
14083
14084 wxPyEndAllowThreads(__tstate);
14085 if (PyErr_Occurred()) SWIG_fail;
14086 }
14087 {
14088#if wxUSE_UNICODE
14089 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14090#else
14091 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14092#endif
14093 }
14094 return resultobj;
14095 fail:
14096 return NULL;
14097}
14098
14099
c32bde28 14100static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14101 PyObject *resultobj;
14102 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14103 wxString *arg2 = 0 ;
14104 bool result;
ae8162c8 14105 bool temp2 = false ;
d55e5bfc
RD
14106 PyObject * obj0 = 0 ;
14107 PyObject * obj1 = 0 ;
14108 char *kwnames[] = {
14109 (char *) "self",(char *) "s", NULL
14110 };
14111
14112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14113 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14114 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14115 {
14116 arg2 = wxString_in_helper(obj1);
14117 if (arg2 == NULL) SWIG_fail;
ae8162c8 14118 temp2 = true;
d55e5bfc
RD
14119 }
14120 {
14121 PyThreadState* __tstate = wxPyBeginAllowThreads();
14122 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
14123
14124 wxPyEndAllowThreads(__tstate);
14125 if (PyErr_Occurred()) SWIG_fail;
14126 }
14127 {
14128 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14129 }
14130 {
14131 if (temp2)
14132 delete arg2;
14133 }
14134 return resultobj;
14135 fail:
14136 {
14137 if (temp2)
14138 delete arg2;
14139 }
14140 return NULL;
14141}
14142
14143
c32bde28 14144static PyObject *_wrap_RadioBox_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14145 PyObject *resultobj;
14146 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14147 int result;
14148 PyObject * obj0 = 0 ;
14149 char *kwnames[] = {
14150 (char *) "self", NULL
14151 };
14152
14153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
14154 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14155 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14156 {
14157 PyThreadState* __tstate = wxPyBeginAllowThreads();
14158 result = (int)((wxRadioBox const *)arg1)->GetCount();
14159
14160 wxPyEndAllowThreads(__tstate);
14161 if (PyErr_Occurred()) SWIG_fail;
14162 }
093d3ff1
RD
14163 {
14164 resultobj = SWIG_From_int((int)(result));
14165 }
d55e5bfc
RD
14166 return resultobj;
14167 fail:
14168 return NULL;
14169}
14170
14171
c32bde28 14172static PyObject *_wrap_RadioBox_FindString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14173 PyObject *resultobj;
14174 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14175 wxString *arg2 = 0 ;
14176 int result;
ae8162c8 14177 bool temp2 = false ;
d55e5bfc
RD
14178 PyObject * obj0 = 0 ;
14179 PyObject * obj1 = 0 ;
14180 char *kwnames[] = {
14181 (char *) "self",(char *) "s", NULL
14182 };
14183
14184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14185 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14186 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14187 {
14188 arg2 = wxString_in_helper(obj1);
14189 if (arg2 == NULL) SWIG_fail;
ae8162c8 14190 temp2 = true;
d55e5bfc
RD
14191 }
14192 {
14193 PyThreadState* __tstate = wxPyBeginAllowThreads();
14194 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
14195
14196 wxPyEndAllowThreads(__tstate);
14197 if (PyErr_Occurred()) SWIG_fail;
14198 }
093d3ff1
RD
14199 {
14200 resultobj = SWIG_From_int((int)(result));
14201 }
d55e5bfc
RD
14202 {
14203 if (temp2)
14204 delete arg2;
14205 }
14206 return resultobj;
14207 fail:
14208 {
14209 if (temp2)
14210 delete arg2;
14211 }
14212 return NULL;
14213}
14214
14215
c32bde28 14216static PyObject *_wrap_RadioBox_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14217 PyObject *resultobj;
14218 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14219 int arg2 ;
14220 wxString result;
14221 PyObject * obj0 = 0 ;
14222 PyObject * obj1 = 0 ;
14223 char *kwnames[] = {
14224 (char *) "self",(char *) "n", NULL
14225 };
14226
14227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetString",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14228 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14229 if (SWIG_arg_fail(1)) SWIG_fail;
14230 {
14231 arg2 = (int)(SWIG_As_int(obj1));
14232 if (SWIG_arg_fail(2)) SWIG_fail;
14233 }
d55e5bfc
RD
14234 {
14235 PyThreadState* __tstate = wxPyBeginAllowThreads();
14236 result = ((wxRadioBox const *)arg1)->GetString(arg2);
14237
14238 wxPyEndAllowThreads(__tstate);
14239 if (PyErr_Occurred()) SWIG_fail;
14240 }
14241 {
14242#if wxUSE_UNICODE
14243 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14244#else
14245 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14246#endif
14247 }
14248 return resultobj;
14249 fail:
14250 return NULL;
14251}
14252
14253
c32bde28 14254static PyObject *_wrap_RadioBox_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14255 PyObject *resultobj;
14256 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14257 int arg2 ;
14258 wxString *arg3 = 0 ;
ae8162c8 14259 bool temp3 = false ;
d55e5bfc
RD
14260 PyObject * obj0 = 0 ;
14261 PyObject * obj1 = 0 ;
14262 PyObject * obj2 = 0 ;
14263 char *kwnames[] = {
14264 (char *) "self",(char *) "n",(char *) "label", NULL
14265 };
14266
14267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
14268 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14269 if (SWIG_arg_fail(1)) SWIG_fail;
14270 {
14271 arg2 = (int)(SWIG_As_int(obj1));
14272 if (SWIG_arg_fail(2)) SWIG_fail;
14273 }
d55e5bfc
RD
14274 {
14275 arg3 = wxString_in_helper(obj2);
14276 if (arg3 == NULL) SWIG_fail;
ae8162c8 14277 temp3 = true;
d55e5bfc
RD
14278 }
14279 {
14280 PyThreadState* __tstate = wxPyBeginAllowThreads();
14281 (arg1)->SetString(arg2,(wxString const &)*arg3);
14282
14283 wxPyEndAllowThreads(__tstate);
14284 if (PyErr_Occurred()) SWIG_fail;
14285 }
14286 Py_INCREF(Py_None); resultobj = Py_None;
14287 {
14288 if (temp3)
14289 delete arg3;
14290 }
14291 return resultobj;
14292 fail:
14293 {
14294 if (temp3)
14295 delete arg3;
14296 }
14297 return NULL;
14298}
14299
14300
c32bde28 14301static PyObject *_wrap_RadioBox_EnableItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14302 PyObject *resultobj;
14303 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14304 int arg2 ;
ae8162c8 14305 bool arg3 = (bool) true ;
d55e5bfc
RD
14306 PyObject * obj0 = 0 ;
14307 PyObject * obj1 = 0 ;
14308 PyObject * obj2 = 0 ;
14309 char *kwnames[] = {
14310 (char *) "self",(char *) "n",(char *) "enable", NULL
14311 };
14312
14313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_EnableItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
14314 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14315 if (SWIG_arg_fail(1)) SWIG_fail;
14316 {
14317 arg2 = (int)(SWIG_As_int(obj1));
14318 if (SWIG_arg_fail(2)) SWIG_fail;
14319 }
d55e5bfc 14320 if (obj2) {
093d3ff1
RD
14321 {
14322 arg3 = (bool)(SWIG_As_bool(obj2));
14323 if (SWIG_arg_fail(3)) SWIG_fail;
14324 }
d55e5bfc
RD
14325 }
14326 {
14327 PyThreadState* __tstate = wxPyBeginAllowThreads();
14328 (arg1)->Enable(arg2,arg3);
14329
14330 wxPyEndAllowThreads(__tstate);
14331 if (PyErr_Occurred()) SWIG_fail;
14332 }
14333 Py_INCREF(Py_None); resultobj = Py_None;
14334 return resultobj;
14335 fail:
14336 return NULL;
14337}
14338
14339
c32bde28 14340static PyObject *_wrap_RadioBox_ShowItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14341 PyObject *resultobj;
14342 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14343 int arg2 ;
ae8162c8 14344 bool arg3 = (bool) true ;
d55e5bfc
RD
14345 PyObject * obj0 = 0 ;
14346 PyObject * obj1 = 0 ;
14347 PyObject * obj2 = 0 ;
14348 char *kwnames[] = {
14349 (char *) "self",(char *) "n",(char *) "show", NULL
14350 };
14351
14352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_ShowItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
14353 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14354 if (SWIG_arg_fail(1)) SWIG_fail;
14355 {
14356 arg2 = (int)(SWIG_As_int(obj1));
14357 if (SWIG_arg_fail(2)) SWIG_fail;
14358 }
d55e5bfc 14359 if (obj2) {
093d3ff1
RD
14360 {
14361 arg3 = (bool)(SWIG_As_bool(obj2));
14362 if (SWIG_arg_fail(3)) SWIG_fail;
14363 }
d55e5bfc
RD
14364 }
14365 {
14366 PyThreadState* __tstate = wxPyBeginAllowThreads();
14367 (arg1)->Show(arg2,arg3);
14368
14369 wxPyEndAllowThreads(__tstate);
14370 if (PyErr_Occurred()) SWIG_fail;
14371 }
14372 Py_INCREF(Py_None); resultobj = Py_None;
14373 return resultobj;
14374 fail:
14375 return NULL;
14376}
14377
14378
c32bde28 14379static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14380 PyObject *resultobj;
14381 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14382 int result;
14383 PyObject * obj0 = 0 ;
14384 char *kwnames[] = {
14385 (char *) "self", NULL
14386 };
14387
14388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetColumnCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
14389 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14390 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14391 {
14392 PyThreadState* __tstate = wxPyBeginAllowThreads();
14393 result = (int)((wxRadioBox const *)arg1)->GetColumnCount();
14394
14395 wxPyEndAllowThreads(__tstate);
14396 if (PyErr_Occurred()) SWIG_fail;
14397 }
093d3ff1
RD
14398 {
14399 resultobj = SWIG_From_int((int)(result));
14400 }
d55e5bfc
RD
14401 return resultobj;
14402 fail:
14403 return NULL;
14404}
14405
14406
c32bde28 14407static PyObject *_wrap_RadioBox_GetRowCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14408 PyObject *resultobj;
14409 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14410 int result;
14411 PyObject * obj0 = 0 ;
14412 char *kwnames[] = {
14413 (char *) "self", NULL
14414 };
14415
14416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetRowCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
14417 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14418 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14419 {
14420 PyThreadState* __tstate = wxPyBeginAllowThreads();
14421 result = (int)((wxRadioBox const *)arg1)->GetRowCount();
14422
14423 wxPyEndAllowThreads(__tstate);
14424 if (PyErr_Occurred()) SWIG_fail;
14425 }
093d3ff1
RD
14426 {
14427 resultobj = SWIG_From_int((int)(result));
14428 }
d55e5bfc
RD
14429 return resultobj;
14430 fail:
14431 return NULL;
14432}
14433
14434
c32bde28 14435static PyObject *_wrap_RadioBox_GetNextItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14436 PyObject *resultobj;
14437 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14438 int arg2 ;
093d3ff1 14439 wxDirection arg3 ;
d55e5bfc
RD
14440 long arg4 ;
14441 int result;
14442 PyObject * obj0 = 0 ;
14443 PyObject * obj1 = 0 ;
14444 PyObject * obj2 = 0 ;
14445 PyObject * obj3 = 0 ;
14446 char *kwnames[] = {
14447 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
14448 };
14449
14450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RadioBox_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
14451 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14452 if (SWIG_arg_fail(1)) SWIG_fail;
14453 {
14454 arg2 = (int)(SWIG_As_int(obj1));
14455 if (SWIG_arg_fail(2)) SWIG_fail;
14456 }
14457 {
14458 arg3 = (wxDirection)(SWIG_As_int(obj2));
14459 if (SWIG_arg_fail(3)) SWIG_fail;
14460 }
14461 {
14462 arg4 = (long)(SWIG_As_long(obj3));
14463 if (SWIG_arg_fail(4)) SWIG_fail;
14464 }
d55e5bfc
RD
14465 {
14466 PyThreadState* __tstate = wxPyBeginAllowThreads();
14467 result = (int)((wxRadioBox const *)arg1)->GetNextItem(arg2,(wxDirection )arg3,arg4);
14468
14469 wxPyEndAllowThreads(__tstate);
14470 if (PyErr_Occurred()) SWIG_fail;
14471 }
093d3ff1
RD
14472 {
14473 resultobj = SWIG_From_int((int)(result));
14474 }
d55e5bfc
RD
14475 return resultobj;
14476 fail:
14477 return NULL;
14478}
14479
14480
c32bde28 14481static PyObject *_wrap_RadioBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 14482 PyObject *resultobj;
093d3ff1 14483 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
14484 wxVisualAttributes result;
14485 PyObject * obj0 = 0 ;
14486 char *kwnames[] = {
14487 (char *) "variant", NULL
14488 };
14489
14490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
14491 if (obj0) {
093d3ff1
RD
14492 {
14493 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
14494 if (SWIG_arg_fail(1)) SWIG_fail;
14495 }
f20a2e1f
RD
14496 }
14497 {
19272049 14498 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
14499 PyThreadState* __tstate = wxPyBeginAllowThreads();
14500 result = wxRadioBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
14501
14502 wxPyEndAllowThreads(__tstate);
110da5b0 14503 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
14504 }
14505 {
14506 wxVisualAttributes * resultptr;
093d3ff1 14507 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
14508 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
14509 }
14510 return resultobj;
14511 fail:
14512 return NULL;
14513}
14514
14515
c32bde28 14516static PyObject * RadioBox_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
14517 PyObject *obj;
14518 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14519 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox, obj);
14520 Py_INCREF(obj);
14521 return Py_BuildValue((char *)"");
14522}
c32bde28 14523static PyObject *_wrap_new_RadioButton(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14524 PyObject *resultobj;
14525 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
14526 int arg2 = (int) -1 ;
14527 wxString const &arg3_defvalue = wxPyEmptyString ;
14528 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
14529 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14530 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14531 wxSize const &arg5_defvalue = wxDefaultSize ;
14532 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14533 long arg6 = (long) 0 ;
14534 wxValidator const &arg7_defvalue = wxDefaultValidator ;
14535 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
14536 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
14537 wxString *arg8 = (wxString *) &arg8_defvalue ;
14538 wxRadioButton *result;
ae8162c8 14539 bool temp3 = false ;
d55e5bfc
RD
14540 wxPoint temp4 ;
14541 wxSize temp5 ;
ae8162c8 14542 bool temp8 = false ;
d55e5bfc
RD
14543 PyObject * obj0 = 0 ;
14544 PyObject * obj1 = 0 ;
14545 PyObject * obj2 = 0 ;
14546 PyObject * obj3 = 0 ;
14547 PyObject * obj4 = 0 ;
14548 PyObject * obj5 = 0 ;
14549 PyObject * obj6 = 0 ;
14550 PyObject * obj7 = 0 ;
14551 char *kwnames[] = {
14552 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14553 };
14554
248ed943 14555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_RadioButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
14556 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14557 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 14558 if (obj1) {
093d3ff1
RD
14559 {
14560 arg2 = (int)(SWIG_As_int(obj1));
14561 if (SWIG_arg_fail(2)) SWIG_fail;
14562 }
248ed943
RD
14563 }
14564 if (obj2) {
14565 {
14566 arg3 = wxString_in_helper(obj2);
14567 if (arg3 == NULL) SWIG_fail;
ae8162c8 14568 temp3 = true;
248ed943 14569 }
d55e5bfc
RD
14570 }
14571 if (obj3) {
14572 {
14573 arg4 = &temp4;
14574 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14575 }
14576 }
14577 if (obj4) {
14578 {
14579 arg5 = &temp5;
14580 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14581 }
14582 }
14583 if (obj5) {
093d3ff1
RD
14584 {
14585 arg6 = (long)(SWIG_As_long(obj5));
14586 if (SWIG_arg_fail(6)) SWIG_fail;
14587 }
d55e5bfc
RD
14588 }
14589 if (obj6) {
093d3ff1
RD
14590 {
14591 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14592 if (SWIG_arg_fail(7)) SWIG_fail;
14593 if (arg7 == NULL) {
14594 SWIG_null_ref("wxValidator");
14595 }
14596 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
14597 }
14598 }
14599 if (obj7) {
14600 {
14601 arg8 = wxString_in_helper(obj7);
14602 if (arg8 == NULL) SWIG_fail;
ae8162c8 14603 temp8 = true;
d55e5bfc
RD
14604 }
14605 }
14606 {
0439c23b 14607 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14608 PyThreadState* __tstate = wxPyBeginAllowThreads();
14609 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
14610
14611 wxPyEndAllowThreads(__tstate);
110da5b0 14612 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14613 }
14614 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
14615 {
14616 if (temp3)
14617 delete arg3;
14618 }
14619 {
14620 if (temp8)
14621 delete arg8;
14622 }
14623 return resultobj;
14624 fail:
14625 {
14626 if (temp3)
14627 delete arg3;
14628 }
14629 {
14630 if (temp8)
14631 delete arg8;
14632 }
14633 return NULL;
14634}
14635
14636
c32bde28 14637static PyObject *_wrap_new_PreRadioButton(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14638 PyObject *resultobj;
14639 wxRadioButton *result;
14640 char *kwnames[] = {
14641 NULL
14642 };
14643
14644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioButton",kwnames)) goto fail;
14645 {
0439c23b 14646 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14647 PyThreadState* __tstate = wxPyBeginAllowThreads();
14648 result = (wxRadioButton *)new wxRadioButton();
14649
14650 wxPyEndAllowThreads(__tstate);
110da5b0 14651 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14652 }
14653 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
14654 return resultobj;
14655 fail:
14656 return NULL;
14657}
14658
14659
c32bde28 14660static PyObject *_wrap_RadioButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14661 PyObject *resultobj;
14662 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
14663 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
14664 int arg3 = (int) -1 ;
14665 wxString const &arg4_defvalue = wxPyEmptyString ;
14666 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
14667 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14668 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14669 wxSize const &arg6_defvalue = wxDefaultSize ;
14670 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14671 long arg7 = (long) 0 ;
14672 wxValidator const &arg8_defvalue = wxDefaultValidator ;
14673 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
14674 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
14675 wxString *arg9 = (wxString *) &arg9_defvalue ;
14676 bool result;
ae8162c8 14677 bool temp4 = false ;
d55e5bfc
RD
14678 wxPoint temp5 ;
14679 wxSize temp6 ;
ae8162c8 14680 bool temp9 = false ;
d55e5bfc
RD
14681 PyObject * obj0 = 0 ;
14682 PyObject * obj1 = 0 ;
14683 PyObject * obj2 = 0 ;
14684 PyObject * obj3 = 0 ;
14685 PyObject * obj4 = 0 ;
14686 PyObject * obj5 = 0 ;
14687 PyObject * obj6 = 0 ;
14688 PyObject * obj7 = 0 ;
14689 PyObject * obj8 = 0 ;
14690 char *kwnames[] = {
14691 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14692 };
14693
248ed943 14694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
14695 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioButton, SWIG_POINTER_EXCEPTION | 0);
14696 if (SWIG_arg_fail(1)) SWIG_fail;
14697 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14698 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 14699 if (obj2) {
093d3ff1
RD
14700 {
14701 arg3 = (int)(SWIG_As_int(obj2));
14702 if (SWIG_arg_fail(3)) SWIG_fail;
14703 }
248ed943
RD
14704 }
14705 if (obj3) {
14706 {
14707 arg4 = wxString_in_helper(obj3);
14708 if (arg4 == NULL) SWIG_fail;
ae8162c8 14709 temp4 = true;
248ed943 14710 }
d55e5bfc
RD
14711 }
14712 if (obj4) {
14713 {
14714 arg5 = &temp5;
14715 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14716 }
14717 }
14718 if (obj5) {
14719 {
14720 arg6 = &temp6;
14721 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14722 }
14723 }
14724 if (obj6) {
093d3ff1
RD
14725 {
14726 arg7 = (long)(SWIG_As_long(obj6));
14727 if (SWIG_arg_fail(7)) SWIG_fail;
14728 }
d55e5bfc
RD
14729 }
14730 if (obj7) {
093d3ff1
RD
14731 {
14732 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14733 if (SWIG_arg_fail(8)) SWIG_fail;
14734 if (arg8 == NULL) {
14735 SWIG_null_ref("wxValidator");
14736 }
14737 if (SWIG_arg_fail(8)) SWIG_fail;
d55e5bfc
RD
14738 }
14739 }
14740 if (obj8) {
14741 {
14742 arg9 = wxString_in_helper(obj8);
14743 if (arg9 == NULL) SWIG_fail;
ae8162c8 14744 temp9 = true;
d55e5bfc
RD
14745 }
14746 }
14747 {
14748 PyThreadState* __tstate = wxPyBeginAllowThreads();
14749 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
14750
14751 wxPyEndAllowThreads(__tstate);
14752 if (PyErr_Occurred()) SWIG_fail;
14753 }
14754 {
14755 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14756 }
14757 {
14758 if (temp4)
14759 delete arg4;
14760 }
14761 {
14762 if (temp9)
14763 delete arg9;
14764 }
14765 return resultobj;
14766 fail:
14767 {
14768 if (temp4)
14769 delete arg4;
14770 }
14771 {
14772 if (temp9)
14773 delete arg9;
14774 }
14775 return NULL;
14776}
14777
14778
c32bde28 14779static PyObject *_wrap_RadioButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14780 PyObject *resultobj;
14781 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
14782 bool result;
14783 PyObject * obj0 = 0 ;
14784 char *kwnames[] = {
14785 (char *) "self", NULL
14786 };
14787
14788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioButton_GetValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
14789 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioButton, SWIG_POINTER_EXCEPTION | 0);
14790 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14791 {
14792 PyThreadState* __tstate = wxPyBeginAllowThreads();
14793 result = (bool)(arg1)->GetValue();
14794
14795 wxPyEndAllowThreads(__tstate);
14796 if (PyErr_Occurred()) SWIG_fail;
14797 }
14798 {
14799 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14800 }
14801 return resultobj;
14802 fail:
14803 return NULL;
14804}
14805
14806
c32bde28 14807static PyObject *_wrap_RadioButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14808 PyObject *resultobj;
14809 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
14810 bool arg2 ;
14811 PyObject * obj0 = 0 ;
14812 PyObject * obj1 = 0 ;
14813 char *kwnames[] = {
14814 (char *) "self",(char *) "value", NULL
14815 };
14816
14817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14818 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioButton, SWIG_POINTER_EXCEPTION | 0);
14819 if (SWIG_arg_fail(1)) SWIG_fail;
14820 {
14821 arg2 = (bool)(SWIG_As_bool(obj1));
14822 if (SWIG_arg_fail(2)) SWIG_fail;
14823 }
d55e5bfc
RD
14824 {
14825 PyThreadState* __tstate = wxPyBeginAllowThreads();
14826 (arg1)->SetValue(arg2);
14827
14828 wxPyEndAllowThreads(__tstate);
14829 if (PyErr_Occurred()) SWIG_fail;
14830 }
14831 Py_INCREF(Py_None); resultobj = Py_None;
14832 return resultobj;
14833 fail:
14834 return NULL;
14835}
14836
14837
c32bde28 14838static PyObject *_wrap_RadioButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 14839 PyObject *resultobj;
093d3ff1 14840 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
14841 wxVisualAttributes result;
14842 PyObject * obj0 = 0 ;
14843 char *kwnames[] = {
14844 (char *) "variant", NULL
14845 };
14846
14847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
14848 if (obj0) {
093d3ff1
RD
14849 {
14850 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
14851 if (SWIG_arg_fail(1)) SWIG_fail;
14852 }
f20a2e1f
RD
14853 }
14854 {
19272049 14855 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
14856 PyThreadState* __tstate = wxPyBeginAllowThreads();
14857 result = wxRadioButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
14858
14859 wxPyEndAllowThreads(__tstate);
110da5b0 14860 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
14861 }
14862 {
14863 wxVisualAttributes * resultptr;
093d3ff1 14864 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
14865 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
14866 }
14867 return resultobj;
14868 fail:
14869 return NULL;
14870}
14871
14872
c32bde28 14873static PyObject * RadioButton_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
14874 PyObject *obj;
14875 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14876 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton, obj);
14877 Py_INCREF(obj);
14878 return Py_BuildValue((char *)"");
14879}
c32bde28 14880static int _wrap_SliderNameStr_set(PyObject *) {
d55e5bfc
RD
14881 PyErr_SetString(PyExc_TypeError,"Variable SliderNameStr is read-only.");
14882 return 1;
14883}
14884
14885
093d3ff1 14886static PyObject *_wrap_SliderNameStr_get(void) {
d55e5bfc
RD
14887 PyObject *pyobj;
14888
14889 {
14890#if wxUSE_UNICODE
14891 pyobj = PyUnicode_FromWideChar((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
14892#else
14893 pyobj = PyString_FromStringAndSize((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
14894#endif
14895 }
14896 return pyobj;
14897}
14898
14899
c32bde28 14900static PyObject *_wrap_new_Slider(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14901 PyObject *resultobj;
14902 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
14903 int arg2 = (int) -1 ;
14904 int arg3 = (int) 0 ;
14905 int arg4 = (int) 0 ;
14906 int arg5 = (int) 100 ;
d55e5bfc
RD
14907 wxPoint const &arg6_defvalue = wxDefaultPosition ;
14908 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
14909 wxSize const &arg7_defvalue = wxDefaultSize ;
14910 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
14911 long arg8 = (long) wxSL_HORIZONTAL ;
14912 wxValidator const &arg9_defvalue = wxDefaultValidator ;
14913 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
14914 wxString const &arg10_defvalue = wxPySliderNameStr ;
14915 wxString *arg10 = (wxString *) &arg10_defvalue ;
14916 wxSlider *result;
14917 wxPoint temp6 ;
14918 wxSize temp7 ;
ae8162c8 14919 bool temp10 = false ;
d55e5bfc
RD
14920 PyObject * obj0 = 0 ;
14921 PyObject * obj1 = 0 ;
14922 PyObject * obj2 = 0 ;
14923 PyObject * obj3 = 0 ;
14924 PyObject * obj4 = 0 ;
14925 PyObject * obj5 = 0 ;
14926 PyObject * obj6 = 0 ;
14927 PyObject * obj7 = 0 ;
14928 PyObject * obj8 = 0 ;
14929 PyObject * obj9 = 0 ;
14930 char *kwnames[] = {
14931 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14932 };
14933
248ed943 14934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_Slider",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
093d3ff1
RD
14935 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14936 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 14937 if (obj1) {
093d3ff1
RD
14938 {
14939 arg2 = (int)(SWIG_As_int(obj1));
14940 if (SWIG_arg_fail(2)) SWIG_fail;
14941 }
248ed943
RD
14942 }
14943 if (obj2) {
093d3ff1
RD
14944 {
14945 arg3 = (int)(SWIG_As_int(obj2));
14946 if (SWIG_arg_fail(3)) SWIG_fail;
14947 }
248ed943
RD
14948 }
14949 if (obj3) {
093d3ff1
RD
14950 {
14951 arg4 = (int)(SWIG_As_int(obj3));
14952 if (SWIG_arg_fail(4)) SWIG_fail;
14953 }
248ed943
RD
14954 }
14955 if (obj4) {
093d3ff1
RD
14956 {
14957 arg5 = (int)(SWIG_As_int(obj4));
14958 if (SWIG_arg_fail(5)) SWIG_fail;
14959 }
248ed943 14960 }
d55e5bfc
RD
14961 if (obj5) {
14962 {
14963 arg6 = &temp6;
14964 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
14965 }
14966 }
14967 if (obj6) {
14968 {
14969 arg7 = &temp7;
14970 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
14971 }
14972 }
14973 if (obj7) {
093d3ff1
RD
14974 {
14975 arg8 = (long)(SWIG_As_long(obj7));
14976 if (SWIG_arg_fail(8)) SWIG_fail;
14977 }
d55e5bfc
RD
14978 }
14979 if (obj8) {
093d3ff1
RD
14980 {
14981 SWIG_Python_ConvertPtr(obj8, (void **)&arg9, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14982 if (SWIG_arg_fail(9)) SWIG_fail;
14983 if (arg9 == NULL) {
14984 SWIG_null_ref("wxValidator");
14985 }
14986 if (SWIG_arg_fail(9)) SWIG_fail;
d55e5bfc
RD
14987 }
14988 }
14989 if (obj9) {
14990 {
14991 arg10 = wxString_in_helper(obj9);
14992 if (arg10 == NULL) SWIG_fail;
ae8162c8 14993 temp10 = true;
d55e5bfc
RD
14994 }
14995 }
14996 {
0439c23b 14997 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14998 PyThreadState* __tstate = wxPyBeginAllowThreads();
14999 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
15000
15001 wxPyEndAllowThreads(__tstate);
110da5b0 15002 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
15003 }
15004 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
15005 {
15006 if (temp10)
15007 delete arg10;
15008 }
15009 return resultobj;
15010 fail:
15011 {
15012 if (temp10)
15013 delete arg10;
15014 }
15015 return NULL;
15016}
15017
15018
c32bde28 15019static PyObject *_wrap_new_PreSlider(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15020 PyObject *resultobj;
15021 wxSlider *result;
15022 char *kwnames[] = {
15023 NULL
15024 };
15025
15026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSlider",kwnames)) goto fail;
15027 {
0439c23b 15028 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
15029 PyThreadState* __tstate = wxPyBeginAllowThreads();
15030 result = (wxSlider *)new wxSlider();
15031
15032 wxPyEndAllowThreads(__tstate);
110da5b0 15033 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
15034 }
15035 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
15036 return resultobj;
15037 fail:
15038 return NULL;
15039}
15040
15041
c32bde28 15042static PyObject *_wrap_Slider_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15043 PyObject *resultobj;
15044 wxSlider *arg1 = (wxSlider *) 0 ;
15045 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
15046 int arg3 = (int) -1 ;
15047 int arg4 = (int) 0 ;
15048 int arg5 = (int) 0 ;
15049 int arg6 = (int) 100 ;
d55e5bfc
RD
15050 wxPoint const &arg7_defvalue = wxDefaultPosition ;
15051 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
15052 wxSize const &arg8_defvalue = wxDefaultSize ;
15053 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
15054 long arg9 = (long) wxSL_HORIZONTAL ;
15055 wxValidator const &arg10_defvalue = wxDefaultValidator ;
15056 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
15057 wxString const &arg11_defvalue = wxPySliderNameStr ;
15058 wxString *arg11 = (wxString *) &arg11_defvalue ;
15059 bool result;
15060 wxPoint temp7 ;
15061 wxSize temp8 ;
ae8162c8 15062 bool temp11 = false ;
d55e5bfc
RD
15063 PyObject * obj0 = 0 ;
15064 PyObject * obj1 = 0 ;
15065 PyObject * obj2 = 0 ;
15066 PyObject * obj3 = 0 ;
15067 PyObject * obj4 = 0 ;
15068 PyObject * obj5 = 0 ;
15069 PyObject * obj6 = 0 ;
15070 PyObject * obj7 = 0 ;
15071 PyObject * obj8 = 0 ;
15072 PyObject * obj9 = 0 ;
15073 PyObject * obj10 = 0 ;
15074 char *kwnames[] = {
15075 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15076 };
15077
248ed943 15078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
093d3ff1
RD
15079 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15080 if (SWIG_arg_fail(1)) SWIG_fail;
15081 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15082 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 15083 if (obj2) {
093d3ff1
RD
15084 {
15085 arg3 = (int)(SWIG_As_int(obj2));
15086 if (SWIG_arg_fail(3)) SWIG_fail;
15087 }
248ed943
RD
15088 }
15089 if (obj3) {
093d3ff1
RD
15090 {
15091 arg4 = (int)(SWIG_As_int(obj3));
15092 if (SWIG_arg_fail(4)) SWIG_fail;
15093 }
248ed943
RD
15094 }
15095 if (obj4) {
093d3ff1
RD
15096 {
15097 arg5 = (int)(SWIG_As_int(obj4));
15098 if (SWIG_arg_fail(5)) SWIG_fail;
15099 }
248ed943
RD
15100 }
15101 if (obj5) {
093d3ff1
RD
15102 {
15103 arg6 = (int)(SWIG_As_int(obj5));
15104 if (SWIG_arg_fail(6)) SWIG_fail;
15105 }
248ed943 15106 }
d55e5bfc
RD
15107 if (obj6) {
15108 {
15109 arg7 = &temp7;
15110 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
15111 }
15112 }
15113 if (obj7) {
15114 {
15115 arg8 = &temp8;
15116 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
15117 }
15118 }
15119 if (obj8) {
093d3ff1
RD
15120 {
15121 arg9 = (long)(SWIG_As_long(obj8));
15122 if (SWIG_arg_fail(9)) SWIG_fail;
15123 }
d55e5bfc
RD
15124 }
15125 if (obj9) {
093d3ff1
RD
15126 {
15127 SWIG_Python_ConvertPtr(obj9, (void **)&arg10, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
15128 if (SWIG_arg_fail(10)) SWIG_fail;
15129 if (arg10 == NULL) {
15130 SWIG_null_ref("wxValidator");
15131 }
15132 if (SWIG_arg_fail(10)) SWIG_fail;
d55e5bfc
RD
15133 }
15134 }
15135 if (obj10) {
15136 {
15137 arg11 = wxString_in_helper(obj10);
15138 if (arg11 == NULL) SWIG_fail;
ae8162c8 15139 temp11 = true;
d55e5bfc
RD
15140 }
15141 }
15142 {
15143 PyThreadState* __tstate = wxPyBeginAllowThreads();
15144 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
15145
15146 wxPyEndAllowThreads(__tstate);
15147 if (PyErr_Occurred()) SWIG_fail;
15148 }
15149 {
15150 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15151 }
15152 {
15153 if (temp11)
15154 delete arg11;
15155 }
15156 return resultobj;
15157 fail:
15158 {
15159 if (temp11)
15160 delete arg11;
15161 }
15162 return NULL;
15163}
15164
15165
c32bde28 15166static PyObject *_wrap_Slider_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15167 PyObject *resultobj;
15168 wxSlider *arg1 = (wxSlider *) 0 ;
15169 int result;
15170 PyObject * obj0 = 0 ;
15171 char *kwnames[] = {
15172 (char *) "self", NULL
15173 };
15174
15175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
15176 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15177 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15178 {
15179 PyThreadState* __tstate = wxPyBeginAllowThreads();
15180 result = (int)((wxSlider const *)arg1)->GetValue();
15181
15182 wxPyEndAllowThreads(__tstate);
15183 if (PyErr_Occurred()) SWIG_fail;
15184 }
093d3ff1
RD
15185 {
15186 resultobj = SWIG_From_int((int)(result));
15187 }
d55e5bfc
RD
15188 return resultobj;
15189 fail:
15190 return NULL;
15191}
15192
15193
c32bde28 15194static PyObject *_wrap_Slider_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15195 PyObject *resultobj;
15196 wxSlider *arg1 = (wxSlider *) 0 ;
15197 int arg2 ;
15198 PyObject * obj0 = 0 ;
15199 PyObject * obj1 = 0 ;
15200 char *kwnames[] = {
15201 (char *) "self",(char *) "value", NULL
15202 };
15203
15204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetValue",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15205 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15206 if (SWIG_arg_fail(1)) SWIG_fail;
15207 {
15208 arg2 = (int)(SWIG_As_int(obj1));
15209 if (SWIG_arg_fail(2)) SWIG_fail;
15210 }
d55e5bfc
RD
15211 {
15212 PyThreadState* __tstate = wxPyBeginAllowThreads();
15213 (arg1)->SetValue(arg2);
15214
15215 wxPyEndAllowThreads(__tstate);
15216 if (PyErr_Occurred()) SWIG_fail;
15217 }
15218 Py_INCREF(Py_None); resultobj = Py_None;
15219 return resultobj;
15220 fail:
15221 return NULL;
15222}
15223
15224
c32bde28 15225static PyObject *_wrap_Slider_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15226 PyObject *resultobj;
15227 wxSlider *arg1 = (wxSlider *) 0 ;
15228 int arg2 ;
15229 int arg3 ;
15230 PyObject * obj0 = 0 ;
15231 PyObject * obj1 = 0 ;
15232 PyObject * obj2 = 0 ;
15233 char *kwnames[] = {
15234 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
15235 };
15236
15237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
15238 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15239 if (SWIG_arg_fail(1)) SWIG_fail;
15240 {
15241 arg2 = (int)(SWIG_As_int(obj1));
15242 if (SWIG_arg_fail(2)) SWIG_fail;
15243 }
15244 {
15245 arg3 = (int)(SWIG_As_int(obj2));
15246 if (SWIG_arg_fail(3)) SWIG_fail;
15247 }
d55e5bfc
RD
15248 {
15249 PyThreadState* __tstate = wxPyBeginAllowThreads();
15250 (arg1)->SetRange(arg2,arg3);
15251
15252 wxPyEndAllowThreads(__tstate);
15253 if (PyErr_Occurred()) SWIG_fail;
15254 }
15255 Py_INCREF(Py_None); resultobj = Py_None;
15256 return resultobj;
15257 fail:
15258 return NULL;
15259}
15260
15261
c32bde28 15262static PyObject *_wrap_Slider_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15263 PyObject *resultobj;
15264 wxSlider *arg1 = (wxSlider *) 0 ;
15265 int result;
15266 PyObject * obj0 = 0 ;
15267 char *kwnames[] = {
15268 (char *) "self", NULL
15269 };
15270
15271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMin",kwnames,&obj0)) goto fail;
093d3ff1
RD
15272 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15273 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15274 {
15275 PyThreadState* __tstate = wxPyBeginAllowThreads();
15276 result = (int)((wxSlider const *)arg1)->GetMin();
15277
15278 wxPyEndAllowThreads(__tstate);
15279 if (PyErr_Occurred()) SWIG_fail;
15280 }
093d3ff1
RD
15281 {
15282 resultobj = SWIG_From_int((int)(result));
15283 }
d55e5bfc
RD
15284 return resultobj;
15285 fail:
15286 return NULL;
15287}
15288
15289
c32bde28 15290static PyObject *_wrap_Slider_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15291 PyObject *resultobj;
15292 wxSlider *arg1 = (wxSlider *) 0 ;
15293 int result;
15294 PyObject * obj0 = 0 ;
15295 char *kwnames[] = {
15296 (char *) "self", NULL
15297 };
15298
15299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMax",kwnames,&obj0)) goto fail;
093d3ff1
RD
15300 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15301 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15302 {
15303 PyThreadState* __tstate = wxPyBeginAllowThreads();
15304 result = (int)((wxSlider const *)arg1)->GetMax();
15305
15306 wxPyEndAllowThreads(__tstate);
15307 if (PyErr_Occurred()) SWIG_fail;
15308 }
093d3ff1
RD
15309 {
15310 resultobj = SWIG_From_int((int)(result));
15311 }
d55e5bfc
RD
15312 return resultobj;
15313 fail:
15314 return NULL;
15315}
15316
15317
c32bde28 15318static PyObject *_wrap_Slider_SetMin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15319 PyObject *resultobj;
15320 wxSlider *arg1 = (wxSlider *) 0 ;
15321 int arg2 ;
15322 PyObject * obj0 = 0 ;
15323 PyObject * obj1 = 0 ;
15324 char *kwnames[] = {
15325 (char *) "self",(char *) "minValue", NULL
15326 };
15327
15328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMin",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15329 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15330 if (SWIG_arg_fail(1)) SWIG_fail;
15331 {
15332 arg2 = (int)(SWIG_As_int(obj1));
15333 if (SWIG_arg_fail(2)) SWIG_fail;
15334 }
d55e5bfc
RD
15335 {
15336 PyThreadState* __tstate = wxPyBeginAllowThreads();
15337 (arg1)->SetMin(arg2);
15338
15339 wxPyEndAllowThreads(__tstate);
15340 if (PyErr_Occurred()) SWIG_fail;
15341 }
15342 Py_INCREF(Py_None); resultobj = Py_None;
15343 return resultobj;
15344 fail:
15345 return NULL;
15346}
15347
15348
c32bde28 15349static PyObject *_wrap_Slider_SetMax(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15350 PyObject *resultobj;
15351 wxSlider *arg1 = (wxSlider *) 0 ;
15352 int arg2 ;
15353 PyObject * obj0 = 0 ;
15354 PyObject * obj1 = 0 ;
15355 char *kwnames[] = {
15356 (char *) "self",(char *) "maxValue", NULL
15357 };
15358
15359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMax",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15360 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15361 if (SWIG_arg_fail(1)) SWIG_fail;
15362 {
15363 arg2 = (int)(SWIG_As_int(obj1));
15364 if (SWIG_arg_fail(2)) SWIG_fail;
15365 }
d55e5bfc
RD
15366 {
15367 PyThreadState* __tstate = wxPyBeginAllowThreads();
15368 (arg1)->SetMax(arg2);
15369
15370 wxPyEndAllowThreads(__tstate);
15371 if (PyErr_Occurred()) SWIG_fail;
15372 }
15373 Py_INCREF(Py_None); resultobj = Py_None;
15374 return resultobj;
15375 fail:
15376 return NULL;
15377}
15378
15379
c32bde28 15380static PyObject *_wrap_Slider_SetLineSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15381 PyObject *resultobj;
15382 wxSlider *arg1 = (wxSlider *) 0 ;
15383 int arg2 ;
15384 PyObject * obj0 = 0 ;
15385 PyObject * obj1 = 0 ;
15386 char *kwnames[] = {
15387 (char *) "self",(char *) "lineSize", NULL
15388 };
15389
15390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetLineSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15391 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15392 if (SWIG_arg_fail(1)) SWIG_fail;
15393 {
15394 arg2 = (int)(SWIG_As_int(obj1));
15395 if (SWIG_arg_fail(2)) SWIG_fail;
15396 }
d55e5bfc
RD
15397 {
15398 PyThreadState* __tstate = wxPyBeginAllowThreads();
15399 (arg1)->SetLineSize(arg2);
15400
15401 wxPyEndAllowThreads(__tstate);
15402 if (PyErr_Occurred()) SWIG_fail;
15403 }
15404 Py_INCREF(Py_None); resultobj = Py_None;
15405 return resultobj;
15406 fail:
15407 return NULL;
15408}
15409
15410
c32bde28 15411static PyObject *_wrap_Slider_SetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15412 PyObject *resultobj;
15413 wxSlider *arg1 = (wxSlider *) 0 ;
15414 int arg2 ;
15415 PyObject * obj0 = 0 ;
15416 PyObject * obj1 = 0 ;
15417 char *kwnames[] = {
15418 (char *) "self",(char *) "pageSize", NULL
15419 };
15420
15421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15422 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15423 if (SWIG_arg_fail(1)) SWIG_fail;
15424 {
15425 arg2 = (int)(SWIG_As_int(obj1));
15426 if (SWIG_arg_fail(2)) SWIG_fail;
15427 }
d55e5bfc
RD
15428 {
15429 PyThreadState* __tstate = wxPyBeginAllowThreads();
15430 (arg1)->SetPageSize(arg2);
15431
15432 wxPyEndAllowThreads(__tstate);
15433 if (PyErr_Occurred()) SWIG_fail;
15434 }
15435 Py_INCREF(Py_None); resultobj = Py_None;
15436 return resultobj;
15437 fail:
15438 return NULL;
15439}
15440
15441
c32bde28 15442static PyObject *_wrap_Slider_GetLineSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15443 PyObject *resultobj;
15444 wxSlider *arg1 = (wxSlider *) 0 ;
15445 int result;
15446 PyObject * obj0 = 0 ;
15447 char *kwnames[] = {
15448 (char *) "self", NULL
15449 };
15450
15451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetLineSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
15452 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15453 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15454 {
15455 PyThreadState* __tstate = wxPyBeginAllowThreads();
15456 result = (int)((wxSlider const *)arg1)->GetLineSize();
15457
15458 wxPyEndAllowThreads(__tstate);
15459 if (PyErr_Occurred()) SWIG_fail;
15460 }
093d3ff1
RD
15461 {
15462 resultobj = SWIG_From_int((int)(result));
15463 }
d55e5bfc
RD
15464 return resultobj;
15465 fail:
15466 return NULL;
15467}
15468
15469
c32bde28 15470static PyObject *_wrap_Slider_GetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15471 PyObject *resultobj;
15472 wxSlider *arg1 = (wxSlider *) 0 ;
15473 int result;
15474 PyObject * obj0 = 0 ;
15475 char *kwnames[] = {
15476 (char *) "self", NULL
15477 };
15478
15479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetPageSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
15480 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15481 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15482 {
15483 PyThreadState* __tstate = wxPyBeginAllowThreads();
15484 result = (int)((wxSlider const *)arg1)->GetPageSize();
15485
15486 wxPyEndAllowThreads(__tstate);
15487 if (PyErr_Occurred()) SWIG_fail;
15488 }
093d3ff1
RD
15489 {
15490 resultobj = SWIG_From_int((int)(result));
15491 }
d55e5bfc
RD
15492 return resultobj;
15493 fail:
15494 return NULL;
15495}
15496
15497
c32bde28 15498static PyObject *_wrap_Slider_SetThumbLength(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15499 PyObject *resultobj;
15500 wxSlider *arg1 = (wxSlider *) 0 ;
15501 int arg2 ;
15502 PyObject * obj0 = 0 ;
15503 PyObject * obj1 = 0 ;
15504 char *kwnames[] = {
15505 (char *) "self",(char *) "lenPixels", NULL
15506 };
15507
15508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetThumbLength",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15509 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15510 if (SWIG_arg_fail(1)) SWIG_fail;
15511 {
15512 arg2 = (int)(SWIG_As_int(obj1));
15513 if (SWIG_arg_fail(2)) SWIG_fail;
15514 }
d55e5bfc
RD
15515 {
15516 PyThreadState* __tstate = wxPyBeginAllowThreads();
15517 (arg1)->SetThumbLength(arg2);
15518
15519 wxPyEndAllowThreads(__tstate);
15520 if (PyErr_Occurred()) SWIG_fail;
15521 }
15522 Py_INCREF(Py_None); resultobj = Py_None;
15523 return resultobj;
15524 fail:
15525 return NULL;
15526}
15527
15528
c32bde28 15529static PyObject *_wrap_Slider_GetThumbLength(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15530 PyObject *resultobj;
15531 wxSlider *arg1 = (wxSlider *) 0 ;
15532 int result;
15533 PyObject * obj0 = 0 ;
15534 char *kwnames[] = {
15535 (char *) "self", NULL
15536 };
15537
15538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetThumbLength",kwnames,&obj0)) goto fail;
093d3ff1
RD
15539 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15540 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15541 {
15542 PyThreadState* __tstate = wxPyBeginAllowThreads();
15543 result = (int)((wxSlider const *)arg1)->GetThumbLength();
15544
15545 wxPyEndAllowThreads(__tstate);
15546 if (PyErr_Occurred()) SWIG_fail;
15547 }
093d3ff1
RD
15548 {
15549 resultobj = SWIG_From_int((int)(result));
15550 }
d55e5bfc
RD
15551 return resultobj;
15552 fail:
15553 return NULL;
15554}
15555
15556
c32bde28 15557static PyObject *_wrap_Slider_SetTickFreq(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15558 PyObject *resultobj;
15559 wxSlider *arg1 = (wxSlider *) 0 ;
15560 int arg2 ;
15561 int arg3 = (int) 1 ;
15562 PyObject * obj0 = 0 ;
15563 PyObject * obj1 = 0 ;
15564 PyObject * obj2 = 0 ;
15565 char *kwnames[] = {
15566 (char *) "self",(char *) "n",(char *) "pos", NULL
15567 };
15568
15569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Slider_SetTickFreq",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
15570 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15571 if (SWIG_arg_fail(1)) SWIG_fail;
15572 {
15573 arg2 = (int)(SWIG_As_int(obj1));
15574 if (SWIG_arg_fail(2)) SWIG_fail;
15575 }
d55e5bfc 15576 if (obj2) {
093d3ff1
RD
15577 {
15578 arg3 = (int)(SWIG_As_int(obj2));
15579 if (SWIG_arg_fail(3)) SWIG_fail;
15580 }
d55e5bfc
RD
15581 }
15582 {
15583 PyThreadState* __tstate = wxPyBeginAllowThreads();
15584 (arg1)->SetTickFreq(arg2,arg3);
15585
15586 wxPyEndAllowThreads(__tstate);
15587 if (PyErr_Occurred()) SWIG_fail;
15588 }
15589 Py_INCREF(Py_None); resultobj = Py_None;
15590 return resultobj;
15591 fail:
15592 return NULL;
15593}
15594
15595
c32bde28 15596static PyObject *_wrap_Slider_GetTickFreq(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15597 PyObject *resultobj;
15598 wxSlider *arg1 = (wxSlider *) 0 ;
15599 int result;
15600 PyObject * obj0 = 0 ;
15601 char *kwnames[] = {
15602 (char *) "self", NULL
15603 };
15604
15605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetTickFreq",kwnames,&obj0)) goto fail;
093d3ff1
RD
15606 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15607 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15608 {
15609 PyThreadState* __tstate = wxPyBeginAllowThreads();
15610 result = (int)((wxSlider const *)arg1)->GetTickFreq();
15611
15612 wxPyEndAllowThreads(__tstate);
15613 if (PyErr_Occurred()) SWIG_fail;
15614 }
093d3ff1
RD
15615 {
15616 resultobj = SWIG_From_int((int)(result));
15617 }
d55e5bfc
RD
15618 return resultobj;
15619 fail:
15620 return NULL;
15621}
15622
15623
c32bde28 15624static PyObject *_wrap_Slider_ClearTicks(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15625 PyObject *resultobj;
15626 wxSlider *arg1 = (wxSlider *) 0 ;
15627 PyObject * obj0 = 0 ;
15628 char *kwnames[] = {
15629 (char *) "self", NULL
15630 };
15631
15632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearTicks",kwnames,&obj0)) goto fail;
093d3ff1
RD
15633 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15634 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15635 {
15636 PyThreadState* __tstate = wxPyBeginAllowThreads();
15637 (arg1)->ClearTicks();
15638
15639 wxPyEndAllowThreads(__tstate);
15640 if (PyErr_Occurred()) SWIG_fail;
15641 }
15642 Py_INCREF(Py_None); resultobj = Py_None;
15643 return resultobj;
15644 fail:
15645 return NULL;
15646}
15647
15648
c32bde28 15649static PyObject *_wrap_Slider_SetTick(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15650 PyObject *resultobj;
15651 wxSlider *arg1 = (wxSlider *) 0 ;
15652 int arg2 ;
15653 PyObject * obj0 = 0 ;
15654 PyObject * obj1 = 0 ;
15655 char *kwnames[] = {
15656 (char *) "self",(char *) "tickPos", NULL
15657 };
15658
15659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetTick",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15660 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15661 if (SWIG_arg_fail(1)) SWIG_fail;
15662 {
15663 arg2 = (int)(SWIG_As_int(obj1));
15664 if (SWIG_arg_fail(2)) SWIG_fail;
15665 }
d55e5bfc
RD
15666 {
15667 PyThreadState* __tstate = wxPyBeginAllowThreads();
15668 (arg1)->SetTick(arg2);
15669
15670 wxPyEndAllowThreads(__tstate);
15671 if (PyErr_Occurred()) SWIG_fail;
15672 }
15673 Py_INCREF(Py_None); resultobj = Py_None;
15674 return resultobj;
15675 fail:
15676 return NULL;
15677}
15678
15679
c32bde28 15680static PyObject *_wrap_Slider_ClearSel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15681 PyObject *resultobj;
15682 wxSlider *arg1 = (wxSlider *) 0 ;
15683 PyObject * obj0 = 0 ;
15684 char *kwnames[] = {
15685 (char *) "self", NULL
15686 };
15687
15688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearSel",kwnames,&obj0)) goto fail;
093d3ff1
RD
15689 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15690 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15691 {
15692 PyThreadState* __tstate = wxPyBeginAllowThreads();
15693 (arg1)->ClearSel();
15694
15695 wxPyEndAllowThreads(__tstate);
15696 if (PyErr_Occurred()) SWIG_fail;
15697 }
15698 Py_INCREF(Py_None); resultobj = Py_None;
15699 return resultobj;
15700 fail:
15701 return NULL;
15702}
15703
15704
c32bde28 15705static PyObject *_wrap_Slider_GetSelEnd(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15706 PyObject *resultobj;
15707 wxSlider *arg1 = (wxSlider *) 0 ;
15708 int result;
15709 PyObject * obj0 = 0 ;
15710 char *kwnames[] = {
15711 (char *) "self", NULL
15712 };
15713
15714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelEnd",kwnames,&obj0)) goto fail;
093d3ff1
RD
15715 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15716 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15717 {
15718 PyThreadState* __tstate = wxPyBeginAllowThreads();
15719 result = (int)((wxSlider const *)arg1)->GetSelEnd();
15720
15721 wxPyEndAllowThreads(__tstate);
15722 if (PyErr_Occurred()) SWIG_fail;
15723 }
093d3ff1
RD
15724 {
15725 resultobj = SWIG_From_int((int)(result));
15726 }
d55e5bfc
RD
15727 return resultobj;
15728 fail:
15729 return NULL;
15730}
15731
15732
c32bde28 15733static PyObject *_wrap_Slider_GetSelStart(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15734 PyObject *resultobj;
15735 wxSlider *arg1 = (wxSlider *) 0 ;
15736 int result;
15737 PyObject * obj0 = 0 ;
15738 char *kwnames[] = {
15739 (char *) "self", NULL
15740 };
15741
15742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelStart",kwnames,&obj0)) goto fail;
093d3ff1
RD
15743 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15744 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15745 {
15746 PyThreadState* __tstate = wxPyBeginAllowThreads();
15747 result = (int)((wxSlider const *)arg1)->GetSelStart();
15748
15749 wxPyEndAllowThreads(__tstate);
15750 if (PyErr_Occurred()) SWIG_fail;
15751 }
093d3ff1
RD
15752 {
15753 resultobj = SWIG_From_int((int)(result));
15754 }
d55e5bfc
RD
15755 return resultobj;
15756 fail:
15757 return NULL;
15758}
15759
15760
c32bde28 15761static PyObject *_wrap_Slider_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15762 PyObject *resultobj;
15763 wxSlider *arg1 = (wxSlider *) 0 ;
15764 int arg2 ;
15765 int arg3 ;
15766 PyObject * obj0 = 0 ;
15767 PyObject * obj1 = 0 ;
15768 PyObject * obj2 = 0 ;
15769 char *kwnames[] = {
15770 (char *) "self",(char *) "min",(char *) "max", NULL
15771 };
15772
15773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
15774 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15775 if (SWIG_arg_fail(1)) SWIG_fail;
15776 {
15777 arg2 = (int)(SWIG_As_int(obj1));
15778 if (SWIG_arg_fail(2)) SWIG_fail;
15779 }
15780 {
15781 arg3 = (int)(SWIG_As_int(obj2));
15782 if (SWIG_arg_fail(3)) SWIG_fail;
15783 }
d55e5bfc
RD
15784 {
15785 PyThreadState* __tstate = wxPyBeginAllowThreads();
15786 (arg1)->SetSelection(arg2,arg3);
15787
15788 wxPyEndAllowThreads(__tstate);
15789 if (PyErr_Occurred()) SWIG_fail;
15790 }
15791 Py_INCREF(Py_None); resultobj = Py_None;
15792 return resultobj;
15793 fail:
15794 return NULL;
15795}
15796
15797
c32bde28 15798static PyObject *_wrap_Slider_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 15799 PyObject *resultobj;
093d3ff1 15800 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
15801 wxVisualAttributes result;
15802 PyObject * obj0 = 0 ;
15803 char *kwnames[] = {
15804 (char *) "variant", NULL
15805 };
15806
15807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
15808 if (obj0) {
093d3ff1
RD
15809 {
15810 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
15811 if (SWIG_arg_fail(1)) SWIG_fail;
15812 }
f20a2e1f
RD
15813 }
15814 {
19272049 15815 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
15816 PyThreadState* __tstate = wxPyBeginAllowThreads();
15817 result = wxSlider::GetClassDefaultAttributes((wxWindowVariant )arg1);
15818
15819 wxPyEndAllowThreads(__tstate);
110da5b0 15820 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
15821 }
15822 {
15823 wxVisualAttributes * resultptr;
093d3ff1 15824 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
15825 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
15826 }
15827 return resultobj;
15828 fail:
15829 return NULL;
15830}
15831
15832
c32bde28 15833static PyObject * Slider_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
15834 PyObject *obj;
15835 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15836 SWIG_TypeClientData(SWIGTYPE_p_wxSlider, obj);
15837 Py_INCREF(obj);
15838 return Py_BuildValue((char *)"");
15839}
c32bde28 15840static int _wrap_ToggleButtonNameStr_set(PyObject *) {
d55e5bfc
RD
15841 PyErr_SetString(PyExc_TypeError,"Variable ToggleButtonNameStr is read-only.");
15842 return 1;
15843}
15844
15845
093d3ff1 15846static PyObject *_wrap_ToggleButtonNameStr_get(void) {
d55e5bfc
RD
15847 PyObject *pyobj;
15848
15849 {
15850#if wxUSE_UNICODE
15851 pyobj = PyUnicode_FromWideChar((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
15852#else
15853 pyobj = PyString_FromStringAndSize((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
15854#endif
15855 }
15856 return pyobj;
15857}
15858
15859
c32bde28 15860static PyObject *_wrap_new_ToggleButton(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15861 PyObject *resultobj;
15862 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
15863 int arg2 = (int) -1 ;
15864 wxString const &arg3_defvalue = wxPyEmptyString ;
15865 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
15866 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15867 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15868 wxSize const &arg5_defvalue = wxDefaultSize ;
15869 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15870 long arg6 = (long) 0 ;
15871 wxValidator const &arg7_defvalue = wxDefaultValidator ;
15872 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
15873 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
15874 wxString *arg8 = (wxString *) &arg8_defvalue ;
15875 wxToggleButton *result;
ae8162c8 15876 bool temp3 = false ;
d55e5bfc
RD
15877 wxPoint temp4 ;
15878 wxSize temp5 ;
ae8162c8 15879 bool temp8 = false ;
d55e5bfc
RD
15880 PyObject * obj0 = 0 ;
15881 PyObject * obj1 = 0 ;
15882 PyObject * obj2 = 0 ;
15883 PyObject * obj3 = 0 ;
15884 PyObject * obj4 = 0 ;
15885 PyObject * obj5 = 0 ;
15886 PyObject * obj6 = 0 ;
15887 PyObject * obj7 = 0 ;
15888 char *kwnames[] = {
15889 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15890 };
15891
248ed943 15892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ToggleButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
15893 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15894 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 15895 if (obj1) {
093d3ff1
RD
15896 {
15897 arg2 = (int)(SWIG_As_int(obj1));
15898 if (SWIG_arg_fail(2)) SWIG_fail;
15899 }
248ed943
RD
15900 }
15901 if (obj2) {
15902 {
15903 arg3 = wxString_in_helper(obj2);
15904 if (arg3 == NULL) SWIG_fail;
ae8162c8 15905 temp3 = true;
248ed943 15906 }
d55e5bfc
RD
15907 }
15908 if (obj3) {
15909 {
15910 arg4 = &temp4;
15911 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15912 }
15913 }
15914 if (obj4) {
15915 {
15916 arg5 = &temp5;
15917 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15918 }
15919 }
15920 if (obj5) {
093d3ff1
RD
15921 {
15922 arg6 = (long)(SWIG_As_long(obj5));
15923 if (SWIG_arg_fail(6)) SWIG_fail;
15924 }
d55e5bfc
RD
15925 }
15926 if (obj6) {
093d3ff1
RD
15927 {
15928 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
15929 if (SWIG_arg_fail(7)) SWIG_fail;
15930 if (arg7 == NULL) {
15931 SWIG_null_ref("wxValidator");
15932 }
15933 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
15934 }
15935 }
15936 if (obj7) {
15937 {
15938 arg8 = wxString_in_helper(obj7);
15939 if (arg8 == NULL) SWIG_fail;
ae8162c8 15940 temp8 = true;
d55e5bfc
RD
15941 }
15942 }
15943 {
0439c23b 15944 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
15945 PyThreadState* __tstate = wxPyBeginAllowThreads();
15946 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
15947
15948 wxPyEndAllowThreads(__tstate);
110da5b0 15949 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
15950 }
15951 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
15952 {
15953 if (temp3)
15954 delete arg3;
15955 }
15956 {
15957 if (temp8)
15958 delete arg8;
15959 }
15960 return resultobj;
15961 fail:
15962 {
15963 if (temp3)
15964 delete arg3;
15965 }
15966 {
15967 if (temp8)
15968 delete arg8;
15969 }
15970 return NULL;
15971}
15972
15973
c32bde28 15974static PyObject *_wrap_new_PreToggleButton(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15975 PyObject *resultobj;
15976 wxToggleButton *result;
15977 char *kwnames[] = {
15978 NULL
15979 };
15980
15981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToggleButton",kwnames)) goto fail;
15982 {
0439c23b 15983 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
15984 PyThreadState* __tstate = wxPyBeginAllowThreads();
15985 result = (wxToggleButton *)new wxToggleButton();
15986
15987 wxPyEndAllowThreads(__tstate);
110da5b0 15988 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
15989 }
15990 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
15991 return resultobj;
15992 fail:
15993 return NULL;
15994}
15995
15996
c32bde28 15997static PyObject *_wrap_ToggleButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15998 PyObject *resultobj;
15999 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
16000 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
16001 int arg3 = (int) -1 ;
16002 wxString const &arg4_defvalue = wxPyEmptyString ;
16003 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
16004 wxPoint const &arg5_defvalue = wxDefaultPosition ;
16005 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
16006 wxSize const &arg6_defvalue = wxDefaultSize ;
16007 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
16008 long arg7 = (long) 0 ;
16009 wxValidator const &arg8_defvalue = wxDefaultValidator ;
16010 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
16011 wxString const &arg9_defvalue = wxPyToggleButtonNameStr ;
16012 wxString *arg9 = (wxString *) &arg9_defvalue ;
16013 bool result;
ae8162c8 16014 bool temp4 = false ;
d55e5bfc
RD
16015 wxPoint temp5 ;
16016 wxSize temp6 ;
ae8162c8 16017 bool temp9 = false ;
d55e5bfc
RD
16018 PyObject * obj0 = 0 ;
16019 PyObject * obj1 = 0 ;
16020 PyObject * obj2 = 0 ;
16021 PyObject * obj3 = 0 ;
16022 PyObject * obj4 = 0 ;
16023 PyObject * obj5 = 0 ;
16024 PyObject * obj6 = 0 ;
16025 PyObject * obj7 = 0 ;
16026 PyObject * obj8 = 0 ;
16027 char *kwnames[] = {
16028 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
16029 };
16030
248ed943 16031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
16032 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
16033 if (SWIG_arg_fail(1)) SWIG_fail;
16034 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16035 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 16036 if (obj2) {
093d3ff1
RD
16037 {
16038 arg3 = (int)(SWIG_As_int(obj2));
16039 if (SWIG_arg_fail(3)) SWIG_fail;
16040 }
248ed943
RD
16041 }
16042 if (obj3) {
16043 {
16044 arg4 = wxString_in_helper(obj3);
16045 if (arg4 == NULL) SWIG_fail;
ae8162c8 16046 temp4 = true;
248ed943 16047 }
d55e5bfc
RD
16048 }
16049 if (obj4) {
16050 {
16051 arg5 = &temp5;
16052 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
16053 }
16054 }
16055 if (obj5) {
16056 {
16057 arg6 = &temp6;
16058 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
16059 }
16060 }
16061 if (obj6) {
093d3ff1
RD
16062 {
16063 arg7 = (long)(SWIG_As_long(obj6));
16064 if (SWIG_arg_fail(7)) SWIG_fail;
16065 }
d55e5bfc
RD
16066 }
16067 if (obj7) {
093d3ff1
RD
16068 {
16069 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
16070 if (SWIG_arg_fail(8)) SWIG_fail;
16071 if (arg8 == NULL) {
16072 SWIG_null_ref("wxValidator");
16073 }
16074 if (SWIG_arg_fail(8)) SWIG_fail;
d55e5bfc
RD
16075 }
16076 }
16077 if (obj8) {
16078 {
16079 arg9 = wxString_in_helper(obj8);
16080 if (arg9 == NULL) SWIG_fail;
ae8162c8 16081 temp9 = true;
d55e5bfc
RD
16082 }
16083 }
16084 {
16085 PyThreadState* __tstate = wxPyBeginAllowThreads();
16086 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
16087
16088 wxPyEndAllowThreads(__tstate);
16089 if (PyErr_Occurred()) SWIG_fail;
16090 }
16091 {
16092 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16093 }
16094 {
16095 if (temp4)
16096 delete arg4;
16097 }
16098 {
16099 if (temp9)
16100 delete arg9;
16101 }
16102 return resultobj;
16103 fail:
16104 {
16105 if (temp4)
16106 delete arg4;
16107 }
16108 {
16109 if (temp9)
16110 delete arg9;
16111 }
16112 return NULL;
16113}
16114
16115
c32bde28 16116static PyObject *_wrap_ToggleButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16117 PyObject *resultobj;
16118 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
16119 bool arg2 ;
16120 PyObject * obj0 = 0 ;
16121 PyObject * obj1 = 0 ;
16122 char *kwnames[] = {
16123 (char *) "self",(char *) "value", NULL
16124 };
16125
16126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16127 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
16128 if (SWIG_arg_fail(1)) SWIG_fail;
16129 {
16130 arg2 = (bool)(SWIG_As_bool(obj1));
16131 if (SWIG_arg_fail(2)) SWIG_fail;
16132 }
d55e5bfc
RD
16133 {
16134 PyThreadState* __tstate = wxPyBeginAllowThreads();
16135 (arg1)->SetValue(arg2);
16136
16137 wxPyEndAllowThreads(__tstate);
16138 if (PyErr_Occurred()) SWIG_fail;
16139 }
16140 Py_INCREF(Py_None); resultobj = Py_None;
16141 return resultobj;
16142 fail:
16143 return NULL;
16144}
16145
16146
c32bde28 16147static PyObject *_wrap_ToggleButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16148 PyObject *resultobj;
16149 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
16150 bool result;
16151 PyObject * obj0 = 0 ;
16152 char *kwnames[] = {
16153 (char *) "self", NULL
16154 };
16155
16156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToggleButton_GetValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
16157 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
16158 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16159 {
16160 PyThreadState* __tstate = wxPyBeginAllowThreads();
16161 result = (bool)((wxToggleButton const *)arg1)->GetValue();
16162
16163 wxPyEndAllowThreads(__tstate);
16164 if (PyErr_Occurred()) SWIG_fail;
16165 }
16166 {
16167 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16168 }
16169 return resultobj;
16170 fail:
16171 return NULL;
16172}
16173
16174
c32bde28 16175static PyObject *_wrap_ToggleButton_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16176 PyObject *resultobj;
16177 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
16178 wxString *arg2 = 0 ;
ae8162c8 16179 bool temp2 = false ;
d55e5bfc
RD
16180 PyObject * obj0 = 0 ;
16181 PyObject * obj1 = 0 ;
16182 char *kwnames[] = {
16183 (char *) "self",(char *) "label", NULL
16184 };
16185
16186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetLabel",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16187 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
16188 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16189 {
16190 arg2 = wxString_in_helper(obj1);
16191 if (arg2 == NULL) SWIG_fail;
ae8162c8 16192 temp2 = true;
d55e5bfc
RD
16193 }
16194 {
16195 PyThreadState* __tstate = wxPyBeginAllowThreads();
16196 (arg1)->SetLabel((wxString const &)*arg2);
16197
16198 wxPyEndAllowThreads(__tstate);
16199 if (PyErr_Occurred()) SWIG_fail;
16200 }
16201 Py_INCREF(Py_None); resultobj = Py_None;
16202 {
16203 if (temp2)
16204 delete arg2;
16205 }
16206 return resultobj;
16207 fail:
16208 {
16209 if (temp2)
16210 delete arg2;
16211 }
16212 return NULL;
16213}
16214
16215
c32bde28 16216static PyObject *_wrap_ToggleButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 16217 PyObject *resultobj;
093d3ff1 16218 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
16219 wxVisualAttributes result;
16220 PyObject * obj0 = 0 ;
16221 char *kwnames[] = {
16222 (char *) "variant", NULL
16223 };
16224
16225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
16226 if (obj0) {
093d3ff1
RD
16227 {
16228 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
16229 if (SWIG_arg_fail(1)) SWIG_fail;
16230 }
f20a2e1f
RD
16231 }
16232 {
19272049 16233 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
16234 PyThreadState* __tstate = wxPyBeginAllowThreads();
16235 result = wxToggleButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
16236
16237 wxPyEndAllowThreads(__tstate);
110da5b0 16238 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
16239 }
16240 {
16241 wxVisualAttributes * resultptr;
093d3ff1 16242 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
16243 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
16244 }
16245 return resultobj;
16246 fail:
16247 return NULL;
16248}
16249
16250
c32bde28 16251static PyObject * ToggleButton_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
16252 PyObject *obj;
16253 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16254 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton, obj);
16255 Py_INCREF(obj);
16256 return Py_BuildValue((char *)"");
16257}
51b83b37
RD
16258static int _wrap_NotebookNameStr_set(PyObject *) {
16259 PyErr_SetString(PyExc_TypeError,"Variable NotebookNameStr is read-only.");
d55e5bfc
RD
16260 return 1;
16261}
16262
16263
51b83b37 16264static PyObject *_wrap_NotebookNameStr_get(void) {
d55e5bfc
RD
16265 PyObject *pyobj;
16266
16267 {
16268#if wxUSE_UNICODE
51b83b37 16269 pyobj = PyUnicode_FromWideChar((&wxPyNotebookNameStr)->c_str(), (&wxPyNotebookNameStr)->Len());
d55e5bfc 16270#else
51b83b37 16271 pyobj = PyString_FromStringAndSize((&wxPyNotebookNameStr)->c_str(), (&wxPyNotebookNameStr)->Len());
d55e5bfc
RD
16272#endif
16273 }
16274 return pyobj;
16275}
16276
16277
8ac8dba0 16278static PyObject *_wrap_BookCtrlBase_GetPageCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16279 PyObject *resultobj;
8ac8dba0 16280 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16281 size_t result;
16282 PyObject * obj0 = 0 ;
16283 char *kwnames[] = {
16284 (char *) "self", NULL
16285 };
16286
8ac8dba0 16287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetPageCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
16288 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16289 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16290 {
16291 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 16292 result = (size_t)((wxBookCtrlBase const *)arg1)->GetPageCount();
d55e5bfc
RD
16293
16294 wxPyEndAllowThreads(__tstate);
16295 if (PyErr_Occurred()) SWIG_fail;
16296 }
093d3ff1
RD
16297 {
16298 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
16299 }
d55e5bfc
RD
16300 return resultobj;
16301 fail:
16302 return NULL;
16303}
16304
16305
8ac8dba0 16306static PyObject *_wrap_BookCtrlBase_GetPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16307 PyObject *resultobj;
8ac8dba0 16308 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16309 size_t arg2 ;
16310 wxWindow *result;
16311 PyObject * obj0 = 0 ;
16312 PyObject * obj1 = 0 ;
16313 char *kwnames[] = {
16314 (char *) "self",(char *) "n", NULL
16315 };
16316
8ac8dba0 16317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16318 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16319 if (SWIG_arg_fail(1)) SWIG_fail;
16320 {
16321 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16322 if (SWIG_arg_fail(2)) SWIG_fail;
16323 }
d55e5bfc
RD
16324 {
16325 PyThreadState* __tstate = wxPyBeginAllowThreads();
16326 result = (wxWindow *)(arg1)->GetPage(arg2);
16327
16328 wxPyEndAllowThreads(__tstate);
16329 if (PyErr_Occurred()) SWIG_fail;
16330 }
16331 {
412d302d 16332 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
16333 }
16334 return resultobj;
16335 fail:
16336 return NULL;
16337}
16338
16339
8ac8dba0 16340static PyObject *_wrap_BookCtrlBase_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
8fb0e70a 16341 PyObject *resultobj;
8ac8dba0 16342 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
8fb0e70a
RD
16343 wxWindow *result;
16344 PyObject * obj0 = 0 ;
16345 char *kwnames[] = {
16346 (char *) "self", NULL
16347 };
16348
8ac8dba0 16349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetCurrentPage",kwnames,&obj0)) goto fail;
093d3ff1
RD
16350 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16351 if (SWIG_arg_fail(1)) SWIG_fail;
8fb0e70a
RD
16352 {
16353 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 16354 result = (wxWindow *)((wxBookCtrlBase const *)arg1)->GetCurrentPage();
8fb0e70a
RD
16355
16356 wxPyEndAllowThreads(__tstate);
16357 if (PyErr_Occurred()) SWIG_fail;
16358 }
16359 {
16360 resultobj = wxPyMake_wxObject(result, 0);
16361 }
16362 return resultobj;
16363 fail:
16364 return NULL;
16365}
16366
16367
8ac8dba0 16368static PyObject *_wrap_BookCtrlBase_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16369 PyObject *resultobj;
8ac8dba0 16370 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16371 int result;
16372 PyObject * obj0 = 0 ;
16373 char *kwnames[] = {
16374 (char *) "self", NULL
16375 };
16376
8ac8dba0 16377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
16378 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16379 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16380 {
16381 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 16382 result = (int)((wxBookCtrlBase const *)arg1)->GetSelection();
d55e5bfc
RD
16383
16384 wxPyEndAllowThreads(__tstate);
16385 if (PyErr_Occurred()) SWIG_fail;
16386 }
093d3ff1
RD
16387 {
16388 resultobj = SWIG_From_int((int)(result));
16389 }
d55e5bfc
RD
16390 return resultobj;
16391 fail:
16392 return NULL;
16393}
16394
16395
8ac8dba0 16396static PyObject *_wrap_BookCtrlBase_SetPageText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16397 PyObject *resultobj;
8ac8dba0 16398 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16399 size_t arg2 ;
16400 wxString *arg3 = 0 ;
16401 bool result;
ae8162c8 16402 bool temp3 = false ;
d55e5bfc
RD
16403 PyObject * obj0 = 0 ;
16404 PyObject * obj1 = 0 ;
16405 PyObject * obj2 = 0 ;
16406 char *kwnames[] = {
16407 (char *) "self",(char *) "n",(char *) "strText", NULL
16408 };
16409
8ac8dba0 16410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageText",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
16411 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16412 if (SWIG_arg_fail(1)) SWIG_fail;
16413 {
16414 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16415 if (SWIG_arg_fail(2)) SWIG_fail;
16416 }
d55e5bfc
RD
16417 {
16418 arg3 = wxString_in_helper(obj2);
16419 if (arg3 == NULL) SWIG_fail;
ae8162c8 16420 temp3 = true;
d55e5bfc
RD
16421 }
16422 {
16423 PyThreadState* __tstate = wxPyBeginAllowThreads();
16424 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
16425
16426 wxPyEndAllowThreads(__tstate);
16427 if (PyErr_Occurred()) SWIG_fail;
16428 }
16429 {
16430 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16431 }
16432 {
16433 if (temp3)
16434 delete arg3;
16435 }
16436 return resultobj;
16437 fail:
16438 {
16439 if (temp3)
16440 delete arg3;
16441 }
16442 return NULL;
16443}
16444
16445
8ac8dba0 16446static PyObject *_wrap_BookCtrlBase_GetPageText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16447 PyObject *resultobj;
8ac8dba0 16448 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16449 size_t arg2 ;
16450 wxString result;
16451 PyObject * obj0 = 0 ;
16452 PyObject * obj1 = 0 ;
16453 char *kwnames[] = {
16454 (char *) "self",(char *) "n", NULL
16455 };
16456
8ac8dba0 16457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16458 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16459 if (SWIG_arg_fail(1)) SWIG_fail;
16460 {
16461 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16462 if (SWIG_arg_fail(2)) SWIG_fail;
16463 }
d55e5bfc
RD
16464 {
16465 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 16466 result = ((wxBookCtrlBase const *)arg1)->GetPageText(arg2);
d55e5bfc
RD
16467
16468 wxPyEndAllowThreads(__tstate);
16469 if (PyErr_Occurred()) SWIG_fail;
16470 }
16471 {
16472#if wxUSE_UNICODE
16473 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16474#else
16475 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16476#endif
16477 }
16478 return resultobj;
16479 fail:
16480 return NULL;
16481}
16482
16483
8ac8dba0 16484static PyObject *_wrap_BookCtrlBase_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16485 PyObject *resultobj;
8ac8dba0 16486 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16487 wxImageList *arg2 = (wxImageList *) 0 ;
16488 PyObject * obj0 = 0 ;
16489 PyObject * obj1 = 0 ;
16490 char *kwnames[] = {
16491 (char *) "self",(char *) "imageList", NULL
16492 };
16493
8ac8dba0 16494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetImageList",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16495 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16496 if (SWIG_arg_fail(1)) SWIG_fail;
16497 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
16498 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
16499 {
16500 PyThreadState* __tstate = wxPyBeginAllowThreads();
16501 (arg1)->SetImageList(arg2);
16502
16503 wxPyEndAllowThreads(__tstate);
16504 if (PyErr_Occurred()) SWIG_fail;
16505 }
16506 Py_INCREF(Py_None); resultobj = Py_None;
16507 return resultobj;
16508 fail:
16509 return NULL;
16510}
16511
16512
8ac8dba0 16513static PyObject *_wrap_BookCtrlBase_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16514 PyObject *resultobj;
8ac8dba0 16515 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16516 wxImageList *arg2 = (wxImageList *) 0 ;
16517 PyObject * obj0 = 0 ;
16518 PyObject * obj1 = 0 ;
16519 char *kwnames[] = {
16520 (char *) "self",(char *) "imageList", NULL
16521 };
16522
8ac8dba0 16523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16524 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16525 if (SWIG_arg_fail(1)) SWIG_fail;
16526 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
16527 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
16528 {
16529 PyThreadState* __tstate = wxPyBeginAllowThreads();
16530 (arg1)->AssignImageList(arg2);
16531
16532 wxPyEndAllowThreads(__tstate);
16533 if (PyErr_Occurred()) SWIG_fail;
16534 }
16535 Py_INCREF(Py_None); resultobj = Py_None;
16536 return resultobj;
16537 fail:
16538 return NULL;
16539}
16540
16541
8ac8dba0 16542static PyObject *_wrap_BookCtrlBase_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16543 PyObject *resultobj;
8ac8dba0 16544 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16545 wxImageList *result;
16546 PyObject * obj0 = 0 ;
16547 char *kwnames[] = {
16548 (char *) "self", NULL
16549 };
16550
8ac8dba0 16551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetImageList",kwnames,&obj0)) goto fail;
093d3ff1
RD
16552 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16553 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16554 {
16555 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 16556 result = (wxImageList *)((wxBookCtrlBase const *)arg1)->GetImageList();
d55e5bfc
RD
16557
16558 wxPyEndAllowThreads(__tstate);
16559 if (PyErr_Occurred()) SWIG_fail;
16560 }
16561 {
412d302d 16562 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
16563 }
16564 return resultobj;
16565 fail:
16566 return NULL;
16567}
16568
16569
8ac8dba0 16570static PyObject *_wrap_BookCtrlBase_GetPageImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16571 PyObject *resultobj;
8ac8dba0 16572 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16573 size_t arg2 ;
16574 int result;
16575 PyObject * obj0 = 0 ;
16576 PyObject * obj1 = 0 ;
16577 char *kwnames[] = {
16578 (char *) "self",(char *) "n", NULL
16579 };
16580
8ac8dba0 16581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageImage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16582 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16583 if (SWIG_arg_fail(1)) SWIG_fail;
16584 {
16585 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16586 if (SWIG_arg_fail(2)) SWIG_fail;
16587 }
d55e5bfc
RD
16588 {
16589 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 16590 result = (int)((wxBookCtrlBase const *)arg1)->GetPageImage(arg2);
d55e5bfc
RD
16591
16592 wxPyEndAllowThreads(__tstate);
16593 if (PyErr_Occurred()) SWIG_fail;
16594 }
093d3ff1
RD
16595 {
16596 resultobj = SWIG_From_int((int)(result));
16597 }
d55e5bfc
RD
16598 return resultobj;
16599 fail:
16600 return NULL;
16601}
16602
16603
8ac8dba0 16604static PyObject *_wrap_BookCtrlBase_SetPageImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16605 PyObject *resultobj;
8ac8dba0 16606 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16607 size_t arg2 ;
16608 int arg3 ;
16609 bool result;
16610 PyObject * obj0 = 0 ;
16611 PyObject * obj1 = 0 ;
16612 PyObject * obj2 = 0 ;
16613 char *kwnames[] = {
16614 (char *) "self",(char *) "n",(char *) "imageId", NULL
16615 };
16616
8ac8dba0 16617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
16618 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16619 if (SWIG_arg_fail(1)) SWIG_fail;
16620 {
16621 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16622 if (SWIG_arg_fail(2)) SWIG_fail;
16623 }
16624 {
16625 arg3 = (int)(SWIG_As_int(obj2));
16626 if (SWIG_arg_fail(3)) SWIG_fail;
16627 }
d55e5bfc
RD
16628 {
16629 PyThreadState* __tstate = wxPyBeginAllowThreads();
16630 result = (bool)(arg1)->SetPageImage(arg2,arg3);
16631
16632 wxPyEndAllowThreads(__tstate);
16633 if (PyErr_Occurred()) SWIG_fail;
16634 }
16635 {
16636 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16637 }
16638 return resultobj;
16639 fail:
16640 return NULL;
16641}
16642
16643
8ac8dba0 16644static PyObject *_wrap_BookCtrlBase_SetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16645 PyObject *resultobj;
8ac8dba0 16646 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16647 wxSize *arg2 = 0 ;
16648 wxSize temp2 ;
16649 PyObject * obj0 = 0 ;
16650 PyObject * obj1 = 0 ;
16651 char *kwnames[] = {
16652 (char *) "self",(char *) "size", NULL
16653 };
16654
8ac8dba0 16655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16656 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16657 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16658 {
16659 arg2 = &temp2;
16660 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16661 }
16662 {
16663 PyThreadState* __tstate = wxPyBeginAllowThreads();
16664 (arg1)->SetPageSize((wxSize const &)*arg2);
16665
16666 wxPyEndAllowThreads(__tstate);
16667 if (PyErr_Occurred()) SWIG_fail;
16668 }
16669 Py_INCREF(Py_None); resultobj = Py_None;
16670 return resultobj;
16671 fail:
16672 return NULL;
16673}
16674
16675
8ac8dba0 16676static PyObject *_wrap_BookCtrlBase_CalcSizeFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16677 PyObject *resultobj;
8ac8dba0 16678 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16679 wxSize *arg2 = 0 ;
16680 wxSize result;
16681 wxSize temp2 ;
16682 PyObject * obj0 = 0 ;
16683 PyObject * obj1 = 0 ;
16684 char *kwnames[] = {
16685 (char *) "self",(char *) "sizePage", NULL
16686 };
16687
8ac8dba0 16688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16689 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16690 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16691 {
16692 arg2 = &temp2;
16693 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16694 }
16695 {
16696 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 16697 result = ((wxBookCtrlBase const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
d55e5bfc
RD
16698
16699 wxPyEndAllowThreads(__tstate);
16700 if (PyErr_Occurred()) SWIG_fail;
16701 }
16702 {
16703 wxSize * resultptr;
093d3ff1 16704 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
16705 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16706 }
16707 return resultobj;
16708 fail:
16709 return NULL;
16710}
16711
16712
8ac8dba0 16713static PyObject *_wrap_BookCtrlBase_DeletePage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16714 PyObject *resultobj;
8ac8dba0 16715 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16716 size_t arg2 ;
16717 bool result;
16718 PyObject * obj0 = 0 ;
16719 PyObject * obj1 = 0 ;
16720 char *kwnames[] = {
16721 (char *) "self",(char *) "n", NULL
16722 };
16723
8ac8dba0 16724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_DeletePage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16725 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16726 if (SWIG_arg_fail(1)) SWIG_fail;
16727 {
16728 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16729 if (SWIG_arg_fail(2)) SWIG_fail;
16730 }
d55e5bfc
RD
16731 {
16732 PyThreadState* __tstate = wxPyBeginAllowThreads();
16733 result = (bool)(arg1)->DeletePage(arg2);
16734
16735 wxPyEndAllowThreads(__tstate);
16736 if (PyErr_Occurred()) SWIG_fail;
16737 }
16738 {
16739 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16740 }
16741 return resultobj;
16742 fail:
16743 return NULL;
16744}
16745
16746
8ac8dba0 16747static PyObject *_wrap_BookCtrlBase_RemovePage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16748 PyObject *resultobj;
8ac8dba0 16749 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16750 size_t arg2 ;
16751 bool result;
16752 PyObject * obj0 = 0 ;
16753 PyObject * obj1 = 0 ;
16754 char *kwnames[] = {
16755 (char *) "self",(char *) "n", NULL
16756 };
16757
8ac8dba0 16758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_RemovePage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16759 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16760 if (SWIG_arg_fail(1)) SWIG_fail;
16761 {
16762 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16763 if (SWIG_arg_fail(2)) SWIG_fail;
16764 }
d55e5bfc
RD
16765 {
16766 PyThreadState* __tstate = wxPyBeginAllowThreads();
16767 result = (bool)(arg1)->RemovePage(arg2);
16768
16769 wxPyEndAllowThreads(__tstate);
16770 if (PyErr_Occurred()) SWIG_fail;
16771 }
16772 {
16773 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16774 }
16775 return resultobj;
16776 fail:
16777 return NULL;
16778}
16779
16780
8ac8dba0 16781static PyObject *_wrap_BookCtrlBase_DeleteAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16782 PyObject *resultobj;
8ac8dba0 16783 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16784 bool result;
16785 PyObject * obj0 = 0 ;
16786 char *kwnames[] = {
16787 (char *) "self", NULL
16788 };
16789
8ac8dba0 16790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_DeleteAllPages",kwnames,&obj0)) goto fail;
093d3ff1
RD
16791 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16792 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16793 {
16794 PyThreadState* __tstate = wxPyBeginAllowThreads();
16795 result = (bool)(arg1)->DeleteAllPages();
16796
16797 wxPyEndAllowThreads(__tstate);
16798 if (PyErr_Occurred()) SWIG_fail;
16799 }
16800 {
16801 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16802 }
16803 return resultobj;
16804 fail:
16805 return NULL;
16806}
16807
16808
8ac8dba0 16809static PyObject *_wrap_BookCtrlBase_AddPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16810 PyObject *resultobj;
8ac8dba0 16811 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16812 wxWindow *arg2 = (wxWindow *) 0 ;
16813 wxString *arg3 = 0 ;
ae8162c8 16814 bool arg4 = (bool) false ;
d55e5bfc
RD
16815 int arg5 = (int) -1 ;
16816 bool result;
ae8162c8 16817 bool temp3 = false ;
d55e5bfc
RD
16818 PyObject * obj0 = 0 ;
16819 PyObject * obj1 = 0 ;
16820 PyObject * obj2 = 0 ;
16821 PyObject * obj3 = 0 ;
16822 PyObject * obj4 = 0 ;
16823 char *kwnames[] = {
16824 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16825 };
16826
8ac8dba0 16827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
16828 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16829 if (SWIG_arg_fail(1)) SWIG_fail;
16830 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16831 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
16832 {
16833 arg3 = wxString_in_helper(obj2);
16834 if (arg3 == NULL) SWIG_fail;
ae8162c8 16835 temp3 = true;
d55e5bfc
RD
16836 }
16837 if (obj3) {
093d3ff1
RD
16838 {
16839 arg4 = (bool)(SWIG_As_bool(obj3));
16840 if (SWIG_arg_fail(4)) SWIG_fail;
16841 }
d55e5bfc
RD
16842 }
16843 if (obj4) {
093d3ff1
RD
16844 {
16845 arg5 = (int)(SWIG_As_int(obj4));
16846 if (SWIG_arg_fail(5)) SWIG_fail;
16847 }
d55e5bfc
RD
16848 }
16849 {
16850 PyThreadState* __tstate = wxPyBeginAllowThreads();
16851 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
16852
16853 wxPyEndAllowThreads(__tstate);
16854 if (PyErr_Occurred()) SWIG_fail;
16855 }
16856 {
16857 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16858 }
16859 {
16860 if (temp3)
16861 delete arg3;
16862 }
16863 return resultobj;
16864 fail:
16865 {
16866 if (temp3)
16867 delete arg3;
16868 }
16869 return NULL;
16870}
16871
16872
8ac8dba0 16873static PyObject *_wrap_BookCtrlBase_InsertPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16874 PyObject *resultobj;
8ac8dba0 16875 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16876 size_t arg2 ;
16877 wxWindow *arg3 = (wxWindow *) 0 ;
16878 wxString *arg4 = 0 ;
ae8162c8 16879 bool arg5 = (bool) false ;
d55e5bfc
RD
16880 int arg6 = (int) -1 ;
16881 bool result;
ae8162c8 16882 bool temp4 = false ;
d55e5bfc
RD
16883 PyObject * obj0 = 0 ;
16884 PyObject * obj1 = 0 ;
16885 PyObject * obj2 = 0 ;
16886 PyObject * obj3 = 0 ;
16887 PyObject * obj4 = 0 ;
16888 PyObject * obj5 = 0 ;
16889 char *kwnames[] = {
16890 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16891 };
16892
8ac8dba0 16893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
16894 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16895 if (SWIG_arg_fail(1)) SWIG_fail;
16896 {
16897 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16898 if (SWIG_arg_fail(2)) SWIG_fail;
16899 }
16900 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16901 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
16902 {
16903 arg4 = wxString_in_helper(obj3);
16904 if (arg4 == NULL) SWIG_fail;
ae8162c8 16905 temp4 = true;
d55e5bfc
RD
16906 }
16907 if (obj4) {
093d3ff1
RD
16908 {
16909 arg5 = (bool)(SWIG_As_bool(obj4));
16910 if (SWIG_arg_fail(5)) SWIG_fail;
16911 }
d55e5bfc
RD
16912 }
16913 if (obj5) {
093d3ff1
RD
16914 {
16915 arg6 = (int)(SWIG_As_int(obj5));
16916 if (SWIG_arg_fail(6)) SWIG_fail;
16917 }
d55e5bfc
RD
16918 }
16919 {
16920 PyThreadState* __tstate = wxPyBeginAllowThreads();
16921 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
16922
16923 wxPyEndAllowThreads(__tstate);
16924 if (PyErr_Occurred()) SWIG_fail;
16925 }
16926 {
16927 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16928 }
16929 {
16930 if (temp4)
16931 delete arg4;
16932 }
16933 return resultobj;
16934 fail:
16935 {
16936 if (temp4)
16937 delete arg4;
16938 }
16939 return NULL;
16940}
16941
16942
8ac8dba0 16943static PyObject *_wrap_BookCtrlBase_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16944 PyObject *resultobj;
8ac8dba0 16945 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16946 size_t arg2 ;
16947 int result;
16948 PyObject * obj0 = 0 ;
16949 PyObject * obj1 = 0 ;
16950 char *kwnames[] = {
16951 (char *) "self",(char *) "n", NULL
16952 };
16953
8ac8dba0 16954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16955 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16956 if (SWIG_arg_fail(1)) SWIG_fail;
16957 {
16958 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16959 if (SWIG_arg_fail(2)) SWIG_fail;
16960 }
d55e5bfc
RD
16961 {
16962 PyThreadState* __tstate = wxPyBeginAllowThreads();
16963 result = (int)(arg1)->SetSelection(arg2);
16964
16965 wxPyEndAllowThreads(__tstate);
16966 if (PyErr_Occurred()) SWIG_fail;
16967 }
093d3ff1
RD
16968 {
16969 resultobj = SWIG_From_int((int)(result));
16970 }
d55e5bfc
RD
16971 return resultobj;
16972 fail:
16973 return NULL;
16974}
16975
16976
8ac8dba0 16977static PyObject *_wrap_BookCtrlBase_AdvanceSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16978 PyObject *resultobj;
8ac8dba0 16979 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
ae8162c8 16980 bool arg2 = (bool) true ;
d55e5bfc
RD
16981 PyObject * obj0 = 0 ;
16982 PyObject * obj1 = 0 ;
16983 char *kwnames[] = {
16984 (char *) "self",(char *) "forward", NULL
16985 };
16986
8ac8dba0 16987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16988 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16989 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 16990 if (obj1) {
093d3ff1
RD
16991 {
16992 arg2 = (bool)(SWIG_As_bool(obj1));
16993 if (SWIG_arg_fail(2)) SWIG_fail;
16994 }
d55e5bfc
RD
16995 }
16996 {
16997 PyThreadState* __tstate = wxPyBeginAllowThreads();
16998 (arg1)->AdvanceSelection(arg2);
16999
17000 wxPyEndAllowThreads(__tstate);
17001 if (PyErr_Occurred()) SWIG_fail;
17002 }
17003 Py_INCREF(Py_None); resultobj = Py_None;
17004 return resultobj;
17005 fail:
17006 return NULL;
17007}
17008
17009
8ac8dba0 17010static PyObject *_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 17011 PyObject *resultobj;
093d3ff1 17012 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
17013 wxVisualAttributes result;
17014 PyObject * obj0 = 0 ;
17015 char *kwnames[] = {
17016 (char *) "variant", NULL
17017 };
17018
8ac8dba0 17019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
f20a2e1f 17020 if (obj0) {
093d3ff1
RD
17021 {
17022 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
17023 if (SWIG_arg_fail(1)) SWIG_fail;
17024 }
f20a2e1f
RD
17025 }
17026 {
19272049 17027 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f 17028 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 17029 result = wxBookCtrlBase::GetClassDefaultAttributes((wxWindowVariant )arg1);
f20a2e1f
RD
17030
17031 wxPyEndAllowThreads(__tstate);
110da5b0 17032 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
17033 }
17034 {
17035 wxVisualAttributes * resultptr;
093d3ff1 17036 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
17037 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
17038 }
17039 return resultobj;
17040 fail:
17041 return NULL;
17042}
17043
17044
8ac8dba0 17045static PyObject * BookCtrlBase_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
17046 PyObject *obj;
17047 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8ac8dba0 17048 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBase, obj);
d55e5bfc
RD
17049 Py_INCREF(obj);
17050 return Py_BuildValue((char *)"");
17051}
8ac8dba0 17052static PyObject *_wrap_new_BookCtrlBaseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17053 PyObject *resultobj;
17054 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17055 int arg2 = (int) 0 ;
17056 int arg3 = (int) -1 ;
17057 int arg4 = (int) -1 ;
8ac8dba0 17058 wxBookCtrlBaseEvent *result;
d55e5bfc
RD
17059 PyObject * obj0 = 0 ;
17060 PyObject * obj1 = 0 ;
17061 PyObject * obj2 = 0 ;
17062 PyObject * obj3 = 0 ;
17063 char *kwnames[] = {
17064 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17065 };
17066
8ac8dba0 17067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d55e5bfc 17068 if (obj0) {
093d3ff1
RD
17069 {
17070 arg1 = (wxEventType)(SWIG_As_int(obj0));
17071 if (SWIG_arg_fail(1)) SWIG_fail;
17072 }
d55e5bfc
RD
17073 }
17074 if (obj1) {
093d3ff1
RD
17075 {
17076 arg2 = (int)(SWIG_As_int(obj1));
17077 if (SWIG_arg_fail(2)) SWIG_fail;
17078 }
d55e5bfc
RD
17079 }
17080 if (obj2) {
093d3ff1
RD
17081 {
17082 arg3 = (int)(SWIG_As_int(obj2));
17083 if (SWIG_arg_fail(3)) SWIG_fail;
17084 }
d55e5bfc
RD
17085 }
17086 if (obj3) {
093d3ff1
RD
17087 {
17088 arg4 = (int)(SWIG_As_int(obj3));
17089 if (SWIG_arg_fail(4)) SWIG_fail;
17090 }
d55e5bfc
RD
17091 }
17092 {
17093 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 17094 result = (wxBookCtrlBaseEvent *)new wxBookCtrlBaseEvent(arg1,arg2,arg3,arg4);
d55e5bfc
RD
17095
17096 wxPyEndAllowThreads(__tstate);
17097 if (PyErr_Occurred()) SWIG_fail;
17098 }
8ac8dba0 17099 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlBaseEvent, 1);
d55e5bfc
RD
17100 return resultobj;
17101 fail:
17102 return NULL;
17103}
17104
17105
8ac8dba0 17106static PyObject *_wrap_BookCtrlBaseEvent_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 17107 PyObject *resultobj;
8ac8dba0 17108 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
d55e5bfc
RD
17109 int result;
17110 PyObject * obj0 = 0 ;
17111 char *kwnames[] = {
17112 (char *) "self", NULL
17113 };
17114
8ac8dba0 17115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBaseEvent_GetSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
17116 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
17117 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17118 {
17119 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 17120 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetSelection();
d55e5bfc
RD
17121
17122 wxPyEndAllowThreads(__tstate);
17123 if (PyErr_Occurred()) SWIG_fail;
17124 }
093d3ff1
RD
17125 {
17126 resultobj = SWIG_From_int((int)(result));
17127 }
d55e5bfc
RD
17128 return resultobj;
17129 fail:
17130 return NULL;
17131}
17132
17133
8ac8dba0 17134static PyObject *_wrap_BookCtrlBaseEvent_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 17135 PyObject *resultobj;
8ac8dba0 17136 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
d55e5bfc
RD
17137 int arg2 ;
17138 PyObject * obj0 = 0 ;
17139 PyObject * obj1 = 0 ;
17140 char *kwnames[] = {
17141 (char *) "self",(char *) "nSel", NULL
17142 };
17143
8ac8dba0 17144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17145 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
17146 if (SWIG_arg_fail(1)) SWIG_fail;
17147 {
17148 arg2 = (int)(SWIG_As_int(obj1));
17149 if (SWIG_arg_fail(2)) SWIG_fail;
17150 }
d55e5bfc
RD
17151 {
17152 PyThreadState* __tstate = wxPyBeginAllowThreads();
17153 (arg1)->SetSelection(arg2);
17154
17155 wxPyEndAllowThreads(__tstate);
17156 if (PyErr_Occurred()) SWIG_fail;
17157 }
17158 Py_INCREF(Py_None); resultobj = Py_None;
17159 return resultobj;
17160 fail:
17161 return NULL;
17162}
17163
17164
8ac8dba0 17165static PyObject *_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 17166 PyObject *resultobj;
8ac8dba0 17167 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
d55e5bfc
RD
17168 int result;
17169 PyObject * obj0 = 0 ;
17170 char *kwnames[] = {
17171 (char *) "self", NULL
17172 };
17173
8ac8dba0 17174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBaseEvent_GetOldSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
17175 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
17176 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17177 {
17178 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 17179 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetOldSelection();
d55e5bfc
RD
17180
17181 wxPyEndAllowThreads(__tstate);
17182 if (PyErr_Occurred()) SWIG_fail;
17183 }
093d3ff1
RD
17184 {
17185 resultobj = SWIG_From_int((int)(result));
17186 }
d55e5bfc
RD
17187 return resultobj;
17188 fail:
17189 return NULL;
17190}
17191
17192
8ac8dba0 17193static PyObject *_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 17194 PyObject *resultobj;
8ac8dba0 17195 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
d55e5bfc
RD
17196 int arg2 ;
17197 PyObject * obj0 = 0 ;
17198 PyObject * obj1 = 0 ;
17199 char *kwnames[] = {
17200 (char *) "self",(char *) "nOldSel", NULL
17201 };
17202
8ac8dba0 17203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17204 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
17205 if (SWIG_arg_fail(1)) SWIG_fail;
17206 {
17207 arg2 = (int)(SWIG_As_int(obj1));
17208 if (SWIG_arg_fail(2)) SWIG_fail;
17209 }
d55e5bfc
RD
17210 {
17211 PyThreadState* __tstate = wxPyBeginAllowThreads();
17212 (arg1)->SetOldSelection(arg2);
17213
17214 wxPyEndAllowThreads(__tstate);
17215 if (PyErr_Occurred()) SWIG_fail;
17216 }
17217 Py_INCREF(Py_None); resultobj = Py_None;
17218 return resultobj;
17219 fail:
17220 return NULL;
17221}
17222
17223
8ac8dba0 17224static PyObject * BookCtrlBaseEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
17225 PyObject *obj;
17226 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8ac8dba0 17227 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBaseEvent, obj);
d55e5bfc
RD
17228 Py_INCREF(obj);
17229 return Py_BuildValue((char *)"");
17230}
c32bde28 17231static PyObject *_wrap_new_Notebook(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17232 PyObject *resultobj;
17233 wxWindow *arg1 = (wxWindow *) 0 ;
17234 int arg2 = (int) -1 ;
17235 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17236 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17237 wxSize const &arg4_defvalue = wxDefaultSize ;
17238 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17239 long arg5 = (long) 0 ;
51b83b37 17240 wxString const &arg6_defvalue = wxPyNotebookNameStr ;
d55e5bfc
RD
17241 wxString *arg6 = (wxString *) &arg6_defvalue ;
17242 wxNotebook *result;
17243 wxPoint temp3 ;
17244 wxSize temp4 ;
ae8162c8 17245 bool temp6 = false ;
d55e5bfc
RD
17246 PyObject * obj0 = 0 ;
17247 PyObject * obj1 = 0 ;
17248 PyObject * obj2 = 0 ;
17249 PyObject * obj3 = 0 ;
17250 PyObject * obj4 = 0 ;
17251 PyObject * obj5 = 0 ;
17252 char *kwnames[] = {
17253 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17254 };
17255
17256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Notebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
17257 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17258 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 17259 if (obj1) {
093d3ff1
RD
17260 {
17261 arg2 = (int)(SWIG_As_int(obj1));
17262 if (SWIG_arg_fail(2)) SWIG_fail;
17263 }
d55e5bfc
RD
17264 }
17265 if (obj2) {
17266 {
17267 arg3 = &temp3;
17268 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17269 }
17270 }
17271 if (obj3) {
17272 {
17273 arg4 = &temp4;
17274 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17275 }
17276 }
17277 if (obj4) {
093d3ff1
RD
17278 {
17279 arg5 = (long)(SWIG_As_long(obj4));
17280 if (SWIG_arg_fail(5)) SWIG_fail;
17281 }
d55e5bfc
RD
17282 }
17283 if (obj5) {
17284 {
17285 arg6 = wxString_in_helper(obj5);
17286 if (arg6 == NULL) SWIG_fail;
ae8162c8 17287 temp6 = true;
d55e5bfc
RD
17288 }
17289 }
17290 {
0439c23b 17291 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17292 PyThreadState* __tstate = wxPyBeginAllowThreads();
17293 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17294
17295 wxPyEndAllowThreads(__tstate);
110da5b0 17296 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 17297 }
b0f7404b 17298 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebook, 1);
d55e5bfc
RD
17299 {
17300 if (temp6)
17301 delete arg6;
17302 }
17303 return resultobj;
17304 fail:
17305 {
17306 if (temp6)
17307 delete arg6;
17308 }
17309 return NULL;
17310}
17311
17312
c32bde28 17313static PyObject *_wrap_new_PreNotebook(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17314 PyObject *resultobj;
17315 wxNotebook *result;
17316 char *kwnames[] = {
17317 NULL
17318 };
17319
17320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreNotebook",kwnames)) goto fail;
17321 {
0439c23b 17322 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17323 PyThreadState* __tstate = wxPyBeginAllowThreads();
17324 result = (wxNotebook *)new wxNotebook();
17325
17326 wxPyEndAllowThreads(__tstate);
110da5b0 17327 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 17328 }
b0f7404b 17329 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebook, 1);
d55e5bfc
RD
17330 return resultobj;
17331 fail:
17332 return NULL;
17333}
17334
17335
c32bde28 17336static PyObject *_wrap_Notebook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17337 PyObject *resultobj;
17338 wxNotebook *arg1 = (wxNotebook *) 0 ;
17339 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 17340 int arg3 = (int) -1 ;
d55e5bfc
RD
17341 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17342 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17343 wxSize const &arg5_defvalue = wxDefaultSize ;
17344 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17345 long arg6 = (long) 0 ;
51b83b37 17346 wxString const &arg7_defvalue = wxPyNotebookNameStr ;
d55e5bfc
RD
17347 wxString *arg7 = (wxString *) &arg7_defvalue ;
17348 bool result;
17349 wxPoint temp4 ;
17350 wxSize temp5 ;
ae8162c8 17351 bool temp7 = false ;
d55e5bfc
RD
17352 PyObject * obj0 = 0 ;
17353 PyObject * obj1 = 0 ;
17354 PyObject * obj2 = 0 ;
17355 PyObject * obj3 = 0 ;
17356 PyObject * obj4 = 0 ;
17357 PyObject * obj5 = 0 ;
17358 PyObject * obj6 = 0 ;
17359 char *kwnames[] = {
17360 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17361 };
17362
248ed943 17363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Notebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
17364 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17365 if (SWIG_arg_fail(1)) SWIG_fail;
17366 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17367 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 17368 if (obj2) {
093d3ff1
RD
17369 {
17370 arg3 = (int)(SWIG_As_int(obj2));
17371 if (SWIG_arg_fail(3)) SWIG_fail;
17372 }
248ed943 17373 }
d55e5bfc
RD
17374 if (obj3) {
17375 {
17376 arg4 = &temp4;
17377 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17378 }
17379 }
17380 if (obj4) {
17381 {
17382 arg5 = &temp5;
17383 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17384 }
17385 }
17386 if (obj5) {
093d3ff1
RD
17387 {
17388 arg6 = (long)(SWIG_As_long(obj5));
17389 if (SWIG_arg_fail(6)) SWIG_fail;
17390 }
d55e5bfc
RD
17391 }
17392 if (obj6) {
17393 {
17394 arg7 = wxString_in_helper(obj6);
17395 if (arg7 == NULL) SWIG_fail;
ae8162c8 17396 temp7 = true;
d55e5bfc
RD
17397 }
17398 }
17399 {
17400 PyThreadState* __tstate = wxPyBeginAllowThreads();
17401 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17402
17403 wxPyEndAllowThreads(__tstate);
17404 if (PyErr_Occurred()) SWIG_fail;
17405 }
17406 {
17407 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17408 }
17409 {
17410 if (temp7)
17411 delete arg7;
17412 }
17413 return resultobj;
17414 fail:
17415 {
17416 if (temp7)
17417 delete arg7;
17418 }
17419 return NULL;
17420}
17421
17422
c32bde28 17423static PyObject *_wrap_Notebook_GetRowCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17424 PyObject *resultobj;
17425 wxNotebook *arg1 = (wxNotebook *) 0 ;
17426 int result;
17427 PyObject * obj0 = 0 ;
17428 char *kwnames[] = {
17429 (char *) "self", NULL
17430 };
17431
17432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetRowCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
17433 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17434 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17435 {
17436 PyThreadState* __tstate = wxPyBeginAllowThreads();
17437 result = (int)((wxNotebook const *)arg1)->GetRowCount();
17438
17439 wxPyEndAllowThreads(__tstate);
17440 if (PyErr_Occurred()) SWIG_fail;
17441 }
093d3ff1
RD
17442 {
17443 resultobj = SWIG_From_int((int)(result));
17444 }
d55e5bfc
RD
17445 return resultobj;
17446 fail:
17447 return NULL;
17448}
17449
17450
c32bde28 17451static PyObject *_wrap_Notebook_SetPadding(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17452 PyObject *resultobj;
17453 wxNotebook *arg1 = (wxNotebook *) 0 ;
17454 wxSize *arg2 = 0 ;
17455 wxSize temp2 ;
17456 PyObject * obj0 = 0 ;
17457 PyObject * obj1 = 0 ;
17458 char *kwnames[] = {
17459 (char *) "self",(char *) "padding", NULL
17460 };
17461
17462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17463 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17464 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17465 {
17466 arg2 = &temp2;
17467 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17468 }
17469 {
17470 PyThreadState* __tstate = wxPyBeginAllowThreads();
17471 (arg1)->SetPadding((wxSize const &)*arg2);
17472
17473 wxPyEndAllowThreads(__tstate);
17474 if (PyErr_Occurred()) SWIG_fail;
17475 }
17476 Py_INCREF(Py_None); resultobj = Py_None;
17477 return resultobj;
17478 fail:
17479 return NULL;
17480}
17481
17482
c32bde28 17483static PyObject *_wrap_Notebook_SetTabSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17484 PyObject *resultobj;
17485 wxNotebook *arg1 = (wxNotebook *) 0 ;
17486 wxSize *arg2 = 0 ;
17487 wxSize temp2 ;
17488 PyObject * obj0 = 0 ;
17489 PyObject * obj1 = 0 ;
17490 char *kwnames[] = {
17491 (char *) "self",(char *) "sz", NULL
17492 };
17493
17494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17495 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17496 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17497 {
17498 arg2 = &temp2;
17499 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17500 }
17501 {
17502 PyThreadState* __tstate = wxPyBeginAllowThreads();
17503 (arg1)->SetTabSize((wxSize const &)*arg2);
17504
17505 wxPyEndAllowThreads(__tstate);
17506 if (PyErr_Occurred()) SWIG_fail;
17507 }
17508 Py_INCREF(Py_None); resultobj = Py_None;
17509 return resultobj;
17510 fail:
17511 return NULL;
17512}
17513
17514
c32bde28 17515static PyObject *_wrap_Notebook_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17516 PyObject *resultobj;
17517 wxNotebook *arg1 = (wxNotebook *) 0 ;
17518 wxPoint *arg2 = 0 ;
17519 long *arg3 = (long *) 0 ;
17520 int result;
17521 wxPoint temp2 ;
17522 long temp3 ;
c32bde28 17523 int res3 = 0 ;
d55e5bfc
RD
17524 PyObject * obj0 = 0 ;
17525 PyObject * obj1 = 0 ;
17526 char *kwnames[] = {
17527 (char *) "self",(char *) "pt", NULL
17528 };
17529
c32bde28 17530 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 17531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_HitTest",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17532 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17533 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17534 {
17535 arg2 = &temp2;
17536 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
17537 }
17538 {
17539 PyThreadState* __tstate = wxPyBeginAllowThreads();
17540 result = (int)((wxNotebook const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
17541
17542 wxPyEndAllowThreads(__tstate);
17543 if (PyErr_Occurred()) SWIG_fail;
17544 }
093d3ff1
RD
17545 {
17546 resultobj = SWIG_From_int((int)(result));
17547 }
c32bde28
RD
17548 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17549 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
d55e5bfc
RD
17550 return resultobj;
17551 fail:
17552 return NULL;
17553}
17554
17555
c32bde28 17556static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17557 PyObject *resultobj;
17558 wxNotebook *arg1 = (wxNotebook *) 0 ;
17559 wxSize *arg2 = 0 ;
17560 wxSize result;
17561 wxSize temp2 ;
17562 PyObject * obj0 = 0 ;
17563 PyObject * obj1 = 0 ;
17564 char *kwnames[] = {
17565 (char *) "self",(char *) "sizePage", NULL
17566 };
17567
17568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17569 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17570 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17571 {
17572 arg2 = &temp2;
17573 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17574 }
17575 {
17576 PyThreadState* __tstate = wxPyBeginAllowThreads();
17577 result = ((wxNotebook const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
17578
17579 wxPyEndAllowThreads(__tstate);
17580 if (PyErr_Occurred()) SWIG_fail;
17581 }
17582 {
17583 wxSize * resultptr;
093d3ff1 17584 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
17585 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17586 }
17587 return resultobj;
17588 fail:
17589 return NULL;
17590}
17591
17592
c32bde28 17593static PyObject *_wrap_Notebook_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 17594 PyObject *resultobj;
093d3ff1 17595 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
17596 wxVisualAttributes result;
17597 PyObject * obj0 = 0 ;
17598 char *kwnames[] = {
17599 (char *) "variant", NULL
17600 };
17601
17602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
17603 if (obj0) {
093d3ff1
RD
17604 {
17605 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
17606 if (SWIG_arg_fail(1)) SWIG_fail;
17607 }
f20a2e1f
RD
17608 }
17609 {
19272049 17610 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
17611 PyThreadState* __tstate = wxPyBeginAllowThreads();
17612 result = wxNotebook::GetClassDefaultAttributes((wxWindowVariant )arg1);
17613
17614 wxPyEndAllowThreads(__tstate);
110da5b0 17615 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
17616 }
17617 {
17618 wxVisualAttributes * resultptr;
093d3ff1 17619 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
17620 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
17621 }
17622 return resultobj;
17623 fail:
17624 return NULL;
17625}
17626
17627
c32bde28 17628static PyObject * Notebook_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
17629 PyObject *obj;
17630 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17631 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook, obj);
17632 Py_INCREF(obj);
17633 return Py_BuildValue((char *)"");
17634}
c32bde28 17635static PyObject *_wrap_new_NotebookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17636 PyObject *resultobj;
17637 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17638 int arg2 = (int) 0 ;
17639 int arg3 = (int) -1 ;
17640 int arg4 = (int) -1 ;
17641 wxNotebookEvent *result;
17642 PyObject * obj0 = 0 ;
17643 PyObject * obj1 = 0 ;
17644 PyObject * obj2 = 0 ;
17645 PyObject * obj3 = 0 ;
17646 char *kwnames[] = {
17647 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17648 };
17649
17650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_NotebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17651 if (obj0) {
093d3ff1
RD
17652 {
17653 arg1 = (wxEventType)(SWIG_As_int(obj0));
17654 if (SWIG_arg_fail(1)) SWIG_fail;
17655 }
d55e5bfc
RD
17656 }
17657 if (obj1) {
093d3ff1
RD
17658 {
17659 arg2 = (int)(SWIG_As_int(obj1));
17660 if (SWIG_arg_fail(2)) SWIG_fail;
17661 }
d55e5bfc
RD
17662 }
17663 if (obj2) {
093d3ff1
RD
17664 {
17665 arg3 = (int)(SWIG_As_int(obj2));
17666 if (SWIG_arg_fail(3)) SWIG_fail;
17667 }
d55e5bfc
RD
17668 }
17669 if (obj3) {
093d3ff1
RD
17670 {
17671 arg4 = (int)(SWIG_As_int(obj3));
17672 if (SWIG_arg_fail(4)) SWIG_fail;
17673 }
d55e5bfc
RD
17674 }
17675 {
17676 PyThreadState* __tstate = wxPyBeginAllowThreads();
17677 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
17678
17679 wxPyEndAllowThreads(__tstate);
17680 if (PyErr_Occurred()) SWIG_fail;
17681 }
17682 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookEvent, 1);
17683 return resultobj;
17684 fail:
17685 return NULL;
17686}
17687
17688
c32bde28 17689static PyObject * NotebookEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
17690 PyObject *obj;
17691 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17692 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj);
17693 Py_INCREF(obj);
17694 return Py_BuildValue((char *)"");
17695}
c32bde28 17696static PyObject *_wrap_new_Listbook(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17697 PyObject *resultobj;
17698 wxWindow *arg1 = (wxWindow *) 0 ;
17699 int arg2 = (int) -1 ;
17700 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17701 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17702 wxSize const &arg4_defvalue = wxDefaultSize ;
17703 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17704 long arg5 = (long) 0 ;
17705 wxString const &arg6_defvalue = wxPyEmptyString ;
17706 wxString *arg6 = (wxString *) &arg6_defvalue ;
17707 wxListbook *result;
17708 wxPoint temp3 ;
17709 wxSize temp4 ;
ae8162c8 17710 bool temp6 = false ;
d55e5bfc
RD
17711 PyObject * obj0 = 0 ;
17712 PyObject * obj1 = 0 ;
17713 PyObject * obj2 = 0 ;
17714 PyObject * obj3 = 0 ;
17715 PyObject * obj4 = 0 ;
17716 PyObject * obj5 = 0 ;
17717 char *kwnames[] = {
17718 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17719 };
17720
17721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Listbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
17722 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17723 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 17724 if (obj1) {
093d3ff1
RD
17725 {
17726 arg2 = (int)(SWIG_As_int(obj1));
17727 if (SWIG_arg_fail(2)) SWIG_fail;
17728 }
d55e5bfc
RD
17729 }
17730 if (obj2) {
17731 {
17732 arg3 = &temp3;
17733 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17734 }
17735 }
17736 if (obj3) {
17737 {
17738 arg4 = &temp4;
17739 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17740 }
17741 }
17742 if (obj4) {
093d3ff1
RD
17743 {
17744 arg5 = (long)(SWIG_As_long(obj4));
17745 if (SWIG_arg_fail(5)) SWIG_fail;
17746 }
d55e5bfc
RD
17747 }
17748 if (obj5) {
17749 {
17750 arg6 = wxString_in_helper(obj5);
17751 if (arg6 == NULL) SWIG_fail;
ae8162c8 17752 temp6 = true;
d55e5bfc
RD
17753 }
17754 }
17755 {
0439c23b 17756 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17757 PyThreadState* __tstate = wxPyBeginAllowThreads();
17758 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17759
17760 wxPyEndAllowThreads(__tstate);
110da5b0 17761 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
17762 }
17763 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
17764 {
17765 if (temp6)
17766 delete arg6;
17767 }
17768 return resultobj;
17769 fail:
17770 {
17771 if (temp6)
17772 delete arg6;
17773 }
17774 return NULL;
17775}
17776
17777
c32bde28 17778static PyObject *_wrap_new_PreListbook(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17779 PyObject *resultobj;
17780 wxListbook *result;
17781 char *kwnames[] = {
17782 NULL
17783 };
17784
17785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail;
17786 {
0439c23b 17787 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17788 PyThreadState* __tstate = wxPyBeginAllowThreads();
17789 result = (wxListbook *)new wxListbook();
17790
17791 wxPyEndAllowThreads(__tstate);
110da5b0 17792 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
17793 }
17794 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
17795 return resultobj;
17796 fail:
17797 return NULL;
17798}
17799
17800
c32bde28 17801static PyObject *_wrap_Listbook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17802 PyObject *resultobj;
17803 wxListbook *arg1 = (wxListbook *) 0 ;
17804 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 17805 int arg3 = (int) -1 ;
d55e5bfc
RD
17806 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17807 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17808 wxSize const &arg5_defvalue = wxDefaultSize ;
17809 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17810 long arg6 = (long) 0 ;
17811 wxString const &arg7_defvalue = wxPyEmptyString ;
17812 wxString *arg7 = (wxString *) &arg7_defvalue ;
17813 bool result;
17814 wxPoint temp4 ;
17815 wxSize temp5 ;
ae8162c8 17816 bool temp7 = false ;
d55e5bfc
RD
17817 PyObject * obj0 = 0 ;
17818 PyObject * obj1 = 0 ;
17819 PyObject * obj2 = 0 ;
17820 PyObject * obj3 = 0 ;
17821 PyObject * obj4 = 0 ;
17822 PyObject * obj5 = 0 ;
17823 PyObject * obj6 = 0 ;
17824 char *kwnames[] = {
17825 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17826 };
17827
248ed943 17828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Listbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
17829 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListbook, SWIG_POINTER_EXCEPTION | 0);
17830 if (SWIG_arg_fail(1)) SWIG_fail;
17831 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17832 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 17833 if (obj2) {
093d3ff1
RD
17834 {
17835 arg3 = (int)(SWIG_As_int(obj2));
17836 if (SWIG_arg_fail(3)) SWIG_fail;
17837 }
248ed943 17838 }
d55e5bfc
RD
17839 if (obj3) {
17840 {
17841 arg4 = &temp4;
17842 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17843 }
17844 }
17845 if (obj4) {
17846 {
17847 arg5 = &temp5;
17848 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17849 }
17850 }
17851 if (obj5) {
093d3ff1
RD
17852 {
17853 arg6 = (long)(SWIG_As_long(obj5));
17854 if (SWIG_arg_fail(6)) SWIG_fail;
17855 }
d55e5bfc
RD
17856 }
17857 if (obj6) {
17858 {
17859 arg7 = wxString_in_helper(obj6);
17860 if (arg7 == NULL) SWIG_fail;
ae8162c8 17861 temp7 = true;
d55e5bfc
RD
17862 }
17863 }
17864 {
17865 PyThreadState* __tstate = wxPyBeginAllowThreads();
17866 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17867
17868 wxPyEndAllowThreads(__tstate);
17869 if (PyErr_Occurred()) SWIG_fail;
17870 }
17871 {
17872 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17873 }
17874 {
17875 if (temp7)
17876 delete arg7;
17877 }
17878 return resultobj;
17879 fail:
17880 {
17881 if (temp7)
17882 delete arg7;
17883 }
17884 return NULL;
17885}
17886
17887
c32bde28 17888static PyObject *_wrap_Listbook_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17889 PyObject *resultobj;
17890 wxListbook *arg1 = (wxListbook *) 0 ;
17891 bool result;
17892 PyObject * obj0 = 0 ;
17893 char *kwnames[] = {
17894 (char *) "self", NULL
17895 };
17896
17897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_IsVertical",kwnames,&obj0)) goto fail;
093d3ff1
RD
17898 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListbook, SWIG_POINTER_EXCEPTION | 0);
17899 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17900 {
17901 PyThreadState* __tstate = wxPyBeginAllowThreads();
17902 result = (bool)((wxListbook const *)arg1)->IsVertical();
17903
17904 wxPyEndAllowThreads(__tstate);
17905 if (PyErr_Occurred()) SWIG_fail;
17906 }
17907 {
17908 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17909 }
17910 return resultobj;
17911 fail:
17912 return NULL;
17913}
17914
17915
1fbf26be
RD
17916static PyObject *_wrap_Listbook_GetListView(PyObject *, PyObject *args, PyObject *kwargs) {
17917 PyObject *resultobj;
17918 wxListbook *arg1 = (wxListbook *) 0 ;
17919 wxListView *result;
17920 PyObject * obj0 = 0 ;
17921 char *kwnames[] = {
17922 (char *) "self", NULL
17923 };
17924
17925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_GetListView",kwnames,&obj0)) goto fail;
093d3ff1
RD
17926 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListbook, SWIG_POINTER_EXCEPTION | 0);
17927 if (SWIG_arg_fail(1)) SWIG_fail;
1fbf26be
RD
17928 {
17929 PyThreadState* __tstate = wxPyBeginAllowThreads();
17930 result = (wxListView *)(arg1)->GetListView();
17931
17932 wxPyEndAllowThreads(__tstate);
17933 if (PyErr_Occurred()) SWIG_fail;
17934 }
17935 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 0);
17936 return resultobj;
17937 fail:
17938 return NULL;
17939}
17940
17941
c32bde28 17942static PyObject * Listbook_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
17943 PyObject *obj;
17944 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17945 SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
17946 Py_INCREF(obj);
17947 return Py_BuildValue((char *)"");
17948}
c32bde28 17949static PyObject *_wrap_new_ListbookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17950 PyObject *resultobj;
17951 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17952 int arg2 = (int) 0 ;
17953 int arg3 = (int) -1 ;
17954 int arg4 = (int) -1 ;
17955 wxListbookEvent *result;
17956 PyObject * obj0 = 0 ;
17957 PyObject * obj1 = 0 ;
17958 PyObject * obj2 = 0 ;
17959 PyObject * obj3 = 0 ;
17960 char *kwnames[] = {
17961 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17962 };
17963
17964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ListbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17965 if (obj0) {
093d3ff1
RD
17966 {
17967 arg1 = (wxEventType)(SWIG_As_int(obj0));
17968 if (SWIG_arg_fail(1)) SWIG_fail;
17969 }
d55e5bfc
RD
17970 }
17971 if (obj1) {
093d3ff1
RD
17972 {
17973 arg2 = (int)(SWIG_As_int(obj1));
17974 if (SWIG_arg_fail(2)) SWIG_fail;
17975 }
d55e5bfc
RD
17976 }
17977 if (obj2) {
093d3ff1
RD
17978 {
17979 arg3 = (int)(SWIG_As_int(obj2));
17980 if (SWIG_arg_fail(3)) SWIG_fail;
17981 }
d55e5bfc
RD
17982 }
17983 if (obj3) {
093d3ff1
RD
17984 {
17985 arg4 = (int)(SWIG_As_int(obj3));
17986 if (SWIG_arg_fail(4)) SWIG_fail;
17987 }
d55e5bfc
RD
17988 }
17989 {
17990 PyThreadState* __tstate = wxPyBeginAllowThreads();
17991 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
17992
17993 wxPyEndAllowThreads(__tstate);
17994 if (PyErr_Occurred()) SWIG_fail;
17995 }
17996 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbookEvent, 1);
17997 return resultobj;
17998 fail:
17999 return NULL;
18000}
18001
18002
c32bde28 18003static PyObject * ListbookEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
18004 PyObject *obj;
18005 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18006 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
18007 Py_INCREF(obj);
18008 return Py_BuildValue((char *)"");
18009}
ae8162c8
RD
18010static PyObject *_wrap_new_Choicebook(PyObject *, PyObject *args, PyObject *kwargs) {
18011 PyObject *resultobj;
18012 wxWindow *arg1 = (wxWindow *) 0 ;
18013 int arg2 ;
18014 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18015 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18016 wxSize const &arg4_defvalue = wxDefaultSize ;
18017 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
18018 long arg5 = (long) 0 ;
18019 wxString const &arg6_defvalue = wxPyEmptyString ;
18020 wxString *arg6 = (wxString *) &arg6_defvalue ;
18021 wxChoicebook *result;
18022 wxPoint temp3 ;
18023 wxSize temp4 ;
18024 bool temp6 = false ;
18025 PyObject * obj0 = 0 ;
18026 PyObject * obj1 = 0 ;
18027 PyObject * obj2 = 0 ;
18028 PyObject * obj3 = 0 ;
18029 PyObject * obj4 = 0 ;
18030 PyObject * obj5 = 0 ;
18031 char *kwnames[] = {
18032 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18033 };
18034
18035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Choicebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
18036 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18037 if (SWIG_arg_fail(1)) SWIG_fail;
18038 {
18039 arg2 = (int)(SWIG_As_int(obj1));
18040 if (SWIG_arg_fail(2)) SWIG_fail;
18041 }
ae8162c8
RD
18042 if (obj2) {
18043 {
18044 arg3 = &temp3;
18045 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18046 }
18047 }
18048 if (obj3) {
18049 {
18050 arg4 = &temp4;
18051 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
18052 }
18053 }
18054 if (obj4) {
093d3ff1
RD
18055 {
18056 arg5 = (long)(SWIG_As_long(obj4));
18057 if (SWIG_arg_fail(5)) SWIG_fail;
18058 }
ae8162c8
RD
18059 }
18060 if (obj5) {
18061 {
18062 arg6 = wxString_in_helper(obj5);
18063 if (arg6 == NULL) SWIG_fail;
18064 temp6 = true;
18065 }
18066 }
18067 {
18068 if (!wxPyCheckForApp()) SWIG_fail;
18069 PyThreadState* __tstate = wxPyBeginAllowThreads();
18070 result = (wxChoicebook *)new wxChoicebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
18071
18072 wxPyEndAllowThreads(__tstate);
18073 if (PyErr_Occurred()) SWIG_fail;
18074 }
18075 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebook, 1);
18076 {
18077 if (temp6)
18078 delete arg6;
18079 }
18080 return resultobj;
18081 fail:
18082 {
18083 if (temp6)
18084 delete arg6;
18085 }
18086 return NULL;
18087}
18088
18089
18090static PyObject *_wrap_new_PreChoicebook(PyObject *, PyObject *args, PyObject *kwargs) {
18091 PyObject *resultobj;
18092 wxChoicebook *result;
18093 char *kwnames[] = {
18094 NULL
18095 };
18096
18097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoicebook",kwnames)) goto fail;
18098 {
18099 if (!wxPyCheckForApp()) SWIG_fail;
18100 PyThreadState* __tstate = wxPyBeginAllowThreads();
18101 result = (wxChoicebook *)new wxChoicebook();
18102
18103 wxPyEndAllowThreads(__tstate);
18104 if (PyErr_Occurred()) SWIG_fail;
18105 }
18106 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebook, 1);
18107 return resultobj;
18108 fail:
18109 return NULL;
18110}
18111
18112
18113static PyObject *_wrap_Choicebook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
18114 PyObject *resultobj;
18115 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
18116 wxWindow *arg2 = (wxWindow *) 0 ;
18117 int arg3 ;
18118 wxPoint const &arg4_defvalue = wxDefaultPosition ;
18119 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
18120 wxSize const &arg5_defvalue = wxDefaultSize ;
18121 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
18122 long arg6 = (long) 0 ;
18123 wxString const &arg7_defvalue = wxPyEmptyString ;
18124 wxString *arg7 = (wxString *) &arg7_defvalue ;
18125 bool result;
18126 wxPoint temp4 ;
18127 wxSize temp5 ;
18128 bool temp7 = false ;
18129 PyObject * obj0 = 0 ;
18130 PyObject * obj1 = 0 ;
18131 PyObject * obj2 = 0 ;
18132 PyObject * obj3 = 0 ;
18133 PyObject * obj4 = 0 ;
18134 PyObject * obj5 = 0 ;
18135 PyObject * obj6 = 0 ;
18136 char *kwnames[] = {
18137 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18138 };
18139
18140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Choicebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
18141 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
18142 if (SWIG_arg_fail(1)) SWIG_fail;
18143 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18144 if (SWIG_arg_fail(2)) SWIG_fail;
18145 {
18146 arg3 = (int)(SWIG_As_int(obj2));
18147 if (SWIG_arg_fail(3)) SWIG_fail;
18148 }
ae8162c8
RD
18149 if (obj3) {
18150 {
18151 arg4 = &temp4;
18152 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
18153 }
18154 }
18155 if (obj4) {
18156 {
18157 arg5 = &temp5;
18158 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
18159 }
18160 }
18161 if (obj5) {
093d3ff1
RD
18162 {
18163 arg6 = (long)(SWIG_As_long(obj5));
18164 if (SWIG_arg_fail(6)) SWIG_fail;
18165 }
ae8162c8
RD
18166 }
18167 if (obj6) {
18168 {
18169 arg7 = wxString_in_helper(obj6);
18170 if (arg7 == NULL) SWIG_fail;
18171 temp7 = true;
18172 }
18173 }
18174 {
18175 PyThreadState* __tstate = wxPyBeginAllowThreads();
18176 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
18177
18178 wxPyEndAllowThreads(__tstate);
18179 if (PyErr_Occurred()) SWIG_fail;
18180 }
18181 {
18182 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18183 }
18184 {
18185 if (temp7)
18186 delete arg7;
18187 }
18188 return resultobj;
18189 fail:
18190 {
18191 if (temp7)
18192 delete arg7;
18193 }
18194 return NULL;
18195}
18196
18197
18198static PyObject *_wrap_Choicebook_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
18199 PyObject *resultobj;
18200 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
18201 bool result;
18202 PyObject * obj0 = 0 ;
18203 char *kwnames[] = {
18204 (char *) "self", NULL
18205 };
18206
18207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_IsVertical",kwnames,&obj0)) goto fail;
093d3ff1
RD
18208 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
18209 if (SWIG_arg_fail(1)) SWIG_fail;
ae8162c8
RD
18210 {
18211 PyThreadState* __tstate = wxPyBeginAllowThreads();
18212 result = (bool)((wxChoicebook const *)arg1)->IsVertical();
18213
18214 wxPyEndAllowThreads(__tstate);
18215 if (PyErr_Occurred()) SWIG_fail;
18216 }
18217 {
18218 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18219 }
18220 return resultobj;
18221 fail:
18222 return NULL;
18223}
18224
18225
18226static PyObject *_wrap_Choicebook_DeleteAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
18227 PyObject *resultobj;
18228 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
18229 bool result;
18230 PyObject * obj0 = 0 ;
18231 char *kwnames[] = {
18232 (char *) "self", NULL
18233 };
18234
18235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_DeleteAllPages",kwnames,&obj0)) goto fail;
093d3ff1
RD
18236 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
18237 if (SWIG_arg_fail(1)) SWIG_fail;
ae8162c8
RD
18238 {
18239 PyThreadState* __tstate = wxPyBeginAllowThreads();
18240 result = (bool)(arg1)->DeleteAllPages();
18241
18242 wxPyEndAllowThreads(__tstate);
18243 if (PyErr_Occurred()) SWIG_fail;
18244 }
18245 {
18246 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18247 }
18248 return resultobj;
18249 fail:
18250 return NULL;
18251}
18252
18253
18254static PyObject * Choicebook_swigregister(PyObject *, PyObject *args) {
18255 PyObject *obj;
18256 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18257 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebook, obj);
18258 Py_INCREF(obj);
18259 return Py_BuildValue((char *)"");
18260}
18261static PyObject *_wrap_new_ChoicebookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
18262 PyObject *resultobj;
18263 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
18264 int arg2 = (int) 0 ;
18265 int arg3 = (int) -1 ;
18266 int arg4 = (int) -1 ;
18267 wxChoicebookEvent *result;
18268 PyObject * obj0 = 0 ;
18269 PyObject * obj1 = 0 ;
18270 PyObject * obj2 = 0 ;
18271 PyObject * obj3 = 0 ;
18272 char *kwnames[] = {
18273 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
18274 };
18275
18276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ChoicebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18277 if (obj0) {
093d3ff1
RD
18278 {
18279 arg1 = (wxEventType)(SWIG_As_int(obj0));
18280 if (SWIG_arg_fail(1)) SWIG_fail;
18281 }
ae8162c8
RD
18282 }
18283 if (obj1) {
093d3ff1
RD
18284 {
18285 arg2 = (int)(SWIG_As_int(obj1));
18286 if (SWIG_arg_fail(2)) SWIG_fail;
18287 }
ae8162c8
RD
18288 }
18289 if (obj2) {
093d3ff1
RD
18290 {
18291 arg3 = (int)(SWIG_As_int(obj2));
18292 if (SWIG_arg_fail(3)) SWIG_fail;
18293 }
ae8162c8
RD
18294 }
18295 if (obj3) {
093d3ff1
RD
18296 {
18297 arg4 = (int)(SWIG_As_int(obj3));
18298 if (SWIG_arg_fail(4)) SWIG_fail;
18299 }
ae8162c8
RD
18300 }
18301 {
18302 PyThreadState* __tstate = wxPyBeginAllowThreads();
18303 result = (wxChoicebookEvent *)new wxChoicebookEvent(arg1,arg2,arg3,arg4);
18304
18305 wxPyEndAllowThreads(__tstate);
18306 if (PyErr_Occurred()) SWIG_fail;
18307 }
18308 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebookEvent, 1);
18309 return resultobj;
18310 fail:
18311 return NULL;
18312}
18313
18314
18315static PyObject * ChoicebookEvent_swigregister(PyObject *, PyObject *args) {
18316 PyObject *obj;
18317 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18318 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebookEvent, obj);
18319 Py_INCREF(obj);
18320 return Py_BuildValue((char *)"");
18321}
c32bde28 18322static PyObject *_wrap_new_BookCtrlSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 18323 PyObject *resultobj;
8ac8dba0 18324 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
18325 wxBookCtrlSizer *result;
18326 PyObject * obj0 = 0 ;
18327 char *kwnames[] = {
18328 (char *) "nb", NULL
18329 };
18330
18331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BookCtrlSizer",kwnames,&obj0)) goto fail;
093d3ff1
RD
18332 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
18333 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18334 {
18335 PyThreadState* __tstate = wxPyBeginAllowThreads();
18336 result = (wxBookCtrlSizer *)new wxBookCtrlSizer(arg1);
18337
18338 wxPyEndAllowThreads(__tstate);
18339 if (PyErr_Occurred()) SWIG_fail;
18340 }
18341 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlSizer, 1);
18342 return resultobj;
18343 fail:
18344 return NULL;
18345}
18346
18347
c32bde28 18348static PyObject *_wrap_BookCtrlSizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18349 PyObject *resultobj;
18350 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
18351 PyObject * obj0 = 0 ;
18352 char *kwnames[] = {
18353 (char *) "self", NULL
18354 };
18355
18356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames,&obj0)) goto fail;
093d3ff1
RD
18357 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlSizer, SWIG_POINTER_EXCEPTION | 0);
18358 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18359 {
18360 PyThreadState* __tstate = wxPyBeginAllowThreads();
18361 (arg1)->RecalcSizes();
18362
18363 wxPyEndAllowThreads(__tstate);
18364 if (PyErr_Occurred()) SWIG_fail;
18365 }
18366 Py_INCREF(Py_None); resultobj = Py_None;
18367 return resultobj;
18368 fail:
18369 return NULL;
18370}
18371
18372
c32bde28 18373static PyObject *_wrap_BookCtrlSizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18374 PyObject *resultobj;
18375 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
18376 wxSize result;
18377 PyObject * obj0 = 0 ;
18378 char *kwnames[] = {
18379 (char *) "self", NULL
18380 };
18381
18382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_CalcMin",kwnames,&obj0)) goto fail;
093d3ff1
RD
18383 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlSizer, SWIG_POINTER_EXCEPTION | 0);
18384 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18385 {
18386 PyThreadState* __tstate = wxPyBeginAllowThreads();
18387 result = (arg1)->CalcMin();
18388
18389 wxPyEndAllowThreads(__tstate);
18390 if (PyErr_Occurred()) SWIG_fail;
18391 }
18392 {
18393 wxSize * resultptr;
093d3ff1 18394 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
18395 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18396 }
18397 return resultobj;
18398 fail:
18399 return NULL;
18400}
18401
18402
c32bde28 18403static PyObject *_wrap_BookCtrlSizer_GetControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18404 PyObject *resultobj;
18405 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
8ac8dba0 18406 wxBookCtrlBase *result;
d55e5bfc
RD
18407 PyObject * obj0 = 0 ;
18408 char *kwnames[] = {
18409 (char *) "self", NULL
18410 };
18411
18412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_GetControl",kwnames,&obj0)) goto fail;
093d3ff1
RD
18413 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlSizer, SWIG_POINTER_EXCEPTION | 0);
18414 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18415 {
18416 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 18417 result = (wxBookCtrlBase *)(arg1)->GetControl();
d55e5bfc
RD
18418
18419 wxPyEndAllowThreads(__tstate);
18420 if (PyErr_Occurred()) SWIG_fail;
18421 }
8ac8dba0 18422 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlBase, 0);
d55e5bfc
RD
18423 return resultobj;
18424 fail:
18425 return NULL;
18426}
18427
18428
c32bde28 18429static PyObject * BookCtrlSizer_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
18430 PyObject *obj;
18431 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18432 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer, obj);
18433 Py_INCREF(obj);
18434 return Py_BuildValue((char *)"");
18435}
c32bde28 18436static PyObject *_wrap_new_NotebookSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18437 PyObject *resultobj;
18438 wxNotebook *arg1 = (wxNotebook *) 0 ;
18439 wxNotebookSizer *result;
18440 PyObject * obj0 = 0 ;
18441 char *kwnames[] = {
18442 (char *) "nb", NULL
18443 };
18444
18445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_NotebookSizer",kwnames,&obj0)) goto fail;
093d3ff1
RD
18446 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
18447 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18448 {
18449 PyThreadState* __tstate = wxPyBeginAllowThreads();
18450 result = (wxNotebookSizer *)new wxNotebookSizer(arg1);
18451
18452 wxPyEndAllowThreads(__tstate);
18453 if (PyErr_Occurred()) SWIG_fail;
18454 }
18455 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookSizer, 1);
18456 return resultobj;
18457 fail:
18458 return NULL;
18459}
18460
18461
c32bde28 18462static PyObject *_wrap_NotebookSizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18463 PyObject *resultobj;
18464 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
18465 PyObject * obj0 = 0 ;
18466 char *kwnames[] = {
18467 (char *) "self", NULL
18468 };
18469
18470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_RecalcSizes",kwnames,&obj0)) goto fail;
093d3ff1
RD
18471 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebookSizer, SWIG_POINTER_EXCEPTION | 0);
18472 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18473 {
18474 PyThreadState* __tstate = wxPyBeginAllowThreads();
18475 (arg1)->RecalcSizes();
18476
18477 wxPyEndAllowThreads(__tstate);
18478 if (PyErr_Occurred()) SWIG_fail;
18479 }
18480 Py_INCREF(Py_None); resultobj = Py_None;
18481 return resultobj;
18482 fail:
18483 return NULL;
18484}
18485
18486
c32bde28 18487static PyObject *_wrap_NotebookSizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18488 PyObject *resultobj;
18489 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
18490 wxSize result;
18491 PyObject * obj0 = 0 ;
18492 char *kwnames[] = {
18493 (char *) "self", NULL
18494 };
18495
18496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_CalcMin",kwnames,&obj0)) goto fail;
093d3ff1
RD
18497 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebookSizer, SWIG_POINTER_EXCEPTION | 0);
18498 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18499 {
18500 PyThreadState* __tstate = wxPyBeginAllowThreads();
18501 result = (arg1)->CalcMin();
18502
18503 wxPyEndAllowThreads(__tstate);
18504 if (PyErr_Occurred()) SWIG_fail;
18505 }
18506 {
18507 wxSize * resultptr;
093d3ff1 18508 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
18509 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18510 }
18511 return resultobj;
18512 fail:
18513 return NULL;
18514}
18515
18516
c32bde28 18517static PyObject *_wrap_NotebookSizer_GetNotebook(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18518 PyObject *resultobj;
18519 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
18520 wxNotebook *result;
18521 PyObject * obj0 = 0 ;
18522 char *kwnames[] = {
18523 (char *) "self", NULL
18524 };
18525
18526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_GetNotebook",kwnames,&obj0)) goto fail;
093d3ff1
RD
18527 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebookSizer, SWIG_POINTER_EXCEPTION | 0);
18528 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18529 {
18530 PyThreadState* __tstate = wxPyBeginAllowThreads();
18531 result = (wxNotebook *)(arg1)->GetNotebook();
18532
18533 wxPyEndAllowThreads(__tstate);
18534 if (PyErr_Occurred()) SWIG_fail;
18535 }
18536 {
412d302d 18537 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
18538 }
18539 return resultobj;
18540 fail:
18541 return NULL;
18542}
18543
18544
c32bde28 18545static PyObject * NotebookSizer_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
18546 PyObject *obj;
18547 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18548 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer, obj);
18549 Py_INCREF(obj);
18550 return Py_BuildValue((char *)"");
18551}
c32bde28 18552static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18553 PyObject *resultobj;
18554 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18555 int result;
18556 PyObject * obj0 = 0 ;
18557 char *kwnames[] = {
18558 (char *) "self", NULL
18559 };
18560
18561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetId",kwnames,&obj0)) goto fail;
093d3ff1
RD
18562 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18563 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18564 {
18565 PyThreadState* __tstate = wxPyBeginAllowThreads();
18566 result = (int)(arg1)->GetId();
18567
18568 wxPyEndAllowThreads(__tstate);
18569 if (PyErr_Occurred()) SWIG_fail;
18570 }
093d3ff1
RD
18571 {
18572 resultobj = SWIG_From_int((int)(result));
18573 }
d55e5bfc
RD
18574 return resultobj;
18575 fail:
18576 return NULL;
18577}
18578
18579
c32bde28 18580static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18581 PyObject *resultobj;
18582 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18583 wxControl *result;
18584 PyObject * obj0 = 0 ;
18585 char *kwnames[] = {
18586 (char *) "self", NULL
18587 };
18588
18589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetControl",kwnames,&obj0)) goto fail;
093d3ff1
RD
18590 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18591 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18592 {
18593 PyThreadState* __tstate = wxPyBeginAllowThreads();
18594 result = (wxControl *)(arg1)->GetControl();
18595
18596 wxPyEndAllowThreads(__tstate);
18597 if (PyErr_Occurred()) SWIG_fail;
18598 }
18599 {
412d302d 18600 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
18601 }
18602 return resultobj;
18603 fail:
18604 return NULL;
18605}
18606
18607
c32bde28 18608static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18609 PyObject *resultobj;
18610 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18611 wxToolBarBase *result;
18612 PyObject * obj0 = 0 ;
18613 char *kwnames[] = {
18614 (char *) "self", NULL
18615 };
18616
18617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetToolBar",kwnames,&obj0)) goto fail;
093d3ff1
RD
18618 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18619 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18620 {
18621 PyThreadState* __tstate = wxPyBeginAllowThreads();
18622 result = (wxToolBarBase *)(arg1)->GetToolBar();
18623
18624 wxPyEndAllowThreads(__tstate);
18625 if (PyErr_Occurred()) SWIG_fail;
18626 }
18627 {
412d302d 18628 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
18629 }
18630 return resultobj;
18631 fail:
18632 return NULL;
18633}
18634
18635
c32bde28 18636static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18637 PyObject *resultobj;
18638 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18639 int result;
18640 PyObject * obj0 = 0 ;
18641 char *kwnames[] = {
18642 (char *) "self", NULL
18643 };
18644
18645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsButton",kwnames,&obj0)) goto fail;
093d3ff1
RD
18646 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18647 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18648 {
18649 PyThreadState* __tstate = wxPyBeginAllowThreads();
18650 result = (int)(arg1)->IsButton();
18651
18652 wxPyEndAllowThreads(__tstate);
18653 if (PyErr_Occurred()) SWIG_fail;
18654 }
093d3ff1
RD
18655 {
18656 resultobj = SWIG_From_int((int)(result));
18657 }
d55e5bfc
RD
18658 return resultobj;
18659 fail:
18660 return NULL;
18661}
18662
18663
c32bde28 18664static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18665 PyObject *resultobj;
18666 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18667 int result;
18668 PyObject * obj0 = 0 ;
18669 char *kwnames[] = {
18670 (char *) "self", NULL
18671 };
18672
18673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsControl",kwnames,&obj0)) goto fail;
093d3ff1
RD
18674 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18675 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18676 {
18677 PyThreadState* __tstate = wxPyBeginAllowThreads();
18678 result = (int)(arg1)->IsControl();
18679
18680 wxPyEndAllowThreads(__tstate);
18681 if (PyErr_Occurred()) SWIG_fail;
18682 }
093d3ff1
RD
18683 {
18684 resultobj = SWIG_From_int((int)(result));
18685 }
d55e5bfc
RD
18686 return resultobj;
18687 fail:
18688 return NULL;
18689}
18690
18691
c32bde28 18692static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18693 PyObject *resultobj;
18694 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18695 int result;
18696 PyObject * obj0 = 0 ;
18697 char *kwnames[] = {
18698 (char *) "self", NULL
18699 };
18700
18701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsSeparator",kwnames,&obj0)) goto fail;
093d3ff1
RD
18702 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18703 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18704 {
18705 PyThreadState* __tstate = wxPyBeginAllowThreads();
18706 result = (int)(arg1)->IsSeparator();
18707
18708 wxPyEndAllowThreads(__tstate);
18709 if (PyErr_Occurred()) SWIG_fail;
18710 }
093d3ff1
RD
18711 {
18712 resultobj = SWIG_From_int((int)(result));
18713 }
d55e5bfc
RD
18714 return resultobj;
18715 fail:
18716 return NULL;
18717}
18718
18719
c32bde28 18720static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18721 PyObject *resultobj;
18722 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18723 int result;
18724 PyObject * obj0 = 0 ;
18725 char *kwnames[] = {
18726 (char *) "self", NULL
18727 };
18728
18729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetStyle",kwnames,&obj0)) goto fail;
093d3ff1
RD
18730 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18731 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18732 {
18733 PyThreadState* __tstate = wxPyBeginAllowThreads();
18734 result = (int)(arg1)->GetStyle();
18735
18736 wxPyEndAllowThreads(__tstate);
18737 if (PyErr_Occurred()) SWIG_fail;
18738 }
093d3ff1
RD
18739 {
18740 resultobj = SWIG_From_int((int)(result));
18741 }
d55e5bfc
RD
18742 return resultobj;
18743 fail:
18744 return NULL;
18745}
18746
18747
c32bde28 18748static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18749 PyObject *resultobj;
18750 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
093d3ff1 18751 wxItemKind result;
d55e5bfc
RD
18752 PyObject * obj0 = 0 ;
18753 char *kwnames[] = {
18754 (char *) "self", NULL
18755 };
18756
18757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetKind",kwnames,&obj0)) goto fail;
093d3ff1
RD
18758 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18759 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18760 {
18761 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 18762 result = (wxItemKind)(arg1)->GetKind();
d55e5bfc
RD
18763
18764 wxPyEndAllowThreads(__tstate);
18765 if (PyErr_Occurred()) SWIG_fail;
18766 }
093d3ff1 18767 resultobj = SWIG_From_int((result));
d55e5bfc
RD
18768 return resultobj;
18769 fail:
18770 return NULL;
18771}
18772
18773
c32bde28 18774static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18775 PyObject *resultobj;
18776 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18777 bool result;
18778 PyObject * obj0 = 0 ;
18779 char *kwnames[] = {
18780 (char *) "self", NULL
18781 };
18782
18783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsEnabled",kwnames,&obj0)) goto fail;
093d3ff1
RD
18784 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18785 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18786 {
18787 PyThreadState* __tstate = wxPyBeginAllowThreads();
18788 result = (bool)(arg1)->IsEnabled();
18789
18790 wxPyEndAllowThreads(__tstate);
18791 if (PyErr_Occurred()) SWIG_fail;
18792 }
18793 {
18794 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18795 }
18796 return resultobj;
18797 fail:
18798 return NULL;
18799}
18800
18801
c32bde28 18802static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18803 PyObject *resultobj;
18804 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18805 bool result;
18806 PyObject * obj0 = 0 ;
18807 char *kwnames[] = {
18808 (char *) "self", NULL
18809 };
18810
18811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsToggled",kwnames,&obj0)) goto fail;
093d3ff1
RD
18812 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18813 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18814 {
18815 PyThreadState* __tstate = wxPyBeginAllowThreads();
18816 result = (bool)(arg1)->IsToggled();
18817
18818 wxPyEndAllowThreads(__tstate);
18819 if (PyErr_Occurred()) SWIG_fail;
18820 }
18821 {
18822 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18823 }
18824 return resultobj;
18825 fail:
18826 return NULL;
18827}
18828
18829
c32bde28 18830static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18831 PyObject *resultobj;
18832 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18833 bool result;
18834 PyObject * obj0 = 0 ;
18835 char *kwnames[] = {
18836 (char *) "self", NULL
18837 };
18838
18839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames,&obj0)) goto fail;
093d3ff1
RD
18840 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18841 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18842 {
18843 PyThreadState* __tstate = wxPyBeginAllowThreads();
18844 result = (bool)(arg1)->CanBeToggled();
18845
18846 wxPyEndAllowThreads(__tstate);
18847 if (PyErr_Occurred()) SWIG_fail;
18848 }
18849 {
18850 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18851 }
18852 return resultobj;
18853 fail:
18854 return NULL;
18855}
18856
18857
c32bde28 18858static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18859 PyObject *resultobj;
18860 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18861 wxBitmap *result;
18862 PyObject * obj0 = 0 ;
18863 char *kwnames[] = {
18864 (char *) "self", NULL
18865 };
18866
18867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames,&obj0)) goto fail;
093d3ff1
RD
18868 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18869 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18870 {
18871 PyThreadState* __tstate = wxPyBeginAllowThreads();
18872 {
18873 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
18874 result = (wxBitmap *) &_result_ref;
18875 }
18876
18877 wxPyEndAllowThreads(__tstate);
18878 if (PyErr_Occurred()) SWIG_fail;
18879 }
18880 {
18881 wxBitmap* resultptr = new wxBitmap(*result);
18882 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
18883 }
18884 return resultobj;
18885 fail:
18886 return NULL;
18887}
18888
18889
c32bde28 18890static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18891 PyObject *resultobj;
18892 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18893 wxBitmap *result;
18894 PyObject * obj0 = 0 ;
18895 char *kwnames[] = {
18896 (char *) "self", NULL
18897 };
18898
18899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames,&obj0)) goto fail;
093d3ff1
RD
18900 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18901 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18902 {
18903 PyThreadState* __tstate = wxPyBeginAllowThreads();
18904 {
18905 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
18906 result = (wxBitmap *) &_result_ref;
18907 }
18908
18909 wxPyEndAllowThreads(__tstate);
18910 if (PyErr_Occurred()) SWIG_fail;
18911 }
18912 {
18913 wxBitmap* resultptr = new wxBitmap(*result);
18914 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
18915 }
18916 return resultobj;
18917 fail:
18918 return NULL;
18919}
18920
18921
c32bde28 18922static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18923 PyObject *resultobj;
18924 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18925 wxBitmap result;
18926 PyObject * obj0 = 0 ;
18927 char *kwnames[] = {
18928 (char *) "self", NULL
18929 };
18930
18931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetBitmap",kwnames,&obj0)) goto fail;
093d3ff1
RD
18932 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18933 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18934 {
18935 PyThreadState* __tstate = wxPyBeginAllowThreads();
18936 result = (arg1)->GetBitmap();
18937
18938 wxPyEndAllowThreads(__tstate);
18939 if (PyErr_Occurred()) SWIG_fail;
18940 }
18941 {
18942 wxBitmap * resultptr;
093d3ff1 18943 resultptr = new wxBitmap((wxBitmap &)(result));
d55e5bfc
RD
18944 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
18945 }
18946 return resultobj;
18947 fail:
18948 return NULL;
18949}
18950
18951
c32bde28 18952static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18953 PyObject *resultobj;
18954 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18955 wxString result;
18956 PyObject * obj0 = 0 ;
18957 char *kwnames[] = {
18958 (char *) "self", NULL
18959 };
18960
18961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLabel",kwnames,&obj0)) goto fail;
093d3ff1
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 result = (arg1)->GetLabel();
18967
18968 wxPyEndAllowThreads(__tstate);
18969 if (PyErr_Occurred()) SWIG_fail;
18970 }
18971 {
18972#if wxUSE_UNICODE
18973 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18974#else
18975 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18976#endif
18977 }
18978 return resultobj;
18979 fail:
18980 return NULL;
18981}
18982
18983
c32bde28 18984static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18985 PyObject *resultobj;
18986 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18987 wxString result;
18988 PyObject * obj0 = 0 ;
18989 char *kwnames[] = {
18990 (char *) "self", NULL
18991 };
18992
18993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames,&obj0)) goto fail;
093d3ff1
RD
18994 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18995 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18996 {
18997 PyThreadState* __tstate = wxPyBeginAllowThreads();
18998 result = (arg1)->GetShortHelp();
18999
19000 wxPyEndAllowThreads(__tstate);
19001 if (PyErr_Occurred()) SWIG_fail;
19002 }
19003 {
19004#if wxUSE_UNICODE
19005 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19006#else
19007 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19008#endif
19009 }
19010 return resultobj;
19011 fail:
19012 return NULL;
19013}
19014
19015
c32bde28 19016static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19017 PyObject *resultobj;
19018 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19019 wxString result;
19020 PyObject * obj0 = 0 ;
19021 char *kwnames[] = {
19022 (char *) "self", NULL
19023 };
19024
19025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames,&obj0)) goto fail;
093d3ff1
RD
19026 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19027 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19028 {
19029 PyThreadState* __tstate = wxPyBeginAllowThreads();
19030 result = (arg1)->GetLongHelp();
19031
19032 wxPyEndAllowThreads(__tstate);
19033 if (PyErr_Occurred()) SWIG_fail;
19034 }
19035 {
19036#if wxUSE_UNICODE
19037 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19038#else
19039 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19040#endif
19041 }
19042 return resultobj;
19043 fail:
19044 return NULL;
19045}
19046
19047
c32bde28 19048static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19049 PyObject *resultobj;
19050 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19051 bool arg2 ;
19052 bool result;
19053 PyObject * obj0 = 0 ;
19054 PyObject * obj1 = 0 ;
19055 char *kwnames[] = {
19056 (char *) "self",(char *) "enable", NULL
19057 };
19058
19059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19060 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19061 if (SWIG_arg_fail(1)) SWIG_fail;
19062 {
19063 arg2 = (bool)(SWIG_As_bool(obj1));
19064 if (SWIG_arg_fail(2)) SWIG_fail;
19065 }
d55e5bfc
RD
19066 {
19067 PyThreadState* __tstate = wxPyBeginAllowThreads();
19068 result = (bool)(arg1)->Enable(arg2);
19069
19070 wxPyEndAllowThreads(__tstate);
19071 if (PyErr_Occurred()) SWIG_fail;
19072 }
19073 {
19074 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19075 }
19076 return resultobj;
19077 fail:
19078 return NULL;
19079}
19080
19081
c32bde28 19082static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19083 PyObject *resultobj;
19084 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19085 PyObject * obj0 = 0 ;
19086 char *kwnames[] = {
19087 (char *) "self", NULL
19088 };
19089
19090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Toggle",kwnames,&obj0)) goto fail;
093d3ff1
RD
19091 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19092 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19093 {
19094 PyThreadState* __tstate = wxPyBeginAllowThreads();
19095 (arg1)->Toggle();
19096
19097 wxPyEndAllowThreads(__tstate);
19098 if (PyErr_Occurred()) SWIG_fail;
19099 }
19100 Py_INCREF(Py_None); resultobj = Py_None;
19101 return resultobj;
19102 fail:
19103 return NULL;
19104}
19105
19106
c32bde28 19107static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19108 PyObject *resultobj;
19109 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19110 bool arg2 ;
19111 bool result;
19112 PyObject * obj0 = 0 ;
19113 PyObject * obj1 = 0 ;
19114 char *kwnames[] = {
19115 (char *) "self",(char *) "toggle", NULL
19116 };
19117
19118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19119 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19120 if (SWIG_arg_fail(1)) SWIG_fail;
19121 {
19122 arg2 = (bool)(SWIG_As_bool(obj1));
19123 if (SWIG_arg_fail(2)) SWIG_fail;
19124 }
d55e5bfc
RD
19125 {
19126 PyThreadState* __tstate = wxPyBeginAllowThreads();
19127 result = (bool)(arg1)->SetToggle(arg2);
19128
19129 wxPyEndAllowThreads(__tstate);
19130 if (PyErr_Occurred()) SWIG_fail;
19131 }
19132 {
19133 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19134 }
19135 return resultobj;
19136 fail:
19137 return NULL;
19138}
19139
19140
c32bde28 19141static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19142 PyObject *resultobj;
19143 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19144 wxString *arg2 = 0 ;
19145 bool result;
ae8162c8 19146 bool temp2 = false ;
d55e5bfc
RD
19147 PyObject * obj0 = 0 ;
19148 PyObject * obj1 = 0 ;
19149 char *kwnames[] = {
19150 (char *) "self",(char *) "help", NULL
19151 };
19152
19153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19154 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19155 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19156 {
19157 arg2 = wxString_in_helper(obj1);
19158 if (arg2 == NULL) SWIG_fail;
ae8162c8 19159 temp2 = true;
d55e5bfc
RD
19160 }
19161 {
19162 PyThreadState* __tstate = wxPyBeginAllowThreads();
19163 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
19164
19165 wxPyEndAllowThreads(__tstate);
19166 if (PyErr_Occurred()) SWIG_fail;
19167 }
19168 {
19169 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19170 }
19171 {
19172 if (temp2)
19173 delete arg2;
19174 }
19175 return resultobj;
19176 fail:
19177 {
19178 if (temp2)
19179 delete arg2;
19180 }
19181 return NULL;
19182}
19183
19184
c32bde28 19185static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19186 PyObject *resultobj;
19187 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19188 wxString *arg2 = 0 ;
19189 bool result;
ae8162c8 19190 bool temp2 = false ;
d55e5bfc
RD
19191 PyObject * obj0 = 0 ;
19192 PyObject * obj1 = 0 ;
19193 char *kwnames[] = {
19194 (char *) "self",(char *) "help", NULL
19195 };
19196
19197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19198 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19199 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19200 {
19201 arg2 = wxString_in_helper(obj1);
19202 if (arg2 == NULL) SWIG_fail;
ae8162c8 19203 temp2 = true;
d55e5bfc
RD
19204 }
19205 {
19206 PyThreadState* __tstate = wxPyBeginAllowThreads();
19207 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
19208
19209 wxPyEndAllowThreads(__tstate);
19210 if (PyErr_Occurred()) SWIG_fail;
19211 }
19212 {
19213 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19214 }
19215 {
19216 if (temp2)
19217 delete arg2;
19218 }
19219 return resultobj;
19220 fail:
19221 {
19222 if (temp2)
19223 delete arg2;
19224 }
19225 return NULL;
19226}
19227
19228
c32bde28 19229static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19230 PyObject *resultobj;
19231 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19232 wxBitmap *arg2 = 0 ;
19233 PyObject * obj0 = 0 ;
19234 PyObject * obj1 = 0 ;
19235 char *kwnames[] = {
19236 (char *) "self",(char *) "bmp", NULL
19237 };
19238
19239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19240 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19241 if (SWIG_arg_fail(1)) SWIG_fail;
19242 {
19243 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19244 if (SWIG_arg_fail(2)) SWIG_fail;
19245 if (arg2 == NULL) {
19246 SWIG_null_ref("wxBitmap");
19247 }
19248 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
19249 }
19250 {
19251 PyThreadState* __tstate = wxPyBeginAllowThreads();
19252 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
19253
19254 wxPyEndAllowThreads(__tstate);
19255 if (PyErr_Occurred()) SWIG_fail;
19256 }
19257 Py_INCREF(Py_None); resultobj = Py_None;
19258 return resultobj;
19259 fail:
19260 return NULL;
19261}
19262
19263
c32bde28 19264static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19265 PyObject *resultobj;
19266 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19267 wxBitmap *arg2 = 0 ;
19268 PyObject * obj0 = 0 ;
19269 PyObject * obj1 = 0 ;
19270 char *kwnames[] = {
19271 (char *) "self",(char *) "bmp", NULL
19272 };
19273
19274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19275 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19276 if (SWIG_arg_fail(1)) SWIG_fail;
19277 {
19278 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19279 if (SWIG_arg_fail(2)) SWIG_fail;
19280 if (arg2 == NULL) {
19281 SWIG_null_ref("wxBitmap");
19282 }
19283 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
19284 }
19285 {
19286 PyThreadState* __tstate = wxPyBeginAllowThreads();
19287 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
19288
19289 wxPyEndAllowThreads(__tstate);
19290 if (PyErr_Occurred()) SWIG_fail;
19291 }
19292 Py_INCREF(Py_None); resultobj = Py_None;
19293 return resultobj;
19294 fail:
19295 return NULL;
19296}
19297
19298
c32bde28 19299static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19300 PyObject *resultobj;
19301 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19302 wxString *arg2 = 0 ;
ae8162c8 19303 bool temp2 = false ;
d55e5bfc
RD
19304 PyObject * obj0 = 0 ;
19305 PyObject * obj1 = 0 ;
19306 char *kwnames[] = {
19307 (char *) "self",(char *) "label", NULL
19308 };
19309
19310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19311 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19312 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19313 {
19314 arg2 = wxString_in_helper(obj1);
19315 if (arg2 == NULL) SWIG_fail;
ae8162c8 19316 temp2 = true;
d55e5bfc
RD
19317 }
19318 {
19319 PyThreadState* __tstate = wxPyBeginAllowThreads();
19320 (arg1)->SetLabel((wxString const &)*arg2);
19321
19322 wxPyEndAllowThreads(__tstate);
19323 if (PyErr_Occurred()) SWIG_fail;
19324 }
19325 Py_INCREF(Py_None); resultobj = Py_None;
19326 {
19327 if (temp2)
19328 delete arg2;
19329 }
19330 return resultobj;
19331 fail:
19332 {
19333 if (temp2)
19334 delete arg2;
19335 }
19336 return NULL;
19337}
19338
19339
c32bde28 19340static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19341 PyObject *resultobj;
19342 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19343 PyObject * obj0 = 0 ;
19344 char *kwnames[] = {
19345 (char *) "self", NULL
19346 };
19347
19348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Detach",kwnames,&obj0)) goto fail;
093d3ff1
RD
19349 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19350 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19351 {
19352 PyThreadState* __tstate = wxPyBeginAllowThreads();
19353 (arg1)->Detach();
19354
19355 wxPyEndAllowThreads(__tstate);
19356 if (PyErr_Occurred()) SWIG_fail;
19357 }
19358 Py_INCREF(Py_None); resultobj = Py_None;
19359 return resultobj;
19360 fail:
19361 return NULL;
19362}
19363
19364
c32bde28 19365static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19366 PyObject *resultobj;
19367 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19368 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
19369 PyObject * obj0 = 0 ;
19370 PyObject * obj1 = 0 ;
19371 char *kwnames[] = {
19372 (char *) "self",(char *) "tbar", NULL
19373 };
19374
19375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19376 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19377 if (SWIG_arg_fail(1)) SWIG_fail;
19378 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19379 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
19380 {
19381 PyThreadState* __tstate = wxPyBeginAllowThreads();
19382 (arg1)->Attach(arg2);
19383
19384 wxPyEndAllowThreads(__tstate);
19385 if (PyErr_Occurred()) SWIG_fail;
19386 }
19387 Py_INCREF(Py_None); resultobj = Py_None;
19388 return resultobj;
19389 fail:
19390 return NULL;
19391}
19392
19393
c32bde28 19394static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19395 PyObject *resultobj;
19396 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19397 PyObject *result;
19398 PyObject * obj0 = 0 ;
19399 char *kwnames[] = {
19400 (char *) "self", NULL
19401 };
19402
19403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetClientData",kwnames,&obj0)) goto fail;
093d3ff1
RD
19404 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19405 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19406 {
19407 PyThreadState* __tstate = wxPyBeginAllowThreads();
19408 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
19409
19410 wxPyEndAllowThreads(__tstate);
19411 if (PyErr_Occurred()) SWIG_fail;
19412 }
19413 resultobj = result;
19414 return resultobj;
19415 fail:
19416 return NULL;
19417}
19418
19419
c32bde28 19420static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19421 PyObject *resultobj;
19422 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19423 PyObject *arg2 = (PyObject *) 0 ;
19424 PyObject * obj0 = 0 ;
19425 PyObject * obj1 = 0 ;
19426 char *kwnames[] = {
19427 (char *) "self",(char *) "clientData", NULL
19428 };
19429
19430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19431 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19432 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19433 arg2 = obj1;
19434 {
19435 PyThreadState* __tstate = wxPyBeginAllowThreads();
19436 wxToolBarToolBase_SetClientData(arg1,arg2);
19437
19438 wxPyEndAllowThreads(__tstate);
19439 if (PyErr_Occurred()) SWIG_fail;
19440 }
19441 Py_INCREF(Py_None); resultobj = Py_None;
19442 return resultobj;
19443 fail:
19444 return NULL;
19445}
19446
19447
c32bde28 19448static PyObject * ToolBarToolBase_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
19449 PyObject *obj;
19450 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19451 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase, obj);
19452 Py_INCREF(obj);
19453 return Py_BuildValue((char *)"");
19454}
c32bde28 19455static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19456 PyObject *resultobj;
19457 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19458 int arg2 ;
19459 wxString *arg3 = 0 ;
19460 wxBitmap *arg4 = 0 ;
19461 wxBitmap const &arg5_defvalue = wxNullBitmap ;
19462 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
093d3ff1 19463 wxItemKind arg6 = (wxItemKind) wxITEM_NORMAL ;
d55e5bfc
RD
19464 wxString const &arg7_defvalue = wxPyEmptyString ;
19465 wxString *arg7 = (wxString *) &arg7_defvalue ;
19466 wxString const &arg8_defvalue = wxPyEmptyString ;
19467 wxString *arg8 = (wxString *) &arg8_defvalue ;
19468 PyObject *arg9 = (PyObject *) NULL ;
19469 wxToolBarToolBase *result;
ae8162c8
RD
19470 bool temp3 = false ;
19471 bool temp7 = false ;
19472 bool temp8 = false ;
d55e5bfc
RD
19473 PyObject * obj0 = 0 ;
19474 PyObject * obj1 = 0 ;
19475 PyObject * obj2 = 0 ;
19476 PyObject * obj3 = 0 ;
19477 PyObject * obj4 = 0 ;
19478 PyObject * obj5 = 0 ;
19479 PyObject * obj6 = 0 ;
19480 PyObject * obj7 = 0 ;
19481 PyObject * obj8 = 0 ;
19482 char *kwnames[] = {
19483 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19484 };
19485
19486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
19487 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19488 if (SWIG_arg_fail(1)) SWIG_fail;
19489 {
19490 arg2 = (int)(SWIG_As_int(obj1));
19491 if (SWIG_arg_fail(2)) SWIG_fail;
19492 }
d55e5bfc
RD
19493 {
19494 arg3 = wxString_in_helper(obj2);
19495 if (arg3 == NULL) SWIG_fail;
ae8162c8 19496 temp3 = true;
d55e5bfc 19497 }
093d3ff1
RD
19498 {
19499 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19500 if (SWIG_arg_fail(4)) SWIG_fail;
19501 if (arg4 == NULL) {
19502 SWIG_null_ref("wxBitmap");
19503 }
19504 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc
RD
19505 }
19506 if (obj4) {
093d3ff1
RD
19507 {
19508 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19509 if (SWIG_arg_fail(5)) SWIG_fail;
19510 if (arg5 == NULL) {
19511 SWIG_null_ref("wxBitmap");
19512 }
19513 if (SWIG_arg_fail(5)) SWIG_fail;
d55e5bfc
RD
19514 }
19515 }
19516 if (obj5) {
093d3ff1
RD
19517 {
19518 arg6 = (wxItemKind)(SWIG_As_int(obj5));
19519 if (SWIG_arg_fail(6)) SWIG_fail;
19520 }
d55e5bfc
RD
19521 }
19522 if (obj6) {
19523 {
19524 arg7 = wxString_in_helper(obj6);
19525 if (arg7 == NULL) SWIG_fail;
ae8162c8 19526 temp7 = true;
d55e5bfc
RD
19527 }
19528 }
19529 if (obj7) {
19530 {
19531 arg8 = wxString_in_helper(obj7);
19532 if (arg8 == NULL) SWIG_fail;
ae8162c8 19533 temp8 = true;
d55e5bfc
RD
19534 }
19535 }
19536 if (obj8) {
19537 arg9 = obj8;
19538 }
19539 {
19540 PyThreadState* __tstate = wxPyBeginAllowThreads();
19541 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,(wxItemKind )arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
19542
19543 wxPyEndAllowThreads(__tstate);
19544 if (PyErr_Occurred()) SWIG_fail;
19545 }
19546 {
412d302d 19547 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
19548 }
19549 {
19550 if (temp3)
19551 delete arg3;
19552 }
19553 {
19554 if (temp7)
19555 delete arg7;
19556 }
19557 {
19558 if (temp8)
19559 delete arg8;
19560 }
19561 return resultobj;
19562 fail:
19563 {
19564 if (temp3)
19565 delete arg3;
19566 }
19567 {
19568 if (temp7)
19569 delete arg7;
19570 }
19571 {
19572 if (temp8)
19573 delete arg8;
19574 }
19575 return NULL;
19576}
19577
19578
c32bde28 19579static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19580 PyObject *resultobj;
19581 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19582 size_t arg2 ;
19583 int arg3 ;
19584 wxString *arg4 = 0 ;
19585 wxBitmap *arg5 = 0 ;
19586 wxBitmap const &arg6_defvalue = wxNullBitmap ;
19587 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
093d3ff1 19588 wxItemKind arg7 = (wxItemKind) wxITEM_NORMAL ;
d55e5bfc
RD
19589 wxString const &arg8_defvalue = wxPyEmptyString ;
19590 wxString *arg8 = (wxString *) &arg8_defvalue ;
19591 wxString const &arg9_defvalue = wxPyEmptyString ;
19592 wxString *arg9 = (wxString *) &arg9_defvalue ;
19593 PyObject *arg10 = (PyObject *) NULL ;
19594 wxToolBarToolBase *result;
ae8162c8
RD
19595 bool temp4 = false ;
19596 bool temp8 = false ;
19597 bool temp9 = false ;
d55e5bfc
RD
19598 PyObject * obj0 = 0 ;
19599 PyObject * obj1 = 0 ;
19600 PyObject * obj2 = 0 ;
19601 PyObject * obj3 = 0 ;
19602 PyObject * obj4 = 0 ;
19603 PyObject * obj5 = 0 ;
19604 PyObject * obj6 = 0 ;
19605 PyObject * obj7 = 0 ;
19606 PyObject * obj8 = 0 ;
19607 PyObject * obj9 = 0 ;
19608 char *kwnames[] = {
19609 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19610 };
19611
19612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
093d3ff1
RD
19613 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19614 if (SWIG_arg_fail(1)) SWIG_fail;
19615 {
19616 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19617 if (SWIG_arg_fail(2)) SWIG_fail;
19618 }
19619 {
19620 arg3 = (int)(SWIG_As_int(obj2));
19621 if (SWIG_arg_fail(3)) SWIG_fail;
19622 }
d55e5bfc
RD
19623 {
19624 arg4 = wxString_in_helper(obj3);
19625 if (arg4 == NULL) SWIG_fail;
ae8162c8 19626 temp4 = true;
d55e5bfc 19627 }
093d3ff1
RD
19628 {
19629 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19630 if (SWIG_arg_fail(5)) SWIG_fail;
19631 if (arg5 == NULL) {
19632 SWIG_null_ref("wxBitmap");
19633 }
19634 if (SWIG_arg_fail(5)) SWIG_fail;
d55e5bfc
RD
19635 }
19636 if (obj5) {
093d3ff1
RD
19637 {
19638 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19639 if (SWIG_arg_fail(6)) SWIG_fail;
19640 if (arg6 == NULL) {
19641 SWIG_null_ref("wxBitmap");
19642 }
19643 if (SWIG_arg_fail(6)) SWIG_fail;
d55e5bfc
RD
19644 }
19645 }
19646 if (obj6) {
093d3ff1
RD
19647 {
19648 arg7 = (wxItemKind)(SWIG_As_int(obj6));
19649 if (SWIG_arg_fail(7)) SWIG_fail;
19650 }
d55e5bfc
RD
19651 }
19652 if (obj7) {
19653 {
19654 arg8 = wxString_in_helper(obj7);
19655 if (arg8 == NULL) SWIG_fail;
ae8162c8 19656 temp8 = true;
d55e5bfc
RD
19657 }
19658 }
19659 if (obj8) {
19660 {
19661 arg9 = wxString_in_helper(obj8);
19662 if (arg9 == NULL) SWIG_fail;
ae8162c8 19663 temp9 = true;
d55e5bfc
RD
19664 }
19665 }
19666 if (obj9) {
19667 arg10 = obj9;
19668 }
19669 {
19670 PyThreadState* __tstate = wxPyBeginAllowThreads();
19671 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);
19672
19673 wxPyEndAllowThreads(__tstate);
19674 if (PyErr_Occurred()) SWIG_fail;
19675 }
19676 {
412d302d 19677 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
19678 }
19679 {
19680 if (temp4)
19681 delete arg4;
19682 }
19683 {
19684 if (temp8)
19685 delete arg8;
19686 }
19687 {
19688 if (temp9)
19689 delete arg9;
19690 }
19691 return resultobj;
19692 fail:
19693 {
19694 if (temp4)
19695 delete arg4;
19696 }
19697 {
19698 if (temp8)
19699 delete arg8;
19700 }
19701 {
19702 if (temp9)
19703 delete arg9;
19704 }
19705 return NULL;
19706}
19707
19708
c32bde28 19709static PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19710 PyObject *resultobj;
19711 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19712 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
19713 wxToolBarToolBase *result;
19714 PyObject * obj0 = 0 ;
19715 PyObject * obj1 = 0 ;
19716 char *kwnames[] = {
19717 (char *) "self",(char *) "tool", NULL
19718 };
19719
19720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19721 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19722 if (SWIG_arg_fail(1)) SWIG_fail;
19723 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19724 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
19725 {
19726 PyThreadState* __tstate = wxPyBeginAllowThreads();
19727 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
19728
19729 wxPyEndAllowThreads(__tstate);
19730 if (PyErr_Occurred()) SWIG_fail;
19731 }
19732 {
412d302d 19733 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
19734 }
19735 return resultobj;
19736 fail:
19737 return NULL;
19738}
19739
19740
c32bde28 19741static PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19742 PyObject *resultobj;
19743 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19744 size_t arg2 ;
19745 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
19746 wxToolBarToolBase *result;
19747 PyObject * obj0 = 0 ;
19748 PyObject * obj1 = 0 ;
19749 PyObject * obj2 = 0 ;
19750 char *kwnames[] = {
19751 (char *) "self",(char *) "pos",(char *) "tool", NULL
19752 };
19753
19754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
19755 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19756 if (SWIG_arg_fail(1)) SWIG_fail;
19757 {
19758 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19759 if (SWIG_arg_fail(2)) SWIG_fail;
19760 }
19761 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19762 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
19763 {
19764 PyThreadState* __tstate = wxPyBeginAllowThreads();
19765 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
19766
19767 wxPyEndAllowThreads(__tstate);
19768 if (PyErr_Occurred()) SWIG_fail;
19769 }
19770 {
412d302d 19771 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
19772 }
19773 return resultobj;
19774 fail:
19775 return NULL;
19776}
19777
19778
c32bde28 19779static PyObject *_wrap_ToolBarBase_AddControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19780 PyObject *resultobj;
19781 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19782 wxControl *arg2 = (wxControl *) 0 ;
19783 wxToolBarToolBase *result;
19784 PyObject * obj0 = 0 ;
19785 PyObject * obj1 = 0 ;
19786 char *kwnames[] = {
19787 (char *) "self",(char *) "control", NULL
19788 };
19789
19790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19791 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19792 if (SWIG_arg_fail(1)) SWIG_fail;
19793 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxControl, SWIG_POINTER_EXCEPTION | 0);
19794 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
19795 {
19796 PyThreadState* __tstate = wxPyBeginAllowThreads();
19797 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
19798
19799 wxPyEndAllowThreads(__tstate);
19800 if (PyErr_Occurred()) SWIG_fail;
19801 }
19802 {
412d302d 19803 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
19804 }
19805 return resultobj;
19806 fail:
19807 return NULL;
19808}
19809
19810
c32bde28 19811static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19812 PyObject *resultobj;
19813 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19814 size_t arg2 ;
19815 wxControl *arg3 = (wxControl *) 0 ;
19816 wxToolBarToolBase *result;
19817 PyObject * obj0 = 0 ;
19818 PyObject * obj1 = 0 ;
19819 PyObject * obj2 = 0 ;
19820 char *kwnames[] = {
19821 (char *) "self",(char *) "pos",(char *) "control", NULL
19822 };
19823
19824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
19825 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19826 if (SWIG_arg_fail(1)) SWIG_fail;
19827 {
19828 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19829 if (SWIG_arg_fail(2)) SWIG_fail;
19830 }
19831 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxControl, SWIG_POINTER_EXCEPTION | 0);
19832 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
19833 {
19834 PyThreadState* __tstate = wxPyBeginAllowThreads();
19835 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
19836
19837 wxPyEndAllowThreads(__tstate);
19838 if (PyErr_Occurred()) SWIG_fail;
19839 }
19840 {
412d302d 19841 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
19842 }
19843 return resultobj;
19844 fail:
19845 return NULL;
19846}
19847
19848
c32bde28 19849static PyObject *_wrap_ToolBarBase_FindControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19850 PyObject *resultobj;
19851 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19852 int arg2 ;
19853 wxControl *result;
19854 PyObject * obj0 = 0 ;
19855 PyObject * obj1 = 0 ;
19856 char *kwnames[] = {
19857 (char *) "self",(char *) "id", NULL
19858 };
19859
19860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindControl",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19861 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19862 if (SWIG_arg_fail(1)) SWIG_fail;
19863 {
19864 arg2 = (int)(SWIG_As_int(obj1));
19865 if (SWIG_arg_fail(2)) SWIG_fail;
19866 }
d55e5bfc
RD
19867 {
19868 PyThreadState* __tstate = wxPyBeginAllowThreads();
19869 result = (wxControl *)(arg1)->FindControl(arg2);
19870
19871 wxPyEndAllowThreads(__tstate);
19872 if (PyErr_Occurred()) SWIG_fail;
19873 }
19874 {
412d302d 19875 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
19876 }
19877 return resultobj;
19878 fail:
19879 return NULL;
19880}
19881
19882
c32bde28 19883static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19884 PyObject *resultobj;
19885 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19886 wxToolBarToolBase *result;
19887 PyObject * obj0 = 0 ;
19888 char *kwnames[] = {
19889 (char *) "self", NULL
19890 };
19891
19892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_AddSeparator",kwnames,&obj0)) goto fail;
093d3ff1
RD
19893 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19894 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19895 {
19896 PyThreadState* __tstate = wxPyBeginAllowThreads();
19897 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
19898
19899 wxPyEndAllowThreads(__tstate);
19900 if (PyErr_Occurred()) SWIG_fail;
19901 }
19902 {
412d302d 19903 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
19904 }
19905 return resultobj;
19906 fail:
19907 return NULL;
19908}
19909
19910
c32bde28 19911static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19912 PyObject *resultobj;
19913 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19914 size_t arg2 ;
19915 wxToolBarToolBase *result;
19916 PyObject * obj0 = 0 ;
19917 PyObject * obj1 = 0 ;
19918 char *kwnames[] = {
19919 (char *) "self",(char *) "pos", NULL
19920 };
19921
19922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19923 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19924 if (SWIG_arg_fail(1)) SWIG_fail;
19925 {
19926 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19927 if (SWIG_arg_fail(2)) SWIG_fail;
19928 }
d55e5bfc
RD
19929 {
19930 PyThreadState* __tstate = wxPyBeginAllowThreads();
19931 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
19932
19933 wxPyEndAllowThreads(__tstate);
19934 if (PyErr_Occurred()) SWIG_fail;
19935 }
19936 {
412d302d 19937 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
19938 }
19939 return resultobj;
19940 fail:
19941 return NULL;
19942}
19943
19944
c32bde28 19945static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19946 PyObject *resultobj;
19947 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19948 int arg2 ;
19949 wxToolBarToolBase *result;
19950 PyObject * obj0 = 0 ;
19951 PyObject * obj1 = 0 ;
19952 char *kwnames[] = {
19953 (char *) "self",(char *) "id", NULL
19954 };
19955
19956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_RemoveTool",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19957 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19958 if (SWIG_arg_fail(1)) SWIG_fail;
19959 {
19960 arg2 = (int)(SWIG_As_int(obj1));
19961 if (SWIG_arg_fail(2)) SWIG_fail;
19962 }
d55e5bfc
RD
19963 {
19964 PyThreadState* __tstate = wxPyBeginAllowThreads();
19965 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
19966
19967 wxPyEndAllowThreads(__tstate);
19968 if (PyErr_Occurred()) SWIG_fail;
19969 }
19970 {
412d302d 19971 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
19972 }
19973 return resultobj;
19974 fail:
19975 return NULL;
19976}
19977
19978
c32bde28 19979static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19980 PyObject *resultobj;
19981 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19982 size_t arg2 ;
19983 bool result;
19984 PyObject * obj0 = 0 ;
19985 PyObject * obj1 = 0 ;
19986 char *kwnames[] = {
19987 (char *) "self",(char *) "pos", NULL
19988 };
19989
19990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19991 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19992 if (SWIG_arg_fail(1)) SWIG_fail;
19993 {
19994 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19995 if (SWIG_arg_fail(2)) SWIG_fail;
19996 }
d55e5bfc
RD
19997 {
19998 PyThreadState* __tstate = wxPyBeginAllowThreads();
19999 result = (bool)(arg1)->DeleteToolByPos(arg2);
20000
20001 wxPyEndAllowThreads(__tstate);
20002 if (PyErr_Occurred()) SWIG_fail;
20003 }
20004 {
20005 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20006 }
20007 return resultobj;
20008 fail:
20009 return NULL;
20010}
20011
20012
c32bde28 20013static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20014 PyObject *resultobj;
20015 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20016 int arg2 ;
20017 bool result;
20018 PyObject * obj0 = 0 ;
20019 PyObject * obj1 = 0 ;
20020 char *kwnames[] = {
20021 (char *) "self",(char *) "id", NULL
20022 };
20023
20024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteTool",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20025 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20026 if (SWIG_arg_fail(1)) SWIG_fail;
20027 {
20028 arg2 = (int)(SWIG_As_int(obj1));
20029 if (SWIG_arg_fail(2)) SWIG_fail;
20030 }
d55e5bfc
RD
20031 {
20032 PyThreadState* __tstate = wxPyBeginAllowThreads();
20033 result = (bool)(arg1)->DeleteTool(arg2);
20034
20035 wxPyEndAllowThreads(__tstate);
20036 if (PyErr_Occurred()) SWIG_fail;
20037 }
20038 {
20039 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20040 }
20041 return resultobj;
20042 fail:
20043 return NULL;
20044}
20045
20046
c32bde28 20047static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20048 PyObject *resultobj;
20049 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20050 PyObject * obj0 = 0 ;
20051 char *kwnames[] = {
20052 (char *) "self", NULL
20053 };
20054
20055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_ClearTools",kwnames,&obj0)) goto fail;
093d3ff1
RD
20056 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20057 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20058 {
20059 PyThreadState* __tstate = wxPyBeginAllowThreads();
20060 (arg1)->ClearTools();
20061
20062 wxPyEndAllowThreads(__tstate);
20063 if (PyErr_Occurred()) SWIG_fail;
20064 }
20065 Py_INCREF(Py_None); resultobj = Py_None;
20066 return resultobj;
20067 fail:
20068 return NULL;
20069}
20070
20071
c32bde28 20072static PyObject *_wrap_ToolBarBase_Realize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20073 PyObject *resultobj;
20074 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20075 bool result;
20076 PyObject * obj0 = 0 ;
20077 char *kwnames[] = {
20078 (char *) "self", NULL
20079 };
20080
20081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_Realize",kwnames,&obj0)) goto fail;
093d3ff1
RD
20082 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20083 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20084 {
20085 PyThreadState* __tstate = wxPyBeginAllowThreads();
20086 result = (bool)(arg1)->Realize();
20087
20088 wxPyEndAllowThreads(__tstate);
20089 if (PyErr_Occurred()) SWIG_fail;
20090 }
20091 {
20092 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20093 }
20094 return resultobj;
20095 fail:
20096 return NULL;
20097}
20098
20099
c32bde28 20100static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20101 PyObject *resultobj;
20102 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20103 int arg2 ;
20104 bool arg3 ;
20105 PyObject * obj0 = 0 ;
20106 PyObject * obj1 = 0 ;
20107 PyObject * obj2 = 0 ;
20108 char *kwnames[] = {
20109 (char *) "self",(char *) "id",(char *) "enable", NULL
20110 };
20111
20112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_EnableTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
20113 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20114 if (SWIG_arg_fail(1)) SWIG_fail;
20115 {
20116 arg2 = (int)(SWIG_As_int(obj1));
20117 if (SWIG_arg_fail(2)) SWIG_fail;
20118 }
20119 {
20120 arg3 = (bool)(SWIG_As_bool(obj2));
20121 if (SWIG_arg_fail(3)) SWIG_fail;
20122 }
d55e5bfc
RD
20123 {
20124 PyThreadState* __tstate = wxPyBeginAllowThreads();
20125 (arg1)->EnableTool(arg2,arg3);
20126
20127 wxPyEndAllowThreads(__tstate);
20128 if (PyErr_Occurred()) SWIG_fail;
20129 }
20130 Py_INCREF(Py_None); resultobj = Py_None;
20131 return resultobj;
20132 fail:
20133 return NULL;
20134}
20135
20136
c32bde28 20137static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20138 PyObject *resultobj;
20139 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20140 int arg2 ;
20141 bool arg3 ;
20142 PyObject * obj0 = 0 ;
20143 PyObject * obj1 = 0 ;
20144 PyObject * obj2 = 0 ;
20145 char *kwnames[] = {
20146 (char *) "self",(char *) "id",(char *) "toggle", NULL
20147 };
20148
20149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_ToggleTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
20150 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20151 if (SWIG_arg_fail(1)) SWIG_fail;
20152 {
20153 arg2 = (int)(SWIG_As_int(obj1));
20154 if (SWIG_arg_fail(2)) SWIG_fail;
20155 }
20156 {
20157 arg3 = (bool)(SWIG_As_bool(obj2));
20158 if (SWIG_arg_fail(3)) SWIG_fail;
20159 }
d55e5bfc
RD
20160 {
20161 PyThreadState* __tstate = wxPyBeginAllowThreads();
20162 (arg1)->ToggleTool(arg2,arg3);
20163
20164 wxPyEndAllowThreads(__tstate);
20165 if (PyErr_Occurred()) SWIG_fail;
20166 }
20167 Py_INCREF(Py_None); resultobj = Py_None;
20168 return resultobj;
20169 fail:
20170 return NULL;
20171}
20172
20173
c32bde28 20174static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20175 PyObject *resultobj;
20176 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20177 int arg2 ;
20178 bool arg3 ;
20179 PyObject * obj0 = 0 ;
20180 PyObject * obj1 = 0 ;
20181 PyObject * obj2 = 0 ;
20182 char *kwnames[] = {
20183 (char *) "self",(char *) "id",(char *) "toggle", NULL
20184 };
20185
20186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToggle",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
20187 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20188 if (SWIG_arg_fail(1)) SWIG_fail;
20189 {
20190 arg2 = (int)(SWIG_As_int(obj1));
20191 if (SWIG_arg_fail(2)) SWIG_fail;
20192 }
20193 {
20194 arg3 = (bool)(SWIG_As_bool(obj2));
20195 if (SWIG_arg_fail(3)) SWIG_fail;
20196 }
d55e5bfc
RD
20197 {
20198 PyThreadState* __tstate = wxPyBeginAllowThreads();
20199 (arg1)->SetToggle(arg2,arg3);
20200
20201 wxPyEndAllowThreads(__tstate);
20202 if (PyErr_Occurred()) SWIG_fail;
20203 }
20204 Py_INCREF(Py_None); resultobj = Py_None;
20205 return resultobj;
20206 fail:
20207 return NULL;
20208}
20209
20210
c32bde28 20211static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20212 PyObject *resultobj;
20213 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20214 int arg2 ;
20215 PyObject *result;
20216 PyObject * obj0 = 0 ;
20217 PyObject * obj1 = 0 ;
20218 char *kwnames[] = {
20219 (char *) "self",(char *) "id", NULL
20220 };
20221
20222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolClientData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20223 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20224 if (SWIG_arg_fail(1)) SWIG_fail;
20225 {
20226 arg2 = (int)(SWIG_As_int(obj1));
20227 if (SWIG_arg_fail(2)) SWIG_fail;
20228 }
d55e5bfc
RD
20229 {
20230 PyThreadState* __tstate = wxPyBeginAllowThreads();
20231 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
20232
20233 wxPyEndAllowThreads(__tstate);
20234 if (PyErr_Occurred()) SWIG_fail;
20235 }
20236 resultobj = result;
20237 return resultobj;
20238 fail:
20239 return NULL;
20240}
20241
20242
c32bde28 20243static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20244 PyObject *resultobj;
20245 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20246 int arg2 ;
20247 PyObject *arg3 = (PyObject *) 0 ;
20248 PyObject * obj0 = 0 ;
20249 PyObject * obj1 = 0 ;
20250 PyObject * obj2 = 0 ;
20251 char *kwnames[] = {
20252 (char *) "self",(char *) "id",(char *) "clientData", NULL
20253 };
20254
20255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
20256 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20257 if (SWIG_arg_fail(1)) SWIG_fail;
20258 {
20259 arg2 = (int)(SWIG_As_int(obj1));
20260 if (SWIG_arg_fail(2)) SWIG_fail;
20261 }
d55e5bfc
RD
20262 arg3 = obj2;
20263 {
20264 PyThreadState* __tstate = wxPyBeginAllowThreads();
20265 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
20266
20267 wxPyEndAllowThreads(__tstate);
20268 if (PyErr_Occurred()) SWIG_fail;
20269 }
20270 Py_INCREF(Py_None); resultobj = Py_None;
20271 return resultobj;
20272 fail:
20273 return NULL;
20274}
20275
20276
c32bde28 20277static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20278 PyObject *resultobj;
20279 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20280 int arg2 ;
20281 int result;
20282 PyObject * obj0 = 0 ;
20283 PyObject * obj1 = 0 ;
20284 char *kwnames[] = {
20285 (char *) "self",(char *) "id", NULL
20286 };
20287
20288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolPos",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20289 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20290 if (SWIG_arg_fail(1)) SWIG_fail;
20291 {
20292 arg2 = (int)(SWIG_As_int(obj1));
20293 if (SWIG_arg_fail(2)) SWIG_fail;
20294 }
d55e5bfc
RD
20295 {
20296 PyThreadState* __tstate = wxPyBeginAllowThreads();
20297 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
20298
20299 wxPyEndAllowThreads(__tstate);
20300 if (PyErr_Occurred()) SWIG_fail;
20301 }
093d3ff1
RD
20302 {
20303 resultobj = SWIG_From_int((int)(result));
20304 }
d55e5bfc
RD
20305 return resultobj;
20306 fail:
20307 return NULL;
20308}
20309
20310
c32bde28 20311static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20312 PyObject *resultobj;
20313 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20314 int arg2 ;
20315 bool result;
20316 PyObject * obj0 = 0 ;
20317 PyObject * obj1 = 0 ;
20318 char *kwnames[] = {
20319 (char *) "self",(char *) "id", NULL
20320 };
20321
20322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolState",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20323 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20324 if (SWIG_arg_fail(1)) SWIG_fail;
20325 {
20326 arg2 = (int)(SWIG_As_int(obj1));
20327 if (SWIG_arg_fail(2)) SWIG_fail;
20328 }
d55e5bfc
RD
20329 {
20330 PyThreadState* __tstate = wxPyBeginAllowThreads();
20331 result = (bool)(arg1)->GetToolState(arg2);
20332
20333 wxPyEndAllowThreads(__tstate);
20334 if (PyErr_Occurred()) SWIG_fail;
20335 }
20336 {
20337 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20338 }
20339 return resultobj;
20340 fail:
20341 return NULL;
20342}
20343
20344
c32bde28 20345static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20346 PyObject *resultobj;
20347 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20348 int arg2 ;
20349 bool result;
20350 PyObject * obj0 = 0 ;
20351 PyObject * obj1 = 0 ;
20352 char *kwnames[] = {
20353 (char *) "self",(char *) "id", NULL
20354 };
20355
20356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20357 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20358 if (SWIG_arg_fail(1)) SWIG_fail;
20359 {
20360 arg2 = (int)(SWIG_As_int(obj1));
20361 if (SWIG_arg_fail(2)) SWIG_fail;
20362 }
d55e5bfc
RD
20363 {
20364 PyThreadState* __tstate = wxPyBeginAllowThreads();
20365 result = (bool)(arg1)->GetToolEnabled(arg2);
20366
20367 wxPyEndAllowThreads(__tstate);
20368 if (PyErr_Occurred()) SWIG_fail;
20369 }
20370 {
20371 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20372 }
20373 return resultobj;
20374 fail:
20375 return NULL;
20376}
20377
20378
c32bde28 20379static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20380 PyObject *resultobj;
20381 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20382 int arg2 ;
20383 wxString *arg3 = 0 ;
ae8162c8 20384 bool temp3 = false ;
d55e5bfc
RD
20385 PyObject * obj0 = 0 ;
20386 PyObject * obj1 = 0 ;
20387 PyObject * obj2 = 0 ;
20388 char *kwnames[] = {
20389 (char *) "self",(char *) "id",(char *) "helpString", NULL
20390 };
20391
20392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
20393 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20394 if (SWIG_arg_fail(1)) SWIG_fail;
20395 {
20396 arg2 = (int)(SWIG_As_int(obj1));
20397 if (SWIG_arg_fail(2)) SWIG_fail;
20398 }
d55e5bfc
RD
20399 {
20400 arg3 = wxString_in_helper(obj2);
20401 if (arg3 == NULL) SWIG_fail;
ae8162c8 20402 temp3 = true;
d55e5bfc
RD
20403 }
20404 {
20405 PyThreadState* __tstate = wxPyBeginAllowThreads();
20406 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
20407
20408 wxPyEndAllowThreads(__tstate);
20409 if (PyErr_Occurred()) SWIG_fail;
20410 }
20411 Py_INCREF(Py_None); resultobj = Py_None;
20412 {
20413 if (temp3)
20414 delete arg3;
20415 }
20416 return resultobj;
20417 fail:
20418 {
20419 if (temp3)
20420 delete arg3;
20421 }
20422 return NULL;
20423}
20424
20425
c32bde28 20426static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20427 PyObject *resultobj;
20428 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20429 int arg2 ;
20430 wxString result;
20431 PyObject * obj0 = 0 ;
20432 PyObject * obj1 = 0 ;
20433 char *kwnames[] = {
20434 (char *) "self",(char *) "id", NULL
20435 };
20436
20437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20438 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20439 if (SWIG_arg_fail(1)) SWIG_fail;
20440 {
20441 arg2 = (int)(SWIG_As_int(obj1));
20442 if (SWIG_arg_fail(2)) SWIG_fail;
20443 }
d55e5bfc
RD
20444 {
20445 PyThreadState* __tstate = wxPyBeginAllowThreads();
20446 result = (arg1)->GetToolShortHelp(arg2);
20447
20448 wxPyEndAllowThreads(__tstate);
20449 if (PyErr_Occurred()) SWIG_fail;
20450 }
20451 {
20452#if wxUSE_UNICODE
20453 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20454#else
20455 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20456#endif
20457 }
20458 return resultobj;
20459 fail:
20460 return NULL;
20461}
20462
20463
c32bde28 20464static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20465 PyObject *resultobj;
20466 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20467 int arg2 ;
20468 wxString *arg3 = 0 ;
ae8162c8 20469 bool temp3 = false ;
d55e5bfc
RD
20470 PyObject * obj0 = 0 ;
20471 PyObject * obj1 = 0 ;
20472 PyObject * obj2 = 0 ;
20473 char *kwnames[] = {
20474 (char *) "self",(char *) "id",(char *) "helpString", NULL
20475 };
20476
20477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
20478 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20479 if (SWIG_arg_fail(1)) SWIG_fail;
20480 {
20481 arg2 = (int)(SWIG_As_int(obj1));
20482 if (SWIG_arg_fail(2)) SWIG_fail;
20483 }
d55e5bfc
RD
20484 {
20485 arg3 = wxString_in_helper(obj2);
20486 if (arg3 == NULL) SWIG_fail;
ae8162c8 20487 temp3 = true;
d55e5bfc
RD
20488 }
20489 {
20490 PyThreadState* __tstate = wxPyBeginAllowThreads();
20491 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
20492
20493 wxPyEndAllowThreads(__tstate);
20494 if (PyErr_Occurred()) SWIG_fail;
20495 }
20496 Py_INCREF(Py_None); resultobj = Py_None;
20497 {
20498 if (temp3)
20499 delete arg3;
20500 }
20501 return resultobj;
20502 fail:
20503 {
20504 if (temp3)
20505 delete arg3;
20506 }
20507 return NULL;
20508}
20509
20510
c32bde28 20511static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20512 PyObject *resultobj;
20513 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20514 int arg2 ;
20515 wxString result;
20516 PyObject * obj0 = 0 ;
20517 PyObject * obj1 = 0 ;
20518 char *kwnames[] = {
20519 (char *) "self",(char *) "id", NULL
20520 };
20521
20522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20523 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20524 if (SWIG_arg_fail(1)) SWIG_fail;
20525 {
20526 arg2 = (int)(SWIG_As_int(obj1));
20527 if (SWIG_arg_fail(2)) SWIG_fail;
20528 }
d55e5bfc
RD
20529 {
20530 PyThreadState* __tstate = wxPyBeginAllowThreads();
20531 result = (arg1)->GetToolLongHelp(arg2);
20532
20533 wxPyEndAllowThreads(__tstate);
20534 if (PyErr_Occurred()) SWIG_fail;
20535 }
20536 {
20537#if wxUSE_UNICODE
20538 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20539#else
20540 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20541#endif
20542 }
20543 return resultobj;
20544 fail:
20545 return NULL;
20546}
20547
20548
c32bde28 20549static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20550 PyObject *resultobj;
20551 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20552 int arg2 ;
20553 int arg3 ;
20554 PyObject * obj0 = 0 ;
20555 PyObject * obj1 = 0 ;
20556 PyObject * obj2 = 0 ;
20557 char *kwnames[] = {
20558 (char *) "self",(char *) "x",(char *) "y", NULL
20559 };
20560
20561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
20562 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20563 if (SWIG_arg_fail(1)) SWIG_fail;
20564 {
20565 arg2 = (int)(SWIG_As_int(obj1));
20566 if (SWIG_arg_fail(2)) SWIG_fail;
20567 }
20568 {
20569 arg3 = (int)(SWIG_As_int(obj2));
20570 if (SWIG_arg_fail(3)) SWIG_fail;
20571 }
d55e5bfc
RD
20572 {
20573 PyThreadState* __tstate = wxPyBeginAllowThreads();
20574 (arg1)->SetMargins(arg2,arg3);
20575
20576 wxPyEndAllowThreads(__tstate);
20577 if (PyErr_Occurred()) SWIG_fail;
20578 }
20579 Py_INCREF(Py_None); resultobj = Py_None;
20580 return resultobj;
20581 fail:
20582 return NULL;
20583}
20584
20585
c32bde28 20586static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20587 PyObject *resultobj;
20588 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20589 wxSize *arg2 = 0 ;
20590 wxSize temp2 ;
20591 PyObject * obj0 = 0 ;
20592 PyObject * obj1 = 0 ;
20593 char *kwnames[] = {
20594 (char *) "self",(char *) "size", NULL
20595 };
20596
20597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20598 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20599 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20600 {
20601 arg2 = &temp2;
20602 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20603 }
20604 {
20605 PyThreadState* __tstate = wxPyBeginAllowThreads();
20606 (arg1)->SetMargins((wxSize const &)*arg2);
20607
20608 wxPyEndAllowThreads(__tstate);
20609 if (PyErr_Occurred()) SWIG_fail;
20610 }
20611 Py_INCREF(Py_None); resultobj = Py_None;
20612 return resultobj;
20613 fail:
20614 return NULL;
20615}
20616
20617
c32bde28 20618static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20619 PyObject *resultobj;
20620 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20621 int arg2 ;
20622 PyObject * obj0 = 0 ;
20623 PyObject * obj1 = 0 ;
20624 char *kwnames[] = {
20625 (char *) "self",(char *) "packing", NULL
20626 };
20627
20628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolPacking",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20629 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20630 if (SWIG_arg_fail(1)) SWIG_fail;
20631 {
20632 arg2 = (int)(SWIG_As_int(obj1));
20633 if (SWIG_arg_fail(2)) SWIG_fail;
20634 }
d55e5bfc
RD
20635 {
20636 PyThreadState* __tstate = wxPyBeginAllowThreads();
20637 (arg1)->SetToolPacking(arg2);
20638
20639 wxPyEndAllowThreads(__tstate);
20640 if (PyErr_Occurred()) SWIG_fail;
20641 }
20642 Py_INCREF(Py_None); resultobj = Py_None;
20643 return resultobj;
20644 fail:
20645 return NULL;
20646}
20647
20648
c32bde28 20649static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20650 PyObject *resultobj;
20651 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20652 int arg2 ;
20653 PyObject * obj0 = 0 ;
20654 PyObject * obj1 = 0 ;
20655 char *kwnames[] = {
20656 (char *) "self",(char *) "separation", NULL
20657 };
20658
20659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20660 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20661 if (SWIG_arg_fail(1)) SWIG_fail;
20662 {
20663 arg2 = (int)(SWIG_As_int(obj1));
20664 if (SWIG_arg_fail(2)) SWIG_fail;
20665 }
d55e5bfc
RD
20666 {
20667 PyThreadState* __tstate = wxPyBeginAllowThreads();
20668 (arg1)->SetToolSeparation(arg2);
20669
20670 wxPyEndAllowThreads(__tstate);
20671 if (PyErr_Occurred()) SWIG_fail;
20672 }
20673 Py_INCREF(Py_None); resultobj = Py_None;
20674 return resultobj;
20675 fail:
20676 return NULL;
20677}
20678
20679
c32bde28 20680static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20681 PyObject *resultobj;
20682 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20683 wxSize result;
20684 PyObject * obj0 = 0 ;
20685 char *kwnames[] = {
20686 (char *) "self", NULL
20687 };
20688
20689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolMargins",kwnames,&obj0)) goto fail;
093d3ff1
RD
20690 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20691 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20692 {
20693 PyThreadState* __tstate = wxPyBeginAllowThreads();
20694 result = (arg1)->GetToolMargins();
20695
20696 wxPyEndAllowThreads(__tstate);
20697 if (PyErr_Occurred()) SWIG_fail;
20698 }
20699 {
20700 wxSize * resultptr;
093d3ff1 20701 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
20702 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20703 }
20704 return resultobj;
20705 fail:
20706 return NULL;
20707}
20708
20709
c32bde28 20710static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20711 PyObject *resultobj;
20712 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20713 wxSize result;
20714 PyObject * obj0 = 0 ;
20715 char *kwnames[] = {
20716 (char *) "self", NULL
20717 };
20718
20719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMargins",kwnames,&obj0)) goto fail;
093d3ff1
RD
20720 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20721 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20722 {
20723 PyThreadState* __tstate = wxPyBeginAllowThreads();
20724 result = (arg1)->GetMargins();
20725
20726 wxPyEndAllowThreads(__tstate);
20727 if (PyErr_Occurred()) SWIG_fail;
20728 }
20729 {
20730 wxSize * resultptr;
093d3ff1 20731 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
20732 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20733 }
20734 return resultobj;
20735 fail:
20736 return NULL;
20737}
20738
20739
c32bde28 20740static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20741 PyObject *resultobj;
20742 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20743 int result;
20744 PyObject * obj0 = 0 ;
20745 char *kwnames[] = {
20746 (char *) "self", NULL
20747 };
20748
20749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolPacking",kwnames,&obj0)) goto fail;
093d3ff1
RD
20750 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20751 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20752 {
20753 PyThreadState* __tstate = wxPyBeginAllowThreads();
20754 result = (int)(arg1)->GetToolPacking();
20755
20756 wxPyEndAllowThreads(__tstate);
20757 if (PyErr_Occurred()) SWIG_fail;
20758 }
093d3ff1
RD
20759 {
20760 resultobj = SWIG_From_int((int)(result));
20761 }
d55e5bfc
RD
20762 return resultobj;
20763 fail:
20764 return NULL;
20765}
20766
20767
c32bde28 20768static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20769 PyObject *resultobj;
20770 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20771 int result;
20772 PyObject * obj0 = 0 ;
20773 char *kwnames[] = {
20774 (char *) "self", NULL
20775 };
20776
20777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSeparation",kwnames,&obj0)) goto fail;
093d3ff1
RD
20778 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20779 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20780 {
20781 PyThreadState* __tstate = wxPyBeginAllowThreads();
20782 result = (int)(arg1)->GetToolSeparation();
20783
20784 wxPyEndAllowThreads(__tstate);
20785 if (PyErr_Occurred()) SWIG_fail;
20786 }
093d3ff1
RD
20787 {
20788 resultobj = SWIG_From_int((int)(result));
20789 }
d55e5bfc
RD
20790 return resultobj;
20791 fail:
20792 return NULL;
20793}
20794
20795
c32bde28 20796static PyObject *_wrap_ToolBarBase_SetRows(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20797 PyObject *resultobj;
20798 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20799 int arg2 ;
20800 PyObject * obj0 = 0 ;
20801 PyObject * obj1 = 0 ;
20802 char *kwnames[] = {
20803 (char *) "self",(char *) "nRows", NULL
20804 };
20805
20806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetRows",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20807 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20808 if (SWIG_arg_fail(1)) SWIG_fail;
20809 {
20810 arg2 = (int)(SWIG_As_int(obj1));
20811 if (SWIG_arg_fail(2)) SWIG_fail;
20812 }
d55e5bfc
RD
20813 {
20814 PyThreadState* __tstate = wxPyBeginAllowThreads();
20815 (arg1)->SetRows(arg2);
20816
20817 wxPyEndAllowThreads(__tstate);
20818 if (PyErr_Occurred()) SWIG_fail;
20819 }
20820 Py_INCREF(Py_None); resultobj = Py_None;
20821 return resultobj;
20822 fail:
20823 return NULL;
20824}
20825
20826
c32bde28 20827static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20828 PyObject *resultobj;
20829 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20830 int arg2 ;
20831 int arg3 ;
20832 PyObject * obj0 = 0 ;
20833 PyObject * obj1 = 0 ;
20834 PyObject * obj2 = 0 ;
20835 char *kwnames[] = {
20836 (char *) "self",(char *) "rows",(char *) "cols", NULL
20837 };
20838
20839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
20840 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20841 if (SWIG_arg_fail(1)) SWIG_fail;
20842 {
20843 arg2 = (int)(SWIG_As_int(obj1));
20844 if (SWIG_arg_fail(2)) SWIG_fail;
20845 }
20846 {
20847 arg3 = (int)(SWIG_As_int(obj2));
20848 if (SWIG_arg_fail(3)) SWIG_fail;
20849 }
d55e5bfc
RD
20850 {
20851 PyThreadState* __tstate = wxPyBeginAllowThreads();
20852 (arg1)->SetMaxRowsCols(arg2,arg3);
20853
20854 wxPyEndAllowThreads(__tstate);
20855 if (PyErr_Occurred()) SWIG_fail;
20856 }
20857 Py_INCREF(Py_None); resultobj = Py_None;
20858 return resultobj;
20859 fail:
20860 return NULL;
20861}
20862
20863
c32bde28 20864static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20865 PyObject *resultobj;
20866 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20867 int result;
20868 PyObject * obj0 = 0 ;
20869 char *kwnames[] = {
20870 (char *) "self", NULL
20871 };
20872
20873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxRows",kwnames,&obj0)) goto fail;
093d3ff1
RD
20874 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20875 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20876 {
20877 PyThreadState* __tstate = wxPyBeginAllowThreads();
20878 result = (int)(arg1)->GetMaxRows();
20879
20880 wxPyEndAllowThreads(__tstate);
20881 if (PyErr_Occurred()) SWIG_fail;
20882 }
093d3ff1
RD
20883 {
20884 resultobj = SWIG_From_int((int)(result));
20885 }
d55e5bfc
RD
20886 return resultobj;
20887 fail:
20888 return NULL;
20889}
20890
20891
c32bde28 20892static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20893 PyObject *resultobj;
20894 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20895 int result;
20896 PyObject * obj0 = 0 ;
20897 char *kwnames[] = {
20898 (char *) "self", NULL
20899 };
20900
20901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxCols",kwnames,&obj0)) goto fail;
093d3ff1
RD
20902 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20903 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20904 {
20905 PyThreadState* __tstate = wxPyBeginAllowThreads();
20906 result = (int)(arg1)->GetMaxCols();
20907
20908 wxPyEndAllowThreads(__tstate);
20909 if (PyErr_Occurred()) SWIG_fail;
20910 }
093d3ff1
RD
20911 {
20912 resultobj = SWIG_From_int((int)(result));
20913 }
d55e5bfc
RD
20914 return resultobj;
20915 fail:
20916 return NULL;
20917}
20918
20919
c32bde28 20920static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20921 PyObject *resultobj;
20922 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20923 wxSize *arg2 = 0 ;
20924 wxSize temp2 ;
20925 PyObject * obj0 = 0 ;
20926 PyObject * obj1 = 0 ;
20927 char *kwnames[] = {
20928 (char *) "self",(char *) "size", NULL
20929 };
20930
20931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20932 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20933 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20934 {
20935 arg2 = &temp2;
20936 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20937 }
20938 {
20939 PyThreadState* __tstate = wxPyBeginAllowThreads();
20940 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
20941
20942 wxPyEndAllowThreads(__tstate);
20943 if (PyErr_Occurred()) SWIG_fail;
20944 }
20945 Py_INCREF(Py_None); resultobj = Py_None;
20946 return resultobj;
20947 fail:
20948 return NULL;
20949}
20950
20951
c32bde28 20952static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20953 PyObject *resultobj;
20954 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20955 wxSize result;
20956 PyObject * obj0 = 0 ;
20957 char *kwnames[] = {
20958 (char *) "self", NULL
20959 };
20960
20961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
20962 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20963 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20964 {
20965 PyThreadState* __tstate = wxPyBeginAllowThreads();
20966 result = (arg1)->GetToolBitmapSize();
20967
20968 wxPyEndAllowThreads(__tstate);
20969 if (PyErr_Occurred()) SWIG_fail;
20970 }
20971 {
20972 wxSize * resultptr;
093d3ff1 20973 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
20974 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20975 }
20976 return resultobj;
20977 fail:
20978 return NULL;
20979}
20980
20981
c32bde28 20982static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20983 PyObject *resultobj;
20984 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20985 wxSize result;
20986 PyObject * obj0 = 0 ;
20987 char *kwnames[] = {
20988 (char *) "self", NULL
20989 };
20990
20991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
20992 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20993 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20994 {
20995 PyThreadState* __tstate = wxPyBeginAllowThreads();
20996 result = (arg1)->GetToolSize();
20997
20998 wxPyEndAllowThreads(__tstate);
20999 if (PyErr_Occurred()) SWIG_fail;
21000 }
21001 {
21002 wxSize * resultptr;
093d3ff1 21003 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
21004 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
21005 }
21006 return resultobj;
21007 fail:
21008 return NULL;
21009}
21010
21011
c32bde28 21012static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21013 PyObject *resultobj;
21014 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21015 int arg2 ;
21016 int arg3 ;
21017 wxToolBarToolBase *result;
21018 PyObject * obj0 = 0 ;
21019 PyObject * obj1 = 0 ;
21020 PyObject * obj2 = 0 ;
21021 char *kwnames[] = {
21022 (char *) "self",(char *) "x",(char *) "y", NULL
21023 };
21024
21025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
21026 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21027 if (SWIG_arg_fail(1)) SWIG_fail;
21028 {
21029 arg2 = (int)(SWIG_As_int(obj1));
21030 if (SWIG_arg_fail(2)) SWIG_fail;
21031 }
21032 {
21033 arg3 = (int)(SWIG_As_int(obj2));
21034 if (SWIG_arg_fail(3)) SWIG_fail;
21035 }
d55e5bfc
RD
21036 {
21037 PyThreadState* __tstate = wxPyBeginAllowThreads();
21038 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
21039
21040 wxPyEndAllowThreads(__tstate);
21041 if (PyErr_Occurred()) SWIG_fail;
21042 }
21043 {
412d302d 21044 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
21045 }
21046 return resultobj;
21047 fail:
21048 return NULL;
21049}
21050
21051
c32bde28 21052static PyObject *_wrap_ToolBarBase_FindById(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21053 PyObject *resultobj;
21054 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21055 int arg2 ;
21056 wxToolBarToolBase *result;
21057 PyObject * obj0 = 0 ;
21058 PyObject * obj1 = 0 ;
21059 char *kwnames[] = {
21060 (char *) "self",(char *) "toolid", NULL
21061 };
21062
21063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindById",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21064 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21065 if (SWIG_arg_fail(1)) SWIG_fail;
21066 {
21067 arg2 = (int)(SWIG_As_int(obj1));
21068 if (SWIG_arg_fail(2)) SWIG_fail;
21069 }
d55e5bfc
RD
21070 {
21071 PyThreadState* __tstate = wxPyBeginAllowThreads();
21072 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
21073
21074 wxPyEndAllowThreads(__tstate);
21075 if (PyErr_Occurred()) SWIG_fail;
21076 }
21077 {
412d302d 21078 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
21079 }
21080 return resultobj;
21081 fail:
21082 return NULL;
21083}
21084
21085
c32bde28 21086static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21087 PyObject *resultobj;
21088 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21089 bool result;
21090 PyObject * obj0 = 0 ;
21091 char *kwnames[] = {
21092 (char *) "self", NULL
21093 };
21094
21095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_IsVertical",kwnames,&obj0)) goto fail;
093d3ff1
RD
21096 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21097 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21098 {
21099 PyThreadState* __tstate = wxPyBeginAllowThreads();
21100 result = (bool)(arg1)->IsVertical();
21101
21102 wxPyEndAllowThreads(__tstate);
21103 if (PyErr_Occurred()) SWIG_fail;
21104 }
21105 {
21106 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21107 }
21108 return resultobj;
21109 fail:
21110 return NULL;
21111}
21112
21113
c32bde28 21114static PyObject * ToolBarBase_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
21115 PyObject *obj;
21116 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21117 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase, obj);
21118 Py_INCREF(obj);
21119 return Py_BuildValue((char *)"");
21120}
c32bde28 21121static PyObject *_wrap_new_ToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21122 PyObject *resultobj;
21123 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 21124 int arg2 = (int) -1 ;
d55e5bfc
RD
21125 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21126 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21127 wxSize const &arg4_defvalue = wxDefaultSize ;
21128 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21129 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
21130 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
21131 wxString *arg6 = (wxString *) &arg6_defvalue ;
21132 wxToolBar *result;
21133 wxPoint temp3 ;
21134 wxSize temp4 ;
ae8162c8 21135 bool temp6 = false ;
d55e5bfc
RD
21136 PyObject * obj0 = 0 ;
21137 PyObject * obj1 = 0 ;
21138 PyObject * obj2 = 0 ;
21139 PyObject * obj3 = 0 ;
21140 PyObject * obj4 = 0 ;
21141 PyObject * obj5 = 0 ;
21142 char *kwnames[] = {
21143 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21144 };
21145
248ed943 21146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ToolBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
21147 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
21148 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 21149 if (obj1) {
093d3ff1
RD
21150 {
21151 arg2 = (int)(SWIG_As_int(obj1));
21152 if (SWIG_arg_fail(2)) SWIG_fail;
21153 }
248ed943 21154 }
d55e5bfc
RD
21155 if (obj2) {
21156 {
21157 arg3 = &temp3;
21158 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21159 }
21160 }
21161 if (obj3) {
21162 {
21163 arg4 = &temp4;
21164 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21165 }
21166 }
21167 if (obj4) {
093d3ff1
RD
21168 {
21169 arg5 = (long)(SWIG_As_long(obj4));
21170 if (SWIG_arg_fail(5)) SWIG_fail;
21171 }
d55e5bfc
RD
21172 }
21173 if (obj5) {
21174 {
21175 arg6 = wxString_in_helper(obj5);
21176 if (arg6 == NULL) SWIG_fail;
ae8162c8 21177 temp6 = true;
d55e5bfc
RD
21178 }
21179 }
21180 {
0439c23b 21181 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
21182 PyThreadState* __tstate = wxPyBeginAllowThreads();
21183 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21184
21185 wxPyEndAllowThreads(__tstate);
110da5b0 21186 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 21187 }
b0f7404b 21188 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolBar, 1);
d55e5bfc
RD
21189 {
21190 if (temp6)
21191 delete arg6;
21192 }
21193 return resultobj;
21194 fail:
21195 {
21196 if (temp6)
21197 delete arg6;
21198 }
21199 return NULL;
21200}
21201
21202
c32bde28 21203static PyObject *_wrap_new_PreToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21204 PyObject *resultobj;
21205 wxToolBar *result;
21206 char *kwnames[] = {
21207 NULL
21208 };
21209
21210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolBar",kwnames)) goto fail;
21211 {
0439c23b 21212 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
21213 PyThreadState* __tstate = wxPyBeginAllowThreads();
21214 result = (wxToolBar *)new wxToolBar();
21215
21216 wxPyEndAllowThreads(__tstate);
110da5b0 21217 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 21218 }
b0f7404b 21219 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolBar, 1);
d55e5bfc
RD
21220 return resultobj;
21221 fail:
21222 return NULL;
21223}
21224
21225
c32bde28 21226static PyObject *_wrap_ToolBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21227 PyObject *resultobj;
21228 wxToolBar *arg1 = (wxToolBar *) 0 ;
21229 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 21230 int arg3 = (int) -1 ;
d55e5bfc
RD
21231 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21232 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21233 wxSize const &arg5_defvalue = wxDefaultSize ;
21234 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21235 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
21236 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
21237 wxString *arg7 = (wxString *) &arg7_defvalue ;
21238 bool result;
21239 wxPoint temp4 ;
21240 wxSize temp5 ;
ae8162c8 21241 bool temp7 = false ;
d55e5bfc
RD
21242 PyObject * obj0 = 0 ;
21243 PyObject * obj1 = 0 ;
21244 PyObject * obj2 = 0 ;
21245 PyObject * obj3 = 0 ;
21246 PyObject * obj4 = 0 ;
21247 PyObject * obj5 = 0 ;
21248 PyObject * obj6 = 0 ;
21249 char *kwnames[] = {
21250 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21251 };
21252
248ed943 21253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ToolBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
21254 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0);
21255 if (SWIG_arg_fail(1)) SWIG_fail;
21256 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
21257 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 21258 if (obj2) {
093d3ff1
RD
21259 {
21260 arg3 = (int)(SWIG_As_int(obj2));
21261 if (SWIG_arg_fail(3)) SWIG_fail;
21262 }
248ed943 21263 }
d55e5bfc
RD
21264 if (obj3) {
21265 {
21266 arg4 = &temp4;
21267 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21268 }
21269 }
21270 if (obj4) {
21271 {
21272 arg5 = &temp5;
21273 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21274 }
21275 }
21276 if (obj5) {
093d3ff1
RD
21277 {
21278 arg6 = (long)(SWIG_As_long(obj5));
21279 if (SWIG_arg_fail(6)) SWIG_fail;
21280 }
d55e5bfc
RD
21281 }
21282 if (obj6) {
21283 {
21284 arg7 = wxString_in_helper(obj6);
21285 if (arg7 == NULL) SWIG_fail;
ae8162c8 21286 temp7 = true;
d55e5bfc
RD
21287 }
21288 }
21289 {
21290 PyThreadState* __tstate = wxPyBeginAllowThreads();
21291 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21292
21293 wxPyEndAllowThreads(__tstate);
21294 if (PyErr_Occurred()) SWIG_fail;
21295 }
21296 {
21297 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21298 }
21299 {
21300 if (temp7)
21301 delete arg7;
21302 }
21303 return resultobj;
21304 fail:
21305 {
21306 if (temp7)
21307 delete arg7;
21308 }
21309 return NULL;
21310}
21311
21312
c32bde28 21313static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21314 PyObject *resultobj;
21315 wxToolBar *arg1 = (wxToolBar *) 0 ;
21316 int arg2 ;
21317 int arg3 ;
21318 wxToolBarToolBase *result;
21319 PyObject * obj0 = 0 ;
21320 PyObject * obj1 = 0 ;
21321 PyObject * obj2 = 0 ;
21322 char *kwnames[] = {
21323 (char *) "self",(char *) "x",(char *) "y", NULL
21324 };
21325
21326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBar_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
21327 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0);
21328 if (SWIG_arg_fail(1)) SWIG_fail;
21329 {
21330 arg2 = (int)(SWIG_As_int(obj1));
21331 if (SWIG_arg_fail(2)) SWIG_fail;
21332 }
21333 {
21334 arg3 = (int)(SWIG_As_int(obj2));
21335 if (SWIG_arg_fail(3)) SWIG_fail;
21336 }
d55e5bfc
RD
21337 {
21338 PyThreadState* __tstate = wxPyBeginAllowThreads();
21339 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
21340
21341 wxPyEndAllowThreads(__tstate);
21342 if (PyErr_Occurred()) SWIG_fail;
21343 }
21344 {
412d302d 21345 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
21346 }
21347 return resultobj;
21348 fail:
21349 return NULL;
21350}
21351
21352
c32bde28 21353static PyObject *_wrap_ToolBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 21354 PyObject *resultobj;
093d3ff1 21355 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
21356 wxVisualAttributes result;
21357 PyObject * obj0 = 0 ;
21358 char *kwnames[] = {
21359 (char *) "variant", NULL
21360 };
21361
21362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
21363 if (obj0) {
093d3ff1
RD
21364 {
21365 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
21366 if (SWIG_arg_fail(1)) SWIG_fail;
21367 }
f20a2e1f
RD
21368 }
21369 {
19272049 21370 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
21371 PyThreadState* __tstate = wxPyBeginAllowThreads();
21372 result = wxToolBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
21373
21374 wxPyEndAllowThreads(__tstate);
110da5b0 21375 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
21376 }
21377 {
21378 wxVisualAttributes * resultptr;
093d3ff1 21379 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
21380 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
21381 }
21382 return resultobj;
21383 fail:
21384 return NULL;
21385}
21386
21387
c32bde28 21388static PyObject * ToolBar_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
21389 PyObject *obj;
21390 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21391 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar, obj);
21392 Py_INCREF(obj);
21393 return Py_BuildValue((char *)"");
21394}
c32bde28 21395static int _wrap_ListCtrlNameStr_set(PyObject *) {
d55e5bfc
RD
21396 PyErr_SetString(PyExc_TypeError,"Variable ListCtrlNameStr is read-only.");
21397 return 1;
21398}
21399
21400
093d3ff1 21401static PyObject *_wrap_ListCtrlNameStr_get(void) {
d55e5bfc
RD
21402 PyObject *pyobj;
21403
21404 {
21405#if wxUSE_UNICODE
21406 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
21407#else
21408 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
21409#endif
21410 }
21411 return pyobj;
21412}
21413
21414
c32bde28 21415static PyObject *_wrap_new_ListItemAttr(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21416 PyObject *resultobj;
21417 wxColour const &arg1_defvalue = wxNullColour ;
21418 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
21419 wxColour const &arg2_defvalue = wxNullColour ;
21420 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
21421 wxFont const &arg3_defvalue = wxNullFont ;
21422 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
21423 wxListItemAttr *result;
21424 wxColour temp1 ;
21425 wxColour temp2 ;
21426 PyObject * obj0 = 0 ;
21427 PyObject * obj1 = 0 ;
21428 PyObject * obj2 = 0 ;
21429 char *kwnames[] = {
21430 (char *) "colText",(char *) "colBack",(char *) "font", NULL
21431 };
21432
21433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
21434 if (obj0) {
21435 {
21436 arg1 = &temp1;
21437 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
21438 }
21439 }
21440 if (obj1) {
21441 {
21442 arg2 = &temp2;
21443 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21444 }
21445 }
21446 if (obj2) {
093d3ff1
RD
21447 {
21448 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
21449 if (SWIG_arg_fail(3)) SWIG_fail;
21450 if (arg3 == NULL) {
21451 SWIG_null_ref("wxFont");
21452 }
21453 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
21454 }
21455 }
21456 {
21457 PyThreadState* __tstate = wxPyBeginAllowThreads();
21458 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
21459
21460 wxPyEndAllowThreads(__tstate);
21461 if (PyErr_Occurred()) SWIG_fail;
21462 }
21463 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 1);
21464 return resultobj;
21465 fail:
21466 return NULL;
21467}
21468
21469
c32bde28 21470static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21471 PyObject *resultobj;
21472 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21473 wxColour *arg2 = 0 ;
21474 wxColour temp2 ;
21475 PyObject * obj0 = 0 ;
21476 PyObject * obj1 = 0 ;
21477 char *kwnames[] = {
21478 (char *) "self",(char *) "colText", NULL
21479 };
21480
21481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21482 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21483 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21484 {
21485 arg2 = &temp2;
21486 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21487 }
21488 {
21489 PyThreadState* __tstate = wxPyBeginAllowThreads();
21490 (arg1)->SetTextColour((wxColour const &)*arg2);
21491
21492 wxPyEndAllowThreads(__tstate);
21493 if (PyErr_Occurred()) SWIG_fail;
21494 }
21495 Py_INCREF(Py_None); resultobj = Py_None;
21496 return resultobj;
21497 fail:
21498 return NULL;
21499}
21500
21501
c32bde28 21502static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21503 PyObject *resultobj;
21504 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21505 wxColour *arg2 = 0 ;
21506 wxColour temp2 ;
21507 PyObject * obj0 = 0 ;
21508 PyObject * obj1 = 0 ;
21509 char *kwnames[] = {
21510 (char *) "self",(char *) "colBack", NULL
21511 };
21512
21513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21514 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21515 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21516 {
21517 arg2 = &temp2;
21518 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21519 }
21520 {
21521 PyThreadState* __tstate = wxPyBeginAllowThreads();
21522 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
21523
21524 wxPyEndAllowThreads(__tstate);
21525 if (PyErr_Occurred()) SWIG_fail;
21526 }
21527 Py_INCREF(Py_None); resultobj = Py_None;
21528 return resultobj;
21529 fail:
21530 return NULL;
21531}
21532
21533
c32bde28 21534static PyObject *_wrap_ListItemAttr_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21535 PyObject *resultobj;
21536 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21537 wxFont *arg2 = 0 ;
21538 PyObject * obj0 = 0 ;
21539 PyObject * obj1 = 0 ;
21540 char *kwnames[] = {
21541 (char *) "self",(char *) "font", NULL
21542 };
21543
21544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21545 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21546 if (SWIG_arg_fail(1)) SWIG_fail;
21547 {
21548 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
21549 if (SWIG_arg_fail(2)) SWIG_fail;
21550 if (arg2 == NULL) {
21551 SWIG_null_ref("wxFont");
21552 }
21553 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
21554 }
21555 {
21556 PyThreadState* __tstate = wxPyBeginAllowThreads();
21557 (arg1)->SetFont((wxFont const &)*arg2);
21558
21559 wxPyEndAllowThreads(__tstate);
21560 if (PyErr_Occurred()) SWIG_fail;
21561 }
21562 Py_INCREF(Py_None); resultobj = Py_None;
21563 return resultobj;
21564 fail:
21565 return NULL;
21566}
21567
21568
c32bde28 21569static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21570 PyObject *resultobj;
21571 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21572 bool result;
21573 PyObject * obj0 = 0 ;
21574 char *kwnames[] = {
21575 (char *) "self", NULL
21576 };
21577
21578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasTextColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
21579 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21580 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21581 {
21582 PyThreadState* __tstate = wxPyBeginAllowThreads();
21583 result = (bool)(arg1)->HasTextColour();
21584
21585 wxPyEndAllowThreads(__tstate);
21586 if (PyErr_Occurred()) SWIG_fail;
21587 }
21588 {
21589 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21590 }
21591 return resultobj;
21592 fail:
21593 return NULL;
21594}
21595
21596
c32bde28 21597static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21598 PyObject *resultobj;
21599 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21600 bool result;
21601 PyObject * obj0 = 0 ;
21602 char *kwnames[] = {
21603 (char *) "self", NULL
21604 };
21605
21606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
21607 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21608 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21609 {
21610 PyThreadState* __tstate = wxPyBeginAllowThreads();
21611 result = (bool)(arg1)->HasBackgroundColour();
21612
21613 wxPyEndAllowThreads(__tstate);
21614 if (PyErr_Occurred()) SWIG_fail;
21615 }
21616 {
21617 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21618 }
21619 return resultobj;
21620 fail:
21621 return NULL;
21622}
21623
21624
c32bde28 21625static PyObject *_wrap_ListItemAttr_HasFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21626 PyObject *resultobj;
21627 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21628 bool result;
21629 PyObject * obj0 = 0 ;
21630 char *kwnames[] = {
21631 (char *) "self", NULL
21632 };
21633
21634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasFont",kwnames,&obj0)) goto fail;
093d3ff1
RD
21635 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21636 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21637 {
21638 PyThreadState* __tstate = wxPyBeginAllowThreads();
21639 result = (bool)(arg1)->HasFont();
21640
21641 wxPyEndAllowThreads(__tstate);
21642 if (PyErr_Occurred()) SWIG_fail;
21643 }
21644 {
21645 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21646 }
21647 return resultobj;
21648 fail:
21649 return NULL;
21650}
21651
21652
c32bde28 21653static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21654 PyObject *resultobj;
21655 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21656 wxColour result;
21657 PyObject * obj0 = 0 ;
21658 char *kwnames[] = {
21659 (char *) "self", NULL
21660 };
21661
21662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetTextColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
21663 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21664 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21665 {
21666 PyThreadState* __tstate = wxPyBeginAllowThreads();
21667 result = (arg1)->GetTextColour();
21668
21669 wxPyEndAllowThreads(__tstate);
21670 if (PyErr_Occurred()) SWIG_fail;
21671 }
21672 {
21673 wxColour * resultptr;
093d3ff1 21674 resultptr = new wxColour((wxColour &)(result));
d55e5bfc
RD
21675 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
21676 }
21677 return resultobj;
21678 fail:
21679 return NULL;
21680}
21681
21682
c32bde28 21683static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21684 PyObject *resultobj;
21685 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21686 wxColour result;
21687 PyObject * obj0 = 0 ;
21688 char *kwnames[] = {
21689 (char *) "self", NULL
21690 };
21691
21692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
21693 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21694 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21695 {
21696 PyThreadState* __tstate = wxPyBeginAllowThreads();
21697 result = (arg1)->GetBackgroundColour();
21698
21699 wxPyEndAllowThreads(__tstate);
21700 if (PyErr_Occurred()) SWIG_fail;
21701 }
21702 {
21703 wxColour * resultptr;
093d3ff1 21704 resultptr = new wxColour((wxColour &)(result));
d55e5bfc
RD
21705 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
21706 }
21707 return resultobj;
21708 fail:
21709 return NULL;
21710}
21711
21712
c32bde28 21713static PyObject *_wrap_ListItemAttr_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21714 PyObject *resultobj;
21715 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21716 wxFont result;
21717 PyObject * obj0 = 0 ;
21718 char *kwnames[] = {
21719 (char *) "self", NULL
21720 };
21721
21722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetFont",kwnames,&obj0)) goto fail;
093d3ff1
RD
21723 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21724 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21725 {
21726 PyThreadState* __tstate = wxPyBeginAllowThreads();
21727 result = (arg1)->GetFont();
21728
21729 wxPyEndAllowThreads(__tstate);
21730 if (PyErr_Occurred()) SWIG_fail;
21731 }
21732 {
21733 wxFont * resultptr;
093d3ff1 21734 resultptr = new wxFont((wxFont &)(result));
d55e5bfc
RD
21735 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
21736 }
21737 return resultobj;
21738 fail:
21739 return NULL;
21740}
21741
21742
c32bde28 21743static PyObject *_wrap_ListItemAttr_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21744 PyObject *resultobj;
21745 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21746 PyObject * obj0 = 0 ;
21747 char *kwnames[] = {
21748 (char *) "self", NULL
21749 };
21750
21751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_Destroy",kwnames,&obj0)) goto fail;
093d3ff1
RD
21752 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21753 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21754 {
21755 PyThreadState* __tstate = wxPyBeginAllowThreads();
21756 wxListItemAttr_Destroy(arg1);
21757
21758 wxPyEndAllowThreads(__tstate);
21759 if (PyErr_Occurred()) SWIG_fail;
21760 }
21761 Py_INCREF(Py_None); resultobj = Py_None;
21762 return resultobj;
21763 fail:
21764 return NULL;
21765}
21766
21767
c32bde28 21768static PyObject * ListItemAttr_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
21769 PyObject *obj;
21770 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21771 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr, obj);
21772 Py_INCREF(obj);
21773 return Py_BuildValue((char *)"");
21774}
c32bde28 21775static PyObject *_wrap_new_ListItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21776 PyObject *resultobj;
21777 wxListItem *result;
21778 char *kwnames[] = {
21779 NULL
21780 };
21781
21782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ListItem",kwnames)) goto fail;
21783 {
21784 PyThreadState* __tstate = wxPyBeginAllowThreads();
21785 result = (wxListItem *)new wxListItem();
21786
21787 wxPyEndAllowThreads(__tstate);
21788 if (PyErr_Occurred()) SWIG_fail;
21789 }
21790 {
412d302d 21791 resultobj = wxPyMake_wxObject(result, 1);
d55e5bfc
RD
21792 }
21793 return resultobj;
21794 fail:
21795 return NULL;
21796}
21797
21798
c32bde28 21799static PyObject *_wrap_delete_ListItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21800 PyObject *resultobj;
21801 wxListItem *arg1 = (wxListItem *) 0 ;
21802 PyObject * obj0 = 0 ;
21803 char *kwnames[] = {
21804 (char *) "self", NULL
21805 };
21806
21807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItem",kwnames,&obj0)) goto fail;
093d3ff1
RD
21808 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21809 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21810 {
21811 PyThreadState* __tstate = wxPyBeginAllowThreads();
21812 delete arg1;
21813
21814 wxPyEndAllowThreads(__tstate);
21815 if (PyErr_Occurred()) SWIG_fail;
21816 }
21817 Py_INCREF(Py_None); resultobj = Py_None;
21818 return resultobj;
21819 fail:
21820 return NULL;
21821}
21822
21823
c32bde28 21824static PyObject *_wrap_ListItem_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21825 PyObject *resultobj;
21826 wxListItem *arg1 = (wxListItem *) 0 ;
21827 PyObject * obj0 = 0 ;
21828 char *kwnames[] = {
21829 (char *) "self", NULL
21830 };
21831
21832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_Clear",kwnames,&obj0)) goto fail;
093d3ff1
RD
21833 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21834 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21835 {
21836 PyThreadState* __tstate = wxPyBeginAllowThreads();
21837 (arg1)->Clear();
21838
21839 wxPyEndAllowThreads(__tstate);
21840 if (PyErr_Occurred()) SWIG_fail;
21841 }
21842 Py_INCREF(Py_None); resultobj = Py_None;
21843 return resultobj;
21844 fail:
21845 return NULL;
21846}
21847
21848
c32bde28 21849static PyObject *_wrap_ListItem_ClearAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21850 PyObject *resultobj;
21851 wxListItem *arg1 = (wxListItem *) 0 ;
21852 PyObject * obj0 = 0 ;
21853 char *kwnames[] = {
21854 (char *) "self", NULL
21855 };
21856
21857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_ClearAttributes",kwnames,&obj0)) goto fail;
093d3ff1
RD
21858 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21859 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21860 {
21861 PyThreadState* __tstate = wxPyBeginAllowThreads();
21862 (arg1)->ClearAttributes();
21863
21864 wxPyEndAllowThreads(__tstate);
21865 if (PyErr_Occurred()) SWIG_fail;
21866 }
21867 Py_INCREF(Py_None); resultobj = Py_None;
21868 return resultobj;
21869 fail:
21870 return NULL;
21871}
21872
21873
c32bde28 21874static PyObject *_wrap_ListItem_SetMask(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21875 PyObject *resultobj;
21876 wxListItem *arg1 = (wxListItem *) 0 ;
21877 long arg2 ;
21878 PyObject * obj0 = 0 ;
21879 PyObject * obj1 = 0 ;
21880 char *kwnames[] = {
21881 (char *) "self",(char *) "mask", NULL
21882 };
21883
21884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetMask",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21885 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21886 if (SWIG_arg_fail(1)) SWIG_fail;
21887 {
21888 arg2 = (long)(SWIG_As_long(obj1));
21889 if (SWIG_arg_fail(2)) SWIG_fail;
21890 }
d55e5bfc
RD
21891 {
21892 PyThreadState* __tstate = wxPyBeginAllowThreads();
21893 (arg1)->SetMask(arg2);
21894
21895 wxPyEndAllowThreads(__tstate);
21896 if (PyErr_Occurred()) SWIG_fail;
21897 }
21898 Py_INCREF(Py_None); resultobj = Py_None;
21899 return resultobj;
21900 fail:
21901 return NULL;
21902}
21903
21904
c32bde28 21905static PyObject *_wrap_ListItem_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21906 PyObject *resultobj;
21907 wxListItem *arg1 = (wxListItem *) 0 ;
21908 long arg2 ;
21909 PyObject * obj0 = 0 ;
21910 PyObject * obj1 = 0 ;
21911 char *kwnames[] = {
21912 (char *) "self",(char *) "id", NULL
21913 };
21914
21915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetId",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21916 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21917 if (SWIG_arg_fail(1)) SWIG_fail;
21918 {
21919 arg2 = (long)(SWIG_As_long(obj1));
21920 if (SWIG_arg_fail(2)) SWIG_fail;
21921 }
d55e5bfc
RD
21922 {
21923 PyThreadState* __tstate = wxPyBeginAllowThreads();
21924 (arg1)->SetId(arg2);
21925
21926 wxPyEndAllowThreads(__tstate);
21927 if (PyErr_Occurred()) SWIG_fail;
21928 }
21929 Py_INCREF(Py_None); resultobj = Py_None;
21930 return resultobj;
21931 fail:
21932 return NULL;
21933}
21934
21935
c32bde28 21936static PyObject *_wrap_ListItem_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21937 PyObject *resultobj;
21938 wxListItem *arg1 = (wxListItem *) 0 ;
21939 int arg2 ;
21940 PyObject * obj0 = 0 ;
21941 PyObject * obj1 = 0 ;
21942 char *kwnames[] = {
21943 (char *) "self",(char *) "col", NULL
21944 };
21945
21946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetColumn",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21947 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21948 if (SWIG_arg_fail(1)) SWIG_fail;
21949 {
21950 arg2 = (int)(SWIG_As_int(obj1));
21951 if (SWIG_arg_fail(2)) SWIG_fail;
21952 }
d55e5bfc
RD
21953 {
21954 PyThreadState* __tstate = wxPyBeginAllowThreads();
21955 (arg1)->SetColumn(arg2);
21956
21957 wxPyEndAllowThreads(__tstate);
21958 if (PyErr_Occurred()) SWIG_fail;
21959 }
21960 Py_INCREF(Py_None); resultobj = Py_None;
21961 return resultobj;
21962 fail:
21963 return NULL;
21964}
21965
21966
c32bde28 21967static PyObject *_wrap_ListItem_SetState(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21968 PyObject *resultobj;
21969 wxListItem *arg1 = (wxListItem *) 0 ;
21970 long arg2 ;
21971 PyObject * obj0 = 0 ;
21972 PyObject * obj1 = 0 ;
21973 char *kwnames[] = {
21974 (char *) "self",(char *) "state", NULL
21975 };
21976
21977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetState",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21978 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21979 if (SWIG_arg_fail(1)) SWIG_fail;
21980 {
21981 arg2 = (long)(SWIG_As_long(obj1));
21982 if (SWIG_arg_fail(2)) SWIG_fail;
21983 }
d55e5bfc
RD
21984 {
21985 PyThreadState* __tstate = wxPyBeginAllowThreads();
21986 (arg1)->SetState(arg2);
21987
21988 wxPyEndAllowThreads(__tstate);
21989 if (PyErr_Occurred()) SWIG_fail;
21990 }
21991 Py_INCREF(Py_None); resultobj = Py_None;
21992 return resultobj;
21993 fail:
21994 return NULL;
21995}
21996
21997
c32bde28 21998static PyObject *_wrap_ListItem_SetStateMask(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21999 PyObject *resultobj;
22000 wxListItem *arg1 = (wxListItem *) 0 ;
22001 long arg2 ;
22002 PyObject * obj0 = 0 ;
22003 PyObject * obj1 = 0 ;
22004 char *kwnames[] = {
22005 (char *) "self",(char *) "stateMask", NULL
22006 };
22007
22008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetStateMask",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22009 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22010 if (SWIG_arg_fail(1)) SWIG_fail;
22011 {
22012 arg2 = (long)(SWIG_As_long(obj1));
22013 if (SWIG_arg_fail(2)) SWIG_fail;
22014 }
d55e5bfc
RD
22015 {
22016 PyThreadState* __tstate = wxPyBeginAllowThreads();
22017 (arg1)->SetStateMask(arg2);
22018
22019 wxPyEndAllowThreads(__tstate);
22020 if (PyErr_Occurred()) SWIG_fail;
22021 }
22022 Py_INCREF(Py_None); resultobj = Py_None;
22023 return resultobj;
22024 fail:
22025 return NULL;
22026}
22027
22028
c32bde28 22029static PyObject *_wrap_ListItem_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22030 PyObject *resultobj;
22031 wxListItem *arg1 = (wxListItem *) 0 ;
22032 wxString *arg2 = 0 ;
ae8162c8 22033 bool temp2 = false ;
d55e5bfc
RD
22034 PyObject * obj0 = 0 ;
22035 PyObject * obj1 = 0 ;
22036 char *kwnames[] = {
22037 (char *) "self",(char *) "text", NULL
22038 };
22039
22040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22041 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22042 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22043 {
22044 arg2 = wxString_in_helper(obj1);
22045 if (arg2 == NULL) SWIG_fail;
ae8162c8 22046 temp2 = true;
d55e5bfc
RD
22047 }
22048 {
22049 PyThreadState* __tstate = wxPyBeginAllowThreads();
22050 (arg1)->SetText((wxString const &)*arg2);
22051
22052 wxPyEndAllowThreads(__tstate);
22053 if (PyErr_Occurred()) SWIG_fail;
22054 }
22055 Py_INCREF(Py_None); resultobj = Py_None;
22056 {
22057 if (temp2)
22058 delete arg2;
22059 }
22060 return resultobj;
22061 fail:
22062 {
22063 if (temp2)
22064 delete arg2;
22065 }
22066 return NULL;
22067}
22068
22069
c32bde28 22070static PyObject *_wrap_ListItem_SetImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22071 PyObject *resultobj;
22072 wxListItem *arg1 = (wxListItem *) 0 ;
22073 int arg2 ;
22074 PyObject * obj0 = 0 ;
22075 PyObject * obj1 = 0 ;
22076 char *kwnames[] = {
22077 (char *) "self",(char *) "image", NULL
22078 };
22079
22080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetImage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22081 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22082 if (SWIG_arg_fail(1)) SWIG_fail;
22083 {
22084 arg2 = (int)(SWIG_As_int(obj1));
22085 if (SWIG_arg_fail(2)) SWIG_fail;
22086 }
d55e5bfc
RD
22087 {
22088 PyThreadState* __tstate = wxPyBeginAllowThreads();
22089 (arg1)->SetImage(arg2);
22090
22091 wxPyEndAllowThreads(__tstate);
22092 if (PyErr_Occurred()) SWIG_fail;
22093 }
22094 Py_INCREF(Py_None); resultobj = Py_None;
22095 return resultobj;
22096 fail:
22097 return NULL;
22098}
22099
22100
c32bde28 22101static PyObject *_wrap_ListItem_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22102 PyObject *resultobj;
22103 wxListItem *arg1 = (wxListItem *) 0 ;
22104 long arg2 ;
22105 PyObject * obj0 = 0 ;
22106 PyObject * obj1 = 0 ;
22107 char *kwnames[] = {
22108 (char *) "self",(char *) "data", NULL
22109 };
22110
22111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22112 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22113 if (SWIG_arg_fail(1)) SWIG_fail;
22114 {
22115 arg2 = (long)(SWIG_As_long(obj1));
22116 if (SWIG_arg_fail(2)) SWIG_fail;
22117 }
d55e5bfc
RD
22118 {
22119 PyThreadState* __tstate = wxPyBeginAllowThreads();
22120 (arg1)->SetData(arg2);
22121
22122 wxPyEndAllowThreads(__tstate);
22123 if (PyErr_Occurred()) SWIG_fail;
22124 }
22125 Py_INCREF(Py_None); resultobj = Py_None;
22126 return resultobj;
22127 fail:
22128 return NULL;
22129}
22130
22131
c32bde28 22132static PyObject *_wrap_ListItem_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22133 PyObject *resultobj;
22134 wxListItem *arg1 = (wxListItem *) 0 ;
22135 int arg2 ;
22136 PyObject * obj0 = 0 ;
22137 PyObject * obj1 = 0 ;
22138 char *kwnames[] = {
22139 (char *) "self",(char *) "width", NULL
22140 };
22141
22142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetWidth",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22143 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22144 if (SWIG_arg_fail(1)) SWIG_fail;
22145 {
22146 arg2 = (int)(SWIG_As_int(obj1));
22147 if (SWIG_arg_fail(2)) SWIG_fail;
22148 }
d55e5bfc
RD
22149 {
22150 PyThreadState* __tstate = wxPyBeginAllowThreads();
22151 (arg1)->SetWidth(arg2);
22152
22153 wxPyEndAllowThreads(__tstate);
22154 if (PyErr_Occurred()) SWIG_fail;
22155 }
22156 Py_INCREF(Py_None); resultobj = Py_None;
22157 return resultobj;
22158 fail:
22159 return NULL;
22160}
22161
22162
c32bde28 22163static PyObject *_wrap_ListItem_SetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22164 PyObject *resultobj;
22165 wxListItem *arg1 = (wxListItem *) 0 ;
093d3ff1 22166 wxListColumnFormat arg2 ;
d55e5bfc
RD
22167 PyObject * obj0 = 0 ;
22168 PyObject * obj1 = 0 ;
22169 char *kwnames[] = {
22170 (char *) "self",(char *) "align", NULL
22171 };
22172
22173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetAlign",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22174 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22175 if (SWIG_arg_fail(1)) SWIG_fail;
22176 {
22177 arg2 = (wxListColumnFormat)(SWIG_As_int(obj1));
22178 if (SWIG_arg_fail(2)) SWIG_fail;
22179 }
d55e5bfc
RD
22180 {
22181 PyThreadState* __tstate = wxPyBeginAllowThreads();
22182 (arg1)->SetAlign((wxListColumnFormat )arg2);
22183
22184 wxPyEndAllowThreads(__tstate);
22185 if (PyErr_Occurred()) SWIG_fail;
22186 }
22187 Py_INCREF(Py_None); resultobj = Py_None;
22188 return resultobj;
22189 fail:
22190 return NULL;
22191}
22192
22193
c32bde28 22194static PyObject *_wrap_ListItem_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22195 PyObject *resultobj;
22196 wxListItem *arg1 = (wxListItem *) 0 ;
22197 wxColour *arg2 = 0 ;
22198 wxColour temp2 ;
22199 PyObject * obj0 = 0 ;
22200 PyObject * obj1 = 0 ;
22201 char *kwnames[] = {
22202 (char *) "self",(char *) "colText", NULL
22203 };
22204
22205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22206 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22207 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22208 {
22209 arg2 = &temp2;
22210 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22211 }
22212 {
22213 PyThreadState* __tstate = wxPyBeginAllowThreads();
22214 (arg1)->SetTextColour((wxColour const &)*arg2);
22215
22216 wxPyEndAllowThreads(__tstate);
22217 if (PyErr_Occurred()) SWIG_fail;
22218 }
22219 Py_INCREF(Py_None); resultobj = Py_None;
22220 return resultobj;
22221 fail:
22222 return NULL;
22223}
22224
22225
c32bde28 22226static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22227 PyObject *resultobj;
22228 wxListItem *arg1 = (wxListItem *) 0 ;
22229 wxColour *arg2 = 0 ;
22230 wxColour temp2 ;
22231 PyObject * obj0 = 0 ;
22232 PyObject * obj1 = 0 ;
22233 char *kwnames[] = {
22234 (char *) "self",(char *) "colBack", NULL
22235 };
22236
22237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22238 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22239 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22240 {
22241 arg2 = &temp2;
22242 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22243 }
22244 {
22245 PyThreadState* __tstate = wxPyBeginAllowThreads();
22246 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
22247
22248 wxPyEndAllowThreads(__tstate);
22249 if (PyErr_Occurred()) SWIG_fail;
22250 }
22251 Py_INCREF(Py_None); resultobj = Py_None;
22252 return resultobj;
22253 fail:
22254 return NULL;
22255}
22256
22257
c32bde28 22258static PyObject *_wrap_ListItem_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22259 PyObject *resultobj;
22260 wxListItem *arg1 = (wxListItem *) 0 ;
22261 wxFont *arg2 = 0 ;
22262 PyObject * obj0 = 0 ;
22263 PyObject * obj1 = 0 ;
22264 char *kwnames[] = {
22265 (char *) "self",(char *) "font", NULL
22266 };
22267
22268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22269 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22270 if (SWIG_arg_fail(1)) SWIG_fail;
22271 {
22272 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
22273 if (SWIG_arg_fail(2)) SWIG_fail;
22274 if (arg2 == NULL) {
22275 SWIG_null_ref("wxFont");
22276 }
22277 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
22278 }
22279 {
22280 PyThreadState* __tstate = wxPyBeginAllowThreads();
22281 (arg1)->SetFont((wxFont const &)*arg2);
22282
22283 wxPyEndAllowThreads(__tstate);
22284 if (PyErr_Occurred()) SWIG_fail;
22285 }
22286 Py_INCREF(Py_None); resultobj = Py_None;
22287 return resultobj;
22288 fail:
22289 return NULL;
22290}
22291
22292
c32bde28 22293static PyObject *_wrap_ListItem_GetMask(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22294 PyObject *resultobj;
22295 wxListItem *arg1 = (wxListItem *) 0 ;
22296 long result;
22297 PyObject * obj0 = 0 ;
22298 char *kwnames[] = {
22299 (char *) "self", NULL
22300 };
22301
22302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetMask",kwnames,&obj0)) goto fail;
093d3ff1
RD
22303 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22304 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22305 {
22306 PyThreadState* __tstate = wxPyBeginAllowThreads();
22307 result = (long)(arg1)->GetMask();
22308
22309 wxPyEndAllowThreads(__tstate);
22310 if (PyErr_Occurred()) SWIG_fail;
22311 }
093d3ff1
RD
22312 {
22313 resultobj = SWIG_From_long((long)(result));
22314 }
d55e5bfc
RD
22315 return resultobj;
22316 fail:
22317 return NULL;
22318}
22319
22320
c32bde28 22321static PyObject *_wrap_ListItem_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22322 PyObject *resultobj;
22323 wxListItem *arg1 = (wxListItem *) 0 ;
22324 long result;
22325 PyObject * obj0 = 0 ;
22326 char *kwnames[] = {
22327 (char *) "self", NULL
22328 };
22329
22330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetId",kwnames,&obj0)) goto fail;
093d3ff1
RD
22331 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22332 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22333 {
22334 PyThreadState* __tstate = wxPyBeginAllowThreads();
22335 result = (long)(arg1)->GetId();
22336
22337 wxPyEndAllowThreads(__tstate);
22338 if (PyErr_Occurred()) SWIG_fail;
22339 }
093d3ff1
RD
22340 {
22341 resultobj = SWIG_From_long((long)(result));
22342 }
d55e5bfc
RD
22343 return resultobj;
22344 fail:
22345 return NULL;
22346}
22347
22348
c32bde28 22349static PyObject *_wrap_ListItem_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22350 PyObject *resultobj;
22351 wxListItem *arg1 = (wxListItem *) 0 ;
22352 int result;
22353 PyObject * obj0 = 0 ;
22354 char *kwnames[] = {
22355 (char *) "self", NULL
22356 };
22357
22358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetColumn",kwnames,&obj0)) goto fail;
093d3ff1
RD
22359 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22360 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22361 {
22362 PyThreadState* __tstate = wxPyBeginAllowThreads();
22363 result = (int)(arg1)->GetColumn();
22364
22365 wxPyEndAllowThreads(__tstate);
22366 if (PyErr_Occurred()) SWIG_fail;
22367 }
093d3ff1
RD
22368 {
22369 resultobj = SWIG_From_int((int)(result));
22370 }
d55e5bfc
RD
22371 return resultobj;
22372 fail:
22373 return NULL;
22374}
22375
22376
c32bde28 22377static PyObject *_wrap_ListItem_GetState(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22378 PyObject *resultobj;
22379 wxListItem *arg1 = (wxListItem *) 0 ;
22380 long result;
22381 PyObject * obj0 = 0 ;
22382 char *kwnames[] = {
22383 (char *) "self", NULL
22384 };
22385
22386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetState",kwnames,&obj0)) goto fail;
093d3ff1
RD
22387 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22388 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22389 {
22390 PyThreadState* __tstate = wxPyBeginAllowThreads();
22391 result = (long)(arg1)->GetState();
22392
22393 wxPyEndAllowThreads(__tstate);
22394 if (PyErr_Occurred()) SWIG_fail;
22395 }
093d3ff1
RD
22396 {
22397 resultobj = SWIG_From_long((long)(result));
22398 }
d55e5bfc
RD
22399 return resultobj;
22400 fail:
22401 return NULL;
22402}
22403
22404
c32bde28 22405static PyObject *_wrap_ListItem_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22406 PyObject *resultobj;
22407 wxListItem *arg1 = (wxListItem *) 0 ;
22408 wxString *result;
22409 PyObject * obj0 = 0 ;
22410 char *kwnames[] = {
22411 (char *) "self", NULL
22412 };
22413
22414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetText",kwnames,&obj0)) goto fail;
093d3ff1
RD
22415 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22416 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22417 {
22418 PyThreadState* __tstate = wxPyBeginAllowThreads();
22419 {
22420 wxString const &_result_ref = (arg1)->GetText();
22421 result = (wxString *) &_result_ref;
22422 }
22423
22424 wxPyEndAllowThreads(__tstate);
22425 if (PyErr_Occurred()) SWIG_fail;
22426 }
22427 {
22428#if wxUSE_UNICODE
22429 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
22430#else
22431 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
22432#endif
22433 }
22434 return resultobj;
22435 fail:
22436 return NULL;
22437}
22438
22439
c32bde28 22440static PyObject *_wrap_ListItem_GetImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22441 PyObject *resultobj;
22442 wxListItem *arg1 = (wxListItem *) 0 ;
22443 int result;
22444 PyObject * obj0 = 0 ;
22445 char *kwnames[] = {
22446 (char *) "self", NULL
22447 };
22448
22449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetImage",kwnames,&obj0)) goto fail;
093d3ff1
RD
22450 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22451 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22452 {
22453 PyThreadState* __tstate = wxPyBeginAllowThreads();
22454 result = (int)(arg1)->GetImage();
22455
22456 wxPyEndAllowThreads(__tstate);
22457 if (PyErr_Occurred()) SWIG_fail;
22458 }
093d3ff1
RD
22459 {
22460 resultobj = SWIG_From_int((int)(result));
22461 }
d55e5bfc
RD
22462 return resultobj;
22463 fail:
22464 return NULL;
22465}
22466
22467
c32bde28 22468static PyObject *_wrap_ListItem_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22469 PyObject *resultobj;
22470 wxListItem *arg1 = (wxListItem *) 0 ;
22471 long result;
22472 PyObject * obj0 = 0 ;
22473 char *kwnames[] = {
22474 (char *) "self", NULL
22475 };
22476
22477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetData",kwnames,&obj0)) goto fail;
093d3ff1
RD
22478 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22479 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22480 {
22481 PyThreadState* __tstate = wxPyBeginAllowThreads();
22482 result = (long)(arg1)->GetData();
22483
22484 wxPyEndAllowThreads(__tstate);
22485 if (PyErr_Occurred()) SWIG_fail;
22486 }
093d3ff1
RD
22487 {
22488 resultobj = SWIG_From_long((long)(result));
22489 }
d55e5bfc
RD
22490 return resultobj;
22491 fail:
22492 return NULL;
22493}
22494
22495
c32bde28 22496static PyObject *_wrap_ListItem_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22497 PyObject *resultobj;
22498 wxListItem *arg1 = (wxListItem *) 0 ;
22499 int result;
22500 PyObject * obj0 = 0 ;
22501 char *kwnames[] = {
22502 (char *) "self", NULL
22503 };
22504
22505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetWidth",kwnames,&obj0)) goto fail;
093d3ff1
RD
22506 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22507 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22508 {
22509 PyThreadState* __tstate = wxPyBeginAllowThreads();
22510 result = (int)(arg1)->GetWidth();
22511
22512 wxPyEndAllowThreads(__tstate);
22513 if (PyErr_Occurred()) SWIG_fail;
22514 }
093d3ff1
RD
22515 {
22516 resultobj = SWIG_From_int((int)(result));
22517 }
d55e5bfc
RD
22518 return resultobj;
22519 fail:
22520 return NULL;
22521}
22522
22523
c32bde28 22524static PyObject *_wrap_ListItem_GetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22525 PyObject *resultobj;
22526 wxListItem *arg1 = (wxListItem *) 0 ;
093d3ff1 22527 wxListColumnFormat result;
d55e5bfc
RD
22528 PyObject * obj0 = 0 ;
22529 char *kwnames[] = {
22530 (char *) "self", NULL
22531 };
22532
22533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAlign",kwnames,&obj0)) goto fail;
093d3ff1
RD
22534 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22535 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22536 {
22537 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 22538 result = (wxListColumnFormat)(arg1)->GetAlign();
d55e5bfc
RD
22539
22540 wxPyEndAllowThreads(__tstate);
22541 if (PyErr_Occurred()) SWIG_fail;
22542 }
093d3ff1 22543 resultobj = SWIG_From_int((result));
d55e5bfc
RD
22544 return resultobj;
22545 fail:
22546 return NULL;
22547}
22548
22549
c32bde28 22550static PyObject *_wrap_ListItem_GetAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22551 PyObject *resultobj;
22552 wxListItem *arg1 = (wxListItem *) 0 ;
22553 wxListItemAttr *result;
22554 PyObject * obj0 = 0 ;
22555 char *kwnames[] = {
22556 (char *) "self", NULL
22557 };
22558
22559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAttributes",kwnames,&obj0)) goto fail;
093d3ff1
RD
22560 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22561 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22562 {
22563 PyThreadState* __tstate = wxPyBeginAllowThreads();
22564 result = (wxListItemAttr *)(arg1)->GetAttributes();
22565
22566 wxPyEndAllowThreads(__tstate);
22567 if (PyErr_Occurred()) SWIG_fail;
22568 }
22569 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 0);
22570 return resultobj;
22571 fail:
22572 return NULL;
22573}
22574
22575
c32bde28 22576static PyObject *_wrap_ListItem_HasAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22577 PyObject *resultobj;
22578 wxListItem *arg1 = (wxListItem *) 0 ;
22579 bool result;
22580 PyObject * obj0 = 0 ;
22581 char *kwnames[] = {
22582 (char *) "self", NULL
22583 };
22584
22585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_HasAttributes",kwnames,&obj0)) goto fail;
093d3ff1
RD
22586 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22587 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22588 {
22589 PyThreadState* __tstate = wxPyBeginAllowThreads();
22590 result = (bool)(arg1)->HasAttributes();
22591
22592 wxPyEndAllowThreads(__tstate);
22593 if (PyErr_Occurred()) SWIG_fail;
22594 }
22595 {
22596 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22597 }
22598 return resultobj;
22599 fail:
22600 return NULL;
22601}
22602
22603
c32bde28 22604static PyObject *_wrap_ListItem_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22605 PyObject *resultobj;
22606 wxListItem *arg1 = (wxListItem *) 0 ;
22607 wxColour result;
22608 PyObject * obj0 = 0 ;
22609 char *kwnames[] = {
22610 (char *) "self", NULL
22611 };
22612
22613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetTextColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
22614 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22615 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22616 {
22617 PyThreadState* __tstate = wxPyBeginAllowThreads();
22618 result = ((wxListItem const *)arg1)->GetTextColour();
22619
22620 wxPyEndAllowThreads(__tstate);
22621 if (PyErr_Occurred()) SWIG_fail;
22622 }
22623 {
22624 wxColour * resultptr;
093d3ff1 22625 resultptr = new wxColour((wxColour &)(result));
d55e5bfc
RD
22626 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
22627 }
22628 return resultobj;
22629 fail:
22630 return NULL;
22631}
22632
22633
c32bde28 22634static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22635 PyObject *resultobj;
22636 wxListItem *arg1 = (wxListItem *) 0 ;
22637 wxColour result;
22638 PyObject * obj0 = 0 ;
22639 char *kwnames[] = {
22640 (char *) "self", NULL
22641 };
22642
22643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
22644 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22645 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22646 {
22647 PyThreadState* __tstate = wxPyBeginAllowThreads();
22648 result = ((wxListItem const *)arg1)->GetBackgroundColour();
22649
22650 wxPyEndAllowThreads(__tstate);
22651 if (PyErr_Occurred()) SWIG_fail;
22652 }
22653 {
22654 wxColour * resultptr;
093d3ff1 22655 resultptr = new wxColour((wxColour &)(result));
d55e5bfc
RD
22656 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
22657 }
22658 return resultobj;
22659 fail:
22660 return NULL;
22661}
22662
22663
c32bde28 22664static PyObject *_wrap_ListItem_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22665 PyObject *resultobj;
22666 wxListItem *arg1 = (wxListItem *) 0 ;
22667 wxFont result;
22668 PyObject * obj0 = 0 ;
22669 char *kwnames[] = {
22670 (char *) "self", NULL
22671 };
22672
22673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetFont",kwnames,&obj0)) goto fail;
093d3ff1
RD
22674 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22675 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22676 {
22677 PyThreadState* __tstate = wxPyBeginAllowThreads();
22678 result = ((wxListItem const *)arg1)->GetFont();
22679
22680 wxPyEndAllowThreads(__tstate);
22681 if (PyErr_Occurred()) SWIG_fail;
22682 }
22683 {
22684 wxFont * resultptr;
093d3ff1 22685 resultptr = new wxFont((wxFont &)(result));
d55e5bfc
RD
22686 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
22687 }
22688 return resultobj;
22689 fail:
22690 return NULL;
22691}
22692
22693
c32bde28 22694static PyObject *_wrap_ListItem_m_mask_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22695 PyObject *resultobj;
22696 wxListItem *arg1 = (wxListItem *) 0 ;
22697 long arg2 ;
22698 PyObject * obj0 = 0 ;
22699 PyObject * obj1 = 0 ;
22700 char *kwnames[] = {
22701 (char *) "self",(char *) "m_mask", NULL
22702 };
22703
22704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_mask_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22705 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22706 if (SWIG_arg_fail(1)) SWIG_fail;
22707 {
22708 arg2 = (long)(SWIG_As_long(obj1));
22709 if (SWIG_arg_fail(2)) SWIG_fail;
22710 }
d55e5bfc
RD
22711 if (arg1) (arg1)->m_mask = arg2;
22712
22713 Py_INCREF(Py_None); resultobj = Py_None;
22714 return resultobj;
22715 fail:
22716 return NULL;
22717}
22718
22719
c32bde28 22720static PyObject *_wrap_ListItem_m_mask_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22721 PyObject *resultobj;
22722 wxListItem *arg1 = (wxListItem *) 0 ;
22723 long result;
22724 PyObject * obj0 = 0 ;
22725 char *kwnames[] = {
22726 (char *) "self", NULL
22727 };
22728
22729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_mask_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
22730 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22731 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22732 result = (long) ((arg1)->m_mask);
22733
093d3ff1
RD
22734 {
22735 resultobj = SWIG_From_long((long)(result));
22736 }
d55e5bfc
RD
22737 return resultobj;
22738 fail:
22739 return NULL;
22740}
22741
22742
c32bde28 22743static PyObject *_wrap_ListItem_m_itemId_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22744 PyObject *resultobj;
22745 wxListItem *arg1 = (wxListItem *) 0 ;
22746 long arg2 ;
22747 PyObject * obj0 = 0 ;
22748 PyObject * obj1 = 0 ;
22749 char *kwnames[] = {
22750 (char *) "self",(char *) "m_itemId", NULL
22751 };
22752
22753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_itemId_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22754 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22755 if (SWIG_arg_fail(1)) SWIG_fail;
22756 {
22757 arg2 = (long)(SWIG_As_long(obj1));
22758 if (SWIG_arg_fail(2)) SWIG_fail;
22759 }
d55e5bfc
RD
22760 if (arg1) (arg1)->m_itemId = arg2;
22761
22762 Py_INCREF(Py_None); resultobj = Py_None;
22763 return resultobj;
22764 fail:
22765 return NULL;
22766}
22767
22768
c32bde28 22769static PyObject *_wrap_ListItem_m_itemId_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22770 PyObject *resultobj;
22771 wxListItem *arg1 = (wxListItem *) 0 ;
22772 long result;
22773 PyObject * obj0 = 0 ;
22774 char *kwnames[] = {
22775 (char *) "self", NULL
22776 };
22777
22778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_itemId_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
22779 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22780 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22781 result = (long) ((arg1)->m_itemId);
22782
093d3ff1
RD
22783 {
22784 resultobj = SWIG_From_long((long)(result));
22785 }
d55e5bfc
RD
22786 return resultobj;
22787 fail:
22788 return NULL;
22789}
22790
22791
c32bde28 22792static PyObject *_wrap_ListItem_m_col_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22793 PyObject *resultobj;
22794 wxListItem *arg1 = (wxListItem *) 0 ;
22795 int arg2 ;
22796 PyObject * obj0 = 0 ;
22797 PyObject * obj1 = 0 ;
22798 char *kwnames[] = {
22799 (char *) "self",(char *) "m_col", NULL
22800 };
22801
22802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_col_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22803 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22804 if (SWIG_arg_fail(1)) SWIG_fail;
22805 {
22806 arg2 = (int)(SWIG_As_int(obj1));
22807 if (SWIG_arg_fail(2)) SWIG_fail;
22808 }
d55e5bfc
RD
22809 if (arg1) (arg1)->m_col = arg2;
22810
22811 Py_INCREF(Py_None); resultobj = Py_None;
22812 return resultobj;
22813 fail:
22814 return NULL;
22815}
22816
22817
c32bde28 22818static PyObject *_wrap_ListItem_m_col_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22819 PyObject *resultobj;
22820 wxListItem *arg1 = (wxListItem *) 0 ;
22821 int result;
22822 PyObject * obj0 = 0 ;
22823 char *kwnames[] = {
22824 (char *) "self", NULL
22825 };
22826
22827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_col_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
22828 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22829 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22830 result = (int) ((arg1)->m_col);
22831
093d3ff1
RD
22832 {
22833 resultobj = SWIG_From_int((int)(result));
22834 }
d55e5bfc
RD
22835 return resultobj;
22836 fail:
22837 return NULL;
22838}
22839
22840
c32bde28 22841static PyObject *_wrap_ListItem_m_state_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22842 PyObject *resultobj;
22843 wxListItem *arg1 = (wxListItem *) 0 ;
22844 long arg2 ;
22845 PyObject * obj0 = 0 ;
22846 PyObject * obj1 = 0 ;
22847 char *kwnames[] = {
22848 (char *) "self",(char *) "m_state", NULL
22849 };
22850
22851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_state_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22852 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22853 if (SWIG_arg_fail(1)) SWIG_fail;
22854 {
22855 arg2 = (long)(SWIG_As_long(obj1));
22856 if (SWIG_arg_fail(2)) SWIG_fail;
22857 }
d55e5bfc
RD
22858 if (arg1) (arg1)->m_state = arg2;
22859
22860 Py_INCREF(Py_None); resultobj = Py_None;
22861 return resultobj;
22862 fail:
22863 return NULL;
22864}
22865
22866
c32bde28 22867static PyObject *_wrap_ListItem_m_state_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22868 PyObject *resultobj;
22869 wxListItem *arg1 = (wxListItem *) 0 ;
22870 long result;
22871 PyObject * obj0 = 0 ;
22872 char *kwnames[] = {
22873 (char *) "self", NULL
22874 };
22875
22876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_state_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
22877 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22878 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22879 result = (long) ((arg1)->m_state);
22880
093d3ff1
RD
22881 {
22882 resultobj = SWIG_From_long((long)(result));
22883 }
d55e5bfc
RD
22884 return resultobj;
22885 fail:
22886 return NULL;
22887}
22888
22889
c32bde28 22890static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22891 PyObject *resultobj;
22892 wxListItem *arg1 = (wxListItem *) 0 ;
22893 long arg2 ;
22894 PyObject * obj0 = 0 ;
22895 PyObject * obj1 = 0 ;
22896 char *kwnames[] = {
22897 (char *) "self",(char *) "m_stateMask", NULL
22898 };
22899
22900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_stateMask_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22901 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22902 if (SWIG_arg_fail(1)) SWIG_fail;
22903 {
22904 arg2 = (long)(SWIG_As_long(obj1));
22905 if (SWIG_arg_fail(2)) SWIG_fail;
22906 }
d55e5bfc
RD
22907 if (arg1) (arg1)->m_stateMask = arg2;
22908
22909 Py_INCREF(Py_None); resultobj = Py_None;
22910 return resultobj;
22911 fail:
22912 return NULL;
22913}
22914
22915
c32bde28 22916static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22917 PyObject *resultobj;
22918 wxListItem *arg1 = (wxListItem *) 0 ;
22919 long result;
22920 PyObject * obj0 = 0 ;
22921 char *kwnames[] = {
22922 (char *) "self", NULL
22923 };
22924
22925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_stateMask_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
22926 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22927 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22928 result = (long) ((arg1)->m_stateMask);
22929
093d3ff1
RD
22930 {
22931 resultobj = SWIG_From_long((long)(result));
22932 }
d55e5bfc
RD
22933 return resultobj;
22934 fail:
22935 return NULL;
22936}
22937
22938
c32bde28 22939static PyObject *_wrap_ListItem_m_text_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22940 PyObject *resultobj;
22941 wxListItem *arg1 = (wxListItem *) 0 ;
22942 wxString *arg2 = (wxString *) 0 ;
ae8162c8 22943 bool temp2 = false ;
d55e5bfc
RD
22944 PyObject * obj0 = 0 ;
22945 PyObject * obj1 = 0 ;
22946 char *kwnames[] = {
22947 (char *) "self",(char *) "m_text", NULL
22948 };
22949
22950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22951 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22952 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22953 {
22954 arg2 = wxString_in_helper(obj1);
22955 if (arg2 == NULL) SWIG_fail;
ae8162c8 22956 temp2 = true;
d55e5bfc
RD
22957 }
22958 if (arg1) (arg1)->m_text = *arg2;
22959
22960 Py_INCREF(Py_None); resultobj = Py_None;
22961 {
22962 if (temp2)
22963 delete arg2;
22964 }
22965 return resultobj;
22966 fail:
22967 {
22968 if (temp2)
22969 delete arg2;
22970 }
22971 return NULL;
22972}
22973
22974
c32bde28 22975static PyObject *_wrap_ListItem_m_text_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22976 PyObject *resultobj;
22977 wxListItem *arg1 = (wxListItem *) 0 ;
22978 wxString *result;
22979 PyObject * obj0 = 0 ;
22980 char *kwnames[] = {
22981 (char *) "self", NULL
22982 };
22983
22984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
22985 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22986 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22987 result = (wxString *)& ((arg1)->m_text);
22988
22989 {
22990#if wxUSE_UNICODE
22991 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
22992#else
22993 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
22994#endif
22995 }
22996 return resultobj;
22997 fail:
22998 return NULL;
22999}
23000
23001
c32bde28 23002static PyObject *_wrap_ListItem_m_image_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23003 PyObject *resultobj;
23004 wxListItem *arg1 = (wxListItem *) 0 ;
23005 int arg2 ;
23006 PyObject * obj0 = 0 ;
23007 PyObject * obj1 = 0 ;
23008 char *kwnames[] = {
23009 (char *) "self",(char *) "m_image", NULL
23010 };
23011
23012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_image_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23013 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23014 if (SWIG_arg_fail(1)) SWIG_fail;
23015 {
23016 arg2 = (int)(SWIG_As_int(obj1));
23017 if (SWIG_arg_fail(2)) SWIG_fail;
23018 }
d55e5bfc
RD
23019 if (arg1) (arg1)->m_image = arg2;
23020
23021 Py_INCREF(Py_None); resultobj = Py_None;
23022 return resultobj;
23023 fail:
23024 return NULL;
23025}
23026
23027
c32bde28 23028static PyObject *_wrap_ListItem_m_image_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23029 PyObject *resultobj;
23030 wxListItem *arg1 = (wxListItem *) 0 ;
23031 int result;
23032 PyObject * obj0 = 0 ;
23033 char *kwnames[] = {
23034 (char *) "self", NULL
23035 };
23036
23037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
23038 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23039 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23040 result = (int) ((arg1)->m_image);
23041
093d3ff1
RD
23042 {
23043 resultobj = SWIG_From_int((int)(result));
23044 }
d55e5bfc
RD
23045 return resultobj;
23046 fail:
23047 return NULL;
23048}
23049
23050
c32bde28 23051static PyObject *_wrap_ListItem_m_data_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23052 PyObject *resultobj;
23053 wxListItem *arg1 = (wxListItem *) 0 ;
23054 long arg2 ;
23055 PyObject * obj0 = 0 ;
23056 PyObject * obj1 = 0 ;
23057 char *kwnames[] = {
23058 (char *) "self",(char *) "m_data", NULL
23059 };
23060
23061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_data_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23062 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23063 if (SWIG_arg_fail(1)) SWIG_fail;
23064 {
23065 arg2 = (long)(SWIG_As_long(obj1));
23066 if (SWIG_arg_fail(2)) SWIG_fail;
23067 }
d55e5bfc
RD
23068 if (arg1) (arg1)->m_data = arg2;
23069
23070 Py_INCREF(Py_None); resultobj = Py_None;
23071 return resultobj;
23072 fail:
23073 return NULL;
23074}
23075
23076
c32bde28 23077static PyObject *_wrap_ListItem_m_data_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23078 PyObject *resultobj;
23079 wxListItem *arg1 = (wxListItem *) 0 ;
23080 long result;
23081 PyObject * obj0 = 0 ;
23082 char *kwnames[] = {
23083 (char *) "self", NULL
23084 };
23085
23086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_data_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
23087 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23088 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23089 result = (long) ((arg1)->m_data);
23090
093d3ff1
RD
23091 {
23092 resultobj = SWIG_From_long((long)(result));
23093 }
d55e5bfc
RD
23094 return resultobj;
23095 fail:
23096 return NULL;
23097}
23098
23099
c32bde28 23100static PyObject *_wrap_ListItem_m_format_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23101 PyObject *resultobj;
23102 wxListItem *arg1 = (wxListItem *) 0 ;
23103 int arg2 ;
23104 PyObject * obj0 = 0 ;
23105 PyObject * obj1 = 0 ;
23106 char *kwnames[] = {
23107 (char *) "self",(char *) "m_format", NULL
23108 };
23109
23110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_format_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23111 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23112 if (SWIG_arg_fail(1)) SWIG_fail;
23113 {
23114 arg2 = (int)(SWIG_As_int(obj1));
23115 if (SWIG_arg_fail(2)) SWIG_fail;
23116 }
d55e5bfc
RD
23117 if (arg1) (arg1)->m_format = arg2;
23118
23119 Py_INCREF(Py_None); resultobj = Py_None;
23120 return resultobj;
23121 fail:
23122 return NULL;
23123}
23124
23125
c32bde28 23126static PyObject *_wrap_ListItem_m_format_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23127 PyObject *resultobj;
23128 wxListItem *arg1 = (wxListItem *) 0 ;
23129 int result;
23130 PyObject * obj0 = 0 ;
23131 char *kwnames[] = {
23132 (char *) "self", NULL
23133 };
23134
23135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_format_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
23136 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23137 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23138 result = (int) ((arg1)->m_format);
23139
093d3ff1
RD
23140 {
23141 resultobj = SWIG_From_int((int)(result));
23142 }
d55e5bfc
RD
23143 return resultobj;
23144 fail:
23145 return NULL;
23146}
23147
23148
c32bde28 23149static PyObject *_wrap_ListItem_m_width_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23150 PyObject *resultobj;
23151 wxListItem *arg1 = (wxListItem *) 0 ;
23152 int arg2 ;
23153 PyObject * obj0 = 0 ;
23154 PyObject * obj1 = 0 ;
23155 char *kwnames[] = {
23156 (char *) "self",(char *) "m_width", NULL
23157 };
23158
23159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_width_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23160 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23161 if (SWIG_arg_fail(1)) SWIG_fail;
23162 {
23163 arg2 = (int)(SWIG_As_int(obj1));
23164 if (SWIG_arg_fail(2)) SWIG_fail;
23165 }
d55e5bfc
RD
23166 if (arg1) (arg1)->m_width = arg2;
23167
23168 Py_INCREF(Py_None); resultobj = Py_None;
23169 return resultobj;
23170 fail:
23171 return NULL;
23172}
23173
23174
c32bde28 23175static PyObject *_wrap_ListItem_m_width_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23176 PyObject *resultobj;
23177 wxListItem *arg1 = (wxListItem *) 0 ;
23178 int result;
23179 PyObject * obj0 = 0 ;
23180 char *kwnames[] = {
23181 (char *) "self", NULL
23182 };
23183
23184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
23185 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23186 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23187 result = (int) ((arg1)->m_width);
23188
093d3ff1
RD
23189 {
23190 resultobj = SWIG_From_int((int)(result));
23191 }
d55e5bfc
RD
23192 return resultobj;
23193 fail:
23194 return NULL;
23195}
23196
23197
c32bde28 23198static PyObject * ListItem_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
23199 PyObject *obj;
23200 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23201 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
23202 Py_INCREF(obj);
23203 return Py_BuildValue((char *)"");
23204}
c32bde28 23205static PyObject *_wrap_new_ListEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23206 PyObject *resultobj;
23207 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
23208 int arg2 = (int) 0 ;
23209 wxListEvent *result;
23210 PyObject * obj0 = 0 ;
23211 PyObject * obj1 = 0 ;
23212 char *kwnames[] = {
23213 (char *) "commandType",(char *) "id", NULL
23214 };
23215
23216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ListEvent",kwnames,&obj0,&obj1)) goto fail;
23217 if (obj0) {
093d3ff1
RD
23218 {
23219 arg1 = (wxEventType)(SWIG_As_int(obj0));
23220 if (SWIG_arg_fail(1)) SWIG_fail;
23221 }
d55e5bfc
RD
23222 }
23223 if (obj1) {
093d3ff1
RD
23224 {
23225 arg2 = (int)(SWIG_As_int(obj1));
23226 if (SWIG_arg_fail(2)) SWIG_fail;
23227 }
d55e5bfc
RD
23228 }
23229 {
23230 PyThreadState* __tstate = wxPyBeginAllowThreads();
23231 result = (wxListEvent *)new wxListEvent(arg1,arg2);
23232
23233 wxPyEndAllowThreads(__tstate);
23234 if (PyErr_Occurred()) SWIG_fail;
23235 }
23236 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListEvent, 1);
23237 return resultobj;
23238 fail:
23239 return NULL;
23240}
23241
23242
c32bde28 23243static PyObject *_wrap_ListEvent_m_code_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23244 PyObject *resultobj;
23245 wxListEvent *arg1 = (wxListEvent *) 0 ;
23246 int arg2 ;
23247 PyObject * obj0 = 0 ;
23248 PyObject * obj1 = 0 ;
23249 char *kwnames[] = {
23250 (char *) "self",(char *) "m_code", NULL
23251 };
23252
23253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_code_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23254 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23255 if (SWIG_arg_fail(1)) SWIG_fail;
23256 {
23257 arg2 = (int)(SWIG_As_int(obj1));
23258 if (SWIG_arg_fail(2)) SWIG_fail;
23259 }
d55e5bfc
RD
23260 if (arg1) (arg1)->m_code = arg2;
23261
23262 Py_INCREF(Py_None); resultobj = Py_None;
23263 return resultobj;
23264 fail:
23265 return NULL;
23266}
23267
23268
c32bde28 23269static PyObject *_wrap_ListEvent_m_code_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23270 PyObject *resultobj;
23271 wxListEvent *arg1 = (wxListEvent *) 0 ;
23272 int result;
23273 PyObject * obj0 = 0 ;
23274 char *kwnames[] = {
23275 (char *) "self", NULL
23276 };
23277
23278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
23279 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23280 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23281 result = (int) ((arg1)->m_code);
23282
093d3ff1
RD
23283 {
23284 resultobj = SWIG_From_int((int)(result));
23285 }
d55e5bfc
RD
23286 return resultobj;
23287 fail:
23288 return NULL;
23289}
23290
23291
c32bde28 23292static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23293 PyObject *resultobj;
23294 wxListEvent *arg1 = (wxListEvent *) 0 ;
23295 long arg2 ;
23296 PyObject * obj0 = 0 ;
23297 PyObject * obj1 = 0 ;
23298 char *kwnames[] = {
23299 (char *) "self",(char *) "m_oldItemIndex", NULL
23300 };
23301
23302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23303 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23304 if (SWIG_arg_fail(1)) SWIG_fail;
23305 {
23306 arg2 = (long)(SWIG_As_long(obj1));
23307 if (SWIG_arg_fail(2)) SWIG_fail;
23308 }
d55e5bfc
RD
23309 if (arg1) (arg1)->m_oldItemIndex = arg2;
23310
23311 Py_INCREF(Py_None); resultobj = Py_None;
23312 return resultobj;
23313 fail:
23314 return NULL;
23315}
23316
23317
c32bde28 23318static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23319 PyObject *resultobj;
23320 wxListEvent *arg1 = (wxListEvent *) 0 ;
23321 long result;
23322 PyObject * obj0 = 0 ;
23323 char *kwnames[] = {
23324 (char *) "self", NULL
23325 };
23326
23327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
23328 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23329 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23330 result = (long) ((arg1)->m_oldItemIndex);
23331
093d3ff1
RD
23332 {
23333 resultobj = SWIG_From_long((long)(result));
23334 }
d55e5bfc
RD
23335 return resultobj;
23336 fail:
23337 return NULL;
23338}
23339
23340
c32bde28 23341static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23342 PyObject *resultobj;
23343 wxListEvent *arg1 = (wxListEvent *) 0 ;
23344 long arg2 ;
23345 PyObject * obj0 = 0 ;
23346 PyObject * obj1 = 0 ;
23347 char *kwnames[] = {
23348 (char *) "self",(char *) "m_itemIndex", NULL
23349 };
23350
23351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_itemIndex_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23352 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23353 if (SWIG_arg_fail(1)) SWIG_fail;
23354 {
23355 arg2 = (long)(SWIG_As_long(obj1));
23356 if (SWIG_arg_fail(2)) SWIG_fail;
23357 }
d55e5bfc
RD
23358 if (arg1) (arg1)->m_itemIndex = arg2;
23359
23360 Py_INCREF(Py_None); resultobj = Py_None;
23361 return resultobj;
23362 fail:
23363 return NULL;
23364}
23365
23366
c32bde28 23367static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23368 PyObject *resultobj;
23369 wxListEvent *arg1 = (wxListEvent *) 0 ;
23370 long result;
23371 PyObject * obj0 = 0 ;
23372 char *kwnames[] = {
23373 (char *) "self", NULL
23374 };
23375
23376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
23377 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23378 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23379 result = (long) ((arg1)->m_itemIndex);
23380
093d3ff1
RD
23381 {
23382 resultobj = SWIG_From_long((long)(result));
23383 }
d55e5bfc
RD
23384 return resultobj;
23385 fail:
23386 return NULL;
23387}
23388
23389
c32bde28 23390static PyObject *_wrap_ListEvent_m_col_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23391 PyObject *resultobj;
23392 wxListEvent *arg1 = (wxListEvent *) 0 ;
23393 int arg2 ;
23394 PyObject * obj0 = 0 ;
23395 PyObject * obj1 = 0 ;
23396 char *kwnames[] = {
23397 (char *) "self",(char *) "m_col", NULL
23398 };
23399
23400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_col_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23401 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23402 if (SWIG_arg_fail(1)) SWIG_fail;
23403 {
23404 arg2 = (int)(SWIG_As_int(obj1));
23405 if (SWIG_arg_fail(2)) SWIG_fail;
23406 }
d55e5bfc
RD
23407 if (arg1) (arg1)->m_col = arg2;
23408
23409 Py_INCREF(Py_None); resultobj = Py_None;
23410 return resultobj;
23411 fail:
23412 return NULL;
23413}
23414
23415
c32bde28 23416static PyObject *_wrap_ListEvent_m_col_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23417 PyObject *resultobj;
23418 wxListEvent *arg1 = (wxListEvent *) 0 ;
23419 int result;
23420 PyObject * obj0 = 0 ;
23421 char *kwnames[] = {
23422 (char *) "self", NULL
23423 };
23424
23425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_col_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
23426 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23427 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23428 result = (int) ((arg1)->m_col);
23429
093d3ff1
RD
23430 {
23431 resultobj = SWIG_From_int((int)(result));
23432 }
d55e5bfc
RD
23433 return resultobj;
23434 fail:
23435 return NULL;
23436}
23437
23438
c32bde28 23439static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23440 PyObject *resultobj;
23441 wxListEvent *arg1 = (wxListEvent *) 0 ;
23442 wxPoint *arg2 = (wxPoint *) 0 ;
23443 PyObject * obj0 = 0 ;
23444 PyObject * obj1 = 0 ;
23445 char *kwnames[] = {
23446 (char *) "self",(char *) "m_pointDrag", NULL
23447 };
23448
23449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23450 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23451 if (SWIG_arg_fail(1)) SWIG_fail;
23452 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | 0);
23453 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
23454 if (arg1) (arg1)->m_pointDrag = *arg2;
23455
23456 Py_INCREF(Py_None); resultobj = Py_None;
23457 return resultobj;
23458 fail:
23459 return NULL;
23460}
23461
23462
c32bde28 23463static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23464 PyObject *resultobj;
23465 wxListEvent *arg1 = (wxListEvent *) 0 ;
23466 wxPoint *result;
23467 PyObject * obj0 = 0 ;
23468 char *kwnames[] = {
23469 (char *) "self", NULL
23470 };
23471
23472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
23473 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23474 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23475 result = (wxPoint *)& ((arg1)->m_pointDrag);
23476
23477 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
23478 return resultobj;
23479 fail:
23480 return NULL;
23481}
23482
23483
c32bde28 23484static PyObject *_wrap_ListEvent_m_item_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23485 PyObject *resultobj;
23486 wxListEvent *arg1 = (wxListEvent *) 0 ;
23487 wxListItem *result;
23488 PyObject * obj0 = 0 ;
23489 char *kwnames[] = {
23490 (char *) "self", NULL
23491 };
23492
23493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
23494 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23495 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23496 result = (wxListItem *)& ((arg1)->m_item);
23497
23498 {
412d302d 23499 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
23500 }
23501 return resultobj;
23502 fail:
23503 return NULL;
23504}
23505
23506
c32bde28 23507static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23508 PyObject *resultobj;
23509 wxListEvent *arg1 = (wxListEvent *) 0 ;
23510 int result;
23511 PyObject * obj0 = 0 ;
23512 char *kwnames[] = {
23513 (char *) "self", NULL
23514 };
23515
23516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetKeyCode",kwnames,&obj0)) goto fail;
093d3ff1
RD
23517 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23518 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23519 {
23520 PyThreadState* __tstate = wxPyBeginAllowThreads();
23521 result = (int)(arg1)->GetKeyCode();
23522
23523 wxPyEndAllowThreads(__tstate);
23524 if (PyErr_Occurred()) SWIG_fail;
23525 }
093d3ff1
RD
23526 {
23527 resultobj = SWIG_From_int((int)(result));
23528 }
d55e5bfc
RD
23529 return resultobj;
23530 fail:
23531 return NULL;
23532}
23533
23534
c32bde28 23535static PyObject *_wrap_ListEvent_GetIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23536 PyObject *resultobj;
23537 wxListEvent *arg1 = (wxListEvent *) 0 ;
23538 long result;
23539 PyObject * obj0 = 0 ;
23540 char *kwnames[] = {
23541 (char *) "self", NULL
23542 };
23543
23544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetIndex",kwnames,&obj0)) goto fail;
093d3ff1
RD
23545 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23546 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23547 {
23548 PyThreadState* __tstate = wxPyBeginAllowThreads();
23549 result = (long)(arg1)->GetIndex();
23550
23551 wxPyEndAllowThreads(__tstate);
23552 if (PyErr_Occurred()) SWIG_fail;
23553 }
093d3ff1
RD
23554 {
23555 resultobj = SWIG_From_long((long)(result));
23556 }
d55e5bfc
RD
23557 return resultobj;
23558 fail:
23559 return NULL;
23560}
23561
23562
c32bde28 23563static PyObject *_wrap_ListEvent_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23564 PyObject *resultobj;
23565 wxListEvent *arg1 = (wxListEvent *) 0 ;
23566 int result;
23567 PyObject * obj0 = 0 ;
23568 char *kwnames[] = {
23569 (char *) "self", NULL
23570 };
23571
23572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",kwnames,&obj0)) goto fail;
093d3ff1
RD
23573 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23574 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23575 {
23576 PyThreadState* __tstate = wxPyBeginAllowThreads();
23577 result = (int)(arg1)->GetColumn();
23578
23579 wxPyEndAllowThreads(__tstate);
23580 if (PyErr_Occurred()) SWIG_fail;
23581 }
093d3ff1
RD
23582 {
23583 resultobj = SWIG_From_int((int)(result));
23584 }
d55e5bfc
RD
23585 return resultobj;
23586 fail:
23587 return NULL;
23588}
23589
23590
c32bde28 23591static PyObject *_wrap_ListEvent_GetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23592 PyObject *resultobj;
23593 wxListEvent *arg1 = (wxListEvent *) 0 ;
23594 wxPoint result;
23595 PyObject * obj0 = 0 ;
23596 char *kwnames[] = {
23597 (char *) "self", NULL
23598 };
23599
23600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",kwnames,&obj0)) goto fail;
093d3ff1
RD
23601 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23602 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23603 {
23604 PyThreadState* __tstate = wxPyBeginAllowThreads();
23605 result = (arg1)->GetPoint();
23606
23607 wxPyEndAllowThreads(__tstate);
23608 if (PyErr_Occurred()) SWIG_fail;
23609 }
23610 {
23611 wxPoint * resultptr;
093d3ff1 23612 resultptr = new wxPoint((wxPoint &)(result));
d55e5bfc
RD
23613 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
23614 }
23615 return resultobj;
23616 fail:
23617 return NULL;
23618}
23619
23620
c32bde28 23621static PyObject *_wrap_ListEvent_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23622 PyObject *resultobj;
23623 wxListEvent *arg1 = (wxListEvent *) 0 ;
23624 wxString *result;
23625 PyObject * obj0 = 0 ;
23626 char *kwnames[] = {
23627 (char *) "self", NULL
23628 };
23629
23630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",kwnames,&obj0)) goto fail;
093d3ff1
RD
23631 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23632 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23633 {
23634 PyThreadState* __tstate = wxPyBeginAllowThreads();
23635 {
23636 wxString const &_result_ref = (arg1)->GetLabel();
23637 result = (wxString *) &_result_ref;
23638 }
23639
23640 wxPyEndAllowThreads(__tstate);
23641 if (PyErr_Occurred()) SWIG_fail;
23642 }
23643 {
23644#if wxUSE_UNICODE
23645 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23646#else
23647 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23648#endif
23649 }
23650 return resultobj;
23651 fail:
23652 return NULL;
23653}
23654
23655
c32bde28 23656static PyObject *_wrap_ListEvent_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23657 PyObject *resultobj;
23658 wxListEvent *arg1 = (wxListEvent *) 0 ;
23659 wxString *result;
23660 PyObject * obj0 = 0 ;
23661 char *kwnames[] = {
23662 (char *) "self", NULL
23663 };
23664
23665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
093d3ff1
RD
23666 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23667 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23668 {
23669 PyThreadState* __tstate = wxPyBeginAllowThreads();
23670 {
23671 wxString const &_result_ref = (arg1)->GetText();
23672 result = (wxString *) &_result_ref;
23673 }
23674
23675 wxPyEndAllowThreads(__tstate);
23676 if (PyErr_Occurred()) SWIG_fail;
23677 }
23678 {
23679#if wxUSE_UNICODE
23680 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23681#else
23682 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23683#endif
23684 }
23685 return resultobj;
23686 fail:
23687 return NULL;
23688}
23689
23690
c32bde28 23691static PyObject *_wrap_ListEvent_GetImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23692 PyObject *resultobj;
23693 wxListEvent *arg1 = (wxListEvent *) 0 ;
23694 int result;
23695 PyObject * obj0 = 0 ;
23696 char *kwnames[] = {
23697 (char *) "self", NULL
23698 };
23699
23700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetImage",kwnames,&obj0)) goto fail;
093d3ff1
RD
23701 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23702 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23703 {
23704 PyThreadState* __tstate = wxPyBeginAllowThreads();
23705 result = (int)(arg1)->GetImage();
23706
23707 wxPyEndAllowThreads(__tstate);
23708 if (PyErr_Occurred()) SWIG_fail;
23709 }
093d3ff1
RD
23710 {
23711 resultobj = SWIG_From_int((int)(result));
23712 }
d55e5bfc
RD
23713 return resultobj;
23714 fail:
23715 return NULL;
23716}
23717
23718
c32bde28 23719static PyObject *_wrap_ListEvent_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23720 PyObject *resultobj;
23721 wxListEvent *arg1 = (wxListEvent *) 0 ;
23722 long result;
23723 PyObject * obj0 = 0 ;
23724 char *kwnames[] = {
23725 (char *) "self", NULL
23726 };
23727
23728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetData",kwnames,&obj0)) goto fail;
093d3ff1
RD
23729 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23730 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23731 {
23732 PyThreadState* __tstate = wxPyBeginAllowThreads();
23733 result = (long)(arg1)->GetData();
23734
23735 wxPyEndAllowThreads(__tstate);
23736 if (PyErr_Occurred()) SWIG_fail;
23737 }
093d3ff1
RD
23738 {
23739 resultobj = SWIG_From_long((long)(result));
23740 }
d55e5bfc
RD
23741 return resultobj;
23742 fail:
23743 return NULL;
23744}
23745
23746
c32bde28 23747static PyObject *_wrap_ListEvent_GetMask(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23748 PyObject *resultobj;
23749 wxListEvent *arg1 = (wxListEvent *) 0 ;
23750 long result;
23751 PyObject * obj0 = 0 ;
23752 char *kwnames[] = {
23753 (char *) "self", NULL
23754 };
23755
23756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",kwnames,&obj0)) goto fail;
093d3ff1
RD
23757 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23758 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23759 {
23760 PyThreadState* __tstate = wxPyBeginAllowThreads();
23761 result = (long)(arg1)->GetMask();
23762
23763 wxPyEndAllowThreads(__tstate);
23764 if (PyErr_Occurred()) SWIG_fail;
23765 }
093d3ff1
RD
23766 {
23767 resultobj = SWIG_From_long((long)(result));
23768 }
d55e5bfc
RD
23769 return resultobj;
23770 fail:
23771 return NULL;
23772}
23773
23774
c32bde28 23775static PyObject *_wrap_ListEvent_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23776 PyObject *resultobj;
23777 wxListEvent *arg1 = (wxListEvent *) 0 ;
23778 wxListItem *result;
23779 PyObject * obj0 = 0 ;
23780 char *kwnames[] = {
23781 (char *) "self", NULL
23782 };
23783
23784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",kwnames,&obj0)) goto fail;
093d3ff1
RD
23785 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23786 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23787 {
23788 PyThreadState* __tstate = wxPyBeginAllowThreads();
23789 {
23790 wxListItem const &_result_ref = (arg1)->GetItem();
23791 result = (wxListItem *) &_result_ref;
23792 }
23793
23794 wxPyEndAllowThreads(__tstate);
23795 if (PyErr_Occurred()) SWIG_fail;
23796 }
23797 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItem, 0);
23798 return resultobj;
23799 fail:
23800 return NULL;
23801}
23802
23803
c32bde28 23804static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23805 PyObject *resultobj;
23806 wxListEvent *arg1 = (wxListEvent *) 0 ;
23807 long result;
23808 PyObject * obj0 = 0 ;
23809 char *kwnames[] = {
23810 (char *) "self", NULL
23811 };
23812
23813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheFrom",kwnames,&obj0)) goto fail;
093d3ff1
RD
23814 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23815 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23816 {
23817 PyThreadState* __tstate = wxPyBeginAllowThreads();
23818 result = (long)(arg1)->GetCacheFrom();
23819
23820 wxPyEndAllowThreads(__tstate);
23821 if (PyErr_Occurred()) SWIG_fail;
23822 }
093d3ff1
RD
23823 {
23824 resultobj = SWIG_From_long((long)(result));
23825 }
d55e5bfc
RD
23826 return resultobj;
23827 fail:
23828 return NULL;
23829}
23830
23831
c32bde28 23832static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23833 PyObject *resultobj;
23834 wxListEvent *arg1 = (wxListEvent *) 0 ;
23835 long result;
23836 PyObject * obj0 = 0 ;
23837 char *kwnames[] = {
23838 (char *) "self", NULL
23839 };
23840
23841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",kwnames,&obj0)) goto fail;
093d3ff1
RD
23842 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23843 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23844 {
23845 PyThreadState* __tstate = wxPyBeginAllowThreads();
23846 result = (long)(arg1)->GetCacheTo();
23847
23848 wxPyEndAllowThreads(__tstate);
23849 if (PyErr_Occurred()) SWIG_fail;
23850 }
093d3ff1
RD
23851 {
23852 resultobj = SWIG_From_long((long)(result));
23853 }
d55e5bfc
RD
23854 return resultobj;
23855 fail:
23856 return NULL;
23857}
23858
23859
c32bde28 23860static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23861 PyObject *resultobj;
23862 wxListEvent *arg1 = (wxListEvent *) 0 ;
23863 bool result;
23864 PyObject * obj0 = 0 ;
23865 char *kwnames[] = {
23866 (char *) "self", NULL
23867 };
23868
23869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
093d3ff1
RD
23870 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23871 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23872 {
23873 PyThreadState* __tstate = wxPyBeginAllowThreads();
23874 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
23875
23876 wxPyEndAllowThreads(__tstate);
23877 if (PyErr_Occurred()) SWIG_fail;
23878 }
23879 {
23880 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23881 }
23882 return resultobj;
23883 fail:
23884 return NULL;
23885}
23886
23887
c32bde28 23888static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23889 PyObject *resultobj;
23890 wxListEvent *arg1 = (wxListEvent *) 0 ;
23891 bool arg2 ;
23892 PyObject * obj0 = 0 ;
23893 PyObject * obj1 = 0 ;
23894 char *kwnames[] = {
23895 (char *) "self",(char *) "editCancelled", NULL
23896 };
23897
23898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23899 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23900 if (SWIG_arg_fail(1)) SWIG_fail;
23901 {
23902 arg2 = (bool)(SWIG_As_bool(obj1));
23903 if (SWIG_arg_fail(2)) SWIG_fail;
23904 }
d55e5bfc
RD
23905 {
23906 PyThreadState* __tstate = wxPyBeginAllowThreads();
23907 (arg1)->SetEditCanceled(arg2);
23908
23909 wxPyEndAllowThreads(__tstate);
23910 if (PyErr_Occurred()) SWIG_fail;
23911 }
23912 Py_INCREF(Py_None); resultobj = Py_None;
23913 return resultobj;
23914 fail:
23915 return NULL;
23916}
23917
23918
c32bde28 23919static PyObject * ListEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
23920 PyObject *obj;
23921 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23922 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
23923 Py_INCREF(obj);
23924 return Py_BuildValue((char *)"");
23925}
c32bde28 23926static PyObject *_wrap_new_ListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23927 PyObject *resultobj;
23928 wxWindow *arg1 = (wxWindow *) 0 ;
23929 int arg2 = (int) -1 ;
23930 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23931 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23932 wxSize const &arg4_defvalue = wxDefaultSize ;
23933 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23934 long arg5 = (long) wxLC_ICON ;
23935 wxValidator const &arg6_defvalue = wxDefaultValidator ;
23936 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
23937 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
23938 wxString *arg7 = (wxString *) &arg7_defvalue ;
23939 wxPyListCtrl *result;
23940 wxPoint temp3 ;
23941 wxSize temp4 ;
ae8162c8 23942 bool temp7 = false ;
d55e5bfc
RD
23943 PyObject * obj0 = 0 ;
23944 PyObject * obj1 = 0 ;
23945 PyObject * obj2 = 0 ;
23946 PyObject * obj3 = 0 ;
23947 PyObject * obj4 = 0 ;
23948 PyObject * obj5 = 0 ;
23949 PyObject * obj6 = 0 ;
23950 char *kwnames[] = {
23951 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23952 };
23953
23954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
23955 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
23956 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 23957 if (obj1) {
093d3ff1
RD
23958 {
23959 arg2 = (int)(SWIG_As_int(obj1));
23960 if (SWIG_arg_fail(2)) SWIG_fail;
23961 }
d55e5bfc
RD
23962 }
23963 if (obj2) {
23964 {
23965 arg3 = &temp3;
23966 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23967 }
23968 }
23969 if (obj3) {
23970 {
23971 arg4 = &temp4;
23972 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23973 }
23974 }
23975 if (obj4) {
093d3ff1
RD
23976 {
23977 arg5 = (long)(SWIG_As_long(obj4));
23978 if (SWIG_arg_fail(5)) SWIG_fail;
23979 }
d55e5bfc
RD
23980 }
23981 if (obj5) {
093d3ff1
RD
23982 {
23983 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
23984 if (SWIG_arg_fail(6)) SWIG_fail;
23985 if (arg6 == NULL) {
23986 SWIG_null_ref("wxValidator");
23987 }
23988 if (SWIG_arg_fail(6)) SWIG_fail;
d55e5bfc
RD
23989 }
23990 }
23991 if (obj6) {
23992 {
23993 arg7 = wxString_in_helper(obj6);
23994 if (arg7 == NULL) SWIG_fail;
ae8162c8 23995 temp7 = true;
d55e5bfc
RD
23996 }
23997 }
23998 {
0439c23b 23999 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
24000 PyThreadState* __tstate = wxPyBeginAllowThreads();
24001 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
24002
24003 wxPyEndAllowThreads(__tstate);
110da5b0 24004 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
24005 }
24006 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
24007 {
24008 if (temp7)
24009 delete arg7;
24010 }
24011 return resultobj;
24012 fail:
24013 {
24014 if (temp7)
24015 delete arg7;
24016 }
24017 return NULL;
24018}
24019
24020
c32bde28 24021static PyObject *_wrap_new_PreListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24022 PyObject *resultobj;
24023 wxPyListCtrl *result;
24024 char *kwnames[] = {
24025 NULL
24026 };
24027
24028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
24029 {
0439c23b 24030 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
24031 PyThreadState* __tstate = wxPyBeginAllowThreads();
24032 result = (wxPyListCtrl *)new wxPyListCtrl();
24033
24034 wxPyEndAllowThreads(__tstate);
110da5b0 24035 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
24036 }
24037 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
24038 return resultobj;
24039 fail:
24040 return NULL;
24041}
24042
24043
c32bde28 24044static PyObject *_wrap_ListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24045 PyObject *resultobj;
24046 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24047 wxWindow *arg2 = (wxWindow *) 0 ;
24048 int arg3 = (int) -1 ;
24049 wxPoint const &arg4_defvalue = wxDefaultPosition ;
24050 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
24051 wxSize const &arg5_defvalue = wxDefaultSize ;
24052 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
24053 long arg6 = (long) wxLC_ICON ;
24054 wxValidator const &arg7_defvalue = wxDefaultValidator ;
24055 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
24056 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
24057 wxString *arg8 = (wxString *) &arg8_defvalue ;
24058 bool result;
24059 wxPoint temp4 ;
24060 wxSize temp5 ;
ae8162c8 24061 bool temp8 = false ;
d55e5bfc
RD
24062 PyObject * obj0 = 0 ;
24063 PyObject * obj1 = 0 ;
24064 PyObject * obj2 = 0 ;
24065 PyObject * obj3 = 0 ;
24066 PyObject * obj4 = 0 ;
24067 PyObject * obj5 = 0 ;
24068 PyObject * obj6 = 0 ;
24069 PyObject * obj7 = 0 ;
24070 char *kwnames[] = {
24071 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24072 };
24073
24074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
24075 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24076 if (SWIG_arg_fail(1)) SWIG_fail;
24077 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24078 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 24079 if (obj2) {
093d3ff1
RD
24080 {
24081 arg3 = (int)(SWIG_As_int(obj2));
24082 if (SWIG_arg_fail(3)) SWIG_fail;
24083 }
d55e5bfc
RD
24084 }
24085 if (obj3) {
24086 {
24087 arg4 = &temp4;
24088 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24089 }
24090 }
24091 if (obj4) {
24092 {
24093 arg5 = &temp5;
24094 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24095 }
24096 }
24097 if (obj5) {
093d3ff1
RD
24098 {
24099 arg6 = (long)(SWIG_As_long(obj5));
24100 if (SWIG_arg_fail(6)) SWIG_fail;
24101 }
d55e5bfc
RD
24102 }
24103 if (obj6) {
093d3ff1
RD
24104 {
24105 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
24106 if (SWIG_arg_fail(7)) SWIG_fail;
24107 if (arg7 == NULL) {
24108 SWIG_null_ref("wxValidator");
24109 }
24110 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
24111 }
24112 }
24113 if (obj7) {
24114 {
24115 arg8 = wxString_in_helper(obj7);
24116 if (arg8 == NULL) SWIG_fail;
ae8162c8 24117 temp8 = true;
d55e5bfc
RD
24118 }
24119 }
24120 {
24121 PyThreadState* __tstate = wxPyBeginAllowThreads();
24122 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
24123
24124 wxPyEndAllowThreads(__tstate);
24125 if (PyErr_Occurred()) SWIG_fail;
24126 }
24127 {
24128 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24129 }
24130 {
24131 if (temp8)
24132 delete arg8;
24133 }
24134 return resultobj;
24135 fail:
24136 {
24137 if (temp8)
24138 delete arg8;
24139 }
24140 return NULL;
24141}
24142
24143
c32bde28 24144static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24145 PyObject *resultobj;
24146 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24147 PyObject *arg2 = (PyObject *) 0 ;
24148 PyObject *arg3 = (PyObject *) 0 ;
24149 PyObject * obj0 = 0 ;
24150 PyObject * obj1 = 0 ;
24151 PyObject * obj2 = 0 ;
24152 char *kwnames[] = {
24153 (char *) "self",(char *) "self",(char *) "_class", NULL
24154 };
24155
24156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24157 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24158 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24159 arg2 = obj1;
24160 arg3 = obj2;
24161 {
24162 PyThreadState* __tstate = wxPyBeginAllowThreads();
24163 (arg1)->_setCallbackInfo(arg2,arg3);
24164
24165 wxPyEndAllowThreads(__tstate);
24166 if (PyErr_Occurred()) SWIG_fail;
24167 }
24168 Py_INCREF(Py_None); resultobj = Py_None;
24169 return resultobj;
24170 fail:
24171 return NULL;
24172}
24173
24174
c32bde28 24175static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24176 PyObject *resultobj;
24177 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24178 wxColour *arg2 = 0 ;
24179 bool result;
24180 wxColour temp2 ;
24181 PyObject * obj0 = 0 ;
24182 PyObject * obj1 = 0 ;
24183 char *kwnames[] = {
24184 (char *) "self",(char *) "col", NULL
24185 };
24186
24187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24188 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24189 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24190 {
24191 arg2 = &temp2;
24192 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
24193 }
24194 {
24195 PyThreadState* __tstate = wxPyBeginAllowThreads();
24196 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
24197
24198 wxPyEndAllowThreads(__tstate);
24199 if (PyErr_Occurred()) SWIG_fail;
24200 }
24201 {
24202 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24203 }
24204 return resultobj;
24205 fail:
24206 return NULL;
24207}
24208
24209
c32bde28 24210static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24211 PyObject *resultobj;
24212 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24213 wxColour *arg2 = 0 ;
24214 bool result;
24215 wxColour temp2 ;
24216 PyObject * obj0 = 0 ;
24217 PyObject * obj1 = 0 ;
24218 char *kwnames[] = {
24219 (char *) "self",(char *) "col", NULL
24220 };
24221
24222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24223 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24224 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24225 {
24226 arg2 = &temp2;
24227 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
24228 }
24229 {
24230 PyThreadState* __tstate = wxPyBeginAllowThreads();
24231 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
24232
24233 wxPyEndAllowThreads(__tstate);
24234 if (PyErr_Occurred()) SWIG_fail;
24235 }
24236 {
24237 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24238 }
24239 return resultobj;
24240 fail:
24241 return NULL;
24242}
24243
24244
c32bde28 24245static PyObject *_wrap_ListCtrl_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24246 PyObject *resultobj;
24247 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24248 int arg2 ;
24249 wxListItem *result;
24250 PyObject * obj0 = 0 ;
24251 PyObject * obj1 = 0 ;
24252 char *kwnames[] = {
24253 (char *) "self",(char *) "col", NULL
24254 };
24255
24256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24257 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24258 if (SWIG_arg_fail(1)) SWIG_fail;
24259 {
24260 arg2 = (int)(SWIG_As_int(obj1));
24261 if (SWIG_arg_fail(2)) SWIG_fail;
24262 }
d55e5bfc
RD
24263 {
24264 PyThreadState* __tstate = wxPyBeginAllowThreads();
24265 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
24266
24267 wxPyEndAllowThreads(__tstate);
24268 if (PyErr_Occurred()) SWIG_fail;
24269 }
24270 {
412d302d 24271 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
24272 }
24273 return resultobj;
24274 fail:
24275 return NULL;
24276}
24277
24278
c32bde28 24279static PyObject *_wrap_ListCtrl_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24280 PyObject *resultobj;
24281 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24282 int arg2 ;
24283 wxListItem *arg3 = 0 ;
24284 bool result;
24285 PyObject * obj0 = 0 ;
24286 PyObject * obj1 = 0 ;
24287 PyObject * obj2 = 0 ;
24288 char *kwnames[] = {
24289 (char *) "self",(char *) "col",(char *) "item", NULL
24290 };
24291
24292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24293 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24294 if (SWIG_arg_fail(1)) SWIG_fail;
24295 {
24296 arg2 = (int)(SWIG_As_int(obj1));
24297 if (SWIG_arg_fail(2)) SWIG_fail;
24298 }
24299 {
24300 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24301 if (SWIG_arg_fail(3)) SWIG_fail;
24302 if (arg3 == NULL) {
24303 SWIG_null_ref("wxListItem");
24304 }
24305 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
24306 }
24307 {
24308 PyThreadState* __tstate = wxPyBeginAllowThreads();
24309 result = (bool)(arg1)->SetColumn(arg2,*arg3);
24310
24311 wxPyEndAllowThreads(__tstate);
24312 if (PyErr_Occurred()) SWIG_fail;
24313 }
24314 {
24315 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24316 }
24317 return resultobj;
24318 fail:
24319 return NULL;
24320}
24321
24322
c32bde28 24323static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24324 PyObject *resultobj;
24325 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24326 int arg2 ;
24327 int result;
24328 PyObject * obj0 = 0 ;
24329 PyObject * obj1 = 0 ;
24330 char *kwnames[] = {
24331 (char *) "self",(char *) "col", NULL
24332 };
24333
24334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24335 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24336 if (SWIG_arg_fail(1)) SWIG_fail;
24337 {
24338 arg2 = (int)(SWIG_As_int(obj1));
24339 if (SWIG_arg_fail(2)) SWIG_fail;
24340 }
d55e5bfc
RD
24341 {
24342 PyThreadState* __tstate = wxPyBeginAllowThreads();
24343 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
24344
24345 wxPyEndAllowThreads(__tstate);
24346 if (PyErr_Occurred()) SWIG_fail;
24347 }
093d3ff1
RD
24348 {
24349 resultobj = SWIG_From_int((int)(result));
24350 }
d55e5bfc
RD
24351 return resultobj;
24352 fail:
24353 return NULL;
24354}
24355
24356
c32bde28 24357static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24358 PyObject *resultobj;
24359 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24360 int arg2 ;
24361 int arg3 ;
24362 bool result;
24363 PyObject * obj0 = 0 ;
24364 PyObject * obj1 = 0 ;
24365 PyObject * obj2 = 0 ;
24366 char *kwnames[] = {
24367 (char *) "self",(char *) "col",(char *) "width", NULL
24368 };
24369
24370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24371 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24372 if (SWIG_arg_fail(1)) SWIG_fail;
24373 {
24374 arg2 = (int)(SWIG_As_int(obj1));
24375 if (SWIG_arg_fail(2)) SWIG_fail;
24376 }
24377 {
24378 arg3 = (int)(SWIG_As_int(obj2));
24379 if (SWIG_arg_fail(3)) SWIG_fail;
24380 }
d55e5bfc
RD
24381 {
24382 PyThreadState* __tstate = wxPyBeginAllowThreads();
24383 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
24384
24385 wxPyEndAllowThreads(__tstate);
24386 if (PyErr_Occurred()) SWIG_fail;
24387 }
24388 {
24389 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24390 }
24391 return resultobj;
24392 fail:
24393 return NULL;
24394}
24395
24396
c32bde28 24397static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24398 PyObject *resultobj;
24399 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24400 int result;
24401 PyObject * obj0 = 0 ;
24402 char *kwnames[] = {
24403 (char *) "self", NULL
24404 };
24405
24406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",kwnames,&obj0)) goto fail;
093d3ff1
RD
24407 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24408 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24409 {
24410 PyThreadState* __tstate = wxPyBeginAllowThreads();
24411 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
24412
24413 wxPyEndAllowThreads(__tstate);
24414 if (PyErr_Occurred()) SWIG_fail;
24415 }
093d3ff1
RD
24416 {
24417 resultobj = SWIG_From_int((int)(result));
24418 }
d55e5bfc
RD
24419 return resultobj;
24420 fail:
24421 return NULL;
24422}
24423
24424
c32bde28 24425static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24426 PyObject *resultobj;
24427 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24428 wxRect result;
24429 PyObject * obj0 = 0 ;
24430 char *kwnames[] = {
24431 (char *) "self", NULL
24432 };
24433
24434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) goto fail;
093d3ff1
RD
24435 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24436 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24437 {
24438 PyThreadState* __tstate = wxPyBeginAllowThreads();
24439 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
24440
24441 wxPyEndAllowThreads(__tstate);
24442 if (PyErr_Occurred()) SWIG_fail;
24443 }
24444 {
24445 wxRect * resultptr;
093d3ff1 24446 resultptr = new wxRect((wxRect &)(result));
d55e5bfc
RD
24447 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
24448 }
24449 return resultobj;
24450 fail:
24451 return NULL;
24452}
24453
24454
c32bde28 24455static PyObject *_wrap_ListCtrl_GetEditControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24456 PyObject *resultobj;
24457 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24458 wxTextCtrl *result;
24459 PyObject * obj0 = 0 ;
24460 char *kwnames[] = {
24461 (char *) "self", NULL
24462 };
24463
24464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetEditControl",kwnames,&obj0)) goto fail;
093d3ff1
RD
24465 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24466 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24467 {
24468 PyThreadState* __tstate = wxPyBeginAllowThreads();
24469 result = (wxTextCtrl *)((wxPyListCtrl const *)arg1)->GetEditControl();
24470
24471 wxPyEndAllowThreads(__tstate);
24472 if (PyErr_Occurred()) SWIG_fail;
24473 }
24474 {
412d302d 24475 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
24476 }
24477 return resultobj;
24478 fail:
24479 return NULL;
24480}
24481
24482
c32bde28 24483static PyObject *_wrap_ListCtrl_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24484 PyObject *resultobj;
24485 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24486 long arg2 ;
24487 int arg3 = (int) 0 ;
24488 wxListItem *result;
24489 PyObject * obj0 = 0 ;
24490 PyObject * obj1 = 0 ;
24491 PyObject * obj2 = 0 ;
24492 char *kwnames[] = {
24493 (char *) "self",(char *) "itemId",(char *) "col", NULL
24494 };
24495
24496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24497 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24498 if (SWIG_arg_fail(1)) SWIG_fail;
24499 {
24500 arg2 = (long)(SWIG_As_long(obj1));
24501 if (SWIG_arg_fail(2)) SWIG_fail;
24502 }
d55e5bfc 24503 if (obj2) {
093d3ff1
RD
24504 {
24505 arg3 = (int)(SWIG_As_int(obj2));
24506 if (SWIG_arg_fail(3)) SWIG_fail;
24507 }
d55e5bfc
RD
24508 }
24509 {
24510 PyThreadState* __tstate = wxPyBeginAllowThreads();
24511 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
24512
24513 wxPyEndAllowThreads(__tstate);
24514 if (PyErr_Occurred()) SWIG_fail;
24515 }
24516 {
412d302d 24517 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
24518 }
24519 return resultobj;
24520 fail:
24521 return NULL;
24522}
24523
24524
c32bde28 24525static PyObject *_wrap_ListCtrl_SetItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24526 PyObject *resultobj;
24527 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24528 wxListItem *arg2 = 0 ;
24529 bool result;
24530 PyObject * obj0 = 0 ;
24531 PyObject * obj1 = 0 ;
24532 char *kwnames[] = {
24533 (char *) "self",(char *) "info", NULL
24534 };
24535
24536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24537 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24538 if (SWIG_arg_fail(1)) SWIG_fail;
24539 {
24540 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24541 if (SWIG_arg_fail(2)) SWIG_fail;
24542 if (arg2 == NULL) {
24543 SWIG_null_ref("wxListItem");
24544 }
24545 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24546 }
24547 {
24548 PyThreadState* __tstate = wxPyBeginAllowThreads();
24549 result = (bool)(arg1)->SetItem(*arg2);
24550
24551 wxPyEndAllowThreads(__tstate);
24552 if (PyErr_Occurred()) SWIG_fail;
24553 }
24554 {
24555 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24556 }
24557 return resultobj;
24558 fail:
24559 return NULL;
24560}
24561
24562
c32bde28 24563static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24564 PyObject *resultobj;
24565 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24566 long arg2 ;
24567 int arg3 ;
24568 wxString *arg4 = 0 ;
24569 int arg5 = (int) -1 ;
24570 long result;
ae8162c8 24571 bool temp4 = false ;
d55e5bfc
RD
24572 PyObject * obj0 = 0 ;
24573 PyObject * obj1 = 0 ;
24574 PyObject * obj2 = 0 ;
24575 PyObject * obj3 = 0 ;
24576 PyObject * obj4 = 0 ;
24577 char *kwnames[] = {
24578 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
24579 };
24580
24581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
24582 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24583 if (SWIG_arg_fail(1)) SWIG_fail;
24584 {
24585 arg2 = (long)(SWIG_As_long(obj1));
24586 if (SWIG_arg_fail(2)) SWIG_fail;
24587 }
24588 {
24589 arg3 = (int)(SWIG_As_int(obj2));
24590 if (SWIG_arg_fail(3)) SWIG_fail;
24591 }
d55e5bfc
RD
24592 {
24593 arg4 = wxString_in_helper(obj3);
24594 if (arg4 == NULL) SWIG_fail;
ae8162c8 24595 temp4 = true;
d55e5bfc
RD
24596 }
24597 if (obj4) {
093d3ff1
RD
24598 {
24599 arg5 = (int)(SWIG_As_int(obj4));
24600 if (SWIG_arg_fail(5)) SWIG_fail;
24601 }
d55e5bfc
RD
24602 }
24603 {
24604 PyThreadState* __tstate = wxPyBeginAllowThreads();
24605 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
24606
24607 wxPyEndAllowThreads(__tstate);
24608 if (PyErr_Occurred()) SWIG_fail;
24609 }
093d3ff1
RD
24610 {
24611 resultobj = SWIG_From_long((long)(result));
24612 }
d55e5bfc
RD
24613 {
24614 if (temp4)
24615 delete arg4;
24616 }
24617 return resultobj;
24618 fail:
24619 {
24620 if (temp4)
24621 delete arg4;
24622 }
24623 return NULL;
24624}
24625
24626
c32bde28 24627static PyObject *_wrap_ListCtrl_GetItemState(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24628 PyObject *resultobj;
24629 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24630 long arg2 ;
24631 long arg3 ;
24632 int result;
24633 PyObject * obj0 = 0 ;
24634 PyObject * obj1 = 0 ;
24635 PyObject * obj2 = 0 ;
24636 char *kwnames[] = {
24637 (char *) "self",(char *) "item",(char *) "stateMask", NULL
24638 };
24639
24640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_GetItemState",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24641 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24642 if (SWIG_arg_fail(1)) SWIG_fail;
24643 {
24644 arg2 = (long)(SWIG_As_long(obj1));
24645 if (SWIG_arg_fail(2)) SWIG_fail;
24646 }
24647 {
24648 arg3 = (long)(SWIG_As_long(obj2));
24649 if (SWIG_arg_fail(3)) SWIG_fail;
24650 }
d55e5bfc
RD
24651 {
24652 PyThreadState* __tstate = wxPyBeginAllowThreads();
24653 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
24654
24655 wxPyEndAllowThreads(__tstate);
24656 if (PyErr_Occurred()) SWIG_fail;
24657 }
093d3ff1
RD
24658 {
24659 resultobj = SWIG_From_int((int)(result));
24660 }
d55e5bfc
RD
24661 return resultobj;
24662 fail:
24663 return NULL;
24664}
24665
24666
c32bde28 24667static PyObject *_wrap_ListCtrl_SetItemState(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24668 PyObject *resultobj;
24669 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24670 long arg2 ;
24671 long arg3 ;
24672 long arg4 ;
24673 bool result;
24674 PyObject * obj0 = 0 ;
24675 PyObject * obj1 = 0 ;
24676 PyObject * obj2 = 0 ;
24677 PyObject * obj3 = 0 ;
24678 char *kwnames[] = {
24679 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
24680 };
24681
24682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemState",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
24683 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24684 if (SWIG_arg_fail(1)) SWIG_fail;
24685 {
24686 arg2 = (long)(SWIG_As_long(obj1));
24687 if (SWIG_arg_fail(2)) SWIG_fail;
24688 }
24689 {
24690 arg3 = (long)(SWIG_As_long(obj2));
24691 if (SWIG_arg_fail(3)) SWIG_fail;
24692 }
24693 {
24694 arg4 = (long)(SWIG_As_long(obj3));
24695 if (SWIG_arg_fail(4)) SWIG_fail;
24696 }
d55e5bfc
RD
24697 {
24698 PyThreadState* __tstate = wxPyBeginAllowThreads();
24699 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
24700
24701 wxPyEndAllowThreads(__tstate);
24702 if (PyErr_Occurred()) SWIG_fail;
24703 }
24704 {
24705 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24706 }
24707 return resultobj;
24708 fail:
24709 return NULL;
24710}
24711
24712
c32bde28 24713static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24714 PyObject *resultobj;
24715 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24716 long arg2 ;
24717 int arg3 ;
84f85550 24718 int arg4 = (int) -1 ;
d55e5bfc
RD
24719 bool result;
24720 PyObject * obj0 = 0 ;
24721 PyObject * obj1 = 0 ;
24722 PyObject * obj2 = 0 ;
24723 PyObject * obj3 = 0 ;
24724 char *kwnames[] = {
24725 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
24726 };
24727
84f85550 24728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
24729 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24730 if (SWIG_arg_fail(1)) SWIG_fail;
24731 {
24732 arg2 = (long)(SWIG_As_long(obj1));
24733 if (SWIG_arg_fail(2)) SWIG_fail;
24734 }
24735 {
24736 arg3 = (int)(SWIG_As_int(obj2));
24737 if (SWIG_arg_fail(3)) SWIG_fail;
24738 }
84f85550 24739 if (obj3) {
093d3ff1
RD
24740 {
24741 arg4 = (int)(SWIG_As_int(obj3));
24742 if (SWIG_arg_fail(4)) SWIG_fail;
24743 }
84f85550 24744 }
d55e5bfc
RD
24745 {
24746 PyThreadState* __tstate = wxPyBeginAllowThreads();
24747 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
24748
24749 wxPyEndAllowThreads(__tstate);
24750 if (PyErr_Occurred()) SWIG_fail;
24751 }
24752 {
24753 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24754 }
24755 return resultobj;
24756 fail:
24757 return NULL;
24758}
24759
24760
c32bde28 24761static PyObject *_wrap_ListCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24762 PyObject *resultobj;
24763 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24764 long arg2 ;
24765 wxString result;
24766 PyObject * obj0 = 0 ;
24767 PyObject * obj1 = 0 ;
24768 char *kwnames[] = {
24769 (char *) "self",(char *) "item", NULL
24770 };
24771
24772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24773 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24774 if (SWIG_arg_fail(1)) SWIG_fail;
24775 {
24776 arg2 = (long)(SWIG_As_long(obj1));
24777 if (SWIG_arg_fail(2)) SWIG_fail;
24778 }
d55e5bfc
RD
24779 {
24780 PyThreadState* __tstate = wxPyBeginAllowThreads();
24781 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
24782
24783 wxPyEndAllowThreads(__tstate);
24784 if (PyErr_Occurred()) SWIG_fail;
24785 }
24786 {
24787#if wxUSE_UNICODE
24788 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24789#else
24790 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24791#endif
24792 }
24793 return resultobj;
24794 fail:
24795 return NULL;
24796}
24797
24798
c32bde28 24799static PyObject *_wrap_ListCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24800 PyObject *resultobj;
24801 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24802 long arg2 ;
24803 wxString *arg3 = 0 ;
ae8162c8 24804 bool temp3 = false ;
d55e5bfc
RD
24805 PyObject * obj0 = 0 ;
24806 PyObject * obj1 = 0 ;
24807 PyObject * obj2 = 0 ;
24808 char *kwnames[] = {
24809 (char *) "self",(char *) "item",(char *) "str", NULL
24810 };
24811
24812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
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
RD
24819 {
24820 arg3 = wxString_in_helper(obj2);
24821 if (arg3 == NULL) SWIG_fail;
ae8162c8 24822 temp3 = true;
d55e5bfc
RD
24823 }
24824 {
24825 PyThreadState* __tstate = wxPyBeginAllowThreads();
24826 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
24827
24828 wxPyEndAllowThreads(__tstate);
24829 if (PyErr_Occurred()) SWIG_fail;
24830 }
24831 Py_INCREF(Py_None); resultobj = Py_None;
24832 {
24833 if (temp3)
24834 delete arg3;
24835 }
24836 return resultobj;
24837 fail:
24838 {
24839 if (temp3)
24840 delete arg3;
24841 }
24842 return NULL;
24843}
24844
24845
c32bde28 24846static PyObject *_wrap_ListCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24847 PyObject *resultobj;
24848 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24849 long arg2 ;
24850 long result;
24851 PyObject * obj0 = 0 ;
24852 PyObject * obj1 = 0 ;
24853 char *kwnames[] = {
24854 (char *) "self",(char *) "item", NULL
24855 };
24856
24857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
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 PyThreadState* __tstate = wxPyBeginAllowThreads();
24866 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
24867
24868 wxPyEndAllowThreads(__tstate);
24869 if (PyErr_Occurred()) SWIG_fail;
24870 }
093d3ff1
RD
24871 {
24872 resultobj = SWIG_From_long((long)(result));
24873 }
d55e5bfc
RD
24874 return resultobj;
24875 fail:
24876 return NULL;
24877}
24878
24879
c32bde28 24880static PyObject *_wrap_ListCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24881 PyObject *resultobj;
24882 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24883 long arg2 ;
24884 long arg3 ;
24885 bool result;
24886 PyObject * obj0 = 0 ;
24887 PyObject * obj1 = 0 ;
24888 PyObject * obj2 = 0 ;
24889 char *kwnames[] = {
24890 (char *) "self",(char *) "item",(char *) "data", NULL
24891 };
24892
24893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24894 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24895 if (SWIG_arg_fail(1)) SWIG_fail;
24896 {
24897 arg2 = (long)(SWIG_As_long(obj1));
24898 if (SWIG_arg_fail(2)) SWIG_fail;
24899 }
24900 {
24901 arg3 = (long)(SWIG_As_long(obj2));
24902 if (SWIG_arg_fail(3)) SWIG_fail;
24903 }
d55e5bfc
RD
24904 {
24905 PyThreadState* __tstate = wxPyBeginAllowThreads();
24906 result = (bool)(arg1)->SetItemData(arg2,arg3);
24907
24908 wxPyEndAllowThreads(__tstate);
24909 if (PyErr_Occurred()) SWIG_fail;
24910 }
24911 {
24912 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24913 }
24914 return resultobj;
24915 fail:
24916 return NULL;
24917}
24918
24919
c32bde28 24920static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24921 PyObject *resultobj;
24922 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24923 long arg2 ;
24924 wxPoint result;
24925 PyObject * obj0 = 0 ;
24926 PyObject * obj1 = 0 ;
24927 char *kwnames[] = {
24928 (char *) "self",(char *) "item", NULL
24929 };
24930
24931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemPosition",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24932 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24933 if (SWIG_arg_fail(1)) SWIG_fail;
24934 {
24935 arg2 = (long)(SWIG_As_long(obj1));
24936 if (SWIG_arg_fail(2)) SWIG_fail;
24937 }
d55e5bfc
RD
24938 {
24939 PyThreadState* __tstate = wxPyBeginAllowThreads();
24940 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
24941
24942 wxPyEndAllowThreads(__tstate);
24943 if (PyErr_Occurred()) SWIG_fail;
24944 }
24945 {
24946 wxPoint * resultptr;
093d3ff1 24947 resultptr = new wxPoint((wxPoint &)(result));
d55e5bfc
RD
24948 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
24949 }
24950 return resultobj;
24951 fail:
24952 return NULL;
24953}
24954
24955
c32bde28 24956static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24957 PyObject *resultobj;
24958 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24959 long arg2 ;
24960 int arg3 = (int) wxLIST_RECT_BOUNDS ;
24961 wxRect result;
24962 PyObject * obj0 = 0 ;
24963 PyObject * obj1 = 0 ;
24964 PyObject * obj2 = 0 ;
24965 char *kwnames[] = {
24966 (char *) "self",(char *) "item",(char *) "code", NULL
24967 };
24968
24969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItemRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24970 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24971 if (SWIG_arg_fail(1)) SWIG_fail;
24972 {
24973 arg2 = (long)(SWIG_As_long(obj1));
24974 if (SWIG_arg_fail(2)) SWIG_fail;
24975 }
d55e5bfc 24976 if (obj2) {
093d3ff1
RD
24977 {
24978 arg3 = (int)(SWIG_As_int(obj2));
24979 if (SWIG_arg_fail(3)) SWIG_fail;
24980 }
d55e5bfc
RD
24981 }
24982 {
24983 PyThreadState* __tstate = wxPyBeginAllowThreads();
24984 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
24985
24986 wxPyEndAllowThreads(__tstate);
24987 if (PyErr_Occurred()) SWIG_fail;
24988 }
24989 {
24990 wxRect * resultptr;
093d3ff1 24991 resultptr = new wxRect((wxRect &)(result));
d55e5bfc
RD
24992 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
24993 }
24994 return resultobj;
24995 fail:
24996 return NULL;
24997}
24998
24999
c32bde28 25000static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25001 PyObject *resultobj;
25002 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25003 long arg2 ;
25004 wxPoint *arg3 = 0 ;
25005 bool result;
25006 wxPoint temp3 ;
25007 PyObject * obj0 = 0 ;
25008 PyObject * obj1 = 0 ;
25009 PyObject * obj2 = 0 ;
25010 char *kwnames[] = {
25011 (char *) "self",(char *) "item",(char *) "pos", NULL
25012 };
25013
25014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
25015 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25016 if (SWIG_arg_fail(1)) SWIG_fail;
25017 {
25018 arg2 = (long)(SWIG_As_long(obj1));
25019 if (SWIG_arg_fail(2)) SWIG_fail;
25020 }
d55e5bfc
RD
25021 {
25022 arg3 = &temp3;
25023 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25024 }
25025 {
25026 PyThreadState* __tstate = wxPyBeginAllowThreads();
25027 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
25028
25029 wxPyEndAllowThreads(__tstate);
25030 if (PyErr_Occurred()) SWIG_fail;
25031 }
25032 {
25033 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25034 }
25035 return resultobj;
25036 fail:
25037 return NULL;
25038}
25039
25040
c32bde28 25041static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25042 PyObject *resultobj;
25043 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25044 int result;
25045 PyObject * obj0 = 0 ;
25046 char *kwnames[] = {
25047 (char *) "self", NULL
25048 };
25049
25050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
25051 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25052 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25053 {
25054 PyThreadState* __tstate = wxPyBeginAllowThreads();
25055 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
25056
25057 wxPyEndAllowThreads(__tstate);
25058 if (PyErr_Occurred()) SWIG_fail;
25059 }
093d3ff1
RD
25060 {
25061 resultobj = SWIG_From_int((int)(result));
25062 }
d55e5bfc
RD
25063 return resultobj;
25064 fail:
25065 return NULL;
25066}
25067
25068
c32bde28 25069static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25070 PyObject *resultobj;
25071 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25072 int result;
25073 PyObject * obj0 = 0 ;
25074 char *kwnames[] = {
25075 (char *) "self", NULL
25076 };
25077
25078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
093d3ff1
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 PyThreadState* __tstate = wxPyBeginAllowThreads();
25083 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
25084
25085 wxPyEndAllowThreads(__tstate);
25086 if (PyErr_Occurred()) SWIG_fail;
25087 }
093d3ff1
RD
25088 {
25089 resultobj = SWIG_From_int((int)(result));
25090 }
d55e5bfc
RD
25091 return resultobj;
25092 fail:
25093 return NULL;
25094}
25095
25096
c32bde28 25097static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25098 PyObject *resultobj;
25099 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25100 wxSize result;
25101 PyObject * obj0 = 0 ;
25102 char *kwnames[] = {
25103 (char *) "self", NULL
25104 };
25105
25106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
093d3ff1
RD
25107 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25108 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25109 {
25110 PyThreadState* __tstate = wxPyBeginAllowThreads();
25111 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
25112
25113 wxPyEndAllowThreads(__tstate);
25114 if (PyErr_Occurred()) SWIG_fail;
25115 }
25116 {
25117 wxSize * resultptr;
093d3ff1 25118 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
25119 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
25120 }
25121 return resultobj;
25122 fail:
25123 return NULL;
25124}
25125
25126
c32bde28 25127static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25128 PyObject *resultobj;
25129 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25130 int result;
25131 PyObject * obj0 = 0 ;
25132 char *kwnames[] = {
25133 (char *) "self", NULL
25134 };
25135
25136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
25137 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25138 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25139 {
25140 PyThreadState* __tstate = wxPyBeginAllowThreads();
25141 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
25142
25143 wxPyEndAllowThreads(__tstate);
25144 if (PyErr_Occurred()) SWIG_fail;
25145 }
093d3ff1
RD
25146 {
25147 resultobj = SWIG_From_int((int)(result));
25148 }
d55e5bfc
RD
25149 return resultobj;
25150 fail:
25151 return NULL;
25152}
25153
25154
c32bde28 25155static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25156 PyObject *resultobj;
25157 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25158 wxColour result;
25159 PyObject * obj0 = 0 ;
25160 char *kwnames[] = {
25161 (char *) "self", NULL
25162 };
25163
25164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
25165 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25166 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25167 {
25168 PyThreadState* __tstate = wxPyBeginAllowThreads();
25169 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
25170
25171 wxPyEndAllowThreads(__tstate);
25172 if (PyErr_Occurred()) SWIG_fail;
25173 }
25174 {
25175 wxColour * resultptr;
093d3ff1 25176 resultptr = new wxColour((wxColour &)(result));
d55e5bfc
RD
25177 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
25178 }
25179 return resultobj;
25180 fail:
25181 return NULL;
25182}
25183
25184
c32bde28 25185static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25186 PyObject *resultobj;
25187 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25188 wxColour *arg2 = 0 ;
25189 wxColour temp2 ;
25190 PyObject * obj0 = 0 ;
25191 PyObject * obj1 = 0 ;
25192 char *kwnames[] = {
25193 (char *) "self",(char *) "col", NULL
25194 };
25195
25196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25197 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25198 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25199 {
25200 arg2 = &temp2;
25201 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
25202 }
25203 {
25204 PyThreadState* __tstate = wxPyBeginAllowThreads();
25205 (arg1)->SetTextColour((wxColour const &)*arg2);
25206
25207 wxPyEndAllowThreads(__tstate);
25208 if (PyErr_Occurred()) SWIG_fail;
25209 }
25210 Py_INCREF(Py_None); resultobj = Py_None;
25211 return resultobj;
25212 fail:
25213 return NULL;
25214}
25215
25216
c32bde28 25217static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25218 PyObject *resultobj;
25219 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25220 long result;
25221 PyObject * obj0 = 0 ;
25222 char *kwnames[] = {
25223 (char *) "self", NULL
25224 };
25225
25226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
093d3ff1
RD
25227 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25228 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25229 {
25230 PyThreadState* __tstate = wxPyBeginAllowThreads();
25231 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
25232
25233 wxPyEndAllowThreads(__tstate);
25234 if (PyErr_Occurred()) SWIG_fail;
25235 }
093d3ff1
RD
25236 {
25237 resultobj = SWIG_From_long((long)(result));
25238 }
d55e5bfc
RD
25239 return resultobj;
25240 fail:
25241 return NULL;
25242}
25243
25244
c32bde28 25245static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25246 PyObject *resultobj;
25247 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25248 long arg2 ;
ae8162c8 25249 bool arg3 = (bool) true ;
d55e5bfc
RD
25250 PyObject * obj0 = 0 ;
25251 PyObject * obj1 = 0 ;
25252 PyObject * obj2 = 0 ;
25253 char *kwnames[] = {
25254 (char *) "self",(char *) "style",(char *) "add", NULL
25255 };
25256
25257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
25258 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25259 if (SWIG_arg_fail(1)) SWIG_fail;
25260 {
25261 arg2 = (long)(SWIG_As_long(obj1));
25262 if (SWIG_arg_fail(2)) SWIG_fail;
25263 }
d55e5bfc 25264 if (obj2) {
093d3ff1
RD
25265 {
25266 arg3 = (bool)(SWIG_As_bool(obj2));
25267 if (SWIG_arg_fail(3)) SWIG_fail;
25268 }
d55e5bfc
RD
25269 }
25270 {
25271 PyThreadState* __tstate = wxPyBeginAllowThreads();
25272 (arg1)->SetSingleStyle(arg2,arg3);
25273
25274 wxPyEndAllowThreads(__tstate);
25275 if (PyErr_Occurred()) SWIG_fail;
25276 }
25277 Py_INCREF(Py_None); resultobj = Py_None;
25278 return resultobj;
25279 fail:
25280 return NULL;
25281}
25282
25283
c32bde28 25284static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25285 PyObject *resultobj;
25286 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25287 long arg2 ;
25288 PyObject * obj0 = 0 ;
25289 PyObject * obj1 = 0 ;
25290 char *kwnames[] = {
25291 (char *) "self",(char *) "style", NULL
25292 };
25293
25294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25295 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25296 if (SWIG_arg_fail(1)) SWIG_fail;
25297 {
25298 arg2 = (long)(SWIG_As_long(obj1));
25299 if (SWIG_arg_fail(2)) SWIG_fail;
25300 }
d55e5bfc
RD
25301 {
25302 PyThreadState* __tstate = wxPyBeginAllowThreads();
25303 (arg1)->SetWindowStyleFlag(arg2);
25304
25305 wxPyEndAllowThreads(__tstate);
25306 if (PyErr_Occurred()) SWIG_fail;
25307 }
25308 Py_INCREF(Py_None); resultobj = Py_None;
25309 return resultobj;
25310 fail:
25311 return NULL;
25312}
25313
25314
c32bde28 25315static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25316 PyObject *resultobj;
25317 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25318 long arg2 ;
25319 int arg3 = (int) wxLIST_NEXT_ALL ;
25320 int arg4 = (int) wxLIST_STATE_DONTCARE ;
25321 long result;
25322 PyObject * obj0 = 0 ;
25323 PyObject * obj1 = 0 ;
25324 PyObject * obj2 = 0 ;
25325 PyObject * obj3 = 0 ;
25326 char *kwnames[] = {
25327 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
25328 };
25329
25330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
25331 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25332 if (SWIG_arg_fail(1)) SWIG_fail;
25333 {
25334 arg2 = (long)(SWIG_As_long(obj1));
25335 if (SWIG_arg_fail(2)) SWIG_fail;
25336 }
d55e5bfc 25337 if (obj2) {
093d3ff1
RD
25338 {
25339 arg3 = (int)(SWIG_As_int(obj2));
25340 if (SWIG_arg_fail(3)) SWIG_fail;
25341 }
d55e5bfc
RD
25342 }
25343 if (obj3) {
093d3ff1
RD
25344 {
25345 arg4 = (int)(SWIG_As_int(obj3));
25346 if (SWIG_arg_fail(4)) SWIG_fail;
25347 }
d55e5bfc
RD
25348 }
25349 {
25350 PyThreadState* __tstate = wxPyBeginAllowThreads();
25351 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
25352
25353 wxPyEndAllowThreads(__tstate);
25354 if (PyErr_Occurred()) SWIG_fail;
25355 }
093d3ff1
RD
25356 {
25357 resultobj = SWIG_From_long((long)(result));
25358 }
d55e5bfc
RD
25359 return resultobj;
25360 fail:
25361 return NULL;
25362}
25363
25364
c32bde28 25365static PyObject *_wrap_ListCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25366 PyObject *resultobj;
25367 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25368 int arg2 ;
25369 wxImageList *result;
25370 PyObject * obj0 = 0 ;
25371 PyObject * obj1 = 0 ;
25372 char *kwnames[] = {
25373 (char *) "self",(char *) "which", NULL
25374 };
25375
25376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetImageList",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25377 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25378 if (SWIG_arg_fail(1)) SWIG_fail;
25379 {
25380 arg2 = (int)(SWIG_As_int(obj1));
25381 if (SWIG_arg_fail(2)) SWIG_fail;
25382 }
d55e5bfc
RD
25383 {
25384 PyThreadState* __tstate = wxPyBeginAllowThreads();
25385 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
25386
25387 wxPyEndAllowThreads(__tstate);
25388 if (PyErr_Occurred()) SWIG_fail;
25389 }
25390 {
412d302d 25391 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
25392 }
25393 return resultobj;
25394 fail:
25395 return NULL;
25396}
25397
25398
c32bde28 25399static PyObject *_wrap_ListCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25400 PyObject *resultobj;
25401 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25402 wxImageList *arg2 = (wxImageList *) 0 ;
25403 int arg3 ;
25404 PyObject * obj0 = 0 ;
25405 PyObject * obj1 = 0 ;
25406 PyObject * obj2 = 0 ;
25407 char *kwnames[] = {
25408 (char *) "self",(char *) "imageList",(char *) "which", NULL
25409 };
25410
25411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
25412 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25413 if (SWIG_arg_fail(1)) SWIG_fail;
25414 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
25415 if (SWIG_arg_fail(2)) SWIG_fail;
25416 {
25417 arg3 = (int)(SWIG_As_int(obj2));
25418 if (SWIG_arg_fail(3)) SWIG_fail;
25419 }
d55e5bfc
RD
25420 {
25421 PyThreadState* __tstate = wxPyBeginAllowThreads();
25422 (arg1)->SetImageList(arg2,arg3);
25423
25424 wxPyEndAllowThreads(__tstate);
25425 if (PyErr_Occurred()) SWIG_fail;
25426 }
25427 Py_INCREF(Py_None); resultobj = Py_None;
25428 return resultobj;
25429 fail:
25430 return NULL;
25431}
25432
25433
c32bde28 25434static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25435 PyObject *resultobj;
25436 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25437 wxImageList *arg2 = (wxImageList *) 0 ;
25438 int arg3 ;
25439 PyObject * obj0 = 0 ;
25440 PyObject * obj1 = 0 ;
25441 PyObject * obj2 = 0 ;
25442 char *kwnames[] = {
25443 (char *) "self",(char *) "imageList",(char *) "which", NULL
25444 };
25445
25446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
25447 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25448 if (SWIG_arg_fail(1)) SWIG_fail;
25449 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
25450 if (SWIG_arg_fail(2)) SWIG_fail;
25451 {
25452 arg3 = (int)(SWIG_As_int(obj2));
25453 if (SWIG_arg_fail(3)) SWIG_fail;
25454 }
d55e5bfc
RD
25455 {
25456 PyThreadState* __tstate = wxPyBeginAllowThreads();
25457 (arg1)->AssignImageList(arg2,arg3);
25458
25459 wxPyEndAllowThreads(__tstate);
25460 if (PyErr_Occurred()) SWIG_fail;
25461 }
25462 Py_INCREF(Py_None); resultobj = Py_None;
25463 return resultobj;
25464 fail:
25465 return NULL;
25466}
25467
25468
c32bde28 25469static PyObject *_wrap_ListCtrl_InReportView(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25470 PyObject *resultobj;
25471 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25472 bool result;
25473 PyObject * obj0 = 0 ;
25474 char *kwnames[] = {
25475 (char *) "self", NULL
25476 };
25477
25478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_InReportView",kwnames,&obj0)) goto fail;
093d3ff1
RD
25479 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25480 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25481 {
25482 PyThreadState* __tstate = wxPyBeginAllowThreads();
25483 result = (bool)((wxPyListCtrl const *)arg1)->InReportView();
25484
25485 wxPyEndAllowThreads(__tstate);
25486 if (PyErr_Occurred()) SWIG_fail;
25487 }
25488 {
25489 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25490 }
25491 return resultobj;
25492 fail:
25493 return NULL;
25494}
25495
25496
c32bde28 25497static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25498 PyObject *resultobj;
25499 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25500 bool result;
25501 PyObject * obj0 = 0 ;
25502 char *kwnames[] = {
25503 (char *) "self", NULL
25504 };
25505
25506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_IsVirtual",kwnames,&obj0)) goto fail;
093d3ff1
RD
25507 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25508 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25509 {
25510 PyThreadState* __tstate = wxPyBeginAllowThreads();
25511 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
25512
25513 wxPyEndAllowThreads(__tstate);
25514 if (PyErr_Occurred()) SWIG_fail;
25515 }
25516 {
25517 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25518 }
25519 return resultobj;
25520 fail:
25521 return NULL;
25522}
25523
25524
c32bde28 25525static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25526 PyObject *resultobj;
25527 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25528 long arg2 ;
25529 PyObject * obj0 = 0 ;
25530 PyObject * obj1 = 0 ;
25531 char *kwnames[] = {
25532 (char *) "self",(char *) "item", NULL
25533 };
25534
25535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_RefreshItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25536 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25537 if (SWIG_arg_fail(1)) SWIG_fail;
25538 {
25539 arg2 = (long)(SWIG_As_long(obj1));
25540 if (SWIG_arg_fail(2)) SWIG_fail;
25541 }
d55e5bfc
RD
25542 {
25543 PyThreadState* __tstate = wxPyBeginAllowThreads();
25544 (arg1)->RefreshItem(arg2);
25545
25546 wxPyEndAllowThreads(__tstate);
25547 if (PyErr_Occurred()) SWIG_fail;
25548 }
25549 Py_INCREF(Py_None); resultobj = Py_None;
25550 return resultobj;
25551 fail:
25552 return NULL;
25553}
25554
25555
c32bde28 25556static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25557 PyObject *resultobj;
25558 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25559 long arg2 ;
25560 long arg3 ;
25561 PyObject * obj0 = 0 ;
25562 PyObject * obj1 = 0 ;
25563 PyObject * obj2 = 0 ;
25564 char *kwnames[] = {
25565 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
25566 };
25567
25568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_RefreshItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
25569 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25570 if (SWIG_arg_fail(1)) SWIG_fail;
25571 {
25572 arg2 = (long)(SWIG_As_long(obj1));
25573 if (SWIG_arg_fail(2)) SWIG_fail;
25574 }
25575 {
25576 arg3 = (long)(SWIG_As_long(obj2));
25577 if (SWIG_arg_fail(3)) SWIG_fail;
25578 }
d55e5bfc
RD
25579 {
25580 PyThreadState* __tstate = wxPyBeginAllowThreads();
25581 (arg1)->RefreshItems(arg2,arg3);
25582
25583 wxPyEndAllowThreads(__tstate);
25584 if (PyErr_Occurred()) SWIG_fail;
25585 }
25586 Py_INCREF(Py_None); resultobj = Py_None;
25587 return resultobj;
25588 fail:
25589 return NULL;
25590}
25591
25592
c32bde28 25593static PyObject *_wrap_ListCtrl_Arrange(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25594 PyObject *resultobj;
25595 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25596 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
25597 bool result;
25598 PyObject * obj0 = 0 ;
25599 PyObject * obj1 = 0 ;
25600 char *kwnames[] = {
25601 (char *) "self",(char *) "flag", NULL
25602 };
25603
25604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListCtrl_Arrange",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25605 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25606 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 25607 if (obj1) {
093d3ff1
RD
25608 {
25609 arg2 = (int)(SWIG_As_int(obj1));
25610 if (SWIG_arg_fail(2)) SWIG_fail;
25611 }
d55e5bfc
RD
25612 }
25613 {
25614 PyThreadState* __tstate = wxPyBeginAllowThreads();
25615 result = (bool)(arg1)->Arrange(arg2);
25616
25617 wxPyEndAllowThreads(__tstate);
25618 if (PyErr_Occurred()) SWIG_fail;
25619 }
25620 {
25621 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25622 }
25623 return resultobj;
25624 fail:
25625 return NULL;
25626}
25627
25628
c32bde28 25629static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25630 PyObject *resultobj;
25631 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25632 long arg2 ;
25633 bool result;
25634 PyObject * obj0 = 0 ;
25635 PyObject * obj1 = 0 ;
25636 char *kwnames[] = {
25637 (char *) "self",(char *) "item", NULL
25638 };
25639
25640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25641 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25642 if (SWIG_arg_fail(1)) SWIG_fail;
25643 {
25644 arg2 = (long)(SWIG_As_long(obj1));
25645 if (SWIG_arg_fail(2)) SWIG_fail;
25646 }
d55e5bfc
RD
25647 {
25648 PyThreadState* __tstate = wxPyBeginAllowThreads();
25649 result = (bool)(arg1)->DeleteItem(arg2);
25650
25651 wxPyEndAllowThreads(__tstate);
25652 if (PyErr_Occurred()) SWIG_fail;
25653 }
25654 {
25655 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25656 }
25657 return resultobj;
25658 fail:
25659 return NULL;
25660}
25661
25662
c32bde28 25663static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25664 PyObject *resultobj;
25665 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25666 bool result;
25667 PyObject * obj0 = 0 ;
25668 char *kwnames[] = {
25669 (char *) "self", NULL
25670 };
25671
25672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
093d3ff1
RD
25673 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25674 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25675 {
25676 PyThreadState* __tstate = wxPyBeginAllowThreads();
25677 result = (bool)(arg1)->DeleteAllItems();
25678
25679 wxPyEndAllowThreads(__tstate);
25680 if (PyErr_Occurred()) SWIG_fail;
25681 }
25682 {
25683 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25684 }
25685 return resultobj;
25686 fail:
25687 return NULL;
25688}
25689
25690
c32bde28 25691static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25692 PyObject *resultobj;
25693 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25694 int arg2 ;
25695 bool result;
25696 PyObject * obj0 = 0 ;
25697 PyObject * obj1 = 0 ;
25698 char *kwnames[] = {
25699 (char *) "self",(char *) "col", NULL
25700 };
25701
25702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteColumn",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
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 = (int)(SWIG_As_int(obj1));
25707 if (SWIG_arg_fail(2)) SWIG_fail;
25708 }
d55e5bfc
RD
25709 {
25710 PyThreadState* __tstate = wxPyBeginAllowThreads();
25711 result = (bool)(arg1)->DeleteColumn(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
c32bde28 25725static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25726 PyObject *resultobj;
25727 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25728 bool result;
25729 PyObject * obj0 = 0 ;
25730 char *kwnames[] = {
25731 (char *) "self", NULL
25732 };
25733
25734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
093d3ff1
RD
25735 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25736 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25737 {
25738 PyThreadState* __tstate = wxPyBeginAllowThreads();
25739 result = (bool)(arg1)->DeleteAllColumns();
25740
25741 wxPyEndAllowThreads(__tstate);
25742 if (PyErr_Occurred()) SWIG_fail;
25743 }
25744 {
25745 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25746 }
25747 return resultobj;
25748 fail:
25749 return NULL;
25750}
25751
25752
c32bde28 25753static PyObject *_wrap_ListCtrl_ClearAll(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25754 PyObject *resultobj;
25755 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25756 PyObject * obj0 = 0 ;
25757 char *kwnames[] = {
25758 (char *) "self", NULL
25759 };
25760
25761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) goto fail;
093d3ff1
RD
25762 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25763 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25764 {
25765 PyThreadState* __tstate = wxPyBeginAllowThreads();
25766 (arg1)->ClearAll();
25767
25768 wxPyEndAllowThreads(__tstate);
25769 if (PyErr_Occurred()) SWIG_fail;
25770 }
25771 Py_INCREF(Py_None); resultobj = Py_None;
25772 return resultobj;
25773 fail:
25774 return NULL;
25775}
25776
25777
c32bde28 25778static PyObject *_wrap_ListCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25779 PyObject *resultobj;
25780 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25781 long arg2 ;
25782 wxTextCtrl *result;
25783 PyObject * obj0 = 0 ;
25784 PyObject * obj1 = 0 ;
25785 char *kwnames[] = {
25786 (char *) "self",(char *) "item", NULL
25787 };
25788
25789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25790 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25791 if (SWIG_arg_fail(1)) SWIG_fail;
25792 {
25793 arg2 = (long)(SWIG_As_long(obj1));
25794 if (SWIG_arg_fail(2)) SWIG_fail;
25795 }
d55e5bfc
RD
25796 {
25797 PyThreadState* __tstate = wxPyBeginAllowThreads();
25798 result = (wxTextCtrl *)(arg1)->EditLabel(arg2);
25799
25800 wxPyEndAllowThreads(__tstate);
25801 if (PyErr_Occurred()) SWIG_fail;
25802 }
25803 {
412d302d 25804 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
25805 }
25806 return resultobj;
25807 fail:
25808 return NULL;
25809}
25810
25811
c32bde28 25812static PyObject *_wrap_ListCtrl_EndEditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25813 PyObject *resultobj;
25814 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25815 bool arg2 ;
25816 bool result;
25817 PyObject * obj0 = 0 ;
25818 PyObject * obj1 = 0 ;
25819 char *kwnames[] = {
25820 (char *) "self",(char *) "cancel", NULL
25821 };
25822
25823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EndEditLabel",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25824 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25825 if (SWIG_arg_fail(1)) SWIG_fail;
25826 {
25827 arg2 = (bool)(SWIG_As_bool(obj1));
25828 if (SWIG_arg_fail(2)) SWIG_fail;
25829 }
d55e5bfc
RD
25830 {
25831 PyThreadState* __tstate = wxPyBeginAllowThreads();
25832 result = (bool)(arg1)->EndEditLabel(arg2);
25833
25834 wxPyEndAllowThreads(__tstate);
25835 if (PyErr_Occurred()) SWIG_fail;
25836 }
25837 {
25838 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25839 }
25840 return resultobj;
25841 fail:
25842 return NULL;
25843}
25844
25845
c32bde28 25846static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25847 PyObject *resultobj;
25848 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25849 long arg2 ;
25850 bool result;
25851 PyObject * obj0 = 0 ;
25852 PyObject * obj1 = 0 ;
25853 char *kwnames[] = {
25854 (char *) "self",(char *) "item", NULL
25855 };
25856
25857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25858 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25859 if (SWIG_arg_fail(1)) SWIG_fail;
25860 {
25861 arg2 = (long)(SWIG_As_long(obj1));
25862 if (SWIG_arg_fail(2)) SWIG_fail;
25863 }
d55e5bfc
RD
25864 {
25865 PyThreadState* __tstate = wxPyBeginAllowThreads();
25866 result = (bool)(arg1)->EnsureVisible(arg2);
25867
25868 wxPyEndAllowThreads(__tstate);
25869 if (PyErr_Occurred()) SWIG_fail;
25870 }
25871 {
25872 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25873 }
25874 return resultobj;
25875 fail:
25876 return NULL;
25877}
25878
25879
c32bde28 25880static PyObject *_wrap_ListCtrl_FindItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25881 PyObject *resultobj;
25882 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25883 long arg2 ;
25884 wxString *arg3 = 0 ;
ae8162c8 25885 bool arg4 = (bool) false ;
d55e5bfc 25886 long result;
ae8162c8 25887 bool temp3 = false ;
d55e5bfc
RD
25888 PyObject * obj0 = 0 ;
25889 PyObject * obj1 = 0 ;
25890 PyObject * obj2 = 0 ;
25891 PyObject * obj3 = 0 ;
25892 char *kwnames[] = {
25893 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
25894 };
25895
25896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
25897 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25898 if (SWIG_arg_fail(1)) SWIG_fail;
25899 {
25900 arg2 = (long)(SWIG_As_long(obj1));
25901 if (SWIG_arg_fail(2)) SWIG_fail;
25902 }
d55e5bfc
RD
25903 {
25904 arg3 = wxString_in_helper(obj2);
25905 if (arg3 == NULL) SWIG_fail;
ae8162c8 25906 temp3 = true;
d55e5bfc
RD
25907 }
25908 if (obj3) {
093d3ff1
RD
25909 {
25910 arg4 = (bool)(SWIG_As_bool(obj3));
25911 if (SWIG_arg_fail(4)) SWIG_fail;
25912 }
d55e5bfc
RD
25913 }
25914 {
25915 PyThreadState* __tstate = wxPyBeginAllowThreads();
25916 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
25917
25918 wxPyEndAllowThreads(__tstate);
25919 if (PyErr_Occurred()) SWIG_fail;
25920 }
093d3ff1
RD
25921 {
25922 resultobj = SWIG_From_long((long)(result));
25923 }
d55e5bfc
RD
25924 {
25925 if (temp3)
25926 delete arg3;
25927 }
25928 return resultobj;
25929 fail:
25930 {
25931 if (temp3)
25932 delete arg3;
25933 }
25934 return NULL;
25935}
25936
25937
c32bde28 25938static PyObject *_wrap_ListCtrl_FindItemData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25939 PyObject *resultobj;
25940 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25941 long arg2 ;
25942 long arg3 ;
25943 long result;
25944 PyObject * obj0 = 0 ;
25945 PyObject * obj1 = 0 ;
25946 PyObject * obj2 = 0 ;
25947 char *kwnames[] = {
25948 (char *) "self",(char *) "start",(char *) "data", NULL
25949 };
25950
25951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_FindItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
25952 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25953 if (SWIG_arg_fail(1)) SWIG_fail;
25954 {
25955 arg2 = (long)(SWIG_As_long(obj1));
25956 if (SWIG_arg_fail(2)) SWIG_fail;
25957 }
25958 {
25959 arg3 = (long)(SWIG_As_long(obj2));
25960 if (SWIG_arg_fail(3)) SWIG_fail;
25961 }
d55e5bfc
RD
25962 {
25963 PyThreadState* __tstate = wxPyBeginAllowThreads();
25964 result = (long)(arg1)->FindItem(arg2,arg3);
25965
25966 wxPyEndAllowThreads(__tstate);
25967 if (PyErr_Occurred()) SWIG_fail;
25968 }
093d3ff1
RD
25969 {
25970 resultobj = SWIG_From_long((long)(result));
25971 }
d55e5bfc
RD
25972 return resultobj;
25973 fail:
25974 return NULL;
25975}
25976
25977
c32bde28 25978static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25979 PyObject *resultobj;
25980 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25981 long arg2 ;
25982 wxPoint *arg3 = 0 ;
25983 int arg4 ;
25984 long result;
25985 wxPoint temp3 ;
25986 PyObject * obj0 = 0 ;
25987 PyObject * obj1 = 0 ;
25988 PyObject * obj2 = 0 ;
25989 PyObject * obj3 = 0 ;
25990 char *kwnames[] = {
25991 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
25992 };
25993
25994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
25995 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25996 if (SWIG_arg_fail(1)) SWIG_fail;
25997 {
25998 arg2 = (long)(SWIG_As_long(obj1));
25999 if (SWIG_arg_fail(2)) SWIG_fail;
26000 }
d55e5bfc
RD
26001 {
26002 arg3 = &temp3;
26003 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
26004 }
093d3ff1
RD
26005 {
26006 arg4 = (int)(SWIG_As_int(obj3));
26007 if (SWIG_arg_fail(4)) SWIG_fail;
26008 }
d55e5bfc
RD
26009 {
26010 PyThreadState* __tstate = wxPyBeginAllowThreads();
26011 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
26012
26013 wxPyEndAllowThreads(__tstate);
26014 if (PyErr_Occurred()) SWIG_fail;
26015 }
093d3ff1
RD
26016 {
26017 resultobj = SWIG_From_long((long)(result));
26018 }
d55e5bfc
RD
26019 return resultobj;
26020 fail:
26021 return NULL;
26022}
26023
26024
c32bde28 26025static PyObject *_wrap_ListCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26026 PyObject *resultobj;
26027 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26028 wxPoint *arg2 = 0 ;
26029 int *arg3 = 0 ;
26030 long result;
26031 wxPoint temp2 ;
26032 int temp3 ;
c32bde28 26033 int res3 = 0 ;
d55e5bfc
RD
26034 PyObject * obj0 = 0 ;
26035 PyObject * obj1 = 0 ;
26036 char *kwnames[] = {
26037 (char *) "self",(char *) "point", NULL
26038 };
26039
c32bde28 26040 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 26041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26042 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26043 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26044 {
26045 arg2 = &temp2;
26046 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26047 }
26048 {
26049 PyThreadState* __tstate = wxPyBeginAllowThreads();
26050 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
26051
26052 wxPyEndAllowThreads(__tstate);
26053 if (PyErr_Occurred()) SWIG_fail;
26054 }
093d3ff1
RD
26055 {
26056 resultobj = SWIG_From_long((long)(result));
26057 }
c32bde28
RD
26058 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
26059 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
26060 return resultobj;
26061 fail:
26062 return NULL;
26063}
26064
26065
c32bde28 26066static PyObject *_wrap_ListCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26067 PyObject *resultobj;
26068 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26069 wxListItem *arg2 = 0 ;
26070 long result;
26071 PyObject * obj0 = 0 ;
26072 PyObject * obj1 = 0 ;
26073 char *kwnames[] = {
26074 (char *) "self",(char *) "info", NULL
26075 };
26076
26077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26078 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26079 if (SWIG_arg_fail(1)) SWIG_fail;
26080 {
26081 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
26082 if (SWIG_arg_fail(2)) SWIG_fail;
26083 if (arg2 == NULL) {
26084 SWIG_null_ref("wxListItem");
26085 }
26086 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
26087 }
26088 {
26089 PyThreadState* __tstate = wxPyBeginAllowThreads();
26090 result = (long)(arg1)->InsertItem(*arg2);
26091
26092 wxPyEndAllowThreads(__tstate);
26093 if (PyErr_Occurred()) SWIG_fail;
26094 }
093d3ff1
RD
26095 {
26096 resultobj = SWIG_From_long((long)(result));
26097 }
d55e5bfc
RD
26098 return resultobj;
26099 fail:
26100 return NULL;
26101}
26102
26103
c32bde28 26104static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26105 PyObject *resultobj;
26106 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26107 long arg2 ;
26108 wxString *arg3 = 0 ;
26109 long result;
ae8162c8 26110 bool temp3 = false ;
d55e5bfc
RD
26111 PyObject * obj0 = 0 ;
26112 PyObject * obj1 = 0 ;
26113 PyObject * obj2 = 0 ;
26114 char *kwnames[] = {
26115 (char *) "self",(char *) "index",(char *) "label", NULL
26116 };
26117
26118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertStringItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26119 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26120 if (SWIG_arg_fail(1)) SWIG_fail;
26121 {
26122 arg2 = (long)(SWIG_As_long(obj1));
26123 if (SWIG_arg_fail(2)) SWIG_fail;
26124 }
d55e5bfc
RD
26125 {
26126 arg3 = wxString_in_helper(obj2);
26127 if (arg3 == NULL) SWIG_fail;
ae8162c8 26128 temp3 = true;
d55e5bfc
RD
26129 }
26130 {
26131 PyThreadState* __tstate = wxPyBeginAllowThreads();
26132 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3);
26133
26134 wxPyEndAllowThreads(__tstate);
26135 if (PyErr_Occurred()) SWIG_fail;
26136 }
093d3ff1
RD
26137 {
26138 resultobj = SWIG_From_long((long)(result));
26139 }
d55e5bfc
RD
26140 {
26141 if (temp3)
26142 delete arg3;
26143 }
26144 return resultobj;
26145 fail:
26146 {
26147 if (temp3)
26148 delete arg3;
26149 }
26150 return NULL;
26151}
26152
26153
c32bde28 26154static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26155 PyObject *resultobj;
26156 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26157 long arg2 ;
26158 int arg3 ;
26159 long result;
26160 PyObject * obj0 = 0 ;
26161 PyObject * obj1 = 0 ;
26162 PyObject * obj2 = 0 ;
26163 char *kwnames[] = {
26164 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
26165 };
26166
26167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertImageItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26168 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26169 if (SWIG_arg_fail(1)) SWIG_fail;
26170 {
26171 arg2 = (long)(SWIG_As_long(obj1));
26172 if (SWIG_arg_fail(2)) SWIG_fail;
26173 }
26174 {
26175 arg3 = (int)(SWIG_As_int(obj2));
26176 if (SWIG_arg_fail(3)) SWIG_fail;
26177 }
d55e5bfc
RD
26178 {
26179 PyThreadState* __tstate = wxPyBeginAllowThreads();
26180 result = (long)(arg1)->InsertItem(arg2,arg3);
26181
26182 wxPyEndAllowThreads(__tstate);
26183 if (PyErr_Occurred()) SWIG_fail;
26184 }
093d3ff1
RD
26185 {
26186 resultobj = SWIG_From_long((long)(result));
26187 }
d55e5bfc
RD
26188 return resultobj;
26189 fail:
26190 return NULL;
26191}
26192
26193
c32bde28 26194static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26195 PyObject *resultobj;
26196 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26197 long arg2 ;
26198 wxString *arg3 = 0 ;
26199 int arg4 ;
26200 long result;
ae8162c8 26201 bool temp3 = false ;
d55e5bfc
RD
26202 PyObject * obj0 = 0 ;
26203 PyObject * obj1 = 0 ;
26204 PyObject * obj2 = 0 ;
26205 PyObject * obj3 = 0 ;
26206 char *kwnames[] = {
26207 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
26208 };
26209
26210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
26211 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26212 if (SWIG_arg_fail(1)) SWIG_fail;
26213 {
26214 arg2 = (long)(SWIG_As_long(obj1));
26215 if (SWIG_arg_fail(2)) SWIG_fail;
26216 }
d55e5bfc
RD
26217 {
26218 arg3 = wxString_in_helper(obj2);
26219 if (arg3 == NULL) SWIG_fail;
ae8162c8 26220 temp3 = true;
d55e5bfc 26221 }
093d3ff1
RD
26222 {
26223 arg4 = (int)(SWIG_As_int(obj3));
26224 if (SWIG_arg_fail(4)) SWIG_fail;
26225 }
d55e5bfc
RD
26226 {
26227 PyThreadState* __tstate = wxPyBeginAllowThreads();
26228 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
26229
26230 wxPyEndAllowThreads(__tstate);
26231 if (PyErr_Occurred()) SWIG_fail;
26232 }
093d3ff1
RD
26233 {
26234 resultobj = SWIG_From_long((long)(result));
26235 }
d55e5bfc
RD
26236 {
26237 if (temp3)
26238 delete arg3;
26239 }
26240 return resultobj;
26241 fail:
26242 {
26243 if (temp3)
26244 delete arg3;
26245 }
26246 return NULL;
26247}
26248
26249
c32bde28 26250static PyObject *_wrap_ListCtrl_InsertColumnInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26251 PyObject *resultobj;
26252 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26253 long arg2 ;
26254 wxListItem *arg3 = 0 ;
26255 long result;
26256 PyObject * obj0 = 0 ;
26257 PyObject * obj1 = 0 ;
26258 PyObject * obj2 = 0 ;
26259 char *kwnames[] = {
26260 (char *) "self",(char *) "col",(char *) "info", NULL
26261 };
26262
26263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26264 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26265 if (SWIG_arg_fail(1)) SWIG_fail;
26266 {
26267 arg2 = (long)(SWIG_As_long(obj1));
26268 if (SWIG_arg_fail(2)) SWIG_fail;
26269 }
26270 {
26271 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
26272 if (SWIG_arg_fail(3)) SWIG_fail;
26273 if (arg3 == NULL) {
26274 SWIG_null_ref("wxListItem");
26275 }
26276 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
26277 }
26278 {
26279 PyThreadState* __tstate = wxPyBeginAllowThreads();
26280 result = (long)(arg1)->InsertColumn(arg2,*arg3);
26281
26282 wxPyEndAllowThreads(__tstate);
26283 if (PyErr_Occurred()) SWIG_fail;
26284 }
093d3ff1
RD
26285 {
26286 resultobj = SWIG_From_long((long)(result));
26287 }
d55e5bfc
RD
26288 return resultobj;
26289 fail:
26290 return NULL;
26291}
26292
26293
c32bde28 26294static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26295 PyObject *resultobj;
26296 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26297 long arg2 ;
26298 wxString *arg3 = 0 ;
26299 int arg4 = (int) wxLIST_FORMAT_LEFT ;
26300 int arg5 = (int) -1 ;
26301 long result;
ae8162c8 26302 bool temp3 = false ;
d55e5bfc
RD
26303 PyObject * obj0 = 0 ;
26304 PyObject * obj1 = 0 ;
26305 PyObject * obj2 = 0 ;
26306 PyObject * obj3 = 0 ;
26307 PyObject * obj4 = 0 ;
26308 char *kwnames[] = {
26309 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
26310 };
26311
26312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
26313 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26314 if (SWIG_arg_fail(1)) SWIG_fail;
26315 {
26316 arg2 = (long)(SWIG_As_long(obj1));
26317 if (SWIG_arg_fail(2)) SWIG_fail;
26318 }
d55e5bfc
RD
26319 {
26320 arg3 = wxString_in_helper(obj2);
26321 if (arg3 == NULL) SWIG_fail;
ae8162c8 26322 temp3 = true;
d55e5bfc
RD
26323 }
26324 if (obj3) {
093d3ff1
RD
26325 {
26326 arg4 = (int)(SWIG_As_int(obj3));
26327 if (SWIG_arg_fail(4)) SWIG_fail;
26328 }
d55e5bfc
RD
26329 }
26330 if (obj4) {
093d3ff1
RD
26331 {
26332 arg5 = (int)(SWIG_As_int(obj4));
26333 if (SWIG_arg_fail(5)) SWIG_fail;
26334 }
d55e5bfc
RD
26335 }
26336 {
26337 PyThreadState* __tstate = wxPyBeginAllowThreads();
26338 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
26339
26340 wxPyEndAllowThreads(__tstate);
26341 if (PyErr_Occurred()) SWIG_fail;
26342 }
093d3ff1
RD
26343 {
26344 resultobj = SWIG_From_long((long)(result));
26345 }
d55e5bfc
RD
26346 {
26347 if (temp3)
26348 delete arg3;
26349 }
26350 return resultobj;
26351 fail:
26352 {
26353 if (temp3)
26354 delete arg3;
26355 }
26356 return NULL;
26357}
26358
26359
c32bde28 26360static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26361 PyObject *resultobj;
26362 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26363 long arg2 ;
26364 PyObject * obj0 = 0 ;
26365 PyObject * obj1 = 0 ;
26366 char *kwnames[] = {
26367 (char *) "self",(char *) "count", NULL
26368 };
26369
26370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26371 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26372 if (SWIG_arg_fail(1)) SWIG_fail;
26373 {
26374 arg2 = (long)(SWIG_As_long(obj1));
26375 if (SWIG_arg_fail(2)) SWIG_fail;
26376 }
d55e5bfc
RD
26377 {
26378 PyThreadState* __tstate = wxPyBeginAllowThreads();
26379 (arg1)->SetItemCount(arg2);
26380
26381 wxPyEndAllowThreads(__tstate);
26382 if (PyErr_Occurred()) SWIG_fail;
26383 }
26384 Py_INCREF(Py_None); resultobj = Py_None;
26385 return resultobj;
26386 fail:
26387 return NULL;
26388}
26389
26390
c32bde28 26391static PyObject *_wrap_ListCtrl_ScrollList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26392 PyObject *resultobj;
26393 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26394 int arg2 ;
26395 int arg3 ;
26396 bool result;
26397 PyObject * obj0 = 0 ;
26398 PyObject * obj1 = 0 ;
26399 PyObject * obj2 = 0 ;
26400 char *kwnames[] = {
26401 (char *) "self",(char *) "dx",(char *) "dy", NULL
26402 };
26403
26404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_ScrollList",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26405 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26406 if (SWIG_arg_fail(1)) SWIG_fail;
26407 {
26408 arg2 = (int)(SWIG_As_int(obj1));
26409 if (SWIG_arg_fail(2)) SWIG_fail;
26410 }
26411 {
26412 arg3 = (int)(SWIG_As_int(obj2));
26413 if (SWIG_arg_fail(3)) SWIG_fail;
26414 }
d55e5bfc
RD
26415 {
26416 PyThreadState* __tstate = wxPyBeginAllowThreads();
26417 result = (bool)(arg1)->ScrollList(arg2,arg3);
26418
26419 wxPyEndAllowThreads(__tstate);
26420 if (PyErr_Occurred()) SWIG_fail;
26421 }
26422 {
26423 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26424 }
26425 return resultobj;
26426 fail:
26427 return NULL;
26428}
26429
26430
c32bde28 26431static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26432 PyObject *resultobj;
26433 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26434 long arg2 ;
26435 wxColour *arg3 = 0 ;
26436 wxColour temp3 ;
26437 PyObject * obj0 = 0 ;
26438 PyObject * obj1 = 0 ;
26439 PyObject * obj2 = 0 ;
26440 char *kwnames[] = {
26441 (char *) "self",(char *) "item",(char *) "col", NULL
26442 };
26443
26444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26445 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26446 if (SWIG_arg_fail(1)) SWIG_fail;
26447 {
26448 arg2 = (long)(SWIG_As_long(obj1));
26449 if (SWIG_arg_fail(2)) SWIG_fail;
26450 }
d55e5bfc
RD
26451 {
26452 arg3 = &temp3;
26453 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
26454 }
26455 {
26456 PyThreadState* __tstate = wxPyBeginAllowThreads();
26457 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
26458
26459 wxPyEndAllowThreads(__tstate);
26460 if (PyErr_Occurred()) SWIG_fail;
26461 }
26462 Py_INCREF(Py_None); resultobj = Py_None;
26463 return resultobj;
26464 fail:
26465 return NULL;
26466}
26467
26468
c32bde28 26469static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26470 PyObject *resultobj;
26471 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26472 long arg2 ;
26473 wxColour result;
26474 PyObject * obj0 = 0 ;
26475 PyObject * obj1 = 0 ;
26476 char *kwnames[] = {
26477 (char *) "self",(char *) "item", NULL
26478 };
26479
26480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26481 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26482 if (SWIG_arg_fail(1)) SWIG_fail;
26483 {
26484 arg2 = (long)(SWIG_As_long(obj1));
26485 if (SWIG_arg_fail(2)) SWIG_fail;
26486 }
d55e5bfc
RD
26487 {
26488 PyThreadState* __tstate = wxPyBeginAllowThreads();
26489 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
26490
26491 wxPyEndAllowThreads(__tstate);
26492 if (PyErr_Occurred()) SWIG_fail;
26493 }
26494 {
26495 wxColour * resultptr;
093d3ff1 26496 resultptr = new wxColour((wxColour &)(result));
d55e5bfc
RD
26497 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
26498 }
26499 return resultobj;
26500 fail:
26501 return NULL;
26502}
26503
26504
c32bde28 26505static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26506 PyObject *resultobj;
26507 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26508 long arg2 ;
26509 wxColour *arg3 = 0 ;
26510 wxColour temp3 ;
26511 PyObject * obj0 = 0 ;
26512 PyObject * obj1 = 0 ;
26513 PyObject * obj2 = 0 ;
26514 char *kwnames[] = {
26515 (char *) "self",(char *) "item",(char *) "col", NULL
26516 };
26517
26518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26519 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26520 if (SWIG_arg_fail(1)) SWIG_fail;
26521 {
26522 arg2 = (long)(SWIG_As_long(obj1));
26523 if (SWIG_arg_fail(2)) SWIG_fail;
26524 }
d55e5bfc
RD
26525 {
26526 arg3 = &temp3;
26527 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
26528 }
26529 {
26530 PyThreadState* __tstate = wxPyBeginAllowThreads();
26531 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
26532
26533 wxPyEndAllowThreads(__tstate);
26534 if (PyErr_Occurred()) SWIG_fail;
26535 }
26536 Py_INCREF(Py_None); resultobj = Py_None;
26537 return resultobj;
26538 fail:
26539 return NULL;
26540}
26541
26542
c32bde28 26543static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26544 PyObject *resultobj;
26545 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26546 long arg2 ;
26547 wxColour result;
26548 PyObject * obj0 = 0 ;
26549 PyObject * obj1 = 0 ;
26550 char *kwnames[] = {
26551 (char *) "self",(char *) "item", NULL
26552 };
26553
26554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26555 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26556 if (SWIG_arg_fail(1)) SWIG_fail;
26557 {
26558 arg2 = (long)(SWIG_As_long(obj1));
26559 if (SWIG_arg_fail(2)) SWIG_fail;
26560 }
d55e5bfc
RD
26561 {
26562 PyThreadState* __tstate = wxPyBeginAllowThreads();
26563 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
26564
26565 wxPyEndAllowThreads(__tstate);
26566 if (PyErr_Occurred()) SWIG_fail;
26567 }
26568 {
26569 wxColour * resultptr;
093d3ff1 26570 resultptr = new wxColour((wxColour &)(result));
d55e5bfc
RD
26571 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
26572 }
26573 return resultobj;
26574 fail:
26575 return NULL;
26576}
26577
26578
c32bde28 26579static PyObject *_wrap_ListCtrl_SortItems(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26580 PyObject *resultobj;
26581 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26582 PyObject *arg2 = (PyObject *) 0 ;
26583 bool result;
26584 PyObject * obj0 = 0 ;
26585 PyObject * obj1 = 0 ;
26586 char *kwnames[] = {
26587 (char *) "self",(char *) "func", NULL
26588 };
26589
26590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26591 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26592 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26593 arg2 = obj1;
26594 {
26595 PyThreadState* __tstate = wxPyBeginAllowThreads();
26596 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
26597
26598 wxPyEndAllowThreads(__tstate);
26599 if (PyErr_Occurred()) SWIG_fail;
26600 }
26601 {
26602 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26603 }
26604 return resultobj;
26605 fail:
26606 return NULL;
26607}
26608
26609
c32bde28 26610static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26611 PyObject *resultobj;
26612 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26613 wxWindow *result;
26614 PyObject * obj0 = 0 ;
26615 char *kwnames[] = {
26616 (char *) "self", NULL
26617 };
26618
26619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
26620 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26621 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26622 {
26623 PyThreadState* __tstate = wxPyBeginAllowThreads();
26624 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
26625
26626 wxPyEndAllowThreads(__tstate);
26627 if (PyErr_Occurred()) SWIG_fail;
26628 }
26629 {
412d302d 26630 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
26631 }
26632 return resultobj;
26633 fail:
26634 return NULL;
26635}
26636
26637
c32bde28 26638static PyObject *_wrap_ListCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 26639 PyObject *resultobj;
093d3ff1 26640 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
d55e5bfc
RD
26641 wxVisualAttributes result;
26642 PyObject * obj0 = 0 ;
26643 char *kwnames[] = {
26644 (char *) "variant", NULL
26645 };
26646
26647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
26648 if (obj0) {
093d3ff1
RD
26649 {
26650 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
26651 if (SWIG_arg_fail(1)) SWIG_fail;
26652 }
d55e5bfc
RD
26653 }
26654 {
19272049 26655 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
26656 PyThreadState* __tstate = wxPyBeginAllowThreads();
26657 result = wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
26658
26659 wxPyEndAllowThreads(__tstate);
110da5b0 26660 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
26661 }
26662 {
26663 wxVisualAttributes * resultptr;
093d3ff1 26664 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
d55e5bfc
RD
26665 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
26666 }
26667 return resultobj;
26668 fail:
26669 return NULL;
26670}
26671
26672
c32bde28 26673static PyObject * ListCtrl_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
26674 PyObject *obj;
26675 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26676 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
26677 Py_INCREF(obj);
26678 return Py_BuildValue((char *)"");
26679}
c32bde28 26680static PyObject *_wrap_new_ListView(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26681 PyObject *resultobj;
26682 wxWindow *arg1 = (wxWindow *) 0 ;
26683 int arg2 = (int) -1 ;
26684 wxPoint const &arg3_defvalue = wxDefaultPosition ;
26685 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
26686 wxSize const &arg4_defvalue = wxDefaultSize ;
26687 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
26688 long arg5 = (long) wxLC_REPORT ;
26689 wxValidator const &arg6_defvalue = wxDefaultValidator ;
26690 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
26691 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
26692 wxString *arg7 = (wxString *) &arg7_defvalue ;
26693 wxListView *result;
26694 wxPoint temp3 ;
26695 wxSize temp4 ;
ae8162c8 26696 bool temp7 = false ;
d55e5bfc
RD
26697 PyObject * obj0 = 0 ;
26698 PyObject * obj1 = 0 ;
26699 PyObject * obj2 = 0 ;
26700 PyObject * obj3 = 0 ;
26701 PyObject * obj4 = 0 ;
26702 PyObject * obj5 = 0 ;
26703 PyObject * obj6 = 0 ;
26704 char *kwnames[] = {
26705 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26706 };
26707
26708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListView",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
26709 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26710 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 26711 if (obj1) {
093d3ff1
RD
26712 {
26713 arg2 = (int)(SWIG_As_int(obj1));
26714 if (SWIG_arg_fail(2)) SWIG_fail;
26715 }
d55e5bfc
RD
26716 }
26717 if (obj2) {
26718 {
26719 arg3 = &temp3;
26720 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
26721 }
26722 }
26723 if (obj3) {
26724 {
26725 arg4 = &temp4;
26726 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
26727 }
26728 }
26729 if (obj4) {
093d3ff1
RD
26730 {
26731 arg5 = (long)(SWIG_As_long(obj4));
26732 if (SWIG_arg_fail(5)) SWIG_fail;
26733 }
d55e5bfc
RD
26734 }
26735 if (obj5) {
093d3ff1
RD
26736 {
26737 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
26738 if (SWIG_arg_fail(6)) SWIG_fail;
26739 if (arg6 == NULL) {
26740 SWIG_null_ref("wxValidator");
26741 }
26742 if (SWIG_arg_fail(6)) SWIG_fail;
d55e5bfc
RD
26743 }
26744 }
26745 if (obj6) {
26746 {
26747 arg7 = wxString_in_helper(obj6);
26748 if (arg7 == NULL) SWIG_fail;
ae8162c8 26749 temp7 = true;
d55e5bfc
RD
26750 }
26751 }
26752 {
0439c23b 26753 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
26754 PyThreadState* __tstate = wxPyBeginAllowThreads();
26755 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
26756
26757 wxPyEndAllowThreads(__tstate);
110da5b0 26758 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
26759 }
26760 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
26761 {
26762 if (temp7)
26763 delete arg7;
26764 }
26765 return resultobj;
26766 fail:
26767 {
26768 if (temp7)
26769 delete arg7;
26770 }
26771 return NULL;
26772}
26773
26774
c32bde28 26775static PyObject *_wrap_new_PreListView(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26776 PyObject *resultobj;
26777 wxListView *result;
26778 char *kwnames[] = {
26779 NULL
26780 };
26781
26782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
26783 {
0439c23b 26784 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
26785 PyThreadState* __tstate = wxPyBeginAllowThreads();
26786 result = (wxListView *)new wxListView();
26787
26788 wxPyEndAllowThreads(__tstate);
110da5b0 26789 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
26790 }
26791 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
26792 return resultobj;
26793 fail:
26794 return NULL;
26795}
26796
26797
c32bde28 26798static PyObject *_wrap_ListView_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26799 PyObject *resultobj;
26800 wxListView *arg1 = (wxListView *) 0 ;
26801 wxWindow *arg2 = (wxWindow *) 0 ;
26802 int arg3 = (int) -1 ;
26803 wxPoint const &arg4_defvalue = wxDefaultPosition ;
26804 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
26805 wxSize const &arg5_defvalue = wxDefaultSize ;
26806 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
26807 long arg6 = (long) wxLC_REPORT ;
26808 wxValidator const &arg7_defvalue = wxDefaultValidator ;
26809 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
26810 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
26811 wxString *arg8 = (wxString *) &arg8_defvalue ;
26812 bool result;
26813 wxPoint temp4 ;
26814 wxSize temp5 ;
ae8162c8 26815 bool temp8 = false ;
d55e5bfc
RD
26816 PyObject * obj0 = 0 ;
26817 PyObject * obj1 = 0 ;
26818 PyObject * obj2 = 0 ;
26819 PyObject * obj3 = 0 ;
26820 PyObject * obj4 = 0 ;
26821 PyObject * obj5 = 0 ;
26822 PyObject * obj6 = 0 ;
26823 PyObject * obj7 = 0 ;
26824 char *kwnames[] = {
26825 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26826 };
26827
26828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListView_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
26829 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26830 if (SWIG_arg_fail(1)) SWIG_fail;
26831 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26832 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 26833 if (obj2) {
093d3ff1
RD
26834 {
26835 arg3 = (int)(SWIG_As_int(obj2));
26836 if (SWIG_arg_fail(3)) SWIG_fail;
26837 }
d55e5bfc
RD
26838 }
26839 if (obj3) {
26840 {
26841 arg4 = &temp4;
26842 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
26843 }
26844 }
26845 if (obj4) {
26846 {
26847 arg5 = &temp5;
26848 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
26849 }
26850 }
26851 if (obj5) {
093d3ff1
RD
26852 {
26853 arg6 = (long)(SWIG_As_long(obj5));
26854 if (SWIG_arg_fail(6)) SWIG_fail;
26855 }
d55e5bfc
RD
26856 }
26857 if (obj6) {
093d3ff1
RD
26858 {
26859 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
26860 if (SWIG_arg_fail(7)) SWIG_fail;
26861 if (arg7 == NULL) {
26862 SWIG_null_ref("wxValidator");
26863 }
26864 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
26865 }
26866 }
26867 if (obj7) {
26868 {
26869 arg8 = wxString_in_helper(obj7);
26870 if (arg8 == NULL) SWIG_fail;
ae8162c8 26871 temp8 = true;
d55e5bfc
RD
26872 }
26873 }
26874 {
26875 PyThreadState* __tstate = wxPyBeginAllowThreads();
26876 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
26877
26878 wxPyEndAllowThreads(__tstate);
26879 if (PyErr_Occurred()) SWIG_fail;
26880 }
26881 {
26882 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26883 }
26884 {
26885 if (temp8)
26886 delete arg8;
26887 }
26888 return resultobj;
26889 fail:
26890 {
26891 if (temp8)
26892 delete arg8;
26893 }
26894 return NULL;
26895}
26896
26897
c32bde28 26898static PyObject *_wrap_ListView_Select(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26899 PyObject *resultobj;
26900 wxListView *arg1 = (wxListView *) 0 ;
26901 long arg2 ;
ae8162c8 26902 bool arg3 = (bool) true ;
d55e5bfc
RD
26903 PyObject * obj0 = 0 ;
26904 PyObject * obj1 = 0 ;
26905 PyObject * obj2 = 0 ;
26906 char *kwnames[] = {
26907 (char *) "self",(char *) "n",(char *) "on", NULL
26908 };
26909
26910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListView_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26911 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26912 if (SWIG_arg_fail(1)) SWIG_fail;
26913 {
26914 arg2 = (long)(SWIG_As_long(obj1));
26915 if (SWIG_arg_fail(2)) SWIG_fail;
26916 }
d55e5bfc 26917 if (obj2) {
093d3ff1
RD
26918 {
26919 arg3 = (bool)(SWIG_As_bool(obj2));
26920 if (SWIG_arg_fail(3)) SWIG_fail;
26921 }
d55e5bfc
RD
26922 }
26923 {
26924 PyThreadState* __tstate = wxPyBeginAllowThreads();
26925 (arg1)->Select(arg2,arg3);
26926
26927 wxPyEndAllowThreads(__tstate);
26928 if (PyErr_Occurred()) SWIG_fail;
26929 }
26930 Py_INCREF(Py_None); resultobj = Py_None;
26931 return resultobj;
26932 fail:
26933 return NULL;
26934}
26935
26936
c32bde28 26937static PyObject *_wrap_ListView_Focus(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26938 PyObject *resultobj;
26939 wxListView *arg1 = (wxListView *) 0 ;
26940 long arg2 ;
26941 PyObject * obj0 = 0 ;
26942 PyObject * obj1 = 0 ;
26943 char *kwnames[] = {
26944 (char *) "self",(char *) "index", NULL
26945 };
26946
26947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_Focus",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26948 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26949 if (SWIG_arg_fail(1)) SWIG_fail;
26950 {
26951 arg2 = (long)(SWIG_As_long(obj1));
26952 if (SWIG_arg_fail(2)) SWIG_fail;
26953 }
d55e5bfc
RD
26954 {
26955 PyThreadState* __tstate = wxPyBeginAllowThreads();
26956 (arg1)->Focus(arg2);
26957
26958 wxPyEndAllowThreads(__tstate);
26959 if (PyErr_Occurred()) SWIG_fail;
26960 }
26961 Py_INCREF(Py_None); resultobj = Py_None;
26962 return resultobj;
26963 fail:
26964 return NULL;
26965}
26966
26967
c32bde28 26968static PyObject *_wrap_ListView_GetFocusedItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26969 PyObject *resultobj;
26970 wxListView *arg1 = (wxListView *) 0 ;
26971 long result;
26972 PyObject * obj0 = 0 ;
26973 char *kwnames[] = {
26974 (char *) "self", NULL
26975 };
26976
26977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
093d3ff1
RD
26978 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26979 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26980 {
26981 PyThreadState* __tstate = wxPyBeginAllowThreads();
26982 result = (long)((wxListView const *)arg1)->GetFocusedItem();
26983
26984 wxPyEndAllowThreads(__tstate);
26985 if (PyErr_Occurred()) SWIG_fail;
26986 }
093d3ff1
RD
26987 {
26988 resultobj = SWIG_From_long((long)(result));
26989 }
d55e5bfc
RD
26990 return resultobj;
26991 fail:
26992 return NULL;
26993}
26994
26995
c32bde28 26996static PyObject *_wrap_ListView_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26997 PyObject *resultobj;
26998 wxListView *arg1 = (wxListView *) 0 ;
26999 long arg2 ;
27000 long result;
27001 PyObject * obj0 = 0 ;
27002 PyObject * obj1 = 0 ;
27003 char *kwnames[] = {
27004 (char *) "self",(char *) "item", NULL
27005 };
27006
27007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27008 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
27009 if (SWIG_arg_fail(1)) SWIG_fail;
27010 {
27011 arg2 = (long)(SWIG_As_long(obj1));
27012 if (SWIG_arg_fail(2)) SWIG_fail;
27013 }
d55e5bfc
RD
27014 {
27015 PyThreadState* __tstate = wxPyBeginAllowThreads();
27016 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
27017
27018 wxPyEndAllowThreads(__tstate);
27019 if (PyErr_Occurred()) SWIG_fail;
27020 }
093d3ff1
RD
27021 {
27022 resultobj = SWIG_From_long((long)(result));
27023 }
d55e5bfc
RD
27024 return resultobj;
27025 fail:
27026 return NULL;
27027}
27028
27029
c32bde28 27030static PyObject *_wrap_ListView_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27031 PyObject *resultobj;
27032 wxListView *arg1 = (wxListView *) 0 ;
27033 long result;
27034 PyObject * obj0 = 0 ;
27035 char *kwnames[] = {
27036 (char *) "self", NULL
27037 };
27038
27039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
093d3ff1
RD
27040 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
27041 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27042 {
27043 PyThreadState* __tstate = wxPyBeginAllowThreads();
27044 result = (long)((wxListView const *)arg1)->GetFirstSelected();
27045
27046 wxPyEndAllowThreads(__tstate);
27047 if (PyErr_Occurred()) SWIG_fail;
27048 }
093d3ff1
RD
27049 {
27050 resultobj = SWIG_From_long((long)(result));
27051 }
d55e5bfc
RD
27052 return resultobj;
27053 fail:
27054 return NULL;
27055}
27056
27057
c32bde28 27058static PyObject *_wrap_ListView_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27059 PyObject *resultobj;
27060 wxListView *arg1 = (wxListView *) 0 ;
27061 long arg2 ;
27062 bool result;
27063 PyObject * obj0 = 0 ;
27064 PyObject * obj1 = 0 ;
27065 char *kwnames[] = {
27066 (char *) "self",(char *) "index", NULL
27067 };
27068
27069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_IsSelected",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27070 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
27071 if (SWIG_arg_fail(1)) SWIG_fail;
27072 {
27073 arg2 = (long)(SWIG_As_long(obj1));
27074 if (SWIG_arg_fail(2)) SWIG_fail;
27075 }
d55e5bfc
RD
27076 {
27077 PyThreadState* __tstate = wxPyBeginAllowThreads();
27078 result = (bool)(arg1)->IsSelected(arg2);
27079
27080 wxPyEndAllowThreads(__tstate);
27081 if (PyErr_Occurred()) SWIG_fail;
27082 }
27083 {
27084 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27085 }
27086 return resultobj;
27087 fail:
27088 return NULL;
27089}
27090
27091
c32bde28 27092static PyObject *_wrap_ListView_SetColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27093 PyObject *resultobj;
27094 wxListView *arg1 = (wxListView *) 0 ;
27095 int arg2 ;
27096 int arg3 ;
27097 PyObject * obj0 = 0 ;
27098 PyObject * obj1 = 0 ;
27099 PyObject * obj2 = 0 ;
27100 char *kwnames[] = {
27101 (char *) "self",(char *) "col",(char *) "image", NULL
27102 };
27103
27104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListView_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
27105 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
27106 if (SWIG_arg_fail(1)) SWIG_fail;
27107 {
27108 arg2 = (int)(SWIG_As_int(obj1));
27109 if (SWIG_arg_fail(2)) SWIG_fail;
27110 }
27111 {
27112 arg3 = (int)(SWIG_As_int(obj2));
27113 if (SWIG_arg_fail(3)) SWIG_fail;
27114 }
d55e5bfc
RD
27115 {
27116 PyThreadState* __tstate = wxPyBeginAllowThreads();
27117 (arg1)->SetColumnImage(arg2,arg3);
27118
27119 wxPyEndAllowThreads(__tstate);
27120 if (PyErr_Occurred()) SWIG_fail;
27121 }
27122 Py_INCREF(Py_None); resultobj = Py_None;
27123 return resultobj;
27124 fail:
27125 return NULL;
27126}
27127
27128
c32bde28 27129static PyObject *_wrap_ListView_ClearColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27130 PyObject *resultobj;
27131 wxListView *arg1 = (wxListView *) 0 ;
27132 int arg2 ;
27133 PyObject * obj0 = 0 ;
27134 PyObject * obj1 = 0 ;
27135 char *kwnames[] = {
27136 (char *) "self",(char *) "col", NULL
27137 };
27138
27139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_ClearColumnImage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27140 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
27141 if (SWIG_arg_fail(1)) SWIG_fail;
27142 {
27143 arg2 = (int)(SWIG_As_int(obj1));
27144 if (SWIG_arg_fail(2)) SWIG_fail;
27145 }
d55e5bfc
RD
27146 {
27147 PyThreadState* __tstate = wxPyBeginAllowThreads();
27148 (arg1)->ClearColumnImage(arg2);
27149
27150 wxPyEndAllowThreads(__tstate);
27151 if (PyErr_Occurred()) SWIG_fail;
27152 }
27153 Py_INCREF(Py_None); resultobj = Py_None;
27154 return resultobj;
27155 fail:
27156 return NULL;
27157}
27158
27159
c32bde28 27160static PyObject * ListView_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
27161 PyObject *obj;
27162 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27163 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
27164 Py_INCREF(obj);
27165 return Py_BuildValue((char *)"");
27166}
c32bde28 27167static int _wrap_TreeCtrlNameStr_set(PyObject *) {
d55e5bfc
RD
27168 PyErr_SetString(PyExc_TypeError,"Variable TreeCtrlNameStr is read-only.");
27169 return 1;
27170}
27171
27172
093d3ff1 27173static PyObject *_wrap_TreeCtrlNameStr_get(void) {
d55e5bfc
RD
27174 PyObject *pyobj;
27175
27176 {
27177#if wxUSE_UNICODE
27178 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
27179#else
27180 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
27181#endif
27182 }
27183 return pyobj;
27184}
27185
27186
c32bde28 27187static PyObject *_wrap_new_TreeItemId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27188 PyObject *resultobj;
27189 wxTreeItemId *result;
27190 char *kwnames[] = {
27191 NULL
27192 };
27193
27194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
27195 {
27196 PyThreadState* __tstate = wxPyBeginAllowThreads();
27197 result = (wxTreeItemId *)new wxTreeItemId();
27198
27199 wxPyEndAllowThreads(__tstate);
27200 if (PyErr_Occurred()) SWIG_fail;
27201 }
27202 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 1);
27203 return resultobj;
27204 fail:
27205 return NULL;
27206}
27207
27208
c32bde28 27209static PyObject *_wrap_delete_TreeItemId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27210 PyObject *resultobj;
27211 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27212 PyObject * obj0 = 0 ;
27213 char *kwnames[] = {
27214 (char *) "self", NULL
27215 };
27216
27217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",kwnames,&obj0)) goto fail;
093d3ff1
RD
27218 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27219 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27220 {
27221 PyThreadState* __tstate = wxPyBeginAllowThreads();
27222 delete arg1;
27223
27224 wxPyEndAllowThreads(__tstate);
27225 if (PyErr_Occurred()) SWIG_fail;
27226 }
27227 Py_INCREF(Py_None); resultobj = Py_None;
27228 return resultobj;
27229 fail:
27230 return NULL;
27231}
27232
27233
c32bde28 27234static PyObject *_wrap_TreeItemId_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27235 PyObject *resultobj;
27236 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27237 bool result;
27238 PyObject * obj0 = 0 ;
27239 char *kwnames[] = {
27240 (char *) "self", NULL
27241 };
27242
27243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
093d3ff1
RD
27244 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27245 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27246 {
27247 PyThreadState* __tstate = wxPyBeginAllowThreads();
27248 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
27249
27250 wxPyEndAllowThreads(__tstate);
27251 if (PyErr_Occurred()) SWIG_fail;
27252 }
27253 {
27254 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27255 }
27256 return resultobj;
27257 fail:
27258 return NULL;
27259}
27260
27261
c32bde28 27262static PyObject *_wrap_TreeItemId___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27263 PyObject *resultobj;
27264 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27265 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
27266 bool result;
27267 PyObject * obj0 = 0 ;
27268 PyObject * obj1 = 0 ;
27269 char *kwnames[] = {
27270 (char *) "self",(char *) "other", NULL
27271 };
27272
27273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27274 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27275 if (SWIG_arg_fail(1)) SWIG_fail;
27276 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27277 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27278 {
27279 PyThreadState* __tstate = wxPyBeginAllowThreads();
27280 result = (bool)wxTreeItemId___eq__(arg1,(wxTreeItemId const *)arg2);
27281
27282 wxPyEndAllowThreads(__tstate);
27283 if (PyErr_Occurred()) SWIG_fail;
27284 }
27285 {
27286 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27287 }
27288 return resultobj;
27289 fail:
27290 return NULL;
27291}
27292
27293
c32bde28 27294static PyObject *_wrap_TreeItemId___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27295 PyObject *resultobj;
27296 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27297 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
27298 bool result;
27299 PyObject * obj0 = 0 ;
27300 PyObject * obj1 = 0 ;
27301 char *kwnames[] = {
27302 (char *) "self",(char *) "other", NULL
27303 };
27304
27305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27306 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27307 if (SWIG_arg_fail(1)) SWIG_fail;
27308 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27309 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27310 {
27311 PyThreadState* __tstate = wxPyBeginAllowThreads();
27312 result = (bool)wxTreeItemId___ne__(arg1,(wxTreeItemId const *)arg2);
27313
27314 wxPyEndAllowThreads(__tstate);
27315 if (PyErr_Occurred()) SWIG_fail;
27316 }
27317 {
27318 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27319 }
27320 return resultobj;
27321 fail:
27322 return NULL;
27323}
27324
27325
c32bde28 27326static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27327 PyObject *resultobj;
27328 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27329 void *arg2 = (void *) 0 ;
27330 PyObject * obj0 = 0 ;
27331 PyObject * obj1 = 0 ;
27332 char *kwnames[] = {
27333 (char *) "self",(char *) "m_pItem", NULL
27334 };
27335
27336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27337 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27338 if (SWIG_arg_fail(1)) SWIG_fail;
27339 {
27340 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),0,SWIG_POINTER_EXCEPTION|SWIG_POINTER_DISOWN))== -1) {
27341 SWIG_arg_fail(2);SWIG_fail;
27342 }
27343 }
d55e5bfc
RD
27344 if (arg1) (arg1)->m_pItem = arg2;
27345
27346 Py_INCREF(Py_None); resultobj = Py_None;
27347 return resultobj;
27348 fail:
27349 return NULL;
27350}
27351
27352
c32bde28 27353static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27354 PyObject *resultobj;
27355 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27356 void *result;
27357 PyObject * obj0 = 0 ;
27358 char *kwnames[] = {
27359 (char *) "self", NULL
27360 };
27361
27362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
27363 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27364 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27365 result = (void *) ((arg1)->m_pItem);
27366
27367 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0);
27368 return resultobj;
27369 fail:
27370 return NULL;
27371}
27372
27373
c32bde28 27374static PyObject * TreeItemId_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
27375 PyObject *obj;
27376 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27377 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
27378 Py_INCREF(obj);
27379 return Py_BuildValue((char *)"");
27380}
c32bde28 27381static PyObject *_wrap_new_TreeItemData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27382 PyObject *resultobj;
27383 PyObject *arg1 = (PyObject *) NULL ;
27384 wxPyTreeItemData *result;
27385 PyObject * obj0 = 0 ;
27386 char *kwnames[] = {
27387 (char *) "obj", NULL
27388 };
27389
27390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
27391 if (obj0) {
27392 arg1 = obj0;
27393 }
27394 {
27395 PyThreadState* __tstate = wxPyBeginAllowThreads();
27396 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
27397
27398 wxPyEndAllowThreads(__tstate);
27399 if (PyErr_Occurred()) SWIG_fail;
27400 }
27401 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 1);
27402 return resultobj;
27403 fail:
27404 return NULL;
27405}
27406
27407
c32bde28 27408static PyObject *_wrap_TreeItemData_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27409 PyObject *resultobj;
27410 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27411 PyObject *result;
27412 PyObject * obj0 = 0 ;
27413 char *kwnames[] = {
27414 (char *) "self", NULL
27415 };
27416
27417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) goto fail;
093d3ff1
RD
27418 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27419 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27420 {
27421 PyThreadState* __tstate = wxPyBeginAllowThreads();
27422 result = (PyObject *)(arg1)->GetData();
27423
27424 wxPyEndAllowThreads(__tstate);
27425 if (PyErr_Occurred()) SWIG_fail;
27426 }
27427 resultobj = result;
27428 return resultobj;
27429 fail:
27430 return NULL;
27431}
27432
27433
c32bde28 27434static PyObject *_wrap_TreeItemData_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27435 PyObject *resultobj;
27436 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27437 PyObject *arg2 = (PyObject *) 0 ;
27438 PyObject * obj0 = 0 ;
27439 PyObject * obj1 = 0 ;
27440 char *kwnames[] = {
27441 (char *) "self",(char *) "obj", NULL
27442 };
27443
27444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27445 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27446 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27447 arg2 = obj1;
27448 {
27449 PyThreadState* __tstate = wxPyBeginAllowThreads();
27450 (arg1)->SetData(arg2);
27451
27452 wxPyEndAllowThreads(__tstate);
27453 if (PyErr_Occurred()) SWIG_fail;
27454 }
27455 Py_INCREF(Py_None); resultobj = Py_None;
27456 return resultobj;
27457 fail:
27458 return NULL;
27459}
27460
27461
c32bde28 27462static PyObject *_wrap_TreeItemData_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27463 PyObject *resultobj;
27464 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27465 wxTreeItemId *result;
27466 PyObject * obj0 = 0 ;
27467 char *kwnames[] = {
27468 (char *) "self", NULL
27469 };
27470
27471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
093d3ff1
RD
27472 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27473 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27474 {
27475 PyThreadState* __tstate = wxPyBeginAllowThreads();
27476 {
27477 wxTreeItemId const &_result_ref = (arg1)->GetId();
27478 result = (wxTreeItemId *) &_result_ref;
27479 }
27480
27481 wxPyEndAllowThreads(__tstate);
27482 if (PyErr_Occurred()) SWIG_fail;
27483 }
27484 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 0);
27485 return resultobj;
27486 fail:
27487 return NULL;
27488}
27489
27490
c32bde28 27491static PyObject *_wrap_TreeItemData_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27492 PyObject *resultobj;
27493 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27494 wxTreeItemId *arg2 = 0 ;
27495 PyObject * obj0 = 0 ;
27496 PyObject * obj1 = 0 ;
27497 char *kwnames[] = {
27498 (char *) "self",(char *) "id", NULL
27499 };
27500
27501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27502 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27503 if (SWIG_arg_fail(1)) SWIG_fail;
27504 {
27505 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27506 if (SWIG_arg_fail(2)) SWIG_fail;
27507 if (arg2 == NULL) {
27508 SWIG_null_ref("wxTreeItemId");
27509 }
27510 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27511 }
27512 {
27513 PyThreadState* __tstate = wxPyBeginAllowThreads();
27514 (arg1)->SetId((wxTreeItemId const &)*arg2);
27515
27516 wxPyEndAllowThreads(__tstate);
27517 if (PyErr_Occurred()) SWIG_fail;
27518 }
27519 Py_INCREF(Py_None); resultobj = Py_None;
27520 return resultobj;
27521 fail:
27522 return NULL;
27523}
27524
27525
c32bde28 27526static PyObject *_wrap_TreeItemData_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27527 PyObject *resultobj;
27528 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27529 PyObject * obj0 = 0 ;
27530 char *kwnames[] = {
27531 (char *) "self", NULL
27532 };
27533
27534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
093d3ff1
RD
27535 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27536 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27537 {
27538 PyThreadState* __tstate = wxPyBeginAllowThreads();
27539 wxPyTreeItemData_Destroy(arg1);
27540
27541 wxPyEndAllowThreads(__tstate);
27542 if (PyErr_Occurred()) SWIG_fail;
27543 }
27544 Py_INCREF(Py_None); resultobj = Py_None;
27545 return resultobj;
27546 fail:
27547 return NULL;
27548}
27549
27550
c32bde28 27551static PyObject * TreeItemData_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
27552 PyObject *obj;
27553 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27554 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
27555 Py_INCREF(obj);
27556 return Py_BuildValue((char *)"");
27557}
c32bde28 27558static PyObject *_wrap_new_TreeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27559 PyObject *resultobj;
27560 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
27561 int arg2 = (int) 0 ;
27562 wxTreeEvent *result;
27563 PyObject * obj0 = 0 ;
27564 PyObject * obj1 = 0 ;
27565 char *kwnames[] = {
27566 (char *) "commandType",(char *) "id", NULL
27567 };
27568
27569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TreeEvent",kwnames,&obj0,&obj1)) goto fail;
27570 if (obj0) {
093d3ff1
RD
27571 {
27572 arg1 = (wxEventType)(SWIG_As_int(obj0));
27573 if (SWIG_arg_fail(1)) SWIG_fail;
27574 }
d55e5bfc
RD
27575 }
27576 if (obj1) {
093d3ff1
RD
27577 {
27578 arg2 = (int)(SWIG_As_int(obj1));
27579 if (SWIG_arg_fail(2)) SWIG_fail;
27580 }
d55e5bfc
RD
27581 }
27582 {
27583 PyThreadState* __tstate = wxPyBeginAllowThreads();
27584 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
27585
27586 wxPyEndAllowThreads(__tstate);
27587 if (PyErr_Occurred()) SWIG_fail;
27588 }
27589 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeEvent, 1);
27590 return resultobj;
27591 fail:
27592 return NULL;
27593}
27594
27595
c32bde28 27596static PyObject *_wrap_TreeEvent_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27597 PyObject *resultobj;
27598 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27599 wxTreeItemId result;
27600 PyObject * obj0 = 0 ;
27601 char *kwnames[] = {
27602 (char *) "self", NULL
27603 };
27604
27605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
093d3ff1
RD
27606 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27607 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27608 {
27609 PyThreadState* __tstate = wxPyBeginAllowThreads();
27610 result = ((wxTreeEvent const *)arg1)->GetItem();
27611
27612 wxPyEndAllowThreads(__tstate);
27613 if (PyErr_Occurred()) SWIG_fail;
27614 }
27615 {
27616 wxTreeItemId * resultptr;
093d3ff1 27617 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
27618 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27619 }
27620 return resultobj;
27621 fail:
27622 return NULL;
27623}
27624
27625
c32bde28 27626static PyObject *_wrap_TreeEvent_SetItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27627 PyObject *resultobj;
27628 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27629 wxTreeItemId *arg2 = 0 ;
27630 PyObject * obj0 = 0 ;
27631 PyObject * obj1 = 0 ;
27632 char *kwnames[] = {
27633 (char *) "self",(char *) "item", NULL
27634 };
27635
27636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27637 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27638 if (SWIG_arg_fail(1)) SWIG_fail;
27639 {
27640 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27641 if (SWIG_arg_fail(2)) SWIG_fail;
27642 if (arg2 == NULL) {
27643 SWIG_null_ref("wxTreeItemId");
27644 }
27645 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27646 }
27647 {
27648 PyThreadState* __tstate = wxPyBeginAllowThreads();
27649 (arg1)->SetItem((wxTreeItemId const &)*arg2);
27650
27651 wxPyEndAllowThreads(__tstate);
27652 if (PyErr_Occurred()) SWIG_fail;
27653 }
27654 Py_INCREF(Py_None); resultobj = Py_None;
27655 return resultobj;
27656 fail:
27657 return NULL;
27658}
27659
27660
c32bde28 27661static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27662 PyObject *resultobj;
27663 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27664 wxTreeItemId result;
27665 PyObject * obj0 = 0 ;
27666 char *kwnames[] = {
27667 (char *) "self", NULL
27668 };
27669
27670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
093d3ff1
RD
27671 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27672 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27673 {
27674 PyThreadState* __tstate = wxPyBeginAllowThreads();
27675 result = ((wxTreeEvent const *)arg1)->GetOldItem();
27676
27677 wxPyEndAllowThreads(__tstate);
27678 if (PyErr_Occurred()) SWIG_fail;
27679 }
27680 {
27681 wxTreeItemId * resultptr;
093d3ff1 27682 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
27683 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27684 }
27685 return resultobj;
27686 fail:
27687 return NULL;
27688}
27689
27690
c32bde28 27691static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27692 PyObject *resultobj;
27693 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27694 wxTreeItemId *arg2 = 0 ;
27695 PyObject * obj0 = 0 ;
27696 PyObject * obj1 = 0 ;
27697 char *kwnames[] = {
27698 (char *) "self",(char *) "item", NULL
27699 };
27700
27701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27702 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27703 if (SWIG_arg_fail(1)) SWIG_fail;
27704 {
27705 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27706 if (SWIG_arg_fail(2)) SWIG_fail;
27707 if (arg2 == NULL) {
27708 SWIG_null_ref("wxTreeItemId");
27709 }
27710 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27711 }
27712 {
27713 PyThreadState* __tstate = wxPyBeginAllowThreads();
27714 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
27715
27716 wxPyEndAllowThreads(__tstate);
27717 if (PyErr_Occurred()) SWIG_fail;
27718 }
27719 Py_INCREF(Py_None); resultobj = Py_None;
27720 return resultobj;
27721 fail:
27722 return NULL;
27723}
27724
27725
c32bde28 27726static PyObject *_wrap_TreeEvent_GetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27727 PyObject *resultobj;
27728 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27729 wxPoint result;
27730 PyObject * obj0 = 0 ;
27731 char *kwnames[] = {
27732 (char *) "self", NULL
27733 };
27734
27735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",kwnames,&obj0)) goto fail;
093d3ff1
RD
27736 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27737 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27738 {
27739 PyThreadState* __tstate = wxPyBeginAllowThreads();
27740 result = ((wxTreeEvent const *)arg1)->GetPoint();
27741
27742 wxPyEndAllowThreads(__tstate);
27743 if (PyErr_Occurred()) SWIG_fail;
27744 }
27745 {
27746 wxPoint * resultptr;
093d3ff1 27747 resultptr = new wxPoint((wxPoint &)(result));
d55e5bfc
RD
27748 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
27749 }
27750 return resultobj;
27751 fail:
27752 return NULL;
27753}
27754
27755
c32bde28 27756static PyObject *_wrap_TreeEvent_SetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27757 PyObject *resultobj;
27758 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27759 wxPoint *arg2 = 0 ;
27760 wxPoint temp2 ;
27761 PyObject * obj0 = 0 ;
27762 PyObject * obj1 = 0 ;
27763 char *kwnames[] = {
27764 (char *) "self",(char *) "pt", NULL
27765 };
27766
27767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27768 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27769 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27770 {
27771 arg2 = &temp2;
27772 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
27773 }
27774 {
27775 PyThreadState* __tstate = wxPyBeginAllowThreads();
27776 (arg1)->SetPoint((wxPoint const &)*arg2);
27777
27778 wxPyEndAllowThreads(__tstate);
27779 if (PyErr_Occurred()) SWIG_fail;
27780 }
27781 Py_INCREF(Py_None); resultobj = Py_None;
27782 return resultobj;
27783 fail:
27784 return NULL;
27785}
27786
27787
c32bde28 27788static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27789 PyObject *resultobj;
27790 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27791 wxKeyEvent *result;
27792 PyObject * obj0 = 0 ;
27793 char *kwnames[] = {
27794 (char *) "self", NULL
27795 };
27796
27797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",kwnames,&obj0)) goto fail;
093d3ff1
RD
27798 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27799 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27800 {
27801 PyThreadState* __tstate = wxPyBeginAllowThreads();
27802 {
27803 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
27804 result = (wxKeyEvent *) &_result_ref;
27805 }
27806
27807 wxPyEndAllowThreads(__tstate);
27808 if (PyErr_Occurred()) SWIG_fail;
27809 }
27810 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxKeyEvent, 0);
27811 return resultobj;
27812 fail:
27813 return NULL;
27814}
27815
27816
c32bde28 27817static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27818 PyObject *resultobj;
27819 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27820 int result;
27821 PyObject * obj0 = 0 ;
27822 char *kwnames[] = {
27823 (char *) "self", NULL
27824 };
27825
27826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",kwnames,&obj0)) goto fail;
093d3ff1
RD
27827 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27828 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27829 {
27830 PyThreadState* __tstate = wxPyBeginAllowThreads();
27831 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
27832
27833 wxPyEndAllowThreads(__tstate);
27834 if (PyErr_Occurred()) SWIG_fail;
27835 }
093d3ff1
RD
27836 {
27837 resultobj = SWIG_From_int((int)(result));
27838 }
d55e5bfc
RD
27839 return resultobj;
27840 fail:
27841 return NULL;
27842}
27843
27844
c32bde28 27845static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27846 PyObject *resultobj;
27847 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27848 wxKeyEvent *arg2 = 0 ;
27849 PyObject * obj0 = 0 ;
27850 PyObject * obj1 = 0 ;
27851 char *kwnames[] = {
27852 (char *) "self",(char *) "evt", NULL
27853 };
27854
27855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27856 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27857 if (SWIG_arg_fail(1)) SWIG_fail;
27858 {
27859 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
27860 if (SWIG_arg_fail(2)) SWIG_fail;
27861 if (arg2 == NULL) {
27862 SWIG_null_ref("wxKeyEvent");
27863 }
27864 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27865 }
27866 {
27867 PyThreadState* __tstate = wxPyBeginAllowThreads();
27868 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
27869
27870 wxPyEndAllowThreads(__tstate);
27871 if (PyErr_Occurred()) SWIG_fail;
27872 }
27873 Py_INCREF(Py_None); resultobj = Py_None;
27874 return resultobj;
27875 fail:
27876 return NULL;
27877}
27878
27879
c32bde28 27880static PyObject *_wrap_TreeEvent_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27881 PyObject *resultobj;
27882 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27883 wxString *result;
27884 PyObject * obj0 = 0 ;
27885 char *kwnames[] = {
27886 (char *) "self", NULL
27887 };
27888
27889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",kwnames,&obj0)) goto fail;
093d3ff1
RD
27890 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27891 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27892 {
27893 PyThreadState* __tstate = wxPyBeginAllowThreads();
27894 {
27895 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
27896 result = (wxString *) &_result_ref;
27897 }
27898
27899 wxPyEndAllowThreads(__tstate);
27900 if (PyErr_Occurred()) SWIG_fail;
27901 }
27902 {
27903#if wxUSE_UNICODE
27904 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
27905#else
27906 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
27907#endif
27908 }
27909 return resultobj;
27910 fail:
27911 return NULL;
27912}
27913
27914
c32bde28 27915static PyObject *_wrap_TreeEvent_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27916 PyObject *resultobj;
27917 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27918 wxString *arg2 = 0 ;
ae8162c8 27919 bool temp2 = false ;
d55e5bfc
RD
27920 PyObject * obj0 = 0 ;
27921 PyObject * obj1 = 0 ;
27922 char *kwnames[] = {
27923 (char *) "self",(char *) "label", NULL
27924 };
27925
27926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27927 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27928 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27929 {
27930 arg2 = wxString_in_helper(obj1);
27931 if (arg2 == NULL) SWIG_fail;
ae8162c8 27932 temp2 = true;
d55e5bfc
RD
27933 }
27934 {
27935 PyThreadState* __tstate = wxPyBeginAllowThreads();
27936 (arg1)->SetLabel((wxString const &)*arg2);
27937
27938 wxPyEndAllowThreads(__tstate);
27939 if (PyErr_Occurred()) SWIG_fail;
27940 }
27941 Py_INCREF(Py_None); resultobj = Py_None;
27942 {
27943 if (temp2)
27944 delete arg2;
27945 }
27946 return resultobj;
27947 fail:
27948 {
27949 if (temp2)
27950 delete arg2;
27951 }
27952 return NULL;
27953}
27954
27955
c32bde28 27956static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27957 PyObject *resultobj;
27958 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27959 bool result;
27960 PyObject * obj0 = 0 ;
27961 char *kwnames[] = {
27962 (char *) "self", NULL
27963 };
27964
27965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
093d3ff1
RD
27966 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27967 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27968 {
27969 PyThreadState* __tstate = wxPyBeginAllowThreads();
27970 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
27971
27972 wxPyEndAllowThreads(__tstate);
27973 if (PyErr_Occurred()) SWIG_fail;
27974 }
27975 {
27976 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27977 }
27978 return resultobj;
27979 fail:
27980 return NULL;
27981}
27982
27983
c32bde28 27984static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27985 PyObject *resultobj;
27986 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27987 bool arg2 ;
27988 PyObject * obj0 = 0 ;
27989 PyObject * obj1 = 0 ;
27990 char *kwnames[] = {
27991 (char *) "self",(char *) "editCancelled", NULL
27992 };
27993
27994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27995 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27996 if (SWIG_arg_fail(1)) SWIG_fail;
27997 {
27998 arg2 = (bool)(SWIG_As_bool(obj1));
27999 if (SWIG_arg_fail(2)) SWIG_fail;
28000 }
d55e5bfc
RD
28001 {
28002 PyThreadState* __tstate = wxPyBeginAllowThreads();
28003 (arg1)->SetEditCanceled(arg2);
28004
28005 wxPyEndAllowThreads(__tstate);
28006 if (PyErr_Occurred()) SWIG_fail;
28007 }
28008 Py_INCREF(Py_None); resultobj = Py_None;
28009 return resultobj;
28010 fail:
28011 return NULL;
28012}
28013
28014
c32bde28 28015static PyObject *_wrap_TreeEvent_SetToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28016 PyObject *resultobj;
28017 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
28018 wxString *arg2 = 0 ;
ae8162c8 28019 bool temp2 = false ;
d55e5bfc
RD
28020 PyObject * obj0 = 0 ;
28021 PyObject * obj1 = 0 ;
28022 char *kwnames[] = {
28023 (char *) "self",(char *) "toolTip", NULL
28024 };
28025
28026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28027 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
28028 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28029 {
28030 arg2 = wxString_in_helper(obj1);
28031 if (arg2 == NULL) SWIG_fail;
ae8162c8 28032 temp2 = true;
d55e5bfc
RD
28033 }
28034 {
28035 PyThreadState* __tstate = wxPyBeginAllowThreads();
28036 (arg1)->SetToolTip((wxString const &)*arg2);
28037
28038 wxPyEndAllowThreads(__tstate);
28039 if (PyErr_Occurred()) SWIG_fail;
28040 }
28041 Py_INCREF(Py_None); resultobj = Py_None;
28042 {
28043 if (temp2)
28044 delete arg2;
28045 }
28046 return resultobj;
28047 fail:
28048 {
28049 if (temp2)
28050 delete arg2;
28051 }
28052 return NULL;
28053}
28054
28055
c32bde28 28056static PyObject * TreeEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
28057 PyObject *obj;
28058 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28059 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
28060 Py_INCREF(obj);
28061 return Py_BuildValue((char *)"");
28062}
c32bde28 28063static PyObject *_wrap_new_TreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28064 PyObject *resultobj;
28065 wxWindow *arg1 = (wxWindow *) 0 ;
28066 int arg2 = (int) -1 ;
28067 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28068 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28069 wxSize const &arg4_defvalue = wxDefaultSize ;
28070 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28071 long arg5 = (long) wxTR_DEFAULT_STYLE ;
28072 wxValidator const &arg6_defvalue = wxDefaultValidator ;
28073 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
28074 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
28075 wxString *arg7 = (wxString *) &arg7_defvalue ;
28076 wxPyTreeCtrl *result;
28077 wxPoint temp3 ;
28078 wxSize temp4 ;
ae8162c8 28079 bool temp7 = false ;
d55e5bfc
RD
28080 PyObject * obj0 = 0 ;
28081 PyObject * obj1 = 0 ;
28082 PyObject * obj2 = 0 ;
28083 PyObject * obj3 = 0 ;
28084 PyObject * obj4 = 0 ;
28085 PyObject * obj5 = 0 ;
28086 PyObject * obj6 = 0 ;
28087 char *kwnames[] = {
28088 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28089 };
28090
28091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
28092 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28093 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 28094 if (obj1) {
093d3ff1
RD
28095 {
28096 arg2 = (int)(SWIG_As_int(obj1));
28097 if (SWIG_arg_fail(2)) SWIG_fail;
28098 }
d55e5bfc
RD
28099 }
28100 if (obj2) {
28101 {
28102 arg3 = &temp3;
28103 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28104 }
28105 }
28106 if (obj3) {
28107 {
28108 arg4 = &temp4;
28109 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
28110 }
28111 }
28112 if (obj4) {
093d3ff1
RD
28113 {
28114 arg5 = (long)(SWIG_As_long(obj4));
28115 if (SWIG_arg_fail(5)) SWIG_fail;
28116 }
d55e5bfc
RD
28117 }
28118 if (obj5) {
093d3ff1
RD
28119 {
28120 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
28121 if (SWIG_arg_fail(6)) SWIG_fail;
28122 if (arg6 == NULL) {
28123 SWIG_null_ref("wxValidator");
28124 }
28125 if (SWIG_arg_fail(6)) SWIG_fail;
d55e5bfc
RD
28126 }
28127 }
28128 if (obj6) {
28129 {
28130 arg7 = wxString_in_helper(obj6);
28131 if (arg7 == NULL) SWIG_fail;
ae8162c8 28132 temp7 = true;
d55e5bfc
RD
28133 }
28134 }
28135 {
0439c23b 28136 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
28137 PyThreadState* __tstate = wxPyBeginAllowThreads();
28138 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
28139
28140 wxPyEndAllowThreads(__tstate);
110da5b0 28141 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 28142 }
b0f7404b 28143 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeCtrl, 1);
d55e5bfc
RD
28144 {
28145 if (temp7)
28146 delete arg7;
28147 }
28148 return resultobj;
28149 fail:
28150 {
28151 if (temp7)
28152 delete arg7;
28153 }
28154 return NULL;
28155}
28156
28157
c32bde28 28158static PyObject *_wrap_new_PreTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28159 PyObject *resultobj;
28160 wxPyTreeCtrl *result;
28161 char *kwnames[] = {
28162 NULL
28163 };
28164
28165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
28166 {
0439c23b 28167 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
28168 PyThreadState* __tstate = wxPyBeginAllowThreads();
28169 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
28170
28171 wxPyEndAllowThreads(__tstate);
110da5b0 28172 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 28173 }
b0f7404b 28174 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeCtrl, 1);
d55e5bfc
RD
28175 return resultobj;
28176 fail:
28177 return NULL;
28178}
28179
28180
c32bde28 28181static PyObject *_wrap_TreeCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28182 PyObject *resultobj;
28183 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28184 wxWindow *arg2 = (wxWindow *) 0 ;
28185 int arg3 = (int) -1 ;
28186 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28187 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28188 wxSize const &arg5_defvalue = wxDefaultSize ;
28189 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28190 long arg6 = (long) wxTR_DEFAULT_STYLE ;
28191 wxValidator const &arg7_defvalue = wxDefaultValidator ;
28192 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
28193 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
28194 wxString *arg8 = (wxString *) &arg8_defvalue ;
28195 bool result;
28196 wxPoint temp4 ;
28197 wxSize temp5 ;
ae8162c8 28198 bool temp8 = false ;
d55e5bfc
RD
28199 PyObject * obj0 = 0 ;
28200 PyObject * obj1 = 0 ;
28201 PyObject * obj2 = 0 ;
28202 PyObject * obj3 = 0 ;
28203 PyObject * obj4 = 0 ;
28204 PyObject * obj5 = 0 ;
28205 PyObject * obj6 = 0 ;
28206 PyObject * obj7 = 0 ;
28207 char *kwnames[] = {
28208 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28209 };
28210
28211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
28212 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28213 if (SWIG_arg_fail(1)) SWIG_fail;
28214 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28215 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 28216 if (obj2) {
093d3ff1
RD
28217 {
28218 arg3 = (int)(SWIG_As_int(obj2));
28219 if (SWIG_arg_fail(3)) SWIG_fail;
28220 }
d55e5bfc
RD
28221 }
28222 if (obj3) {
28223 {
28224 arg4 = &temp4;
28225 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28226 }
28227 }
28228 if (obj4) {
28229 {
28230 arg5 = &temp5;
28231 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28232 }
28233 }
28234 if (obj5) {
093d3ff1
RD
28235 {
28236 arg6 = (long)(SWIG_As_long(obj5));
28237 if (SWIG_arg_fail(6)) SWIG_fail;
28238 }
d55e5bfc
RD
28239 }
28240 if (obj6) {
093d3ff1
RD
28241 {
28242 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
28243 if (SWIG_arg_fail(7)) SWIG_fail;
28244 if (arg7 == NULL) {
28245 SWIG_null_ref("wxValidator");
28246 }
28247 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
28248 }
28249 }
28250 if (obj7) {
28251 {
28252 arg8 = wxString_in_helper(obj7);
28253 if (arg8 == NULL) SWIG_fail;
ae8162c8 28254 temp8 = true;
d55e5bfc
RD
28255 }
28256 }
28257 {
28258 PyThreadState* __tstate = wxPyBeginAllowThreads();
28259 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
28260
28261 wxPyEndAllowThreads(__tstate);
28262 if (PyErr_Occurred()) SWIG_fail;
28263 }
28264 {
28265 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28266 }
28267 {
28268 if (temp8)
28269 delete arg8;
28270 }
28271 return resultobj;
28272 fail:
28273 {
28274 if (temp8)
28275 delete arg8;
28276 }
28277 return NULL;
28278}
28279
28280
c32bde28 28281static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28282 PyObject *resultobj;
28283 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28284 PyObject *arg2 = (PyObject *) 0 ;
28285 PyObject *arg3 = (PyObject *) 0 ;
28286 PyObject * obj0 = 0 ;
28287 PyObject * obj1 = 0 ;
28288 PyObject * obj2 = 0 ;
28289 char *kwnames[] = {
28290 (char *) "self",(char *) "self",(char *) "_class", NULL
28291 };
28292
28293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
28294 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28295 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28296 arg2 = obj1;
28297 arg3 = obj2;
28298 {
28299 PyThreadState* __tstate = wxPyBeginAllowThreads();
28300 (arg1)->_setCallbackInfo(arg2,arg3);
28301
28302 wxPyEndAllowThreads(__tstate);
28303 if (PyErr_Occurred()) SWIG_fail;
28304 }
28305 Py_INCREF(Py_None); resultobj = Py_None;
28306 return resultobj;
28307 fail:
28308 return NULL;
28309}
28310
28311
c32bde28 28312static PyObject *_wrap_TreeCtrl_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28313 PyObject *resultobj;
28314 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28315 size_t result;
28316 PyObject * obj0 = 0 ;
28317 char *kwnames[] = {
28318 (char *) "self", NULL
28319 };
28320
28321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
28322 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28323 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28324 {
28325 PyThreadState* __tstate = wxPyBeginAllowThreads();
28326 result = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
28327
28328 wxPyEndAllowThreads(__tstate);
28329 if (PyErr_Occurred()) SWIG_fail;
28330 }
093d3ff1
RD
28331 {
28332 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
28333 }
d55e5bfc
RD
28334 return resultobj;
28335 fail:
28336 return NULL;
28337}
28338
28339
c32bde28 28340static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28341 PyObject *resultobj;
28342 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28343 unsigned int result;
28344 PyObject * obj0 = 0 ;
28345 char *kwnames[] = {
28346 (char *) "self", NULL
28347 };
28348
28349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
093d3ff1
RD
28350 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28351 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28352 {
28353 PyThreadState* __tstate = wxPyBeginAllowThreads();
28354 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
28355
28356 wxPyEndAllowThreads(__tstate);
28357 if (PyErr_Occurred()) SWIG_fail;
28358 }
093d3ff1
RD
28359 {
28360 resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result));
28361 }
d55e5bfc
RD
28362 return resultobj;
28363 fail:
28364 return NULL;
28365}
28366
28367
c32bde28 28368static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28369 PyObject *resultobj;
28370 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28371 unsigned int arg2 ;
28372 PyObject * obj0 = 0 ;
28373 PyObject * obj1 = 0 ;
28374 char *kwnames[] = {
28375 (char *) "self",(char *) "indent", NULL
28376 };
28377
28378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28379 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28380 if (SWIG_arg_fail(1)) SWIG_fail;
28381 {
28382 arg2 = (unsigned int)(SWIG_As_unsigned_SS_int(obj1));
28383 if (SWIG_arg_fail(2)) SWIG_fail;
28384 }
d55e5bfc
RD
28385 {
28386 PyThreadState* __tstate = wxPyBeginAllowThreads();
28387 (arg1)->SetIndent(arg2);
28388
28389 wxPyEndAllowThreads(__tstate);
28390 if (PyErr_Occurred()) SWIG_fail;
28391 }
28392 Py_INCREF(Py_None); resultobj = Py_None;
28393 return resultobj;
28394 fail:
28395 return NULL;
28396}
28397
28398
c32bde28 28399static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28400 PyObject *resultobj;
28401 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28402 unsigned int result;
28403 PyObject * obj0 = 0 ;
28404 char *kwnames[] = {
28405 (char *) "self", NULL
28406 };
28407
28408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",kwnames,&obj0)) goto fail;
093d3ff1
RD
28409 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28410 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28411 {
28412 PyThreadState* __tstate = wxPyBeginAllowThreads();
28413 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
28414
28415 wxPyEndAllowThreads(__tstate);
28416 if (PyErr_Occurred()) SWIG_fail;
28417 }
093d3ff1
RD
28418 {
28419 resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result));
28420 }
d55e5bfc
RD
28421 return resultobj;
28422 fail:
28423 return NULL;
28424}
28425
28426
c32bde28 28427static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28428 PyObject *resultobj;
28429 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28430 unsigned int arg2 ;
28431 PyObject * obj0 = 0 ;
28432 PyObject * obj1 = 0 ;
28433 char *kwnames[] = {
28434 (char *) "self",(char *) "spacing", NULL
28435 };
28436
28437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28438 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28439 if (SWIG_arg_fail(1)) SWIG_fail;
28440 {
28441 arg2 = (unsigned int)(SWIG_As_unsigned_SS_int(obj1));
28442 if (SWIG_arg_fail(2)) SWIG_fail;
28443 }
d55e5bfc
RD
28444 {
28445 PyThreadState* __tstate = wxPyBeginAllowThreads();
28446 (arg1)->SetSpacing(arg2);
28447
28448 wxPyEndAllowThreads(__tstate);
28449 if (PyErr_Occurred()) SWIG_fail;
28450 }
28451 Py_INCREF(Py_None); resultobj = Py_None;
28452 return resultobj;
28453 fail:
28454 return NULL;
28455}
28456
28457
c32bde28 28458static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28459 PyObject *resultobj;
28460 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28461 wxImageList *result;
28462 PyObject * obj0 = 0 ;
28463 char *kwnames[] = {
28464 (char *) "self", NULL
28465 };
28466
28467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) goto fail;
093d3ff1
RD
28468 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28469 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28470 {
28471 PyThreadState* __tstate = wxPyBeginAllowThreads();
28472 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
28473
28474 wxPyEndAllowThreads(__tstate);
28475 if (PyErr_Occurred()) SWIG_fail;
28476 }
28477 {
412d302d 28478 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
28479 }
28480 return resultobj;
28481 fail:
28482 return NULL;
28483}
28484
28485
c32bde28 28486static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28487 PyObject *resultobj;
28488 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28489 wxImageList *result;
28490 PyObject * obj0 = 0 ;
28491 char *kwnames[] = {
28492 (char *) "self", NULL
28493 };
28494
28495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
093d3ff1
RD
28496 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28497 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28498 {
28499 PyThreadState* __tstate = wxPyBeginAllowThreads();
28500 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
28501
28502 wxPyEndAllowThreads(__tstate);
28503 if (PyErr_Occurred()) SWIG_fail;
28504 }
28505 {
412d302d 28506 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
28507 }
28508 return resultobj;
28509 fail:
28510 return NULL;
28511}
28512
28513
c32bde28 28514static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28515 PyObject *resultobj;
28516 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28517 wxImageList *arg2 = (wxImageList *) 0 ;
28518 PyObject * obj0 = 0 ;
28519 PyObject * obj1 = 0 ;
28520 char *kwnames[] = {
28521 (char *) "self",(char *) "imageList", NULL
28522 };
28523
28524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28525 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28526 if (SWIG_arg_fail(1)) SWIG_fail;
28527 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
28528 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28529 {
28530 PyThreadState* __tstate = wxPyBeginAllowThreads();
28531 (arg1)->SetImageList(arg2);
28532
28533 wxPyEndAllowThreads(__tstate);
28534 if (PyErr_Occurred()) SWIG_fail;
28535 }
28536 Py_INCREF(Py_None); resultobj = Py_None;
28537 return resultobj;
28538 fail:
28539 return NULL;
28540}
28541
28542
c32bde28 28543static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28544 PyObject *resultobj;
28545 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28546 wxImageList *arg2 = (wxImageList *) 0 ;
28547 PyObject * obj0 = 0 ;
28548 PyObject * obj1 = 0 ;
28549 char *kwnames[] = {
28550 (char *) "self",(char *) "imageList", NULL
28551 };
28552
28553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28554 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28555 if (SWIG_arg_fail(1)) SWIG_fail;
28556 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
28557 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28558 {
28559 PyThreadState* __tstate = wxPyBeginAllowThreads();
28560 (arg1)->SetStateImageList(arg2);
28561
28562 wxPyEndAllowThreads(__tstate);
28563 if (PyErr_Occurred()) SWIG_fail;
28564 }
28565 Py_INCREF(Py_None); resultobj = Py_None;
28566 return resultobj;
28567 fail:
28568 return NULL;
28569}
28570
28571
c32bde28 28572static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28573 PyObject *resultobj;
28574 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28575 wxImageList *arg2 = (wxImageList *) 0 ;
28576 PyObject * obj0 = 0 ;
28577 PyObject * obj1 = 0 ;
28578 char *kwnames[] = {
28579 (char *) "self",(char *) "imageList", NULL
28580 };
28581
28582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28583 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28584 if (SWIG_arg_fail(1)) SWIG_fail;
28585 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
28586 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28587 {
28588 PyThreadState* __tstate = wxPyBeginAllowThreads();
28589 (arg1)->AssignImageList(arg2);
28590
28591 wxPyEndAllowThreads(__tstate);
28592 if (PyErr_Occurred()) SWIG_fail;
28593 }
28594 Py_INCREF(Py_None); resultobj = Py_None;
28595 return resultobj;
28596 fail:
28597 return NULL;
28598}
28599
28600
c32bde28 28601static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28602 PyObject *resultobj;
28603 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28604 wxImageList *arg2 = (wxImageList *) 0 ;
28605 PyObject * obj0 = 0 ;
28606 PyObject * obj1 = 0 ;
28607 char *kwnames[] = {
28608 (char *) "self",(char *) "imageList", NULL
28609 };
28610
28611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28612 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28613 if (SWIG_arg_fail(1)) SWIG_fail;
28614 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
28615 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28616 {
28617 PyThreadState* __tstate = wxPyBeginAllowThreads();
28618 (arg1)->AssignStateImageList(arg2);
28619
28620 wxPyEndAllowThreads(__tstate);
28621 if (PyErr_Occurred()) SWIG_fail;
28622 }
28623 Py_INCREF(Py_None); resultobj = Py_None;
28624 return resultobj;
28625 fail:
28626 return NULL;
28627}
28628
28629
c32bde28 28630static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28631 PyObject *resultobj;
28632 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28633 wxTreeItemId *arg2 = 0 ;
28634 wxString result;
28635 PyObject * obj0 = 0 ;
28636 PyObject * obj1 = 0 ;
28637 char *kwnames[] = {
28638 (char *) "self",(char *) "item", NULL
28639 };
28640
28641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28642 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28643 if (SWIG_arg_fail(1)) SWIG_fail;
28644 {
28645 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28646 if (SWIG_arg_fail(2)) SWIG_fail;
28647 if (arg2 == NULL) {
28648 SWIG_null_ref("wxTreeItemId");
28649 }
28650 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28651 }
28652 {
28653 PyThreadState* __tstate = wxPyBeginAllowThreads();
28654 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
28655
28656 wxPyEndAllowThreads(__tstate);
28657 if (PyErr_Occurred()) SWIG_fail;
28658 }
28659 {
28660#if wxUSE_UNICODE
28661 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28662#else
28663 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28664#endif
28665 }
28666 return resultobj;
28667 fail:
28668 return NULL;
28669}
28670
28671
c32bde28 28672static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28673 PyObject *resultobj;
28674 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28675 wxTreeItemId *arg2 = 0 ;
093d3ff1 28676 wxTreeItemIcon arg3 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
d55e5bfc
RD
28677 int result;
28678 PyObject * obj0 = 0 ;
28679 PyObject * obj1 = 0 ;
28680 PyObject * obj2 = 0 ;
28681 char *kwnames[] = {
28682 (char *) "self",(char *) "item",(char *) "which", NULL
28683 };
28684
28685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
28686 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28687 if (SWIG_arg_fail(1)) SWIG_fail;
28688 {
28689 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28690 if (SWIG_arg_fail(2)) SWIG_fail;
28691 if (arg2 == NULL) {
28692 SWIG_null_ref("wxTreeItemId");
28693 }
28694 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28695 }
28696 if (obj2) {
093d3ff1
RD
28697 {
28698 arg3 = (wxTreeItemIcon)(SWIG_As_int(obj2));
28699 if (SWIG_arg_fail(3)) SWIG_fail;
28700 }
d55e5bfc
RD
28701 }
28702 {
28703 PyThreadState* __tstate = wxPyBeginAllowThreads();
28704 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,(wxTreeItemIcon )arg3);
28705
28706 wxPyEndAllowThreads(__tstate);
28707 if (PyErr_Occurred()) SWIG_fail;
28708 }
093d3ff1
RD
28709 {
28710 resultobj = SWIG_From_int((int)(result));
28711 }
d55e5bfc
RD
28712 return resultobj;
28713 fail:
28714 return NULL;
28715}
28716
28717
c32bde28 28718static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28719 PyObject *resultobj;
28720 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28721 wxTreeItemId *arg2 = 0 ;
28722 wxPyTreeItemData *result;
28723 PyObject * obj0 = 0 ;
28724 PyObject * obj1 = 0 ;
28725 char *kwnames[] = {
28726 (char *) "self",(char *) "item", NULL
28727 };
28728
28729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28730 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28731 if (SWIG_arg_fail(1)) SWIG_fail;
28732 {
28733 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28734 if (SWIG_arg_fail(2)) SWIG_fail;
28735 if (arg2 == NULL) {
28736 SWIG_null_ref("wxTreeItemId");
28737 }
28738 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28739 }
28740 {
28741 PyThreadState* __tstate = wxPyBeginAllowThreads();
28742 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
28743
28744 wxPyEndAllowThreads(__tstate);
28745 if (PyErr_Occurred()) SWIG_fail;
28746 }
28747 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 0);
28748 return resultobj;
28749 fail:
28750 return NULL;
28751}
28752
28753
c32bde28 28754static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28755 PyObject *resultobj;
28756 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28757 wxTreeItemId *arg2 = 0 ;
28758 PyObject *result;
28759 PyObject * obj0 = 0 ;
28760 PyObject * obj1 = 0 ;
28761 char *kwnames[] = {
28762 (char *) "self",(char *) "item", NULL
28763 };
28764
28765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28766 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28767 if (SWIG_arg_fail(1)) SWIG_fail;
28768 {
28769 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28770 if (SWIG_arg_fail(2)) SWIG_fail;
28771 if (arg2 == NULL) {
28772 SWIG_null_ref("wxTreeItemId");
28773 }
28774 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28775 }
28776 {
28777 PyThreadState* __tstate = wxPyBeginAllowThreads();
28778 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
28779
28780 wxPyEndAllowThreads(__tstate);
28781 if (PyErr_Occurred()) SWIG_fail;
28782 }
28783 resultobj = result;
28784 return resultobj;
28785 fail:
28786 return NULL;
28787}
28788
28789
c32bde28 28790static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28791 PyObject *resultobj;
28792 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28793 wxTreeItemId *arg2 = 0 ;
28794 wxColour result;
28795 PyObject * obj0 = 0 ;
28796 PyObject * obj1 = 0 ;
28797 char *kwnames[] = {
28798 (char *) "self",(char *) "item", NULL
28799 };
28800
28801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28802 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28803 if (SWIG_arg_fail(1)) SWIG_fail;
28804 {
28805 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28806 if (SWIG_arg_fail(2)) SWIG_fail;
28807 if (arg2 == NULL) {
28808 SWIG_null_ref("wxTreeItemId");
28809 }
28810 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28811 }
28812 {
28813 PyThreadState* __tstate = wxPyBeginAllowThreads();
28814 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
28815
28816 wxPyEndAllowThreads(__tstate);
28817 if (PyErr_Occurred()) SWIG_fail;
28818 }
28819 {
28820 wxColour * resultptr;
093d3ff1 28821 resultptr = new wxColour((wxColour &)(result));
d55e5bfc
RD
28822 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
28823 }
28824 return resultobj;
28825 fail:
28826 return NULL;
28827}
28828
28829
c32bde28 28830static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28831 PyObject *resultobj;
28832 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28833 wxTreeItemId *arg2 = 0 ;
28834 wxColour result;
28835 PyObject * obj0 = 0 ;
28836 PyObject * obj1 = 0 ;
28837 char *kwnames[] = {
28838 (char *) "self",(char *) "item", NULL
28839 };
28840
28841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28842 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28843 if (SWIG_arg_fail(1)) SWIG_fail;
28844 {
28845 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28846 if (SWIG_arg_fail(2)) SWIG_fail;
28847 if (arg2 == NULL) {
28848 SWIG_null_ref("wxTreeItemId");
28849 }
28850 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28851 }
28852 {
28853 PyThreadState* __tstate = wxPyBeginAllowThreads();
28854 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
28855
28856 wxPyEndAllowThreads(__tstate);
28857 if (PyErr_Occurred()) SWIG_fail;
28858 }
28859 {
28860 wxColour * resultptr;
093d3ff1 28861 resultptr = new wxColour((wxColour &)(result));
d55e5bfc
RD
28862 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
28863 }
28864 return resultobj;
28865 fail:
28866 return NULL;
28867}
28868
28869
c32bde28 28870static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28871 PyObject *resultobj;
28872 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28873 wxTreeItemId *arg2 = 0 ;
28874 wxFont result;
28875 PyObject * obj0 = 0 ;
28876 PyObject * obj1 = 0 ;
28877 char *kwnames[] = {
28878 (char *) "self",(char *) "item", NULL
28879 };
28880
28881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28882 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28883 if (SWIG_arg_fail(1)) SWIG_fail;
28884 {
28885 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28886 if (SWIG_arg_fail(2)) SWIG_fail;
28887 if (arg2 == NULL) {
28888 SWIG_null_ref("wxTreeItemId");
28889 }
28890 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28891 }
28892 {
28893 PyThreadState* __tstate = wxPyBeginAllowThreads();
28894 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
28895
28896 wxPyEndAllowThreads(__tstate);
28897 if (PyErr_Occurred()) SWIG_fail;
28898 }
28899 {
28900 wxFont * resultptr;
093d3ff1 28901 resultptr = new wxFont((wxFont &)(result));
d55e5bfc
RD
28902 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
28903 }
28904 return resultobj;
28905 fail:
28906 return NULL;
28907}
28908
28909
c32bde28 28910static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28911 PyObject *resultobj;
28912 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28913 wxTreeItemId *arg2 = 0 ;
28914 wxString *arg3 = 0 ;
ae8162c8 28915 bool temp3 = false ;
d55e5bfc
RD
28916 PyObject * obj0 = 0 ;
28917 PyObject * obj1 = 0 ;
28918 PyObject * obj2 = 0 ;
28919 char *kwnames[] = {
28920 (char *) "self",(char *) "item",(char *) "text", NULL
28921 };
28922
28923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
28924 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28925 if (SWIG_arg_fail(1)) SWIG_fail;
28926 {
28927 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28928 if (SWIG_arg_fail(2)) SWIG_fail;
28929 if (arg2 == NULL) {
28930 SWIG_null_ref("wxTreeItemId");
28931 }
28932 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28933 }
28934 {
28935 arg3 = wxString_in_helper(obj2);
28936 if (arg3 == NULL) SWIG_fail;
ae8162c8 28937 temp3 = true;
d55e5bfc
RD
28938 }
28939 {
28940 PyThreadState* __tstate = wxPyBeginAllowThreads();
28941 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
28942
28943 wxPyEndAllowThreads(__tstate);
28944 if (PyErr_Occurred()) SWIG_fail;
28945 }
28946 Py_INCREF(Py_None); resultobj = Py_None;
28947 {
28948 if (temp3)
28949 delete arg3;
28950 }
28951 return resultobj;
28952 fail:
28953 {
28954 if (temp3)
28955 delete arg3;
28956 }
28957 return NULL;
28958}
28959
28960
c32bde28 28961static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28962 PyObject *resultobj;
28963 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28964 wxTreeItemId *arg2 = 0 ;
28965 int arg3 ;
093d3ff1 28966 wxTreeItemIcon arg4 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
d55e5bfc
RD
28967 PyObject * obj0 = 0 ;
28968 PyObject * obj1 = 0 ;
28969 PyObject * obj2 = 0 ;
28970 PyObject * obj3 = 0 ;
28971 char *kwnames[] = {
28972 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
28973 };
28974
28975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
28976 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28977 if (SWIG_arg_fail(1)) SWIG_fail;
28978 {
28979 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28980 if (SWIG_arg_fail(2)) SWIG_fail;
28981 if (arg2 == NULL) {
28982 SWIG_null_ref("wxTreeItemId");
28983 }
28984 if (SWIG_arg_fail(2)) SWIG_fail;
28985 }
28986 {
28987 arg3 = (int)(SWIG_As_int(obj2));
28988 if (SWIG_arg_fail(3)) SWIG_fail;
28989 }
d55e5bfc 28990 if (obj3) {
093d3ff1
RD
28991 {
28992 arg4 = (wxTreeItemIcon)(SWIG_As_int(obj3));
28993 if (SWIG_arg_fail(4)) SWIG_fail;
28994 }
d55e5bfc
RD
28995 }
28996 {
28997 PyThreadState* __tstate = wxPyBeginAllowThreads();
28998 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4);
28999
29000 wxPyEndAllowThreads(__tstate);
29001 if (PyErr_Occurred()) SWIG_fail;
29002 }
29003 Py_INCREF(Py_None); resultobj = Py_None;
29004 return resultobj;
29005 fail:
29006 return NULL;
29007}
29008
29009
c32bde28 29010static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29011 PyObject *resultobj;
29012 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29013 wxTreeItemId *arg2 = 0 ;
29014 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
29015 PyObject * obj0 = 0 ;
29016 PyObject * obj1 = 0 ;
29017 PyObject * obj2 = 0 ;
29018 char *kwnames[] = {
29019 (char *) "self",(char *) "item",(char *) "data", NULL
29020 };
29021
29022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
29023 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29024 if (SWIG_arg_fail(1)) SWIG_fail;
29025 {
29026 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29027 if (SWIG_arg_fail(2)) SWIG_fail;
29028 if (arg2 == NULL) {
29029 SWIG_null_ref("wxTreeItemId");
29030 }
29031 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 29032 }
093d3ff1
RD
29033 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
29034 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
29035 {
29036 PyThreadState* __tstate = wxPyBeginAllowThreads();
29037 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
29038
29039 wxPyEndAllowThreads(__tstate);
29040 if (PyErr_Occurred()) SWIG_fail;
29041 }
29042 Py_INCREF(Py_None); resultobj = Py_None;
29043 return resultobj;
29044 fail:
29045 return NULL;
29046}
29047
29048
c32bde28 29049static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29050 PyObject *resultobj;
29051 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29052 wxTreeItemId *arg2 = 0 ;
29053 PyObject *arg3 = (PyObject *) 0 ;
29054 PyObject * obj0 = 0 ;
29055 PyObject * obj1 = 0 ;
29056 PyObject * obj2 = 0 ;
29057 char *kwnames[] = {
29058 (char *) "self",(char *) "item",(char *) "obj", NULL
29059 };
29060
29061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
29062 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29063 if (SWIG_arg_fail(1)) SWIG_fail;
29064 {
29065 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29066 if (SWIG_arg_fail(2)) SWIG_fail;
29067 if (arg2 == NULL) {
29068 SWIG_null_ref("wxTreeItemId");
29069 }
29070 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29071 }
29072 arg3 = obj2;
29073 {
29074 PyThreadState* __tstate = wxPyBeginAllowThreads();
29075 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
29076
29077 wxPyEndAllowThreads(__tstate);
29078 if (PyErr_Occurred()) SWIG_fail;
29079 }
29080 Py_INCREF(Py_None); resultobj = Py_None;
29081 return resultobj;
29082 fail:
29083 return NULL;
29084}
29085
29086
c32bde28 29087static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29088 PyObject *resultobj;
29089 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29090 wxTreeItemId *arg2 = 0 ;
ae8162c8 29091 bool arg3 = (bool) true ;
d55e5bfc
RD
29092 PyObject * obj0 = 0 ;
29093 PyObject * obj1 = 0 ;
29094 PyObject * obj2 = 0 ;
29095 char *kwnames[] = {
29096 (char *) "self",(char *) "item",(char *) "has", NULL
29097 };
29098
29099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
29100 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29101 if (SWIG_arg_fail(1)) SWIG_fail;
29102 {
29103 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29104 if (SWIG_arg_fail(2)) SWIG_fail;
29105 if (arg2 == NULL) {
29106 SWIG_null_ref("wxTreeItemId");
29107 }
29108 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29109 }
29110 if (obj2) {
093d3ff1
RD
29111 {
29112 arg3 = (bool)(SWIG_As_bool(obj2));
29113 if (SWIG_arg_fail(3)) SWIG_fail;
29114 }
d55e5bfc
RD
29115 }
29116 {
29117 PyThreadState* __tstate = wxPyBeginAllowThreads();
29118 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
29119
29120 wxPyEndAllowThreads(__tstate);
29121 if (PyErr_Occurred()) SWIG_fail;
29122 }
29123 Py_INCREF(Py_None); resultobj = Py_None;
29124 return resultobj;
29125 fail:
29126 return NULL;
29127}
29128
29129
c32bde28 29130static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29131 PyObject *resultobj;
29132 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29133 wxTreeItemId *arg2 = 0 ;
ae8162c8 29134 bool arg3 = (bool) true ;
d55e5bfc
RD
29135 PyObject * obj0 = 0 ;
29136 PyObject * obj1 = 0 ;
29137 PyObject * obj2 = 0 ;
29138 char *kwnames[] = {
29139 (char *) "self",(char *) "item",(char *) "bold", NULL
29140 };
29141
29142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
29143 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29144 if (SWIG_arg_fail(1)) SWIG_fail;
29145 {
29146 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29147 if (SWIG_arg_fail(2)) SWIG_fail;
29148 if (arg2 == NULL) {
29149 SWIG_null_ref("wxTreeItemId");
29150 }
29151 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29152 }
29153 if (obj2) {
093d3ff1
RD
29154 {
29155 arg3 = (bool)(SWIG_As_bool(obj2));
29156 if (SWIG_arg_fail(3)) SWIG_fail;
29157 }
d55e5bfc
RD
29158 }
29159 {
29160 PyThreadState* __tstate = wxPyBeginAllowThreads();
29161 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
29162
29163 wxPyEndAllowThreads(__tstate);
29164 if (PyErr_Occurred()) SWIG_fail;
29165 }
29166 Py_INCREF(Py_None); resultobj = Py_None;
29167 return resultobj;
29168 fail:
29169 return NULL;
29170}
29171
29172
c32bde28 29173static PyObject *_wrap_TreeCtrl_SetItemDropHighlight(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29174 PyObject *resultobj;
29175 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29176 wxTreeItemId *arg2 = 0 ;
ae8162c8 29177 bool arg3 = (bool) true ;
d55e5bfc
RD
29178 PyObject * obj0 = 0 ;
29179 PyObject * obj1 = 0 ;
29180 PyObject * obj2 = 0 ;
29181 char *kwnames[] = {
29182 (char *) "self",(char *) "item",(char *) "highlight", NULL
29183 };
29184
29185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
29186 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29187 if (SWIG_arg_fail(1)) SWIG_fail;
29188 {
29189 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29190 if (SWIG_arg_fail(2)) SWIG_fail;
29191 if (arg2 == NULL) {
29192 SWIG_null_ref("wxTreeItemId");
29193 }
29194 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29195 }
29196 if (obj2) {
093d3ff1
RD
29197 {
29198 arg3 = (bool)(SWIG_As_bool(obj2));
29199 if (SWIG_arg_fail(3)) SWIG_fail;
29200 }
d55e5bfc
RD
29201 }
29202 {
29203 PyThreadState* __tstate = wxPyBeginAllowThreads();
29204 (arg1)->SetItemDropHighlight((wxTreeItemId const &)*arg2,arg3);
29205
29206 wxPyEndAllowThreads(__tstate);
29207 if (PyErr_Occurred()) SWIG_fail;
29208 }
29209 Py_INCREF(Py_None); resultobj = Py_None;
29210 return resultobj;
29211 fail:
29212 return NULL;
29213}
29214
29215
c32bde28 29216static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29217 PyObject *resultobj;
29218 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29219 wxTreeItemId *arg2 = 0 ;
29220 wxColour *arg3 = 0 ;
29221 wxColour temp3 ;
29222 PyObject * obj0 = 0 ;
29223 PyObject * obj1 = 0 ;
29224 PyObject * obj2 = 0 ;
29225 char *kwnames[] = {
29226 (char *) "self",(char *) "item",(char *) "col", NULL
29227 };
29228
29229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
29230 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29231 if (SWIG_arg_fail(1)) SWIG_fail;
29232 {
29233 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29234 if (SWIG_arg_fail(2)) SWIG_fail;
29235 if (arg2 == NULL) {
29236 SWIG_null_ref("wxTreeItemId");
29237 }
29238 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29239 }
29240 {
29241 arg3 = &temp3;
29242 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
29243 }
29244 {
29245 PyThreadState* __tstate = wxPyBeginAllowThreads();
29246 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
29247
29248 wxPyEndAllowThreads(__tstate);
29249 if (PyErr_Occurred()) SWIG_fail;
29250 }
29251 Py_INCREF(Py_None); resultobj = Py_None;
29252 return resultobj;
29253 fail:
29254 return NULL;
29255}
29256
29257
c32bde28 29258static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29259 PyObject *resultobj;
29260 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29261 wxTreeItemId *arg2 = 0 ;
29262 wxColour *arg3 = 0 ;
29263 wxColour temp3 ;
29264 PyObject * obj0 = 0 ;
29265 PyObject * obj1 = 0 ;
29266 PyObject * obj2 = 0 ;
29267 char *kwnames[] = {
29268 (char *) "self",(char *) "item",(char *) "col", NULL
29269 };
29270
29271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
29272 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29273 if (SWIG_arg_fail(1)) SWIG_fail;
29274 {
29275 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29276 if (SWIG_arg_fail(2)) SWIG_fail;
29277 if (arg2 == NULL) {
29278 SWIG_null_ref("wxTreeItemId");
29279 }
29280 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29281 }
29282 {
29283 arg3 = &temp3;
29284 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
29285 }
29286 {
29287 PyThreadState* __tstate = wxPyBeginAllowThreads();
29288 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
29289
29290 wxPyEndAllowThreads(__tstate);
29291 if (PyErr_Occurred()) SWIG_fail;
29292 }
29293 Py_INCREF(Py_None); resultobj = Py_None;
29294 return resultobj;
29295 fail:
29296 return NULL;
29297}
29298
29299
c32bde28 29300static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29301 PyObject *resultobj;
29302 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29303 wxTreeItemId *arg2 = 0 ;
29304 wxFont *arg3 = 0 ;
29305 PyObject * obj0 = 0 ;
29306 PyObject * obj1 = 0 ;
29307 PyObject * obj2 = 0 ;
29308 char *kwnames[] = {
29309 (char *) "self",(char *) "item",(char *) "font", NULL
29310 };
29311
29312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
29313 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29314 if (SWIG_arg_fail(1)) SWIG_fail;
29315 {
29316 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29317 if (SWIG_arg_fail(2)) SWIG_fail;
29318 if (arg2 == NULL) {
29319 SWIG_null_ref("wxTreeItemId");
29320 }
29321 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 29322 }
093d3ff1
RD
29323 {
29324 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
29325 if (SWIG_arg_fail(3)) SWIG_fail;
29326 if (arg3 == NULL) {
29327 SWIG_null_ref("wxFont");
29328 }
29329 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
29330 }
29331 {
29332 PyThreadState* __tstate = wxPyBeginAllowThreads();
29333 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
29334
29335 wxPyEndAllowThreads(__tstate);
29336 if (PyErr_Occurred()) SWIG_fail;
29337 }
29338 Py_INCREF(Py_None); resultobj = Py_None;
29339 return resultobj;
29340 fail:
29341 return NULL;
29342}
29343
29344
c32bde28 29345static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29346 PyObject *resultobj;
29347 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29348 wxTreeItemId *arg2 = 0 ;
29349 bool result;
29350 PyObject * obj0 = 0 ;
29351 PyObject * obj1 = 0 ;
29352 char *kwnames[] = {
29353 (char *) "self",(char *) "item", NULL
29354 };
29355
29356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29357 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29358 if (SWIG_arg_fail(1)) SWIG_fail;
29359 {
29360 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29361 if (SWIG_arg_fail(2)) SWIG_fail;
29362 if (arg2 == NULL) {
29363 SWIG_null_ref("wxTreeItemId");
29364 }
29365 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29366 }
29367 {
29368 PyThreadState* __tstate = wxPyBeginAllowThreads();
29369 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
29370
29371 wxPyEndAllowThreads(__tstate);
29372 if (PyErr_Occurred()) SWIG_fail;
29373 }
29374 {
29375 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29376 }
29377 return resultobj;
29378 fail:
29379 return NULL;
29380}
29381
29382
c32bde28 29383static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29384 PyObject *resultobj;
29385 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29386 wxTreeItemId *arg2 = 0 ;
29387 bool result;
29388 PyObject * obj0 = 0 ;
29389 PyObject * obj1 = 0 ;
29390 char *kwnames[] = {
29391 (char *) "self",(char *) "item", NULL
29392 };
29393
29394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29395 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29396 if (SWIG_arg_fail(1)) SWIG_fail;
29397 {
29398 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29399 if (SWIG_arg_fail(2)) SWIG_fail;
29400 if (arg2 == NULL) {
29401 SWIG_null_ref("wxTreeItemId");
29402 }
29403 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29404 }
29405 {
29406 PyThreadState* __tstate = wxPyBeginAllowThreads();
29407 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
29408
29409 wxPyEndAllowThreads(__tstate);
29410 if (PyErr_Occurred()) SWIG_fail;
29411 }
29412 {
29413 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29414 }
29415 return resultobj;
29416 fail:
29417 return NULL;
29418}
29419
29420
c32bde28 29421static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29422 PyObject *resultobj;
29423 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29424 wxTreeItemId *arg2 = 0 ;
29425 bool result;
29426 PyObject * obj0 = 0 ;
29427 PyObject * obj1 = 0 ;
29428 char *kwnames[] = {
29429 (char *) "self",(char *) "item", NULL
29430 };
29431
29432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29433 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29434 if (SWIG_arg_fail(1)) SWIG_fail;
29435 {
29436 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29437 if (SWIG_arg_fail(2)) SWIG_fail;
29438 if (arg2 == NULL) {
29439 SWIG_null_ref("wxTreeItemId");
29440 }
29441 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29442 }
29443 {
29444 PyThreadState* __tstate = wxPyBeginAllowThreads();
29445 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
29446
29447 wxPyEndAllowThreads(__tstate);
29448 if (PyErr_Occurred()) SWIG_fail;
29449 }
29450 {
29451 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29452 }
29453 return resultobj;
29454 fail:
29455 return NULL;
29456}
29457
29458
c32bde28 29459static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29460 PyObject *resultobj;
29461 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29462 wxTreeItemId *arg2 = 0 ;
29463 bool result;
29464 PyObject * obj0 = 0 ;
29465 PyObject * obj1 = 0 ;
29466 char *kwnames[] = {
29467 (char *) "self",(char *) "item", NULL
29468 };
29469
29470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29471 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29472 if (SWIG_arg_fail(1)) SWIG_fail;
29473 {
29474 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29475 if (SWIG_arg_fail(2)) SWIG_fail;
29476 if (arg2 == NULL) {
29477 SWIG_null_ref("wxTreeItemId");
29478 }
29479 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29480 }
29481 {
29482 PyThreadState* __tstate = wxPyBeginAllowThreads();
29483 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
29484
29485 wxPyEndAllowThreads(__tstate);
29486 if (PyErr_Occurred()) SWIG_fail;
29487 }
29488 {
29489 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29490 }
29491 return resultobj;
29492 fail:
29493 return NULL;
29494}
29495
29496
c32bde28 29497static PyObject *_wrap_TreeCtrl_IsBold(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29498 PyObject *resultobj;
29499 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29500 wxTreeItemId *arg2 = 0 ;
29501 bool result;
29502 PyObject * obj0 = 0 ;
29503 PyObject * obj1 = 0 ;
29504 char *kwnames[] = {
29505 (char *) "self",(char *) "item", NULL
29506 };
29507
29508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29509 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29510 if (SWIG_arg_fail(1)) SWIG_fail;
29511 {
29512 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29513 if (SWIG_arg_fail(2)) SWIG_fail;
29514 if (arg2 == NULL) {
29515 SWIG_null_ref("wxTreeItemId");
29516 }
29517 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29518 }
29519 {
29520 PyThreadState* __tstate = wxPyBeginAllowThreads();
29521 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
29522
29523 wxPyEndAllowThreads(__tstate);
29524 if (PyErr_Occurred()) SWIG_fail;
29525 }
29526 {
29527 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29528 }
29529 return resultobj;
29530 fail:
29531 return NULL;
29532}
29533
29534
c32bde28 29535static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29536 PyObject *resultobj;
29537 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29538 wxTreeItemId *arg2 = 0 ;
ae8162c8 29539 bool arg3 = (bool) true ;
d55e5bfc
RD
29540 size_t result;
29541 PyObject * obj0 = 0 ;
29542 PyObject * obj1 = 0 ;
29543 PyObject * obj2 = 0 ;
29544 char *kwnames[] = {
29545 (char *) "self",(char *) "item",(char *) "recursively", NULL
29546 };
29547
29548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
29549 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29550 if (SWIG_arg_fail(1)) SWIG_fail;
29551 {
29552 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29553 if (SWIG_arg_fail(2)) SWIG_fail;
29554 if (arg2 == NULL) {
29555 SWIG_null_ref("wxTreeItemId");
29556 }
29557 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29558 }
29559 if (obj2) {
093d3ff1
RD
29560 {
29561 arg3 = (bool)(SWIG_As_bool(obj2));
29562 if (SWIG_arg_fail(3)) SWIG_fail;
29563 }
d55e5bfc
RD
29564 }
29565 {
29566 PyThreadState* __tstate = wxPyBeginAllowThreads();
29567 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
29568
29569 wxPyEndAllowThreads(__tstate);
29570 if (PyErr_Occurred()) SWIG_fail;
29571 }
093d3ff1
RD
29572 {
29573 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
29574 }
d55e5bfc
RD
29575 return resultobj;
29576 fail:
29577 return NULL;
29578}
29579
29580
c32bde28 29581static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29582 PyObject *resultobj;
29583 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29584 wxTreeItemId result;
29585 PyObject * obj0 = 0 ;
29586 char *kwnames[] = {
29587 (char *) "self", NULL
29588 };
29589
29590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
093d3ff1
RD
29591 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29592 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29593 {
29594 PyThreadState* __tstate = wxPyBeginAllowThreads();
29595 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
29596
29597 wxPyEndAllowThreads(__tstate);
29598 if (PyErr_Occurred()) SWIG_fail;
29599 }
29600 {
29601 wxTreeItemId * resultptr;
093d3ff1 29602 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
29603 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29604 }
29605 return resultobj;
29606 fail:
29607 return NULL;
29608}
29609
29610
c32bde28 29611static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29612 PyObject *resultobj;
29613 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29614 wxTreeItemId result;
29615 PyObject * obj0 = 0 ;
29616 char *kwnames[] = {
29617 (char *) "self", NULL
29618 };
29619
29620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
29621 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29622 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29623 {
29624 PyThreadState* __tstate = wxPyBeginAllowThreads();
29625 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
29626
29627 wxPyEndAllowThreads(__tstate);
29628 if (PyErr_Occurred()) SWIG_fail;
29629 }
29630 {
29631 wxTreeItemId * resultptr;
093d3ff1 29632 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
29633 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29634 }
29635 return resultobj;
29636 fail:
29637 return NULL;
29638}
29639
29640
c32bde28 29641static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29642 PyObject *resultobj;
29643 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29644 PyObject *result;
29645 PyObject * obj0 = 0 ;
29646 char *kwnames[] = {
29647 (char *) "self", NULL
29648 };
29649
29650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
093d3ff1
RD
29651 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29652 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29653 {
29654 PyThreadState* __tstate = wxPyBeginAllowThreads();
29655 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
29656
29657 wxPyEndAllowThreads(__tstate);
29658 if (PyErr_Occurred()) SWIG_fail;
29659 }
29660 resultobj = result;
29661 return resultobj;
29662 fail:
29663 return NULL;
29664}
29665
29666
c32bde28 29667static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29668 PyObject *resultobj;
29669 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29670 wxTreeItemId *arg2 = 0 ;
29671 wxTreeItemId result;
29672 PyObject * obj0 = 0 ;
29673 PyObject * obj1 = 0 ;
29674 char *kwnames[] = {
29675 (char *) "self",(char *) "item", NULL
29676 };
29677
29678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29679 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29680 if (SWIG_arg_fail(1)) SWIG_fail;
29681 {
29682 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29683 if (SWIG_arg_fail(2)) SWIG_fail;
29684 if (arg2 == NULL) {
29685 SWIG_null_ref("wxTreeItemId");
29686 }
29687 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29688 }
29689 {
29690 PyThreadState* __tstate = wxPyBeginAllowThreads();
29691 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
29692
29693 wxPyEndAllowThreads(__tstate);
29694 if (PyErr_Occurred()) SWIG_fail;
29695 }
29696 {
29697 wxTreeItemId * resultptr;
093d3ff1 29698 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
29699 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29700 }
29701 return resultobj;
29702 fail:
29703 return NULL;
29704}
29705
29706
c32bde28 29707static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29708 PyObject *resultobj;
29709 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29710 wxTreeItemId *arg2 = 0 ;
29711 PyObject *result;
29712 PyObject * obj0 = 0 ;
29713 PyObject * obj1 = 0 ;
29714 char *kwnames[] = {
29715 (char *) "self",(char *) "item", NULL
29716 };
29717
29718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29719 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29720 if (SWIG_arg_fail(1)) SWIG_fail;
29721 {
29722 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29723 if (SWIG_arg_fail(2)) SWIG_fail;
29724 if (arg2 == NULL) {
29725 SWIG_null_ref("wxTreeItemId");
29726 }
29727 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29728 }
29729 {
29730 PyThreadState* __tstate = wxPyBeginAllowThreads();
29731 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
29732
29733 wxPyEndAllowThreads(__tstate);
29734 if (PyErr_Occurred()) SWIG_fail;
29735 }
29736 resultobj = result;
29737 return resultobj;
29738 fail:
29739 return NULL;
29740}
29741
29742
c32bde28 29743static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29744 PyObject *resultobj;
29745 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29746 wxTreeItemId *arg2 = 0 ;
29747 void *arg3 = (void *) 0 ;
29748 PyObject *result;
29749 PyObject * obj0 = 0 ;
29750 PyObject * obj1 = 0 ;
29751 PyObject * obj2 = 0 ;
29752 char *kwnames[] = {
29753 (char *) "self",(char *) "item",(char *) "cookie", NULL
29754 };
29755
29756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
29757 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29758 if (SWIG_arg_fail(1)) SWIG_fail;
29759 {
29760 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29761 if (SWIG_arg_fail(2)) SWIG_fail;
29762 if (arg2 == NULL) {
29763 SWIG_null_ref("wxTreeItemId");
29764 }
29765 if (SWIG_arg_fail(2)) SWIG_fail;
29766 }
29767 {
29768 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),0,SWIG_POINTER_EXCEPTION|0))== -1) {
29769 SWIG_arg_fail(3);SWIG_fail;
29770 }
d55e5bfc 29771 }
d55e5bfc
RD
29772 {
29773 PyThreadState* __tstate = wxPyBeginAllowThreads();
29774 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
29775
29776 wxPyEndAllowThreads(__tstate);
29777 if (PyErr_Occurred()) SWIG_fail;
29778 }
29779 resultobj = result;
29780 return resultobj;
29781 fail:
29782 return NULL;
29783}
29784
29785
c32bde28 29786static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29787 PyObject *resultobj;
29788 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29789 wxTreeItemId *arg2 = 0 ;
29790 wxTreeItemId result;
29791 PyObject * obj0 = 0 ;
29792 PyObject * obj1 = 0 ;
29793 char *kwnames[] = {
29794 (char *) "self",(char *) "item", NULL
29795 };
29796
29797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29798 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29799 if (SWIG_arg_fail(1)) SWIG_fail;
29800 {
29801 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29802 if (SWIG_arg_fail(2)) SWIG_fail;
29803 if (arg2 == NULL) {
29804 SWIG_null_ref("wxTreeItemId");
29805 }
29806 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29807 }
29808 {
29809 PyThreadState* __tstate = wxPyBeginAllowThreads();
29810 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
29811
29812 wxPyEndAllowThreads(__tstate);
29813 if (PyErr_Occurred()) SWIG_fail;
29814 }
29815 {
29816 wxTreeItemId * resultptr;
093d3ff1 29817 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
29818 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29819 }
29820 return resultobj;
29821 fail:
29822 return NULL;
29823}
29824
29825
c32bde28 29826static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29827 PyObject *resultobj;
29828 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29829 wxTreeItemId *arg2 = 0 ;
29830 wxTreeItemId result;
29831 PyObject * obj0 = 0 ;
29832 PyObject * obj1 = 0 ;
29833 char *kwnames[] = {
29834 (char *) "self",(char *) "item", NULL
29835 };
29836
29837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29838 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29839 if (SWIG_arg_fail(1)) SWIG_fail;
29840 {
29841 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29842 if (SWIG_arg_fail(2)) SWIG_fail;
29843 if (arg2 == NULL) {
29844 SWIG_null_ref("wxTreeItemId");
29845 }
29846 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29847 }
29848 {
29849 PyThreadState* __tstate = wxPyBeginAllowThreads();
29850 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
29851
29852 wxPyEndAllowThreads(__tstate);
29853 if (PyErr_Occurred()) SWIG_fail;
29854 }
29855 {
29856 wxTreeItemId * resultptr;
093d3ff1 29857 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
29858 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29859 }
29860 return resultobj;
29861 fail:
29862 return NULL;
29863}
29864
29865
c32bde28 29866static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29867 PyObject *resultobj;
29868 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29869 wxTreeItemId *arg2 = 0 ;
29870 wxTreeItemId result;
29871 PyObject * obj0 = 0 ;
29872 PyObject * obj1 = 0 ;
29873 char *kwnames[] = {
29874 (char *) "self",(char *) "item", NULL
29875 };
29876
29877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29878 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29879 if (SWIG_arg_fail(1)) SWIG_fail;
29880 {
29881 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29882 if (SWIG_arg_fail(2)) SWIG_fail;
29883 if (arg2 == NULL) {
29884 SWIG_null_ref("wxTreeItemId");
29885 }
29886 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29887 }
29888 {
29889 PyThreadState* __tstate = wxPyBeginAllowThreads();
29890 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
29891
29892 wxPyEndAllowThreads(__tstate);
29893 if (PyErr_Occurred()) SWIG_fail;
29894 }
29895 {
29896 wxTreeItemId * resultptr;
093d3ff1 29897 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
29898 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29899 }
29900 return resultobj;
29901 fail:
29902 return NULL;
29903}
29904
29905
c32bde28 29906static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29907 PyObject *resultobj;
29908 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29909 wxTreeItemId result;
29910 PyObject * obj0 = 0 ;
29911 char *kwnames[] = {
29912 (char *) "self", NULL
29913 };
29914
29915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
093d3ff1
RD
29916 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29917 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29918 {
29919 PyThreadState* __tstate = wxPyBeginAllowThreads();
29920 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
29921
29922 wxPyEndAllowThreads(__tstate);
29923 if (PyErr_Occurred()) SWIG_fail;
29924 }
29925 {
29926 wxTreeItemId * resultptr;
093d3ff1 29927 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
29928 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29929 }
29930 return resultobj;
29931 fail:
29932 return NULL;
29933}
29934
29935
c32bde28 29936static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29937 PyObject *resultobj;
29938 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29939 wxTreeItemId *arg2 = 0 ;
29940 wxTreeItemId result;
29941 PyObject * obj0 = 0 ;
29942 PyObject * obj1 = 0 ;
29943 char *kwnames[] = {
29944 (char *) "self",(char *) "item", NULL
29945 };
29946
29947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29948 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29949 if (SWIG_arg_fail(1)) SWIG_fail;
29950 {
29951 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29952 if (SWIG_arg_fail(2)) SWIG_fail;
29953 if (arg2 == NULL) {
29954 SWIG_null_ref("wxTreeItemId");
29955 }
29956 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29957 }
29958 {
29959 PyThreadState* __tstate = wxPyBeginAllowThreads();
29960 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
29961
29962 wxPyEndAllowThreads(__tstate);
29963 if (PyErr_Occurred()) SWIG_fail;
29964 }
29965 {
29966 wxTreeItemId * resultptr;
093d3ff1 29967 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
29968 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29969 }
29970 return resultobj;
29971 fail:
29972 return NULL;
29973}
29974
29975
c32bde28 29976static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29977 PyObject *resultobj;
29978 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29979 wxTreeItemId *arg2 = 0 ;
29980 wxTreeItemId result;
29981 PyObject * obj0 = 0 ;
29982 PyObject * obj1 = 0 ;
29983 char *kwnames[] = {
29984 (char *) "self",(char *) "item", NULL
29985 };
29986
29987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29988 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29989 if (SWIG_arg_fail(1)) SWIG_fail;
29990 {
29991 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29992 if (SWIG_arg_fail(2)) SWIG_fail;
29993 if (arg2 == NULL) {
29994 SWIG_null_ref("wxTreeItemId");
29995 }
29996 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29997 }
29998 {
29999 PyThreadState* __tstate = wxPyBeginAllowThreads();
30000 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
30001
30002 wxPyEndAllowThreads(__tstate);
30003 if (PyErr_Occurred()) SWIG_fail;
30004 }
30005 {
30006 wxTreeItemId * resultptr;
093d3ff1 30007 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
30008 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30009 }
30010 return resultobj;
30011 fail:
30012 return NULL;
30013}
30014
30015
c32bde28 30016static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30017 PyObject *resultobj;
30018 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30019 wxString *arg2 = 0 ;
30020 int arg3 = (int) -1 ;
30021 int arg4 = (int) -1 ;
30022 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
30023 wxTreeItemId result;
ae8162c8 30024 bool temp2 = false ;
d55e5bfc
RD
30025 PyObject * obj0 = 0 ;
30026 PyObject * obj1 = 0 ;
30027 PyObject * obj2 = 0 ;
30028 PyObject * obj3 = 0 ;
30029 PyObject * obj4 = 0 ;
30030 char *kwnames[] = {
30031 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30032 };
30033
30034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
30035 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30036 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30037 {
30038 arg2 = wxString_in_helper(obj1);
30039 if (arg2 == NULL) SWIG_fail;
ae8162c8 30040 temp2 = true;
d55e5bfc
RD
30041 }
30042 if (obj2) {
093d3ff1
RD
30043 {
30044 arg3 = (int)(SWIG_As_int(obj2));
30045 if (SWIG_arg_fail(3)) SWIG_fail;
30046 }
d55e5bfc
RD
30047 }
30048 if (obj3) {
093d3ff1
RD
30049 {
30050 arg4 = (int)(SWIG_As_int(obj3));
30051 if (SWIG_arg_fail(4)) SWIG_fail;
30052 }
d55e5bfc
RD
30053 }
30054 if (obj4) {
093d3ff1
RD
30055 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
30056 if (SWIG_arg_fail(5)) SWIG_fail;
d55e5bfc
RD
30057 }
30058 {
30059 PyThreadState* __tstate = wxPyBeginAllowThreads();
30060 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
30061
30062 wxPyEndAllowThreads(__tstate);
30063 if (PyErr_Occurred()) SWIG_fail;
30064 }
30065 {
30066 wxTreeItemId * resultptr;
093d3ff1 30067 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
30068 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30069 }
30070 {
30071 if (temp2)
30072 delete arg2;
30073 }
30074 return resultobj;
30075 fail:
30076 {
30077 if (temp2)
30078 delete arg2;
30079 }
30080 return NULL;
30081}
30082
30083
c32bde28 30084static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30085 PyObject *resultobj;
30086 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30087 wxTreeItemId *arg2 = 0 ;
30088 wxString *arg3 = 0 ;
30089 int arg4 = (int) -1 ;
30090 int arg5 = (int) -1 ;
30091 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
30092 wxTreeItemId result;
ae8162c8 30093 bool temp3 = false ;
d55e5bfc
RD
30094 PyObject * obj0 = 0 ;
30095 PyObject * obj1 = 0 ;
30096 PyObject * obj2 = 0 ;
30097 PyObject * obj3 = 0 ;
30098 PyObject * obj4 = 0 ;
30099 PyObject * obj5 = 0 ;
30100 char *kwnames[] = {
30101 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30102 };
30103
30104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
30105 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30106 if (SWIG_arg_fail(1)) SWIG_fail;
30107 {
30108 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30109 if (SWIG_arg_fail(2)) SWIG_fail;
30110 if (arg2 == NULL) {
30111 SWIG_null_ref("wxTreeItemId");
30112 }
30113 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30114 }
30115 {
30116 arg3 = wxString_in_helper(obj2);
30117 if (arg3 == NULL) SWIG_fail;
ae8162c8 30118 temp3 = true;
d55e5bfc
RD
30119 }
30120 if (obj3) {
093d3ff1
RD
30121 {
30122 arg4 = (int)(SWIG_As_int(obj3));
30123 if (SWIG_arg_fail(4)) SWIG_fail;
30124 }
d55e5bfc
RD
30125 }
30126 if (obj4) {
093d3ff1
RD
30127 {
30128 arg5 = (int)(SWIG_As_int(obj4));
30129 if (SWIG_arg_fail(5)) SWIG_fail;
30130 }
d55e5bfc
RD
30131 }
30132 if (obj5) {
093d3ff1
RD
30133 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
30134 if (SWIG_arg_fail(6)) SWIG_fail;
d55e5bfc
RD
30135 }
30136 {
30137 PyThreadState* __tstate = wxPyBeginAllowThreads();
30138 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
30139
30140 wxPyEndAllowThreads(__tstate);
30141 if (PyErr_Occurred()) SWIG_fail;
30142 }
30143 {
30144 wxTreeItemId * resultptr;
093d3ff1 30145 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
30146 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30147 }
30148 {
30149 if (temp3)
30150 delete arg3;
30151 }
30152 return resultobj;
30153 fail:
30154 {
30155 if (temp3)
30156 delete arg3;
30157 }
30158 return NULL;
30159}
30160
30161
c32bde28 30162static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30163 PyObject *resultobj;
30164 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30165 wxTreeItemId *arg2 = 0 ;
30166 wxTreeItemId *arg3 = 0 ;
30167 wxString *arg4 = 0 ;
30168 int arg5 = (int) -1 ;
30169 int arg6 = (int) -1 ;
30170 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
30171 wxTreeItemId result;
ae8162c8 30172 bool temp4 = false ;
d55e5bfc
RD
30173 PyObject * obj0 = 0 ;
30174 PyObject * obj1 = 0 ;
30175 PyObject * obj2 = 0 ;
30176 PyObject * obj3 = 0 ;
30177 PyObject * obj4 = 0 ;
30178 PyObject * obj5 = 0 ;
30179 PyObject * obj6 = 0 ;
30180 char *kwnames[] = {
30181 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30182 };
30183
30184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
30185 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30186 if (SWIG_arg_fail(1)) SWIG_fail;
30187 {
30188 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30189 if (SWIG_arg_fail(2)) SWIG_fail;
30190 if (arg2 == NULL) {
30191 SWIG_null_ref("wxTreeItemId");
30192 }
30193 if (SWIG_arg_fail(2)) SWIG_fail;
30194 }
30195 {
30196 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30197 if (SWIG_arg_fail(3)) SWIG_fail;
30198 if (arg3 == NULL) {
30199 SWIG_null_ref("wxTreeItemId");
30200 }
30201 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
30202 }
30203 {
30204 arg4 = wxString_in_helper(obj3);
30205 if (arg4 == NULL) SWIG_fail;
ae8162c8 30206 temp4 = true;
d55e5bfc
RD
30207 }
30208 if (obj4) {
093d3ff1
RD
30209 {
30210 arg5 = (int)(SWIG_As_int(obj4));
30211 if (SWIG_arg_fail(5)) SWIG_fail;
30212 }
d55e5bfc
RD
30213 }
30214 if (obj5) {
093d3ff1
RD
30215 {
30216 arg6 = (int)(SWIG_As_int(obj5));
30217 if (SWIG_arg_fail(6)) SWIG_fail;
30218 }
d55e5bfc
RD
30219 }
30220 if (obj6) {
093d3ff1
RD
30221 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
30222 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
30223 }
30224 {
30225 PyThreadState* __tstate = wxPyBeginAllowThreads();
30226 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
30227
30228 wxPyEndAllowThreads(__tstate);
30229 if (PyErr_Occurred()) SWIG_fail;
30230 }
30231 {
30232 wxTreeItemId * resultptr;
093d3ff1 30233 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
30234 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30235 }
30236 {
30237 if (temp4)
30238 delete arg4;
30239 }
30240 return resultobj;
30241 fail:
30242 {
30243 if (temp4)
30244 delete arg4;
30245 }
30246 return NULL;
30247}
30248
30249
c32bde28 30250static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30251 PyObject *resultobj;
30252 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30253 wxTreeItemId *arg2 = 0 ;
30254 size_t arg3 ;
30255 wxString *arg4 = 0 ;
30256 int arg5 = (int) -1 ;
30257 int arg6 = (int) -1 ;
30258 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
30259 wxTreeItemId result;
ae8162c8 30260 bool temp4 = false ;
d55e5bfc
RD
30261 PyObject * obj0 = 0 ;
30262 PyObject * obj1 = 0 ;
30263 PyObject * obj2 = 0 ;
30264 PyObject * obj3 = 0 ;
30265 PyObject * obj4 = 0 ;
30266 PyObject * obj5 = 0 ;
30267 PyObject * obj6 = 0 ;
30268 char *kwnames[] = {
30269 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30270 };
30271
30272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
30273 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30274 if (SWIG_arg_fail(1)) SWIG_fail;
30275 {
30276 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30277 if (SWIG_arg_fail(2)) SWIG_fail;
30278 if (arg2 == NULL) {
30279 SWIG_null_ref("wxTreeItemId");
30280 }
30281 if (SWIG_arg_fail(2)) SWIG_fail;
30282 }
30283 {
30284 arg3 = (size_t)(SWIG_As_unsigned_SS_long(obj2));
30285 if (SWIG_arg_fail(3)) SWIG_fail;
30286 }
d55e5bfc
RD
30287 {
30288 arg4 = wxString_in_helper(obj3);
30289 if (arg4 == NULL) SWIG_fail;
ae8162c8 30290 temp4 = true;
d55e5bfc
RD
30291 }
30292 if (obj4) {
093d3ff1
RD
30293 {
30294 arg5 = (int)(SWIG_As_int(obj4));
30295 if (SWIG_arg_fail(5)) SWIG_fail;
30296 }
d55e5bfc
RD
30297 }
30298 if (obj5) {
093d3ff1
RD
30299 {
30300 arg6 = (int)(SWIG_As_int(obj5));
30301 if (SWIG_arg_fail(6)) SWIG_fail;
30302 }
d55e5bfc
RD
30303 }
30304 if (obj6) {
093d3ff1
RD
30305 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
30306 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
30307 }
30308 {
30309 PyThreadState* __tstate = wxPyBeginAllowThreads();
30310 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
30311
30312 wxPyEndAllowThreads(__tstate);
30313 if (PyErr_Occurred()) SWIG_fail;
30314 }
30315 {
30316 wxTreeItemId * resultptr;
093d3ff1 30317 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
30318 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30319 }
30320 {
30321 if (temp4)
30322 delete arg4;
30323 }
30324 return resultobj;
30325 fail:
30326 {
30327 if (temp4)
30328 delete arg4;
30329 }
30330 return NULL;
30331}
30332
30333
c32bde28 30334static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30335 PyObject *resultobj;
30336 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30337 wxTreeItemId *arg2 = 0 ;
30338 wxString *arg3 = 0 ;
30339 int arg4 = (int) -1 ;
30340 int arg5 = (int) -1 ;
30341 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
30342 wxTreeItemId result;
ae8162c8 30343 bool temp3 = false ;
d55e5bfc
RD
30344 PyObject * obj0 = 0 ;
30345 PyObject * obj1 = 0 ;
30346 PyObject * obj2 = 0 ;
30347 PyObject * obj3 = 0 ;
30348 PyObject * obj4 = 0 ;
30349 PyObject * obj5 = 0 ;
30350 char *kwnames[] = {
30351 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30352 };
30353
30354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
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 arg3 = wxString_in_helper(obj2);
30367 if (arg3 == NULL) SWIG_fail;
ae8162c8 30368 temp3 = true;
d55e5bfc
RD
30369 }
30370 if (obj3) {
093d3ff1
RD
30371 {
30372 arg4 = (int)(SWIG_As_int(obj3));
30373 if (SWIG_arg_fail(4)) SWIG_fail;
30374 }
d55e5bfc
RD
30375 }
30376 if (obj4) {
093d3ff1
RD
30377 {
30378 arg5 = (int)(SWIG_As_int(obj4));
30379 if (SWIG_arg_fail(5)) SWIG_fail;
30380 }
d55e5bfc
RD
30381 }
30382 if (obj5) {
093d3ff1
RD
30383 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
30384 if (SWIG_arg_fail(6)) SWIG_fail;
d55e5bfc
RD
30385 }
30386 {
30387 PyThreadState* __tstate = wxPyBeginAllowThreads();
30388 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
30389
30390 wxPyEndAllowThreads(__tstate);
30391 if (PyErr_Occurred()) SWIG_fail;
30392 }
30393 {
30394 wxTreeItemId * resultptr;
093d3ff1 30395 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
30396 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30397 }
30398 {
30399 if (temp3)
30400 delete arg3;
30401 }
30402 return resultobj;
30403 fail:
30404 {
30405 if (temp3)
30406 delete arg3;
30407 }
30408 return NULL;
30409}
30410
30411
c32bde28 30412static PyObject *_wrap_TreeCtrl_Delete(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30413 PyObject *resultobj;
30414 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30415 wxTreeItemId *arg2 = 0 ;
30416 PyObject * obj0 = 0 ;
30417 PyObject * obj1 = 0 ;
30418 char *kwnames[] = {
30419 (char *) "self",(char *) "item", NULL
30420 };
30421
30422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30423 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30424 if (SWIG_arg_fail(1)) SWIG_fail;
30425 {
30426 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30427 if (SWIG_arg_fail(2)) SWIG_fail;
30428 if (arg2 == NULL) {
30429 SWIG_null_ref("wxTreeItemId");
30430 }
30431 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30432 }
30433 {
30434 PyThreadState* __tstate = wxPyBeginAllowThreads();
30435 (arg1)->Delete((wxTreeItemId const &)*arg2);
30436
30437 wxPyEndAllowThreads(__tstate);
30438 if (PyErr_Occurred()) SWIG_fail;
30439 }
30440 Py_INCREF(Py_None); resultobj = Py_None;
30441 return resultobj;
30442 fail:
30443 return NULL;
30444}
30445
30446
c32bde28 30447static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30448 PyObject *resultobj;
30449 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30450 wxTreeItemId *arg2 = 0 ;
30451 PyObject * obj0 = 0 ;
30452 PyObject * obj1 = 0 ;
30453 char *kwnames[] = {
30454 (char *) "self",(char *) "item", NULL
30455 };
30456
30457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30458 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30459 if (SWIG_arg_fail(1)) SWIG_fail;
30460 {
30461 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30462 if (SWIG_arg_fail(2)) SWIG_fail;
30463 if (arg2 == NULL) {
30464 SWIG_null_ref("wxTreeItemId");
30465 }
30466 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30467 }
30468 {
30469 PyThreadState* __tstate = wxPyBeginAllowThreads();
30470 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
30471
30472 wxPyEndAllowThreads(__tstate);
30473 if (PyErr_Occurred()) SWIG_fail;
30474 }
30475 Py_INCREF(Py_None); resultobj = Py_None;
30476 return resultobj;
30477 fail:
30478 return NULL;
30479}
30480
30481
c32bde28 30482static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30483 PyObject *resultobj;
30484 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30485 PyObject * obj0 = 0 ;
30486 char *kwnames[] = {
30487 (char *) "self", NULL
30488 };
30489
30490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
093d3ff1
RD
30491 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30492 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30493 {
30494 PyThreadState* __tstate = wxPyBeginAllowThreads();
30495 (arg1)->DeleteAllItems();
30496
30497 wxPyEndAllowThreads(__tstate);
30498 if (PyErr_Occurred()) SWIG_fail;
30499 }
30500 Py_INCREF(Py_None); resultobj = Py_None;
30501 return resultobj;
30502 fail:
30503 return NULL;
30504}
30505
30506
c32bde28 30507static PyObject *_wrap_TreeCtrl_Expand(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30508 PyObject *resultobj;
30509 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30510 wxTreeItemId *arg2 = 0 ;
30511 PyObject * obj0 = 0 ;
30512 PyObject * obj1 = 0 ;
30513 char *kwnames[] = {
30514 (char *) "self",(char *) "item", NULL
30515 };
30516
30517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30518 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30519 if (SWIG_arg_fail(1)) SWIG_fail;
30520 {
30521 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30522 if (SWIG_arg_fail(2)) SWIG_fail;
30523 if (arg2 == NULL) {
30524 SWIG_null_ref("wxTreeItemId");
30525 }
30526 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30527 }
30528 {
30529 PyThreadState* __tstate = wxPyBeginAllowThreads();
30530 (arg1)->Expand((wxTreeItemId const &)*arg2);
30531
30532 wxPyEndAllowThreads(__tstate);
30533 if (PyErr_Occurred()) SWIG_fail;
30534 }
30535 Py_INCREF(Py_None); resultobj = Py_None;
30536 return resultobj;
30537 fail:
30538 return NULL;
30539}
30540
30541
c32bde28 30542static PyObject *_wrap_TreeCtrl_Collapse(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30543 PyObject *resultobj;
30544 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30545 wxTreeItemId *arg2 = 0 ;
30546 PyObject * obj0 = 0 ;
30547 PyObject * obj1 = 0 ;
30548 char *kwnames[] = {
30549 (char *) "self",(char *) "item", NULL
30550 };
30551
30552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30553 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30554 if (SWIG_arg_fail(1)) SWIG_fail;
30555 {
30556 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30557 if (SWIG_arg_fail(2)) SWIG_fail;
30558 if (arg2 == NULL) {
30559 SWIG_null_ref("wxTreeItemId");
30560 }
30561 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30562 }
30563 {
30564 PyThreadState* __tstate = wxPyBeginAllowThreads();
30565 (arg1)->Collapse((wxTreeItemId const &)*arg2);
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
c32bde28 30577static PyObject *_wrap_TreeCtrl_CollapseAndReset(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_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
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)->CollapseAndReset((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
c32bde28 30612static PyObject *_wrap_TreeCtrl_Toggle(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_Toggle",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
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)->Toggle((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
c32bde28 30647static PyObject *_wrap_TreeCtrl_Unselect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30648 PyObject *resultobj;
30649 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30650 PyObject * obj0 = 0 ;
30651 char *kwnames[] = {
30652 (char *) "self", NULL
30653 };
30654
30655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
093d3ff1
RD
30656 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30657 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30658 {
30659 PyThreadState* __tstate = wxPyBeginAllowThreads();
30660 (arg1)->Unselect();
30661
30662 wxPyEndAllowThreads(__tstate);
30663 if (PyErr_Occurred()) SWIG_fail;
30664 }
30665 Py_INCREF(Py_None); resultobj = Py_None;
30666 return resultobj;
30667 fail:
30668 return NULL;
30669}
30670
30671
c32bde28 30672static PyObject *_wrap_TreeCtrl_UnselectItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30673 PyObject *resultobj;
30674 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30675 wxTreeItemId *arg2 = 0 ;
30676 PyObject * obj0 = 0 ;
30677 PyObject * obj1 = 0 ;
30678 char *kwnames[] = {
30679 (char *) "self",(char *) "item", NULL
30680 };
30681
30682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_UnselectItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30683 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30684 if (SWIG_arg_fail(1)) SWIG_fail;
30685 {
30686 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30687 if (SWIG_arg_fail(2)) SWIG_fail;
30688 if (arg2 == NULL) {
30689 SWIG_null_ref("wxTreeItemId");
30690 }
30691 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30692 }
30693 {
30694 PyThreadState* __tstate = wxPyBeginAllowThreads();
30695 (arg1)->UnselectItem((wxTreeItemId const &)*arg2);
30696
30697 wxPyEndAllowThreads(__tstate);
30698 if (PyErr_Occurred()) SWIG_fail;
30699 }
30700 Py_INCREF(Py_None); resultobj = Py_None;
30701 return resultobj;
30702 fail:
30703 return NULL;
30704}
30705
30706
c32bde28 30707static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30708 PyObject *resultobj;
30709 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30710 PyObject * obj0 = 0 ;
30711 char *kwnames[] = {
30712 (char *) "self", NULL
30713 };
30714
30715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_UnselectAll",kwnames,&obj0)) goto fail;
093d3ff1
RD
30716 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30717 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30718 {
30719 PyThreadState* __tstate = wxPyBeginAllowThreads();
30720 (arg1)->UnselectAll();
30721
30722 wxPyEndAllowThreads(__tstate);
30723 if (PyErr_Occurred()) SWIG_fail;
30724 }
30725 Py_INCREF(Py_None); resultobj = Py_None;
30726 return resultobj;
30727 fail:
30728 return NULL;
30729}
30730
30731
c32bde28 30732static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30733 PyObject *resultobj;
30734 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30735 wxTreeItemId *arg2 = 0 ;
ae8162c8 30736 bool arg3 = (bool) true ;
d55e5bfc
RD
30737 PyObject * obj0 = 0 ;
30738 PyObject * obj1 = 0 ;
30739 PyObject * obj2 = 0 ;
30740 char *kwnames[] = {
30741 (char *) "self",(char *) "item",(char *) "select", NULL
30742 };
30743
30744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
30745 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30746 if (SWIG_arg_fail(1)) SWIG_fail;
30747 {
30748 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30749 if (SWIG_arg_fail(2)) SWIG_fail;
30750 if (arg2 == NULL) {
30751 SWIG_null_ref("wxTreeItemId");
30752 }
30753 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30754 }
30755 if (obj2) {
093d3ff1
RD
30756 {
30757 arg3 = (bool)(SWIG_As_bool(obj2));
30758 if (SWIG_arg_fail(3)) SWIG_fail;
30759 }
d55e5bfc
RD
30760 }
30761 {
30762 PyThreadState* __tstate = wxPyBeginAllowThreads();
30763 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3);
30764
30765 wxPyEndAllowThreads(__tstate);
30766 if (PyErr_Occurred()) SWIG_fail;
30767 }
30768 Py_INCREF(Py_None); resultobj = Py_None;
30769 return resultobj;
30770 fail:
30771 return NULL;
30772}
30773
30774
c32bde28 30775static PyObject *_wrap_TreeCtrl_ToggleItemSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30776 PyObject *resultobj;
30777 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30778 wxTreeItemId *arg2 = 0 ;
30779 PyObject * obj0 = 0 ;
30780 PyObject * obj1 = 0 ;
30781 char *kwnames[] = {
30782 (char *) "self",(char *) "item", NULL
30783 };
30784
30785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30786 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30787 if (SWIG_arg_fail(1)) SWIG_fail;
30788 {
30789 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30790 if (SWIG_arg_fail(2)) SWIG_fail;
30791 if (arg2 == NULL) {
30792 SWIG_null_ref("wxTreeItemId");
30793 }
30794 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30795 }
30796 {
30797 PyThreadState* __tstate = wxPyBeginAllowThreads();
30798 (arg1)->ToggleItemSelection((wxTreeItemId const &)*arg2);
30799
30800 wxPyEndAllowThreads(__tstate);
30801 if (PyErr_Occurred()) SWIG_fail;
30802 }
30803 Py_INCREF(Py_None); resultobj = Py_None;
30804 return resultobj;
30805 fail:
30806 return NULL;
30807}
30808
30809
c32bde28 30810static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30811 PyObject *resultobj;
30812 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30813 wxTreeItemId *arg2 = 0 ;
30814 PyObject * obj0 = 0 ;
30815 PyObject * obj1 = 0 ;
30816 char *kwnames[] = {
30817 (char *) "self",(char *) "item", NULL
30818 };
30819
30820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30821 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30822 if (SWIG_arg_fail(1)) SWIG_fail;
30823 {
30824 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30825 if (SWIG_arg_fail(2)) SWIG_fail;
30826 if (arg2 == NULL) {
30827 SWIG_null_ref("wxTreeItemId");
30828 }
30829 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30830 }
30831 {
30832 PyThreadState* __tstate = wxPyBeginAllowThreads();
30833 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
30834
30835 wxPyEndAllowThreads(__tstate);
30836 if (PyErr_Occurred()) SWIG_fail;
30837 }
30838 Py_INCREF(Py_None); resultobj = Py_None;
30839 return resultobj;
30840 fail:
30841 return NULL;
30842}
30843
30844
c32bde28 30845static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30846 PyObject *resultobj;
30847 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30848 wxTreeItemId *arg2 = 0 ;
30849 PyObject * obj0 = 0 ;
30850 PyObject * obj1 = 0 ;
30851 char *kwnames[] = {
30852 (char *) "self",(char *) "item", NULL
30853 };
30854
30855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30856 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30857 if (SWIG_arg_fail(1)) SWIG_fail;
30858 {
30859 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30860 if (SWIG_arg_fail(2)) SWIG_fail;
30861 if (arg2 == NULL) {
30862 SWIG_null_ref("wxTreeItemId");
30863 }
30864 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30865 }
30866 {
30867 PyThreadState* __tstate = wxPyBeginAllowThreads();
30868 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
30869
30870 wxPyEndAllowThreads(__tstate);
30871 if (PyErr_Occurred()) SWIG_fail;
30872 }
30873 Py_INCREF(Py_None); resultobj = Py_None;
30874 return resultobj;
30875 fail:
30876 return NULL;
30877}
30878
30879
c32bde28 30880static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30881 PyObject *resultobj;
30882 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30883 wxTreeItemId *arg2 = 0 ;
30884 PyObject * obj0 = 0 ;
30885 PyObject * obj1 = 0 ;
30886 char *kwnames[] = {
30887 (char *) "self",(char *) "item", NULL
30888 };
30889
30890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30891 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30892 if (SWIG_arg_fail(1)) SWIG_fail;
30893 {
30894 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30895 if (SWIG_arg_fail(2)) SWIG_fail;
30896 if (arg2 == NULL) {
30897 SWIG_null_ref("wxTreeItemId");
30898 }
30899 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30900 }
30901 {
30902 PyThreadState* __tstate = wxPyBeginAllowThreads();
30903 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
30904
30905 wxPyEndAllowThreads(__tstate);
30906 if (PyErr_Occurred()) SWIG_fail;
30907 }
30908 Py_INCREF(Py_None); resultobj = Py_None;
30909 return resultobj;
30910 fail:
30911 return NULL;
30912}
30913
30914
c32bde28 30915static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30916 PyObject *resultobj;
30917 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30918 wxTextCtrl *result;
30919 PyObject * obj0 = 0 ;
30920 char *kwnames[] = {
30921 (char *) "self", NULL
30922 };
30923
30924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
093d3ff1
RD
30925 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30926 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30927 {
30928 PyThreadState* __tstate = wxPyBeginAllowThreads();
30929 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
30930
30931 wxPyEndAllowThreads(__tstate);
30932 if (PyErr_Occurred()) SWIG_fail;
30933 }
30934 {
412d302d 30935 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
30936 }
30937 return resultobj;
30938 fail:
30939 return NULL;
30940}
30941
30942
c32bde28 30943static PyObject *_wrap_TreeCtrl_EndEditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30944 PyObject *resultobj;
30945 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30946 wxTreeItemId *arg2 = 0 ;
ae8162c8 30947 bool arg3 = (bool) false ;
d55e5bfc
RD
30948 PyObject * obj0 = 0 ;
30949 PyObject * obj1 = 0 ;
30950 PyObject * obj2 = 0 ;
30951 char *kwnames[] = {
30952 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
30953 };
30954
30955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
30956 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30957 if (SWIG_arg_fail(1)) SWIG_fail;
30958 {
30959 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30960 if (SWIG_arg_fail(2)) SWIG_fail;
30961 if (arg2 == NULL) {
30962 SWIG_null_ref("wxTreeItemId");
30963 }
30964 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30965 }
30966 if (obj2) {
093d3ff1
RD
30967 {
30968 arg3 = (bool)(SWIG_As_bool(obj2));
30969 if (SWIG_arg_fail(3)) SWIG_fail;
30970 }
d55e5bfc
RD
30971 }
30972 {
30973 PyThreadState* __tstate = wxPyBeginAllowThreads();
30974 (arg1)->EndEditLabel((wxTreeItemId const &)*arg2,arg3);
30975
30976 wxPyEndAllowThreads(__tstate);
30977 if (PyErr_Occurred()) SWIG_fail;
30978 }
30979 Py_INCREF(Py_None); resultobj = Py_None;
30980 return resultobj;
30981 fail:
30982 return NULL;
30983}
30984
30985
c32bde28 30986static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30987 PyObject *resultobj;
30988 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30989 wxTreeItemId *arg2 = 0 ;
30990 PyObject * obj0 = 0 ;
30991 PyObject * obj1 = 0 ;
30992 char *kwnames[] = {
30993 (char *) "self",(char *) "item", NULL
30994 };
30995
30996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30997 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30998 if (SWIG_arg_fail(1)) SWIG_fail;
30999 {
31000 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31001 if (SWIG_arg_fail(2)) SWIG_fail;
31002 if (arg2 == NULL) {
31003 SWIG_null_ref("wxTreeItemId");
31004 }
31005 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
31006 }
31007 {
31008 PyThreadState* __tstate = wxPyBeginAllowThreads();
31009 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
31010
31011 wxPyEndAllowThreads(__tstate);
31012 if (PyErr_Occurred()) SWIG_fail;
31013 }
31014 Py_INCREF(Py_None); resultobj = Py_None;
31015 return resultobj;
31016 fail:
31017 return NULL;
31018}
31019
31020
c32bde28 31021static PyObject *_wrap_TreeCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31022 PyObject *resultobj;
31023 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31024 wxPoint *arg2 = 0 ;
31025 int *arg3 = 0 ;
31026 wxTreeItemId result;
31027 wxPoint temp2 ;
31028 int temp3 ;
c32bde28 31029 int res3 = 0 ;
d55e5bfc
RD
31030 PyObject * obj0 = 0 ;
31031 PyObject * obj1 = 0 ;
31032 char *kwnames[] = {
31033 (char *) "self",(char *) "point", NULL
31034 };
31035
c32bde28 31036 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 31037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31038 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31039 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31040 {
31041 arg2 = &temp2;
31042 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
31043 }
31044 {
31045 PyThreadState* __tstate = wxPyBeginAllowThreads();
31046 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
31047
31048 wxPyEndAllowThreads(__tstate);
31049 if (PyErr_Occurred()) SWIG_fail;
31050 }
31051 {
31052 wxTreeItemId * resultptr;
093d3ff1 31053 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
31054 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31055 }
c32bde28
RD
31056 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
31057 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
31058 return resultobj;
31059 fail:
31060 return NULL;
31061}
31062
31063
c32bde28 31064static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31065 PyObject *resultobj;
31066 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31067 wxTreeItemId *arg2 = 0 ;
ae8162c8 31068 bool arg3 = (bool) false ;
d55e5bfc
RD
31069 PyObject *result;
31070 PyObject * obj0 = 0 ;
31071 PyObject * obj1 = 0 ;
31072 PyObject * obj2 = 0 ;
31073 char *kwnames[] = {
31074 (char *) "self",(char *) "item",(char *) "textOnly", NULL
31075 };
31076
31077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
31078 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31079 if (SWIG_arg_fail(1)) SWIG_fail;
31080 {
31081 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31082 if (SWIG_arg_fail(2)) SWIG_fail;
31083 if (arg2 == NULL) {
31084 SWIG_null_ref("wxTreeItemId");
31085 }
31086 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
31087 }
31088 if (obj2) {
093d3ff1
RD
31089 {
31090 arg3 = (bool)(SWIG_As_bool(obj2));
31091 if (SWIG_arg_fail(3)) SWIG_fail;
31092 }
d55e5bfc
RD
31093 }
31094 {
31095 PyThreadState* __tstate = wxPyBeginAllowThreads();
31096 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
31097
31098 wxPyEndAllowThreads(__tstate);
31099 if (PyErr_Occurred()) SWIG_fail;
31100 }
31101 resultobj = result;
31102 return resultobj;
31103 fail:
31104 return NULL;
31105}
31106
31107
c32bde28 31108static PyObject *_wrap_TreeCtrl_SetState(PyObject *, PyObject *args, PyObject *kwargs) {
110da5b0
RD
31109 PyObject *resultobj;
31110 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31111 wxTreeItemId *arg2 = 0 ;
31112 int arg3 ;
31113 PyObject * obj0 = 0 ;
31114 PyObject * obj1 = 0 ;
31115 PyObject * obj2 = 0 ;
31116 char *kwnames[] = {
31117 (char *) "self",(char *) "node",(char *) "state", NULL
31118 };
31119
31120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetState",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
31121 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31122 if (SWIG_arg_fail(1)) SWIG_fail;
31123 {
31124 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31125 if (SWIG_arg_fail(2)) SWIG_fail;
31126 if (arg2 == NULL) {
31127 SWIG_null_ref("wxTreeItemId");
31128 }
31129 if (SWIG_arg_fail(2)) SWIG_fail;
31130 }
31131 {
31132 arg3 = (int)(SWIG_As_int(obj2));
31133 if (SWIG_arg_fail(3)) SWIG_fail;
110da5b0 31134 }
110da5b0
RD
31135 {
31136 PyThreadState* __tstate = wxPyBeginAllowThreads();
31137 (arg1)->SetState((wxTreeItemId const &)*arg2,arg3);
31138
31139 wxPyEndAllowThreads(__tstate);
31140 if (PyErr_Occurred()) SWIG_fail;
31141 }
31142 Py_INCREF(Py_None); resultobj = Py_None;
31143 return resultobj;
31144 fail:
31145 return NULL;
31146}
31147
31148
c32bde28 31149static PyObject *_wrap_TreeCtrl_GetState(PyObject *, PyObject *args, PyObject *kwargs) {
110da5b0
RD
31150 PyObject *resultobj;
31151 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31152 wxTreeItemId *arg2 = 0 ;
31153 int result;
31154 PyObject * obj0 = 0 ;
31155 PyObject * obj1 = 0 ;
31156 char *kwnames[] = {
31157 (char *) "self",(char *) "node", NULL
31158 };
31159
31160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetState",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31161 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31162 if (SWIG_arg_fail(1)) SWIG_fail;
31163 {
31164 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31165 if (SWIG_arg_fail(2)) SWIG_fail;
31166 if (arg2 == NULL) {
31167 SWIG_null_ref("wxTreeItemId");
31168 }
31169 if (SWIG_arg_fail(2)) SWIG_fail;
110da5b0
RD
31170 }
31171 {
31172 PyThreadState* __tstate = wxPyBeginAllowThreads();
31173 result = (int)(arg1)->GetState((wxTreeItemId const &)*arg2);
31174
31175 wxPyEndAllowThreads(__tstate);
31176 if (PyErr_Occurred()) SWIG_fail;
31177 }
093d3ff1
RD
31178 {
31179 resultobj = SWIG_From_int((int)(result));
31180 }
110da5b0
RD
31181 return resultobj;
31182 fail:
31183 return NULL;
31184}
31185
31186
c32bde28 31187static PyObject *_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 31188 PyObject *resultobj;
093d3ff1 31189 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
d55e5bfc
RD
31190 wxVisualAttributes result;
31191 PyObject * obj0 = 0 ;
31192 char *kwnames[] = {
31193 (char *) "variant", NULL
31194 };
31195
31196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
31197 if (obj0) {
093d3ff1
RD
31198 {
31199 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
31200 if (SWIG_arg_fail(1)) SWIG_fail;
31201 }
d55e5bfc
RD
31202 }
31203 {
19272049 31204 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
31205 PyThreadState* __tstate = wxPyBeginAllowThreads();
31206 result = wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
31207
31208 wxPyEndAllowThreads(__tstate);
110da5b0 31209 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
31210 }
31211 {
31212 wxVisualAttributes * resultptr;
093d3ff1 31213 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
d55e5bfc
RD
31214 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
31215 }
31216 return resultobj;
31217 fail:
31218 return NULL;
31219}
31220
31221
c32bde28 31222static PyObject * TreeCtrl_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
31223 PyObject *obj;
31224 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31225 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
31226 Py_INCREF(obj);
31227 return Py_BuildValue((char *)"");
31228}
c32bde28 31229static int _wrap_DirDialogDefaultFolderStr_set(PyObject *) {
d55e5bfc
RD
31230 PyErr_SetString(PyExc_TypeError,"Variable DirDialogDefaultFolderStr is read-only.");
31231 return 1;
31232}
31233
31234
093d3ff1 31235static PyObject *_wrap_DirDialogDefaultFolderStr_get(void) {
d55e5bfc
RD
31236 PyObject *pyobj;
31237
31238 {
31239#if wxUSE_UNICODE
31240 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
31241#else
31242 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
31243#endif
31244 }
31245 return pyobj;
31246}
31247
31248
c32bde28 31249static PyObject *_wrap_new_GenericDirCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31250 PyObject *resultobj;
31251 wxWindow *arg1 = (wxWindow *) 0 ;
31252 int arg2 = (int) (int)-1 ;
31253 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
31254 wxString *arg3 = (wxString *) &arg3_defvalue ;
31255 wxPoint const &arg4_defvalue = wxDefaultPosition ;
31256 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
31257 wxSize const &arg5_defvalue = wxDefaultSize ;
31258 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
31259 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
31260 wxString const &arg7_defvalue = wxPyEmptyString ;
31261 wxString *arg7 = (wxString *) &arg7_defvalue ;
31262 int arg8 = (int) 0 ;
31263 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
31264 wxString *arg9 = (wxString *) &arg9_defvalue ;
31265 wxGenericDirCtrl *result;
ae8162c8 31266 bool temp3 = false ;
d55e5bfc
RD
31267 wxPoint temp4 ;
31268 wxSize temp5 ;
ae8162c8
RD
31269 bool temp7 = false ;
31270 bool temp9 = false ;
d55e5bfc
RD
31271 PyObject * obj0 = 0 ;
31272 PyObject * obj1 = 0 ;
31273 PyObject * obj2 = 0 ;
31274 PyObject * obj3 = 0 ;
31275 PyObject * obj4 = 0 ;
31276 PyObject * obj5 = 0 ;
31277 PyObject * obj6 = 0 ;
31278 PyObject * obj7 = 0 ;
31279 PyObject * obj8 = 0 ;
31280 char *kwnames[] = {
31281 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
31282 };
31283
31284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
31285 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31286 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 31287 if (obj1) {
093d3ff1
RD
31288 {
31289 arg2 = (int const)(SWIG_As_int(obj1));
31290 if (SWIG_arg_fail(2)) SWIG_fail;
31291 }
d55e5bfc
RD
31292 }
31293 if (obj2) {
31294 {
31295 arg3 = wxString_in_helper(obj2);
31296 if (arg3 == NULL) SWIG_fail;
ae8162c8 31297 temp3 = true;
d55e5bfc
RD
31298 }
31299 }
31300 if (obj3) {
31301 {
31302 arg4 = &temp4;
31303 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
31304 }
31305 }
31306 if (obj4) {
31307 {
31308 arg5 = &temp5;
31309 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
31310 }
31311 }
31312 if (obj5) {
093d3ff1
RD
31313 {
31314 arg6 = (long)(SWIG_As_long(obj5));
31315 if (SWIG_arg_fail(6)) SWIG_fail;
31316 }
d55e5bfc
RD
31317 }
31318 if (obj6) {
31319 {
31320 arg7 = wxString_in_helper(obj6);
31321 if (arg7 == NULL) SWIG_fail;
ae8162c8 31322 temp7 = true;
d55e5bfc
RD
31323 }
31324 }
31325 if (obj7) {
093d3ff1
RD
31326 {
31327 arg8 = (int)(SWIG_As_int(obj7));
31328 if (SWIG_arg_fail(8)) SWIG_fail;
31329 }
d55e5bfc
RD
31330 }
31331 if (obj8) {
31332 {
31333 arg9 = wxString_in_helper(obj8);
31334 if (arg9 == NULL) SWIG_fail;
ae8162c8 31335 temp9 = true;
d55e5bfc
RD
31336 }
31337 }
31338 {
0439c23b 31339 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
31340 PyThreadState* __tstate = wxPyBeginAllowThreads();
31341 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
31342
31343 wxPyEndAllowThreads(__tstate);
110da5b0 31344 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
31345 }
31346 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
31347 {
31348 if (temp3)
31349 delete arg3;
31350 }
31351 {
31352 if (temp7)
31353 delete arg7;
31354 }
31355 {
31356 if (temp9)
31357 delete arg9;
31358 }
31359 return resultobj;
31360 fail:
31361 {
31362 if (temp3)
31363 delete arg3;
31364 }
31365 {
31366 if (temp7)
31367 delete arg7;
31368 }
31369 {
31370 if (temp9)
31371 delete arg9;
31372 }
31373 return NULL;
31374}
31375
31376
c32bde28 31377static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31378 PyObject *resultobj;
31379 wxGenericDirCtrl *result;
31380 char *kwnames[] = {
31381 NULL
31382 };
31383
31384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
31385 {
0439c23b 31386 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
31387 PyThreadState* __tstate = wxPyBeginAllowThreads();
31388 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
31389
31390 wxPyEndAllowThreads(__tstate);
110da5b0 31391 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
31392 }
31393 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
31394 return resultobj;
31395 fail:
31396 return NULL;
31397}
31398
31399
c32bde28 31400static PyObject *_wrap_GenericDirCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31401 PyObject *resultobj;
31402 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31403 wxWindow *arg2 = (wxWindow *) 0 ;
31404 int arg3 = (int) (int)-1 ;
31405 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
31406 wxString *arg4 = (wxString *) &arg4_defvalue ;
31407 wxPoint const &arg5_defvalue = wxDefaultPosition ;
31408 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
31409 wxSize const &arg6_defvalue = wxDefaultSize ;
31410 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
31411 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
31412 wxString const &arg8_defvalue = wxPyEmptyString ;
31413 wxString *arg8 = (wxString *) &arg8_defvalue ;
31414 int arg9 = (int) 0 ;
31415 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
31416 wxString *arg10 = (wxString *) &arg10_defvalue ;
31417 bool result;
ae8162c8 31418 bool temp4 = false ;
d55e5bfc
RD
31419 wxPoint temp5 ;
31420 wxSize temp6 ;
ae8162c8
RD
31421 bool temp8 = false ;
31422 bool temp10 = false ;
d55e5bfc
RD
31423 PyObject * obj0 = 0 ;
31424 PyObject * obj1 = 0 ;
31425 PyObject * obj2 = 0 ;
31426 PyObject * obj3 = 0 ;
31427 PyObject * obj4 = 0 ;
31428 PyObject * obj5 = 0 ;
31429 PyObject * obj6 = 0 ;
31430 PyObject * obj7 = 0 ;
31431 PyObject * obj8 = 0 ;
31432 PyObject * obj9 = 0 ;
31433 char *kwnames[] = {
31434 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
31435 };
31436
31437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
093d3ff1
RD
31438 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31439 if (SWIG_arg_fail(1)) SWIG_fail;
31440 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31441 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 31442 if (obj2) {
093d3ff1
RD
31443 {
31444 arg3 = (int const)(SWIG_As_int(obj2));
31445 if (SWIG_arg_fail(3)) SWIG_fail;
31446 }
d55e5bfc
RD
31447 }
31448 if (obj3) {
31449 {
31450 arg4 = wxString_in_helper(obj3);
31451 if (arg4 == NULL) SWIG_fail;
ae8162c8 31452 temp4 = true;
d55e5bfc
RD
31453 }
31454 }
31455 if (obj4) {
31456 {
31457 arg5 = &temp5;
31458 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
31459 }
31460 }
31461 if (obj5) {
31462 {
31463 arg6 = &temp6;
31464 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
31465 }
31466 }
31467 if (obj6) {
093d3ff1
RD
31468 {
31469 arg7 = (long)(SWIG_As_long(obj6));
31470 if (SWIG_arg_fail(7)) SWIG_fail;
31471 }
d55e5bfc
RD
31472 }
31473 if (obj7) {
31474 {
31475 arg8 = wxString_in_helper(obj7);
31476 if (arg8 == NULL) SWIG_fail;
ae8162c8 31477 temp8 = true;
d55e5bfc
RD
31478 }
31479 }
31480 if (obj8) {
093d3ff1
RD
31481 {
31482 arg9 = (int)(SWIG_As_int(obj8));
31483 if (SWIG_arg_fail(9)) SWIG_fail;
31484 }
d55e5bfc
RD
31485 }
31486 if (obj9) {
31487 {
31488 arg10 = wxString_in_helper(obj9);
31489 if (arg10 == NULL) SWIG_fail;
ae8162c8 31490 temp10 = true;
d55e5bfc
RD
31491 }
31492 }
31493 {
31494 PyThreadState* __tstate = wxPyBeginAllowThreads();
31495 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
31496
31497 wxPyEndAllowThreads(__tstate);
31498 if (PyErr_Occurred()) SWIG_fail;
31499 }
31500 {
31501 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31502 }
31503 {
31504 if (temp4)
31505 delete arg4;
31506 }
31507 {
31508 if (temp8)
31509 delete arg8;
31510 }
31511 {
31512 if (temp10)
31513 delete arg10;
31514 }
31515 return resultobj;
31516 fail:
31517 {
31518 if (temp4)
31519 delete arg4;
31520 }
31521 {
31522 if (temp8)
31523 delete arg8;
31524 }
31525 {
31526 if (temp10)
31527 delete arg10;
31528 }
31529 return NULL;
31530}
31531
31532
c32bde28 31533static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31534 PyObject *resultobj;
31535 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31536 wxString *arg2 = 0 ;
31537 bool result;
ae8162c8 31538 bool temp2 = false ;
d55e5bfc
RD
31539 PyObject * obj0 = 0 ;
31540 PyObject * obj1 = 0 ;
31541 char *kwnames[] = {
31542 (char *) "self",(char *) "path", NULL
31543 };
31544
31545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31546 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31547 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31548 {
31549 arg2 = wxString_in_helper(obj1);
31550 if (arg2 == NULL) SWIG_fail;
ae8162c8 31551 temp2 = true;
d55e5bfc
RD
31552 }
31553 {
31554 PyThreadState* __tstate = wxPyBeginAllowThreads();
31555 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
31556
31557 wxPyEndAllowThreads(__tstate);
31558 if (PyErr_Occurred()) SWIG_fail;
31559 }
31560 {
31561 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31562 }
31563 {
31564 if (temp2)
31565 delete arg2;
31566 }
31567 return resultobj;
31568 fail:
31569 {
31570 if (temp2)
31571 delete arg2;
31572 }
31573 return NULL;
31574}
31575
31576
c32bde28 31577static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31578 PyObject *resultobj;
31579 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31580 wxString result;
31581 PyObject * obj0 = 0 ;
31582 char *kwnames[] = {
31583 (char *) "self", NULL
31584 };
31585
31586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames,&obj0)) goto fail;
093d3ff1
RD
31587 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31588 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31589 {
31590 PyThreadState* __tstate = wxPyBeginAllowThreads();
31591 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
31592
31593 wxPyEndAllowThreads(__tstate);
31594 if (PyErr_Occurred()) SWIG_fail;
31595 }
31596 {
31597#if wxUSE_UNICODE
31598 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31599#else
31600 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31601#endif
31602 }
31603 return resultobj;
31604 fail:
31605 return NULL;
31606}
31607
31608
c32bde28 31609static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31610 PyObject *resultobj;
31611 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31612 wxString *arg2 = 0 ;
ae8162c8 31613 bool temp2 = false ;
d55e5bfc
RD
31614 PyObject * obj0 = 0 ;
31615 PyObject * obj1 = 0 ;
31616 char *kwnames[] = {
31617 (char *) "self",(char *) "path", NULL
31618 };
31619
31620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31621 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31622 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31623 {
31624 arg2 = wxString_in_helper(obj1);
31625 if (arg2 == NULL) SWIG_fail;
ae8162c8 31626 temp2 = true;
d55e5bfc
RD
31627 }
31628 {
31629 PyThreadState* __tstate = wxPyBeginAllowThreads();
31630 (arg1)->SetDefaultPath((wxString const &)*arg2);
31631
31632 wxPyEndAllowThreads(__tstate);
31633 if (PyErr_Occurred()) SWIG_fail;
31634 }
31635 Py_INCREF(Py_None); resultobj = Py_None;
31636 {
31637 if (temp2)
31638 delete arg2;
31639 }
31640 return resultobj;
31641 fail:
31642 {
31643 if (temp2)
31644 delete arg2;
31645 }
31646 return NULL;
31647}
31648
31649
c32bde28 31650static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31651 PyObject *resultobj;
31652 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31653 wxString result;
31654 PyObject * obj0 = 0 ;
31655 char *kwnames[] = {
31656 (char *) "self", NULL
31657 };
31658
31659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
093d3ff1
RD
31660 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31661 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31662 {
31663 PyThreadState* __tstate = wxPyBeginAllowThreads();
31664 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
31665
31666 wxPyEndAllowThreads(__tstate);
31667 if (PyErr_Occurred()) SWIG_fail;
31668 }
31669 {
31670#if wxUSE_UNICODE
31671 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31672#else
31673 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31674#endif
31675 }
31676 return resultobj;
31677 fail:
31678 return NULL;
31679}
31680
31681
c32bde28 31682static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31683 PyObject *resultobj;
31684 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31685 wxString result;
31686 PyObject * obj0 = 0 ;
31687 char *kwnames[] = {
31688 (char *) "self", NULL
31689 };
31690
31691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
093d3ff1
RD
31692 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31693 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31694 {
31695 PyThreadState* __tstate = wxPyBeginAllowThreads();
31696 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
31697
31698 wxPyEndAllowThreads(__tstate);
31699 if (PyErr_Occurred()) SWIG_fail;
31700 }
31701 {
31702#if wxUSE_UNICODE
31703 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31704#else
31705 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31706#endif
31707 }
31708 return resultobj;
31709 fail:
31710 return NULL;
31711}
31712
31713
c32bde28 31714static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31715 PyObject *resultobj;
31716 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31717 wxString *arg2 = 0 ;
ae8162c8 31718 bool temp2 = false ;
d55e5bfc
RD
31719 PyObject * obj0 = 0 ;
31720 PyObject * obj1 = 0 ;
31721 char *kwnames[] = {
31722 (char *) "self",(char *) "path", NULL
31723 };
31724
31725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31726 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31727 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31728 {
31729 arg2 = wxString_in_helper(obj1);
31730 if (arg2 == NULL) SWIG_fail;
ae8162c8 31731 temp2 = true;
d55e5bfc
RD
31732 }
31733 {
31734 PyThreadState* __tstate = wxPyBeginAllowThreads();
31735 (arg1)->SetPath((wxString const &)*arg2);
31736
31737 wxPyEndAllowThreads(__tstate);
31738 if (PyErr_Occurred()) SWIG_fail;
31739 }
31740 Py_INCREF(Py_None); resultobj = Py_None;
31741 {
31742 if (temp2)
31743 delete arg2;
31744 }
31745 return resultobj;
31746 fail:
31747 {
31748 if (temp2)
31749 delete arg2;
31750 }
31751 return NULL;
31752}
31753
31754
c32bde28 31755static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31756 PyObject *resultobj;
31757 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31758 bool arg2 ;
31759 PyObject * obj0 = 0 ;
31760 PyObject * obj1 = 0 ;
31761 char *kwnames[] = {
31762 (char *) "self",(char *) "show", NULL
31763 };
31764
31765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31766 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31767 if (SWIG_arg_fail(1)) SWIG_fail;
31768 {
31769 arg2 = (bool)(SWIG_As_bool(obj1));
31770 if (SWIG_arg_fail(2)) SWIG_fail;
31771 }
d55e5bfc
RD
31772 {
31773 PyThreadState* __tstate = wxPyBeginAllowThreads();
31774 (arg1)->ShowHidden(arg2);
31775
31776 wxPyEndAllowThreads(__tstate);
31777 if (PyErr_Occurred()) SWIG_fail;
31778 }
31779 Py_INCREF(Py_None); resultobj = Py_None;
31780 return resultobj;
31781 fail:
31782 return NULL;
31783}
31784
31785
c32bde28 31786static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31787 PyObject *resultobj;
31788 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31789 bool result;
31790 PyObject * obj0 = 0 ;
31791 char *kwnames[] = {
31792 (char *) "self", NULL
31793 };
31794
31795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames,&obj0)) goto fail;
093d3ff1
RD
31796 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31797 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31798 {
31799 PyThreadState* __tstate = wxPyBeginAllowThreads();
31800 result = (bool)(arg1)->GetShowHidden();
31801
31802 wxPyEndAllowThreads(__tstate);
31803 if (PyErr_Occurred()) SWIG_fail;
31804 }
31805 {
31806 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31807 }
31808 return resultobj;
31809 fail:
31810 return NULL;
31811}
31812
31813
c32bde28 31814static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31815 PyObject *resultobj;
31816 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31817 wxString result;
31818 PyObject * obj0 = 0 ;
31819 char *kwnames[] = {
31820 (char *) "self", NULL
31821 };
31822
31823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilter",kwnames,&obj0)) goto fail;
093d3ff1
RD
31824 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31825 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31826 {
31827 PyThreadState* __tstate = wxPyBeginAllowThreads();
31828 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
31829
31830 wxPyEndAllowThreads(__tstate);
31831 if (PyErr_Occurred()) SWIG_fail;
31832 }
31833 {
31834#if wxUSE_UNICODE
31835 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31836#else
31837 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31838#endif
31839 }
31840 return resultobj;
31841 fail:
31842 return NULL;
31843}
31844
31845
c32bde28 31846static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31847 PyObject *resultobj;
31848 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31849 wxString *arg2 = 0 ;
ae8162c8 31850 bool temp2 = false ;
d55e5bfc
RD
31851 PyObject * obj0 = 0 ;
31852 PyObject * obj1 = 0 ;
31853 char *kwnames[] = {
31854 (char *) "self",(char *) "filter", NULL
31855 };
31856
31857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31858 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31859 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31860 {
31861 arg2 = wxString_in_helper(obj1);
31862 if (arg2 == NULL) SWIG_fail;
ae8162c8 31863 temp2 = true;
d55e5bfc
RD
31864 }
31865 {
31866 PyThreadState* __tstate = wxPyBeginAllowThreads();
31867 (arg1)->SetFilter((wxString const &)*arg2);
31868
31869 wxPyEndAllowThreads(__tstate);
31870 if (PyErr_Occurred()) SWIG_fail;
31871 }
31872 Py_INCREF(Py_None); resultobj = Py_None;
31873 {
31874 if (temp2)
31875 delete arg2;
31876 }
31877 return resultobj;
31878 fail:
31879 {
31880 if (temp2)
31881 delete arg2;
31882 }
31883 return NULL;
31884}
31885
31886
c32bde28 31887static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31888 PyObject *resultobj;
31889 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31890 int result;
31891 PyObject * obj0 = 0 ;
31892 char *kwnames[] = {
31893 (char *) "self", NULL
31894 };
31895
31896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames,&obj0)) goto fail;
093d3ff1
RD
31897 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31898 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31899 {
31900 PyThreadState* __tstate = wxPyBeginAllowThreads();
31901 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
31902
31903 wxPyEndAllowThreads(__tstate);
31904 if (PyErr_Occurred()) SWIG_fail;
31905 }
093d3ff1
RD
31906 {
31907 resultobj = SWIG_From_int((int)(result));
31908 }
d55e5bfc
RD
31909 return resultobj;
31910 fail:
31911 return NULL;
31912}
31913
31914
c32bde28 31915static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31916 PyObject *resultobj;
31917 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31918 int arg2 ;
31919 PyObject * obj0 = 0 ;
31920 PyObject * obj1 = 0 ;
31921 char *kwnames[] = {
31922 (char *) "self",(char *) "n", NULL
31923 };
31924
31925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31926 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31927 if (SWIG_arg_fail(1)) SWIG_fail;
31928 {
31929 arg2 = (int)(SWIG_As_int(obj1));
31930 if (SWIG_arg_fail(2)) SWIG_fail;
31931 }
d55e5bfc
RD
31932 {
31933 PyThreadState* __tstate = wxPyBeginAllowThreads();
31934 (arg1)->SetFilterIndex(arg2);
31935
31936 wxPyEndAllowThreads(__tstate);
31937 if (PyErr_Occurred()) SWIG_fail;
31938 }
31939 Py_INCREF(Py_None); resultobj = Py_None;
31940 return resultobj;
31941 fail:
31942 return NULL;
31943}
31944
31945
c32bde28 31946static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31947 PyObject *resultobj;
31948 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31949 wxTreeItemId result;
31950 PyObject * obj0 = 0 ;
31951 char *kwnames[] = {
31952 (char *) "self", NULL
31953 };
31954
31955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
093d3ff1
RD
31956 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31957 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31958 {
31959 PyThreadState* __tstate = wxPyBeginAllowThreads();
31960 result = (arg1)->GetRootId();
31961
31962 wxPyEndAllowThreads(__tstate);
31963 if (PyErr_Occurred()) SWIG_fail;
31964 }
31965 {
31966 wxTreeItemId * resultptr;
093d3ff1 31967 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
31968 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31969 }
31970 return resultobj;
31971 fail:
31972 return NULL;
31973}
31974
31975
c32bde28 31976static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31977 PyObject *resultobj;
31978 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31979 wxPyTreeCtrl *result;
31980 PyObject * obj0 = 0 ;
31981 char *kwnames[] = {
31982 (char *) "self", NULL
31983 };
31984
31985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
093d3ff1
RD
31986 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31987 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31988 {
31989 PyThreadState* __tstate = wxPyBeginAllowThreads();
31990 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
31991
31992 wxPyEndAllowThreads(__tstate);
31993 if (PyErr_Occurred()) SWIG_fail;
31994 }
31995 {
412d302d 31996 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
31997 }
31998 return resultobj;
31999 fail:
32000 return NULL;
32001}
32002
32003
c32bde28 32004static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32005 PyObject *resultobj;
32006 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32007 wxDirFilterListCtrl *result;
32008 PyObject * obj0 = 0 ;
32009 char *kwnames[] = {
32010 (char *) "self", NULL
32011 };
32012
32013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames,&obj0)) goto fail;
093d3ff1
RD
32014 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32015 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32016 {
32017 PyThreadState* __tstate = wxPyBeginAllowThreads();
32018 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
32019
32020 wxPyEndAllowThreads(__tstate);
32021 if (PyErr_Occurred()) SWIG_fail;
32022 }
32023 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 0);
32024 return resultobj;
32025 fail:
32026 return NULL;
32027}
32028
32029
c32bde28 32030static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32031 PyObject *resultobj;
32032 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32033 wxTreeItemId arg2 ;
32034 wxString *arg3 = 0 ;
32035 bool *arg4 = 0 ;
32036 wxTreeItemId result;
ae8162c8 32037 bool temp3 = false ;
d55e5bfc 32038 bool temp4 ;
c32bde28 32039 int res4 = 0 ;
d55e5bfc
RD
32040 PyObject * obj0 = 0 ;
32041 PyObject * obj1 = 0 ;
32042 PyObject * obj2 = 0 ;
32043 char *kwnames[] = {
32044 (char *) "self",(char *) "parentId",(char *) "path", NULL
32045 };
32046
c32bde28 32047 arg4 = &temp4; res4 = SWIG_NEWOBJ;
d55e5bfc 32048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
32049 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32050 if (SWIG_arg_fail(1)) SWIG_fail;
32051 {
32052 wxTreeItemId * argp;
32053 SWIG_Python_ConvertPtr(obj1, (void **)&argp, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION);
32054 if (SWIG_arg_fail(2)) SWIG_fail;
32055 if (argp == NULL) {
32056 SWIG_null_ref("wxTreeItemId");
32057 }
32058 if (SWIG_arg_fail(2)) SWIG_fail;
32059 arg2 = *argp;
32060 }
d55e5bfc
RD
32061 {
32062 arg3 = wxString_in_helper(obj2);
32063 if (arg3 == NULL) SWIG_fail;
ae8162c8 32064 temp3 = true;
d55e5bfc
RD
32065 }
32066 {
32067 PyThreadState* __tstate = wxPyBeginAllowThreads();
32068 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
32069
32070 wxPyEndAllowThreads(__tstate);
32071 if (PyErr_Occurred()) SWIG_fail;
32072 }
32073 {
32074 wxTreeItemId * resultptr;
093d3ff1 32075 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
32076 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
32077 }
c32bde28
RD
32078 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
32079 SWIG_From_bool((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, 0)));
d55e5bfc
RD
32080 {
32081 if (temp3)
32082 delete arg3;
32083 }
32084 return resultobj;
32085 fail:
32086 {
32087 if (temp3)
32088 delete arg3;
32089 }
32090 return NULL;
32091}
32092
32093
c32bde28 32094static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32095 PyObject *resultobj;
32096 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32097 PyObject * obj0 = 0 ;
32098 char *kwnames[] = {
32099 (char *) "self", NULL
32100 };
32101
32102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
093d3ff1
RD
32103 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32104 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32105 {
32106 PyThreadState* __tstate = wxPyBeginAllowThreads();
32107 (arg1)->DoResize();
32108
32109 wxPyEndAllowThreads(__tstate);
32110 if (PyErr_Occurred()) SWIG_fail;
32111 }
32112 Py_INCREF(Py_None); resultobj = Py_None;
32113 return resultobj;
32114 fail:
32115 return NULL;
32116}
32117
32118
c32bde28 32119static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32120 PyObject *resultobj;
32121 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32122 PyObject * obj0 = 0 ;
32123 char *kwnames[] = {
32124 (char *) "self", NULL
32125 };
32126
32127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
093d3ff1
RD
32128 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32129 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32130 {
32131 PyThreadState* __tstate = wxPyBeginAllowThreads();
32132 (arg1)->ReCreateTree();
32133
32134 wxPyEndAllowThreads(__tstate);
32135 if (PyErr_Occurred()) SWIG_fail;
32136 }
32137 Py_INCREF(Py_None); resultobj = Py_None;
32138 return resultobj;
32139 fail:
32140 return NULL;
32141}
32142
32143
c32bde28 32144static PyObject * GenericDirCtrl_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
32145 PyObject *obj;
32146 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32147 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
32148 Py_INCREF(obj);
32149 return Py_BuildValue((char *)"");
32150}
c32bde28 32151static PyObject *_wrap_new_DirFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32152 PyObject *resultobj;
32153 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32154 int arg2 = (int) (int)-1 ;
32155 wxPoint const &arg3_defvalue = wxDefaultPosition ;
32156 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
32157 wxSize const &arg4_defvalue = wxDefaultSize ;
32158 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
32159 long arg5 = (long) 0 ;
32160 wxDirFilterListCtrl *result;
32161 wxPoint temp3 ;
32162 wxSize temp4 ;
32163 PyObject * obj0 = 0 ;
32164 PyObject * obj1 = 0 ;
32165 PyObject * obj2 = 0 ;
32166 PyObject * obj3 = 0 ;
32167 PyObject * obj4 = 0 ;
32168 char *kwnames[] = {
32169 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
32170 };
32171
32172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
32173 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32174 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 32175 if (obj1) {
093d3ff1
RD
32176 {
32177 arg2 = (int const)(SWIG_As_int(obj1));
32178 if (SWIG_arg_fail(2)) SWIG_fail;
32179 }
d55e5bfc
RD
32180 }
32181 if (obj2) {
32182 {
32183 arg3 = &temp3;
32184 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
32185 }
32186 }
32187 if (obj3) {
32188 {
32189 arg4 = &temp4;
32190 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
32191 }
32192 }
32193 if (obj4) {
093d3ff1
RD
32194 {
32195 arg5 = (long)(SWIG_As_long(obj4));
32196 if (SWIG_arg_fail(5)) SWIG_fail;
32197 }
d55e5bfc
RD
32198 }
32199 {
0439c23b 32200 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
32201 PyThreadState* __tstate = wxPyBeginAllowThreads();
32202 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
32203
32204 wxPyEndAllowThreads(__tstate);
110da5b0 32205 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
32206 }
32207 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
32208 return resultobj;
32209 fail:
32210 return NULL;
32211}
32212
32213
c32bde28 32214static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32215 PyObject *resultobj;
32216 wxDirFilterListCtrl *result;
32217 char *kwnames[] = {
32218 NULL
32219 };
32220
32221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
32222 {
0439c23b 32223 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
32224 PyThreadState* __tstate = wxPyBeginAllowThreads();
32225 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
32226
32227 wxPyEndAllowThreads(__tstate);
110da5b0 32228 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
32229 }
32230 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
32231 return resultobj;
32232 fail:
32233 return NULL;
32234}
32235
32236
c32bde28 32237static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32238 PyObject *resultobj;
32239 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
32240 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
32241 int arg3 = (int) (int)-1 ;
32242 wxPoint const &arg4_defvalue = wxDefaultPosition ;
32243 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
32244 wxSize const &arg5_defvalue = wxDefaultSize ;
32245 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
32246 long arg6 = (long) 0 ;
32247 bool result;
32248 wxPoint temp4 ;
32249 wxSize temp5 ;
32250 PyObject * obj0 = 0 ;
32251 PyObject * obj1 = 0 ;
32252 PyObject * obj2 = 0 ;
32253 PyObject * obj3 = 0 ;
32254 PyObject * obj4 = 0 ;
32255 PyObject * obj5 = 0 ;
32256 char *kwnames[] = {
32257 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
32258 };
32259
32260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
32261 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirFilterListCtrl, SWIG_POINTER_EXCEPTION | 0);
32262 if (SWIG_arg_fail(1)) SWIG_fail;
32263 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32264 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 32265 if (obj2) {
093d3ff1
RD
32266 {
32267 arg3 = (int const)(SWIG_As_int(obj2));
32268 if (SWIG_arg_fail(3)) SWIG_fail;
32269 }
d55e5bfc
RD
32270 }
32271 if (obj3) {
32272 {
32273 arg4 = &temp4;
32274 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
32275 }
32276 }
32277 if (obj4) {
32278 {
32279 arg5 = &temp5;
32280 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
32281 }
32282 }
32283 if (obj5) {
093d3ff1
RD
32284 {
32285 arg6 = (long)(SWIG_As_long(obj5));
32286 if (SWIG_arg_fail(6)) SWIG_fail;
32287 }
d55e5bfc
RD
32288 }
32289 {
32290 PyThreadState* __tstate = wxPyBeginAllowThreads();
32291 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
32292
32293 wxPyEndAllowThreads(__tstate);
32294 if (PyErr_Occurred()) SWIG_fail;
32295 }
32296 {
32297 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32298 }
32299 return resultobj;
32300 fail:
32301 return NULL;
32302}
32303
32304
c32bde28 32305static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32306 PyObject *resultobj;
32307 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
32308 wxString *arg2 = 0 ;
32309 int arg3 ;
ae8162c8 32310 bool temp2 = false ;
d55e5bfc
RD
32311 PyObject * obj0 = 0 ;
32312 PyObject * obj1 = 0 ;
32313 PyObject * obj2 = 0 ;
32314 char *kwnames[] = {
32315 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
32316 };
32317
32318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
32319 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirFilterListCtrl, SWIG_POINTER_EXCEPTION | 0);
32320 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32321 {
32322 arg2 = wxString_in_helper(obj1);
32323 if (arg2 == NULL) SWIG_fail;
ae8162c8 32324 temp2 = true;
d55e5bfc 32325 }
093d3ff1
RD
32326 {
32327 arg3 = (int)(SWIG_As_int(obj2));
32328 if (SWIG_arg_fail(3)) SWIG_fail;
32329 }
d55e5bfc
RD
32330 {
32331 PyThreadState* __tstate = wxPyBeginAllowThreads();
32332 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
32333
32334 wxPyEndAllowThreads(__tstate);
32335 if (PyErr_Occurred()) SWIG_fail;
32336 }
32337 Py_INCREF(Py_None); resultobj = Py_None;
32338 {
32339 if (temp2)
32340 delete arg2;
32341 }
32342 return resultobj;
32343 fail:
32344 {
32345 if (temp2)
32346 delete arg2;
32347 }
32348 return NULL;
32349}
32350
32351
c32bde28 32352static PyObject * DirFilterListCtrl_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
32353 PyObject *obj;
32354 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32355 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
32356 Py_INCREF(obj);
32357 return Py_BuildValue((char *)"");
32358}
c32bde28 32359static PyObject *_wrap_new_PyControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32360 PyObject *resultobj;
32361 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 32362 int arg2 = (int) (int)-1 ;
d55e5bfc
RD
32363 wxPoint const &arg3_defvalue = wxDefaultPosition ;
32364 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
32365 wxSize const &arg4_defvalue = wxDefaultSize ;
32366 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
32367 long arg5 = (long) 0 ;
32368 wxValidator const &arg6_defvalue = wxDefaultValidator ;
32369 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
32370 wxString const &arg7_defvalue = wxPyControlNameStr ;
32371 wxString *arg7 = (wxString *) &arg7_defvalue ;
32372 wxPyControl *result;
32373 wxPoint temp3 ;
32374 wxSize temp4 ;
ae8162c8 32375 bool temp7 = false ;
d55e5bfc
RD
32376 PyObject * obj0 = 0 ;
32377 PyObject * obj1 = 0 ;
32378 PyObject * obj2 = 0 ;
32379 PyObject * obj3 = 0 ;
32380 PyObject * obj4 = 0 ;
32381 PyObject * obj5 = 0 ;
32382 PyObject * obj6 = 0 ;
32383 char *kwnames[] = {
32384 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32385 };
32386
248ed943 32387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_PyControl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
32388 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32389 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 32390 if (obj1) {
093d3ff1
RD
32391 {
32392 arg2 = (int const)(SWIG_As_int(obj1));
32393 if (SWIG_arg_fail(2)) SWIG_fail;
32394 }
248ed943 32395 }
d55e5bfc
RD
32396 if (obj2) {
32397 {
32398 arg3 = &temp3;
32399 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
32400 }
32401 }
32402 if (obj3) {
32403 {
32404 arg4 = &temp4;
32405 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
32406 }
32407 }
32408 if (obj4) {
093d3ff1
RD
32409 {
32410 arg5 = (long)(SWIG_As_long(obj4));
32411 if (SWIG_arg_fail(5)) SWIG_fail;
32412 }
d55e5bfc
RD
32413 }
32414 if (obj5) {
093d3ff1
RD
32415 {
32416 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
32417 if (SWIG_arg_fail(6)) SWIG_fail;
32418 if (arg6 == NULL) {
32419 SWIG_null_ref("wxValidator");
32420 }
32421 if (SWIG_arg_fail(6)) SWIG_fail;
d55e5bfc
RD
32422 }
32423 }
32424 if (obj6) {
32425 {
32426 arg7 = wxString_in_helper(obj6);
32427 if (arg7 == NULL) SWIG_fail;
ae8162c8 32428 temp7 = true;
d55e5bfc
RD
32429 }
32430 }
32431 {
0439c23b 32432 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
32433 PyThreadState* __tstate = wxPyBeginAllowThreads();
32434 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
32435
32436 wxPyEndAllowThreads(__tstate);
110da5b0 32437 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
32438 }
32439 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
32440 {
32441 if (temp7)
32442 delete arg7;
32443 }
32444 return resultobj;
32445 fail:
32446 {
32447 if (temp7)
32448 delete arg7;
32449 }
32450 return NULL;
32451}
32452
32453
c32bde28 32454static PyObject *_wrap_new_PrePyControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32455 PyObject *resultobj;
32456 wxPyControl *result;
32457 char *kwnames[] = {
32458 NULL
32459 };
32460
32461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyControl",kwnames)) goto fail;
32462 {
0439c23b 32463 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
32464 PyThreadState* __tstate = wxPyBeginAllowThreads();
32465 result = (wxPyControl *)new wxPyControl();
32466
32467 wxPyEndAllowThreads(__tstate);
110da5b0 32468 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
32469 }
32470 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
32471 return resultobj;
32472 fail:
32473 return NULL;
32474}
32475
32476
c32bde28 32477static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32478 PyObject *resultobj;
32479 wxPyControl *arg1 = (wxPyControl *) 0 ;
32480 PyObject *arg2 = (PyObject *) 0 ;
32481 PyObject *arg3 = (PyObject *) 0 ;
32482 PyObject * obj0 = 0 ;
32483 PyObject * obj1 = 0 ;
32484 PyObject * obj2 = 0 ;
32485 char *kwnames[] = {
32486 (char *) "self",(char *) "self",(char *) "_class", NULL
32487 };
32488
32489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
32490 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32491 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32492 arg2 = obj1;
32493 arg3 = obj2;
32494 {
32495 PyThreadState* __tstate = wxPyBeginAllowThreads();
32496 (arg1)->_setCallbackInfo(arg2,arg3);
32497
32498 wxPyEndAllowThreads(__tstate);
32499 if (PyErr_Occurred()) SWIG_fail;
32500 }
32501 Py_INCREF(Py_None); resultobj = Py_None;
32502 return resultobj;
32503 fail:
32504 return NULL;
32505}
32506
32507
c32bde28 32508static PyObject *_wrap_PyControl_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
caef1a4d
RD
32509 PyObject *resultobj;
32510 wxPyControl *arg1 = (wxPyControl *) 0 ;
32511 wxSize *arg2 = 0 ;
32512 wxSize temp2 ;
32513 PyObject * obj0 = 0 ;
32514 PyObject * obj1 = 0 ;
32515 char *kwnames[] = {
32516 (char *) "self",(char *) "size", NULL
32517 };
32518
32519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
32520 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32521 if (SWIG_arg_fail(1)) SWIG_fail;
caef1a4d
RD
32522 {
32523 arg2 = &temp2;
32524 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
32525 }
32526 {
32527 PyThreadState* __tstate = wxPyBeginAllowThreads();
32528 (arg1)->SetBestSize((wxSize const &)*arg2);
32529
32530 wxPyEndAllowThreads(__tstate);
32531 if (PyErr_Occurred()) SWIG_fail;
32532 }
32533 Py_INCREF(Py_None); resultobj = Py_None;
32534 return resultobj;
32535 fail:
32536 return NULL;
32537}
32538
32539
c32bde28 32540static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32541 PyObject *resultobj;
32542 wxPyControl *arg1 = (wxPyControl *) 0 ;
32543 int arg2 ;
32544 int arg3 ;
32545 int arg4 ;
32546 int arg5 ;
32547 PyObject * obj0 = 0 ;
32548 PyObject * obj1 = 0 ;
32549 PyObject * obj2 = 0 ;
32550 PyObject * obj3 = 0 ;
32551 PyObject * obj4 = 0 ;
32552 char *kwnames[] = {
32553 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
32554 };
32555
32556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
32557 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32558 if (SWIG_arg_fail(1)) SWIG_fail;
32559 {
32560 arg2 = (int)(SWIG_As_int(obj1));
32561 if (SWIG_arg_fail(2)) SWIG_fail;
32562 }
32563 {
32564 arg3 = (int)(SWIG_As_int(obj2));
32565 if (SWIG_arg_fail(3)) SWIG_fail;
32566 }
32567 {
32568 arg4 = (int)(SWIG_As_int(obj3));
32569 if (SWIG_arg_fail(4)) SWIG_fail;
32570 }
32571 {
32572 arg5 = (int)(SWIG_As_int(obj4));
32573 if (SWIG_arg_fail(5)) SWIG_fail;
32574 }
d55e5bfc
RD
32575 {
32576 PyThreadState* __tstate = wxPyBeginAllowThreads();
32577 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
32578
32579 wxPyEndAllowThreads(__tstate);
32580 if (PyErr_Occurred()) SWIG_fail;
32581 }
32582 Py_INCREF(Py_None); resultobj = Py_None;
32583 return resultobj;
32584 fail:
32585 return NULL;
32586}
32587
32588
c32bde28 32589static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32590 PyObject *resultobj;
32591 wxPyControl *arg1 = (wxPyControl *) 0 ;
32592 int arg2 ;
32593 int arg3 ;
32594 int arg4 ;
32595 int arg5 ;
32596 int arg6 = (int) wxSIZE_AUTO ;
32597 PyObject * obj0 = 0 ;
32598 PyObject * obj1 = 0 ;
32599 PyObject * obj2 = 0 ;
32600 PyObject * obj3 = 0 ;
32601 PyObject * obj4 = 0 ;
32602 PyObject * obj5 = 0 ;
32603 char *kwnames[] = {
32604 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
32605 };
32606
32607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
32608 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32609 if (SWIG_arg_fail(1)) SWIG_fail;
32610 {
32611 arg2 = (int)(SWIG_As_int(obj1));
32612 if (SWIG_arg_fail(2)) SWIG_fail;
32613 }
32614 {
32615 arg3 = (int)(SWIG_As_int(obj2));
32616 if (SWIG_arg_fail(3)) SWIG_fail;
32617 }
32618 {
32619 arg4 = (int)(SWIG_As_int(obj3));
32620 if (SWIG_arg_fail(4)) SWIG_fail;
32621 }
32622 {
32623 arg5 = (int)(SWIG_As_int(obj4));
32624 if (SWIG_arg_fail(5)) SWIG_fail;
32625 }
d55e5bfc 32626 if (obj5) {
093d3ff1
RD
32627 {
32628 arg6 = (int)(SWIG_As_int(obj5));
32629 if (SWIG_arg_fail(6)) SWIG_fail;
32630 }
d55e5bfc
RD
32631 }
32632 {
32633 PyThreadState* __tstate = wxPyBeginAllowThreads();
32634 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
32635
32636 wxPyEndAllowThreads(__tstate);
32637 if (PyErr_Occurred()) SWIG_fail;
32638 }
32639 Py_INCREF(Py_None); resultobj = Py_None;
32640 return resultobj;
32641 fail:
32642 return NULL;
32643}
32644
32645
c32bde28 32646static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32647 PyObject *resultobj;
32648 wxPyControl *arg1 = (wxPyControl *) 0 ;
32649 int arg2 ;
32650 int arg3 ;
32651 PyObject * obj0 = 0 ;
32652 PyObject * obj1 = 0 ;
32653 PyObject * obj2 = 0 ;
32654 char *kwnames[] = {
32655 (char *) "self",(char *) "width",(char *) "height", NULL
32656 };
32657
32658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
32659 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32660 if (SWIG_arg_fail(1)) SWIG_fail;
32661 {
32662 arg2 = (int)(SWIG_As_int(obj1));
32663 if (SWIG_arg_fail(2)) SWIG_fail;
32664 }
32665 {
32666 arg3 = (int)(SWIG_As_int(obj2));
32667 if (SWIG_arg_fail(3)) SWIG_fail;
32668 }
d55e5bfc
RD
32669 {
32670 PyThreadState* __tstate = wxPyBeginAllowThreads();
32671 (arg1)->base_DoSetClientSize(arg2,arg3);
32672
32673 wxPyEndAllowThreads(__tstate);
32674 if (PyErr_Occurred()) SWIG_fail;
32675 }
32676 Py_INCREF(Py_None); resultobj = Py_None;
32677 return resultobj;
32678 fail:
32679 return NULL;
32680}
32681
32682
c32bde28 32683static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32684 PyObject *resultobj;
32685 wxPyControl *arg1 = (wxPyControl *) 0 ;
32686 int arg2 ;
32687 int arg3 ;
32688 PyObject * obj0 = 0 ;
32689 PyObject * obj1 = 0 ;
32690 PyObject * obj2 = 0 ;
32691 char *kwnames[] = {
32692 (char *) "self",(char *) "x",(char *) "y", NULL
32693 };
32694
32695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
32696 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32697 if (SWIG_arg_fail(1)) SWIG_fail;
32698 {
32699 arg2 = (int)(SWIG_As_int(obj1));
32700 if (SWIG_arg_fail(2)) SWIG_fail;
32701 }
32702 {
32703 arg3 = (int)(SWIG_As_int(obj2));
32704 if (SWIG_arg_fail(3)) SWIG_fail;
32705 }
d55e5bfc
RD
32706 {
32707 PyThreadState* __tstate = wxPyBeginAllowThreads();
32708 (arg1)->base_DoSetVirtualSize(arg2,arg3);
32709
32710 wxPyEndAllowThreads(__tstate);
32711 if (PyErr_Occurred()) SWIG_fail;
32712 }
32713 Py_INCREF(Py_None); resultobj = Py_None;
32714 return resultobj;
32715 fail:
32716 return NULL;
32717}
32718
32719
c32bde28 32720static PyObject *_wrap_PyControl_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32721 PyObject *resultobj;
32722 wxPyControl *arg1 = (wxPyControl *) 0 ;
32723 int *arg2 = (int *) 0 ;
32724 int *arg3 = (int *) 0 ;
32725 int temp2 ;
c32bde28 32726 int res2 = 0 ;
d55e5bfc 32727 int temp3 ;
c32bde28 32728 int res3 = 0 ;
d55e5bfc
RD
32729 PyObject * obj0 = 0 ;
32730 char *kwnames[] = {
32731 (char *) "self", NULL
32732 };
32733
c32bde28
RD
32734 arg2 = &temp2; res2 = SWIG_NEWOBJ;
32735 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 32736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
32737 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32738 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32739 {
32740 PyThreadState* __tstate = wxPyBeginAllowThreads();
32741 ((wxPyControl const *)arg1)->base_DoGetSize(arg2,arg3);
32742
32743 wxPyEndAllowThreads(__tstate);
32744 if (PyErr_Occurred()) SWIG_fail;
32745 }
32746 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
32747 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
32748 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
32749 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
32750 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
32751 return resultobj;
32752 fail:
32753 return NULL;
32754}
32755
32756
c32bde28 32757static PyObject *_wrap_PyControl_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32758 PyObject *resultobj;
32759 wxPyControl *arg1 = (wxPyControl *) 0 ;
32760 int *arg2 = (int *) 0 ;
32761 int *arg3 = (int *) 0 ;
32762 int temp2 ;
c32bde28 32763 int res2 = 0 ;
d55e5bfc 32764 int temp3 ;
c32bde28 32765 int res3 = 0 ;
d55e5bfc
RD
32766 PyObject * obj0 = 0 ;
32767 char *kwnames[] = {
32768 (char *) "self", NULL
32769 };
32770
c32bde28
RD
32771 arg2 = &temp2; res2 = SWIG_NEWOBJ;
32772 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 32773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetClientSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
32774 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32775 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32776 {
32777 PyThreadState* __tstate = wxPyBeginAllowThreads();
32778 ((wxPyControl const *)arg1)->base_DoGetClientSize(arg2,arg3);
32779
32780 wxPyEndAllowThreads(__tstate);
32781 if (PyErr_Occurred()) SWIG_fail;
32782 }
32783 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
32784 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
32785 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
32786 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
32787 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
32788 return resultobj;
32789 fail:
32790 return NULL;
32791}
32792
32793
c32bde28 32794static PyObject *_wrap_PyControl_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32795 PyObject *resultobj;
32796 wxPyControl *arg1 = (wxPyControl *) 0 ;
32797 int *arg2 = (int *) 0 ;
32798 int *arg3 = (int *) 0 ;
32799 int temp2 ;
c32bde28 32800 int res2 = 0 ;
d55e5bfc 32801 int temp3 ;
c32bde28 32802 int res3 = 0 ;
d55e5bfc
RD
32803 PyObject * obj0 = 0 ;
32804 char *kwnames[] = {
32805 (char *) "self", NULL
32806 };
32807
c32bde28
RD
32808 arg2 = &temp2; res2 = SWIG_NEWOBJ;
32809 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 32810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
32811 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32812 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32813 {
32814 PyThreadState* __tstate = wxPyBeginAllowThreads();
32815 ((wxPyControl const *)arg1)->base_DoGetPosition(arg2,arg3);
32816
32817 wxPyEndAllowThreads(__tstate);
32818 if (PyErr_Occurred()) SWIG_fail;
32819 }
32820 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
32821 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
32822 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
32823 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
32824 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
32825 return resultobj;
32826 fail:
32827 return NULL;
32828}
32829
32830
c32bde28 32831static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32832 PyObject *resultobj;
32833 wxPyControl *arg1 = (wxPyControl *) 0 ;
32834 wxSize result;
32835 PyObject * obj0 = 0 ;
32836 char *kwnames[] = {
32837 (char *) "self", NULL
32838 };
32839
32840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
32841 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32842 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32843 {
32844 PyThreadState* __tstate = wxPyBeginAllowThreads();
32845 result = ((wxPyControl const *)arg1)->base_DoGetVirtualSize();
32846
32847 wxPyEndAllowThreads(__tstate);
32848 if (PyErr_Occurred()) SWIG_fail;
32849 }
32850 {
32851 wxSize * resultptr;
093d3ff1 32852 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
32853 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
32854 }
32855 return resultobj;
32856 fail:
32857 return NULL;
32858}
32859
32860
c32bde28 32861static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32862 PyObject *resultobj;
32863 wxPyControl *arg1 = (wxPyControl *) 0 ;
32864 wxSize result;
32865 PyObject * obj0 = 0 ;
32866 char *kwnames[] = {
32867 (char *) "self", NULL
32868 };
32869
32870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetBestSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
32871 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32872 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32873 {
32874 PyThreadState* __tstate = wxPyBeginAllowThreads();
32875 result = ((wxPyControl const *)arg1)->base_DoGetBestSize();
32876
32877 wxPyEndAllowThreads(__tstate);
32878 if (PyErr_Occurred()) SWIG_fail;
32879 }
32880 {
32881 wxSize * resultptr;
093d3ff1 32882 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
32883 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
32884 }
32885 return resultobj;
32886 fail:
32887 return NULL;
32888}
32889
32890
c32bde28 32891static PyObject *_wrap_PyControl_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32892 PyObject *resultobj;
32893 wxPyControl *arg1 = (wxPyControl *) 0 ;
32894 PyObject * obj0 = 0 ;
32895 char *kwnames[] = {
32896 (char *) "self", NULL
32897 };
32898
32899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_InitDialog",kwnames,&obj0)) goto fail;
093d3ff1
RD
32900 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32901 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32902 {
32903 PyThreadState* __tstate = wxPyBeginAllowThreads();
32904 (arg1)->base_InitDialog();
32905
32906 wxPyEndAllowThreads(__tstate);
32907 if (PyErr_Occurred()) SWIG_fail;
32908 }
32909 Py_INCREF(Py_None); resultobj = Py_None;
32910 return resultobj;
32911 fail:
32912 return NULL;
32913}
32914
32915
c32bde28 32916static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32917 PyObject *resultobj;
32918 wxPyControl *arg1 = (wxPyControl *) 0 ;
32919 bool result;
32920 PyObject * obj0 = 0 ;
32921 char *kwnames[] = {
32922 (char *) "self", NULL
32923 };
32924
32925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
32926 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32927 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32928 {
32929 PyThreadState* __tstate = wxPyBeginAllowThreads();
32930 result = (bool)(arg1)->base_TransferDataToWindow();
32931
32932 wxPyEndAllowThreads(__tstate);
32933 if (PyErr_Occurred()) SWIG_fail;
32934 }
32935 {
32936 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32937 }
32938 return resultobj;
32939 fail:
32940 return NULL;
32941}
32942
32943
c32bde28 32944static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32945 PyObject *resultobj;
32946 wxPyControl *arg1 = (wxPyControl *) 0 ;
32947 bool result;
32948 PyObject * obj0 = 0 ;
32949 char *kwnames[] = {
32950 (char *) "self", NULL
32951 };
32952
32953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
32954 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32955 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32956 {
32957 PyThreadState* __tstate = wxPyBeginAllowThreads();
32958 result = (bool)(arg1)->base_TransferDataFromWindow();
32959
32960 wxPyEndAllowThreads(__tstate);
32961 if (PyErr_Occurred()) SWIG_fail;
32962 }
32963 {
32964 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32965 }
32966 return resultobj;
32967 fail:
32968 return NULL;
32969}
32970
32971
c32bde28 32972static PyObject *_wrap_PyControl_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32973 PyObject *resultobj;
32974 wxPyControl *arg1 = (wxPyControl *) 0 ;
32975 bool result;
32976 PyObject * obj0 = 0 ;
32977 char *kwnames[] = {
32978 (char *) "self", NULL
32979 };
32980
32981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_Validate",kwnames,&obj0)) goto fail;
093d3ff1
RD
32982 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32983 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32984 {
32985 PyThreadState* __tstate = wxPyBeginAllowThreads();
32986 result = (bool)(arg1)->base_Validate();
32987
32988 wxPyEndAllowThreads(__tstate);
32989 if (PyErr_Occurred()) SWIG_fail;
32990 }
32991 {
32992 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32993 }
32994 return resultobj;
32995 fail:
32996 return NULL;
32997}
32998
32999
c32bde28 33000static PyObject *_wrap_PyControl_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33001 PyObject *resultobj;
33002 wxPyControl *arg1 = (wxPyControl *) 0 ;
33003 bool result;
33004 PyObject * obj0 = 0 ;
33005 char *kwnames[] = {
33006 (char *) "self", NULL
33007 };
33008
33009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocus",kwnames,&obj0)) goto fail;
093d3ff1
RD
33010 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33011 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33012 {
33013 PyThreadState* __tstate = wxPyBeginAllowThreads();
33014 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocus();
33015
33016 wxPyEndAllowThreads(__tstate);
33017 if (PyErr_Occurred()) SWIG_fail;
33018 }
33019 {
33020 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33021 }
33022 return resultobj;
33023 fail:
33024 return NULL;
33025}
33026
33027
c32bde28 33028static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33029 PyObject *resultobj;
33030 wxPyControl *arg1 = (wxPyControl *) 0 ;
33031 bool result;
33032 PyObject * obj0 = 0 ;
33033 char *kwnames[] = {
33034 (char *) "self", NULL
33035 };
33036
33037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
093d3ff1
RD
33038 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33039 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33040 {
33041 PyThreadState* __tstate = wxPyBeginAllowThreads();
33042 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocusFromKeyboard();
33043
33044 wxPyEndAllowThreads(__tstate);
33045 if (PyErr_Occurred()) SWIG_fail;
33046 }
33047 {
33048 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33049 }
33050 return resultobj;
33051 fail:
33052 return NULL;
33053}
33054
33055
c32bde28 33056static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33057 PyObject *resultobj;
33058 wxPyControl *arg1 = (wxPyControl *) 0 ;
33059 wxSize result;
33060 PyObject * obj0 = 0 ;
33061 char *kwnames[] = {
33062 (char *) "self", NULL
33063 };
33064
33065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetMaxSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
33066 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33067 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33068 {
33069 PyThreadState* __tstate = wxPyBeginAllowThreads();
33070 result = ((wxPyControl const *)arg1)->base_GetMaxSize();
33071
33072 wxPyEndAllowThreads(__tstate);
33073 if (PyErr_Occurred()) SWIG_fail;
33074 }
33075 {
33076 wxSize * resultptr;
093d3ff1 33077 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
33078 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
33079 }
33080 return resultobj;
33081 fail:
33082 return NULL;
33083}
33084
33085
c32bde28 33086static PyObject *_wrap_PyControl_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33087 PyObject *resultobj;
33088 wxPyControl *arg1 = (wxPyControl *) 0 ;
33089 wxWindow *arg2 = (wxWindow *) 0 ;
33090 PyObject * obj0 = 0 ;
33091 PyObject * obj1 = 0 ;
33092 char *kwnames[] = {
33093 (char *) "self",(char *) "child", NULL
33094 };
33095
33096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
33097 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33098 if (SWIG_arg_fail(1)) SWIG_fail;
33099 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33100 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
33101 {
33102 PyThreadState* __tstate = wxPyBeginAllowThreads();
33103 (arg1)->base_AddChild(arg2);
33104
33105 wxPyEndAllowThreads(__tstate);
33106 if (PyErr_Occurred()) SWIG_fail;
33107 }
33108 Py_INCREF(Py_None); resultobj = Py_None;
33109 return resultobj;
33110 fail:
33111 return NULL;
33112}
33113
33114
c32bde28 33115static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33116 PyObject *resultobj;
33117 wxPyControl *arg1 = (wxPyControl *) 0 ;
33118 wxWindow *arg2 = (wxWindow *) 0 ;
33119 PyObject * obj0 = 0 ;
33120 PyObject * obj1 = 0 ;
33121 char *kwnames[] = {
33122 (char *) "self",(char *) "child", NULL
33123 };
33124
33125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
33126 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33127 if (SWIG_arg_fail(1)) SWIG_fail;
33128 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33129 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
33130 {
33131 PyThreadState* __tstate = wxPyBeginAllowThreads();
33132 (arg1)->base_RemoveChild(arg2);
33133
33134 wxPyEndAllowThreads(__tstate);
33135 if (PyErr_Occurred()) SWIG_fail;
33136 }
33137 Py_INCREF(Py_None); resultobj = Py_None;
33138 return resultobj;
33139 fail:
33140 return NULL;
33141}
33142
33143
c32bde28 33144static PyObject *_wrap_PyControl_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33145 PyObject *resultobj;
33146 wxPyControl *arg1 = (wxPyControl *) 0 ;
33147 bool result;
33148 PyObject * obj0 = 0 ;
33149 char *kwnames[] = {
33150 (char *) "self", NULL
33151 };
33152
33153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
093d3ff1
RD
33154 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33155 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33156 {
33157 PyThreadState* __tstate = wxPyBeginAllowThreads();
caef1a4d 33158 result = (bool)((wxPyControl const *)arg1)->base_ShouldInheritColours();
d55e5bfc
RD
33159
33160 wxPyEndAllowThreads(__tstate);
33161 if (PyErr_Occurred()) SWIG_fail;
33162 }
33163 {
33164 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33165 }
33166 return resultobj;
33167 fail:
33168 return NULL;
33169}
33170
33171
c32bde28 33172static PyObject *_wrap_PyControl_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33173 PyObject *resultobj;
33174 wxPyControl *arg1 = (wxPyControl *) 0 ;
33175 wxColour *arg2 = 0 ;
33176 wxColour temp2 ;
33177 PyObject * obj0 = 0 ;
33178 PyObject * obj1 = 0 ;
33179 char *kwnames[] = {
33180 (char *) "self",(char *) "c", NULL
33181 };
33182
33183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
33184 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33185 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33186 {
33187 arg2 = &temp2;
33188 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
33189 }
33190 {
33191 PyThreadState* __tstate = wxPyBeginAllowThreads();
33192 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
33193
33194 wxPyEndAllowThreads(__tstate);
33195 if (PyErr_Occurred()) SWIG_fail;
33196 }
33197 Py_INCREF(Py_None); resultobj = Py_None;
33198 return resultobj;
33199 fail:
33200 return NULL;
33201}
33202
33203
c32bde28 33204static PyObject *_wrap_PyControl_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
caef1a4d
RD
33205 PyObject *resultobj;
33206 wxPyControl *arg1 = (wxPyControl *) 0 ;
33207 wxVisualAttributes result;
33208 PyObject * obj0 = 0 ;
33209 char *kwnames[] = {
33210 (char *) "self", NULL
33211 };
33212
33213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
093d3ff1
RD
33214 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33215 if (SWIG_arg_fail(1)) SWIG_fail;
caef1a4d
RD
33216 {
33217 PyThreadState* __tstate = wxPyBeginAllowThreads();
33218 result = (arg1)->base_GetDefaultAttributes();
33219
33220 wxPyEndAllowThreads(__tstate);
33221 if (PyErr_Occurred()) SWIG_fail;
33222 }
33223 {
33224 wxVisualAttributes * resultptr;
093d3ff1 33225 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
caef1a4d
RD
33226 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
33227 }
33228 return resultobj;
33229 fail:
33230 return NULL;
33231}
33232
33233
c32bde28 33234static PyObject * PyControl_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
33235 PyObject *obj;
33236 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33237 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
33238 Py_INCREF(obj);
33239 return Py_BuildValue((char *)"");
33240}
c32bde28 33241static PyObject *_wrap_new_HelpEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33242 PyObject *resultobj;
33243 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
33244 int arg2 = (int) 0 ;
33245 wxPoint const &arg3_defvalue = wxDefaultPosition ;
33246 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
33247 wxHelpEvent *result;
33248 wxPoint temp3 ;
33249 PyObject * obj0 = 0 ;
33250 PyObject * obj1 = 0 ;
33251 PyObject * obj2 = 0 ;
33252 char *kwnames[] = {
33253 (char *) "type",(char *) "winid",(char *) "pt", NULL
33254 };
33255
33256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_HelpEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
33257 if (obj0) {
093d3ff1
RD
33258 {
33259 arg1 = (wxEventType)(SWIG_As_int(obj0));
33260 if (SWIG_arg_fail(1)) SWIG_fail;
33261 }
d55e5bfc
RD
33262 }
33263 if (obj1) {
093d3ff1
RD
33264 {
33265 arg2 = (int)(SWIG_As_int(obj1));
33266 if (SWIG_arg_fail(2)) SWIG_fail;
33267 }
d55e5bfc
RD
33268 }
33269 if (obj2) {
33270 {
33271 arg3 = &temp3;
33272 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
33273 }
33274 }
33275 {
33276 PyThreadState* __tstate = wxPyBeginAllowThreads();
33277 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
33278
33279 wxPyEndAllowThreads(__tstate);
33280 if (PyErr_Occurred()) SWIG_fail;
33281 }
33282 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpEvent, 1);
33283 return resultobj;
33284 fail:
33285 return NULL;
33286}
33287
33288
c32bde28 33289static PyObject *_wrap_HelpEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33290 PyObject *resultobj;
33291 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33292 wxPoint result;
33293 PyObject * obj0 = 0 ;
33294 char *kwnames[] = {
33295 (char *) "self", NULL
33296 };
33297
33298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
33299 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33300 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33301 {
33302 PyThreadState* __tstate = wxPyBeginAllowThreads();
33303 result = ((wxHelpEvent const *)arg1)->GetPosition();
33304
33305 wxPyEndAllowThreads(__tstate);
33306 if (PyErr_Occurred()) SWIG_fail;
33307 }
33308 {
33309 wxPoint * resultptr;
093d3ff1 33310 resultptr = new wxPoint((wxPoint const &)(result));
d55e5bfc
RD
33311 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
33312 }
33313 return resultobj;
33314 fail:
33315 return NULL;
33316}
33317
33318
c32bde28 33319static PyObject *_wrap_HelpEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33320 PyObject *resultobj;
33321 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33322 wxPoint *arg2 = 0 ;
33323 wxPoint temp2 ;
33324 PyObject * obj0 = 0 ;
33325 PyObject * obj1 = 0 ;
33326 char *kwnames[] = {
33327 (char *) "self",(char *) "pos", NULL
33328 };
33329
33330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
33331 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33332 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33333 {
33334 arg2 = &temp2;
33335 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
33336 }
33337 {
33338 PyThreadState* __tstate = wxPyBeginAllowThreads();
33339 (arg1)->SetPosition((wxPoint const &)*arg2);
33340
33341 wxPyEndAllowThreads(__tstate);
33342 if (PyErr_Occurred()) SWIG_fail;
33343 }
33344 Py_INCREF(Py_None); resultobj = Py_None;
33345 return resultobj;
33346 fail:
33347 return NULL;
33348}
33349
33350
c32bde28 33351static PyObject *_wrap_HelpEvent_GetLink(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33352 PyObject *resultobj;
33353 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33354 wxString *result;
33355 PyObject * obj0 = 0 ;
33356 char *kwnames[] = {
33357 (char *) "self", NULL
33358 };
33359
33360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) goto fail;
093d3ff1
RD
33361 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33362 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33363 {
33364 PyThreadState* __tstate = wxPyBeginAllowThreads();
33365 {
33366 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
33367 result = (wxString *) &_result_ref;
33368 }
33369
33370 wxPyEndAllowThreads(__tstate);
33371 if (PyErr_Occurred()) SWIG_fail;
33372 }
33373 {
33374#if wxUSE_UNICODE
33375 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
33376#else
33377 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
33378#endif
33379 }
33380 return resultobj;
33381 fail:
33382 return NULL;
33383}
33384
33385
c32bde28 33386static PyObject *_wrap_HelpEvent_SetLink(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33387 PyObject *resultobj;
33388 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33389 wxString *arg2 = 0 ;
ae8162c8 33390 bool temp2 = false ;
d55e5bfc
RD
33391 PyObject * obj0 = 0 ;
33392 PyObject * obj1 = 0 ;
33393 char *kwnames[] = {
33394 (char *) "self",(char *) "link", NULL
33395 };
33396
33397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
33398 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33399 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33400 {
33401 arg2 = wxString_in_helper(obj1);
33402 if (arg2 == NULL) SWIG_fail;
ae8162c8 33403 temp2 = true;
d55e5bfc
RD
33404 }
33405 {
33406 PyThreadState* __tstate = wxPyBeginAllowThreads();
33407 (arg1)->SetLink((wxString const &)*arg2);
33408
33409 wxPyEndAllowThreads(__tstate);
33410 if (PyErr_Occurred()) SWIG_fail;
33411 }
33412 Py_INCREF(Py_None); resultobj = Py_None;
33413 {
33414 if (temp2)
33415 delete arg2;
33416 }
33417 return resultobj;
33418 fail:
33419 {
33420 if (temp2)
33421 delete arg2;
33422 }
33423 return NULL;
33424}
33425
33426
c32bde28 33427static PyObject *_wrap_HelpEvent_GetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33428 PyObject *resultobj;
33429 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33430 wxString *result;
33431 PyObject * obj0 = 0 ;
33432 char *kwnames[] = {
33433 (char *) "self", NULL
33434 };
33435
33436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) goto fail;
093d3ff1
RD
33437 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33438 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33439 {
33440 PyThreadState* __tstate = wxPyBeginAllowThreads();
33441 {
33442 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
33443 result = (wxString *) &_result_ref;
33444 }
33445
33446 wxPyEndAllowThreads(__tstate);
33447 if (PyErr_Occurred()) SWIG_fail;
33448 }
33449 {
33450#if wxUSE_UNICODE
33451 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
33452#else
33453 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
33454#endif
33455 }
33456 return resultobj;
33457 fail:
33458 return NULL;
33459}
33460
33461
c32bde28 33462static PyObject *_wrap_HelpEvent_SetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33463 PyObject *resultobj;
33464 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33465 wxString *arg2 = 0 ;
ae8162c8 33466 bool temp2 = false ;
d55e5bfc
RD
33467 PyObject * obj0 = 0 ;
33468 PyObject * obj1 = 0 ;
33469 char *kwnames[] = {
33470 (char *) "self",(char *) "target", NULL
33471 };
33472
33473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
33474 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33475 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33476 {
33477 arg2 = wxString_in_helper(obj1);
33478 if (arg2 == NULL) SWIG_fail;
ae8162c8 33479 temp2 = true;
d55e5bfc
RD
33480 }
33481 {
33482 PyThreadState* __tstate = wxPyBeginAllowThreads();
33483 (arg1)->SetTarget((wxString const &)*arg2);
33484
33485 wxPyEndAllowThreads(__tstate);
33486 if (PyErr_Occurred()) SWIG_fail;
33487 }
33488 Py_INCREF(Py_None); resultobj = Py_None;
33489 {
33490 if (temp2)
33491 delete arg2;
33492 }
33493 return resultobj;
33494 fail:
33495 {
33496 if (temp2)
33497 delete arg2;
33498 }
33499 return NULL;
33500}
33501
33502
c32bde28 33503static PyObject * HelpEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
33504 PyObject *obj;
33505 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33506 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
33507 Py_INCREF(obj);
33508 return Py_BuildValue((char *)"");
33509}
c32bde28 33510static PyObject *_wrap_new_ContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33511 PyObject *resultobj;
33512 wxWindow *arg1 = (wxWindow *) NULL ;
ae8162c8 33513 bool arg2 = (bool) true ;
d55e5bfc
RD
33514 wxContextHelp *result;
33515 PyObject * obj0 = 0 ;
33516 PyObject * obj1 = 0 ;
33517 char *kwnames[] = {
33518 (char *) "window",(char *) "doNow", NULL
33519 };
33520
33521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
33522 if (obj0) {
093d3ff1
RD
33523 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33524 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33525 }
33526 if (obj1) {
093d3ff1
RD
33527 {
33528 arg2 = (bool)(SWIG_As_bool(obj1));
33529 if (SWIG_arg_fail(2)) SWIG_fail;
33530 }
d55e5bfc
RD
33531 }
33532 {
0439c23b 33533 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
33534 PyThreadState* __tstate = wxPyBeginAllowThreads();
33535 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
33536
33537 wxPyEndAllowThreads(__tstate);
110da5b0 33538 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
33539 }
33540 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelp, 1);
33541 return resultobj;
33542 fail:
33543 return NULL;
33544}
33545
33546
c32bde28 33547static PyObject *_wrap_delete_ContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33548 PyObject *resultobj;
33549 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
33550 PyObject * obj0 = 0 ;
33551 char *kwnames[] = {
33552 (char *) "self", NULL
33553 };
33554
33555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
093d3ff1
RD
33556 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextHelp, SWIG_POINTER_EXCEPTION | 0);
33557 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33558 {
33559 PyThreadState* __tstate = wxPyBeginAllowThreads();
33560 delete arg1;
33561
33562 wxPyEndAllowThreads(__tstate);
33563 if (PyErr_Occurred()) SWIG_fail;
33564 }
33565 Py_INCREF(Py_None); resultobj = Py_None;
33566 return resultobj;
33567 fail:
33568 return NULL;
33569}
33570
33571
c32bde28 33572static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33573 PyObject *resultobj;
33574 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
33575 wxWindow *arg2 = (wxWindow *) NULL ;
33576 bool result;
33577 PyObject * obj0 = 0 ;
33578 PyObject * obj1 = 0 ;
33579 char *kwnames[] = {
33580 (char *) "self",(char *) "window", NULL
33581 };
33582
33583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
33584 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextHelp, SWIG_POINTER_EXCEPTION | 0);
33585 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 33586 if (obj1) {
093d3ff1
RD
33587 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33588 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
33589 }
33590 {
33591 PyThreadState* __tstate = wxPyBeginAllowThreads();
33592 result = (bool)(arg1)->BeginContextHelp(arg2);
33593
33594 wxPyEndAllowThreads(__tstate);
33595 if (PyErr_Occurred()) SWIG_fail;
33596 }
33597 {
33598 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33599 }
33600 return resultobj;
33601 fail:
33602 return NULL;
33603}
33604
33605
c32bde28 33606static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33607 PyObject *resultobj;
33608 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
33609 bool result;
33610 PyObject * obj0 = 0 ;
33611 char *kwnames[] = {
33612 (char *) "self", NULL
33613 };
33614
33615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
093d3ff1
RD
33616 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextHelp, SWIG_POINTER_EXCEPTION | 0);
33617 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33618 {
33619 PyThreadState* __tstate = wxPyBeginAllowThreads();
33620 result = (bool)(arg1)->EndContextHelp();
33621
33622 wxPyEndAllowThreads(__tstate);
33623 if (PyErr_Occurred()) SWIG_fail;
33624 }
33625 {
33626 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33627 }
33628 return resultobj;
33629 fail:
33630 return NULL;
33631}
33632
33633
c32bde28 33634static PyObject * ContextHelp_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
33635 PyObject *obj;
33636 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33637 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
33638 Py_INCREF(obj);
33639 return Py_BuildValue((char *)"");
33640}
c32bde28 33641static PyObject *_wrap_new_ContextHelpButton(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33642 PyObject *resultobj;
33643 wxWindow *arg1 = (wxWindow *) 0 ;
33644 int arg2 = (int) wxID_CONTEXT_HELP ;
33645 wxPoint const &arg3_defvalue = wxDefaultPosition ;
33646 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
33647 wxSize const &arg4_defvalue = wxDefaultSize ;
33648 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
33649 long arg5 = (long) wxBU_AUTODRAW ;
33650 wxContextHelpButton *result;
33651 wxPoint temp3 ;
33652 wxSize temp4 ;
33653 PyObject * obj0 = 0 ;
33654 PyObject * obj1 = 0 ;
33655 PyObject * obj2 = 0 ;
33656 PyObject * obj3 = 0 ;
33657 PyObject * obj4 = 0 ;
33658 char *kwnames[] = {
33659 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
33660 };
33661
33662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ContextHelpButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
33663 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33664 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 33665 if (obj1) {
093d3ff1
RD
33666 {
33667 arg2 = (int)(SWIG_As_int(obj1));
33668 if (SWIG_arg_fail(2)) SWIG_fail;
33669 }
d55e5bfc
RD
33670 }
33671 if (obj2) {
33672 {
33673 arg3 = &temp3;
33674 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
33675 }
33676 }
33677 if (obj3) {
33678 {
33679 arg4 = &temp4;
33680 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
33681 }
33682 }
33683 if (obj4) {
093d3ff1
RD
33684 {
33685 arg5 = (long)(SWIG_As_long(obj4));
33686 if (SWIG_arg_fail(5)) SWIG_fail;
33687 }
d55e5bfc
RD
33688 }
33689 {
0439c23b 33690 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
33691 PyThreadState* __tstate = wxPyBeginAllowThreads();
33692 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
33693
33694 wxPyEndAllowThreads(__tstate);
110da5b0 33695 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
33696 }
33697 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelpButton, 1);
33698 return resultobj;
33699 fail:
33700 return NULL;
33701}
33702
33703
c32bde28 33704static PyObject * ContextHelpButton_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
33705 PyObject *obj;
33706 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33707 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
33708 Py_INCREF(obj);
33709 return Py_BuildValue((char *)"");
33710}
c32bde28 33711static PyObject *_wrap_HelpProvider_Set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33712 PyObject *resultobj;
33713 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33714 wxHelpProvider *result;
33715 PyObject * obj0 = 0 ;
33716 char *kwnames[] = {
33717 (char *) "helpProvider", NULL
33718 };
33719
33720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
093d3ff1
RD
33721 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33722 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33723 {
33724 PyThreadState* __tstate = wxPyBeginAllowThreads();
33725 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
33726
33727 wxPyEndAllowThreads(__tstate);
33728 if (PyErr_Occurred()) SWIG_fail;
33729 }
33730 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
33731 return resultobj;
33732 fail:
33733 return NULL;
33734}
33735
33736
c32bde28 33737static PyObject *_wrap_HelpProvider_Get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33738 PyObject *resultobj;
33739 wxHelpProvider *result;
33740 char *kwnames[] = {
33741 NULL
33742 };
33743
33744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
33745 {
33746 PyThreadState* __tstate = wxPyBeginAllowThreads();
33747 result = (wxHelpProvider *)wxHelpProvider::Get();
33748
33749 wxPyEndAllowThreads(__tstate);
33750 if (PyErr_Occurred()) SWIG_fail;
33751 }
33752 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
33753 return resultobj;
33754 fail:
33755 return NULL;
33756}
33757
33758
c32bde28 33759static PyObject *_wrap_HelpProvider_GetHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33760 PyObject *resultobj;
33761 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33762 wxWindow *arg2 = (wxWindow *) 0 ;
33763 wxString result;
33764 PyObject * obj0 = 0 ;
33765 PyObject * obj1 = 0 ;
33766 char *kwnames[] = {
33767 (char *) "self",(char *) "window", NULL
33768 };
33769
33770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
33771 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33772 if (SWIG_arg_fail(1)) SWIG_fail;
33773 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33774 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
33775 {
33776 PyThreadState* __tstate = wxPyBeginAllowThreads();
33777 result = (arg1)->GetHelp((wxWindow const *)arg2);
33778
33779 wxPyEndAllowThreads(__tstate);
33780 if (PyErr_Occurred()) SWIG_fail;
33781 }
33782 {
33783#if wxUSE_UNICODE
33784 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
33785#else
33786 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
33787#endif
33788 }
33789 return resultobj;
33790 fail:
33791 return NULL;
33792}
33793
33794
c32bde28 33795static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33796 PyObject *resultobj;
33797 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33798 wxWindow *arg2 = (wxWindow *) 0 ;
33799 bool result;
33800 PyObject * obj0 = 0 ;
33801 PyObject * obj1 = 0 ;
33802 char *kwnames[] = {
33803 (char *) "self",(char *) "window", NULL
33804 };
33805
33806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
33807 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33808 if (SWIG_arg_fail(1)) SWIG_fail;
33809 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33810 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
33811 {
33812 PyThreadState* __tstate = wxPyBeginAllowThreads();
33813 result = (bool)(arg1)->ShowHelp(arg2);
33814
33815 wxPyEndAllowThreads(__tstate);
33816 if (PyErr_Occurred()) SWIG_fail;
33817 }
33818 {
33819 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33820 }
33821 return resultobj;
33822 fail:
33823 return NULL;
33824}
33825
33826
c32bde28 33827static PyObject *_wrap_HelpProvider_AddHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33828 PyObject *resultobj;
33829 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33830 wxWindow *arg2 = (wxWindow *) 0 ;
33831 wxString *arg3 = 0 ;
ae8162c8 33832 bool temp3 = false ;
d55e5bfc
RD
33833 PyObject * obj0 = 0 ;
33834 PyObject * obj1 = 0 ;
33835 PyObject * obj2 = 0 ;
33836 char *kwnames[] = {
33837 (char *) "self",(char *) "window",(char *) "text", NULL
33838 };
33839
33840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
33841 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33842 if (SWIG_arg_fail(1)) SWIG_fail;
33843 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33844 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
33845 {
33846 arg3 = wxString_in_helper(obj2);
33847 if (arg3 == NULL) SWIG_fail;
ae8162c8 33848 temp3 = true;
d55e5bfc
RD
33849 }
33850 {
33851 PyThreadState* __tstate = wxPyBeginAllowThreads();
33852 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
33853
33854 wxPyEndAllowThreads(__tstate);
33855 if (PyErr_Occurred()) SWIG_fail;
33856 }
33857 Py_INCREF(Py_None); resultobj = Py_None;
33858 {
33859 if (temp3)
33860 delete arg3;
33861 }
33862 return resultobj;
33863 fail:
33864 {
33865 if (temp3)
33866 delete arg3;
33867 }
33868 return NULL;
33869}
33870
33871
c32bde28 33872static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33873 PyObject *resultobj;
33874 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33875 int arg2 ;
33876 wxString *arg3 = 0 ;
ae8162c8 33877 bool temp3 = false ;
d55e5bfc
RD
33878 PyObject * obj0 = 0 ;
33879 PyObject * obj1 = 0 ;
33880 PyObject * obj2 = 0 ;
33881 char *kwnames[] = {
33882 (char *) "self",(char *) "id",(char *) "text", NULL
33883 };
33884
33885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelpById",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
33886 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33887 if (SWIG_arg_fail(1)) SWIG_fail;
33888 {
33889 arg2 = (int)(SWIG_As_int(obj1));
33890 if (SWIG_arg_fail(2)) SWIG_fail;
33891 }
d55e5bfc
RD
33892 {
33893 arg3 = wxString_in_helper(obj2);
33894 if (arg3 == NULL) SWIG_fail;
ae8162c8 33895 temp3 = true;
d55e5bfc
RD
33896 }
33897 {
33898 PyThreadState* __tstate = wxPyBeginAllowThreads();
33899 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
33900
33901 wxPyEndAllowThreads(__tstate);
33902 if (PyErr_Occurred()) SWIG_fail;
33903 }
33904 Py_INCREF(Py_None); resultobj = Py_None;
33905 {
33906 if (temp3)
33907 delete arg3;
33908 }
33909 return resultobj;
33910 fail:
33911 {
33912 if (temp3)
33913 delete arg3;
33914 }
33915 return NULL;
33916}
33917
33918
c32bde28 33919static PyObject *_wrap_HelpProvider_RemoveHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33920 PyObject *resultobj;
33921 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33922 wxWindow *arg2 = (wxWindow *) 0 ;
33923 PyObject * obj0 = 0 ;
33924 PyObject * obj1 = 0 ;
33925 char *kwnames[] = {
33926 (char *) "self",(char *) "window", NULL
33927 };
33928
33929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_RemoveHelp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
33930 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33931 if (SWIG_arg_fail(1)) SWIG_fail;
33932 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33933 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
33934 {
33935 PyThreadState* __tstate = wxPyBeginAllowThreads();
33936 (arg1)->RemoveHelp(arg2);
33937
33938 wxPyEndAllowThreads(__tstate);
33939 if (PyErr_Occurred()) SWIG_fail;
33940 }
33941 Py_INCREF(Py_None); resultobj = Py_None;
33942 return resultobj;
33943 fail:
33944 return NULL;
33945}
33946
33947
c32bde28 33948static PyObject *_wrap_HelpProvider_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33949 PyObject *resultobj;
33950 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33951 PyObject * obj0 = 0 ;
33952 char *kwnames[] = {
33953 (char *) "self", NULL
33954 };
33955
33956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
093d3ff1
RD
33957 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33958 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33959 {
33960 PyThreadState* __tstate = wxPyBeginAllowThreads();
33961 wxHelpProvider_Destroy(arg1);
33962
33963 wxPyEndAllowThreads(__tstate);
33964 if (PyErr_Occurred()) SWIG_fail;
33965 }
33966 Py_INCREF(Py_None); resultobj = Py_None;
33967 return resultobj;
33968 fail:
33969 return NULL;
33970}
33971
33972
c32bde28 33973static PyObject * HelpProvider_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
33974 PyObject *obj;
33975 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33976 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
33977 Py_INCREF(obj);
33978 return Py_BuildValue((char *)"");
33979}
c32bde28 33980static PyObject *_wrap_new_SimpleHelpProvider(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33981 PyObject *resultobj;
33982 wxSimpleHelpProvider *result;
33983 char *kwnames[] = {
33984 NULL
33985 };
33986
33987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
33988 {
33989 PyThreadState* __tstate = wxPyBeginAllowThreads();
33990 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
33991
33992 wxPyEndAllowThreads(__tstate);
33993 if (PyErr_Occurred()) SWIG_fail;
33994 }
33995 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSimpleHelpProvider, 1);
33996 return resultobj;
33997 fail:
33998 return NULL;
33999}
34000
34001
c32bde28 34002static PyObject * SimpleHelpProvider_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
34003 PyObject *obj;
34004 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34005 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
34006 Py_INCREF(obj);
34007 return Py_BuildValue((char *)"");
34008}
c32bde28 34009static PyObject *_wrap_new_DragImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34010 PyObject *resultobj;
34011 wxBitmap *arg1 = 0 ;
34012 wxCursor const &arg2_defvalue = wxNullCursor ;
34013 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
34014 wxGenericDragImage *result;
34015 PyObject * obj0 = 0 ;
34016 PyObject * obj1 = 0 ;
34017 char *kwnames[] = {
34018 (char *) "image",(char *) "cursor", NULL
34019 };
34020
34021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
34022 {
34023 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
34024 if (SWIG_arg_fail(1)) SWIG_fail;
34025 if (arg1 == NULL) {
34026 SWIG_null_ref("wxBitmap");
34027 }
34028 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34029 }
34030 if (obj1) {
093d3ff1
RD
34031 {
34032 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
34033 if (SWIG_arg_fail(2)) SWIG_fail;
34034 if (arg2 == NULL) {
34035 SWIG_null_ref("wxCursor");
34036 }
34037 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
34038 }
34039 }
34040 {
0439c23b 34041 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
34042 PyThreadState* __tstate = wxPyBeginAllowThreads();
34043 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
34044
34045 wxPyEndAllowThreads(__tstate);
110da5b0 34046 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
34047 }
34048 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
34049 return resultobj;
34050 fail:
34051 return NULL;
34052}
34053
34054
c32bde28 34055static PyObject *_wrap_new_DragIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34056 PyObject *resultobj;
34057 wxIcon *arg1 = 0 ;
34058 wxCursor const &arg2_defvalue = wxNullCursor ;
34059 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
34060 wxGenericDragImage *result;
34061 PyObject * obj0 = 0 ;
34062 PyObject * obj1 = 0 ;
34063 char *kwnames[] = {
34064 (char *) "image",(char *) "cursor", NULL
34065 };
34066
34067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
34068 {
34069 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
34070 if (SWIG_arg_fail(1)) SWIG_fail;
34071 if (arg1 == NULL) {
34072 SWIG_null_ref("wxIcon");
34073 }
34074 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34075 }
34076 if (obj1) {
093d3ff1
RD
34077 {
34078 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
34079 if (SWIG_arg_fail(2)) SWIG_fail;
34080 if (arg2 == NULL) {
34081 SWIG_null_ref("wxCursor");
34082 }
34083 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
34084 }
34085 }
34086 {
0439c23b 34087 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
34088 PyThreadState* __tstate = wxPyBeginAllowThreads();
34089 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
34090
34091 wxPyEndAllowThreads(__tstate);
110da5b0 34092 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
34093 }
34094 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
34095 return resultobj;
34096 fail:
34097 return NULL;
34098}
34099
34100
c32bde28 34101static PyObject *_wrap_new_DragString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34102 PyObject *resultobj;
34103 wxString *arg1 = 0 ;
34104 wxCursor const &arg2_defvalue = wxNullCursor ;
34105 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
34106 wxGenericDragImage *result;
ae8162c8 34107 bool temp1 = false ;
d55e5bfc
RD
34108 PyObject * obj0 = 0 ;
34109 PyObject * obj1 = 0 ;
34110 char *kwnames[] = {
34111 (char *) "str",(char *) "cursor", NULL
34112 };
34113
34114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail;
34115 {
34116 arg1 = wxString_in_helper(obj0);
34117 if (arg1 == NULL) SWIG_fail;
ae8162c8 34118 temp1 = true;
d55e5bfc
RD
34119 }
34120 if (obj1) {
093d3ff1
RD
34121 {
34122 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
34123 if (SWIG_arg_fail(2)) SWIG_fail;
34124 if (arg2 == NULL) {
34125 SWIG_null_ref("wxCursor");
34126 }
34127 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
34128 }
34129 }
34130 {
0439c23b 34131 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
34132 PyThreadState* __tstate = wxPyBeginAllowThreads();
34133 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
34134
34135 wxPyEndAllowThreads(__tstate);
110da5b0 34136 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
34137 }
34138 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
34139 {
34140 if (temp1)
34141 delete arg1;
34142 }
34143 return resultobj;
34144 fail:
34145 {
34146 if (temp1)
34147 delete arg1;
34148 }
34149 return NULL;
34150}
34151
34152
c32bde28 34153static PyObject *_wrap_new_DragTreeItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34154 PyObject *resultobj;
34155 wxPyTreeCtrl *arg1 = 0 ;
34156 wxTreeItemId *arg2 = 0 ;
34157 wxGenericDragImage *result;
34158 PyObject * obj0 = 0 ;
34159 PyObject * obj1 = 0 ;
34160 char *kwnames[] = {
34161 (char *) "treeCtrl",(char *) "id", NULL
34162 };
34163
34164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
34165 {
34166 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
34167 if (SWIG_arg_fail(1)) SWIG_fail;
34168 if (arg1 == NULL) {
34169 SWIG_null_ref("wxPyTreeCtrl");
34170 }
34171 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 34172 }
093d3ff1
RD
34173 {
34174 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
34175 if (SWIG_arg_fail(2)) SWIG_fail;
34176 if (arg2 == NULL) {
34177 SWIG_null_ref("wxTreeItemId");
34178 }
34179 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
34180 }
34181 {
0439c23b 34182 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
34183 PyThreadState* __tstate = wxPyBeginAllowThreads();
34184 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
34185
34186 wxPyEndAllowThreads(__tstate);
110da5b0 34187 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
34188 }
34189 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
34190 return resultobj;
34191 fail:
34192 return NULL;
34193}
34194
34195
c32bde28 34196static PyObject *_wrap_new_DragListItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34197 PyObject *resultobj;
34198 wxPyListCtrl *arg1 = 0 ;
34199 long arg2 ;
34200 wxGenericDragImage *result;
34201 PyObject * obj0 = 0 ;
34202 PyObject * obj1 = 0 ;
34203 char *kwnames[] = {
34204 (char *) "listCtrl",(char *) "id", NULL
34205 };
34206
34207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragListItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
34208 {
34209 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
34210 if (SWIG_arg_fail(1)) SWIG_fail;
34211 if (arg1 == NULL) {
34212 SWIG_null_ref("wxPyListCtrl");
34213 }
34214 if (SWIG_arg_fail(1)) SWIG_fail;
34215 }
34216 {
34217 arg2 = (long)(SWIG_As_long(obj1));
34218 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 34219 }
d55e5bfc 34220 {
0439c23b 34221 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
34222 PyThreadState* __tstate = wxPyBeginAllowThreads();
34223 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
34224
34225 wxPyEndAllowThreads(__tstate);
110da5b0 34226 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
34227 }
34228 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
34229 return resultobj;
34230 fail:
34231 return NULL;
34232}
34233
34234
c32bde28 34235static PyObject *_wrap_delete_DragImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34236 PyObject *resultobj;
34237 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34238 PyObject * obj0 = 0 ;
34239 char *kwnames[] = {
34240 (char *) "self", NULL
34241 };
34242
34243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail;
093d3ff1
RD
34244 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34245 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34246 {
34247 PyThreadState* __tstate = wxPyBeginAllowThreads();
34248 delete arg1;
34249
34250 wxPyEndAllowThreads(__tstate);
34251 if (PyErr_Occurred()) SWIG_fail;
34252 }
34253 Py_INCREF(Py_None); resultobj = Py_None;
34254 return resultobj;
34255 fail:
34256 return NULL;
34257}
34258
34259
c32bde28 34260static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34261 PyObject *resultobj;
34262 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34263 wxBitmap *arg2 = (wxBitmap *) 0 ;
34264 PyObject * obj0 = 0 ;
34265 PyObject * obj1 = 0 ;
34266 char *kwnames[] = {
34267 (char *) "self",(char *) "bitmap", NULL
34268 };
34269
34270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
34271 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34272 if (SWIG_arg_fail(1)) SWIG_fail;
34273 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
34274 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
34275 {
34276 PyThreadState* __tstate = wxPyBeginAllowThreads();
34277 (arg1)->SetBackingBitmap(arg2);
34278
34279 wxPyEndAllowThreads(__tstate);
34280 if (PyErr_Occurred()) SWIG_fail;
34281 }
34282 Py_INCREF(Py_None); resultobj = Py_None;
34283 return resultobj;
34284 fail:
34285 return NULL;
34286}
34287
34288
c32bde28 34289static PyObject *_wrap_DragImage_BeginDrag(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34290 PyObject *resultobj;
34291 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34292 wxPoint *arg2 = 0 ;
34293 wxWindow *arg3 = (wxWindow *) 0 ;
ae8162c8 34294 bool arg4 = (bool) false ;
d55e5bfc
RD
34295 wxRect *arg5 = (wxRect *) NULL ;
34296 bool result;
34297 wxPoint temp2 ;
34298 PyObject * obj0 = 0 ;
34299 PyObject * obj1 = 0 ;
34300 PyObject * obj2 = 0 ;
34301 PyObject * obj3 = 0 ;
34302 PyObject * obj4 = 0 ;
34303 char *kwnames[] = {
34304 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
34305 };
34306
34307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
34308 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34309 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34310 {
34311 arg2 = &temp2;
34312 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34313 }
093d3ff1
RD
34314 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34315 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc 34316 if (obj3) {
093d3ff1
RD
34317 {
34318 arg4 = (bool)(SWIG_As_bool(obj3));
34319 if (SWIG_arg_fail(4)) SWIG_fail;
34320 }
d55e5bfc
RD
34321 }
34322 if (obj4) {
093d3ff1
RD
34323 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
34324 if (SWIG_arg_fail(5)) SWIG_fail;
d55e5bfc
RD
34325 }
34326 {
34327 PyThreadState* __tstate = wxPyBeginAllowThreads();
34328 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
34329
34330 wxPyEndAllowThreads(__tstate);
34331 if (PyErr_Occurred()) SWIG_fail;
34332 }
34333 {
34334 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34335 }
34336 return resultobj;
34337 fail:
34338 return NULL;
34339}
34340
34341
c32bde28 34342static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34343 PyObject *resultobj;
34344 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34345 wxPoint *arg2 = 0 ;
34346 wxWindow *arg3 = (wxWindow *) 0 ;
34347 wxWindow *arg4 = (wxWindow *) 0 ;
34348 bool result;
34349 wxPoint temp2 ;
34350 PyObject * obj0 = 0 ;
34351 PyObject * obj1 = 0 ;
34352 PyObject * obj2 = 0 ;
34353 PyObject * obj3 = 0 ;
34354 char *kwnames[] = {
34355 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
34356 };
34357
34358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
34359 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34360 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34361 {
34362 arg2 = &temp2;
34363 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34364 }
093d3ff1
RD
34365 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34366 if (SWIG_arg_fail(3)) SWIG_fail;
34367 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34368 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc
RD
34369 {
34370 PyThreadState* __tstate = wxPyBeginAllowThreads();
34371 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
34372
34373 wxPyEndAllowThreads(__tstate);
34374 if (PyErr_Occurred()) SWIG_fail;
34375 }
34376 {
34377 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34378 }
34379 return resultobj;
34380 fail:
34381 return NULL;
34382}
34383
34384
c32bde28 34385static PyObject *_wrap_DragImage_EndDrag(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34386 PyObject *resultobj;
34387 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34388 bool result;
34389 PyObject * obj0 = 0 ;
34390 char *kwnames[] = {
34391 (char *) "self", NULL
34392 };
34393
34394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail;
093d3ff1
RD
34395 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34396 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34397 {
34398 PyThreadState* __tstate = wxPyBeginAllowThreads();
34399 result = (bool)(arg1)->EndDrag();
34400
34401 wxPyEndAllowThreads(__tstate);
34402 if (PyErr_Occurred()) SWIG_fail;
34403 }
34404 {
34405 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34406 }
34407 return resultobj;
34408 fail:
34409 return NULL;
34410}
34411
34412
c32bde28 34413static PyObject *_wrap_DragImage_Move(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34414 PyObject *resultobj;
34415 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34416 wxPoint *arg2 = 0 ;
34417 bool result;
34418 wxPoint temp2 ;
34419 PyObject * obj0 = 0 ;
34420 PyObject * obj1 = 0 ;
34421 char *kwnames[] = {
34422 (char *) "self",(char *) "pt", NULL
34423 };
34424
34425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
34426 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34427 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34428 {
34429 arg2 = &temp2;
34430 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34431 }
34432 {
34433 PyThreadState* __tstate = wxPyBeginAllowThreads();
34434 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
34435
34436 wxPyEndAllowThreads(__tstate);
34437 if (PyErr_Occurred()) SWIG_fail;
34438 }
34439 {
34440 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34441 }
34442 return resultobj;
34443 fail:
34444 return NULL;
34445}
34446
34447
c32bde28 34448static PyObject *_wrap_DragImage_Show(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34449 PyObject *resultobj;
34450 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34451 bool result;
34452 PyObject * obj0 = 0 ;
34453 char *kwnames[] = {
34454 (char *) "self", NULL
34455 };
34456
34457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail;
093d3ff1
RD
34458 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34459 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34460 {
34461 PyThreadState* __tstate = wxPyBeginAllowThreads();
34462 result = (bool)(arg1)->Show();
34463
34464 wxPyEndAllowThreads(__tstate);
34465 if (PyErr_Occurred()) SWIG_fail;
34466 }
34467 {
34468 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34469 }
34470 return resultobj;
34471 fail:
34472 return NULL;
34473}
34474
34475
c32bde28 34476static PyObject *_wrap_DragImage_Hide(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34477 PyObject *resultobj;
34478 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34479 bool result;
34480 PyObject * obj0 = 0 ;
34481 char *kwnames[] = {
34482 (char *) "self", NULL
34483 };
34484
34485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail;
093d3ff1
RD
34486 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34487 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34488 {
34489 PyThreadState* __tstate = wxPyBeginAllowThreads();
34490 result = (bool)(arg1)->Hide();
34491
34492 wxPyEndAllowThreads(__tstate);
34493 if (PyErr_Occurred()) SWIG_fail;
34494 }
34495 {
34496 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34497 }
34498 return resultobj;
34499 fail:
34500 return NULL;
34501}
34502
34503
c32bde28 34504static PyObject *_wrap_DragImage_GetImageRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34505 PyObject *resultobj;
34506 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34507 wxPoint *arg2 = 0 ;
34508 wxRect result;
34509 wxPoint temp2 ;
34510 PyObject * obj0 = 0 ;
34511 PyObject * obj1 = 0 ;
34512 char *kwnames[] = {
34513 (char *) "self",(char *) "pos", NULL
34514 };
34515
34516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
34517 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34518 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34519 {
34520 arg2 = &temp2;
34521 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34522 }
34523 {
34524 PyThreadState* __tstate = wxPyBeginAllowThreads();
34525 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
34526
34527 wxPyEndAllowThreads(__tstate);
34528 if (PyErr_Occurred()) SWIG_fail;
34529 }
34530 {
34531 wxRect * resultptr;
093d3ff1 34532 resultptr = new wxRect((wxRect &)(result));
d55e5bfc
RD
34533 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
34534 }
34535 return resultobj;
34536 fail:
34537 return NULL;
34538}
34539
34540
c32bde28 34541static PyObject *_wrap_DragImage_DoDrawImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34542 PyObject *resultobj;
34543 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34544 wxDC *arg2 = 0 ;
34545 wxPoint *arg3 = 0 ;
34546 bool result;
34547 wxPoint temp3 ;
34548 PyObject * obj0 = 0 ;
34549 PyObject * obj1 = 0 ;
34550 PyObject * obj2 = 0 ;
34551 char *kwnames[] = {
34552 (char *) "self",(char *) "dc",(char *) "pos", NULL
34553 };
34554
34555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
34556 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34557 if (SWIG_arg_fail(1)) SWIG_fail;
34558 {
34559 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
34560 if (SWIG_arg_fail(2)) SWIG_fail;
34561 if (arg2 == NULL) {
34562 SWIG_null_ref("wxDC");
34563 }
34564 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
34565 }
34566 {
34567 arg3 = &temp3;
34568 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
34569 }
34570 {
34571 PyThreadState* __tstate = wxPyBeginAllowThreads();
34572 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
34573
34574 wxPyEndAllowThreads(__tstate);
34575 if (PyErr_Occurred()) SWIG_fail;
34576 }
34577 {
34578 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34579 }
34580 return resultobj;
34581 fail:
34582 return NULL;
34583}
34584
34585
c32bde28 34586static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34587 PyObject *resultobj;
34588 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34589 wxDC *arg2 = 0 ;
34590 wxMemoryDC *arg3 = 0 ;
34591 wxRect *arg4 = 0 ;
34592 wxRect *arg5 = 0 ;
34593 bool result;
34594 wxRect temp4 ;
34595 wxRect temp5 ;
34596 PyObject * obj0 = 0 ;
34597 PyObject * obj1 = 0 ;
34598 PyObject * obj2 = 0 ;
34599 PyObject * obj3 = 0 ;
34600 PyObject * obj4 = 0 ;
34601 char *kwnames[] = {
34602 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
34603 };
34604
34605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
34606 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34607 if (SWIG_arg_fail(1)) SWIG_fail;
34608 {
34609 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
34610 if (SWIG_arg_fail(2)) SWIG_fail;
34611 if (arg2 == NULL) {
34612 SWIG_null_ref("wxDC");
34613 }
34614 if (SWIG_arg_fail(2)) SWIG_fail;
34615 }
34616 {
34617 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxMemoryDC, SWIG_POINTER_EXCEPTION | 0);
34618 if (SWIG_arg_fail(3)) SWIG_fail;
34619 if (arg3 == NULL) {
34620 SWIG_null_ref("wxMemoryDC");
34621 }
34622 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
34623 }
34624 {
34625 arg4 = &temp4;
34626 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
34627 }
34628 {
34629 arg5 = &temp5;
34630 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
34631 }
34632 {
34633 PyThreadState* __tstate = wxPyBeginAllowThreads();
34634 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
34635
34636 wxPyEndAllowThreads(__tstate);
34637 if (PyErr_Occurred()) SWIG_fail;
34638 }
34639 {
34640 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34641 }
34642 return resultobj;
34643 fail:
34644 return NULL;
34645}
34646
34647
c32bde28 34648static PyObject *_wrap_DragImage_RedrawImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34649 PyObject *resultobj;
34650 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34651 wxPoint *arg2 = 0 ;
34652 wxPoint *arg3 = 0 ;
34653 bool arg4 ;
34654 bool arg5 ;
34655 bool result;
34656 wxPoint temp2 ;
34657 wxPoint temp3 ;
34658 PyObject * obj0 = 0 ;
34659 PyObject * obj1 = 0 ;
34660 PyObject * obj2 = 0 ;
34661 PyObject * obj3 = 0 ;
34662 PyObject * obj4 = 0 ;
34663 char *kwnames[] = {
34664 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
34665 };
34666
34667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
34668 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34669 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34670 {
34671 arg2 = &temp2;
34672 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34673 }
34674 {
34675 arg3 = &temp3;
34676 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
34677 }
093d3ff1
RD
34678 {
34679 arg4 = (bool)(SWIG_As_bool(obj3));
34680 if (SWIG_arg_fail(4)) SWIG_fail;
34681 }
34682 {
34683 arg5 = (bool)(SWIG_As_bool(obj4));
34684 if (SWIG_arg_fail(5)) SWIG_fail;
34685 }
d55e5bfc
RD
34686 {
34687 PyThreadState* __tstate = wxPyBeginAllowThreads();
34688 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
34689
34690 wxPyEndAllowThreads(__tstate);
34691 if (PyErr_Occurred()) SWIG_fail;
34692 }
34693 {
34694 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34695 }
34696 return resultobj;
34697 fail:
34698 return NULL;
34699}
34700
34701
c32bde28 34702static PyObject * DragImage_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
34703 PyObject *obj;
34704 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34705 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj);
34706 Py_INCREF(obj);
34707 return Py_BuildValue((char *)"");
34708}
34709static PyMethodDef SwigMethods[] = {
093d3ff1
RD
34710 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS, NULL},
34711 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS, NULL},
34712 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34713 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS, NULL},
34714 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
34715 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction) _wrap_Button_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34716 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS, NULL},
34717 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS, NULL},
34718 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS, NULL},
34719 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34720 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL},
34721 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL},
34722 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL},
34723 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL},
34724 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL},
34725 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL},
34726 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL},
34727 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL},
34728 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
34729 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS, NULL},
34730 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS, NULL},
34731 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS, NULL},
34732 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS, NULL},
34733 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS, NULL},
34734 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34735 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34736 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL},
34737 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34738 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS, NULL},
34739 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS, NULL},
34740 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS, NULL},
34741 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS, NULL},
34742 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction) _wrap_CheckBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34743 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS, NULL},
34744 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS, NULL},
34745 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS, NULL},
34746 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34747 { (char *)"Choice_SetSelection", (PyCFunction) _wrap_Choice_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34748 { (char *)"Choice_SetStringSelection", (PyCFunction) _wrap_Choice_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34749 { (char *)"Choice_SetString", (PyCFunction) _wrap_Choice_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
34750 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction) _wrap_Choice_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34751 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS, NULL},
34752 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS, NULL},
34753 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS, NULL},
34754 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34755 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34756 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34757 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
34758 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS, NULL},
34759 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS, NULL},
34760 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
34761 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
34762 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS, NULL},
34763 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
34764 { (char *)"ComboBox_SetSelection", (PyCFunction) _wrap_ComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34765 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS, NULL},
34766 { (char *)"ComboBox_GetMark", (PyCFunction) _wrap_ComboBox_GetMark, METH_VARARGS | METH_KEYWORDS, NULL},
34767 { (char *)"ComboBox_SetStringSelection", (PyCFunction) _wrap_ComboBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34768 { (char *)"ComboBox_SetString", (PyCFunction) _wrap_ComboBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
34769 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
34770 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS, NULL},
34771 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
34772 { (char *)"ComboBox_IsEditable", (PyCFunction) _wrap_ComboBox_IsEditable, METH_VARARGS | METH_KEYWORDS, NULL},
34773 { (char *)"ComboBox_Undo", (PyCFunction) _wrap_ComboBox_Undo, METH_VARARGS | METH_KEYWORDS, NULL},
34774 { (char *)"ComboBox_Redo", (PyCFunction) _wrap_ComboBox_Redo, METH_VARARGS | METH_KEYWORDS, NULL},
34775 { (char *)"ComboBox_SelectAll", (PyCFunction) _wrap_ComboBox_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
34776 { (char *)"ComboBox_CanCopy", (PyCFunction) _wrap_ComboBox_CanCopy, METH_VARARGS | METH_KEYWORDS, NULL},
34777 { (char *)"ComboBox_CanCut", (PyCFunction) _wrap_ComboBox_CanCut, METH_VARARGS | METH_KEYWORDS, NULL},
34778 { (char *)"ComboBox_CanPaste", (PyCFunction) _wrap_ComboBox_CanPaste, METH_VARARGS | METH_KEYWORDS, NULL},
34779 { (char *)"ComboBox_CanUndo", (PyCFunction) _wrap_ComboBox_CanUndo, METH_VARARGS | METH_KEYWORDS, NULL},
34780 { (char *)"ComboBox_CanRedo", (PyCFunction) _wrap_ComboBox_CanRedo, METH_VARARGS | METH_KEYWORDS, NULL},
34781 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ComboBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34782 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS, NULL},
34783 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS, NULL},
34784 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS, NULL},
34785 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34786 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
34787 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
34788 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34789 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34790 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
34791 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL},
34792 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL},
34793 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL},
34794 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL},
34795 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction) _wrap_Gauge_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34796 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS, NULL},
34797 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS, NULL},
34798 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS, NULL},
34799 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34800 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34801 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS, NULL},
34802 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS, NULL},
34803 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS, NULL},
34804 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34805 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
34806 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
34807 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticLine_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34808 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS, NULL},
34809 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS, NULL},
34810 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS, NULL},
34811 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34812 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticText_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34813 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS, NULL},
34814 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
34815 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
34816 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34817 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
34818 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
34819 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
34820 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBitmap_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34821 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS, NULL},
34822 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS, NULL},
34823 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS, NULL},
34824 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34825 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS, NULL},
34826 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS, NULL},
34827 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS, NULL},
34828 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
34829 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34830 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
34831 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS, NULL},
34832 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
34833 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34834 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
34835 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS, NULL},
34836 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS, NULL},
34837 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
34838 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
34839 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS, NULL},
34840 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction) _wrap_ListBox_SetItemForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
34841 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction) _wrap_ListBox_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
34842 { (char *)"ListBox_SetItemFont", (PyCFunction) _wrap_ListBox_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
34843 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ListBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34844 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS, NULL},
34845 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS, NULL},
34846 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS, NULL},
34847 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34848 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL},
34849 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS, NULL},
34850 { (char *)"CheckListBox_GetItemHeight", (PyCFunction) _wrap_CheckListBox_GetItemHeight, METH_VARARGS | METH_KEYWORDS, NULL},
34851 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
34852 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
34853 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS, NULL},
34854 { (char *)"new_TextAttr", (PyCFunction) _wrap_new_TextAttr, METH_VARARGS | METH_KEYWORDS, NULL},
34855 { (char *)"delete_TextAttr", (PyCFunction) _wrap_delete_TextAttr, METH_VARARGS | METH_KEYWORDS, NULL},
34856 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS, NULL},
34857 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
34858 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
34859 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
34860 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
34861 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS, NULL},
34862 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
34863 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
34864 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
34865 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
34866 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
34867 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS, NULL},
34868 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
34869 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS, NULL},
34870 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
34871 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
34872 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL},
34873 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
34874 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
34875 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
34876 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
34877 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS, NULL},
34878 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
34879 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction) _wrap_TextAttr_GetLeftSubIndent, METH_VARARGS | METH_KEYWORDS, NULL},
34880 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
34881 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
34882 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS, NULL},
34883 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS, NULL},
34884 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS, NULL},
34885 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
34886 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
34887 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34888 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34889 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34890 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
34891 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS, NULL},
34892 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS, NULL},
34893 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS, NULL},
34894 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS, NULL},
34895 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS, NULL},
34896 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS, NULL},
34897 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS, NULL},
34898 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34899 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34900 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
34901 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
34902 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
34903 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
34904 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL},
34905 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS, NULL},
34906 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS, NULL},
34907 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS, NULL},
34908 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS, NULL},
34909 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS, NULL},
34910 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS, NULL},
34911 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
34912 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
34913 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL},
34914 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL},
34915 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS, NULL},
34916 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS, NULL},
34917 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS, NULL},
34918 { (char *)"TextCtrl_HitTest", (PyCFunction) _wrap_TextCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
34919 { (char *)"TextCtrl_HitTestPos", (PyCFunction) _wrap_TextCtrl_HitTestPos, METH_VARARGS | METH_KEYWORDS, NULL},
34920 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
34921 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS, NULL},
34922 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS, NULL},
34923 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS, NULL},
34924 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS, NULL},
34925 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS, NULL},
34926 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS, NULL},
34927 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS, NULL},
34928 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS, NULL},
34929 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS, NULL},
34930 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
34931 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS, NULL},
34932 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
34933 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS, NULL},
34934 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34935 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
34936 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
34937 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction) _wrap_TextCtrl_ShowNativeCaret, METH_VARARGS | METH_KEYWORDS, NULL},
34938 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction) _wrap_TextCtrl_HideNativeCaret, METH_VARARGS | METH_KEYWORDS, NULL},
34939 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS, NULL},
34940 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
34941 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TextCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34942 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS, NULL},
34943 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS, NULL},
34944 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS, NULL},
34945 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS, NULL},
34946 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS, NULL},
34947 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS, NULL},
34948 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
34949 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
34950 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34951 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL},
34952 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS, NULL},
34953 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
34954 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
34955 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
34956 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL},
34957 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS, NULL},
34958 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrollBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34959 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS, NULL},
34960 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS, NULL},
34961 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS, NULL},
34962 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34963 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34964 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS, NULL},
34965 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS, NULL},
34966 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34967 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS, NULL},
34968 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS, NULL},
34969 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
34970 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
34971 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34972 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS, NULL},
34973 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
34974 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
34975 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34976 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34977 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34978 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS, NULL},
34979 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
34980 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS, NULL},
34981 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS, NULL},
34982 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34983 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34984 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS, NULL},
34985 { (char *)"new_SpinEvent", (PyCFunction) _wrap_new_SpinEvent, METH_VARARGS | METH_KEYWORDS, NULL},
34986 { (char *)"SpinEvent_GetPosition", (PyCFunction) _wrap_SpinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
34987 { (char *)"SpinEvent_SetPosition", (PyCFunction) _wrap_SpinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
34988 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister, METH_VARARGS, NULL},
34989 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS, NULL},
34990 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS, NULL},
34991 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34992 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34993 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34994 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34995 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34996 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS, NULL},
34997 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS, NULL},
34998 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
34999 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
35000 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS, NULL},
35001 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS, NULL},
35002 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL},
35003 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS, NULL},
35004 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
35005 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35006 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS, NULL},
35007 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS, NULL},
35008 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS, NULL},
35009 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35010 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35011 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35012 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35013 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS, NULL},
35014 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS, NULL},
35015 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS, NULL},
35016 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35017 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35018 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35019 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35020 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS, NULL},
35021 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS, NULL},
35022 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS, NULL},
35023 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS, NULL},
35024 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS, NULL},
35025 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
35026 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS, NULL},
35027 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
35028 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL},
35029 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL},
35030 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL},
35031 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL},
35032 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS, NULL},
35033 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS, NULL},
35034 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS, NULL},
35035 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS, NULL},
35036 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS, NULL},
35037 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35038 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction) _wrap_Slider_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35039 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS, NULL},
35040 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS, NULL},
35041 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS, NULL},
35042 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35043 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35044 { (char *)"ToggleButton_GetValue", (PyCFunction) _wrap_ToggleButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35045 { (char *)"ToggleButton_SetLabel", (PyCFunction) _wrap_ToggleButton_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35046 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction) _wrap_ToggleButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35047 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS, NULL},
35048 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction) _wrap_BookCtrlBase_GetPageCount, METH_VARARGS | METH_KEYWORDS, NULL},
35049 { (char *)"BookCtrlBase_GetPage", (PyCFunction) _wrap_BookCtrlBase_GetPage, METH_VARARGS | METH_KEYWORDS, NULL},
35050 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction) _wrap_BookCtrlBase_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
35051 { (char *)"BookCtrlBase_GetSelection", (PyCFunction) _wrap_BookCtrlBase_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35052 { (char *)"BookCtrlBase_SetPageText", (PyCFunction) _wrap_BookCtrlBase_SetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
35053 { (char *)"BookCtrlBase_GetPageText", (PyCFunction) _wrap_BookCtrlBase_GetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
35054 { (char *)"BookCtrlBase_SetImageList", (PyCFunction) _wrap_BookCtrlBase_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35055 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction) _wrap_BookCtrlBase_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35056 { (char *)"BookCtrlBase_GetImageList", (PyCFunction) _wrap_BookCtrlBase_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35057 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction) _wrap_BookCtrlBase_GetPageImage, METH_VARARGS | METH_KEYWORDS, NULL},
35058 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction) _wrap_BookCtrlBase_SetPageImage, METH_VARARGS | METH_KEYWORDS, NULL},
35059 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction) _wrap_BookCtrlBase_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
35060 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrlBase_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
35061 { (char *)"BookCtrlBase_DeletePage", (PyCFunction) _wrap_BookCtrlBase_DeletePage, METH_VARARGS | METH_KEYWORDS, NULL},
35062 { (char *)"BookCtrlBase_RemovePage", (PyCFunction) _wrap_BookCtrlBase_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL},
35063 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction) _wrap_BookCtrlBase_DeleteAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
35064 { (char *)"BookCtrlBase_AddPage", (PyCFunction) _wrap_BookCtrlBase_AddPage, METH_VARARGS | METH_KEYWORDS, NULL},
35065 { (char *)"BookCtrlBase_InsertPage", (PyCFunction) _wrap_BookCtrlBase_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL},
35066 { (char *)"BookCtrlBase_SetSelection", (PyCFunction) _wrap_BookCtrlBase_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35067 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction) _wrap_BookCtrlBase_AdvanceSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35068 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction) _wrap_BookCtrlBase_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35069 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister, METH_VARARGS, NULL},
35070 { (char *)"new_BookCtrlBaseEvent", (PyCFunction) _wrap_new_BookCtrlBaseEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35071 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35072 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35073 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35074 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35075 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister, METH_VARARGS, NULL},
35076 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS, NULL},
35077 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS, NULL},
35078 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35079 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS, NULL},
35080 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS, NULL},
35081 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS, NULL},
35082 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
35083 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
35084 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction) _wrap_Notebook_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35085 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS, NULL},
35086 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35087 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS, NULL},
35088 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS, NULL},
35089 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS, NULL},
35090 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35091 { (char *)"Listbook_IsVertical", (PyCFunction) _wrap_Listbook_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35092 { (char *)"Listbook_GetListView", (PyCFunction) _wrap_Listbook_GetListView, METH_VARARGS | METH_KEYWORDS, NULL},
35093 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS, NULL},
35094 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35095 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS, NULL},
35096 { (char *)"new_Choicebook", (PyCFunction) _wrap_new_Choicebook, METH_VARARGS | METH_KEYWORDS, NULL},
35097 { (char *)"new_PreChoicebook", (PyCFunction) _wrap_new_PreChoicebook, METH_VARARGS | METH_KEYWORDS, NULL},
35098 { (char *)"Choicebook_Create", (PyCFunction) _wrap_Choicebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35099 { (char *)"Choicebook_IsVertical", (PyCFunction) _wrap_Choicebook_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35100 { (char *)"Choicebook_DeleteAllPages", (PyCFunction) _wrap_Choicebook_DeleteAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
35101 { (char *)"Choicebook_swigregister", Choicebook_swigregister, METH_VARARGS, NULL},
35102 { (char *)"new_ChoicebookEvent", (PyCFunction) _wrap_new_ChoicebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35103 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister, METH_VARARGS, NULL},
35104 { (char *)"new_BookCtrlSizer", (PyCFunction) _wrap_new_BookCtrlSizer, METH_VARARGS | METH_KEYWORDS, NULL},
35105 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction) _wrap_BookCtrlSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS, NULL},
35106 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction) _wrap_BookCtrlSizer_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL},
35107 { (char *)"BookCtrlSizer_GetControl", (PyCFunction) _wrap_BookCtrlSizer_GetControl, METH_VARARGS | METH_KEYWORDS, NULL},
35108 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister, METH_VARARGS, NULL},
35109 { (char *)"new_NotebookSizer", (PyCFunction) _wrap_new_NotebookSizer, METH_VARARGS | METH_KEYWORDS, NULL},
35110 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction) _wrap_NotebookSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS, NULL},
35111 { (char *)"NotebookSizer_CalcMin", (PyCFunction) _wrap_NotebookSizer_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL},
35112 { (char *)"NotebookSizer_GetNotebook", (PyCFunction) _wrap_NotebookSizer_GetNotebook, METH_VARARGS | METH_KEYWORDS, NULL},
35113 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister, METH_VARARGS, NULL},
35114 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
35115 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS, NULL},
35116 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
35117 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS, NULL},
35118 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS, NULL},
35119 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
35120 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35121 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS, NULL},
35122 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
35123 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS, NULL},
35124 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS, NULL},
35125 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35126 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35127 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35128 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35129 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35130 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35131 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS, NULL},
35132 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
35133 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL},
35134 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35135 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35136 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35137 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35138 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35139 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS, NULL},
35140 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS, NULL},
35141 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS, NULL},
35142 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS, NULL},
35143 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS, NULL},
35144 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS, NULL},
35145 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS, NULL},
35146 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS, NULL},
35147 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS, NULL},
35148 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS, NULL},
35149 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS, NULL},
35150 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS, NULL},
35151 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
35152 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
35153 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS, NULL},
35154 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS, NULL},
35155 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS, NULL},
35156 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS, NULL},
35157 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS, NULL},
35158 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS, NULL},
35159 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS, NULL},
35160 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL},
35161 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL},
35162 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL},
35163 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS, NULL},
35164 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS, NULL},
35165 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
35166 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35167 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35168 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35169 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35170 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
35171 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
35172 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL},
35173 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL},
35174 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS, NULL},
35175 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
35176 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL},
35177 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL},
35178 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS, NULL},
35179 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS, NULL},
35180 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS, NULL},
35181 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS, NULL},
35182 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL},
35183 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL},
35184 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS, NULL},
35185 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35186 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS, NULL},
35187 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35188 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS, NULL},
35189 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
35190 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
35191 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35192 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35193 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ToolBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35194 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS, NULL},
35195 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS, NULL},
35196 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35197 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35198 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35199 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35200 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35201 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS, NULL},
35202 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35203 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35204 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35205 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
35206 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS, NULL},
35207 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS, NULL},
35208 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS, NULL},
35209 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
35210 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35211 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS, NULL},
35212 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
35213 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35214 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS, NULL},
35215 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS, NULL},
35216 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
35217 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS, NULL},
35218 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
35219 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
35220 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
35221 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35222 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35223 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35224 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS, NULL},
35225 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
35226 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35227 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS, NULL},
35228 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS, NULL},
35229 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS, NULL},
35230 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
35231 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
35232 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
35233 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35234 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35235 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35236 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35237 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35238 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS, NULL},
35239 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS, NULL},
35240 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS, NULL},
35241 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS, NULL},
35242 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS, NULL},
35243 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS, NULL},
35244 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS, NULL},
35245 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS, NULL},
35246 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS, NULL},
35247 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS, NULL},
35248 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS, NULL},
35249 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS, NULL},
35250 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS, NULL},
35251 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS, NULL},
35252 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS, NULL},
35253 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS, NULL},
35254 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS, NULL},
35255 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS, NULL},
35256 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS, NULL},
35257 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS, NULL},
35258 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS, NULL},
35259 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35260 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS, NULL},
35261 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS, NULL},
35262 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS, NULL},
35263 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS, NULL},
35264 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS, NULL},
35265 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS, NULL},
35266 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS, NULL},
35267 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS, NULL},
35268 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS, NULL},
35269 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS, NULL},
35270 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS, NULL},
35271 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL},
35272 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS, NULL},
35273 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35274 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35275 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35276 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS, NULL},
35277 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS, NULL},
35278 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
35279 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS, NULL},
35280 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35281 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS, NULL},
35282 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS, NULL},
35283 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS, NULL},
35284 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
35285 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS, NULL},
35286 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35287 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35288 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35289 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
35290 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35291 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35292 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35293 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35294 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
35295 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
35296 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS, NULL},
35297 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS, NULL},
35298 { (char *)"ListCtrl_GetEditControl", (PyCFunction) _wrap_ListCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS, NULL},
35299 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35300 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35301 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
35302 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS, NULL},
35303 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS, NULL},
35304 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
35305 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
35306 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
35307 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35308 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35309 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35310 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS, NULL},
35311 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35312 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
35313 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL},
35314 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
35315 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
35316 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35317 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35318 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS, NULL},
35319 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35320 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS, NULL},
35321 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
35322 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35323 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35324 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35325 { (char *)"ListCtrl_InReportView", (PyCFunction) _wrap_ListCtrl_InReportView, METH_VARARGS | METH_KEYWORDS, NULL},
35326 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS, NULL},
35327 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS, NULL},
35328 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS, NULL},
35329 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS, NULL},
35330 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS, NULL},
35331 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS, NULL},
35332 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35333 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS, NULL},
35334 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS, NULL},
35335 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35336 { (char *)"ListCtrl_EndEditLabel", (PyCFunction) _wrap_ListCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35337 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35338 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS, NULL},
35339 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35340 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS, NULL},
35341 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
35342 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
35343 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
35344 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS, NULL},
35345 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
35346 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction) _wrap_ListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL},
35347 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35348 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
35349 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS, NULL},
35350 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35351 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35352 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35353 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35354 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS, NULL},
35355 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35356 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_ListCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35357 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS, NULL},
35358 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS, NULL},
35359 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS, NULL},
35360 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35361 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS, NULL},
35362 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS, NULL},
35363 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS, NULL},
35364 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35365 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35366 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35367 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
35368 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
35369 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS, NULL},
35370 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS, NULL},
35371 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS, NULL},
35372 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
35373 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
35374 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
35375 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS, NULL},
35376 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS, NULL},
35377 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS, NULL},
35378 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35379 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
35380 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
35381 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
35382 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
35383 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
35384 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS, NULL},
35385 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35386 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35387 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35388 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS, NULL},
35389 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS, NULL},
35390 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35391 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35392 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35393 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL},
35394 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35395 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35396 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35397 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS, NULL},
35398 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
35399 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
35400 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS, NULL},
35401 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35402 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35403 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35404 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
35405 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS, NULL},
35406 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35407 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35408 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
35409 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
35410 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35411 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35412 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35413 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35414 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35415 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35416 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
35417 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
35418 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35419 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
35420 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35421 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35422 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
35423 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
35424 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
35425 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35426 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
35427 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
35428 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS, NULL},
35429 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction) _wrap_TreeCtrl_SetItemDropHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
35430 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35431 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35432 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
35433 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35434 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
35435 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
35436 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35437 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS, NULL},
35438 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS, NULL},
35439 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS, NULL},
35440 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35441 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
35442 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS, NULL},
35443 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL},
35444 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS, NULL},
35445 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL},
35446 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS, NULL},
35447 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS, NULL},
35448 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS, NULL},
35449 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35450 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35451 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS, NULL},
35452 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL},
35453 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
35454 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS, NULL},
35455 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL},
35456 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS, NULL},
35457 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS, NULL},
35458 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS, NULL},
35459 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS, NULL},
35460 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS, NULL},
35461 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS, NULL},
35462 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
35463 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS, NULL},
35464 { (char *)"TreeCtrl_UnselectItem", (PyCFunction) _wrap_TreeCtrl_UnselectItem, METH_VARARGS | METH_KEYWORDS, NULL},
35465 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
35466 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS, NULL},
35467 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction) _wrap_TreeCtrl_ToggleItemSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35468 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35469 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS, NULL},
35470 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35471 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS, NULL},
35472 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction) _wrap_TreeCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35473 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS, NULL},
35474 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
35475 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
35476 { (char *)"TreeCtrl_SetState", (PyCFunction) _wrap_TreeCtrl_SetState, METH_VARARGS | METH_KEYWORDS, NULL},
35477 { (char *)"TreeCtrl_GetState", (PyCFunction) _wrap_TreeCtrl_GetState, METH_VARARGS | METH_KEYWORDS, NULL},
35478 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TreeCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35479 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS, NULL},
35480 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35481 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35482 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35483 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS, NULL},
35484 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL},
35485 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL},
35486 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS, NULL},
35487 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS, NULL},
35488 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
35489 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS, NULL},
35490 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS, NULL},
35491 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS, NULL},
35492 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS, NULL},
35493 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
35494 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
35495 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS, NULL},
35496 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35497 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35498 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS, NULL},
35499 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS, NULL},
35500 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS, NULL},
35501 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS, NULL},
35502 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35503 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35504 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35505 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS, NULL},
35506 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS, NULL},
35507 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS, NULL},
35508 { (char *)"new_PrePyControl", (PyCFunction) _wrap_new_PrePyControl, METH_VARARGS | METH_KEYWORDS, NULL},
35509 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
35510 { (char *)"PyControl_SetBestSize", (PyCFunction) _wrap_PyControl_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
35511 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction) _wrap_PyControl_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35512 { (char *)"PyControl_base_DoSetSize", (PyCFunction) _wrap_PyControl_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
35513 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction) _wrap_PyControl_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
35514 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
35515 { (char *)"PyControl_base_DoGetSize", (PyCFunction) _wrap_PyControl_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
35516 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction) _wrap_PyControl_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
35517 { (char *)"PyControl_base_DoGetPosition", (PyCFunction) _wrap_PyControl_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35518 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
35519 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction) _wrap_PyControl_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
35520 { (char *)"PyControl_base_InitDialog", (PyCFunction) _wrap_PyControl_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
35521 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction) _wrap_PyControl_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35522 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35523 { (char *)"PyControl_base_Validate", (PyCFunction) _wrap_PyControl_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
35524 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction) _wrap_PyControl_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
35525 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
35526 { (char *)"PyControl_base_GetMaxSize", (PyCFunction) _wrap_PyControl_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
35527 { (char *)"PyControl_base_AddChild", (PyCFunction) _wrap_PyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
35528 { (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
35529 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction) _wrap_PyControl_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
35530 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyControl_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL},
35531 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction) _wrap_PyControl_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35532 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS, NULL},
35533 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35534 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35535 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35536 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS, NULL},
35537 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS, NULL},
35538 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS, NULL},
35539 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS, NULL},
35540 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS, NULL},
35541 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35542 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35543 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35544 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35545 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS, NULL},
35546 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS, NULL},
35547 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS, NULL},
35548 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS, NULL},
35549 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS, NULL},
35550 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35551 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35552 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35553 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS, NULL},
35554 { (char *)"HelpProvider_RemoveHelp", (PyCFunction) _wrap_HelpProvider_RemoveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35555 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
35556 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS, NULL},
35557 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS, NULL},
35558 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS, NULL},
35559 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS, NULL},
35560 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS, NULL},
35561 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS, NULL},
35562 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS, NULL},
35563 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS, NULL},
35564 { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS, NULL},
35565 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35566 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS, NULL},
35567 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS, NULL},
35568 { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS, NULL},
35569 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS, NULL},
35570 { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS, NULL},
35571 { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS, NULL},
35572 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS, NULL},
35573 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS, NULL},
35574 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35575 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS, NULL},
35576 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS, NULL},
c32bde28 35577 { NULL, NULL, 0, NULL }
d55e5bfc
RD
35578};
35579
35580
35581/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
35582
d55e5bfc
RD
35583static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
35584 return (void *)((wxSizer *) ((wxBoxSizer *) x));
35585}
35586static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
35587 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
35588}
62d32a5f
RD
35589static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x) {
35590 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
35591}
d55e5bfc
RD
35592static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
35593 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
35594}
35595static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
35596 return (void *)((wxSizer *) ((wxGridSizer *) x));
35597}
35598static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
35599 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
35600}
35601static void *_p_wxNotebookSizerTo_p_wxSizer(void *x) {
35602 return (void *)((wxSizer *) ((wxNotebookSizer *) x));
35603}
35604static void *_p_wxPySizerTo_p_wxSizer(void *x) {
35605 return (void *)((wxSizer *) ((wxPySizer *) x));
35606}
35607static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x) {
35608 return (void *)((wxSizer *) ((wxBookCtrlSizer *) x));
35609}
35610static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
35611 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
35612}
35613static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
35614 return (void *)((wxEvent *) ((wxMenuEvent *) x));
35615}
35616static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
35617 return (void *)((wxEvent *) ((wxCloseEvent *) x));
35618}
35619static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
35620 return (void *)((wxEvent *) ((wxMouseEvent *) x));
35621}
35622static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
35623 return (void *)((wxEvent *) ((wxEraseEvent *) x));
35624}
8ac8dba0
RD
35625static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x) {
35626 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
35627}
d55e5bfc
RD
35628static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
35629 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
35630}
35631static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
35632 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
35633}
35634static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
35635 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
35636}
35637static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
35638 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
35639}
35640static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
35641 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
35642}
d55e5bfc
RD
35643static void *_p_wxPyEventTo_p_wxEvent(void *x) {
35644 return (void *)((wxEvent *) ((wxPyEvent *) x));
35645}
35646static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
35647 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
35648}
35649static void *_p_wxListEventTo_p_wxEvent(void *x) {
35650 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
35651}
35652static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
8ac8dba0 35653 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
d55e5bfc
RD
35654}
35655static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
8ac8dba0 35656 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
d55e5bfc 35657}
ae8162c8 35658static void *_p_wxChoicebookEventTo_p_wxEvent(void *x) {
8ac8dba0 35659 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
ae8162c8 35660}
d55e5bfc
RD
35661static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
35662 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
35663}
35664static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
35665 return (void *)((wxEvent *) ((wxIdleEvent *) x));
35666}
35667static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
35668 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
35669}
35670static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
35671 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
35672}
35673static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
35674 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
35675}
35676static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
35677 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
35678}
35679static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
35680 return (void *)((wxEvent *) ((wxActivateEvent *) x));
35681}
35682static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
35683 return (void *)((wxEvent *) ((wxSizeEvent *) x));
35684}
35685static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
35686 return (void *)((wxEvent *) ((wxMoveEvent *) x));
35687}
35688static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
35689 return (void *)((wxEvent *) ((wxPaintEvent *) x));
35690}
35691static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
35692 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
35693}
35694static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
35695 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
35696}
35697static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
35698 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
35699}
35700static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
35701 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
35702}
35703static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
35704 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
35705}
35706static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
35707 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
35708}
35709static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
35710 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
35711}
35712static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
35713 return (void *)((wxEvent *) ((wxFocusEvent *) x));
35714}
35715static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
35716 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
35717}
35718static void *_p_wxShowEventTo_p_wxEvent(void *x) {
35719 return (void *)((wxEvent *) ((wxShowEvent *) x));
35720}
35721static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
35722 return (void *)((wxEvent *) ((wxCommandEvent *) x));
35723}
35724static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
35725 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
35726}
35727static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
35728 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
35729}
35730static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
35731 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
35732}
35733static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
35734 return (void *)((wxEvent *) ((wxKeyEvent *) x));
35735}
35736static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
35737 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
35738}
35739static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
35740 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
35741}
35742static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
35743 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
35744}
35745static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
35746 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
35747}
35748static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
35749 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
35750}
35751static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
35752 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
35753}
35754static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
35755 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
35756}
35757static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
35758 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
35759}
35760static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
35761 return (void *)((wxPyListCtrl *) ((wxListView *) x));
35762}
8ac8dba0
RD
35763static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x) {
35764 return (void *)((wxControl *) ((wxBookCtrlBase *) x));
d55e5bfc
RD
35765}
35766static void *_p_wxToolBarTo_p_wxControl(void *x) {
35767 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
35768}
ae8162c8
RD
35769static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
35770 return (void *)((wxControl *) ((wxToggleButton *) x));
d55e5bfc 35771}
ae8162c8
RD
35772static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
35773 return (void *)((wxControl *) ((wxRadioButton *) x));
d55e5bfc 35774}
ae8162c8
RD
35775static void *_p_wxPyControlTo_p_wxControl(void *x) {
35776 return (void *)((wxControl *) ((wxPyControl *) x));
d55e5bfc 35777}
ae8162c8
RD
35778static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
35779 return (void *)((wxControl *) ((wxToolBarBase *) x));
35780}
35781static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
35782 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
d55e5bfc
RD
35783}
35784static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
35785 return (void *)((wxControl *) ((wxPyListCtrl *) x));
35786}
ae8162c8
RD
35787static void *_p_wxComboBoxTo_p_wxControl(void *x) {
35788 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
d55e5bfc 35789}
ae8162c8
RD
35790static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
35791 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
d55e5bfc
RD
35792}
35793static void *_p_wxScrollBarTo_p_wxControl(void *x) {
35794 return (void *)((wxControl *) ((wxScrollBar *) x));
35795}
ae8162c8
RD
35796static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
35797 return (void *)((wxControl *) ((wxControlWithItems *) x));
d55e5bfc
RD
35798}
35799static void *_p_wxGaugeTo_p_wxControl(void *x) {
35800 return (void *)((wxControl *) ((wxGauge *) x));
35801}
ae8162c8
RD
35802static void *_p_wxStaticLineTo_p_wxControl(void *x) {
35803 return (void *)((wxControl *) ((wxStaticLine *) x));
d55e5bfc 35804}
ae8162c8 35805static void *_p_wxChoicebookTo_p_wxControl(void *x) {
8ac8dba0 35806 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxChoicebook *) x));
d55e5bfc 35807}
ae8162c8 35808static void *_p_wxListbookTo_p_wxControl(void *x) {
8ac8dba0 35809 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxListbook *) x));
d55e5bfc 35810}
ae8162c8
RD
35811static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
35812 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
d55e5bfc 35813}
ae8162c8
RD
35814static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
35815 return (void *)((wxControl *) ((wxCheckBox *) x));
d55e5bfc
RD
35816}
35817static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
35818 return (void *)((wxControl *) ((wxRadioBox *) x));
35819}
ae8162c8
RD
35820static void *_p_wxChoiceTo_p_wxControl(void *x) {
35821 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
35822}
35823static void *_p_wxListBoxTo_p_wxControl(void *x) {
35824 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
35825}
35826static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
35827 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
35828}
35829static void *_p_wxListViewTo_p_wxControl(void *x) {
35830 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
35831}
d55e5bfc 35832static void *_p_wxNotebookTo_p_wxControl(void *x) {
8ac8dba0 35833 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxNotebook *) x));
d55e5bfc 35834}
ae8162c8
RD
35835static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
35836 return (void *)((wxControl *) ((wxStaticBitmap *) x));
d55e5bfc 35837}
ae8162c8
RD
35838static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
35839 return (void *)((wxControl *) ((wxSpinCtrl *) x));
d55e5bfc 35840}
ae8162c8
RD
35841static void *_p_wxStaticTextTo_p_wxControl(void *x) {
35842 return (void *)((wxControl *) ((wxStaticText *) x));
d55e5bfc 35843}
ae8162c8
RD
35844static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
35845 return (void *)((wxControl *) ((wxStaticBox *) x));
d55e5bfc
RD
35846}
35847static void *_p_wxSliderTo_p_wxControl(void *x) {
35848 return (void *)((wxControl *) ((wxSlider *) x));
35849}
ae8162c8
RD
35850static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
35851 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
d55e5bfc 35852}
ae8162c8
RD
35853static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
35854 return (void *)((wxControl *) ((wxSpinButton *) x));
d55e5bfc 35855}
ae8162c8
RD
35856static void *_p_wxButtonTo_p_wxControl(void *x) {
35857 return (void *)((wxControl *) ((wxButton *) x));
d55e5bfc 35858}
ae8162c8
RD
35859static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
35860 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
35861}
35862static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
35863 return (void *)((wxControl *) ((wxTextCtrl *) x));
d55e5bfc
RD
35864}
35865static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
35866 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
35867}
35868static void *_p_wxComboBoxTo_p_wxChoice(void *x) {
35869 return (void *)((wxChoice *) ((wxComboBox *) x));
35870}
35871static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
35872 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
35873}
8ac8dba0
RD
35874static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x) {
35875 return (void *)((wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
35876}
d55e5bfc
RD
35877static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
35878 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
35879}
d55e5bfc
RD
35880static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
35881 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
35882}
35883static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x) {
35884 return (void *)((wxNotifyEvent *) ((wxSpinEvent *) x));
35885}
35886static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
8ac8dba0 35887 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
d55e5bfc
RD
35888}
35889static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
8ac8dba0 35890 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
d55e5bfc 35891}
ae8162c8 35892static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x) {
8ac8dba0
RD
35893 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
35894}
35895static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x) {
35896 return (void *)((wxBookCtrlBase *) ((wxChoicebook *) x));
35897}
35898static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x) {
35899 return (void *)((wxBookCtrlBase *) ((wxListbook *) x));
ae8162c8 35900}
8ac8dba0
RD
35901static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x) {
35902 return (void *)((wxBookCtrlBase *) ((wxNotebook *) x));
d55e5bfc
RD
35903}
35904static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
35905 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
35906}
8ac8dba0
RD
35907static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x) {
35908 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
35909}
d55e5bfc
RD
35910static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
35911 return (void *)((wxEvtHandler *) ((wxValidator *) x));
35912}
35913static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
35914 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
35915}
35916static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
35917 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
35918}
35919static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
35920 return (void *)((wxEvtHandler *) ((wxMenu *) x));
35921}
35922static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
35923 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
35924}
35925static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
35926 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
35927}
35928static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
35929 return (void *)((wxEvtHandler *) ((wxWindow *) x));
35930}
35931static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
35932 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
35933}
35934static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
35935 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
35936}
d55e5bfc
RD
35937static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
35938 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
35939}
ae8162c8
RD
35940static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
35941 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
35942}
d55e5bfc
RD
35943static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
35944 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
35945}
35946static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
35947 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
35948}
35949static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
35950 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
35951}
35952static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
35953 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
35954}
35955static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
35956 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
35957}
35958static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
35959 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
35960}
35961static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
35962 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
35963}
35964static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
35965 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
35966}
ae8162c8 35967static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x) {
8ac8dba0 35968 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
ae8162c8 35969}
d55e5bfc 35970static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
8ac8dba0 35971 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
d55e5bfc
RD
35972}
35973static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
35974 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
35975}
35976static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
35977 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
35978}
35979static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
35980 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
35981}
35982static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
35983 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
35984}
35985static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
35986 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
35987}
35988static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
35989 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
35990}
35991static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
8ac8dba0 35992 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
d55e5bfc
RD
35993}
35994static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
35995 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
35996}
35997static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
35998 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
35999}
36000static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
36001 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
36002}
36003static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
36004 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
36005}
36006static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
36007 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
36008}
36009static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
36010 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
36011}
36012static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
36013 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
36014}
36015static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
36016 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
36017}
36018static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
36019 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
36020}
36021static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
36022 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
36023}
36024static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
36025 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
36026}
36027static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
36028 return (void *)((wxListBox *) ((wxCheckListBox *) x));
36029}
d55e5bfc
RD
36030static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
36031 return (void *)((wxButton *) ((wxBitmapButton *) x));
36032}
36033static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
36034 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
36035}
36036static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
36037 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
36038}
36039static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
36040 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
36041}
36042static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
36043 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
36044}
36045static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
36046 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
36047}
36048static void *_p_wxSizerItemTo_p_wxObject(void *x) {
36049 return (void *)((wxObject *) ((wxSizerItem *) x));
36050}
36051static void *_p_wxScrollEventTo_p_wxObject(void *x) {
36052 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
36053}
36054static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
36055 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
36056}
36057static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
36058 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
36059}
d55e5bfc
RD
36060static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
36061 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
36062}
36063static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
36064 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
36065}
36066static void *_p_wxSizerTo_p_wxObject(void *x) {
36067 return (void *)((wxObject *) ((wxSizer *) x));
36068}
36069static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
36070 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
36071}
36072static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
36073 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
36074}
36075static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
36076 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
36077}
36078static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
36079 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
36080}
36081static void *_p_wxEventTo_p_wxObject(void *x) {
36082 return (void *)((wxObject *) ((wxEvent *) x));
36083}
36084static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
36085 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
36086}
36087static void *_p_wxGridSizerTo_p_wxObject(void *x) {
36088 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
36089}
36090static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
36091 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
36092}
36093static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
36094 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
36095}
36096static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
36097 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
36098}
36099static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
36100 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
36101}
36102static void *_p_wxPaintEventTo_p_wxObject(void *x) {
36103 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
36104}
36105static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
36106 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
36107}
36108static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
36109 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
36110}
36111static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
36112 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
36113}
36114static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
36115 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
36116}
36117static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
36118 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
36119}
36120static void *_p_wxStaticLineTo_p_wxObject(void *x) {
36121 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
36122}
36123static void *_p_wxControlTo_p_wxObject(void *x) {
36124 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
36125}
36126static void *_p_wxPyControlTo_p_wxObject(void *x) {
36127 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
36128}
36129static void *_p_wxGaugeTo_p_wxObject(void *x) {
36130 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
36131}
36132static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
36133 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
36134}
36135static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
36136 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
36137}
36138static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
36139 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
36140}
36141static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
36142 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
36143}
36144static void *_p_wxChoiceTo_p_wxObject(void *x) {
36145 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
36146}
36147static void *_p_wxFSFileTo_p_wxObject(void *x) {
36148 return (void *)((wxObject *) ((wxFSFile *) x));
36149}
36150static void *_p_wxPySizerTo_p_wxObject(void *x) {
36151 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
36152}
36153static void *_p_wxListViewTo_p_wxObject(void *x) {
36154 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
36155}
36156static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
36157 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
36158}
36159static void *_p_wxNotebookTo_p_wxObject(void *x) {
8ac8dba0 36160 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
d55e5bfc
RD
36161}
36162static void *_p_wxPyEventTo_p_wxObject(void *x) {
36163 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
36164}
36165static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
36166 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
36167}
ae8162c8 36168static void *_p_wxChoicebookTo_p_wxObject(void *x) {
8ac8dba0 36169 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
ae8162c8 36170}
d55e5bfc 36171static void *_p_wxListbookTo_p_wxObject(void *x) {
8ac8dba0 36172 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
d55e5bfc
RD
36173}
36174static void *_p_wxShowEventTo_p_wxObject(void *x) {
36175 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
36176}
36177static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
36178 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
36179}
36180static void *_p_wxSliderTo_p_wxObject(void *x) {
36181 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
36182}
36183static void *_p_wxMenuItemTo_p_wxObject(void *x) {
36184 return (void *)((wxObject *) ((wxMenuItem *) x));
36185}
36186static void *_p_wxIdleEventTo_p_wxObject(void *x) {
36187 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
36188}
36189static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
36190 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
36191}
36192static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
36193 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
36194}
36195static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
36196 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
36197}
36198static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
36199 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
36200}
36201static void *_p_wxSizeEventTo_p_wxObject(void *x) {
36202 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
36203}
36204static void *_p_wxMoveEventTo_p_wxObject(void *x) {
36205 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
36206}
36207static void *_p_wxActivateEventTo_p_wxObject(void *x) {
36208 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
36209}
36210static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
36211 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
36212}
36213static void *_p_wxContextHelpTo_p_wxObject(void *x) {
36214 return (void *)((wxObject *) ((wxContextHelp *) x));
36215}
8ac8dba0
RD
36216static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x) {
36217 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
36218}
d55e5bfc
RD
36219static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
36220 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
36221}
36222static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
36223 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
36224}
36225static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
36226 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
36227}
36228static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
36229 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
36230}
36231static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
36232 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
36233}
36234static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
36235 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
36236}
36237static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
36238 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
36239}
36240static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
36241 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
36242}
36243static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
36244 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
36245}
36246static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
36247 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
36248}
36249static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
36250 return (void *)((wxObject *) ((wxImageHandler *) x));
36251}
36252static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
36253 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
36254}
36255static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
36256 return (void *)((wxObject *) ((wxEvtHandler *) x));
36257}
36258static void *_p_wxListEventTo_p_wxObject(void *x) {
36259 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
36260}
36261static void *_p_wxListBoxTo_p_wxObject(void *x) {
36262 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
36263}
36264static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
36265 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
36266}
d55e5bfc
RD
36267static void *_p_wxButtonTo_p_wxObject(void *x) {
36268 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
36269}
36270static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
36271 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
36272}
36273static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
36274 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
36275}
36276static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
36277 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
36278}
62d32a5f
RD
36279static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
36280 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
36281}
d55e5bfc
RD
36282static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
36283 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
36284}
36285static void *_p_wxScrollBarTo_p_wxObject(void *x) {
36286 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
36287}
36288static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
36289 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
36290}
36291static void *_p_wxComboBoxTo_p_wxObject(void *x) {
36292 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
36293}
36294static void *_p_wxHelpEventTo_p_wxObject(void *x) {
36295 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
36296}
36297static void *_p_wxListItemTo_p_wxObject(void *x) {
36298 return (void *)((wxObject *) ((wxListItem *) x));
36299}
36300static void *_p_wxImageTo_p_wxObject(void *x) {
36301 return (void *)((wxObject *) ((wxImage *) x));
36302}
36303static void *_p_wxNotebookSizerTo_p_wxObject(void *x) {
36304 return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x));
36305}
36306static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
36307 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
36308}
36309static void *_p_wxSpinEventTo_p_wxObject(void *x) {
36310 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
36311}
36312static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
36313 return (void *)((wxObject *) ((wxGenericDragImage *) x));
36314}
36315static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
36316 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
36317}
36318static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
8ac8dba0 36319 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
d55e5bfc
RD
36320}
36321static void *_p_wxListbookEventTo_p_wxObject(void *x) {
8ac8dba0 36322 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
d55e5bfc 36323}
ae8162c8 36324static void *_p_wxChoicebookEventTo_p_wxObject(void *x) {
8ac8dba0 36325 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
ae8162c8 36326}
d55e5bfc
RD
36327static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
36328 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
36329}
36330static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
36331 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
36332}
36333static void *_p_wxKeyEventTo_p_wxObject(void *x) {
36334 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
36335}
36336static void *_p_wxWindowTo_p_wxObject(void *x) {
36337 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
36338}
36339static void *_p_wxMenuTo_p_wxObject(void *x) {
36340 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
36341}
36342static void *_p_wxMenuBarTo_p_wxObject(void *x) {
36343 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
36344}
36345static void *_p_wxFileSystemTo_p_wxObject(void *x) {
36346 return (void *)((wxObject *) ((wxFileSystem *) x));
36347}
36348static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
36349 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
36350}
36351static void *_p_wxMenuEventTo_p_wxObject(void *x) {
36352 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
36353}
36354static void *_p_wxPyAppTo_p_wxObject(void *x) {
36355 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
36356}
36357static void *_p_wxCloseEventTo_p_wxObject(void *x) {
36358 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
36359}
36360static void *_p_wxMouseEventTo_p_wxObject(void *x) {
36361 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
36362}
36363static void *_p_wxEraseEventTo_p_wxObject(void *x) {
36364 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
36365}
8ac8dba0
RD
36366static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x) {
36367 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
36368}
d55e5bfc
RD
36369static void *_p_wxTreeEventTo_p_wxObject(void *x) {
36370 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
36371}
36372static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
36373 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
36374}
36375static void *_p_wxCommandEventTo_p_wxObject(void *x) {
36376 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
36377}
36378static void *_p_wxStaticTextTo_p_wxObject(void *x) {
36379 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
36380}
36381static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
36382 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
36383}
36384static void *_p_wxFocusEventTo_p_wxObject(void *x) {
36385 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
36386}
36387static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
36388 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
36389}
36390static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
36391 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
36392}
36393static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
36394 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
36395}
36396static void *_p_wxToolBarTo_p_wxObject(void *x) {
36397 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
36398}
36399static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
36400 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
36401}
36402static void *_p_wxValidatorTo_p_wxObject(void *x) {
36403 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
36404}
36405static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) {
36406 return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x));
36407}
d55e5bfc
RD
36408static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
36409 return (void *)((wxWindow *) ((wxMenuBar *) x));
36410}
8ac8dba0
RD
36411static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x) {
36412 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrlBase *) x));
36413}
d55e5bfc
RD
36414static void *_p_wxToolBarTo_p_wxWindow(void *x) {
36415 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
36416}
36417static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
36418 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
36419}
36420static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
36421 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
36422}
d55e5bfc
RD
36423static void *_p_wxControlTo_p_wxWindow(void *x) {
36424 return (void *)((wxWindow *) ((wxControl *) x));
36425}
36426static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
36427 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
36428}
36429static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
36430 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
36431}
36432static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
36433 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
36434}
36435static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
36436 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
36437}
ae8162c8
RD
36438static void *_p_wxPyControlTo_p_wxWindow(void *x) {
36439 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
36440}
d55e5bfc
RD
36441static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
36442 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
36443}
36444static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
36445 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
36446}
36447static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
36448 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
36449}
36450static void *_p_wxGaugeTo_p_wxWindow(void *x) {
36451 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
36452}
36453static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
36454 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
36455}
ae8162c8 36456static void *_p_wxChoicebookTo_p_wxWindow(void *x) {
8ac8dba0 36457 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
ae8162c8 36458}
d55e5bfc 36459static void *_p_wxListbookTo_p_wxWindow(void *x) {
8ac8dba0 36460 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
d55e5bfc
RD
36461}
36462static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
36463 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
36464}
36465static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
36466 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
36467}
36468static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
36469 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
36470}
36471static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
36472 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
36473}
36474static void *_p_wxChoiceTo_p_wxWindow(void *x) {
36475 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
36476}
36477static void *_p_wxListBoxTo_p_wxWindow(void *x) {
36478 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
36479}
36480static void *_p_wxListViewTo_p_wxWindow(void *x) {
36481 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
36482}
36483static void *_p_wxNotebookTo_p_wxWindow(void *x) {
8ac8dba0 36484 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
d55e5bfc
RD
36485}
36486static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
36487 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
36488}
36489static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
36490 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
36491}
36492static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
36493 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
36494}
36495static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
36496 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
36497}
36498static void *_p_wxSliderTo_p_wxWindow(void *x) {
36499 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
36500}
36501static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
36502 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
36503}
36504static void *_p_wxButtonTo_p_wxWindow(void *x) {
36505 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
36506}
36507static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
36508 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
36509}
36510static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
36511 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
36512}
36513static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
36514 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
36515}
8ac8dba0
RD
36516static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
36517 return (void *)((wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
36518}
36519static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x) {
36520 return (void *)((wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
36521}
36522static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
36523 return (void *)((wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
36524}
d55e5bfc
RD
36525static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
36526 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
36527}
d55e5bfc
RD
36528static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
36529 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
36530}
36531static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
36532 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
36533}
36534static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
36535 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
36536}
36537static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
36538 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
36539}
36540static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
36541 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
36542}
ae8162c8 36543static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x) {
8ac8dba0 36544 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
ae8162c8 36545}
d55e5bfc 36546static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
8ac8dba0 36547 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
d55e5bfc
RD
36548}
36549static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
8ac8dba0 36550 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
d55e5bfc 36551}
d55e5bfc
RD
36552static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
36553 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
36554}
ae8162c8
RD
36555static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
36556 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
36557}
8ac8dba0
RD
36558static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x) {
36559 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
36560}
d55e5bfc
RD
36561static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
36562 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
36563}
36564static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
36565 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
36566}
36567static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
36568 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
36569}
36570static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
36571 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
36572}
36573static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
36574 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
36575}
36576static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x) {
36577 return (void *)((wxControlWithItems *) (wxChoice *) ((wxComboBox *) x));
36578}
36579static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
36580 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
36581}
36582static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
36583 return (void *)((wxControlWithItems *) ((wxChoice *) x));
36584}
36585static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
36586 return (void *)((wxControlWithItems *) ((wxListBox *) x));
36587}
36588static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
36589 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
36590}
36591static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
36592 return (void *)((wxValidator *) ((wxPyValidator *) x));
36593}
36594static 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 36595static 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
36596static 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}};
36597static 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}};
8ac8dba0 36598static 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
36599static 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}};
36600static 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
36601static 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}};
36602static 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}};
093d3ff1 36603static 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
36604static 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}};
36605static 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}};
8ac8dba0 36606static 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
36607static 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}};
36608static 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}};
36609static 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}};
36610static 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}};
36611static 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}};
36612static 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}};
36613static swig_type_info _swigt__p_wxChoice[] = {{"_p_wxChoice", 0, "wxChoice *", 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxChoice, 0, 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}};
36614static 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}};
093d3ff1
RD
36615static 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}};
36616static 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
36617static 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}};
36618static 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}};
36619static 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}};
36620static 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}};
36621static 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}};
36622static 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}};
36623static 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}};
36624static 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}};
36625static 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}};
36626static 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}};
ae8162c8 36627static 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}};
8ac8dba0 36628static 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 36629static 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}};
093d3ff1 36630static 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
36631static 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}};
36632static 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}};
36633static 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}};
36634static 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}};
36635static 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}};
36636static 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}};
36637static 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}};
093d3ff1 36638static 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}};
8ac8dba0
RD
36639static 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}};
36640static 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
36641static 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}};
36642static 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}};
36643static 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
36644static 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}};
36645static 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}};
36646static 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}};
36647static 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}};
36648static 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}};
36649static 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}};
36650static 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}};
36651static 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 36652static 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}};
093d3ff1 36653static 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
36654static 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}};
36655static 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}};
36656static 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}};
36657static 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}};
36658static 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}};
36659static 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}};
093d3ff1 36660static 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
36661static 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}};
36662static 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}};
36663static 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}};
36664static 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}};
ae8162c8 36665static 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
36666static 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}};
36667static 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}};
093d3ff1 36668static 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 36669static 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
36670static 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}};
36671static 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}};
093d3ff1 36672static 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}};
8ac8dba0 36673static 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
36674static 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}};
36675static 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}};
093d3ff1
RD
36676static 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}};
36677static 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}};
36678static 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 36679static 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}};
8ac8dba0 36680static 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}};
093d3ff1 36681static 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}};
8ac8dba0 36682static 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
36683static 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}};
36684static swig_type_info _swigt__p_wxControlWithItems[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxControlWithItems, 0, 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}};
36685static 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}};
36686static 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}};
36687static 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}};
36688static 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}};
36689static 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}};
36690
36691static swig_type_info *swig_types_initial[] = {
36692_swigt__p_wxTextUrlEvent,
d55e5bfc
RD
36693_swigt__p_wxSizer,
36694_swigt__p_wxCheckBox,
36695_swigt__p_wxPyTreeCtrl,
36696_swigt__p_wxEvent,
36697_swigt__p_wxGenericDirCtrl,
36698_swigt__p_bool,
d55e5bfc
RD
36699_swigt__p_wxItemContainer,
36700_swigt__p_wxPyListCtrl,
093d3ff1 36701_swigt__p_wxPyTreeItemData,
d55e5bfc
RD
36702_swigt__p_wxDirFilterListCtrl,
36703_swigt__p_wxStaticLine,
36704_swigt__p_wxControl,
36705_swigt__p_wxPyControl,
36706_swigt__p_wxGauge,
36707_swigt__p_wxToolBarBase,
36708_swigt__p_wxFont,
36709_swigt__p_wxToggleButton,
36710_swigt__p_wxRadioButton,
36711_swigt__p_wxChoice,
36712_swigt__p_wxMemoryDC,
093d3ff1
RD
36713_swigt__ptrdiff_t,
36714_swigt__std__ptrdiff_t,
d55e5bfc
RD
36715_swigt__p_wxListItemAttr,
36716_swigt__p_void,
36717_swigt__p_int,
36718_swigt__p_wxSize,
36719_swigt__p_wxDC,
36720_swigt__p_wxListView,
36721_swigt__p_wxIcon,
36722_swigt__p_wxVisualAttributes,
36723_swigt__p_wxTextCtrl,
36724_swigt__p_wxNotebook,
ae8162c8 36725_swigt__p_wxChoicebook,
d55e5bfc
RD
36726_swigt__p_wxNotifyEvent,
36727_swigt__p_wxArrayString,
093d3ff1 36728_swigt__p_form_ops_t,
d55e5bfc
RD
36729_swigt__p_wxListbook,
36730_swigt__p_wxStaticBitmap,
36731_swigt__p_wxSlider,
36732_swigt__p_wxStaticBox,
36733_swigt__p_wxArrayInt,
36734_swigt__p_wxContextHelp,
36735_swigt__p_long,
093d3ff1 36736_swigt__p_wxDuplexMode,
8ac8dba0 36737_swigt__p_wxBookCtrlBase,
d55e5bfc
RD
36738_swigt__p_wxEvtHandler,
36739_swigt__p_wxListEvent,
36740_swigt__p_wxCheckListBox,
36741_swigt__p_wxListBox,
d55e5bfc
RD
36742_swigt__p_wxSpinButton,
36743_swigt__p_wxButton,
36744_swigt__p_wxBitmapButton,
36745_swigt__p_wxRect,
36746_swigt__p_wxContextHelpButton,
36747_swigt__p_wxRadioBox,
36748_swigt__p_wxScrollBar,
36749_swigt__p_char,
d55e5bfc 36750_swigt__p_wxComboBox,
093d3ff1 36751_swigt__p_wxTreeItemId,
d55e5bfc
RD
36752_swigt__p_wxHelpEvent,
36753_swigt__p_wxListItem,
36754_swigt__p_wxNotebookSizer,
36755_swigt__p_wxSpinEvent,
36756_swigt__p_wxGenericDragImage,
36757_swigt__p_wxSpinCtrl,
093d3ff1 36758_swigt__p_wxPaperSize,
d55e5bfc
RD
36759_swigt__p_wxImageList,
36760_swigt__p_wxHelpProvider,
36761_swigt__p_wxTextAttr,
36762_swigt__p_wxSimpleHelpProvider,
ae8162c8 36763_swigt__p_wxChoicebookEvent,
d55e5bfc
RD
36764_swigt__p_wxListbookEvent,
36765_swigt__p_wxNotebookEvent,
093d3ff1 36766_swigt__p_wxPoint,
d55e5bfc
RD
36767_swigt__p_wxObject,
36768_swigt__p_wxCursor,
36769_swigt__p_wxKeyEvent,
093d3ff1 36770_swigt__p_unsigned_long,
d55e5bfc
RD
36771_swigt__p_wxWindow,
36772_swigt__p_wxString,
36773_swigt__p_wxBitmap,
093d3ff1
RD
36774_swigt__unsigned_int,
36775_swigt__p_unsigned_int,
36776_swigt__p_unsigned_char,
d55e5bfc 36777_swigt__p_wxMouseEvent,
8ac8dba0 36778_swigt__p_wxBookCtrlBaseEvent,
093d3ff1 36779_swigt__p_wxTreeEvent,
d55e5bfc
RD
36780_swigt__p_wxCommandEvent,
36781_swigt__p_wxStaticText,
36782_swigt__p_wxControlWithItems,
36783_swigt__p_wxToolBarToolBase,
36784_swigt__p_wxColour,
36785_swigt__p_wxToolBar,
36786_swigt__p_wxBookCtrlSizer,
36787_swigt__p_wxValidator,
367880
36789};
36790
36791
36792/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
36793
36794static swig_const_info swig_const_table[] = {
c32bde28 36795{0, 0, 0, 0.0, 0, 0}};
d55e5bfc
RD
36796
36797#ifdef __cplusplus
36798}
36799#endif
36800
093d3ff1
RD
36801
36802#ifdef __cplusplus
36803extern "C" {
36804#endif
36805
36806 /* Python-specific SWIG API */
36807#define SWIG_newvarlink() SWIG_Python_newvarlink()
36808#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
36809#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
36810
36811 /* -----------------------------------------------------------------------------
36812 * global variable support code.
36813 * ----------------------------------------------------------------------------- */
36814
36815 typedef struct swig_globalvar {
36816 char *name; /* Name of global variable */
36817 PyObject *(*get_attr)(); /* Return the current value */
36818 int (*set_attr)(PyObject *); /* Set the value */
36819 struct swig_globalvar *next;
36820 } swig_globalvar;
36821
36822 typedef struct swig_varlinkobject {
36823 PyObject_HEAD
36824 swig_globalvar *vars;
36825 } swig_varlinkobject;
36826
36827 static PyObject *
36828 swig_varlink_repr(swig_varlinkobject *v) {
36829 v = v;
36830 return PyString_FromString("<Swig global variables>");
36831 }
36832
36833 static int
36834 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
36835 swig_globalvar *var;
36836 flags = flags;
36837 fprintf(fp,"Swig global variables { ");
36838 for (var = v->vars; var; var=var->next) {
36839 fprintf(fp,"%s", var->name);
36840 if (var->next) fprintf(fp,", ");
36841 }
36842 fprintf(fp," }\n");
36843 return 0;
36844 }
36845
36846 static PyObject *
36847 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
36848 swig_globalvar *var = v->vars;
36849 while (var) {
36850 if (strcmp(var->name,n) == 0) {
36851 return (*var->get_attr)();
36852 }
36853 var = var->next;
36854 }
36855 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
36856 return NULL;
36857 }
36858
36859 static int
36860 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
36861 swig_globalvar *var = v->vars;
36862 while (var) {
36863 if (strcmp(var->name,n) == 0) {
36864 return (*var->set_attr)(p);
36865 }
36866 var = var->next;
36867 }
36868 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
36869 return 1;
36870 }
36871
36872 static PyTypeObject varlinktype = {
36873 PyObject_HEAD_INIT(0)
36874 0, /* Number of items in variable part (ob_size) */
36875 (char *)"swigvarlink", /* Type name (tp_name) */
36876 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
36877 0, /* Itemsize (tp_itemsize) */
36878 0, /* Deallocator (tp_dealloc) */
36879 (printfunc) swig_varlink_print, /* Print (tp_print) */
36880 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
36881 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
36882 0, /* tp_compare */
36883 (reprfunc) swig_varlink_repr, /* tp_repr */
36884 0, /* tp_as_number */
36885 0, /* tp_as_sequence */
36886 0, /* tp_as_mapping */
36887 0, /* tp_hash */
36888 0, /* tp_call */
36889 0, /* tp_str */
36890 0, /* tp_getattro */
36891 0, /* tp_setattro */
36892 0, /* tp_as_buffer */
36893 0, /* tp_flags */
36894 0, /* tp_doc */
36895#if PY_VERSION_HEX >= 0x02000000
36896 0, /* tp_traverse */
36897 0, /* tp_clear */
36898#endif
36899#if PY_VERSION_HEX >= 0x02010000
36900 0, /* tp_richcompare */
36901 0, /* tp_weaklistoffset */
36902#endif
36903#if PY_VERSION_HEX >= 0x02020000
36904 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
36905#endif
36906#if PY_VERSION_HEX >= 0x02030000
36907 0, /* tp_del */
36908#endif
36909#ifdef COUNT_ALLOCS
36910 0,0,0,0 /* tp_alloc -> tp_next */
36911#endif
36912 };
36913
36914 /* Create a variable linking object for use later */
36915 static PyObject *
36916 SWIG_Python_newvarlink(void) {
36917 swig_varlinkobject *result = 0;
36918 result = PyMem_NEW(swig_varlinkobject,1);
36919 varlinktype.ob_type = &PyType_Type; /* Patch varlinktype into a PyType */
36920 result->ob_type = &varlinktype;
36921 result->vars = 0;
36922 result->ob_refcnt = 0;
36923 Py_XINCREF((PyObject *) result);
36924 return ((PyObject*) result);
36925 }
36926
36927 static void
36928 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
36929 swig_varlinkobject *v;
36930 swig_globalvar *gv;
36931 v= (swig_varlinkobject *) p;
36932 gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
36933 gv->name = (char *) malloc(strlen(name)+1);
36934 strcpy(gv->name,name);
36935 gv->get_attr = get_attr;
36936 gv->set_attr = set_attr;
36937 gv->next = v->vars;
36938 v->vars = gv;
36939 }
36940
36941 /* -----------------------------------------------------------------------------
36942 * constants/methods manipulation
36943 * ----------------------------------------------------------------------------- */
36944
36945 /* Install Constants */
36946 static void
36947 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
36948 PyObject *obj = 0;
36949 size_t i;
36950 for (i = 0; constants[i].type; i++) {
36951 switch(constants[i].type) {
36952 case SWIG_PY_INT:
36953 obj = PyInt_FromLong(constants[i].lvalue);
36954 break;
36955 case SWIG_PY_FLOAT:
36956 obj = PyFloat_FromDouble(constants[i].dvalue);
36957 break;
36958 case SWIG_PY_STRING:
36959 if (constants[i].pvalue) {
36960 obj = PyString_FromString((char *) constants[i].pvalue);
36961 } else {
36962 Py_INCREF(Py_None);
36963 obj = Py_None;
36964 }
36965 break;
36966 case SWIG_PY_POINTER:
36967 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
36968 break;
36969 case SWIG_PY_BINARY:
36970 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
36971 break;
36972 default:
36973 obj = 0;
36974 break;
36975 }
36976 if (obj) {
36977 PyDict_SetItemString(d,constants[i].name,obj);
36978 Py_DECREF(obj);
36979 }
36980 }
36981 }
36982
36983 /* -----------------------------------------------------------------------------*/
36984 /* Fix SwigMethods to carry the callback ptrs when needed */
36985 /* -----------------------------------------------------------------------------*/
36986
36987 static void
36988 SWIG_Python_FixMethods(PyMethodDef *methods,
36989 swig_const_info *const_table,
36990 swig_type_info **types,
36991 swig_type_info **types_initial) {
36992 size_t i;
36993 for (i = 0; methods[i].ml_name; ++i) {
36994 char *c = methods[i].ml_doc;
36995 if (c && (c = strstr(c, "swig_ptr: "))) {
36996 int j;
36997 swig_const_info *ci = 0;
36998 char *name = c + 10;
36999 for (j = 0; const_table[j].type; j++) {
37000 if (strncmp(const_table[j].name, name,
37001 strlen(const_table[j].name)) == 0) {
37002 ci = &(const_table[j]);
37003 break;
37004 }
37005 }
37006 if (ci) {
37007 size_t shift = (ci->ptype) - types;
37008 swig_type_info *ty = types_initial[shift];
37009 size_t ldoc = (c - methods[i].ml_doc);
37010 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
37011 char *ndoc = (char*)malloc(ldoc + lptr + 10);
37012 char *buff = ndoc;
37013 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue: (void *)(ci->lvalue);
37014 strncpy(buff, methods[i].ml_doc, ldoc);
37015 buff += ldoc;
37016 strncpy(buff, "swig_ptr: ", 10);
37017 buff += 10;
37018 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
37019 methods[i].ml_doc = ndoc;
37020 }
37021 }
37022 }
37023 }
37024
37025 /* -----------------------------------------------------------------------------*
37026 * Initialize type list
37027 * -----------------------------------------------------------------------------*/
37028
37029#if PY_MAJOR_VERSION < 2
37030 /* PyModule_AddObject function was introduced in Python 2.0. The following function
37031 is copied out of Python/modsupport.c in python version 2.3.4 */
37032 static int
37033 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
37034 {
37035 PyObject *dict;
37036 if (!PyModule_Check(m)) {
37037 PyErr_SetString(PyExc_TypeError,
37038 "PyModule_AddObject() needs module as first arg");
37039 return -1;
37040 }
37041 if (!o) {
37042 PyErr_SetString(PyExc_TypeError,
37043 "PyModule_AddObject() needs non-NULL value");
37044 return -1;
37045 }
37046
37047 dict = PyModule_GetDict(m);
37048 if (dict == NULL) {
37049 /* Internal error -- modules must have a dict! */
37050 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
37051 PyModule_GetName(m));
37052 return -1;
37053 }
37054 if (PyDict_SetItemString(dict, name, o))
37055 return -1;
37056 Py_DECREF(o);
37057 return 0;
37058 }
37059#endif
37060
37061 static swig_type_info **
37062 SWIG_Python_SetTypeListHandle(swig_type_info **type_list_handle) {
37063 static PyMethodDef swig_empty_runtime_method_table[] = {
37064 {
37065 NULL, NULL, 0, NULL
37066 }
37067 };/* Sentinel */
37068
37069 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
37070 swig_empty_runtime_method_table);
37071 PyObject *pointer = PyCObject_FromVoidPtr((void *) type_list_handle, NULL);
37072 if (pointer && module) {
37073 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
37074 }
37075 return type_list_handle;
37076 }
37077
37078 static swig_type_info **
37079 SWIG_Python_LookupTypePointer(swig_type_info **type_list_handle) {
37080 swig_type_info **type_pointer;
37081
37082 /* first check if module already created */
37083 type_pointer = SWIG_Python_GetTypeListHandle();
37084 if (type_pointer) {
37085 return type_pointer;
37086 } else {
37087 /* create a new module and variable */
37088 return SWIG_Python_SetTypeListHandle(type_list_handle);
37089 }
37090 }
37091
37092#ifdef __cplusplus
37093}
37094#endif
37095
37096/* -----------------------------------------------------------------------------*
37097 * Partial Init method
37098 * -----------------------------------------------------------------------------*/
37099
37100#ifdef SWIG_LINK_RUNTIME
37101#ifdef __cplusplus
37102extern "C"
37103#endif
37104SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
37105#endif
37106
d55e5bfc
RD
37107#ifdef __cplusplus
37108extern "C"
37109#endif
37110SWIGEXPORT(void) SWIG_init(void) {
37111 static PyObject *SWIG_globals = 0;
37112 static int typeinit = 0;
37113 PyObject *m, *d;
37114 int i;
37115 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
093d3ff1
RD
37116
37117 /* Fix SwigMethods to carry the callback ptrs when needed */
37118 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_types_initial);
37119
d55e5bfc
RD
37120 m = Py_InitModule((char *) SWIG_name, SwigMethods);
37121 d = PyModule_GetDict(m);
37122
37123 if (!typeinit) {
093d3ff1
RD
37124#ifdef SWIG_LINK_RUNTIME
37125 swig_type_list_handle = (swig_type_info **) SWIG_ReturnGlobalTypeList(swig_type_list_handle);
37126#else
37127# ifndef SWIG_STATIC_RUNTIME
37128 swig_type_list_handle = SWIG_Python_LookupTypePointer(swig_type_list_handle);
37129# endif
37130#endif
d55e5bfc
RD
37131 for (i = 0; swig_types_initial[i]; i++) {
37132 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
37133 }
37134 typeinit = 1;
37135 }
37136 SWIG_InstallConstants(d,swig_const_table);
37137
37138 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
37139 SWIG_addvarlink(SWIG_globals,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get, _wrap_ButtonNameStr_set);
093d3ff1
RD
37140 {
37141 PyDict_SetItemString(d,"BU_LEFT", SWIG_From_int((int)(wxBU_LEFT)));
37142 }
37143 {
37144 PyDict_SetItemString(d,"BU_TOP", SWIG_From_int((int)(wxBU_TOP)));
37145 }
37146 {
37147 PyDict_SetItemString(d,"BU_RIGHT", SWIG_From_int((int)(wxBU_RIGHT)));
37148 }
37149 {
37150 PyDict_SetItemString(d,"BU_BOTTOM", SWIG_From_int((int)(wxBU_BOTTOM)));
37151 }
37152 {
37153 PyDict_SetItemString(d,"BU_ALIGN_MASK", SWIG_From_int((int)(wxBU_ALIGN_MASK)));
37154 }
37155 {
37156 PyDict_SetItemString(d,"BU_EXACTFIT", SWIG_From_int((int)(wxBU_EXACTFIT)));
37157 }
37158 {
37159 PyDict_SetItemString(d,"BU_AUTODRAW", SWIG_From_int((int)(wxBU_AUTODRAW)));
37160 }
d55e5bfc 37161 SWIG_addvarlink(SWIG_globals,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get, _wrap_CheckBoxNameStr_set);
093d3ff1
RD
37162 {
37163 PyDict_SetItemString(d,"CHK_2STATE", SWIG_From_int((int)(wxCHK_2STATE)));
37164 }
37165 {
37166 PyDict_SetItemString(d,"CHK_3STATE", SWIG_From_int((int)(wxCHK_3STATE)));
37167 }
37168 {
37169 PyDict_SetItemString(d,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_From_int((int)(wxCHK_ALLOW_3RD_STATE_FOR_USER)));
37170 }
37171 {
37172 PyDict_SetItemString(d,"CHK_UNCHECKED", SWIG_From_int((int)(wxCHK_UNCHECKED)));
37173 }
37174 {
37175 PyDict_SetItemString(d,"CHK_CHECKED", SWIG_From_int((int)(wxCHK_CHECKED)));
37176 }
37177 {
37178 PyDict_SetItemString(d,"CHK_UNDETERMINED", SWIG_From_int((int)(wxCHK_UNDETERMINED)));
37179 }
d55e5bfc
RD
37180 SWIG_addvarlink(SWIG_globals,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get, _wrap_ChoiceNameStr_set);
37181 SWIG_addvarlink(SWIG_globals,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get, _wrap_ComboBoxNameStr_set);
37182 SWIG_addvarlink(SWIG_globals,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get, _wrap_GaugeNameStr_set);
093d3ff1
RD
37183 {
37184 PyDict_SetItemString(d,"GA_HORIZONTAL", SWIG_From_int((int)(wxGA_HORIZONTAL)));
37185 }
37186 {
37187 PyDict_SetItemString(d,"GA_VERTICAL", SWIG_From_int((int)(wxGA_VERTICAL)));
37188 }
37189 {
37190 PyDict_SetItemString(d,"GA_SMOOTH", SWIG_From_int((int)(wxGA_SMOOTH)));
37191 }
37192 {
37193 PyDict_SetItemString(d,"GA_PROGRESSBAR", SWIG_From_int((int)(wxGA_PROGRESSBAR)));
37194 }
d55e5bfc
RD
37195 SWIG_addvarlink(SWIG_globals,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get, _wrap_StaticBitmapNameStr_set);
37196 SWIG_addvarlink(SWIG_globals,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get, _wrap_StaticBoxNameStr_set);
37197 SWIG_addvarlink(SWIG_globals,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get, _wrap_StaticTextNameStr_set);
37198 SWIG_addvarlink(SWIG_globals,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get, _wrap_ListBoxNameStr_set);
37199 SWIG_addvarlink(SWIG_globals,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get, _wrap_TextCtrlNameStr_set);
093d3ff1
RD
37200 {
37201 PyDict_SetItemString(d,"TE_NO_VSCROLL", SWIG_From_int((int)(wxTE_NO_VSCROLL)));
37202 }
37203 {
37204 PyDict_SetItemString(d,"TE_AUTO_SCROLL", SWIG_From_int((int)(wxTE_AUTO_SCROLL)));
37205 }
37206 {
37207 PyDict_SetItemString(d,"TE_READONLY", SWIG_From_int((int)(wxTE_READONLY)));
37208 }
37209 {
37210 PyDict_SetItemString(d,"TE_MULTILINE", SWIG_From_int((int)(wxTE_MULTILINE)));
37211 }
37212 {
37213 PyDict_SetItemString(d,"TE_PROCESS_TAB", SWIG_From_int((int)(wxTE_PROCESS_TAB)));
37214 }
37215 {
37216 PyDict_SetItemString(d,"TE_LEFT", SWIG_From_int((int)(wxTE_LEFT)));
37217 }
37218 {
37219 PyDict_SetItemString(d,"TE_CENTER", SWIG_From_int((int)(wxTE_CENTER)));
37220 }
37221 {
37222 PyDict_SetItemString(d,"TE_RIGHT", SWIG_From_int((int)(wxTE_RIGHT)));
37223 }
37224 {
37225 PyDict_SetItemString(d,"TE_CENTRE", SWIG_From_int((int)(wxTE_CENTRE)));
37226 }
37227 {
37228 PyDict_SetItemString(d,"TE_RICH", SWIG_From_int((int)(wxTE_RICH)));
37229 }
37230 {
37231 PyDict_SetItemString(d,"TE_PROCESS_ENTER", SWIG_From_int((int)(wxTE_PROCESS_ENTER)));
37232 }
37233 {
37234 PyDict_SetItemString(d,"TE_PASSWORD", SWIG_From_int((int)(wxTE_PASSWORD)));
37235 }
37236 {
37237 PyDict_SetItemString(d,"TE_AUTO_URL", SWIG_From_int((int)(wxTE_AUTO_URL)));
37238 }
37239 {
37240 PyDict_SetItemString(d,"TE_NOHIDESEL", SWIG_From_int((int)(wxTE_NOHIDESEL)));
37241 }
37242 {
37243 PyDict_SetItemString(d,"TE_DONTWRAP", SWIG_From_int((int)(wxTE_DONTWRAP)));
37244 }
37245 {
37246 PyDict_SetItemString(d,"TE_LINEWRAP", SWIG_From_int((int)(wxTE_LINEWRAP)));
37247 }
37248 {
37249 PyDict_SetItemString(d,"TE_WORDWRAP", SWIG_From_int((int)(wxTE_WORDWRAP)));
37250 }
37251 {
37252 PyDict_SetItemString(d,"TE_RICH2", SWIG_From_int((int)(wxTE_RICH2)));
37253 }
37254 {
37255 PyDict_SetItemString(d,"TEXT_ALIGNMENT_DEFAULT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_DEFAULT)));
37256 }
37257 {
37258 PyDict_SetItemString(d,"TEXT_ALIGNMENT_LEFT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_LEFT)));
37259 }
37260 {
37261 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTRE", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTRE)));
37262 }
37263 {
37264 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTER", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTER)));
37265 }
37266 {
37267 PyDict_SetItemString(d,"TEXT_ALIGNMENT_RIGHT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_RIGHT)));
37268 }
37269 {
37270 PyDict_SetItemString(d,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_From_int((int)(wxTEXT_ALIGNMENT_JUSTIFIED)));
37271 }
37272 {
37273 PyDict_SetItemString(d,"TEXT_ATTR_TEXT_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_TEXT_COLOUR)));
37274 }
37275 {
37276 PyDict_SetItemString(d,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_BACKGROUND_COLOUR)));
37277 }
37278 {
37279 PyDict_SetItemString(d,"TEXT_ATTR_FONT_FACE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_FACE)));
37280 }
37281 {
37282 PyDict_SetItemString(d,"TEXT_ATTR_FONT_SIZE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_SIZE)));
37283 }
37284 {
37285 PyDict_SetItemString(d,"TEXT_ATTR_FONT_WEIGHT", SWIG_From_int((int)(wxTEXT_ATTR_FONT_WEIGHT)));
37286 }
37287 {
37288 PyDict_SetItemString(d,"TEXT_ATTR_FONT_ITALIC", SWIG_From_int((int)(wxTEXT_ATTR_FONT_ITALIC)));
37289 }
37290 {
37291 PyDict_SetItemString(d,"TEXT_ATTR_FONT_UNDERLINE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_UNDERLINE)));
37292 }
37293 {
37294 PyDict_SetItemString(d,"TEXT_ATTR_FONT", SWIG_From_int((int)(wxTEXT_ATTR_FONT)));
37295 }
37296 {
37297 PyDict_SetItemString(d,"TEXT_ATTR_ALIGNMENT", SWIG_From_int((int)(wxTEXT_ATTR_ALIGNMENT)));
37298 }
37299 {
37300 PyDict_SetItemString(d,"TEXT_ATTR_LEFT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_LEFT_INDENT)));
37301 }
37302 {
37303 PyDict_SetItemString(d,"TEXT_ATTR_RIGHT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_RIGHT_INDENT)));
37304 }
37305 {
37306 PyDict_SetItemString(d,"TEXT_ATTR_TABS", SWIG_From_int((int)(wxTEXT_ATTR_TABS)));
37307 }
37308 {
37309 PyDict_SetItemString(d,"TE_HT_UNKNOWN", SWIG_From_int((int)(wxTE_HT_UNKNOWN)));
37310 }
37311 {
37312 PyDict_SetItemString(d,"TE_HT_BEFORE", SWIG_From_int((int)(wxTE_HT_BEFORE)));
37313 }
37314 {
37315 PyDict_SetItemString(d,"TE_HT_ON_TEXT", SWIG_From_int((int)(wxTE_HT_ON_TEXT)));
37316 }
37317 {
37318 PyDict_SetItemString(d,"TE_HT_BELOW", SWIG_From_int((int)(wxTE_HT_BELOW)));
37319 }
37320 {
37321 PyDict_SetItemString(d,"TE_HT_BEYOND", SWIG_From_int((int)(wxTE_HT_BEYOND)));
37322 }
fef4c27a
RD
37323 {
37324 PyDict_SetItemString(d,"OutOfRangeTextCoord", SWIG_From_int((int)(wxOutOfRangeTextCoord)));
37325 }
37326 {
37327 PyDict_SetItemString(d,"InvalidTextCoord", SWIG_From_int((int)(wxInvalidTextCoord)));
37328 }
d55e5bfc
RD
37329 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
37330 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
37331 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
37332 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
37333 SWIG_addvarlink(SWIG_globals,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get, _wrap_ScrollBarNameStr_set);
37334 SWIG_addvarlink(SWIG_globals,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get, _wrap_SPIN_BUTTON_NAME_set);
37335 SWIG_addvarlink(SWIG_globals,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get, _wrap_SpinCtrlNameStr_set);
093d3ff1
RD
37336 {
37337 PyDict_SetItemString(d,"SP_HORIZONTAL", SWIG_From_int((int)(wxSP_HORIZONTAL)));
37338 }
37339 {
37340 PyDict_SetItemString(d,"SP_VERTICAL", SWIG_From_int((int)(wxSP_VERTICAL)));
37341 }
37342 {
37343 PyDict_SetItemString(d,"SP_ARROW_KEYS", SWIG_From_int((int)(wxSP_ARROW_KEYS)));
37344 }
37345 {
37346 PyDict_SetItemString(d,"SP_WRAP", SWIG_From_int((int)(wxSP_WRAP)));
37347 }
d55e5bfc
RD
37348 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
37349 SWIG_addvarlink(SWIG_globals,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get, _wrap_RadioBoxNameStr_set);
37350 SWIG_addvarlink(SWIG_globals,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get, _wrap_RadioButtonNameStr_set);
37351 SWIG_addvarlink(SWIG_globals,(char*)"SliderNameStr",_wrap_SliderNameStr_get, _wrap_SliderNameStr_set);
fef4c27a
RD
37352 {
37353 PyDict_SetItemString(d,"SL_HORIZONTAL", SWIG_From_int((int)(wxSL_HORIZONTAL)));
37354 }
37355 {
37356 PyDict_SetItemString(d,"SL_VERTICAL", SWIG_From_int((int)(wxSL_VERTICAL)));
37357 }
37358 {
37359 PyDict_SetItemString(d,"SL_AUTOTICKS", SWIG_From_int((int)(wxSL_AUTOTICKS)));
37360 }
37361 {
37362 PyDict_SetItemString(d,"SL_LABELS", SWIG_From_int((int)(wxSL_LABELS)));
37363 }
37364 {
37365 PyDict_SetItemString(d,"SL_LEFT", SWIG_From_int((int)(wxSL_LEFT)));
37366 }
37367 {
37368 PyDict_SetItemString(d,"SL_TOP", SWIG_From_int((int)(wxSL_TOP)));
37369 }
37370 {
37371 PyDict_SetItemString(d,"SL_RIGHT", SWIG_From_int((int)(wxSL_RIGHT)));
37372 }
37373 {
37374 PyDict_SetItemString(d,"SL_BOTTOM", SWIG_From_int((int)(wxSL_BOTTOM)));
37375 }
37376 {
37377 PyDict_SetItemString(d,"SL_BOTH", SWIG_From_int((int)(wxSL_BOTH)));
37378 }
37379 {
37380 PyDict_SetItemString(d,"SL_SELRANGE", SWIG_From_int((int)(wxSL_SELRANGE)));
37381 }
37382 {
37383 PyDict_SetItemString(d,"SL_INVERSE", SWIG_From_int((int)(wxSL_INVERSE)));
37384 }
d55e5bfc
RD
37385 SWIG_addvarlink(SWIG_globals,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get, _wrap_ToggleButtonNameStr_set);
37386 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
51b83b37 37387 SWIG_addvarlink(SWIG_globals,(char*)"NotebookNameStr",_wrap_NotebookNameStr_get, _wrap_NotebookNameStr_set);
093d3ff1
RD
37388 {
37389 PyDict_SetItemString(d,"NB_FIXEDWIDTH", SWIG_From_int((int)(wxNB_FIXEDWIDTH)));
37390 }
37391 {
37392 PyDict_SetItemString(d,"NB_TOP", SWIG_From_int((int)(wxNB_TOP)));
37393 }
37394 {
37395 PyDict_SetItemString(d,"NB_LEFT", SWIG_From_int((int)(wxNB_LEFT)));
37396 }
37397 {
37398 PyDict_SetItemString(d,"NB_RIGHT", SWIG_From_int((int)(wxNB_RIGHT)));
37399 }
37400 {
37401 PyDict_SetItemString(d,"NB_BOTTOM", SWIG_From_int((int)(wxNB_BOTTOM)));
37402 }
37403 {
37404 PyDict_SetItemString(d,"NB_MULTILINE", SWIG_From_int((int)(wxNB_MULTILINE)));
37405 }
37406 {
37407 PyDict_SetItemString(d,"NB_HITTEST_NOWHERE", SWIG_From_int((int)(wxNB_HITTEST_NOWHERE)));
37408 }
37409 {
37410 PyDict_SetItemString(d,"NB_HITTEST_ONICON", SWIG_From_int((int)(wxNB_HITTEST_ONICON)));
37411 }
37412 {
37413 PyDict_SetItemString(d,"NB_HITTEST_ONLABEL", SWIG_From_int((int)(wxNB_HITTEST_ONLABEL)));
37414 }
37415 {
37416 PyDict_SetItemString(d,"NB_HITTEST_ONITEM", SWIG_From_int((int)(wxNB_HITTEST_ONITEM)));
37417 }
d55e5bfc
RD
37418 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
37419 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
093d3ff1
RD
37420 {
37421 PyDict_SetItemString(d,"LB_DEFAULT", SWIG_From_int((int)(wxLB_DEFAULT)));
37422 }
37423 {
37424 PyDict_SetItemString(d,"LB_TOP", SWIG_From_int((int)(wxLB_TOP)));
37425 }
37426 {
37427 PyDict_SetItemString(d,"LB_BOTTOM", SWIG_From_int((int)(wxLB_BOTTOM)));
37428 }
37429 {
37430 PyDict_SetItemString(d,"LB_LEFT", SWIG_From_int((int)(wxLB_LEFT)));
37431 }
37432 {
37433 PyDict_SetItemString(d,"LB_RIGHT", SWIG_From_int((int)(wxLB_RIGHT)));
37434 }
37435 {
37436 PyDict_SetItemString(d,"LB_ALIGN_MASK", SWIG_From_int((int)(wxLB_ALIGN_MASK)));
37437 }
d55e5bfc
RD
37438 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
37439 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
093d3ff1
RD
37440 {
37441 PyDict_SetItemString(d,"CHB_DEFAULT", SWIG_From_int((int)(wxCHB_DEFAULT)));
37442 }
37443 {
37444 PyDict_SetItemString(d,"CHB_TOP", SWIG_From_int((int)(wxCHB_TOP)));
37445 }
37446 {
37447 PyDict_SetItemString(d,"CHB_BOTTOM", SWIG_From_int((int)(wxCHB_BOTTOM)));
37448 }
37449 {
37450 PyDict_SetItemString(d,"CHB_LEFT", SWIG_From_int((int)(wxCHB_LEFT)));
37451 }
37452 {
37453 PyDict_SetItemString(d,"CHB_RIGHT", SWIG_From_int((int)(wxCHB_RIGHT)));
37454 }
37455 {
37456 PyDict_SetItemString(d,"CHB_ALIGN_MASK", SWIG_From_int((int)(wxCHB_ALIGN_MASK)));
37457 }
ae8162c8
RD
37458 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED));
37459 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING));
093d3ff1
RD
37460 {
37461 PyDict_SetItemString(d,"TOOL_STYLE_BUTTON", SWIG_From_int((int)(wxTOOL_STYLE_BUTTON)));
37462 }
37463 {
37464 PyDict_SetItemString(d,"TOOL_STYLE_SEPARATOR", SWIG_From_int((int)(wxTOOL_STYLE_SEPARATOR)));
37465 }
37466 {
37467 PyDict_SetItemString(d,"TOOL_STYLE_CONTROL", SWIG_From_int((int)(wxTOOL_STYLE_CONTROL)));
37468 }
37469 {
37470 PyDict_SetItemString(d,"TB_HORIZONTAL", SWIG_From_int((int)(wxTB_HORIZONTAL)));
37471 }
37472 {
37473 PyDict_SetItemString(d,"TB_VERTICAL", SWIG_From_int((int)(wxTB_VERTICAL)));
37474 }
37475 {
37476 PyDict_SetItemString(d,"TB_3DBUTTONS", SWIG_From_int((int)(wxTB_3DBUTTONS)));
37477 }
37478 {
37479 PyDict_SetItemString(d,"TB_FLAT", SWIG_From_int((int)(wxTB_FLAT)));
37480 }
37481 {
37482 PyDict_SetItemString(d,"TB_DOCKABLE", SWIG_From_int((int)(wxTB_DOCKABLE)));
37483 }
37484 {
37485 PyDict_SetItemString(d,"TB_NOICONS", SWIG_From_int((int)(wxTB_NOICONS)));
37486 }
37487 {
37488 PyDict_SetItemString(d,"TB_TEXT", SWIG_From_int((int)(wxTB_TEXT)));
37489 }
37490 {
37491 PyDict_SetItemString(d,"TB_NODIVIDER", SWIG_From_int((int)(wxTB_NODIVIDER)));
37492 }
37493 {
37494 PyDict_SetItemString(d,"TB_NOALIGN", SWIG_From_int((int)(wxTB_NOALIGN)));
37495 }
37496 {
37497 PyDict_SetItemString(d,"TB_HORZ_LAYOUT", SWIG_From_int((int)(wxTB_HORZ_LAYOUT)));
37498 }
37499 {
37500 PyDict_SetItemString(d,"TB_HORZ_TEXT", SWIG_From_int((int)(wxTB_HORZ_TEXT)));
37501 }
d55e5bfc 37502 SWIG_addvarlink(SWIG_globals,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get, _wrap_ListCtrlNameStr_set);
093d3ff1
RD
37503 {
37504 PyDict_SetItemString(d,"LC_VRULES", SWIG_From_int((int)(wxLC_VRULES)));
37505 }
37506 {
37507 PyDict_SetItemString(d,"LC_HRULES", SWIG_From_int((int)(wxLC_HRULES)));
37508 }
37509 {
37510 PyDict_SetItemString(d,"LC_ICON", SWIG_From_int((int)(wxLC_ICON)));
37511 }
37512 {
37513 PyDict_SetItemString(d,"LC_SMALL_ICON", SWIG_From_int((int)(wxLC_SMALL_ICON)));
37514 }
37515 {
37516 PyDict_SetItemString(d,"LC_LIST", SWIG_From_int((int)(wxLC_LIST)));
37517 }
37518 {
37519 PyDict_SetItemString(d,"LC_REPORT", SWIG_From_int((int)(wxLC_REPORT)));
37520 }
37521 {
37522 PyDict_SetItemString(d,"LC_ALIGN_TOP", SWIG_From_int((int)(wxLC_ALIGN_TOP)));
37523 }
37524 {
37525 PyDict_SetItemString(d,"LC_ALIGN_LEFT", SWIG_From_int((int)(wxLC_ALIGN_LEFT)));
37526 }
37527 {
37528 PyDict_SetItemString(d,"LC_AUTOARRANGE", SWIG_From_int((int)(wxLC_AUTOARRANGE)));
37529 }
37530 {
37531 PyDict_SetItemString(d,"LC_VIRTUAL", SWIG_From_int((int)(wxLC_VIRTUAL)));
37532 }
37533 {
37534 PyDict_SetItemString(d,"LC_EDIT_LABELS", SWIG_From_int((int)(wxLC_EDIT_LABELS)));
37535 }
37536 {
37537 PyDict_SetItemString(d,"LC_NO_HEADER", SWIG_From_int((int)(wxLC_NO_HEADER)));
37538 }
37539 {
37540 PyDict_SetItemString(d,"LC_NO_SORT_HEADER", SWIG_From_int((int)(wxLC_NO_SORT_HEADER)));
37541 }
37542 {
37543 PyDict_SetItemString(d,"LC_SINGLE_SEL", SWIG_From_int((int)(wxLC_SINGLE_SEL)));
37544 }
37545 {
37546 PyDict_SetItemString(d,"LC_SORT_ASCENDING", SWIG_From_int((int)(wxLC_SORT_ASCENDING)));
37547 }
37548 {
37549 PyDict_SetItemString(d,"LC_SORT_DESCENDING", SWIG_From_int((int)(wxLC_SORT_DESCENDING)));
37550 }
37551 {
37552 PyDict_SetItemString(d,"LC_MASK_TYPE", SWIG_From_int((int)(wxLC_MASK_TYPE)));
37553 }
37554 {
37555 PyDict_SetItemString(d,"LC_MASK_ALIGN", SWIG_From_int((int)(wxLC_MASK_ALIGN)));
37556 }
37557 {
37558 PyDict_SetItemString(d,"LC_MASK_SORT", SWIG_From_int((int)(wxLC_MASK_SORT)));
37559 }
37560 {
37561 PyDict_SetItemString(d,"LIST_MASK_STATE", SWIG_From_int((int)(wxLIST_MASK_STATE)));
37562 }
37563 {
37564 PyDict_SetItemString(d,"LIST_MASK_TEXT", SWIG_From_int((int)(wxLIST_MASK_TEXT)));
37565 }
37566 {
37567 PyDict_SetItemString(d,"LIST_MASK_IMAGE", SWIG_From_int((int)(wxLIST_MASK_IMAGE)));
37568 }
37569 {
37570 PyDict_SetItemString(d,"LIST_MASK_DATA", SWIG_From_int((int)(wxLIST_MASK_DATA)));
37571 }
37572 {
37573 PyDict_SetItemString(d,"LIST_SET_ITEM", SWIG_From_int((int)(wxLIST_SET_ITEM)));
37574 }
37575 {
37576 PyDict_SetItemString(d,"LIST_MASK_WIDTH", SWIG_From_int((int)(wxLIST_MASK_WIDTH)));
37577 }
37578 {
37579 PyDict_SetItemString(d,"LIST_MASK_FORMAT", SWIG_From_int((int)(wxLIST_MASK_FORMAT)));
37580 }
37581 {
37582 PyDict_SetItemString(d,"LIST_STATE_DONTCARE", SWIG_From_int((int)(wxLIST_STATE_DONTCARE)));
37583 }
37584 {
37585 PyDict_SetItemString(d,"LIST_STATE_DROPHILITED", SWIG_From_int((int)(wxLIST_STATE_DROPHILITED)));
37586 }
37587 {
37588 PyDict_SetItemString(d,"LIST_STATE_FOCUSED", SWIG_From_int((int)(wxLIST_STATE_FOCUSED)));
37589 }
37590 {
37591 PyDict_SetItemString(d,"LIST_STATE_SELECTED", SWIG_From_int((int)(wxLIST_STATE_SELECTED)));
37592 }
37593 {
37594 PyDict_SetItemString(d,"LIST_STATE_CUT", SWIG_From_int((int)(wxLIST_STATE_CUT)));
37595 }
37596 {
37597 PyDict_SetItemString(d,"LIST_STATE_DISABLED", SWIG_From_int((int)(wxLIST_STATE_DISABLED)));
37598 }
37599 {
37600 PyDict_SetItemString(d,"LIST_STATE_FILTERED", SWIG_From_int((int)(wxLIST_STATE_FILTERED)));
37601 }
37602 {
37603 PyDict_SetItemString(d,"LIST_STATE_INUSE", SWIG_From_int((int)(wxLIST_STATE_INUSE)));
37604 }
37605 {
37606 PyDict_SetItemString(d,"LIST_STATE_PICKED", SWIG_From_int((int)(wxLIST_STATE_PICKED)));
37607 }
37608 {
37609 PyDict_SetItemString(d,"LIST_STATE_SOURCE", SWIG_From_int((int)(wxLIST_STATE_SOURCE)));
37610 }
37611 {
37612 PyDict_SetItemString(d,"LIST_HITTEST_ABOVE", SWIG_From_int((int)(wxLIST_HITTEST_ABOVE)));
37613 }
37614 {
37615 PyDict_SetItemString(d,"LIST_HITTEST_BELOW", SWIG_From_int((int)(wxLIST_HITTEST_BELOW)));
37616 }
37617 {
37618 PyDict_SetItemString(d,"LIST_HITTEST_NOWHERE", SWIG_From_int((int)(wxLIST_HITTEST_NOWHERE)));
37619 }
37620 {
37621 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMICON)));
37622 }
37623 {
37624 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMLABEL)));
37625 }
37626 {
37627 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMRIGHT)));
37628 }
37629 {
37630 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMSTATEICON)));
37631 }
37632 {
37633 PyDict_SetItemString(d,"LIST_HITTEST_TOLEFT", SWIG_From_int((int)(wxLIST_HITTEST_TOLEFT)));
37634 }
37635 {
37636 PyDict_SetItemString(d,"LIST_HITTEST_TORIGHT", SWIG_From_int((int)(wxLIST_HITTEST_TORIGHT)));
37637 }
37638 {
37639 PyDict_SetItemString(d,"LIST_HITTEST_ONITEM", SWIG_From_int((int)(wxLIST_HITTEST_ONITEM)));
37640 }
37641 {
37642 PyDict_SetItemString(d,"LIST_NEXT_ABOVE", SWIG_From_int((int)(wxLIST_NEXT_ABOVE)));
37643 }
37644 {
37645 PyDict_SetItemString(d,"LIST_NEXT_ALL", SWIG_From_int((int)(wxLIST_NEXT_ALL)));
37646 }
37647 {
37648 PyDict_SetItemString(d,"LIST_NEXT_BELOW", SWIG_From_int((int)(wxLIST_NEXT_BELOW)));
37649 }
37650 {
37651 PyDict_SetItemString(d,"LIST_NEXT_LEFT", SWIG_From_int((int)(wxLIST_NEXT_LEFT)));
37652 }
37653 {
37654 PyDict_SetItemString(d,"LIST_NEXT_RIGHT", SWIG_From_int((int)(wxLIST_NEXT_RIGHT)));
37655 }
37656 {
37657 PyDict_SetItemString(d,"LIST_ALIGN_DEFAULT", SWIG_From_int((int)(wxLIST_ALIGN_DEFAULT)));
37658 }
37659 {
37660 PyDict_SetItemString(d,"LIST_ALIGN_LEFT", SWIG_From_int((int)(wxLIST_ALIGN_LEFT)));
37661 }
37662 {
37663 PyDict_SetItemString(d,"LIST_ALIGN_TOP", SWIG_From_int((int)(wxLIST_ALIGN_TOP)));
37664 }
37665 {
37666 PyDict_SetItemString(d,"LIST_ALIGN_SNAP_TO_GRID", SWIG_From_int((int)(wxLIST_ALIGN_SNAP_TO_GRID)));
37667 }
37668 {
37669 PyDict_SetItemString(d,"LIST_FORMAT_LEFT", SWIG_From_int((int)(wxLIST_FORMAT_LEFT)));
37670 }
37671 {
37672 PyDict_SetItemString(d,"LIST_FORMAT_RIGHT", SWIG_From_int((int)(wxLIST_FORMAT_RIGHT)));
37673 }
37674 {
37675 PyDict_SetItemString(d,"LIST_FORMAT_CENTRE", SWIG_From_int((int)(wxLIST_FORMAT_CENTRE)));
37676 }
37677 {
37678 PyDict_SetItemString(d,"LIST_FORMAT_CENTER", SWIG_From_int((int)(wxLIST_FORMAT_CENTER)));
37679 }
37680 {
37681 PyDict_SetItemString(d,"LIST_AUTOSIZE", SWIG_From_int((int)(wxLIST_AUTOSIZE)));
37682 }
37683 {
37684 PyDict_SetItemString(d,"LIST_AUTOSIZE_USEHEADER", SWIG_From_int((int)(wxLIST_AUTOSIZE_USEHEADER)));
37685 }
37686 {
37687 PyDict_SetItemString(d,"LIST_RECT_BOUNDS", SWIG_From_int((int)(wxLIST_RECT_BOUNDS)));
37688 }
37689 {
37690 PyDict_SetItemString(d,"LIST_RECT_ICON", SWIG_From_int((int)(wxLIST_RECT_ICON)));
37691 }
37692 {
37693 PyDict_SetItemString(d,"LIST_RECT_LABEL", SWIG_From_int((int)(wxLIST_RECT_LABEL)));
37694 }
37695 {
37696 PyDict_SetItemString(d,"LIST_FIND_UP", SWIG_From_int((int)(wxLIST_FIND_UP)));
37697 }
37698 {
37699 PyDict_SetItemString(d,"LIST_FIND_DOWN", SWIG_From_int((int)(wxLIST_FIND_DOWN)));
37700 }
37701 {
37702 PyDict_SetItemString(d,"LIST_FIND_LEFT", SWIG_From_int((int)(wxLIST_FIND_LEFT)));
37703 }
37704 {
37705 PyDict_SetItemString(d,"LIST_FIND_RIGHT", SWIG_From_int((int)(wxLIST_FIND_RIGHT)));
37706 }
d55e5bfc
RD
37707 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
37708 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
37709 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
37710 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
37711 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
37712 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
d55e5bfc
RD
37713 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
37714 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
37715 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
37716 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
37717 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
37718 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
37719 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
37720 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
37721 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
37722 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
37723 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
37724 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
37725 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
37726 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
fef4c27a
RD
37727 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO));
37728 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO));
d55e5bfc
RD
37729
37730 // Map renamed classes back to their common name for OOR
37731 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
37732
37733 SWIG_addvarlink(SWIG_globals,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get, _wrap_TreeCtrlNameStr_set);
093d3ff1
RD
37734 {
37735 PyDict_SetItemString(d,"TR_NO_BUTTONS", SWIG_From_int((int)(wxTR_NO_BUTTONS)));
37736 }
37737 {
37738 PyDict_SetItemString(d,"TR_HAS_BUTTONS", SWIG_From_int((int)(wxTR_HAS_BUTTONS)));
37739 }
37740 {
37741 PyDict_SetItemString(d,"TR_NO_LINES", SWIG_From_int((int)(wxTR_NO_LINES)));
37742 }
37743 {
37744 PyDict_SetItemString(d,"TR_LINES_AT_ROOT", SWIG_From_int((int)(wxTR_LINES_AT_ROOT)));
37745 }
37746 {
37747 PyDict_SetItemString(d,"TR_SINGLE", SWIG_From_int((int)(wxTR_SINGLE)));
37748 }
37749 {
37750 PyDict_SetItemString(d,"TR_MULTIPLE", SWIG_From_int((int)(wxTR_MULTIPLE)));
37751 }
37752 {
37753 PyDict_SetItemString(d,"TR_EXTENDED", SWIG_From_int((int)(wxTR_EXTENDED)));
37754 }
37755 {
37756 PyDict_SetItemString(d,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_From_int((int)(wxTR_HAS_VARIABLE_ROW_HEIGHT)));
37757 }
37758 {
37759 PyDict_SetItemString(d,"TR_EDIT_LABELS", SWIG_From_int((int)(wxTR_EDIT_LABELS)));
37760 }
37761 {
37762 PyDict_SetItemString(d,"TR_HIDE_ROOT", SWIG_From_int((int)(wxTR_HIDE_ROOT)));
37763 }
37764 {
37765 PyDict_SetItemString(d,"TR_ROW_LINES", SWIG_From_int((int)(wxTR_ROW_LINES)));
37766 }
37767 {
37768 PyDict_SetItemString(d,"TR_FULL_ROW_HIGHLIGHT", SWIG_From_int((int)(wxTR_FULL_ROW_HIGHLIGHT)));
37769 }
37770 {
37771 PyDict_SetItemString(d,"TR_DEFAULT_STYLE", SWIG_From_int((int)(wxTR_DEFAULT_STYLE)));
37772 }
37773 {
37774 PyDict_SetItemString(d,"TR_TWIST_BUTTONS", SWIG_From_int((int)(wxTR_TWIST_BUTTONS)));
37775 }
37776 {
37777 PyDict_SetItemString(d,"TR_MAC_BUTTONS", SWIG_From_int((int)(wxTR_MAC_BUTTONS)));
37778 }
37779 {
37780 PyDict_SetItemString(d,"TR_AQUA_BUTTONS", SWIG_From_int((int)(wxTR_AQUA_BUTTONS)));
37781 }
37782 {
37783 PyDict_SetItemString(d,"TreeItemIcon_Normal", SWIG_From_int((int)(wxTreeItemIcon_Normal)));
37784 }
37785 {
37786 PyDict_SetItemString(d,"TreeItemIcon_Selected", SWIG_From_int((int)(wxTreeItemIcon_Selected)));
37787 }
37788 {
37789 PyDict_SetItemString(d,"TreeItemIcon_Expanded", SWIG_From_int((int)(wxTreeItemIcon_Expanded)));
37790 }
37791 {
37792 PyDict_SetItemString(d,"TreeItemIcon_SelectedExpanded", SWIG_From_int((int)(wxTreeItemIcon_SelectedExpanded)));
37793 }
37794 {
37795 PyDict_SetItemString(d,"TreeItemIcon_Max", SWIG_From_int((int)(wxTreeItemIcon_Max)));
37796 }
37797 {
37798 PyDict_SetItemString(d,"TREE_HITTEST_ABOVE", SWIG_From_int((int)(wxTREE_HITTEST_ABOVE)));
37799 }
37800 {
37801 PyDict_SetItemString(d,"TREE_HITTEST_BELOW", SWIG_From_int((int)(wxTREE_HITTEST_BELOW)));
37802 }
37803 {
37804 PyDict_SetItemString(d,"TREE_HITTEST_NOWHERE", SWIG_From_int((int)(wxTREE_HITTEST_NOWHERE)));
37805 }
37806 {
37807 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMBUTTON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMBUTTON)));
37808 }
37809 {
37810 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMICON)));
37811 }
37812 {
37813 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMINDENT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMINDENT)));
37814 }
37815 {
37816 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLABEL)));
37817 }
37818 {
37819 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMRIGHT)));
37820 }
37821 {
37822 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMSTATEICON)));
37823 }
37824 {
37825 PyDict_SetItemString(d,"TREE_HITTEST_TOLEFT", SWIG_From_int((int)(wxTREE_HITTEST_TOLEFT)));
37826 }
37827 {
37828 PyDict_SetItemString(d,"TREE_HITTEST_TORIGHT", SWIG_From_int((int)(wxTREE_HITTEST_TORIGHT)));
37829 }
37830 {
37831 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMUPPERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMUPPERPART)));
37832 }
37833 {
37834 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLOWERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLOWERPART)));
37835 }
37836 {
37837 PyDict_SetItemString(d,"TREE_HITTEST_ONITEM", SWIG_From_int((int)(wxTREE_HITTEST_ONITEM)));
37838 }
d55e5bfc
RD
37839 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
37840 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
37841 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
37842 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
37843 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
37844 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
37845 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
37846 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
37847 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
37848 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
37849 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
37850 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
37851 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
37852 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
37853 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
37854 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
37855 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
37856 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
37857 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
37858 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
62d32a5f 37859 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU));
d55e5bfc
RD
37860
37861 // Map renamed classes back to their common name for OOR
37862 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
37863 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
37864
37865 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get, _wrap_DirDialogDefaultFolderStr_set);
093d3ff1
RD
37866 {
37867 PyDict_SetItemString(d,"DIRCTRL_DIR_ONLY", SWIG_From_int((int)(wxDIRCTRL_DIR_ONLY)));
37868 }
37869 {
37870 PyDict_SetItemString(d,"DIRCTRL_SELECT_FIRST", SWIG_From_int((int)(wxDIRCTRL_SELECT_FIRST)));
37871 }
37872 {
37873 PyDict_SetItemString(d,"DIRCTRL_SHOW_FILTERS", SWIG_From_int((int)(wxDIRCTRL_SHOW_FILTERS)));
37874 }
37875 {
37876 PyDict_SetItemString(d,"DIRCTRL_3D_INTERNAL", SWIG_From_int((int)(wxDIRCTRL_3D_INTERNAL)));
37877 }
37878 {
37879 PyDict_SetItemString(d,"DIRCTRL_EDIT_LABELS", SWIG_From_int((int)(wxDIRCTRL_EDIT_LABELS)));
37880 }
37881 {
37882 PyDict_SetItemString(d,"FRAME_EX_CONTEXTHELP", SWIG_From_int((int)(wxFRAME_EX_CONTEXTHELP)));
37883 }
37884 {
37885 PyDict_SetItemString(d,"DIALOG_EX_CONTEXTHELP", SWIG_From_int((int)(wxDIALOG_EX_CONTEXTHELP)));
37886 }
d55e5bfc
RD
37887 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
37888 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
37889
37890 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
37891
37892}
37893