]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/_controls_wrap.cpp
Tests for UTF-8 and PUA characters and octal escapes
[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]
53aa7709
RD
1418#define SWIGTYPE_p_wxDateTime swig_types[77]
1419#define SWIGTYPE_p_wxKeyEvent swig_types[78]
1420#define SWIGTYPE_p_unsigned_long swig_types[79]
1421#define SWIGTYPE_p_wxWindow swig_types[80]
1422#define SWIGTYPE_p_wxString swig_types[81]
1423#define SWIGTYPE_p_wxBitmap swig_types[82]
1424#define SWIGTYPE_unsigned_int swig_types[83]
1425#define SWIGTYPE_p_unsigned_int swig_types[84]
1426#define SWIGTYPE_p_unsigned_char swig_types[85]
1427#define SWIGTYPE_p_wxMouseEvent swig_types[86]
1428#define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[87]
1429#define SWIGTYPE_p_wxTreeEvent swig_types[88]
1430#define SWIGTYPE_p_wxCommandEvent swig_types[89]
1431#define SWIGTYPE_p_wxStaticText swig_types[90]
1432#define SWIGTYPE_p_wxDatePickerCtrl swig_types[91]
1433#define SWIGTYPE_p_wxControlWithItems swig_types[92]
1434#define SWIGTYPE_p_wxToolBarToolBase swig_types[93]
1435#define SWIGTYPE_p_wxColour swig_types[94]
1436#define SWIGTYPE_p_wxToolBar swig_types[95]
1437#define SWIGTYPE_p_wxBookCtrlSizer swig_types[96]
1438#define SWIGTYPE_p_wxValidator swig_types[97]
1439static swig_type_info *swig_types[99];
093d3ff1
RD
1440
1441/* -------- TYPES TABLE (END) -------- */
1442
1443
1444/*-----------------------------------------------
1445 @(target):= _controls_.so
1446 ------------------------------------------------*/
1447#define SWIG_init init_controls_
1448
1449#define SWIG_name "_controls_"
1450
1451#include "wx/wxPython/wxPython.h"
1452#include "wx/wxPython/pyclasses.h"
1453
1454 static const wxString wxPyPanelNameStr(wxPanelNameStr);
1455 static const wxString wxPyEmptyString(wxEmptyString);
1456 static const wxString wxPyControlNameStr(wxControlNameStr);
1457
1458 const wxArrayString wxPyEmptyStringArray;
1459
1460 static const wxString wxPyButtonNameStr(wxButtonNameStr);
1461
1462 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1463#define SWIG_From_int PyInt_FromLong
1464/*@@*/
1465
1466
1467#include <limits.h>
1468
1469
1470SWIGINTERN int
1471 SWIG_CheckLongInRange(long value, long min_value, long max_value,
1472 const char *errmsg)
1473{
1474 if (value < min_value) {
1475 if (errmsg) {
1476 PyErr_Format(PyExc_OverflowError,
1477 "value %ld is less than '%s' minimum %ld",
1478 value, errmsg, min_value);
1479 }
1480 return 0;
1481 } else if (value > max_value) {
1482 if (errmsg) {
1483 PyErr_Format(PyExc_OverflowError,
1484 "value %ld is greater than '%s' maximum %ld",
1485 value, errmsg, max_value);
1486 }
1487 return 0;
1488 }
1489 return 1;
1490}
1491
1492
1493SWIGINTERN int
1494SWIG_AsVal_long(PyObject* obj, long* val)
1495{
1496 if (PyNumber_Check(obj)) {
1497 if (val) *val = PyInt_AsLong(obj);
1498 return 1;
1499 }
1500 else {
1501 SWIG_type_error("number", obj);
1502 }
1503 return 0;
1504}
1505
1506
1507#if INT_MAX != LONG_MAX
1508SWIGINTERN int
1509 SWIG_AsVal_int(PyObject *obj, int *val)
1510{
1511 const char* errmsg = val ? "int" : (char*)0;
1512 long v;
1513 if (SWIG_AsVal_long(obj, &v)) {
1514 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
1515 if (val) *val = (int)(v);
1516 return 1;
1517 } else {
1518 return 0;
1519 }
1520 } else {
1521 PyErr_Clear();
1522 }
1523 if (val) {
1524 SWIG_type_error(errmsg, obj);
1525 }
1526 return 0;
1527}
1528#else
1529SWIGINTERNSHORT int
1530 SWIG_AsVal_int(PyObject *obj, int *val)
1531{
1532 return SWIG_AsVal_long(obj,(long*)val);
1533}
1534#endif
1535
1536
1537SWIGINTERNSHORT int
c32bde28 1538SWIG_As_int(PyObject* obj)
d55e5bfc 1539{
c32bde28
RD
1540 int v;
1541 if (!SWIG_AsVal_int(obj, &v)) {
1542 /*
093d3ff1 1543 this is needed to make valgrind/purify happier.
c32bde28
RD
1544 */
1545 memset((void*)&v, 0, sizeof(int));
d55e5bfc 1546 }
c32bde28 1547 return v;
d55e5bfc
RD
1548}
1549
1550
093d3ff1 1551SWIGINTERNSHORT long
c32bde28 1552SWIG_As_long(PyObject* obj)
d55e5bfc 1553{
c32bde28
RD
1554 long v;
1555 if (!SWIG_AsVal_long(obj, &v)) {
1556 /*
093d3ff1 1557 this is needed to make valgrind/purify happier.
c32bde28
RD
1558 */
1559 memset((void*)&v, 0, sizeof(long));
d55e5bfc 1560 }
c32bde28 1561 return v;
d55e5bfc
RD
1562}
1563
c32bde28 1564
093d3ff1 1565SWIGINTERNSHORT int
c32bde28
RD
1566SWIG_Check_int(PyObject* obj)
1567{
1568 return SWIG_AsVal_int(obj, (int*)0);
1569}
d55e5bfc 1570
c32bde28 1571
093d3ff1 1572SWIGINTERNSHORT int
c32bde28 1573SWIG_Check_long(PyObject* obj)
d55e5bfc 1574{
c32bde28 1575 return SWIG_AsVal_long(obj, (long*)0);
d55e5bfc
RD
1576}
1577
c32bde28 1578 static const wxString wxPyCheckBoxNameStr(wxCheckBoxNameStr);
d55e5bfc 1579
093d3ff1 1580SWIGINTERN int
c32bde28 1581 SWIG_AsVal_bool(PyObject *obj, bool *val)
d55e5bfc 1582{
c32bde28
RD
1583 if (obj == Py_True) {
1584 if (val) *val = true;
1585 return 1;
1586 }
1587 if (obj == Py_False) {
1588 if (val) *val = false;
d55e5bfc
RD
1589 return 1;
1590 }
c32bde28
RD
1591 int res = 0;
1592 if (SWIG_AsVal_int(obj, &res)) {
093d3ff1 1593 if (val) *val = res ? true : false;
c32bde28 1594 return 1;
093d3ff1
RD
1595 } else {
1596 PyErr_Clear();
1597 }
c32bde28 1598 if (val) {
093d3ff1 1599 SWIG_type_error("bool", obj);
c32bde28
RD
1600 }
1601 return 0;
1602}
1603
1604
093d3ff1 1605SWIGINTERNSHORT bool
c32bde28
RD
1606SWIG_As_bool(PyObject* obj)
1607{
1608 bool v;
1609 if (!SWIG_AsVal_bool(obj, &v)) {
1610 /*
093d3ff1 1611 this is needed to make valgrind/purify happier.
c32bde28
RD
1612 */
1613 memset((void*)&v, 0, sizeof(bool));
1614 }
1615 return v;
1616}
1617
1618
093d3ff1 1619SWIGINTERNSHORT int
c32bde28
RD
1620SWIG_Check_bool(PyObject* obj)
1621{
1622 return SWIG_AsVal_bool(obj, (bool*)0);
d55e5bfc
RD
1623}
1624
1625 static const wxString wxPyChoiceNameStr(wxChoiceNameStr);
1626 static const wxString wxPyComboBoxNameStr(wxComboBoxNameStr);
f78cc896 1627
093d3ff1
RD
1628 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1629#define SWIG_From_long PyInt_FromLong
1630/*@@*/
1631
1632
f78cc896
RD
1633 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
1634 PyObject* o2;
1635 PyObject* o3;
1636
1637 if (!target) {
1638 target = o;
1639 } else if (target == Py_None) {
1640 Py_DECREF(Py_None);
1641 target = o;
1642 } else {
1643 if (!PyTuple_Check(target)) {
1644 o2 = target;
1645 target = PyTuple_New(1);
1646 PyTuple_SetItem(target, 0, o2);
1647 }
1648 o3 = PyTuple_New(1);
1649 PyTuple_SetItem(o3, 0, o);
1650
1651 o2 = target;
1652 target = PySequence_Concat(o2, o3);
1653 Py_DECREF(o2);
1654 Py_DECREF(o3);
1655 }
1656 return target;
1657 }
1658
1659
d55e5bfc
RD
1660 static const wxString wxPyGaugeNameStr(wxGaugeNameStr);
1661 static const wxString wxPyStaticBitmapNameStr(wxStaticBitmapNameStr);
1662 static const wxString wxPyStaticBoxNameStr(wxStaticBoxNameStr);
1663 static const wxString wxPyStaticTextNameStr(wxStaticTextNameStr);
1664
1665#include <wx/checklst.h>
1666
1667
1668 static const wxString wxPyListBoxNameStr(wxListBoxNameStr);
093d3ff1 1669static void wxListBox_Insert(wxListBox *self,wxString const &item,int pos,PyObject *clientData=NULL){
d55e5bfc
RD
1670 if (clientData) {
1671 wxPyClientData* data = new wxPyClientData(clientData);
1672 self->Insert(item, pos, data);
1673 } else
1674 self->Insert(item, pos);
1675 }
093d3ff1 1676static PyObject *wxListBox_GetSelections(wxListBox *self){
d55e5bfc
RD
1677 wxArrayInt lst;
1678 self->GetSelections(lst);
1679 PyObject *tup = PyTuple_New(lst.GetCount());
1680 for(size_t i=0; i<lst.GetCount(); i++) {
1681 PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
1682 }
1683 return tup;
1684 }
093d3ff1 1685static void wxListBox_SetItemForegroundColour(wxListBox *self,int item,wxColour const &c){
d55e5bfc
RD
1686 #ifdef __WXMSW__
1687 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
1688 self->GetItem(item)->SetTextColour(c);
1689 #endif
1690 }
093d3ff1 1691static void wxListBox_SetItemBackgroundColour(wxListBox *self,int item,wxColour const &c){
d55e5bfc
RD
1692 #ifdef __WXMSW__
1693 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
1694 self->GetItem(item)->SetBackgroundColour(c);
1695 #endif
1696 }
093d3ff1 1697static void wxListBox_SetItemFont(wxListBox *self,int item,wxFont const &f){
d55e5bfc
RD
1698 #ifdef __WXMSW__
1699 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
1700 self->GetItem(item)->SetFont(f);
1701 #endif
1702 }
1703 static const wxString wxPyTextCtrlNameStr(wxTextCtrlNameStr);
1704
093d3ff1 1705SWIGINTERN int
c32bde28 1706SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
d55e5bfc 1707{
c32bde28
RD
1708 long v = 0;
1709 if (SWIG_AsVal_long(obj, &v) && v < 0) {
093d3ff1 1710 SWIG_type_error("unsigned number", obj);
d55e5bfc 1711 }
c32bde28
RD
1712 else if (val)
1713 *val = (unsigned long)v;
1714 return 1;
d55e5bfc
RD
1715}
1716
1717
093d3ff1 1718SWIGINTERNSHORT unsigned long
c32bde28 1719SWIG_As_unsigned_SS_long(PyObject* obj)
d55e5bfc 1720{
c32bde28
RD
1721 unsigned long v;
1722 if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) {
1723 /*
093d3ff1 1724 this is needed to make valgrind/purify happier.
c32bde28
RD
1725 */
1726 memset((void*)&v, 0, sizeof(unsigned long));
d55e5bfc 1727 }
c32bde28
RD
1728 return v;
1729}
1730
1731
093d3ff1 1732SWIGINTERNSHORT int
c32bde28
RD
1733SWIG_Check_unsigned_SS_long(PyObject* obj)
1734{
1735 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
d55e5bfc
RD
1736}
1737
093d3ff1 1738static void wxTextCtrl_write(wxTextCtrl *self,wxString const &text){
d55e5bfc
RD
1739 self->AppendText(text);
1740 }
093d3ff1 1741static wxString wxTextCtrl_GetString(wxTextCtrl *self,long from,long to){
d55e5bfc
RD
1742 return self->GetValue().Mid(from, to - from);
1743 }
1744 static const wxString wxPyScrollBarNameStr(wxScrollBarNameStr);
1745 static const wxString wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME);
1746 static const wxString wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
1747 static const wxString wxPyRadioBoxNameStr(wxRadioBoxNameStr);
1748 static const wxString wxPyRadioButtonNameStr(wxRadioButtonNameStr);
1749
1750#include <wx/slider.h>
1751
1752
1753 static const wxString wxPySliderNameStr(wxSliderNameStr);
1754 static const wxString wxPyToggleButtonNameStr(_T("wxToggleButton"));
1755
1756#if !wxUSE_TOGGLEBTN
1757// implement dummy items for platforms that don't have this class
1758
1759#define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
1760
1761class wxToggleButton : public wxControl
1762{
1763public:
1764 wxToggleButton(wxWindow *, wxWindowID, const wxString&,
1765 const wxPoint&, const wxSize&, long,
1766 const wxValidator&, const wxString&)
1767 { wxPyRaiseNotImplemented(); }
1768
1769 wxToggleButton()
1770 { wxPyRaiseNotImplemented(); }
1771};
1772#endif
1773
51b83b37 1774 static const wxString wxPyNotebookNameStr(wxNotebookNameStr);
d55e5bfc 1775
093d3ff1 1776SWIGINTERNSHORT PyObject*
c32bde28 1777 SWIG_From_unsigned_SS_long(unsigned long value)
d55e5bfc
RD
1778{
1779 return (value > LONG_MAX) ?
1780 PyLong_FromUnsignedLong(value)
093d3ff1 1781 : PyInt_FromLong((long)(value));
d55e5bfc
RD
1782}
1783
1784 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
093d3ff1 1785static PyObject *wxToolBarToolBase_GetClientData(wxToolBarToolBase *self){
d55e5bfc
RD
1786 wxPyUserData* udata = (wxPyUserData*)self->GetClientData();
1787 if (udata) {
1788 Py_INCREF(udata->m_obj);
1789 return udata->m_obj;
1790 } else {
1791 Py_INCREF(Py_None);
1792 return Py_None;
1793 }
1794 }
093d3ff1 1795static void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject *clientData){
d55e5bfc
RD
1796 self->SetClientData(new wxPyUserData(clientData));
1797 }
093d3ff1 1798static 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
1799 wxPyUserData* udata = NULL;
1800 if (clientData && clientData != Py_None)
1801 udata = new wxPyUserData(clientData);
1802 return self->AddTool(id, label, bitmap, bmpDisabled, kind,
1803 shortHelp, longHelp, udata);
1804 }
093d3ff1 1805static 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
1806 wxPyUserData* udata = NULL;
1807 if (clientData && clientData != Py_None)
1808 udata = new wxPyUserData(clientData);
1809 return self->InsertTool(pos, id, label, bitmap, bmpDisabled, kind,
1810 shortHelp, longHelp, udata);
1811 }
093d3ff1 1812static PyObject *wxToolBarBase_GetToolClientData(wxToolBarBase *self,int id){
d55e5bfc
RD
1813 wxPyUserData* udata = (wxPyUserData*)self->GetToolClientData(id);
1814 if (udata) {
1815 Py_INCREF(udata->m_obj);
1816 return udata->m_obj;
1817 } else {
1818 Py_INCREF(Py_None);
1819 return Py_None;
1820 }
1821 }
093d3ff1 1822static void wxToolBarBase_SetToolClientData(wxToolBarBase *self,int id,PyObject *clientData){
d55e5bfc
RD
1823 self->SetToolClientData(id, new wxPyUserData(clientData));
1824 }
1825
1826#include <wx/listctrl.h>
1827
fef4c27a 1828 static const wxString wxPyListCtrlNameStr(wxListCtrlNameStr);
093d3ff1 1829static void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; }
d55e5bfc
RD
1830 // Python aware sorting function for wxPyListCtrl
1831 static int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
1832 int retval = 0;
1833 PyObject* func = (PyObject*)funcPtr;
5a446332 1834 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc
RD
1835
1836 PyObject* args = Py_BuildValue("(ii)", item1, item2);
1837 PyObject* result = PyEval_CallObject(func, args);
1838 Py_DECREF(args);
1839 if (result) {
1840 retval = PyInt_AsLong(result);
1841 Py_DECREF(result);
1842 }
1843
1844 wxPyEndBlockThreads(blocked);
1845 return retval;
1846 }
1847
1848 // C++ Version of a Python aware class
1849class wxPyListCtrl : public wxListCtrl {
1850 DECLARE_ABSTRACT_CLASS(wxPyListCtrl);
1851public:
1852 wxPyListCtrl() : wxListCtrl() {}
1853 wxPyListCtrl(wxWindow* parent, wxWindowID id,
1854 const wxPoint& pos,
1855 const wxSize& size,
1856 long style,
1857 const wxValidator& validator,
1858 const wxString& name) :
1859 wxListCtrl(parent, id, pos, size, style, validator, name) {}
1860
1861 bool Create(wxWindow* parent, wxWindowID id,
1862 const wxPoint& pos,
1863 const wxSize& size,
1864 long style,
1865 const wxValidator& validator,
1866 const wxString& name) {
1867 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
1868 }
1869
1870 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
d55e5bfc
RD
1871 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
1872
84f85550
RD
1873 // use the virtual version to avoid a confusing assert in the base class
1874 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage);
1875
d55e5bfc
RD
1876 PYPRIVATE;
1877};
1878
1879IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
1880
1881IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
d55e5bfc 1882IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
84f85550
RD
1883IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl, wxListCtrl, OnGetItemImage);
1884
d55e5bfc 1885
093d3ff1 1886static wxListItem *wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col){
d55e5bfc
RD
1887 wxListItem item;
1888 item.SetMask( wxLIST_MASK_STATE |
1889 wxLIST_MASK_TEXT |
1890 wxLIST_MASK_IMAGE |
1891 wxLIST_MASK_DATA |
1892 wxLIST_SET_ITEM |
1893 wxLIST_MASK_WIDTH |
1894 wxLIST_MASK_FORMAT
1895 );
1896 if (self->GetColumn(col, item))
1897 return new wxListItem(item);
1898 else
1899 return NULL;
1900 }
093d3ff1 1901static wxListItem *wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col=0){
d55e5bfc
RD
1902 wxListItem* info = new wxListItem;
1903 info->m_itemId = itemId;
1904 info->m_col = col;
1905 info->m_mask = 0xFFFF;
1906 self->GetItem(*info);
1907 return info;
1908 }
093d3ff1 1909static wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
d55e5bfc
RD
1910 wxPoint pos;
1911 self->GetItemPosition(item, pos);
1912 return pos;
1913 }
093d3ff1 1914static wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code=wxLIST_RECT_BOUNDS){
d55e5bfc
RD
1915 wxRect rect;
1916 self->GetItemRect(item, rect, code);
1917 return rect;
1918 }
c32bde28 1919
093d3ff1 1920static bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
d55e5bfc 1921 if (!PyCallable_Check(func))
ae8162c8 1922 return false;
d55e5bfc
RD
1923 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
1924 }
093d3ff1 1925static wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
d55e5bfc
RD
1926
1927 return self;
1928
1929
1930
1931 }
1932
1933#include <wx/treectrl.h>
1934#include "wx/wxPython/pytree.h"
1935
1936 static const wxString wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
093d3ff1
RD
1937static bool wxTreeItemId___eq__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self == *other) : false; }
1938static bool wxTreeItemId___ne__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self != *other) : true; }
1939static void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; }
d55e5bfc
RD
1940 // C++ version of Python aware wxTreeCtrl
1941class wxPyTreeCtrl : public wxTreeCtrl {
1942 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl);
1943public:
1944 wxPyTreeCtrl() : wxTreeCtrl() {}
1945 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
1946 const wxPoint& pos,
1947 const wxSize& size,
1948 long style,
1949 const wxValidator& validator,
1950 const wxString& name) :
1951 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
1952
1953 bool Create(wxWindow *parent, wxWindowID id,
1954 const wxPoint& pos,
1955 const wxSize& size,
1956 long style,
1957 const wxValidator& validator,
1958 const wxString& name) {
1959 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
1960 }
1961
1962
1963 int OnCompareItems(const wxTreeItemId& item1,
1964 const wxTreeItemId& item2) {
1965 int rval = 0;
1966 bool found;
5a446332 1967 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc 1968 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
ae8162c8
RD
1969 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), false);
1970 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), false);
d55e5bfc
RD
1971 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
1972 Py_DECREF(o1);
1973 Py_DECREF(o2);
1974 }
1975 wxPyEndBlockThreads(blocked);
1976 if (! found)
1977 rval = wxTreeCtrl::OnCompareItems(item1, item2);
1978 return rval;
1979 }
1980 PYPRIVATE;
1981};
1982
1983IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
1984
1985
1986
1987#if UINT_MAX < LONG_MAX
093d3ff1 1988/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
c32bde28
RD
1989#define SWIG_From_unsigned_SS_int SWIG_From_long
1990/*@@*/
d55e5bfc 1991#else
093d3ff1 1992/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
c32bde28
RD
1993#define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
1994/*@@*/
d55e5bfc
RD
1995#endif
1996
1997
093d3ff1 1998SWIGINTERNSHORT int
c32bde28
RD
1999 SWIG_CheckUnsignedLongInRange(unsigned long value,
2000 unsigned long max_value,
2001 const char *errmsg)
d55e5bfc 2002{
c32bde28
RD
2003 if (value > max_value) {
2004 if (errmsg) {
2005 PyErr_Format(PyExc_OverflowError,
093d3ff1 2006 "value %lu is greater than '%s' minimum %lu",
c32bde28 2007 value, errmsg, max_value);
d55e5bfc 2008 }
c32bde28 2009 return 0;
d55e5bfc 2010 }
c32bde28
RD
2011 return 1;
2012 }
d55e5bfc
RD
2013
2014
2015#if UINT_MAX != ULONG_MAX
093d3ff1 2016SWIGINTERN int
c32bde28 2017 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
d55e5bfc 2018{
093d3ff1 2019 const char* errmsg = val ? "unsigned int" : (char*)0;
c32bde28
RD
2020 unsigned long v;
2021 if (SWIG_AsVal_unsigned_SS_long(obj, &v)) {
2022 if (SWIG_CheckUnsignedLongInRange(v, INT_MAX, errmsg)) {
093d3ff1 2023 if (val) *val = (unsigned int)(v);
c32bde28
RD
2024 return 1;
2025 }
2026 } else {
2027 PyErr_Clear();
2028 }
2029 if (val) {
093d3ff1 2030 SWIG_type_error(errmsg, obj);
c32bde28
RD
2031 }
2032 return 0;
d55e5bfc
RD
2033}
2034#else
093d3ff1 2035SWIGINTERNSHORT unsigned int
c32bde28
RD
2036 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
2037{
2038 return SWIG_AsVal_unsigned_SS_long(obj,(unsigned long *)val);
2039}
d55e5bfc
RD
2040#endif
2041
2042
093d3ff1 2043SWIGINTERNSHORT unsigned int
c32bde28 2044SWIG_As_unsigned_SS_int(PyObject* obj)
d55e5bfc 2045{
c32bde28
RD
2046 unsigned int v;
2047 if (!SWIG_AsVal_unsigned_SS_int(obj, &v)) {
2048 /*
093d3ff1 2049 this is needed to make valgrind/purify happier.
c32bde28
RD
2050 */
2051 memset((void*)&v, 0, sizeof(unsigned int));
d55e5bfc 2052 }
c32bde28
RD
2053 return v;
2054}
2055
2056
093d3ff1 2057SWIGINTERNSHORT int
c32bde28
RD
2058SWIG_Check_unsigned_SS_int(PyObject* obj)
2059{
2060 return SWIG_AsVal_unsigned_SS_int(obj, (unsigned int*)0);
d55e5bfc
RD
2061}
2062
093d3ff1 2063static wxPyTreeItemData *wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item){
d55e5bfc
RD
2064 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
2065 if (data == NULL) {
2066 data = new wxPyTreeItemData();
2067 data->SetId(item); // set the id
2068 self->SetItemData(item, data);
2069 }
2070 return data;
2071 }
093d3ff1 2072static PyObject *wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item){
d55e5bfc
RD
2073 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
2074 if (data == NULL) {
2075 data = new wxPyTreeItemData();
2076 data->SetId(item); // set the id
2077 self->SetItemData(item, data);
2078 }
2079 return data->GetData();
2080 }
093d3ff1 2081static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
d55e5bfc
RD
2082 data->SetId(item); // set the id
2083 self->SetItemData(item, data);
2084 }
093d3ff1 2085static void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item,PyObject *obj){
d55e5bfc
RD
2086 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
2087 if (data == NULL) {
2088 data = new wxPyTreeItemData(obj);
2089 data->SetId(item); // set the id
2090 self->SetItemData(item, data);
2091 } else
2092 data->SetData(obj);
2093 }
093d3ff1 2094static PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){
5a446332 2095 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc
RD
2096 PyObject* rval = PyList_New(0);
2097 wxArrayTreeItemIds array;
2098 size_t num, x;
2099 num = self->GetSelections(array);
2100 for (x=0; x < num; x++) {
2101 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
ae8162c8 2102 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), true);
d55e5bfc 2103 PyList_Append(rval, item);
a07a67e6 2104 Py_DECREF(item);
d55e5bfc
RD
2105 }
2106 wxPyEndBlockThreads(blocked);
2107 return rval;
2108 }
093d3ff1 2109static PyObject *wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl *self,wxTreeItemId const &item){
d55e5bfc
RD
2110 void* cookie = 0;
2111 wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie));
5a446332 2112 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc 2113 PyObject* tup = PyTuple_New(2);
ae8162c8 2114 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
d55e5bfc
RD
2115 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
2116 wxPyEndBlockThreads(blocked);
2117 return tup;
2118 }
093d3ff1 2119static PyObject *wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl *self,wxTreeItemId const &item,void *cookie){
d55e5bfc 2120 wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie));
5a446332 2121 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc 2122 PyObject* tup = PyTuple_New(2);
ae8162c8 2123 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
d55e5bfc
RD
2124 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
2125 wxPyEndBlockThreads(blocked);
2126 return tup;
2127 }
093d3ff1 2128static PyObject *wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,wxTreeItemId const &item,bool textOnly=false){
d55e5bfc
RD
2129 wxRect rect;
2130 if (self->GetBoundingRect(item, rect, textOnly)) {
5a446332 2131 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc 2132 wxRect* r = new wxRect(rect);
ae8162c8 2133 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), true);
d55e5bfc
RD
2134 wxPyEndBlockThreads(blocked);
2135 return val;
2136 }
2137 else
2138 RETURN_NONE();
2139 }
2140 static const wxString wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr);
c32bde28 2141
093d3ff1 2142SWIGINTERNSHORT PyObject*
c32bde28
RD
2143 SWIG_From_bool(bool value)
2144{
2145 PyObject *obj = value ? Py_True : Py_False;
2146 Py_INCREF(obj);
2147 return obj;
2148}
2149
2150
d55e5bfc
RD
2151 // C++ version of Python aware wxControl
2152class wxPyControl : public wxControl
2153{
2154 DECLARE_DYNAMIC_CLASS(wxPyControl)
2155public:
2156 wxPyControl() : wxControl() {}
2157 wxPyControl(wxWindow* parent, const wxWindowID id,
2158 const wxPoint& pos = wxDefaultPosition,
2159 const wxSize& size = wxDefaultSize,
2160 long style = 0,
2161 const wxValidator& validator=wxDefaultValidator,
2162 const wxString& name = wxPyControlNameStr)
2163 : wxControl(parent, id, pos, size, style, validator, name) {}
2164
caef1a4d 2165 void SetBestSize(const wxSize& size) { wxControl::SetBestSize(size); }
d55e5bfc
RD
2166
2167 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
2168 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
2169 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
2170 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
2171
2172 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
2173 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
2174 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
2175
2176 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
2177 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
2178
2179 DEC_PYCALLBACK__(InitDialog);
2180 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
2181 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
2182 DEC_PYCALLBACK_BOOL_(Validate);
2183
2184 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
2185 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
2186 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
2187
2188 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
2189 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
2190
caef1a4d 2191 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
d55e5bfc 2192 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
caef1a4d 2193 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
d55e5bfc 2194
51b83b37
RD
2195 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
2196
d55e5bfc
RD
2197 PYPRIVATE;
2198};
2199
2200IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
2201
2202IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
2203IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
2204IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
2205IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
2206
2207IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
2208IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
2209IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
2210
2211IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
2212IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
2213
2214IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
2215IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
2216IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
2217IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
2218
2219IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
2220IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
2221IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
2222
2223IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
2224IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
2225
caef1a4d 2226IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, ShouldInheritColours);
d55e5bfc 2227IMP_PYCALLBACK__COLOUR(wxPyControl, wxControl, ApplyParentThemeBackground);
caef1a4d 2228IMP_PYCALLBACK_VIZATTR_(wxPyControl, wxControl, GetDefaultAttributes);
d55e5bfc 2229
51b83b37
RD
2230IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, HasTransparentBackground);
2231
d55e5bfc
RD
2232
2233
093d3ff1 2234static void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
d55e5bfc
RD
2235
2236#include <wx/generic/dragimgg.h>
2237
53aa7709
RD
2238 static const wxString wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr);
2239static wxDateTime wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl *self){
2240 wxDateTime rv;
2241 self->GetRange(&rv, NULL);
2242 return rv;
2243 }
2244static wxDateTime wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl *self){
2245 wxDateTime rv;
2246 self->GetRange(NULL, &rv);
2247 return rv;
2248 }
d55e5bfc
RD
2249#ifdef __cplusplus
2250extern "C" {
2251#endif
c32bde28 2252static int _wrap_ButtonNameStr_set(PyObject *) {
d55e5bfc
RD
2253 PyErr_SetString(PyExc_TypeError,"Variable ButtonNameStr is read-only.");
2254 return 1;
2255}
2256
2257
093d3ff1 2258static PyObject *_wrap_ButtonNameStr_get(void) {
d55e5bfc
RD
2259 PyObject *pyobj;
2260
2261 {
2262#if wxUSE_UNICODE
2263 pyobj = PyUnicode_FromWideChar((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
2264#else
2265 pyobj = PyString_FromStringAndSize((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
2266#endif
2267 }
2268 return pyobj;
2269}
2270
2271
c32bde28 2272static PyObject *_wrap_new_Button(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2273 PyObject *resultobj;
2274 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
2275 int arg2 = (int) -1 ;
2276 wxString const &arg3_defvalue = wxPyEmptyString ;
2277 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
2278 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2279 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2280 wxSize const &arg5_defvalue = wxDefaultSize ;
2281 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2282 long arg6 = (long) 0 ;
2283 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2284 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2285 wxString const &arg8_defvalue = wxPyButtonNameStr ;
2286 wxString *arg8 = (wxString *) &arg8_defvalue ;
2287 wxButton *result;
ae8162c8 2288 bool temp3 = false ;
d55e5bfc
RD
2289 wxPoint temp4 ;
2290 wxSize temp5 ;
ae8162c8 2291 bool temp8 = false ;
d55e5bfc
RD
2292 PyObject * obj0 = 0 ;
2293 PyObject * obj1 = 0 ;
2294 PyObject * obj2 = 0 ;
2295 PyObject * obj3 = 0 ;
2296 PyObject * obj4 = 0 ;
2297 PyObject * obj5 = 0 ;
2298 PyObject * obj6 = 0 ;
2299 PyObject * obj7 = 0 ;
2300 char *kwnames[] = {
2301 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2302 };
2303
248ed943 2304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Button",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
2305 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2306 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 2307 if (obj1) {
093d3ff1
RD
2308 {
2309 arg2 = (int)(SWIG_As_int(obj1));
2310 if (SWIG_arg_fail(2)) SWIG_fail;
2311 }
248ed943
RD
2312 }
2313 if (obj2) {
2314 {
2315 arg3 = wxString_in_helper(obj2);
2316 if (arg3 == NULL) SWIG_fail;
ae8162c8 2317 temp3 = true;
248ed943 2318 }
d55e5bfc
RD
2319 }
2320 if (obj3) {
2321 {
2322 arg4 = &temp4;
2323 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2324 }
2325 }
2326 if (obj4) {
2327 {
2328 arg5 = &temp5;
2329 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2330 }
2331 }
2332 if (obj5) {
093d3ff1
RD
2333 {
2334 arg6 = (long)(SWIG_As_long(obj5));
2335 if (SWIG_arg_fail(6)) SWIG_fail;
2336 }
d55e5bfc
RD
2337 }
2338 if (obj6) {
093d3ff1
RD
2339 {
2340 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2341 if (SWIG_arg_fail(7)) SWIG_fail;
2342 if (arg7 == NULL) {
2343 SWIG_null_ref("wxValidator");
2344 }
2345 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
2346 }
2347 }
2348 if (obj7) {
2349 {
2350 arg8 = wxString_in_helper(obj7);
2351 if (arg8 == NULL) SWIG_fail;
ae8162c8 2352 temp8 = true;
d55e5bfc
RD
2353 }
2354 }
2355 {
0439c23b 2356 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2357 PyThreadState* __tstate = wxPyBeginAllowThreads();
2358 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2359
2360 wxPyEndAllowThreads(__tstate);
110da5b0 2361 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 2362 }
b0f7404b 2363 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxButton, 1);
d55e5bfc
RD
2364 {
2365 if (temp3)
2366 delete arg3;
2367 }
2368 {
2369 if (temp8)
2370 delete arg8;
2371 }
2372 return resultobj;
2373 fail:
2374 {
2375 if (temp3)
2376 delete arg3;
2377 }
2378 {
2379 if (temp8)
2380 delete arg8;
2381 }
2382 return NULL;
2383}
2384
2385
c32bde28 2386static PyObject *_wrap_new_PreButton(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2387 PyObject *resultobj;
2388 wxButton *result;
2389 char *kwnames[] = {
2390 NULL
2391 };
2392
2393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreButton",kwnames)) goto fail;
2394 {
0439c23b 2395 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2396 PyThreadState* __tstate = wxPyBeginAllowThreads();
2397 result = (wxButton *)new wxButton();
2398
2399 wxPyEndAllowThreads(__tstate);
110da5b0 2400 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 2401 }
b0f7404b 2402 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxButton, 1);
d55e5bfc
RD
2403 return resultobj;
2404 fail:
2405 return NULL;
2406}
2407
2408
c32bde28 2409static PyObject *_wrap_Button_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2410 PyObject *resultobj;
2411 wxButton *arg1 = (wxButton *) 0 ;
2412 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
2413 int arg3 = (int) -1 ;
2414 wxString const &arg4_defvalue = wxPyEmptyString ;
2415 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
2416 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2417 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2418 wxSize const &arg6_defvalue = wxDefaultSize ;
2419 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2420 long arg7 = (long) 0 ;
2421 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2422 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2423 wxString const &arg9_defvalue = wxPyButtonNameStr ;
2424 wxString *arg9 = (wxString *) &arg9_defvalue ;
2425 bool result;
ae8162c8 2426 bool temp4 = false ;
d55e5bfc
RD
2427 wxPoint temp5 ;
2428 wxSize temp6 ;
ae8162c8 2429 bool temp9 = false ;
d55e5bfc
RD
2430 PyObject * obj0 = 0 ;
2431 PyObject * obj1 = 0 ;
2432 PyObject * obj2 = 0 ;
2433 PyObject * obj3 = 0 ;
2434 PyObject * obj4 = 0 ;
2435 PyObject * obj5 = 0 ;
2436 PyObject * obj6 = 0 ;
2437 PyObject * obj7 = 0 ;
2438 PyObject * obj8 = 0 ;
2439 char *kwnames[] = {
2440 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2441 };
2442
248ed943 2443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Button_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
2444 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxButton, SWIG_POINTER_EXCEPTION | 0);
2445 if (SWIG_arg_fail(1)) SWIG_fail;
2446 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2447 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 2448 if (obj2) {
093d3ff1
RD
2449 {
2450 arg3 = (int)(SWIG_As_int(obj2));
2451 if (SWIG_arg_fail(3)) SWIG_fail;
2452 }
248ed943
RD
2453 }
2454 if (obj3) {
2455 {
2456 arg4 = wxString_in_helper(obj3);
2457 if (arg4 == NULL) SWIG_fail;
ae8162c8 2458 temp4 = true;
248ed943 2459 }
d55e5bfc
RD
2460 }
2461 if (obj4) {
2462 {
2463 arg5 = &temp5;
2464 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2465 }
2466 }
2467 if (obj5) {
2468 {
2469 arg6 = &temp6;
2470 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2471 }
2472 }
2473 if (obj6) {
093d3ff1
RD
2474 {
2475 arg7 = (long)(SWIG_As_long(obj6));
2476 if (SWIG_arg_fail(7)) SWIG_fail;
2477 }
d55e5bfc
RD
2478 }
2479 if (obj7) {
093d3ff1
RD
2480 {
2481 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2482 if (SWIG_arg_fail(8)) SWIG_fail;
2483 if (arg8 == NULL) {
2484 SWIG_null_ref("wxValidator");
2485 }
2486 if (SWIG_arg_fail(8)) SWIG_fail;
d55e5bfc
RD
2487 }
2488 }
2489 if (obj8) {
2490 {
2491 arg9 = wxString_in_helper(obj8);
2492 if (arg9 == NULL) SWIG_fail;
ae8162c8 2493 temp9 = true;
d55e5bfc
RD
2494 }
2495 }
2496 {
2497 PyThreadState* __tstate = wxPyBeginAllowThreads();
2498 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2499
2500 wxPyEndAllowThreads(__tstate);
2501 if (PyErr_Occurred()) SWIG_fail;
2502 }
2503 {
2504 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2505 }
2506 {
2507 if (temp4)
2508 delete arg4;
2509 }
2510 {
2511 if (temp9)
2512 delete arg9;
2513 }
2514 return resultobj;
2515 fail:
2516 {
2517 if (temp4)
2518 delete arg4;
2519 }
2520 {
2521 if (temp9)
2522 delete arg9;
2523 }
2524 return NULL;
2525}
2526
2527
c32bde28 2528static PyObject *_wrap_Button_SetDefault(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2529 PyObject *resultobj;
2530 wxButton *arg1 = (wxButton *) 0 ;
2531 PyObject * obj0 = 0 ;
2532 char *kwnames[] = {
2533 (char *) "self", NULL
2534 };
2535
2536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Button_SetDefault",kwnames,&obj0)) goto fail;
093d3ff1
RD
2537 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxButton, SWIG_POINTER_EXCEPTION | 0);
2538 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
2539 {
2540 PyThreadState* __tstate = wxPyBeginAllowThreads();
2541 (arg1)->SetDefault();
2542
2543 wxPyEndAllowThreads(__tstate);
2544 if (PyErr_Occurred()) SWIG_fail;
2545 }
2546 Py_INCREF(Py_None); resultobj = Py_None;
2547 return resultobj;
2548 fail:
2549 return NULL;
2550}
2551
2552
c32bde28 2553static PyObject *_wrap_Button_GetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2554 PyObject *resultobj;
2555 wxSize result;
2556 char *kwnames[] = {
2557 NULL
2558 };
2559
2560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Button_GetDefaultSize",kwnames)) goto fail;
2561 {
2562 PyThreadState* __tstate = wxPyBeginAllowThreads();
2563 result = wxButton::GetDefaultSize();
2564
2565 wxPyEndAllowThreads(__tstate);
2566 if (PyErr_Occurred()) SWIG_fail;
2567 }
2568 {
2569 wxSize * resultptr;
093d3ff1 2570 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
2571 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
2572 }
2573 return resultobj;
2574 fail:
2575 return NULL;
2576}
2577
2578
c32bde28 2579static PyObject *_wrap_Button_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 2580 PyObject *resultobj;
093d3ff1 2581 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
2582 wxVisualAttributes result;
2583 PyObject * obj0 = 0 ;
2584 char *kwnames[] = {
2585 (char *) "variant", NULL
2586 };
2587
2588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Button_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
2589 if (obj0) {
093d3ff1
RD
2590 {
2591 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
2592 if (SWIG_arg_fail(1)) SWIG_fail;
2593 }
f20a2e1f
RD
2594 }
2595 {
19272049 2596 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
2597 PyThreadState* __tstate = wxPyBeginAllowThreads();
2598 result = wxButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
2599
2600 wxPyEndAllowThreads(__tstate);
110da5b0 2601 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
2602 }
2603 {
2604 wxVisualAttributes * resultptr;
093d3ff1 2605 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
2606 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
2607 }
2608 return resultobj;
2609 fail:
2610 return NULL;
2611}
2612
2613
c32bde28 2614static PyObject * Button_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
2615 PyObject *obj;
2616 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2617 SWIG_TypeClientData(SWIGTYPE_p_wxButton, obj);
2618 Py_INCREF(obj);
2619 return Py_BuildValue((char *)"");
2620}
c32bde28 2621static PyObject *_wrap_new_BitmapButton(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2622 PyObject *resultobj;
2623 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
2624 int arg2 = (int) -1 ;
2625 wxBitmap const &arg3_defvalue = wxNullBitmap ;
2626 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
d55e5bfc
RD
2627 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2628 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2629 wxSize const &arg5_defvalue = wxDefaultSize ;
2630 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2631 long arg6 = (long) wxBU_AUTODRAW ;
2632 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2633 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2634 wxString const &arg8_defvalue = wxPyButtonNameStr ;
2635 wxString *arg8 = (wxString *) &arg8_defvalue ;
2636 wxBitmapButton *result;
2637 wxPoint temp4 ;
2638 wxSize temp5 ;
ae8162c8 2639 bool temp8 = false ;
d55e5bfc
RD
2640 PyObject * obj0 = 0 ;
2641 PyObject * obj1 = 0 ;
2642 PyObject * obj2 = 0 ;
2643 PyObject * obj3 = 0 ;
2644 PyObject * obj4 = 0 ;
2645 PyObject * obj5 = 0 ;
2646 PyObject * obj6 = 0 ;
2647 PyObject * obj7 = 0 ;
2648 char *kwnames[] = {
2649 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2650 };
2651
248ed943 2652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_BitmapButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
2653 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2654 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 2655 if (obj1) {
093d3ff1
RD
2656 {
2657 arg2 = (int)(SWIG_As_int(obj1));
2658 if (SWIG_arg_fail(2)) SWIG_fail;
2659 }
248ed943
RD
2660 }
2661 if (obj2) {
093d3ff1
RD
2662 {
2663 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
2664 if (SWIG_arg_fail(3)) SWIG_fail;
2665 if (arg3 == NULL) {
2666 SWIG_null_ref("wxBitmap");
2667 }
2668 if (SWIG_arg_fail(3)) SWIG_fail;
248ed943 2669 }
d55e5bfc
RD
2670 }
2671 if (obj3) {
2672 {
2673 arg4 = &temp4;
2674 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2675 }
2676 }
2677 if (obj4) {
2678 {
2679 arg5 = &temp5;
2680 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2681 }
2682 }
2683 if (obj5) {
093d3ff1
RD
2684 {
2685 arg6 = (long)(SWIG_As_long(obj5));
2686 if (SWIG_arg_fail(6)) SWIG_fail;
2687 }
d55e5bfc
RD
2688 }
2689 if (obj6) {
093d3ff1
RD
2690 {
2691 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2692 if (SWIG_arg_fail(7)) SWIG_fail;
2693 if (arg7 == NULL) {
2694 SWIG_null_ref("wxValidator");
2695 }
2696 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
2697 }
2698 }
2699 if (obj7) {
2700 {
2701 arg8 = wxString_in_helper(obj7);
2702 if (arg8 == NULL) SWIG_fail;
ae8162c8 2703 temp8 = true;
d55e5bfc
RD
2704 }
2705 }
2706 {
0439c23b 2707 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2708 PyThreadState* __tstate = wxPyBeginAllowThreads();
2709 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2710
2711 wxPyEndAllowThreads(__tstate);
110da5b0 2712 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 2713 }
b0f7404b 2714 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmapButton, 1);
d55e5bfc
RD
2715 {
2716 if (temp8)
2717 delete arg8;
2718 }
2719 return resultobj;
2720 fail:
2721 {
2722 if (temp8)
2723 delete arg8;
2724 }
2725 return NULL;
2726}
2727
2728
c32bde28 2729static PyObject *_wrap_new_PreBitmapButton(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2730 PyObject *resultobj;
2731 wxBitmapButton *result;
2732 char *kwnames[] = {
2733 NULL
2734 };
2735
2736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreBitmapButton",kwnames)) goto fail;
2737 {
0439c23b 2738 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2739 PyThreadState* __tstate = wxPyBeginAllowThreads();
2740 result = (wxBitmapButton *)new wxBitmapButton();
2741
2742 wxPyEndAllowThreads(__tstate);
110da5b0 2743 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 2744 }
b0f7404b 2745 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmapButton, 1);
d55e5bfc
RD
2746 return resultobj;
2747 fail:
2748 return NULL;
2749}
2750
2751
c32bde28 2752static PyObject *_wrap_BitmapButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2753 PyObject *resultobj;
2754 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2755 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
2756 int arg3 = (int) -1 ;
2757 wxBitmap const &arg4_defvalue = wxNullBitmap ;
2758 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
d55e5bfc
RD
2759 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2760 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2761 wxSize const &arg6_defvalue = wxDefaultSize ;
2762 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2763 long arg7 = (long) wxBU_AUTODRAW ;
2764 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2765 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2766 wxString const &arg9_defvalue = wxPyButtonNameStr ;
2767 wxString *arg9 = (wxString *) &arg9_defvalue ;
2768 bool result;
2769 wxPoint temp5 ;
2770 wxSize temp6 ;
ae8162c8 2771 bool temp9 = false ;
d55e5bfc
RD
2772 PyObject * obj0 = 0 ;
2773 PyObject * obj1 = 0 ;
2774 PyObject * obj2 = 0 ;
2775 PyObject * obj3 = 0 ;
2776 PyObject * obj4 = 0 ;
2777 PyObject * obj5 = 0 ;
2778 PyObject * obj6 = 0 ;
2779 PyObject * obj7 = 0 ;
2780 PyObject * obj8 = 0 ;
2781 char *kwnames[] = {
2782 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2783 };
2784
248ed943 2785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
2786 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2787 if (SWIG_arg_fail(1)) SWIG_fail;
2788 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2789 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 2790 if (obj2) {
093d3ff1
RD
2791 {
2792 arg3 = (int)(SWIG_As_int(obj2));
2793 if (SWIG_arg_fail(3)) SWIG_fail;
2794 }
248ed943
RD
2795 }
2796 if (obj3) {
093d3ff1
RD
2797 {
2798 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
2799 if (SWIG_arg_fail(4)) SWIG_fail;
2800 if (arg4 == NULL) {
2801 SWIG_null_ref("wxBitmap");
2802 }
2803 if (SWIG_arg_fail(4)) SWIG_fail;
248ed943 2804 }
d55e5bfc
RD
2805 }
2806 if (obj4) {
2807 {
2808 arg5 = &temp5;
2809 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2810 }
2811 }
2812 if (obj5) {
2813 {
2814 arg6 = &temp6;
2815 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2816 }
2817 }
2818 if (obj6) {
093d3ff1
RD
2819 {
2820 arg7 = (long)(SWIG_As_long(obj6));
2821 if (SWIG_arg_fail(7)) SWIG_fail;
2822 }
d55e5bfc
RD
2823 }
2824 if (obj7) {
093d3ff1
RD
2825 {
2826 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2827 if (SWIG_arg_fail(8)) SWIG_fail;
2828 if (arg8 == NULL) {
2829 SWIG_null_ref("wxValidator");
2830 }
2831 if (SWIG_arg_fail(8)) SWIG_fail;
d55e5bfc
RD
2832 }
2833 }
2834 if (obj8) {
2835 {
2836 arg9 = wxString_in_helper(obj8);
2837 if (arg9 == NULL) SWIG_fail;
ae8162c8 2838 temp9 = true;
d55e5bfc
RD
2839 }
2840 }
2841 {
2842 PyThreadState* __tstate = wxPyBeginAllowThreads();
2843 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2844
2845 wxPyEndAllowThreads(__tstate);
2846 if (PyErr_Occurred()) SWIG_fail;
2847 }
2848 {
2849 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2850 }
2851 {
2852 if (temp9)
2853 delete arg9;
2854 }
2855 return resultobj;
2856 fail:
2857 {
2858 if (temp9)
2859 delete arg9;
2860 }
2861 return NULL;
2862}
2863
2864
c32bde28 2865static PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2866 PyObject *resultobj;
2867 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2868 wxBitmap result;
2869 PyObject * obj0 = 0 ;
2870 char *kwnames[] = {
2871 (char *) "self", NULL
2872 };
2873
2874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapLabel",kwnames,&obj0)) goto fail;
093d3ff1
RD
2875 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2876 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
2877 {
2878 PyThreadState* __tstate = wxPyBeginAllowThreads();
2879 result = (arg1)->GetBitmapLabel();
2880
2881 wxPyEndAllowThreads(__tstate);
2882 if (PyErr_Occurred()) SWIG_fail;
2883 }
2884 {
2885 wxBitmap * resultptr;
093d3ff1 2886 resultptr = new wxBitmap((wxBitmap &)(result));
d55e5bfc
RD
2887 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
2888 }
2889 return resultobj;
2890 fail:
2891 return NULL;
2892}
2893
2894
c32bde28 2895static PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2896 PyObject *resultobj;
2897 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2898 wxBitmap result;
2899 PyObject * obj0 = 0 ;
2900 char *kwnames[] = {
2901 (char *) "self", NULL
2902 };
2903
2904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames,&obj0)) goto fail;
093d3ff1
RD
2905 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2906 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
2907 {
2908 PyThreadState* __tstate = wxPyBeginAllowThreads();
2909 result = (arg1)->GetBitmapDisabled();
2910
2911 wxPyEndAllowThreads(__tstate);
2912 if (PyErr_Occurred()) SWIG_fail;
2913 }
2914 {
2915 wxBitmap * resultptr;
093d3ff1 2916 resultptr = new wxBitmap((wxBitmap &)(result));
d55e5bfc
RD
2917 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
2918 }
2919 return resultobj;
2920 fail:
2921 return NULL;
2922}
2923
2924
c32bde28 2925static PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2926 PyObject *resultobj;
2927 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2928 wxBitmap result;
2929 PyObject * obj0 = 0 ;
2930 char *kwnames[] = {
2931 (char *) "self", NULL
2932 };
2933
2934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapFocus",kwnames,&obj0)) goto fail;
093d3ff1
RD
2935 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2936 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
2937 {
2938 PyThreadState* __tstate = wxPyBeginAllowThreads();
2939 result = (arg1)->GetBitmapFocus();
2940
2941 wxPyEndAllowThreads(__tstate);
2942 if (PyErr_Occurred()) SWIG_fail;
2943 }
2944 {
2945 wxBitmap * resultptr;
093d3ff1 2946 resultptr = new wxBitmap((wxBitmap &)(result));
d55e5bfc
RD
2947 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
2948 }
2949 return resultobj;
2950 fail:
2951 return NULL;
2952}
2953
2954
c32bde28 2955static PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2956 PyObject *resultobj;
2957 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2958 wxBitmap result;
2959 PyObject * obj0 = 0 ;
2960 char *kwnames[] = {
2961 (char *) "self", NULL
2962 };
2963
2964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapSelected",kwnames,&obj0)) goto fail;
093d3ff1
RD
2965 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2966 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
2967 {
2968 PyThreadState* __tstate = wxPyBeginAllowThreads();
2969 result = (arg1)->GetBitmapSelected();
2970
2971 wxPyEndAllowThreads(__tstate);
2972 if (PyErr_Occurred()) SWIG_fail;
2973 }
2974 {
2975 wxBitmap * resultptr;
093d3ff1 2976 resultptr = new wxBitmap((wxBitmap &)(result));
d55e5bfc
RD
2977 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
2978 }
2979 return resultobj;
2980 fail:
2981 return NULL;
2982}
2983
2984
c32bde28 2985static PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2986 PyObject *resultobj;
2987 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2988 wxBitmap *arg2 = 0 ;
2989 PyObject * obj0 = 0 ;
2990 PyObject * obj1 = 0 ;
2991 char *kwnames[] = {
2992 (char *) "self",(char *) "bitmap", NULL
2993 };
2994
2995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
2996 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2997 if (SWIG_arg_fail(1)) SWIG_fail;
2998 {
2999 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3000 if (SWIG_arg_fail(2)) SWIG_fail;
3001 if (arg2 == NULL) {
3002 SWIG_null_ref("wxBitmap");
3003 }
3004 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
3005 }
3006 {
3007 PyThreadState* __tstate = wxPyBeginAllowThreads();
3008 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
3009
3010 wxPyEndAllowThreads(__tstate);
3011 if (PyErr_Occurred()) SWIG_fail;
3012 }
3013 Py_INCREF(Py_None); resultobj = Py_None;
3014 return resultobj;
3015 fail:
3016 return NULL;
3017}
3018
3019
c32bde28 3020static PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3021 PyObject *resultobj;
3022 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3023 wxBitmap *arg2 = 0 ;
3024 PyObject * obj0 = 0 ;
3025 PyObject * obj1 = 0 ;
3026 char *kwnames[] = {
3027 (char *) "self",(char *) "bitmap", NULL
3028 };
3029
3030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3031 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3032 if (SWIG_arg_fail(1)) SWIG_fail;
3033 {
3034 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3035 if (SWIG_arg_fail(2)) SWIG_fail;
3036 if (arg2 == NULL) {
3037 SWIG_null_ref("wxBitmap");
3038 }
3039 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
3040 }
3041 {
3042 PyThreadState* __tstate = wxPyBeginAllowThreads();
3043 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
3044
3045 wxPyEndAllowThreads(__tstate);
3046 if (PyErr_Occurred()) SWIG_fail;
3047 }
3048 Py_INCREF(Py_None); resultobj = Py_None;
3049 return resultobj;
3050 fail:
3051 return NULL;
3052}
3053
3054
c32bde28 3055static PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3056 PyObject *resultobj;
3057 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3058 wxBitmap *arg2 = 0 ;
3059 PyObject * obj0 = 0 ;
3060 PyObject * obj1 = 0 ;
3061 char *kwnames[] = {
3062 (char *) "self",(char *) "bitmap", NULL
3063 };
3064
3065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3066 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3067 if (SWIG_arg_fail(1)) SWIG_fail;
3068 {
3069 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3070 if (SWIG_arg_fail(2)) SWIG_fail;
3071 if (arg2 == NULL) {
3072 SWIG_null_ref("wxBitmap");
3073 }
3074 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
3075 }
3076 {
3077 PyThreadState* __tstate = wxPyBeginAllowThreads();
3078 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
3079
3080 wxPyEndAllowThreads(__tstate);
3081 if (PyErr_Occurred()) SWIG_fail;
3082 }
3083 Py_INCREF(Py_None); resultobj = Py_None;
3084 return resultobj;
3085 fail:
3086 return NULL;
3087}
3088
3089
c32bde28 3090static PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3091 PyObject *resultobj;
3092 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3093 wxBitmap *arg2 = 0 ;
3094 PyObject * obj0 = 0 ;
3095 PyObject * obj1 = 0 ;
3096 char *kwnames[] = {
3097 (char *) "self",(char *) "bitmap", NULL
3098 };
3099
3100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3101 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3102 if (SWIG_arg_fail(1)) SWIG_fail;
3103 {
3104 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3105 if (SWIG_arg_fail(2)) SWIG_fail;
3106 if (arg2 == NULL) {
3107 SWIG_null_ref("wxBitmap");
3108 }
3109 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
3110 }
3111 {
3112 PyThreadState* __tstate = wxPyBeginAllowThreads();
3113 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
3114
3115 wxPyEndAllowThreads(__tstate);
3116 if (PyErr_Occurred()) SWIG_fail;
3117 }
3118 Py_INCREF(Py_None); resultobj = Py_None;
3119 return resultobj;
3120 fail:
3121 return NULL;
3122}
3123
3124
c32bde28 3125static PyObject *_wrap_BitmapButton_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3126 PyObject *resultobj;
3127 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3128 int arg2 ;
3129 int arg3 ;
3130 PyObject * obj0 = 0 ;
3131 PyObject * obj1 = 0 ;
3132 PyObject * obj2 = 0 ;
3133 char *kwnames[] = {
3134 (char *) "self",(char *) "x",(char *) "y", NULL
3135 };
3136
3137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BitmapButton_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
3138 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3139 if (SWIG_arg_fail(1)) SWIG_fail;
3140 {
3141 arg2 = (int)(SWIG_As_int(obj1));
3142 if (SWIG_arg_fail(2)) SWIG_fail;
3143 }
3144 {
3145 arg3 = (int)(SWIG_As_int(obj2));
3146 if (SWIG_arg_fail(3)) SWIG_fail;
3147 }
d55e5bfc
RD
3148 {
3149 PyThreadState* __tstate = wxPyBeginAllowThreads();
3150 (arg1)->SetMargins(arg2,arg3);
3151
3152 wxPyEndAllowThreads(__tstate);
3153 if (PyErr_Occurred()) SWIG_fail;
3154 }
3155 Py_INCREF(Py_None); resultobj = Py_None;
3156 return resultobj;
3157 fail:
3158 return NULL;
3159}
3160
3161
c32bde28 3162static PyObject *_wrap_BitmapButton_GetMarginX(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3163 PyObject *resultobj;
3164 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3165 int result;
3166 PyObject * obj0 = 0 ;
3167 char *kwnames[] = {
3168 (char *) "self", NULL
3169 };
3170
3171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginX",kwnames,&obj0)) goto fail;
093d3ff1
RD
3172 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3173 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3174 {
3175 PyThreadState* __tstate = wxPyBeginAllowThreads();
3176 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
3177
3178 wxPyEndAllowThreads(__tstate);
3179 if (PyErr_Occurred()) SWIG_fail;
3180 }
093d3ff1
RD
3181 {
3182 resultobj = SWIG_From_int((int)(result));
3183 }
d55e5bfc
RD
3184 return resultobj;
3185 fail:
3186 return NULL;
3187}
3188
3189
c32bde28 3190static PyObject *_wrap_BitmapButton_GetMarginY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3191 PyObject *resultobj;
3192 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3193 int result;
3194 PyObject * obj0 = 0 ;
3195 char *kwnames[] = {
3196 (char *) "self", NULL
3197 };
3198
3199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginY",kwnames,&obj0)) goto fail;
093d3ff1
RD
3200 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3201 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3202 {
3203 PyThreadState* __tstate = wxPyBeginAllowThreads();
3204 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
3205
3206 wxPyEndAllowThreads(__tstate);
3207 if (PyErr_Occurred()) SWIG_fail;
3208 }
093d3ff1
RD
3209 {
3210 resultobj = SWIG_From_int((int)(result));
3211 }
d55e5bfc
RD
3212 return resultobj;
3213 fail:
3214 return NULL;
3215}
3216
3217
c32bde28 3218static PyObject * BitmapButton_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
3219 PyObject *obj;
3220 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3221 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton, obj);
3222 Py_INCREF(obj);
3223 return Py_BuildValue((char *)"");
3224}
c32bde28 3225static int _wrap_CheckBoxNameStr_set(PyObject *) {
d55e5bfc
RD
3226 PyErr_SetString(PyExc_TypeError,"Variable CheckBoxNameStr is read-only.");
3227 return 1;
3228}
3229
3230
093d3ff1 3231static PyObject *_wrap_CheckBoxNameStr_get(void) {
d55e5bfc
RD
3232 PyObject *pyobj;
3233
3234 {
3235#if wxUSE_UNICODE
3236 pyobj = PyUnicode_FromWideChar((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
3237#else
3238 pyobj = PyString_FromStringAndSize((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
3239#endif
3240 }
3241 return pyobj;
3242}
3243
3244
c32bde28 3245static PyObject *_wrap_new_CheckBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3246 PyObject *resultobj;
3247 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
3248 int arg2 = (int) -1 ;
3249 wxString const &arg3_defvalue = wxPyEmptyString ;
3250 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
3251 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3252 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3253 wxSize const &arg5_defvalue = wxDefaultSize ;
3254 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3255 long arg6 = (long) 0 ;
3256 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3257 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3258 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
3259 wxString *arg8 = (wxString *) &arg8_defvalue ;
3260 wxCheckBox *result;
ae8162c8 3261 bool temp3 = false ;
d55e5bfc
RD
3262 wxPoint temp4 ;
3263 wxSize temp5 ;
ae8162c8 3264 bool temp8 = false ;
d55e5bfc
RD
3265 PyObject * obj0 = 0 ;
3266 PyObject * obj1 = 0 ;
3267 PyObject * obj2 = 0 ;
3268 PyObject * obj3 = 0 ;
3269 PyObject * obj4 = 0 ;
3270 PyObject * obj5 = 0 ;
3271 PyObject * obj6 = 0 ;
3272 PyObject * obj7 = 0 ;
3273 char *kwnames[] = {
3274 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3275 };
3276
248ed943 3277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
3278 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3279 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 3280 if (obj1) {
093d3ff1
RD
3281 {
3282 arg2 = (int)(SWIG_As_int(obj1));
3283 if (SWIG_arg_fail(2)) SWIG_fail;
3284 }
248ed943
RD
3285 }
3286 if (obj2) {
3287 {
3288 arg3 = wxString_in_helper(obj2);
3289 if (arg3 == NULL) SWIG_fail;
ae8162c8 3290 temp3 = true;
248ed943 3291 }
d55e5bfc
RD
3292 }
3293 if (obj3) {
3294 {
3295 arg4 = &temp4;
3296 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3297 }
3298 }
3299 if (obj4) {
3300 {
3301 arg5 = &temp5;
3302 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3303 }
3304 }
3305 if (obj5) {
093d3ff1
RD
3306 {
3307 arg6 = (long)(SWIG_As_long(obj5));
3308 if (SWIG_arg_fail(6)) SWIG_fail;
3309 }
d55e5bfc
RD
3310 }
3311 if (obj6) {
093d3ff1
RD
3312 {
3313 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
3314 if (SWIG_arg_fail(7)) SWIG_fail;
3315 if (arg7 == NULL) {
3316 SWIG_null_ref("wxValidator");
3317 }
3318 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
3319 }
3320 }
3321 if (obj7) {
3322 {
3323 arg8 = wxString_in_helper(obj7);
3324 if (arg8 == NULL) SWIG_fail;
ae8162c8 3325 temp8 = true;
d55e5bfc
RD
3326 }
3327 }
3328 {
0439c23b 3329 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3330 PyThreadState* __tstate = wxPyBeginAllowThreads();
3331 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3332
3333 wxPyEndAllowThreads(__tstate);
110da5b0 3334 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3335 }
3336 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
3337 {
3338 if (temp3)
3339 delete arg3;
3340 }
3341 {
3342 if (temp8)
3343 delete arg8;
3344 }
3345 return resultobj;
3346 fail:
3347 {
3348 if (temp3)
3349 delete arg3;
3350 }
3351 {
3352 if (temp8)
3353 delete arg8;
3354 }
3355 return NULL;
3356}
3357
3358
c32bde28 3359static PyObject *_wrap_new_PreCheckBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3360 PyObject *resultobj;
3361 wxCheckBox *result;
3362 char *kwnames[] = {
3363 NULL
3364 };
3365
3366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckBox",kwnames)) goto fail;
3367 {
0439c23b 3368 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3369 PyThreadState* __tstate = wxPyBeginAllowThreads();
3370 result = (wxCheckBox *)new wxCheckBox();
3371
3372 wxPyEndAllowThreads(__tstate);
110da5b0 3373 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3374 }
3375 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
3376 return resultobj;
3377 fail:
3378 return NULL;
3379}
3380
3381
c32bde28 3382static PyObject *_wrap_CheckBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3383 PyObject *resultobj;
3384 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3385 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
3386 int arg3 = (int) -1 ;
3387 wxString const &arg4_defvalue = wxPyEmptyString ;
3388 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
3389 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3390 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3391 wxSize const &arg6_defvalue = wxDefaultSize ;
3392 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3393 long arg7 = (long) 0 ;
3394 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3395 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3396 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
3397 wxString *arg9 = (wxString *) &arg9_defvalue ;
3398 bool result;
ae8162c8 3399 bool temp4 = false ;
d55e5bfc
RD
3400 wxPoint temp5 ;
3401 wxSize temp6 ;
ae8162c8 3402 bool temp9 = false ;
d55e5bfc
RD
3403 PyObject * obj0 = 0 ;
3404 PyObject * obj1 = 0 ;
3405 PyObject * obj2 = 0 ;
3406 PyObject * obj3 = 0 ;
3407 PyObject * obj4 = 0 ;
3408 PyObject * obj5 = 0 ;
3409 PyObject * obj6 = 0 ;
3410 PyObject * obj7 = 0 ;
3411 PyObject * obj8 = 0 ;
3412 char *kwnames[] = {
3413 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3414 };
3415
248ed943 3416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
3417 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3418 if (SWIG_arg_fail(1)) SWIG_fail;
3419 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3420 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 3421 if (obj2) {
093d3ff1
RD
3422 {
3423 arg3 = (int)(SWIG_As_int(obj2));
3424 if (SWIG_arg_fail(3)) SWIG_fail;
3425 }
248ed943
RD
3426 }
3427 if (obj3) {
3428 {
3429 arg4 = wxString_in_helper(obj3);
3430 if (arg4 == NULL) SWIG_fail;
ae8162c8 3431 temp4 = true;
248ed943 3432 }
d55e5bfc
RD
3433 }
3434 if (obj4) {
3435 {
3436 arg5 = &temp5;
3437 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3438 }
3439 }
3440 if (obj5) {
3441 {
3442 arg6 = &temp6;
3443 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3444 }
3445 }
3446 if (obj6) {
093d3ff1
RD
3447 {
3448 arg7 = (long)(SWIG_As_long(obj6));
3449 if (SWIG_arg_fail(7)) SWIG_fail;
3450 }
d55e5bfc
RD
3451 }
3452 if (obj7) {
093d3ff1
RD
3453 {
3454 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
3455 if (SWIG_arg_fail(8)) SWIG_fail;
3456 if (arg8 == NULL) {
3457 SWIG_null_ref("wxValidator");
3458 }
3459 if (SWIG_arg_fail(8)) SWIG_fail;
d55e5bfc
RD
3460 }
3461 }
3462 if (obj8) {
3463 {
3464 arg9 = wxString_in_helper(obj8);
3465 if (arg9 == NULL) SWIG_fail;
ae8162c8 3466 temp9 = true;
d55e5bfc
RD
3467 }
3468 }
3469 {
3470 PyThreadState* __tstate = wxPyBeginAllowThreads();
3471 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3472
3473 wxPyEndAllowThreads(__tstate);
3474 if (PyErr_Occurred()) SWIG_fail;
3475 }
3476 {
3477 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3478 }
3479 {
3480 if (temp4)
3481 delete arg4;
3482 }
3483 {
3484 if (temp9)
3485 delete arg9;
3486 }
3487 return resultobj;
3488 fail:
3489 {
3490 if (temp4)
3491 delete arg4;
3492 }
3493 {
3494 if (temp9)
3495 delete arg9;
3496 }
3497 return NULL;
3498}
3499
3500
c32bde28 3501static PyObject *_wrap_CheckBox_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3502 PyObject *resultobj;
3503 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3504 bool result;
3505 PyObject * obj0 = 0 ;
3506 char *kwnames[] = {
3507 (char *) "self", NULL
3508 };
3509
3510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_GetValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
3511 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3512 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3513 {
3514 PyThreadState* __tstate = wxPyBeginAllowThreads();
3515 result = (bool)(arg1)->GetValue();
3516
3517 wxPyEndAllowThreads(__tstate);
3518 if (PyErr_Occurred()) SWIG_fail;
3519 }
3520 {
3521 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3522 }
3523 return resultobj;
3524 fail:
3525 return NULL;
3526}
3527
3528
c32bde28 3529static PyObject *_wrap_CheckBox_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3530 PyObject *resultobj;
3531 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3532 bool result;
3533 PyObject * obj0 = 0 ;
3534 char *kwnames[] = {
3535 (char *) "self", NULL
3536 };
3537
3538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_IsChecked",kwnames,&obj0)) goto fail;
093d3ff1
RD
3539 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3540 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3541 {
3542 PyThreadState* __tstate = wxPyBeginAllowThreads();
3543 result = (bool)(arg1)->IsChecked();
3544
3545 wxPyEndAllowThreads(__tstate);
3546 if (PyErr_Occurred()) SWIG_fail;
3547 }
3548 {
3549 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3550 }
3551 return resultobj;
3552 fail:
3553 return NULL;
3554}
3555
3556
c32bde28 3557static PyObject *_wrap_CheckBox_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3558 PyObject *resultobj;
3559 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3560 bool arg2 ;
3561 PyObject * obj0 = 0 ;
3562 PyObject * obj1 = 0 ;
3563 char *kwnames[] = {
3564 (char *) "self",(char *) "state", NULL
3565 };
3566
3567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3568 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3569 if (SWIG_arg_fail(1)) SWIG_fail;
3570 {
3571 arg2 = (bool const)(SWIG_As_bool(obj1));
3572 if (SWIG_arg_fail(2)) SWIG_fail;
3573 }
d55e5bfc
RD
3574 {
3575 PyThreadState* __tstate = wxPyBeginAllowThreads();
3576 (arg1)->SetValue(arg2);
3577
3578 wxPyEndAllowThreads(__tstate);
3579 if (PyErr_Occurred()) SWIG_fail;
3580 }
3581 Py_INCREF(Py_None); resultobj = Py_None;
3582 return resultobj;
3583 fail:
3584 return NULL;
3585}
3586
3587
c32bde28 3588static PyObject *_wrap_CheckBox_Get3StateValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3589 PyObject *resultobj;
3590 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
093d3ff1 3591 wxCheckBoxState result;
d55e5bfc
RD
3592 PyObject * obj0 = 0 ;
3593 char *kwnames[] = {
3594 (char *) "self", NULL
3595 };
3596
3597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Get3StateValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
3598 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3599 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3600 {
3601 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3602 result = (wxCheckBoxState)((wxCheckBox const *)arg1)->Get3StateValue();
d55e5bfc
RD
3603
3604 wxPyEndAllowThreads(__tstate);
3605 if (PyErr_Occurred()) SWIG_fail;
3606 }
093d3ff1 3607 resultobj = SWIG_From_int((result));
d55e5bfc
RD
3608 return resultobj;
3609 fail:
3610 return NULL;
3611}
3612
3613
c32bde28 3614static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3615 PyObject *resultobj;
3616 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
093d3ff1 3617 wxCheckBoxState arg2 ;
d55e5bfc
RD
3618 PyObject * obj0 = 0 ;
3619 PyObject * obj1 = 0 ;
3620 char *kwnames[] = {
3621 (char *) "self",(char *) "state", NULL
3622 };
3623
3624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_Set3StateValue",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3625 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3626 if (SWIG_arg_fail(1)) SWIG_fail;
3627 {
3628 arg2 = (wxCheckBoxState)(SWIG_As_int(obj1));
3629 if (SWIG_arg_fail(2)) SWIG_fail;
3630 }
d55e5bfc
RD
3631 {
3632 PyThreadState* __tstate = wxPyBeginAllowThreads();
3633 (arg1)->Set3StateValue((wxCheckBoxState )arg2);
3634
3635 wxPyEndAllowThreads(__tstate);
3636 if (PyErr_Occurred()) SWIG_fail;
3637 }
3638 Py_INCREF(Py_None); resultobj = Py_None;
3639 return resultobj;
3640 fail:
3641 return NULL;
3642}
3643
3644
c32bde28 3645static PyObject *_wrap_CheckBox_Is3State(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3646 PyObject *resultobj;
3647 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3648 bool result;
3649 PyObject * obj0 = 0 ;
3650 char *kwnames[] = {
3651 (char *) "self", NULL
3652 };
3653
3654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3State",kwnames,&obj0)) goto fail;
093d3ff1
RD
3655 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3656 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3657 {
3658 PyThreadState* __tstate = wxPyBeginAllowThreads();
3659 result = (bool)((wxCheckBox const *)arg1)->Is3State();
3660
3661 wxPyEndAllowThreads(__tstate);
3662 if (PyErr_Occurred()) SWIG_fail;
3663 }
3664 {
3665 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3666 }
3667 return resultobj;
3668 fail:
3669 return NULL;
3670}
3671
3672
c32bde28 3673static PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3674 PyObject *resultobj;
3675 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3676 bool result;
3677 PyObject * obj0 = 0 ;
3678 char *kwnames[] = {
3679 (char *) "self", NULL
3680 };
3681
3682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames,&obj0)) goto fail;
093d3ff1
RD
3683 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3684 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3685 {
3686 PyThreadState* __tstate = wxPyBeginAllowThreads();
3687 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
3688
3689 wxPyEndAllowThreads(__tstate);
3690 if (PyErr_Occurred()) SWIG_fail;
3691 }
3692 {
3693 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3694 }
3695 return resultobj;
3696 fail:
3697 return NULL;
3698}
3699
3700
c32bde28 3701static PyObject *_wrap_CheckBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 3702 PyObject *resultobj;
093d3ff1 3703 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
3704 wxVisualAttributes result;
3705 PyObject * obj0 = 0 ;
3706 char *kwnames[] = {
3707 (char *) "variant", NULL
3708 };
3709
3710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
3711 if (obj0) {
093d3ff1
RD
3712 {
3713 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
3714 if (SWIG_arg_fail(1)) SWIG_fail;
3715 }
f20a2e1f
RD
3716 }
3717 {
19272049 3718 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
3719 PyThreadState* __tstate = wxPyBeginAllowThreads();
3720 result = wxCheckBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
3721
3722 wxPyEndAllowThreads(__tstate);
110da5b0 3723 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
3724 }
3725 {
3726 wxVisualAttributes * resultptr;
093d3ff1 3727 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
3728 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
3729 }
3730 return resultobj;
3731 fail:
3732 return NULL;
3733}
3734
3735
c32bde28 3736static PyObject * CheckBox_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
3737 PyObject *obj;
3738 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3739 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox, obj);
3740 Py_INCREF(obj);
3741 return Py_BuildValue((char *)"");
3742}
c32bde28 3743static int _wrap_ChoiceNameStr_set(PyObject *) {
d55e5bfc
RD
3744 PyErr_SetString(PyExc_TypeError,"Variable ChoiceNameStr is read-only.");
3745 return 1;
3746}
3747
3748
093d3ff1 3749static PyObject *_wrap_ChoiceNameStr_get(void) {
d55e5bfc
RD
3750 PyObject *pyobj;
3751
3752 {
3753#if wxUSE_UNICODE
3754 pyobj = PyUnicode_FromWideChar((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
3755#else
3756 pyobj = PyString_FromStringAndSize((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
3757#endif
3758 }
3759 return pyobj;
3760}
3761
3762
c32bde28 3763static PyObject *_wrap_new_Choice(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3764 PyObject *resultobj;
3765 wxWindow *arg1 = (wxWindow *) 0 ;
3766 int arg2 = (int) -1 ;
3767 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3768 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3769 wxSize const &arg4_defvalue = wxDefaultSize ;
3770 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3771 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
3772 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
3773 long arg6 = (long) 0 ;
3774 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3775 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3776 wxString const &arg8_defvalue = wxPyChoiceNameStr ;
3777 wxString *arg8 = (wxString *) &arg8_defvalue ;
3778 wxChoice *result;
3779 wxPoint temp3 ;
3780 wxSize temp4 ;
ae8162c8
RD
3781 bool temp5 = false ;
3782 bool temp8 = false ;
d55e5bfc
RD
3783 PyObject * obj0 = 0 ;
3784 PyObject * obj1 = 0 ;
3785 PyObject * obj2 = 0 ;
3786 PyObject * obj3 = 0 ;
3787 PyObject * obj4 = 0 ;
3788 PyObject * obj5 = 0 ;
3789 PyObject * obj6 = 0 ;
3790 PyObject * obj7 = 0 ;
3791 char *kwnames[] = {
3792 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3793 };
3794
3795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Choice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
3796 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3797 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 3798 if (obj1) {
093d3ff1
RD
3799 {
3800 arg2 = (int)(SWIG_As_int(obj1));
3801 if (SWIG_arg_fail(2)) SWIG_fail;
3802 }
d55e5bfc
RD
3803 }
3804 if (obj2) {
3805 {
3806 arg3 = &temp3;
3807 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3808 }
3809 }
3810 if (obj3) {
3811 {
3812 arg4 = &temp4;
3813 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3814 }
3815 }
3816 if (obj4) {
3817 {
3818 if (! PySequence_Check(obj4)) {
3819 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
3820 SWIG_fail;
3821 }
3822 arg5 = new wxArrayString;
ae8162c8 3823 temp5 = true;
d55e5bfc
RD
3824 int i, len=PySequence_Length(obj4);
3825 for (i=0; i<len; i++) {
3826 PyObject* item = PySequence_GetItem(obj4, i);
3827#if wxUSE_UNICODE
3828 PyObject* str = PyObject_Unicode(item);
3829#else
3830 PyObject* str = PyObject_Str(item);
3831#endif
3832 if (PyErr_Occurred()) SWIG_fail;
3833 arg5->Add(Py2wxString(str));
3834 Py_DECREF(item);
3835 Py_DECREF(str);
3836 }
3837 }
3838 }
3839 if (obj5) {
093d3ff1
RD
3840 {
3841 arg6 = (long)(SWIG_As_long(obj5));
3842 if (SWIG_arg_fail(6)) SWIG_fail;
3843 }
d55e5bfc
RD
3844 }
3845 if (obj6) {
093d3ff1
RD
3846 {
3847 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
3848 if (SWIG_arg_fail(7)) SWIG_fail;
3849 if (arg7 == NULL) {
3850 SWIG_null_ref("wxValidator");
3851 }
3852 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
3853 }
3854 }
3855 if (obj7) {
3856 {
3857 arg8 = wxString_in_helper(obj7);
3858 if (arg8 == NULL) SWIG_fail;
ae8162c8 3859 temp8 = true;
d55e5bfc
RD
3860 }
3861 }
3862 {
0439c23b 3863 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3864 PyThreadState* __tstate = wxPyBeginAllowThreads();
3865 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3866
3867 wxPyEndAllowThreads(__tstate);
110da5b0 3868 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3869 }
3870 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
3871 {
3872 if (temp5) delete arg5;
3873 }
3874 {
3875 if (temp8)
3876 delete arg8;
3877 }
3878 return resultobj;
3879 fail:
3880 {
3881 if (temp5) delete arg5;
3882 }
3883 {
3884 if (temp8)
3885 delete arg8;
3886 }
3887 return NULL;
3888}
3889
3890
c32bde28 3891static PyObject *_wrap_new_PreChoice(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3892 PyObject *resultobj;
3893 wxChoice *result;
3894 char *kwnames[] = {
3895 NULL
3896 };
3897
3898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoice",kwnames)) goto fail;
3899 {
0439c23b 3900 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3901 PyThreadState* __tstate = wxPyBeginAllowThreads();
3902 result = (wxChoice *)new wxChoice();
3903
3904 wxPyEndAllowThreads(__tstate);
110da5b0 3905 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3906 }
3907 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
3908 return resultobj;
3909 fail:
3910 return NULL;
3911}
3912
3913
c32bde28 3914static PyObject *_wrap_Choice_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3915 PyObject *resultobj;
3916 wxChoice *arg1 = (wxChoice *) 0 ;
3917 wxWindow *arg2 = (wxWindow *) 0 ;
3918 int arg3 = (int) -1 ;
3919 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3920 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3921 wxSize const &arg5_defvalue = wxDefaultSize ;
3922 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3923 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
3924 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
3925 long arg7 = (long) 0 ;
3926 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3927 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3928 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
3929 wxString *arg9 = (wxString *) &arg9_defvalue ;
3930 bool result;
3931 wxPoint temp4 ;
3932 wxSize temp5 ;
ae8162c8
RD
3933 bool temp6 = false ;
3934 bool temp9 = false ;
d55e5bfc
RD
3935 PyObject * obj0 = 0 ;
3936 PyObject * obj1 = 0 ;
3937 PyObject * obj2 = 0 ;
3938 PyObject * obj3 = 0 ;
3939 PyObject * obj4 = 0 ;
3940 PyObject * obj5 = 0 ;
3941 PyObject * obj6 = 0 ;
3942 PyObject * obj7 = 0 ;
3943 PyObject * obj8 = 0 ;
3944 char *kwnames[] = {
3945 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3946 };
3947
3948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Choice_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
3949 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoice, SWIG_POINTER_EXCEPTION | 0);
3950 if (SWIG_arg_fail(1)) SWIG_fail;
3951 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3952 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 3953 if (obj2) {
093d3ff1
RD
3954 {
3955 arg3 = (int)(SWIG_As_int(obj2));
3956 if (SWIG_arg_fail(3)) SWIG_fail;
3957 }
d55e5bfc
RD
3958 }
3959 if (obj3) {
3960 {
3961 arg4 = &temp4;
3962 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3963 }
3964 }
3965 if (obj4) {
3966 {
3967 arg5 = &temp5;
3968 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3969 }
3970 }
3971 if (obj5) {
3972 {
3973 if (! PySequence_Check(obj5)) {
3974 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
3975 SWIG_fail;
3976 }
3977 arg6 = new wxArrayString;
ae8162c8 3978 temp6 = true;
d55e5bfc
RD
3979 int i, len=PySequence_Length(obj5);
3980 for (i=0; i<len; i++) {
3981 PyObject* item = PySequence_GetItem(obj5, i);
3982#if wxUSE_UNICODE
3983 PyObject* str = PyObject_Unicode(item);
3984#else
3985 PyObject* str = PyObject_Str(item);
3986#endif
3987 if (PyErr_Occurred()) SWIG_fail;
3988 arg6->Add(Py2wxString(str));
3989 Py_DECREF(item);
3990 Py_DECREF(str);
3991 }
3992 }
3993 }
3994 if (obj6) {
093d3ff1
RD
3995 {
3996 arg7 = (long)(SWIG_As_long(obj6));
3997 if (SWIG_arg_fail(7)) SWIG_fail;
3998 }
d55e5bfc
RD
3999 }
4000 if (obj7) {
093d3ff1
RD
4001 {
4002 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
4003 if (SWIG_arg_fail(8)) SWIG_fail;
4004 if (arg8 == NULL) {
4005 SWIG_null_ref("wxValidator");
4006 }
4007 if (SWIG_arg_fail(8)) SWIG_fail;
d55e5bfc
RD
4008 }
4009 }
4010 if (obj8) {
4011 {
4012 arg9 = wxString_in_helper(obj8);
4013 if (arg9 == NULL) SWIG_fail;
ae8162c8 4014 temp9 = true;
d55e5bfc
RD
4015 }
4016 }
4017 {
4018 PyThreadState* __tstate = wxPyBeginAllowThreads();
4019 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4020
4021 wxPyEndAllowThreads(__tstate);
4022 if (PyErr_Occurred()) SWIG_fail;
4023 }
4024 {
4025 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4026 }
4027 {
4028 if (temp6) delete arg6;
4029 }
4030 {
4031 if (temp9)
4032 delete arg9;
4033 }
4034 return resultobj;
4035 fail:
4036 {
4037 if (temp6) delete arg6;
4038 }
4039 {
4040 if (temp9)
4041 delete arg9;
4042 }
4043 return NULL;
4044}
4045
4046
c32bde28 4047static PyObject *_wrap_Choice_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 4048 PyObject *resultobj;
093d3ff1 4049 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
4050 wxVisualAttributes result;
4051 PyObject * obj0 = 0 ;
4052 char *kwnames[] = {
4053 (char *) "variant", NULL
4054 };
4055
4056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4057 if (obj0) {
093d3ff1
RD
4058 {
4059 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
4060 if (SWIG_arg_fail(1)) SWIG_fail;
4061 }
f20a2e1f
RD
4062 }
4063 {
19272049 4064 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
4065 PyThreadState* __tstate = wxPyBeginAllowThreads();
4066 result = wxChoice::GetClassDefaultAttributes((wxWindowVariant )arg1);
4067
4068 wxPyEndAllowThreads(__tstate);
110da5b0 4069 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
4070 }
4071 {
4072 wxVisualAttributes * resultptr;
093d3ff1 4073 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
4074 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4075 }
4076 return resultobj;
4077 fail:
4078 return NULL;
4079}
4080
4081
c32bde28 4082static PyObject * Choice_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
4083 PyObject *obj;
4084 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4085 SWIG_TypeClientData(SWIGTYPE_p_wxChoice, obj);
4086 Py_INCREF(obj);
4087 return Py_BuildValue((char *)"");
4088}
c32bde28 4089static int _wrap_ComboBoxNameStr_set(PyObject *) {
d55e5bfc
RD
4090 PyErr_SetString(PyExc_TypeError,"Variable ComboBoxNameStr is read-only.");
4091 return 1;
4092}
4093
4094
093d3ff1 4095static PyObject *_wrap_ComboBoxNameStr_get(void) {
d55e5bfc
RD
4096 PyObject *pyobj;
4097
4098 {
4099#if wxUSE_UNICODE
4100 pyobj = PyUnicode_FromWideChar((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
4101#else
4102 pyobj = PyString_FromStringAndSize((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
4103#endif
4104 }
4105 return pyobj;
4106}
4107
4108
c32bde28 4109static PyObject *_wrap_new_ComboBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4110 PyObject *resultobj;
4111 wxWindow *arg1 = (wxWindow *) 0 ;
4112 int arg2 = (int) -1 ;
4113 wxString const &arg3_defvalue = wxPyEmptyString ;
4114 wxString *arg3 = (wxString *) &arg3_defvalue ;
4115 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4116 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4117 wxSize const &arg5_defvalue = wxDefaultSize ;
4118 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4119 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
4120 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
4121 long arg7 = (long) 0 ;
4122 wxValidator const &arg8_defvalue = wxDefaultValidator ;
4123 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
4124 wxString const &arg9_defvalue = wxPyComboBoxNameStr ;
4125 wxString *arg9 = (wxString *) &arg9_defvalue ;
4126 wxComboBox *result;
ae8162c8 4127 bool temp3 = false ;
d55e5bfc
RD
4128 wxPoint temp4 ;
4129 wxSize temp5 ;
ae8162c8
RD
4130 bool temp6 = false ;
4131 bool temp9 = false ;
d55e5bfc
RD
4132 PyObject * obj0 = 0 ;
4133 PyObject * obj1 = 0 ;
4134 PyObject * obj2 = 0 ;
4135 PyObject * obj3 = 0 ;
4136 PyObject * obj4 = 0 ;
4137 PyObject * obj5 = 0 ;
4138 PyObject * obj6 = 0 ;
4139 PyObject * obj7 = 0 ;
4140 PyObject * obj8 = 0 ;
4141 char *kwnames[] = {
4142 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4143 };
4144
4145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_ComboBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
4146 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4147 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 4148 if (obj1) {
093d3ff1
RD
4149 {
4150 arg2 = (int)(SWIG_As_int(obj1));
4151 if (SWIG_arg_fail(2)) SWIG_fail;
4152 }
d55e5bfc
RD
4153 }
4154 if (obj2) {
4155 {
4156 arg3 = wxString_in_helper(obj2);
4157 if (arg3 == NULL) SWIG_fail;
ae8162c8 4158 temp3 = true;
d55e5bfc
RD
4159 }
4160 }
4161 if (obj3) {
4162 {
4163 arg4 = &temp4;
4164 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4165 }
4166 }
4167 if (obj4) {
4168 {
4169 arg5 = &temp5;
4170 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4171 }
4172 }
4173 if (obj5) {
4174 {
4175 if (! PySequence_Check(obj5)) {
4176 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4177 SWIG_fail;
4178 }
4179 arg6 = new wxArrayString;
ae8162c8 4180 temp6 = true;
d55e5bfc
RD
4181 int i, len=PySequence_Length(obj5);
4182 for (i=0; i<len; i++) {
4183 PyObject* item = PySequence_GetItem(obj5, i);
4184#if wxUSE_UNICODE
4185 PyObject* str = PyObject_Unicode(item);
4186#else
4187 PyObject* str = PyObject_Str(item);
4188#endif
4189 if (PyErr_Occurred()) SWIG_fail;
4190 arg6->Add(Py2wxString(str));
4191 Py_DECREF(item);
4192 Py_DECREF(str);
4193 }
4194 }
4195 }
4196 if (obj6) {
093d3ff1
RD
4197 {
4198 arg7 = (long)(SWIG_As_long(obj6));
4199 if (SWIG_arg_fail(7)) SWIG_fail;
4200 }
d55e5bfc
RD
4201 }
4202 if (obj7) {
093d3ff1
RD
4203 {
4204 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
4205 if (SWIG_arg_fail(8)) SWIG_fail;
4206 if (arg8 == NULL) {
4207 SWIG_null_ref("wxValidator");
4208 }
4209 if (SWIG_arg_fail(8)) SWIG_fail;
d55e5bfc
RD
4210 }
4211 }
4212 if (obj8) {
4213 {
4214 arg9 = wxString_in_helper(obj8);
4215 if (arg9 == NULL) SWIG_fail;
ae8162c8 4216 temp9 = true;
d55e5bfc
RD
4217 }
4218 }
4219 {
0439c23b 4220 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4221 PyThreadState* __tstate = wxPyBeginAllowThreads();
4222 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);
4223
4224 wxPyEndAllowThreads(__tstate);
110da5b0 4225 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4226 }
4227 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
4228 {
4229 if (temp3)
4230 delete arg3;
4231 }
4232 {
4233 if (temp6) delete arg6;
4234 }
4235 {
4236 if (temp9)
4237 delete arg9;
4238 }
4239 return resultobj;
4240 fail:
4241 {
4242 if (temp3)
4243 delete arg3;
4244 }
4245 {
4246 if (temp6) delete arg6;
4247 }
4248 {
4249 if (temp9)
4250 delete arg9;
4251 }
4252 return NULL;
4253}
4254
4255
c32bde28 4256static PyObject *_wrap_new_PreComboBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4257 PyObject *resultobj;
4258 wxComboBox *result;
4259 char *kwnames[] = {
4260 NULL
4261 };
4262
4263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreComboBox",kwnames)) goto fail;
4264 {
0439c23b 4265 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4266 PyThreadState* __tstate = wxPyBeginAllowThreads();
4267 result = (wxComboBox *)new wxComboBox();
4268
4269 wxPyEndAllowThreads(__tstate);
110da5b0 4270 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4271 }
4272 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
4273 return resultobj;
4274 fail:
4275 return NULL;
4276}
4277
4278
c32bde28 4279static PyObject *_wrap_ComboBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4280 PyObject *resultobj;
4281 wxComboBox *arg1 = (wxComboBox *) 0 ;
4282 wxWindow *arg2 = (wxWindow *) 0 ;
4283 int arg3 = (int) -1 ;
4284 wxString const &arg4_defvalue = wxPyEmptyString ;
4285 wxString *arg4 = (wxString *) &arg4_defvalue ;
4286 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4287 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4288 wxSize const &arg6_defvalue = wxDefaultSize ;
4289 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4290 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
4291 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
4292 long arg8 = (long) 0 ;
4293 wxValidator const &arg9_defvalue = wxDefaultValidator ;
4294 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
4295 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
4296 wxString *arg10 = (wxString *) &arg10_defvalue ;
4297 bool result;
ae8162c8 4298 bool temp4 = false ;
d55e5bfc
RD
4299 wxPoint temp5 ;
4300 wxSize temp6 ;
ae8162c8
RD
4301 bool temp7 = false ;
4302 bool temp10 = false ;
d55e5bfc
RD
4303 PyObject * obj0 = 0 ;
4304 PyObject * obj1 = 0 ;
4305 PyObject * obj2 = 0 ;
4306 PyObject * obj3 = 0 ;
4307 PyObject * obj4 = 0 ;
4308 PyObject * obj5 = 0 ;
4309 PyObject * obj6 = 0 ;
4310 PyObject * obj7 = 0 ;
4311 PyObject * obj8 = 0 ;
4312 PyObject * obj9 = 0 ;
4313 char *kwnames[] = {
4314 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4315 };
4316
4317 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
4318 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4319 if (SWIG_arg_fail(1)) SWIG_fail;
4320 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4321 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 4322 if (obj2) {
093d3ff1
RD
4323 {
4324 arg3 = (int)(SWIG_As_int(obj2));
4325 if (SWIG_arg_fail(3)) SWIG_fail;
4326 }
d55e5bfc
RD
4327 }
4328 if (obj3) {
4329 {
4330 arg4 = wxString_in_helper(obj3);
4331 if (arg4 == NULL) SWIG_fail;
ae8162c8 4332 temp4 = true;
d55e5bfc
RD
4333 }
4334 }
4335 if (obj4) {
4336 {
4337 arg5 = &temp5;
4338 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4339 }
4340 }
4341 if (obj5) {
4342 {
4343 arg6 = &temp6;
4344 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4345 }
4346 }
4347 if (obj6) {
4348 {
4349 if (! PySequence_Check(obj6)) {
4350 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4351 SWIG_fail;
4352 }
4353 arg7 = new wxArrayString;
ae8162c8 4354 temp7 = true;
d55e5bfc
RD
4355 int i, len=PySequence_Length(obj6);
4356 for (i=0; i<len; i++) {
4357 PyObject* item = PySequence_GetItem(obj6, i);
4358#if wxUSE_UNICODE
4359 PyObject* str = PyObject_Unicode(item);
4360#else
4361 PyObject* str = PyObject_Str(item);
4362#endif
4363 if (PyErr_Occurred()) SWIG_fail;
4364 arg7->Add(Py2wxString(str));
4365 Py_DECREF(item);
4366 Py_DECREF(str);
4367 }
4368 }
4369 }
4370 if (obj7) {
093d3ff1
RD
4371 {
4372 arg8 = (long)(SWIG_As_long(obj7));
4373 if (SWIG_arg_fail(8)) SWIG_fail;
4374 }
d55e5bfc
RD
4375 }
4376 if (obj8) {
093d3ff1
RD
4377 {
4378 SWIG_Python_ConvertPtr(obj8, (void **)&arg9, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
4379 if (SWIG_arg_fail(9)) SWIG_fail;
4380 if (arg9 == NULL) {
4381 SWIG_null_ref("wxValidator");
4382 }
4383 if (SWIG_arg_fail(9)) SWIG_fail;
d55e5bfc
RD
4384 }
4385 }
4386 if (obj9) {
4387 {
4388 arg10 = wxString_in_helper(obj9);
4389 if (arg10 == NULL) SWIG_fail;
ae8162c8 4390 temp10 = true;
d55e5bfc
RD
4391 }
4392 }
4393 {
4394 PyThreadState* __tstate = wxPyBeginAllowThreads();
4395 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);
4396
4397 wxPyEndAllowThreads(__tstate);
4398 if (PyErr_Occurred()) SWIG_fail;
4399 }
4400 {
4401 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4402 }
4403 {
4404 if (temp4)
4405 delete arg4;
4406 }
4407 {
4408 if (temp7) delete arg7;
4409 }
4410 {
4411 if (temp10)
4412 delete arg10;
4413 }
4414 return resultobj;
4415 fail:
4416 {
4417 if (temp4)
4418 delete arg4;
4419 }
4420 {
4421 if (temp7) delete arg7;
4422 }
4423 {
4424 if (temp10)
4425 delete arg10;
4426 }
4427 return NULL;
4428}
4429
4430
c32bde28 4431static PyObject *_wrap_ComboBox_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4432 PyObject *resultobj;
4433 wxComboBox *arg1 = (wxComboBox *) 0 ;
4434 wxString result;
4435 PyObject * obj0 = 0 ;
4436 char *kwnames[] = {
4437 (char *) "self", NULL
4438 };
4439
4440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
4441 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4442 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4443 {
4444 PyThreadState* __tstate = wxPyBeginAllowThreads();
4445 result = ((wxComboBox const *)arg1)->GetValue();
4446
4447 wxPyEndAllowThreads(__tstate);
4448 if (PyErr_Occurred()) SWIG_fail;
4449 }
4450 {
4451#if wxUSE_UNICODE
4452 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4453#else
4454 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4455#endif
4456 }
4457 return resultobj;
4458 fail:
4459 return NULL;
4460}
4461
4462
c32bde28 4463static PyObject *_wrap_ComboBox_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4464 PyObject *resultobj;
4465 wxComboBox *arg1 = (wxComboBox *) 0 ;
4466 wxString *arg2 = 0 ;
ae8162c8 4467 bool temp2 = false ;
d55e5bfc
RD
4468 PyObject * obj0 = 0 ;
4469 PyObject * obj1 = 0 ;
4470 char *kwnames[] = {
4471 (char *) "self",(char *) "value", NULL
4472 };
4473
4474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4475 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4476 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4477 {
4478 arg2 = wxString_in_helper(obj1);
4479 if (arg2 == NULL) SWIG_fail;
ae8162c8 4480 temp2 = true;
d55e5bfc
RD
4481 }
4482 {
4483 PyThreadState* __tstate = wxPyBeginAllowThreads();
4484 (arg1)->SetValue((wxString const &)*arg2);
4485
4486 wxPyEndAllowThreads(__tstate);
4487 if (PyErr_Occurred()) SWIG_fail;
4488 }
4489 Py_INCREF(Py_None); resultobj = Py_None;
4490 {
4491 if (temp2)
4492 delete arg2;
4493 }
4494 return resultobj;
4495 fail:
4496 {
4497 if (temp2)
4498 delete arg2;
4499 }
4500 return NULL;
4501}
4502
4503
c32bde28 4504static PyObject *_wrap_ComboBox_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4505 PyObject *resultobj;
4506 wxComboBox *arg1 = (wxComboBox *) 0 ;
4507 PyObject * obj0 = 0 ;
4508 char *kwnames[] = {
4509 (char *) "self", NULL
4510 };
4511
4512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Copy",kwnames,&obj0)) goto fail;
093d3ff1
RD
4513 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4514 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4515 {
4516 PyThreadState* __tstate = wxPyBeginAllowThreads();
4517 (arg1)->Copy();
4518
4519 wxPyEndAllowThreads(__tstate);
4520 if (PyErr_Occurred()) SWIG_fail;
4521 }
4522 Py_INCREF(Py_None); resultobj = Py_None;
4523 return resultobj;
4524 fail:
4525 return NULL;
4526}
4527
4528
c32bde28 4529static PyObject *_wrap_ComboBox_Cut(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4530 PyObject *resultobj;
4531 wxComboBox *arg1 = (wxComboBox *) 0 ;
4532 PyObject * obj0 = 0 ;
4533 char *kwnames[] = {
4534 (char *) "self", NULL
4535 };
4536
4537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Cut",kwnames,&obj0)) goto fail;
093d3ff1
RD
4538 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4539 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4540 {
4541 PyThreadState* __tstate = wxPyBeginAllowThreads();
4542 (arg1)->Cut();
4543
4544 wxPyEndAllowThreads(__tstate);
4545 if (PyErr_Occurred()) SWIG_fail;
4546 }
4547 Py_INCREF(Py_None); resultobj = Py_None;
4548 return resultobj;
4549 fail:
4550 return NULL;
4551}
4552
4553
c32bde28 4554static PyObject *_wrap_ComboBox_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4555 PyObject *resultobj;
4556 wxComboBox *arg1 = (wxComboBox *) 0 ;
4557 PyObject * obj0 = 0 ;
4558 char *kwnames[] = {
4559 (char *) "self", NULL
4560 };
4561
4562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Paste",kwnames,&obj0)) goto fail;
093d3ff1
RD
4563 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4564 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4565 {
4566 PyThreadState* __tstate = wxPyBeginAllowThreads();
4567 (arg1)->Paste();
4568
4569 wxPyEndAllowThreads(__tstate);
4570 if (PyErr_Occurred()) SWIG_fail;
4571 }
4572 Py_INCREF(Py_None); resultobj = Py_None;
4573 return resultobj;
4574 fail:
4575 return NULL;
4576}
4577
4578
c32bde28 4579static PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4580 PyObject *resultobj;
4581 wxComboBox *arg1 = (wxComboBox *) 0 ;
4582 long arg2 ;
4583 PyObject * obj0 = 0 ;
4584 PyObject * obj1 = 0 ;
4585 char *kwnames[] = {
4586 (char *) "self",(char *) "pos", NULL
4587 };
4588
4589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4590 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4591 if (SWIG_arg_fail(1)) SWIG_fail;
4592 {
4593 arg2 = (long)(SWIG_As_long(obj1));
4594 if (SWIG_arg_fail(2)) SWIG_fail;
4595 }
d55e5bfc
RD
4596 {
4597 PyThreadState* __tstate = wxPyBeginAllowThreads();
4598 (arg1)->SetInsertionPoint(arg2);
4599
4600 wxPyEndAllowThreads(__tstate);
4601 if (PyErr_Occurred()) SWIG_fail;
4602 }
4603 Py_INCREF(Py_None); resultobj = Py_None;
4604 return resultobj;
4605 fail:
4606 return NULL;
4607}
4608
4609
c32bde28 4610static PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4611 PyObject *resultobj;
4612 wxComboBox *arg1 = (wxComboBox *) 0 ;
4613 long result;
4614 PyObject * obj0 = 0 ;
4615 char *kwnames[] = {
4616 (char *) "self", NULL
4617 };
4618
4619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetInsertionPoint",kwnames,&obj0)) goto fail;
093d3ff1
RD
4620 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4621 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4622 {
4623 PyThreadState* __tstate = wxPyBeginAllowThreads();
4624 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
4625
4626 wxPyEndAllowThreads(__tstate);
4627 if (PyErr_Occurred()) SWIG_fail;
4628 }
093d3ff1
RD
4629 {
4630 resultobj = SWIG_From_long((long)(result));
4631 }
d55e5bfc
RD
4632 return resultobj;
4633 fail:
4634 return NULL;
4635}
4636
4637
c32bde28 4638static PyObject *_wrap_ComboBox_GetLastPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4639 PyObject *resultobj;
4640 wxComboBox *arg1 = (wxComboBox *) 0 ;
4641 long result;
4642 PyObject * obj0 = 0 ;
4643 char *kwnames[] = {
4644 (char *) "self", NULL
4645 };
4646
4647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetLastPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
4648 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4649 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4650 {
4651 PyThreadState* __tstate = wxPyBeginAllowThreads();
4652 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
4653
4654 wxPyEndAllowThreads(__tstate);
4655 if (PyErr_Occurred()) SWIG_fail;
4656 }
093d3ff1
RD
4657 {
4658 resultobj = SWIG_From_long((long)(result));
4659 }
d55e5bfc
RD
4660 return resultobj;
4661 fail:
4662 return NULL;
4663}
4664
4665
c32bde28 4666static PyObject *_wrap_ComboBox_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4667 PyObject *resultobj;
4668 wxComboBox *arg1 = (wxComboBox *) 0 ;
4669 long arg2 ;
4670 long arg3 ;
4671 wxString *arg4 = 0 ;
ae8162c8 4672 bool temp4 = false ;
d55e5bfc
RD
4673 PyObject * obj0 = 0 ;
4674 PyObject * obj1 = 0 ;
4675 PyObject * obj2 = 0 ;
4676 PyObject * obj3 = 0 ;
4677 char *kwnames[] = {
4678 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
4679 };
4680
4681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ComboBox_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
4682 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4683 if (SWIG_arg_fail(1)) SWIG_fail;
4684 {
4685 arg2 = (long)(SWIG_As_long(obj1));
4686 if (SWIG_arg_fail(2)) SWIG_fail;
4687 }
4688 {
4689 arg3 = (long)(SWIG_As_long(obj2));
4690 if (SWIG_arg_fail(3)) SWIG_fail;
4691 }
d55e5bfc
RD
4692 {
4693 arg4 = wxString_in_helper(obj3);
4694 if (arg4 == NULL) SWIG_fail;
ae8162c8 4695 temp4 = true;
d55e5bfc
RD
4696 }
4697 {
4698 PyThreadState* __tstate = wxPyBeginAllowThreads();
4699 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
4700
4701 wxPyEndAllowThreads(__tstate);
4702 if (PyErr_Occurred()) SWIG_fail;
4703 }
4704 Py_INCREF(Py_None); resultobj = Py_None;
4705 {
4706 if (temp4)
4707 delete arg4;
4708 }
4709 return resultobj;
4710 fail:
4711 {
4712 if (temp4)
4713 delete arg4;
4714 }
4715 return NULL;
4716}
4717
4718
c32bde28 4719static PyObject *_wrap_ComboBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4720 PyObject *resultobj;
4721 wxComboBox *arg1 = (wxComboBox *) 0 ;
4722 int arg2 ;
4723 PyObject * obj0 = 0 ;
4724 PyObject * obj1 = 0 ;
4725 char *kwnames[] = {
4726 (char *) "self",(char *) "n", NULL
4727 };
4728
4729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4730 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4731 if (SWIG_arg_fail(1)) SWIG_fail;
4732 {
4733 arg2 = (int)(SWIG_As_int(obj1));
4734 if (SWIG_arg_fail(2)) SWIG_fail;
4735 }
d55e5bfc
RD
4736 {
4737 PyThreadState* __tstate = wxPyBeginAllowThreads();
4738 (arg1)->SetSelection(arg2);
4739
4740 wxPyEndAllowThreads(__tstate);
4741 if (PyErr_Occurred()) SWIG_fail;
4742 }
4743 Py_INCREF(Py_None); resultobj = Py_None;
4744 return resultobj;
4745 fail:
4746 return NULL;
4747}
4748
4749
c32bde28 4750static PyObject *_wrap_ComboBox_SetMark(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4751 PyObject *resultobj;
4752 wxComboBox *arg1 = (wxComboBox *) 0 ;
4753 long arg2 ;
4754 long arg3 ;
4755 PyObject * obj0 = 0 ;
4756 PyObject * obj1 = 0 ;
4757 PyObject * obj2 = 0 ;
4758 char *kwnames[] = {
4759 (char *) "self",(char *) "from",(char *) "to", NULL
4760 };
4761
4762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetMark",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
4763 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4764 if (SWIG_arg_fail(1)) SWIG_fail;
4765 {
4766 arg2 = (long)(SWIG_As_long(obj1));
4767 if (SWIG_arg_fail(2)) SWIG_fail;
4768 }
4769 {
4770 arg3 = (long)(SWIG_As_long(obj2));
4771 if (SWIG_arg_fail(3)) SWIG_fail;
4772 }
d55e5bfc
RD
4773 {
4774 PyThreadState* __tstate = wxPyBeginAllowThreads();
4775 (arg1)->SetSelection(arg2,arg3);
4776
4777 wxPyEndAllowThreads(__tstate);
4778 if (PyErr_Occurred()) SWIG_fail;
4779 }
4780 Py_INCREF(Py_None); resultobj = Py_None;
4781 return resultobj;
4782 fail:
4783 return NULL;
4784}
4785
4786
f78cc896
RD
4787static PyObject *_wrap_ComboBox_GetMark(PyObject *, PyObject *args, PyObject *kwargs) {
4788 PyObject *resultobj;
4789 wxComboBox *arg1 = (wxComboBox *) 0 ;
4790 long *arg2 = (long *) 0 ;
4791 long *arg3 = (long *) 0 ;
4792 long temp2 ;
4793 int res2 = 0 ;
4794 long temp3 ;
4795 int res3 = 0 ;
4796 PyObject * obj0 = 0 ;
4797 char *kwnames[] = {
4798 (char *) "self", NULL
4799 };
4800
4801 arg2 = &temp2; res2 = SWIG_NEWOBJ;
4802 arg3 = &temp3; res3 = SWIG_NEWOBJ;
4803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetMark",kwnames,&obj0)) goto fail;
093d3ff1
RD
4804 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4805 if (SWIG_arg_fail(1)) SWIG_fail;
f78cc896
RD
4806 {
4807 PyThreadState* __tstate = wxPyBeginAllowThreads();
4808 (arg1)->GetSelection(arg2,arg3);
4809
4810 wxPyEndAllowThreads(__tstate);
4811 if (PyErr_Occurred()) SWIG_fail;
4812 }
4813 Py_INCREF(Py_None); resultobj = Py_None;
4814 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
4815 SWIG_From_long((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, 0)));
4816 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
4817 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
4818 return resultobj;
4819 fail:
4820 return NULL;
4821}
4822
4823
c32bde28 4824static PyObject *_wrap_ComboBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
121b9a67
RD
4825 PyObject *resultobj;
4826 wxComboBox *arg1 = (wxComboBox *) 0 ;
4827 wxString *arg2 = 0 ;
4828 bool result;
ae8162c8 4829 bool temp2 = false ;
121b9a67
RD
4830 PyObject * obj0 = 0 ;
4831 PyObject * obj1 = 0 ;
4832 char *kwnames[] = {
4833 (char *) "self",(char *) "string", NULL
4834 };
4835
4836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4837 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4838 if (SWIG_arg_fail(1)) SWIG_fail;
121b9a67
RD
4839 {
4840 arg2 = wxString_in_helper(obj1);
4841 if (arg2 == NULL) SWIG_fail;
ae8162c8 4842 temp2 = true;
121b9a67
RD
4843 }
4844 {
4845 PyThreadState* __tstate = wxPyBeginAllowThreads();
4846 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
4847
4848 wxPyEndAllowThreads(__tstate);
4849 if (PyErr_Occurred()) SWIG_fail;
4850 }
4851 {
4852 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4853 }
4854 {
4855 if (temp2)
4856 delete arg2;
4857 }
4858 return resultobj;
4859 fail:
4860 {
4861 if (temp2)
4862 delete arg2;
4863 }
4864 return NULL;
4865}
4866
4867
c32bde28 4868static PyObject *_wrap_ComboBox_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
121b9a67
RD
4869 PyObject *resultobj;
4870 wxComboBox *arg1 = (wxComboBox *) 0 ;
4871 int arg2 ;
4872 wxString *arg3 = 0 ;
ae8162c8 4873 bool temp3 = false ;
121b9a67
RD
4874 PyObject * obj0 = 0 ;
4875 PyObject * obj1 = 0 ;
4876 PyObject * obj2 = 0 ;
4877 char *kwnames[] = {
4878 (char *) "self",(char *) "n",(char *) "string", NULL
4879 };
4880
4881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
4882 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4883 if (SWIG_arg_fail(1)) SWIG_fail;
4884 {
4885 arg2 = (int)(SWIG_As_int(obj1));
4886 if (SWIG_arg_fail(2)) SWIG_fail;
4887 }
121b9a67
RD
4888 {
4889 arg3 = wxString_in_helper(obj2);
4890 if (arg3 == NULL) SWIG_fail;
ae8162c8 4891 temp3 = true;
121b9a67
RD
4892 }
4893 {
4894 PyThreadState* __tstate = wxPyBeginAllowThreads();
4895 (arg1)->SetString(arg2,(wxString const &)*arg3);
4896
4897 wxPyEndAllowThreads(__tstate);
4898 if (PyErr_Occurred()) SWIG_fail;
4899 }
4900 Py_INCREF(Py_None); resultobj = Py_None;
4901 {
4902 if (temp3)
4903 delete arg3;
4904 }
4905 return resultobj;
4906 fail:
4907 {
4908 if (temp3)
4909 delete arg3;
4910 }
4911 return NULL;
4912}
4913
4914
c32bde28 4915static PyObject *_wrap_ComboBox_SetEditable(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4916 PyObject *resultobj;
4917 wxComboBox *arg1 = (wxComboBox *) 0 ;
4918 bool arg2 ;
4919 PyObject * obj0 = 0 ;
4920 PyObject * obj1 = 0 ;
4921 char *kwnames[] = {
4922 (char *) "self",(char *) "editable", NULL
4923 };
4924
4925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4926 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4927 if (SWIG_arg_fail(1)) SWIG_fail;
4928 {
4929 arg2 = (bool)(SWIG_As_bool(obj1));
4930 if (SWIG_arg_fail(2)) SWIG_fail;
4931 }
d55e5bfc
RD
4932 {
4933 PyThreadState* __tstate = wxPyBeginAllowThreads();
4934 (arg1)->SetEditable(arg2);
4935
4936 wxPyEndAllowThreads(__tstate);
4937 if (PyErr_Occurred()) SWIG_fail;
4938 }
4939 Py_INCREF(Py_None); resultobj = Py_None;
4940 return resultobj;
4941 fail:
4942 return NULL;
4943}
4944
4945
c32bde28 4946static PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4947 PyObject *resultobj;
4948 wxComboBox *arg1 = (wxComboBox *) 0 ;
4949 PyObject * obj0 = 0 ;
4950 char *kwnames[] = {
4951 (char *) "self", NULL
4952 };
4953
4954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
093d3ff1
RD
4955 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4956 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4957 {
4958 PyThreadState* __tstate = wxPyBeginAllowThreads();
4959 (arg1)->SetInsertionPointEnd();
4960
4961 wxPyEndAllowThreads(__tstate);
4962 if (PyErr_Occurred()) SWIG_fail;
4963 }
4964 Py_INCREF(Py_None); resultobj = Py_None;
4965 return resultobj;
4966 fail:
4967 return NULL;
4968}
4969
4970
c32bde28 4971static PyObject *_wrap_ComboBox_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4972 PyObject *resultobj;
4973 wxComboBox *arg1 = (wxComboBox *) 0 ;
4974 long arg2 ;
4975 long arg3 ;
4976 PyObject * obj0 = 0 ;
4977 PyObject * obj1 = 0 ;
4978 PyObject * obj2 = 0 ;
4979 char *kwnames[] = {
4980 (char *) "self",(char *) "from",(char *) "to", NULL
4981 };
4982
4983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
4984 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4985 if (SWIG_arg_fail(1)) SWIG_fail;
4986 {
4987 arg2 = (long)(SWIG_As_long(obj1));
4988 if (SWIG_arg_fail(2)) SWIG_fail;
4989 }
4990 {
4991 arg3 = (long)(SWIG_As_long(obj2));
4992 if (SWIG_arg_fail(3)) SWIG_fail;
4993 }
d55e5bfc
RD
4994 {
4995 PyThreadState* __tstate = wxPyBeginAllowThreads();
4996 (arg1)->Remove(arg2,arg3);
4997
4998 wxPyEndAllowThreads(__tstate);
4999 if (PyErr_Occurred()) SWIG_fail;
5000 }
5001 Py_INCREF(Py_None); resultobj = Py_None;
5002 return resultobj;
5003 fail:
5004 return NULL;
5005}
5006
5007
b519803b
RD
5008static PyObject *_wrap_ComboBox_IsEditable(PyObject *, PyObject *args, PyObject *kwargs) {
5009 PyObject *resultobj;
5010 wxComboBox *arg1 = (wxComboBox *) 0 ;
5011 bool result;
5012 PyObject * obj0 = 0 ;
5013 char *kwnames[] = {
5014 (char *) "self", NULL
5015 };
5016
5017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_IsEditable",kwnames,&obj0)) goto fail;
093d3ff1
RD
5018 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5019 if (SWIG_arg_fail(1)) SWIG_fail;
b519803b
RD
5020 {
5021 PyThreadState* __tstate = wxPyBeginAllowThreads();
5022 result = (bool)((wxComboBox const *)arg1)->IsEditable();
5023
5024 wxPyEndAllowThreads(__tstate);
5025 if (PyErr_Occurred()) SWIG_fail;
5026 }
5027 {
5028 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5029 }
5030 return resultobj;
5031 fail:
5032 return NULL;
5033}
5034
5035
5036static PyObject *_wrap_ComboBox_Undo(PyObject *, PyObject *args, PyObject *kwargs) {
5037 PyObject *resultobj;
5038 wxComboBox *arg1 = (wxComboBox *) 0 ;
5039 PyObject * obj0 = 0 ;
5040 char *kwnames[] = {
5041 (char *) "self", NULL
5042 };
5043
5044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Undo",kwnames,&obj0)) goto fail;
093d3ff1
RD
5045 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5046 if (SWIG_arg_fail(1)) SWIG_fail;
b519803b
RD
5047 {
5048 PyThreadState* __tstate = wxPyBeginAllowThreads();
5049 (arg1)->Undo();
5050
5051 wxPyEndAllowThreads(__tstate);
5052 if (PyErr_Occurred()) SWIG_fail;
5053 }
5054 Py_INCREF(Py_None); resultobj = Py_None;
5055 return resultobj;
5056 fail:
5057 return NULL;
5058}
5059
5060
5061static PyObject *_wrap_ComboBox_Redo(PyObject *, PyObject *args, PyObject *kwargs) {
5062 PyObject *resultobj;
5063 wxComboBox *arg1 = (wxComboBox *) 0 ;
5064 PyObject * obj0 = 0 ;
5065 char *kwnames[] = {
5066 (char *) "self", NULL
5067 };
5068
5069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Redo",kwnames,&obj0)) goto fail;
093d3ff1
RD
5070 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5071 if (SWIG_arg_fail(1)) SWIG_fail;
b519803b
RD
5072 {
5073 PyThreadState* __tstate = wxPyBeginAllowThreads();
5074 (arg1)->Redo();
5075
5076 wxPyEndAllowThreads(__tstate);
5077 if (PyErr_Occurred()) SWIG_fail;
5078 }
5079 Py_INCREF(Py_None); resultobj = Py_None;
5080 return resultobj;
5081 fail:
5082 return NULL;
5083}
5084
5085
5086static PyObject *_wrap_ComboBox_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
5087 PyObject *resultobj;
5088 wxComboBox *arg1 = (wxComboBox *) 0 ;
5089 PyObject * obj0 = 0 ;
5090 char *kwnames[] = {
5091 (char *) "self", NULL
5092 };
5093
5094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SelectAll",kwnames,&obj0)) goto fail;
093d3ff1
RD
5095 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5096 if (SWIG_arg_fail(1)) SWIG_fail;
b519803b
RD
5097 {
5098 PyThreadState* __tstate = wxPyBeginAllowThreads();
5099 (arg1)->SelectAll();
5100
5101 wxPyEndAllowThreads(__tstate);
5102 if (PyErr_Occurred()) SWIG_fail;
5103 }
5104 Py_INCREF(Py_None); resultobj = Py_None;
5105 return resultobj;
5106 fail:
5107 return NULL;
5108}
5109
5110
5111static PyObject *_wrap_ComboBox_CanCopy(PyObject *, PyObject *args, PyObject *kwargs) {
5112 PyObject *resultobj;
5113 wxComboBox *arg1 = (wxComboBox *) 0 ;
5114 bool result;
5115 PyObject * obj0 = 0 ;
5116 char *kwnames[] = {
5117 (char *) "self", NULL
5118 };
5119
5120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanCopy",kwnames,&obj0)) goto fail;
093d3ff1
RD
5121 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5122 if (SWIG_arg_fail(1)) SWIG_fail;
b519803b
RD
5123 {
5124 PyThreadState* __tstate = wxPyBeginAllowThreads();
5125 result = (bool)((wxComboBox const *)arg1)->CanCopy();
5126
5127 wxPyEndAllowThreads(__tstate);
5128 if (PyErr_Occurred()) SWIG_fail;
5129 }
5130 {
5131 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5132 }
5133 return resultobj;
5134 fail:
5135 return NULL;
5136}
5137
5138
5139static PyObject *_wrap_ComboBox_CanCut(PyObject *, PyObject *args, PyObject *kwargs) {
5140 PyObject *resultobj;
5141 wxComboBox *arg1 = (wxComboBox *) 0 ;
5142 bool result;
5143 PyObject * obj0 = 0 ;
5144 char *kwnames[] = {
5145 (char *) "self", NULL
5146 };
5147
5148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanCut",kwnames,&obj0)) goto fail;
093d3ff1
RD
5149 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5150 if (SWIG_arg_fail(1)) SWIG_fail;
b519803b
RD
5151 {
5152 PyThreadState* __tstate = wxPyBeginAllowThreads();
5153 result = (bool)((wxComboBox const *)arg1)->CanCut();
5154
5155 wxPyEndAllowThreads(__tstate);
5156 if (PyErr_Occurred()) SWIG_fail;
5157 }
5158 {
5159 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5160 }
5161 return resultobj;
5162 fail:
5163 return NULL;
5164}
5165
5166
5167static PyObject *_wrap_ComboBox_CanPaste(PyObject *, PyObject *args, PyObject *kwargs) {
5168 PyObject *resultobj;
5169 wxComboBox *arg1 = (wxComboBox *) 0 ;
5170 bool result;
5171 PyObject * obj0 = 0 ;
5172 char *kwnames[] = {
5173 (char *) "self", NULL
5174 };
5175
5176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanPaste",kwnames,&obj0)) goto fail;
093d3ff1
RD
5177 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5178 if (SWIG_arg_fail(1)) SWIG_fail;
b519803b
RD
5179 {
5180 PyThreadState* __tstate = wxPyBeginAllowThreads();
5181 result = (bool)((wxComboBox const *)arg1)->CanPaste();
5182
5183 wxPyEndAllowThreads(__tstate);
5184 if (PyErr_Occurred()) SWIG_fail;
5185 }
5186 {
5187 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5188 }
5189 return resultobj;
5190 fail:
5191 return NULL;
5192}
5193
5194
5195static PyObject *_wrap_ComboBox_CanUndo(PyObject *, PyObject *args, PyObject *kwargs) {
5196 PyObject *resultobj;
5197 wxComboBox *arg1 = (wxComboBox *) 0 ;
5198 bool result;
5199 PyObject * obj0 = 0 ;
5200 char *kwnames[] = {
5201 (char *) "self", NULL
5202 };
5203
5204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanUndo",kwnames,&obj0)) goto fail;
093d3ff1
RD
5205 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5206 if (SWIG_arg_fail(1)) SWIG_fail;
b519803b
RD
5207 {
5208 PyThreadState* __tstate = wxPyBeginAllowThreads();
5209 result = (bool)((wxComboBox const *)arg1)->CanUndo();
5210
5211 wxPyEndAllowThreads(__tstate);
5212 if (PyErr_Occurred()) SWIG_fail;
5213 }
5214 {
5215 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5216 }
5217 return resultobj;
5218 fail:
5219 return NULL;
5220}
5221
5222
5223static PyObject *_wrap_ComboBox_CanRedo(PyObject *, PyObject *args, PyObject *kwargs) {
5224 PyObject *resultobj;
5225 wxComboBox *arg1 = (wxComboBox *) 0 ;
5226 bool result;
5227 PyObject * obj0 = 0 ;
5228 char *kwnames[] = {
5229 (char *) "self", NULL
5230 };
5231
5232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanRedo",kwnames,&obj0)) goto fail;
093d3ff1
RD
5233 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5234 if (SWIG_arg_fail(1)) SWIG_fail;
b519803b
RD
5235 {
5236 PyThreadState* __tstate = wxPyBeginAllowThreads();
5237 result = (bool)((wxComboBox const *)arg1)->CanRedo();
5238
5239 wxPyEndAllowThreads(__tstate);
5240 if (PyErr_Occurred()) SWIG_fail;
5241 }
5242 {
5243 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5244 }
5245 return resultobj;
5246 fail:
5247 return NULL;
5248}
5249
5250
c32bde28 5251static PyObject *_wrap_ComboBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 5252 PyObject *resultobj;
093d3ff1 5253 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
5254 wxVisualAttributes result;
5255 PyObject * obj0 = 0 ;
5256 char *kwnames[] = {
5257 (char *) "variant", NULL
5258 };
5259
5260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5261 if (obj0) {
093d3ff1
RD
5262 {
5263 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
5264 if (SWIG_arg_fail(1)) SWIG_fail;
5265 }
f20a2e1f
RD
5266 }
5267 {
19272049 5268 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
5269 PyThreadState* __tstate = wxPyBeginAllowThreads();
5270 result = wxComboBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
5271
5272 wxPyEndAllowThreads(__tstate);
110da5b0 5273 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
5274 }
5275 {
5276 wxVisualAttributes * resultptr;
093d3ff1 5277 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
5278 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5279 }
5280 return resultobj;
5281 fail:
5282 return NULL;
5283}
5284
5285
c32bde28 5286static PyObject * ComboBox_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
5287 PyObject *obj;
5288 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5289 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox, obj);
5290 Py_INCREF(obj);
5291 return Py_BuildValue((char *)"");
5292}
c32bde28 5293static int _wrap_GaugeNameStr_set(PyObject *) {
d55e5bfc
RD
5294 PyErr_SetString(PyExc_TypeError,"Variable GaugeNameStr is read-only.");
5295 return 1;
5296}
5297
5298
093d3ff1 5299static PyObject *_wrap_GaugeNameStr_get(void) {
d55e5bfc
RD
5300 PyObject *pyobj;
5301
5302 {
5303#if wxUSE_UNICODE
5304 pyobj = PyUnicode_FromWideChar((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
5305#else
5306 pyobj = PyString_FromStringAndSize((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
5307#endif
5308 }
5309 return pyobj;
5310}
5311
5312
c32bde28 5313static PyObject *_wrap_new_Gauge(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5314 PyObject *resultobj;
5315 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
5316 int arg2 = (int) -1 ;
5317 int arg3 = (int) 100 ;
d55e5bfc
RD
5318 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5319 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5320 wxSize const &arg5_defvalue = wxDefaultSize ;
5321 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5322 long arg6 = (long) wxGA_HORIZONTAL ;
5323 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5324 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5325 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
5326 wxString *arg8 = (wxString *) &arg8_defvalue ;
5327 wxGauge *result;
5328 wxPoint temp4 ;
5329 wxSize temp5 ;
ae8162c8 5330 bool temp8 = false ;
d55e5bfc
RD
5331 PyObject * obj0 = 0 ;
5332 PyObject * obj1 = 0 ;
5333 PyObject * obj2 = 0 ;
5334 PyObject * obj3 = 0 ;
5335 PyObject * obj4 = 0 ;
5336 PyObject * obj5 = 0 ;
5337 PyObject * obj6 = 0 ;
5338 PyObject * obj7 = 0 ;
5339 char *kwnames[] = {
5340 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5341 };
5342
248ed943 5343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Gauge",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
5344 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5345 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 5346 if (obj1) {
093d3ff1
RD
5347 {
5348 arg2 = (int)(SWIG_As_int(obj1));
5349 if (SWIG_arg_fail(2)) SWIG_fail;
5350 }
248ed943
RD
5351 }
5352 if (obj2) {
093d3ff1
RD
5353 {
5354 arg3 = (int)(SWIG_As_int(obj2));
5355 if (SWIG_arg_fail(3)) SWIG_fail;
5356 }
248ed943 5357 }
d55e5bfc
RD
5358 if (obj3) {
5359 {
5360 arg4 = &temp4;
5361 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5362 }
5363 }
5364 if (obj4) {
5365 {
5366 arg5 = &temp5;
5367 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5368 }
5369 }
5370 if (obj5) {
093d3ff1
RD
5371 {
5372 arg6 = (long)(SWIG_As_long(obj5));
5373 if (SWIG_arg_fail(6)) SWIG_fail;
5374 }
d55e5bfc
RD
5375 }
5376 if (obj6) {
093d3ff1
RD
5377 {
5378 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
5379 if (SWIG_arg_fail(7)) SWIG_fail;
5380 if (arg7 == NULL) {
5381 SWIG_null_ref("wxValidator");
5382 }
5383 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
5384 }
5385 }
5386 if (obj7) {
5387 {
5388 arg8 = wxString_in_helper(obj7);
5389 if (arg8 == NULL) SWIG_fail;
ae8162c8 5390 temp8 = true;
d55e5bfc
RD
5391 }
5392 }
5393 {
0439c23b 5394 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5395 PyThreadState* __tstate = wxPyBeginAllowThreads();
5396 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
5397
5398 wxPyEndAllowThreads(__tstate);
110da5b0 5399 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5400 }
5401 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
5402 {
5403 if (temp8)
5404 delete arg8;
5405 }
5406 return resultobj;
5407 fail:
5408 {
5409 if (temp8)
5410 delete arg8;
5411 }
5412 return NULL;
5413}
5414
5415
c32bde28 5416static PyObject *_wrap_new_PreGauge(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5417 PyObject *resultobj;
5418 wxGauge *result;
5419 char *kwnames[] = {
5420 NULL
5421 };
5422
5423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGauge",kwnames)) goto fail;
5424 {
0439c23b 5425 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5426 PyThreadState* __tstate = wxPyBeginAllowThreads();
5427 result = (wxGauge *)new wxGauge();
5428
5429 wxPyEndAllowThreads(__tstate);
110da5b0 5430 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5431 }
5432 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
5433 return resultobj;
5434 fail:
5435 return NULL;
5436}
5437
5438
c32bde28 5439static PyObject *_wrap_Gauge_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5440 PyObject *resultobj;
5441 wxGauge *arg1 = (wxGauge *) 0 ;
5442 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
5443 int arg3 = (int) -1 ;
5444 int arg4 = (int) 100 ;
d55e5bfc
RD
5445 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5446 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5447 wxSize const &arg6_defvalue = wxDefaultSize ;
5448 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5449 long arg7 = (long) wxGA_HORIZONTAL ;
5450 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5451 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5452 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
5453 wxString *arg9 = (wxString *) &arg9_defvalue ;
5454 bool result;
5455 wxPoint temp5 ;
5456 wxSize temp6 ;
ae8162c8 5457 bool temp9 = false ;
d55e5bfc
RD
5458 PyObject * obj0 = 0 ;
5459 PyObject * obj1 = 0 ;
5460 PyObject * obj2 = 0 ;
5461 PyObject * obj3 = 0 ;
5462 PyObject * obj4 = 0 ;
5463 PyObject * obj5 = 0 ;
5464 PyObject * obj6 = 0 ;
5465 PyObject * obj7 = 0 ;
5466 PyObject * obj8 = 0 ;
5467 char *kwnames[] = {
5468 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5469 };
5470
248ed943 5471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Gauge_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
5472 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5473 if (SWIG_arg_fail(1)) SWIG_fail;
5474 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5475 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 5476 if (obj2) {
093d3ff1
RD
5477 {
5478 arg3 = (int)(SWIG_As_int(obj2));
5479 if (SWIG_arg_fail(3)) SWIG_fail;
5480 }
248ed943
RD
5481 }
5482 if (obj3) {
093d3ff1
RD
5483 {
5484 arg4 = (int)(SWIG_As_int(obj3));
5485 if (SWIG_arg_fail(4)) SWIG_fail;
5486 }
248ed943 5487 }
d55e5bfc
RD
5488 if (obj4) {
5489 {
5490 arg5 = &temp5;
5491 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5492 }
5493 }
5494 if (obj5) {
5495 {
5496 arg6 = &temp6;
5497 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5498 }
5499 }
5500 if (obj6) {
093d3ff1
RD
5501 {
5502 arg7 = (long)(SWIG_As_long(obj6));
5503 if (SWIG_arg_fail(7)) SWIG_fail;
5504 }
d55e5bfc
RD
5505 }
5506 if (obj7) {
093d3ff1
RD
5507 {
5508 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
5509 if (SWIG_arg_fail(8)) SWIG_fail;
5510 if (arg8 == NULL) {
5511 SWIG_null_ref("wxValidator");
5512 }
5513 if (SWIG_arg_fail(8)) SWIG_fail;
d55e5bfc
RD
5514 }
5515 }
5516 if (obj8) {
5517 {
5518 arg9 = wxString_in_helper(obj8);
5519 if (arg9 == NULL) SWIG_fail;
ae8162c8 5520 temp9 = true;
d55e5bfc
RD
5521 }
5522 }
5523 {
5524 PyThreadState* __tstate = wxPyBeginAllowThreads();
5525 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5526
5527 wxPyEndAllowThreads(__tstate);
5528 if (PyErr_Occurred()) SWIG_fail;
5529 }
5530 {
5531 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5532 }
5533 {
5534 if (temp9)
5535 delete arg9;
5536 }
5537 return resultobj;
5538 fail:
5539 {
5540 if (temp9)
5541 delete arg9;
5542 }
5543 return NULL;
5544}
5545
5546
c32bde28 5547static PyObject *_wrap_Gauge_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5548 PyObject *resultobj;
5549 wxGauge *arg1 = (wxGauge *) 0 ;
5550 int arg2 ;
5551 PyObject * obj0 = 0 ;
5552 PyObject * obj1 = 0 ;
5553 char *kwnames[] = {
5554 (char *) "self",(char *) "range", NULL
5555 };
5556
5557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetRange",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5558 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5559 if (SWIG_arg_fail(1)) SWIG_fail;
5560 {
5561 arg2 = (int)(SWIG_As_int(obj1));
5562 if (SWIG_arg_fail(2)) SWIG_fail;
5563 }
d55e5bfc
RD
5564 {
5565 PyThreadState* __tstate = wxPyBeginAllowThreads();
5566 (arg1)->SetRange(arg2);
5567
5568 wxPyEndAllowThreads(__tstate);
5569 if (PyErr_Occurred()) SWIG_fail;
5570 }
5571 Py_INCREF(Py_None); resultobj = Py_None;
5572 return resultobj;
5573 fail:
5574 return NULL;
5575}
5576
5577
c32bde28 5578static PyObject *_wrap_Gauge_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5579 PyObject *resultobj;
5580 wxGauge *arg1 = (wxGauge *) 0 ;
5581 int result;
5582 PyObject * obj0 = 0 ;
5583 char *kwnames[] = {
5584 (char *) "self", NULL
5585 };
5586
5587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetRange",kwnames,&obj0)) goto fail;
093d3ff1
RD
5588 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5589 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5590 {
5591 PyThreadState* __tstate = wxPyBeginAllowThreads();
5592 result = (int)((wxGauge const *)arg1)->GetRange();
5593
5594 wxPyEndAllowThreads(__tstate);
5595 if (PyErr_Occurred()) SWIG_fail;
5596 }
093d3ff1
RD
5597 {
5598 resultobj = SWIG_From_int((int)(result));
5599 }
d55e5bfc
RD
5600 return resultobj;
5601 fail:
5602 return NULL;
5603}
5604
5605
c32bde28 5606static PyObject *_wrap_Gauge_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5607 PyObject *resultobj;
5608 wxGauge *arg1 = (wxGauge *) 0 ;
5609 int arg2 ;
5610 PyObject * obj0 = 0 ;
5611 PyObject * obj1 = 0 ;
5612 char *kwnames[] = {
5613 (char *) "self",(char *) "pos", NULL
5614 };
5615
5616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetValue",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5617 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5618 if (SWIG_arg_fail(1)) SWIG_fail;
5619 {
5620 arg2 = (int)(SWIG_As_int(obj1));
5621 if (SWIG_arg_fail(2)) SWIG_fail;
5622 }
d55e5bfc
RD
5623 {
5624 PyThreadState* __tstate = wxPyBeginAllowThreads();
5625 (arg1)->SetValue(arg2);
5626
5627 wxPyEndAllowThreads(__tstate);
5628 if (PyErr_Occurred()) SWIG_fail;
5629 }
5630 Py_INCREF(Py_None); resultobj = Py_None;
5631 return resultobj;
5632 fail:
5633 return NULL;
5634}
5635
5636
c32bde28 5637static PyObject *_wrap_Gauge_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5638 PyObject *resultobj;
5639 wxGauge *arg1 = (wxGauge *) 0 ;
5640 int result;
5641 PyObject * obj0 = 0 ;
5642 char *kwnames[] = {
5643 (char *) "self", NULL
5644 };
5645
5646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
5647 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5648 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5649 {
5650 PyThreadState* __tstate = wxPyBeginAllowThreads();
5651 result = (int)((wxGauge const *)arg1)->GetValue();
5652
5653 wxPyEndAllowThreads(__tstate);
5654 if (PyErr_Occurred()) SWIG_fail;
5655 }
093d3ff1
RD
5656 {
5657 resultobj = SWIG_From_int((int)(result));
5658 }
d55e5bfc
RD
5659 return resultobj;
5660 fail:
5661 return NULL;
5662}
5663
5664
c32bde28 5665static PyObject *_wrap_Gauge_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5666 PyObject *resultobj;
5667 wxGauge *arg1 = (wxGauge *) 0 ;
5668 bool result;
5669 PyObject * obj0 = 0 ;
5670 char *kwnames[] = {
5671 (char *) "self", NULL
5672 };
5673
5674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_IsVertical",kwnames,&obj0)) goto fail;
093d3ff1
RD
5675 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5676 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5677 {
5678 PyThreadState* __tstate = wxPyBeginAllowThreads();
5679 result = (bool)((wxGauge const *)arg1)->IsVertical();
5680
5681 wxPyEndAllowThreads(__tstate);
5682 if (PyErr_Occurred()) SWIG_fail;
5683 }
5684 {
5685 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5686 }
5687 return resultobj;
5688 fail:
5689 return NULL;
5690}
5691
5692
c32bde28 5693static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5694 PyObject *resultobj;
5695 wxGauge *arg1 = (wxGauge *) 0 ;
5696 int arg2 ;
5697 PyObject * obj0 = 0 ;
5698 PyObject * obj1 = 0 ;
5699 char *kwnames[] = {
5700 (char *) "self",(char *) "w", NULL
5701 };
5702
5703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetShadowWidth",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5704 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5705 if (SWIG_arg_fail(1)) SWIG_fail;
5706 {
5707 arg2 = (int)(SWIG_As_int(obj1));
5708 if (SWIG_arg_fail(2)) SWIG_fail;
5709 }
d55e5bfc
RD
5710 {
5711 PyThreadState* __tstate = wxPyBeginAllowThreads();
5712 (arg1)->SetShadowWidth(arg2);
5713
5714 wxPyEndAllowThreads(__tstate);
5715 if (PyErr_Occurred()) SWIG_fail;
5716 }
5717 Py_INCREF(Py_None); resultobj = Py_None;
5718 return resultobj;
5719 fail:
5720 return NULL;
5721}
5722
5723
c32bde28 5724static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5725 PyObject *resultobj;
5726 wxGauge *arg1 = (wxGauge *) 0 ;
5727 int result;
5728 PyObject * obj0 = 0 ;
5729 char *kwnames[] = {
5730 (char *) "self", NULL
5731 };
5732
5733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetShadowWidth",kwnames,&obj0)) goto fail;
093d3ff1
RD
5734 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5735 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5736 {
5737 PyThreadState* __tstate = wxPyBeginAllowThreads();
5738 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
5739
5740 wxPyEndAllowThreads(__tstate);
5741 if (PyErr_Occurred()) SWIG_fail;
5742 }
093d3ff1
RD
5743 {
5744 resultobj = SWIG_From_int((int)(result));
5745 }
d55e5bfc
RD
5746 return resultobj;
5747 fail:
5748 return NULL;
5749}
5750
5751
c32bde28 5752static PyObject *_wrap_Gauge_SetBezelFace(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5753 PyObject *resultobj;
5754 wxGauge *arg1 = (wxGauge *) 0 ;
5755 int arg2 ;
5756 PyObject * obj0 = 0 ;
5757 PyObject * obj1 = 0 ;
5758 char *kwnames[] = {
5759 (char *) "self",(char *) "w", NULL
5760 };
5761
5762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetBezelFace",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5763 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5764 if (SWIG_arg_fail(1)) SWIG_fail;
5765 {
5766 arg2 = (int)(SWIG_As_int(obj1));
5767 if (SWIG_arg_fail(2)) SWIG_fail;
5768 }
d55e5bfc
RD
5769 {
5770 PyThreadState* __tstate = wxPyBeginAllowThreads();
5771 (arg1)->SetBezelFace(arg2);
5772
5773 wxPyEndAllowThreads(__tstate);
5774 if (PyErr_Occurred()) SWIG_fail;
5775 }
5776 Py_INCREF(Py_None); resultobj = Py_None;
5777 return resultobj;
5778 fail:
5779 return NULL;
5780}
5781
5782
c32bde28 5783static PyObject *_wrap_Gauge_GetBezelFace(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5784 PyObject *resultobj;
5785 wxGauge *arg1 = (wxGauge *) 0 ;
5786 int result;
5787 PyObject * obj0 = 0 ;
5788 char *kwnames[] = {
5789 (char *) "self", NULL
5790 };
5791
5792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetBezelFace",kwnames,&obj0)) goto fail;
093d3ff1
RD
5793 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5794 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5795 {
5796 PyThreadState* __tstate = wxPyBeginAllowThreads();
5797 result = (int)((wxGauge const *)arg1)->GetBezelFace();
5798
5799 wxPyEndAllowThreads(__tstate);
5800 if (PyErr_Occurred()) SWIG_fail;
5801 }
093d3ff1
RD
5802 {
5803 resultobj = SWIG_From_int((int)(result));
5804 }
d55e5bfc
RD
5805 return resultobj;
5806 fail:
5807 return NULL;
5808}
5809
5810
c32bde28 5811static PyObject *_wrap_Gauge_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 5812 PyObject *resultobj;
093d3ff1 5813 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
5814 wxVisualAttributes result;
5815 PyObject * obj0 = 0 ;
5816 char *kwnames[] = {
5817 (char *) "variant", NULL
5818 };
5819
5820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5821 if (obj0) {
093d3ff1
RD
5822 {
5823 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
5824 if (SWIG_arg_fail(1)) SWIG_fail;
5825 }
f20a2e1f
RD
5826 }
5827 {
19272049 5828 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
5829 PyThreadState* __tstate = wxPyBeginAllowThreads();
5830 result = wxGauge::GetClassDefaultAttributes((wxWindowVariant )arg1);
5831
5832 wxPyEndAllowThreads(__tstate);
110da5b0 5833 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
5834 }
5835 {
5836 wxVisualAttributes * resultptr;
093d3ff1 5837 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
5838 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5839 }
5840 return resultobj;
5841 fail:
5842 return NULL;
5843}
5844
5845
c32bde28 5846static PyObject * Gauge_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
5847 PyObject *obj;
5848 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5849 SWIG_TypeClientData(SWIGTYPE_p_wxGauge, obj);
5850 Py_INCREF(obj);
5851 return Py_BuildValue((char *)"");
5852}
c32bde28 5853static int _wrap_StaticBitmapNameStr_set(PyObject *) {
d55e5bfc
RD
5854 PyErr_SetString(PyExc_TypeError,"Variable StaticBitmapNameStr is read-only.");
5855 return 1;
5856}
5857
5858
093d3ff1 5859static PyObject *_wrap_StaticBitmapNameStr_get(void) {
d55e5bfc
RD
5860 PyObject *pyobj;
5861
5862 {
5863#if wxUSE_UNICODE
5864 pyobj = PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
5865#else
5866 pyobj = PyString_FromStringAndSize((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
5867#endif
5868 }
5869 return pyobj;
5870}
5871
5872
c32bde28 5873static int _wrap_StaticBoxNameStr_set(PyObject *) {
d55e5bfc
RD
5874 PyErr_SetString(PyExc_TypeError,"Variable StaticBoxNameStr is read-only.");
5875 return 1;
5876}
5877
5878
093d3ff1 5879static PyObject *_wrap_StaticBoxNameStr_get(void) {
d55e5bfc
RD
5880 PyObject *pyobj;
5881
5882 {
5883#if wxUSE_UNICODE
5884 pyobj = PyUnicode_FromWideChar((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
5885#else
5886 pyobj = PyString_FromStringAndSize((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
5887#endif
5888 }
5889 return pyobj;
5890}
5891
5892
c32bde28 5893static int _wrap_StaticTextNameStr_set(PyObject *) {
d55e5bfc
RD
5894 PyErr_SetString(PyExc_TypeError,"Variable StaticTextNameStr is read-only.");
5895 return 1;
5896}
5897
5898
093d3ff1 5899static PyObject *_wrap_StaticTextNameStr_get(void) {
d55e5bfc
RD
5900 PyObject *pyobj;
5901
5902 {
5903#if wxUSE_UNICODE
5904 pyobj = PyUnicode_FromWideChar((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
5905#else
5906 pyobj = PyString_FromStringAndSize((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
5907#endif
5908 }
5909 return pyobj;
5910}
5911
5912
c32bde28 5913static PyObject *_wrap_new_StaticBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5914 PyObject *resultobj;
5915 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
5916 int arg2 = (int) -1 ;
5917 wxString const &arg3_defvalue = wxPyEmptyString ;
5918 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
5919 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5920 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5921 wxSize const &arg5_defvalue = wxDefaultSize ;
5922 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5923 long arg6 = (long) 0 ;
5924 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
5925 wxString *arg7 = (wxString *) &arg7_defvalue ;
5926 wxStaticBox *result;
ae8162c8 5927 bool temp3 = false ;
d55e5bfc
RD
5928 wxPoint temp4 ;
5929 wxSize temp5 ;
ae8162c8 5930 bool temp7 = false ;
d55e5bfc
RD
5931 PyObject * obj0 = 0 ;
5932 PyObject * obj1 = 0 ;
5933 PyObject * obj2 = 0 ;
5934 PyObject * obj3 = 0 ;
5935 PyObject * obj4 = 0 ;
5936 PyObject * obj5 = 0 ;
5937 PyObject * obj6 = 0 ;
5938 char *kwnames[] = {
5939 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5940 };
5941
248ed943 5942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
5943 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5944 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 5945 if (obj1) {
093d3ff1
RD
5946 {
5947 arg2 = (int)(SWIG_As_int(obj1));
5948 if (SWIG_arg_fail(2)) SWIG_fail;
5949 }
248ed943
RD
5950 }
5951 if (obj2) {
5952 {
5953 arg3 = wxString_in_helper(obj2);
5954 if (arg3 == NULL) SWIG_fail;
ae8162c8 5955 temp3 = true;
248ed943 5956 }
d55e5bfc
RD
5957 }
5958 if (obj3) {
5959 {
5960 arg4 = &temp4;
5961 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5962 }
5963 }
5964 if (obj4) {
5965 {
5966 arg5 = &temp5;
5967 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5968 }
5969 }
5970 if (obj5) {
093d3ff1
RD
5971 {
5972 arg6 = (long)(SWIG_As_long(obj5));
5973 if (SWIG_arg_fail(6)) SWIG_fail;
5974 }
d55e5bfc
RD
5975 }
5976 if (obj6) {
5977 {
5978 arg7 = wxString_in_helper(obj6);
5979 if (arg7 == NULL) SWIG_fail;
ae8162c8 5980 temp7 = true;
d55e5bfc
RD
5981 }
5982 }
5983 {
0439c23b 5984 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5985 PyThreadState* __tstate = wxPyBeginAllowThreads();
5986 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5987
5988 wxPyEndAllowThreads(__tstate);
110da5b0 5989 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 5990 }
b0f7404b 5991 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBox, 1);
d55e5bfc
RD
5992 {
5993 if (temp3)
5994 delete arg3;
5995 }
5996 {
5997 if (temp7)
5998 delete arg7;
5999 }
6000 return resultobj;
6001 fail:
6002 {
6003 if (temp3)
6004 delete arg3;
6005 }
6006 {
6007 if (temp7)
6008 delete arg7;
6009 }
6010 return NULL;
6011}
6012
6013
c32bde28 6014static PyObject *_wrap_new_PreStaticBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6015 PyObject *resultobj;
6016 wxStaticBox *result;
6017 char *kwnames[] = {
6018 NULL
6019 };
6020
6021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBox",kwnames)) goto fail;
6022 {
0439c23b 6023 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6024 PyThreadState* __tstate = wxPyBeginAllowThreads();
6025 result = (wxStaticBox *)new wxStaticBox();
6026
6027 wxPyEndAllowThreads(__tstate);
110da5b0 6028 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 6029 }
b0f7404b 6030 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBox, 1);
d55e5bfc
RD
6031 return resultobj;
6032 fail:
6033 return NULL;
6034}
6035
6036
c32bde28 6037static PyObject *_wrap_StaticBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6038 PyObject *resultobj;
6039 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
6040 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
6041 int arg3 = (int) -1 ;
6042 wxString const &arg4_defvalue = wxPyEmptyString ;
6043 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
6044 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6045 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6046 wxSize const &arg6_defvalue = wxDefaultSize ;
6047 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6048 long arg7 = (long) 0 ;
6049 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
6050 wxString *arg8 = (wxString *) &arg8_defvalue ;
6051 bool result;
ae8162c8 6052 bool temp4 = false ;
d55e5bfc
RD
6053 wxPoint temp5 ;
6054 wxSize temp6 ;
ae8162c8 6055 bool temp8 = false ;
d55e5bfc
RD
6056 PyObject * obj0 = 0 ;
6057 PyObject * obj1 = 0 ;
6058 PyObject * obj2 = 0 ;
6059 PyObject * obj3 = 0 ;
6060 PyObject * obj4 = 0 ;
6061 PyObject * obj5 = 0 ;
6062 PyObject * obj6 = 0 ;
6063 PyObject * obj7 = 0 ;
6064 char *kwnames[] = {
6065 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6066 };
6067
248ed943 6068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
6069 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBox, SWIG_POINTER_EXCEPTION | 0);
6070 if (SWIG_arg_fail(1)) SWIG_fail;
6071 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6072 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 6073 if (obj2) {
093d3ff1
RD
6074 {
6075 arg3 = (int)(SWIG_As_int(obj2));
6076 if (SWIG_arg_fail(3)) SWIG_fail;
6077 }
248ed943
RD
6078 }
6079 if (obj3) {
6080 {
6081 arg4 = wxString_in_helper(obj3);
6082 if (arg4 == NULL) SWIG_fail;
ae8162c8 6083 temp4 = true;
248ed943 6084 }
d55e5bfc
RD
6085 }
6086 if (obj4) {
6087 {
6088 arg5 = &temp5;
6089 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6090 }
6091 }
6092 if (obj5) {
6093 {
6094 arg6 = &temp6;
6095 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6096 }
6097 }
6098 if (obj6) {
093d3ff1
RD
6099 {
6100 arg7 = (long)(SWIG_As_long(obj6));
6101 if (SWIG_arg_fail(7)) SWIG_fail;
6102 }
d55e5bfc
RD
6103 }
6104 if (obj7) {
6105 {
6106 arg8 = wxString_in_helper(obj7);
6107 if (arg8 == NULL) SWIG_fail;
ae8162c8 6108 temp8 = true;
d55e5bfc
RD
6109 }
6110 }
6111 {
6112 PyThreadState* __tstate = wxPyBeginAllowThreads();
6113 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6114
6115 wxPyEndAllowThreads(__tstate);
6116 if (PyErr_Occurred()) SWIG_fail;
6117 }
6118 {
6119 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6120 }
6121 {
6122 if (temp4)
6123 delete arg4;
6124 }
6125 {
6126 if (temp8)
6127 delete arg8;
6128 }
6129 return resultobj;
6130 fail:
6131 {
6132 if (temp4)
6133 delete arg4;
6134 }
6135 {
6136 if (temp8)
6137 delete arg8;
6138 }
6139 return NULL;
6140}
6141
6142
c32bde28 6143static PyObject *_wrap_StaticBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 6144 PyObject *resultobj;
093d3ff1 6145 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
6146 wxVisualAttributes result;
6147 PyObject * obj0 = 0 ;
6148 char *kwnames[] = {
6149 (char *) "variant", NULL
6150 };
6151
6152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6153 if (obj0) {
093d3ff1
RD
6154 {
6155 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
6156 if (SWIG_arg_fail(1)) SWIG_fail;
6157 }
f20a2e1f
RD
6158 }
6159 {
19272049 6160 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
6161 PyThreadState* __tstate = wxPyBeginAllowThreads();
6162 result = wxStaticBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
6163
6164 wxPyEndAllowThreads(__tstate);
110da5b0 6165 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
6166 }
6167 {
6168 wxVisualAttributes * resultptr;
093d3ff1 6169 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
6170 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6171 }
6172 return resultobj;
6173 fail:
6174 return NULL;
6175}
6176
6177
c32bde28 6178static PyObject * StaticBox_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
6179 PyObject *obj;
6180 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6181 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox, obj);
6182 Py_INCREF(obj);
6183 return Py_BuildValue((char *)"");
6184}
c32bde28 6185static PyObject *_wrap_new_StaticLine(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6186 PyObject *resultobj;
6187 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 6188 int arg2 = (int) -1 ;
d55e5bfc
RD
6189 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6190 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6191 wxSize const &arg4_defvalue = wxDefaultSize ;
6192 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6193 long arg5 = (long) wxLI_HORIZONTAL ;
6194 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
6195 wxString *arg6 = (wxString *) &arg6_defvalue ;
6196 wxStaticLine *result;
6197 wxPoint temp3 ;
6198 wxSize temp4 ;
ae8162c8 6199 bool temp6 = false ;
d55e5bfc
RD
6200 PyObject * obj0 = 0 ;
6201 PyObject * obj1 = 0 ;
6202 PyObject * obj2 = 0 ;
6203 PyObject * obj3 = 0 ;
6204 PyObject * obj4 = 0 ;
6205 PyObject * obj5 = 0 ;
6206 char *kwnames[] = {
6207 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6208 };
6209
248ed943 6210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_StaticLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
6211 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6212 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 6213 if (obj1) {
093d3ff1
RD
6214 {
6215 arg2 = (int)(SWIG_As_int(obj1));
6216 if (SWIG_arg_fail(2)) SWIG_fail;
6217 }
248ed943 6218 }
d55e5bfc
RD
6219 if (obj2) {
6220 {
6221 arg3 = &temp3;
6222 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6223 }
6224 }
6225 if (obj3) {
6226 {
6227 arg4 = &temp4;
6228 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6229 }
6230 }
6231 if (obj4) {
093d3ff1
RD
6232 {
6233 arg5 = (long)(SWIG_As_long(obj4));
6234 if (SWIG_arg_fail(5)) SWIG_fail;
6235 }
d55e5bfc
RD
6236 }
6237 if (obj5) {
6238 {
6239 arg6 = wxString_in_helper(obj5);
6240 if (arg6 == NULL) SWIG_fail;
ae8162c8 6241 temp6 = true;
d55e5bfc
RD
6242 }
6243 }
6244 {
0439c23b 6245 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6246 PyThreadState* __tstate = wxPyBeginAllowThreads();
6247 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
6248
6249 wxPyEndAllowThreads(__tstate);
110da5b0 6250 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6251 }
6252 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
6253 {
6254 if (temp6)
6255 delete arg6;
6256 }
6257 return resultobj;
6258 fail:
6259 {
6260 if (temp6)
6261 delete arg6;
6262 }
6263 return NULL;
6264}
6265
6266
c32bde28 6267static PyObject *_wrap_new_PreStaticLine(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6268 PyObject *resultobj;
6269 wxStaticLine *result;
6270 char *kwnames[] = {
6271 NULL
6272 };
6273
6274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticLine",kwnames)) goto fail;
6275 {
0439c23b 6276 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6277 PyThreadState* __tstate = wxPyBeginAllowThreads();
6278 result = (wxStaticLine *)new wxStaticLine();
6279
6280 wxPyEndAllowThreads(__tstate);
110da5b0 6281 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6282 }
6283 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
6284 return resultobj;
6285 fail:
6286 return NULL;
6287}
6288
6289
c32bde28 6290static PyObject *_wrap_StaticLine_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6291 PyObject *resultobj;
6292 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
6293 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 6294 int arg3 = (int) -1 ;
d55e5bfc
RD
6295 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6296 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6297 wxSize const &arg5_defvalue = wxDefaultSize ;
6298 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6299 long arg6 = (long) wxLI_HORIZONTAL ;
6300 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
6301 wxString *arg7 = (wxString *) &arg7_defvalue ;
6302 bool result;
6303 wxPoint temp4 ;
6304 wxSize temp5 ;
ae8162c8 6305 bool temp7 = false ;
d55e5bfc
RD
6306 PyObject * obj0 = 0 ;
6307 PyObject * obj1 = 0 ;
6308 PyObject * obj2 = 0 ;
6309 PyObject * obj3 = 0 ;
6310 PyObject * obj4 = 0 ;
6311 PyObject * obj5 = 0 ;
6312 PyObject * obj6 = 0 ;
6313 char *kwnames[] = {
6314 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6315 };
6316
248ed943 6317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:StaticLine_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
6318 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticLine, SWIG_POINTER_EXCEPTION | 0);
6319 if (SWIG_arg_fail(1)) SWIG_fail;
6320 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6321 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 6322 if (obj2) {
093d3ff1
RD
6323 {
6324 arg3 = (int)(SWIG_As_int(obj2));
6325 if (SWIG_arg_fail(3)) SWIG_fail;
6326 }
248ed943 6327 }
d55e5bfc
RD
6328 if (obj3) {
6329 {
6330 arg4 = &temp4;
6331 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6332 }
6333 }
6334 if (obj4) {
6335 {
6336 arg5 = &temp5;
6337 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6338 }
6339 }
6340 if (obj5) {
093d3ff1
RD
6341 {
6342 arg6 = (long)(SWIG_As_long(obj5));
6343 if (SWIG_arg_fail(6)) SWIG_fail;
6344 }
d55e5bfc
RD
6345 }
6346 if (obj6) {
6347 {
6348 arg7 = wxString_in_helper(obj6);
6349 if (arg7 == NULL) SWIG_fail;
ae8162c8 6350 temp7 = true;
d55e5bfc
RD
6351 }
6352 }
6353 {
6354 PyThreadState* __tstate = wxPyBeginAllowThreads();
6355 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6356
6357 wxPyEndAllowThreads(__tstate);
6358 if (PyErr_Occurred()) SWIG_fail;
6359 }
6360 {
6361 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6362 }
6363 {
6364 if (temp7)
6365 delete arg7;
6366 }
6367 return resultobj;
6368 fail:
6369 {
6370 if (temp7)
6371 delete arg7;
6372 }
6373 return NULL;
6374}
6375
6376
c32bde28 6377static PyObject *_wrap_StaticLine_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6378 PyObject *resultobj;
6379 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
6380 bool result;
6381 PyObject * obj0 = 0 ;
6382 char *kwnames[] = {
6383 (char *) "self", NULL
6384 };
6385
6386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticLine_IsVertical",kwnames,&obj0)) goto fail;
093d3ff1
RD
6387 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticLine, SWIG_POINTER_EXCEPTION | 0);
6388 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6389 {
6390 PyThreadState* __tstate = wxPyBeginAllowThreads();
6391 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
6392
6393 wxPyEndAllowThreads(__tstate);
6394 if (PyErr_Occurred()) SWIG_fail;
6395 }
6396 {
6397 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6398 }
6399 return resultobj;
6400 fail:
6401 return NULL;
6402}
6403
6404
c32bde28 6405static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6406 PyObject *resultobj;
6407 int result;
6408 char *kwnames[] = {
6409 NULL
6410 };
6411
6412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StaticLine_GetDefaultSize",kwnames)) goto fail;
6413 {
6414 PyThreadState* __tstate = wxPyBeginAllowThreads();
6415 result = (int)wxStaticLine::GetDefaultSize();
6416
6417 wxPyEndAllowThreads(__tstate);
6418 if (PyErr_Occurred()) SWIG_fail;
6419 }
093d3ff1
RD
6420 {
6421 resultobj = SWIG_From_int((int)(result));
6422 }
d55e5bfc
RD
6423 return resultobj;
6424 fail:
6425 return NULL;
6426}
6427
6428
c32bde28 6429static PyObject *_wrap_StaticLine_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 6430 PyObject *resultobj;
093d3ff1 6431 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
6432 wxVisualAttributes result;
6433 PyObject * obj0 = 0 ;
6434 char *kwnames[] = {
6435 (char *) "variant", NULL
6436 };
6437
6438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6439 if (obj0) {
093d3ff1
RD
6440 {
6441 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
6442 if (SWIG_arg_fail(1)) SWIG_fail;
6443 }
f20a2e1f
RD
6444 }
6445 {
19272049 6446 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
6447 PyThreadState* __tstate = wxPyBeginAllowThreads();
6448 result = wxStaticLine::GetClassDefaultAttributes((wxWindowVariant )arg1);
6449
6450 wxPyEndAllowThreads(__tstate);
110da5b0 6451 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
6452 }
6453 {
6454 wxVisualAttributes * resultptr;
093d3ff1 6455 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
6456 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6457 }
6458 return resultobj;
6459 fail:
6460 return NULL;
6461}
6462
6463
c32bde28 6464static PyObject * StaticLine_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
6465 PyObject *obj;
6466 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6467 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine, obj);
6468 Py_INCREF(obj);
6469 return Py_BuildValue((char *)"");
6470}
c32bde28 6471static PyObject *_wrap_new_StaticText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6472 PyObject *resultobj;
6473 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
6474 int arg2 = (int) -1 ;
6475 wxString const &arg3_defvalue = wxPyEmptyString ;
6476 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
6477 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6478 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6479 wxSize const &arg5_defvalue = wxDefaultSize ;
6480 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6481 long arg6 = (long) 0 ;
6482 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
6483 wxString *arg7 = (wxString *) &arg7_defvalue ;
6484 wxStaticText *result;
ae8162c8 6485 bool temp3 = false ;
d55e5bfc
RD
6486 wxPoint temp4 ;
6487 wxSize temp5 ;
ae8162c8 6488 bool temp7 = false ;
d55e5bfc
RD
6489 PyObject * obj0 = 0 ;
6490 PyObject * obj1 = 0 ;
6491 PyObject * obj2 = 0 ;
6492 PyObject * obj3 = 0 ;
6493 PyObject * obj4 = 0 ;
6494 PyObject * obj5 = 0 ;
6495 PyObject * obj6 = 0 ;
6496 char *kwnames[] = {
6497 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6498 };
6499
248ed943 6500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
6501 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6502 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 6503 if (obj1) {
093d3ff1
RD
6504 {
6505 arg2 = (int)(SWIG_As_int(obj1));
6506 if (SWIG_arg_fail(2)) SWIG_fail;
6507 }
248ed943
RD
6508 }
6509 if (obj2) {
6510 {
6511 arg3 = wxString_in_helper(obj2);
6512 if (arg3 == NULL) SWIG_fail;
ae8162c8 6513 temp3 = true;
248ed943 6514 }
d55e5bfc
RD
6515 }
6516 if (obj3) {
6517 {
6518 arg4 = &temp4;
6519 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6520 }
6521 }
6522 if (obj4) {
6523 {
6524 arg5 = &temp5;
6525 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6526 }
6527 }
6528 if (obj5) {
093d3ff1
RD
6529 {
6530 arg6 = (long)(SWIG_As_long(obj5));
6531 if (SWIG_arg_fail(6)) SWIG_fail;
6532 }
d55e5bfc
RD
6533 }
6534 if (obj6) {
6535 {
6536 arg7 = wxString_in_helper(obj6);
6537 if (arg7 == NULL) SWIG_fail;
ae8162c8 6538 temp7 = true;
d55e5bfc
RD
6539 }
6540 }
6541 {
0439c23b 6542 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6543 PyThreadState* __tstate = wxPyBeginAllowThreads();
6544 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6545
6546 wxPyEndAllowThreads(__tstate);
110da5b0 6547 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6548 }
6549 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
6550 {
6551 if (temp3)
6552 delete arg3;
6553 }
6554 {
6555 if (temp7)
6556 delete arg7;
6557 }
6558 return resultobj;
6559 fail:
6560 {
6561 if (temp3)
6562 delete arg3;
6563 }
6564 {
6565 if (temp7)
6566 delete arg7;
6567 }
6568 return NULL;
6569}
6570
6571
c32bde28 6572static PyObject *_wrap_new_PreStaticText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6573 PyObject *resultobj;
6574 wxStaticText *result;
6575 char *kwnames[] = {
6576 NULL
6577 };
6578
6579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticText",kwnames)) goto fail;
6580 {
0439c23b 6581 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6582 PyThreadState* __tstate = wxPyBeginAllowThreads();
6583 result = (wxStaticText *)new wxStaticText();
6584
6585 wxPyEndAllowThreads(__tstate);
110da5b0 6586 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6587 }
6588 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
6589 return resultobj;
6590 fail:
6591 return NULL;
6592}
6593
6594
c32bde28 6595static PyObject *_wrap_StaticText_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6596 PyObject *resultobj;
6597 wxStaticText *arg1 = (wxStaticText *) 0 ;
6598 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
6599 int arg3 = (int) -1 ;
6600 wxString const &arg4_defvalue = wxPyEmptyString ;
6601 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
6602 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6603 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6604 wxSize const &arg6_defvalue = wxDefaultSize ;
6605 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6606 long arg7 = (long) 0 ;
6607 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
6608 wxString *arg8 = (wxString *) &arg8_defvalue ;
6609 bool result;
ae8162c8 6610 bool temp4 = false ;
d55e5bfc
RD
6611 wxPoint temp5 ;
6612 wxSize temp6 ;
ae8162c8 6613 bool temp8 = false ;
d55e5bfc
RD
6614 PyObject * obj0 = 0 ;
6615 PyObject * obj1 = 0 ;
6616 PyObject * obj2 = 0 ;
6617 PyObject * obj3 = 0 ;
6618 PyObject * obj4 = 0 ;
6619 PyObject * obj5 = 0 ;
6620 PyObject * obj6 = 0 ;
6621 PyObject * obj7 = 0 ;
6622 char *kwnames[] = {
6623 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6624 };
6625
248ed943 6626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticText_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
6627 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticText, SWIG_POINTER_EXCEPTION | 0);
6628 if (SWIG_arg_fail(1)) SWIG_fail;
6629 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6630 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 6631 if (obj2) {
093d3ff1
RD
6632 {
6633 arg3 = (int)(SWIG_As_int(obj2));
6634 if (SWIG_arg_fail(3)) SWIG_fail;
6635 }
248ed943
RD
6636 }
6637 if (obj3) {
6638 {
6639 arg4 = wxString_in_helper(obj3);
6640 if (arg4 == NULL) SWIG_fail;
ae8162c8 6641 temp4 = true;
248ed943 6642 }
d55e5bfc
RD
6643 }
6644 if (obj4) {
6645 {
6646 arg5 = &temp5;
6647 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6648 }
6649 }
6650 if (obj5) {
6651 {
6652 arg6 = &temp6;
6653 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6654 }
6655 }
6656 if (obj6) {
093d3ff1
RD
6657 {
6658 arg7 = (long)(SWIG_As_long(obj6));
6659 if (SWIG_arg_fail(7)) SWIG_fail;
6660 }
d55e5bfc
RD
6661 }
6662 if (obj7) {
6663 {
6664 arg8 = wxString_in_helper(obj7);
6665 if (arg8 == NULL) SWIG_fail;
ae8162c8 6666 temp8 = true;
d55e5bfc
RD
6667 }
6668 }
6669 {
6670 PyThreadState* __tstate = wxPyBeginAllowThreads();
6671 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6672
6673 wxPyEndAllowThreads(__tstate);
6674 if (PyErr_Occurred()) SWIG_fail;
6675 }
6676 {
6677 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6678 }
6679 {
6680 if (temp4)
6681 delete arg4;
6682 }
6683 {
6684 if (temp8)
6685 delete arg8;
6686 }
6687 return resultobj;
6688 fail:
6689 {
6690 if (temp4)
6691 delete arg4;
6692 }
6693 {
6694 if (temp8)
6695 delete arg8;
6696 }
6697 return NULL;
6698}
6699
6700
c32bde28 6701static PyObject *_wrap_StaticText_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 6702 PyObject *resultobj;
093d3ff1 6703 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
6704 wxVisualAttributes result;
6705 PyObject * obj0 = 0 ;
6706 char *kwnames[] = {
6707 (char *) "variant", NULL
6708 };
6709
6710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6711 if (obj0) {
093d3ff1
RD
6712 {
6713 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
6714 if (SWIG_arg_fail(1)) SWIG_fail;
6715 }
f20a2e1f
RD
6716 }
6717 {
19272049 6718 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
6719 PyThreadState* __tstate = wxPyBeginAllowThreads();
6720 result = wxStaticText::GetClassDefaultAttributes((wxWindowVariant )arg1);
6721
6722 wxPyEndAllowThreads(__tstate);
110da5b0 6723 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
6724 }
6725 {
6726 wxVisualAttributes * resultptr;
093d3ff1 6727 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
6728 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6729 }
6730 return resultobj;
6731 fail:
6732 return NULL;
6733}
6734
6735
c32bde28 6736static PyObject * StaticText_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
6737 PyObject *obj;
6738 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6739 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText, obj);
6740 Py_INCREF(obj);
6741 return Py_BuildValue((char *)"");
6742}
c32bde28 6743static PyObject *_wrap_new_StaticBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6744 PyObject *resultobj;
6745 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
6746 int arg2 = (int) -1 ;
6747 wxBitmap const &arg3_defvalue = wxNullBitmap ;
6748 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
d55e5bfc
RD
6749 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6750 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6751 wxSize const &arg5_defvalue = wxDefaultSize ;
6752 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6753 long arg6 = (long) 0 ;
6754 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
6755 wxString *arg7 = (wxString *) &arg7_defvalue ;
6756 wxStaticBitmap *result;
6757 wxPoint temp4 ;
6758 wxSize temp5 ;
ae8162c8 6759 bool temp7 = false ;
d55e5bfc
RD
6760 PyObject * obj0 = 0 ;
6761 PyObject * obj1 = 0 ;
6762 PyObject * obj2 = 0 ;
6763 PyObject * obj3 = 0 ;
6764 PyObject * obj4 = 0 ;
6765 PyObject * obj5 = 0 ;
6766 PyObject * obj6 = 0 ;
6767 char *kwnames[] = {
6768 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6769 };
6770
248ed943 6771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBitmap",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
6772 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6773 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 6774 if (obj1) {
093d3ff1
RD
6775 {
6776 arg2 = (int)(SWIG_As_int(obj1));
6777 if (SWIG_arg_fail(2)) SWIG_fail;
6778 }
248ed943
RD
6779 }
6780 if (obj2) {
093d3ff1
RD
6781 {
6782 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6783 if (SWIG_arg_fail(3)) SWIG_fail;
6784 if (arg3 == NULL) {
6785 SWIG_null_ref("wxBitmap");
6786 }
6787 if (SWIG_arg_fail(3)) SWIG_fail;
248ed943 6788 }
d55e5bfc
RD
6789 }
6790 if (obj3) {
6791 {
6792 arg4 = &temp4;
6793 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6794 }
6795 }
6796 if (obj4) {
6797 {
6798 arg5 = &temp5;
6799 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6800 }
6801 }
6802 if (obj5) {
093d3ff1
RD
6803 {
6804 arg6 = (long)(SWIG_As_long(obj5));
6805 if (SWIG_arg_fail(6)) SWIG_fail;
6806 }
d55e5bfc
RD
6807 }
6808 if (obj6) {
6809 {
6810 arg7 = wxString_in_helper(obj6);
6811 if (arg7 == NULL) SWIG_fail;
ae8162c8 6812 temp7 = true;
d55e5bfc
RD
6813 }
6814 }
6815 {
0439c23b 6816 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6817 PyThreadState* __tstate = wxPyBeginAllowThreads();
6818 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6819
6820 wxPyEndAllowThreads(__tstate);
110da5b0 6821 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6822 }
6823 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
6824 {
6825 if (temp7)
6826 delete arg7;
6827 }
6828 return resultobj;
6829 fail:
6830 {
6831 if (temp7)
6832 delete arg7;
6833 }
6834 return NULL;
6835}
6836
6837
c32bde28 6838static PyObject *_wrap_new_PreStaticBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6839 PyObject *resultobj;
6840 wxStaticBitmap *result;
6841 char *kwnames[] = {
6842 NULL
6843 };
6844
6845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBitmap",kwnames)) goto fail;
6846 {
0439c23b 6847 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6848 PyThreadState* __tstate = wxPyBeginAllowThreads();
6849 result = (wxStaticBitmap *)new wxStaticBitmap();
6850
6851 wxPyEndAllowThreads(__tstate);
110da5b0 6852 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6853 }
6854 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
6855 return resultobj;
6856 fail:
6857 return NULL;
6858}
6859
6860
c32bde28 6861static PyObject *_wrap_StaticBitmap_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6862 PyObject *resultobj;
6863 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
6864 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
6865 int arg3 = (int) -1 ;
6866 wxBitmap const &arg4_defvalue = wxNullBitmap ;
6867 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
d55e5bfc
RD
6868 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6869 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6870 wxSize const &arg6_defvalue = wxDefaultSize ;
6871 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6872 long arg7 = (long) 0 ;
6873 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
6874 wxString *arg8 = (wxString *) &arg8_defvalue ;
6875 bool result;
6876 wxPoint temp5 ;
6877 wxSize temp6 ;
ae8162c8 6878 bool temp8 = false ;
d55e5bfc
RD
6879 PyObject * obj0 = 0 ;
6880 PyObject * obj1 = 0 ;
6881 PyObject * obj2 = 0 ;
6882 PyObject * obj3 = 0 ;
6883 PyObject * obj4 = 0 ;
6884 PyObject * obj5 = 0 ;
6885 PyObject * obj6 = 0 ;
6886 PyObject * obj7 = 0 ;
6887 char *kwnames[] = {
6888 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6889 };
6890
248ed943 6891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
6892 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
6893 if (SWIG_arg_fail(1)) SWIG_fail;
6894 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6895 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 6896 if (obj2) {
093d3ff1
RD
6897 {
6898 arg3 = (int)(SWIG_As_int(obj2));
6899 if (SWIG_arg_fail(3)) SWIG_fail;
6900 }
248ed943
RD
6901 }
6902 if (obj3) {
093d3ff1
RD
6903 {
6904 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6905 if (SWIG_arg_fail(4)) SWIG_fail;
6906 if (arg4 == NULL) {
6907 SWIG_null_ref("wxBitmap");
6908 }
6909 if (SWIG_arg_fail(4)) SWIG_fail;
248ed943 6910 }
d55e5bfc
RD
6911 }
6912 if (obj4) {
6913 {
6914 arg5 = &temp5;
6915 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6916 }
6917 }
6918 if (obj5) {
6919 {
6920 arg6 = &temp6;
6921 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6922 }
6923 }
6924 if (obj6) {
093d3ff1
RD
6925 {
6926 arg7 = (long)(SWIG_As_long(obj6));
6927 if (SWIG_arg_fail(7)) SWIG_fail;
6928 }
d55e5bfc
RD
6929 }
6930 if (obj7) {
6931 {
6932 arg8 = wxString_in_helper(obj7);
6933 if (arg8 == NULL) SWIG_fail;
ae8162c8 6934 temp8 = true;
d55e5bfc
RD
6935 }
6936 }
6937 {
6938 PyThreadState* __tstate = wxPyBeginAllowThreads();
6939 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6940
6941 wxPyEndAllowThreads(__tstate);
6942 if (PyErr_Occurred()) SWIG_fail;
6943 }
6944 {
6945 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6946 }
6947 {
6948 if (temp8)
6949 delete arg8;
6950 }
6951 return resultobj;
6952 fail:
6953 {
6954 if (temp8)
6955 delete arg8;
6956 }
6957 return NULL;
6958}
6959
6960
c32bde28 6961static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6962 PyObject *resultobj;
6963 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
6964 wxBitmap result;
6965 PyObject * obj0 = 0 ;
6966 char *kwnames[] = {
6967 (char *) "self", NULL
6968 };
6969
6970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBitmap_GetBitmap",kwnames,&obj0)) goto fail;
093d3ff1
RD
6971 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
6972 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6973 {
6974 PyThreadState* __tstate = wxPyBeginAllowThreads();
6975 result = (arg1)->GetBitmap();
6976
6977 wxPyEndAllowThreads(__tstate);
6978 if (PyErr_Occurred()) SWIG_fail;
6979 }
6980 {
6981 wxBitmap * resultptr;
093d3ff1 6982 resultptr = new wxBitmap((wxBitmap &)(result));
d55e5bfc
RD
6983 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
6984 }
6985 return resultobj;
6986 fail:
6987 return NULL;
6988}
6989
6990
c32bde28 6991static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6992 PyObject *resultobj;
6993 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
6994 wxBitmap *arg2 = 0 ;
6995 PyObject * obj0 = 0 ;
6996 PyObject * obj1 = 0 ;
6997 char *kwnames[] = {
6998 (char *) "self",(char *) "bitmap", NULL
6999 };
7000
7001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7002 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
7003 if (SWIG_arg_fail(1)) SWIG_fail;
7004 {
7005 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
7006 if (SWIG_arg_fail(2)) SWIG_fail;
7007 if (arg2 == NULL) {
7008 SWIG_null_ref("wxBitmap");
7009 }
7010 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
7011 }
7012 {
7013 PyThreadState* __tstate = wxPyBeginAllowThreads();
7014 (arg1)->SetBitmap((wxBitmap const &)*arg2);
7015
7016 wxPyEndAllowThreads(__tstate);
7017 if (PyErr_Occurred()) SWIG_fail;
7018 }
7019 Py_INCREF(Py_None); resultobj = Py_None;
7020 return resultobj;
7021 fail:
7022 return NULL;
7023}
7024
7025
c32bde28 7026static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7027 PyObject *resultobj;
7028 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
7029 wxIcon *arg2 = 0 ;
7030 PyObject * obj0 = 0 ;
7031 PyObject * obj1 = 0 ;
7032 char *kwnames[] = {
7033 (char *) "self",(char *) "icon", NULL
7034 };
7035
7036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7037 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
7038 if (SWIG_arg_fail(1)) SWIG_fail;
7039 {
7040 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
7041 if (SWIG_arg_fail(2)) SWIG_fail;
7042 if (arg2 == NULL) {
7043 SWIG_null_ref("wxIcon");
7044 }
7045 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
7046 }
7047 {
7048 PyThreadState* __tstate = wxPyBeginAllowThreads();
7049 (arg1)->SetIcon((wxIcon const &)*arg2);
7050
7051 wxPyEndAllowThreads(__tstate);
7052 if (PyErr_Occurred()) SWIG_fail;
7053 }
7054 Py_INCREF(Py_None); resultobj = Py_None;
7055 return resultobj;
7056 fail:
7057 return NULL;
7058}
7059
7060
c32bde28 7061static PyObject *_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 7062 PyObject *resultobj;
093d3ff1 7063 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
7064 wxVisualAttributes result;
7065 PyObject * obj0 = 0 ;
7066 char *kwnames[] = {
7067 (char *) "variant", NULL
7068 };
7069
7070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
7071 if (obj0) {
093d3ff1
RD
7072 {
7073 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
7074 if (SWIG_arg_fail(1)) SWIG_fail;
7075 }
f20a2e1f
RD
7076 }
7077 {
19272049 7078 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
7079 PyThreadState* __tstate = wxPyBeginAllowThreads();
7080 result = wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant )arg1);
7081
7082 wxPyEndAllowThreads(__tstate);
110da5b0 7083 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
7084 }
7085 {
7086 wxVisualAttributes * resultptr;
093d3ff1 7087 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
7088 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
7089 }
7090 return resultobj;
7091 fail:
7092 return NULL;
7093}
7094
7095
c32bde28 7096static PyObject * StaticBitmap_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
7097 PyObject *obj;
7098 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7099 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap, obj);
7100 Py_INCREF(obj);
7101 return Py_BuildValue((char *)"");
7102}
c32bde28 7103static int _wrap_ListBoxNameStr_set(PyObject *) {
d55e5bfc
RD
7104 PyErr_SetString(PyExc_TypeError,"Variable ListBoxNameStr is read-only.");
7105 return 1;
7106}
7107
7108
093d3ff1 7109static PyObject *_wrap_ListBoxNameStr_get(void) {
d55e5bfc
RD
7110 PyObject *pyobj;
7111
7112 {
7113#if wxUSE_UNICODE
7114 pyobj = PyUnicode_FromWideChar((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
7115#else
7116 pyobj = PyString_FromStringAndSize((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
7117#endif
7118 }
7119 return pyobj;
7120}
7121
7122
c32bde28 7123static PyObject *_wrap_new_ListBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7124 PyObject *resultobj;
7125 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 7126 int arg2 = (int) -1 ;
d55e5bfc
RD
7127 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7128 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7129 wxSize const &arg4_defvalue = wxDefaultSize ;
7130 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7131 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
7132 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
7133 long arg6 = (long) 0 ;
7134 wxValidator const &arg7_defvalue = wxDefaultValidator ;
7135 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
7136 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
7137 wxString *arg8 = (wxString *) &arg8_defvalue ;
7138 wxListBox *result;
7139 wxPoint temp3 ;
7140 wxSize temp4 ;
ae8162c8
RD
7141 bool temp5 = false ;
7142 bool temp8 = false ;
d55e5bfc
RD
7143 PyObject * obj0 = 0 ;
7144 PyObject * obj1 = 0 ;
7145 PyObject * obj2 = 0 ;
7146 PyObject * obj3 = 0 ;
7147 PyObject * obj4 = 0 ;
7148 PyObject * obj5 = 0 ;
7149 PyObject * obj6 = 0 ;
7150 PyObject * obj7 = 0 ;
7151 char *kwnames[] = {
7152 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7153 };
7154
248ed943 7155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
7156 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7157 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 7158 if (obj1) {
093d3ff1
RD
7159 {
7160 arg2 = (int)(SWIG_As_int(obj1));
7161 if (SWIG_arg_fail(2)) SWIG_fail;
7162 }
248ed943 7163 }
d55e5bfc
RD
7164 if (obj2) {
7165 {
7166 arg3 = &temp3;
7167 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7168 }
7169 }
7170 if (obj3) {
7171 {
7172 arg4 = &temp4;
7173 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7174 }
7175 }
7176 if (obj4) {
7177 {
7178 if (! PySequence_Check(obj4)) {
7179 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7180 SWIG_fail;
7181 }
7182 arg5 = new wxArrayString;
ae8162c8 7183 temp5 = true;
d55e5bfc
RD
7184 int i, len=PySequence_Length(obj4);
7185 for (i=0; i<len; i++) {
7186 PyObject* item = PySequence_GetItem(obj4, i);
7187#if wxUSE_UNICODE
7188 PyObject* str = PyObject_Unicode(item);
7189#else
7190 PyObject* str = PyObject_Str(item);
7191#endif
7192 if (PyErr_Occurred()) SWIG_fail;
7193 arg5->Add(Py2wxString(str));
7194 Py_DECREF(item);
7195 Py_DECREF(str);
7196 }
7197 }
7198 }
7199 if (obj5) {
093d3ff1
RD
7200 {
7201 arg6 = (long)(SWIG_As_long(obj5));
7202 if (SWIG_arg_fail(6)) SWIG_fail;
7203 }
d55e5bfc
RD
7204 }
7205 if (obj6) {
093d3ff1
RD
7206 {
7207 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
7208 if (SWIG_arg_fail(7)) SWIG_fail;
7209 if (arg7 == NULL) {
7210 SWIG_null_ref("wxValidator");
7211 }
7212 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
7213 }
7214 }
7215 if (obj7) {
7216 {
7217 arg8 = wxString_in_helper(obj7);
7218 if (arg8 == NULL) SWIG_fail;
ae8162c8 7219 temp8 = true;
d55e5bfc
RD
7220 }
7221 }
7222 {
0439c23b 7223 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
7224 PyThreadState* __tstate = wxPyBeginAllowThreads();
7225 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
7226
7227 wxPyEndAllowThreads(__tstate);
110da5b0 7228 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
7229 }
7230 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
7231 {
7232 if (temp5) delete arg5;
7233 }
7234 {
7235 if (temp8)
7236 delete arg8;
7237 }
7238 return resultobj;
7239 fail:
7240 {
7241 if (temp5) delete arg5;
7242 }
7243 {
7244 if (temp8)
7245 delete arg8;
7246 }
7247 return NULL;
7248}
7249
7250
c32bde28 7251static PyObject *_wrap_new_PreListBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7252 PyObject *resultobj;
7253 wxListBox *result;
7254 char *kwnames[] = {
7255 NULL
7256 };
7257
7258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListBox",kwnames)) goto fail;
7259 {
0439c23b 7260 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
7261 PyThreadState* __tstate = wxPyBeginAllowThreads();
7262 result = (wxListBox *)new wxListBox();
7263
7264 wxPyEndAllowThreads(__tstate);
110da5b0 7265 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
7266 }
7267 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
7268 return resultobj;
7269 fail:
7270 return NULL;
7271}
7272
7273
c32bde28 7274static PyObject *_wrap_ListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7275 PyObject *resultobj;
7276 wxListBox *arg1 = (wxListBox *) 0 ;
7277 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 7278 int arg3 = (int) -1 ;
d55e5bfc
RD
7279 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7280 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7281 wxSize const &arg5_defvalue = wxDefaultSize ;
7282 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7283 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
7284 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
7285 long arg7 = (long) 0 ;
7286 wxValidator const &arg8_defvalue = wxDefaultValidator ;
7287 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
7288 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
7289 wxString *arg9 = (wxString *) &arg9_defvalue ;
7290 bool result;
7291 wxPoint temp4 ;
7292 wxSize temp5 ;
ae8162c8
RD
7293 bool temp6 = false ;
7294 bool temp9 = false ;
d55e5bfc
RD
7295 PyObject * obj0 = 0 ;
7296 PyObject * obj1 = 0 ;
7297 PyObject * obj2 = 0 ;
7298 PyObject * obj3 = 0 ;
7299 PyObject * obj4 = 0 ;
7300 PyObject * obj5 = 0 ;
7301 PyObject * obj6 = 0 ;
7302 PyObject * obj7 = 0 ;
7303 PyObject * obj8 = 0 ;
7304 char *kwnames[] = {
7305 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7306 };
7307
248ed943 7308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
7309 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7310 if (SWIG_arg_fail(1)) SWIG_fail;
7311 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7312 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 7313 if (obj2) {
093d3ff1
RD
7314 {
7315 arg3 = (int)(SWIG_As_int(obj2));
7316 if (SWIG_arg_fail(3)) SWIG_fail;
7317 }
248ed943 7318 }
d55e5bfc
RD
7319 if (obj3) {
7320 {
7321 arg4 = &temp4;
7322 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7323 }
7324 }
7325 if (obj4) {
7326 {
7327 arg5 = &temp5;
7328 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7329 }
7330 }
7331 if (obj5) {
7332 {
7333 if (! PySequence_Check(obj5)) {
7334 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7335 SWIG_fail;
7336 }
7337 arg6 = new wxArrayString;
ae8162c8 7338 temp6 = true;
d55e5bfc
RD
7339 int i, len=PySequence_Length(obj5);
7340 for (i=0; i<len; i++) {
7341 PyObject* item = PySequence_GetItem(obj5, i);
7342#if wxUSE_UNICODE
7343 PyObject* str = PyObject_Unicode(item);
7344#else
7345 PyObject* str = PyObject_Str(item);
7346#endif
7347 if (PyErr_Occurred()) SWIG_fail;
7348 arg6->Add(Py2wxString(str));
7349 Py_DECREF(item);
7350 Py_DECREF(str);
7351 }
7352 }
7353 }
7354 if (obj6) {
093d3ff1
RD
7355 {
7356 arg7 = (long)(SWIG_As_long(obj6));
7357 if (SWIG_arg_fail(7)) SWIG_fail;
7358 }
d55e5bfc
RD
7359 }
7360 if (obj7) {
093d3ff1
RD
7361 {
7362 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
7363 if (SWIG_arg_fail(8)) SWIG_fail;
7364 if (arg8 == NULL) {
7365 SWIG_null_ref("wxValidator");
7366 }
7367 if (SWIG_arg_fail(8)) SWIG_fail;
d55e5bfc
RD
7368 }
7369 }
7370 if (obj8) {
7371 {
7372 arg9 = wxString_in_helper(obj8);
7373 if (arg9 == NULL) SWIG_fail;
ae8162c8 7374 temp9 = true;
d55e5bfc
RD
7375 }
7376 }
7377 {
7378 PyThreadState* __tstate = wxPyBeginAllowThreads();
7379 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
7380
7381 wxPyEndAllowThreads(__tstate);
7382 if (PyErr_Occurred()) SWIG_fail;
7383 }
7384 {
7385 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7386 }
7387 {
7388 if (temp6) delete arg6;
7389 }
7390 {
7391 if (temp9)
7392 delete arg9;
7393 }
7394 return resultobj;
7395 fail:
7396 {
7397 if (temp6) delete arg6;
7398 }
7399 {
7400 if (temp9)
7401 delete arg9;
7402 }
7403 return NULL;
7404}
7405
7406
c32bde28 7407static PyObject *_wrap_ListBox_Insert(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7408 PyObject *resultobj;
7409 wxListBox *arg1 = (wxListBox *) 0 ;
7410 wxString *arg2 = 0 ;
7411 int arg3 ;
7412 PyObject *arg4 = (PyObject *) NULL ;
ae8162c8 7413 bool temp2 = false ;
d55e5bfc
RD
7414 PyObject * obj0 = 0 ;
7415 PyObject * obj1 = 0 ;
7416 PyObject * obj2 = 0 ;
7417 PyObject * obj3 = 0 ;
7418 char *kwnames[] = {
7419 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
7420 };
7421
7422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListBox_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
7423 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7424 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7425 {
7426 arg2 = wxString_in_helper(obj1);
7427 if (arg2 == NULL) SWIG_fail;
ae8162c8 7428 temp2 = true;
d55e5bfc 7429 }
093d3ff1
RD
7430 {
7431 arg3 = (int)(SWIG_As_int(obj2));
7432 if (SWIG_arg_fail(3)) SWIG_fail;
7433 }
d55e5bfc
RD
7434 if (obj3) {
7435 arg4 = obj3;
7436 }
7437 {
7438 PyThreadState* __tstate = wxPyBeginAllowThreads();
7439 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
7440
7441 wxPyEndAllowThreads(__tstate);
7442 if (PyErr_Occurred()) SWIG_fail;
7443 }
7444 Py_INCREF(Py_None); resultobj = Py_None;
7445 {
7446 if (temp2)
7447 delete arg2;
7448 }
7449 return resultobj;
7450 fail:
7451 {
7452 if (temp2)
7453 delete arg2;
7454 }
7455 return NULL;
7456}
7457
7458
c32bde28 7459static PyObject *_wrap_ListBox_InsertItems(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7460 PyObject *resultobj;
7461 wxListBox *arg1 = (wxListBox *) 0 ;
7462 wxArrayString *arg2 = 0 ;
7463 int arg3 ;
ae8162c8 7464 bool temp2 = false ;
d55e5bfc
RD
7465 PyObject * obj0 = 0 ;
7466 PyObject * obj1 = 0 ;
7467 PyObject * obj2 = 0 ;
7468 char *kwnames[] = {
7469 (char *) "self",(char *) "items",(char *) "pos", NULL
7470 };
7471
7472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_InsertItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
7473 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7474 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7475 {
7476 if (! PySequence_Check(obj1)) {
7477 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7478 SWIG_fail;
7479 }
7480 arg2 = new wxArrayString;
ae8162c8 7481 temp2 = true;
d55e5bfc
RD
7482 int i, len=PySequence_Length(obj1);
7483 for (i=0; i<len; i++) {
7484 PyObject* item = PySequence_GetItem(obj1, i);
7485#if wxUSE_UNICODE
7486 PyObject* str = PyObject_Unicode(item);
7487#else
7488 PyObject* str = PyObject_Str(item);
7489#endif
7490 if (PyErr_Occurred()) SWIG_fail;
7491 arg2->Add(Py2wxString(str));
7492 Py_DECREF(item);
7493 Py_DECREF(str);
7494 }
7495 }
093d3ff1
RD
7496 {
7497 arg3 = (int)(SWIG_As_int(obj2));
7498 if (SWIG_arg_fail(3)) SWIG_fail;
7499 }
d55e5bfc
RD
7500 {
7501 PyThreadState* __tstate = wxPyBeginAllowThreads();
7502 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
7503
7504 wxPyEndAllowThreads(__tstate);
7505 if (PyErr_Occurred()) SWIG_fail;
7506 }
7507 Py_INCREF(Py_None); resultobj = Py_None;
7508 {
7509 if (temp2) delete arg2;
7510 }
7511 return resultobj;
7512 fail:
7513 {
7514 if (temp2) delete arg2;
7515 }
7516 return NULL;
7517}
7518
7519
c32bde28 7520static PyObject *_wrap_ListBox_Set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7521 PyObject *resultobj;
7522 wxListBox *arg1 = (wxListBox *) 0 ;
7523 wxArrayString *arg2 = 0 ;
ae8162c8 7524 bool temp2 = false ;
d55e5bfc
RD
7525 PyObject * obj0 = 0 ;
7526 PyObject * obj1 = 0 ;
7527 char *kwnames[] = {
7528 (char *) "self",(char *) "items", NULL
7529 };
7530
7531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) 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 if (! PySequence_Check(obj1)) {
7536 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7537 SWIG_fail;
7538 }
7539 arg2 = new wxArrayString;
ae8162c8 7540 temp2 = true;
d55e5bfc
RD
7541 int i, len=PySequence_Length(obj1);
7542 for (i=0; i<len; i++) {
7543 PyObject* item = PySequence_GetItem(obj1, i);
7544#if wxUSE_UNICODE
7545 PyObject* str = PyObject_Unicode(item);
7546#else
7547 PyObject* str = PyObject_Str(item);
7548#endif
7549 if (PyErr_Occurred()) SWIG_fail;
7550 arg2->Add(Py2wxString(str));
7551 Py_DECREF(item);
7552 Py_DECREF(str);
7553 }
7554 }
7555 {
7556 PyThreadState* __tstate = wxPyBeginAllowThreads();
7557 (arg1)->Set((wxArrayString const &)*arg2);
7558
7559 wxPyEndAllowThreads(__tstate);
7560 if (PyErr_Occurred()) SWIG_fail;
7561 }
7562 Py_INCREF(Py_None); resultobj = Py_None;
7563 {
7564 if (temp2) delete arg2;
7565 }
7566 return resultobj;
7567 fail:
7568 {
7569 if (temp2) delete arg2;
7570 }
7571 return NULL;
7572}
7573
7574
c32bde28 7575static PyObject *_wrap_ListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7576 PyObject *resultobj;
7577 wxListBox *arg1 = (wxListBox *) 0 ;
7578 int arg2 ;
7579 bool result;
7580 PyObject * obj0 = 0 ;
7581 PyObject * obj1 = 0 ;
7582 char *kwnames[] = {
7583 (char *) "self",(char *) "n", NULL
7584 };
7585
7586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7587 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7588 if (SWIG_arg_fail(1)) SWIG_fail;
7589 {
7590 arg2 = (int)(SWIG_As_int(obj1));
7591 if (SWIG_arg_fail(2)) SWIG_fail;
7592 }
d55e5bfc
RD
7593 {
7594 PyThreadState* __tstate = wxPyBeginAllowThreads();
7595 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
7596
7597 wxPyEndAllowThreads(__tstate);
7598 if (PyErr_Occurred()) SWIG_fail;
7599 }
7600 {
7601 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7602 }
7603 return resultobj;
7604 fail:
7605 return NULL;
7606}
7607
7608
c32bde28 7609static PyObject *_wrap_ListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7610 PyObject *resultobj;
7611 wxListBox *arg1 = (wxListBox *) 0 ;
7612 int arg2 ;
ae8162c8 7613 bool arg3 = (bool) true ;
d55e5bfc
RD
7614 PyObject * obj0 = 0 ;
7615 PyObject * obj1 = 0 ;
7616 PyObject * obj2 = 0 ;
7617 char *kwnames[] = {
7618 (char *) "self",(char *) "n",(char *) "select", NULL
7619 };
7620
7621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
7622 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7623 if (SWIG_arg_fail(1)) SWIG_fail;
7624 {
7625 arg2 = (int)(SWIG_As_int(obj1));
7626 if (SWIG_arg_fail(2)) SWIG_fail;
7627 }
d55e5bfc 7628 if (obj2) {
093d3ff1
RD
7629 {
7630 arg3 = (bool)(SWIG_As_bool(obj2));
7631 if (SWIG_arg_fail(3)) SWIG_fail;
7632 }
d55e5bfc
RD
7633 }
7634 {
7635 PyThreadState* __tstate = wxPyBeginAllowThreads();
7636 (arg1)->SetSelection(arg2,arg3);
7637
7638 wxPyEndAllowThreads(__tstate);
7639 if (PyErr_Occurred()) SWIG_fail;
7640 }
7641 Py_INCREF(Py_None); resultobj = Py_None;
7642 return resultobj;
7643 fail:
7644 return NULL;
7645}
7646
7647
c32bde28 7648static PyObject *_wrap_ListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7649 PyObject *resultobj;
7650 wxListBox *arg1 = (wxListBox *) 0 ;
7651 int arg2 ;
7652 PyObject * obj0 = 0 ;
7653 PyObject * obj1 = 0 ;
7654 char *kwnames[] = {
7655 (char *) "self",(char *) "n", NULL
7656 };
7657
7658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Select",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7659 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7660 if (SWIG_arg_fail(1)) SWIG_fail;
7661 {
7662 arg2 = (int)(SWIG_As_int(obj1));
7663 if (SWIG_arg_fail(2)) SWIG_fail;
7664 }
d55e5bfc
RD
7665 {
7666 PyThreadState* __tstate = wxPyBeginAllowThreads();
7667 (arg1)->Select(arg2);
7668
7669 wxPyEndAllowThreads(__tstate);
7670 if (PyErr_Occurred()) SWIG_fail;
7671 }
7672 Py_INCREF(Py_None); resultobj = Py_None;
7673 return resultobj;
7674 fail:
7675 return NULL;
7676}
7677
7678
c32bde28 7679static PyObject *_wrap_ListBox_Deselect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7680 PyObject *resultobj;
7681 wxListBox *arg1 = (wxListBox *) 0 ;
7682 int arg2 ;
7683 PyObject * obj0 = 0 ;
7684 PyObject * obj1 = 0 ;
7685 char *kwnames[] = {
7686 (char *) "self",(char *) "n", NULL
7687 };
7688
7689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Deselect",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7690 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7691 if (SWIG_arg_fail(1)) SWIG_fail;
7692 {
7693 arg2 = (int)(SWIG_As_int(obj1));
7694 if (SWIG_arg_fail(2)) SWIG_fail;
7695 }
d55e5bfc
RD
7696 {
7697 PyThreadState* __tstate = wxPyBeginAllowThreads();
7698 (arg1)->Deselect(arg2);
7699
7700 wxPyEndAllowThreads(__tstate);
7701 if (PyErr_Occurred()) SWIG_fail;
7702 }
7703 Py_INCREF(Py_None); resultobj = Py_None;
7704 return resultobj;
7705 fail:
7706 return NULL;
7707}
7708
7709
c32bde28 7710static PyObject *_wrap_ListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7711 PyObject *resultobj;
7712 wxListBox *arg1 = (wxListBox *) 0 ;
7713 int arg2 = (int) -1 ;
7714 PyObject * obj0 = 0 ;
7715 PyObject * obj1 = 0 ;
7716 char *kwnames[] = {
7717 (char *) "self",(char *) "itemToLeaveSelected", NULL
7718 };
7719
7720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListBox_DeselectAll",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7721 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7722 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 7723 if (obj1) {
093d3ff1
RD
7724 {
7725 arg2 = (int)(SWIG_As_int(obj1));
7726 if (SWIG_arg_fail(2)) SWIG_fail;
7727 }
d55e5bfc
RD
7728 }
7729 {
7730 PyThreadState* __tstate = wxPyBeginAllowThreads();
7731 (arg1)->DeselectAll(arg2);
7732
7733 wxPyEndAllowThreads(__tstate);
7734 if (PyErr_Occurred()) SWIG_fail;
7735 }
7736 Py_INCREF(Py_None); resultobj = Py_None;
7737 return resultobj;
7738 fail:
7739 return NULL;
7740}
7741
7742
c32bde28 7743static PyObject *_wrap_ListBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7744 PyObject *resultobj;
7745 wxListBox *arg1 = (wxListBox *) 0 ;
7746 wxString *arg2 = 0 ;
ae8162c8 7747 bool arg3 = (bool) true ;
d55e5bfc 7748 bool result;
ae8162c8 7749 bool temp2 = false ;
d55e5bfc
RD
7750 PyObject * obj0 = 0 ;
7751 PyObject * obj1 = 0 ;
7752 PyObject * obj2 = 0 ;
7753 char *kwnames[] = {
7754 (char *) "self",(char *) "s",(char *) "select", NULL
7755 };
7756
7757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
7758 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7759 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7760 {
7761 arg2 = wxString_in_helper(obj1);
7762 if (arg2 == NULL) SWIG_fail;
ae8162c8 7763 temp2 = true;
d55e5bfc
RD
7764 }
7765 if (obj2) {
093d3ff1
RD
7766 {
7767 arg3 = (bool)(SWIG_As_bool(obj2));
7768 if (SWIG_arg_fail(3)) SWIG_fail;
7769 }
d55e5bfc
RD
7770 }
7771 {
7772 PyThreadState* __tstate = wxPyBeginAllowThreads();
7773 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
7774
7775 wxPyEndAllowThreads(__tstate);
7776 if (PyErr_Occurred()) SWIG_fail;
7777 }
7778 {
7779 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7780 }
7781 {
7782 if (temp2)
7783 delete arg2;
7784 }
7785 return resultobj;
7786 fail:
7787 {
7788 if (temp2)
7789 delete arg2;
7790 }
7791 return NULL;
7792}
7793
7794
c32bde28 7795static PyObject *_wrap_ListBox_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7796 PyObject *resultobj;
7797 wxListBox *arg1 = (wxListBox *) 0 ;
7798 PyObject *result;
7799 PyObject * obj0 = 0 ;
7800 char *kwnames[] = {
7801 (char *) "self", NULL
7802 };
7803
7804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_GetSelections",kwnames,&obj0)) goto fail;
093d3ff1
RD
7805 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7806 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7807 {
7808 PyThreadState* __tstate = wxPyBeginAllowThreads();
7809 result = (PyObject *)wxListBox_GetSelections(arg1);
7810
7811 wxPyEndAllowThreads(__tstate);
7812 if (PyErr_Occurred()) SWIG_fail;
7813 }
7814 resultobj = result;
7815 return resultobj;
7816 fail:
7817 return NULL;
7818}
7819
7820
c32bde28 7821static PyObject *_wrap_ListBox_SetFirstItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7822 PyObject *resultobj;
7823 wxListBox *arg1 = (wxListBox *) 0 ;
7824 int arg2 ;
7825 PyObject * obj0 = 0 ;
7826 PyObject * obj1 = 0 ;
7827 char *kwnames[] = {
7828 (char *) "self",(char *) "n", NULL
7829 };
7830
7831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7832 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7833 if (SWIG_arg_fail(1)) SWIG_fail;
7834 {
7835 arg2 = (int)(SWIG_As_int(obj1));
7836 if (SWIG_arg_fail(2)) SWIG_fail;
7837 }
d55e5bfc
RD
7838 {
7839 PyThreadState* __tstate = wxPyBeginAllowThreads();
7840 (arg1)->SetFirstItem(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_SetFirstItemStr(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7853 PyObject *resultobj;
7854 wxListBox *arg1 = (wxListBox *) 0 ;
7855 wxString *arg2 = 0 ;
ae8162c8 7856 bool temp2 = false ;
d55e5bfc
RD
7857 PyObject * obj0 = 0 ;
7858 PyObject * obj1 = 0 ;
7859 char *kwnames[] = {
7860 (char *) "self",(char *) "s", NULL
7861 };
7862
7863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7864 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7865 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7866 {
7867 arg2 = wxString_in_helper(obj1);
7868 if (arg2 == NULL) SWIG_fail;
ae8162c8 7869 temp2 = true;
d55e5bfc
RD
7870 }
7871 {
7872 PyThreadState* __tstate = wxPyBeginAllowThreads();
7873 (arg1)->SetFirstItem((wxString const &)*arg2);
7874
7875 wxPyEndAllowThreads(__tstate);
7876 if (PyErr_Occurred()) SWIG_fail;
7877 }
7878 Py_INCREF(Py_None); resultobj = Py_None;
7879 {
7880 if (temp2)
7881 delete arg2;
7882 }
7883 return resultobj;
7884 fail:
7885 {
7886 if (temp2)
7887 delete arg2;
7888 }
7889 return NULL;
7890}
7891
7892
c32bde28 7893static PyObject *_wrap_ListBox_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7894 PyObject *resultobj;
7895 wxListBox *arg1 = (wxListBox *) 0 ;
7896 int arg2 ;
7897 PyObject * obj0 = 0 ;
7898 PyObject * obj1 = 0 ;
7899 char *kwnames[] = {
7900 (char *) "self",(char *) "n", NULL
7901 };
7902
7903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7904 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7905 if (SWIG_arg_fail(1)) SWIG_fail;
7906 {
7907 arg2 = (int)(SWIG_As_int(obj1));
7908 if (SWIG_arg_fail(2)) SWIG_fail;
7909 }
d55e5bfc
RD
7910 {
7911 PyThreadState* __tstate = wxPyBeginAllowThreads();
7912 (arg1)->EnsureVisible(arg2);
7913
7914 wxPyEndAllowThreads(__tstate);
7915 if (PyErr_Occurred()) SWIG_fail;
7916 }
7917 Py_INCREF(Py_None); resultobj = Py_None;
7918 return resultobj;
7919 fail:
7920 return NULL;
7921}
7922
7923
c32bde28 7924static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7925 PyObject *resultobj;
7926 wxListBox *arg1 = (wxListBox *) 0 ;
7927 wxString *arg2 = 0 ;
ae8162c8 7928 bool temp2 = false ;
d55e5bfc
RD
7929 PyObject * obj0 = 0 ;
7930 PyObject * obj1 = 0 ;
7931 char *kwnames[] = {
7932 (char *) "self",(char *) "s", NULL
7933 };
7934
7935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7936 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7937 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7938 {
7939 arg2 = wxString_in_helper(obj1);
7940 if (arg2 == NULL) SWIG_fail;
ae8162c8 7941 temp2 = true;
d55e5bfc
RD
7942 }
7943 {
7944 PyThreadState* __tstate = wxPyBeginAllowThreads();
7945 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
7946
7947 wxPyEndAllowThreads(__tstate);
7948 if (PyErr_Occurred()) SWIG_fail;
7949 }
7950 Py_INCREF(Py_None); resultobj = Py_None;
7951 {
7952 if (temp2)
7953 delete arg2;
7954 }
7955 return resultobj;
7956 fail:
7957 {
7958 if (temp2)
7959 delete arg2;
7960 }
7961 return NULL;
7962}
7963
7964
c32bde28 7965static PyObject *_wrap_ListBox_IsSorted(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7966 PyObject *resultobj;
7967 wxListBox *arg1 = (wxListBox *) 0 ;
7968 bool result;
7969 PyObject * obj0 = 0 ;
7970 char *kwnames[] = {
7971 (char *) "self", NULL
7972 };
7973
7974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_IsSorted",kwnames,&obj0)) goto fail;
093d3ff1
RD
7975 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7976 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7977 {
7978 PyThreadState* __tstate = wxPyBeginAllowThreads();
7979 result = (bool)((wxListBox const *)arg1)->IsSorted();
7980
7981 wxPyEndAllowThreads(__tstate);
7982 if (PyErr_Occurred()) SWIG_fail;
7983 }
7984 {
7985 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7986 }
7987 return resultobj;
7988 fail:
7989 return NULL;
7990}
7991
7992
c32bde28 7993static PyObject *_wrap_ListBox_SetItemForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7994 PyObject *resultobj;
7995 wxListBox *arg1 = (wxListBox *) 0 ;
7996 int arg2 ;
7997 wxColour *arg3 = 0 ;
7998 wxColour temp3 ;
7999 PyObject * obj0 = 0 ;
8000 PyObject * obj1 = 0 ;
8001 PyObject * obj2 = 0 ;
8002 char *kwnames[] = {
8003 (char *) "self",(char *) "item",(char *) "c", NULL
8004 };
8005
8006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8007 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8008 if (SWIG_arg_fail(1)) SWIG_fail;
8009 {
8010 arg2 = (int)(SWIG_As_int(obj1));
8011 if (SWIG_arg_fail(2)) SWIG_fail;
8012 }
d55e5bfc
RD
8013 {
8014 arg3 = &temp3;
8015 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
8016 }
8017 {
8018 PyThreadState* __tstate = wxPyBeginAllowThreads();
8019 wxListBox_SetItemForegroundColour(arg1,arg2,(wxColour const &)*arg3);
8020
8021 wxPyEndAllowThreads(__tstate);
8022 if (PyErr_Occurred()) SWIG_fail;
8023 }
8024 Py_INCREF(Py_None); resultobj = Py_None;
8025 return resultobj;
8026 fail:
8027 return NULL;
8028}
8029
8030
c32bde28 8031static PyObject *_wrap_ListBox_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8032 PyObject *resultobj;
8033 wxListBox *arg1 = (wxListBox *) 0 ;
8034 int arg2 ;
8035 wxColour *arg3 = 0 ;
8036 wxColour temp3 ;
8037 PyObject * obj0 = 0 ;
8038 PyObject * obj1 = 0 ;
8039 PyObject * obj2 = 0 ;
8040 char *kwnames[] = {
8041 (char *) "self",(char *) "item",(char *) "c", NULL
8042 };
8043
8044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) 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;
8047 {
8048 arg2 = (int)(SWIG_As_int(obj1));
8049 if (SWIG_arg_fail(2)) SWIG_fail;
8050 }
d55e5bfc
RD
8051 {
8052 arg3 = &temp3;
8053 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
8054 }
8055 {
8056 PyThreadState* __tstate = wxPyBeginAllowThreads();
8057 wxListBox_SetItemBackgroundColour(arg1,arg2,(wxColour const &)*arg3);
8058
8059 wxPyEndAllowThreads(__tstate);
8060 if (PyErr_Occurred()) SWIG_fail;
8061 }
8062 Py_INCREF(Py_None); resultobj = Py_None;
8063 return resultobj;
8064 fail:
8065 return NULL;
8066}
8067
8068
c32bde28 8069static PyObject *_wrap_ListBox_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8070 PyObject *resultobj;
8071 wxListBox *arg1 = (wxListBox *) 0 ;
8072 int arg2 ;
8073 wxFont *arg3 = 0 ;
8074 PyObject * obj0 = 0 ;
8075 PyObject * obj1 = 0 ;
8076 PyObject * obj2 = 0 ;
8077 char *kwnames[] = {
8078 (char *) "self",(char *) "item",(char *) "f", NULL
8079 };
8080
8081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8082 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8083 if (SWIG_arg_fail(1)) SWIG_fail;
8084 {
8085 arg2 = (int)(SWIG_As_int(obj1));
8086 if (SWIG_arg_fail(2)) SWIG_fail;
8087 }
8088 {
8089 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
8090 if (SWIG_arg_fail(3)) SWIG_fail;
8091 if (arg3 == NULL) {
8092 SWIG_null_ref("wxFont");
8093 }
8094 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
8095 }
8096 {
8097 PyThreadState* __tstate = wxPyBeginAllowThreads();
8098 wxListBox_SetItemFont(arg1,arg2,(wxFont const &)*arg3);
8099
8100 wxPyEndAllowThreads(__tstate);
8101 if (PyErr_Occurred()) SWIG_fail;
8102 }
8103 Py_INCREF(Py_None); resultobj = Py_None;
8104 return resultobj;
8105 fail:
8106 return NULL;
8107}
8108
8109
c32bde28 8110static PyObject *_wrap_ListBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 8111 PyObject *resultobj;
093d3ff1 8112 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
d55e5bfc
RD
8113 wxVisualAttributes result;
8114 PyObject * obj0 = 0 ;
8115 char *kwnames[] = {
8116 (char *) "variant", NULL
8117 };
8118
8119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
8120 if (obj0) {
093d3ff1
RD
8121 {
8122 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
8123 if (SWIG_arg_fail(1)) SWIG_fail;
8124 }
d55e5bfc
RD
8125 }
8126 {
19272049 8127 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
8128 PyThreadState* __tstate = wxPyBeginAllowThreads();
8129 result = wxListBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
8130
8131 wxPyEndAllowThreads(__tstate);
110da5b0 8132 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
8133 }
8134 {
8135 wxVisualAttributes * resultptr;
093d3ff1 8136 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
d55e5bfc
RD
8137 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
8138 }
8139 return resultobj;
8140 fail:
8141 return NULL;
8142}
8143
8144
c32bde28 8145static PyObject * ListBox_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
8146 PyObject *obj;
8147 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8148 SWIG_TypeClientData(SWIGTYPE_p_wxListBox, obj);
8149 Py_INCREF(obj);
8150 return Py_BuildValue((char *)"");
8151}
c32bde28 8152static PyObject *_wrap_new_CheckListBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8153 PyObject *resultobj;
8154 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 8155 int arg2 = (int) -1 ;
d55e5bfc
RD
8156 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8157 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8158 wxSize const &arg4_defvalue = wxDefaultSize ;
8159 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8160 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
8161 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
8162 long arg6 = (long) 0 ;
8163 wxValidator const &arg7_defvalue = wxDefaultValidator ;
8164 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
8165 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
8166 wxString *arg8 = (wxString *) &arg8_defvalue ;
8167 wxCheckListBox *result;
8168 wxPoint temp3 ;
8169 wxSize temp4 ;
ae8162c8
RD
8170 bool temp5 = false ;
8171 bool temp8 = false ;
d55e5bfc
RD
8172 PyObject * obj0 = 0 ;
8173 PyObject * obj1 = 0 ;
8174 PyObject * obj2 = 0 ;
8175 PyObject * obj3 = 0 ;
8176 PyObject * obj4 = 0 ;
8177 PyObject * obj5 = 0 ;
8178 PyObject * obj6 = 0 ;
8179 PyObject * obj7 = 0 ;
8180 char *kwnames[] = {
8181 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8182 };
8183
248ed943 8184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
8185 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8186 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 8187 if (obj1) {
093d3ff1
RD
8188 {
8189 arg2 = (int)(SWIG_As_int(obj1));
8190 if (SWIG_arg_fail(2)) SWIG_fail;
8191 }
248ed943 8192 }
d55e5bfc
RD
8193 if (obj2) {
8194 {
8195 arg3 = &temp3;
8196 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8197 }
8198 }
8199 if (obj3) {
8200 {
8201 arg4 = &temp4;
8202 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8203 }
8204 }
8205 if (obj4) {
8206 {
8207 if (! PySequence_Check(obj4)) {
8208 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
8209 SWIG_fail;
8210 }
8211 arg5 = new wxArrayString;
ae8162c8 8212 temp5 = true;
d55e5bfc
RD
8213 int i, len=PySequence_Length(obj4);
8214 for (i=0; i<len; i++) {
8215 PyObject* item = PySequence_GetItem(obj4, i);
8216#if wxUSE_UNICODE
8217 PyObject* str = PyObject_Unicode(item);
8218#else
8219 PyObject* str = PyObject_Str(item);
8220#endif
8221 if (PyErr_Occurred()) SWIG_fail;
8222 arg5->Add(Py2wxString(str));
8223 Py_DECREF(item);
8224 Py_DECREF(str);
8225 }
8226 }
8227 }
8228 if (obj5) {
093d3ff1
RD
8229 {
8230 arg6 = (long)(SWIG_As_long(obj5));
8231 if (SWIG_arg_fail(6)) SWIG_fail;
8232 }
d55e5bfc
RD
8233 }
8234 if (obj6) {
093d3ff1
RD
8235 {
8236 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
8237 if (SWIG_arg_fail(7)) SWIG_fail;
8238 if (arg7 == NULL) {
8239 SWIG_null_ref("wxValidator");
8240 }
8241 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
8242 }
8243 }
8244 if (obj7) {
8245 {
8246 arg8 = wxString_in_helper(obj7);
8247 if (arg8 == NULL) SWIG_fail;
ae8162c8 8248 temp8 = true;
d55e5bfc
RD
8249 }
8250 }
8251 {
0439c23b 8252 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
8253 PyThreadState* __tstate = wxPyBeginAllowThreads();
8254 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
8255
8256 wxPyEndAllowThreads(__tstate);
110da5b0 8257 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
8258 }
8259 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
8260 {
8261 if (temp5) delete arg5;
8262 }
8263 {
8264 if (temp8)
8265 delete arg8;
8266 }
8267 return resultobj;
8268 fail:
8269 {
8270 if (temp5) delete arg5;
8271 }
8272 {
8273 if (temp8)
8274 delete arg8;
8275 }
8276 return NULL;
8277}
8278
8279
c32bde28 8280static PyObject *_wrap_new_PreCheckListBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8281 PyObject *resultobj;
8282 wxCheckListBox *result;
8283 char *kwnames[] = {
8284 NULL
8285 };
8286
8287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckListBox",kwnames)) goto fail;
8288 {
0439c23b 8289 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
8290 PyThreadState* __tstate = wxPyBeginAllowThreads();
8291 result = (wxCheckListBox *)new wxCheckListBox();
8292
8293 wxPyEndAllowThreads(__tstate);
110da5b0 8294 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
8295 }
8296 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
8297 return resultobj;
8298 fail:
8299 return NULL;
8300}
8301
8302
c32bde28 8303static PyObject *_wrap_CheckListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8304 PyObject *resultobj;
8305 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8306 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 8307 int arg3 = (int) -1 ;
d55e5bfc
RD
8308 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8309 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8310 wxSize const &arg5_defvalue = wxDefaultSize ;
8311 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8312 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
8313 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
8314 long arg7 = (long) 0 ;
8315 wxValidator const &arg8_defvalue = wxDefaultValidator ;
8316 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
8317 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
8318 wxString *arg9 = (wxString *) &arg9_defvalue ;
8319 bool result;
8320 wxPoint temp4 ;
8321 wxSize temp5 ;
ae8162c8
RD
8322 bool temp6 = false ;
8323 bool temp9 = false ;
d55e5bfc
RD
8324 PyObject * obj0 = 0 ;
8325 PyObject * obj1 = 0 ;
8326 PyObject * obj2 = 0 ;
8327 PyObject * obj3 = 0 ;
8328 PyObject * obj4 = 0 ;
8329 PyObject * obj5 = 0 ;
8330 PyObject * obj6 = 0 ;
8331 PyObject * obj7 = 0 ;
8332 PyObject * obj8 = 0 ;
8333 char *kwnames[] = {
8334 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8335 };
8336
248ed943 8337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
8338 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8339 if (SWIG_arg_fail(1)) SWIG_fail;
8340 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8341 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 8342 if (obj2) {
093d3ff1
RD
8343 {
8344 arg3 = (int)(SWIG_As_int(obj2));
8345 if (SWIG_arg_fail(3)) SWIG_fail;
8346 }
248ed943 8347 }
d55e5bfc
RD
8348 if (obj3) {
8349 {
8350 arg4 = &temp4;
8351 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8352 }
8353 }
8354 if (obj4) {
8355 {
8356 arg5 = &temp5;
8357 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8358 }
8359 }
8360 if (obj5) {
8361 {
8362 if (! PySequence_Check(obj5)) {
8363 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
8364 SWIG_fail;
8365 }
8366 arg6 = new wxArrayString;
ae8162c8 8367 temp6 = true;
d55e5bfc
RD
8368 int i, len=PySequence_Length(obj5);
8369 for (i=0; i<len; i++) {
8370 PyObject* item = PySequence_GetItem(obj5, i);
8371#if wxUSE_UNICODE
8372 PyObject* str = PyObject_Unicode(item);
8373#else
8374 PyObject* str = PyObject_Str(item);
8375#endif
8376 if (PyErr_Occurred()) SWIG_fail;
8377 arg6->Add(Py2wxString(str));
8378 Py_DECREF(item);
8379 Py_DECREF(str);
8380 }
8381 }
8382 }
8383 if (obj6) {
093d3ff1
RD
8384 {
8385 arg7 = (long)(SWIG_As_long(obj6));
8386 if (SWIG_arg_fail(7)) SWIG_fail;
8387 }
d55e5bfc
RD
8388 }
8389 if (obj7) {
093d3ff1
RD
8390 {
8391 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
8392 if (SWIG_arg_fail(8)) SWIG_fail;
8393 if (arg8 == NULL) {
8394 SWIG_null_ref("wxValidator");
8395 }
8396 if (SWIG_arg_fail(8)) SWIG_fail;
d55e5bfc
RD
8397 }
8398 }
8399 if (obj8) {
8400 {
8401 arg9 = wxString_in_helper(obj8);
8402 if (arg9 == NULL) SWIG_fail;
ae8162c8 8403 temp9 = true;
d55e5bfc
RD
8404 }
8405 }
8406 {
8407 PyThreadState* __tstate = wxPyBeginAllowThreads();
8408 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
8409
8410 wxPyEndAllowThreads(__tstate);
8411 if (PyErr_Occurred()) SWIG_fail;
8412 }
8413 {
8414 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8415 }
8416 {
8417 if (temp6) delete arg6;
8418 }
8419 {
8420 if (temp9)
8421 delete arg9;
8422 }
8423 return resultobj;
8424 fail:
8425 {
8426 if (temp6) delete arg6;
8427 }
8428 {
8429 if (temp9)
8430 delete arg9;
8431 }
8432 return NULL;
8433}
8434
8435
c32bde28 8436static PyObject *_wrap_CheckListBox_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8437 PyObject *resultobj;
8438 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8439 int arg2 ;
8440 bool result;
8441 PyObject * obj0 = 0 ;
8442 PyObject * obj1 = 0 ;
8443 char *kwnames[] = {
8444 (char *) "self",(char *) "index", NULL
8445 };
8446
8447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_IsChecked",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8448 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8449 if (SWIG_arg_fail(1)) SWIG_fail;
8450 {
8451 arg2 = (int)(SWIG_As_int(obj1));
8452 if (SWIG_arg_fail(2)) SWIG_fail;
8453 }
d55e5bfc
RD
8454 {
8455 PyThreadState* __tstate = wxPyBeginAllowThreads();
8456 result = (bool)(arg1)->IsChecked(arg2);
8457
8458 wxPyEndAllowThreads(__tstate);
8459 if (PyErr_Occurred()) SWIG_fail;
8460 }
8461 {
8462 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8463 }
8464 return resultobj;
8465 fail:
8466 return NULL;
8467}
8468
8469
c32bde28 8470static PyObject *_wrap_CheckListBox_Check(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8471 PyObject *resultobj;
8472 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8473 int arg2 ;
ae8162c8 8474 int arg3 = (int) true ;
d55e5bfc
RD
8475 PyObject * obj0 = 0 ;
8476 PyObject * obj1 = 0 ;
8477 PyObject * obj2 = 0 ;
8478 char *kwnames[] = {
8479 (char *) "self",(char *) "index",(char *) "check", NULL
8480 };
8481
8482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:CheckListBox_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8483 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8484 if (SWIG_arg_fail(1)) SWIG_fail;
8485 {
8486 arg2 = (int)(SWIG_As_int(obj1));
8487 if (SWIG_arg_fail(2)) SWIG_fail;
8488 }
d55e5bfc 8489 if (obj2) {
093d3ff1
RD
8490 {
8491 arg3 = (int)(SWIG_As_int(obj2));
8492 if (SWIG_arg_fail(3)) SWIG_fail;
8493 }
d55e5bfc
RD
8494 }
8495 {
8496 PyThreadState* __tstate = wxPyBeginAllowThreads();
8497 (arg1)->Check(arg2,arg3);
8498
8499 wxPyEndAllowThreads(__tstate);
8500 if (PyErr_Occurred()) SWIG_fail;
8501 }
8502 Py_INCREF(Py_None); resultobj = Py_None;
8503 return resultobj;
8504 fail:
8505 return NULL;
8506}
8507
8508
c32bde28 8509static PyObject *_wrap_CheckListBox_GetItemHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8510 PyObject *resultobj;
8511 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8512 int result;
8513 PyObject * obj0 = 0 ;
8514 char *kwnames[] = {
8515 (char *) "self", NULL
8516 };
8517
8518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckListBox_GetItemHeight",kwnames,&obj0)) goto fail;
093d3ff1
RD
8519 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8520 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8521 {
8522 PyThreadState* __tstate = wxPyBeginAllowThreads();
8523 result = (int)(arg1)->GetItemHeight();
8524
8525 wxPyEndAllowThreads(__tstate);
8526 if (PyErr_Occurred()) SWIG_fail;
8527 }
093d3ff1
RD
8528 {
8529 resultobj = SWIG_From_int((int)(result));
8530 }
d55e5bfc
RD
8531 return resultobj;
8532 fail:
8533 return NULL;
8534}
8535
8536
c32bde28 8537static PyObject *_wrap_CheckListBox_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8538 PyObject *resultobj;
8539 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8540 wxPoint *arg2 = 0 ;
8541 int result;
8542 wxPoint temp2 ;
8543 PyObject * obj0 = 0 ;
8544 PyObject * obj1 = 0 ;
8545 char *kwnames[] = {
8546 (char *) "self",(char *) "pt", NULL
8547 };
8548
8549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_HitTest",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8550 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8551 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8552 {
8553 arg2 = &temp2;
8554 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8555 }
8556 {
8557 PyThreadState* __tstate = wxPyBeginAllowThreads();
8558 result = (int)((wxCheckListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
8559
8560 wxPyEndAllowThreads(__tstate);
8561 if (PyErr_Occurred()) SWIG_fail;
8562 }
093d3ff1
RD
8563 {
8564 resultobj = SWIG_From_int((int)(result));
8565 }
d55e5bfc
RD
8566 return resultobj;
8567 fail:
8568 return NULL;
8569}
8570
8571
c32bde28 8572static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8573 PyObject *resultobj;
8574 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8575 int arg2 ;
8576 int arg3 ;
8577 int result;
8578 PyObject * obj0 = 0 ;
8579 PyObject * obj1 = 0 ;
8580 PyObject * obj2 = 0 ;
8581 char *kwnames[] = {
8582 (char *) "self",(char *) "x",(char *) "y", NULL
8583 };
8584
8585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:CheckListBox_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8586 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8587 if (SWIG_arg_fail(1)) SWIG_fail;
8588 {
8589 arg2 = (int)(SWIG_As_int(obj1));
8590 if (SWIG_arg_fail(2)) SWIG_fail;
8591 }
8592 {
8593 arg3 = (int)(SWIG_As_int(obj2));
8594 if (SWIG_arg_fail(3)) SWIG_fail;
8595 }
d55e5bfc
RD
8596 {
8597 PyThreadState* __tstate = wxPyBeginAllowThreads();
8598 result = (int)((wxCheckListBox const *)arg1)->HitTest(arg2,arg3);
8599
8600 wxPyEndAllowThreads(__tstate);
8601 if (PyErr_Occurred()) SWIG_fail;
8602 }
093d3ff1
RD
8603 {
8604 resultobj = SWIG_From_int((int)(result));
8605 }
d55e5bfc
RD
8606 return resultobj;
8607 fail:
8608 return NULL;
8609}
8610
8611
c32bde28 8612static PyObject * CheckListBox_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
8613 PyObject *obj;
8614 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8615 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox, obj);
8616 Py_INCREF(obj);
8617 return Py_BuildValue((char *)"");
8618}
c32bde28 8619static int _wrap_TextCtrlNameStr_set(PyObject *) {
d55e5bfc
RD
8620 PyErr_SetString(PyExc_TypeError,"Variable TextCtrlNameStr is read-only.");
8621 return 1;
8622}
8623
8624
093d3ff1 8625static PyObject *_wrap_TextCtrlNameStr_get(void) {
d55e5bfc
RD
8626 PyObject *pyobj;
8627
8628 {
8629#if wxUSE_UNICODE
8630 pyobj = PyUnicode_FromWideChar((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
8631#else
8632 pyobj = PyString_FromStringAndSize((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
8633#endif
8634 }
8635 return pyobj;
8636}
8637
8638
c32bde28 8639static PyObject *_wrap_new_TextAttr(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 8640 PyObject *resultobj;
908b74cd
RD
8641 wxColour const &arg1_defvalue = wxNullColour ;
8642 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
d55e5bfc
RD
8643 wxColour const &arg2_defvalue = wxNullColour ;
8644 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
8645 wxFont const &arg3_defvalue = wxNullFont ;
8646 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
093d3ff1 8647 wxTextAttrAlignment arg4 = (wxTextAttrAlignment) wxTEXT_ALIGNMENT_DEFAULT ;
d55e5bfc
RD
8648 wxTextAttr *result;
8649 wxColour temp1 ;
8650 wxColour temp2 ;
8651 PyObject * obj0 = 0 ;
8652 PyObject * obj1 = 0 ;
8653 PyObject * obj2 = 0 ;
8654 PyObject * obj3 = 0 ;
908b74cd
RD
8655 char *kwnames[] = {
8656 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
8657 };
d55e5bfc 8658
908b74cd
RD
8659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TextAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8660 if (obj0) {
8661 {
8662 arg1 = &temp1;
8663 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
8664 }
d55e5bfc
RD
8665 }
8666 if (obj1) {
8667 {
8668 arg2 = &temp2;
8669 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8670 }
8671 }
8672 if (obj2) {
093d3ff1
RD
8673 {
8674 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
8675 if (SWIG_arg_fail(3)) SWIG_fail;
8676 if (arg3 == NULL) {
8677 SWIG_null_ref("wxFont");
8678 }
8679 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
8680 }
8681 }
8682 if (obj3) {
093d3ff1
RD
8683 {
8684 arg4 = (wxTextAttrAlignment)(SWIG_As_int(obj3));
8685 if (SWIG_arg_fail(4)) SWIG_fail;
8686 }
d55e5bfc
RD
8687 }
8688 {
8689 PyThreadState* __tstate = wxPyBeginAllowThreads();
8690 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,(wxTextAttrAlignment )arg4);
8691
8692 wxPyEndAllowThreads(__tstate);
8693 if (PyErr_Occurred()) SWIG_fail;
8694 }
8695 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 1);
8696 return resultobj;
8697 fail:
8698 return NULL;
8699}
8700
8701
c32bde28 8702static PyObject *_wrap_delete_TextAttr(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8703 PyObject *resultobj;
8704 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8705 PyObject * obj0 = 0 ;
8706 char *kwnames[] = {
8707 (char *) "self", NULL
8708 };
8709
8710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TextAttr",kwnames,&obj0)) goto fail;
093d3ff1
RD
8711 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8712 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8713 {
8714 PyThreadState* __tstate = wxPyBeginAllowThreads();
8715 delete arg1;
8716
8717 wxPyEndAllowThreads(__tstate);
8718 if (PyErr_Occurred()) SWIG_fail;
8719 }
8720 Py_INCREF(Py_None); resultobj = Py_None;
8721 return resultobj;
8722 fail:
8723 return NULL;
8724}
8725
8726
c32bde28 8727static PyObject *_wrap_TextAttr_Init(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8728 PyObject *resultobj;
8729 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8730 PyObject * obj0 = 0 ;
8731 char *kwnames[] = {
8732 (char *) "self", NULL
8733 };
8734
8735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_Init",kwnames,&obj0)) goto fail;
093d3ff1
RD
8736 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8737 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8738 {
8739 PyThreadState* __tstate = wxPyBeginAllowThreads();
8740 (arg1)->Init();
8741
8742 wxPyEndAllowThreads(__tstate);
8743 if (PyErr_Occurred()) SWIG_fail;
8744 }
8745 Py_INCREF(Py_None); resultobj = Py_None;
8746 return resultobj;
8747 fail:
8748 return NULL;
8749}
8750
8751
c32bde28 8752static PyObject *_wrap_TextAttr_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8753 PyObject *resultobj;
8754 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8755 wxColour *arg2 = 0 ;
8756 wxColour temp2 ;
8757 PyObject * obj0 = 0 ;
8758 PyObject * obj1 = 0 ;
8759 char *kwnames[] = {
8760 (char *) "self",(char *) "colText", NULL
8761 };
8762
8763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8764 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8765 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8766 {
8767 arg2 = &temp2;
8768 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8769 }
8770 {
8771 PyThreadState* __tstate = wxPyBeginAllowThreads();
8772 (arg1)->SetTextColour((wxColour const &)*arg2);
8773
8774 wxPyEndAllowThreads(__tstate);
8775 if (PyErr_Occurred()) SWIG_fail;
8776 }
8777 Py_INCREF(Py_None); resultobj = Py_None;
8778 return resultobj;
8779 fail:
8780 return NULL;
8781}
8782
8783
c32bde28 8784static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8785 PyObject *resultobj;
8786 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8787 wxColour *arg2 = 0 ;
8788 wxColour temp2 ;
8789 PyObject * obj0 = 0 ;
8790 PyObject * obj1 = 0 ;
8791 char *kwnames[] = {
8792 (char *) "self",(char *) "colBack", NULL
8793 };
8794
8795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8796 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8797 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8798 {
8799 arg2 = &temp2;
8800 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8801 }
8802 {
8803 PyThreadState* __tstate = wxPyBeginAllowThreads();
8804 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
8805
8806 wxPyEndAllowThreads(__tstate);
8807 if (PyErr_Occurred()) SWIG_fail;
8808 }
8809 Py_INCREF(Py_None); resultobj = Py_None;
8810 return resultobj;
8811 fail:
8812 return NULL;
8813}
8814
8815
c32bde28 8816static PyObject *_wrap_TextAttr_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8817 PyObject *resultobj;
8818 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8819 wxFont *arg2 = 0 ;
8820 long arg3 = (long) wxTEXT_ATTR_FONT ;
8821 PyObject * obj0 = 0 ;
8822 PyObject * obj1 = 0 ;
8823 PyObject * obj2 = 0 ;
8824 char *kwnames[] = {
8825 (char *) "self",(char *) "font",(char *) "flags", NULL
8826 };
8827
8828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8829 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8830 if (SWIG_arg_fail(1)) SWIG_fail;
8831 {
8832 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
8833 if (SWIG_arg_fail(2)) SWIG_fail;
8834 if (arg2 == NULL) {
8835 SWIG_null_ref("wxFont");
8836 }
8837 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
8838 }
8839 if (obj2) {
093d3ff1
RD
8840 {
8841 arg3 = (long)(SWIG_As_long(obj2));
8842 if (SWIG_arg_fail(3)) SWIG_fail;
8843 }
d55e5bfc
RD
8844 }
8845 {
8846 PyThreadState* __tstate = wxPyBeginAllowThreads();
8847 (arg1)->SetFont((wxFont const &)*arg2,arg3);
8848
8849 wxPyEndAllowThreads(__tstate);
8850 if (PyErr_Occurred()) SWIG_fail;
8851 }
8852 Py_INCREF(Py_None); resultobj = Py_None;
8853 return resultobj;
8854 fail:
8855 return NULL;
8856}
8857
8858
c32bde28 8859static PyObject *_wrap_TextAttr_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8860 PyObject *resultobj;
8861 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
093d3ff1 8862 wxTextAttrAlignment arg2 ;
d55e5bfc
RD
8863 PyObject * obj0 = 0 ;
8864 PyObject * obj1 = 0 ;
8865 char *kwnames[] = {
8866 (char *) "self",(char *) "alignment", NULL
8867 };
8868
8869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8870 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8871 if (SWIG_arg_fail(1)) SWIG_fail;
8872 {
8873 arg2 = (wxTextAttrAlignment)(SWIG_As_int(obj1));
8874 if (SWIG_arg_fail(2)) SWIG_fail;
8875 }
d55e5bfc
RD
8876 {
8877 PyThreadState* __tstate = wxPyBeginAllowThreads();
8878 (arg1)->SetAlignment((wxTextAttrAlignment )arg2);
8879
8880 wxPyEndAllowThreads(__tstate);
8881 if (PyErr_Occurred()) SWIG_fail;
8882 }
8883 Py_INCREF(Py_None); resultobj = Py_None;
8884 return resultobj;
8885 fail:
8886 return NULL;
8887}
8888
8889
c32bde28 8890static PyObject *_wrap_TextAttr_SetTabs(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8891 PyObject *resultobj;
8892 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8893 wxArrayInt *arg2 = 0 ;
ae8162c8 8894 bool temp2 = false ;
d55e5bfc
RD
8895 PyObject * obj0 = 0 ;
8896 PyObject * obj1 = 0 ;
8897 char *kwnames[] = {
8898 (char *) "self",(char *) "tabs", NULL
8899 };
8900
8901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8902 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8903 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8904 {
8905 if (! PySequence_Check(obj1)) {
8906 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
8907 SWIG_fail;
8908 }
8909 arg2 = new wxArrayInt;
ae8162c8 8910 temp2 = true;
d55e5bfc
RD
8911 int i, len=PySequence_Length(obj1);
8912 for (i=0; i<len; i++) {
8913 PyObject* item = PySequence_GetItem(obj1, i);
8914 PyObject* number = PyNumber_Int(item);
8915 arg2->Add(PyInt_AS_LONG(number));
8916 Py_DECREF(item);
8917 Py_DECREF(number);
8918 }
8919 }
8920 {
8921 PyThreadState* __tstate = wxPyBeginAllowThreads();
8922 (arg1)->SetTabs((wxArrayInt const &)*arg2);
8923
8924 wxPyEndAllowThreads(__tstate);
8925 if (PyErr_Occurred()) SWIG_fail;
8926 }
8927 Py_INCREF(Py_None); resultobj = Py_None;
8928 {
8929 if (temp2) delete arg2;
8930 }
8931 return resultobj;
8932 fail:
8933 {
8934 if (temp2) delete arg2;
8935 }
8936 return NULL;
8937}
8938
8939
c32bde28 8940static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8941 PyObject *resultobj;
8942 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8943 int arg2 ;
a07a67e6 8944 int arg3 = (int) 0 ;
d55e5bfc
RD
8945 PyObject * obj0 = 0 ;
8946 PyObject * obj1 = 0 ;
a07a67e6 8947 PyObject * obj2 = 0 ;
d55e5bfc 8948 char *kwnames[] = {
a07a67e6 8949 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
d55e5bfc
RD
8950 };
8951
a07a67e6 8952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8953 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8954 if (SWIG_arg_fail(1)) SWIG_fail;
8955 {
8956 arg2 = (int)(SWIG_As_int(obj1));
8957 if (SWIG_arg_fail(2)) SWIG_fail;
8958 }
a07a67e6 8959 if (obj2) {
093d3ff1
RD
8960 {
8961 arg3 = (int)(SWIG_As_int(obj2));
8962 if (SWIG_arg_fail(3)) SWIG_fail;
8963 }
a07a67e6 8964 }
d55e5bfc
RD
8965 {
8966 PyThreadState* __tstate = wxPyBeginAllowThreads();
a07a67e6 8967 (arg1)->SetLeftIndent(arg2,arg3);
d55e5bfc
RD
8968
8969 wxPyEndAllowThreads(__tstate);
8970 if (PyErr_Occurred()) SWIG_fail;
8971 }
8972 Py_INCREF(Py_None); resultobj = Py_None;
8973 return resultobj;
8974 fail:
8975 return NULL;
8976}
8977
8978
c32bde28 8979static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8980 PyObject *resultobj;
8981 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8982 int arg2 ;
8983 PyObject * obj0 = 0 ;
8984 PyObject * obj1 = 0 ;
8985 char *kwnames[] = {
8986 (char *) "self",(char *) "indent", NULL
8987 };
8988
8989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetRightIndent",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8990 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8991 if (SWIG_arg_fail(1)) SWIG_fail;
8992 {
8993 arg2 = (int)(SWIG_As_int(obj1));
8994 if (SWIG_arg_fail(2)) SWIG_fail;
8995 }
d55e5bfc
RD
8996 {
8997 PyThreadState* __tstate = wxPyBeginAllowThreads();
8998 (arg1)->SetRightIndent(arg2);
8999
9000 wxPyEndAllowThreads(__tstate);
9001 if (PyErr_Occurred()) SWIG_fail;
9002 }
9003 Py_INCREF(Py_None); resultobj = Py_None;
9004 return resultobj;
9005 fail:
9006 return NULL;
9007}
9008
9009
c32bde28 9010static PyObject *_wrap_TextAttr_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9011 PyObject *resultobj;
9012 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9013 long arg2 ;
9014 PyObject * obj0 = 0 ;
9015 PyObject * obj1 = 0 ;
9016 char *kwnames[] = {
9017 (char *) "self",(char *) "flags", NULL
9018 };
9019
9020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetFlags",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9021 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9022 if (SWIG_arg_fail(1)) SWIG_fail;
9023 {
9024 arg2 = (long)(SWIG_As_long(obj1));
9025 if (SWIG_arg_fail(2)) SWIG_fail;
9026 }
d55e5bfc
RD
9027 {
9028 PyThreadState* __tstate = wxPyBeginAllowThreads();
9029 (arg1)->SetFlags(arg2);
9030
9031 wxPyEndAllowThreads(__tstate);
9032 if (PyErr_Occurred()) SWIG_fail;
9033 }
9034 Py_INCREF(Py_None); resultobj = Py_None;
9035 return resultobj;
9036 fail:
9037 return NULL;
9038}
9039
9040
c32bde28 9041static PyObject *_wrap_TextAttr_HasTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9042 PyObject *resultobj;
9043 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9044 bool result;
9045 PyObject * obj0 = 0 ;
9046 char *kwnames[] = {
9047 (char *) "self", NULL
9048 };
9049
9050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTextColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
9051 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9052 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9053 {
9054 PyThreadState* __tstate = wxPyBeginAllowThreads();
9055 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
9056
9057 wxPyEndAllowThreads(__tstate);
9058 if (PyErr_Occurred()) SWIG_fail;
9059 }
9060 {
9061 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9062 }
9063 return resultobj;
9064 fail:
9065 return NULL;
9066}
9067
9068
c32bde28 9069static PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9070 PyObject *resultobj;
9071 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9072 bool result;
9073 PyObject * obj0 = 0 ;
9074 char *kwnames[] = {
9075 (char *) "self", NULL
9076 };
9077
9078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
9079 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9080 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9081 {
9082 PyThreadState* __tstate = wxPyBeginAllowThreads();
9083 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
9084
9085 wxPyEndAllowThreads(__tstate);
9086 if (PyErr_Occurred()) SWIG_fail;
9087 }
9088 {
9089 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9090 }
9091 return resultobj;
9092 fail:
9093 return NULL;
9094}
9095
9096
c32bde28 9097static PyObject *_wrap_TextAttr_HasFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9098 PyObject *resultobj;
9099 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9100 bool result;
9101 PyObject * obj0 = 0 ;
9102 char *kwnames[] = {
9103 (char *) "self", NULL
9104 };
9105
9106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasFont",kwnames,&obj0)) goto fail;
093d3ff1
RD
9107 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9108 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9109 {
9110 PyThreadState* __tstate = wxPyBeginAllowThreads();
9111 result = (bool)((wxTextAttr const *)arg1)->HasFont();
9112
9113 wxPyEndAllowThreads(__tstate);
9114 if (PyErr_Occurred()) SWIG_fail;
9115 }
9116 {
9117 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9118 }
9119 return resultobj;
9120 fail:
9121 return NULL;
9122}
9123
9124
c32bde28 9125static PyObject *_wrap_TextAttr_HasAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9126 PyObject *resultobj;
9127 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9128 bool result;
9129 PyObject * obj0 = 0 ;
9130 char *kwnames[] = {
9131 (char *) "self", NULL
9132 };
9133
9134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasAlignment",kwnames,&obj0)) goto fail;
093d3ff1
RD
9135 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9136 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9137 {
9138 PyThreadState* __tstate = wxPyBeginAllowThreads();
9139 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
9140
9141 wxPyEndAllowThreads(__tstate);
9142 if (PyErr_Occurred()) SWIG_fail;
9143 }
9144 {
9145 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9146 }
9147 return resultobj;
9148 fail:
9149 return NULL;
9150}
9151
9152
c32bde28 9153static PyObject *_wrap_TextAttr_HasTabs(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9154 PyObject *resultobj;
9155 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9156 bool result;
9157 PyObject * obj0 = 0 ;
9158 char *kwnames[] = {
9159 (char *) "self", NULL
9160 };
9161
9162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTabs",kwnames,&obj0)) goto fail;
093d3ff1
RD
9163 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9164 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9165 {
9166 PyThreadState* __tstate = wxPyBeginAllowThreads();
9167 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
9168
9169 wxPyEndAllowThreads(__tstate);
9170 if (PyErr_Occurred()) SWIG_fail;
9171 }
9172 {
9173 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9174 }
9175 return resultobj;
9176 fail:
9177 return NULL;
9178}
9179
9180
c32bde28 9181static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9182 PyObject *resultobj;
9183 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9184 bool result;
9185 PyObject * obj0 = 0 ;
9186 char *kwnames[] = {
9187 (char *) "self", NULL
9188 };
9189
9190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasLeftIndent",kwnames,&obj0)) goto fail;
093d3ff1
RD
9191 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9192 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9193 {
9194 PyThreadState* __tstate = wxPyBeginAllowThreads();
9195 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
9196
9197 wxPyEndAllowThreads(__tstate);
9198 if (PyErr_Occurred()) SWIG_fail;
9199 }
9200 {
9201 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9202 }
9203 return resultobj;
9204 fail:
9205 return NULL;
9206}
9207
9208
c32bde28 9209static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9210 PyObject *resultobj;
9211 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9212 bool result;
9213 PyObject * obj0 = 0 ;
9214 char *kwnames[] = {
9215 (char *) "self", NULL
9216 };
9217
9218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasRightIndent",kwnames,&obj0)) goto fail;
093d3ff1
RD
9219 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9220 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9221 {
9222 PyThreadState* __tstate = wxPyBeginAllowThreads();
9223 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
9224
9225 wxPyEndAllowThreads(__tstate);
9226 if (PyErr_Occurred()) SWIG_fail;
9227 }
9228 {
9229 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9230 }
9231 return resultobj;
9232 fail:
9233 return NULL;
9234}
9235
9236
c32bde28 9237static PyObject *_wrap_TextAttr_HasFlag(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9238 PyObject *resultobj;
9239 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9240 long arg2 ;
9241 bool result;
9242 PyObject * obj0 = 0 ;
9243 PyObject * obj1 = 0 ;
9244 char *kwnames[] = {
9245 (char *) "self",(char *) "flag", NULL
9246 };
9247
9248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_HasFlag",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9249 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9250 if (SWIG_arg_fail(1)) SWIG_fail;
9251 {
9252 arg2 = (long)(SWIG_As_long(obj1));
9253 if (SWIG_arg_fail(2)) SWIG_fail;
9254 }
d55e5bfc
RD
9255 {
9256 PyThreadState* __tstate = wxPyBeginAllowThreads();
9257 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
9258
9259 wxPyEndAllowThreads(__tstate);
9260 if (PyErr_Occurred()) SWIG_fail;
9261 }
9262 {
9263 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9264 }
9265 return resultobj;
9266 fail:
9267 return NULL;
9268}
9269
9270
c32bde28 9271static PyObject *_wrap_TextAttr_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9272 PyObject *resultobj;
9273 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9274 wxColour *result;
9275 PyObject * obj0 = 0 ;
9276 char *kwnames[] = {
9277 (char *) "self", NULL
9278 };
9279
9280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTextColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
9281 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9282 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9283 {
9284 PyThreadState* __tstate = wxPyBeginAllowThreads();
9285 {
9286 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
9287 result = (wxColour *) &_result_ref;
9288 }
9289
9290 wxPyEndAllowThreads(__tstate);
9291 if (PyErr_Occurred()) SWIG_fail;
9292 }
9293 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
9294 return resultobj;
9295 fail:
9296 return NULL;
9297}
9298
9299
c32bde28 9300static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9301 PyObject *resultobj;
9302 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9303 wxColour *result;
9304 PyObject * obj0 = 0 ;
9305 char *kwnames[] = {
9306 (char *) "self", NULL
9307 };
9308
9309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
9310 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9311 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9312 {
9313 PyThreadState* __tstate = wxPyBeginAllowThreads();
9314 {
9315 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
9316 result = (wxColour *) &_result_ref;
9317 }
9318
9319 wxPyEndAllowThreads(__tstate);
9320 if (PyErr_Occurred()) SWIG_fail;
9321 }
9322 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
9323 return resultobj;
9324 fail:
9325 return NULL;
9326}
9327
9328
c32bde28 9329static PyObject *_wrap_TextAttr_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9330 PyObject *resultobj;
9331 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9332 wxFont *result;
9333 PyObject * obj0 = 0 ;
9334 char *kwnames[] = {
9335 (char *) "self", NULL
9336 };
9337
9338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFont",kwnames,&obj0)) goto fail;
093d3ff1
RD
9339 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9340 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9341 {
9342 PyThreadState* __tstate = wxPyBeginAllowThreads();
9343 {
9344 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
9345 result = (wxFont *) &_result_ref;
9346 }
9347
9348 wxPyEndAllowThreads(__tstate);
9349 if (PyErr_Occurred()) SWIG_fail;
9350 }
9351 {
9352 wxFont* resultptr = new wxFont(*result);
9353 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxFont, 1);
9354 }
9355 return resultobj;
9356 fail:
9357 return NULL;
9358}
9359
9360
c32bde28 9361static PyObject *_wrap_TextAttr_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9362 PyObject *resultobj;
9363 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
093d3ff1 9364 wxTextAttrAlignment result;
d55e5bfc
RD
9365 PyObject * obj0 = 0 ;
9366 char *kwnames[] = {
9367 (char *) "self", NULL
9368 };
9369
9370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetAlignment",kwnames,&obj0)) goto fail;
093d3ff1
RD
9371 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9372 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9373 {
9374 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 9375 result = (wxTextAttrAlignment)((wxTextAttr const *)arg1)->GetAlignment();
d55e5bfc
RD
9376
9377 wxPyEndAllowThreads(__tstate);
9378 if (PyErr_Occurred()) SWIG_fail;
9379 }
093d3ff1 9380 resultobj = SWIG_From_int((result));
d55e5bfc
RD
9381 return resultobj;
9382 fail:
9383 return NULL;
9384}
9385
9386
c32bde28 9387static PyObject *_wrap_TextAttr_GetTabs(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9388 PyObject *resultobj;
9389 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9390 wxArrayInt *result;
9391 PyObject * obj0 = 0 ;
9392 char *kwnames[] = {
9393 (char *) "self", NULL
9394 };
9395
9396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTabs",kwnames,&obj0)) goto fail;
093d3ff1
RD
9397 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9398 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9399 {
9400 PyThreadState* __tstate = wxPyBeginAllowThreads();
9401 {
9402 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
9403 result = (wxArrayInt *) &_result_ref;
9404 }
9405
9406 wxPyEndAllowThreads(__tstate);
9407 if (PyErr_Occurred()) SWIG_fail;
9408 }
9409 {
9410 resultobj = PyList_New(0);
9411 size_t idx;
9412 for (idx = 0; idx < result->GetCount(); idx += 1) {
9413 PyObject* val = PyInt_FromLong( result->Item(idx) );
9414 PyList_Append(resultobj, val);
9415 Py_DECREF(val);
9416 }
9417 }
9418 return resultobj;
9419 fail:
9420 return NULL;
9421}
9422
9423
c32bde28 9424static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9425 PyObject *resultobj;
9426 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9427 long result;
9428 PyObject * obj0 = 0 ;
9429 char *kwnames[] = {
9430 (char *) "self", NULL
9431 };
9432
9433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftIndent",kwnames,&obj0)) goto fail;
093d3ff1
RD
9434 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9435 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9436 {
9437 PyThreadState* __tstate = wxPyBeginAllowThreads();
9438 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
9439
9440 wxPyEndAllowThreads(__tstate);
9441 if (PyErr_Occurred()) SWIG_fail;
9442 }
093d3ff1
RD
9443 {
9444 resultobj = SWIG_From_long((long)(result));
9445 }
d55e5bfc
RD
9446 return resultobj;
9447 fail:
9448 return NULL;
9449}
9450
9451
c32bde28 9452static PyObject *_wrap_TextAttr_GetLeftSubIndent(PyObject *, PyObject *args, PyObject *kwargs) {
a07a67e6
RD
9453 PyObject *resultobj;
9454 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9455 long result;
9456 PyObject * obj0 = 0 ;
9457 char *kwnames[] = {
9458 (char *) "self", NULL
9459 };
9460
9461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftSubIndent",kwnames,&obj0)) goto fail;
093d3ff1
RD
9462 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9463 if (SWIG_arg_fail(1)) SWIG_fail;
a07a67e6
RD
9464 {
9465 PyThreadState* __tstate = wxPyBeginAllowThreads();
9466 result = (long)((wxTextAttr const *)arg1)->GetLeftSubIndent();
9467
9468 wxPyEndAllowThreads(__tstate);
9469 if (PyErr_Occurred()) SWIG_fail;
9470 }
093d3ff1
RD
9471 {
9472 resultobj = SWIG_From_long((long)(result));
9473 }
a07a67e6
RD
9474 return resultobj;
9475 fail:
9476 return NULL;
9477}
9478
9479
c32bde28 9480static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9481 PyObject *resultobj;
9482 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9483 long result;
9484 PyObject * obj0 = 0 ;
9485 char *kwnames[] = {
9486 (char *) "self", NULL
9487 };
9488
9489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetRightIndent",kwnames,&obj0)) goto fail;
093d3ff1
RD
9490 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9491 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9492 {
9493 PyThreadState* __tstate = wxPyBeginAllowThreads();
9494 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
9495
9496 wxPyEndAllowThreads(__tstate);
9497 if (PyErr_Occurred()) SWIG_fail;
9498 }
093d3ff1
RD
9499 {
9500 resultobj = SWIG_From_long((long)(result));
9501 }
d55e5bfc
RD
9502 return resultobj;
9503 fail:
9504 return NULL;
9505}
9506
9507
c32bde28 9508static PyObject *_wrap_TextAttr_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9509 PyObject *resultobj;
9510 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9511 long result;
9512 PyObject * obj0 = 0 ;
9513 char *kwnames[] = {
9514 (char *) "self", NULL
9515 };
9516
9517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFlags",kwnames,&obj0)) goto fail;
093d3ff1
RD
9518 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9519 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9520 {
9521 PyThreadState* __tstate = wxPyBeginAllowThreads();
9522 result = (long)((wxTextAttr const *)arg1)->GetFlags();
9523
9524 wxPyEndAllowThreads(__tstate);
9525 if (PyErr_Occurred()) SWIG_fail;
9526 }
093d3ff1
RD
9527 {
9528 resultobj = SWIG_From_long((long)(result));
9529 }
d55e5bfc
RD
9530 return resultobj;
9531 fail:
9532 return NULL;
9533}
9534
9535
c32bde28 9536static PyObject *_wrap_TextAttr_IsDefault(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9537 PyObject *resultobj;
9538 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9539 bool result;
9540 PyObject * obj0 = 0 ;
9541 char *kwnames[] = {
9542 (char *) "self", NULL
9543 };
9544
9545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_IsDefault",kwnames,&obj0)) goto fail;
093d3ff1
RD
9546 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9547 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9548 {
9549 PyThreadState* __tstate = wxPyBeginAllowThreads();
9550 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
9551
9552 wxPyEndAllowThreads(__tstate);
9553 if (PyErr_Occurred()) SWIG_fail;
9554 }
9555 {
9556 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9557 }
9558 return resultobj;
9559 fail:
9560 return NULL;
9561}
9562
9563
c32bde28 9564static PyObject *_wrap_TextAttr_Combine(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9565 PyObject *resultobj;
9566 wxTextAttr *arg1 = 0 ;
9567 wxTextAttr *arg2 = 0 ;
9568 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
9569 wxTextAttr result;
9570 PyObject * obj0 = 0 ;
9571 PyObject * obj1 = 0 ;
9572 PyObject * obj2 = 0 ;
9573 char *kwnames[] = {
9574 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
9575 };
9576
9577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
9578 {
9579 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9580 if (SWIG_arg_fail(1)) SWIG_fail;
9581 if (arg1 == NULL) {
9582 SWIG_null_ref("wxTextAttr");
9583 }
9584 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 9585 }
093d3ff1
RD
9586 {
9587 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9588 if (SWIG_arg_fail(2)) SWIG_fail;
9589 if (arg2 == NULL) {
9590 SWIG_null_ref("wxTextAttr");
9591 }
9592 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 9593 }
093d3ff1
RD
9594 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9595 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
9596 {
9597 PyThreadState* __tstate = wxPyBeginAllowThreads();
9598 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
9599
9600 wxPyEndAllowThreads(__tstate);
9601 if (PyErr_Occurred()) SWIG_fail;
9602 }
9603 {
9604 wxTextAttr * resultptr;
093d3ff1 9605 resultptr = new wxTextAttr((wxTextAttr &)(result));
d55e5bfc
RD
9606 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTextAttr, 1);
9607 }
9608 return resultobj;
9609 fail:
9610 return NULL;
9611}
9612
9613
c32bde28 9614static PyObject * TextAttr_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
9615 PyObject *obj;
9616 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9617 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr, obj);
9618 Py_INCREF(obj);
9619 return Py_BuildValue((char *)"");
9620}
c32bde28 9621static PyObject *_wrap_new_TextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9622 PyObject *resultobj;
9623 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 9624 int arg2 = (int) -1 ;
d55e5bfc
RD
9625 wxString const &arg3_defvalue = wxPyEmptyString ;
9626 wxString *arg3 = (wxString *) &arg3_defvalue ;
9627 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9628 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9629 wxSize const &arg5_defvalue = wxDefaultSize ;
9630 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9631 long arg6 = (long) 0 ;
9632 wxValidator const &arg7_defvalue = wxDefaultValidator ;
9633 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
9634 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
9635 wxString *arg8 = (wxString *) &arg8_defvalue ;
9636 wxTextCtrl *result;
ae8162c8 9637 bool temp3 = false ;
d55e5bfc
RD
9638 wxPoint temp4 ;
9639 wxSize temp5 ;
ae8162c8 9640 bool temp8 = false ;
d55e5bfc
RD
9641 PyObject * obj0 = 0 ;
9642 PyObject * obj1 = 0 ;
9643 PyObject * obj2 = 0 ;
9644 PyObject * obj3 = 0 ;
9645 PyObject * obj4 = 0 ;
9646 PyObject * obj5 = 0 ;
9647 PyObject * obj6 = 0 ;
9648 PyObject * obj7 = 0 ;
9649 char *kwnames[] = {
9650 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9651 };
9652
248ed943 9653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_TextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
9654 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
9655 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 9656 if (obj1) {
093d3ff1
RD
9657 {
9658 arg2 = (int)(SWIG_As_int(obj1));
9659 if (SWIG_arg_fail(2)) SWIG_fail;
9660 }
248ed943 9661 }
d55e5bfc
RD
9662 if (obj2) {
9663 {
9664 arg3 = wxString_in_helper(obj2);
9665 if (arg3 == NULL) SWIG_fail;
ae8162c8 9666 temp3 = true;
d55e5bfc
RD
9667 }
9668 }
9669 if (obj3) {
9670 {
9671 arg4 = &temp4;
9672 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9673 }
9674 }
9675 if (obj4) {
9676 {
9677 arg5 = &temp5;
9678 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9679 }
9680 }
9681 if (obj5) {
093d3ff1
RD
9682 {
9683 arg6 = (long)(SWIG_As_long(obj5));
9684 if (SWIG_arg_fail(6)) SWIG_fail;
9685 }
d55e5bfc
RD
9686 }
9687 if (obj6) {
093d3ff1
RD
9688 {
9689 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
9690 if (SWIG_arg_fail(7)) SWIG_fail;
9691 if (arg7 == NULL) {
9692 SWIG_null_ref("wxValidator");
9693 }
9694 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
9695 }
9696 }
9697 if (obj7) {
9698 {
9699 arg8 = wxString_in_helper(obj7);
9700 if (arg8 == NULL) SWIG_fail;
ae8162c8 9701 temp8 = true;
d55e5bfc
RD
9702 }
9703 }
9704 {
0439c23b 9705 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
9706 PyThreadState* __tstate = wxPyBeginAllowThreads();
9707 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
9708
9709 wxPyEndAllowThreads(__tstate);
110da5b0 9710 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 9711 }
b0f7404b 9712 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextCtrl, 1);
d55e5bfc
RD
9713 {
9714 if (temp3)
9715 delete arg3;
9716 }
9717 {
9718 if (temp8)
9719 delete arg8;
9720 }
9721 return resultobj;
9722 fail:
9723 {
9724 if (temp3)
9725 delete arg3;
9726 }
9727 {
9728 if (temp8)
9729 delete arg8;
9730 }
9731 return NULL;
9732}
9733
9734
c32bde28 9735static PyObject *_wrap_new_PreTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9736 PyObject *resultobj;
9737 wxTextCtrl *result;
9738 char *kwnames[] = {
9739 NULL
9740 };
9741
9742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTextCtrl",kwnames)) goto fail;
9743 {
0439c23b 9744 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
9745 PyThreadState* __tstate = wxPyBeginAllowThreads();
9746 result = (wxTextCtrl *)new wxTextCtrl();
9747
9748 wxPyEndAllowThreads(__tstate);
110da5b0 9749 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 9750 }
b0f7404b 9751 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextCtrl, 1);
d55e5bfc
RD
9752 return resultobj;
9753 fail:
9754 return NULL;
9755}
9756
9757
c32bde28 9758static PyObject *_wrap_TextCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9759 PyObject *resultobj;
9760 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9761 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 9762 int arg3 = (int) -1 ;
d55e5bfc
RD
9763 wxString const &arg4_defvalue = wxPyEmptyString ;
9764 wxString *arg4 = (wxString *) &arg4_defvalue ;
9765 wxPoint const &arg5_defvalue = wxDefaultPosition ;
9766 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
9767 wxSize const &arg6_defvalue = wxDefaultSize ;
9768 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
9769 long arg7 = (long) 0 ;
9770 wxValidator const &arg8_defvalue = wxDefaultValidator ;
9771 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
9772 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
9773 wxString *arg9 = (wxString *) &arg9_defvalue ;
9774 bool result;
ae8162c8 9775 bool temp4 = false ;
d55e5bfc
RD
9776 wxPoint temp5 ;
9777 wxSize temp6 ;
ae8162c8 9778 bool temp9 = false ;
d55e5bfc
RD
9779 PyObject * obj0 = 0 ;
9780 PyObject * obj1 = 0 ;
9781 PyObject * obj2 = 0 ;
9782 PyObject * obj3 = 0 ;
9783 PyObject * obj4 = 0 ;
9784 PyObject * obj5 = 0 ;
9785 PyObject * obj6 = 0 ;
9786 PyObject * obj7 = 0 ;
9787 PyObject * obj8 = 0 ;
9788 char *kwnames[] = {
9789 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9790 };
9791
248ed943 9792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
9793 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9794 if (SWIG_arg_fail(1)) SWIG_fail;
9795 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
9796 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 9797 if (obj2) {
093d3ff1
RD
9798 {
9799 arg3 = (int)(SWIG_As_int(obj2));
9800 if (SWIG_arg_fail(3)) SWIG_fail;
9801 }
248ed943 9802 }
d55e5bfc
RD
9803 if (obj3) {
9804 {
9805 arg4 = wxString_in_helper(obj3);
9806 if (arg4 == NULL) SWIG_fail;
ae8162c8 9807 temp4 = true;
d55e5bfc
RD
9808 }
9809 }
9810 if (obj4) {
9811 {
9812 arg5 = &temp5;
9813 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
9814 }
9815 }
9816 if (obj5) {
9817 {
9818 arg6 = &temp6;
9819 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
9820 }
9821 }
9822 if (obj6) {
093d3ff1
RD
9823 {
9824 arg7 = (long)(SWIG_As_long(obj6));
9825 if (SWIG_arg_fail(7)) SWIG_fail;
9826 }
d55e5bfc
RD
9827 }
9828 if (obj7) {
093d3ff1
RD
9829 {
9830 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
9831 if (SWIG_arg_fail(8)) SWIG_fail;
9832 if (arg8 == NULL) {
9833 SWIG_null_ref("wxValidator");
9834 }
9835 if (SWIG_arg_fail(8)) SWIG_fail;
d55e5bfc
RD
9836 }
9837 }
9838 if (obj8) {
9839 {
9840 arg9 = wxString_in_helper(obj8);
9841 if (arg9 == NULL) SWIG_fail;
ae8162c8 9842 temp9 = true;
d55e5bfc
RD
9843 }
9844 }
9845 {
9846 PyThreadState* __tstate = wxPyBeginAllowThreads();
9847 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
9848
9849 wxPyEndAllowThreads(__tstate);
9850 if (PyErr_Occurred()) SWIG_fail;
9851 }
9852 {
9853 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9854 }
9855 {
9856 if (temp4)
9857 delete arg4;
9858 }
9859 {
9860 if (temp9)
9861 delete arg9;
9862 }
9863 return resultobj;
9864 fail:
9865 {
9866 if (temp4)
9867 delete arg4;
9868 }
9869 {
9870 if (temp9)
9871 delete arg9;
9872 }
9873 return NULL;
9874}
9875
9876
c32bde28 9877static PyObject *_wrap_TextCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9878 PyObject *resultobj;
9879 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9880 wxString result;
9881 PyObject * obj0 = 0 ;
9882 char *kwnames[] = {
9883 (char *) "self", NULL
9884 };
9885
9886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
9887 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9888 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9889 {
9890 PyThreadState* __tstate = wxPyBeginAllowThreads();
9891 result = ((wxTextCtrl const *)arg1)->GetValue();
9892
9893 wxPyEndAllowThreads(__tstate);
9894 if (PyErr_Occurred()) SWIG_fail;
9895 }
9896 {
9897#if wxUSE_UNICODE
9898 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9899#else
9900 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9901#endif
9902 }
9903 return resultobj;
9904 fail:
9905 return NULL;
9906}
9907
9908
c32bde28 9909static PyObject *_wrap_TextCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9910 PyObject *resultobj;
9911 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9912 wxString *arg2 = 0 ;
ae8162c8 9913 bool temp2 = false ;
d55e5bfc
RD
9914 PyObject * obj0 = 0 ;
9915 PyObject * obj1 = 0 ;
9916 char *kwnames[] = {
9917 (char *) "self",(char *) "value", NULL
9918 };
9919
9920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9921 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9922 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9923 {
9924 arg2 = wxString_in_helper(obj1);
9925 if (arg2 == NULL) SWIG_fail;
ae8162c8 9926 temp2 = true;
d55e5bfc
RD
9927 }
9928 {
9929 PyThreadState* __tstate = wxPyBeginAllowThreads();
9930 (arg1)->SetValue((wxString const &)*arg2);
9931
9932 wxPyEndAllowThreads(__tstate);
9933 if (PyErr_Occurred()) SWIG_fail;
9934 }
9935 Py_INCREF(Py_None); resultobj = Py_None;
9936 {
9937 if (temp2)
9938 delete arg2;
9939 }
9940 return resultobj;
9941 fail:
9942 {
9943 if (temp2)
9944 delete arg2;
9945 }
9946 return NULL;
9947}
9948
9949
c32bde28 9950static PyObject *_wrap_TextCtrl_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9951 PyObject *resultobj;
9952 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9953 long arg2 ;
9954 long arg3 ;
9955 wxString result;
9956 PyObject * obj0 = 0 ;
9957 PyObject * obj1 = 0 ;
9958 PyObject * obj2 = 0 ;
9959 char *kwnames[] = {
9960 (char *) "self",(char *) "from",(char *) "to", NULL
9961 };
9962
9963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
9964 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9965 if (SWIG_arg_fail(1)) SWIG_fail;
9966 {
9967 arg2 = (long)(SWIG_As_long(obj1));
9968 if (SWIG_arg_fail(2)) SWIG_fail;
9969 }
9970 {
9971 arg3 = (long)(SWIG_As_long(obj2));
9972 if (SWIG_arg_fail(3)) SWIG_fail;
9973 }
d55e5bfc
RD
9974 {
9975 PyThreadState* __tstate = wxPyBeginAllowThreads();
9976 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
9977
9978 wxPyEndAllowThreads(__tstate);
9979 if (PyErr_Occurred()) SWIG_fail;
9980 }
9981 {
9982#if wxUSE_UNICODE
9983 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9984#else
9985 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9986#endif
9987 }
9988 return resultobj;
9989 fail:
9990 return NULL;
9991}
9992
9993
c32bde28 9994static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9995 PyObject *resultobj;
9996 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9997 long arg2 ;
9998 int result;
9999 PyObject * obj0 = 0 ;
10000 PyObject * obj1 = 0 ;
10001 char *kwnames[] = {
10002 (char *) "self",(char *) "lineNo", NULL
10003 };
10004
10005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineLength",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10006 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10007 if (SWIG_arg_fail(1)) SWIG_fail;
10008 {
10009 arg2 = (long)(SWIG_As_long(obj1));
10010 if (SWIG_arg_fail(2)) SWIG_fail;
10011 }
d55e5bfc
RD
10012 {
10013 PyThreadState* __tstate = wxPyBeginAllowThreads();
10014 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
10015
10016 wxPyEndAllowThreads(__tstate);
10017 if (PyErr_Occurred()) SWIG_fail;
10018 }
093d3ff1
RD
10019 {
10020 resultobj = SWIG_From_int((int)(result));
10021 }
d55e5bfc
RD
10022 return resultobj;
10023 fail:
10024 return NULL;
10025}
10026
10027
c32bde28 10028static PyObject *_wrap_TextCtrl_GetLineText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10029 PyObject *resultobj;
10030 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10031 long arg2 ;
10032 wxString result;
10033 PyObject * obj0 = 0 ;
10034 PyObject * obj1 = 0 ;
10035 char *kwnames[] = {
10036 (char *) "self",(char *) "lineNo", NULL
10037 };
10038
10039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10040 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10041 if (SWIG_arg_fail(1)) SWIG_fail;
10042 {
10043 arg2 = (long)(SWIG_As_long(obj1));
10044 if (SWIG_arg_fail(2)) SWIG_fail;
10045 }
d55e5bfc
RD
10046 {
10047 PyThreadState* __tstate = wxPyBeginAllowThreads();
10048 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
10049
10050 wxPyEndAllowThreads(__tstate);
10051 if (PyErr_Occurred()) SWIG_fail;
10052 }
10053 {
10054#if wxUSE_UNICODE
10055 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10056#else
10057 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10058#endif
10059 }
10060 return resultobj;
10061 fail:
10062 return NULL;
10063}
10064
10065
c32bde28 10066static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10067 PyObject *resultobj;
10068 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10069 int result;
10070 PyObject * obj0 = 0 ;
10071 char *kwnames[] = {
10072 (char *) "self", NULL
10073 };
10074
10075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetNumberOfLines",kwnames,&obj0)) goto fail;
093d3ff1
RD
10076 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10077 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10078 {
10079 PyThreadState* __tstate = wxPyBeginAllowThreads();
10080 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
10081
10082 wxPyEndAllowThreads(__tstate);
10083 if (PyErr_Occurred()) SWIG_fail;
10084 }
093d3ff1
RD
10085 {
10086 resultobj = SWIG_From_int((int)(result));
10087 }
d55e5bfc
RD
10088 return resultobj;
10089 fail:
10090 return NULL;
10091}
10092
10093
c32bde28 10094static PyObject *_wrap_TextCtrl_IsModified(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10095 PyObject *resultobj;
10096 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10097 bool result;
10098 PyObject * obj0 = 0 ;
10099 char *kwnames[] = {
10100 (char *) "self", NULL
10101 };
10102
10103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsModified",kwnames,&obj0)) goto fail;
093d3ff1
RD
10104 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10105 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10106 {
10107 PyThreadState* __tstate = wxPyBeginAllowThreads();
10108 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
10109
10110 wxPyEndAllowThreads(__tstate);
10111 if (PyErr_Occurred()) SWIG_fail;
10112 }
10113 {
10114 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10115 }
10116 return resultobj;
10117 fail:
10118 return NULL;
10119}
10120
10121
c32bde28 10122static PyObject *_wrap_TextCtrl_IsEditable(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10123 PyObject *resultobj;
10124 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10125 bool result;
10126 PyObject * obj0 = 0 ;
10127 char *kwnames[] = {
10128 (char *) "self", NULL
10129 };
10130
10131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsEditable",kwnames,&obj0)) goto fail;
093d3ff1
RD
10132 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10133 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10134 {
10135 PyThreadState* __tstate = wxPyBeginAllowThreads();
10136 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
10137
10138 wxPyEndAllowThreads(__tstate);
10139 if (PyErr_Occurred()) SWIG_fail;
10140 }
10141 {
10142 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10143 }
10144 return resultobj;
10145 fail:
10146 return NULL;
10147}
10148
10149
c32bde28 10150static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10151 PyObject *resultobj;
10152 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10153 bool result;
10154 PyObject * obj0 = 0 ;
10155 char *kwnames[] = {
10156 (char *) "self", NULL
10157 };
10158
10159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsSingleLine",kwnames,&obj0)) goto fail;
093d3ff1
RD
10160 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10161 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10162 {
10163 PyThreadState* __tstate = wxPyBeginAllowThreads();
10164 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
10165
10166 wxPyEndAllowThreads(__tstate);
10167 if (PyErr_Occurred()) SWIG_fail;
10168 }
10169 {
10170 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10171 }
10172 return resultobj;
10173 fail:
10174 return NULL;
10175}
10176
10177
c32bde28 10178static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10179 PyObject *resultobj;
10180 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10181 bool result;
10182 PyObject * obj0 = 0 ;
10183 char *kwnames[] = {
10184 (char *) "self", NULL
10185 };
10186
10187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsMultiLine",kwnames,&obj0)) goto fail;
093d3ff1
RD
10188 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10189 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10190 {
10191 PyThreadState* __tstate = wxPyBeginAllowThreads();
10192 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
10193
10194 wxPyEndAllowThreads(__tstate);
10195 if (PyErr_Occurred()) SWIG_fail;
10196 }
10197 {
10198 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10199 }
10200 return resultobj;
10201 fail:
10202 return NULL;
10203}
10204
10205
c32bde28 10206static PyObject *_wrap_TextCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10207 PyObject *resultobj;
10208 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10209 long *arg2 = (long *) 0 ;
10210 long *arg3 = (long *) 0 ;
10211 long temp2 ;
c32bde28 10212 int res2 = 0 ;
d55e5bfc 10213 long temp3 ;
c32bde28 10214 int res3 = 0 ;
d55e5bfc
RD
10215 PyObject * obj0 = 0 ;
10216 char *kwnames[] = {
10217 (char *) "self", NULL
10218 };
10219
c32bde28
RD
10220 arg2 = &temp2; res2 = SWIG_NEWOBJ;
10221 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 10222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
10223 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10224 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10225 {
10226 PyThreadState* __tstate = wxPyBeginAllowThreads();
10227 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
10228
10229 wxPyEndAllowThreads(__tstate);
10230 if (PyErr_Occurred()) SWIG_fail;
10231 }
10232 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
10233 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
10234 SWIG_From_long((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, 0)));
10235 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
10236 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
d55e5bfc
RD
10237 return resultobj;
10238 fail:
10239 return NULL;
10240}
10241
10242
c32bde28 10243static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10244 PyObject *resultobj;
10245 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10246 wxString result;
10247 PyObject * obj0 = 0 ;
10248 char *kwnames[] = {
10249 (char *) "self", NULL
10250 };
10251
10252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetStringSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
10253 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10254 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10255 {
10256 PyThreadState* __tstate = wxPyBeginAllowThreads();
10257 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
10258
10259 wxPyEndAllowThreads(__tstate);
10260 if (PyErr_Occurred()) SWIG_fail;
10261 }
10262 {
10263#if wxUSE_UNICODE
10264 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10265#else
10266 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10267#endif
10268 }
10269 return resultobj;
10270 fail:
10271 return NULL;
10272}
10273
10274
c32bde28 10275static PyObject *_wrap_TextCtrl_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10276 PyObject *resultobj;
10277 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10278 PyObject * obj0 = 0 ;
10279 char *kwnames[] = {
10280 (char *) "self", NULL
10281 };
10282
10283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Clear",kwnames,&obj0)) goto fail;
093d3ff1
RD
10284 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10285 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10286 {
10287 PyThreadState* __tstate = wxPyBeginAllowThreads();
10288 (arg1)->Clear();
10289
10290 wxPyEndAllowThreads(__tstate);
10291 if (PyErr_Occurred()) SWIG_fail;
10292 }
10293 Py_INCREF(Py_None); resultobj = Py_None;
10294 return resultobj;
10295 fail:
10296 return NULL;
10297}
10298
10299
c32bde28 10300static PyObject *_wrap_TextCtrl_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10301 PyObject *resultobj;
10302 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10303 long arg2 ;
10304 long arg3 ;
10305 wxString *arg4 = 0 ;
ae8162c8 10306 bool temp4 = false ;
d55e5bfc
RD
10307 PyObject * obj0 = 0 ;
10308 PyObject * obj1 = 0 ;
10309 PyObject * obj2 = 0 ;
10310 PyObject * obj3 = 0 ;
10311 char *kwnames[] = {
10312 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
10313 };
10314
10315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
10316 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10317 if (SWIG_arg_fail(1)) SWIG_fail;
10318 {
10319 arg2 = (long)(SWIG_As_long(obj1));
10320 if (SWIG_arg_fail(2)) SWIG_fail;
10321 }
10322 {
10323 arg3 = (long)(SWIG_As_long(obj2));
10324 if (SWIG_arg_fail(3)) SWIG_fail;
10325 }
d55e5bfc
RD
10326 {
10327 arg4 = wxString_in_helper(obj3);
10328 if (arg4 == NULL) SWIG_fail;
ae8162c8 10329 temp4 = true;
d55e5bfc
RD
10330 }
10331 {
10332 PyThreadState* __tstate = wxPyBeginAllowThreads();
10333 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
10334
10335 wxPyEndAllowThreads(__tstate);
10336 if (PyErr_Occurred()) SWIG_fail;
10337 }
10338 Py_INCREF(Py_None); resultobj = Py_None;
10339 {
10340 if (temp4)
10341 delete arg4;
10342 }
10343 return resultobj;
10344 fail:
10345 {
10346 if (temp4)
10347 delete arg4;
10348 }
10349 return NULL;
10350}
10351
10352
c32bde28 10353static PyObject *_wrap_TextCtrl_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10354 PyObject *resultobj;
10355 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10356 long arg2 ;
10357 long arg3 ;
10358 PyObject * obj0 = 0 ;
10359 PyObject * obj1 = 0 ;
10360 PyObject * obj2 = 0 ;
10361 char *kwnames[] = {
10362 (char *) "self",(char *) "from",(char *) "to", NULL
10363 };
10364
10365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10366 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10367 if (SWIG_arg_fail(1)) SWIG_fail;
10368 {
10369 arg2 = (long)(SWIG_As_long(obj1));
10370 if (SWIG_arg_fail(2)) SWIG_fail;
10371 }
10372 {
10373 arg3 = (long)(SWIG_As_long(obj2));
10374 if (SWIG_arg_fail(3)) SWIG_fail;
10375 }
d55e5bfc
RD
10376 {
10377 PyThreadState* __tstate = wxPyBeginAllowThreads();
10378 (arg1)->Remove(arg2,arg3);
10379
10380 wxPyEndAllowThreads(__tstate);
10381 if (PyErr_Occurred()) SWIG_fail;
10382 }
10383 Py_INCREF(Py_None); resultobj = Py_None;
10384 return resultobj;
10385 fail:
10386 return NULL;
10387}
10388
10389
c32bde28 10390static PyObject *_wrap_TextCtrl_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10391 PyObject *resultobj;
10392 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10393 wxString *arg2 = 0 ;
10394 bool result;
ae8162c8 10395 bool temp2 = false ;
d55e5bfc
RD
10396 PyObject * obj0 = 0 ;
10397 PyObject * obj1 = 0 ;
10398 char *kwnames[] = {
10399 (char *) "self",(char *) "file", NULL
10400 };
10401
10402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10403 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10404 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10405 {
10406 arg2 = wxString_in_helper(obj1);
10407 if (arg2 == NULL) SWIG_fail;
ae8162c8 10408 temp2 = true;
d55e5bfc
RD
10409 }
10410 {
10411 PyThreadState* __tstate = wxPyBeginAllowThreads();
10412 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
10413
10414 wxPyEndAllowThreads(__tstate);
10415 if (PyErr_Occurred()) SWIG_fail;
10416 }
10417 {
10418 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10419 }
10420 {
10421 if (temp2)
10422 delete arg2;
10423 }
10424 return resultobj;
10425 fail:
10426 {
10427 if (temp2)
10428 delete arg2;
10429 }
10430 return NULL;
10431}
10432
10433
c32bde28 10434static PyObject *_wrap_TextCtrl_SaveFile(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10435 PyObject *resultobj;
10436 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10437 wxString const &arg2_defvalue = wxPyEmptyString ;
10438 wxString *arg2 = (wxString *) &arg2_defvalue ;
10439 bool result;
ae8162c8 10440 bool temp2 = false ;
d55e5bfc
RD
10441 PyObject * obj0 = 0 ;
10442 PyObject * obj1 = 0 ;
10443 char *kwnames[] = {
10444 (char *) "self",(char *) "file", NULL
10445 };
10446
10447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10448 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10449 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10450 if (obj1) {
10451 {
10452 arg2 = wxString_in_helper(obj1);
10453 if (arg2 == NULL) SWIG_fail;
ae8162c8 10454 temp2 = true;
d55e5bfc
RD
10455 }
10456 }
10457 {
10458 PyThreadState* __tstate = wxPyBeginAllowThreads();
10459 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
10460
10461 wxPyEndAllowThreads(__tstate);
10462 if (PyErr_Occurred()) SWIG_fail;
10463 }
10464 {
10465 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10466 }
10467 {
10468 if (temp2)
10469 delete arg2;
10470 }
10471 return resultobj;
10472 fail:
10473 {
10474 if (temp2)
10475 delete arg2;
10476 }
10477 return NULL;
10478}
10479
10480
c32bde28 10481static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10482 PyObject *resultobj;
10483 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10484 PyObject * obj0 = 0 ;
10485 char *kwnames[] = {
10486 (char *) "self", NULL
10487 };
10488
10489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_MarkDirty",kwnames,&obj0)) goto fail;
093d3ff1
RD
10490 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10491 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10492 {
10493 PyThreadState* __tstate = wxPyBeginAllowThreads();
10494 (arg1)->MarkDirty();
10495
10496 wxPyEndAllowThreads(__tstate);
10497 if (PyErr_Occurred()) SWIG_fail;
10498 }
10499 Py_INCREF(Py_None); resultobj = Py_None;
10500 return resultobj;
10501 fail:
10502 return NULL;
10503}
10504
10505
c32bde28 10506static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10507 PyObject *resultobj;
10508 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10509 PyObject * obj0 = 0 ;
10510 char *kwnames[] = {
10511 (char *) "self", NULL
10512 };
10513
10514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_DiscardEdits",kwnames,&obj0)) goto fail;
093d3ff1
RD
10515 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10516 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10517 {
10518 PyThreadState* __tstate = wxPyBeginAllowThreads();
10519 (arg1)->DiscardEdits();
10520
10521 wxPyEndAllowThreads(__tstate);
10522 if (PyErr_Occurred()) SWIG_fail;
10523 }
10524 Py_INCREF(Py_None); resultobj = Py_None;
10525 return resultobj;
10526 fail:
10527 return NULL;
10528}
10529
10530
c32bde28 10531static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10532 PyObject *resultobj;
10533 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10534 unsigned long arg2 ;
10535 PyObject * obj0 = 0 ;
10536 PyObject * obj1 = 0 ;
10537 char *kwnames[] = {
10538 (char *) "self",(char *) "len", NULL
10539 };
10540
10541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10542 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10543 if (SWIG_arg_fail(1)) SWIG_fail;
10544 {
10545 arg2 = (unsigned long)(SWIG_As_unsigned_SS_long(obj1));
10546 if (SWIG_arg_fail(2)) SWIG_fail;
10547 }
d55e5bfc
RD
10548 {
10549 PyThreadState* __tstate = wxPyBeginAllowThreads();
10550 (arg1)->SetMaxLength(arg2);
10551
10552 wxPyEndAllowThreads(__tstate);
10553 if (PyErr_Occurred()) SWIG_fail;
10554 }
10555 Py_INCREF(Py_None); resultobj = Py_None;
10556 return resultobj;
10557 fail:
10558 return NULL;
10559}
10560
10561
c32bde28 10562static PyObject *_wrap_TextCtrl_WriteText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10563 PyObject *resultobj;
10564 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10565 wxString *arg2 = 0 ;
ae8162c8 10566 bool temp2 = false ;
d55e5bfc
RD
10567 PyObject * obj0 = 0 ;
10568 PyObject * obj1 = 0 ;
10569 char *kwnames[] = {
10570 (char *) "self",(char *) "text", NULL
10571 };
10572
10573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10574 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10575 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10576 {
10577 arg2 = wxString_in_helper(obj1);
10578 if (arg2 == NULL) SWIG_fail;
ae8162c8 10579 temp2 = true;
d55e5bfc
RD
10580 }
10581 {
10582 PyThreadState* __tstate = wxPyBeginAllowThreads();
10583 (arg1)->WriteText((wxString const &)*arg2);
10584
10585 wxPyEndAllowThreads(__tstate);
10586 if (PyErr_Occurred()) SWIG_fail;
10587 }
10588 Py_INCREF(Py_None); resultobj = Py_None;
10589 {
10590 if (temp2)
10591 delete arg2;
10592 }
10593 return resultobj;
10594 fail:
10595 {
10596 if (temp2)
10597 delete arg2;
10598 }
10599 return NULL;
10600}
10601
10602
c32bde28 10603static PyObject *_wrap_TextCtrl_AppendText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10604 PyObject *resultobj;
10605 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10606 wxString *arg2 = 0 ;
ae8162c8 10607 bool temp2 = false ;
d55e5bfc
RD
10608 PyObject * obj0 = 0 ;
10609 PyObject * obj1 = 0 ;
10610 char *kwnames[] = {
10611 (char *) "self",(char *) "text", NULL
10612 };
10613
10614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10615 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10616 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10617 {
10618 arg2 = wxString_in_helper(obj1);
10619 if (arg2 == NULL) SWIG_fail;
ae8162c8 10620 temp2 = true;
d55e5bfc
RD
10621 }
10622 {
10623 PyThreadState* __tstate = wxPyBeginAllowThreads();
10624 (arg1)->AppendText((wxString const &)*arg2);
10625
10626 wxPyEndAllowThreads(__tstate);
10627 if (PyErr_Occurred()) SWIG_fail;
10628 }
10629 Py_INCREF(Py_None); resultobj = Py_None;
10630 {
10631 if (temp2)
10632 delete arg2;
10633 }
10634 return resultobj;
10635 fail:
10636 {
10637 if (temp2)
10638 delete arg2;
10639 }
10640 return NULL;
10641}
10642
10643
c32bde28 10644static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10645 PyObject *resultobj;
10646 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10647 wxKeyEvent *arg2 = 0 ;
10648 bool result;
10649 PyObject * obj0 = 0 ;
10650 PyObject * obj1 = 0 ;
10651 char *kwnames[] = {
10652 (char *) "self",(char *) "event", NULL
10653 };
10654
10655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10656 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10657 if (SWIG_arg_fail(1)) SWIG_fail;
10658 {
10659 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
10660 if (SWIG_arg_fail(2)) SWIG_fail;
10661 if (arg2 == NULL) {
10662 SWIG_null_ref("wxKeyEvent");
10663 }
10664 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
10665 }
10666 {
10667 PyThreadState* __tstate = wxPyBeginAllowThreads();
10668 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
10669
10670 wxPyEndAllowThreads(__tstate);
10671 if (PyErr_Occurred()) SWIG_fail;
10672 }
10673 {
10674 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10675 }
10676 return resultobj;
10677 fail:
10678 return NULL;
10679}
10680
10681
c32bde28 10682static PyObject *_wrap_TextCtrl_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10683 PyObject *resultobj;
10684 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10685 long arg2 ;
10686 long arg3 ;
10687 wxTextAttr *arg4 = 0 ;
10688 bool result;
10689 PyObject * obj0 = 0 ;
10690 PyObject * obj1 = 0 ;
10691 PyObject * obj2 = 0 ;
10692 PyObject * obj3 = 0 ;
10693 char *kwnames[] = {
10694 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
10695 };
10696
10697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_SetStyle",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
10698 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10699 if (SWIG_arg_fail(1)) SWIG_fail;
10700 {
10701 arg2 = (long)(SWIG_As_long(obj1));
10702 if (SWIG_arg_fail(2)) SWIG_fail;
10703 }
10704 {
10705 arg3 = (long)(SWIG_As_long(obj2));
10706 if (SWIG_arg_fail(3)) SWIG_fail;
10707 }
10708 {
10709 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
10710 if (SWIG_arg_fail(4)) SWIG_fail;
10711 if (arg4 == NULL) {
10712 SWIG_null_ref("wxTextAttr");
10713 }
10714 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc
RD
10715 }
10716 {
10717 PyThreadState* __tstate = wxPyBeginAllowThreads();
10718 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
10719
10720 wxPyEndAllowThreads(__tstate);
10721 if (PyErr_Occurred()) SWIG_fail;
10722 }
10723 {
10724 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10725 }
10726 return resultobj;
10727 fail:
10728 return NULL;
10729}
10730
10731
c32bde28 10732static PyObject *_wrap_TextCtrl_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10733 PyObject *resultobj;
10734 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10735 long arg2 ;
10736 wxTextAttr *arg3 = 0 ;
10737 bool result;
10738 PyObject * obj0 = 0 ;
10739 PyObject * obj1 = 0 ;
10740 PyObject * obj2 = 0 ;
10741 char *kwnames[] = {
10742 (char *) "self",(char *) "position",(char *) "style", NULL
10743 };
10744
10745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10746 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10747 if (SWIG_arg_fail(1)) SWIG_fail;
10748 {
10749 arg2 = (long)(SWIG_As_long(obj1));
10750 if (SWIG_arg_fail(2)) SWIG_fail;
10751 }
10752 {
10753 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
10754 if (SWIG_arg_fail(3)) SWIG_fail;
10755 if (arg3 == NULL) {
10756 SWIG_null_ref("wxTextAttr");
10757 }
10758 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
10759 }
10760 {
10761 PyThreadState* __tstate = wxPyBeginAllowThreads();
10762 result = (bool)(arg1)->GetStyle(arg2,*arg3);
10763
10764 wxPyEndAllowThreads(__tstate);
10765 if (PyErr_Occurred()) SWIG_fail;
10766 }
10767 {
10768 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10769 }
10770 return resultobj;
10771 fail:
10772 return NULL;
10773}
10774
10775
c32bde28 10776static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10777 PyObject *resultobj;
10778 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10779 wxTextAttr *arg2 = 0 ;
10780 bool result;
10781 PyObject * obj0 = 0 ;
10782 PyObject * obj1 = 0 ;
10783 char *kwnames[] = {
10784 (char *) "self",(char *) "style", NULL
10785 };
10786
10787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10788 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10789 if (SWIG_arg_fail(1)) SWIG_fail;
10790 {
10791 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
10792 if (SWIG_arg_fail(2)) SWIG_fail;
10793 if (arg2 == NULL) {
10794 SWIG_null_ref("wxTextAttr");
10795 }
10796 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
10797 }
10798 {
10799 PyThreadState* __tstate = wxPyBeginAllowThreads();
10800 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
10801
10802 wxPyEndAllowThreads(__tstate);
10803 if (PyErr_Occurred()) SWIG_fail;
10804 }
10805 {
10806 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10807 }
10808 return resultobj;
10809 fail:
10810 return NULL;
10811}
10812
10813
c32bde28 10814static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10815 PyObject *resultobj;
10816 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10817 wxTextAttr *result;
10818 PyObject * obj0 = 0 ;
10819 char *kwnames[] = {
10820 (char *) "self", NULL
10821 };
10822
10823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetDefaultStyle",kwnames,&obj0)) goto fail;
093d3ff1
RD
10824 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10825 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10826 {
10827 PyThreadState* __tstate = wxPyBeginAllowThreads();
10828 {
10829 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
10830 result = (wxTextAttr *) &_result_ref;
10831 }
10832
10833 wxPyEndAllowThreads(__tstate);
10834 if (PyErr_Occurred()) SWIG_fail;
10835 }
10836 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 0);
10837 return resultobj;
10838 fail:
10839 return NULL;
10840}
10841
10842
c32bde28 10843static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10844 PyObject *resultobj;
10845 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10846 long arg2 ;
10847 long arg3 ;
10848 long result;
10849 PyObject * obj0 = 0 ;
10850 PyObject * obj1 = 0 ;
10851 PyObject * obj2 = 0 ;
10852 char *kwnames[] = {
10853 (char *) "self",(char *) "x",(char *) "y", NULL
10854 };
10855
10856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_XYToPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10857 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10858 if (SWIG_arg_fail(1)) SWIG_fail;
10859 {
10860 arg2 = (long)(SWIG_As_long(obj1));
10861 if (SWIG_arg_fail(2)) SWIG_fail;
10862 }
10863 {
10864 arg3 = (long)(SWIG_As_long(obj2));
10865 if (SWIG_arg_fail(3)) SWIG_fail;
10866 }
d55e5bfc
RD
10867 {
10868 PyThreadState* __tstate = wxPyBeginAllowThreads();
10869 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
10870
10871 wxPyEndAllowThreads(__tstate);
10872 if (PyErr_Occurred()) SWIG_fail;
10873 }
093d3ff1
RD
10874 {
10875 resultobj = SWIG_From_long((long)(result));
10876 }
d55e5bfc
RD
10877 return resultobj;
10878 fail:
10879 return NULL;
10880}
10881
10882
c32bde28 10883static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10884 PyObject *resultobj;
10885 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10886 long arg2 ;
10887 long *arg3 = (long *) 0 ;
10888 long *arg4 = (long *) 0 ;
10889 long temp3 ;
c32bde28 10890 int res3 = 0 ;
d55e5bfc 10891 long temp4 ;
c32bde28 10892 int res4 = 0 ;
d55e5bfc
RD
10893 PyObject * obj0 = 0 ;
10894 PyObject * obj1 = 0 ;
10895 char *kwnames[] = {
10896 (char *) "self",(char *) "pos", NULL
10897 };
10898
c32bde28
RD
10899 arg3 = &temp3; res3 = SWIG_NEWOBJ;
10900 arg4 = &temp4; res4 = SWIG_NEWOBJ;
d55e5bfc 10901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_PositionToXY",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10902 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10903 if (SWIG_arg_fail(1)) SWIG_fail;
10904 {
10905 arg2 = (long)(SWIG_As_long(obj1));
10906 if (SWIG_arg_fail(2)) SWIG_fail;
10907 }
d55e5bfc
RD
10908 {
10909 PyThreadState* __tstate = wxPyBeginAllowThreads();
10910 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
10911
10912 wxPyEndAllowThreads(__tstate);
10913 if (PyErr_Occurred()) SWIG_fail;
10914 }
10915 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
10916 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
10917 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
10918 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
10919 SWIG_From_long((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, 0)));
d55e5bfc
RD
10920 return resultobj;
10921 fail:
10922 return NULL;
10923}
10924
10925
c32bde28 10926static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10927 PyObject *resultobj;
10928 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10929 long arg2 ;
10930 PyObject * obj0 = 0 ;
10931 PyObject * obj1 = 0 ;
10932 char *kwnames[] = {
10933 (char *) "self",(char *) "pos", NULL
10934 };
10935
10936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ShowPosition",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10937 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10938 if (SWIG_arg_fail(1)) SWIG_fail;
10939 {
10940 arg2 = (long)(SWIG_As_long(obj1));
10941 if (SWIG_arg_fail(2)) SWIG_fail;
10942 }
d55e5bfc
RD
10943 {
10944 PyThreadState* __tstate = wxPyBeginAllowThreads();
10945 (arg1)->ShowPosition(arg2);
10946
10947 wxPyEndAllowThreads(__tstate);
10948 if (PyErr_Occurred()) SWIG_fail;
10949 }
10950 Py_INCREF(Py_None); resultobj = Py_None;
10951 return resultobj;
10952 fail:
10953 return NULL;
10954}
10955
10956
c32bde28 10957static PyObject *_wrap_TextCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10958 PyObject *resultobj;
10959 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10960 wxPoint *arg2 = 0 ;
10961 long *arg3 = (long *) 0 ;
10962 long *arg4 = (long *) 0 ;
093d3ff1 10963 wxTextCtrlHitTestResult result;
d55e5bfc
RD
10964 wxPoint temp2 ;
10965 long temp3 ;
c32bde28 10966 int res3 = 0 ;
d55e5bfc 10967 long temp4 ;
c32bde28 10968 int res4 = 0 ;
d55e5bfc
RD
10969 PyObject * obj0 = 0 ;
10970 PyObject * obj1 = 0 ;
10971 char *kwnames[] = {
10972 (char *) "self",(char *) "pt", NULL
10973 };
10974
c32bde28
RD
10975 arg3 = &temp3; res3 = SWIG_NEWOBJ;
10976 arg4 = &temp4; res4 = SWIG_NEWOBJ;
d55e5bfc 10977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10978 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10979 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10980 {
10981 arg2 = &temp2;
10982 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10983 }
10984 {
10985 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 10986 result = (wxTextCtrlHitTestResult)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3,arg4);
d55e5bfc
RD
10987
10988 wxPyEndAllowThreads(__tstate);
10989 if (PyErr_Occurred()) SWIG_fail;
10990 }
093d3ff1 10991 resultobj = SWIG_From_int((result));
c32bde28
RD
10992 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
10993 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
10994 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
10995 SWIG_From_long((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, 0)));
d55e5bfc
RD
10996 return resultobj;
10997 fail:
10998 return NULL;
10999}
11000
11001
c32bde28 11002static PyObject *_wrap_TextCtrl_HitTestPos(PyObject *, PyObject *args, PyObject *kwargs) {
4896ac9e
RD
11003 PyObject *resultobj;
11004 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11005 wxPoint *arg2 = 0 ;
11006 long *arg3 = (long *) 0 ;
093d3ff1 11007 wxTextCtrlHitTestResult result;
4896ac9e
RD
11008 wxPoint temp2 ;
11009 long temp3 ;
c32bde28 11010 int res3 = 0 ;
4896ac9e
RD
11011 PyObject * obj0 = 0 ;
11012 PyObject * obj1 = 0 ;
11013 char *kwnames[] = {
11014 (char *) "self",(char *) "pt", NULL
11015 };
11016
c32bde28 11017 arg3 = &temp3; res3 = SWIG_NEWOBJ;
4896ac9e 11018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTestPos",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11019 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11020 if (SWIG_arg_fail(1)) SWIG_fail;
4896ac9e
RD
11021 {
11022 arg2 = &temp2;
11023 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11024 }
11025 {
11026 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 11027 result = (wxTextCtrlHitTestResult)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
4896ac9e
RD
11028
11029 wxPyEndAllowThreads(__tstate);
11030 if (PyErr_Occurred()) SWIG_fail;
11031 }
093d3ff1 11032 resultobj = SWIG_From_int((result));
c32bde28
RD
11033 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
11034 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
4896ac9e
RD
11035 return resultobj;
11036 fail:
11037 return NULL;
11038}
11039
11040
c32bde28 11041static PyObject *_wrap_TextCtrl_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11042 PyObject *resultobj;
11043 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11044 PyObject * obj0 = 0 ;
11045 char *kwnames[] = {
11046 (char *) "self", NULL
11047 };
11048
11049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Copy",kwnames,&obj0)) goto fail;
093d3ff1
RD
11050 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11051 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11052 {
11053 PyThreadState* __tstate = wxPyBeginAllowThreads();
11054 (arg1)->Copy();
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_Cut(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11067 PyObject *resultobj;
11068 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11069 PyObject * obj0 = 0 ;
11070 char *kwnames[] = {
11071 (char *) "self", NULL
11072 };
11073
11074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Cut",kwnames,&obj0)) goto fail;
093d3ff1
RD
11075 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11076 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11077 {
11078 PyThreadState* __tstate = wxPyBeginAllowThreads();
11079 (arg1)->Cut();
11080
11081 wxPyEndAllowThreads(__tstate);
11082 if (PyErr_Occurred()) SWIG_fail;
11083 }
11084 Py_INCREF(Py_None); resultobj = Py_None;
11085 return resultobj;
11086 fail:
11087 return NULL;
11088}
11089
11090
c32bde28 11091static PyObject *_wrap_TextCtrl_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11092 PyObject *resultobj;
11093 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11094 PyObject * obj0 = 0 ;
11095 char *kwnames[] = {
11096 (char *) "self", NULL
11097 };
11098
11099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Paste",kwnames,&obj0)) goto fail;
093d3ff1
RD
11100 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11101 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11102 {
11103 PyThreadState* __tstate = wxPyBeginAllowThreads();
11104 (arg1)->Paste();
11105
11106 wxPyEndAllowThreads(__tstate);
11107 if (PyErr_Occurred()) SWIG_fail;
11108 }
11109 Py_INCREF(Py_None); resultobj = Py_None;
11110 return resultobj;
11111 fail:
11112 return NULL;
11113}
11114
11115
c32bde28 11116static PyObject *_wrap_TextCtrl_CanCopy(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11117 PyObject *resultobj;
11118 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11119 bool result;
11120 PyObject * obj0 = 0 ;
11121 char *kwnames[] = {
11122 (char *) "self", NULL
11123 };
11124
11125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCopy",kwnames,&obj0)) goto fail;
093d3ff1
RD
11126 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11127 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11128 {
11129 PyThreadState* __tstate = wxPyBeginAllowThreads();
11130 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
11131
11132 wxPyEndAllowThreads(__tstate);
11133 if (PyErr_Occurred()) SWIG_fail;
11134 }
11135 {
11136 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11137 }
11138 return resultobj;
11139 fail:
11140 return NULL;
11141}
11142
11143
c32bde28 11144static PyObject *_wrap_TextCtrl_CanCut(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11145 PyObject *resultobj;
11146 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11147 bool result;
11148 PyObject * obj0 = 0 ;
11149 char *kwnames[] = {
11150 (char *) "self", NULL
11151 };
11152
11153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCut",kwnames,&obj0)) goto fail;
093d3ff1
RD
11154 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11155 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11156 {
11157 PyThreadState* __tstate = wxPyBeginAllowThreads();
11158 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
11159
11160 wxPyEndAllowThreads(__tstate);
11161 if (PyErr_Occurred()) SWIG_fail;
11162 }
11163 {
11164 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11165 }
11166 return resultobj;
11167 fail:
11168 return NULL;
11169}
11170
11171
c32bde28 11172static PyObject *_wrap_TextCtrl_CanPaste(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11173 PyObject *resultobj;
11174 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11175 bool result;
11176 PyObject * obj0 = 0 ;
11177 char *kwnames[] = {
11178 (char *) "self", NULL
11179 };
11180
11181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanPaste",kwnames,&obj0)) goto fail;
093d3ff1
RD
11182 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11183 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11184 {
11185 PyThreadState* __tstate = wxPyBeginAllowThreads();
11186 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
11187
11188 wxPyEndAllowThreads(__tstate);
11189 if (PyErr_Occurred()) SWIG_fail;
11190 }
11191 {
11192 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11193 }
11194 return resultobj;
11195 fail:
11196 return NULL;
11197}
11198
11199
c32bde28 11200static PyObject *_wrap_TextCtrl_Undo(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_Undo",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)->Undo();
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_Redo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11226 PyObject *resultobj;
11227 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11228 PyObject * obj0 = 0 ;
11229 char *kwnames[] = {
11230 (char *) "self", NULL
11231 };
11232
11233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Redo",kwnames,&obj0)) goto fail;
093d3ff1
RD
11234 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11235 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11236 {
11237 PyThreadState* __tstate = wxPyBeginAllowThreads();
11238 (arg1)->Redo();
11239
11240 wxPyEndAllowThreads(__tstate);
11241 if (PyErr_Occurred()) SWIG_fail;
11242 }
11243 Py_INCREF(Py_None); resultobj = Py_None;
11244 return resultobj;
11245 fail:
11246 return NULL;
11247}
11248
11249
c32bde28 11250static PyObject *_wrap_TextCtrl_CanUndo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11251 PyObject *resultobj;
11252 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11253 bool result;
11254 PyObject * obj0 = 0 ;
11255 char *kwnames[] = {
11256 (char *) "self", NULL
11257 };
11258
11259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanUndo",kwnames,&obj0)) goto fail;
093d3ff1
RD
11260 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11261 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11262 {
11263 PyThreadState* __tstate = wxPyBeginAllowThreads();
11264 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
11265
11266 wxPyEndAllowThreads(__tstate);
11267 if (PyErr_Occurred()) SWIG_fail;
11268 }
11269 {
11270 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11271 }
11272 return resultobj;
11273 fail:
11274 return NULL;
11275}
11276
11277
c32bde28 11278static PyObject *_wrap_TextCtrl_CanRedo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11279 PyObject *resultobj;
11280 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11281 bool result;
11282 PyObject * obj0 = 0 ;
11283 char *kwnames[] = {
11284 (char *) "self", NULL
11285 };
11286
11287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanRedo",kwnames,&obj0)) goto fail;
093d3ff1
RD
11288 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11289 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11290 {
11291 PyThreadState* __tstate = wxPyBeginAllowThreads();
11292 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
11293
11294 wxPyEndAllowThreads(__tstate);
11295 if (PyErr_Occurred()) SWIG_fail;
11296 }
11297 {
11298 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11299 }
11300 return resultobj;
11301 fail:
11302 return NULL;
11303}
11304
11305
c32bde28 11306static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11307 PyObject *resultobj;
11308 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11309 long arg2 ;
11310 PyObject * obj0 = 0 ;
11311 PyObject * obj1 = 0 ;
11312 char *kwnames[] = {
11313 (char *) "self",(char *) "pos", NULL
11314 };
11315
11316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11317 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11318 if (SWIG_arg_fail(1)) SWIG_fail;
11319 {
11320 arg2 = (long)(SWIG_As_long(obj1));
11321 if (SWIG_arg_fail(2)) SWIG_fail;
11322 }
d55e5bfc
RD
11323 {
11324 PyThreadState* __tstate = wxPyBeginAllowThreads();
11325 (arg1)->SetInsertionPoint(arg2);
11326
11327 wxPyEndAllowThreads(__tstate);
11328 if (PyErr_Occurred()) SWIG_fail;
11329 }
11330 Py_INCREF(Py_None); resultobj = Py_None;
11331 return resultobj;
11332 fail:
11333 return NULL;
11334}
11335
11336
c32bde28 11337static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11338 PyObject *resultobj;
11339 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11340 PyObject * obj0 = 0 ;
11341 char *kwnames[] = {
11342 (char *) "self", NULL
11343 };
11344
11345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
093d3ff1
RD
11346 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11347 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11348 {
11349 PyThreadState* __tstate = wxPyBeginAllowThreads();
11350 (arg1)->SetInsertionPointEnd();
11351
11352 wxPyEndAllowThreads(__tstate);
11353 if (PyErr_Occurred()) SWIG_fail;
11354 }
11355 Py_INCREF(Py_None); resultobj = Py_None;
11356 return resultobj;
11357 fail:
11358 return NULL;
11359}
11360
11361
c32bde28 11362static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11363 PyObject *resultobj;
11364 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11365 long result;
11366 PyObject * obj0 = 0 ;
11367 char *kwnames[] = {
11368 (char *) "self", NULL
11369 };
11370
11371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetInsertionPoint",kwnames,&obj0)) goto fail;
093d3ff1
RD
11372 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11373 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11374 {
11375 PyThreadState* __tstate = wxPyBeginAllowThreads();
11376 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
11377
11378 wxPyEndAllowThreads(__tstate);
11379 if (PyErr_Occurred()) SWIG_fail;
11380 }
093d3ff1
RD
11381 {
11382 resultobj = SWIG_From_long((long)(result));
11383 }
d55e5bfc
RD
11384 return resultobj;
11385 fail:
11386 return NULL;
11387}
11388
11389
c32bde28 11390static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11391 PyObject *resultobj;
11392 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11393 long result;
11394 PyObject * obj0 = 0 ;
11395 char *kwnames[] = {
11396 (char *) "self", NULL
11397 };
11398
11399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetLastPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
11400 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11401 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11402 {
11403 PyThreadState* __tstate = wxPyBeginAllowThreads();
11404 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
11405
11406 wxPyEndAllowThreads(__tstate);
11407 if (PyErr_Occurred()) SWIG_fail;
11408 }
093d3ff1
RD
11409 {
11410 resultobj = SWIG_From_long((long)(result));
11411 }
d55e5bfc
RD
11412 return resultobj;
11413 fail:
11414 return NULL;
11415}
11416
11417
c32bde28 11418static PyObject *_wrap_TextCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11419 PyObject *resultobj;
11420 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11421 long arg2 ;
11422 long arg3 ;
11423 PyObject * obj0 = 0 ;
11424 PyObject * obj1 = 0 ;
11425 PyObject * obj2 = 0 ;
11426 char *kwnames[] = {
11427 (char *) "self",(char *) "from",(char *) "to", NULL
11428 };
11429
11430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
11431 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11432 if (SWIG_arg_fail(1)) SWIG_fail;
11433 {
11434 arg2 = (long)(SWIG_As_long(obj1));
11435 if (SWIG_arg_fail(2)) SWIG_fail;
11436 }
11437 {
11438 arg3 = (long)(SWIG_As_long(obj2));
11439 if (SWIG_arg_fail(3)) SWIG_fail;
11440 }
d55e5bfc
RD
11441 {
11442 PyThreadState* __tstate = wxPyBeginAllowThreads();
11443 (arg1)->SetSelection(arg2,arg3);
11444
11445 wxPyEndAllowThreads(__tstate);
11446 if (PyErr_Occurred()) SWIG_fail;
11447 }
11448 Py_INCREF(Py_None); resultobj = Py_None;
11449 return resultobj;
11450 fail:
11451 return NULL;
11452}
11453
11454
c32bde28 11455static PyObject *_wrap_TextCtrl_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11456 PyObject *resultobj;
11457 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11458 PyObject * obj0 = 0 ;
11459 char *kwnames[] = {
11460 (char *) "self", NULL
11461 };
11462
11463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SelectAll",kwnames,&obj0)) goto fail;
093d3ff1
RD
11464 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11465 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11466 {
11467 PyThreadState* __tstate = wxPyBeginAllowThreads();
11468 (arg1)->SelectAll();
11469
11470 wxPyEndAllowThreads(__tstate);
11471 if (PyErr_Occurred()) SWIG_fail;
11472 }
11473 Py_INCREF(Py_None); resultobj = Py_None;
11474 return resultobj;
11475 fail:
11476 return NULL;
11477}
11478
11479
c32bde28 11480static PyObject *_wrap_TextCtrl_SetEditable(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11481 PyObject *resultobj;
11482 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11483 bool arg2 ;
11484 PyObject * obj0 = 0 ;
11485 PyObject * obj1 = 0 ;
11486 char *kwnames[] = {
11487 (char *) "self",(char *) "editable", NULL
11488 };
11489
11490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11491 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11492 if (SWIG_arg_fail(1)) SWIG_fail;
11493 {
11494 arg2 = (bool)(SWIG_As_bool(obj1));
11495 if (SWIG_arg_fail(2)) SWIG_fail;
11496 }
d55e5bfc
RD
11497 {
11498 PyThreadState* __tstate = wxPyBeginAllowThreads();
11499 (arg1)->SetEditable(arg2);
11500
11501 wxPyEndAllowThreads(__tstate);
11502 if (PyErr_Occurred()) SWIG_fail;
11503 }
11504 Py_INCREF(Py_None); resultobj = Py_None;
11505 return resultobj;
11506 fail:
11507 return NULL;
11508}
11509
11510
c32bde28 11511static PyObject *_wrap_TextCtrl_ShowNativeCaret(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11512 PyObject *resultobj;
11513 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
ae8162c8 11514 bool arg2 = (bool) true ;
d55e5bfc
RD
11515 bool result;
11516 PyObject * obj0 = 0 ;
11517 PyObject * obj1 = 0 ;
11518 char *kwnames[] = {
11519 (char *) "self",(char *) "show", NULL
11520 };
11521
11522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11523 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11524 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 11525 if (obj1) {
093d3ff1
RD
11526 {
11527 arg2 = (bool)(SWIG_As_bool(obj1));
11528 if (SWIG_arg_fail(2)) SWIG_fail;
11529 }
d55e5bfc
RD
11530 }
11531 {
11532 PyThreadState* __tstate = wxPyBeginAllowThreads();
11533 result = (bool)(arg1)->ShowNativeCaret(arg2);
11534
11535 wxPyEndAllowThreads(__tstate);
11536 if (PyErr_Occurred()) SWIG_fail;
11537 }
11538 {
11539 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11540 }
11541 return resultobj;
11542 fail:
11543 return NULL;
11544}
11545
11546
c32bde28 11547static PyObject *_wrap_TextCtrl_HideNativeCaret(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11548 PyObject *resultobj;
11549 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11550 bool result;
11551 PyObject * obj0 = 0 ;
11552 char *kwnames[] = {
11553 (char *) "self", NULL
11554 };
11555
11556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_HideNativeCaret",kwnames,&obj0)) goto fail;
093d3ff1
RD
11557 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11558 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11559 {
11560 PyThreadState* __tstate = wxPyBeginAllowThreads();
11561 result = (bool)(arg1)->HideNativeCaret();
11562
11563 wxPyEndAllowThreads(__tstate);
11564 if (PyErr_Occurred()) SWIG_fail;
11565 }
11566 {
11567 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11568 }
11569 return resultobj;
11570 fail:
11571 return NULL;
11572}
11573
11574
c32bde28 11575static PyObject *_wrap_TextCtrl_write(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11576 PyObject *resultobj;
11577 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11578 wxString *arg2 = 0 ;
ae8162c8 11579 bool temp2 = false ;
d55e5bfc
RD
11580 PyObject * obj0 = 0 ;
11581 PyObject * obj1 = 0 ;
11582 char *kwnames[] = {
11583 (char *) "self",(char *) "text", NULL
11584 };
11585
11586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11587 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11588 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11589 {
11590 arg2 = wxString_in_helper(obj1);
11591 if (arg2 == NULL) SWIG_fail;
ae8162c8 11592 temp2 = true;
d55e5bfc
RD
11593 }
11594 {
11595 PyThreadState* __tstate = wxPyBeginAllowThreads();
11596 wxTextCtrl_write(arg1,(wxString const &)*arg2);
11597
11598 wxPyEndAllowThreads(__tstate);
11599 if (PyErr_Occurred()) SWIG_fail;
11600 }
11601 Py_INCREF(Py_None); resultobj = Py_None;
11602 {
11603 if (temp2)
11604 delete arg2;
11605 }
11606 return resultobj;
11607 fail:
11608 {
11609 if (temp2)
11610 delete arg2;
11611 }
11612 return NULL;
11613}
11614
11615
c32bde28 11616static PyObject *_wrap_TextCtrl_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11617 PyObject *resultobj;
11618 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11619 long arg2 ;
11620 long arg3 ;
11621 wxString result;
11622 PyObject * obj0 = 0 ;
11623 PyObject * obj1 = 0 ;
11624 PyObject * obj2 = 0 ;
11625 char *kwnames[] = {
11626 (char *) "self",(char *) "from",(char *) "to", NULL
11627 };
11628
11629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
11630 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11631 if (SWIG_arg_fail(1)) SWIG_fail;
11632 {
11633 arg2 = (long)(SWIG_As_long(obj1));
11634 if (SWIG_arg_fail(2)) SWIG_fail;
11635 }
11636 {
11637 arg3 = (long)(SWIG_As_long(obj2));
11638 if (SWIG_arg_fail(3)) SWIG_fail;
11639 }
d55e5bfc
RD
11640 {
11641 PyThreadState* __tstate = wxPyBeginAllowThreads();
11642 result = wxTextCtrl_GetString(arg1,arg2,arg3);
11643
11644 wxPyEndAllowThreads(__tstate);
11645 if (PyErr_Occurred()) SWIG_fail;
11646 }
11647 {
11648#if wxUSE_UNICODE
11649 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11650#else
11651 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11652#endif
11653 }
11654 return resultobj;
11655 fail:
11656 return NULL;
11657}
11658
11659
c32bde28 11660static PyObject *_wrap_TextCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 11661 PyObject *resultobj;
093d3ff1 11662 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
11663 wxVisualAttributes result;
11664 PyObject * obj0 = 0 ;
11665 char *kwnames[] = {
11666 (char *) "variant", NULL
11667 };
11668
11669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
11670 if (obj0) {
093d3ff1
RD
11671 {
11672 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
11673 if (SWIG_arg_fail(1)) SWIG_fail;
11674 }
f20a2e1f
RD
11675 }
11676 {
19272049 11677 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
11678 PyThreadState* __tstate = wxPyBeginAllowThreads();
11679 result = wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
11680
11681 wxPyEndAllowThreads(__tstate);
110da5b0 11682 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
11683 }
11684 {
11685 wxVisualAttributes * resultptr;
093d3ff1 11686 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
11687 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
11688 }
11689 return resultobj;
11690 fail:
11691 return NULL;
11692}
11693
11694
c32bde28 11695static PyObject * TextCtrl_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
11696 PyObject *obj;
11697 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11698 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl, obj);
11699 Py_INCREF(obj);
11700 return Py_BuildValue((char *)"");
11701}
c32bde28 11702static PyObject *_wrap_new_TextUrlEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11703 PyObject *resultobj;
11704 int arg1 ;
11705 wxMouseEvent *arg2 = 0 ;
11706 long arg3 ;
11707 long arg4 ;
11708 wxTextUrlEvent *result;
11709 PyObject * obj0 = 0 ;
11710 PyObject * obj1 = 0 ;
11711 PyObject * obj2 = 0 ;
11712 PyObject * obj3 = 0 ;
11713 char *kwnames[] = {
11714 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
11715 };
11716
11717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_TextUrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
11718 {
11719 arg1 = (int)(SWIG_As_int(obj0));
11720 if (SWIG_arg_fail(1)) SWIG_fail;
11721 }
11722 {
11723 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
11724 if (SWIG_arg_fail(2)) SWIG_fail;
11725 if (arg2 == NULL) {
11726 SWIG_null_ref("wxMouseEvent");
11727 }
11728 if (SWIG_arg_fail(2)) SWIG_fail;
11729 }
11730 {
11731 arg3 = (long)(SWIG_As_long(obj2));
11732 if (SWIG_arg_fail(3)) SWIG_fail;
11733 }
11734 {
11735 arg4 = (long)(SWIG_As_long(obj3));
11736 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc 11737 }
d55e5bfc
RD
11738 {
11739 PyThreadState* __tstate = wxPyBeginAllowThreads();
11740 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
11741
11742 wxPyEndAllowThreads(__tstate);
11743 if (PyErr_Occurred()) SWIG_fail;
11744 }
11745 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextUrlEvent, 1);
11746 return resultobj;
11747 fail:
11748 return NULL;
11749}
11750
11751
c32bde28 11752static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11753 PyObject *resultobj;
11754 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
11755 wxMouseEvent *result;
11756 PyObject * obj0 = 0 ;
11757 char *kwnames[] = {
11758 (char *) "self", NULL
11759 };
11760
11761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames,&obj0)) goto fail;
093d3ff1
RD
11762 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_EXCEPTION | 0);
11763 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11764 {
11765 PyThreadState* __tstate = wxPyBeginAllowThreads();
11766 {
11767 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
11768 result = (wxMouseEvent *) &_result_ref;
11769 }
11770
11771 wxPyEndAllowThreads(__tstate);
11772 if (PyErr_Occurred()) SWIG_fail;
11773 }
11774 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMouseEvent, 0);
11775 return resultobj;
11776 fail:
11777 return NULL;
11778}
11779
11780
c32bde28 11781static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11782 PyObject *resultobj;
11783 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
11784 long result;
11785 PyObject * obj0 = 0 ;
11786 char *kwnames[] = {
11787 (char *) "self", NULL
11788 };
11789
11790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLStart",kwnames,&obj0)) goto fail;
093d3ff1
RD
11791 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_EXCEPTION | 0);
11792 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11793 {
11794 PyThreadState* __tstate = wxPyBeginAllowThreads();
11795 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
11796
11797 wxPyEndAllowThreads(__tstate);
11798 if (PyErr_Occurred()) SWIG_fail;
11799 }
093d3ff1
RD
11800 {
11801 resultobj = SWIG_From_long((long)(result));
11802 }
d55e5bfc
RD
11803 return resultobj;
11804 fail:
11805 return NULL;
11806}
11807
11808
c32bde28 11809static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11810 PyObject *resultobj;
11811 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
11812 long result;
11813 PyObject * obj0 = 0 ;
11814 char *kwnames[] = {
11815 (char *) "self", NULL
11816 };
11817
11818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLEnd",kwnames,&obj0)) goto fail;
093d3ff1
RD
11819 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_EXCEPTION | 0);
11820 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11821 {
11822 PyThreadState* __tstate = wxPyBeginAllowThreads();
11823 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
11824
11825 wxPyEndAllowThreads(__tstate);
11826 if (PyErr_Occurred()) SWIG_fail;
11827 }
093d3ff1
RD
11828 {
11829 resultobj = SWIG_From_long((long)(result));
11830 }
d55e5bfc
RD
11831 return resultobj;
11832 fail:
11833 return NULL;
11834}
11835
11836
c32bde28 11837static PyObject * TextUrlEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
11838 PyObject *obj;
11839 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11840 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent, obj);
11841 Py_INCREF(obj);
11842 return Py_BuildValue((char *)"");
11843}
c32bde28 11844static int _wrap_ScrollBarNameStr_set(PyObject *) {
d55e5bfc
RD
11845 PyErr_SetString(PyExc_TypeError,"Variable ScrollBarNameStr is read-only.");
11846 return 1;
11847}
11848
11849
093d3ff1 11850static PyObject *_wrap_ScrollBarNameStr_get(void) {
d55e5bfc
RD
11851 PyObject *pyobj;
11852
11853 {
11854#if wxUSE_UNICODE
11855 pyobj = PyUnicode_FromWideChar((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
11856#else
11857 pyobj = PyString_FromStringAndSize((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
11858#endif
11859 }
11860 return pyobj;
11861}
11862
11863
c32bde28 11864static PyObject *_wrap_new_ScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11865 PyObject *resultobj;
11866 wxWindow *arg1 = (wxWindow *) 0 ;
11867 int arg2 = (int) -1 ;
11868 wxPoint const &arg3_defvalue = wxDefaultPosition ;
11869 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
11870 wxSize const &arg4_defvalue = wxDefaultSize ;
11871 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
11872 long arg5 = (long) wxSB_HORIZONTAL ;
11873 wxValidator const &arg6_defvalue = wxDefaultValidator ;
11874 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
11875 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
11876 wxString *arg7 = (wxString *) &arg7_defvalue ;
11877 wxScrollBar *result;
11878 wxPoint temp3 ;
11879 wxSize temp4 ;
ae8162c8 11880 bool temp7 = false ;
d55e5bfc
RD
11881 PyObject * obj0 = 0 ;
11882 PyObject * obj1 = 0 ;
11883 PyObject * obj2 = 0 ;
11884 PyObject * obj3 = 0 ;
11885 PyObject * obj4 = 0 ;
11886 PyObject * obj5 = 0 ;
11887 PyObject * obj6 = 0 ;
11888 char *kwnames[] = {
11889 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11890 };
11891
11892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ScrollBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
11893 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11894 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 11895 if (obj1) {
093d3ff1
RD
11896 {
11897 arg2 = (int)(SWIG_As_int(obj1));
11898 if (SWIG_arg_fail(2)) SWIG_fail;
11899 }
d55e5bfc
RD
11900 }
11901 if (obj2) {
11902 {
11903 arg3 = &temp3;
11904 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11905 }
11906 }
11907 if (obj3) {
11908 {
11909 arg4 = &temp4;
11910 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
11911 }
11912 }
11913 if (obj4) {
093d3ff1
RD
11914 {
11915 arg5 = (long)(SWIG_As_long(obj4));
11916 if (SWIG_arg_fail(5)) SWIG_fail;
11917 }
d55e5bfc
RD
11918 }
11919 if (obj5) {
093d3ff1
RD
11920 {
11921 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
11922 if (SWIG_arg_fail(6)) SWIG_fail;
11923 if (arg6 == NULL) {
11924 SWIG_null_ref("wxValidator");
11925 }
11926 if (SWIG_arg_fail(6)) SWIG_fail;
d55e5bfc
RD
11927 }
11928 }
11929 if (obj6) {
11930 {
11931 arg7 = wxString_in_helper(obj6);
11932 if (arg7 == NULL) SWIG_fail;
ae8162c8 11933 temp7 = true;
d55e5bfc
RD
11934 }
11935 }
11936 {
0439c23b 11937 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
11938 PyThreadState* __tstate = wxPyBeginAllowThreads();
11939 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
11940
11941 wxPyEndAllowThreads(__tstate);
110da5b0 11942 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11943 }
11944 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
11945 {
11946 if (temp7)
11947 delete arg7;
11948 }
11949 return resultobj;
11950 fail:
11951 {
11952 if (temp7)
11953 delete arg7;
11954 }
11955 return NULL;
11956}
11957
11958
c32bde28 11959static PyObject *_wrap_new_PreScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11960 PyObject *resultobj;
11961 wxScrollBar *result;
11962 char *kwnames[] = {
11963 NULL
11964 };
11965
11966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrollBar",kwnames)) goto fail;
11967 {
0439c23b 11968 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
11969 PyThreadState* __tstate = wxPyBeginAllowThreads();
11970 result = (wxScrollBar *)new wxScrollBar();
11971
11972 wxPyEndAllowThreads(__tstate);
110da5b0 11973 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11974 }
11975 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
11976 return resultobj;
11977 fail:
11978 return NULL;
11979}
11980
11981
c32bde28 11982static PyObject *_wrap_ScrollBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11983 PyObject *resultobj;
11984 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
11985 wxWindow *arg2 = (wxWindow *) 0 ;
11986 int arg3 = (int) -1 ;
11987 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11988 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11989 wxSize const &arg5_defvalue = wxDefaultSize ;
11990 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11991 long arg6 = (long) wxSB_HORIZONTAL ;
11992 wxValidator const &arg7_defvalue = wxDefaultValidator ;
11993 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
11994 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
11995 wxString *arg8 = (wxString *) &arg8_defvalue ;
11996 bool result;
11997 wxPoint temp4 ;
11998 wxSize temp5 ;
ae8162c8 11999 bool temp8 = false ;
d55e5bfc
RD
12000 PyObject * obj0 = 0 ;
12001 PyObject * obj1 = 0 ;
12002 PyObject * obj2 = 0 ;
12003 PyObject * obj3 = 0 ;
12004 PyObject * obj4 = 0 ;
12005 PyObject * obj5 = 0 ;
12006 PyObject * obj6 = 0 ;
12007 PyObject * obj7 = 0 ;
12008 char *kwnames[] = {
12009 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12010 };
12011
12012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
12013 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12014 if (SWIG_arg_fail(1)) SWIG_fail;
12015 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12016 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 12017 if (obj2) {
093d3ff1
RD
12018 {
12019 arg3 = (int)(SWIG_As_int(obj2));
12020 if (SWIG_arg_fail(3)) SWIG_fail;
12021 }
d55e5bfc
RD
12022 }
12023 if (obj3) {
12024 {
12025 arg4 = &temp4;
12026 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12027 }
12028 }
12029 if (obj4) {
12030 {
12031 arg5 = &temp5;
12032 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12033 }
12034 }
12035 if (obj5) {
093d3ff1
RD
12036 {
12037 arg6 = (long)(SWIG_As_long(obj5));
12038 if (SWIG_arg_fail(6)) SWIG_fail;
12039 }
d55e5bfc
RD
12040 }
12041 if (obj6) {
093d3ff1
RD
12042 {
12043 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
12044 if (SWIG_arg_fail(7)) SWIG_fail;
12045 if (arg7 == NULL) {
12046 SWIG_null_ref("wxValidator");
12047 }
12048 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
12049 }
12050 }
12051 if (obj7) {
12052 {
12053 arg8 = wxString_in_helper(obj7);
12054 if (arg8 == NULL) SWIG_fail;
ae8162c8 12055 temp8 = true;
d55e5bfc
RD
12056 }
12057 }
12058 {
12059 PyThreadState* __tstate = wxPyBeginAllowThreads();
12060 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
12061
12062 wxPyEndAllowThreads(__tstate);
12063 if (PyErr_Occurred()) SWIG_fail;
12064 }
12065 {
12066 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12067 }
12068 {
12069 if (temp8)
12070 delete arg8;
12071 }
12072 return resultobj;
12073 fail:
12074 {
12075 if (temp8)
12076 delete arg8;
12077 }
12078 return NULL;
12079}
12080
12081
c32bde28 12082static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12083 PyObject *resultobj;
12084 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12085 int result;
12086 PyObject * obj0 = 0 ;
12087 char *kwnames[] = {
12088 (char *) "self", NULL
12089 };
12090
12091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
12092 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12093 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12094 {
12095 PyThreadState* __tstate = wxPyBeginAllowThreads();
12096 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
12097
12098 wxPyEndAllowThreads(__tstate);
12099 if (PyErr_Occurred()) SWIG_fail;
12100 }
093d3ff1
RD
12101 {
12102 resultobj = SWIG_From_int((int)(result));
12103 }
d55e5bfc
RD
12104 return resultobj;
12105 fail:
12106 return NULL;
12107}
12108
12109
c32bde28 12110static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12111 PyObject *resultobj;
12112 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12113 int result;
12114 PyObject * obj0 = 0 ;
12115 char *kwnames[] = {
12116 (char *) "self", NULL
12117 };
12118
12119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
12120 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12121 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12122 {
12123 PyThreadState* __tstate = wxPyBeginAllowThreads();
12124 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
12125
12126 wxPyEndAllowThreads(__tstate);
12127 if (PyErr_Occurred()) SWIG_fail;
12128 }
093d3ff1
RD
12129 {
12130 resultobj = SWIG_From_int((int)(result));
12131 }
d55e5bfc
RD
12132 return resultobj;
12133 fail:
12134 return NULL;
12135}
12136
12137
c32bde28 12138static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12139 PyObject *resultobj;
12140 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12141 int result;
12142 PyObject * obj0 = 0 ;
12143 char *kwnames[] = {
12144 (char *) "self", NULL
12145 };
12146
12147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetPageSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
12148 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12149 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12150 {
12151 PyThreadState* __tstate = wxPyBeginAllowThreads();
12152 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
12153
12154 wxPyEndAllowThreads(__tstate);
12155 if (PyErr_Occurred()) SWIG_fail;
12156 }
093d3ff1
RD
12157 {
12158 resultobj = SWIG_From_int((int)(result));
12159 }
d55e5bfc
RD
12160 return resultobj;
12161 fail:
12162 return NULL;
12163}
12164
12165
c32bde28 12166static PyObject *_wrap_ScrollBar_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12167 PyObject *resultobj;
12168 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12169 int result;
12170 PyObject * obj0 = 0 ;
12171 char *kwnames[] = {
12172 (char *) "self", NULL
12173 };
12174
12175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetRange",kwnames,&obj0)) goto fail;
093d3ff1
RD
12176 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12177 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12178 {
12179 PyThreadState* __tstate = wxPyBeginAllowThreads();
12180 result = (int)((wxScrollBar const *)arg1)->GetRange();
12181
12182 wxPyEndAllowThreads(__tstate);
12183 if (PyErr_Occurred()) SWIG_fail;
12184 }
093d3ff1
RD
12185 {
12186 resultobj = SWIG_From_int((int)(result));
12187 }
d55e5bfc
RD
12188 return resultobj;
12189 fail:
12190 return NULL;
12191}
12192
12193
c32bde28 12194static PyObject *_wrap_ScrollBar_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12195 PyObject *resultobj;
12196 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12197 bool result;
12198 PyObject * obj0 = 0 ;
12199 char *kwnames[] = {
12200 (char *) "self", NULL
12201 };
12202
12203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_IsVertical",kwnames,&obj0)) goto fail;
093d3ff1
RD
12204 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12205 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12206 {
12207 PyThreadState* __tstate = wxPyBeginAllowThreads();
12208 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
12209
12210 wxPyEndAllowThreads(__tstate);
12211 if (PyErr_Occurred()) SWIG_fail;
12212 }
12213 {
12214 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12215 }
12216 return resultobj;
12217 fail:
12218 return NULL;
12219}
12220
12221
c32bde28 12222static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12223 PyObject *resultobj;
12224 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12225 int arg2 ;
12226 PyObject * obj0 = 0 ;
12227 PyObject * obj1 = 0 ;
12228 char *kwnames[] = {
12229 (char *) "self",(char *) "viewStart", NULL
12230 };
12231
12232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollBar_SetThumbPosition",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12233 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12234 if (SWIG_arg_fail(1)) SWIG_fail;
12235 {
12236 arg2 = (int)(SWIG_As_int(obj1));
12237 if (SWIG_arg_fail(2)) SWIG_fail;
12238 }
d55e5bfc
RD
12239 {
12240 PyThreadState* __tstate = wxPyBeginAllowThreads();
12241 (arg1)->SetThumbPosition(arg2);
12242
12243 wxPyEndAllowThreads(__tstate);
12244 if (PyErr_Occurred()) SWIG_fail;
12245 }
12246 Py_INCREF(Py_None); resultobj = Py_None;
12247 return resultobj;
12248 fail:
12249 return NULL;
12250}
12251
12252
c32bde28 12253static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12254 PyObject *resultobj;
12255 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12256 int arg2 ;
12257 int arg3 ;
12258 int arg4 ;
12259 int arg5 ;
ae8162c8 12260 bool arg6 = (bool) true ;
d55e5bfc
RD
12261 PyObject * obj0 = 0 ;
12262 PyObject * obj1 = 0 ;
12263 PyObject * obj2 = 0 ;
12264 PyObject * obj3 = 0 ;
12265 PyObject * obj4 = 0 ;
12266 PyObject * obj5 = 0 ;
12267 char *kwnames[] = {
12268 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
12269 };
12270
12271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
12272 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12273 if (SWIG_arg_fail(1)) SWIG_fail;
12274 {
12275 arg2 = (int)(SWIG_As_int(obj1));
12276 if (SWIG_arg_fail(2)) SWIG_fail;
12277 }
12278 {
12279 arg3 = (int)(SWIG_As_int(obj2));
12280 if (SWIG_arg_fail(3)) SWIG_fail;
12281 }
12282 {
12283 arg4 = (int)(SWIG_As_int(obj3));
12284 if (SWIG_arg_fail(4)) SWIG_fail;
12285 }
12286 {
12287 arg5 = (int)(SWIG_As_int(obj4));
12288 if (SWIG_arg_fail(5)) SWIG_fail;
12289 }
d55e5bfc 12290 if (obj5) {
093d3ff1
RD
12291 {
12292 arg6 = (bool)(SWIG_As_bool(obj5));
12293 if (SWIG_arg_fail(6)) SWIG_fail;
12294 }
d55e5bfc
RD
12295 }
12296 {
12297 PyThreadState* __tstate = wxPyBeginAllowThreads();
12298 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
12299
12300 wxPyEndAllowThreads(__tstate);
12301 if (PyErr_Occurred()) SWIG_fail;
12302 }
12303 Py_INCREF(Py_None); resultobj = Py_None;
12304 return resultobj;
12305 fail:
12306 return NULL;
12307}
12308
12309
c32bde28 12310static PyObject *_wrap_ScrollBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 12311 PyObject *resultobj;
093d3ff1 12312 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
12313 wxVisualAttributes result;
12314 PyObject * obj0 = 0 ;
12315 char *kwnames[] = {
12316 (char *) "variant", NULL
12317 };
12318
12319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
12320 if (obj0) {
093d3ff1
RD
12321 {
12322 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
12323 if (SWIG_arg_fail(1)) SWIG_fail;
12324 }
f20a2e1f
RD
12325 }
12326 {
19272049 12327 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
12328 PyThreadState* __tstate = wxPyBeginAllowThreads();
12329 result = wxScrollBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
12330
12331 wxPyEndAllowThreads(__tstate);
110da5b0 12332 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
12333 }
12334 {
12335 wxVisualAttributes * resultptr;
093d3ff1 12336 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
12337 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
12338 }
12339 return resultobj;
12340 fail:
12341 return NULL;
12342}
12343
12344
c32bde28 12345static PyObject * ScrollBar_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
12346 PyObject *obj;
12347 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12348 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar, obj);
12349 Py_INCREF(obj);
12350 return Py_BuildValue((char *)"");
12351}
c32bde28 12352static int _wrap_SPIN_BUTTON_NAME_set(PyObject *) {
d55e5bfc
RD
12353 PyErr_SetString(PyExc_TypeError,"Variable SPIN_BUTTON_NAME is read-only.");
12354 return 1;
12355}
12356
12357
093d3ff1 12358static PyObject *_wrap_SPIN_BUTTON_NAME_get(void) {
d55e5bfc
RD
12359 PyObject *pyobj;
12360
12361 {
12362#if wxUSE_UNICODE
12363 pyobj = PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
12364#else
12365 pyobj = PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
12366#endif
12367 }
12368 return pyobj;
12369}
12370
12371
c32bde28 12372static int _wrap_SpinCtrlNameStr_set(PyObject *) {
d55e5bfc
RD
12373 PyErr_SetString(PyExc_TypeError,"Variable SpinCtrlNameStr is read-only.");
12374 return 1;
12375}
12376
12377
093d3ff1 12378static PyObject *_wrap_SpinCtrlNameStr_get(void) {
d55e5bfc
RD
12379 PyObject *pyobj;
12380
12381 {
12382#if wxUSE_UNICODE
12383 pyobj = PyUnicode_FromWideChar((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
12384#else
12385 pyobj = PyString_FromStringAndSize((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
12386#endif
12387 }
12388 return pyobj;
12389}
12390
12391
c32bde28 12392static PyObject *_wrap_new_SpinButton(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12393 PyObject *resultobj;
12394 wxWindow *arg1 = (wxWindow *) 0 ;
12395 int arg2 = (int) -1 ;
12396 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12397 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12398 wxSize const &arg4_defvalue = wxDefaultSize ;
12399 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12400 long arg5 = (long) wxSP_HORIZONTAL ;
12401 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
12402 wxString *arg6 = (wxString *) &arg6_defvalue ;
12403 wxSpinButton *result;
12404 wxPoint temp3 ;
12405 wxSize temp4 ;
ae8162c8 12406 bool temp6 = false ;
d55e5bfc
RD
12407 PyObject * obj0 = 0 ;
12408 PyObject * obj1 = 0 ;
12409 PyObject * obj2 = 0 ;
12410 PyObject * obj3 = 0 ;
12411 PyObject * obj4 = 0 ;
12412 PyObject * obj5 = 0 ;
12413 char *kwnames[] = {
12414 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12415 };
12416
12417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SpinButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
12418 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12419 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 12420 if (obj1) {
093d3ff1
RD
12421 {
12422 arg2 = (int)(SWIG_As_int(obj1));
12423 if (SWIG_arg_fail(2)) SWIG_fail;
12424 }
d55e5bfc
RD
12425 }
12426 if (obj2) {
12427 {
12428 arg3 = &temp3;
12429 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12430 }
12431 }
12432 if (obj3) {
12433 {
12434 arg4 = &temp4;
12435 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12436 }
12437 }
12438 if (obj4) {
093d3ff1
RD
12439 {
12440 arg5 = (long)(SWIG_As_long(obj4));
12441 if (SWIG_arg_fail(5)) SWIG_fail;
12442 }
d55e5bfc
RD
12443 }
12444 if (obj5) {
12445 {
12446 arg6 = wxString_in_helper(obj5);
12447 if (arg6 == NULL) SWIG_fail;
ae8162c8 12448 temp6 = true;
d55e5bfc
RD
12449 }
12450 }
12451 {
0439c23b 12452 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
12453 PyThreadState* __tstate = wxPyBeginAllowThreads();
12454 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12455
12456 wxPyEndAllowThreads(__tstate);
110da5b0 12457 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
12458 }
12459 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
12460 {
12461 if (temp6)
12462 delete arg6;
12463 }
12464 return resultobj;
12465 fail:
12466 {
12467 if (temp6)
12468 delete arg6;
12469 }
12470 return NULL;
12471}
12472
12473
c32bde28 12474static PyObject *_wrap_new_PreSpinButton(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12475 PyObject *resultobj;
12476 wxSpinButton *result;
12477 char *kwnames[] = {
12478 NULL
12479 };
12480
12481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinButton",kwnames)) goto fail;
12482 {
0439c23b 12483 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
12484 PyThreadState* __tstate = wxPyBeginAllowThreads();
12485 result = (wxSpinButton *)new wxSpinButton();
12486
12487 wxPyEndAllowThreads(__tstate);
110da5b0 12488 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
12489 }
12490 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
12491 return resultobj;
12492 fail:
12493 return NULL;
12494}
12495
12496
c32bde28 12497static PyObject *_wrap_SpinButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12498 PyObject *resultobj;
12499 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12500 wxWindow *arg2 = (wxWindow *) 0 ;
12501 int arg3 = (int) -1 ;
12502 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12503 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12504 wxSize const &arg5_defvalue = wxDefaultSize ;
12505 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12506 long arg6 = (long) wxSP_HORIZONTAL ;
12507 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
12508 wxString *arg7 = (wxString *) &arg7_defvalue ;
12509 bool result;
12510 wxPoint temp4 ;
12511 wxSize temp5 ;
ae8162c8 12512 bool temp7 = false ;
d55e5bfc
RD
12513 PyObject * obj0 = 0 ;
12514 PyObject * obj1 = 0 ;
12515 PyObject * obj2 = 0 ;
12516 PyObject * obj3 = 0 ;
12517 PyObject * obj4 = 0 ;
12518 PyObject * obj5 = 0 ;
12519 PyObject * obj6 = 0 ;
12520 char *kwnames[] = {
12521 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12522 };
12523
12524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SpinButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
12525 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12526 if (SWIG_arg_fail(1)) SWIG_fail;
12527 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12528 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 12529 if (obj2) {
093d3ff1
RD
12530 {
12531 arg3 = (int)(SWIG_As_int(obj2));
12532 if (SWIG_arg_fail(3)) SWIG_fail;
12533 }
d55e5bfc
RD
12534 }
12535 if (obj3) {
12536 {
12537 arg4 = &temp4;
12538 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12539 }
12540 }
12541 if (obj4) {
12542 {
12543 arg5 = &temp5;
12544 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12545 }
12546 }
12547 if (obj5) {
093d3ff1
RD
12548 {
12549 arg6 = (long)(SWIG_As_long(obj5));
12550 if (SWIG_arg_fail(6)) SWIG_fail;
12551 }
d55e5bfc
RD
12552 }
12553 if (obj6) {
12554 {
12555 arg7 = wxString_in_helper(obj6);
12556 if (arg7 == NULL) SWIG_fail;
ae8162c8 12557 temp7 = true;
d55e5bfc
RD
12558 }
12559 }
12560 {
12561 PyThreadState* __tstate = wxPyBeginAllowThreads();
12562 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12563
12564 wxPyEndAllowThreads(__tstate);
12565 if (PyErr_Occurred()) SWIG_fail;
12566 }
12567 {
12568 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12569 }
12570 {
12571 if (temp7)
12572 delete arg7;
12573 }
12574 return resultobj;
12575 fail:
12576 {
12577 if (temp7)
12578 delete arg7;
12579 }
12580 return NULL;
12581}
12582
12583
c32bde28 12584static PyObject *_wrap_SpinButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12585 PyObject *resultobj;
12586 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12587 int result;
12588 PyObject * obj0 = 0 ;
12589 char *kwnames[] = {
12590 (char *) "self", NULL
12591 };
12592
12593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
12594 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12595 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12596 {
12597 PyThreadState* __tstate = wxPyBeginAllowThreads();
12598 result = (int)((wxSpinButton const *)arg1)->GetValue();
12599
12600 wxPyEndAllowThreads(__tstate);
12601 if (PyErr_Occurred()) SWIG_fail;
12602 }
093d3ff1
RD
12603 {
12604 resultobj = SWIG_From_int((int)(result));
12605 }
d55e5bfc
RD
12606 return resultobj;
12607 fail:
12608 return NULL;
12609}
12610
12611
c32bde28 12612static PyObject *_wrap_SpinButton_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12613 PyObject *resultobj;
12614 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12615 int result;
12616 PyObject * obj0 = 0 ;
12617 char *kwnames[] = {
12618 (char *) "self", NULL
12619 };
12620
12621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMin",kwnames,&obj0)) goto fail;
093d3ff1
RD
12622 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12623 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12624 {
12625 PyThreadState* __tstate = wxPyBeginAllowThreads();
12626 result = (int)((wxSpinButton const *)arg1)->GetMin();
12627
12628 wxPyEndAllowThreads(__tstate);
12629 if (PyErr_Occurred()) SWIG_fail;
12630 }
093d3ff1
RD
12631 {
12632 resultobj = SWIG_From_int((int)(result));
12633 }
d55e5bfc
RD
12634 return resultobj;
12635 fail:
12636 return NULL;
12637}
12638
12639
c32bde28 12640static PyObject *_wrap_SpinButton_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12641 PyObject *resultobj;
12642 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12643 int result;
12644 PyObject * obj0 = 0 ;
12645 char *kwnames[] = {
12646 (char *) "self", NULL
12647 };
12648
12649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMax",kwnames,&obj0)) goto fail;
093d3ff1
RD
12650 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12651 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12652 {
12653 PyThreadState* __tstate = wxPyBeginAllowThreads();
12654 result = (int)((wxSpinButton const *)arg1)->GetMax();
12655
12656 wxPyEndAllowThreads(__tstate);
12657 if (PyErr_Occurred()) SWIG_fail;
12658 }
093d3ff1
RD
12659 {
12660 resultobj = SWIG_From_int((int)(result));
12661 }
d55e5bfc
RD
12662 return resultobj;
12663 fail:
12664 return NULL;
12665}
12666
12667
c32bde28 12668static PyObject *_wrap_SpinButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12669 PyObject *resultobj;
12670 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12671 int arg2 ;
12672 PyObject * obj0 = 0 ;
12673 PyObject * obj1 = 0 ;
12674 char *kwnames[] = {
12675 (char *) "self",(char *) "val", NULL
12676 };
12677
12678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12679 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12680 if (SWIG_arg_fail(1)) SWIG_fail;
12681 {
12682 arg2 = (int)(SWIG_As_int(obj1));
12683 if (SWIG_arg_fail(2)) SWIG_fail;
12684 }
d55e5bfc
RD
12685 {
12686 PyThreadState* __tstate = wxPyBeginAllowThreads();
12687 (arg1)->SetValue(arg2);
12688
12689 wxPyEndAllowThreads(__tstate);
12690 if (PyErr_Occurred()) SWIG_fail;
12691 }
12692 Py_INCREF(Py_None); resultobj = Py_None;
12693 return resultobj;
12694 fail:
12695 return NULL;
12696}
12697
12698
c32bde28 12699static PyObject *_wrap_SpinButton_SetMin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12700 PyObject *resultobj;
12701 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12702 int arg2 ;
12703 PyObject * obj0 = 0 ;
12704 PyObject * obj1 = 0 ;
12705 char *kwnames[] = {
12706 (char *) "self",(char *) "minVal", NULL
12707 };
12708
12709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMin",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12710 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12711 if (SWIG_arg_fail(1)) SWIG_fail;
12712 {
12713 arg2 = (int)(SWIG_As_int(obj1));
12714 if (SWIG_arg_fail(2)) SWIG_fail;
12715 }
d55e5bfc
RD
12716 {
12717 PyThreadState* __tstate = wxPyBeginAllowThreads();
12718 (arg1)->SetMin(arg2);
12719
12720 wxPyEndAllowThreads(__tstate);
12721 if (PyErr_Occurred()) SWIG_fail;
12722 }
12723 Py_INCREF(Py_None); resultobj = Py_None;
12724 return resultobj;
12725 fail:
12726 return NULL;
12727}
12728
12729
c32bde28 12730static PyObject *_wrap_SpinButton_SetMax(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12731 PyObject *resultobj;
12732 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12733 int arg2 ;
12734 PyObject * obj0 = 0 ;
12735 PyObject * obj1 = 0 ;
12736 char *kwnames[] = {
12737 (char *) "self",(char *) "maxVal", NULL
12738 };
12739
12740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMax",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12741 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12742 if (SWIG_arg_fail(1)) SWIG_fail;
12743 {
12744 arg2 = (int)(SWIG_As_int(obj1));
12745 if (SWIG_arg_fail(2)) SWIG_fail;
12746 }
d55e5bfc
RD
12747 {
12748 PyThreadState* __tstate = wxPyBeginAllowThreads();
12749 (arg1)->SetMax(arg2);
12750
12751 wxPyEndAllowThreads(__tstate);
12752 if (PyErr_Occurred()) SWIG_fail;
12753 }
12754 Py_INCREF(Py_None); resultobj = Py_None;
12755 return resultobj;
12756 fail:
12757 return NULL;
12758}
12759
12760
c32bde28 12761static PyObject *_wrap_SpinButton_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12762 PyObject *resultobj;
12763 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12764 int arg2 ;
12765 int arg3 ;
12766 PyObject * obj0 = 0 ;
12767 PyObject * obj1 = 0 ;
12768 PyObject * obj2 = 0 ;
12769 char *kwnames[] = {
12770 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
12771 };
12772
12773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinButton_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
12774 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12775 if (SWIG_arg_fail(1)) SWIG_fail;
12776 {
12777 arg2 = (int)(SWIG_As_int(obj1));
12778 if (SWIG_arg_fail(2)) SWIG_fail;
12779 }
12780 {
12781 arg3 = (int)(SWIG_As_int(obj2));
12782 if (SWIG_arg_fail(3)) SWIG_fail;
12783 }
d55e5bfc
RD
12784 {
12785 PyThreadState* __tstate = wxPyBeginAllowThreads();
12786 (arg1)->SetRange(arg2,arg3);
12787
12788 wxPyEndAllowThreads(__tstate);
12789 if (PyErr_Occurred()) SWIG_fail;
12790 }
f20a2e1f
RD
12791 Py_INCREF(Py_None); resultobj = Py_None;
12792 return resultobj;
12793 fail:
12794 return NULL;
12795}
12796
12797
c32bde28 12798static PyObject *_wrap_SpinButton_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f
RD
12799 PyObject *resultobj;
12800 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12801 bool result;
12802 PyObject * obj0 = 0 ;
12803 char *kwnames[] = {
12804 (char *) "self", NULL
12805 };
12806
12807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_IsVertical",kwnames,&obj0)) goto fail;
093d3ff1
RD
12808 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12809 if (SWIG_arg_fail(1)) SWIG_fail;
f20a2e1f
RD
12810 {
12811 PyThreadState* __tstate = wxPyBeginAllowThreads();
12812 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
12813
12814 wxPyEndAllowThreads(__tstate);
12815 if (PyErr_Occurred()) SWIG_fail;
12816 }
12817 {
12818 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12819 }
d55e5bfc
RD
12820 return resultobj;
12821 fail:
12822 return NULL;
12823}
12824
12825
c32bde28 12826static PyObject *_wrap_SpinButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 12827 PyObject *resultobj;
093d3ff1 12828 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f 12829 wxVisualAttributes result;
d55e5bfc
RD
12830 PyObject * obj0 = 0 ;
12831 char *kwnames[] = {
f20a2e1f 12832 (char *) "variant", NULL
d55e5bfc
RD
12833 };
12834
f20a2e1f
RD
12835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
12836 if (obj0) {
093d3ff1
RD
12837 {
12838 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
12839 if (SWIG_arg_fail(1)) SWIG_fail;
12840 }
f20a2e1f 12841 }
d55e5bfc 12842 {
19272049 12843 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 12844 PyThreadState* __tstate = wxPyBeginAllowThreads();
f20a2e1f 12845 result = wxSpinButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
d55e5bfc
RD
12846
12847 wxPyEndAllowThreads(__tstate);
110da5b0 12848 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
12849 }
12850 {
f20a2e1f 12851 wxVisualAttributes * resultptr;
093d3ff1 12852 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f 12853 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
d55e5bfc
RD
12854 }
12855 return resultobj;
12856 fail:
12857 return NULL;
12858}
12859
12860
c32bde28 12861static PyObject * SpinButton_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
12862 PyObject *obj;
12863 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12864 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton, obj);
12865 Py_INCREF(obj);
12866 return Py_BuildValue((char *)"");
12867}
c32bde28 12868static PyObject *_wrap_new_SpinCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12869 PyObject *resultobj;
12870 wxWindow *arg1 = (wxWindow *) 0 ;
12871 int arg2 = (int) -1 ;
12872 wxString const &arg3_defvalue = wxPyEmptyString ;
12873 wxString *arg3 = (wxString *) &arg3_defvalue ;
12874 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12875 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12876 wxSize const &arg5_defvalue = wxDefaultSize ;
12877 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12878 long arg6 = (long) wxSP_ARROW_KEYS ;
12879 int arg7 = (int) 0 ;
12880 int arg8 = (int) 100 ;
12881 int arg9 = (int) 0 ;
12882 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
12883 wxString *arg10 = (wxString *) &arg10_defvalue ;
12884 wxSpinCtrl *result;
ae8162c8 12885 bool temp3 = false ;
d55e5bfc
RD
12886 wxPoint temp4 ;
12887 wxSize temp5 ;
ae8162c8 12888 bool temp10 = false ;
d55e5bfc
RD
12889 PyObject * obj0 = 0 ;
12890 PyObject * obj1 = 0 ;
12891 PyObject * obj2 = 0 ;
12892 PyObject * obj3 = 0 ;
12893 PyObject * obj4 = 0 ;
12894 PyObject * obj5 = 0 ;
12895 PyObject * obj6 = 0 ;
12896 PyObject * obj7 = 0 ;
12897 PyObject * obj8 = 0 ;
12898 PyObject * obj9 = 0 ;
12899 char *kwnames[] = {
12900 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
12901 };
12902
12903 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
12904 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12905 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 12906 if (obj1) {
093d3ff1
RD
12907 {
12908 arg2 = (int)(SWIG_As_int(obj1));
12909 if (SWIG_arg_fail(2)) SWIG_fail;
12910 }
d55e5bfc
RD
12911 }
12912 if (obj2) {
12913 {
12914 arg3 = wxString_in_helper(obj2);
12915 if (arg3 == NULL) SWIG_fail;
ae8162c8 12916 temp3 = true;
d55e5bfc
RD
12917 }
12918 }
12919 if (obj3) {
12920 {
12921 arg4 = &temp4;
12922 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12923 }
12924 }
12925 if (obj4) {
12926 {
12927 arg5 = &temp5;
12928 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12929 }
12930 }
12931 if (obj5) {
093d3ff1
RD
12932 {
12933 arg6 = (long)(SWIG_As_long(obj5));
12934 if (SWIG_arg_fail(6)) SWIG_fail;
12935 }
d55e5bfc
RD
12936 }
12937 if (obj6) {
093d3ff1
RD
12938 {
12939 arg7 = (int)(SWIG_As_int(obj6));
12940 if (SWIG_arg_fail(7)) SWIG_fail;
12941 }
d55e5bfc
RD
12942 }
12943 if (obj7) {
093d3ff1
RD
12944 {
12945 arg8 = (int)(SWIG_As_int(obj7));
12946 if (SWIG_arg_fail(8)) SWIG_fail;
12947 }
d55e5bfc
RD
12948 }
12949 if (obj8) {
093d3ff1
RD
12950 {
12951 arg9 = (int)(SWIG_As_int(obj8));
12952 if (SWIG_arg_fail(9)) SWIG_fail;
12953 }
d55e5bfc
RD
12954 }
12955 if (obj9) {
12956 {
12957 arg10 = wxString_in_helper(obj9);
12958 if (arg10 == NULL) SWIG_fail;
ae8162c8 12959 temp10 = true;
d55e5bfc
RD
12960 }
12961 }
12962 {
0439c23b 12963 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
12964 PyThreadState* __tstate = wxPyBeginAllowThreads();
12965 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
12966
12967 wxPyEndAllowThreads(__tstate);
110da5b0 12968 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
12969 }
12970 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
12971 {
12972 if (temp3)
12973 delete arg3;
12974 }
12975 {
12976 if (temp10)
12977 delete arg10;
12978 }
12979 return resultobj;
12980 fail:
12981 {
12982 if (temp3)
12983 delete arg3;
12984 }
12985 {
12986 if (temp10)
12987 delete arg10;
12988 }
12989 return NULL;
12990}
12991
12992
c32bde28 12993static PyObject *_wrap_new_PreSpinCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12994 PyObject *resultobj;
12995 wxSpinCtrl *result;
12996 char *kwnames[] = {
12997 NULL
12998 };
12999
13000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinCtrl",kwnames)) goto fail;
13001 {
0439c23b 13002 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
13003 PyThreadState* __tstate = wxPyBeginAllowThreads();
13004 result = (wxSpinCtrl *)new wxSpinCtrl();
13005
13006 wxPyEndAllowThreads(__tstate);
110da5b0 13007 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
13008 }
13009 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
13010 return resultobj;
13011 fail:
13012 return NULL;
13013}
13014
13015
c32bde28 13016static PyObject *_wrap_SpinCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13017 PyObject *resultobj;
13018 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13019 wxWindow *arg2 = (wxWindow *) 0 ;
13020 int arg3 = (int) -1 ;
13021 wxString const &arg4_defvalue = wxPyEmptyString ;
13022 wxString *arg4 = (wxString *) &arg4_defvalue ;
13023 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13024 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13025 wxSize const &arg6_defvalue = wxDefaultSize ;
13026 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13027 long arg7 = (long) wxSP_ARROW_KEYS ;
13028 int arg8 = (int) 0 ;
13029 int arg9 = (int) 100 ;
13030 int arg10 = (int) 0 ;
13031 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
13032 wxString *arg11 = (wxString *) &arg11_defvalue ;
13033 bool result;
ae8162c8 13034 bool temp4 = false ;
d55e5bfc
RD
13035 wxPoint temp5 ;
13036 wxSize temp6 ;
ae8162c8 13037 bool temp11 = false ;
d55e5bfc
RD
13038 PyObject * obj0 = 0 ;
13039 PyObject * obj1 = 0 ;
13040 PyObject * obj2 = 0 ;
13041 PyObject * obj3 = 0 ;
13042 PyObject * obj4 = 0 ;
13043 PyObject * obj5 = 0 ;
13044 PyObject * obj6 = 0 ;
13045 PyObject * obj7 = 0 ;
13046 PyObject * obj8 = 0 ;
13047 PyObject * obj9 = 0 ;
13048 PyObject * obj10 = 0 ;
13049 char *kwnames[] = {
13050 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
13051 };
13052
13053 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
13054 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13055 if (SWIG_arg_fail(1)) SWIG_fail;
13056 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13057 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 13058 if (obj2) {
093d3ff1
RD
13059 {
13060 arg3 = (int)(SWIG_As_int(obj2));
13061 if (SWIG_arg_fail(3)) SWIG_fail;
13062 }
d55e5bfc
RD
13063 }
13064 if (obj3) {
13065 {
13066 arg4 = wxString_in_helper(obj3);
13067 if (arg4 == NULL) SWIG_fail;
ae8162c8 13068 temp4 = true;
d55e5bfc
RD
13069 }
13070 }
13071 if (obj4) {
13072 {
13073 arg5 = &temp5;
13074 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13075 }
13076 }
13077 if (obj5) {
13078 {
13079 arg6 = &temp6;
13080 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13081 }
13082 }
13083 if (obj6) {
093d3ff1
RD
13084 {
13085 arg7 = (long)(SWIG_As_long(obj6));
13086 if (SWIG_arg_fail(7)) SWIG_fail;
13087 }
d55e5bfc
RD
13088 }
13089 if (obj7) {
093d3ff1
RD
13090 {
13091 arg8 = (int)(SWIG_As_int(obj7));
13092 if (SWIG_arg_fail(8)) SWIG_fail;
13093 }
d55e5bfc
RD
13094 }
13095 if (obj8) {
093d3ff1
RD
13096 {
13097 arg9 = (int)(SWIG_As_int(obj8));
13098 if (SWIG_arg_fail(9)) SWIG_fail;
13099 }
d55e5bfc
RD
13100 }
13101 if (obj9) {
093d3ff1
RD
13102 {
13103 arg10 = (int)(SWIG_As_int(obj9));
13104 if (SWIG_arg_fail(10)) SWIG_fail;
13105 }
d55e5bfc
RD
13106 }
13107 if (obj10) {
13108 {
13109 arg11 = wxString_in_helper(obj10);
13110 if (arg11 == NULL) SWIG_fail;
ae8162c8 13111 temp11 = true;
d55e5bfc
RD
13112 }
13113 }
13114 {
13115 PyThreadState* __tstate = wxPyBeginAllowThreads();
13116 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
13117
13118 wxPyEndAllowThreads(__tstate);
13119 if (PyErr_Occurred()) SWIG_fail;
13120 }
13121 {
13122 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13123 }
13124 {
13125 if (temp4)
13126 delete arg4;
13127 }
13128 {
13129 if (temp11)
13130 delete arg11;
13131 }
13132 return resultobj;
13133 fail:
13134 {
13135 if (temp4)
13136 delete arg4;
13137 }
13138 {
13139 if (temp11)
13140 delete arg11;
13141 }
13142 return NULL;
13143}
13144
13145
c32bde28 13146static PyObject *_wrap_SpinCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13147 PyObject *resultobj;
13148 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13149 int result;
13150 PyObject * obj0 = 0 ;
13151 char *kwnames[] = {
13152 (char *) "self", NULL
13153 };
13154
13155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
13156 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13157 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13158 {
13159 PyThreadState* __tstate = wxPyBeginAllowThreads();
13160 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
13161
13162 wxPyEndAllowThreads(__tstate);
13163 if (PyErr_Occurred()) SWIG_fail;
13164 }
093d3ff1
RD
13165 {
13166 resultobj = SWIG_From_int((int)(result));
13167 }
d55e5bfc
RD
13168 return resultobj;
13169 fail:
13170 return NULL;
13171}
13172
13173
c32bde28 13174static PyObject *_wrap_SpinCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13175 PyObject *resultobj;
13176 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13177 int arg2 ;
13178 PyObject * obj0 = 0 ;
13179 PyObject * obj1 = 0 ;
13180 char *kwnames[] = {
13181 (char *) "self",(char *) "value", NULL
13182 };
13183
13184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13185 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13186 if (SWIG_arg_fail(1)) SWIG_fail;
13187 {
13188 arg2 = (int)(SWIG_As_int(obj1));
13189 if (SWIG_arg_fail(2)) SWIG_fail;
13190 }
d55e5bfc
RD
13191 {
13192 PyThreadState* __tstate = wxPyBeginAllowThreads();
13193 (arg1)->SetValue(arg2);
13194
13195 wxPyEndAllowThreads(__tstate);
13196 if (PyErr_Occurred()) SWIG_fail;
13197 }
13198 Py_INCREF(Py_None); resultobj = Py_None;
13199 return resultobj;
13200 fail:
13201 return NULL;
13202}
13203
13204
c32bde28 13205static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13206 PyObject *resultobj;
13207 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13208 wxString *arg2 = 0 ;
ae8162c8 13209 bool temp2 = false ;
d55e5bfc
RD
13210 PyObject * obj0 = 0 ;
13211 PyObject * obj1 = 0 ;
13212 char *kwnames[] = {
13213 (char *) "self",(char *) "text", NULL
13214 };
13215
13216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13217 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13218 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13219 {
13220 arg2 = wxString_in_helper(obj1);
13221 if (arg2 == NULL) SWIG_fail;
ae8162c8 13222 temp2 = true;
d55e5bfc
RD
13223 }
13224 {
13225 PyThreadState* __tstate = wxPyBeginAllowThreads();
13226 (arg1)->SetValue((wxString const &)*arg2);
13227
13228 wxPyEndAllowThreads(__tstate);
13229 if (PyErr_Occurred()) SWIG_fail;
13230 }
13231 Py_INCREF(Py_None); resultobj = Py_None;
13232 {
13233 if (temp2)
13234 delete arg2;
13235 }
13236 return resultobj;
13237 fail:
13238 {
13239 if (temp2)
13240 delete arg2;
13241 }
13242 return NULL;
13243}
13244
13245
c32bde28 13246static PyObject *_wrap_SpinCtrl_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13247 PyObject *resultobj;
13248 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13249 int arg2 ;
13250 int arg3 ;
13251 PyObject * obj0 = 0 ;
13252 PyObject * obj1 = 0 ;
13253 PyObject * obj2 = 0 ;
13254 char *kwnames[] = {
13255 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
13256 };
13257
13258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
13259 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13260 if (SWIG_arg_fail(1)) SWIG_fail;
13261 {
13262 arg2 = (int)(SWIG_As_int(obj1));
13263 if (SWIG_arg_fail(2)) SWIG_fail;
13264 }
13265 {
13266 arg3 = (int)(SWIG_As_int(obj2));
13267 if (SWIG_arg_fail(3)) SWIG_fail;
13268 }
d55e5bfc
RD
13269 {
13270 PyThreadState* __tstate = wxPyBeginAllowThreads();
13271 (arg1)->SetRange(arg2,arg3);
13272
13273 wxPyEndAllowThreads(__tstate);
13274 if (PyErr_Occurred()) SWIG_fail;
13275 }
13276 Py_INCREF(Py_None); resultobj = Py_None;
13277 return resultobj;
13278 fail:
13279 return NULL;
13280}
13281
13282
c32bde28 13283static PyObject *_wrap_SpinCtrl_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13284 PyObject *resultobj;
13285 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13286 int result;
13287 PyObject * obj0 = 0 ;
13288 char *kwnames[] = {
13289 (char *) "self", NULL
13290 };
13291
13292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMin",kwnames,&obj0)) goto fail;
093d3ff1
RD
13293 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13294 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13295 {
13296 PyThreadState* __tstate = wxPyBeginAllowThreads();
13297 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
13298
13299 wxPyEndAllowThreads(__tstate);
13300 if (PyErr_Occurred()) SWIG_fail;
13301 }
093d3ff1
RD
13302 {
13303 resultobj = SWIG_From_int((int)(result));
13304 }
d55e5bfc
RD
13305 return resultobj;
13306 fail:
13307 return NULL;
13308}
13309
13310
c32bde28 13311static PyObject *_wrap_SpinCtrl_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13312 PyObject *resultobj;
13313 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13314 int result;
13315 PyObject * obj0 = 0 ;
13316 char *kwnames[] = {
13317 (char *) "self", NULL
13318 };
13319
13320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMax",kwnames,&obj0)) goto fail;
093d3ff1
RD
13321 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13322 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13323 {
13324 PyThreadState* __tstate = wxPyBeginAllowThreads();
13325 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
13326
13327 wxPyEndAllowThreads(__tstate);
13328 if (PyErr_Occurred()) SWIG_fail;
13329 }
093d3ff1
RD
13330 {
13331 resultobj = SWIG_From_int((int)(result));
13332 }
d55e5bfc
RD
13333 return resultobj;
13334 fail:
13335 return NULL;
13336}
13337
13338
c32bde28 13339static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13340 PyObject *resultobj;
13341 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13342 long arg2 ;
13343 long arg3 ;
13344 PyObject * obj0 = 0 ;
13345 PyObject * obj1 = 0 ;
13346 PyObject * obj2 = 0 ;
13347 char *kwnames[] = {
13348 (char *) "self",(char *) "from",(char *) "to", NULL
13349 };
13350
13351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
13352 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13353 if (SWIG_arg_fail(1)) SWIG_fail;
13354 {
13355 arg2 = (long)(SWIG_As_long(obj1));
13356 if (SWIG_arg_fail(2)) SWIG_fail;
13357 }
13358 {
13359 arg3 = (long)(SWIG_As_long(obj2));
13360 if (SWIG_arg_fail(3)) SWIG_fail;
13361 }
d55e5bfc
RD
13362 {
13363 PyThreadState* __tstate = wxPyBeginAllowThreads();
13364 (arg1)->SetSelection(arg2,arg3);
13365
13366 wxPyEndAllowThreads(__tstate);
13367 if (PyErr_Occurred()) SWIG_fail;
13368 }
13369 Py_INCREF(Py_None); resultobj = Py_None;
13370 return resultobj;
13371 fail:
13372 return NULL;
13373}
13374
13375
c32bde28 13376static PyObject *_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 13377 PyObject *resultobj;
093d3ff1 13378 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
13379 wxVisualAttributes result;
13380 PyObject * obj0 = 0 ;
13381 char *kwnames[] = {
13382 (char *) "variant", NULL
13383 };
13384
13385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
13386 if (obj0) {
093d3ff1
RD
13387 {
13388 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
13389 if (SWIG_arg_fail(1)) SWIG_fail;
13390 }
f20a2e1f
RD
13391 }
13392 {
19272049 13393 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
13394 PyThreadState* __tstate = wxPyBeginAllowThreads();
13395 result = wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
13396
13397 wxPyEndAllowThreads(__tstate);
110da5b0 13398 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
13399 }
13400 {
13401 wxVisualAttributes * resultptr;
093d3ff1 13402 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
13403 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
13404 }
13405 return resultobj;
13406 fail:
13407 return NULL;
13408}
13409
13410
c32bde28 13411static PyObject * SpinCtrl_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
13412 PyObject *obj;
13413 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13414 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl, obj);
13415 Py_INCREF(obj);
13416 return Py_BuildValue((char *)"");
13417}
c32bde28 13418static PyObject *_wrap_new_SpinEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13419 PyObject *resultobj;
13420 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13421 int arg2 = (int) 0 ;
13422 wxSpinEvent *result;
13423 PyObject * obj0 = 0 ;
13424 PyObject * obj1 = 0 ;
13425 char *kwnames[] = {
13426 (char *) "commandType",(char *) "winid", NULL
13427 };
13428
13429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SpinEvent",kwnames,&obj0,&obj1)) goto fail;
13430 if (obj0) {
093d3ff1
RD
13431 {
13432 arg1 = (wxEventType)(SWIG_As_int(obj0));
13433 if (SWIG_arg_fail(1)) SWIG_fail;
13434 }
d55e5bfc
RD
13435 }
13436 if (obj1) {
093d3ff1
RD
13437 {
13438 arg2 = (int)(SWIG_As_int(obj1));
13439 if (SWIG_arg_fail(2)) SWIG_fail;
13440 }
d55e5bfc
RD
13441 }
13442 {
13443 PyThreadState* __tstate = wxPyBeginAllowThreads();
13444 result = (wxSpinEvent *)new wxSpinEvent(arg1,arg2);
13445
13446 wxPyEndAllowThreads(__tstate);
13447 if (PyErr_Occurred()) SWIG_fail;
13448 }
13449 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinEvent, 1);
13450 return resultobj;
13451 fail:
13452 return NULL;
13453}
13454
13455
c32bde28 13456static PyObject *_wrap_SpinEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13457 PyObject *resultobj;
13458 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
13459 int result;
13460 PyObject * obj0 = 0 ;
13461 char *kwnames[] = {
13462 (char *) "self", NULL
13463 };
13464
13465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinEvent_GetPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
13466 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinEvent, SWIG_POINTER_EXCEPTION | 0);
13467 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13468 {
13469 PyThreadState* __tstate = wxPyBeginAllowThreads();
13470 result = (int)((wxSpinEvent const *)arg1)->GetPosition();
13471
13472 wxPyEndAllowThreads(__tstate);
13473 if (PyErr_Occurred()) SWIG_fail;
13474 }
093d3ff1
RD
13475 {
13476 resultobj = SWIG_From_int((int)(result));
13477 }
d55e5bfc
RD
13478 return resultobj;
13479 fail:
13480 return NULL;
13481}
13482
13483
c32bde28 13484static PyObject *_wrap_SpinEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13485 PyObject *resultobj;
13486 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
13487 int arg2 ;
13488 PyObject * obj0 = 0 ;
13489 PyObject * obj1 = 0 ;
13490 char *kwnames[] = {
13491 (char *) "self",(char *) "pos", NULL
13492 };
13493
13494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13495 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinEvent, SWIG_POINTER_EXCEPTION | 0);
13496 if (SWIG_arg_fail(1)) SWIG_fail;
13497 {
13498 arg2 = (int)(SWIG_As_int(obj1));
13499 if (SWIG_arg_fail(2)) SWIG_fail;
13500 }
d55e5bfc
RD
13501 {
13502 PyThreadState* __tstate = wxPyBeginAllowThreads();
13503 (arg1)->SetPosition(arg2);
13504
13505 wxPyEndAllowThreads(__tstate);
13506 if (PyErr_Occurred()) SWIG_fail;
13507 }
13508 Py_INCREF(Py_None); resultobj = Py_None;
13509 return resultobj;
13510 fail:
13511 return NULL;
13512}
13513
13514
c32bde28 13515static PyObject * SpinEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
13516 PyObject *obj;
13517 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13518 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent, obj);
13519 Py_INCREF(obj);
13520 return Py_BuildValue((char *)"");
13521}
c32bde28 13522static int _wrap_RadioBoxNameStr_set(PyObject *) {
d55e5bfc
RD
13523 PyErr_SetString(PyExc_TypeError,"Variable RadioBoxNameStr is read-only.");
13524 return 1;
13525}
13526
13527
093d3ff1 13528static PyObject *_wrap_RadioBoxNameStr_get(void) {
d55e5bfc
RD
13529 PyObject *pyobj;
13530
13531 {
13532#if wxUSE_UNICODE
13533 pyobj = PyUnicode_FromWideChar((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
13534#else
13535 pyobj = PyString_FromStringAndSize((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
13536#endif
13537 }
13538 return pyobj;
13539}
13540
13541
c32bde28 13542static int _wrap_RadioButtonNameStr_set(PyObject *) {
d55e5bfc
RD
13543 PyErr_SetString(PyExc_TypeError,"Variable RadioButtonNameStr is read-only.");
13544 return 1;
13545}
13546
13547
093d3ff1 13548static PyObject *_wrap_RadioButtonNameStr_get(void) {
d55e5bfc
RD
13549 PyObject *pyobj;
13550
13551 {
13552#if wxUSE_UNICODE
13553 pyobj = PyUnicode_FromWideChar((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
13554#else
13555 pyobj = PyString_FromStringAndSize((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
13556#endif
13557 }
13558 return pyobj;
13559}
13560
13561
c32bde28 13562static PyObject *_wrap_new_RadioBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13563 PyObject *resultobj;
13564 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
13565 int arg2 = (int) -1 ;
13566 wxString const &arg3_defvalue = wxPyEmptyString ;
13567 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
13568 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13569 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13570 wxSize const &arg5_defvalue = wxDefaultSize ;
13571 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13572 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
13573 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
13574 int arg7 = (int) 0 ;
13575 long arg8 = (long) wxRA_HORIZONTAL ;
13576 wxValidator const &arg9_defvalue = wxDefaultValidator ;
13577 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
13578 wxString const &arg10_defvalue = wxPyRadioBoxNameStr ;
13579 wxString *arg10 = (wxString *) &arg10_defvalue ;
13580 wxRadioBox *result;
ae8162c8 13581 bool temp3 = false ;
d55e5bfc
RD
13582 wxPoint temp4 ;
13583 wxSize temp5 ;
ae8162c8
RD
13584 bool temp6 = false ;
13585 bool temp10 = false ;
d55e5bfc
RD
13586 PyObject * obj0 = 0 ;
13587 PyObject * obj1 = 0 ;
13588 PyObject * obj2 = 0 ;
13589 PyObject * obj3 = 0 ;
13590 PyObject * obj4 = 0 ;
13591 PyObject * obj5 = 0 ;
13592 PyObject * obj6 = 0 ;
13593 PyObject * obj7 = 0 ;
13594 PyObject * obj8 = 0 ;
13595 PyObject * obj9 = 0 ;
13596 char *kwnames[] = {
13597 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13598 };
13599
248ed943 13600 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
13601 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13602 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 13603 if (obj1) {
093d3ff1
RD
13604 {
13605 arg2 = (int)(SWIG_As_int(obj1));
13606 if (SWIG_arg_fail(2)) SWIG_fail;
13607 }
248ed943
RD
13608 }
13609 if (obj2) {
13610 {
13611 arg3 = wxString_in_helper(obj2);
13612 if (arg3 == NULL) SWIG_fail;
ae8162c8 13613 temp3 = true;
248ed943 13614 }
d55e5bfc
RD
13615 }
13616 if (obj3) {
13617 {
13618 arg4 = &temp4;
13619 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13620 }
13621 }
13622 if (obj4) {
13623 {
13624 arg5 = &temp5;
13625 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13626 }
13627 }
13628 if (obj5) {
13629 {
13630 if (! PySequence_Check(obj5)) {
13631 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
13632 SWIG_fail;
13633 }
13634 arg6 = new wxArrayString;
ae8162c8 13635 temp6 = true;
d55e5bfc
RD
13636 int i, len=PySequence_Length(obj5);
13637 for (i=0; i<len; i++) {
13638 PyObject* item = PySequence_GetItem(obj5, i);
13639#if wxUSE_UNICODE
13640 PyObject* str = PyObject_Unicode(item);
13641#else
13642 PyObject* str = PyObject_Str(item);
13643#endif
13644 if (PyErr_Occurred()) SWIG_fail;
13645 arg6->Add(Py2wxString(str));
13646 Py_DECREF(item);
13647 Py_DECREF(str);
13648 }
13649 }
13650 }
13651 if (obj6) {
093d3ff1
RD
13652 {
13653 arg7 = (int)(SWIG_As_int(obj6));
13654 if (SWIG_arg_fail(7)) SWIG_fail;
13655 }
d55e5bfc
RD
13656 }
13657 if (obj7) {
093d3ff1
RD
13658 {
13659 arg8 = (long)(SWIG_As_long(obj7));
13660 if (SWIG_arg_fail(8)) SWIG_fail;
13661 }
d55e5bfc
RD
13662 }
13663 if (obj8) {
093d3ff1
RD
13664 {
13665 SWIG_Python_ConvertPtr(obj8, (void **)&arg9, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
13666 if (SWIG_arg_fail(9)) SWIG_fail;
13667 if (arg9 == NULL) {
13668 SWIG_null_ref("wxValidator");
13669 }
13670 if (SWIG_arg_fail(9)) SWIG_fail;
d55e5bfc
RD
13671 }
13672 }
13673 if (obj9) {
13674 {
13675 arg10 = wxString_in_helper(obj9);
13676 if (arg10 == NULL) SWIG_fail;
ae8162c8 13677 temp10 = true;
d55e5bfc
RD
13678 }
13679 }
13680 {
0439c23b 13681 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
13682 PyThreadState* __tstate = wxPyBeginAllowThreads();
13683 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);
13684
13685 wxPyEndAllowThreads(__tstate);
110da5b0 13686 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
13687 }
13688 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
13689 {
13690 if (temp3)
13691 delete arg3;
13692 }
13693 {
13694 if (temp6) delete arg6;
13695 }
13696 {
13697 if (temp10)
13698 delete arg10;
13699 }
13700 return resultobj;
13701 fail:
13702 {
13703 if (temp3)
13704 delete arg3;
13705 }
13706 {
13707 if (temp6) delete arg6;
13708 }
13709 {
13710 if (temp10)
13711 delete arg10;
13712 }
13713 return NULL;
13714}
13715
13716
c32bde28 13717static PyObject *_wrap_new_PreRadioBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13718 PyObject *resultobj;
13719 wxRadioBox *result;
13720 char *kwnames[] = {
13721 NULL
13722 };
13723
13724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioBox",kwnames)) goto fail;
13725 {
0439c23b 13726 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
13727 PyThreadState* __tstate = wxPyBeginAllowThreads();
13728 result = (wxRadioBox *)new wxRadioBox();
13729
13730 wxPyEndAllowThreads(__tstate);
110da5b0 13731 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
13732 }
13733 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
13734 return resultobj;
13735 fail:
13736 return NULL;
13737}
13738
13739
c32bde28 13740static PyObject *_wrap_RadioBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13741 PyObject *resultobj;
13742 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13743 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
13744 int arg3 = (int) -1 ;
13745 wxString const &arg4_defvalue = wxPyEmptyString ;
13746 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
13747 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13748 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13749 wxSize const &arg6_defvalue = wxDefaultSize ;
13750 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13751 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
13752 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
13753 int arg8 = (int) 0 ;
13754 long arg9 = (long) wxRA_HORIZONTAL ;
13755 wxValidator const &arg10_defvalue = wxDefaultValidator ;
13756 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
13757 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
13758 wxString *arg11 = (wxString *) &arg11_defvalue ;
13759 bool result;
ae8162c8 13760 bool temp4 = false ;
d55e5bfc
RD
13761 wxPoint temp5 ;
13762 wxSize temp6 ;
ae8162c8
RD
13763 bool temp7 = false ;
13764 bool temp11 = false ;
d55e5bfc
RD
13765 PyObject * obj0 = 0 ;
13766 PyObject * obj1 = 0 ;
13767 PyObject * obj2 = 0 ;
13768 PyObject * obj3 = 0 ;
13769 PyObject * obj4 = 0 ;
13770 PyObject * obj5 = 0 ;
13771 PyObject * obj6 = 0 ;
13772 PyObject * obj7 = 0 ;
13773 PyObject * obj8 = 0 ;
13774 PyObject * obj9 = 0 ;
13775 PyObject * obj10 = 0 ;
13776 char *kwnames[] = {
13777 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13778 };
13779
248ed943 13780 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
13781 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13782 if (SWIG_arg_fail(1)) SWIG_fail;
13783 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13784 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 13785 if (obj2) {
093d3ff1
RD
13786 {
13787 arg3 = (int)(SWIG_As_int(obj2));
13788 if (SWIG_arg_fail(3)) SWIG_fail;
13789 }
248ed943
RD
13790 }
13791 if (obj3) {
13792 {
13793 arg4 = wxString_in_helper(obj3);
13794 if (arg4 == NULL) SWIG_fail;
ae8162c8 13795 temp4 = true;
248ed943 13796 }
d55e5bfc
RD
13797 }
13798 if (obj4) {
13799 {
13800 arg5 = &temp5;
13801 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13802 }
13803 }
13804 if (obj5) {
13805 {
13806 arg6 = &temp6;
13807 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13808 }
13809 }
13810 if (obj6) {
13811 {
13812 if (! PySequence_Check(obj6)) {
13813 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
13814 SWIG_fail;
13815 }
13816 arg7 = new wxArrayString;
ae8162c8 13817 temp7 = true;
d55e5bfc
RD
13818 int i, len=PySequence_Length(obj6);
13819 for (i=0; i<len; i++) {
13820 PyObject* item = PySequence_GetItem(obj6, i);
13821#if wxUSE_UNICODE
13822 PyObject* str = PyObject_Unicode(item);
13823#else
13824 PyObject* str = PyObject_Str(item);
13825#endif
13826 if (PyErr_Occurred()) SWIG_fail;
13827 arg7->Add(Py2wxString(str));
13828 Py_DECREF(item);
13829 Py_DECREF(str);
13830 }
13831 }
13832 }
13833 if (obj7) {
093d3ff1
RD
13834 {
13835 arg8 = (int)(SWIG_As_int(obj7));
13836 if (SWIG_arg_fail(8)) SWIG_fail;
13837 }
d55e5bfc
RD
13838 }
13839 if (obj8) {
093d3ff1
RD
13840 {
13841 arg9 = (long)(SWIG_As_long(obj8));
13842 if (SWIG_arg_fail(9)) SWIG_fail;
13843 }
d55e5bfc
RD
13844 }
13845 if (obj9) {
093d3ff1
RD
13846 {
13847 SWIG_Python_ConvertPtr(obj9, (void **)&arg10, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
13848 if (SWIG_arg_fail(10)) SWIG_fail;
13849 if (arg10 == NULL) {
13850 SWIG_null_ref("wxValidator");
13851 }
13852 if (SWIG_arg_fail(10)) SWIG_fail;
d55e5bfc
RD
13853 }
13854 }
13855 if (obj10) {
13856 {
13857 arg11 = wxString_in_helper(obj10);
13858 if (arg11 == NULL) SWIG_fail;
ae8162c8 13859 temp11 = true;
d55e5bfc
RD
13860 }
13861 }
13862 {
13863 PyThreadState* __tstate = wxPyBeginAllowThreads();
13864 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);
13865
13866 wxPyEndAllowThreads(__tstate);
13867 if (PyErr_Occurred()) SWIG_fail;
13868 }
13869 {
13870 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13871 }
13872 {
13873 if (temp4)
13874 delete arg4;
13875 }
13876 {
13877 if (temp7) delete arg7;
13878 }
13879 {
13880 if (temp11)
13881 delete arg11;
13882 }
13883 return resultobj;
13884 fail:
13885 {
13886 if (temp4)
13887 delete arg4;
13888 }
13889 {
13890 if (temp7) delete arg7;
13891 }
13892 {
13893 if (temp11)
13894 delete arg11;
13895 }
13896 return NULL;
13897}
13898
13899
c32bde28 13900static PyObject *_wrap_RadioBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13901 PyObject *resultobj;
13902 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13903 int arg2 ;
13904 PyObject * obj0 = 0 ;
13905 PyObject * obj1 = 0 ;
13906 char *kwnames[] = {
13907 (char *) "self",(char *) "n", NULL
13908 };
13909
13910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13911 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13912 if (SWIG_arg_fail(1)) SWIG_fail;
13913 {
13914 arg2 = (int)(SWIG_As_int(obj1));
13915 if (SWIG_arg_fail(2)) SWIG_fail;
13916 }
d55e5bfc
RD
13917 {
13918 PyThreadState* __tstate = wxPyBeginAllowThreads();
13919 (arg1)->SetSelection(arg2);
13920
13921 wxPyEndAllowThreads(__tstate);
13922 if (PyErr_Occurred()) SWIG_fail;
13923 }
13924 Py_INCREF(Py_None); resultobj = Py_None;
13925 return resultobj;
13926 fail:
13927 return NULL;
13928}
13929
13930
c32bde28 13931static PyObject *_wrap_RadioBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13932 PyObject *resultobj;
13933 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13934 int result;
13935 PyObject * obj0 = 0 ;
13936 char *kwnames[] = {
13937 (char *) "self", NULL
13938 };
13939
13940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
13941 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13942 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13943 {
13944 PyThreadState* __tstate = wxPyBeginAllowThreads();
13945 result = (int)((wxRadioBox const *)arg1)->GetSelection();
13946
13947 wxPyEndAllowThreads(__tstate);
13948 if (PyErr_Occurred()) SWIG_fail;
13949 }
093d3ff1
RD
13950 {
13951 resultobj = SWIG_From_int((int)(result));
13952 }
d55e5bfc
RD
13953 return resultobj;
13954 fail:
13955 return NULL;
13956}
13957
13958
c32bde28 13959static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13960 PyObject *resultobj;
13961 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13962 wxString result;
13963 PyObject * obj0 = 0 ;
13964 char *kwnames[] = {
13965 (char *) "self", NULL
13966 };
13967
13968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetStringSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
13969 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13970 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13971 {
13972 PyThreadState* __tstate = wxPyBeginAllowThreads();
13973 result = ((wxRadioBox const *)arg1)->GetStringSelection();
13974
13975 wxPyEndAllowThreads(__tstate);
13976 if (PyErr_Occurred()) SWIG_fail;
13977 }
13978 {
13979#if wxUSE_UNICODE
13980 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13981#else
13982 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13983#endif
13984 }
13985 return resultobj;
13986 fail:
13987 return NULL;
13988}
13989
13990
c32bde28 13991static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13992 PyObject *resultobj;
13993 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13994 wxString *arg2 = 0 ;
13995 bool result;
ae8162c8 13996 bool temp2 = false ;
d55e5bfc
RD
13997 PyObject * obj0 = 0 ;
13998 PyObject * obj1 = 0 ;
13999 char *kwnames[] = {
14000 (char *) "self",(char *) "s", NULL
14001 };
14002
14003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14004 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14005 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14006 {
14007 arg2 = wxString_in_helper(obj1);
14008 if (arg2 == NULL) SWIG_fail;
ae8162c8 14009 temp2 = true;
d55e5bfc
RD
14010 }
14011 {
14012 PyThreadState* __tstate = wxPyBeginAllowThreads();
14013 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
14014
14015 wxPyEndAllowThreads(__tstate);
14016 if (PyErr_Occurred()) SWIG_fail;
14017 }
14018 {
14019 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14020 }
14021 {
14022 if (temp2)
14023 delete arg2;
14024 }
14025 return resultobj;
14026 fail:
14027 {
14028 if (temp2)
14029 delete arg2;
14030 }
14031 return NULL;
14032}
14033
14034
c32bde28 14035static PyObject *_wrap_RadioBox_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14036 PyObject *resultobj;
14037 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14038 int result;
14039 PyObject * obj0 = 0 ;
14040 char *kwnames[] = {
14041 (char *) "self", NULL
14042 };
14043
14044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
14045 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14046 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14047 {
14048 PyThreadState* __tstate = wxPyBeginAllowThreads();
14049 result = (int)((wxRadioBox const *)arg1)->GetCount();
14050
14051 wxPyEndAllowThreads(__tstate);
14052 if (PyErr_Occurred()) SWIG_fail;
14053 }
093d3ff1
RD
14054 {
14055 resultobj = SWIG_From_int((int)(result));
14056 }
d55e5bfc
RD
14057 return resultobj;
14058 fail:
14059 return NULL;
14060}
14061
14062
c32bde28 14063static PyObject *_wrap_RadioBox_FindString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14064 PyObject *resultobj;
14065 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14066 wxString *arg2 = 0 ;
14067 int result;
ae8162c8 14068 bool temp2 = false ;
d55e5bfc
RD
14069 PyObject * obj0 = 0 ;
14070 PyObject * obj1 = 0 ;
14071 char *kwnames[] = {
14072 (char *) "self",(char *) "s", NULL
14073 };
14074
14075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14076 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14077 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14078 {
14079 arg2 = wxString_in_helper(obj1);
14080 if (arg2 == NULL) SWIG_fail;
ae8162c8 14081 temp2 = true;
d55e5bfc
RD
14082 }
14083 {
14084 PyThreadState* __tstate = wxPyBeginAllowThreads();
14085 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
14086
14087 wxPyEndAllowThreads(__tstate);
14088 if (PyErr_Occurred()) SWIG_fail;
14089 }
093d3ff1
RD
14090 {
14091 resultobj = SWIG_From_int((int)(result));
14092 }
d55e5bfc
RD
14093 {
14094 if (temp2)
14095 delete arg2;
14096 }
14097 return resultobj;
14098 fail:
14099 {
14100 if (temp2)
14101 delete arg2;
14102 }
14103 return NULL;
14104}
14105
14106
c32bde28 14107static PyObject *_wrap_RadioBox_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14108 PyObject *resultobj;
14109 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14110 int arg2 ;
14111 wxString result;
14112 PyObject * obj0 = 0 ;
14113 PyObject * obj1 = 0 ;
14114 char *kwnames[] = {
14115 (char *) "self",(char *) "n", NULL
14116 };
14117
14118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetString",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14119 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14120 if (SWIG_arg_fail(1)) SWIG_fail;
14121 {
14122 arg2 = (int)(SWIG_As_int(obj1));
14123 if (SWIG_arg_fail(2)) SWIG_fail;
14124 }
d55e5bfc
RD
14125 {
14126 PyThreadState* __tstate = wxPyBeginAllowThreads();
14127 result = ((wxRadioBox const *)arg1)->GetString(arg2);
14128
14129 wxPyEndAllowThreads(__tstate);
14130 if (PyErr_Occurred()) SWIG_fail;
14131 }
14132 {
14133#if wxUSE_UNICODE
14134 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14135#else
14136 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14137#endif
14138 }
14139 return resultobj;
14140 fail:
14141 return NULL;
14142}
14143
14144
c32bde28 14145static PyObject *_wrap_RadioBox_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14146 PyObject *resultobj;
14147 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14148 int arg2 ;
14149 wxString *arg3 = 0 ;
ae8162c8 14150 bool temp3 = false ;
d55e5bfc
RD
14151 PyObject * obj0 = 0 ;
14152 PyObject * obj1 = 0 ;
14153 PyObject * obj2 = 0 ;
14154 char *kwnames[] = {
14155 (char *) "self",(char *) "n",(char *) "label", NULL
14156 };
14157
14158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
14159 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14160 if (SWIG_arg_fail(1)) SWIG_fail;
14161 {
14162 arg2 = (int)(SWIG_As_int(obj1));
14163 if (SWIG_arg_fail(2)) SWIG_fail;
14164 }
d55e5bfc
RD
14165 {
14166 arg3 = wxString_in_helper(obj2);
14167 if (arg3 == NULL) SWIG_fail;
ae8162c8 14168 temp3 = true;
d55e5bfc
RD
14169 }
14170 {
14171 PyThreadState* __tstate = wxPyBeginAllowThreads();
14172 (arg1)->SetString(arg2,(wxString const &)*arg3);
14173
14174 wxPyEndAllowThreads(__tstate);
14175 if (PyErr_Occurred()) SWIG_fail;
14176 }
14177 Py_INCREF(Py_None); resultobj = Py_None;
14178 {
14179 if (temp3)
14180 delete arg3;
14181 }
14182 return resultobj;
14183 fail:
14184 {
14185 if (temp3)
14186 delete arg3;
14187 }
14188 return NULL;
14189}
14190
14191
c32bde28 14192static PyObject *_wrap_RadioBox_EnableItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14193 PyObject *resultobj;
14194 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14195 int arg2 ;
ae8162c8 14196 bool arg3 = (bool) true ;
d55e5bfc
RD
14197 PyObject * obj0 = 0 ;
14198 PyObject * obj1 = 0 ;
14199 PyObject * obj2 = 0 ;
14200 char *kwnames[] = {
14201 (char *) "self",(char *) "n",(char *) "enable", NULL
14202 };
14203
14204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_EnableItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
14205 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14206 if (SWIG_arg_fail(1)) SWIG_fail;
14207 {
14208 arg2 = (int)(SWIG_As_int(obj1));
14209 if (SWIG_arg_fail(2)) SWIG_fail;
14210 }
d55e5bfc 14211 if (obj2) {
093d3ff1
RD
14212 {
14213 arg3 = (bool)(SWIG_As_bool(obj2));
14214 if (SWIG_arg_fail(3)) SWIG_fail;
14215 }
d55e5bfc
RD
14216 }
14217 {
14218 PyThreadState* __tstate = wxPyBeginAllowThreads();
14219 (arg1)->Enable(arg2,arg3);
14220
14221 wxPyEndAllowThreads(__tstate);
14222 if (PyErr_Occurred()) SWIG_fail;
14223 }
14224 Py_INCREF(Py_None); resultobj = Py_None;
14225 return resultobj;
14226 fail:
14227 return NULL;
14228}
14229
14230
c32bde28 14231static PyObject *_wrap_RadioBox_ShowItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14232 PyObject *resultobj;
14233 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14234 int arg2 ;
ae8162c8 14235 bool arg3 = (bool) true ;
d55e5bfc
RD
14236 PyObject * obj0 = 0 ;
14237 PyObject * obj1 = 0 ;
14238 PyObject * obj2 = 0 ;
14239 char *kwnames[] = {
14240 (char *) "self",(char *) "n",(char *) "show", NULL
14241 };
14242
14243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_ShowItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
14244 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14245 if (SWIG_arg_fail(1)) SWIG_fail;
14246 {
14247 arg2 = (int)(SWIG_As_int(obj1));
14248 if (SWIG_arg_fail(2)) SWIG_fail;
14249 }
d55e5bfc 14250 if (obj2) {
093d3ff1
RD
14251 {
14252 arg3 = (bool)(SWIG_As_bool(obj2));
14253 if (SWIG_arg_fail(3)) SWIG_fail;
14254 }
d55e5bfc
RD
14255 }
14256 {
14257 PyThreadState* __tstate = wxPyBeginAllowThreads();
14258 (arg1)->Show(arg2,arg3);
14259
14260 wxPyEndAllowThreads(__tstate);
14261 if (PyErr_Occurred()) SWIG_fail;
14262 }
14263 Py_INCREF(Py_None); resultobj = Py_None;
14264 return resultobj;
14265 fail:
14266 return NULL;
14267}
14268
14269
c32bde28 14270static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14271 PyObject *resultobj;
14272 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14273 int result;
14274 PyObject * obj0 = 0 ;
14275 char *kwnames[] = {
14276 (char *) "self", NULL
14277 };
14278
14279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetColumnCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
14280 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14281 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14282 {
14283 PyThreadState* __tstate = wxPyBeginAllowThreads();
14284 result = (int)((wxRadioBox const *)arg1)->GetColumnCount();
14285
14286 wxPyEndAllowThreads(__tstate);
14287 if (PyErr_Occurred()) SWIG_fail;
14288 }
093d3ff1
RD
14289 {
14290 resultobj = SWIG_From_int((int)(result));
14291 }
d55e5bfc
RD
14292 return resultobj;
14293 fail:
14294 return NULL;
14295}
14296
14297
c32bde28 14298static PyObject *_wrap_RadioBox_GetRowCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14299 PyObject *resultobj;
14300 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14301 int result;
14302 PyObject * obj0 = 0 ;
14303 char *kwnames[] = {
14304 (char *) "self", NULL
14305 };
14306
14307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetRowCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
14308 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14309 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14310 {
14311 PyThreadState* __tstate = wxPyBeginAllowThreads();
14312 result = (int)((wxRadioBox const *)arg1)->GetRowCount();
14313
14314 wxPyEndAllowThreads(__tstate);
14315 if (PyErr_Occurred()) SWIG_fail;
14316 }
093d3ff1
RD
14317 {
14318 resultobj = SWIG_From_int((int)(result));
14319 }
d55e5bfc
RD
14320 return resultobj;
14321 fail:
14322 return NULL;
14323}
14324
14325
c32bde28 14326static PyObject *_wrap_RadioBox_GetNextItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14327 PyObject *resultobj;
14328 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14329 int arg2 ;
093d3ff1 14330 wxDirection arg3 ;
d55e5bfc
RD
14331 long arg4 ;
14332 int result;
14333 PyObject * obj0 = 0 ;
14334 PyObject * obj1 = 0 ;
14335 PyObject * obj2 = 0 ;
14336 PyObject * obj3 = 0 ;
14337 char *kwnames[] = {
14338 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
14339 };
14340
14341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RadioBox_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
14342 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14343 if (SWIG_arg_fail(1)) SWIG_fail;
14344 {
14345 arg2 = (int)(SWIG_As_int(obj1));
14346 if (SWIG_arg_fail(2)) SWIG_fail;
14347 }
14348 {
14349 arg3 = (wxDirection)(SWIG_As_int(obj2));
14350 if (SWIG_arg_fail(3)) SWIG_fail;
14351 }
14352 {
14353 arg4 = (long)(SWIG_As_long(obj3));
14354 if (SWIG_arg_fail(4)) SWIG_fail;
14355 }
d55e5bfc
RD
14356 {
14357 PyThreadState* __tstate = wxPyBeginAllowThreads();
14358 result = (int)((wxRadioBox const *)arg1)->GetNextItem(arg2,(wxDirection )arg3,arg4);
14359
14360 wxPyEndAllowThreads(__tstate);
14361 if (PyErr_Occurred()) SWIG_fail;
14362 }
093d3ff1
RD
14363 {
14364 resultobj = SWIG_From_int((int)(result));
14365 }
d55e5bfc
RD
14366 return resultobj;
14367 fail:
14368 return NULL;
14369}
14370
14371
c32bde28 14372static PyObject *_wrap_RadioBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 14373 PyObject *resultobj;
093d3ff1 14374 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
14375 wxVisualAttributes result;
14376 PyObject * obj0 = 0 ;
14377 char *kwnames[] = {
14378 (char *) "variant", NULL
14379 };
14380
14381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
14382 if (obj0) {
093d3ff1
RD
14383 {
14384 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
14385 if (SWIG_arg_fail(1)) SWIG_fail;
14386 }
f20a2e1f
RD
14387 }
14388 {
19272049 14389 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
14390 PyThreadState* __tstate = wxPyBeginAllowThreads();
14391 result = wxRadioBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
14392
14393 wxPyEndAllowThreads(__tstate);
110da5b0 14394 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
14395 }
14396 {
14397 wxVisualAttributes * resultptr;
093d3ff1 14398 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
14399 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
14400 }
14401 return resultobj;
14402 fail:
14403 return NULL;
14404}
14405
14406
c32bde28 14407static PyObject * RadioBox_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
14408 PyObject *obj;
14409 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14410 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox, obj);
14411 Py_INCREF(obj);
14412 return Py_BuildValue((char *)"");
14413}
c32bde28 14414static PyObject *_wrap_new_RadioButton(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14415 PyObject *resultobj;
14416 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
14417 int arg2 = (int) -1 ;
14418 wxString const &arg3_defvalue = wxPyEmptyString ;
14419 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
14420 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14421 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14422 wxSize const &arg5_defvalue = wxDefaultSize ;
14423 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14424 long arg6 = (long) 0 ;
14425 wxValidator const &arg7_defvalue = wxDefaultValidator ;
14426 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
14427 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
14428 wxString *arg8 = (wxString *) &arg8_defvalue ;
14429 wxRadioButton *result;
ae8162c8 14430 bool temp3 = false ;
d55e5bfc
RD
14431 wxPoint temp4 ;
14432 wxSize temp5 ;
ae8162c8 14433 bool temp8 = false ;
d55e5bfc
RD
14434 PyObject * obj0 = 0 ;
14435 PyObject * obj1 = 0 ;
14436 PyObject * obj2 = 0 ;
14437 PyObject * obj3 = 0 ;
14438 PyObject * obj4 = 0 ;
14439 PyObject * obj5 = 0 ;
14440 PyObject * obj6 = 0 ;
14441 PyObject * obj7 = 0 ;
14442 char *kwnames[] = {
14443 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14444 };
14445
248ed943 14446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_RadioButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
14447 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14448 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 14449 if (obj1) {
093d3ff1
RD
14450 {
14451 arg2 = (int)(SWIG_As_int(obj1));
14452 if (SWIG_arg_fail(2)) SWIG_fail;
14453 }
248ed943
RD
14454 }
14455 if (obj2) {
14456 {
14457 arg3 = wxString_in_helper(obj2);
14458 if (arg3 == NULL) SWIG_fail;
ae8162c8 14459 temp3 = true;
248ed943 14460 }
d55e5bfc
RD
14461 }
14462 if (obj3) {
14463 {
14464 arg4 = &temp4;
14465 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14466 }
14467 }
14468 if (obj4) {
14469 {
14470 arg5 = &temp5;
14471 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14472 }
14473 }
14474 if (obj5) {
093d3ff1
RD
14475 {
14476 arg6 = (long)(SWIG_As_long(obj5));
14477 if (SWIG_arg_fail(6)) SWIG_fail;
14478 }
d55e5bfc
RD
14479 }
14480 if (obj6) {
093d3ff1
RD
14481 {
14482 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14483 if (SWIG_arg_fail(7)) SWIG_fail;
14484 if (arg7 == NULL) {
14485 SWIG_null_ref("wxValidator");
14486 }
14487 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
14488 }
14489 }
14490 if (obj7) {
14491 {
14492 arg8 = wxString_in_helper(obj7);
14493 if (arg8 == NULL) SWIG_fail;
ae8162c8 14494 temp8 = true;
d55e5bfc
RD
14495 }
14496 }
14497 {
0439c23b 14498 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14499 PyThreadState* __tstate = wxPyBeginAllowThreads();
14500 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
14501
14502 wxPyEndAllowThreads(__tstate);
110da5b0 14503 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14504 }
14505 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
14506 {
14507 if (temp3)
14508 delete arg3;
14509 }
14510 {
14511 if (temp8)
14512 delete arg8;
14513 }
14514 return resultobj;
14515 fail:
14516 {
14517 if (temp3)
14518 delete arg3;
14519 }
14520 {
14521 if (temp8)
14522 delete arg8;
14523 }
14524 return NULL;
14525}
14526
14527
c32bde28 14528static PyObject *_wrap_new_PreRadioButton(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14529 PyObject *resultobj;
14530 wxRadioButton *result;
14531 char *kwnames[] = {
14532 NULL
14533 };
14534
14535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioButton",kwnames)) goto fail;
14536 {
0439c23b 14537 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14538 PyThreadState* __tstate = wxPyBeginAllowThreads();
14539 result = (wxRadioButton *)new wxRadioButton();
14540
14541 wxPyEndAllowThreads(__tstate);
110da5b0 14542 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14543 }
14544 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
14545 return resultobj;
14546 fail:
14547 return NULL;
14548}
14549
14550
c32bde28 14551static PyObject *_wrap_RadioButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14552 PyObject *resultobj;
14553 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
14554 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
14555 int arg3 = (int) -1 ;
14556 wxString const &arg4_defvalue = wxPyEmptyString ;
14557 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
14558 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14559 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14560 wxSize const &arg6_defvalue = wxDefaultSize ;
14561 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14562 long arg7 = (long) 0 ;
14563 wxValidator const &arg8_defvalue = wxDefaultValidator ;
14564 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
14565 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
14566 wxString *arg9 = (wxString *) &arg9_defvalue ;
14567 bool result;
ae8162c8 14568 bool temp4 = false ;
d55e5bfc
RD
14569 wxPoint temp5 ;
14570 wxSize temp6 ;
ae8162c8 14571 bool temp9 = false ;
d55e5bfc
RD
14572 PyObject * obj0 = 0 ;
14573 PyObject * obj1 = 0 ;
14574 PyObject * obj2 = 0 ;
14575 PyObject * obj3 = 0 ;
14576 PyObject * obj4 = 0 ;
14577 PyObject * obj5 = 0 ;
14578 PyObject * obj6 = 0 ;
14579 PyObject * obj7 = 0 ;
14580 PyObject * obj8 = 0 ;
14581 char *kwnames[] = {
14582 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14583 };
14584
248ed943 14585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
14586 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioButton, SWIG_POINTER_EXCEPTION | 0);
14587 if (SWIG_arg_fail(1)) SWIG_fail;
14588 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14589 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 14590 if (obj2) {
093d3ff1
RD
14591 {
14592 arg3 = (int)(SWIG_As_int(obj2));
14593 if (SWIG_arg_fail(3)) SWIG_fail;
14594 }
248ed943
RD
14595 }
14596 if (obj3) {
14597 {
14598 arg4 = wxString_in_helper(obj3);
14599 if (arg4 == NULL) SWIG_fail;
ae8162c8 14600 temp4 = true;
248ed943 14601 }
d55e5bfc
RD
14602 }
14603 if (obj4) {
14604 {
14605 arg5 = &temp5;
14606 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14607 }
14608 }
14609 if (obj5) {
14610 {
14611 arg6 = &temp6;
14612 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14613 }
14614 }
14615 if (obj6) {
093d3ff1
RD
14616 {
14617 arg7 = (long)(SWIG_As_long(obj6));
14618 if (SWIG_arg_fail(7)) SWIG_fail;
14619 }
d55e5bfc
RD
14620 }
14621 if (obj7) {
093d3ff1
RD
14622 {
14623 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14624 if (SWIG_arg_fail(8)) SWIG_fail;
14625 if (arg8 == NULL) {
14626 SWIG_null_ref("wxValidator");
14627 }
14628 if (SWIG_arg_fail(8)) SWIG_fail;
d55e5bfc
RD
14629 }
14630 }
14631 if (obj8) {
14632 {
14633 arg9 = wxString_in_helper(obj8);
14634 if (arg9 == NULL) SWIG_fail;
ae8162c8 14635 temp9 = true;
d55e5bfc
RD
14636 }
14637 }
14638 {
14639 PyThreadState* __tstate = wxPyBeginAllowThreads();
14640 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
14641
14642 wxPyEndAllowThreads(__tstate);
14643 if (PyErr_Occurred()) SWIG_fail;
14644 }
14645 {
14646 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14647 }
14648 {
14649 if (temp4)
14650 delete arg4;
14651 }
14652 {
14653 if (temp9)
14654 delete arg9;
14655 }
14656 return resultobj;
14657 fail:
14658 {
14659 if (temp4)
14660 delete arg4;
14661 }
14662 {
14663 if (temp9)
14664 delete arg9;
14665 }
14666 return NULL;
14667}
14668
14669
c32bde28 14670static PyObject *_wrap_RadioButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14671 PyObject *resultobj;
14672 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
14673 bool result;
14674 PyObject * obj0 = 0 ;
14675 char *kwnames[] = {
14676 (char *) "self", NULL
14677 };
14678
14679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioButton_GetValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
14680 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioButton, SWIG_POINTER_EXCEPTION | 0);
14681 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14682 {
14683 PyThreadState* __tstate = wxPyBeginAllowThreads();
14684 result = (bool)(arg1)->GetValue();
14685
14686 wxPyEndAllowThreads(__tstate);
14687 if (PyErr_Occurred()) SWIG_fail;
14688 }
14689 {
14690 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14691 }
14692 return resultobj;
14693 fail:
14694 return NULL;
14695}
14696
14697
c32bde28 14698static PyObject *_wrap_RadioButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14699 PyObject *resultobj;
14700 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
14701 bool arg2 ;
14702 PyObject * obj0 = 0 ;
14703 PyObject * obj1 = 0 ;
14704 char *kwnames[] = {
14705 (char *) "self",(char *) "value", NULL
14706 };
14707
14708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14709 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioButton, SWIG_POINTER_EXCEPTION | 0);
14710 if (SWIG_arg_fail(1)) SWIG_fail;
14711 {
14712 arg2 = (bool)(SWIG_As_bool(obj1));
14713 if (SWIG_arg_fail(2)) SWIG_fail;
14714 }
d55e5bfc
RD
14715 {
14716 PyThreadState* __tstate = wxPyBeginAllowThreads();
14717 (arg1)->SetValue(arg2);
14718
14719 wxPyEndAllowThreads(__tstate);
14720 if (PyErr_Occurred()) SWIG_fail;
14721 }
14722 Py_INCREF(Py_None); resultobj = Py_None;
14723 return resultobj;
14724 fail:
14725 return NULL;
14726}
14727
14728
c32bde28 14729static PyObject *_wrap_RadioButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 14730 PyObject *resultobj;
093d3ff1 14731 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
14732 wxVisualAttributes result;
14733 PyObject * obj0 = 0 ;
14734 char *kwnames[] = {
14735 (char *) "variant", NULL
14736 };
14737
14738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
14739 if (obj0) {
093d3ff1
RD
14740 {
14741 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
14742 if (SWIG_arg_fail(1)) SWIG_fail;
14743 }
f20a2e1f
RD
14744 }
14745 {
19272049 14746 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
14747 PyThreadState* __tstate = wxPyBeginAllowThreads();
14748 result = wxRadioButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
14749
14750 wxPyEndAllowThreads(__tstate);
110da5b0 14751 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
14752 }
14753 {
14754 wxVisualAttributes * resultptr;
093d3ff1 14755 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
14756 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
14757 }
14758 return resultobj;
14759 fail:
14760 return NULL;
14761}
14762
14763
c32bde28 14764static PyObject * RadioButton_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
14765 PyObject *obj;
14766 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14767 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton, obj);
14768 Py_INCREF(obj);
14769 return Py_BuildValue((char *)"");
14770}
c32bde28 14771static int _wrap_SliderNameStr_set(PyObject *) {
d55e5bfc
RD
14772 PyErr_SetString(PyExc_TypeError,"Variable SliderNameStr is read-only.");
14773 return 1;
14774}
14775
14776
093d3ff1 14777static PyObject *_wrap_SliderNameStr_get(void) {
d55e5bfc
RD
14778 PyObject *pyobj;
14779
14780 {
14781#if wxUSE_UNICODE
14782 pyobj = PyUnicode_FromWideChar((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
14783#else
14784 pyobj = PyString_FromStringAndSize((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
14785#endif
14786 }
14787 return pyobj;
14788}
14789
14790
c32bde28 14791static PyObject *_wrap_new_Slider(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14792 PyObject *resultobj;
14793 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
14794 int arg2 = (int) -1 ;
14795 int arg3 = (int) 0 ;
14796 int arg4 = (int) 0 ;
14797 int arg5 = (int) 100 ;
d55e5bfc
RD
14798 wxPoint const &arg6_defvalue = wxDefaultPosition ;
14799 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
14800 wxSize const &arg7_defvalue = wxDefaultSize ;
14801 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
14802 long arg8 = (long) wxSL_HORIZONTAL ;
14803 wxValidator const &arg9_defvalue = wxDefaultValidator ;
14804 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
14805 wxString const &arg10_defvalue = wxPySliderNameStr ;
14806 wxString *arg10 = (wxString *) &arg10_defvalue ;
14807 wxSlider *result;
14808 wxPoint temp6 ;
14809 wxSize temp7 ;
ae8162c8 14810 bool temp10 = false ;
d55e5bfc
RD
14811 PyObject * obj0 = 0 ;
14812 PyObject * obj1 = 0 ;
14813 PyObject * obj2 = 0 ;
14814 PyObject * obj3 = 0 ;
14815 PyObject * obj4 = 0 ;
14816 PyObject * obj5 = 0 ;
14817 PyObject * obj6 = 0 ;
14818 PyObject * obj7 = 0 ;
14819 PyObject * obj8 = 0 ;
14820 PyObject * obj9 = 0 ;
14821 char *kwnames[] = {
14822 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14823 };
14824
248ed943 14825 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
14826 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14827 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 14828 if (obj1) {
093d3ff1
RD
14829 {
14830 arg2 = (int)(SWIG_As_int(obj1));
14831 if (SWIG_arg_fail(2)) SWIG_fail;
14832 }
248ed943
RD
14833 }
14834 if (obj2) {
093d3ff1
RD
14835 {
14836 arg3 = (int)(SWIG_As_int(obj2));
14837 if (SWIG_arg_fail(3)) SWIG_fail;
14838 }
248ed943
RD
14839 }
14840 if (obj3) {
093d3ff1
RD
14841 {
14842 arg4 = (int)(SWIG_As_int(obj3));
14843 if (SWIG_arg_fail(4)) SWIG_fail;
14844 }
248ed943
RD
14845 }
14846 if (obj4) {
093d3ff1
RD
14847 {
14848 arg5 = (int)(SWIG_As_int(obj4));
14849 if (SWIG_arg_fail(5)) SWIG_fail;
14850 }
248ed943 14851 }
d55e5bfc
RD
14852 if (obj5) {
14853 {
14854 arg6 = &temp6;
14855 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
14856 }
14857 }
14858 if (obj6) {
14859 {
14860 arg7 = &temp7;
14861 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
14862 }
14863 }
14864 if (obj7) {
093d3ff1
RD
14865 {
14866 arg8 = (long)(SWIG_As_long(obj7));
14867 if (SWIG_arg_fail(8)) SWIG_fail;
14868 }
d55e5bfc
RD
14869 }
14870 if (obj8) {
093d3ff1
RD
14871 {
14872 SWIG_Python_ConvertPtr(obj8, (void **)&arg9, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14873 if (SWIG_arg_fail(9)) SWIG_fail;
14874 if (arg9 == NULL) {
14875 SWIG_null_ref("wxValidator");
14876 }
14877 if (SWIG_arg_fail(9)) SWIG_fail;
d55e5bfc
RD
14878 }
14879 }
14880 if (obj9) {
14881 {
14882 arg10 = wxString_in_helper(obj9);
14883 if (arg10 == NULL) SWIG_fail;
ae8162c8 14884 temp10 = true;
d55e5bfc
RD
14885 }
14886 }
14887 {
0439c23b 14888 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14889 PyThreadState* __tstate = wxPyBeginAllowThreads();
14890 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
14891
14892 wxPyEndAllowThreads(__tstate);
110da5b0 14893 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14894 }
14895 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
14896 {
14897 if (temp10)
14898 delete arg10;
14899 }
14900 return resultobj;
14901 fail:
14902 {
14903 if (temp10)
14904 delete arg10;
14905 }
14906 return NULL;
14907}
14908
14909
c32bde28 14910static PyObject *_wrap_new_PreSlider(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14911 PyObject *resultobj;
14912 wxSlider *result;
14913 char *kwnames[] = {
14914 NULL
14915 };
14916
14917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSlider",kwnames)) goto fail;
14918 {
0439c23b 14919 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14920 PyThreadState* __tstate = wxPyBeginAllowThreads();
14921 result = (wxSlider *)new wxSlider();
14922
14923 wxPyEndAllowThreads(__tstate);
110da5b0 14924 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14925 }
14926 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
14927 return resultobj;
14928 fail:
14929 return NULL;
14930}
14931
14932
c32bde28 14933static PyObject *_wrap_Slider_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14934 PyObject *resultobj;
14935 wxSlider *arg1 = (wxSlider *) 0 ;
14936 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
14937 int arg3 = (int) -1 ;
14938 int arg4 = (int) 0 ;
14939 int arg5 = (int) 0 ;
14940 int arg6 = (int) 100 ;
d55e5bfc
RD
14941 wxPoint const &arg7_defvalue = wxDefaultPosition ;
14942 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
14943 wxSize const &arg8_defvalue = wxDefaultSize ;
14944 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
14945 long arg9 = (long) wxSL_HORIZONTAL ;
14946 wxValidator const &arg10_defvalue = wxDefaultValidator ;
14947 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
14948 wxString const &arg11_defvalue = wxPySliderNameStr ;
14949 wxString *arg11 = (wxString *) &arg11_defvalue ;
14950 bool result;
14951 wxPoint temp7 ;
14952 wxSize temp8 ;
ae8162c8 14953 bool temp11 = false ;
d55e5bfc
RD
14954 PyObject * obj0 = 0 ;
14955 PyObject * obj1 = 0 ;
14956 PyObject * obj2 = 0 ;
14957 PyObject * obj3 = 0 ;
14958 PyObject * obj4 = 0 ;
14959 PyObject * obj5 = 0 ;
14960 PyObject * obj6 = 0 ;
14961 PyObject * obj7 = 0 ;
14962 PyObject * obj8 = 0 ;
14963 PyObject * obj9 = 0 ;
14964 PyObject * obj10 = 0 ;
14965 char *kwnames[] = {
14966 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14967 };
14968
248ed943 14969 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
14970 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
14971 if (SWIG_arg_fail(1)) SWIG_fail;
14972 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14973 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 14974 if (obj2) {
093d3ff1
RD
14975 {
14976 arg3 = (int)(SWIG_As_int(obj2));
14977 if (SWIG_arg_fail(3)) SWIG_fail;
14978 }
248ed943
RD
14979 }
14980 if (obj3) {
093d3ff1
RD
14981 {
14982 arg4 = (int)(SWIG_As_int(obj3));
14983 if (SWIG_arg_fail(4)) SWIG_fail;
14984 }
248ed943
RD
14985 }
14986 if (obj4) {
093d3ff1
RD
14987 {
14988 arg5 = (int)(SWIG_As_int(obj4));
14989 if (SWIG_arg_fail(5)) SWIG_fail;
14990 }
248ed943
RD
14991 }
14992 if (obj5) {
093d3ff1
RD
14993 {
14994 arg6 = (int)(SWIG_As_int(obj5));
14995 if (SWIG_arg_fail(6)) SWIG_fail;
14996 }
248ed943 14997 }
d55e5bfc
RD
14998 if (obj6) {
14999 {
15000 arg7 = &temp7;
15001 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
15002 }
15003 }
15004 if (obj7) {
15005 {
15006 arg8 = &temp8;
15007 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
15008 }
15009 }
15010 if (obj8) {
093d3ff1
RD
15011 {
15012 arg9 = (long)(SWIG_As_long(obj8));
15013 if (SWIG_arg_fail(9)) SWIG_fail;
15014 }
d55e5bfc
RD
15015 }
15016 if (obj9) {
093d3ff1
RD
15017 {
15018 SWIG_Python_ConvertPtr(obj9, (void **)&arg10, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
15019 if (SWIG_arg_fail(10)) SWIG_fail;
15020 if (arg10 == NULL) {
15021 SWIG_null_ref("wxValidator");
15022 }
15023 if (SWIG_arg_fail(10)) SWIG_fail;
d55e5bfc
RD
15024 }
15025 }
15026 if (obj10) {
15027 {
15028 arg11 = wxString_in_helper(obj10);
15029 if (arg11 == NULL) SWIG_fail;
ae8162c8 15030 temp11 = true;
d55e5bfc
RD
15031 }
15032 }
15033 {
15034 PyThreadState* __tstate = wxPyBeginAllowThreads();
15035 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
15036
15037 wxPyEndAllowThreads(__tstate);
15038 if (PyErr_Occurred()) SWIG_fail;
15039 }
15040 {
15041 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15042 }
15043 {
15044 if (temp11)
15045 delete arg11;
15046 }
15047 return resultobj;
15048 fail:
15049 {
15050 if (temp11)
15051 delete arg11;
15052 }
15053 return NULL;
15054}
15055
15056
c32bde28 15057static PyObject *_wrap_Slider_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15058 PyObject *resultobj;
15059 wxSlider *arg1 = (wxSlider *) 0 ;
15060 int result;
15061 PyObject * obj0 = 0 ;
15062 char *kwnames[] = {
15063 (char *) "self", NULL
15064 };
15065
15066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
15067 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15068 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15069 {
15070 PyThreadState* __tstate = wxPyBeginAllowThreads();
15071 result = (int)((wxSlider const *)arg1)->GetValue();
15072
15073 wxPyEndAllowThreads(__tstate);
15074 if (PyErr_Occurred()) SWIG_fail;
15075 }
093d3ff1
RD
15076 {
15077 resultobj = SWIG_From_int((int)(result));
15078 }
d55e5bfc
RD
15079 return resultobj;
15080 fail:
15081 return NULL;
15082}
15083
15084
c32bde28 15085static PyObject *_wrap_Slider_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15086 PyObject *resultobj;
15087 wxSlider *arg1 = (wxSlider *) 0 ;
15088 int arg2 ;
15089 PyObject * obj0 = 0 ;
15090 PyObject * obj1 = 0 ;
15091 char *kwnames[] = {
15092 (char *) "self",(char *) "value", NULL
15093 };
15094
15095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetValue",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15096 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15097 if (SWIG_arg_fail(1)) SWIG_fail;
15098 {
15099 arg2 = (int)(SWIG_As_int(obj1));
15100 if (SWIG_arg_fail(2)) SWIG_fail;
15101 }
d55e5bfc
RD
15102 {
15103 PyThreadState* __tstate = wxPyBeginAllowThreads();
15104 (arg1)->SetValue(arg2);
15105
15106 wxPyEndAllowThreads(__tstate);
15107 if (PyErr_Occurred()) SWIG_fail;
15108 }
15109 Py_INCREF(Py_None); resultobj = Py_None;
15110 return resultobj;
15111 fail:
15112 return NULL;
15113}
15114
15115
c32bde28 15116static PyObject *_wrap_Slider_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15117 PyObject *resultobj;
15118 wxSlider *arg1 = (wxSlider *) 0 ;
15119 int arg2 ;
15120 int arg3 ;
15121 PyObject * obj0 = 0 ;
15122 PyObject * obj1 = 0 ;
15123 PyObject * obj2 = 0 ;
15124 char *kwnames[] = {
15125 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
15126 };
15127
15128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
15129 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15130 if (SWIG_arg_fail(1)) SWIG_fail;
15131 {
15132 arg2 = (int)(SWIG_As_int(obj1));
15133 if (SWIG_arg_fail(2)) SWIG_fail;
15134 }
15135 {
15136 arg3 = (int)(SWIG_As_int(obj2));
15137 if (SWIG_arg_fail(3)) SWIG_fail;
15138 }
d55e5bfc
RD
15139 {
15140 PyThreadState* __tstate = wxPyBeginAllowThreads();
15141 (arg1)->SetRange(arg2,arg3);
15142
15143 wxPyEndAllowThreads(__tstate);
15144 if (PyErr_Occurred()) SWIG_fail;
15145 }
15146 Py_INCREF(Py_None); resultobj = Py_None;
15147 return resultobj;
15148 fail:
15149 return NULL;
15150}
15151
15152
c32bde28 15153static PyObject *_wrap_Slider_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15154 PyObject *resultobj;
15155 wxSlider *arg1 = (wxSlider *) 0 ;
15156 int result;
15157 PyObject * obj0 = 0 ;
15158 char *kwnames[] = {
15159 (char *) "self", NULL
15160 };
15161
15162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMin",kwnames,&obj0)) goto fail;
093d3ff1
RD
15163 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15164 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15165 {
15166 PyThreadState* __tstate = wxPyBeginAllowThreads();
15167 result = (int)((wxSlider const *)arg1)->GetMin();
15168
15169 wxPyEndAllowThreads(__tstate);
15170 if (PyErr_Occurred()) SWIG_fail;
15171 }
093d3ff1
RD
15172 {
15173 resultobj = SWIG_From_int((int)(result));
15174 }
d55e5bfc
RD
15175 return resultobj;
15176 fail:
15177 return NULL;
15178}
15179
15180
c32bde28 15181static PyObject *_wrap_Slider_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15182 PyObject *resultobj;
15183 wxSlider *arg1 = (wxSlider *) 0 ;
15184 int result;
15185 PyObject * obj0 = 0 ;
15186 char *kwnames[] = {
15187 (char *) "self", NULL
15188 };
15189
15190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMax",kwnames,&obj0)) goto fail;
093d3ff1
RD
15191 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15192 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15193 {
15194 PyThreadState* __tstate = wxPyBeginAllowThreads();
15195 result = (int)((wxSlider const *)arg1)->GetMax();
15196
15197 wxPyEndAllowThreads(__tstate);
15198 if (PyErr_Occurred()) SWIG_fail;
15199 }
093d3ff1
RD
15200 {
15201 resultobj = SWIG_From_int((int)(result));
15202 }
d55e5bfc
RD
15203 return resultobj;
15204 fail:
15205 return NULL;
15206}
15207
15208
c32bde28 15209static PyObject *_wrap_Slider_SetMin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15210 PyObject *resultobj;
15211 wxSlider *arg1 = (wxSlider *) 0 ;
15212 int arg2 ;
15213 PyObject * obj0 = 0 ;
15214 PyObject * obj1 = 0 ;
15215 char *kwnames[] = {
15216 (char *) "self",(char *) "minValue", NULL
15217 };
15218
15219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMin",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15220 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15221 if (SWIG_arg_fail(1)) SWIG_fail;
15222 {
15223 arg2 = (int)(SWIG_As_int(obj1));
15224 if (SWIG_arg_fail(2)) SWIG_fail;
15225 }
d55e5bfc
RD
15226 {
15227 PyThreadState* __tstate = wxPyBeginAllowThreads();
15228 (arg1)->SetMin(arg2);
15229
15230 wxPyEndAllowThreads(__tstate);
15231 if (PyErr_Occurred()) SWIG_fail;
15232 }
15233 Py_INCREF(Py_None); resultobj = Py_None;
15234 return resultobj;
15235 fail:
15236 return NULL;
15237}
15238
15239
c32bde28 15240static PyObject *_wrap_Slider_SetMax(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15241 PyObject *resultobj;
15242 wxSlider *arg1 = (wxSlider *) 0 ;
15243 int arg2 ;
15244 PyObject * obj0 = 0 ;
15245 PyObject * obj1 = 0 ;
15246 char *kwnames[] = {
15247 (char *) "self",(char *) "maxValue", NULL
15248 };
15249
15250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMax",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15251 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15252 if (SWIG_arg_fail(1)) SWIG_fail;
15253 {
15254 arg2 = (int)(SWIG_As_int(obj1));
15255 if (SWIG_arg_fail(2)) SWIG_fail;
15256 }
d55e5bfc
RD
15257 {
15258 PyThreadState* __tstate = wxPyBeginAllowThreads();
15259 (arg1)->SetMax(arg2);
15260
15261 wxPyEndAllowThreads(__tstate);
15262 if (PyErr_Occurred()) SWIG_fail;
15263 }
15264 Py_INCREF(Py_None); resultobj = Py_None;
15265 return resultobj;
15266 fail:
15267 return NULL;
15268}
15269
15270
c32bde28 15271static PyObject *_wrap_Slider_SetLineSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15272 PyObject *resultobj;
15273 wxSlider *arg1 = (wxSlider *) 0 ;
15274 int arg2 ;
15275 PyObject * obj0 = 0 ;
15276 PyObject * obj1 = 0 ;
15277 char *kwnames[] = {
15278 (char *) "self",(char *) "lineSize", NULL
15279 };
15280
15281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetLineSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15282 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15283 if (SWIG_arg_fail(1)) SWIG_fail;
15284 {
15285 arg2 = (int)(SWIG_As_int(obj1));
15286 if (SWIG_arg_fail(2)) SWIG_fail;
15287 }
d55e5bfc
RD
15288 {
15289 PyThreadState* __tstate = wxPyBeginAllowThreads();
15290 (arg1)->SetLineSize(arg2);
15291
15292 wxPyEndAllowThreads(__tstate);
15293 if (PyErr_Occurred()) SWIG_fail;
15294 }
15295 Py_INCREF(Py_None); resultobj = Py_None;
15296 return resultobj;
15297 fail:
15298 return NULL;
15299}
15300
15301
c32bde28 15302static PyObject *_wrap_Slider_SetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15303 PyObject *resultobj;
15304 wxSlider *arg1 = (wxSlider *) 0 ;
15305 int arg2 ;
15306 PyObject * obj0 = 0 ;
15307 PyObject * obj1 = 0 ;
15308 char *kwnames[] = {
15309 (char *) "self",(char *) "pageSize", NULL
15310 };
15311
15312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15313 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15314 if (SWIG_arg_fail(1)) SWIG_fail;
15315 {
15316 arg2 = (int)(SWIG_As_int(obj1));
15317 if (SWIG_arg_fail(2)) SWIG_fail;
15318 }
d55e5bfc
RD
15319 {
15320 PyThreadState* __tstate = wxPyBeginAllowThreads();
15321 (arg1)->SetPageSize(arg2);
15322
15323 wxPyEndAllowThreads(__tstate);
15324 if (PyErr_Occurred()) SWIG_fail;
15325 }
15326 Py_INCREF(Py_None); resultobj = Py_None;
15327 return resultobj;
15328 fail:
15329 return NULL;
15330}
15331
15332
c32bde28 15333static PyObject *_wrap_Slider_GetLineSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15334 PyObject *resultobj;
15335 wxSlider *arg1 = (wxSlider *) 0 ;
15336 int result;
15337 PyObject * obj0 = 0 ;
15338 char *kwnames[] = {
15339 (char *) "self", NULL
15340 };
15341
15342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetLineSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
15343 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15344 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15345 {
15346 PyThreadState* __tstate = wxPyBeginAllowThreads();
15347 result = (int)((wxSlider const *)arg1)->GetLineSize();
15348
15349 wxPyEndAllowThreads(__tstate);
15350 if (PyErr_Occurred()) SWIG_fail;
15351 }
093d3ff1
RD
15352 {
15353 resultobj = SWIG_From_int((int)(result));
15354 }
d55e5bfc
RD
15355 return resultobj;
15356 fail:
15357 return NULL;
15358}
15359
15360
c32bde28 15361static PyObject *_wrap_Slider_GetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15362 PyObject *resultobj;
15363 wxSlider *arg1 = (wxSlider *) 0 ;
15364 int result;
15365 PyObject * obj0 = 0 ;
15366 char *kwnames[] = {
15367 (char *) "self", NULL
15368 };
15369
15370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetPageSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
15371 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15372 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15373 {
15374 PyThreadState* __tstate = wxPyBeginAllowThreads();
15375 result = (int)((wxSlider const *)arg1)->GetPageSize();
15376
15377 wxPyEndAllowThreads(__tstate);
15378 if (PyErr_Occurred()) SWIG_fail;
15379 }
093d3ff1
RD
15380 {
15381 resultobj = SWIG_From_int((int)(result));
15382 }
d55e5bfc
RD
15383 return resultobj;
15384 fail:
15385 return NULL;
15386}
15387
15388
c32bde28 15389static PyObject *_wrap_Slider_SetThumbLength(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15390 PyObject *resultobj;
15391 wxSlider *arg1 = (wxSlider *) 0 ;
15392 int arg2 ;
15393 PyObject * obj0 = 0 ;
15394 PyObject * obj1 = 0 ;
15395 char *kwnames[] = {
15396 (char *) "self",(char *) "lenPixels", NULL
15397 };
15398
15399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetThumbLength",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15400 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15401 if (SWIG_arg_fail(1)) SWIG_fail;
15402 {
15403 arg2 = (int)(SWIG_As_int(obj1));
15404 if (SWIG_arg_fail(2)) SWIG_fail;
15405 }
d55e5bfc
RD
15406 {
15407 PyThreadState* __tstate = wxPyBeginAllowThreads();
15408 (arg1)->SetThumbLength(arg2);
15409
15410 wxPyEndAllowThreads(__tstate);
15411 if (PyErr_Occurred()) SWIG_fail;
15412 }
15413 Py_INCREF(Py_None); resultobj = Py_None;
15414 return resultobj;
15415 fail:
15416 return NULL;
15417}
15418
15419
c32bde28 15420static PyObject *_wrap_Slider_GetThumbLength(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15421 PyObject *resultobj;
15422 wxSlider *arg1 = (wxSlider *) 0 ;
15423 int result;
15424 PyObject * obj0 = 0 ;
15425 char *kwnames[] = {
15426 (char *) "self", NULL
15427 };
15428
15429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetThumbLength",kwnames,&obj0)) goto fail;
093d3ff1
RD
15430 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15431 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15432 {
15433 PyThreadState* __tstate = wxPyBeginAllowThreads();
15434 result = (int)((wxSlider const *)arg1)->GetThumbLength();
15435
15436 wxPyEndAllowThreads(__tstate);
15437 if (PyErr_Occurred()) SWIG_fail;
15438 }
093d3ff1
RD
15439 {
15440 resultobj = SWIG_From_int((int)(result));
15441 }
d55e5bfc
RD
15442 return resultobj;
15443 fail:
15444 return NULL;
15445}
15446
15447
c32bde28 15448static PyObject *_wrap_Slider_SetTickFreq(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15449 PyObject *resultobj;
15450 wxSlider *arg1 = (wxSlider *) 0 ;
15451 int arg2 ;
15452 int arg3 = (int) 1 ;
15453 PyObject * obj0 = 0 ;
15454 PyObject * obj1 = 0 ;
15455 PyObject * obj2 = 0 ;
15456 char *kwnames[] = {
15457 (char *) "self",(char *) "n",(char *) "pos", NULL
15458 };
15459
15460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Slider_SetTickFreq",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
15461 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15462 if (SWIG_arg_fail(1)) SWIG_fail;
15463 {
15464 arg2 = (int)(SWIG_As_int(obj1));
15465 if (SWIG_arg_fail(2)) SWIG_fail;
15466 }
d55e5bfc 15467 if (obj2) {
093d3ff1
RD
15468 {
15469 arg3 = (int)(SWIG_As_int(obj2));
15470 if (SWIG_arg_fail(3)) SWIG_fail;
15471 }
d55e5bfc
RD
15472 }
15473 {
15474 PyThreadState* __tstate = wxPyBeginAllowThreads();
15475 (arg1)->SetTickFreq(arg2,arg3);
15476
15477 wxPyEndAllowThreads(__tstate);
15478 if (PyErr_Occurred()) SWIG_fail;
15479 }
15480 Py_INCREF(Py_None); resultobj = Py_None;
15481 return resultobj;
15482 fail:
15483 return NULL;
15484}
15485
15486
c32bde28 15487static PyObject *_wrap_Slider_GetTickFreq(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15488 PyObject *resultobj;
15489 wxSlider *arg1 = (wxSlider *) 0 ;
15490 int result;
15491 PyObject * obj0 = 0 ;
15492 char *kwnames[] = {
15493 (char *) "self", NULL
15494 };
15495
15496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetTickFreq",kwnames,&obj0)) goto fail;
093d3ff1
RD
15497 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15498 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15499 {
15500 PyThreadState* __tstate = wxPyBeginAllowThreads();
15501 result = (int)((wxSlider const *)arg1)->GetTickFreq();
15502
15503 wxPyEndAllowThreads(__tstate);
15504 if (PyErr_Occurred()) SWIG_fail;
15505 }
093d3ff1
RD
15506 {
15507 resultobj = SWIG_From_int((int)(result));
15508 }
d55e5bfc
RD
15509 return resultobj;
15510 fail:
15511 return NULL;
15512}
15513
15514
c32bde28 15515static PyObject *_wrap_Slider_ClearTicks(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15516 PyObject *resultobj;
15517 wxSlider *arg1 = (wxSlider *) 0 ;
15518 PyObject * obj0 = 0 ;
15519 char *kwnames[] = {
15520 (char *) "self", NULL
15521 };
15522
15523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearTicks",kwnames,&obj0)) goto fail;
093d3ff1
RD
15524 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15525 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15526 {
15527 PyThreadState* __tstate = wxPyBeginAllowThreads();
15528 (arg1)->ClearTicks();
15529
15530 wxPyEndAllowThreads(__tstate);
15531 if (PyErr_Occurred()) SWIG_fail;
15532 }
15533 Py_INCREF(Py_None); resultobj = Py_None;
15534 return resultobj;
15535 fail:
15536 return NULL;
15537}
15538
15539
c32bde28 15540static PyObject *_wrap_Slider_SetTick(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15541 PyObject *resultobj;
15542 wxSlider *arg1 = (wxSlider *) 0 ;
15543 int arg2 ;
15544 PyObject * obj0 = 0 ;
15545 PyObject * obj1 = 0 ;
15546 char *kwnames[] = {
15547 (char *) "self",(char *) "tickPos", NULL
15548 };
15549
15550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetTick",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15551 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15552 if (SWIG_arg_fail(1)) SWIG_fail;
15553 {
15554 arg2 = (int)(SWIG_As_int(obj1));
15555 if (SWIG_arg_fail(2)) SWIG_fail;
15556 }
d55e5bfc
RD
15557 {
15558 PyThreadState* __tstate = wxPyBeginAllowThreads();
15559 (arg1)->SetTick(arg2);
15560
15561 wxPyEndAllowThreads(__tstate);
15562 if (PyErr_Occurred()) SWIG_fail;
15563 }
15564 Py_INCREF(Py_None); resultobj = Py_None;
15565 return resultobj;
15566 fail:
15567 return NULL;
15568}
15569
15570
c32bde28 15571static PyObject *_wrap_Slider_ClearSel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15572 PyObject *resultobj;
15573 wxSlider *arg1 = (wxSlider *) 0 ;
15574 PyObject * obj0 = 0 ;
15575 char *kwnames[] = {
15576 (char *) "self", NULL
15577 };
15578
15579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearSel",kwnames,&obj0)) goto fail;
093d3ff1
RD
15580 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15581 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15582 {
15583 PyThreadState* __tstate = wxPyBeginAllowThreads();
15584 (arg1)->ClearSel();
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_GetSelEnd(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_GetSelEnd",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)->GetSelEnd();
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_GetSelStart(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15625 PyObject *resultobj;
15626 wxSlider *arg1 = (wxSlider *) 0 ;
15627 int result;
15628 PyObject * obj0 = 0 ;
15629 char *kwnames[] = {
15630 (char *) "self", NULL
15631 };
15632
15633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelStart",kwnames,&obj0)) goto fail;
093d3ff1
RD
15634 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15635 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15636 {
15637 PyThreadState* __tstate = wxPyBeginAllowThreads();
15638 result = (int)((wxSlider const *)arg1)->GetSelStart();
15639
15640 wxPyEndAllowThreads(__tstate);
15641 if (PyErr_Occurred()) SWIG_fail;
15642 }
093d3ff1
RD
15643 {
15644 resultobj = SWIG_From_int((int)(result));
15645 }
d55e5bfc
RD
15646 return resultobj;
15647 fail:
15648 return NULL;
15649}
15650
15651
c32bde28 15652static PyObject *_wrap_Slider_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15653 PyObject *resultobj;
15654 wxSlider *arg1 = (wxSlider *) 0 ;
15655 int arg2 ;
15656 int arg3 ;
15657 PyObject * obj0 = 0 ;
15658 PyObject * obj1 = 0 ;
15659 PyObject * obj2 = 0 ;
15660 char *kwnames[] = {
15661 (char *) "self",(char *) "min",(char *) "max", NULL
15662 };
15663
15664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
15665 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15666 if (SWIG_arg_fail(1)) SWIG_fail;
15667 {
15668 arg2 = (int)(SWIG_As_int(obj1));
15669 if (SWIG_arg_fail(2)) SWIG_fail;
15670 }
15671 {
15672 arg3 = (int)(SWIG_As_int(obj2));
15673 if (SWIG_arg_fail(3)) SWIG_fail;
15674 }
d55e5bfc
RD
15675 {
15676 PyThreadState* __tstate = wxPyBeginAllowThreads();
15677 (arg1)->SetSelection(arg2,arg3);
15678
15679 wxPyEndAllowThreads(__tstate);
15680 if (PyErr_Occurred()) SWIG_fail;
15681 }
15682 Py_INCREF(Py_None); resultobj = Py_None;
15683 return resultobj;
15684 fail:
15685 return NULL;
15686}
15687
15688
c32bde28 15689static PyObject *_wrap_Slider_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 15690 PyObject *resultobj;
093d3ff1 15691 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
15692 wxVisualAttributes result;
15693 PyObject * obj0 = 0 ;
15694 char *kwnames[] = {
15695 (char *) "variant", NULL
15696 };
15697
15698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
15699 if (obj0) {
093d3ff1
RD
15700 {
15701 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
15702 if (SWIG_arg_fail(1)) SWIG_fail;
15703 }
f20a2e1f
RD
15704 }
15705 {
19272049 15706 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
15707 PyThreadState* __tstate = wxPyBeginAllowThreads();
15708 result = wxSlider::GetClassDefaultAttributes((wxWindowVariant )arg1);
15709
15710 wxPyEndAllowThreads(__tstate);
110da5b0 15711 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
15712 }
15713 {
15714 wxVisualAttributes * resultptr;
093d3ff1 15715 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
15716 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
15717 }
15718 return resultobj;
15719 fail:
15720 return NULL;
15721}
15722
15723
c32bde28 15724static PyObject * Slider_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
15725 PyObject *obj;
15726 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15727 SWIG_TypeClientData(SWIGTYPE_p_wxSlider, obj);
15728 Py_INCREF(obj);
15729 return Py_BuildValue((char *)"");
15730}
c32bde28 15731static int _wrap_ToggleButtonNameStr_set(PyObject *) {
d55e5bfc
RD
15732 PyErr_SetString(PyExc_TypeError,"Variable ToggleButtonNameStr is read-only.");
15733 return 1;
15734}
15735
15736
093d3ff1 15737static PyObject *_wrap_ToggleButtonNameStr_get(void) {
d55e5bfc
RD
15738 PyObject *pyobj;
15739
15740 {
15741#if wxUSE_UNICODE
15742 pyobj = PyUnicode_FromWideChar((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
15743#else
15744 pyobj = PyString_FromStringAndSize((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
15745#endif
15746 }
15747 return pyobj;
15748}
15749
15750
c32bde28 15751static PyObject *_wrap_new_ToggleButton(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15752 PyObject *resultobj;
15753 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
15754 int arg2 = (int) -1 ;
15755 wxString const &arg3_defvalue = wxPyEmptyString ;
15756 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
15757 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15758 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15759 wxSize const &arg5_defvalue = wxDefaultSize ;
15760 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15761 long arg6 = (long) 0 ;
15762 wxValidator const &arg7_defvalue = wxDefaultValidator ;
15763 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
15764 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
15765 wxString *arg8 = (wxString *) &arg8_defvalue ;
15766 wxToggleButton *result;
ae8162c8 15767 bool temp3 = false ;
d55e5bfc
RD
15768 wxPoint temp4 ;
15769 wxSize temp5 ;
ae8162c8 15770 bool temp8 = false ;
d55e5bfc
RD
15771 PyObject * obj0 = 0 ;
15772 PyObject * obj1 = 0 ;
15773 PyObject * obj2 = 0 ;
15774 PyObject * obj3 = 0 ;
15775 PyObject * obj4 = 0 ;
15776 PyObject * obj5 = 0 ;
15777 PyObject * obj6 = 0 ;
15778 PyObject * obj7 = 0 ;
15779 char *kwnames[] = {
15780 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15781 };
15782
248ed943 15783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ToggleButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
15784 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15785 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 15786 if (obj1) {
093d3ff1
RD
15787 {
15788 arg2 = (int)(SWIG_As_int(obj1));
15789 if (SWIG_arg_fail(2)) SWIG_fail;
15790 }
248ed943
RD
15791 }
15792 if (obj2) {
15793 {
15794 arg3 = wxString_in_helper(obj2);
15795 if (arg3 == NULL) SWIG_fail;
ae8162c8 15796 temp3 = true;
248ed943 15797 }
d55e5bfc
RD
15798 }
15799 if (obj3) {
15800 {
15801 arg4 = &temp4;
15802 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15803 }
15804 }
15805 if (obj4) {
15806 {
15807 arg5 = &temp5;
15808 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15809 }
15810 }
15811 if (obj5) {
093d3ff1
RD
15812 {
15813 arg6 = (long)(SWIG_As_long(obj5));
15814 if (SWIG_arg_fail(6)) SWIG_fail;
15815 }
d55e5bfc
RD
15816 }
15817 if (obj6) {
093d3ff1
RD
15818 {
15819 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
15820 if (SWIG_arg_fail(7)) SWIG_fail;
15821 if (arg7 == NULL) {
15822 SWIG_null_ref("wxValidator");
15823 }
15824 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
15825 }
15826 }
15827 if (obj7) {
15828 {
15829 arg8 = wxString_in_helper(obj7);
15830 if (arg8 == NULL) SWIG_fail;
ae8162c8 15831 temp8 = true;
d55e5bfc
RD
15832 }
15833 }
15834 {
0439c23b 15835 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
15836 PyThreadState* __tstate = wxPyBeginAllowThreads();
15837 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
15838
15839 wxPyEndAllowThreads(__tstate);
110da5b0 15840 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
15841 }
15842 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
15843 {
15844 if (temp3)
15845 delete arg3;
15846 }
15847 {
15848 if (temp8)
15849 delete arg8;
15850 }
15851 return resultobj;
15852 fail:
15853 {
15854 if (temp3)
15855 delete arg3;
15856 }
15857 {
15858 if (temp8)
15859 delete arg8;
15860 }
15861 return NULL;
15862}
15863
15864
c32bde28 15865static PyObject *_wrap_new_PreToggleButton(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15866 PyObject *resultobj;
15867 wxToggleButton *result;
15868 char *kwnames[] = {
15869 NULL
15870 };
15871
15872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToggleButton",kwnames)) goto fail;
15873 {
0439c23b 15874 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
15875 PyThreadState* __tstate = wxPyBeginAllowThreads();
15876 result = (wxToggleButton *)new wxToggleButton();
15877
15878 wxPyEndAllowThreads(__tstate);
110da5b0 15879 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
15880 }
15881 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
15882 return resultobj;
15883 fail:
15884 return NULL;
15885}
15886
15887
c32bde28 15888static PyObject *_wrap_ToggleButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15889 PyObject *resultobj;
15890 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
15891 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
15892 int arg3 = (int) -1 ;
15893 wxString const &arg4_defvalue = wxPyEmptyString ;
15894 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
15895 wxPoint const &arg5_defvalue = wxDefaultPosition ;
15896 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
15897 wxSize const &arg6_defvalue = wxDefaultSize ;
15898 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
15899 long arg7 = (long) 0 ;
15900 wxValidator const &arg8_defvalue = wxDefaultValidator ;
15901 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
15902 wxString const &arg9_defvalue = wxPyToggleButtonNameStr ;
15903 wxString *arg9 = (wxString *) &arg9_defvalue ;
15904 bool result;
ae8162c8 15905 bool temp4 = false ;
d55e5bfc
RD
15906 wxPoint temp5 ;
15907 wxSize temp6 ;
ae8162c8 15908 bool temp9 = false ;
d55e5bfc
RD
15909 PyObject * obj0 = 0 ;
15910 PyObject * obj1 = 0 ;
15911 PyObject * obj2 = 0 ;
15912 PyObject * obj3 = 0 ;
15913 PyObject * obj4 = 0 ;
15914 PyObject * obj5 = 0 ;
15915 PyObject * obj6 = 0 ;
15916 PyObject * obj7 = 0 ;
15917 PyObject * obj8 = 0 ;
15918 char *kwnames[] = {
15919 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15920 };
15921
248ed943 15922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
15923 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
15924 if (SWIG_arg_fail(1)) SWIG_fail;
15925 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15926 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 15927 if (obj2) {
093d3ff1
RD
15928 {
15929 arg3 = (int)(SWIG_As_int(obj2));
15930 if (SWIG_arg_fail(3)) SWIG_fail;
15931 }
248ed943
RD
15932 }
15933 if (obj3) {
15934 {
15935 arg4 = wxString_in_helper(obj3);
15936 if (arg4 == NULL) SWIG_fail;
ae8162c8 15937 temp4 = true;
248ed943 15938 }
d55e5bfc
RD
15939 }
15940 if (obj4) {
15941 {
15942 arg5 = &temp5;
15943 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
15944 }
15945 }
15946 if (obj5) {
15947 {
15948 arg6 = &temp6;
15949 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
15950 }
15951 }
15952 if (obj6) {
093d3ff1
RD
15953 {
15954 arg7 = (long)(SWIG_As_long(obj6));
15955 if (SWIG_arg_fail(7)) SWIG_fail;
15956 }
d55e5bfc
RD
15957 }
15958 if (obj7) {
093d3ff1
RD
15959 {
15960 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
15961 if (SWIG_arg_fail(8)) SWIG_fail;
15962 if (arg8 == NULL) {
15963 SWIG_null_ref("wxValidator");
15964 }
15965 if (SWIG_arg_fail(8)) SWIG_fail;
d55e5bfc
RD
15966 }
15967 }
15968 if (obj8) {
15969 {
15970 arg9 = wxString_in_helper(obj8);
15971 if (arg9 == NULL) SWIG_fail;
ae8162c8 15972 temp9 = true;
d55e5bfc
RD
15973 }
15974 }
15975 {
15976 PyThreadState* __tstate = wxPyBeginAllowThreads();
15977 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
15978
15979 wxPyEndAllowThreads(__tstate);
15980 if (PyErr_Occurred()) SWIG_fail;
15981 }
15982 {
15983 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15984 }
15985 {
15986 if (temp4)
15987 delete arg4;
15988 }
15989 {
15990 if (temp9)
15991 delete arg9;
15992 }
15993 return resultobj;
15994 fail:
15995 {
15996 if (temp4)
15997 delete arg4;
15998 }
15999 {
16000 if (temp9)
16001 delete arg9;
16002 }
16003 return NULL;
16004}
16005
16006
c32bde28 16007static PyObject *_wrap_ToggleButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16008 PyObject *resultobj;
16009 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
16010 bool arg2 ;
16011 PyObject * obj0 = 0 ;
16012 PyObject * obj1 = 0 ;
16013 char *kwnames[] = {
16014 (char *) "self",(char *) "value", NULL
16015 };
16016
16017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16018 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
16019 if (SWIG_arg_fail(1)) SWIG_fail;
16020 {
16021 arg2 = (bool)(SWIG_As_bool(obj1));
16022 if (SWIG_arg_fail(2)) SWIG_fail;
16023 }
d55e5bfc
RD
16024 {
16025 PyThreadState* __tstate = wxPyBeginAllowThreads();
16026 (arg1)->SetValue(arg2);
16027
16028 wxPyEndAllowThreads(__tstate);
16029 if (PyErr_Occurred()) SWIG_fail;
16030 }
16031 Py_INCREF(Py_None); resultobj = Py_None;
16032 return resultobj;
16033 fail:
16034 return NULL;
16035}
16036
16037
c32bde28 16038static PyObject *_wrap_ToggleButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16039 PyObject *resultobj;
16040 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
16041 bool result;
16042 PyObject * obj0 = 0 ;
16043 char *kwnames[] = {
16044 (char *) "self", NULL
16045 };
16046
16047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToggleButton_GetValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
16048 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
16049 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16050 {
16051 PyThreadState* __tstate = wxPyBeginAllowThreads();
16052 result = (bool)((wxToggleButton const *)arg1)->GetValue();
16053
16054 wxPyEndAllowThreads(__tstate);
16055 if (PyErr_Occurred()) SWIG_fail;
16056 }
16057 {
16058 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16059 }
16060 return resultobj;
16061 fail:
16062 return NULL;
16063}
16064
16065
c32bde28 16066static PyObject *_wrap_ToggleButton_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16067 PyObject *resultobj;
16068 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
16069 wxString *arg2 = 0 ;
ae8162c8 16070 bool temp2 = false ;
d55e5bfc
RD
16071 PyObject * obj0 = 0 ;
16072 PyObject * obj1 = 0 ;
16073 char *kwnames[] = {
16074 (char *) "self",(char *) "label", NULL
16075 };
16076
16077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetLabel",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16078 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
16079 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16080 {
16081 arg2 = wxString_in_helper(obj1);
16082 if (arg2 == NULL) SWIG_fail;
ae8162c8 16083 temp2 = true;
d55e5bfc
RD
16084 }
16085 {
16086 PyThreadState* __tstate = wxPyBeginAllowThreads();
16087 (arg1)->SetLabel((wxString const &)*arg2);
16088
16089 wxPyEndAllowThreads(__tstate);
16090 if (PyErr_Occurred()) SWIG_fail;
16091 }
16092 Py_INCREF(Py_None); resultobj = Py_None;
16093 {
16094 if (temp2)
16095 delete arg2;
16096 }
16097 return resultobj;
16098 fail:
16099 {
16100 if (temp2)
16101 delete arg2;
16102 }
16103 return NULL;
16104}
16105
16106
c32bde28 16107static PyObject *_wrap_ToggleButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 16108 PyObject *resultobj;
093d3ff1 16109 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
16110 wxVisualAttributes result;
16111 PyObject * obj0 = 0 ;
16112 char *kwnames[] = {
16113 (char *) "variant", NULL
16114 };
16115
16116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
16117 if (obj0) {
093d3ff1
RD
16118 {
16119 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
16120 if (SWIG_arg_fail(1)) SWIG_fail;
16121 }
f20a2e1f
RD
16122 }
16123 {
19272049 16124 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
16125 PyThreadState* __tstate = wxPyBeginAllowThreads();
16126 result = wxToggleButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
16127
16128 wxPyEndAllowThreads(__tstate);
110da5b0 16129 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
16130 }
16131 {
16132 wxVisualAttributes * resultptr;
093d3ff1 16133 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
16134 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
16135 }
16136 return resultobj;
16137 fail:
16138 return NULL;
16139}
16140
16141
c32bde28 16142static PyObject * ToggleButton_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
16143 PyObject *obj;
16144 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16145 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton, obj);
16146 Py_INCREF(obj);
16147 return Py_BuildValue((char *)"");
16148}
51b83b37
RD
16149static int _wrap_NotebookNameStr_set(PyObject *) {
16150 PyErr_SetString(PyExc_TypeError,"Variable NotebookNameStr is read-only.");
d55e5bfc
RD
16151 return 1;
16152}
16153
16154
51b83b37 16155static PyObject *_wrap_NotebookNameStr_get(void) {
d55e5bfc
RD
16156 PyObject *pyobj;
16157
16158 {
16159#if wxUSE_UNICODE
51b83b37 16160 pyobj = PyUnicode_FromWideChar((&wxPyNotebookNameStr)->c_str(), (&wxPyNotebookNameStr)->Len());
d55e5bfc 16161#else
51b83b37 16162 pyobj = PyString_FromStringAndSize((&wxPyNotebookNameStr)->c_str(), (&wxPyNotebookNameStr)->Len());
d55e5bfc
RD
16163#endif
16164 }
16165 return pyobj;
16166}
16167
16168
8ac8dba0 16169static PyObject *_wrap_BookCtrlBase_GetPageCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16170 PyObject *resultobj;
8ac8dba0 16171 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16172 size_t result;
16173 PyObject * obj0 = 0 ;
16174 char *kwnames[] = {
16175 (char *) "self", NULL
16176 };
16177
8ac8dba0 16178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetPageCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
16179 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16180 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16181 {
16182 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 16183 result = (size_t)((wxBookCtrlBase const *)arg1)->GetPageCount();
d55e5bfc
RD
16184
16185 wxPyEndAllowThreads(__tstate);
16186 if (PyErr_Occurred()) SWIG_fail;
16187 }
093d3ff1
RD
16188 {
16189 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
16190 }
d55e5bfc
RD
16191 return resultobj;
16192 fail:
16193 return NULL;
16194}
16195
16196
8ac8dba0 16197static PyObject *_wrap_BookCtrlBase_GetPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16198 PyObject *resultobj;
8ac8dba0 16199 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16200 size_t arg2 ;
16201 wxWindow *result;
16202 PyObject * obj0 = 0 ;
16203 PyObject * obj1 = 0 ;
16204 char *kwnames[] = {
16205 (char *) "self",(char *) "n", NULL
16206 };
16207
8ac8dba0 16208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16209 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16210 if (SWIG_arg_fail(1)) SWIG_fail;
16211 {
16212 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16213 if (SWIG_arg_fail(2)) SWIG_fail;
16214 }
d55e5bfc
RD
16215 {
16216 PyThreadState* __tstate = wxPyBeginAllowThreads();
16217 result = (wxWindow *)(arg1)->GetPage(arg2);
16218
16219 wxPyEndAllowThreads(__tstate);
16220 if (PyErr_Occurred()) SWIG_fail;
16221 }
16222 {
412d302d 16223 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
16224 }
16225 return resultobj;
16226 fail:
16227 return NULL;
16228}
16229
16230
8ac8dba0 16231static PyObject *_wrap_BookCtrlBase_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
8fb0e70a 16232 PyObject *resultobj;
8ac8dba0 16233 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
8fb0e70a
RD
16234 wxWindow *result;
16235 PyObject * obj0 = 0 ;
16236 char *kwnames[] = {
16237 (char *) "self", NULL
16238 };
16239
8ac8dba0 16240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetCurrentPage",kwnames,&obj0)) goto fail;
093d3ff1
RD
16241 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16242 if (SWIG_arg_fail(1)) SWIG_fail;
8fb0e70a
RD
16243 {
16244 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 16245 result = (wxWindow *)((wxBookCtrlBase const *)arg1)->GetCurrentPage();
8fb0e70a
RD
16246
16247 wxPyEndAllowThreads(__tstate);
16248 if (PyErr_Occurred()) SWIG_fail;
16249 }
16250 {
16251 resultobj = wxPyMake_wxObject(result, 0);
16252 }
16253 return resultobj;
16254 fail:
16255 return NULL;
16256}
16257
16258
8ac8dba0 16259static PyObject *_wrap_BookCtrlBase_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16260 PyObject *resultobj;
8ac8dba0 16261 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16262 int result;
16263 PyObject * obj0 = 0 ;
16264 char *kwnames[] = {
16265 (char *) "self", NULL
16266 };
16267
8ac8dba0 16268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
16269 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16270 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16271 {
16272 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 16273 result = (int)((wxBookCtrlBase const *)arg1)->GetSelection();
d55e5bfc
RD
16274
16275 wxPyEndAllowThreads(__tstate);
16276 if (PyErr_Occurred()) SWIG_fail;
16277 }
093d3ff1
RD
16278 {
16279 resultobj = SWIG_From_int((int)(result));
16280 }
d55e5bfc
RD
16281 return resultobj;
16282 fail:
16283 return NULL;
16284}
16285
16286
8ac8dba0 16287static PyObject *_wrap_BookCtrlBase_SetPageText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16288 PyObject *resultobj;
8ac8dba0 16289 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16290 size_t arg2 ;
16291 wxString *arg3 = 0 ;
16292 bool result;
ae8162c8 16293 bool temp3 = false ;
d55e5bfc
RD
16294 PyObject * obj0 = 0 ;
16295 PyObject * obj1 = 0 ;
16296 PyObject * obj2 = 0 ;
16297 char *kwnames[] = {
16298 (char *) "self",(char *) "n",(char *) "strText", NULL
16299 };
16300
8ac8dba0 16301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageText",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
16302 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16303 if (SWIG_arg_fail(1)) SWIG_fail;
16304 {
16305 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16306 if (SWIG_arg_fail(2)) SWIG_fail;
16307 }
d55e5bfc
RD
16308 {
16309 arg3 = wxString_in_helper(obj2);
16310 if (arg3 == NULL) SWIG_fail;
ae8162c8 16311 temp3 = true;
d55e5bfc
RD
16312 }
16313 {
16314 PyThreadState* __tstate = wxPyBeginAllowThreads();
16315 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
16316
16317 wxPyEndAllowThreads(__tstate);
16318 if (PyErr_Occurred()) SWIG_fail;
16319 }
16320 {
16321 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16322 }
16323 {
16324 if (temp3)
16325 delete arg3;
16326 }
16327 return resultobj;
16328 fail:
16329 {
16330 if (temp3)
16331 delete arg3;
16332 }
16333 return NULL;
16334}
16335
16336
8ac8dba0 16337static PyObject *_wrap_BookCtrlBase_GetPageText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16338 PyObject *resultobj;
8ac8dba0 16339 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16340 size_t arg2 ;
16341 wxString result;
16342 PyObject * obj0 = 0 ;
16343 PyObject * obj1 = 0 ;
16344 char *kwnames[] = {
16345 (char *) "self",(char *) "n", NULL
16346 };
16347
8ac8dba0 16348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16349 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16350 if (SWIG_arg_fail(1)) SWIG_fail;
16351 {
16352 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16353 if (SWIG_arg_fail(2)) SWIG_fail;
16354 }
d55e5bfc
RD
16355 {
16356 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 16357 result = ((wxBookCtrlBase const *)arg1)->GetPageText(arg2);
d55e5bfc
RD
16358
16359 wxPyEndAllowThreads(__tstate);
16360 if (PyErr_Occurred()) SWIG_fail;
16361 }
16362 {
16363#if wxUSE_UNICODE
16364 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16365#else
16366 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16367#endif
16368 }
16369 return resultobj;
16370 fail:
16371 return NULL;
16372}
16373
16374
8ac8dba0 16375static PyObject *_wrap_BookCtrlBase_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16376 PyObject *resultobj;
8ac8dba0 16377 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16378 wxImageList *arg2 = (wxImageList *) 0 ;
16379 PyObject * obj0 = 0 ;
16380 PyObject * obj1 = 0 ;
16381 char *kwnames[] = {
16382 (char *) "self",(char *) "imageList", NULL
16383 };
16384
8ac8dba0 16385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetImageList",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16386 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16387 if (SWIG_arg_fail(1)) SWIG_fail;
16388 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
16389 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
16390 {
16391 PyThreadState* __tstate = wxPyBeginAllowThreads();
16392 (arg1)->SetImageList(arg2);
16393
16394 wxPyEndAllowThreads(__tstate);
16395 if (PyErr_Occurred()) SWIG_fail;
16396 }
16397 Py_INCREF(Py_None); resultobj = Py_None;
16398 return resultobj;
16399 fail:
16400 return NULL;
16401}
16402
16403
8ac8dba0 16404static PyObject *_wrap_BookCtrlBase_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16405 PyObject *resultobj;
8ac8dba0 16406 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16407 wxImageList *arg2 = (wxImageList *) 0 ;
16408 PyObject * obj0 = 0 ;
16409 PyObject * obj1 = 0 ;
16410 char *kwnames[] = {
16411 (char *) "self",(char *) "imageList", NULL
16412 };
16413
8ac8dba0 16414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16415 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16416 if (SWIG_arg_fail(1)) SWIG_fail;
16417 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
16418 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
16419 {
16420 PyThreadState* __tstate = wxPyBeginAllowThreads();
16421 (arg1)->AssignImageList(arg2);
16422
16423 wxPyEndAllowThreads(__tstate);
16424 if (PyErr_Occurred()) SWIG_fail;
16425 }
16426 Py_INCREF(Py_None); resultobj = Py_None;
16427 return resultobj;
16428 fail:
16429 return NULL;
16430}
16431
16432
8ac8dba0 16433static PyObject *_wrap_BookCtrlBase_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16434 PyObject *resultobj;
8ac8dba0 16435 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16436 wxImageList *result;
16437 PyObject * obj0 = 0 ;
16438 char *kwnames[] = {
16439 (char *) "self", NULL
16440 };
16441
8ac8dba0 16442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetImageList",kwnames,&obj0)) goto fail;
093d3ff1
RD
16443 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16444 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16445 {
16446 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 16447 result = (wxImageList *)((wxBookCtrlBase const *)arg1)->GetImageList();
d55e5bfc
RD
16448
16449 wxPyEndAllowThreads(__tstate);
16450 if (PyErr_Occurred()) SWIG_fail;
16451 }
16452 {
412d302d 16453 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
16454 }
16455 return resultobj;
16456 fail:
16457 return NULL;
16458}
16459
16460
8ac8dba0 16461static PyObject *_wrap_BookCtrlBase_GetPageImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16462 PyObject *resultobj;
8ac8dba0 16463 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16464 size_t arg2 ;
16465 int result;
16466 PyObject * obj0 = 0 ;
16467 PyObject * obj1 = 0 ;
16468 char *kwnames[] = {
16469 (char *) "self",(char *) "n", NULL
16470 };
16471
8ac8dba0 16472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageImage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16473 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16474 if (SWIG_arg_fail(1)) SWIG_fail;
16475 {
16476 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16477 if (SWIG_arg_fail(2)) SWIG_fail;
16478 }
d55e5bfc
RD
16479 {
16480 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 16481 result = (int)((wxBookCtrlBase const *)arg1)->GetPageImage(arg2);
d55e5bfc
RD
16482
16483 wxPyEndAllowThreads(__tstate);
16484 if (PyErr_Occurred()) SWIG_fail;
16485 }
093d3ff1
RD
16486 {
16487 resultobj = SWIG_From_int((int)(result));
16488 }
d55e5bfc
RD
16489 return resultobj;
16490 fail:
16491 return NULL;
16492}
16493
16494
8ac8dba0 16495static PyObject *_wrap_BookCtrlBase_SetPageImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16496 PyObject *resultobj;
8ac8dba0 16497 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16498 size_t arg2 ;
16499 int arg3 ;
16500 bool result;
16501 PyObject * obj0 = 0 ;
16502 PyObject * obj1 = 0 ;
16503 PyObject * obj2 = 0 ;
16504 char *kwnames[] = {
16505 (char *) "self",(char *) "n",(char *) "imageId", NULL
16506 };
16507
8ac8dba0 16508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
16509 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16510 if (SWIG_arg_fail(1)) SWIG_fail;
16511 {
16512 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16513 if (SWIG_arg_fail(2)) SWIG_fail;
16514 }
16515 {
16516 arg3 = (int)(SWIG_As_int(obj2));
16517 if (SWIG_arg_fail(3)) SWIG_fail;
16518 }
d55e5bfc
RD
16519 {
16520 PyThreadState* __tstate = wxPyBeginAllowThreads();
16521 result = (bool)(arg1)->SetPageImage(arg2,arg3);
16522
16523 wxPyEndAllowThreads(__tstate);
16524 if (PyErr_Occurred()) SWIG_fail;
16525 }
16526 {
16527 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16528 }
16529 return resultobj;
16530 fail:
16531 return NULL;
16532}
16533
16534
8ac8dba0 16535static PyObject *_wrap_BookCtrlBase_SetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16536 PyObject *resultobj;
8ac8dba0 16537 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16538 wxSize *arg2 = 0 ;
16539 wxSize temp2 ;
16540 PyObject * obj0 = 0 ;
16541 PyObject * obj1 = 0 ;
16542 char *kwnames[] = {
16543 (char *) "self",(char *) "size", NULL
16544 };
16545
8ac8dba0 16546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16547 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16548 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16549 {
16550 arg2 = &temp2;
16551 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16552 }
16553 {
16554 PyThreadState* __tstate = wxPyBeginAllowThreads();
16555 (arg1)->SetPageSize((wxSize const &)*arg2);
16556
16557 wxPyEndAllowThreads(__tstate);
16558 if (PyErr_Occurred()) SWIG_fail;
16559 }
16560 Py_INCREF(Py_None); resultobj = Py_None;
16561 return resultobj;
16562 fail:
16563 return NULL;
16564}
16565
16566
8ac8dba0 16567static PyObject *_wrap_BookCtrlBase_CalcSizeFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16568 PyObject *resultobj;
8ac8dba0 16569 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16570 wxSize *arg2 = 0 ;
16571 wxSize result;
16572 wxSize temp2 ;
16573 PyObject * obj0 = 0 ;
16574 PyObject * obj1 = 0 ;
16575 char *kwnames[] = {
16576 (char *) "self",(char *) "sizePage", NULL
16577 };
16578
8ac8dba0 16579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16580 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16581 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16582 {
16583 arg2 = &temp2;
16584 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16585 }
16586 {
16587 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 16588 result = ((wxBookCtrlBase const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
d55e5bfc
RD
16589
16590 wxPyEndAllowThreads(__tstate);
16591 if (PyErr_Occurred()) SWIG_fail;
16592 }
16593 {
16594 wxSize * resultptr;
093d3ff1 16595 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
16596 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16597 }
16598 return resultobj;
16599 fail:
16600 return NULL;
16601}
16602
16603
8ac8dba0 16604static PyObject *_wrap_BookCtrlBase_DeletePage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16605 PyObject *resultobj;
8ac8dba0 16606 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16607 size_t arg2 ;
16608 bool result;
16609 PyObject * obj0 = 0 ;
16610 PyObject * obj1 = 0 ;
16611 char *kwnames[] = {
16612 (char *) "self",(char *) "n", NULL
16613 };
16614
8ac8dba0 16615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_DeletePage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16616 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16617 if (SWIG_arg_fail(1)) SWIG_fail;
16618 {
16619 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16620 if (SWIG_arg_fail(2)) SWIG_fail;
16621 }
d55e5bfc
RD
16622 {
16623 PyThreadState* __tstate = wxPyBeginAllowThreads();
16624 result = (bool)(arg1)->DeletePage(arg2);
16625
16626 wxPyEndAllowThreads(__tstate);
16627 if (PyErr_Occurred()) SWIG_fail;
16628 }
16629 {
16630 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16631 }
16632 return resultobj;
16633 fail:
16634 return NULL;
16635}
16636
16637
8ac8dba0 16638static PyObject *_wrap_BookCtrlBase_RemovePage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16639 PyObject *resultobj;
8ac8dba0 16640 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16641 size_t arg2 ;
16642 bool result;
16643 PyObject * obj0 = 0 ;
16644 PyObject * obj1 = 0 ;
16645 char *kwnames[] = {
16646 (char *) "self",(char *) "n", NULL
16647 };
16648
8ac8dba0 16649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_RemovePage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16650 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16651 if (SWIG_arg_fail(1)) SWIG_fail;
16652 {
16653 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16654 if (SWIG_arg_fail(2)) SWIG_fail;
16655 }
d55e5bfc
RD
16656 {
16657 PyThreadState* __tstate = wxPyBeginAllowThreads();
16658 result = (bool)(arg1)->RemovePage(arg2);
16659
16660 wxPyEndAllowThreads(__tstate);
16661 if (PyErr_Occurred()) SWIG_fail;
16662 }
16663 {
16664 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16665 }
16666 return resultobj;
16667 fail:
16668 return NULL;
16669}
16670
16671
8ac8dba0 16672static PyObject *_wrap_BookCtrlBase_DeleteAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16673 PyObject *resultobj;
8ac8dba0 16674 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16675 bool result;
16676 PyObject * obj0 = 0 ;
16677 char *kwnames[] = {
16678 (char *) "self", NULL
16679 };
16680
8ac8dba0 16681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_DeleteAllPages",kwnames,&obj0)) goto fail;
093d3ff1
RD
16682 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16683 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16684 {
16685 PyThreadState* __tstate = wxPyBeginAllowThreads();
16686 result = (bool)(arg1)->DeleteAllPages();
16687
16688 wxPyEndAllowThreads(__tstate);
16689 if (PyErr_Occurred()) SWIG_fail;
16690 }
16691 {
16692 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16693 }
16694 return resultobj;
16695 fail:
16696 return NULL;
16697}
16698
16699
8ac8dba0 16700static PyObject *_wrap_BookCtrlBase_AddPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16701 PyObject *resultobj;
8ac8dba0 16702 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16703 wxWindow *arg2 = (wxWindow *) 0 ;
16704 wxString *arg3 = 0 ;
ae8162c8 16705 bool arg4 = (bool) false ;
d55e5bfc
RD
16706 int arg5 = (int) -1 ;
16707 bool result;
ae8162c8 16708 bool temp3 = false ;
d55e5bfc
RD
16709 PyObject * obj0 = 0 ;
16710 PyObject * obj1 = 0 ;
16711 PyObject * obj2 = 0 ;
16712 PyObject * obj3 = 0 ;
16713 PyObject * obj4 = 0 ;
16714 char *kwnames[] = {
16715 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16716 };
16717
8ac8dba0 16718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
16719 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16720 if (SWIG_arg_fail(1)) SWIG_fail;
16721 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16722 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
16723 {
16724 arg3 = wxString_in_helper(obj2);
16725 if (arg3 == NULL) SWIG_fail;
ae8162c8 16726 temp3 = true;
d55e5bfc
RD
16727 }
16728 if (obj3) {
093d3ff1
RD
16729 {
16730 arg4 = (bool)(SWIG_As_bool(obj3));
16731 if (SWIG_arg_fail(4)) SWIG_fail;
16732 }
d55e5bfc
RD
16733 }
16734 if (obj4) {
093d3ff1
RD
16735 {
16736 arg5 = (int)(SWIG_As_int(obj4));
16737 if (SWIG_arg_fail(5)) SWIG_fail;
16738 }
d55e5bfc
RD
16739 }
16740 {
16741 PyThreadState* __tstate = wxPyBeginAllowThreads();
16742 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
16743
16744 wxPyEndAllowThreads(__tstate);
16745 if (PyErr_Occurred()) SWIG_fail;
16746 }
16747 {
16748 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16749 }
16750 {
16751 if (temp3)
16752 delete arg3;
16753 }
16754 return resultobj;
16755 fail:
16756 {
16757 if (temp3)
16758 delete arg3;
16759 }
16760 return NULL;
16761}
16762
16763
8ac8dba0 16764static PyObject *_wrap_BookCtrlBase_InsertPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16765 PyObject *resultobj;
8ac8dba0 16766 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16767 size_t arg2 ;
16768 wxWindow *arg3 = (wxWindow *) 0 ;
16769 wxString *arg4 = 0 ;
ae8162c8 16770 bool arg5 = (bool) false ;
d55e5bfc
RD
16771 int arg6 = (int) -1 ;
16772 bool result;
ae8162c8 16773 bool temp4 = false ;
d55e5bfc
RD
16774 PyObject * obj0 = 0 ;
16775 PyObject * obj1 = 0 ;
16776 PyObject * obj2 = 0 ;
16777 PyObject * obj3 = 0 ;
16778 PyObject * obj4 = 0 ;
16779 PyObject * obj5 = 0 ;
16780 char *kwnames[] = {
16781 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16782 };
16783
8ac8dba0 16784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
16785 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16786 if (SWIG_arg_fail(1)) SWIG_fail;
16787 {
16788 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16789 if (SWIG_arg_fail(2)) SWIG_fail;
16790 }
16791 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16792 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
16793 {
16794 arg4 = wxString_in_helper(obj3);
16795 if (arg4 == NULL) SWIG_fail;
ae8162c8 16796 temp4 = true;
d55e5bfc
RD
16797 }
16798 if (obj4) {
093d3ff1
RD
16799 {
16800 arg5 = (bool)(SWIG_As_bool(obj4));
16801 if (SWIG_arg_fail(5)) SWIG_fail;
16802 }
d55e5bfc
RD
16803 }
16804 if (obj5) {
093d3ff1
RD
16805 {
16806 arg6 = (int)(SWIG_As_int(obj5));
16807 if (SWIG_arg_fail(6)) SWIG_fail;
16808 }
d55e5bfc
RD
16809 }
16810 {
16811 PyThreadState* __tstate = wxPyBeginAllowThreads();
16812 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
16813
16814 wxPyEndAllowThreads(__tstate);
16815 if (PyErr_Occurred()) SWIG_fail;
16816 }
16817 {
16818 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16819 }
16820 {
16821 if (temp4)
16822 delete arg4;
16823 }
16824 return resultobj;
16825 fail:
16826 {
16827 if (temp4)
16828 delete arg4;
16829 }
16830 return NULL;
16831}
16832
16833
8ac8dba0 16834static PyObject *_wrap_BookCtrlBase_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16835 PyObject *resultobj;
8ac8dba0 16836 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16837 size_t arg2 ;
16838 int result;
16839 PyObject * obj0 = 0 ;
16840 PyObject * obj1 = 0 ;
16841 char *kwnames[] = {
16842 (char *) "self",(char *) "n", NULL
16843 };
16844
8ac8dba0 16845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16846 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16847 if (SWIG_arg_fail(1)) SWIG_fail;
16848 {
16849 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16850 if (SWIG_arg_fail(2)) SWIG_fail;
16851 }
d55e5bfc
RD
16852 {
16853 PyThreadState* __tstate = wxPyBeginAllowThreads();
16854 result = (int)(arg1)->SetSelection(arg2);
16855
16856 wxPyEndAllowThreads(__tstate);
16857 if (PyErr_Occurred()) SWIG_fail;
16858 }
093d3ff1
RD
16859 {
16860 resultobj = SWIG_From_int((int)(result));
16861 }
d55e5bfc
RD
16862 return resultobj;
16863 fail:
16864 return NULL;
16865}
16866
16867
8ac8dba0 16868static PyObject *_wrap_BookCtrlBase_AdvanceSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16869 PyObject *resultobj;
8ac8dba0 16870 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
ae8162c8 16871 bool arg2 = (bool) true ;
d55e5bfc
RD
16872 PyObject * obj0 = 0 ;
16873 PyObject * obj1 = 0 ;
16874 char *kwnames[] = {
16875 (char *) "self",(char *) "forward", NULL
16876 };
16877
8ac8dba0 16878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16879 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16880 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 16881 if (obj1) {
093d3ff1
RD
16882 {
16883 arg2 = (bool)(SWIG_As_bool(obj1));
16884 if (SWIG_arg_fail(2)) SWIG_fail;
16885 }
d55e5bfc
RD
16886 }
16887 {
16888 PyThreadState* __tstate = wxPyBeginAllowThreads();
16889 (arg1)->AdvanceSelection(arg2);
16890
16891 wxPyEndAllowThreads(__tstate);
16892 if (PyErr_Occurred()) SWIG_fail;
16893 }
16894 Py_INCREF(Py_None); resultobj = Py_None;
16895 return resultobj;
16896 fail:
16897 return NULL;
16898}
16899
16900
8ac8dba0 16901static PyObject *_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 16902 PyObject *resultobj;
093d3ff1 16903 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
16904 wxVisualAttributes result;
16905 PyObject * obj0 = 0 ;
16906 char *kwnames[] = {
16907 (char *) "variant", NULL
16908 };
16909
8ac8dba0 16910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
f20a2e1f 16911 if (obj0) {
093d3ff1
RD
16912 {
16913 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
16914 if (SWIG_arg_fail(1)) SWIG_fail;
16915 }
f20a2e1f
RD
16916 }
16917 {
19272049 16918 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f 16919 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 16920 result = wxBookCtrlBase::GetClassDefaultAttributes((wxWindowVariant )arg1);
f20a2e1f
RD
16921
16922 wxPyEndAllowThreads(__tstate);
110da5b0 16923 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
16924 }
16925 {
16926 wxVisualAttributes * resultptr;
093d3ff1 16927 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
16928 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
16929 }
16930 return resultobj;
16931 fail:
16932 return NULL;
16933}
16934
16935
8ac8dba0 16936static PyObject * BookCtrlBase_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
16937 PyObject *obj;
16938 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8ac8dba0 16939 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBase, obj);
d55e5bfc
RD
16940 Py_INCREF(obj);
16941 return Py_BuildValue((char *)"");
16942}
8ac8dba0 16943static PyObject *_wrap_new_BookCtrlBaseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16944 PyObject *resultobj;
16945 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16946 int arg2 = (int) 0 ;
16947 int arg3 = (int) -1 ;
16948 int arg4 = (int) -1 ;
8ac8dba0 16949 wxBookCtrlBaseEvent *result;
d55e5bfc
RD
16950 PyObject * obj0 = 0 ;
16951 PyObject * obj1 = 0 ;
16952 PyObject * obj2 = 0 ;
16953 PyObject * obj3 = 0 ;
16954 char *kwnames[] = {
16955 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
16956 };
16957
8ac8dba0 16958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d55e5bfc 16959 if (obj0) {
093d3ff1
RD
16960 {
16961 arg1 = (wxEventType)(SWIG_As_int(obj0));
16962 if (SWIG_arg_fail(1)) SWIG_fail;
16963 }
d55e5bfc
RD
16964 }
16965 if (obj1) {
093d3ff1
RD
16966 {
16967 arg2 = (int)(SWIG_As_int(obj1));
16968 if (SWIG_arg_fail(2)) SWIG_fail;
16969 }
d55e5bfc
RD
16970 }
16971 if (obj2) {
093d3ff1
RD
16972 {
16973 arg3 = (int)(SWIG_As_int(obj2));
16974 if (SWIG_arg_fail(3)) SWIG_fail;
16975 }
d55e5bfc
RD
16976 }
16977 if (obj3) {
093d3ff1
RD
16978 {
16979 arg4 = (int)(SWIG_As_int(obj3));
16980 if (SWIG_arg_fail(4)) SWIG_fail;
16981 }
d55e5bfc
RD
16982 }
16983 {
16984 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 16985 result = (wxBookCtrlBaseEvent *)new wxBookCtrlBaseEvent(arg1,arg2,arg3,arg4);
d55e5bfc
RD
16986
16987 wxPyEndAllowThreads(__tstate);
16988 if (PyErr_Occurred()) SWIG_fail;
16989 }
8ac8dba0 16990 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlBaseEvent, 1);
d55e5bfc
RD
16991 return resultobj;
16992 fail:
16993 return NULL;
16994}
16995
16996
8ac8dba0 16997static PyObject *_wrap_BookCtrlBaseEvent_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16998 PyObject *resultobj;
8ac8dba0 16999 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
d55e5bfc
RD
17000 int result;
17001 PyObject * obj0 = 0 ;
17002 char *kwnames[] = {
17003 (char *) "self", NULL
17004 };
17005
8ac8dba0 17006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBaseEvent_GetSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
17007 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
17008 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17009 {
17010 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 17011 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetSelection();
d55e5bfc
RD
17012
17013 wxPyEndAllowThreads(__tstate);
17014 if (PyErr_Occurred()) SWIG_fail;
17015 }
093d3ff1
RD
17016 {
17017 resultobj = SWIG_From_int((int)(result));
17018 }
d55e5bfc
RD
17019 return resultobj;
17020 fail:
17021 return NULL;
17022}
17023
17024
8ac8dba0 17025static PyObject *_wrap_BookCtrlBaseEvent_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 17026 PyObject *resultobj;
8ac8dba0 17027 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
d55e5bfc
RD
17028 int arg2 ;
17029 PyObject * obj0 = 0 ;
17030 PyObject * obj1 = 0 ;
17031 char *kwnames[] = {
17032 (char *) "self",(char *) "nSel", NULL
17033 };
17034
8ac8dba0 17035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17036 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
17037 if (SWIG_arg_fail(1)) SWIG_fail;
17038 {
17039 arg2 = (int)(SWIG_As_int(obj1));
17040 if (SWIG_arg_fail(2)) SWIG_fail;
17041 }
d55e5bfc
RD
17042 {
17043 PyThreadState* __tstate = wxPyBeginAllowThreads();
17044 (arg1)->SetSelection(arg2);
17045
17046 wxPyEndAllowThreads(__tstate);
17047 if (PyErr_Occurred()) SWIG_fail;
17048 }
17049 Py_INCREF(Py_None); resultobj = Py_None;
17050 return resultobj;
17051 fail:
17052 return NULL;
17053}
17054
17055
8ac8dba0 17056static PyObject *_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 17057 PyObject *resultobj;
8ac8dba0 17058 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
d55e5bfc
RD
17059 int result;
17060 PyObject * obj0 = 0 ;
17061 char *kwnames[] = {
17062 (char *) "self", NULL
17063 };
17064
8ac8dba0 17065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBaseEvent_GetOldSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
17066 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
17067 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17068 {
17069 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 17070 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetOldSelection();
d55e5bfc
RD
17071
17072 wxPyEndAllowThreads(__tstate);
17073 if (PyErr_Occurred()) SWIG_fail;
17074 }
093d3ff1
RD
17075 {
17076 resultobj = SWIG_From_int((int)(result));
17077 }
d55e5bfc
RD
17078 return resultobj;
17079 fail:
17080 return NULL;
17081}
17082
17083
8ac8dba0 17084static PyObject *_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 17085 PyObject *resultobj;
8ac8dba0 17086 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
d55e5bfc
RD
17087 int arg2 ;
17088 PyObject * obj0 = 0 ;
17089 PyObject * obj1 = 0 ;
17090 char *kwnames[] = {
17091 (char *) "self",(char *) "nOldSel", NULL
17092 };
17093
8ac8dba0 17094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17095 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
17096 if (SWIG_arg_fail(1)) SWIG_fail;
17097 {
17098 arg2 = (int)(SWIG_As_int(obj1));
17099 if (SWIG_arg_fail(2)) SWIG_fail;
17100 }
d55e5bfc
RD
17101 {
17102 PyThreadState* __tstate = wxPyBeginAllowThreads();
17103 (arg1)->SetOldSelection(arg2);
17104
17105 wxPyEndAllowThreads(__tstate);
17106 if (PyErr_Occurred()) SWIG_fail;
17107 }
17108 Py_INCREF(Py_None); resultobj = Py_None;
17109 return resultobj;
17110 fail:
17111 return NULL;
17112}
17113
17114
8ac8dba0 17115static PyObject * BookCtrlBaseEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
17116 PyObject *obj;
17117 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8ac8dba0 17118 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBaseEvent, obj);
d55e5bfc
RD
17119 Py_INCREF(obj);
17120 return Py_BuildValue((char *)"");
17121}
c32bde28 17122static PyObject *_wrap_new_Notebook(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17123 PyObject *resultobj;
17124 wxWindow *arg1 = (wxWindow *) 0 ;
17125 int arg2 = (int) -1 ;
17126 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17127 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17128 wxSize const &arg4_defvalue = wxDefaultSize ;
17129 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17130 long arg5 = (long) 0 ;
51b83b37 17131 wxString const &arg6_defvalue = wxPyNotebookNameStr ;
d55e5bfc
RD
17132 wxString *arg6 = (wxString *) &arg6_defvalue ;
17133 wxNotebook *result;
17134 wxPoint temp3 ;
17135 wxSize temp4 ;
ae8162c8 17136 bool temp6 = false ;
d55e5bfc
RD
17137 PyObject * obj0 = 0 ;
17138 PyObject * obj1 = 0 ;
17139 PyObject * obj2 = 0 ;
17140 PyObject * obj3 = 0 ;
17141 PyObject * obj4 = 0 ;
17142 PyObject * obj5 = 0 ;
17143 char *kwnames[] = {
17144 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17145 };
17146
17147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Notebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
17148 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17149 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 17150 if (obj1) {
093d3ff1
RD
17151 {
17152 arg2 = (int)(SWIG_As_int(obj1));
17153 if (SWIG_arg_fail(2)) SWIG_fail;
17154 }
d55e5bfc
RD
17155 }
17156 if (obj2) {
17157 {
17158 arg3 = &temp3;
17159 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17160 }
17161 }
17162 if (obj3) {
17163 {
17164 arg4 = &temp4;
17165 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17166 }
17167 }
17168 if (obj4) {
093d3ff1
RD
17169 {
17170 arg5 = (long)(SWIG_As_long(obj4));
17171 if (SWIG_arg_fail(5)) SWIG_fail;
17172 }
d55e5bfc
RD
17173 }
17174 if (obj5) {
17175 {
17176 arg6 = wxString_in_helper(obj5);
17177 if (arg6 == NULL) SWIG_fail;
ae8162c8 17178 temp6 = true;
d55e5bfc
RD
17179 }
17180 }
17181 {
0439c23b 17182 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17183 PyThreadState* __tstate = wxPyBeginAllowThreads();
17184 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17185
17186 wxPyEndAllowThreads(__tstate);
110da5b0 17187 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 17188 }
b0f7404b 17189 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebook, 1);
d55e5bfc
RD
17190 {
17191 if (temp6)
17192 delete arg6;
17193 }
17194 return resultobj;
17195 fail:
17196 {
17197 if (temp6)
17198 delete arg6;
17199 }
17200 return NULL;
17201}
17202
17203
c32bde28 17204static PyObject *_wrap_new_PreNotebook(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17205 PyObject *resultobj;
17206 wxNotebook *result;
17207 char *kwnames[] = {
17208 NULL
17209 };
17210
17211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreNotebook",kwnames)) goto fail;
17212 {
0439c23b 17213 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17214 PyThreadState* __tstate = wxPyBeginAllowThreads();
17215 result = (wxNotebook *)new wxNotebook();
17216
17217 wxPyEndAllowThreads(__tstate);
110da5b0 17218 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 17219 }
b0f7404b 17220 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebook, 1);
d55e5bfc
RD
17221 return resultobj;
17222 fail:
17223 return NULL;
17224}
17225
17226
c32bde28 17227static PyObject *_wrap_Notebook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17228 PyObject *resultobj;
17229 wxNotebook *arg1 = (wxNotebook *) 0 ;
17230 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 17231 int arg3 = (int) -1 ;
d55e5bfc
RD
17232 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17233 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17234 wxSize const &arg5_defvalue = wxDefaultSize ;
17235 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17236 long arg6 = (long) 0 ;
51b83b37 17237 wxString const &arg7_defvalue = wxPyNotebookNameStr ;
d55e5bfc
RD
17238 wxString *arg7 = (wxString *) &arg7_defvalue ;
17239 bool result;
17240 wxPoint temp4 ;
17241 wxSize temp5 ;
ae8162c8 17242 bool temp7 = false ;
d55e5bfc
RD
17243 PyObject * obj0 = 0 ;
17244 PyObject * obj1 = 0 ;
17245 PyObject * obj2 = 0 ;
17246 PyObject * obj3 = 0 ;
17247 PyObject * obj4 = 0 ;
17248 PyObject * obj5 = 0 ;
17249 PyObject * obj6 = 0 ;
17250 char *kwnames[] = {
17251 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17252 };
17253
248ed943 17254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Notebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
17255 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17256 if (SWIG_arg_fail(1)) SWIG_fail;
17257 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17258 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 17259 if (obj2) {
093d3ff1
RD
17260 {
17261 arg3 = (int)(SWIG_As_int(obj2));
17262 if (SWIG_arg_fail(3)) SWIG_fail;
17263 }
248ed943 17264 }
d55e5bfc
RD
17265 if (obj3) {
17266 {
17267 arg4 = &temp4;
17268 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17269 }
17270 }
17271 if (obj4) {
17272 {
17273 arg5 = &temp5;
17274 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17275 }
17276 }
17277 if (obj5) {
093d3ff1
RD
17278 {
17279 arg6 = (long)(SWIG_As_long(obj5));
17280 if (SWIG_arg_fail(6)) SWIG_fail;
17281 }
d55e5bfc
RD
17282 }
17283 if (obj6) {
17284 {
17285 arg7 = wxString_in_helper(obj6);
17286 if (arg7 == NULL) SWIG_fail;
ae8162c8 17287 temp7 = true;
d55e5bfc
RD
17288 }
17289 }
17290 {
17291 PyThreadState* __tstate = wxPyBeginAllowThreads();
17292 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17293
17294 wxPyEndAllowThreads(__tstate);
17295 if (PyErr_Occurred()) SWIG_fail;
17296 }
17297 {
17298 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17299 }
17300 {
17301 if (temp7)
17302 delete arg7;
17303 }
17304 return resultobj;
17305 fail:
17306 {
17307 if (temp7)
17308 delete arg7;
17309 }
17310 return NULL;
17311}
17312
17313
c32bde28 17314static PyObject *_wrap_Notebook_GetRowCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17315 PyObject *resultobj;
17316 wxNotebook *arg1 = (wxNotebook *) 0 ;
17317 int result;
17318 PyObject * obj0 = 0 ;
17319 char *kwnames[] = {
17320 (char *) "self", NULL
17321 };
17322
17323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetRowCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
17324 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17325 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17326 {
17327 PyThreadState* __tstate = wxPyBeginAllowThreads();
17328 result = (int)((wxNotebook const *)arg1)->GetRowCount();
17329
17330 wxPyEndAllowThreads(__tstate);
17331 if (PyErr_Occurred()) SWIG_fail;
17332 }
093d3ff1
RD
17333 {
17334 resultobj = SWIG_From_int((int)(result));
17335 }
d55e5bfc
RD
17336 return resultobj;
17337 fail:
17338 return NULL;
17339}
17340
17341
c32bde28 17342static PyObject *_wrap_Notebook_SetPadding(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17343 PyObject *resultobj;
17344 wxNotebook *arg1 = (wxNotebook *) 0 ;
17345 wxSize *arg2 = 0 ;
17346 wxSize temp2 ;
17347 PyObject * obj0 = 0 ;
17348 PyObject * obj1 = 0 ;
17349 char *kwnames[] = {
17350 (char *) "self",(char *) "padding", NULL
17351 };
17352
17353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17354 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17355 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17356 {
17357 arg2 = &temp2;
17358 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17359 }
17360 {
17361 PyThreadState* __tstate = wxPyBeginAllowThreads();
17362 (arg1)->SetPadding((wxSize const &)*arg2);
17363
17364 wxPyEndAllowThreads(__tstate);
17365 if (PyErr_Occurred()) SWIG_fail;
17366 }
17367 Py_INCREF(Py_None); resultobj = Py_None;
17368 return resultobj;
17369 fail:
17370 return NULL;
17371}
17372
17373
c32bde28 17374static PyObject *_wrap_Notebook_SetTabSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17375 PyObject *resultobj;
17376 wxNotebook *arg1 = (wxNotebook *) 0 ;
17377 wxSize *arg2 = 0 ;
17378 wxSize temp2 ;
17379 PyObject * obj0 = 0 ;
17380 PyObject * obj1 = 0 ;
17381 char *kwnames[] = {
17382 (char *) "self",(char *) "sz", NULL
17383 };
17384
17385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17386 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17387 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17388 {
17389 arg2 = &temp2;
17390 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17391 }
17392 {
17393 PyThreadState* __tstate = wxPyBeginAllowThreads();
17394 (arg1)->SetTabSize((wxSize const &)*arg2);
17395
17396 wxPyEndAllowThreads(__tstate);
17397 if (PyErr_Occurred()) SWIG_fail;
17398 }
17399 Py_INCREF(Py_None); resultobj = Py_None;
17400 return resultobj;
17401 fail:
17402 return NULL;
17403}
17404
17405
c32bde28 17406static PyObject *_wrap_Notebook_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17407 PyObject *resultobj;
17408 wxNotebook *arg1 = (wxNotebook *) 0 ;
17409 wxPoint *arg2 = 0 ;
17410 long *arg3 = (long *) 0 ;
17411 int result;
17412 wxPoint temp2 ;
17413 long temp3 ;
c32bde28 17414 int res3 = 0 ;
d55e5bfc
RD
17415 PyObject * obj0 = 0 ;
17416 PyObject * obj1 = 0 ;
17417 char *kwnames[] = {
17418 (char *) "self",(char *) "pt", NULL
17419 };
17420
c32bde28 17421 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 17422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_HitTest",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17423 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17424 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17425 {
17426 arg2 = &temp2;
17427 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
17428 }
17429 {
17430 PyThreadState* __tstate = wxPyBeginAllowThreads();
17431 result = (int)((wxNotebook const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
17432
17433 wxPyEndAllowThreads(__tstate);
17434 if (PyErr_Occurred()) SWIG_fail;
17435 }
093d3ff1
RD
17436 {
17437 resultobj = SWIG_From_int((int)(result));
17438 }
c32bde28
RD
17439 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17440 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
d55e5bfc
RD
17441 return resultobj;
17442 fail:
17443 return NULL;
17444}
17445
17446
c32bde28 17447static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17448 PyObject *resultobj;
17449 wxNotebook *arg1 = (wxNotebook *) 0 ;
17450 wxSize *arg2 = 0 ;
17451 wxSize result;
17452 wxSize temp2 ;
17453 PyObject * obj0 = 0 ;
17454 PyObject * obj1 = 0 ;
17455 char *kwnames[] = {
17456 (char *) "self",(char *) "sizePage", NULL
17457 };
17458
17459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17460 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17461 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17462 {
17463 arg2 = &temp2;
17464 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17465 }
17466 {
17467 PyThreadState* __tstate = wxPyBeginAllowThreads();
17468 result = ((wxNotebook const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
17469
17470 wxPyEndAllowThreads(__tstate);
17471 if (PyErr_Occurred()) SWIG_fail;
17472 }
17473 {
17474 wxSize * resultptr;
093d3ff1 17475 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
17476 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17477 }
17478 return resultobj;
17479 fail:
17480 return NULL;
17481}
17482
17483
091fdbfa
RD
17484static PyObject *_wrap_Notebook_GetThemeBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
17485 PyObject *resultobj;
17486 wxNotebook *arg1 = (wxNotebook *) 0 ;
17487 wxColour result;
17488 PyObject * obj0 = 0 ;
17489 char *kwnames[] = {
17490 (char *) "self", NULL
17491 };
17492
17493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetThemeBackgroundColour",kwnames,&obj0)) goto fail;
17494 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17495 if (SWIG_arg_fail(1)) SWIG_fail;
17496 {
17497 PyThreadState* __tstate = wxPyBeginAllowThreads();
17498 result = ((wxNotebook const *)arg1)->GetThemeBackgroundColour();
17499
17500 wxPyEndAllowThreads(__tstate);
17501 if (PyErr_Occurred()) SWIG_fail;
17502 }
17503 {
17504 wxColour * resultptr;
17505 resultptr = new wxColour((wxColour &)(result));
17506 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
17507 }
17508 return resultobj;
17509 fail:
17510 return NULL;
17511}
17512
17513
c32bde28 17514static PyObject *_wrap_Notebook_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 17515 PyObject *resultobj;
093d3ff1 17516 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
17517 wxVisualAttributes result;
17518 PyObject * obj0 = 0 ;
17519 char *kwnames[] = {
17520 (char *) "variant", NULL
17521 };
17522
17523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
17524 if (obj0) {
093d3ff1
RD
17525 {
17526 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
17527 if (SWIG_arg_fail(1)) SWIG_fail;
17528 }
f20a2e1f
RD
17529 }
17530 {
19272049 17531 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
17532 PyThreadState* __tstate = wxPyBeginAllowThreads();
17533 result = wxNotebook::GetClassDefaultAttributes((wxWindowVariant )arg1);
17534
17535 wxPyEndAllowThreads(__tstate);
110da5b0 17536 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
17537 }
17538 {
17539 wxVisualAttributes * resultptr;
093d3ff1 17540 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
17541 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
17542 }
17543 return resultobj;
17544 fail:
17545 return NULL;
17546}
17547
17548
c32bde28 17549static PyObject * Notebook_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
17550 PyObject *obj;
17551 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17552 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook, obj);
17553 Py_INCREF(obj);
17554 return Py_BuildValue((char *)"");
17555}
c32bde28 17556static PyObject *_wrap_new_NotebookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17557 PyObject *resultobj;
17558 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17559 int arg2 = (int) 0 ;
17560 int arg3 = (int) -1 ;
17561 int arg4 = (int) -1 ;
17562 wxNotebookEvent *result;
17563 PyObject * obj0 = 0 ;
17564 PyObject * obj1 = 0 ;
17565 PyObject * obj2 = 0 ;
17566 PyObject * obj3 = 0 ;
17567 char *kwnames[] = {
17568 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17569 };
17570
17571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_NotebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17572 if (obj0) {
093d3ff1
RD
17573 {
17574 arg1 = (wxEventType)(SWIG_As_int(obj0));
17575 if (SWIG_arg_fail(1)) SWIG_fail;
17576 }
d55e5bfc
RD
17577 }
17578 if (obj1) {
093d3ff1
RD
17579 {
17580 arg2 = (int)(SWIG_As_int(obj1));
17581 if (SWIG_arg_fail(2)) SWIG_fail;
17582 }
d55e5bfc
RD
17583 }
17584 if (obj2) {
093d3ff1
RD
17585 {
17586 arg3 = (int)(SWIG_As_int(obj2));
17587 if (SWIG_arg_fail(3)) SWIG_fail;
17588 }
d55e5bfc
RD
17589 }
17590 if (obj3) {
093d3ff1
RD
17591 {
17592 arg4 = (int)(SWIG_As_int(obj3));
17593 if (SWIG_arg_fail(4)) SWIG_fail;
17594 }
d55e5bfc
RD
17595 }
17596 {
17597 PyThreadState* __tstate = wxPyBeginAllowThreads();
17598 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
17599
17600 wxPyEndAllowThreads(__tstate);
17601 if (PyErr_Occurred()) SWIG_fail;
17602 }
17603 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookEvent, 1);
17604 return resultobj;
17605 fail:
17606 return NULL;
17607}
17608
17609
c32bde28 17610static PyObject * NotebookEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
17611 PyObject *obj;
17612 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17613 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj);
17614 Py_INCREF(obj);
17615 return Py_BuildValue((char *)"");
17616}
c32bde28 17617static PyObject *_wrap_new_Listbook(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17618 PyObject *resultobj;
17619 wxWindow *arg1 = (wxWindow *) 0 ;
17620 int arg2 = (int) -1 ;
17621 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17622 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17623 wxSize const &arg4_defvalue = wxDefaultSize ;
17624 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17625 long arg5 = (long) 0 ;
17626 wxString const &arg6_defvalue = wxPyEmptyString ;
17627 wxString *arg6 = (wxString *) &arg6_defvalue ;
17628 wxListbook *result;
17629 wxPoint temp3 ;
17630 wxSize temp4 ;
ae8162c8 17631 bool temp6 = false ;
d55e5bfc
RD
17632 PyObject * obj0 = 0 ;
17633 PyObject * obj1 = 0 ;
17634 PyObject * obj2 = 0 ;
17635 PyObject * obj3 = 0 ;
17636 PyObject * obj4 = 0 ;
17637 PyObject * obj5 = 0 ;
17638 char *kwnames[] = {
17639 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17640 };
17641
17642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Listbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
17643 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17644 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 17645 if (obj1) {
093d3ff1
RD
17646 {
17647 arg2 = (int)(SWIG_As_int(obj1));
17648 if (SWIG_arg_fail(2)) SWIG_fail;
17649 }
d55e5bfc
RD
17650 }
17651 if (obj2) {
17652 {
17653 arg3 = &temp3;
17654 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17655 }
17656 }
17657 if (obj3) {
17658 {
17659 arg4 = &temp4;
17660 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17661 }
17662 }
17663 if (obj4) {
093d3ff1
RD
17664 {
17665 arg5 = (long)(SWIG_As_long(obj4));
17666 if (SWIG_arg_fail(5)) SWIG_fail;
17667 }
d55e5bfc
RD
17668 }
17669 if (obj5) {
17670 {
17671 arg6 = wxString_in_helper(obj5);
17672 if (arg6 == NULL) SWIG_fail;
ae8162c8 17673 temp6 = true;
d55e5bfc
RD
17674 }
17675 }
17676 {
0439c23b 17677 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17678 PyThreadState* __tstate = wxPyBeginAllowThreads();
17679 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17680
17681 wxPyEndAllowThreads(__tstate);
110da5b0 17682 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
17683 }
17684 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
17685 {
17686 if (temp6)
17687 delete arg6;
17688 }
17689 return resultobj;
17690 fail:
17691 {
17692 if (temp6)
17693 delete arg6;
17694 }
17695 return NULL;
17696}
17697
17698
c32bde28 17699static PyObject *_wrap_new_PreListbook(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17700 PyObject *resultobj;
17701 wxListbook *result;
17702 char *kwnames[] = {
17703 NULL
17704 };
17705
17706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail;
17707 {
0439c23b 17708 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17709 PyThreadState* __tstate = wxPyBeginAllowThreads();
17710 result = (wxListbook *)new wxListbook();
17711
17712 wxPyEndAllowThreads(__tstate);
110da5b0 17713 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
17714 }
17715 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
17716 return resultobj;
17717 fail:
17718 return NULL;
17719}
17720
17721
c32bde28 17722static PyObject *_wrap_Listbook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17723 PyObject *resultobj;
17724 wxListbook *arg1 = (wxListbook *) 0 ;
17725 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 17726 int arg3 = (int) -1 ;
d55e5bfc
RD
17727 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17728 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17729 wxSize const &arg5_defvalue = wxDefaultSize ;
17730 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17731 long arg6 = (long) 0 ;
17732 wxString const &arg7_defvalue = wxPyEmptyString ;
17733 wxString *arg7 = (wxString *) &arg7_defvalue ;
17734 bool result;
17735 wxPoint temp4 ;
17736 wxSize temp5 ;
ae8162c8 17737 bool temp7 = false ;
d55e5bfc
RD
17738 PyObject * obj0 = 0 ;
17739 PyObject * obj1 = 0 ;
17740 PyObject * obj2 = 0 ;
17741 PyObject * obj3 = 0 ;
17742 PyObject * obj4 = 0 ;
17743 PyObject * obj5 = 0 ;
17744 PyObject * obj6 = 0 ;
17745 char *kwnames[] = {
17746 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17747 };
17748
248ed943 17749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Listbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
17750 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListbook, SWIG_POINTER_EXCEPTION | 0);
17751 if (SWIG_arg_fail(1)) SWIG_fail;
17752 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17753 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 17754 if (obj2) {
093d3ff1
RD
17755 {
17756 arg3 = (int)(SWIG_As_int(obj2));
17757 if (SWIG_arg_fail(3)) SWIG_fail;
17758 }
248ed943 17759 }
d55e5bfc
RD
17760 if (obj3) {
17761 {
17762 arg4 = &temp4;
17763 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17764 }
17765 }
17766 if (obj4) {
17767 {
17768 arg5 = &temp5;
17769 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17770 }
17771 }
17772 if (obj5) {
093d3ff1
RD
17773 {
17774 arg6 = (long)(SWIG_As_long(obj5));
17775 if (SWIG_arg_fail(6)) SWIG_fail;
17776 }
d55e5bfc
RD
17777 }
17778 if (obj6) {
17779 {
17780 arg7 = wxString_in_helper(obj6);
17781 if (arg7 == NULL) SWIG_fail;
ae8162c8 17782 temp7 = true;
d55e5bfc
RD
17783 }
17784 }
17785 {
17786 PyThreadState* __tstate = wxPyBeginAllowThreads();
17787 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17788
17789 wxPyEndAllowThreads(__tstate);
17790 if (PyErr_Occurred()) SWIG_fail;
17791 }
17792 {
17793 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17794 }
17795 {
17796 if (temp7)
17797 delete arg7;
17798 }
17799 return resultobj;
17800 fail:
17801 {
17802 if (temp7)
17803 delete arg7;
17804 }
17805 return NULL;
17806}
17807
17808
c32bde28 17809static PyObject *_wrap_Listbook_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17810 PyObject *resultobj;
17811 wxListbook *arg1 = (wxListbook *) 0 ;
17812 bool result;
17813 PyObject * obj0 = 0 ;
17814 char *kwnames[] = {
17815 (char *) "self", NULL
17816 };
17817
17818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_IsVertical",kwnames,&obj0)) goto fail;
093d3ff1
RD
17819 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListbook, SWIG_POINTER_EXCEPTION | 0);
17820 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17821 {
17822 PyThreadState* __tstate = wxPyBeginAllowThreads();
17823 result = (bool)((wxListbook const *)arg1)->IsVertical();
17824
17825 wxPyEndAllowThreads(__tstate);
17826 if (PyErr_Occurred()) SWIG_fail;
17827 }
17828 {
17829 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17830 }
17831 return resultobj;
17832 fail:
17833 return NULL;
17834}
17835
17836
1fbf26be
RD
17837static PyObject *_wrap_Listbook_GetListView(PyObject *, PyObject *args, PyObject *kwargs) {
17838 PyObject *resultobj;
17839 wxListbook *arg1 = (wxListbook *) 0 ;
17840 wxListView *result;
17841 PyObject * obj0 = 0 ;
17842 char *kwnames[] = {
17843 (char *) "self", NULL
17844 };
17845
17846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_GetListView",kwnames,&obj0)) goto fail;
093d3ff1
RD
17847 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListbook, SWIG_POINTER_EXCEPTION | 0);
17848 if (SWIG_arg_fail(1)) SWIG_fail;
1fbf26be
RD
17849 {
17850 PyThreadState* __tstate = wxPyBeginAllowThreads();
17851 result = (wxListView *)(arg1)->GetListView();
17852
17853 wxPyEndAllowThreads(__tstate);
17854 if (PyErr_Occurred()) SWIG_fail;
17855 }
17856 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 0);
17857 return resultobj;
17858 fail:
17859 return NULL;
17860}
17861
17862
c32bde28 17863static PyObject * Listbook_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
17864 PyObject *obj;
17865 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17866 SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
17867 Py_INCREF(obj);
17868 return Py_BuildValue((char *)"");
17869}
c32bde28 17870static PyObject *_wrap_new_ListbookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17871 PyObject *resultobj;
17872 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17873 int arg2 = (int) 0 ;
17874 int arg3 = (int) -1 ;
17875 int arg4 = (int) -1 ;
17876 wxListbookEvent *result;
17877 PyObject * obj0 = 0 ;
17878 PyObject * obj1 = 0 ;
17879 PyObject * obj2 = 0 ;
17880 PyObject * obj3 = 0 ;
17881 char *kwnames[] = {
17882 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17883 };
17884
17885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ListbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17886 if (obj0) {
093d3ff1
RD
17887 {
17888 arg1 = (wxEventType)(SWIG_As_int(obj0));
17889 if (SWIG_arg_fail(1)) SWIG_fail;
17890 }
d55e5bfc
RD
17891 }
17892 if (obj1) {
093d3ff1
RD
17893 {
17894 arg2 = (int)(SWIG_As_int(obj1));
17895 if (SWIG_arg_fail(2)) SWIG_fail;
17896 }
d55e5bfc
RD
17897 }
17898 if (obj2) {
093d3ff1
RD
17899 {
17900 arg3 = (int)(SWIG_As_int(obj2));
17901 if (SWIG_arg_fail(3)) SWIG_fail;
17902 }
d55e5bfc
RD
17903 }
17904 if (obj3) {
093d3ff1
RD
17905 {
17906 arg4 = (int)(SWIG_As_int(obj3));
17907 if (SWIG_arg_fail(4)) SWIG_fail;
17908 }
d55e5bfc
RD
17909 }
17910 {
17911 PyThreadState* __tstate = wxPyBeginAllowThreads();
17912 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
17913
17914 wxPyEndAllowThreads(__tstate);
17915 if (PyErr_Occurred()) SWIG_fail;
17916 }
17917 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbookEvent, 1);
17918 return resultobj;
17919 fail:
17920 return NULL;
17921}
17922
17923
c32bde28 17924static PyObject * ListbookEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
17925 PyObject *obj;
17926 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17927 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
17928 Py_INCREF(obj);
17929 return Py_BuildValue((char *)"");
17930}
ae8162c8
RD
17931static PyObject *_wrap_new_Choicebook(PyObject *, PyObject *args, PyObject *kwargs) {
17932 PyObject *resultobj;
17933 wxWindow *arg1 = (wxWindow *) 0 ;
17934 int arg2 ;
17935 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17936 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17937 wxSize const &arg4_defvalue = wxDefaultSize ;
17938 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17939 long arg5 = (long) 0 ;
17940 wxString const &arg6_defvalue = wxPyEmptyString ;
17941 wxString *arg6 = (wxString *) &arg6_defvalue ;
17942 wxChoicebook *result;
17943 wxPoint temp3 ;
17944 wxSize temp4 ;
17945 bool temp6 = false ;
17946 PyObject * obj0 = 0 ;
17947 PyObject * obj1 = 0 ;
17948 PyObject * obj2 = 0 ;
17949 PyObject * obj3 = 0 ;
17950 PyObject * obj4 = 0 ;
17951 PyObject * obj5 = 0 ;
17952 char *kwnames[] = {
17953 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17954 };
17955
17956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Choicebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
17957 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17958 if (SWIG_arg_fail(1)) SWIG_fail;
17959 {
17960 arg2 = (int)(SWIG_As_int(obj1));
17961 if (SWIG_arg_fail(2)) SWIG_fail;
17962 }
ae8162c8
RD
17963 if (obj2) {
17964 {
17965 arg3 = &temp3;
17966 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17967 }
17968 }
17969 if (obj3) {
17970 {
17971 arg4 = &temp4;
17972 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17973 }
17974 }
17975 if (obj4) {
093d3ff1
RD
17976 {
17977 arg5 = (long)(SWIG_As_long(obj4));
17978 if (SWIG_arg_fail(5)) SWIG_fail;
17979 }
ae8162c8
RD
17980 }
17981 if (obj5) {
17982 {
17983 arg6 = wxString_in_helper(obj5);
17984 if (arg6 == NULL) SWIG_fail;
17985 temp6 = true;
17986 }
17987 }
17988 {
17989 if (!wxPyCheckForApp()) SWIG_fail;
17990 PyThreadState* __tstate = wxPyBeginAllowThreads();
17991 result = (wxChoicebook *)new wxChoicebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17992
17993 wxPyEndAllowThreads(__tstate);
17994 if (PyErr_Occurred()) SWIG_fail;
17995 }
17996 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebook, 1);
17997 {
17998 if (temp6)
17999 delete arg6;
18000 }
18001 return resultobj;
18002 fail:
18003 {
18004 if (temp6)
18005 delete arg6;
18006 }
18007 return NULL;
18008}
18009
18010
18011static PyObject *_wrap_new_PreChoicebook(PyObject *, PyObject *args, PyObject *kwargs) {
18012 PyObject *resultobj;
18013 wxChoicebook *result;
18014 char *kwnames[] = {
18015 NULL
18016 };
18017
18018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoicebook",kwnames)) goto fail;
18019 {
18020 if (!wxPyCheckForApp()) SWIG_fail;
18021 PyThreadState* __tstate = wxPyBeginAllowThreads();
18022 result = (wxChoicebook *)new wxChoicebook();
18023
18024 wxPyEndAllowThreads(__tstate);
18025 if (PyErr_Occurred()) SWIG_fail;
18026 }
18027 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebook, 1);
18028 return resultobj;
18029 fail:
18030 return NULL;
18031}
18032
18033
18034static PyObject *_wrap_Choicebook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
18035 PyObject *resultobj;
18036 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
18037 wxWindow *arg2 = (wxWindow *) 0 ;
18038 int arg3 ;
18039 wxPoint const &arg4_defvalue = wxDefaultPosition ;
18040 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
18041 wxSize const &arg5_defvalue = wxDefaultSize ;
18042 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
18043 long arg6 = (long) 0 ;
18044 wxString const &arg7_defvalue = wxPyEmptyString ;
18045 wxString *arg7 = (wxString *) &arg7_defvalue ;
18046 bool result;
18047 wxPoint temp4 ;
18048 wxSize temp5 ;
18049 bool temp7 = false ;
18050 PyObject * obj0 = 0 ;
18051 PyObject * obj1 = 0 ;
18052 PyObject * obj2 = 0 ;
18053 PyObject * obj3 = 0 ;
18054 PyObject * obj4 = 0 ;
18055 PyObject * obj5 = 0 ;
18056 PyObject * obj6 = 0 ;
18057 char *kwnames[] = {
18058 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18059 };
18060
18061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Choicebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
18062 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
18063 if (SWIG_arg_fail(1)) SWIG_fail;
18064 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18065 if (SWIG_arg_fail(2)) SWIG_fail;
18066 {
18067 arg3 = (int)(SWIG_As_int(obj2));
18068 if (SWIG_arg_fail(3)) SWIG_fail;
18069 }
ae8162c8
RD
18070 if (obj3) {
18071 {
18072 arg4 = &temp4;
18073 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
18074 }
18075 }
18076 if (obj4) {
18077 {
18078 arg5 = &temp5;
18079 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
18080 }
18081 }
18082 if (obj5) {
093d3ff1
RD
18083 {
18084 arg6 = (long)(SWIG_As_long(obj5));
18085 if (SWIG_arg_fail(6)) SWIG_fail;
18086 }
ae8162c8
RD
18087 }
18088 if (obj6) {
18089 {
18090 arg7 = wxString_in_helper(obj6);
18091 if (arg7 == NULL) SWIG_fail;
18092 temp7 = true;
18093 }
18094 }
18095 {
18096 PyThreadState* __tstate = wxPyBeginAllowThreads();
18097 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
18098
18099 wxPyEndAllowThreads(__tstate);
18100 if (PyErr_Occurred()) SWIG_fail;
18101 }
18102 {
18103 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18104 }
18105 {
18106 if (temp7)
18107 delete arg7;
18108 }
18109 return resultobj;
18110 fail:
18111 {
18112 if (temp7)
18113 delete arg7;
18114 }
18115 return NULL;
18116}
18117
18118
18119static PyObject *_wrap_Choicebook_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
18120 PyObject *resultobj;
18121 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
18122 bool result;
18123 PyObject * obj0 = 0 ;
18124 char *kwnames[] = {
18125 (char *) "self", NULL
18126 };
18127
18128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_IsVertical",kwnames,&obj0)) goto fail;
093d3ff1
RD
18129 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
18130 if (SWIG_arg_fail(1)) SWIG_fail;
ae8162c8
RD
18131 {
18132 PyThreadState* __tstate = wxPyBeginAllowThreads();
18133 result = (bool)((wxChoicebook const *)arg1)->IsVertical();
18134
18135 wxPyEndAllowThreads(__tstate);
18136 if (PyErr_Occurred()) SWIG_fail;
18137 }
18138 {
18139 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18140 }
18141 return resultobj;
18142 fail:
18143 return NULL;
18144}
18145
18146
18147static PyObject *_wrap_Choicebook_DeleteAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
18148 PyObject *resultobj;
18149 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
18150 bool result;
18151 PyObject * obj0 = 0 ;
18152 char *kwnames[] = {
18153 (char *) "self", NULL
18154 };
18155
18156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_DeleteAllPages",kwnames,&obj0)) goto fail;
093d3ff1
RD
18157 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
18158 if (SWIG_arg_fail(1)) SWIG_fail;
ae8162c8
RD
18159 {
18160 PyThreadState* __tstate = wxPyBeginAllowThreads();
18161 result = (bool)(arg1)->DeleteAllPages();
18162
18163 wxPyEndAllowThreads(__tstate);
18164 if (PyErr_Occurred()) SWIG_fail;
18165 }
18166 {
18167 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18168 }
18169 return resultobj;
18170 fail:
18171 return NULL;
18172}
18173
18174
18175static PyObject * Choicebook_swigregister(PyObject *, PyObject *args) {
18176 PyObject *obj;
18177 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18178 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebook, obj);
18179 Py_INCREF(obj);
18180 return Py_BuildValue((char *)"");
18181}
18182static PyObject *_wrap_new_ChoicebookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
18183 PyObject *resultobj;
18184 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
18185 int arg2 = (int) 0 ;
18186 int arg3 = (int) -1 ;
18187 int arg4 = (int) -1 ;
18188 wxChoicebookEvent *result;
18189 PyObject * obj0 = 0 ;
18190 PyObject * obj1 = 0 ;
18191 PyObject * obj2 = 0 ;
18192 PyObject * obj3 = 0 ;
18193 char *kwnames[] = {
18194 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
18195 };
18196
18197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ChoicebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18198 if (obj0) {
093d3ff1
RD
18199 {
18200 arg1 = (wxEventType)(SWIG_As_int(obj0));
18201 if (SWIG_arg_fail(1)) SWIG_fail;
18202 }
ae8162c8
RD
18203 }
18204 if (obj1) {
093d3ff1
RD
18205 {
18206 arg2 = (int)(SWIG_As_int(obj1));
18207 if (SWIG_arg_fail(2)) SWIG_fail;
18208 }
ae8162c8
RD
18209 }
18210 if (obj2) {
093d3ff1
RD
18211 {
18212 arg3 = (int)(SWIG_As_int(obj2));
18213 if (SWIG_arg_fail(3)) SWIG_fail;
18214 }
ae8162c8
RD
18215 }
18216 if (obj3) {
093d3ff1
RD
18217 {
18218 arg4 = (int)(SWIG_As_int(obj3));
18219 if (SWIG_arg_fail(4)) SWIG_fail;
18220 }
ae8162c8
RD
18221 }
18222 {
18223 PyThreadState* __tstate = wxPyBeginAllowThreads();
18224 result = (wxChoicebookEvent *)new wxChoicebookEvent(arg1,arg2,arg3,arg4);
18225
18226 wxPyEndAllowThreads(__tstate);
18227 if (PyErr_Occurred()) SWIG_fail;
18228 }
18229 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebookEvent, 1);
18230 return resultobj;
18231 fail:
18232 return NULL;
18233}
18234
18235
18236static PyObject * ChoicebookEvent_swigregister(PyObject *, PyObject *args) {
18237 PyObject *obj;
18238 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18239 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebookEvent, obj);
18240 Py_INCREF(obj);
18241 return Py_BuildValue((char *)"");
18242}
c32bde28 18243static PyObject *_wrap_new_BookCtrlSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 18244 PyObject *resultobj;
8ac8dba0 18245 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
18246 wxBookCtrlSizer *result;
18247 PyObject * obj0 = 0 ;
18248 char *kwnames[] = {
18249 (char *) "nb", NULL
18250 };
18251
18252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BookCtrlSizer",kwnames,&obj0)) goto fail;
093d3ff1
RD
18253 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
18254 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18255 {
18256 PyThreadState* __tstate = wxPyBeginAllowThreads();
18257 result = (wxBookCtrlSizer *)new wxBookCtrlSizer(arg1);
18258
18259 wxPyEndAllowThreads(__tstate);
18260 if (PyErr_Occurred()) SWIG_fail;
18261 }
18262 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlSizer, 1);
18263 return resultobj;
18264 fail:
18265 return NULL;
18266}
18267
18268
c32bde28 18269static PyObject *_wrap_BookCtrlSizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18270 PyObject *resultobj;
18271 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
18272 PyObject * obj0 = 0 ;
18273 char *kwnames[] = {
18274 (char *) "self", NULL
18275 };
18276
18277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames,&obj0)) goto fail;
093d3ff1
RD
18278 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlSizer, SWIG_POINTER_EXCEPTION | 0);
18279 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18280 {
18281 PyThreadState* __tstate = wxPyBeginAllowThreads();
18282 (arg1)->RecalcSizes();
18283
18284 wxPyEndAllowThreads(__tstate);
18285 if (PyErr_Occurred()) SWIG_fail;
18286 }
18287 Py_INCREF(Py_None); resultobj = Py_None;
18288 return resultobj;
18289 fail:
18290 return NULL;
18291}
18292
18293
c32bde28 18294static PyObject *_wrap_BookCtrlSizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18295 PyObject *resultobj;
18296 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
18297 wxSize result;
18298 PyObject * obj0 = 0 ;
18299 char *kwnames[] = {
18300 (char *) "self", NULL
18301 };
18302
18303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_CalcMin",kwnames,&obj0)) goto fail;
093d3ff1
RD
18304 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlSizer, SWIG_POINTER_EXCEPTION | 0);
18305 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18306 {
18307 PyThreadState* __tstate = wxPyBeginAllowThreads();
18308 result = (arg1)->CalcMin();
18309
18310 wxPyEndAllowThreads(__tstate);
18311 if (PyErr_Occurred()) SWIG_fail;
18312 }
18313 {
18314 wxSize * resultptr;
093d3ff1 18315 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
18316 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18317 }
18318 return resultobj;
18319 fail:
18320 return NULL;
18321}
18322
18323
c32bde28 18324static PyObject *_wrap_BookCtrlSizer_GetControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18325 PyObject *resultobj;
18326 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
8ac8dba0 18327 wxBookCtrlBase *result;
d55e5bfc
RD
18328 PyObject * obj0 = 0 ;
18329 char *kwnames[] = {
18330 (char *) "self", NULL
18331 };
18332
18333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_GetControl",kwnames,&obj0)) goto fail;
093d3ff1
RD
18334 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlSizer, SWIG_POINTER_EXCEPTION | 0);
18335 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18336 {
18337 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 18338 result = (wxBookCtrlBase *)(arg1)->GetControl();
d55e5bfc
RD
18339
18340 wxPyEndAllowThreads(__tstate);
18341 if (PyErr_Occurred()) SWIG_fail;
18342 }
8ac8dba0 18343 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlBase, 0);
d55e5bfc
RD
18344 return resultobj;
18345 fail:
18346 return NULL;
18347}
18348
18349
c32bde28 18350static PyObject * BookCtrlSizer_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
18351 PyObject *obj;
18352 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18353 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer, obj);
18354 Py_INCREF(obj);
18355 return Py_BuildValue((char *)"");
18356}
c32bde28 18357static PyObject *_wrap_new_NotebookSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18358 PyObject *resultobj;
18359 wxNotebook *arg1 = (wxNotebook *) 0 ;
18360 wxNotebookSizer *result;
18361 PyObject * obj0 = 0 ;
18362 char *kwnames[] = {
18363 (char *) "nb", NULL
18364 };
18365
18366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_NotebookSizer",kwnames,&obj0)) goto fail;
093d3ff1
RD
18367 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
18368 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18369 {
18370 PyThreadState* __tstate = wxPyBeginAllowThreads();
18371 result = (wxNotebookSizer *)new wxNotebookSizer(arg1);
18372
18373 wxPyEndAllowThreads(__tstate);
18374 if (PyErr_Occurred()) SWIG_fail;
18375 }
18376 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookSizer, 1);
18377 return resultobj;
18378 fail:
18379 return NULL;
18380}
18381
18382
c32bde28 18383static PyObject *_wrap_NotebookSizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18384 PyObject *resultobj;
18385 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
18386 PyObject * obj0 = 0 ;
18387 char *kwnames[] = {
18388 (char *) "self", NULL
18389 };
18390
18391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_RecalcSizes",kwnames,&obj0)) goto fail;
093d3ff1
RD
18392 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebookSizer, SWIG_POINTER_EXCEPTION | 0);
18393 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18394 {
18395 PyThreadState* __tstate = wxPyBeginAllowThreads();
18396 (arg1)->RecalcSizes();
18397
18398 wxPyEndAllowThreads(__tstate);
18399 if (PyErr_Occurred()) SWIG_fail;
18400 }
18401 Py_INCREF(Py_None); resultobj = Py_None;
18402 return resultobj;
18403 fail:
18404 return NULL;
18405}
18406
18407
c32bde28 18408static PyObject *_wrap_NotebookSizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18409 PyObject *resultobj;
18410 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
18411 wxSize result;
18412 PyObject * obj0 = 0 ;
18413 char *kwnames[] = {
18414 (char *) "self", NULL
18415 };
18416
18417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_CalcMin",kwnames,&obj0)) goto fail;
093d3ff1
RD
18418 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebookSizer, SWIG_POINTER_EXCEPTION | 0);
18419 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18420 {
18421 PyThreadState* __tstate = wxPyBeginAllowThreads();
18422 result = (arg1)->CalcMin();
18423
18424 wxPyEndAllowThreads(__tstate);
18425 if (PyErr_Occurred()) SWIG_fail;
18426 }
18427 {
18428 wxSize * resultptr;
093d3ff1 18429 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
18430 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18431 }
18432 return resultobj;
18433 fail:
18434 return NULL;
18435}
18436
18437
c32bde28 18438static PyObject *_wrap_NotebookSizer_GetNotebook(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18439 PyObject *resultobj;
18440 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
18441 wxNotebook *result;
18442 PyObject * obj0 = 0 ;
18443 char *kwnames[] = {
18444 (char *) "self", NULL
18445 };
18446
18447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_GetNotebook",kwnames,&obj0)) goto fail;
093d3ff1
RD
18448 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebookSizer, SWIG_POINTER_EXCEPTION | 0);
18449 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18450 {
18451 PyThreadState* __tstate = wxPyBeginAllowThreads();
18452 result = (wxNotebook *)(arg1)->GetNotebook();
18453
18454 wxPyEndAllowThreads(__tstate);
18455 if (PyErr_Occurred()) SWIG_fail;
18456 }
18457 {
412d302d 18458 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
18459 }
18460 return resultobj;
18461 fail:
18462 return NULL;
18463}
18464
18465
c32bde28 18466static PyObject * NotebookSizer_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
18467 PyObject *obj;
18468 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18469 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer, obj);
18470 Py_INCREF(obj);
18471 return Py_BuildValue((char *)"");
18472}
c32bde28 18473static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18474 PyObject *resultobj;
18475 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18476 int result;
18477 PyObject * obj0 = 0 ;
18478 char *kwnames[] = {
18479 (char *) "self", NULL
18480 };
18481
18482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetId",kwnames,&obj0)) goto fail;
093d3ff1
RD
18483 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18484 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18485 {
18486 PyThreadState* __tstate = wxPyBeginAllowThreads();
18487 result = (int)(arg1)->GetId();
18488
18489 wxPyEndAllowThreads(__tstate);
18490 if (PyErr_Occurred()) SWIG_fail;
18491 }
093d3ff1
RD
18492 {
18493 resultobj = SWIG_From_int((int)(result));
18494 }
d55e5bfc
RD
18495 return resultobj;
18496 fail:
18497 return NULL;
18498}
18499
18500
c32bde28 18501static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18502 PyObject *resultobj;
18503 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18504 wxControl *result;
18505 PyObject * obj0 = 0 ;
18506 char *kwnames[] = {
18507 (char *) "self", NULL
18508 };
18509
18510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetControl",kwnames,&obj0)) goto fail;
093d3ff1
RD
18511 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18512 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18513 {
18514 PyThreadState* __tstate = wxPyBeginAllowThreads();
18515 result = (wxControl *)(arg1)->GetControl();
18516
18517 wxPyEndAllowThreads(__tstate);
18518 if (PyErr_Occurred()) SWIG_fail;
18519 }
18520 {
412d302d 18521 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
18522 }
18523 return resultobj;
18524 fail:
18525 return NULL;
18526}
18527
18528
c32bde28 18529static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18530 PyObject *resultobj;
18531 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18532 wxToolBarBase *result;
18533 PyObject * obj0 = 0 ;
18534 char *kwnames[] = {
18535 (char *) "self", NULL
18536 };
18537
18538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetToolBar",kwnames,&obj0)) goto fail;
093d3ff1
RD
18539 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18540 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18541 {
18542 PyThreadState* __tstate = wxPyBeginAllowThreads();
18543 result = (wxToolBarBase *)(arg1)->GetToolBar();
18544
18545 wxPyEndAllowThreads(__tstate);
18546 if (PyErr_Occurred()) SWIG_fail;
18547 }
18548 {
412d302d 18549 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
18550 }
18551 return resultobj;
18552 fail:
18553 return NULL;
18554}
18555
18556
c32bde28 18557static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18558 PyObject *resultobj;
18559 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18560 int result;
18561 PyObject * obj0 = 0 ;
18562 char *kwnames[] = {
18563 (char *) "self", NULL
18564 };
18565
18566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsButton",kwnames,&obj0)) goto fail;
093d3ff1
RD
18567 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18568 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18569 {
18570 PyThreadState* __tstate = wxPyBeginAllowThreads();
18571 result = (int)(arg1)->IsButton();
18572
18573 wxPyEndAllowThreads(__tstate);
18574 if (PyErr_Occurred()) SWIG_fail;
18575 }
093d3ff1
RD
18576 {
18577 resultobj = SWIG_From_int((int)(result));
18578 }
d55e5bfc
RD
18579 return resultobj;
18580 fail:
18581 return NULL;
18582}
18583
18584
c32bde28 18585static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18586 PyObject *resultobj;
18587 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18588 int result;
18589 PyObject * obj0 = 0 ;
18590 char *kwnames[] = {
18591 (char *) "self", NULL
18592 };
18593
18594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsControl",kwnames,&obj0)) goto fail;
093d3ff1
RD
18595 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18596 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18597 {
18598 PyThreadState* __tstate = wxPyBeginAllowThreads();
18599 result = (int)(arg1)->IsControl();
18600
18601 wxPyEndAllowThreads(__tstate);
18602 if (PyErr_Occurred()) SWIG_fail;
18603 }
093d3ff1
RD
18604 {
18605 resultobj = SWIG_From_int((int)(result));
18606 }
d55e5bfc
RD
18607 return resultobj;
18608 fail:
18609 return NULL;
18610}
18611
18612
c32bde28 18613static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18614 PyObject *resultobj;
18615 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18616 int result;
18617 PyObject * obj0 = 0 ;
18618 char *kwnames[] = {
18619 (char *) "self", NULL
18620 };
18621
18622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsSeparator",kwnames,&obj0)) goto fail;
093d3ff1
RD
18623 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18624 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18625 {
18626 PyThreadState* __tstate = wxPyBeginAllowThreads();
18627 result = (int)(arg1)->IsSeparator();
18628
18629 wxPyEndAllowThreads(__tstate);
18630 if (PyErr_Occurred()) SWIG_fail;
18631 }
093d3ff1
RD
18632 {
18633 resultobj = SWIG_From_int((int)(result));
18634 }
d55e5bfc
RD
18635 return resultobj;
18636 fail:
18637 return NULL;
18638}
18639
18640
c32bde28 18641static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18642 PyObject *resultobj;
18643 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18644 int result;
18645 PyObject * obj0 = 0 ;
18646 char *kwnames[] = {
18647 (char *) "self", NULL
18648 };
18649
18650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetStyle",kwnames,&obj0)) goto fail;
093d3ff1
RD
18651 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18652 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18653 {
18654 PyThreadState* __tstate = wxPyBeginAllowThreads();
18655 result = (int)(arg1)->GetStyle();
18656
18657 wxPyEndAllowThreads(__tstate);
18658 if (PyErr_Occurred()) SWIG_fail;
18659 }
093d3ff1
RD
18660 {
18661 resultobj = SWIG_From_int((int)(result));
18662 }
d55e5bfc
RD
18663 return resultobj;
18664 fail:
18665 return NULL;
18666}
18667
18668
c32bde28 18669static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18670 PyObject *resultobj;
18671 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
093d3ff1 18672 wxItemKind result;
d55e5bfc
RD
18673 PyObject * obj0 = 0 ;
18674 char *kwnames[] = {
18675 (char *) "self", NULL
18676 };
18677
18678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetKind",kwnames,&obj0)) goto fail;
093d3ff1
RD
18679 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18680 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18681 {
18682 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 18683 result = (wxItemKind)(arg1)->GetKind();
d55e5bfc
RD
18684
18685 wxPyEndAllowThreads(__tstate);
18686 if (PyErr_Occurred()) SWIG_fail;
18687 }
093d3ff1 18688 resultobj = SWIG_From_int((result));
d55e5bfc
RD
18689 return resultobj;
18690 fail:
18691 return NULL;
18692}
18693
18694
c32bde28 18695static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18696 PyObject *resultobj;
18697 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18698 bool result;
18699 PyObject * obj0 = 0 ;
18700 char *kwnames[] = {
18701 (char *) "self", NULL
18702 };
18703
18704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsEnabled",kwnames,&obj0)) goto fail;
093d3ff1
RD
18705 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18706 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18707 {
18708 PyThreadState* __tstate = wxPyBeginAllowThreads();
18709 result = (bool)(arg1)->IsEnabled();
18710
18711 wxPyEndAllowThreads(__tstate);
18712 if (PyErr_Occurred()) SWIG_fail;
18713 }
18714 {
18715 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18716 }
18717 return resultobj;
18718 fail:
18719 return NULL;
18720}
18721
18722
c32bde28 18723static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18724 PyObject *resultobj;
18725 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18726 bool result;
18727 PyObject * obj0 = 0 ;
18728 char *kwnames[] = {
18729 (char *) "self", NULL
18730 };
18731
18732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsToggled",kwnames,&obj0)) goto fail;
093d3ff1
RD
18733 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18734 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18735 {
18736 PyThreadState* __tstate = wxPyBeginAllowThreads();
18737 result = (bool)(arg1)->IsToggled();
18738
18739 wxPyEndAllowThreads(__tstate);
18740 if (PyErr_Occurred()) SWIG_fail;
18741 }
18742 {
18743 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18744 }
18745 return resultobj;
18746 fail:
18747 return NULL;
18748}
18749
18750
c32bde28 18751static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18752 PyObject *resultobj;
18753 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18754 bool result;
18755 PyObject * obj0 = 0 ;
18756 char *kwnames[] = {
18757 (char *) "self", NULL
18758 };
18759
18760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames,&obj0)) goto fail;
093d3ff1
RD
18761 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18762 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18763 {
18764 PyThreadState* __tstate = wxPyBeginAllowThreads();
18765 result = (bool)(arg1)->CanBeToggled();
18766
18767 wxPyEndAllowThreads(__tstate);
18768 if (PyErr_Occurred()) SWIG_fail;
18769 }
18770 {
18771 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18772 }
18773 return resultobj;
18774 fail:
18775 return NULL;
18776}
18777
18778
c32bde28 18779static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18780 PyObject *resultobj;
18781 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18782 wxBitmap *result;
18783 PyObject * obj0 = 0 ;
18784 char *kwnames[] = {
18785 (char *) "self", NULL
18786 };
18787
18788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames,&obj0)) goto fail;
093d3ff1
RD
18789 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18790 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18791 {
18792 PyThreadState* __tstate = wxPyBeginAllowThreads();
18793 {
18794 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
18795 result = (wxBitmap *) &_result_ref;
18796 }
18797
18798 wxPyEndAllowThreads(__tstate);
18799 if (PyErr_Occurred()) SWIG_fail;
18800 }
18801 {
18802 wxBitmap* resultptr = new wxBitmap(*result);
18803 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
18804 }
18805 return resultobj;
18806 fail:
18807 return NULL;
18808}
18809
18810
c32bde28 18811static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18812 PyObject *resultobj;
18813 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18814 wxBitmap *result;
18815 PyObject * obj0 = 0 ;
18816 char *kwnames[] = {
18817 (char *) "self", NULL
18818 };
18819
18820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames,&obj0)) goto fail;
093d3ff1
RD
18821 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18822 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18823 {
18824 PyThreadState* __tstate = wxPyBeginAllowThreads();
18825 {
18826 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
18827 result = (wxBitmap *) &_result_ref;
18828 }
18829
18830 wxPyEndAllowThreads(__tstate);
18831 if (PyErr_Occurred()) SWIG_fail;
18832 }
18833 {
18834 wxBitmap* resultptr = new wxBitmap(*result);
18835 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
18836 }
18837 return resultobj;
18838 fail:
18839 return NULL;
18840}
18841
18842
c32bde28 18843static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18844 PyObject *resultobj;
18845 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18846 wxBitmap result;
18847 PyObject * obj0 = 0 ;
18848 char *kwnames[] = {
18849 (char *) "self", NULL
18850 };
18851
18852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetBitmap",kwnames,&obj0)) goto fail;
093d3ff1
RD
18853 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18854 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18855 {
18856 PyThreadState* __tstate = wxPyBeginAllowThreads();
18857 result = (arg1)->GetBitmap();
18858
18859 wxPyEndAllowThreads(__tstate);
18860 if (PyErr_Occurred()) SWIG_fail;
18861 }
18862 {
18863 wxBitmap * resultptr;
093d3ff1 18864 resultptr = new wxBitmap((wxBitmap &)(result));
d55e5bfc
RD
18865 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
18866 }
18867 return resultobj;
18868 fail:
18869 return NULL;
18870}
18871
18872
c32bde28 18873static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18874 PyObject *resultobj;
18875 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18876 wxString result;
18877 PyObject * obj0 = 0 ;
18878 char *kwnames[] = {
18879 (char *) "self", NULL
18880 };
18881
18882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLabel",kwnames,&obj0)) goto fail;
093d3ff1
RD
18883 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18884 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18885 {
18886 PyThreadState* __tstate = wxPyBeginAllowThreads();
18887 result = (arg1)->GetLabel();
18888
18889 wxPyEndAllowThreads(__tstate);
18890 if (PyErr_Occurred()) SWIG_fail;
18891 }
18892 {
18893#if wxUSE_UNICODE
18894 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18895#else
18896 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18897#endif
18898 }
18899 return resultobj;
18900 fail:
18901 return NULL;
18902}
18903
18904
c32bde28 18905static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18906 PyObject *resultobj;
18907 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18908 wxString result;
18909 PyObject * obj0 = 0 ;
18910 char *kwnames[] = {
18911 (char *) "self", NULL
18912 };
18913
18914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames,&obj0)) goto fail;
093d3ff1
RD
18915 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18916 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18917 {
18918 PyThreadState* __tstate = wxPyBeginAllowThreads();
18919 result = (arg1)->GetShortHelp();
18920
18921 wxPyEndAllowThreads(__tstate);
18922 if (PyErr_Occurred()) SWIG_fail;
18923 }
18924 {
18925#if wxUSE_UNICODE
18926 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18927#else
18928 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18929#endif
18930 }
18931 return resultobj;
18932 fail:
18933 return NULL;
18934}
18935
18936
c32bde28 18937static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18938 PyObject *resultobj;
18939 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18940 wxString result;
18941 PyObject * obj0 = 0 ;
18942 char *kwnames[] = {
18943 (char *) "self", NULL
18944 };
18945
18946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames,&obj0)) goto fail;
093d3ff1
RD
18947 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18948 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18949 {
18950 PyThreadState* __tstate = wxPyBeginAllowThreads();
18951 result = (arg1)->GetLongHelp();
18952
18953 wxPyEndAllowThreads(__tstate);
18954 if (PyErr_Occurred()) SWIG_fail;
18955 }
18956 {
18957#if wxUSE_UNICODE
18958 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18959#else
18960 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18961#endif
18962 }
18963 return resultobj;
18964 fail:
18965 return NULL;
18966}
18967
18968
c32bde28 18969static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18970 PyObject *resultobj;
18971 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18972 bool arg2 ;
18973 bool result;
18974 PyObject * obj0 = 0 ;
18975 PyObject * obj1 = 0 ;
18976 char *kwnames[] = {
18977 (char *) "self",(char *) "enable", NULL
18978 };
18979
18980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18981 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18982 if (SWIG_arg_fail(1)) SWIG_fail;
18983 {
18984 arg2 = (bool)(SWIG_As_bool(obj1));
18985 if (SWIG_arg_fail(2)) SWIG_fail;
18986 }
d55e5bfc
RD
18987 {
18988 PyThreadState* __tstate = wxPyBeginAllowThreads();
18989 result = (bool)(arg1)->Enable(arg2);
18990
18991 wxPyEndAllowThreads(__tstate);
18992 if (PyErr_Occurred()) SWIG_fail;
18993 }
18994 {
18995 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18996 }
18997 return resultobj;
18998 fail:
18999 return NULL;
19000}
19001
19002
c32bde28 19003static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19004 PyObject *resultobj;
19005 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19006 PyObject * obj0 = 0 ;
19007 char *kwnames[] = {
19008 (char *) "self", NULL
19009 };
19010
19011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Toggle",kwnames,&obj0)) goto fail;
093d3ff1
RD
19012 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19013 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19014 {
19015 PyThreadState* __tstate = wxPyBeginAllowThreads();
19016 (arg1)->Toggle();
19017
19018 wxPyEndAllowThreads(__tstate);
19019 if (PyErr_Occurred()) SWIG_fail;
19020 }
19021 Py_INCREF(Py_None); resultobj = Py_None;
19022 return resultobj;
19023 fail:
19024 return NULL;
19025}
19026
19027
c32bde28 19028static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19029 PyObject *resultobj;
19030 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19031 bool arg2 ;
19032 bool result;
19033 PyObject * obj0 = 0 ;
19034 PyObject * obj1 = 0 ;
19035 char *kwnames[] = {
19036 (char *) "self",(char *) "toggle", NULL
19037 };
19038
19039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19040 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19041 if (SWIG_arg_fail(1)) SWIG_fail;
19042 {
19043 arg2 = (bool)(SWIG_As_bool(obj1));
19044 if (SWIG_arg_fail(2)) SWIG_fail;
19045 }
d55e5bfc
RD
19046 {
19047 PyThreadState* __tstate = wxPyBeginAllowThreads();
19048 result = (bool)(arg1)->SetToggle(arg2);
19049
19050 wxPyEndAllowThreads(__tstate);
19051 if (PyErr_Occurred()) SWIG_fail;
19052 }
19053 {
19054 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19055 }
19056 return resultobj;
19057 fail:
19058 return NULL;
19059}
19060
19061
c32bde28 19062static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19063 PyObject *resultobj;
19064 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19065 wxString *arg2 = 0 ;
19066 bool result;
ae8162c8 19067 bool temp2 = false ;
d55e5bfc
RD
19068 PyObject * obj0 = 0 ;
19069 PyObject * obj1 = 0 ;
19070 char *kwnames[] = {
19071 (char *) "self",(char *) "help", NULL
19072 };
19073
19074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19075 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19076 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19077 {
19078 arg2 = wxString_in_helper(obj1);
19079 if (arg2 == NULL) SWIG_fail;
ae8162c8 19080 temp2 = true;
d55e5bfc
RD
19081 }
19082 {
19083 PyThreadState* __tstate = wxPyBeginAllowThreads();
19084 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
19085
19086 wxPyEndAllowThreads(__tstate);
19087 if (PyErr_Occurred()) SWIG_fail;
19088 }
19089 {
19090 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19091 }
19092 {
19093 if (temp2)
19094 delete arg2;
19095 }
19096 return resultobj;
19097 fail:
19098 {
19099 if (temp2)
19100 delete arg2;
19101 }
19102 return NULL;
19103}
19104
19105
c32bde28 19106static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19107 PyObject *resultobj;
19108 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19109 wxString *arg2 = 0 ;
19110 bool result;
ae8162c8 19111 bool temp2 = false ;
d55e5bfc
RD
19112 PyObject * obj0 = 0 ;
19113 PyObject * obj1 = 0 ;
19114 char *kwnames[] = {
19115 (char *) "self",(char *) "help", NULL
19116 };
19117
19118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",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;
d55e5bfc
RD
19121 {
19122 arg2 = wxString_in_helper(obj1);
19123 if (arg2 == NULL) SWIG_fail;
ae8162c8 19124 temp2 = true;
d55e5bfc
RD
19125 }
19126 {
19127 PyThreadState* __tstate = wxPyBeginAllowThreads();
19128 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
19129
19130 wxPyEndAllowThreads(__tstate);
19131 if (PyErr_Occurred()) SWIG_fail;
19132 }
19133 {
19134 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19135 }
19136 {
19137 if (temp2)
19138 delete arg2;
19139 }
19140 return resultobj;
19141 fail:
19142 {
19143 if (temp2)
19144 delete arg2;
19145 }
19146 return NULL;
19147}
19148
19149
c32bde28 19150static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19151 PyObject *resultobj;
19152 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19153 wxBitmap *arg2 = 0 ;
19154 PyObject * obj0 = 0 ;
19155 PyObject * obj1 = 0 ;
19156 char *kwnames[] = {
19157 (char *) "self",(char *) "bmp", NULL
19158 };
19159
19160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19161 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19162 if (SWIG_arg_fail(1)) SWIG_fail;
19163 {
19164 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19165 if (SWIG_arg_fail(2)) SWIG_fail;
19166 if (arg2 == NULL) {
19167 SWIG_null_ref("wxBitmap");
19168 }
19169 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
19170 }
19171 {
19172 PyThreadState* __tstate = wxPyBeginAllowThreads();
19173 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
19174
19175 wxPyEndAllowThreads(__tstate);
19176 if (PyErr_Occurred()) SWIG_fail;
19177 }
19178 Py_INCREF(Py_None); resultobj = Py_None;
19179 return resultobj;
19180 fail:
19181 return NULL;
19182}
19183
19184
c32bde28 19185static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19186 PyObject *resultobj;
19187 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19188 wxBitmap *arg2 = 0 ;
19189 PyObject * obj0 = 0 ;
19190 PyObject * obj1 = 0 ;
19191 char *kwnames[] = {
19192 (char *) "self",(char *) "bmp", NULL
19193 };
19194
19195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19196 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19197 if (SWIG_arg_fail(1)) SWIG_fail;
19198 {
19199 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19200 if (SWIG_arg_fail(2)) SWIG_fail;
19201 if (arg2 == NULL) {
19202 SWIG_null_ref("wxBitmap");
19203 }
19204 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
19205 }
19206 {
19207 PyThreadState* __tstate = wxPyBeginAllowThreads();
19208 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
19209
19210 wxPyEndAllowThreads(__tstate);
19211 if (PyErr_Occurred()) SWIG_fail;
19212 }
19213 Py_INCREF(Py_None); resultobj = Py_None;
19214 return resultobj;
19215 fail:
19216 return NULL;
19217}
19218
19219
c32bde28 19220static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19221 PyObject *resultobj;
19222 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19223 wxString *arg2 = 0 ;
ae8162c8 19224 bool temp2 = false ;
d55e5bfc
RD
19225 PyObject * obj0 = 0 ;
19226 PyObject * obj1 = 0 ;
19227 char *kwnames[] = {
19228 (char *) "self",(char *) "label", NULL
19229 };
19230
19231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19232 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19233 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19234 {
19235 arg2 = wxString_in_helper(obj1);
19236 if (arg2 == NULL) SWIG_fail;
ae8162c8 19237 temp2 = true;
d55e5bfc
RD
19238 }
19239 {
19240 PyThreadState* __tstate = wxPyBeginAllowThreads();
19241 (arg1)->SetLabel((wxString const &)*arg2);
19242
19243 wxPyEndAllowThreads(__tstate);
19244 if (PyErr_Occurred()) SWIG_fail;
19245 }
19246 Py_INCREF(Py_None); resultobj = Py_None;
19247 {
19248 if (temp2)
19249 delete arg2;
19250 }
19251 return resultobj;
19252 fail:
19253 {
19254 if (temp2)
19255 delete arg2;
19256 }
19257 return NULL;
19258}
19259
19260
c32bde28 19261static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19262 PyObject *resultobj;
19263 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19264 PyObject * obj0 = 0 ;
19265 char *kwnames[] = {
19266 (char *) "self", NULL
19267 };
19268
19269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Detach",kwnames,&obj0)) goto fail;
093d3ff1
RD
19270 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19271 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19272 {
19273 PyThreadState* __tstate = wxPyBeginAllowThreads();
19274 (arg1)->Detach();
19275
19276 wxPyEndAllowThreads(__tstate);
19277 if (PyErr_Occurred()) SWIG_fail;
19278 }
19279 Py_INCREF(Py_None); resultobj = Py_None;
19280 return resultobj;
19281 fail:
19282 return NULL;
19283}
19284
19285
c32bde28 19286static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19287 PyObject *resultobj;
19288 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19289 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
19290 PyObject * obj0 = 0 ;
19291 PyObject * obj1 = 0 ;
19292 char *kwnames[] = {
19293 (char *) "self",(char *) "tbar", NULL
19294 };
19295
19296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19297 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19298 if (SWIG_arg_fail(1)) SWIG_fail;
19299 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19300 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
19301 {
19302 PyThreadState* __tstate = wxPyBeginAllowThreads();
19303 (arg1)->Attach(arg2);
19304
19305 wxPyEndAllowThreads(__tstate);
19306 if (PyErr_Occurred()) SWIG_fail;
19307 }
19308 Py_INCREF(Py_None); resultobj = Py_None;
19309 return resultobj;
19310 fail:
19311 return NULL;
19312}
19313
19314
c32bde28 19315static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19316 PyObject *resultobj;
19317 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19318 PyObject *result;
19319 PyObject * obj0 = 0 ;
19320 char *kwnames[] = {
19321 (char *) "self", NULL
19322 };
19323
19324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetClientData",kwnames,&obj0)) goto fail;
093d3ff1
RD
19325 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19326 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19327 {
19328 PyThreadState* __tstate = wxPyBeginAllowThreads();
19329 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
19330
19331 wxPyEndAllowThreads(__tstate);
19332 if (PyErr_Occurred()) SWIG_fail;
19333 }
19334 resultobj = result;
19335 return resultobj;
19336 fail:
19337 return NULL;
19338}
19339
19340
c32bde28 19341static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19342 PyObject *resultobj;
19343 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19344 PyObject *arg2 = (PyObject *) 0 ;
19345 PyObject * obj0 = 0 ;
19346 PyObject * obj1 = 0 ;
19347 char *kwnames[] = {
19348 (char *) "self",(char *) "clientData", NULL
19349 };
19350
19351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19352 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19353 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19354 arg2 = obj1;
19355 {
19356 PyThreadState* __tstate = wxPyBeginAllowThreads();
19357 wxToolBarToolBase_SetClientData(arg1,arg2);
19358
19359 wxPyEndAllowThreads(__tstate);
19360 if (PyErr_Occurred()) SWIG_fail;
19361 }
19362 Py_INCREF(Py_None); resultobj = Py_None;
19363 return resultobj;
19364 fail:
19365 return NULL;
19366}
19367
19368
c32bde28 19369static PyObject * ToolBarToolBase_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
19370 PyObject *obj;
19371 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19372 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase, obj);
19373 Py_INCREF(obj);
19374 return Py_BuildValue((char *)"");
19375}
c32bde28 19376static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19377 PyObject *resultobj;
19378 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19379 int arg2 ;
19380 wxString *arg3 = 0 ;
19381 wxBitmap *arg4 = 0 ;
19382 wxBitmap const &arg5_defvalue = wxNullBitmap ;
19383 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
093d3ff1 19384 wxItemKind arg6 = (wxItemKind) wxITEM_NORMAL ;
d55e5bfc
RD
19385 wxString const &arg7_defvalue = wxPyEmptyString ;
19386 wxString *arg7 = (wxString *) &arg7_defvalue ;
19387 wxString const &arg8_defvalue = wxPyEmptyString ;
19388 wxString *arg8 = (wxString *) &arg8_defvalue ;
19389 PyObject *arg9 = (PyObject *) NULL ;
19390 wxToolBarToolBase *result;
ae8162c8
RD
19391 bool temp3 = false ;
19392 bool temp7 = false ;
19393 bool temp8 = false ;
d55e5bfc
RD
19394 PyObject * obj0 = 0 ;
19395 PyObject * obj1 = 0 ;
19396 PyObject * obj2 = 0 ;
19397 PyObject * obj3 = 0 ;
19398 PyObject * obj4 = 0 ;
19399 PyObject * obj5 = 0 ;
19400 PyObject * obj6 = 0 ;
19401 PyObject * obj7 = 0 ;
19402 PyObject * obj8 = 0 ;
19403 char *kwnames[] = {
19404 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19405 };
19406
19407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
19408 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19409 if (SWIG_arg_fail(1)) SWIG_fail;
19410 {
19411 arg2 = (int)(SWIG_As_int(obj1));
19412 if (SWIG_arg_fail(2)) SWIG_fail;
19413 }
d55e5bfc
RD
19414 {
19415 arg3 = wxString_in_helper(obj2);
19416 if (arg3 == NULL) SWIG_fail;
ae8162c8 19417 temp3 = true;
d55e5bfc 19418 }
093d3ff1
RD
19419 {
19420 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19421 if (SWIG_arg_fail(4)) SWIG_fail;
19422 if (arg4 == NULL) {
19423 SWIG_null_ref("wxBitmap");
19424 }
19425 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc
RD
19426 }
19427 if (obj4) {
093d3ff1
RD
19428 {
19429 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19430 if (SWIG_arg_fail(5)) SWIG_fail;
19431 if (arg5 == NULL) {
19432 SWIG_null_ref("wxBitmap");
19433 }
19434 if (SWIG_arg_fail(5)) SWIG_fail;
d55e5bfc
RD
19435 }
19436 }
19437 if (obj5) {
093d3ff1
RD
19438 {
19439 arg6 = (wxItemKind)(SWIG_As_int(obj5));
19440 if (SWIG_arg_fail(6)) SWIG_fail;
19441 }
d55e5bfc
RD
19442 }
19443 if (obj6) {
19444 {
19445 arg7 = wxString_in_helper(obj6);
19446 if (arg7 == NULL) SWIG_fail;
ae8162c8 19447 temp7 = true;
d55e5bfc
RD
19448 }
19449 }
19450 if (obj7) {
19451 {
19452 arg8 = wxString_in_helper(obj7);
19453 if (arg8 == NULL) SWIG_fail;
ae8162c8 19454 temp8 = true;
d55e5bfc
RD
19455 }
19456 }
19457 if (obj8) {
19458 arg9 = obj8;
19459 }
19460 {
19461 PyThreadState* __tstate = wxPyBeginAllowThreads();
19462 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,(wxItemKind )arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
19463
19464 wxPyEndAllowThreads(__tstate);
19465 if (PyErr_Occurred()) SWIG_fail;
19466 }
19467 {
412d302d 19468 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
19469 }
19470 {
19471 if (temp3)
19472 delete arg3;
19473 }
19474 {
19475 if (temp7)
19476 delete arg7;
19477 }
19478 {
19479 if (temp8)
19480 delete arg8;
19481 }
19482 return resultobj;
19483 fail:
19484 {
19485 if (temp3)
19486 delete arg3;
19487 }
19488 {
19489 if (temp7)
19490 delete arg7;
19491 }
19492 {
19493 if (temp8)
19494 delete arg8;
19495 }
19496 return NULL;
19497}
19498
19499
c32bde28 19500static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19501 PyObject *resultobj;
19502 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19503 size_t arg2 ;
19504 int arg3 ;
19505 wxString *arg4 = 0 ;
19506 wxBitmap *arg5 = 0 ;
19507 wxBitmap const &arg6_defvalue = wxNullBitmap ;
19508 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
093d3ff1 19509 wxItemKind arg7 = (wxItemKind) wxITEM_NORMAL ;
d55e5bfc
RD
19510 wxString const &arg8_defvalue = wxPyEmptyString ;
19511 wxString *arg8 = (wxString *) &arg8_defvalue ;
19512 wxString const &arg9_defvalue = wxPyEmptyString ;
19513 wxString *arg9 = (wxString *) &arg9_defvalue ;
19514 PyObject *arg10 = (PyObject *) NULL ;
19515 wxToolBarToolBase *result;
ae8162c8
RD
19516 bool temp4 = false ;
19517 bool temp8 = false ;
19518 bool temp9 = false ;
d55e5bfc
RD
19519 PyObject * obj0 = 0 ;
19520 PyObject * obj1 = 0 ;
19521 PyObject * obj2 = 0 ;
19522 PyObject * obj3 = 0 ;
19523 PyObject * obj4 = 0 ;
19524 PyObject * obj5 = 0 ;
19525 PyObject * obj6 = 0 ;
19526 PyObject * obj7 = 0 ;
19527 PyObject * obj8 = 0 ;
19528 PyObject * obj9 = 0 ;
19529 char *kwnames[] = {
19530 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19531 };
19532
19533 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
19534 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19535 if (SWIG_arg_fail(1)) SWIG_fail;
19536 {
19537 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19538 if (SWIG_arg_fail(2)) SWIG_fail;
19539 }
19540 {
19541 arg3 = (int)(SWIG_As_int(obj2));
19542 if (SWIG_arg_fail(3)) SWIG_fail;
19543 }
d55e5bfc
RD
19544 {
19545 arg4 = wxString_in_helper(obj3);
19546 if (arg4 == NULL) SWIG_fail;
ae8162c8 19547 temp4 = true;
d55e5bfc 19548 }
093d3ff1
RD
19549 {
19550 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19551 if (SWIG_arg_fail(5)) SWIG_fail;
19552 if (arg5 == NULL) {
19553 SWIG_null_ref("wxBitmap");
19554 }
19555 if (SWIG_arg_fail(5)) SWIG_fail;
d55e5bfc
RD
19556 }
19557 if (obj5) {
093d3ff1
RD
19558 {
19559 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19560 if (SWIG_arg_fail(6)) SWIG_fail;
19561 if (arg6 == NULL) {
19562 SWIG_null_ref("wxBitmap");
19563 }
19564 if (SWIG_arg_fail(6)) SWIG_fail;
d55e5bfc
RD
19565 }
19566 }
19567 if (obj6) {
093d3ff1
RD
19568 {
19569 arg7 = (wxItemKind)(SWIG_As_int(obj6));
19570 if (SWIG_arg_fail(7)) SWIG_fail;
19571 }
d55e5bfc
RD
19572 }
19573 if (obj7) {
19574 {
19575 arg8 = wxString_in_helper(obj7);
19576 if (arg8 == NULL) SWIG_fail;
ae8162c8 19577 temp8 = true;
d55e5bfc
RD
19578 }
19579 }
19580 if (obj8) {
19581 {
19582 arg9 = wxString_in_helper(obj8);
19583 if (arg9 == NULL) SWIG_fail;
ae8162c8 19584 temp9 = true;
d55e5bfc
RD
19585 }
19586 }
19587 if (obj9) {
19588 arg10 = obj9;
19589 }
19590 {
19591 PyThreadState* __tstate = wxPyBeginAllowThreads();
19592 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);
19593
19594 wxPyEndAllowThreads(__tstate);
19595 if (PyErr_Occurred()) SWIG_fail;
19596 }
19597 {
412d302d 19598 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
19599 }
19600 {
19601 if (temp4)
19602 delete arg4;
19603 }
19604 {
19605 if (temp8)
19606 delete arg8;
19607 }
19608 {
19609 if (temp9)
19610 delete arg9;
19611 }
19612 return resultobj;
19613 fail:
19614 {
19615 if (temp4)
19616 delete arg4;
19617 }
19618 {
19619 if (temp8)
19620 delete arg8;
19621 }
19622 {
19623 if (temp9)
19624 delete arg9;
19625 }
19626 return NULL;
19627}
19628
19629
c32bde28 19630static PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19631 PyObject *resultobj;
19632 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19633 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
19634 wxToolBarToolBase *result;
19635 PyObject * obj0 = 0 ;
19636 PyObject * obj1 = 0 ;
19637 char *kwnames[] = {
19638 (char *) "self",(char *) "tool", NULL
19639 };
19640
19641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19642 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19643 if (SWIG_arg_fail(1)) SWIG_fail;
19644 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19645 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
19646 {
19647 PyThreadState* __tstate = wxPyBeginAllowThreads();
19648 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
19649
19650 wxPyEndAllowThreads(__tstate);
19651 if (PyErr_Occurred()) SWIG_fail;
19652 }
19653 {
412d302d 19654 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
19655 }
19656 return resultobj;
19657 fail:
19658 return NULL;
19659}
19660
19661
c32bde28 19662static PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19663 PyObject *resultobj;
19664 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19665 size_t arg2 ;
19666 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
19667 wxToolBarToolBase *result;
19668 PyObject * obj0 = 0 ;
19669 PyObject * obj1 = 0 ;
19670 PyObject * obj2 = 0 ;
19671 char *kwnames[] = {
19672 (char *) "self",(char *) "pos",(char *) "tool", NULL
19673 };
19674
19675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
19676 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19677 if (SWIG_arg_fail(1)) SWIG_fail;
19678 {
19679 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19680 if (SWIG_arg_fail(2)) SWIG_fail;
19681 }
19682 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19683 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
19684 {
19685 PyThreadState* __tstate = wxPyBeginAllowThreads();
19686 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
19687
19688 wxPyEndAllowThreads(__tstate);
19689 if (PyErr_Occurred()) SWIG_fail;
19690 }
19691 {
412d302d 19692 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
19693 }
19694 return resultobj;
19695 fail:
19696 return NULL;
19697}
19698
19699
c32bde28 19700static PyObject *_wrap_ToolBarBase_AddControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19701 PyObject *resultobj;
19702 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19703 wxControl *arg2 = (wxControl *) 0 ;
19704 wxToolBarToolBase *result;
19705 PyObject * obj0 = 0 ;
19706 PyObject * obj1 = 0 ;
19707 char *kwnames[] = {
19708 (char *) "self",(char *) "control", NULL
19709 };
19710
19711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19712 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19713 if (SWIG_arg_fail(1)) SWIG_fail;
19714 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxControl, SWIG_POINTER_EXCEPTION | 0);
19715 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
19716 {
19717 PyThreadState* __tstate = wxPyBeginAllowThreads();
19718 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
19719
19720 wxPyEndAllowThreads(__tstate);
19721 if (PyErr_Occurred()) SWIG_fail;
19722 }
19723 {
412d302d 19724 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
19725 }
19726 return resultobj;
19727 fail:
19728 return NULL;
19729}
19730
19731
c32bde28 19732static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19733 PyObject *resultobj;
19734 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19735 size_t arg2 ;
19736 wxControl *arg3 = (wxControl *) 0 ;
19737 wxToolBarToolBase *result;
19738 PyObject * obj0 = 0 ;
19739 PyObject * obj1 = 0 ;
19740 PyObject * obj2 = 0 ;
19741 char *kwnames[] = {
19742 (char *) "self",(char *) "pos",(char *) "control", NULL
19743 };
19744
19745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
19746 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19747 if (SWIG_arg_fail(1)) SWIG_fail;
19748 {
19749 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19750 if (SWIG_arg_fail(2)) SWIG_fail;
19751 }
19752 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxControl, SWIG_POINTER_EXCEPTION | 0);
19753 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
19754 {
19755 PyThreadState* __tstate = wxPyBeginAllowThreads();
19756 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
19757
19758 wxPyEndAllowThreads(__tstate);
19759 if (PyErr_Occurred()) SWIG_fail;
19760 }
19761 {
412d302d 19762 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
19763 }
19764 return resultobj;
19765 fail:
19766 return NULL;
19767}
19768
19769
c32bde28 19770static PyObject *_wrap_ToolBarBase_FindControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19771 PyObject *resultobj;
19772 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19773 int arg2 ;
19774 wxControl *result;
19775 PyObject * obj0 = 0 ;
19776 PyObject * obj1 = 0 ;
19777 char *kwnames[] = {
19778 (char *) "self",(char *) "id", NULL
19779 };
19780
19781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindControl",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19782 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19783 if (SWIG_arg_fail(1)) SWIG_fail;
19784 {
19785 arg2 = (int)(SWIG_As_int(obj1));
19786 if (SWIG_arg_fail(2)) SWIG_fail;
19787 }
d55e5bfc
RD
19788 {
19789 PyThreadState* __tstate = wxPyBeginAllowThreads();
19790 result = (wxControl *)(arg1)->FindControl(arg2);
19791
19792 wxPyEndAllowThreads(__tstate);
19793 if (PyErr_Occurred()) SWIG_fail;
19794 }
19795 {
412d302d 19796 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
19797 }
19798 return resultobj;
19799 fail:
19800 return NULL;
19801}
19802
19803
c32bde28 19804static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19805 PyObject *resultobj;
19806 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19807 wxToolBarToolBase *result;
19808 PyObject * obj0 = 0 ;
19809 char *kwnames[] = {
19810 (char *) "self", NULL
19811 };
19812
19813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_AddSeparator",kwnames,&obj0)) goto fail;
093d3ff1
RD
19814 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19815 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19816 {
19817 PyThreadState* __tstate = wxPyBeginAllowThreads();
19818 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
19819
19820 wxPyEndAllowThreads(__tstate);
19821 if (PyErr_Occurred()) SWIG_fail;
19822 }
19823 {
412d302d 19824 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
19825 }
19826 return resultobj;
19827 fail:
19828 return NULL;
19829}
19830
19831
c32bde28 19832static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19833 PyObject *resultobj;
19834 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19835 size_t arg2 ;
19836 wxToolBarToolBase *result;
19837 PyObject * obj0 = 0 ;
19838 PyObject * obj1 = 0 ;
19839 char *kwnames[] = {
19840 (char *) "self",(char *) "pos", NULL
19841 };
19842
19843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19844 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19845 if (SWIG_arg_fail(1)) SWIG_fail;
19846 {
19847 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19848 if (SWIG_arg_fail(2)) SWIG_fail;
19849 }
d55e5bfc
RD
19850 {
19851 PyThreadState* __tstate = wxPyBeginAllowThreads();
19852 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
19853
19854 wxPyEndAllowThreads(__tstate);
19855 if (PyErr_Occurred()) SWIG_fail;
19856 }
19857 {
412d302d 19858 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
19859 }
19860 return resultobj;
19861 fail:
19862 return NULL;
19863}
19864
19865
c32bde28 19866static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19867 PyObject *resultobj;
19868 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19869 int arg2 ;
19870 wxToolBarToolBase *result;
19871 PyObject * obj0 = 0 ;
19872 PyObject * obj1 = 0 ;
19873 char *kwnames[] = {
19874 (char *) "self",(char *) "id", NULL
19875 };
19876
19877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_RemoveTool",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19878 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19879 if (SWIG_arg_fail(1)) SWIG_fail;
19880 {
19881 arg2 = (int)(SWIG_As_int(obj1));
19882 if (SWIG_arg_fail(2)) SWIG_fail;
19883 }
d55e5bfc
RD
19884 {
19885 PyThreadState* __tstate = wxPyBeginAllowThreads();
19886 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
19887
19888 wxPyEndAllowThreads(__tstate);
19889 if (PyErr_Occurred()) SWIG_fail;
19890 }
19891 {
412d302d 19892 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
19893 }
19894 return resultobj;
19895 fail:
19896 return NULL;
19897}
19898
19899
c32bde28 19900static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19901 PyObject *resultobj;
19902 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19903 size_t arg2 ;
19904 bool result;
19905 PyObject * obj0 = 0 ;
19906 PyObject * obj1 = 0 ;
19907 char *kwnames[] = {
19908 (char *) "self",(char *) "pos", NULL
19909 };
19910
19911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19912 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19913 if (SWIG_arg_fail(1)) SWIG_fail;
19914 {
19915 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19916 if (SWIG_arg_fail(2)) SWIG_fail;
19917 }
d55e5bfc
RD
19918 {
19919 PyThreadState* __tstate = wxPyBeginAllowThreads();
19920 result = (bool)(arg1)->DeleteToolByPos(arg2);
19921
19922 wxPyEndAllowThreads(__tstate);
19923 if (PyErr_Occurred()) SWIG_fail;
19924 }
19925 {
19926 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19927 }
19928 return resultobj;
19929 fail:
19930 return NULL;
19931}
19932
19933
c32bde28 19934static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19935 PyObject *resultobj;
19936 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19937 int arg2 ;
19938 bool result;
19939 PyObject * obj0 = 0 ;
19940 PyObject * obj1 = 0 ;
19941 char *kwnames[] = {
19942 (char *) "self",(char *) "id", NULL
19943 };
19944
19945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteTool",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19946 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19947 if (SWIG_arg_fail(1)) SWIG_fail;
19948 {
19949 arg2 = (int)(SWIG_As_int(obj1));
19950 if (SWIG_arg_fail(2)) SWIG_fail;
19951 }
d55e5bfc
RD
19952 {
19953 PyThreadState* __tstate = wxPyBeginAllowThreads();
19954 result = (bool)(arg1)->DeleteTool(arg2);
19955
19956 wxPyEndAllowThreads(__tstate);
19957 if (PyErr_Occurred()) SWIG_fail;
19958 }
19959 {
19960 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19961 }
19962 return resultobj;
19963 fail:
19964 return NULL;
19965}
19966
19967
c32bde28 19968static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19969 PyObject *resultobj;
19970 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19971 PyObject * obj0 = 0 ;
19972 char *kwnames[] = {
19973 (char *) "self", NULL
19974 };
19975
19976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_ClearTools",kwnames,&obj0)) goto fail;
093d3ff1
RD
19977 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19978 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19979 {
19980 PyThreadState* __tstate = wxPyBeginAllowThreads();
19981 (arg1)->ClearTools();
19982
19983 wxPyEndAllowThreads(__tstate);
19984 if (PyErr_Occurred()) SWIG_fail;
19985 }
19986 Py_INCREF(Py_None); resultobj = Py_None;
19987 return resultobj;
19988 fail:
19989 return NULL;
19990}
19991
19992
c32bde28 19993static PyObject *_wrap_ToolBarBase_Realize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19994 PyObject *resultobj;
19995 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19996 bool result;
19997 PyObject * obj0 = 0 ;
19998 char *kwnames[] = {
19999 (char *) "self", NULL
20000 };
20001
20002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_Realize",kwnames,&obj0)) goto fail;
093d3ff1
RD
20003 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20004 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20005 {
20006 PyThreadState* __tstate = wxPyBeginAllowThreads();
20007 result = (bool)(arg1)->Realize();
20008
20009 wxPyEndAllowThreads(__tstate);
20010 if (PyErr_Occurred()) SWIG_fail;
20011 }
20012 {
20013 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20014 }
20015 return resultobj;
20016 fail:
20017 return NULL;
20018}
20019
20020
c32bde28 20021static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20022 PyObject *resultobj;
20023 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20024 int arg2 ;
20025 bool arg3 ;
20026 PyObject * obj0 = 0 ;
20027 PyObject * obj1 = 0 ;
20028 PyObject * obj2 = 0 ;
20029 char *kwnames[] = {
20030 (char *) "self",(char *) "id",(char *) "enable", NULL
20031 };
20032
20033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_EnableTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
20034 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20035 if (SWIG_arg_fail(1)) SWIG_fail;
20036 {
20037 arg2 = (int)(SWIG_As_int(obj1));
20038 if (SWIG_arg_fail(2)) SWIG_fail;
20039 }
20040 {
20041 arg3 = (bool)(SWIG_As_bool(obj2));
20042 if (SWIG_arg_fail(3)) SWIG_fail;
20043 }
d55e5bfc
RD
20044 {
20045 PyThreadState* __tstate = wxPyBeginAllowThreads();
20046 (arg1)->EnableTool(arg2,arg3);
20047
20048 wxPyEndAllowThreads(__tstate);
20049 if (PyErr_Occurred()) SWIG_fail;
20050 }
20051 Py_INCREF(Py_None); resultobj = Py_None;
20052 return resultobj;
20053 fail:
20054 return NULL;
20055}
20056
20057
c32bde28 20058static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20059 PyObject *resultobj;
20060 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20061 int arg2 ;
20062 bool arg3 ;
20063 PyObject * obj0 = 0 ;
20064 PyObject * obj1 = 0 ;
20065 PyObject * obj2 = 0 ;
20066 char *kwnames[] = {
20067 (char *) "self",(char *) "id",(char *) "toggle", NULL
20068 };
20069
20070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_ToggleTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
20071 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20072 if (SWIG_arg_fail(1)) SWIG_fail;
20073 {
20074 arg2 = (int)(SWIG_As_int(obj1));
20075 if (SWIG_arg_fail(2)) SWIG_fail;
20076 }
20077 {
20078 arg3 = (bool)(SWIG_As_bool(obj2));
20079 if (SWIG_arg_fail(3)) SWIG_fail;
20080 }
d55e5bfc
RD
20081 {
20082 PyThreadState* __tstate = wxPyBeginAllowThreads();
20083 (arg1)->ToggleTool(arg2,arg3);
20084
20085 wxPyEndAllowThreads(__tstate);
20086 if (PyErr_Occurred()) SWIG_fail;
20087 }
20088 Py_INCREF(Py_None); resultobj = Py_None;
20089 return resultobj;
20090 fail:
20091 return NULL;
20092}
20093
20094
c32bde28 20095static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20096 PyObject *resultobj;
20097 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20098 int arg2 ;
20099 bool arg3 ;
20100 PyObject * obj0 = 0 ;
20101 PyObject * obj1 = 0 ;
20102 PyObject * obj2 = 0 ;
20103 char *kwnames[] = {
20104 (char *) "self",(char *) "id",(char *) "toggle", NULL
20105 };
20106
20107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToggle",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
20108 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20109 if (SWIG_arg_fail(1)) SWIG_fail;
20110 {
20111 arg2 = (int)(SWIG_As_int(obj1));
20112 if (SWIG_arg_fail(2)) SWIG_fail;
20113 }
20114 {
20115 arg3 = (bool)(SWIG_As_bool(obj2));
20116 if (SWIG_arg_fail(3)) SWIG_fail;
20117 }
d55e5bfc
RD
20118 {
20119 PyThreadState* __tstate = wxPyBeginAllowThreads();
20120 (arg1)->SetToggle(arg2,arg3);
20121
20122 wxPyEndAllowThreads(__tstate);
20123 if (PyErr_Occurred()) SWIG_fail;
20124 }
20125 Py_INCREF(Py_None); resultobj = Py_None;
20126 return resultobj;
20127 fail:
20128 return NULL;
20129}
20130
20131
c32bde28 20132static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20133 PyObject *resultobj;
20134 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20135 int arg2 ;
20136 PyObject *result;
20137 PyObject * obj0 = 0 ;
20138 PyObject * obj1 = 0 ;
20139 char *kwnames[] = {
20140 (char *) "self",(char *) "id", NULL
20141 };
20142
20143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolClientData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20144 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20145 if (SWIG_arg_fail(1)) SWIG_fail;
20146 {
20147 arg2 = (int)(SWIG_As_int(obj1));
20148 if (SWIG_arg_fail(2)) SWIG_fail;
20149 }
d55e5bfc
RD
20150 {
20151 PyThreadState* __tstate = wxPyBeginAllowThreads();
20152 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
20153
20154 wxPyEndAllowThreads(__tstate);
20155 if (PyErr_Occurred()) SWIG_fail;
20156 }
20157 resultobj = result;
20158 return resultobj;
20159 fail:
20160 return NULL;
20161}
20162
20163
c32bde28 20164static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20165 PyObject *resultobj;
20166 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20167 int arg2 ;
20168 PyObject *arg3 = (PyObject *) 0 ;
20169 PyObject * obj0 = 0 ;
20170 PyObject * obj1 = 0 ;
20171 PyObject * obj2 = 0 ;
20172 char *kwnames[] = {
20173 (char *) "self",(char *) "id",(char *) "clientData", NULL
20174 };
20175
20176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
20177 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20178 if (SWIG_arg_fail(1)) SWIG_fail;
20179 {
20180 arg2 = (int)(SWIG_As_int(obj1));
20181 if (SWIG_arg_fail(2)) SWIG_fail;
20182 }
d55e5bfc
RD
20183 arg3 = obj2;
20184 {
20185 PyThreadState* __tstate = wxPyBeginAllowThreads();
20186 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
20187
20188 wxPyEndAllowThreads(__tstate);
20189 if (PyErr_Occurred()) SWIG_fail;
20190 }
20191 Py_INCREF(Py_None); resultobj = Py_None;
20192 return resultobj;
20193 fail:
20194 return NULL;
20195}
20196
20197
c32bde28 20198static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20199 PyObject *resultobj;
20200 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20201 int arg2 ;
20202 int result;
20203 PyObject * obj0 = 0 ;
20204 PyObject * obj1 = 0 ;
20205 char *kwnames[] = {
20206 (char *) "self",(char *) "id", NULL
20207 };
20208
20209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolPos",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20210 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20211 if (SWIG_arg_fail(1)) SWIG_fail;
20212 {
20213 arg2 = (int)(SWIG_As_int(obj1));
20214 if (SWIG_arg_fail(2)) SWIG_fail;
20215 }
d55e5bfc
RD
20216 {
20217 PyThreadState* __tstate = wxPyBeginAllowThreads();
20218 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
20219
20220 wxPyEndAllowThreads(__tstate);
20221 if (PyErr_Occurred()) SWIG_fail;
20222 }
093d3ff1
RD
20223 {
20224 resultobj = SWIG_From_int((int)(result));
20225 }
d55e5bfc
RD
20226 return resultobj;
20227 fail:
20228 return NULL;
20229}
20230
20231
c32bde28 20232static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20233 PyObject *resultobj;
20234 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20235 int arg2 ;
20236 bool result;
20237 PyObject * obj0 = 0 ;
20238 PyObject * obj1 = 0 ;
20239 char *kwnames[] = {
20240 (char *) "self",(char *) "id", NULL
20241 };
20242
20243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolState",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20244 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20245 if (SWIG_arg_fail(1)) SWIG_fail;
20246 {
20247 arg2 = (int)(SWIG_As_int(obj1));
20248 if (SWIG_arg_fail(2)) SWIG_fail;
20249 }
d55e5bfc
RD
20250 {
20251 PyThreadState* __tstate = wxPyBeginAllowThreads();
20252 result = (bool)(arg1)->GetToolState(arg2);
20253
20254 wxPyEndAllowThreads(__tstate);
20255 if (PyErr_Occurred()) SWIG_fail;
20256 }
20257 {
20258 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20259 }
20260 return resultobj;
20261 fail:
20262 return NULL;
20263}
20264
20265
c32bde28 20266static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20267 PyObject *resultobj;
20268 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20269 int arg2 ;
20270 bool result;
20271 PyObject * obj0 = 0 ;
20272 PyObject * obj1 = 0 ;
20273 char *kwnames[] = {
20274 (char *) "self",(char *) "id", NULL
20275 };
20276
20277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20278 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20279 if (SWIG_arg_fail(1)) SWIG_fail;
20280 {
20281 arg2 = (int)(SWIG_As_int(obj1));
20282 if (SWIG_arg_fail(2)) SWIG_fail;
20283 }
d55e5bfc
RD
20284 {
20285 PyThreadState* __tstate = wxPyBeginAllowThreads();
20286 result = (bool)(arg1)->GetToolEnabled(arg2);
20287
20288 wxPyEndAllowThreads(__tstate);
20289 if (PyErr_Occurred()) SWIG_fail;
20290 }
20291 {
20292 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20293 }
20294 return resultobj;
20295 fail:
20296 return NULL;
20297}
20298
20299
c32bde28 20300static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20301 PyObject *resultobj;
20302 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20303 int arg2 ;
20304 wxString *arg3 = 0 ;
ae8162c8 20305 bool temp3 = false ;
d55e5bfc
RD
20306 PyObject * obj0 = 0 ;
20307 PyObject * obj1 = 0 ;
20308 PyObject * obj2 = 0 ;
20309 char *kwnames[] = {
20310 (char *) "self",(char *) "id",(char *) "helpString", NULL
20311 };
20312
20313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
20314 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20315 if (SWIG_arg_fail(1)) SWIG_fail;
20316 {
20317 arg2 = (int)(SWIG_As_int(obj1));
20318 if (SWIG_arg_fail(2)) SWIG_fail;
20319 }
d55e5bfc
RD
20320 {
20321 arg3 = wxString_in_helper(obj2);
20322 if (arg3 == NULL) SWIG_fail;
ae8162c8 20323 temp3 = true;
d55e5bfc
RD
20324 }
20325 {
20326 PyThreadState* __tstate = wxPyBeginAllowThreads();
20327 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
20328
20329 wxPyEndAllowThreads(__tstate);
20330 if (PyErr_Occurred()) SWIG_fail;
20331 }
20332 Py_INCREF(Py_None); resultobj = Py_None;
20333 {
20334 if (temp3)
20335 delete arg3;
20336 }
20337 return resultobj;
20338 fail:
20339 {
20340 if (temp3)
20341 delete arg3;
20342 }
20343 return NULL;
20344}
20345
20346
c32bde28 20347static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20348 PyObject *resultobj;
20349 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20350 int arg2 ;
20351 wxString result;
20352 PyObject * obj0 = 0 ;
20353 PyObject * obj1 = 0 ;
20354 char *kwnames[] = {
20355 (char *) "self",(char *) "id", NULL
20356 };
20357
20358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20359 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20360 if (SWIG_arg_fail(1)) SWIG_fail;
20361 {
20362 arg2 = (int)(SWIG_As_int(obj1));
20363 if (SWIG_arg_fail(2)) SWIG_fail;
20364 }
d55e5bfc
RD
20365 {
20366 PyThreadState* __tstate = wxPyBeginAllowThreads();
20367 result = (arg1)->GetToolShortHelp(arg2);
20368
20369 wxPyEndAllowThreads(__tstate);
20370 if (PyErr_Occurred()) SWIG_fail;
20371 }
20372 {
20373#if wxUSE_UNICODE
20374 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20375#else
20376 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20377#endif
20378 }
20379 return resultobj;
20380 fail:
20381 return NULL;
20382}
20383
20384
c32bde28 20385static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20386 PyObject *resultobj;
20387 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20388 int arg2 ;
20389 wxString *arg3 = 0 ;
ae8162c8 20390 bool temp3 = false ;
d55e5bfc
RD
20391 PyObject * obj0 = 0 ;
20392 PyObject * obj1 = 0 ;
20393 PyObject * obj2 = 0 ;
20394 char *kwnames[] = {
20395 (char *) "self",(char *) "id",(char *) "helpString", NULL
20396 };
20397
20398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
20399 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20400 if (SWIG_arg_fail(1)) SWIG_fail;
20401 {
20402 arg2 = (int)(SWIG_As_int(obj1));
20403 if (SWIG_arg_fail(2)) SWIG_fail;
20404 }
d55e5bfc
RD
20405 {
20406 arg3 = wxString_in_helper(obj2);
20407 if (arg3 == NULL) SWIG_fail;
ae8162c8 20408 temp3 = true;
d55e5bfc
RD
20409 }
20410 {
20411 PyThreadState* __tstate = wxPyBeginAllowThreads();
20412 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
20413
20414 wxPyEndAllowThreads(__tstate);
20415 if (PyErr_Occurred()) SWIG_fail;
20416 }
20417 Py_INCREF(Py_None); resultobj = Py_None;
20418 {
20419 if (temp3)
20420 delete arg3;
20421 }
20422 return resultobj;
20423 fail:
20424 {
20425 if (temp3)
20426 delete arg3;
20427 }
20428 return NULL;
20429}
20430
20431
c32bde28 20432static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20433 PyObject *resultobj;
20434 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20435 int arg2 ;
20436 wxString result;
20437 PyObject * obj0 = 0 ;
20438 PyObject * obj1 = 0 ;
20439 char *kwnames[] = {
20440 (char *) "self",(char *) "id", NULL
20441 };
20442
20443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20444 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20445 if (SWIG_arg_fail(1)) SWIG_fail;
20446 {
20447 arg2 = (int)(SWIG_As_int(obj1));
20448 if (SWIG_arg_fail(2)) SWIG_fail;
20449 }
d55e5bfc
RD
20450 {
20451 PyThreadState* __tstate = wxPyBeginAllowThreads();
20452 result = (arg1)->GetToolLongHelp(arg2);
20453
20454 wxPyEndAllowThreads(__tstate);
20455 if (PyErr_Occurred()) SWIG_fail;
20456 }
20457 {
20458#if wxUSE_UNICODE
20459 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20460#else
20461 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20462#endif
20463 }
20464 return resultobj;
20465 fail:
20466 return NULL;
20467}
20468
20469
c32bde28 20470static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20471 PyObject *resultobj;
20472 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20473 int arg2 ;
20474 int arg3 ;
20475 PyObject * obj0 = 0 ;
20476 PyObject * obj1 = 0 ;
20477 PyObject * obj2 = 0 ;
20478 char *kwnames[] = {
20479 (char *) "self",(char *) "x",(char *) "y", NULL
20480 };
20481
20482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
20483 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20484 if (SWIG_arg_fail(1)) SWIG_fail;
20485 {
20486 arg2 = (int)(SWIG_As_int(obj1));
20487 if (SWIG_arg_fail(2)) SWIG_fail;
20488 }
20489 {
20490 arg3 = (int)(SWIG_As_int(obj2));
20491 if (SWIG_arg_fail(3)) SWIG_fail;
20492 }
d55e5bfc
RD
20493 {
20494 PyThreadState* __tstate = wxPyBeginAllowThreads();
20495 (arg1)->SetMargins(arg2,arg3);
20496
20497 wxPyEndAllowThreads(__tstate);
20498 if (PyErr_Occurred()) SWIG_fail;
20499 }
20500 Py_INCREF(Py_None); resultobj = Py_None;
20501 return resultobj;
20502 fail:
20503 return NULL;
20504}
20505
20506
c32bde28 20507static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20508 PyObject *resultobj;
20509 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20510 wxSize *arg2 = 0 ;
20511 wxSize temp2 ;
20512 PyObject * obj0 = 0 ;
20513 PyObject * obj1 = 0 ;
20514 char *kwnames[] = {
20515 (char *) "self",(char *) "size", NULL
20516 };
20517
20518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20519 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20520 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20521 {
20522 arg2 = &temp2;
20523 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20524 }
20525 {
20526 PyThreadState* __tstate = wxPyBeginAllowThreads();
20527 (arg1)->SetMargins((wxSize const &)*arg2);
20528
20529 wxPyEndAllowThreads(__tstate);
20530 if (PyErr_Occurred()) SWIG_fail;
20531 }
20532 Py_INCREF(Py_None); resultobj = Py_None;
20533 return resultobj;
20534 fail:
20535 return NULL;
20536}
20537
20538
c32bde28 20539static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20540 PyObject *resultobj;
20541 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20542 int arg2 ;
20543 PyObject * obj0 = 0 ;
20544 PyObject * obj1 = 0 ;
20545 char *kwnames[] = {
20546 (char *) "self",(char *) "packing", NULL
20547 };
20548
20549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolPacking",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20550 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20551 if (SWIG_arg_fail(1)) SWIG_fail;
20552 {
20553 arg2 = (int)(SWIG_As_int(obj1));
20554 if (SWIG_arg_fail(2)) SWIG_fail;
20555 }
d55e5bfc
RD
20556 {
20557 PyThreadState* __tstate = wxPyBeginAllowThreads();
20558 (arg1)->SetToolPacking(arg2);
20559
20560 wxPyEndAllowThreads(__tstate);
20561 if (PyErr_Occurred()) SWIG_fail;
20562 }
20563 Py_INCREF(Py_None); resultobj = Py_None;
20564 return resultobj;
20565 fail:
20566 return NULL;
20567}
20568
20569
c32bde28 20570static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20571 PyObject *resultobj;
20572 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20573 int arg2 ;
20574 PyObject * obj0 = 0 ;
20575 PyObject * obj1 = 0 ;
20576 char *kwnames[] = {
20577 (char *) "self",(char *) "separation", NULL
20578 };
20579
20580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20581 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20582 if (SWIG_arg_fail(1)) SWIG_fail;
20583 {
20584 arg2 = (int)(SWIG_As_int(obj1));
20585 if (SWIG_arg_fail(2)) SWIG_fail;
20586 }
d55e5bfc
RD
20587 {
20588 PyThreadState* __tstate = wxPyBeginAllowThreads();
20589 (arg1)->SetToolSeparation(arg2);
20590
20591 wxPyEndAllowThreads(__tstate);
20592 if (PyErr_Occurred()) SWIG_fail;
20593 }
20594 Py_INCREF(Py_None); resultobj = Py_None;
20595 return resultobj;
20596 fail:
20597 return NULL;
20598}
20599
20600
c32bde28 20601static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20602 PyObject *resultobj;
20603 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20604 wxSize result;
20605 PyObject * obj0 = 0 ;
20606 char *kwnames[] = {
20607 (char *) "self", NULL
20608 };
20609
20610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolMargins",kwnames,&obj0)) goto fail;
093d3ff1
RD
20611 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20612 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20613 {
20614 PyThreadState* __tstate = wxPyBeginAllowThreads();
20615 result = (arg1)->GetToolMargins();
20616
20617 wxPyEndAllowThreads(__tstate);
20618 if (PyErr_Occurred()) SWIG_fail;
20619 }
20620 {
20621 wxSize * resultptr;
093d3ff1 20622 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
20623 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20624 }
20625 return resultobj;
20626 fail:
20627 return NULL;
20628}
20629
20630
c32bde28 20631static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20632 PyObject *resultobj;
20633 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20634 wxSize result;
20635 PyObject * obj0 = 0 ;
20636 char *kwnames[] = {
20637 (char *) "self", NULL
20638 };
20639
20640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMargins",kwnames,&obj0)) goto fail;
093d3ff1
RD
20641 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20642 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20643 {
20644 PyThreadState* __tstate = wxPyBeginAllowThreads();
20645 result = (arg1)->GetMargins();
20646
20647 wxPyEndAllowThreads(__tstate);
20648 if (PyErr_Occurred()) SWIG_fail;
20649 }
20650 {
20651 wxSize * resultptr;
093d3ff1 20652 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
20653 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20654 }
20655 return resultobj;
20656 fail:
20657 return NULL;
20658}
20659
20660
c32bde28 20661static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20662 PyObject *resultobj;
20663 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20664 int result;
20665 PyObject * obj0 = 0 ;
20666 char *kwnames[] = {
20667 (char *) "self", NULL
20668 };
20669
20670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolPacking",kwnames,&obj0)) goto fail;
093d3ff1
RD
20671 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20672 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20673 {
20674 PyThreadState* __tstate = wxPyBeginAllowThreads();
20675 result = (int)(arg1)->GetToolPacking();
20676
20677 wxPyEndAllowThreads(__tstate);
20678 if (PyErr_Occurred()) SWIG_fail;
20679 }
093d3ff1
RD
20680 {
20681 resultobj = SWIG_From_int((int)(result));
20682 }
d55e5bfc
RD
20683 return resultobj;
20684 fail:
20685 return NULL;
20686}
20687
20688
c32bde28 20689static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20690 PyObject *resultobj;
20691 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20692 int result;
20693 PyObject * obj0 = 0 ;
20694 char *kwnames[] = {
20695 (char *) "self", NULL
20696 };
20697
20698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSeparation",kwnames,&obj0)) goto fail;
093d3ff1
RD
20699 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20700 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20701 {
20702 PyThreadState* __tstate = wxPyBeginAllowThreads();
20703 result = (int)(arg1)->GetToolSeparation();
20704
20705 wxPyEndAllowThreads(__tstate);
20706 if (PyErr_Occurred()) SWIG_fail;
20707 }
093d3ff1
RD
20708 {
20709 resultobj = SWIG_From_int((int)(result));
20710 }
d55e5bfc
RD
20711 return resultobj;
20712 fail:
20713 return NULL;
20714}
20715
20716
c32bde28 20717static PyObject *_wrap_ToolBarBase_SetRows(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20718 PyObject *resultobj;
20719 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20720 int arg2 ;
20721 PyObject * obj0 = 0 ;
20722 PyObject * obj1 = 0 ;
20723 char *kwnames[] = {
20724 (char *) "self",(char *) "nRows", NULL
20725 };
20726
20727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetRows",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20728 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20729 if (SWIG_arg_fail(1)) SWIG_fail;
20730 {
20731 arg2 = (int)(SWIG_As_int(obj1));
20732 if (SWIG_arg_fail(2)) SWIG_fail;
20733 }
d55e5bfc
RD
20734 {
20735 PyThreadState* __tstate = wxPyBeginAllowThreads();
20736 (arg1)->SetRows(arg2);
20737
20738 wxPyEndAllowThreads(__tstate);
20739 if (PyErr_Occurred()) SWIG_fail;
20740 }
20741 Py_INCREF(Py_None); resultobj = Py_None;
20742 return resultobj;
20743 fail:
20744 return NULL;
20745}
20746
20747
c32bde28 20748static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20749 PyObject *resultobj;
20750 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20751 int arg2 ;
20752 int arg3 ;
20753 PyObject * obj0 = 0 ;
20754 PyObject * obj1 = 0 ;
20755 PyObject * obj2 = 0 ;
20756 char *kwnames[] = {
20757 (char *) "self",(char *) "rows",(char *) "cols", NULL
20758 };
20759
20760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
20761 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20762 if (SWIG_arg_fail(1)) SWIG_fail;
20763 {
20764 arg2 = (int)(SWIG_As_int(obj1));
20765 if (SWIG_arg_fail(2)) SWIG_fail;
20766 }
20767 {
20768 arg3 = (int)(SWIG_As_int(obj2));
20769 if (SWIG_arg_fail(3)) SWIG_fail;
20770 }
d55e5bfc
RD
20771 {
20772 PyThreadState* __tstate = wxPyBeginAllowThreads();
20773 (arg1)->SetMaxRowsCols(arg2,arg3);
20774
20775 wxPyEndAllowThreads(__tstate);
20776 if (PyErr_Occurred()) SWIG_fail;
20777 }
20778 Py_INCREF(Py_None); resultobj = Py_None;
20779 return resultobj;
20780 fail:
20781 return NULL;
20782}
20783
20784
c32bde28 20785static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20786 PyObject *resultobj;
20787 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20788 int result;
20789 PyObject * obj0 = 0 ;
20790 char *kwnames[] = {
20791 (char *) "self", NULL
20792 };
20793
20794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxRows",kwnames,&obj0)) goto fail;
093d3ff1
RD
20795 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20796 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20797 {
20798 PyThreadState* __tstate = wxPyBeginAllowThreads();
20799 result = (int)(arg1)->GetMaxRows();
20800
20801 wxPyEndAllowThreads(__tstate);
20802 if (PyErr_Occurred()) SWIG_fail;
20803 }
093d3ff1
RD
20804 {
20805 resultobj = SWIG_From_int((int)(result));
20806 }
d55e5bfc
RD
20807 return resultobj;
20808 fail:
20809 return NULL;
20810}
20811
20812
c32bde28 20813static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20814 PyObject *resultobj;
20815 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20816 int result;
20817 PyObject * obj0 = 0 ;
20818 char *kwnames[] = {
20819 (char *) "self", NULL
20820 };
20821
20822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxCols",kwnames,&obj0)) goto fail;
093d3ff1
RD
20823 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20824 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20825 {
20826 PyThreadState* __tstate = wxPyBeginAllowThreads();
20827 result = (int)(arg1)->GetMaxCols();
20828
20829 wxPyEndAllowThreads(__tstate);
20830 if (PyErr_Occurred()) SWIG_fail;
20831 }
093d3ff1
RD
20832 {
20833 resultobj = SWIG_From_int((int)(result));
20834 }
d55e5bfc
RD
20835 return resultobj;
20836 fail:
20837 return NULL;
20838}
20839
20840
c32bde28 20841static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20842 PyObject *resultobj;
20843 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20844 wxSize *arg2 = 0 ;
20845 wxSize temp2 ;
20846 PyObject * obj0 = 0 ;
20847 PyObject * obj1 = 0 ;
20848 char *kwnames[] = {
20849 (char *) "self",(char *) "size", NULL
20850 };
20851
20852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20853 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20854 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20855 {
20856 arg2 = &temp2;
20857 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20858 }
20859 {
20860 PyThreadState* __tstate = wxPyBeginAllowThreads();
20861 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
20862
20863 wxPyEndAllowThreads(__tstate);
20864 if (PyErr_Occurred()) SWIG_fail;
20865 }
20866 Py_INCREF(Py_None); resultobj = Py_None;
20867 return resultobj;
20868 fail:
20869 return NULL;
20870}
20871
20872
c32bde28 20873static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20874 PyObject *resultobj;
20875 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20876 wxSize result;
20877 PyObject * obj0 = 0 ;
20878 char *kwnames[] = {
20879 (char *) "self", NULL
20880 };
20881
20882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
20883 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20884 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20885 {
20886 PyThreadState* __tstate = wxPyBeginAllowThreads();
20887 result = (arg1)->GetToolBitmapSize();
20888
20889 wxPyEndAllowThreads(__tstate);
20890 if (PyErr_Occurred()) SWIG_fail;
20891 }
20892 {
20893 wxSize * resultptr;
093d3ff1 20894 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
20895 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20896 }
20897 return resultobj;
20898 fail:
20899 return NULL;
20900}
20901
20902
c32bde28 20903static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20904 PyObject *resultobj;
20905 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20906 wxSize result;
20907 PyObject * obj0 = 0 ;
20908 char *kwnames[] = {
20909 (char *) "self", NULL
20910 };
20911
20912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
20913 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20914 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20915 {
20916 PyThreadState* __tstate = wxPyBeginAllowThreads();
20917 result = (arg1)->GetToolSize();
20918
20919 wxPyEndAllowThreads(__tstate);
20920 if (PyErr_Occurred()) SWIG_fail;
20921 }
20922 {
20923 wxSize * resultptr;
093d3ff1 20924 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
20925 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20926 }
20927 return resultobj;
20928 fail:
20929 return NULL;
20930}
20931
20932
c32bde28 20933static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20934 PyObject *resultobj;
20935 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20936 int arg2 ;
20937 int arg3 ;
20938 wxToolBarToolBase *result;
20939 PyObject * obj0 = 0 ;
20940 PyObject * obj1 = 0 ;
20941 PyObject * obj2 = 0 ;
20942 char *kwnames[] = {
20943 (char *) "self",(char *) "x",(char *) "y", NULL
20944 };
20945
20946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
20947 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20948 if (SWIG_arg_fail(1)) SWIG_fail;
20949 {
20950 arg2 = (int)(SWIG_As_int(obj1));
20951 if (SWIG_arg_fail(2)) SWIG_fail;
20952 }
20953 {
20954 arg3 = (int)(SWIG_As_int(obj2));
20955 if (SWIG_arg_fail(3)) SWIG_fail;
20956 }
d55e5bfc
RD
20957 {
20958 PyThreadState* __tstate = wxPyBeginAllowThreads();
20959 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
20960
20961 wxPyEndAllowThreads(__tstate);
20962 if (PyErr_Occurred()) SWIG_fail;
20963 }
20964 {
412d302d 20965 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
20966 }
20967 return resultobj;
20968 fail:
20969 return NULL;
20970}
20971
20972
c32bde28 20973static PyObject *_wrap_ToolBarBase_FindById(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20974 PyObject *resultobj;
20975 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20976 int arg2 ;
20977 wxToolBarToolBase *result;
20978 PyObject * obj0 = 0 ;
20979 PyObject * obj1 = 0 ;
20980 char *kwnames[] = {
20981 (char *) "self",(char *) "toolid", NULL
20982 };
20983
20984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindById",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20985 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20986 if (SWIG_arg_fail(1)) SWIG_fail;
20987 {
20988 arg2 = (int)(SWIG_As_int(obj1));
20989 if (SWIG_arg_fail(2)) SWIG_fail;
20990 }
d55e5bfc
RD
20991 {
20992 PyThreadState* __tstate = wxPyBeginAllowThreads();
20993 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
20994
20995 wxPyEndAllowThreads(__tstate);
20996 if (PyErr_Occurred()) SWIG_fail;
20997 }
20998 {
412d302d 20999 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
21000 }
21001 return resultobj;
21002 fail:
21003 return NULL;
21004}
21005
21006
c32bde28 21007static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21008 PyObject *resultobj;
21009 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21010 bool result;
21011 PyObject * obj0 = 0 ;
21012 char *kwnames[] = {
21013 (char *) "self", NULL
21014 };
21015
21016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_IsVertical",kwnames,&obj0)) goto fail;
093d3ff1
RD
21017 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21018 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21019 {
21020 PyThreadState* __tstate = wxPyBeginAllowThreads();
21021 result = (bool)(arg1)->IsVertical();
21022
21023 wxPyEndAllowThreads(__tstate);
21024 if (PyErr_Occurred()) SWIG_fail;
21025 }
21026 {
21027 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21028 }
21029 return resultobj;
21030 fail:
21031 return NULL;
21032}
21033
21034
c32bde28 21035static PyObject * ToolBarBase_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
21036 PyObject *obj;
21037 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21038 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase, obj);
21039 Py_INCREF(obj);
21040 return Py_BuildValue((char *)"");
21041}
c32bde28 21042static PyObject *_wrap_new_ToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21043 PyObject *resultobj;
21044 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 21045 int arg2 = (int) -1 ;
d55e5bfc
RD
21046 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21047 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21048 wxSize const &arg4_defvalue = wxDefaultSize ;
21049 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21050 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
21051 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
21052 wxString *arg6 = (wxString *) &arg6_defvalue ;
21053 wxToolBar *result;
21054 wxPoint temp3 ;
21055 wxSize temp4 ;
ae8162c8 21056 bool temp6 = false ;
d55e5bfc
RD
21057 PyObject * obj0 = 0 ;
21058 PyObject * obj1 = 0 ;
21059 PyObject * obj2 = 0 ;
21060 PyObject * obj3 = 0 ;
21061 PyObject * obj4 = 0 ;
21062 PyObject * obj5 = 0 ;
21063 char *kwnames[] = {
21064 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21065 };
21066
248ed943 21067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ToolBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
21068 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
21069 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 21070 if (obj1) {
093d3ff1
RD
21071 {
21072 arg2 = (int)(SWIG_As_int(obj1));
21073 if (SWIG_arg_fail(2)) SWIG_fail;
21074 }
248ed943 21075 }
d55e5bfc
RD
21076 if (obj2) {
21077 {
21078 arg3 = &temp3;
21079 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21080 }
21081 }
21082 if (obj3) {
21083 {
21084 arg4 = &temp4;
21085 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21086 }
21087 }
21088 if (obj4) {
093d3ff1
RD
21089 {
21090 arg5 = (long)(SWIG_As_long(obj4));
21091 if (SWIG_arg_fail(5)) SWIG_fail;
21092 }
d55e5bfc
RD
21093 }
21094 if (obj5) {
21095 {
21096 arg6 = wxString_in_helper(obj5);
21097 if (arg6 == NULL) SWIG_fail;
ae8162c8 21098 temp6 = true;
d55e5bfc
RD
21099 }
21100 }
21101 {
0439c23b 21102 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
21103 PyThreadState* __tstate = wxPyBeginAllowThreads();
21104 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21105
21106 wxPyEndAllowThreads(__tstate);
110da5b0 21107 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 21108 }
b0f7404b 21109 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolBar, 1);
d55e5bfc
RD
21110 {
21111 if (temp6)
21112 delete arg6;
21113 }
21114 return resultobj;
21115 fail:
21116 {
21117 if (temp6)
21118 delete arg6;
21119 }
21120 return NULL;
21121}
21122
21123
c32bde28 21124static PyObject *_wrap_new_PreToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21125 PyObject *resultobj;
21126 wxToolBar *result;
21127 char *kwnames[] = {
21128 NULL
21129 };
21130
21131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolBar",kwnames)) goto fail;
21132 {
0439c23b 21133 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
21134 PyThreadState* __tstate = wxPyBeginAllowThreads();
21135 result = (wxToolBar *)new wxToolBar();
21136
21137 wxPyEndAllowThreads(__tstate);
110da5b0 21138 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 21139 }
b0f7404b 21140 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolBar, 1);
d55e5bfc
RD
21141 return resultobj;
21142 fail:
21143 return NULL;
21144}
21145
21146
c32bde28 21147static PyObject *_wrap_ToolBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21148 PyObject *resultobj;
21149 wxToolBar *arg1 = (wxToolBar *) 0 ;
21150 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 21151 int arg3 = (int) -1 ;
d55e5bfc
RD
21152 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21153 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21154 wxSize const &arg5_defvalue = wxDefaultSize ;
21155 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21156 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
21157 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
21158 wxString *arg7 = (wxString *) &arg7_defvalue ;
21159 bool result;
21160 wxPoint temp4 ;
21161 wxSize temp5 ;
ae8162c8 21162 bool temp7 = false ;
d55e5bfc
RD
21163 PyObject * obj0 = 0 ;
21164 PyObject * obj1 = 0 ;
21165 PyObject * obj2 = 0 ;
21166 PyObject * obj3 = 0 ;
21167 PyObject * obj4 = 0 ;
21168 PyObject * obj5 = 0 ;
21169 PyObject * obj6 = 0 ;
21170 char *kwnames[] = {
21171 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21172 };
21173
248ed943 21174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ToolBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
21175 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0);
21176 if (SWIG_arg_fail(1)) SWIG_fail;
21177 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
21178 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 21179 if (obj2) {
093d3ff1
RD
21180 {
21181 arg3 = (int)(SWIG_As_int(obj2));
21182 if (SWIG_arg_fail(3)) SWIG_fail;
21183 }
248ed943 21184 }
d55e5bfc
RD
21185 if (obj3) {
21186 {
21187 arg4 = &temp4;
21188 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21189 }
21190 }
21191 if (obj4) {
21192 {
21193 arg5 = &temp5;
21194 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21195 }
21196 }
21197 if (obj5) {
093d3ff1
RD
21198 {
21199 arg6 = (long)(SWIG_As_long(obj5));
21200 if (SWIG_arg_fail(6)) SWIG_fail;
21201 }
d55e5bfc
RD
21202 }
21203 if (obj6) {
21204 {
21205 arg7 = wxString_in_helper(obj6);
21206 if (arg7 == NULL) SWIG_fail;
ae8162c8 21207 temp7 = true;
d55e5bfc
RD
21208 }
21209 }
21210 {
21211 PyThreadState* __tstate = wxPyBeginAllowThreads();
21212 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21213
21214 wxPyEndAllowThreads(__tstate);
21215 if (PyErr_Occurred()) SWIG_fail;
21216 }
21217 {
21218 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21219 }
21220 {
21221 if (temp7)
21222 delete arg7;
21223 }
21224 return resultobj;
21225 fail:
21226 {
21227 if (temp7)
21228 delete arg7;
21229 }
21230 return NULL;
21231}
21232
21233
c32bde28 21234static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21235 PyObject *resultobj;
21236 wxToolBar *arg1 = (wxToolBar *) 0 ;
21237 int arg2 ;
21238 int arg3 ;
21239 wxToolBarToolBase *result;
21240 PyObject * obj0 = 0 ;
21241 PyObject * obj1 = 0 ;
21242 PyObject * obj2 = 0 ;
21243 char *kwnames[] = {
21244 (char *) "self",(char *) "x",(char *) "y", NULL
21245 };
21246
21247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBar_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
21248 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0);
21249 if (SWIG_arg_fail(1)) SWIG_fail;
21250 {
21251 arg2 = (int)(SWIG_As_int(obj1));
21252 if (SWIG_arg_fail(2)) SWIG_fail;
21253 }
21254 {
21255 arg3 = (int)(SWIG_As_int(obj2));
21256 if (SWIG_arg_fail(3)) SWIG_fail;
21257 }
d55e5bfc
RD
21258 {
21259 PyThreadState* __tstate = wxPyBeginAllowThreads();
21260 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
21261
21262 wxPyEndAllowThreads(__tstate);
21263 if (PyErr_Occurred()) SWIG_fail;
21264 }
21265 {
412d302d 21266 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
21267 }
21268 return resultobj;
21269 fail:
21270 return NULL;
21271}
21272
21273
c32bde28 21274static PyObject *_wrap_ToolBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 21275 PyObject *resultobj;
093d3ff1 21276 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
21277 wxVisualAttributes result;
21278 PyObject * obj0 = 0 ;
21279 char *kwnames[] = {
21280 (char *) "variant", NULL
21281 };
21282
21283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
21284 if (obj0) {
093d3ff1
RD
21285 {
21286 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
21287 if (SWIG_arg_fail(1)) SWIG_fail;
21288 }
f20a2e1f
RD
21289 }
21290 {
19272049 21291 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
21292 PyThreadState* __tstate = wxPyBeginAllowThreads();
21293 result = wxToolBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
21294
21295 wxPyEndAllowThreads(__tstate);
110da5b0 21296 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
21297 }
21298 {
21299 wxVisualAttributes * resultptr;
093d3ff1 21300 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
21301 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
21302 }
21303 return resultobj;
21304 fail:
21305 return NULL;
21306}
21307
21308
c32bde28 21309static PyObject * ToolBar_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
21310 PyObject *obj;
21311 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21312 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar, obj);
21313 Py_INCREF(obj);
21314 return Py_BuildValue((char *)"");
21315}
c32bde28 21316static int _wrap_ListCtrlNameStr_set(PyObject *) {
d55e5bfc
RD
21317 PyErr_SetString(PyExc_TypeError,"Variable ListCtrlNameStr is read-only.");
21318 return 1;
21319}
21320
21321
093d3ff1 21322static PyObject *_wrap_ListCtrlNameStr_get(void) {
d55e5bfc
RD
21323 PyObject *pyobj;
21324
21325 {
21326#if wxUSE_UNICODE
21327 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
21328#else
21329 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
21330#endif
21331 }
21332 return pyobj;
21333}
21334
21335
c32bde28 21336static PyObject *_wrap_new_ListItemAttr(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21337 PyObject *resultobj;
21338 wxColour const &arg1_defvalue = wxNullColour ;
21339 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
21340 wxColour const &arg2_defvalue = wxNullColour ;
21341 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
21342 wxFont const &arg3_defvalue = wxNullFont ;
21343 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
21344 wxListItemAttr *result;
21345 wxColour temp1 ;
21346 wxColour temp2 ;
21347 PyObject * obj0 = 0 ;
21348 PyObject * obj1 = 0 ;
21349 PyObject * obj2 = 0 ;
21350 char *kwnames[] = {
21351 (char *) "colText",(char *) "colBack",(char *) "font", NULL
21352 };
21353
21354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
21355 if (obj0) {
21356 {
21357 arg1 = &temp1;
21358 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
21359 }
21360 }
21361 if (obj1) {
21362 {
21363 arg2 = &temp2;
21364 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21365 }
21366 }
21367 if (obj2) {
093d3ff1
RD
21368 {
21369 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
21370 if (SWIG_arg_fail(3)) SWIG_fail;
21371 if (arg3 == NULL) {
21372 SWIG_null_ref("wxFont");
21373 }
21374 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
21375 }
21376 }
21377 {
21378 PyThreadState* __tstate = wxPyBeginAllowThreads();
21379 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
21380
21381 wxPyEndAllowThreads(__tstate);
21382 if (PyErr_Occurred()) SWIG_fail;
21383 }
21384 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 1);
21385 return resultobj;
21386 fail:
21387 return NULL;
21388}
21389
21390
c32bde28 21391static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21392 PyObject *resultobj;
21393 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21394 wxColour *arg2 = 0 ;
21395 wxColour temp2 ;
21396 PyObject * obj0 = 0 ;
21397 PyObject * obj1 = 0 ;
21398 char *kwnames[] = {
21399 (char *) "self",(char *) "colText", NULL
21400 };
21401
21402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21403 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21404 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21405 {
21406 arg2 = &temp2;
21407 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21408 }
21409 {
21410 PyThreadState* __tstate = wxPyBeginAllowThreads();
21411 (arg1)->SetTextColour((wxColour const &)*arg2);
21412
21413 wxPyEndAllowThreads(__tstate);
21414 if (PyErr_Occurred()) SWIG_fail;
21415 }
21416 Py_INCREF(Py_None); resultobj = Py_None;
21417 return resultobj;
21418 fail:
21419 return NULL;
21420}
21421
21422
c32bde28 21423static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21424 PyObject *resultobj;
21425 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21426 wxColour *arg2 = 0 ;
21427 wxColour temp2 ;
21428 PyObject * obj0 = 0 ;
21429 PyObject * obj1 = 0 ;
21430 char *kwnames[] = {
21431 (char *) "self",(char *) "colBack", NULL
21432 };
21433
21434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21435 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21436 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21437 {
21438 arg2 = &temp2;
21439 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21440 }
21441 {
21442 PyThreadState* __tstate = wxPyBeginAllowThreads();
21443 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
21444
21445 wxPyEndAllowThreads(__tstate);
21446 if (PyErr_Occurred()) SWIG_fail;
21447 }
21448 Py_INCREF(Py_None); resultobj = Py_None;
21449 return resultobj;
21450 fail:
21451 return NULL;
21452}
21453
21454
c32bde28 21455static PyObject *_wrap_ListItemAttr_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21456 PyObject *resultobj;
21457 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21458 wxFont *arg2 = 0 ;
21459 PyObject * obj0 = 0 ;
21460 PyObject * obj1 = 0 ;
21461 char *kwnames[] = {
21462 (char *) "self",(char *) "font", NULL
21463 };
21464
21465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21466 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21467 if (SWIG_arg_fail(1)) SWIG_fail;
21468 {
21469 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
21470 if (SWIG_arg_fail(2)) SWIG_fail;
21471 if (arg2 == NULL) {
21472 SWIG_null_ref("wxFont");
21473 }
21474 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
21475 }
21476 {
21477 PyThreadState* __tstate = wxPyBeginAllowThreads();
21478 (arg1)->SetFont((wxFont const &)*arg2);
21479
21480 wxPyEndAllowThreads(__tstate);
21481 if (PyErr_Occurred()) SWIG_fail;
21482 }
21483 Py_INCREF(Py_None); resultobj = Py_None;
21484 return resultobj;
21485 fail:
21486 return NULL;
21487}
21488
21489
c32bde28 21490static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21491 PyObject *resultobj;
21492 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21493 bool result;
21494 PyObject * obj0 = 0 ;
21495 char *kwnames[] = {
21496 (char *) "self", NULL
21497 };
21498
21499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasTextColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
21500 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21501 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21502 {
21503 PyThreadState* __tstate = wxPyBeginAllowThreads();
21504 result = (bool)(arg1)->HasTextColour();
21505
21506 wxPyEndAllowThreads(__tstate);
21507 if (PyErr_Occurred()) SWIG_fail;
21508 }
21509 {
21510 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21511 }
21512 return resultobj;
21513 fail:
21514 return NULL;
21515}
21516
21517
c32bde28 21518static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21519 PyObject *resultobj;
21520 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21521 bool result;
21522 PyObject * obj0 = 0 ;
21523 char *kwnames[] = {
21524 (char *) "self", NULL
21525 };
21526
21527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
21528 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21529 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21530 {
21531 PyThreadState* __tstate = wxPyBeginAllowThreads();
21532 result = (bool)(arg1)->HasBackgroundColour();
21533
21534 wxPyEndAllowThreads(__tstate);
21535 if (PyErr_Occurred()) SWIG_fail;
21536 }
21537 {
21538 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21539 }
21540 return resultobj;
21541 fail:
21542 return NULL;
21543}
21544
21545
c32bde28 21546static PyObject *_wrap_ListItemAttr_HasFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21547 PyObject *resultobj;
21548 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21549 bool result;
21550 PyObject * obj0 = 0 ;
21551 char *kwnames[] = {
21552 (char *) "self", NULL
21553 };
21554
21555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasFont",kwnames,&obj0)) goto fail;
093d3ff1
RD
21556 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21557 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21558 {
21559 PyThreadState* __tstate = wxPyBeginAllowThreads();
21560 result = (bool)(arg1)->HasFont();
21561
21562 wxPyEndAllowThreads(__tstate);
21563 if (PyErr_Occurred()) SWIG_fail;
21564 }
21565 {
21566 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21567 }
21568 return resultobj;
21569 fail:
21570 return NULL;
21571}
21572
21573
c32bde28 21574static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21575 PyObject *resultobj;
21576 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21577 wxColour result;
21578 PyObject * obj0 = 0 ;
21579 char *kwnames[] = {
21580 (char *) "self", NULL
21581 };
21582
21583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetTextColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
21584 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21585 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21586 {
21587 PyThreadState* __tstate = wxPyBeginAllowThreads();
21588 result = (arg1)->GetTextColour();
21589
21590 wxPyEndAllowThreads(__tstate);
21591 if (PyErr_Occurred()) SWIG_fail;
21592 }
21593 {
21594 wxColour * resultptr;
093d3ff1 21595 resultptr = new wxColour((wxColour &)(result));
d55e5bfc
RD
21596 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
21597 }
21598 return resultobj;
21599 fail:
21600 return NULL;
21601}
21602
21603
c32bde28 21604static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21605 PyObject *resultobj;
21606 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21607 wxColour result;
21608 PyObject * obj0 = 0 ;
21609 char *kwnames[] = {
21610 (char *) "self", NULL
21611 };
21612
21613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
21614 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21615 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21616 {
21617 PyThreadState* __tstate = wxPyBeginAllowThreads();
21618 result = (arg1)->GetBackgroundColour();
21619
21620 wxPyEndAllowThreads(__tstate);
21621 if (PyErr_Occurred()) SWIG_fail;
21622 }
21623 {
21624 wxColour * resultptr;
093d3ff1 21625 resultptr = new wxColour((wxColour &)(result));
d55e5bfc
RD
21626 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
21627 }
21628 return resultobj;
21629 fail:
21630 return NULL;
21631}
21632
21633
c32bde28 21634static PyObject *_wrap_ListItemAttr_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21635 PyObject *resultobj;
21636 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21637 wxFont result;
21638 PyObject * obj0 = 0 ;
21639 char *kwnames[] = {
21640 (char *) "self", NULL
21641 };
21642
21643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetFont",kwnames,&obj0)) goto fail;
093d3ff1
RD
21644 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21645 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21646 {
21647 PyThreadState* __tstate = wxPyBeginAllowThreads();
21648 result = (arg1)->GetFont();
21649
21650 wxPyEndAllowThreads(__tstate);
21651 if (PyErr_Occurred()) SWIG_fail;
21652 }
21653 {
21654 wxFont * resultptr;
093d3ff1 21655 resultptr = new wxFont((wxFont &)(result));
d55e5bfc
RD
21656 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
21657 }
21658 return resultobj;
21659 fail:
21660 return NULL;
21661}
21662
21663
c32bde28 21664static PyObject *_wrap_ListItemAttr_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21665 PyObject *resultobj;
21666 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21667 PyObject * obj0 = 0 ;
21668 char *kwnames[] = {
21669 (char *) "self", NULL
21670 };
21671
21672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_Destroy",kwnames,&obj0)) goto fail;
093d3ff1
RD
21673 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21674 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21675 {
21676 PyThreadState* __tstate = wxPyBeginAllowThreads();
21677 wxListItemAttr_Destroy(arg1);
21678
21679 wxPyEndAllowThreads(__tstate);
21680 if (PyErr_Occurred()) SWIG_fail;
21681 }
21682 Py_INCREF(Py_None); resultobj = Py_None;
21683 return resultobj;
21684 fail:
21685 return NULL;
21686}
21687
21688
c32bde28 21689static PyObject * ListItemAttr_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
21690 PyObject *obj;
21691 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21692 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr, obj);
21693 Py_INCREF(obj);
21694 return Py_BuildValue((char *)"");
21695}
c32bde28 21696static PyObject *_wrap_new_ListItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21697 PyObject *resultobj;
21698 wxListItem *result;
21699 char *kwnames[] = {
21700 NULL
21701 };
21702
21703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ListItem",kwnames)) goto fail;
21704 {
21705 PyThreadState* __tstate = wxPyBeginAllowThreads();
21706 result = (wxListItem *)new wxListItem();
21707
21708 wxPyEndAllowThreads(__tstate);
21709 if (PyErr_Occurred()) SWIG_fail;
21710 }
21711 {
412d302d 21712 resultobj = wxPyMake_wxObject(result, 1);
d55e5bfc
RD
21713 }
21714 return resultobj;
21715 fail:
21716 return NULL;
21717}
21718
21719
c32bde28 21720static PyObject *_wrap_delete_ListItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21721 PyObject *resultobj;
21722 wxListItem *arg1 = (wxListItem *) 0 ;
21723 PyObject * obj0 = 0 ;
21724 char *kwnames[] = {
21725 (char *) "self", NULL
21726 };
21727
21728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItem",kwnames,&obj0)) goto fail;
093d3ff1
RD
21729 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21730 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21731 {
21732 PyThreadState* __tstate = wxPyBeginAllowThreads();
21733 delete arg1;
21734
21735 wxPyEndAllowThreads(__tstate);
21736 if (PyErr_Occurred()) SWIG_fail;
21737 }
21738 Py_INCREF(Py_None); resultobj = Py_None;
21739 return resultobj;
21740 fail:
21741 return NULL;
21742}
21743
21744
c32bde28 21745static PyObject *_wrap_ListItem_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21746 PyObject *resultobj;
21747 wxListItem *arg1 = (wxListItem *) 0 ;
21748 PyObject * obj0 = 0 ;
21749 char *kwnames[] = {
21750 (char *) "self", NULL
21751 };
21752
21753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_Clear",kwnames,&obj0)) goto fail;
093d3ff1
RD
21754 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21755 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21756 {
21757 PyThreadState* __tstate = wxPyBeginAllowThreads();
21758 (arg1)->Clear();
21759
21760 wxPyEndAllowThreads(__tstate);
21761 if (PyErr_Occurred()) SWIG_fail;
21762 }
21763 Py_INCREF(Py_None); resultobj = Py_None;
21764 return resultobj;
21765 fail:
21766 return NULL;
21767}
21768
21769
c32bde28 21770static PyObject *_wrap_ListItem_ClearAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21771 PyObject *resultobj;
21772 wxListItem *arg1 = (wxListItem *) 0 ;
21773 PyObject * obj0 = 0 ;
21774 char *kwnames[] = {
21775 (char *) "self", NULL
21776 };
21777
21778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_ClearAttributes",kwnames,&obj0)) goto fail;
093d3ff1
RD
21779 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21780 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21781 {
21782 PyThreadState* __tstate = wxPyBeginAllowThreads();
21783 (arg1)->ClearAttributes();
21784
21785 wxPyEndAllowThreads(__tstate);
21786 if (PyErr_Occurred()) SWIG_fail;
21787 }
21788 Py_INCREF(Py_None); resultobj = Py_None;
21789 return resultobj;
21790 fail:
21791 return NULL;
21792}
21793
21794
c32bde28 21795static PyObject *_wrap_ListItem_SetMask(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21796 PyObject *resultobj;
21797 wxListItem *arg1 = (wxListItem *) 0 ;
21798 long arg2 ;
21799 PyObject * obj0 = 0 ;
21800 PyObject * obj1 = 0 ;
21801 char *kwnames[] = {
21802 (char *) "self",(char *) "mask", NULL
21803 };
21804
21805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetMask",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21806 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21807 if (SWIG_arg_fail(1)) SWIG_fail;
21808 {
21809 arg2 = (long)(SWIG_As_long(obj1));
21810 if (SWIG_arg_fail(2)) SWIG_fail;
21811 }
d55e5bfc
RD
21812 {
21813 PyThreadState* __tstate = wxPyBeginAllowThreads();
21814 (arg1)->SetMask(arg2);
21815
21816 wxPyEndAllowThreads(__tstate);
21817 if (PyErr_Occurred()) SWIG_fail;
21818 }
21819 Py_INCREF(Py_None); resultobj = Py_None;
21820 return resultobj;
21821 fail:
21822 return NULL;
21823}
21824
21825
c32bde28 21826static PyObject *_wrap_ListItem_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21827 PyObject *resultobj;
21828 wxListItem *arg1 = (wxListItem *) 0 ;
21829 long arg2 ;
21830 PyObject * obj0 = 0 ;
21831 PyObject * obj1 = 0 ;
21832 char *kwnames[] = {
21833 (char *) "self",(char *) "id", NULL
21834 };
21835
21836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetId",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21837 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21838 if (SWIG_arg_fail(1)) SWIG_fail;
21839 {
21840 arg2 = (long)(SWIG_As_long(obj1));
21841 if (SWIG_arg_fail(2)) SWIG_fail;
21842 }
d55e5bfc
RD
21843 {
21844 PyThreadState* __tstate = wxPyBeginAllowThreads();
21845 (arg1)->SetId(arg2);
21846
21847 wxPyEndAllowThreads(__tstate);
21848 if (PyErr_Occurred()) SWIG_fail;
21849 }
21850 Py_INCREF(Py_None); resultobj = Py_None;
21851 return resultobj;
21852 fail:
21853 return NULL;
21854}
21855
21856
c32bde28 21857static PyObject *_wrap_ListItem_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21858 PyObject *resultobj;
21859 wxListItem *arg1 = (wxListItem *) 0 ;
21860 int arg2 ;
21861 PyObject * obj0 = 0 ;
21862 PyObject * obj1 = 0 ;
21863 char *kwnames[] = {
21864 (char *) "self",(char *) "col", NULL
21865 };
21866
21867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetColumn",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21868 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21869 if (SWIG_arg_fail(1)) SWIG_fail;
21870 {
21871 arg2 = (int)(SWIG_As_int(obj1));
21872 if (SWIG_arg_fail(2)) SWIG_fail;
21873 }
d55e5bfc
RD
21874 {
21875 PyThreadState* __tstate = wxPyBeginAllowThreads();
21876 (arg1)->SetColumn(arg2);
21877
21878 wxPyEndAllowThreads(__tstate);
21879 if (PyErr_Occurred()) SWIG_fail;
21880 }
21881 Py_INCREF(Py_None); resultobj = Py_None;
21882 return resultobj;
21883 fail:
21884 return NULL;
21885}
21886
21887
c32bde28 21888static PyObject *_wrap_ListItem_SetState(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21889 PyObject *resultobj;
21890 wxListItem *arg1 = (wxListItem *) 0 ;
21891 long arg2 ;
21892 PyObject * obj0 = 0 ;
21893 PyObject * obj1 = 0 ;
21894 char *kwnames[] = {
21895 (char *) "self",(char *) "state", NULL
21896 };
21897
21898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetState",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21899 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21900 if (SWIG_arg_fail(1)) SWIG_fail;
21901 {
21902 arg2 = (long)(SWIG_As_long(obj1));
21903 if (SWIG_arg_fail(2)) SWIG_fail;
21904 }
d55e5bfc
RD
21905 {
21906 PyThreadState* __tstate = wxPyBeginAllowThreads();
21907 (arg1)->SetState(arg2);
21908
21909 wxPyEndAllowThreads(__tstate);
21910 if (PyErr_Occurred()) SWIG_fail;
21911 }
21912 Py_INCREF(Py_None); resultobj = Py_None;
21913 return resultobj;
21914 fail:
21915 return NULL;
21916}
21917
21918
c32bde28 21919static PyObject *_wrap_ListItem_SetStateMask(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21920 PyObject *resultobj;
21921 wxListItem *arg1 = (wxListItem *) 0 ;
21922 long arg2 ;
21923 PyObject * obj0 = 0 ;
21924 PyObject * obj1 = 0 ;
21925 char *kwnames[] = {
21926 (char *) "self",(char *) "stateMask", NULL
21927 };
21928
21929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetStateMask",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21930 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21931 if (SWIG_arg_fail(1)) SWIG_fail;
21932 {
21933 arg2 = (long)(SWIG_As_long(obj1));
21934 if (SWIG_arg_fail(2)) SWIG_fail;
21935 }
d55e5bfc
RD
21936 {
21937 PyThreadState* __tstate = wxPyBeginAllowThreads();
21938 (arg1)->SetStateMask(arg2);
21939
21940 wxPyEndAllowThreads(__tstate);
21941 if (PyErr_Occurred()) SWIG_fail;
21942 }
21943 Py_INCREF(Py_None); resultobj = Py_None;
21944 return resultobj;
21945 fail:
21946 return NULL;
21947}
21948
21949
c32bde28 21950static PyObject *_wrap_ListItem_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21951 PyObject *resultobj;
21952 wxListItem *arg1 = (wxListItem *) 0 ;
21953 wxString *arg2 = 0 ;
ae8162c8 21954 bool temp2 = false ;
d55e5bfc
RD
21955 PyObject * obj0 = 0 ;
21956 PyObject * obj1 = 0 ;
21957 char *kwnames[] = {
21958 (char *) "self",(char *) "text", NULL
21959 };
21960
21961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21962 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21963 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21964 {
21965 arg2 = wxString_in_helper(obj1);
21966 if (arg2 == NULL) SWIG_fail;
ae8162c8 21967 temp2 = true;
d55e5bfc
RD
21968 }
21969 {
21970 PyThreadState* __tstate = wxPyBeginAllowThreads();
21971 (arg1)->SetText((wxString const &)*arg2);
21972
21973 wxPyEndAllowThreads(__tstate);
21974 if (PyErr_Occurred()) SWIG_fail;
21975 }
21976 Py_INCREF(Py_None); resultobj = Py_None;
21977 {
21978 if (temp2)
21979 delete arg2;
21980 }
21981 return resultobj;
21982 fail:
21983 {
21984 if (temp2)
21985 delete arg2;
21986 }
21987 return NULL;
21988}
21989
21990
c32bde28 21991static PyObject *_wrap_ListItem_SetImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21992 PyObject *resultobj;
21993 wxListItem *arg1 = (wxListItem *) 0 ;
21994 int arg2 ;
21995 PyObject * obj0 = 0 ;
21996 PyObject * obj1 = 0 ;
21997 char *kwnames[] = {
21998 (char *) "self",(char *) "image", NULL
21999 };
22000
22001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetImage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22002 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22003 if (SWIG_arg_fail(1)) SWIG_fail;
22004 {
22005 arg2 = (int)(SWIG_As_int(obj1));
22006 if (SWIG_arg_fail(2)) SWIG_fail;
22007 }
d55e5bfc
RD
22008 {
22009 PyThreadState* __tstate = wxPyBeginAllowThreads();
22010 (arg1)->SetImage(arg2);
22011
22012 wxPyEndAllowThreads(__tstate);
22013 if (PyErr_Occurred()) SWIG_fail;
22014 }
22015 Py_INCREF(Py_None); resultobj = Py_None;
22016 return resultobj;
22017 fail:
22018 return NULL;
22019}
22020
22021
c32bde28 22022static PyObject *_wrap_ListItem_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22023 PyObject *resultobj;
22024 wxListItem *arg1 = (wxListItem *) 0 ;
22025 long arg2 ;
22026 PyObject * obj0 = 0 ;
22027 PyObject * obj1 = 0 ;
22028 char *kwnames[] = {
22029 (char *) "self",(char *) "data", NULL
22030 };
22031
22032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22033 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22034 if (SWIG_arg_fail(1)) SWIG_fail;
22035 {
22036 arg2 = (long)(SWIG_As_long(obj1));
22037 if (SWIG_arg_fail(2)) SWIG_fail;
22038 }
d55e5bfc
RD
22039 {
22040 PyThreadState* __tstate = wxPyBeginAllowThreads();
22041 (arg1)->SetData(arg2);
22042
22043 wxPyEndAllowThreads(__tstate);
22044 if (PyErr_Occurred()) SWIG_fail;
22045 }
22046 Py_INCREF(Py_None); resultobj = Py_None;
22047 return resultobj;
22048 fail:
22049 return NULL;
22050}
22051
22052
c32bde28 22053static PyObject *_wrap_ListItem_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22054 PyObject *resultobj;
22055 wxListItem *arg1 = (wxListItem *) 0 ;
22056 int arg2 ;
22057 PyObject * obj0 = 0 ;
22058 PyObject * obj1 = 0 ;
22059 char *kwnames[] = {
22060 (char *) "self",(char *) "width", NULL
22061 };
22062
22063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetWidth",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22064 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22065 if (SWIG_arg_fail(1)) SWIG_fail;
22066 {
22067 arg2 = (int)(SWIG_As_int(obj1));
22068 if (SWIG_arg_fail(2)) SWIG_fail;
22069 }
d55e5bfc
RD
22070 {
22071 PyThreadState* __tstate = wxPyBeginAllowThreads();
22072 (arg1)->SetWidth(arg2);
22073
22074 wxPyEndAllowThreads(__tstate);
22075 if (PyErr_Occurred()) SWIG_fail;
22076 }
22077 Py_INCREF(Py_None); resultobj = Py_None;
22078 return resultobj;
22079 fail:
22080 return NULL;
22081}
22082
22083
c32bde28 22084static PyObject *_wrap_ListItem_SetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22085 PyObject *resultobj;
22086 wxListItem *arg1 = (wxListItem *) 0 ;
093d3ff1 22087 wxListColumnFormat arg2 ;
d55e5bfc
RD
22088 PyObject * obj0 = 0 ;
22089 PyObject * obj1 = 0 ;
22090 char *kwnames[] = {
22091 (char *) "self",(char *) "align", NULL
22092 };
22093
22094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetAlign",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22095 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22096 if (SWIG_arg_fail(1)) SWIG_fail;
22097 {
22098 arg2 = (wxListColumnFormat)(SWIG_As_int(obj1));
22099 if (SWIG_arg_fail(2)) SWIG_fail;
22100 }
d55e5bfc
RD
22101 {
22102 PyThreadState* __tstate = wxPyBeginAllowThreads();
22103 (arg1)->SetAlign((wxListColumnFormat )arg2);
22104
22105 wxPyEndAllowThreads(__tstate);
22106 if (PyErr_Occurred()) SWIG_fail;
22107 }
22108 Py_INCREF(Py_None); resultobj = Py_None;
22109 return resultobj;
22110 fail:
22111 return NULL;
22112}
22113
22114
c32bde28 22115static PyObject *_wrap_ListItem_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22116 PyObject *resultobj;
22117 wxListItem *arg1 = (wxListItem *) 0 ;
22118 wxColour *arg2 = 0 ;
22119 wxColour temp2 ;
22120 PyObject * obj0 = 0 ;
22121 PyObject * obj1 = 0 ;
22122 char *kwnames[] = {
22123 (char *) "self",(char *) "colText", NULL
22124 };
22125
22126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22127 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22128 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22129 {
22130 arg2 = &temp2;
22131 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22132 }
22133 {
22134 PyThreadState* __tstate = wxPyBeginAllowThreads();
22135 (arg1)->SetTextColour((wxColour const &)*arg2);
22136
22137 wxPyEndAllowThreads(__tstate);
22138 if (PyErr_Occurred()) SWIG_fail;
22139 }
22140 Py_INCREF(Py_None); resultobj = Py_None;
22141 return resultobj;
22142 fail:
22143 return NULL;
22144}
22145
22146
c32bde28 22147static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22148 PyObject *resultobj;
22149 wxListItem *arg1 = (wxListItem *) 0 ;
22150 wxColour *arg2 = 0 ;
22151 wxColour temp2 ;
22152 PyObject * obj0 = 0 ;
22153 PyObject * obj1 = 0 ;
22154 char *kwnames[] = {
22155 (char *) "self",(char *) "colBack", NULL
22156 };
22157
22158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22159 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22160 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22161 {
22162 arg2 = &temp2;
22163 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22164 }
22165 {
22166 PyThreadState* __tstate = wxPyBeginAllowThreads();
22167 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
22168
22169 wxPyEndAllowThreads(__tstate);
22170 if (PyErr_Occurred()) SWIG_fail;
22171 }
22172 Py_INCREF(Py_None); resultobj = Py_None;
22173 return resultobj;
22174 fail:
22175 return NULL;
22176}
22177
22178
c32bde28 22179static PyObject *_wrap_ListItem_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22180 PyObject *resultobj;
22181 wxListItem *arg1 = (wxListItem *) 0 ;
22182 wxFont *arg2 = 0 ;
22183 PyObject * obj0 = 0 ;
22184 PyObject * obj1 = 0 ;
22185 char *kwnames[] = {
22186 (char *) "self",(char *) "font", NULL
22187 };
22188
22189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22190 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22191 if (SWIG_arg_fail(1)) SWIG_fail;
22192 {
22193 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
22194 if (SWIG_arg_fail(2)) SWIG_fail;
22195 if (arg2 == NULL) {
22196 SWIG_null_ref("wxFont");
22197 }
22198 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
22199 }
22200 {
22201 PyThreadState* __tstate = wxPyBeginAllowThreads();
22202 (arg1)->SetFont((wxFont const &)*arg2);
22203
22204 wxPyEndAllowThreads(__tstate);
22205 if (PyErr_Occurred()) SWIG_fail;
22206 }
22207 Py_INCREF(Py_None); resultobj = Py_None;
22208 return resultobj;
22209 fail:
22210 return NULL;
22211}
22212
22213
c32bde28 22214static PyObject *_wrap_ListItem_GetMask(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22215 PyObject *resultobj;
22216 wxListItem *arg1 = (wxListItem *) 0 ;
22217 long result;
22218 PyObject * obj0 = 0 ;
22219 char *kwnames[] = {
22220 (char *) "self", NULL
22221 };
22222
22223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetMask",kwnames,&obj0)) goto fail;
093d3ff1
RD
22224 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22225 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22226 {
22227 PyThreadState* __tstate = wxPyBeginAllowThreads();
22228 result = (long)(arg1)->GetMask();
22229
22230 wxPyEndAllowThreads(__tstate);
22231 if (PyErr_Occurred()) SWIG_fail;
22232 }
093d3ff1
RD
22233 {
22234 resultobj = SWIG_From_long((long)(result));
22235 }
d55e5bfc
RD
22236 return resultobj;
22237 fail:
22238 return NULL;
22239}
22240
22241
c32bde28 22242static PyObject *_wrap_ListItem_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22243 PyObject *resultobj;
22244 wxListItem *arg1 = (wxListItem *) 0 ;
22245 long result;
22246 PyObject * obj0 = 0 ;
22247 char *kwnames[] = {
22248 (char *) "self", NULL
22249 };
22250
22251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetId",kwnames,&obj0)) goto fail;
093d3ff1
RD
22252 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22253 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22254 {
22255 PyThreadState* __tstate = wxPyBeginAllowThreads();
22256 result = (long)(arg1)->GetId();
22257
22258 wxPyEndAllowThreads(__tstate);
22259 if (PyErr_Occurred()) SWIG_fail;
22260 }
093d3ff1
RD
22261 {
22262 resultobj = SWIG_From_long((long)(result));
22263 }
d55e5bfc
RD
22264 return resultobj;
22265 fail:
22266 return NULL;
22267}
22268
22269
c32bde28 22270static PyObject *_wrap_ListItem_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22271 PyObject *resultobj;
22272 wxListItem *arg1 = (wxListItem *) 0 ;
22273 int result;
22274 PyObject * obj0 = 0 ;
22275 char *kwnames[] = {
22276 (char *) "self", NULL
22277 };
22278
22279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetColumn",kwnames,&obj0)) goto fail;
093d3ff1
RD
22280 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22281 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22282 {
22283 PyThreadState* __tstate = wxPyBeginAllowThreads();
22284 result = (int)(arg1)->GetColumn();
22285
22286 wxPyEndAllowThreads(__tstate);
22287 if (PyErr_Occurred()) SWIG_fail;
22288 }
093d3ff1
RD
22289 {
22290 resultobj = SWIG_From_int((int)(result));
22291 }
d55e5bfc
RD
22292 return resultobj;
22293 fail:
22294 return NULL;
22295}
22296
22297
c32bde28 22298static PyObject *_wrap_ListItem_GetState(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22299 PyObject *resultobj;
22300 wxListItem *arg1 = (wxListItem *) 0 ;
22301 long result;
22302 PyObject * obj0 = 0 ;
22303 char *kwnames[] = {
22304 (char *) "self", NULL
22305 };
22306
22307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetState",kwnames,&obj0)) goto fail;
093d3ff1
RD
22308 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22309 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22310 {
22311 PyThreadState* __tstate = wxPyBeginAllowThreads();
22312 result = (long)(arg1)->GetState();
22313
22314 wxPyEndAllowThreads(__tstate);
22315 if (PyErr_Occurred()) SWIG_fail;
22316 }
093d3ff1
RD
22317 {
22318 resultobj = SWIG_From_long((long)(result));
22319 }
d55e5bfc
RD
22320 return resultobj;
22321 fail:
22322 return NULL;
22323}
22324
22325
c32bde28 22326static PyObject *_wrap_ListItem_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22327 PyObject *resultobj;
22328 wxListItem *arg1 = (wxListItem *) 0 ;
22329 wxString *result;
22330 PyObject * obj0 = 0 ;
22331 char *kwnames[] = {
22332 (char *) "self", NULL
22333 };
22334
22335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetText",kwnames,&obj0)) goto fail;
093d3ff1
RD
22336 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22337 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22338 {
22339 PyThreadState* __tstate = wxPyBeginAllowThreads();
22340 {
22341 wxString const &_result_ref = (arg1)->GetText();
22342 result = (wxString *) &_result_ref;
22343 }
22344
22345 wxPyEndAllowThreads(__tstate);
22346 if (PyErr_Occurred()) SWIG_fail;
22347 }
22348 {
22349#if wxUSE_UNICODE
22350 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
22351#else
22352 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
22353#endif
22354 }
22355 return resultobj;
22356 fail:
22357 return NULL;
22358}
22359
22360
c32bde28 22361static PyObject *_wrap_ListItem_GetImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22362 PyObject *resultobj;
22363 wxListItem *arg1 = (wxListItem *) 0 ;
22364 int result;
22365 PyObject * obj0 = 0 ;
22366 char *kwnames[] = {
22367 (char *) "self", NULL
22368 };
22369
22370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetImage",kwnames,&obj0)) goto fail;
093d3ff1
RD
22371 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22372 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22373 {
22374 PyThreadState* __tstate = wxPyBeginAllowThreads();
22375 result = (int)(arg1)->GetImage();
22376
22377 wxPyEndAllowThreads(__tstate);
22378 if (PyErr_Occurred()) SWIG_fail;
22379 }
093d3ff1
RD
22380 {
22381 resultobj = SWIG_From_int((int)(result));
22382 }
d55e5bfc
RD
22383 return resultobj;
22384 fail:
22385 return NULL;
22386}
22387
22388
c32bde28 22389static PyObject *_wrap_ListItem_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22390 PyObject *resultobj;
22391 wxListItem *arg1 = (wxListItem *) 0 ;
22392 long result;
22393 PyObject * obj0 = 0 ;
22394 char *kwnames[] = {
22395 (char *) "self", NULL
22396 };
22397
22398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetData",kwnames,&obj0)) goto fail;
093d3ff1
RD
22399 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22400 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22401 {
22402 PyThreadState* __tstate = wxPyBeginAllowThreads();
22403 result = (long)(arg1)->GetData();
22404
22405 wxPyEndAllowThreads(__tstate);
22406 if (PyErr_Occurred()) SWIG_fail;
22407 }
093d3ff1
RD
22408 {
22409 resultobj = SWIG_From_long((long)(result));
22410 }
d55e5bfc
RD
22411 return resultobj;
22412 fail:
22413 return NULL;
22414}
22415
22416
c32bde28 22417static PyObject *_wrap_ListItem_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22418 PyObject *resultobj;
22419 wxListItem *arg1 = (wxListItem *) 0 ;
22420 int result;
22421 PyObject * obj0 = 0 ;
22422 char *kwnames[] = {
22423 (char *) "self", NULL
22424 };
22425
22426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetWidth",kwnames,&obj0)) goto fail;
093d3ff1
RD
22427 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22428 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22429 {
22430 PyThreadState* __tstate = wxPyBeginAllowThreads();
22431 result = (int)(arg1)->GetWidth();
22432
22433 wxPyEndAllowThreads(__tstate);
22434 if (PyErr_Occurred()) SWIG_fail;
22435 }
093d3ff1
RD
22436 {
22437 resultobj = SWIG_From_int((int)(result));
22438 }
d55e5bfc
RD
22439 return resultobj;
22440 fail:
22441 return NULL;
22442}
22443
22444
c32bde28 22445static PyObject *_wrap_ListItem_GetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22446 PyObject *resultobj;
22447 wxListItem *arg1 = (wxListItem *) 0 ;
093d3ff1 22448 wxListColumnFormat result;
d55e5bfc
RD
22449 PyObject * obj0 = 0 ;
22450 char *kwnames[] = {
22451 (char *) "self", NULL
22452 };
22453
22454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAlign",kwnames,&obj0)) goto fail;
093d3ff1
RD
22455 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22456 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22457 {
22458 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 22459 result = (wxListColumnFormat)(arg1)->GetAlign();
d55e5bfc
RD
22460
22461 wxPyEndAllowThreads(__tstate);
22462 if (PyErr_Occurred()) SWIG_fail;
22463 }
093d3ff1 22464 resultobj = SWIG_From_int((result));
d55e5bfc
RD
22465 return resultobj;
22466 fail:
22467 return NULL;
22468}
22469
22470
c32bde28 22471static PyObject *_wrap_ListItem_GetAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22472 PyObject *resultobj;
22473 wxListItem *arg1 = (wxListItem *) 0 ;
22474 wxListItemAttr *result;
22475 PyObject * obj0 = 0 ;
22476 char *kwnames[] = {
22477 (char *) "self", NULL
22478 };
22479
22480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAttributes",kwnames,&obj0)) goto fail;
093d3ff1
RD
22481 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22482 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22483 {
22484 PyThreadState* __tstate = wxPyBeginAllowThreads();
22485 result = (wxListItemAttr *)(arg1)->GetAttributes();
22486
22487 wxPyEndAllowThreads(__tstate);
22488 if (PyErr_Occurred()) SWIG_fail;
22489 }
22490 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 0);
22491 return resultobj;
22492 fail:
22493 return NULL;
22494}
22495
22496
c32bde28 22497static PyObject *_wrap_ListItem_HasAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22498 PyObject *resultobj;
22499 wxListItem *arg1 = (wxListItem *) 0 ;
22500 bool result;
22501 PyObject * obj0 = 0 ;
22502 char *kwnames[] = {
22503 (char *) "self", NULL
22504 };
22505
22506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_HasAttributes",kwnames,&obj0)) goto fail;
093d3ff1
RD
22507 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22508 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22509 {
22510 PyThreadState* __tstate = wxPyBeginAllowThreads();
22511 result = (bool)(arg1)->HasAttributes();
22512
22513 wxPyEndAllowThreads(__tstate);
22514 if (PyErr_Occurred()) SWIG_fail;
22515 }
22516 {
22517 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22518 }
22519 return resultobj;
22520 fail:
22521 return NULL;
22522}
22523
22524
c32bde28 22525static PyObject *_wrap_ListItem_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22526 PyObject *resultobj;
22527 wxListItem *arg1 = (wxListItem *) 0 ;
22528 wxColour result;
22529 PyObject * obj0 = 0 ;
22530 char *kwnames[] = {
22531 (char *) "self", NULL
22532 };
22533
22534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetTextColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
22535 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22536 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22537 {
22538 PyThreadState* __tstate = wxPyBeginAllowThreads();
22539 result = ((wxListItem const *)arg1)->GetTextColour();
22540
22541 wxPyEndAllowThreads(__tstate);
22542 if (PyErr_Occurred()) SWIG_fail;
22543 }
22544 {
22545 wxColour * resultptr;
093d3ff1 22546 resultptr = new wxColour((wxColour &)(result));
d55e5bfc
RD
22547 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
22548 }
22549 return resultobj;
22550 fail:
22551 return NULL;
22552}
22553
22554
c32bde28 22555static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22556 PyObject *resultobj;
22557 wxListItem *arg1 = (wxListItem *) 0 ;
22558 wxColour result;
22559 PyObject * obj0 = 0 ;
22560 char *kwnames[] = {
22561 (char *) "self", NULL
22562 };
22563
22564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
22565 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22566 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22567 {
22568 PyThreadState* __tstate = wxPyBeginAllowThreads();
22569 result = ((wxListItem const *)arg1)->GetBackgroundColour();
22570
22571 wxPyEndAllowThreads(__tstate);
22572 if (PyErr_Occurred()) SWIG_fail;
22573 }
22574 {
22575 wxColour * resultptr;
093d3ff1 22576 resultptr = new wxColour((wxColour &)(result));
d55e5bfc
RD
22577 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
22578 }
22579 return resultobj;
22580 fail:
22581 return NULL;
22582}
22583
22584
c32bde28 22585static PyObject *_wrap_ListItem_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22586 PyObject *resultobj;
22587 wxListItem *arg1 = (wxListItem *) 0 ;
22588 wxFont result;
22589 PyObject * obj0 = 0 ;
22590 char *kwnames[] = {
22591 (char *) "self", NULL
22592 };
22593
22594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetFont",kwnames,&obj0)) goto fail;
093d3ff1
RD
22595 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22596 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22597 {
22598 PyThreadState* __tstate = wxPyBeginAllowThreads();
22599 result = ((wxListItem const *)arg1)->GetFont();
22600
22601 wxPyEndAllowThreads(__tstate);
22602 if (PyErr_Occurred()) SWIG_fail;
22603 }
22604 {
22605 wxFont * resultptr;
093d3ff1 22606 resultptr = new wxFont((wxFont &)(result));
d55e5bfc
RD
22607 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
22608 }
22609 return resultobj;
22610 fail:
22611 return NULL;
22612}
22613
22614
c32bde28 22615static PyObject *_wrap_ListItem_m_mask_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22616 PyObject *resultobj;
22617 wxListItem *arg1 = (wxListItem *) 0 ;
22618 long arg2 ;
22619 PyObject * obj0 = 0 ;
22620 PyObject * obj1 = 0 ;
22621 char *kwnames[] = {
22622 (char *) "self",(char *) "m_mask", NULL
22623 };
22624
22625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_mask_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22626 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22627 if (SWIG_arg_fail(1)) SWIG_fail;
22628 {
22629 arg2 = (long)(SWIG_As_long(obj1));
22630 if (SWIG_arg_fail(2)) SWIG_fail;
22631 }
d55e5bfc
RD
22632 if (arg1) (arg1)->m_mask = arg2;
22633
22634 Py_INCREF(Py_None); resultobj = Py_None;
22635 return resultobj;
22636 fail:
22637 return NULL;
22638}
22639
22640
c32bde28 22641static PyObject *_wrap_ListItem_m_mask_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22642 PyObject *resultobj;
22643 wxListItem *arg1 = (wxListItem *) 0 ;
22644 long result;
22645 PyObject * obj0 = 0 ;
22646 char *kwnames[] = {
22647 (char *) "self", NULL
22648 };
22649
22650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_mask_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
22651 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22652 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22653 result = (long) ((arg1)->m_mask);
22654
093d3ff1
RD
22655 {
22656 resultobj = SWIG_From_long((long)(result));
22657 }
d55e5bfc
RD
22658 return resultobj;
22659 fail:
22660 return NULL;
22661}
22662
22663
c32bde28 22664static PyObject *_wrap_ListItem_m_itemId_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22665 PyObject *resultobj;
22666 wxListItem *arg1 = (wxListItem *) 0 ;
22667 long arg2 ;
22668 PyObject * obj0 = 0 ;
22669 PyObject * obj1 = 0 ;
22670 char *kwnames[] = {
22671 (char *) "self",(char *) "m_itemId", NULL
22672 };
22673
22674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_itemId_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22675 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22676 if (SWIG_arg_fail(1)) SWIG_fail;
22677 {
22678 arg2 = (long)(SWIG_As_long(obj1));
22679 if (SWIG_arg_fail(2)) SWIG_fail;
22680 }
d55e5bfc
RD
22681 if (arg1) (arg1)->m_itemId = arg2;
22682
22683 Py_INCREF(Py_None); resultobj = Py_None;
22684 return resultobj;
22685 fail:
22686 return NULL;
22687}
22688
22689
c32bde28 22690static PyObject *_wrap_ListItem_m_itemId_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22691 PyObject *resultobj;
22692 wxListItem *arg1 = (wxListItem *) 0 ;
22693 long result;
22694 PyObject * obj0 = 0 ;
22695 char *kwnames[] = {
22696 (char *) "self", NULL
22697 };
22698
22699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_itemId_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
22700 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22701 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22702 result = (long) ((arg1)->m_itemId);
22703
093d3ff1
RD
22704 {
22705 resultobj = SWIG_From_long((long)(result));
22706 }
d55e5bfc
RD
22707 return resultobj;
22708 fail:
22709 return NULL;
22710}
22711
22712
c32bde28 22713static PyObject *_wrap_ListItem_m_col_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22714 PyObject *resultobj;
22715 wxListItem *arg1 = (wxListItem *) 0 ;
22716 int arg2 ;
22717 PyObject * obj0 = 0 ;
22718 PyObject * obj1 = 0 ;
22719 char *kwnames[] = {
22720 (char *) "self",(char *) "m_col", NULL
22721 };
22722
22723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_col_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22724 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22725 if (SWIG_arg_fail(1)) SWIG_fail;
22726 {
22727 arg2 = (int)(SWIG_As_int(obj1));
22728 if (SWIG_arg_fail(2)) SWIG_fail;
22729 }
d55e5bfc
RD
22730 if (arg1) (arg1)->m_col = arg2;
22731
22732 Py_INCREF(Py_None); resultobj = Py_None;
22733 return resultobj;
22734 fail:
22735 return NULL;
22736}
22737
22738
c32bde28 22739static PyObject *_wrap_ListItem_m_col_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22740 PyObject *resultobj;
22741 wxListItem *arg1 = (wxListItem *) 0 ;
22742 int result;
22743 PyObject * obj0 = 0 ;
22744 char *kwnames[] = {
22745 (char *) "self", NULL
22746 };
22747
22748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_col_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
22749 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22750 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22751 result = (int) ((arg1)->m_col);
22752
093d3ff1
RD
22753 {
22754 resultobj = SWIG_From_int((int)(result));
22755 }
d55e5bfc
RD
22756 return resultobj;
22757 fail:
22758 return NULL;
22759}
22760
22761
c32bde28 22762static PyObject *_wrap_ListItem_m_state_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22763 PyObject *resultobj;
22764 wxListItem *arg1 = (wxListItem *) 0 ;
22765 long arg2 ;
22766 PyObject * obj0 = 0 ;
22767 PyObject * obj1 = 0 ;
22768 char *kwnames[] = {
22769 (char *) "self",(char *) "m_state", NULL
22770 };
22771
22772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_state_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22773 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22774 if (SWIG_arg_fail(1)) SWIG_fail;
22775 {
22776 arg2 = (long)(SWIG_As_long(obj1));
22777 if (SWIG_arg_fail(2)) SWIG_fail;
22778 }
d55e5bfc
RD
22779 if (arg1) (arg1)->m_state = arg2;
22780
22781 Py_INCREF(Py_None); resultobj = Py_None;
22782 return resultobj;
22783 fail:
22784 return NULL;
22785}
22786
22787
c32bde28 22788static PyObject *_wrap_ListItem_m_state_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22789 PyObject *resultobj;
22790 wxListItem *arg1 = (wxListItem *) 0 ;
22791 long result;
22792 PyObject * obj0 = 0 ;
22793 char *kwnames[] = {
22794 (char *) "self", NULL
22795 };
22796
22797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_state_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
22798 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22799 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22800 result = (long) ((arg1)->m_state);
22801
093d3ff1
RD
22802 {
22803 resultobj = SWIG_From_long((long)(result));
22804 }
d55e5bfc
RD
22805 return resultobj;
22806 fail:
22807 return NULL;
22808}
22809
22810
c32bde28 22811static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22812 PyObject *resultobj;
22813 wxListItem *arg1 = (wxListItem *) 0 ;
22814 long arg2 ;
22815 PyObject * obj0 = 0 ;
22816 PyObject * obj1 = 0 ;
22817 char *kwnames[] = {
22818 (char *) "self",(char *) "m_stateMask", NULL
22819 };
22820
22821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_stateMask_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22822 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22823 if (SWIG_arg_fail(1)) SWIG_fail;
22824 {
22825 arg2 = (long)(SWIG_As_long(obj1));
22826 if (SWIG_arg_fail(2)) SWIG_fail;
22827 }
d55e5bfc
RD
22828 if (arg1) (arg1)->m_stateMask = arg2;
22829
22830 Py_INCREF(Py_None); resultobj = Py_None;
22831 return resultobj;
22832 fail:
22833 return NULL;
22834}
22835
22836
c32bde28 22837static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22838 PyObject *resultobj;
22839 wxListItem *arg1 = (wxListItem *) 0 ;
22840 long result;
22841 PyObject * obj0 = 0 ;
22842 char *kwnames[] = {
22843 (char *) "self", NULL
22844 };
22845
22846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_stateMask_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
22847 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22848 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22849 result = (long) ((arg1)->m_stateMask);
22850
093d3ff1
RD
22851 {
22852 resultobj = SWIG_From_long((long)(result));
22853 }
d55e5bfc
RD
22854 return resultobj;
22855 fail:
22856 return NULL;
22857}
22858
22859
c32bde28 22860static PyObject *_wrap_ListItem_m_text_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22861 PyObject *resultobj;
22862 wxListItem *arg1 = (wxListItem *) 0 ;
22863 wxString *arg2 = (wxString *) 0 ;
ae8162c8 22864 bool temp2 = false ;
d55e5bfc
RD
22865 PyObject * obj0 = 0 ;
22866 PyObject * obj1 = 0 ;
22867 char *kwnames[] = {
22868 (char *) "self",(char *) "m_text", NULL
22869 };
22870
22871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22872 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22873 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22874 {
22875 arg2 = wxString_in_helper(obj1);
22876 if (arg2 == NULL) SWIG_fail;
ae8162c8 22877 temp2 = true;
d55e5bfc
RD
22878 }
22879 if (arg1) (arg1)->m_text = *arg2;
22880
22881 Py_INCREF(Py_None); resultobj = Py_None;
22882 {
22883 if (temp2)
22884 delete arg2;
22885 }
22886 return resultobj;
22887 fail:
22888 {
22889 if (temp2)
22890 delete arg2;
22891 }
22892 return NULL;
22893}
22894
22895
c32bde28 22896static PyObject *_wrap_ListItem_m_text_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22897 PyObject *resultobj;
22898 wxListItem *arg1 = (wxListItem *) 0 ;
22899 wxString *result;
22900 PyObject * obj0 = 0 ;
22901 char *kwnames[] = {
22902 (char *) "self", NULL
22903 };
22904
22905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
22906 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22907 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22908 result = (wxString *)& ((arg1)->m_text);
22909
22910 {
22911#if wxUSE_UNICODE
22912 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
22913#else
22914 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
22915#endif
22916 }
22917 return resultobj;
22918 fail:
22919 return NULL;
22920}
22921
22922
c32bde28 22923static PyObject *_wrap_ListItem_m_image_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22924 PyObject *resultobj;
22925 wxListItem *arg1 = (wxListItem *) 0 ;
22926 int arg2 ;
22927 PyObject * obj0 = 0 ;
22928 PyObject * obj1 = 0 ;
22929 char *kwnames[] = {
22930 (char *) "self",(char *) "m_image", NULL
22931 };
22932
22933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_image_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22934 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22935 if (SWIG_arg_fail(1)) SWIG_fail;
22936 {
22937 arg2 = (int)(SWIG_As_int(obj1));
22938 if (SWIG_arg_fail(2)) SWIG_fail;
22939 }
d55e5bfc
RD
22940 if (arg1) (arg1)->m_image = arg2;
22941
22942 Py_INCREF(Py_None); resultobj = Py_None;
22943 return resultobj;
22944 fail:
22945 return NULL;
22946}
22947
22948
c32bde28 22949static PyObject *_wrap_ListItem_m_image_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22950 PyObject *resultobj;
22951 wxListItem *arg1 = (wxListItem *) 0 ;
22952 int result;
22953 PyObject * obj0 = 0 ;
22954 char *kwnames[] = {
22955 (char *) "self", NULL
22956 };
22957
22958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
22959 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22960 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22961 result = (int) ((arg1)->m_image);
22962
093d3ff1
RD
22963 {
22964 resultobj = SWIG_From_int((int)(result));
22965 }
d55e5bfc
RD
22966 return resultobj;
22967 fail:
22968 return NULL;
22969}
22970
22971
c32bde28 22972static PyObject *_wrap_ListItem_m_data_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22973 PyObject *resultobj;
22974 wxListItem *arg1 = (wxListItem *) 0 ;
22975 long arg2 ;
22976 PyObject * obj0 = 0 ;
22977 PyObject * obj1 = 0 ;
22978 char *kwnames[] = {
22979 (char *) "self",(char *) "m_data", NULL
22980 };
22981
22982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_data_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22983 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22984 if (SWIG_arg_fail(1)) SWIG_fail;
22985 {
22986 arg2 = (long)(SWIG_As_long(obj1));
22987 if (SWIG_arg_fail(2)) SWIG_fail;
22988 }
d55e5bfc
RD
22989 if (arg1) (arg1)->m_data = arg2;
22990
22991 Py_INCREF(Py_None); resultobj = Py_None;
22992 return resultobj;
22993 fail:
22994 return NULL;
22995}
22996
22997
c32bde28 22998static PyObject *_wrap_ListItem_m_data_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22999 PyObject *resultobj;
23000 wxListItem *arg1 = (wxListItem *) 0 ;
23001 long result;
23002 PyObject * obj0 = 0 ;
23003 char *kwnames[] = {
23004 (char *) "self", NULL
23005 };
23006
23007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_data_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
23008 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23009 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23010 result = (long) ((arg1)->m_data);
23011
093d3ff1
RD
23012 {
23013 resultobj = SWIG_From_long((long)(result));
23014 }
d55e5bfc
RD
23015 return resultobj;
23016 fail:
23017 return NULL;
23018}
23019
23020
c32bde28 23021static PyObject *_wrap_ListItem_m_format_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23022 PyObject *resultobj;
23023 wxListItem *arg1 = (wxListItem *) 0 ;
23024 int arg2 ;
23025 PyObject * obj0 = 0 ;
23026 PyObject * obj1 = 0 ;
23027 char *kwnames[] = {
23028 (char *) "self",(char *) "m_format", NULL
23029 };
23030
23031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_format_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23032 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23033 if (SWIG_arg_fail(1)) SWIG_fail;
23034 {
23035 arg2 = (int)(SWIG_As_int(obj1));
23036 if (SWIG_arg_fail(2)) SWIG_fail;
23037 }
d55e5bfc
RD
23038 if (arg1) (arg1)->m_format = arg2;
23039
23040 Py_INCREF(Py_None); resultobj = Py_None;
23041 return resultobj;
23042 fail:
23043 return NULL;
23044}
23045
23046
c32bde28 23047static PyObject *_wrap_ListItem_m_format_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23048 PyObject *resultobj;
23049 wxListItem *arg1 = (wxListItem *) 0 ;
23050 int result;
23051 PyObject * obj0 = 0 ;
23052 char *kwnames[] = {
23053 (char *) "self", NULL
23054 };
23055
23056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_format_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
23057 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23058 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23059 result = (int) ((arg1)->m_format);
23060
093d3ff1
RD
23061 {
23062 resultobj = SWIG_From_int((int)(result));
23063 }
d55e5bfc
RD
23064 return resultobj;
23065 fail:
23066 return NULL;
23067}
23068
23069
c32bde28 23070static PyObject *_wrap_ListItem_m_width_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23071 PyObject *resultobj;
23072 wxListItem *arg1 = (wxListItem *) 0 ;
23073 int arg2 ;
23074 PyObject * obj0 = 0 ;
23075 PyObject * obj1 = 0 ;
23076 char *kwnames[] = {
23077 (char *) "self",(char *) "m_width", NULL
23078 };
23079
23080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_width_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23081 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23082 if (SWIG_arg_fail(1)) SWIG_fail;
23083 {
23084 arg2 = (int)(SWIG_As_int(obj1));
23085 if (SWIG_arg_fail(2)) SWIG_fail;
23086 }
d55e5bfc
RD
23087 if (arg1) (arg1)->m_width = arg2;
23088
23089 Py_INCREF(Py_None); resultobj = Py_None;
23090 return resultobj;
23091 fail:
23092 return NULL;
23093}
23094
23095
c32bde28 23096static PyObject *_wrap_ListItem_m_width_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23097 PyObject *resultobj;
23098 wxListItem *arg1 = (wxListItem *) 0 ;
23099 int result;
23100 PyObject * obj0 = 0 ;
23101 char *kwnames[] = {
23102 (char *) "self", NULL
23103 };
23104
23105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
23106 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23107 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23108 result = (int) ((arg1)->m_width);
23109
093d3ff1
RD
23110 {
23111 resultobj = SWIG_From_int((int)(result));
23112 }
d55e5bfc
RD
23113 return resultobj;
23114 fail:
23115 return NULL;
23116}
23117
23118
c32bde28 23119static PyObject * ListItem_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
23120 PyObject *obj;
23121 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23122 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
23123 Py_INCREF(obj);
23124 return Py_BuildValue((char *)"");
23125}
c32bde28 23126static PyObject *_wrap_new_ListEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23127 PyObject *resultobj;
23128 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
23129 int arg2 = (int) 0 ;
23130 wxListEvent *result;
23131 PyObject * obj0 = 0 ;
23132 PyObject * obj1 = 0 ;
23133 char *kwnames[] = {
23134 (char *) "commandType",(char *) "id", NULL
23135 };
23136
23137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ListEvent",kwnames,&obj0,&obj1)) goto fail;
23138 if (obj0) {
093d3ff1
RD
23139 {
23140 arg1 = (wxEventType)(SWIG_As_int(obj0));
23141 if (SWIG_arg_fail(1)) SWIG_fail;
23142 }
d55e5bfc
RD
23143 }
23144 if (obj1) {
093d3ff1
RD
23145 {
23146 arg2 = (int)(SWIG_As_int(obj1));
23147 if (SWIG_arg_fail(2)) SWIG_fail;
23148 }
d55e5bfc
RD
23149 }
23150 {
23151 PyThreadState* __tstate = wxPyBeginAllowThreads();
23152 result = (wxListEvent *)new wxListEvent(arg1,arg2);
23153
23154 wxPyEndAllowThreads(__tstate);
23155 if (PyErr_Occurred()) SWIG_fail;
23156 }
23157 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListEvent, 1);
23158 return resultobj;
23159 fail:
23160 return NULL;
23161}
23162
23163
c32bde28 23164static PyObject *_wrap_ListEvent_m_code_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23165 PyObject *resultobj;
23166 wxListEvent *arg1 = (wxListEvent *) 0 ;
23167 int arg2 ;
23168 PyObject * obj0 = 0 ;
23169 PyObject * obj1 = 0 ;
23170 char *kwnames[] = {
23171 (char *) "self",(char *) "m_code", NULL
23172 };
23173
23174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_code_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23175 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23176 if (SWIG_arg_fail(1)) SWIG_fail;
23177 {
23178 arg2 = (int)(SWIG_As_int(obj1));
23179 if (SWIG_arg_fail(2)) SWIG_fail;
23180 }
d55e5bfc
RD
23181 if (arg1) (arg1)->m_code = arg2;
23182
23183 Py_INCREF(Py_None); resultobj = Py_None;
23184 return resultobj;
23185 fail:
23186 return NULL;
23187}
23188
23189
c32bde28 23190static PyObject *_wrap_ListEvent_m_code_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23191 PyObject *resultobj;
23192 wxListEvent *arg1 = (wxListEvent *) 0 ;
23193 int result;
23194 PyObject * obj0 = 0 ;
23195 char *kwnames[] = {
23196 (char *) "self", NULL
23197 };
23198
23199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
23200 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23201 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23202 result = (int) ((arg1)->m_code);
23203
093d3ff1
RD
23204 {
23205 resultobj = SWIG_From_int((int)(result));
23206 }
d55e5bfc
RD
23207 return resultobj;
23208 fail:
23209 return NULL;
23210}
23211
23212
c32bde28 23213static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23214 PyObject *resultobj;
23215 wxListEvent *arg1 = (wxListEvent *) 0 ;
23216 long arg2 ;
23217 PyObject * obj0 = 0 ;
23218 PyObject * obj1 = 0 ;
23219 char *kwnames[] = {
23220 (char *) "self",(char *) "m_oldItemIndex", NULL
23221 };
23222
23223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23224 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23225 if (SWIG_arg_fail(1)) SWIG_fail;
23226 {
23227 arg2 = (long)(SWIG_As_long(obj1));
23228 if (SWIG_arg_fail(2)) SWIG_fail;
23229 }
d55e5bfc
RD
23230 if (arg1) (arg1)->m_oldItemIndex = arg2;
23231
23232 Py_INCREF(Py_None); resultobj = Py_None;
23233 return resultobj;
23234 fail:
23235 return NULL;
23236}
23237
23238
c32bde28 23239static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23240 PyObject *resultobj;
23241 wxListEvent *arg1 = (wxListEvent *) 0 ;
23242 long result;
23243 PyObject * obj0 = 0 ;
23244 char *kwnames[] = {
23245 (char *) "self", NULL
23246 };
23247
23248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
23249 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23250 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23251 result = (long) ((arg1)->m_oldItemIndex);
23252
093d3ff1
RD
23253 {
23254 resultobj = SWIG_From_long((long)(result));
23255 }
d55e5bfc
RD
23256 return resultobj;
23257 fail:
23258 return NULL;
23259}
23260
23261
c32bde28 23262static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23263 PyObject *resultobj;
23264 wxListEvent *arg1 = (wxListEvent *) 0 ;
23265 long arg2 ;
23266 PyObject * obj0 = 0 ;
23267 PyObject * obj1 = 0 ;
23268 char *kwnames[] = {
23269 (char *) "self",(char *) "m_itemIndex", NULL
23270 };
23271
23272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_itemIndex_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23273 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23274 if (SWIG_arg_fail(1)) SWIG_fail;
23275 {
23276 arg2 = (long)(SWIG_As_long(obj1));
23277 if (SWIG_arg_fail(2)) SWIG_fail;
23278 }
d55e5bfc
RD
23279 if (arg1) (arg1)->m_itemIndex = arg2;
23280
23281 Py_INCREF(Py_None); resultobj = Py_None;
23282 return resultobj;
23283 fail:
23284 return NULL;
23285}
23286
23287
c32bde28 23288static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23289 PyObject *resultobj;
23290 wxListEvent *arg1 = (wxListEvent *) 0 ;
23291 long result;
23292 PyObject * obj0 = 0 ;
23293 char *kwnames[] = {
23294 (char *) "self", NULL
23295 };
23296
23297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
23298 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23299 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23300 result = (long) ((arg1)->m_itemIndex);
23301
093d3ff1
RD
23302 {
23303 resultobj = SWIG_From_long((long)(result));
23304 }
d55e5bfc
RD
23305 return resultobj;
23306 fail:
23307 return NULL;
23308}
23309
23310
c32bde28 23311static PyObject *_wrap_ListEvent_m_col_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23312 PyObject *resultobj;
23313 wxListEvent *arg1 = (wxListEvent *) 0 ;
23314 int arg2 ;
23315 PyObject * obj0 = 0 ;
23316 PyObject * obj1 = 0 ;
23317 char *kwnames[] = {
23318 (char *) "self",(char *) "m_col", NULL
23319 };
23320
23321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_col_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23322 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23323 if (SWIG_arg_fail(1)) SWIG_fail;
23324 {
23325 arg2 = (int)(SWIG_As_int(obj1));
23326 if (SWIG_arg_fail(2)) SWIG_fail;
23327 }
d55e5bfc
RD
23328 if (arg1) (arg1)->m_col = arg2;
23329
23330 Py_INCREF(Py_None); resultobj = Py_None;
23331 return resultobj;
23332 fail:
23333 return NULL;
23334}
23335
23336
c32bde28 23337static PyObject *_wrap_ListEvent_m_col_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23338 PyObject *resultobj;
23339 wxListEvent *arg1 = (wxListEvent *) 0 ;
23340 int result;
23341 PyObject * obj0 = 0 ;
23342 char *kwnames[] = {
23343 (char *) "self", NULL
23344 };
23345
23346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_col_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
23347 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23348 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23349 result = (int) ((arg1)->m_col);
23350
093d3ff1
RD
23351 {
23352 resultobj = SWIG_From_int((int)(result));
23353 }
d55e5bfc
RD
23354 return resultobj;
23355 fail:
23356 return NULL;
23357}
23358
23359
c32bde28 23360static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23361 PyObject *resultobj;
23362 wxListEvent *arg1 = (wxListEvent *) 0 ;
23363 wxPoint *arg2 = (wxPoint *) 0 ;
23364 PyObject * obj0 = 0 ;
23365 PyObject * obj1 = 0 ;
23366 char *kwnames[] = {
23367 (char *) "self",(char *) "m_pointDrag", NULL
23368 };
23369
23370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23371 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23372 if (SWIG_arg_fail(1)) SWIG_fail;
23373 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | 0);
23374 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
23375 if (arg1) (arg1)->m_pointDrag = *arg2;
23376
23377 Py_INCREF(Py_None); resultobj = Py_None;
23378 return resultobj;
23379 fail:
23380 return NULL;
23381}
23382
23383
c32bde28 23384static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23385 PyObject *resultobj;
23386 wxListEvent *arg1 = (wxListEvent *) 0 ;
23387 wxPoint *result;
23388 PyObject * obj0 = 0 ;
23389 char *kwnames[] = {
23390 (char *) "self", NULL
23391 };
23392
23393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
23394 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23395 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23396 result = (wxPoint *)& ((arg1)->m_pointDrag);
23397
23398 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
23399 return resultobj;
23400 fail:
23401 return NULL;
23402}
23403
23404
c32bde28 23405static PyObject *_wrap_ListEvent_m_item_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23406 PyObject *resultobj;
23407 wxListEvent *arg1 = (wxListEvent *) 0 ;
23408 wxListItem *result;
23409 PyObject * obj0 = 0 ;
23410 char *kwnames[] = {
23411 (char *) "self", NULL
23412 };
23413
23414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
23415 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23416 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23417 result = (wxListItem *)& ((arg1)->m_item);
23418
23419 {
412d302d 23420 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
23421 }
23422 return resultobj;
23423 fail:
23424 return NULL;
23425}
23426
23427
c32bde28 23428static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23429 PyObject *resultobj;
23430 wxListEvent *arg1 = (wxListEvent *) 0 ;
23431 int result;
23432 PyObject * obj0 = 0 ;
23433 char *kwnames[] = {
23434 (char *) "self", NULL
23435 };
23436
23437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetKeyCode",kwnames,&obj0)) goto fail;
093d3ff1
RD
23438 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23439 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23440 {
23441 PyThreadState* __tstate = wxPyBeginAllowThreads();
23442 result = (int)(arg1)->GetKeyCode();
23443
23444 wxPyEndAllowThreads(__tstate);
23445 if (PyErr_Occurred()) SWIG_fail;
23446 }
093d3ff1
RD
23447 {
23448 resultobj = SWIG_From_int((int)(result));
23449 }
d55e5bfc
RD
23450 return resultobj;
23451 fail:
23452 return NULL;
23453}
23454
23455
c32bde28 23456static PyObject *_wrap_ListEvent_GetIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23457 PyObject *resultobj;
23458 wxListEvent *arg1 = (wxListEvent *) 0 ;
23459 long result;
23460 PyObject * obj0 = 0 ;
23461 char *kwnames[] = {
23462 (char *) "self", NULL
23463 };
23464
23465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetIndex",kwnames,&obj0)) goto fail;
093d3ff1
RD
23466 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23467 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23468 {
23469 PyThreadState* __tstate = wxPyBeginAllowThreads();
23470 result = (long)(arg1)->GetIndex();
23471
23472 wxPyEndAllowThreads(__tstate);
23473 if (PyErr_Occurred()) SWIG_fail;
23474 }
093d3ff1
RD
23475 {
23476 resultobj = SWIG_From_long((long)(result));
23477 }
d55e5bfc
RD
23478 return resultobj;
23479 fail:
23480 return NULL;
23481}
23482
23483
c32bde28 23484static PyObject *_wrap_ListEvent_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23485 PyObject *resultobj;
23486 wxListEvent *arg1 = (wxListEvent *) 0 ;
23487 int result;
23488 PyObject * obj0 = 0 ;
23489 char *kwnames[] = {
23490 (char *) "self", NULL
23491 };
23492
23493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",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 {
23497 PyThreadState* __tstate = wxPyBeginAllowThreads();
23498 result = (int)(arg1)->GetColumn();
23499
23500 wxPyEndAllowThreads(__tstate);
23501 if (PyErr_Occurred()) SWIG_fail;
23502 }
093d3ff1
RD
23503 {
23504 resultobj = SWIG_From_int((int)(result));
23505 }
d55e5bfc
RD
23506 return resultobj;
23507 fail:
23508 return NULL;
23509}
23510
23511
c32bde28 23512static PyObject *_wrap_ListEvent_GetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23513 PyObject *resultobj;
23514 wxListEvent *arg1 = (wxListEvent *) 0 ;
23515 wxPoint result;
23516 PyObject * obj0 = 0 ;
23517 char *kwnames[] = {
23518 (char *) "self", NULL
23519 };
23520
23521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",kwnames,&obj0)) goto fail;
093d3ff1
RD
23522 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23523 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23524 {
23525 PyThreadState* __tstate = wxPyBeginAllowThreads();
23526 result = (arg1)->GetPoint();
23527
23528 wxPyEndAllowThreads(__tstate);
23529 if (PyErr_Occurred()) SWIG_fail;
23530 }
23531 {
23532 wxPoint * resultptr;
093d3ff1 23533 resultptr = new wxPoint((wxPoint &)(result));
d55e5bfc
RD
23534 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
23535 }
23536 return resultobj;
23537 fail:
23538 return NULL;
23539}
23540
23541
c32bde28 23542static PyObject *_wrap_ListEvent_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23543 PyObject *resultobj;
23544 wxListEvent *arg1 = (wxListEvent *) 0 ;
23545 wxString *result;
23546 PyObject * obj0 = 0 ;
23547 char *kwnames[] = {
23548 (char *) "self", NULL
23549 };
23550
23551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",kwnames,&obj0)) goto fail;
093d3ff1
RD
23552 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23553 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23554 {
23555 PyThreadState* __tstate = wxPyBeginAllowThreads();
23556 {
23557 wxString const &_result_ref = (arg1)->GetLabel();
23558 result = (wxString *) &_result_ref;
23559 }
23560
23561 wxPyEndAllowThreads(__tstate);
23562 if (PyErr_Occurred()) SWIG_fail;
23563 }
23564 {
23565#if wxUSE_UNICODE
23566 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23567#else
23568 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23569#endif
23570 }
23571 return resultobj;
23572 fail:
23573 return NULL;
23574}
23575
23576
c32bde28 23577static PyObject *_wrap_ListEvent_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23578 PyObject *resultobj;
23579 wxListEvent *arg1 = (wxListEvent *) 0 ;
23580 wxString *result;
23581 PyObject * obj0 = 0 ;
23582 char *kwnames[] = {
23583 (char *) "self", NULL
23584 };
23585
23586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
093d3ff1
RD
23587 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23588 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23589 {
23590 PyThreadState* __tstate = wxPyBeginAllowThreads();
23591 {
23592 wxString const &_result_ref = (arg1)->GetText();
23593 result = (wxString *) &_result_ref;
23594 }
23595
23596 wxPyEndAllowThreads(__tstate);
23597 if (PyErr_Occurred()) SWIG_fail;
23598 }
23599 {
23600#if wxUSE_UNICODE
23601 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23602#else
23603 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23604#endif
23605 }
23606 return resultobj;
23607 fail:
23608 return NULL;
23609}
23610
23611
c32bde28 23612static PyObject *_wrap_ListEvent_GetImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23613 PyObject *resultobj;
23614 wxListEvent *arg1 = (wxListEvent *) 0 ;
23615 int result;
23616 PyObject * obj0 = 0 ;
23617 char *kwnames[] = {
23618 (char *) "self", NULL
23619 };
23620
23621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetImage",kwnames,&obj0)) goto fail;
093d3ff1
RD
23622 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23623 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23624 {
23625 PyThreadState* __tstate = wxPyBeginAllowThreads();
23626 result = (int)(arg1)->GetImage();
23627
23628 wxPyEndAllowThreads(__tstate);
23629 if (PyErr_Occurred()) SWIG_fail;
23630 }
093d3ff1
RD
23631 {
23632 resultobj = SWIG_From_int((int)(result));
23633 }
d55e5bfc
RD
23634 return resultobj;
23635 fail:
23636 return NULL;
23637}
23638
23639
c32bde28 23640static PyObject *_wrap_ListEvent_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23641 PyObject *resultobj;
23642 wxListEvent *arg1 = (wxListEvent *) 0 ;
23643 long result;
23644 PyObject * obj0 = 0 ;
23645 char *kwnames[] = {
23646 (char *) "self", NULL
23647 };
23648
23649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetData",kwnames,&obj0)) goto fail;
093d3ff1
RD
23650 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23651 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23652 {
23653 PyThreadState* __tstate = wxPyBeginAllowThreads();
23654 result = (long)(arg1)->GetData();
23655
23656 wxPyEndAllowThreads(__tstate);
23657 if (PyErr_Occurred()) SWIG_fail;
23658 }
093d3ff1
RD
23659 {
23660 resultobj = SWIG_From_long((long)(result));
23661 }
d55e5bfc
RD
23662 return resultobj;
23663 fail:
23664 return NULL;
23665}
23666
23667
c32bde28 23668static PyObject *_wrap_ListEvent_GetMask(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23669 PyObject *resultobj;
23670 wxListEvent *arg1 = (wxListEvent *) 0 ;
23671 long result;
23672 PyObject * obj0 = 0 ;
23673 char *kwnames[] = {
23674 (char *) "self", NULL
23675 };
23676
23677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",kwnames,&obj0)) goto fail;
093d3ff1
RD
23678 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23679 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23680 {
23681 PyThreadState* __tstate = wxPyBeginAllowThreads();
23682 result = (long)(arg1)->GetMask();
23683
23684 wxPyEndAllowThreads(__tstate);
23685 if (PyErr_Occurred()) SWIG_fail;
23686 }
093d3ff1
RD
23687 {
23688 resultobj = SWIG_From_long((long)(result));
23689 }
d55e5bfc
RD
23690 return resultobj;
23691 fail:
23692 return NULL;
23693}
23694
23695
c32bde28 23696static PyObject *_wrap_ListEvent_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23697 PyObject *resultobj;
23698 wxListEvent *arg1 = (wxListEvent *) 0 ;
23699 wxListItem *result;
23700 PyObject * obj0 = 0 ;
23701 char *kwnames[] = {
23702 (char *) "self", NULL
23703 };
23704
23705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",kwnames,&obj0)) goto fail;
093d3ff1
RD
23706 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23707 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23708 {
23709 PyThreadState* __tstate = wxPyBeginAllowThreads();
23710 {
23711 wxListItem const &_result_ref = (arg1)->GetItem();
23712 result = (wxListItem *) &_result_ref;
23713 }
23714
23715 wxPyEndAllowThreads(__tstate);
23716 if (PyErr_Occurred()) SWIG_fail;
23717 }
23718 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItem, 0);
23719 return resultobj;
23720 fail:
23721 return NULL;
23722}
23723
23724
c32bde28 23725static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23726 PyObject *resultobj;
23727 wxListEvent *arg1 = (wxListEvent *) 0 ;
23728 long result;
23729 PyObject * obj0 = 0 ;
23730 char *kwnames[] = {
23731 (char *) "self", NULL
23732 };
23733
23734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheFrom",kwnames,&obj0)) goto fail;
093d3ff1
RD
23735 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23736 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23737 {
23738 PyThreadState* __tstate = wxPyBeginAllowThreads();
23739 result = (long)(arg1)->GetCacheFrom();
23740
23741 wxPyEndAllowThreads(__tstate);
23742 if (PyErr_Occurred()) SWIG_fail;
23743 }
093d3ff1
RD
23744 {
23745 resultobj = SWIG_From_long((long)(result));
23746 }
d55e5bfc
RD
23747 return resultobj;
23748 fail:
23749 return NULL;
23750}
23751
23752
c32bde28 23753static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23754 PyObject *resultobj;
23755 wxListEvent *arg1 = (wxListEvent *) 0 ;
23756 long result;
23757 PyObject * obj0 = 0 ;
23758 char *kwnames[] = {
23759 (char *) "self", NULL
23760 };
23761
23762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",kwnames,&obj0)) goto fail;
093d3ff1
RD
23763 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23764 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23765 {
23766 PyThreadState* __tstate = wxPyBeginAllowThreads();
23767 result = (long)(arg1)->GetCacheTo();
23768
23769 wxPyEndAllowThreads(__tstate);
23770 if (PyErr_Occurred()) SWIG_fail;
23771 }
093d3ff1
RD
23772 {
23773 resultobj = SWIG_From_long((long)(result));
23774 }
d55e5bfc
RD
23775 return resultobj;
23776 fail:
23777 return NULL;
23778}
23779
23780
c32bde28 23781static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23782 PyObject *resultobj;
23783 wxListEvent *arg1 = (wxListEvent *) 0 ;
23784 bool result;
23785 PyObject * obj0 = 0 ;
23786 char *kwnames[] = {
23787 (char *) "self", NULL
23788 };
23789
23790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
093d3ff1
RD
23791 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23792 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23793 {
23794 PyThreadState* __tstate = wxPyBeginAllowThreads();
23795 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
23796
23797 wxPyEndAllowThreads(__tstate);
23798 if (PyErr_Occurred()) SWIG_fail;
23799 }
23800 {
23801 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23802 }
23803 return resultobj;
23804 fail:
23805 return NULL;
23806}
23807
23808
c32bde28 23809static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23810 PyObject *resultobj;
23811 wxListEvent *arg1 = (wxListEvent *) 0 ;
23812 bool arg2 ;
23813 PyObject * obj0 = 0 ;
23814 PyObject * obj1 = 0 ;
23815 char *kwnames[] = {
23816 (char *) "self",(char *) "editCancelled", NULL
23817 };
23818
23819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23820 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23821 if (SWIG_arg_fail(1)) SWIG_fail;
23822 {
23823 arg2 = (bool)(SWIG_As_bool(obj1));
23824 if (SWIG_arg_fail(2)) SWIG_fail;
23825 }
d55e5bfc
RD
23826 {
23827 PyThreadState* __tstate = wxPyBeginAllowThreads();
23828 (arg1)->SetEditCanceled(arg2);
23829
23830 wxPyEndAllowThreads(__tstate);
23831 if (PyErr_Occurred()) SWIG_fail;
23832 }
23833 Py_INCREF(Py_None); resultobj = Py_None;
23834 return resultobj;
23835 fail:
23836 return NULL;
23837}
23838
23839
c32bde28 23840static PyObject * ListEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
23841 PyObject *obj;
23842 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23843 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
23844 Py_INCREF(obj);
23845 return Py_BuildValue((char *)"");
23846}
c32bde28 23847static PyObject *_wrap_new_ListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23848 PyObject *resultobj;
23849 wxWindow *arg1 = (wxWindow *) 0 ;
23850 int arg2 = (int) -1 ;
23851 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23852 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23853 wxSize const &arg4_defvalue = wxDefaultSize ;
23854 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23855 long arg5 = (long) wxLC_ICON ;
23856 wxValidator const &arg6_defvalue = wxDefaultValidator ;
23857 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
23858 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
23859 wxString *arg7 = (wxString *) &arg7_defvalue ;
23860 wxPyListCtrl *result;
23861 wxPoint temp3 ;
23862 wxSize temp4 ;
ae8162c8 23863 bool temp7 = false ;
d55e5bfc
RD
23864 PyObject * obj0 = 0 ;
23865 PyObject * obj1 = 0 ;
23866 PyObject * obj2 = 0 ;
23867 PyObject * obj3 = 0 ;
23868 PyObject * obj4 = 0 ;
23869 PyObject * obj5 = 0 ;
23870 PyObject * obj6 = 0 ;
23871 char *kwnames[] = {
23872 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23873 };
23874
23875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
23876 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
23877 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 23878 if (obj1) {
093d3ff1
RD
23879 {
23880 arg2 = (int)(SWIG_As_int(obj1));
23881 if (SWIG_arg_fail(2)) SWIG_fail;
23882 }
d55e5bfc
RD
23883 }
23884 if (obj2) {
23885 {
23886 arg3 = &temp3;
23887 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23888 }
23889 }
23890 if (obj3) {
23891 {
23892 arg4 = &temp4;
23893 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23894 }
23895 }
23896 if (obj4) {
093d3ff1
RD
23897 {
23898 arg5 = (long)(SWIG_As_long(obj4));
23899 if (SWIG_arg_fail(5)) SWIG_fail;
23900 }
d55e5bfc
RD
23901 }
23902 if (obj5) {
093d3ff1
RD
23903 {
23904 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
23905 if (SWIG_arg_fail(6)) SWIG_fail;
23906 if (arg6 == NULL) {
23907 SWIG_null_ref("wxValidator");
23908 }
23909 if (SWIG_arg_fail(6)) SWIG_fail;
d55e5bfc
RD
23910 }
23911 }
23912 if (obj6) {
23913 {
23914 arg7 = wxString_in_helper(obj6);
23915 if (arg7 == NULL) SWIG_fail;
ae8162c8 23916 temp7 = true;
d55e5bfc
RD
23917 }
23918 }
23919 {
0439c23b 23920 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
23921 PyThreadState* __tstate = wxPyBeginAllowThreads();
23922 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
23923
23924 wxPyEndAllowThreads(__tstate);
110da5b0 23925 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
23926 }
23927 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
23928 {
23929 if (temp7)
23930 delete arg7;
23931 }
23932 return resultobj;
23933 fail:
23934 {
23935 if (temp7)
23936 delete arg7;
23937 }
23938 return NULL;
23939}
23940
23941
c32bde28 23942static PyObject *_wrap_new_PreListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23943 PyObject *resultobj;
23944 wxPyListCtrl *result;
23945 char *kwnames[] = {
23946 NULL
23947 };
23948
23949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
23950 {
0439c23b 23951 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
23952 PyThreadState* __tstate = wxPyBeginAllowThreads();
23953 result = (wxPyListCtrl *)new wxPyListCtrl();
23954
23955 wxPyEndAllowThreads(__tstate);
110da5b0 23956 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
23957 }
23958 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
23959 return resultobj;
23960 fail:
23961 return NULL;
23962}
23963
23964
c32bde28 23965static PyObject *_wrap_ListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23966 PyObject *resultobj;
23967 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23968 wxWindow *arg2 = (wxWindow *) 0 ;
23969 int arg3 = (int) -1 ;
23970 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23971 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23972 wxSize const &arg5_defvalue = wxDefaultSize ;
23973 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23974 long arg6 = (long) wxLC_ICON ;
23975 wxValidator const &arg7_defvalue = wxDefaultValidator ;
23976 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
23977 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
23978 wxString *arg8 = (wxString *) &arg8_defvalue ;
23979 bool result;
23980 wxPoint temp4 ;
23981 wxSize temp5 ;
ae8162c8 23982 bool temp8 = false ;
d55e5bfc
RD
23983 PyObject * obj0 = 0 ;
23984 PyObject * obj1 = 0 ;
23985 PyObject * obj2 = 0 ;
23986 PyObject * obj3 = 0 ;
23987 PyObject * obj4 = 0 ;
23988 PyObject * obj5 = 0 ;
23989 PyObject * obj6 = 0 ;
23990 PyObject * obj7 = 0 ;
23991 char *kwnames[] = {
23992 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23993 };
23994
23995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
23996 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
23997 if (SWIG_arg_fail(1)) SWIG_fail;
23998 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
23999 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 24000 if (obj2) {
093d3ff1
RD
24001 {
24002 arg3 = (int)(SWIG_As_int(obj2));
24003 if (SWIG_arg_fail(3)) SWIG_fail;
24004 }
d55e5bfc
RD
24005 }
24006 if (obj3) {
24007 {
24008 arg4 = &temp4;
24009 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24010 }
24011 }
24012 if (obj4) {
24013 {
24014 arg5 = &temp5;
24015 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24016 }
24017 }
24018 if (obj5) {
093d3ff1
RD
24019 {
24020 arg6 = (long)(SWIG_As_long(obj5));
24021 if (SWIG_arg_fail(6)) SWIG_fail;
24022 }
d55e5bfc
RD
24023 }
24024 if (obj6) {
093d3ff1
RD
24025 {
24026 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
24027 if (SWIG_arg_fail(7)) SWIG_fail;
24028 if (arg7 == NULL) {
24029 SWIG_null_ref("wxValidator");
24030 }
24031 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
24032 }
24033 }
24034 if (obj7) {
24035 {
24036 arg8 = wxString_in_helper(obj7);
24037 if (arg8 == NULL) SWIG_fail;
ae8162c8 24038 temp8 = true;
d55e5bfc
RD
24039 }
24040 }
24041 {
24042 PyThreadState* __tstate = wxPyBeginAllowThreads();
24043 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
24044
24045 wxPyEndAllowThreads(__tstate);
24046 if (PyErr_Occurred()) SWIG_fail;
24047 }
24048 {
24049 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24050 }
24051 {
24052 if (temp8)
24053 delete arg8;
24054 }
24055 return resultobj;
24056 fail:
24057 {
24058 if (temp8)
24059 delete arg8;
24060 }
24061 return NULL;
24062}
24063
24064
c32bde28 24065static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24066 PyObject *resultobj;
24067 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24068 PyObject *arg2 = (PyObject *) 0 ;
24069 PyObject *arg3 = (PyObject *) 0 ;
24070 PyObject * obj0 = 0 ;
24071 PyObject * obj1 = 0 ;
24072 PyObject * obj2 = 0 ;
24073 char *kwnames[] = {
24074 (char *) "self",(char *) "self",(char *) "_class", NULL
24075 };
24076
24077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24078 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24079 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24080 arg2 = obj1;
24081 arg3 = obj2;
24082 {
24083 PyThreadState* __tstate = wxPyBeginAllowThreads();
24084 (arg1)->_setCallbackInfo(arg2,arg3);
24085
24086 wxPyEndAllowThreads(__tstate);
24087 if (PyErr_Occurred()) SWIG_fail;
24088 }
24089 Py_INCREF(Py_None); resultobj = Py_None;
24090 return resultobj;
24091 fail:
24092 return NULL;
24093}
24094
24095
c32bde28 24096static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24097 PyObject *resultobj;
24098 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24099 wxColour *arg2 = 0 ;
24100 bool result;
24101 wxColour temp2 ;
24102 PyObject * obj0 = 0 ;
24103 PyObject * obj1 = 0 ;
24104 char *kwnames[] = {
24105 (char *) "self",(char *) "col", NULL
24106 };
24107
24108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24109 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24110 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24111 {
24112 arg2 = &temp2;
24113 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
24114 }
24115 {
24116 PyThreadState* __tstate = wxPyBeginAllowThreads();
24117 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
24118
24119 wxPyEndAllowThreads(__tstate);
24120 if (PyErr_Occurred()) SWIG_fail;
24121 }
24122 {
24123 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24124 }
24125 return resultobj;
24126 fail:
24127 return NULL;
24128}
24129
24130
c32bde28 24131static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24132 PyObject *resultobj;
24133 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24134 wxColour *arg2 = 0 ;
24135 bool result;
24136 wxColour temp2 ;
24137 PyObject * obj0 = 0 ;
24138 PyObject * obj1 = 0 ;
24139 char *kwnames[] = {
24140 (char *) "self",(char *) "col", NULL
24141 };
24142
24143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24144 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24145 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24146 {
24147 arg2 = &temp2;
24148 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
24149 }
24150 {
24151 PyThreadState* __tstate = wxPyBeginAllowThreads();
24152 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
24153
24154 wxPyEndAllowThreads(__tstate);
24155 if (PyErr_Occurred()) SWIG_fail;
24156 }
24157 {
24158 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24159 }
24160 return resultobj;
24161 fail:
24162 return NULL;
24163}
24164
24165
c32bde28 24166static PyObject *_wrap_ListCtrl_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24167 PyObject *resultobj;
24168 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24169 int arg2 ;
24170 wxListItem *result;
24171 PyObject * obj0 = 0 ;
24172 PyObject * obj1 = 0 ;
24173 char *kwnames[] = {
24174 (char *) "self",(char *) "col", NULL
24175 };
24176
24177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24178 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24179 if (SWIG_arg_fail(1)) SWIG_fail;
24180 {
24181 arg2 = (int)(SWIG_As_int(obj1));
24182 if (SWIG_arg_fail(2)) SWIG_fail;
24183 }
d55e5bfc
RD
24184 {
24185 PyThreadState* __tstate = wxPyBeginAllowThreads();
24186 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
24187
24188 wxPyEndAllowThreads(__tstate);
24189 if (PyErr_Occurred()) SWIG_fail;
24190 }
24191 {
412d302d 24192 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
24193 }
24194 return resultobj;
24195 fail:
24196 return NULL;
24197}
24198
24199
c32bde28 24200static PyObject *_wrap_ListCtrl_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24201 PyObject *resultobj;
24202 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24203 int arg2 ;
24204 wxListItem *arg3 = 0 ;
24205 bool result;
24206 PyObject * obj0 = 0 ;
24207 PyObject * obj1 = 0 ;
24208 PyObject * obj2 = 0 ;
24209 char *kwnames[] = {
24210 (char *) "self",(char *) "col",(char *) "item", NULL
24211 };
24212
24213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24214 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24215 if (SWIG_arg_fail(1)) SWIG_fail;
24216 {
24217 arg2 = (int)(SWIG_As_int(obj1));
24218 if (SWIG_arg_fail(2)) SWIG_fail;
24219 }
24220 {
24221 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24222 if (SWIG_arg_fail(3)) SWIG_fail;
24223 if (arg3 == NULL) {
24224 SWIG_null_ref("wxListItem");
24225 }
24226 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
24227 }
24228 {
24229 PyThreadState* __tstate = wxPyBeginAllowThreads();
24230 result = (bool)(arg1)->SetColumn(arg2,*arg3);
24231
24232 wxPyEndAllowThreads(__tstate);
24233 if (PyErr_Occurred()) SWIG_fail;
24234 }
24235 {
24236 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24237 }
24238 return resultobj;
24239 fail:
24240 return NULL;
24241}
24242
24243
c32bde28 24244static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24245 PyObject *resultobj;
24246 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24247 int arg2 ;
24248 int result;
24249 PyObject * obj0 = 0 ;
24250 PyObject * obj1 = 0 ;
24251 char *kwnames[] = {
24252 (char *) "self",(char *) "col", NULL
24253 };
24254
24255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24256 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24257 if (SWIG_arg_fail(1)) SWIG_fail;
24258 {
24259 arg2 = (int)(SWIG_As_int(obj1));
24260 if (SWIG_arg_fail(2)) SWIG_fail;
24261 }
d55e5bfc
RD
24262 {
24263 PyThreadState* __tstate = wxPyBeginAllowThreads();
24264 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
24265
24266 wxPyEndAllowThreads(__tstate);
24267 if (PyErr_Occurred()) SWIG_fail;
24268 }
093d3ff1
RD
24269 {
24270 resultobj = SWIG_From_int((int)(result));
24271 }
d55e5bfc
RD
24272 return resultobj;
24273 fail:
24274 return NULL;
24275}
24276
24277
c32bde28 24278static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24279 PyObject *resultobj;
24280 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24281 int arg2 ;
24282 int arg3 ;
24283 bool result;
24284 PyObject * obj0 = 0 ;
24285 PyObject * obj1 = 0 ;
24286 PyObject * obj2 = 0 ;
24287 char *kwnames[] = {
24288 (char *) "self",(char *) "col",(char *) "width", NULL
24289 };
24290
24291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24292 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24293 if (SWIG_arg_fail(1)) SWIG_fail;
24294 {
24295 arg2 = (int)(SWIG_As_int(obj1));
24296 if (SWIG_arg_fail(2)) SWIG_fail;
24297 }
24298 {
24299 arg3 = (int)(SWIG_As_int(obj2));
24300 if (SWIG_arg_fail(3)) SWIG_fail;
24301 }
d55e5bfc
RD
24302 {
24303 PyThreadState* __tstate = wxPyBeginAllowThreads();
24304 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
24305
24306 wxPyEndAllowThreads(__tstate);
24307 if (PyErr_Occurred()) SWIG_fail;
24308 }
24309 {
24310 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24311 }
24312 return resultobj;
24313 fail:
24314 return NULL;
24315}
24316
24317
c32bde28 24318static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24319 PyObject *resultobj;
24320 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24321 int result;
24322 PyObject * obj0 = 0 ;
24323 char *kwnames[] = {
24324 (char *) "self", NULL
24325 };
24326
24327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",kwnames,&obj0)) goto fail;
093d3ff1
RD
24328 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24329 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24330 {
24331 PyThreadState* __tstate = wxPyBeginAllowThreads();
24332 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
24333
24334 wxPyEndAllowThreads(__tstate);
24335 if (PyErr_Occurred()) SWIG_fail;
24336 }
093d3ff1
RD
24337 {
24338 resultobj = SWIG_From_int((int)(result));
24339 }
d55e5bfc
RD
24340 return resultobj;
24341 fail:
24342 return NULL;
24343}
24344
24345
c32bde28 24346static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24347 PyObject *resultobj;
24348 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24349 wxRect result;
24350 PyObject * obj0 = 0 ;
24351 char *kwnames[] = {
24352 (char *) "self", NULL
24353 };
24354
24355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) goto fail;
093d3ff1
RD
24356 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24357 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24358 {
24359 PyThreadState* __tstate = wxPyBeginAllowThreads();
24360 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
24361
24362 wxPyEndAllowThreads(__tstate);
24363 if (PyErr_Occurred()) SWIG_fail;
24364 }
24365 {
24366 wxRect * resultptr;
093d3ff1 24367 resultptr = new wxRect((wxRect &)(result));
d55e5bfc
RD
24368 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
24369 }
24370 return resultobj;
24371 fail:
24372 return NULL;
24373}
24374
24375
c32bde28 24376static PyObject *_wrap_ListCtrl_GetEditControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24377 PyObject *resultobj;
24378 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24379 wxTextCtrl *result;
24380 PyObject * obj0 = 0 ;
24381 char *kwnames[] = {
24382 (char *) "self", NULL
24383 };
24384
24385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetEditControl",kwnames,&obj0)) goto fail;
093d3ff1
RD
24386 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24387 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24388 {
24389 PyThreadState* __tstate = wxPyBeginAllowThreads();
24390 result = (wxTextCtrl *)((wxPyListCtrl const *)arg1)->GetEditControl();
24391
24392 wxPyEndAllowThreads(__tstate);
24393 if (PyErr_Occurred()) SWIG_fail;
24394 }
24395 {
412d302d 24396 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
24397 }
24398 return resultobj;
24399 fail:
24400 return NULL;
24401}
24402
24403
c32bde28 24404static PyObject *_wrap_ListCtrl_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24405 PyObject *resultobj;
24406 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24407 long arg2 ;
24408 int arg3 = (int) 0 ;
24409 wxListItem *result;
24410 PyObject * obj0 = 0 ;
24411 PyObject * obj1 = 0 ;
24412 PyObject * obj2 = 0 ;
24413 char *kwnames[] = {
24414 (char *) "self",(char *) "itemId",(char *) "col", NULL
24415 };
24416
24417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24418 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24419 if (SWIG_arg_fail(1)) SWIG_fail;
24420 {
24421 arg2 = (long)(SWIG_As_long(obj1));
24422 if (SWIG_arg_fail(2)) SWIG_fail;
24423 }
d55e5bfc 24424 if (obj2) {
093d3ff1
RD
24425 {
24426 arg3 = (int)(SWIG_As_int(obj2));
24427 if (SWIG_arg_fail(3)) SWIG_fail;
24428 }
d55e5bfc
RD
24429 }
24430 {
24431 PyThreadState* __tstate = wxPyBeginAllowThreads();
24432 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
24433
24434 wxPyEndAllowThreads(__tstate);
24435 if (PyErr_Occurred()) SWIG_fail;
24436 }
24437 {
412d302d 24438 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
24439 }
24440 return resultobj;
24441 fail:
24442 return NULL;
24443}
24444
24445
c32bde28 24446static PyObject *_wrap_ListCtrl_SetItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24447 PyObject *resultobj;
24448 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24449 wxListItem *arg2 = 0 ;
24450 bool result;
24451 PyObject * obj0 = 0 ;
24452 PyObject * obj1 = 0 ;
24453 char *kwnames[] = {
24454 (char *) "self",(char *) "info", NULL
24455 };
24456
24457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24458 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24459 if (SWIG_arg_fail(1)) SWIG_fail;
24460 {
24461 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24462 if (SWIG_arg_fail(2)) SWIG_fail;
24463 if (arg2 == NULL) {
24464 SWIG_null_ref("wxListItem");
24465 }
24466 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24467 }
24468 {
24469 PyThreadState* __tstate = wxPyBeginAllowThreads();
24470 result = (bool)(arg1)->SetItem(*arg2);
24471
24472 wxPyEndAllowThreads(__tstate);
24473 if (PyErr_Occurred()) SWIG_fail;
24474 }
24475 {
24476 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24477 }
24478 return resultobj;
24479 fail:
24480 return NULL;
24481}
24482
24483
c32bde28 24484static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24485 PyObject *resultobj;
24486 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24487 long arg2 ;
24488 int arg3 ;
24489 wxString *arg4 = 0 ;
24490 int arg5 = (int) -1 ;
24491 long result;
ae8162c8 24492 bool temp4 = false ;
d55e5bfc
RD
24493 PyObject * obj0 = 0 ;
24494 PyObject * obj1 = 0 ;
24495 PyObject * obj2 = 0 ;
24496 PyObject * obj3 = 0 ;
24497 PyObject * obj4 = 0 ;
24498 char *kwnames[] = {
24499 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
24500 };
24501
24502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
24503 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24504 if (SWIG_arg_fail(1)) SWIG_fail;
24505 {
24506 arg2 = (long)(SWIG_As_long(obj1));
24507 if (SWIG_arg_fail(2)) SWIG_fail;
24508 }
24509 {
24510 arg3 = (int)(SWIG_As_int(obj2));
24511 if (SWIG_arg_fail(3)) SWIG_fail;
24512 }
d55e5bfc
RD
24513 {
24514 arg4 = wxString_in_helper(obj3);
24515 if (arg4 == NULL) SWIG_fail;
ae8162c8 24516 temp4 = true;
d55e5bfc
RD
24517 }
24518 if (obj4) {
093d3ff1
RD
24519 {
24520 arg5 = (int)(SWIG_As_int(obj4));
24521 if (SWIG_arg_fail(5)) SWIG_fail;
24522 }
d55e5bfc
RD
24523 }
24524 {
24525 PyThreadState* __tstate = wxPyBeginAllowThreads();
24526 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
24527
24528 wxPyEndAllowThreads(__tstate);
24529 if (PyErr_Occurred()) SWIG_fail;
24530 }
093d3ff1
RD
24531 {
24532 resultobj = SWIG_From_long((long)(result));
24533 }
d55e5bfc
RD
24534 {
24535 if (temp4)
24536 delete arg4;
24537 }
24538 return resultobj;
24539 fail:
24540 {
24541 if (temp4)
24542 delete arg4;
24543 }
24544 return NULL;
24545}
24546
24547
c32bde28 24548static PyObject *_wrap_ListCtrl_GetItemState(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24549 PyObject *resultobj;
24550 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24551 long arg2 ;
24552 long arg3 ;
24553 int result;
24554 PyObject * obj0 = 0 ;
24555 PyObject * obj1 = 0 ;
24556 PyObject * obj2 = 0 ;
24557 char *kwnames[] = {
24558 (char *) "self",(char *) "item",(char *) "stateMask", NULL
24559 };
24560
24561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_GetItemState",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24562 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24563 if (SWIG_arg_fail(1)) SWIG_fail;
24564 {
24565 arg2 = (long)(SWIG_As_long(obj1));
24566 if (SWIG_arg_fail(2)) SWIG_fail;
24567 }
24568 {
24569 arg3 = (long)(SWIG_As_long(obj2));
24570 if (SWIG_arg_fail(3)) SWIG_fail;
24571 }
d55e5bfc
RD
24572 {
24573 PyThreadState* __tstate = wxPyBeginAllowThreads();
24574 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
24575
24576 wxPyEndAllowThreads(__tstate);
24577 if (PyErr_Occurred()) SWIG_fail;
24578 }
093d3ff1
RD
24579 {
24580 resultobj = SWIG_From_int((int)(result));
24581 }
d55e5bfc
RD
24582 return resultobj;
24583 fail:
24584 return NULL;
24585}
24586
24587
c32bde28 24588static PyObject *_wrap_ListCtrl_SetItemState(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24589 PyObject *resultobj;
24590 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24591 long arg2 ;
24592 long arg3 ;
24593 long arg4 ;
24594 bool result;
24595 PyObject * obj0 = 0 ;
24596 PyObject * obj1 = 0 ;
24597 PyObject * obj2 = 0 ;
24598 PyObject * obj3 = 0 ;
24599 char *kwnames[] = {
24600 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
24601 };
24602
24603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemState",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
24604 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24605 if (SWIG_arg_fail(1)) SWIG_fail;
24606 {
24607 arg2 = (long)(SWIG_As_long(obj1));
24608 if (SWIG_arg_fail(2)) SWIG_fail;
24609 }
24610 {
24611 arg3 = (long)(SWIG_As_long(obj2));
24612 if (SWIG_arg_fail(3)) SWIG_fail;
24613 }
24614 {
24615 arg4 = (long)(SWIG_As_long(obj3));
24616 if (SWIG_arg_fail(4)) SWIG_fail;
24617 }
d55e5bfc
RD
24618 {
24619 PyThreadState* __tstate = wxPyBeginAllowThreads();
24620 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
24621
24622 wxPyEndAllowThreads(__tstate);
24623 if (PyErr_Occurred()) SWIG_fail;
24624 }
24625 {
24626 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24627 }
24628 return resultobj;
24629 fail:
24630 return NULL;
24631}
24632
24633
c32bde28 24634static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24635 PyObject *resultobj;
24636 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24637 long arg2 ;
24638 int arg3 ;
84f85550 24639 int arg4 = (int) -1 ;
d55e5bfc
RD
24640 bool result;
24641 PyObject * obj0 = 0 ;
24642 PyObject * obj1 = 0 ;
24643 PyObject * obj2 = 0 ;
24644 PyObject * obj3 = 0 ;
24645 char *kwnames[] = {
24646 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
24647 };
24648
84f85550 24649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
24650 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24651 if (SWIG_arg_fail(1)) SWIG_fail;
24652 {
24653 arg2 = (long)(SWIG_As_long(obj1));
24654 if (SWIG_arg_fail(2)) SWIG_fail;
24655 }
24656 {
24657 arg3 = (int)(SWIG_As_int(obj2));
24658 if (SWIG_arg_fail(3)) SWIG_fail;
24659 }
84f85550 24660 if (obj3) {
093d3ff1
RD
24661 {
24662 arg4 = (int)(SWIG_As_int(obj3));
24663 if (SWIG_arg_fail(4)) SWIG_fail;
24664 }
84f85550 24665 }
d55e5bfc
RD
24666 {
24667 PyThreadState* __tstate = wxPyBeginAllowThreads();
24668 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
24669
24670 wxPyEndAllowThreads(__tstate);
24671 if (PyErr_Occurred()) SWIG_fail;
24672 }
24673 {
24674 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24675 }
24676 return resultobj;
24677 fail:
24678 return NULL;
24679}
24680
24681
c32bde28 24682static PyObject *_wrap_ListCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24683 PyObject *resultobj;
24684 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24685 long arg2 ;
24686 wxString result;
24687 PyObject * obj0 = 0 ;
24688 PyObject * obj1 = 0 ;
24689 char *kwnames[] = {
24690 (char *) "self",(char *) "item", NULL
24691 };
24692
24693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24694 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24695 if (SWIG_arg_fail(1)) SWIG_fail;
24696 {
24697 arg2 = (long)(SWIG_As_long(obj1));
24698 if (SWIG_arg_fail(2)) SWIG_fail;
24699 }
d55e5bfc
RD
24700 {
24701 PyThreadState* __tstate = wxPyBeginAllowThreads();
24702 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
24703
24704 wxPyEndAllowThreads(__tstate);
24705 if (PyErr_Occurred()) SWIG_fail;
24706 }
24707 {
24708#if wxUSE_UNICODE
24709 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24710#else
24711 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24712#endif
24713 }
24714 return resultobj;
24715 fail:
24716 return NULL;
24717}
24718
24719
c32bde28 24720static PyObject *_wrap_ListCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24721 PyObject *resultobj;
24722 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24723 long arg2 ;
24724 wxString *arg3 = 0 ;
ae8162c8 24725 bool temp3 = false ;
d55e5bfc
RD
24726 PyObject * obj0 = 0 ;
24727 PyObject * obj1 = 0 ;
24728 PyObject * obj2 = 0 ;
24729 char *kwnames[] = {
24730 (char *) "self",(char *) "item",(char *) "str", NULL
24731 };
24732
24733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24734 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24735 if (SWIG_arg_fail(1)) SWIG_fail;
24736 {
24737 arg2 = (long)(SWIG_As_long(obj1));
24738 if (SWIG_arg_fail(2)) SWIG_fail;
24739 }
d55e5bfc
RD
24740 {
24741 arg3 = wxString_in_helper(obj2);
24742 if (arg3 == NULL) SWIG_fail;
ae8162c8 24743 temp3 = true;
d55e5bfc
RD
24744 }
24745 {
24746 PyThreadState* __tstate = wxPyBeginAllowThreads();
24747 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
24748
24749 wxPyEndAllowThreads(__tstate);
24750 if (PyErr_Occurred()) SWIG_fail;
24751 }
24752 Py_INCREF(Py_None); resultobj = Py_None;
24753 {
24754 if (temp3)
24755 delete arg3;
24756 }
24757 return resultobj;
24758 fail:
24759 {
24760 if (temp3)
24761 delete arg3;
24762 }
24763 return NULL;
24764}
24765
24766
c32bde28 24767static PyObject *_wrap_ListCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24768 PyObject *resultobj;
24769 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24770 long arg2 ;
24771 long result;
24772 PyObject * obj0 = 0 ;
24773 PyObject * obj1 = 0 ;
24774 char *kwnames[] = {
24775 (char *) "self",(char *) "item", NULL
24776 };
24777
24778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24779 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24780 if (SWIG_arg_fail(1)) SWIG_fail;
24781 {
24782 arg2 = (long)(SWIG_As_long(obj1));
24783 if (SWIG_arg_fail(2)) SWIG_fail;
24784 }
d55e5bfc
RD
24785 {
24786 PyThreadState* __tstate = wxPyBeginAllowThreads();
24787 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
24788
24789 wxPyEndAllowThreads(__tstate);
24790 if (PyErr_Occurred()) SWIG_fail;
24791 }
093d3ff1
RD
24792 {
24793 resultobj = SWIG_From_long((long)(result));
24794 }
d55e5bfc
RD
24795 return resultobj;
24796 fail:
24797 return NULL;
24798}
24799
24800
c32bde28 24801static PyObject *_wrap_ListCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24802 PyObject *resultobj;
24803 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24804 long arg2 ;
24805 long arg3 ;
24806 bool result;
24807 PyObject * obj0 = 0 ;
24808 PyObject * obj1 = 0 ;
24809 PyObject * obj2 = 0 ;
24810 char *kwnames[] = {
24811 (char *) "self",(char *) "item",(char *) "data", NULL
24812 };
24813
24814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24815 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24816 if (SWIG_arg_fail(1)) SWIG_fail;
24817 {
24818 arg2 = (long)(SWIG_As_long(obj1));
24819 if (SWIG_arg_fail(2)) SWIG_fail;
24820 }
24821 {
24822 arg3 = (long)(SWIG_As_long(obj2));
24823 if (SWIG_arg_fail(3)) SWIG_fail;
24824 }
d55e5bfc
RD
24825 {
24826 PyThreadState* __tstate = wxPyBeginAllowThreads();
24827 result = (bool)(arg1)->SetItemData(arg2,arg3);
24828
24829 wxPyEndAllowThreads(__tstate);
24830 if (PyErr_Occurred()) SWIG_fail;
24831 }
24832 {
24833 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24834 }
24835 return resultobj;
24836 fail:
24837 return NULL;
24838}
24839
24840
c32bde28 24841static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24842 PyObject *resultobj;
24843 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24844 long arg2 ;
24845 wxPoint result;
24846 PyObject * obj0 = 0 ;
24847 PyObject * obj1 = 0 ;
24848 char *kwnames[] = {
24849 (char *) "self",(char *) "item", NULL
24850 };
24851
24852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemPosition",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24853 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24854 if (SWIG_arg_fail(1)) SWIG_fail;
24855 {
24856 arg2 = (long)(SWIG_As_long(obj1));
24857 if (SWIG_arg_fail(2)) SWIG_fail;
24858 }
d55e5bfc
RD
24859 {
24860 PyThreadState* __tstate = wxPyBeginAllowThreads();
24861 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
24862
24863 wxPyEndAllowThreads(__tstate);
24864 if (PyErr_Occurred()) SWIG_fail;
24865 }
24866 {
24867 wxPoint * resultptr;
093d3ff1 24868 resultptr = new wxPoint((wxPoint &)(result));
d55e5bfc
RD
24869 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
24870 }
24871 return resultobj;
24872 fail:
24873 return NULL;
24874}
24875
24876
c32bde28 24877static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24878 PyObject *resultobj;
24879 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24880 long arg2 ;
24881 int arg3 = (int) wxLIST_RECT_BOUNDS ;
24882 wxRect result;
24883 PyObject * obj0 = 0 ;
24884 PyObject * obj1 = 0 ;
24885 PyObject * obj2 = 0 ;
24886 char *kwnames[] = {
24887 (char *) "self",(char *) "item",(char *) "code", NULL
24888 };
24889
24890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItemRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24891 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24892 if (SWIG_arg_fail(1)) SWIG_fail;
24893 {
24894 arg2 = (long)(SWIG_As_long(obj1));
24895 if (SWIG_arg_fail(2)) SWIG_fail;
24896 }
d55e5bfc 24897 if (obj2) {
093d3ff1
RD
24898 {
24899 arg3 = (int)(SWIG_As_int(obj2));
24900 if (SWIG_arg_fail(3)) SWIG_fail;
24901 }
d55e5bfc
RD
24902 }
24903 {
24904 PyThreadState* __tstate = wxPyBeginAllowThreads();
24905 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
24906
24907 wxPyEndAllowThreads(__tstate);
24908 if (PyErr_Occurred()) SWIG_fail;
24909 }
24910 {
24911 wxRect * resultptr;
093d3ff1 24912 resultptr = new wxRect((wxRect &)(result));
d55e5bfc
RD
24913 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
24914 }
24915 return resultobj;
24916 fail:
24917 return NULL;
24918}
24919
24920
c32bde28 24921static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24922 PyObject *resultobj;
24923 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24924 long arg2 ;
24925 wxPoint *arg3 = 0 ;
24926 bool result;
24927 wxPoint temp3 ;
24928 PyObject * obj0 = 0 ;
24929 PyObject * obj1 = 0 ;
24930 PyObject * obj2 = 0 ;
24931 char *kwnames[] = {
24932 (char *) "self",(char *) "item",(char *) "pos", NULL
24933 };
24934
24935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24936 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24937 if (SWIG_arg_fail(1)) SWIG_fail;
24938 {
24939 arg2 = (long)(SWIG_As_long(obj1));
24940 if (SWIG_arg_fail(2)) SWIG_fail;
24941 }
d55e5bfc
RD
24942 {
24943 arg3 = &temp3;
24944 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24945 }
24946 {
24947 PyThreadState* __tstate = wxPyBeginAllowThreads();
24948 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
24949
24950 wxPyEndAllowThreads(__tstate);
24951 if (PyErr_Occurred()) SWIG_fail;
24952 }
24953 {
24954 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24955 }
24956 return resultobj;
24957 fail:
24958 return NULL;
24959}
24960
24961
c32bde28 24962static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24963 PyObject *resultobj;
24964 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24965 int result;
24966 PyObject * obj0 = 0 ;
24967 char *kwnames[] = {
24968 (char *) "self", NULL
24969 };
24970
24971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
24972 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24973 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24974 {
24975 PyThreadState* __tstate = wxPyBeginAllowThreads();
24976 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
24977
24978 wxPyEndAllowThreads(__tstate);
24979 if (PyErr_Occurred()) SWIG_fail;
24980 }
093d3ff1
RD
24981 {
24982 resultobj = SWIG_From_int((int)(result));
24983 }
d55e5bfc
RD
24984 return resultobj;
24985 fail:
24986 return NULL;
24987}
24988
24989
c32bde28 24990static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24991 PyObject *resultobj;
24992 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24993 int result;
24994 PyObject * obj0 = 0 ;
24995 char *kwnames[] = {
24996 (char *) "self", NULL
24997 };
24998
24999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
25000 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25001 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25002 {
25003 PyThreadState* __tstate = wxPyBeginAllowThreads();
25004 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
25005
25006 wxPyEndAllowThreads(__tstate);
25007 if (PyErr_Occurred()) SWIG_fail;
25008 }
093d3ff1
RD
25009 {
25010 resultobj = SWIG_From_int((int)(result));
25011 }
d55e5bfc
RD
25012 return resultobj;
25013 fail:
25014 return NULL;
25015}
25016
25017
c32bde28 25018static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25019 PyObject *resultobj;
25020 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25021 wxSize result;
25022 PyObject * obj0 = 0 ;
25023 char *kwnames[] = {
25024 (char *) "self", NULL
25025 };
25026
25027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
093d3ff1
RD
25028 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25029 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25030 {
25031 PyThreadState* __tstate = wxPyBeginAllowThreads();
25032 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
25033
25034 wxPyEndAllowThreads(__tstate);
25035 if (PyErr_Occurred()) SWIG_fail;
25036 }
25037 {
25038 wxSize * resultptr;
093d3ff1 25039 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
25040 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
25041 }
25042 return resultobj;
25043 fail:
25044 return NULL;
25045}
25046
25047
c32bde28 25048static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25049 PyObject *resultobj;
25050 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25051 int result;
25052 PyObject * obj0 = 0 ;
25053 char *kwnames[] = {
25054 (char *) "self", NULL
25055 };
25056
25057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
25058 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25059 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25060 {
25061 PyThreadState* __tstate = wxPyBeginAllowThreads();
25062 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
25063
25064 wxPyEndAllowThreads(__tstate);
25065 if (PyErr_Occurred()) SWIG_fail;
25066 }
093d3ff1
RD
25067 {
25068 resultobj = SWIG_From_int((int)(result));
25069 }
d55e5bfc
RD
25070 return resultobj;
25071 fail:
25072 return NULL;
25073}
25074
25075
c32bde28 25076static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25077 PyObject *resultobj;
25078 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25079 wxColour result;
25080 PyObject * obj0 = 0 ;
25081 char *kwnames[] = {
25082 (char *) "self", NULL
25083 };
25084
25085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
25086 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25087 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25088 {
25089 PyThreadState* __tstate = wxPyBeginAllowThreads();
25090 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
25091
25092 wxPyEndAllowThreads(__tstate);
25093 if (PyErr_Occurred()) SWIG_fail;
25094 }
25095 {
25096 wxColour * resultptr;
093d3ff1 25097 resultptr = new wxColour((wxColour &)(result));
d55e5bfc
RD
25098 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
25099 }
25100 return resultobj;
25101 fail:
25102 return NULL;
25103}
25104
25105
c32bde28 25106static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25107 PyObject *resultobj;
25108 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25109 wxColour *arg2 = 0 ;
25110 wxColour temp2 ;
25111 PyObject * obj0 = 0 ;
25112 PyObject * obj1 = 0 ;
25113 char *kwnames[] = {
25114 (char *) "self",(char *) "col", NULL
25115 };
25116
25117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25118 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25119 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25120 {
25121 arg2 = &temp2;
25122 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
25123 }
25124 {
25125 PyThreadState* __tstate = wxPyBeginAllowThreads();
25126 (arg1)->SetTextColour((wxColour const &)*arg2);
25127
25128 wxPyEndAllowThreads(__tstate);
25129 if (PyErr_Occurred()) SWIG_fail;
25130 }
25131 Py_INCREF(Py_None); resultobj = Py_None;
25132 return resultobj;
25133 fail:
25134 return NULL;
25135}
25136
25137
c32bde28 25138static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25139 PyObject *resultobj;
25140 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25141 long result;
25142 PyObject * obj0 = 0 ;
25143 char *kwnames[] = {
25144 (char *) "self", NULL
25145 };
25146
25147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
093d3ff1
RD
25148 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25149 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25150 {
25151 PyThreadState* __tstate = wxPyBeginAllowThreads();
25152 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
25153
25154 wxPyEndAllowThreads(__tstate);
25155 if (PyErr_Occurred()) SWIG_fail;
25156 }
093d3ff1
RD
25157 {
25158 resultobj = SWIG_From_long((long)(result));
25159 }
d55e5bfc
RD
25160 return resultobj;
25161 fail:
25162 return NULL;
25163}
25164
25165
c32bde28 25166static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25167 PyObject *resultobj;
25168 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25169 long arg2 ;
ae8162c8 25170 bool arg3 = (bool) true ;
d55e5bfc
RD
25171 PyObject * obj0 = 0 ;
25172 PyObject * obj1 = 0 ;
25173 PyObject * obj2 = 0 ;
25174 char *kwnames[] = {
25175 (char *) "self",(char *) "style",(char *) "add", NULL
25176 };
25177
25178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
25179 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25180 if (SWIG_arg_fail(1)) SWIG_fail;
25181 {
25182 arg2 = (long)(SWIG_As_long(obj1));
25183 if (SWIG_arg_fail(2)) SWIG_fail;
25184 }
d55e5bfc 25185 if (obj2) {
093d3ff1
RD
25186 {
25187 arg3 = (bool)(SWIG_As_bool(obj2));
25188 if (SWIG_arg_fail(3)) SWIG_fail;
25189 }
d55e5bfc
RD
25190 }
25191 {
25192 PyThreadState* __tstate = wxPyBeginAllowThreads();
25193 (arg1)->SetSingleStyle(arg2,arg3);
25194
25195 wxPyEndAllowThreads(__tstate);
25196 if (PyErr_Occurred()) SWIG_fail;
25197 }
25198 Py_INCREF(Py_None); resultobj = Py_None;
25199 return resultobj;
25200 fail:
25201 return NULL;
25202}
25203
25204
c32bde28 25205static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25206 PyObject *resultobj;
25207 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25208 long arg2 ;
25209 PyObject * obj0 = 0 ;
25210 PyObject * obj1 = 0 ;
25211 char *kwnames[] = {
25212 (char *) "self",(char *) "style", NULL
25213 };
25214
25215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25216 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25217 if (SWIG_arg_fail(1)) SWIG_fail;
25218 {
25219 arg2 = (long)(SWIG_As_long(obj1));
25220 if (SWIG_arg_fail(2)) SWIG_fail;
25221 }
d55e5bfc
RD
25222 {
25223 PyThreadState* __tstate = wxPyBeginAllowThreads();
25224 (arg1)->SetWindowStyleFlag(arg2);
25225
25226 wxPyEndAllowThreads(__tstate);
25227 if (PyErr_Occurred()) SWIG_fail;
25228 }
25229 Py_INCREF(Py_None); resultobj = Py_None;
25230 return resultobj;
25231 fail:
25232 return NULL;
25233}
25234
25235
c32bde28 25236static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25237 PyObject *resultobj;
25238 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25239 long arg2 ;
25240 int arg3 = (int) wxLIST_NEXT_ALL ;
25241 int arg4 = (int) wxLIST_STATE_DONTCARE ;
25242 long result;
25243 PyObject * obj0 = 0 ;
25244 PyObject * obj1 = 0 ;
25245 PyObject * obj2 = 0 ;
25246 PyObject * obj3 = 0 ;
25247 char *kwnames[] = {
25248 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
25249 };
25250
25251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
25252 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25253 if (SWIG_arg_fail(1)) SWIG_fail;
25254 {
25255 arg2 = (long)(SWIG_As_long(obj1));
25256 if (SWIG_arg_fail(2)) SWIG_fail;
25257 }
d55e5bfc 25258 if (obj2) {
093d3ff1
RD
25259 {
25260 arg3 = (int)(SWIG_As_int(obj2));
25261 if (SWIG_arg_fail(3)) SWIG_fail;
25262 }
d55e5bfc
RD
25263 }
25264 if (obj3) {
093d3ff1
RD
25265 {
25266 arg4 = (int)(SWIG_As_int(obj3));
25267 if (SWIG_arg_fail(4)) SWIG_fail;
25268 }
d55e5bfc
RD
25269 }
25270 {
25271 PyThreadState* __tstate = wxPyBeginAllowThreads();
25272 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
25273
25274 wxPyEndAllowThreads(__tstate);
25275 if (PyErr_Occurred()) SWIG_fail;
25276 }
093d3ff1
RD
25277 {
25278 resultobj = SWIG_From_long((long)(result));
25279 }
d55e5bfc
RD
25280 return resultobj;
25281 fail:
25282 return NULL;
25283}
25284
25285
c32bde28 25286static PyObject *_wrap_ListCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25287 PyObject *resultobj;
25288 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25289 int arg2 ;
25290 wxImageList *result;
25291 PyObject * obj0 = 0 ;
25292 PyObject * obj1 = 0 ;
25293 char *kwnames[] = {
25294 (char *) "self",(char *) "which", NULL
25295 };
25296
25297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetImageList",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25298 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25299 if (SWIG_arg_fail(1)) SWIG_fail;
25300 {
25301 arg2 = (int)(SWIG_As_int(obj1));
25302 if (SWIG_arg_fail(2)) SWIG_fail;
25303 }
d55e5bfc
RD
25304 {
25305 PyThreadState* __tstate = wxPyBeginAllowThreads();
25306 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
25307
25308 wxPyEndAllowThreads(__tstate);
25309 if (PyErr_Occurred()) SWIG_fail;
25310 }
25311 {
412d302d 25312 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
25313 }
25314 return resultobj;
25315 fail:
25316 return NULL;
25317}
25318
25319
c32bde28 25320static PyObject *_wrap_ListCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25321 PyObject *resultobj;
25322 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25323 wxImageList *arg2 = (wxImageList *) 0 ;
25324 int arg3 ;
25325 PyObject * obj0 = 0 ;
25326 PyObject * obj1 = 0 ;
25327 PyObject * obj2 = 0 ;
25328 char *kwnames[] = {
25329 (char *) "self",(char *) "imageList",(char *) "which", NULL
25330 };
25331
25332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
25333 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25334 if (SWIG_arg_fail(1)) SWIG_fail;
25335 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
25336 if (SWIG_arg_fail(2)) SWIG_fail;
25337 {
25338 arg3 = (int)(SWIG_As_int(obj2));
25339 if (SWIG_arg_fail(3)) SWIG_fail;
25340 }
d55e5bfc
RD
25341 {
25342 PyThreadState* __tstate = wxPyBeginAllowThreads();
25343 (arg1)->SetImageList(arg2,arg3);
25344
25345 wxPyEndAllowThreads(__tstate);
25346 if (PyErr_Occurred()) SWIG_fail;
25347 }
25348 Py_INCREF(Py_None); resultobj = Py_None;
25349 return resultobj;
25350 fail:
25351 return NULL;
25352}
25353
25354
c32bde28 25355static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25356 PyObject *resultobj;
25357 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25358 wxImageList *arg2 = (wxImageList *) 0 ;
25359 int arg3 ;
25360 PyObject * obj0 = 0 ;
25361 PyObject * obj1 = 0 ;
25362 PyObject * obj2 = 0 ;
25363 char *kwnames[] = {
25364 (char *) "self",(char *) "imageList",(char *) "which", NULL
25365 };
25366
25367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
25368 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25369 if (SWIG_arg_fail(1)) SWIG_fail;
25370 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
25371 if (SWIG_arg_fail(2)) SWIG_fail;
25372 {
25373 arg3 = (int)(SWIG_As_int(obj2));
25374 if (SWIG_arg_fail(3)) SWIG_fail;
25375 }
d55e5bfc
RD
25376 {
25377 PyThreadState* __tstate = wxPyBeginAllowThreads();
25378 (arg1)->AssignImageList(arg2,arg3);
25379
25380 wxPyEndAllowThreads(__tstate);
25381 if (PyErr_Occurred()) SWIG_fail;
25382 }
25383 Py_INCREF(Py_None); resultobj = Py_None;
25384 return resultobj;
25385 fail:
25386 return NULL;
25387}
25388
25389
c32bde28 25390static PyObject *_wrap_ListCtrl_InReportView(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25391 PyObject *resultobj;
25392 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25393 bool result;
25394 PyObject * obj0 = 0 ;
25395 char *kwnames[] = {
25396 (char *) "self", NULL
25397 };
25398
25399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_InReportView",kwnames,&obj0)) goto fail;
093d3ff1
RD
25400 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25401 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25402 {
25403 PyThreadState* __tstate = wxPyBeginAllowThreads();
25404 result = (bool)((wxPyListCtrl const *)arg1)->InReportView();
25405
25406 wxPyEndAllowThreads(__tstate);
25407 if (PyErr_Occurred()) SWIG_fail;
25408 }
25409 {
25410 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25411 }
25412 return resultobj;
25413 fail:
25414 return NULL;
25415}
25416
25417
c32bde28 25418static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25419 PyObject *resultobj;
25420 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25421 bool result;
25422 PyObject * obj0 = 0 ;
25423 char *kwnames[] = {
25424 (char *) "self", NULL
25425 };
25426
25427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_IsVirtual",kwnames,&obj0)) goto fail;
093d3ff1
RD
25428 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25429 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25430 {
25431 PyThreadState* __tstate = wxPyBeginAllowThreads();
25432 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
25433
25434 wxPyEndAllowThreads(__tstate);
25435 if (PyErr_Occurred()) SWIG_fail;
25436 }
25437 {
25438 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25439 }
25440 return resultobj;
25441 fail:
25442 return NULL;
25443}
25444
25445
c32bde28 25446static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25447 PyObject *resultobj;
25448 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25449 long arg2 ;
25450 PyObject * obj0 = 0 ;
25451 PyObject * obj1 = 0 ;
25452 char *kwnames[] = {
25453 (char *) "self",(char *) "item", NULL
25454 };
25455
25456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_RefreshItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25457 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25458 if (SWIG_arg_fail(1)) SWIG_fail;
25459 {
25460 arg2 = (long)(SWIG_As_long(obj1));
25461 if (SWIG_arg_fail(2)) SWIG_fail;
25462 }
d55e5bfc
RD
25463 {
25464 PyThreadState* __tstate = wxPyBeginAllowThreads();
25465 (arg1)->RefreshItem(arg2);
25466
25467 wxPyEndAllowThreads(__tstate);
25468 if (PyErr_Occurred()) SWIG_fail;
25469 }
25470 Py_INCREF(Py_None); resultobj = Py_None;
25471 return resultobj;
25472 fail:
25473 return NULL;
25474}
25475
25476
c32bde28 25477static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25478 PyObject *resultobj;
25479 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25480 long arg2 ;
25481 long arg3 ;
25482 PyObject * obj0 = 0 ;
25483 PyObject * obj1 = 0 ;
25484 PyObject * obj2 = 0 ;
25485 char *kwnames[] = {
25486 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
25487 };
25488
25489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_RefreshItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
25490 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25491 if (SWIG_arg_fail(1)) SWIG_fail;
25492 {
25493 arg2 = (long)(SWIG_As_long(obj1));
25494 if (SWIG_arg_fail(2)) SWIG_fail;
25495 }
25496 {
25497 arg3 = (long)(SWIG_As_long(obj2));
25498 if (SWIG_arg_fail(3)) SWIG_fail;
25499 }
d55e5bfc
RD
25500 {
25501 PyThreadState* __tstate = wxPyBeginAllowThreads();
25502 (arg1)->RefreshItems(arg2,arg3);
25503
25504 wxPyEndAllowThreads(__tstate);
25505 if (PyErr_Occurred()) SWIG_fail;
25506 }
25507 Py_INCREF(Py_None); resultobj = Py_None;
25508 return resultobj;
25509 fail:
25510 return NULL;
25511}
25512
25513
c32bde28 25514static PyObject *_wrap_ListCtrl_Arrange(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25515 PyObject *resultobj;
25516 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25517 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
25518 bool result;
25519 PyObject * obj0 = 0 ;
25520 PyObject * obj1 = 0 ;
25521 char *kwnames[] = {
25522 (char *) "self",(char *) "flag", NULL
25523 };
25524
25525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListCtrl_Arrange",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25526 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25527 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 25528 if (obj1) {
093d3ff1
RD
25529 {
25530 arg2 = (int)(SWIG_As_int(obj1));
25531 if (SWIG_arg_fail(2)) SWIG_fail;
25532 }
d55e5bfc
RD
25533 }
25534 {
25535 PyThreadState* __tstate = wxPyBeginAllowThreads();
25536 result = (bool)(arg1)->Arrange(arg2);
25537
25538 wxPyEndAllowThreads(__tstate);
25539 if (PyErr_Occurred()) SWIG_fail;
25540 }
25541 {
25542 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25543 }
25544 return resultobj;
25545 fail:
25546 return NULL;
25547}
25548
25549
c32bde28 25550static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25551 PyObject *resultobj;
25552 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25553 long arg2 ;
25554 bool result;
25555 PyObject * obj0 = 0 ;
25556 PyObject * obj1 = 0 ;
25557 char *kwnames[] = {
25558 (char *) "self",(char *) "item", NULL
25559 };
25560
25561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25562 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25563 if (SWIG_arg_fail(1)) SWIG_fail;
25564 {
25565 arg2 = (long)(SWIG_As_long(obj1));
25566 if (SWIG_arg_fail(2)) SWIG_fail;
25567 }
d55e5bfc
RD
25568 {
25569 PyThreadState* __tstate = wxPyBeginAllowThreads();
25570 result = (bool)(arg1)->DeleteItem(arg2);
25571
25572 wxPyEndAllowThreads(__tstate);
25573 if (PyErr_Occurred()) SWIG_fail;
25574 }
25575 {
25576 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25577 }
25578 return resultobj;
25579 fail:
25580 return NULL;
25581}
25582
25583
c32bde28 25584static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25585 PyObject *resultobj;
25586 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25587 bool result;
25588 PyObject * obj0 = 0 ;
25589 char *kwnames[] = {
25590 (char *) "self", NULL
25591 };
25592
25593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
093d3ff1
RD
25594 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25595 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25596 {
25597 PyThreadState* __tstate = wxPyBeginAllowThreads();
25598 result = (bool)(arg1)->DeleteAllItems();
25599
25600 wxPyEndAllowThreads(__tstate);
25601 if (PyErr_Occurred()) SWIG_fail;
25602 }
25603 {
25604 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25605 }
25606 return resultobj;
25607 fail:
25608 return NULL;
25609}
25610
25611
c32bde28 25612static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25613 PyObject *resultobj;
25614 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25615 int arg2 ;
25616 bool result;
25617 PyObject * obj0 = 0 ;
25618 PyObject * obj1 = 0 ;
25619 char *kwnames[] = {
25620 (char *) "self",(char *) "col", NULL
25621 };
25622
25623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteColumn",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25624 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25625 if (SWIG_arg_fail(1)) SWIG_fail;
25626 {
25627 arg2 = (int)(SWIG_As_int(obj1));
25628 if (SWIG_arg_fail(2)) SWIG_fail;
25629 }
d55e5bfc
RD
25630 {
25631 PyThreadState* __tstate = wxPyBeginAllowThreads();
25632 result = (bool)(arg1)->DeleteColumn(arg2);
25633
25634 wxPyEndAllowThreads(__tstate);
25635 if (PyErr_Occurred()) SWIG_fail;
25636 }
25637 {
25638 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25639 }
25640 return resultobj;
25641 fail:
25642 return NULL;
25643}
25644
25645
c32bde28 25646static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25647 PyObject *resultobj;
25648 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25649 bool result;
25650 PyObject * obj0 = 0 ;
25651 char *kwnames[] = {
25652 (char *) "self", NULL
25653 };
25654
25655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
093d3ff1
RD
25656 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25657 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25658 {
25659 PyThreadState* __tstate = wxPyBeginAllowThreads();
25660 result = (bool)(arg1)->DeleteAllColumns();
25661
25662 wxPyEndAllowThreads(__tstate);
25663 if (PyErr_Occurred()) SWIG_fail;
25664 }
25665 {
25666 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25667 }
25668 return resultobj;
25669 fail:
25670 return NULL;
25671}
25672
25673
c32bde28 25674static PyObject *_wrap_ListCtrl_ClearAll(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25675 PyObject *resultobj;
25676 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25677 PyObject * obj0 = 0 ;
25678 char *kwnames[] = {
25679 (char *) "self", NULL
25680 };
25681
25682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) goto fail;
093d3ff1
RD
25683 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25684 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25685 {
25686 PyThreadState* __tstate = wxPyBeginAllowThreads();
25687 (arg1)->ClearAll();
25688
25689 wxPyEndAllowThreads(__tstate);
25690 if (PyErr_Occurred()) SWIG_fail;
25691 }
25692 Py_INCREF(Py_None); resultobj = Py_None;
25693 return resultobj;
25694 fail:
25695 return NULL;
25696}
25697
25698
c32bde28 25699static PyObject *_wrap_ListCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25700 PyObject *resultobj;
25701 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25702 long arg2 ;
25703 wxTextCtrl *result;
25704 PyObject * obj0 = 0 ;
25705 PyObject * obj1 = 0 ;
25706 char *kwnames[] = {
25707 (char *) "self",(char *) "item", NULL
25708 };
25709
25710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25711 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25712 if (SWIG_arg_fail(1)) SWIG_fail;
25713 {
25714 arg2 = (long)(SWIG_As_long(obj1));
25715 if (SWIG_arg_fail(2)) SWIG_fail;
25716 }
d55e5bfc
RD
25717 {
25718 PyThreadState* __tstate = wxPyBeginAllowThreads();
25719 result = (wxTextCtrl *)(arg1)->EditLabel(arg2);
25720
25721 wxPyEndAllowThreads(__tstate);
25722 if (PyErr_Occurred()) SWIG_fail;
25723 }
25724 {
412d302d 25725 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
25726 }
25727 return resultobj;
25728 fail:
25729 return NULL;
25730}
25731
25732
c32bde28 25733static PyObject *_wrap_ListCtrl_EndEditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25734 PyObject *resultobj;
25735 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25736 bool arg2 ;
25737 bool result;
25738 PyObject * obj0 = 0 ;
25739 PyObject * obj1 = 0 ;
25740 char *kwnames[] = {
25741 (char *) "self",(char *) "cancel", NULL
25742 };
25743
25744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EndEditLabel",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25745 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25746 if (SWIG_arg_fail(1)) SWIG_fail;
25747 {
25748 arg2 = (bool)(SWIG_As_bool(obj1));
25749 if (SWIG_arg_fail(2)) SWIG_fail;
25750 }
d55e5bfc
RD
25751 {
25752 PyThreadState* __tstate = wxPyBeginAllowThreads();
25753 result = (bool)(arg1)->EndEditLabel(arg2);
25754
25755 wxPyEndAllowThreads(__tstate);
25756 if (PyErr_Occurred()) SWIG_fail;
25757 }
25758 {
25759 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25760 }
25761 return resultobj;
25762 fail:
25763 return NULL;
25764}
25765
25766
c32bde28 25767static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25768 PyObject *resultobj;
25769 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25770 long arg2 ;
25771 bool result;
25772 PyObject * obj0 = 0 ;
25773 PyObject * obj1 = 0 ;
25774 char *kwnames[] = {
25775 (char *) "self",(char *) "item", NULL
25776 };
25777
25778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25779 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25780 if (SWIG_arg_fail(1)) SWIG_fail;
25781 {
25782 arg2 = (long)(SWIG_As_long(obj1));
25783 if (SWIG_arg_fail(2)) SWIG_fail;
25784 }
d55e5bfc
RD
25785 {
25786 PyThreadState* __tstate = wxPyBeginAllowThreads();
25787 result = (bool)(arg1)->EnsureVisible(arg2);
25788
25789 wxPyEndAllowThreads(__tstate);
25790 if (PyErr_Occurred()) SWIG_fail;
25791 }
25792 {
25793 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25794 }
25795 return resultobj;
25796 fail:
25797 return NULL;
25798}
25799
25800
c32bde28 25801static PyObject *_wrap_ListCtrl_FindItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25802 PyObject *resultobj;
25803 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25804 long arg2 ;
25805 wxString *arg3 = 0 ;
ae8162c8 25806 bool arg4 = (bool) false ;
d55e5bfc 25807 long result;
ae8162c8 25808 bool temp3 = false ;
d55e5bfc
RD
25809 PyObject * obj0 = 0 ;
25810 PyObject * obj1 = 0 ;
25811 PyObject * obj2 = 0 ;
25812 PyObject * obj3 = 0 ;
25813 char *kwnames[] = {
25814 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
25815 };
25816
25817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
25818 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25819 if (SWIG_arg_fail(1)) SWIG_fail;
25820 {
25821 arg2 = (long)(SWIG_As_long(obj1));
25822 if (SWIG_arg_fail(2)) SWIG_fail;
25823 }
d55e5bfc
RD
25824 {
25825 arg3 = wxString_in_helper(obj2);
25826 if (arg3 == NULL) SWIG_fail;
ae8162c8 25827 temp3 = true;
d55e5bfc
RD
25828 }
25829 if (obj3) {
093d3ff1
RD
25830 {
25831 arg4 = (bool)(SWIG_As_bool(obj3));
25832 if (SWIG_arg_fail(4)) SWIG_fail;
25833 }
d55e5bfc
RD
25834 }
25835 {
25836 PyThreadState* __tstate = wxPyBeginAllowThreads();
25837 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
25838
25839 wxPyEndAllowThreads(__tstate);
25840 if (PyErr_Occurred()) SWIG_fail;
25841 }
093d3ff1
RD
25842 {
25843 resultobj = SWIG_From_long((long)(result));
25844 }
d55e5bfc
RD
25845 {
25846 if (temp3)
25847 delete arg3;
25848 }
25849 return resultobj;
25850 fail:
25851 {
25852 if (temp3)
25853 delete arg3;
25854 }
25855 return NULL;
25856}
25857
25858
c32bde28 25859static PyObject *_wrap_ListCtrl_FindItemData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25860 PyObject *resultobj;
25861 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25862 long arg2 ;
25863 long arg3 ;
25864 long result;
25865 PyObject * obj0 = 0 ;
25866 PyObject * obj1 = 0 ;
25867 PyObject * obj2 = 0 ;
25868 char *kwnames[] = {
25869 (char *) "self",(char *) "start",(char *) "data", NULL
25870 };
25871
25872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_FindItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
25873 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25874 if (SWIG_arg_fail(1)) SWIG_fail;
25875 {
25876 arg2 = (long)(SWIG_As_long(obj1));
25877 if (SWIG_arg_fail(2)) SWIG_fail;
25878 }
25879 {
25880 arg3 = (long)(SWIG_As_long(obj2));
25881 if (SWIG_arg_fail(3)) SWIG_fail;
25882 }
d55e5bfc
RD
25883 {
25884 PyThreadState* __tstate = wxPyBeginAllowThreads();
25885 result = (long)(arg1)->FindItem(arg2,arg3);
25886
25887 wxPyEndAllowThreads(__tstate);
25888 if (PyErr_Occurred()) SWIG_fail;
25889 }
093d3ff1
RD
25890 {
25891 resultobj = SWIG_From_long((long)(result));
25892 }
d55e5bfc
RD
25893 return resultobj;
25894 fail:
25895 return NULL;
25896}
25897
25898
c32bde28 25899static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25900 PyObject *resultobj;
25901 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25902 long arg2 ;
25903 wxPoint *arg3 = 0 ;
25904 int arg4 ;
25905 long result;
25906 wxPoint temp3 ;
25907 PyObject * obj0 = 0 ;
25908 PyObject * obj1 = 0 ;
25909 PyObject * obj2 = 0 ;
25910 PyObject * obj3 = 0 ;
25911 char *kwnames[] = {
25912 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
25913 };
25914
25915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
25916 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25917 if (SWIG_arg_fail(1)) SWIG_fail;
25918 {
25919 arg2 = (long)(SWIG_As_long(obj1));
25920 if (SWIG_arg_fail(2)) SWIG_fail;
25921 }
d55e5bfc
RD
25922 {
25923 arg3 = &temp3;
25924 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25925 }
093d3ff1
RD
25926 {
25927 arg4 = (int)(SWIG_As_int(obj3));
25928 if (SWIG_arg_fail(4)) SWIG_fail;
25929 }
d55e5bfc
RD
25930 {
25931 PyThreadState* __tstate = wxPyBeginAllowThreads();
25932 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
25933
25934 wxPyEndAllowThreads(__tstate);
25935 if (PyErr_Occurred()) SWIG_fail;
25936 }
093d3ff1
RD
25937 {
25938 resultobj = SWIG_From_long((long)(result));
25939 }
d55e5bfc
RD
25940 return resultobj;
25941 fail:
25942 return NULL;
25943}
25944
25945
c32bde28 25946static PyObject *_wrap_ListCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25947 PyObject *resultobj;
25948 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25949 wxPoint *arg2 = 0 ;
25950 int *arg3 = 0 ;
25951 long result;
25952 wxPoint temp2 ;
25953 int temp3 ;
c32bde28 25954 int res3 = 0 ;
d55e5bfc
RD
25955 PyObject * obj0 = 0 ;
25956 PyObject * obj1 = 0 ;
25957 char *kwnames[] = {
25958 (char *) "self",(char *) "point", NULL
25959 };
25960
c32bde28 25961 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 25962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25963 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25964 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25965 {
25966 arg2 = &temp2;
25967 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25968 }
25969 {
25970 PyThreadState* __tstate = wxPyBeginAllowThreads();
25971 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
25972
25973 wxPyEndAllowThreads(__tstate);
25974 if (PyErr_Occurred()) SWIG_fail;
25975 }
093d3ff1
RD
25976 {
25977 resultobj = SWIG_From_long((long)(result));
25978 }
c32bde28
RD
25979 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
25980 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
25981 return resultobj;
25982 fail:
25983 return NULL;
25984}
25985
25986
c32bde28 25987static PyObject *_wrap_ListCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25988 PyObject *resultobj;
25989 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25990 wxListItem *arg2 = 0 ;
25991 long result;
25992 PyObject * obj0 = 0 ;
25993 PyObject * obj1 = 0 ;
25994 char *kwnames[] = {
25995 (char *) "self",(char *) "info", NULL
25996 };
25997
25998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25999 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26000 if (SWIG_arg_fail(1)) SWIG_fail;
26001 {
26002 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
26003 if (SWIG_arg_fail(2)) SWIG_fail;
26004 if (arg2 == NULL) {
26005 SWIG_null_ref("wxListItem");
26006 }
26007 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
26008 }
26009 {
26010 PyThreadState* __tstate = wxPyBeginAllowThreads();
26011 result = (long)(arg1)->InsertItem(*arg2);
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_InsertStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26026 PyObject *resultobj;
26027 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26028 long arg2 ;
26029 wxString *arg3 = 0 ;
26030 long result;
ae8162c8 26031 bool temp3 = false ;
d55e5bfc
RD
26032 PyObject * obj0 = 0 ;
26033 PyObject * obj1 = 0 ;
26034 PyObject * obj2 = 0 ;
26035 char *kwnames[] = {
26036 (char *) "self",(char *) "index",(char *) "label", NULL
26037 };
26038
26039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertStringItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26040 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26041 if (SWIG_arg_fail(1)) SWIG_fail;
26042 {
26043 arg2 = (long)(SWIG_As_long(obj1));
26044 if (SWIG_arg_fail(2)) SWIG_fail;
26045 }
d55e5bfc
RD
26046 {
26047 arg3 = wxString_in_helper(obj2);
26048 if (arg3 == NULL) SWIG_fail;
ae8162c8 26049 temp3 = true;
d55e5bfc
RD
26050 }
26051 {
26052 PyThreadState* __tstate = wxPyBeginAllowThreads();
26053 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3);
26054
26055 wxPyEndAllowThreads(__tstate);
26056 if (PyErr_Occurred()) SWIG_fail;
26057 }
093d3ff1
RD
26058 {
26059 resultobj = SWIG_From_long((long)(result));
26060 }
d55e5bfc
RD
26061 {
26062 if (temp3)
26063 delete arg3;
26064 }
26065 return resultobj;
26066 fail:
26067 {
26068 if (temp3)
26069 delete arg3;
26070 }
26071 return NULL;
26072}
26073
26074
c32bde28 26075static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26076 PyObject *resultobj;
26077 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26078 long arg2 ;
26079 int arg3 ;
26080 long result;
26081 PyObject * obj0 = 0 ;
26082 PyObject * obj1 = 0 ;
26083 PyObject * obj2 = 0 ;
26084 char *kwnames[] = {
26085 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
26086 };
26087
26088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertImageItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26089 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26090 if (SWIG_arg_fail(1)) SWIG_fail;
26091 {
26092 arg2 = (long)(SWIG_As_long(obj1));
26093 if (SWIG_arg_fail(2)) SWIG_fail;
26094 }
26095 {
26096 arg3 = (int)(SWIG_As_int(obj2));
26097 if (SWIG_arg_fail(3)) SWIG_fail;
26098 }
d55e5bfc
RD
26099 {
26100 PyThreadState* __tstate = wxPyBeginAllowThreads();
26101 result = (long)(arg1)->InsertItem(arg2,arg3);
26102
26103 wxPyEndAllowThreads(__tstate);
26104 if (PyErr_Occurred()) SWIG_fail;
26105 }
093d3ff1
RD
26106 {
26107 resultobj = SWIG_From_long((long)(result));
26108 }
d55e5bfc
RD
26109 return resultobj;
26110 fail:
26111 return NULL;
26112}
26113
26114
c32bde28 26115static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26116 PyObject *resultobj;
26117 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26118 long arg2 ;
26119 wxString *arg3 = 0 ;
26120 int arg4 ;
26121 long result;
ae8162c8 26122 bool temp3 = false ;
d55e5bfc
RD
26123 PyObject * obj0 = 0 ;
26124 PyObject * obj1 = 0 ;
26125 PyObject * obj2 = 0 ;
26126 PyObject * obj3 = 0 ;
26127 char *kwnames[] = {
26128 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
26129 };
26130
26131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
26132 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26133 if (SWIG_arg_fail(1)) SWIG_fail;
26134 {
26135 arg2 = (long)(SWIG_As_long(obj1));
26136 if (SWIG_arg_fail(2)) SWIG_fail;
26137 }
d55e5bfc
RD
26138 {
26139 arg3 = wxString_in_helper(obj2);
26140 if (arg3 == NULL) SWIG_fail;
ae8162c8 26141 temp3 = true;
d55e5bfc 26142 }
093d3ff1
RD
26143 {
26144 arg4 = (int)(SWIG_As_int(obj3));
26145 if (SWIG_arg_fail(4)) SWIG_fail;
26146 }
d55e5bfc
RD
26147 {
26148 PyThreadState* __tstate = wxPyBeginAllowThreads();
26149 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
26150
26151 wxPyEndAllowThreads(__tstate);
26152 if (PyErr_Occurred()) SWIG_fail;
26153 }
093d3ff1
RD
26154 {
26155 resultobj = SWIG_From_long((long)(result));
26156 }
d55e5bfc
RD
26157 {
26158 if (temp3)
26159 delete arg3;
26160 }
26161 return resultobj;
26162 fail:
26163 {
26164 if (temp3)
26165 delete arg3;
26166 }
26167 return NULL;
26168}
26169
26170
c32bde28 26171static PyObject *_wrap_ListCtrl_InsertColumnInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26172 PyObject *resultobj;
26173 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26174 long arg2 ;
26175 wxListItem *arg3 = 0 ;
26176 long result;
26177 PyObject * obj0 = 0 ;
26178 PyObject * obj1 = 0 ;
26179 PyObject * obj2 = 0 ;
26180 char *kwnames[] = {
26181 (char *) "self",(char *) "col",(char *) "info", NULL
26182 };
26183
26184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26185 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26186 if (SWIG_arg_fail(1)) SWIG_fail;
26187 {
26188 arg2 = (long)(SWIG_As_long(obj1));
26189 if (SWIG_arg_fail(2)) SWIG_fail;
26190 }
26191 {
26192 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
26193 if (SWIG_arg_fail(3)) SWIG_fail;
26194 if (arg3 == NULL) {
26195 SWIG_null_ref("wxListItem");
26196 }
26197 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
26198 }
26199 {
26200 PyThreadState* __tstate = wxPyBeginAllowThreads();
26201 result = (long)(arg1)->InsertColumn(arg2,*arg3);
26202
26203 wxPyEndAllowThreads(__tstate);
26204 if (PyErr_Occurred()) SWIG_fail;
26205 }
093d3ff1
RD
26206 {
26207 resultobj = SWIG_From_long((long)(result));
26208 }
d55e5bfc
RD
26209 return resultobj;
26210 fail:
26211 return NULL;
26212}
26213
26214
c32bde28 26215static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26216 PyObject *resultobj;
26217 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26218 long arg2 ;
26219 wxString *arg3 = 0 ;
26220 int arg4 = (int) wxLIST_FORMAT_LEFT ;
26221 int arg5 = (int) -1 ;
26222 long result;
ae8162c8 26223 bool temp3 = false ;
d55e5bfc
RD
26224 PyObject * obj0 = 0 ;
26225 PyObject * obj1 = 0 ;
26226 PyObject * obj2 = 0 ;
26227 PyObject * obj3 = 0 ;
26228 PyObject * obj4 = 0 ;
26229 char *kwnames[] = {
26230 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
26231 };
26232
26233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
26234 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26235 if (SWIG_arg_fail(1)) SWIG_fail;
26236 {
26237 arg2 = (long)(SWIG_As_long(obj1));
26238 if (SWIG_arg_fail(2)) SWIG_fail;
26239 }
d55e5bfc
RD
26240 {
26241 arg3 = wxString_in_helper(obj2);
26242 if (arg3 == NULL) SWIG_fail;
ae8162c8 26243 temp3 = true;
d55e5bfc
RD
26244 }
26245 if (obj3) {
093d3ff1
RD
26246 {
26247 arg4 = (int)(SWIG_As_int(obj3));
26248 if (SWIG_arg_fail(4)) SWIG_fail;
26249 }
d55e5bfc
RD
26250 }
26251 if (obj4) {
093d3ff1
RD
26252 {
26253 arg5 = (int)(SWIG_As_int(obj4));
26254 if (SWIG_arg_fail(5)) SWIG_fail;
26255 }
d55e5bfc
RD
26256 }
26257 {
26258 PyThreadState* __tstate = wxPyBeginAllowThreads();
26259 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
26260
26261 wxPyEndAllowThreads(__tstate);
26262 if (PyErr_Occurred()) SWIG_fail;
26263 }
093d3ff1
RD
26264 {
26265 resultobj = SWIG_From_long((long)(result));
26266 }
d55e5bfc
RD
26267 {
26268 if (temp3)
26269 delete arg3;
26270 }
26271 return resultobj;
26272 fail:
26273 {
26274 if (temp3)
26275 delete arg3;
26276 }
26277 return NULL;
26278}
26279
26280
c32bde28 26281static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26282 PyObject *resultobj;
26283 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26284 long arg2 ;
26285 PyObject * obj0 = 0 ;
26286 PyObject * obj1 = 0 ;
26287 char *kwnames[] = {
26288 (char *) "self",(char *) "count", NULL
26289 };
26290
26291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26292 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26293 if (SWIG_arg_fail(1)) SWIG_fail;
26294 {
26295 arg2 = (long)(SWIG_As_long(obj1));
26296 if (SWIG_arg_fail(2)) SWIG_fail;
26297 }
d55e5bfc
RD
26298 {
26299 PyThreadState* __tstate = wxPyBeginAllowThreads();
26300 (arg1)->SetItemCount(arg2);
26301
26302 wxPyEndAllowThreads(__tstate);
26303 if (PyErr_Occurred()) SWIG_fail;
26304 }
26305 Py_INCREF(Py_None); resultobj = Py_None;
26306 return resultobj;
26307 fail:
26308 return NULL;
26309}
26310
26311
c32bde28 26312static PyObject *_wrap_ListCtrl_ScrollList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26313 PyObject *resultobj;
26314 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26315 int arg2 ;
26316 int arg3 ;
26317 bool result;
26318 PyObject * obj0 = 0 ;
26319 PyObject * obj1 = 0 ;
26320 PyObject * obj2 = 0 ;
26321 char *kwnames[] = {
26322 (char *) "self",(char *) "dx",(char *) "dy", NULL
26323 };
26324
26325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_ScrollList",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26326 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26327 if (SWIG_arg_fail(1)) SWIG_fail;
26328 {
26329 arg2 = (int)(SWIG_As_int(obj1));
26330 if (SWIG_arg_fail(2)) SWIG_fail;
26331 }
26332 {
26333 arg3 = (int)(SWIG_As_int(obj2));
26334 if (SWIG_arg_fail(3)) SWIG_fail;
26335 }
d55e5bfc
RD
26336 {
26337 PyThreadState* __tstate = wxPyBeginAllowThreads();
26338 result = (bool)(arg1)->ScrollList(arg2,arg3);
26339
26340 wxPyEndAllowThreads(__tstate);
26341 if (PyErr_Occurred()) SWIG_fail;
26342 }
26343 {
26344 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26345 }
26346 return resultobj;
26347 fail:
26348 return NULL;
26349}
26350
26351
c32bde28 26352static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26353 PyObject *resultobj;
26354 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26355 long arg2 ;
26356 wxColour *arg3 = 0 ;
26357 wxColour temp3 ;
26358 PyObject * obj0 = 0 ;
26359 PyObject * obj1 = 0 ;
26360 PyObject * obj2 = 0 ;
26361 char *kwnames[] = {
26362 (char *) "self",(char *) "item",(char *) "col", NULL
26363 };
26364
26365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26366 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26367 if (SWIG_arg_fail(1)) SWIG_fail;
26368 {
26369 arg2 = (long)(SWIG_As_long(obj1));
26370 if (SWIG_arg_fail(2)) SWIG_fail;
26371 }
d55e5bfc
RD
26372 {
26373 arg3 = &temp3;
26374 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
26375 }
26376 {
26377 PyThreadState* __tstate = wxPyBeginAllowThreads();
26378 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
26379
26380 wxPyEndAllowThreads(__tstate);
26381 if (PyErr_Occurred()) SWIG_fail;
26382 }
26383 Py_INCREF(Py_None); resultobj = Py_None;
26384 return resultobj;
26385 fail:
26386 return NULL;
26387}
26388
26389
c32bde28 26390static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26391 PyObject *resultobj;
26392 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26393 long arg2 ;
26394 wxColour result;
26395 PyObject * obj0 = 0 ;
26396 PyObject * obj1 = 0 ;
26397 char *kwnames[] = {
26398 (char *) "self",(char *) "item", NULL
26399 };
26400
26401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26402 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26403 if (SWIG_arg_fail(1)) SWIG_fail;
26404 {
26405 arg2 = (long)(SWIG_As_long(obj1));
26406 if (SWIG_arg_fail(2)) SWIG_fail;
26407 }
d55e5bfc
RD
26408 {
26409 PyThreadState* __tstate = wxPyBeginAllowThreads();
26410 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
26411
26412 wxPyEndAllowThreads(__tstate);
26413 if (PyErr_Occurred()) SWIG_fail;
26414 }
26415 {
26416 wxColour * resultptr;
093d3ff1 26417 resultptr = new wxColour((wxColour &)(result));
d55e5bfc
RD
26418 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
26419 }
26420 return resultobj;
26421 fail:
26422 return NULL;
26423}
26424
26425
c32bde28 26426static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26427 PyObject *resultobj;
26428 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26429 long arg2 ;
26430 wxColour *arg3 = 0 ;
26431 wxColour temp3 ;
26432 PyObject * obj0 = 0 ;
26433 PyObject * obj1 = 0 ;
26434 PyObject * obj2 = 0 ;
26435 char *kwnames[] = {
26436 (char *) "self",(char *) "item",(char *) "col", NULL
26437 };
26438
26439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26440 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26441 if (SWIG_arg_fail(1)) SWIG_fail;
26442 {
26443 arg2 = (long)(SWIG_As_long(obj1));
26444 if (SWIG_arg_fail(2)) SWIG_fail;
26445 }
d55e5bfc
RD
26446 {
26447 arg3 = &temp3;
26448 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
26449 }
26450 {
26451 PyThreadState* __tstate = wxPyBeginAllowThreads();
26452 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
26453
26454 wxPyEndAllowThreads(__tstate);
26455 if (PyErr_Occurred()) SWIG_fail;
26456 }
26457 Py_INCREF(Py_None); resultobj = Py_None;
26458 return resultobj;
26459 fail:
26460 return NULL;
26461}
26462
26463
c32bde28 26464static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26465 PyObject *resultobj;
26466 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26467 long arg2 ;
26468 wxColour result;
26469 PyObject * obj0 = 0 ;
26470 PyObject * obj1 = 0 ;
26471 char *kwnames[] = {
26472 (char *) "self",(char *) "item", NULL
26473 };
26474
26475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26476 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26477 if (SWIG_arg_fail(1)) SWIG_fail;
26478 {
26479 arg2 = (long)(SWIG_As_long(obj1));
26480 if (SWIG_arg_fail(2)) SWIG_fail;
26481 }
d55e5bfc
RD
26482 {
26483 PyThreadState* __tstate = wxPyBeginAllowThreads();
26484 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
26485
26486 wxPyEndAllowThreads(__tstate);
26487 if (PyErr_Occurred()) SWIG_fail;
26488 }
26489 {
26490 wxColour * resultptr;
093d3ff1 26491 resultptr = new wxColour((wxColour &)(result));
d55e5bfc
RD
26492 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
26493 }
26494 return resultobj;
26495 fail:
26496 return NULL;
26497}
26498
26499
c32bde28 26500static PyObject *_wrap_ListCtrl_SortItems(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26501 PyObject *resultobj;
26502 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26503 PyObject *arg2 = (PyObject *) 0 ;
26504 bool result;
26505 PyObject * obj0 = 0 ;
26506 PyObject * obj1 = 0 ;
26507 char *kwnames[] = {
26508 (char *) "self",(char *) "func", NULL
26509 };
26510
26511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26512 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26513 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26514 arg2 = obj1;
26515 {
26516 PyThreadState* __tstate = wxPyBeginAllowThreads();
26517 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
26518
26519 wxPyEndAllowThreads(__tstate);
26520 if (PyErr_Occurred()) SWIG_fail;
26521 }
26522 {
26523 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26524 }
26525 return resultobj;
26526 fail:
26527 return NULL;
26528}
26529
26530
c32bde28 26531static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26532 PyObject *resultobj;
26533 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26534 wxWindow *result;
26535 PyObject * obj0 = 0 ;
26536 char *kwnames[] = {
26537 (char *) "self", NULL
26538 };
26539
26540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
26541 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26542 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26543 {
26544 PyThreadState* __tstate = wxPyBeginAllowThreads();
26545 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
26546
26547 wxPyEndAllowThreads(__tstate);
26548 if (PyErr_Occurred()) SWIG_fail;
26549 }
26550 {
412d302d 26551 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
26552 }
26553 return resultobj;
26554 fail:
26555 return NULL;
26556}
26557
26558
c32bde28 26559static PyObject *_wrap_ListCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 26560 PyObject *resultobj;
093d3ff1 26561 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
d55e5bfc
RD
26562 wxVisualAttributes result;
26563 PyObject * obj0 = 0 ;
26564 char *kwnames[] = {
26565 (char *) "variant", NULL
26566 };
26567
26568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
26569 if (obj0) {
093d3ff1
RD
26570 {
26571 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
26572 if (SWIG_arg_fail(1)) SWIG_fail;
26573 }
d55e5bfc
RD
26574 }
26575 {
19272049 26576 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
26577 PyThreadState* __tstate = wxPyBeginAllowThreads();
26578 result = wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
26579
26580 wxPyEndAllowThreads(__tstate);
110da5b0 26581 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
26582 }
26583 {
26584 wxVisualAttributes * resultptr;
093d3ff1 26585 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
d55e5bfc
RD
26586 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
26587 }
26588 return resultobj;
26589 fail:
26590 return NULL;
26591}
26592
26593
c32bde28 26594static PyObject * ListCtrl_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
26595 PyObject *obj;
26596 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26597 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
26598 Py_INCREF(obj);
26599 return Py_BuildValue((char *)"");
26600}
c32bde28 26601static PyObject *_wrap_new_ListView(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26602 PyObject *resultobj;
26603 wxWindow *arg1 = (wxWindow *) 0 ;
26604 int arg2 = (int) -1 ;
26605 wxPoint const &arg3_defvalue = wxDefaultPosition ;
26606 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
26607 wxSize const &arg4_defvalue = wxDefaultSize ;
26608 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
26609 long arg5 = (long) wxLC_REPORT ;
26610 wxValidator const &arg6_defvalue = wxDefaultValidator ;
26611 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
26612 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
26613 wxString *arg7 = (wxString *) &arg7_defvalue ;
26614 wxListView *result;
26615 wxPoint temp3 ;
26616 wxSize temp4 ;
ae8162c8 26617 bool temp7 = false ;
d55e5bfc
RD
26618 PyObject * obj0 = 0 ;
26619 PyObject * obj1 = 0 ;
26620 PyObject * obj2 = 0 ;
26621 PyObject * obj3 = 0 ;
26622 PyObject * obj4 = 0 ;
26623 PyObject * obj5 = 0 ;
26624 PyObject * obj6 = 0 ;
26625 char *kwnames[] = {
26626 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26627 };
26628
26629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListView",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
26630 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26631 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 26632 if (obj1) {
093d3ff1
RD
26633 {
26634 arg2 = (int)(SWIG_As_int(obj1));
26635 if (SWIG_arg_fail(2)) SWIG_fail;
26636 }
d55e5bfc
RD
26637 }
26638 if (obj2) {
26639 {
26640 arg3 = &temp3;
26641 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
26642 }
26643 }
26644 if (obj3) {
26645 {
26646 arg4 = &temp4;
26647 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
26648 }
26649 }
26650 if (obj4) {
093d3ff1
RD
26651 {
26652 arg5 = (long)(SWIG_As_long(obj4));
26653 if (SWIG_arg_fail(5)) SWIG_fail;
26654 }
d55e5bfc
RD
26655 }
26656 if (obj5) {
093d3ff1
RD
26657 {
26658 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
26659 if (SWIG_arg_fail(6)) SWIG_fail;
26660 if (arg6 == NULL) {
26661 SWIG_null_ref("wxValidator");
26662 }
26663 if (SWIG_arg_fail(6)) SWIG_fail;
d55e5bfc
RD
26664 }
26665 }
26666 if (obj6) {
26667 {
26668 arg7 = wxString_in_helper(obj6);
26669 if (arg7 == NULL) SWIG_fail;
ae8162c8 26670 temp7 = true;
d55e5bfc
RD
26671 }
26672 }
26673 {
0439c23b 26674 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
26675 PyThreadState* __tstate = wxPyBeginAllowThreads();
26676 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
26677
26678 wxPyEndAllowThreads(__tstate);
110da5b0 26679 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
26680 }
26681 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
26682 {
26683 if (temp7)
26684 delete arg7;
26685 }
26686 return resultobj;
26687 fail:
26688 {
26689 if (temp7)
26690 delete arg7;
26691 }
26692 return NULL;
26693}
26694
26695
c32bde28 26696static PyObject *_wrap_new_PreListView(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26697 PyObject *resultobj;
26698 wxListView *result;
26699 char *kwnames[] = {
26700 NULL
26701 };
26702
26703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
26704 {
0439c23b 26705 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
26706 PyThreadState* __tstate = wxPyBeginAllowThreads();
26707 result = (wxListView *)new wxListView();
26708
26709 wxPyEndAllowThreads(__tstate);
110da5b0 26710 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
26711 }
26712 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
26713 return resultobj;
26714 fail:
26715 return NULL;
26716}
26717
26718
c32bde28 26719static PyObject *_wrap_ListView_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26720 PyObject *resultobj;
26721 wxListView *arg1 = (wxListView *) 0 ;
26722 wxWindow *arg2 = (wxWindow *) 0 ;
26723 int arg3 = (int) -1 ;
26724 wxPoint const &arg4_defvalue = wxDefaultPosition ;
26725 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
26726 wxSize const &arg5_defvalue = wxDefaultSize ;
26727 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
26728 long arg6 = (long) wxLC_REPORT ;
26729 wxValidator const &arg7_defvalue = wxDefaultValidator ;
26730 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
26731 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
26732 wxString *arg8 = (wxString *) &arg8_defvalue ;
26733 bool result;
26734 wxPoint temp4 ;
26735 wxSize temp5 ;
ae8162c8 26736 bool temp8 = false ;
d55e5bfc
RD
26737 PyObject * obj0 = 0 ;
26738 PyObject * obj1 = 0 ;
26739 PyObject * obj2 = 0 ;
26740 PyObject * obj3 = 0 ;
26741 PyObject * obj4 = 0 ;
26742 PyObject * obj5 = 0 ;
26743 PyObject * obj6 = 0 ;
26744 PyObject * obj7 = 0 ;
26745 char *kwnames[] = {
26746 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26747 };
26748
26749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListView_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
26750 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26751 if (SWIG_arg_fail(1)) SWIG_fail;
26752 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26753 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 26754 if (obj2) {
093d3ff1
RD
26755 {
26756 arg3 = (int)(SWIG_As_int(obj2));
26757 if (SWIG_arg_fail(3)) SWIG_fail;
26758 }
d55e5bfc
RD
26759 }
26760 if (obj3) {
26761 {
26762 arg4 = &temp4;
26763 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
26764 }
26765 }
26766 if (obj4) {
26767 {
26768 arg5 = &temp5;
26769 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
26770 }
26771 }
26772 if (obj5) {
093d3ff1
RD
26773 {
26774 arg6 = (long)(SWIG_As_long(obj5));
26775 if (SWIG_arg_fail(6)) SWIG_fail;
26776 }
d55e5bfc
RD
26777 }
26778 if (obj6) {
093d3ff1
RD
26779 {
26780 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
26781 if (SWIG_arg_fail(7)) SWIG_fail;
26782 if (arg7 == NULL) {
26783 SWIG_null_ref("wxValidator");
26784 }
26785 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
26786 }
26787 }
26788 if (obj7) {
26789 {
26790 arg8 = wxString_in_helper(obj7);
26791 if (arg8 == NULL) SWIG_fail;
ae8162c8 26792 temp8 = true;
d55e5bfc
RD
26793 }
26794 }
26795 {
26796 PyThreadState* __tstate = wxPyBeginAllowThreads();
26797 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
26798
26799 wxPyEndAllowThreads(__tstate);
26800 if (PyErr_Occurred()) SWIG_fail;
26801 }
26802 {
26803 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26804 }
26805 {
26806 if (temp8)
26807 delete arg8;
26808 }
26809 return resultobj;
26810 fail:
26811 {
26812 if (temp8)
26813 delete arg8;
26814 }
26815 return NULL;
26816}
26817
26818
c32bde28 26819static PyObject *_wrap_ListView_Select(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26820 PyObject *resultobj;
26821 wxListView *arg1 = (wxListView *) 0 ;
26822 long arg2 ;
ae8162c8 26823 bool arg3 = (bool) true ;
d55e5bfc
RD
26824 PyObject * obj0 = 0 ;
26825 PyObject * obj1 = 0 ;
26826 PyObject * obj2 = 0 ;
26827 char *kwnames[] = {
26828 (char *) "self",(char *) "n",(char *) "on", NULL
26829 };
26830
26831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListView_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26832 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26833 if (SWIG_arg_fail(1)) SWIG_fail;
26834 {
26835 arg2 = (long)(SWIG_As_long(obj1));
26836 if (SWIG_arg_fail(2)) SWIG_fail;
26837 }
d55e5bfc 26838 if (obj2) {
093d3ff1
RD
26839 {
26840 arg3 = (bool)(SWIG_As_bool(obj2));
26841 if (SWIG_arg_fail(3)) SWIG_fail;
26842 }
d55e5bfc
RD
26843 }
26844 {
26845 PyThreadState* __tstate = wxPyBeginAllowThreads();
26846 (arg1)->Select(arg2,arg3);
26847
26848 wxPyEndAllowThreads(__tstate);
26849 if (PyErr_Occurred()) SWIG_fail;
26850 }
26851 Py_INCREF(Py_None); resultobj = Py_None;
26852 return resultobj;
26853 fail:
26854 return NULL;
26855}
26856
26857
c32bde28 26858static PyObject *_wrap_ListView_Focus(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26859 PyObject *resultobj;
26860 wxListView *arg1 = (wxListView *) 0 ;
26861 long arg2 ;
26862 PyObject * obj0 = 0 ;
26863 PyObject * obj1 = 0 ;
26864 char *kwnames[] = {
26865 (char *) "self",(char *) "index", NULL
26866 };
26867
26868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_Focus",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26869 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26870 if (SWIG_arg_fail(1)) SWIG_fail;
26871 {
26872 arg2 = (long)(SWIG_As_long(obj1));
26873 if (SWIG_arg_fail(2)) SWIG_fail;
26874 }
d55e5bfc
RD
26875 {
26876 PyThreadState* __tstate = wxPyBeginAllowThreads();
26877 (arg1)->Focus(arg2);
26878
26879 wxPyEndAllowThreads(__tstate);
26880 if (PyErr_Occurred()) SWIG_fail;
26881 }
26882 Py_INCREF(Py_None); resultobj = Py_None;
26883 return resultobj;
26884 fail:
26885 return NULL;
26886}
26887
26888
c32bde28 26889static PyObject *_wrap_ListView_GetFocusedItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26890 PyObject *resultobj;
26891 wxListView *arg1 = (wxListView *) 0 ;
26892 long result;
26893 PyObject * obj0 = 0 ;
26894 char *kwnames[] = {
26895 (char *) "self", NULL
26896 };
26897
26898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
093d3ff1
RD
26899 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26900 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26901 {
26902 PyThreadState* __tstate = wxPyBeginAllowThreads();
26903 result = (long)((wxListView const *)arg1)->GetFocusedItem();
26904
26905 wxPyEndAllowThreads(__tstate);
26906 if (PyErr_Occurred()) SWIG_fail;
26907 }
093d3ff1
RD
26908 {
26909 resultobj = SWIG_From_long((long)(result));
26910 }
d55e5bfc
RD
26911 return resultobj;
26912 fail:
26913 return NULL;
26914}
26915
26916
c32bde28 26917static PyObject *_wrap_ListView_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26918 PyObject *resultobj;
26919 wxListView *arg1 = (wxListView *) 0 ;
26920 long arg2 ;
26921 long result;
26922 PyObject * obj0 = 0 ;
26923 PyObject * obj1 = 0 ;
26924 char *kwnames[] = {
26925 (char *) "self",(char *) "item", NULL
26926 };
26927
26928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26929 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26930 if (SWIG_arg_fail(1)) SWIG_fail;
26931 {
26932 arg2 = (long)(SWIG_As_long(obj1));
26933 if (SWIG_arg_fail(2)) SWIG_fail;
26934 }
d55e5bfc
RD
26935 {
26936 PyThreadState* __tstate = wxPyBeginAllowThreads();
26937 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
26938
26939 wxPyEndAllowThreads(__tstate);
26940 if (PyErr_Occurred()) SWIG_fail;
26941 }
093d3ff1
RD
26942 {
26943 resultobj = SWIG_From_long((long)(result));
26944 }
d55e5bfc
RD
26945 return resultobj;
26946 fail:
26947 return NULL;
26948}
26949
26950
c32bde28 26951static PyObject *_wrap_ListView_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26952 PyObject *resultobj;
26953 wxListView *arg1 = (wxListView *) 0 ;
26954 long result;
26955 PyObject * obj0 = 0 ;
26956 char *kwnames[] = {
26957 (char *) "self", NULL
26958 };
26959
26960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
093d3ff1
RD
26961 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26962 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26963 {
26964 PyThreadState* __tstate = wxPyBeginAllowThreads();
26965 result = (long)((wxListView const *)arg1)->GetFirstSelected();
26966
26967 wxPyEndAllowThreads(__tstate);
26968 if (PyErr_Occurred()) SWIG_fail;
26969 }
093d3ff1
RD
26970 {
26971 resultobj = SWIG_From_long((long)(result));
26972 }
d55e5bfc
RD
26973 return resultobj;
26974 fail:
26975 return NULL;
26976}
26977
26978
c32bde28 26979static PyObject *_wrap_ListView_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26980 PyObject *resultobj;
26981 wxListView *arg1 = (wxListView *) 0 ;
26982 long arg2 ;
26983 bool result;
26984 PyObject * obj0 = 0 ;
26985 PyObject * obj1 = 0 ;
26986 char *kwnames[] = {
26987 (char *) "self",(char *) "index", NULL
26988 };
26989
26990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_IsSelected",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26991 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26992 if (SWIG_arg_fail(1)) SWIG_fail;
26993 {
26994 arg2 = (long)(SWIG_As_long(obj1));
26995 if (SWIG_arg_fail(2)) SWIG_fail;
26996 }
d55e5bfc
RD
26997 {
26998 PyThreadState* __tstate = wxPyBeginAllowThreads();
26999 result = (bool)(arg1)->IsSelected(arg2);
27000
27001 wxPyEndAllowThreads(__tstate);
27002 if (PyErr_Occurred()) SWIG_fail;
27003 }
27004 {
27005 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27006 }
27007 return resultobj;
27008 fail:
27009 return NULL;
27010}
27011
27012
c32bde28 27013static PyObject *_wrap_ListView_SetColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27014 PyObject *resultobj;
27015 wxListView *arg1 = (wxListView *) 0 ;
27016 int arg2 ;
27017 int arg3 ;
27018 PyObject * obj0 = 0 ;
27019 PyObject * obj1 = 0 ;
27020 PyObject * obj2 = 0 ;
27021 char *kwnames[] = {
27022 (char *) "self",(char *) "col",(char *) "image", NULL
27023 };
27024
27025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListView_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
27026 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
27027 if (SWIG_arg_fail(1)) SWIG_fail;
27028 {
27029 arg2 = (int)(SWIG_As_int(obj1));
27030 if (SWIG_arg_fail(2)) SWIG_fail;
27031 }
27032 {
27033 arg3 = (int)(SWIG_As_int(obj2));
27034 if (SWIG_arg_fail(3)) SWIG_fail;
27035 }
d55e5bfc
RD
27036 {
27037 PyThreadState* __tstate = wxPyBeginAllowThreads();
27038 (arg1)->SetColumnImage(arg2,arg3);
27039
27040 wxPyEndAllowThreads(__tstate);
27041 if (PyErr_Occurred()) SWIG_fail;
27042 }
27043 Py_INCREF(Py_None); resultobj = Py_None;
27044 return resultobj;
27045 fail:
27046 return NULL;
27047}
27048
27049
c32bde28 27050static PyObject *_wrap_ListView_ClearColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27051 PyObject *resultobj;
27052 wxListView *arg1 = (wxListView *) 0 ;
27053 int arg2 ;
27054 PyObject * obj0 = 0 ;
27055 PyObject * obj1 = 0 ;
27056 char *kwnames[] = {
27057 (char *) "self",(char *) "col", NULL
27058 };
27059
27060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_ClearColumnImage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27061 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
27062 if (SWIG_arg_fail(1)) SWIG_fail;
27063 {
27064 arg2 = (int)(SWIG_As_int(obj1));
27065 if (SWIG_arg_fail(2)) SWIG_fail;
27066 }
d55e5bfc
RD
27067 {
27068 PyThreadState* __tstate = wxPyBeginAllowThreads();
27069 (arg1)->ClearColumnImage(arg2);
27070
27071 wxPyEndAllowThreads(__tstate);
27072 if (PyErr_Occurred()) SWIG_fail;
27073 }
27074 Py_INCREF(Py_None); resultobj = Py_None;
27075 return resultobj;
27076 fail:
27077 return NULL;
27078}
27079
27080
c32bde28 27081static PyObject * ListView_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
27082 PyObject *obj;
27083 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27084 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
27085 Py_INCREF(obj);
27086 return Py_BuildValue((char *)"");
27087}
c32bde28 27088static int _wrap_TreeCtrlNameStr_set(PyObject *) {
d55e5bfc
RD
27089 PyErr_SetString(PyExc_TypeError,"Variable TreeCtrlNameStr is read-only.");
27090 return 1;
27091}
27092
27093
093d3ff1 27094static PyObject *_wrap_TreeCtrlNameStr_get(void) {
d55e5bfc
RD
27095 PyObject *pyobj;
27096
27097 {
27098#if wxUSE_UNICODE
27099 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
27100#else
27101 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
27102#endif
27103 }
27104 return pyobj;
27105}
27106
27107
c32bde28 27108static PyObject *_wrap_new_TreeItemId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27109 PyObject *resultobj;
27110 wxTreeItemId *result;
27111 char *kwnames[] = {
27112 NULL
27113 };
27114
27115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
27116 {
27117 PyThreadState* __tstate = wxPyBeginAllowThreads();
27118 result = (wxTreeItemId *)new wxTreeItemId();
27119
27120 wxPyEndAllowThreads(__tstate);
27121 if (PyErr_Occurred()) SWIG_fail;
27122 }
27123 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 1);
27124 return resultobj;
27125 fail:
27126 return NULL;
27127}
27128
27129
c32bde28 27130static PyObject *_wrap_delete_TreeItemId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27131 PyObject *resultobj;
27132 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27133 PyObject * obj0 = 0 ;
27134 char *kwnames[] = {
27135 (char *) "self", NULL
27136 };
27137
27138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",kwnames,&obj0)) goto fail;
093d3ff1
RD
27139 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27140 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27141 {
27142 PyThreadState* __tstate = wxPyBeginAllowThreads();
27143 delete arg1;
27144
27145 wxPyEndAllowThreads(__tstate);
27146 if (PyErr_Occurred()) SWIG_fail;
27147 }
27148 Py_INCREF(Py_None); resultobj = Py_None;
27149 return resultobj;
27150 fail:
27151 return NULL;
27152}
27153
27154
c32bde28 27155static PyObject *_wrap_TreeItemId_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27156 PyObject *resultobj;
27157 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27158 bool result;
27159 PyObject * obj0 = 0 ;
27160 char *kwnames[] = {
27161 (char *) "self", NULL
27162 };
27163
27164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
093d3ff1
RD
27165 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27166 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27167 {
27168 PyThreadState* __tstate = wxPyBeginAllowThreads();
27169 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
27170
27171 wxPyEndAllowThreads(__tstate);
27172 if (PyErr_Occurred()) SWIG_fail;
27173 }
27174 {
27175 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27176 }
27177 return resultobj;
27178 fail:
27179 return NULL;
27180}
27181
27182
c32bde28 27183static PyObject *_wrap_TreeItemId___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27184 PyObject *resultobj;
27185 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27186 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
27187 bool result;
27188 PyObject * obj0 = 0 ;
27189 PyObject * obj1 = 0 ;
27190 char *kwnames[] = {
27191 (char *) "self",(char *) "other", NULL
27192 };
27193
27194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27195 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27196 if (SWIG_arg_fail(1)) SWIG_fail;
27197 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27198 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27199 {
27200 PyThreadState* __tstate = wxPyBeginAllowThreads();
27201 result = (bool)wxTreeItemId___eq__(arg1,(wxTreeItemId const *)arg2);
27202
27203 wxPyEndAllowThreads(__tstate);
27204 if (PyErr_Occurred()) SWIG_fail;
27205 }
27206 {
27207 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27208 }
27209 return resultobj;
27210 fail:
27211 return NULL;
27212}
27213
27214
c32bde28 27215static PyObject *_wrap_TreeItemId___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27216 PyObject *resultobj;
27217 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27218 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
27219 bool result;
27220 PyObject * obj0 = 0 ;
27221 PyObject * obj1 = 0 ;
27222 char *kwnames[] = {
27223 (char *) "self",(char *) "other", NULL
27224 };
27225
27226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27227 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27228 if (SWIG_arg_fail(1)) SWIG_fail;
27229 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27230 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27231 {
27232 PyThreadState* __tstate = wxPyBeginAllowThreads();
27233 result = (bool)wxTreeItemId___ne__(arg1,(wxTreeItemId const *)arg2);
27234
27235 wxPyEndAllowThreads(__tstate);
27236 if (PyErr_Occurred()) SWIG_fail;
27237 }
27238 {
27239 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27240 }
27241 return resultobj;
27242 fail:
27243 return NULL;
27244}
27245
27246
c32bde28 27247static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27248 PyObject *resultobj;
27249 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27250 void *arg2 = (void *) 0 ;
27251 PyObject * obj0 = 0 ;
27252 PyObject * obj1 = 0 ;
27253 char *kwnames[] = {
27254 (char *) "self",(char *) "m_pItem", NULL
27255 };
27256
27257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27258 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27259 if (SWIG_arg_fail(1)) SWIG_fail;
27260 {
27261 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),0,SWIG_POINTER_EXCEPTION|SWIG_POINTER_DISOWN))== -1) {
27262 SWIG_arg_fail(2);SWIG_fail;
27263 }
27264 }
d55e5bfc
RD
27265 if (arg1) (arg1)->m_pItem = arg2;
27266
27267 Py_INCREF(Py_None); resultobj = Py_None;
27268 return resultobj;
27269 fail:
27270 return NULL;
27271}
27272
27273
c32bde28 27274static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27275 PyObject *resultobj;
27276 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27277 void *result;
27278 PyObject * obj0 = 0 ;
27279 char *kwnames[] = {
27280 (char *) "self", NULL
27281 };
27282
27283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
27284 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27285 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27286 result = (void *) ((arg1)->m_pItem);
27287
27288 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0);
27289 return resultobj;
27290 fail:
27291 return NULL;
27292}
27293
27294
c32bde28 27295static PyObject * TreeItemId_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
27296 PyObject *obj;
27297 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27298 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
27299 Py_INCREF(obj);
27300 return Py_BuildValue((char *)"");
27301}
c32bde28 27302static PyObject *_wrap_new_TreeItemData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27303 PyObject *resultobj;
27304 PyObject *arg1 = (PyObject *) NULL ;
27305 wxPyTreeItemData *result;
27306 PyObject * obj0 = 0 ;
27307 char *kwnames[] = {
27308 (char *) "obj", NULL
27309 };
27310
27311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
27312 if (obj0) {
27313 arg1 = obj0;
27314 }
27315 {
27316 PyThreadState* __tstate = wxPyBeginAllowThreads();
27317 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
27318
27319 wxPyEndAllowThreads(__tstate);
27320 if (PyErr_Occurred()) SWIG_fail;
27321 }
27322 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 1);
27323 return resultobj;
27324 fail:
27325 return NULL;
27326}
27327
27328
c32bde28 27329static PyObject *_wrap_TreeItemData_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27330 PyObject *resultobj;
27331 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27332 PyObject *result;
27333 PyObject * obj0 = 0 ;
27334 char *kwnames[] = {
27335 (char *) "self", NULL
27336 };
27337
27338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) goto fail;
093d3ff1
RD
27339 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27340 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27341 {
27342 PyThreadState* __tstate = wxPyBeginAllowThreads();
27343 result = (PyObject *)(arg1)->GetData();
27344
27345 wxPyEndAllowThreads(__tstate);
27346 if (PyErr_Occurred()) SWIG_fail;
27347 }
27348 resultobj = result;
27349 return resultobj;
27350 fail:
27351 return NULL;
27352}
27353
27354
c32bde28 27355static PyObject *_wrap_TreeItemData_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27356 PyObject *resultobj;
27357 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27358 PyObject *arg2 = (PyObject *) 0 ;
27359 PyObject * obj0 = 0 ;
27360 PyObject * obj1 = 0 ;
27361 char *kwnames[] = {
27362 (char *) "self",(char *) "obj", NULL
27363 };
27364
27365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27366 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27367 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27368 arg2 = obj1;
27369 {
27370 PyThreadState* __tstate = wxPyBeginAllowThreads();
27371 (arg1)->SetData(arg2);
27372
27373 wxPyEndAllowThreads(__tstate);
27374 if (PyErr_Occurred()) SWIG_fail;
27375 }
27376 Py_INCREF(Py_None); resultobj = Py_None;
27377 return resultobj;
27378 fail:
27379 return NULL;
27380}
27381
27382
c32bde28 27383static PyObject *_wrap_TreeItemData_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27384 PyObject *resultobj;
27385 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27386 wxTreeItemId *result;
27387 PyObject * obj0 = 0 ;
27388 char *kwnames[] = {
27389 (char *) "self", NULL
27390 };
27391
27392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
093d3ff1
RD
27393 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27394 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27395 {
27396 PyThreadState* __tstate = wxPyBeginAllowThreads();
27397 {
27398 wxTreeItemId const &_result_ref = (arg1)->GetId();
27399 result = (wxTreeItemId *) &_result_ref;
27400 }
27401
27402 wxPyEndAllowThreads(__tstate);
27403 if (PyErr_Occurred()) SWIG_fail;
27404 }
27405 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 0);
27406 return resultobj;
27407 fail:
27408 return NULL;
27409}
27410
27411
c32bde28 27412static PyObject *_wrap_TreeItemData_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27413 PyObject *resultobj;
27414 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27415 wxTreeItemId *arg2 = 0 ;
27416 PyObject * obj0 = 0 ;
27417 PyObject * obj1 = 0 ;
27418 char *kwnames[] = {
27419 (char *) "self",(char *) "id", NULL
27420 };
27421
27422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27423 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27424 if (SWIG_arg_fail(1)) SWIG_fail;
27425 {
27426 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27427 if (SWIG_arg_fail(2)) SWIG_fail;
27428 if (arg2 == NULL) {
27429 SWIG_null_ref("wxTreeItemId");
27430 }
27431 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27432 }
27433 {
27434 PyThreadState* __tstate = wxPyBeginAllowThreads();
27435 (arg1)->SetId((wxTreeItemId const &)*arg2);
27436
27437 wxPyEndAllowThreads(__tstate);
27438 if (PyErr_Occurred()) SWIG_fail;
27439 }
27440 Py_INCREF(Py_None); resultobj = Py_None;
27441 return resultobj;
27442 fail:
27443 return NULL;
27444}
27445
27446
c32bde28 27447static PyObject *_wrap_TreeItemData_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27448 PyObject *resultobj;
27449 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27450 PyObject * obj0 = 0 ;
27451 char *kwnames[] = {
27452 (char *) "self", NULL
27453 };
27454
27455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
093d3ff1
RD
27456 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27457 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27458 {
27459 PyThreadState* __tstate = wxPyBeginAllowThreads();
27460 wxPyTreeItemData_Destroy(arg1);
27461
27462 wxPyEndAllowThreads(__tstate);
27463 if (PyErr_Occurred()) SWIG_fail;
27464 }
27465 Py_INCREF(Py_None); resultobj = Py_None;
27466 return resultobj;
27467 fail:
27468 return NULL;
27469}
27470
27471
c32bde28 27472static PyObject * TreeItemData_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
27473 PyObject *obj;
27474 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27475 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
27476 Py_INCREF(obj);
27477 return Py_BuildValue((char *)"");
27478}
c32bde28 27479static PyObject *_wrap_new_TreeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27480 PyObject *resultobj;
27481 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
27482 int arg2 = (int) 0 ;
27483 wxTreeEvent *result;
27484 PyObject * obj0 = 0 ;
27485 PyObject * obj1 = 0 ;
27486 char *kwnames[] = {
27487 (char *) "commandType",(char *) "id", NULL
27488 };
27489
27490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TreeEvent",kwnames,&obj0,&obj1)) goto fail;
27491 if (obj0) {
093d3ff1
RD
27492 {
27493 arg1 = (wxEventType)(SWIG_As_int(obj0));
27494 if (SWIG_arg_fail(1)) SWIG_fail;
27495 }
d55e5bfc
RD
27496 }
27497 if (obj1) {
093d3ff1
RD
27498 {
27499 arg2 = (int)(SWIG_As_int(obj1));
27500 if (SWIG_arg_fail(2)) SWIG_fail;
27501 }
d55e5bfc
RD
27502 }
27503 {
27504 PyThreadState* __tstate = wxPyBeginAllowThreads();
27505 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
27506
27507 wxPyEndAllowThreads(__tstate);
27508 if (PyErr_Occurred()) SWIG_fail;
27509 }
27510 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeEvent, 1);
27511 return resultobj;
27512 fail:
27513 return NULL;
27514}
27515
27516
c32bde28 27517static PyObject *_wrap_TreeEvent_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27518 PyObject *resultobj;
27519 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27520 wxTreeItemId result;
27521 PyObject * obj0 = 0 ;
27522 char *kwnames[] = {
27523 (char *) "self", NULL
27524 };
27525
27526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
093d3ff1
RD
27527 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27528 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27529 {
27530 PyThreadState* __tstate = wxPyBeginAllowThreads();
27531 result = ((wxTreeEvent const *)arg1)->GetItem();
27532
27533 wxPyEndAllowThreads(__tstate);
27534 if (PyErr_Occurred()) SWIG_fail;
27535 }
27536 {
27537 wxTreeItemId * resultptr;
093d3ff1 27538 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
27539 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27540 }
27541 return resultobj;
27542 fail:
27543 return NULL;
27544}
27545
27546
c32bde28 27547static PyObject *_wrap_TreeEvent_SetItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27548 PyObject *resultobj;
27549 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27550 wxTreeItemId *arg2 = 0 ;
27551 PyObject * obj0 = 0 ;
27552 PyObject * obj1 = 0 ;
27553 char *kwnames[] = {
27554 (char *) "self",(char *) "item", NULL
27555 };
27556
27557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27558 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27559 if (SWIG_arg_fail(1)) SWIG_fail;
27560 {
27561 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27562 if (SWIG_arg_fail(2)) SWIG_fail;
27563 if (arg2 == NULL) {
27564 SWIG_null_ref("wxTreeItemId");
27565 }
27566 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27567 }
27568 {
27569 PyThreadState* __tstate = wxPyBeginAllowThreads();
27570 (arg1)->SetItem((wxTreeItemId const &)*arg2);
27571
27572 wxPyEndAllowThreads(__tstate);
27573 if (PyErr_Occurred()) SWIG_fail;
27574 }
27575 Py_INCREF(Py_None); resultobj = Py_None;
27576 return resultobj;
27577 fail:
27578 return NULL;
27579}
27580
27581
c32bde28 27582static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27583 PyObject *resultobj;
27584 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27585 wxTreeItemId result;
27586 PyObject * obj0 = 0 ;
27587 char *kwnames[] = {
27588 (char *) "self", NULL
27589 };
27590
27591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
093d3ff1
RD
27592 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27593 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27594 {
27595 PyThreadState* __tstate = wxPyBeginAllowThreads();
27596 result = ((wxTreeEvent const *)arg1)->GetOldItem();
27597
27598 wxPyEndAllowThreads(__tstate);
27599 if (PyErr_Occurred()) SWIG_fail;
27600 }
27601 {
27602 wxTreeItemId * resultptr;
093d3ff1 27603 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
27604 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27605 }
27606 return resultobj;
27607 fail:
27608 return NULL;
27609}
27610
27611
c32bde28 27612static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27613 PyObject *resultobj;
27614 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27615 wxTreeItemId *arg2 = 0 ;
27616 PyObject * obj0 = 0 ;
27617 PyObject * obj1 = 0 ;
27618 char *kwnames[] = {
27619 (char *) "self",(char *) "item", NULL
27620 };
27621
27622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27623 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27624 if (SWIG_arg_fail(1)) SWIG_fail;
27625 {
27626 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27627 if (SWIG_arg_fail(2)) SWIG_fail;
27628 if (arg2 == NULL) {
27629 SWIG_null_ref("wxTreeItemId");
27630 }
27631 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27632 }
27633 {
27634 PyThreadState* __tstate = wxPyBeginAllowThreads();
27635 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
27636
27637 wxPyEndAllowThreads(__tstate);
27638 if (PyErr_Occurred()) SWIG_fail;
27639 }
27640 Py_INCREF(Py_None); resultobj = Py_None;
27641 return resultobj;
27642 fail:
27643 return NULL;
27644}
27645
27646
c32bde28 27647static PyObject *_wrap_TreeEvent_GetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27648 PyObject *resultobj;
27649 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27650 wxPoint result;
27651 PyObject * obj0 = 0 ;
27652 char *kwnames[] = {
27653 (char *) "self", NULL
27654 };
27655
27656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",kwnames,&obj0)) goto fail;
093d3ff1
RD
27657 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27658 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27659 {
27660 PyThreadState* __tstate = wxPyBeginAllowThreads();
27661 result = ((wxTreeEvent const *)arg1)->GetPoint();
27662
27663 wxPyEndAllowThreads(__tstate);
27664 if (PyErr_Occurred()) SWIG_fail;
27665 }
27666 {
27667 wxPoint * resultptr;
093d3ff1 27668 resultptr = new wxPoint((wxPoint &)(result));
d55e5bfc
RD
27669 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
27670 }
27671 return resultobj;
27672 fail:
27673 return NULL;
27674}
27675
27676
c32bde28 27677static PyObject *_wrap_TreeEvent_SetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27678 PyObject *resultobj;
27679 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27680 wxPoint *arg2 = 0 ;
27681 wxPoint temp2 ;
27682 PyObject * obj0 = 0 ;
27683 PyObject * obj1 = 0 ;
27684 char *kwnames[] = {
27685 (char *) "self",(char *) "pt", NULL
27686 };
27687
27688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27689 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27690 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27691 {
27692 arg2 = &temp2;
27693 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
27694 }
27695 {
27696 PyThreadState* __tstate = wxPyBeginAllowThreads();
27697 (arg1)->SetPoint((wxPoint const &)*arg2);
27698
27699 wxPyEndAllowThreads(__tstate);
27700 if (PyErr_Occurred()) SWIG_fail;
27701 }
27702 Py_INCREF(Py_None); resultobj = Py_None;
27703 return resultobj;
27704 fail:
27705 return NULL;
27706}
27707
27708
c32bde28 27709static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27710 PyObject *resultobj;
27711 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27712 wxKeyEvent *result;
27713 PyObject * obj0 = 0 ;
27714 char *kwnames[] = {
27715 (char *) "self", NULL
27716 };
27717
27718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",kwnames,&obj0)) goto fail;
093d3ff1
RD
27719 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27720 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27721 {
27722 PyThreadState* __tstate = wxPyBeginAllowThreads();
27723 {
27724 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
27725 result = (wxKeyEvent *) &_result_ref;
27726 }
27727
27728 wxPyEndAllowThreads(__tstate);
27729 if (PyErr_Occurred()) SWIG_fail;
27730 }
27731 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxKeyEvent, 0);
27732 return resultobj;
27733 fail:
27734 return NULL;
27735}
27736
27737
c32bde28 27738static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27739 PyObject *resultobj;
27740 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27741 int result;
27742 PyObject * obj0 = 0 ;
27743 char *kwnames[] = {
27744 (char *) "self", NULL
27745 };
27746
27747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",kwnames,&obj0)) goto fail;
093d3ff1
RD
27748 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27749 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27750 {
27751 PyThreadState* __tstate = wxPyBeginAllowThreads();
27752 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
27753
27754 wxPyEndAllowThreads(__tstate);
27755 if (PyErr_Occurred()) SWIG_fail;
27756 }
093d3ff1
RD
27757 {
27758 resultobj = SWIG_From_int((int)(result));
27759 }
d55e5bfc
RD
27760 return resultobj;
27761 fail:
27762 return NULL;
27763}
27764
27765
c32bde28 27766static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27767 PyObject *resultobj;
27768 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27769 wxKeyEvent *arg2 = 0 ;
27770 PyObject * obj0 = 0 ;
27771 PyObject * obj1 = 0 ;
27772 char *kwnames[] = {
27773 (char *) "self",(char *) "evt", NULL
27774 };
27775
27776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27777 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27778 if (SWIG_arg_fail(1)) SWIG_fail;
27779 {
27780 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
27781 if (SWIG_arg_fail(2)) SWIG_fail;
27782 if (arg2 == NULL) {
27783 SWIG_null_ref("wxKeyEvent");
27784 }
27785 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27786 }
27787 {
27788 PyThreadState* __tstate = wxPyBeginAllowThreads();
27789 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
27790
27791 wxPyEndAllowThreads(__tstate);
27792 if (PyErr_Occurred()) SWIG_fail;
27793 }
27794 Py_INCREF(Py_None); resultobj = Py_None;
27795 return resultobj;
27796 fail:
27797 return NULL;
27798}
27799
27800
c32bde28 27801static PyObject *_wrap_TreeEvent_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27802 PyObject *resultobj;
27803 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27804 wxString *result;
27805 PyObject * obj0 = 0 ;
27806 char *kwnames[] = {
27807 (char *) "self", NULL
27808 };
27809
27810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",kwnames,&obj0)) goto fail;
093d3ff1
RD
27811 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27812 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27813 {
27814 PyThreadState* __tstate = wxPyBeginAllowThreads();
27815 {
27816 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
27817 result = (wxString *) &_result_ref;
27818 }
27819
27820 wxPyEndAllowThreads(__tstate);
27821 if (PyErr_Occurred()) SWIG_fail;
27822 }
27823 {
27824#if wxUSE_UNICODE
27825 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
27826#else
27827 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
27828#endif
27829 }
27830 return resultobj;
27831 fail:
27832 return NULL;
27833}
27834
27835
c32bde28 27836static PyObject *_wrap_TreeEvent_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27837 PyObject *resultobj;
27838 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27839 wxString *arg2 = 0 ;
ae8162c8 27840 bool temp2 = false ;
d55e5bfc
RD
27841 PyObject * obj0 = 0 ;
27842 PyObject * obj1 = 0 ;
27843 char *kwnames[] = {
27844 (char *) "self",(char *) "label", NULL
27845 };
27846
27847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27848 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27849 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27850 {
27851 arg2 = wxString_in_helper(obj1);
27852 if (arg2 == NULL) SWIG_fail;
ae8162c8 27853 temp2 = true;
d55e5bfc
RD
27854 }
27855 {
27856 PyThreadState* __tstate = wxPyBeginAllowThreads();
27857 (arg1)->SetLabel((wxString const &)*arg2);
27858
27859 wxPyEndAllowThreads(__tstate);
27860 if (PyErr_Occurred()) SWIG_fail;
27861 }
27862 Py_INCREF(Py_None); resultobj = Py_None;
27863 {
27864 if (temp2)
27865 delete arg2;
27866 }
27867 return resultobj;
27868 fail:
27869 {
27870 if (temp2)
27871 delete arg2;
27872 }
27873 return NULL;
27874}
27875
27876
c32bde28 27877static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27878 PyObject *resultobj;
27879 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27880 bool result;
27881 PyObject * obj0 = 0 ;
27882 char *kwnames[] = {
27883 (char *) "self", NULL
27884 };
27885
27886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
093d3ff1
RD
27887 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27888 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27889 {
27890 PyThreadState* __tstate = wxPyBeginAllowThreads();
27891 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
27892
27893 wxPyEndAllowThreads(__tstate);
27894 if (PyErr_Occurred()) SWIG_fail;
27895 }
27896 {
27897 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27898 }
27899 return resultobj;
27900 fail:
27901 return NULL;
27902}
27903
27904
c32bde28 27905static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27906 PyObject *resultobj;
27907 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27908 bool arg2 ;
27909 PyObject * obj0 = 0 ;
27910 PyObject * obj1 = 0 ;
27911 char *kwnames[] = {
27912 (char *) "self",(char *) "editCancelled", NULL
27913 };
27914
27915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27916 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27917 if (SWIG_arg_fail(1)) SWIG_fail;
27918 {
27919 arg2 = (bool)(SWIG_As_bool(obj1));
27920 if (SWIG_arg_fail(2)) SWIG_fail;
27921 }
d55e5bfc
RD
27922 {
27923 PyThreadState* __tstate = wxPyBeginAllowThreads();
27924 (arg1)->SetEditCanceled(arg2);
27925
27926 wxPyEndAllowThreads(__tstate);
27927 if (PyErr_Occurred()) SWIG_fail;
27928 }
27929 Py_INCREF(Py_None); resultobj = Py_None;
27930 return resultobj;
27931 fail:
27932 return NULL;
27933}
27934
27935
c32bde28 27936static PyObject *_wrap_TreeEvent_SetToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27937 PyObject *resultobj;
27938 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27939 wxString *arg2 = 0 ;
ae8162c8 27940 bool temp2 = false ;
d55e5bfc
RD
27941 PyObject * obj0 = 0 ;
27942 PyObject * obj1 = 0 ;
27943 char *kwnames[] = {
27944 (char *) "self",(char *) "toolTip", NULL
27945 };
27946
27947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27948 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27949 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27950 {
27951 arg2 = wxString_in_helper(obj1);
27952 if (arg2 == NULL) SWIG_fail;
ae8162c8 27953 temp2 = true;
d55e5bfc
RD
27954 }
27955 {
27956 PyThreadState* __tstate = wxPyBeginAllowThreads();
27957 (arg1)->SetToolTip((wxString const &)*arg2);
27958
27959 wxPyEndAllowThreads(__tstate);
27960 if (PyErr_Occurred()) SWIG_fail;
27961 }
27962 Py_INCREF(Py_None); resultobj = Py_None;
27963 {
27964 if (temp2)
27965 delete arg2;
27966 }
27967 return resultobj;
27968 fail:
27969 {
27970 if (temp2)
27971 delete arg2;
27972 }
27973 return NULL;
27974}
27975
27976
dcb8fc74
RD
27977static PyObject *_wrap_TreeEvent_GetToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
27978 PyObject *resultobj;
27979 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27980 wxString result;
27981 PyObject * obj0 = 0 ;
27982 char *kwnames[] = {
27983 (char *) "self", NULL
27984 };
27985
27986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetToolTip",kwnames,&obj0)) goto fail;
27987 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27988 if (SWIG_arg_fail(1)) SWIG_fail;
27989 {
27990 PyThreadState* __tstate = wxPyBeginAllowThreads();
27991 result = (arg1)->GetToolTip();
27992
27993 wxPyEndAllowThreads(__tstate);
27994 if (PyErr_Occurred()) SWIG_fail;
27995 }
27996 {
27997#if wxUSE_UNICODE
27998 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27999#else
28000 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28001#endif
28002 }
28003 return resultobj;
28004 fail:
28005 return NULL;
28006}
28007
28008
c32bde28 28009static PyObject * TreeEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
28010 PyObject *obj;
28011 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28012 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
28013 Py_INCREF(obj);
28014 return Py_BuildValue((char *)"");
28015}
c32bde28 28016static PyObject *_wrap_new_TreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28017 PyObject *resultobj;
28018 wxWindow *arg1 = (wxWindow *) 0 ;
28019 int arg2 = (int) -1 ;
28020 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28021 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28022 wxSize const &arg4_defvalue = wxDefaultSize ;
28023 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28024 long arg5 = (long) wxTR_DEFAULT_STYLE ;
28025 wxValidator const &arg6_defvalue = wxDefaultValidator ;
28026 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
28027 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
28028 wxString *arg7 = (wxString *) &arg7_defvalue ;
28029 wxPyTreeCtrl *result;
28030 wxPoint temp3 ;
28031 wxSize temp4 ;
ae8162c8 28032 bool temp7 = false ;
d55e5bfc
RD
28033 PyObject * obj0 = 0 ;
28034 PyObject * obj1 = 0 ;
28035 PyObject * obj2 = 0 ;
28036 PyObject * obj3 = 0 ;
28037 PyObject * obj4 = 0 ;
28038 PyObject * obj5 = 0 ;
28039 PyObject * obj6 = 0 ;
28040 char *kwnames[] = {
28041 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28042 };
28043
28044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
28045 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28046 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 28047 if (obj1) {
093d3ff1
RD
28048 {
28049 arg2 = (int)(SWIG_As_int(obj1));
28050 if (SWIG_arg_fail(2)) SWIG_fail;
28051 }
d55e5bfc
RD
28052 }
28053 if (obj2) {
28054 {
28055 arg3 = &temp3;
28056 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28057 }
28058 }
28059 if (obj3) {
28060 {
28061 arg4 = &temp4;
28062 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
28063 }
28064 }
28065 if (obj4) {
093d3ff1
RD
28066 {
28067 arg5 = (long)(SWIG_As_long(obj4));
28068 if (SWIG_arg_fail(5)) SWIG_fail;
28069 }
d55e5bfc
RD
28070 }
28071 if (obj5) {
093d3ff1
RD
28072 {
28073 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
28074 if (SWIG_arg_fail(6)) SWIG_fail;
28075 if (arg6 == NULL) {
28076 SWIG_null_ref("wxValidator");
28077 }
28078 if (SWIG_arg_fail(6)) SWIG_fail;
d55e5bfc
RD
28079 }
28080 }
28081 if (obj6) {
28082 {
28083 arg7 = wxString_in_helper(obj6);
28084 if (arg7 == NULL) SWIG_fail;
ae8162c8 28085 temp7 = true;
d55e5bfc
RD
28086 }
28087 }
28088 {
0439c23b 28089 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
28090 PyThreadState* __tstate = wxPyBeginAllowThreads();
28091 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
28092
28093 wxPyEndAllowThreads(__tstate);
110da5b0 28094 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 28095 }
b0f7404b 28096 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeCtrl, 1);
d55e5bfc
RD
28097 {
28098 if (temp7)
28099 delete arg7;
28100 }
28101 return resultobj;
28102 fail:
28103 {
28104 if (temp7)
28105 delete arg7;
28106 }
28107 return NULL;
28108}
28109
28110
c32bde28 28111static PyObject *_wrap_new_PreTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28112 PyObject *resultobj;
28113 wxPyTreeCtrl *result;
28114 char *kwnames[] = {
28115 NULL
28116 };
28117
28118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
28119 {
0439c23b 28120 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
28121 PyThreadState* __tstate = wxPyBeginAllowThreads();
28122 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
28123
28124 wxPyEndAllowThreads(__tstate);
110da5b0 28125 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 28126 }
b0f7404b 28127 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeCtrl, 1);
d55e5bfc
RD
28128 return resultobj;
28129 fail:
28130 return NULL;
28131}
28132
28133
c32bde28 28134static PyObject *_wrap_TreeCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28135 PyObject *resultobj;
28136 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28137 wxWindow *arg2 = (wxWindow *) 0 ;
28138 int arg3 = (int) -1 ;
28139 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28140 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28141 wxSize const &arg5_defvalue = wxDefaultSize ;
28142 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28143 long arg6 = (long) wxTR_DEFAULT_STYLE ;
28144 wxValidator const &arg7_defvalue = wxDefaultValidator ;
28145 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
28146 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
28147 wxString *arg8 = (wxString *) &arg8_defvalue ;
28148 bool result;
28149 wxPoint temp4 ;
28150 wxSize temp5 ;
ae8162c8 28151 bool temp8 = false ;
d55e5bfc
RD
28152 PyObject * obj0 = 0 ;
28153 PyObject * obj1 = 0 ;
28154 PyObject * obj2 = 0 ;
28155 PyObject * obj3 = 0 ;
28156 PyObject * obj4 = 0 ;
28157 PyObject * obj5 = 0 ;
28158 PyObject * obj6 = 0 ;
28159 PyObject * obj7 = 0 ;
28160 char *kwnames[] = {
28161 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28162 };
28163
28164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
28165 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28166 if (SWIG_arg_fail(1)) SWIG_fail;
28167 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28168 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 28169 if (obj2) {
093d3ff1
RD
28170 {
28171 arg3 = (int)(SWIG_As_int(obj2));
28172 if (SWIG_arg_fail(3)) SWIG_fail;
28173 }
d55e5bfc
RD
28174 }
28175 if (obj3) {
28176 {
28177 arg4 = &temp4;
28178 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28179 }
28180 }
28181 if (obj4) {
28182 {
28183 arg5 = &temp5;
28184 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28185 }
28186 }
28187 if (obj5) {
093d3ff1
RD
28188 {
28189 arg6 = (long)(SWIG_As_long(obj5));
28190 if (SWIG_arg_fail(6)) SWIG_fail;
28191 }
d55e5bfc
RD
28192 }
28193 if (obj6) {
093d3ff1
RD
28194 {
28195 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
28196 if (SWIG_arg_fail(7)) SWIG_fail;
28197 if (arg7 == NULL) {
28198 SWIG_null_ref("wxValidator");
28199 }
28200 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
28201 }
28202 }
28203 if (obj7) {
28204 {
28205 arg8 = wxString_in_helper(obj7);
28206 if (arg8 == NULL) SWIG_fail;
ae8162c8 28207 temp8 = true;
d55e5bfc
RD
28208 }
28209 }
28210 {
28211 PyThreadState* __tstate = wxPyBeginAllowThreads();
28212 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
28213
28214 wxPyEndAllowThreads(__tstate);
28215 if (PyErr_Occurred()) SWIG_fail;
28216 }
28217 {
28218 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28219 }
28220 {
28221 if (temp8)
28222 delete arg8;
28223 }
28224 return resultobj;
28225 fail:
28226 {
28227 if (temp8)
28228 delete arg8;
28229 }
28230 return NULL;
28231}
28232
28233
c32bde28 28234static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28235 PyObject *resultobj;
28236 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28237 PyObject *arg2 = (PyObject *) 0 ;
28238 PyObject *arg3 = (PyObject *) 0 ;
28239 PyObject * obj0 = 0 ;
28240 PyObject * obj1 = 0 ;
28241 PyObject * obj2 = 0 ;
28242 char *kwnames[] = {
28243 (char *) "self",(char *) "self",(char *) "_class", NULL
28244 };
28245
28246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
28247 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28248 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28249 arg2 = obj1;
28250 arg3 = obj2;
28251 {
28252 PyThreadState* __tstate = wxPyBeginAllowThreads();
28253 (arg1)->_setCallbackInfo(arg2,arg3);
28254
28255 wxPyEndAllowThreads(__tstate);
28256 if (PyErr_Occurred()) SWIG_fail;
28257 }
28258 Py_INCREF(Py_None); resultobj = Py_None;
28259 return resultobj;
28260 fail:
28261 return NULL;
28262}
28263
28264
c32bde28 28265static PyObject *_wrap_TreeCtrl_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28266 PyObject *resultobj;
28267 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28268 size_t result;
28269 PyObject * obj0 = 0 ;
28270 char *kwnames[] = {
28271 (char *) "self", NULL
28272 };
28273
28274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
28275 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28276 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28277 {
28278 PyThreadState* __tstate = wxPyBeginAllowThreads();
28279 result = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
28280
28281 wxPyEndAllowThreads(__tstate);
28282 if (PyErr_Occurred()) SWIG_fail;
28283 }
093d3ff1
RD
28284 {
28285 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
28286 }
d55e5bfc
RD
28287 return resultobj;
28288 fail:
28289 return NULL;
28290}
28291
28292
c32bde28 28293static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28294 PyObject *resultobj;
28295 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28296 unsigned int result;
28297 PyObject * obj0 = 0 ;
28298 char *kwnames[] = {
28299 (char *) "self", NULL
28300 };
28301
28302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
093d3ff1
RD
28303 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28304 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28305 {
28306 PyThreadState* __tstate = wxPyBeginAllowThreads();
28307 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
28308
28309 wxPyEndAllowThreads(__tstate);
28310 if (PyErr_Occurred()) SWIG_fail;
28311 }
093d3ff1
RD
28312 {
28313 resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result));
28314 }
d55e5bfc
RD
28315 return resultobj;
28316 fail:
28317 return NULL;
28318}
28319
28320
c32bde28 28321static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28322 PyObject *resultobj;
28323 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28324 unsigned int arg2 ;
28325 PyObject * obj0 = 0 ;
28326 PyObject * obj1 = 0 ;
28327 char *kwnames[] = {
28328 (char *) "self",(char *) "indent", NULL
28329 };
28330
28331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28332 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28333 if (SWIG_arg_fail(1)) SWIG_fail;
28334 {
28335 arg2 = (unsigned int)(SWIG_As_unsigned_SS_int(obj1));
28336 if (SWIG_arg_fail(2)) SWIG_fail;
28337 }
d55e5bfc
RD
28338 {
28339 PyThreadState* __tstate = wxPyBeginAllowThreads();
28340 (arg1)->SetIndent(arg2);
28341
28342 wxPyEndAllowThreads(__tstate);
28343 if (PyErr_Occurred()) SWIG_fail;
28344 }
28345 Py_INCREF(Py_None); resultobj = Py_None;
28346 return resultobj;
28347 fail:
28348 return NULL;
28349}
28350
28351
c32bde28 28352static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28353 PyObject *resultobj;
28354 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28355 unsigned int result;
28356 PyObject * obj0 = 0 ;
28357 char *kwnames[] = {
28358 (char *) "self", NULL
28359 };
28360
28361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",kwnames,&obj0)) goto fail;
093d3ff1
RD
28362 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28363 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28364 {
28365 PyThreadState* __tstate = wxPyBeginAllowThreads();
28366 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
28367
28368 wxPyEndAllowThreads(__tstate);
28369 if (PyErr_Occurred()) SWIG_fail;
28370 }
093d3ff1
RD
28371 {
28372 resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result));
28373 }
d55e5bfc
RD
28374 return resultobj;
28375 fail:
28376 return NULL;
28377}
28378
28379
c32bde28 28380static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28381 PyObject *resultobj;
28382 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28383 unsigned int arg2 ;
28384 PyObject * obj0 = 0 ;
28385 PyObject * obj1 = 0 ;
28386 char *kwnames[] = {
28387 (char *) "self",(char *) "spacing", NULL
28388 };
28389
28390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28391 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28392 if (SWIG_arg_fail(1)) SWIG_fail;
28393 {
28394 arg2 = (unsigned int)(SWIG_As_unsigned_SS_int(obj1));
28395 if (SWIG_arg_fail(2)) SWIG_fail;
28396 }
d55e5bfc
RD
28397 {
28398 PyThreadState* __tstate = wxPyBeginAllowThreads();
28399 (arg1)->SetSpacing(arg2);
28400
28401 wxPyEndAllowThreads(__tstate);
28402 if (PyErr_Occurred()) SWIG_fail;
28403 }
28404 Py_INCREF(Py_None); resultobj = Py_None;
28405 return resultobj;
28406 fail:
28407 return NULL;
28408}
28409
28410
c32bde28 28411static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28412 PyObject *resultobj;
28413 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28414 wxImageList *result;
28415 PyObject * obj0 = 0 ;
28416 char *kwnames[] = {
28417 (char *) "self", NULL
28418 };
28419
28420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) goto fail;
093d3ff1
RD
28421 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28422 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28423 {
28424 PyThreadState* __tstate = wxPyBeginAllowThreads();
28425 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
28426
28427 wxPyEndAllowThreads(__tstate);
28428 if (PyErr_Occurred()) SWIG_fail;
28429 }
28430 {
412d302d 28431 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
28432 }
28433 return resultobj;
28434 fail:
28435 return NULL;
28436}
28437
28438
c32bde28 28439static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28440 PyObject *resultobj;
28441 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28442 wxImageList *result;
28443 PyObject * obj0 = 0 ;
28444 char *kwnames[] = {
28445 (char *) "self", NULL
28446 };
28447
28448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
093d3ff1
RD
28449 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28450 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28451 {
28452 PyThreadState* __tstate = wxPyBeginAllowThreads();
28453 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
28454
28455 wxPyEndAllowThreads(__tstate);
28456 if (PyErr_Occurred()) SWIG_fail;
28457 }
28458 {
412d302d 28459 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
28460 }
28461 return resultobj;
28462 fail:
28463 return NULL;
28464}
28465
28466
c32bde28 28467static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28468 PyObject *resultobj;
28469 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28470 wxImageList *arg2 = (wxImageList *) 0 ;
28471 PyObject * obj0 = 0 ;
28472 PyObject * obj1 = 0 ;
28473 char *kwnames[] = {
28474 (char *) "self",(char *) "imageList", NULL
28475 };
28476
28477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28478 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28479 if (SWIG_arg_fail(1)) SWIG_fail;
28480 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
28481 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28482 {
28483 PyThreadState* __tstate = wxPyBeginAllowThreads();
28484 (arg1)->SetImageList(arg2);
28485
28486 wxPyEndAllowThreads(__tstate);
28487 if (PyErr_Occurred()) SWIG_fail;
28488 }
28489 Py_INCREF(Py_None); resultobj = Py_None;
28490 return resultobj;
28491 fail:
28492 return NULL;
28493}
28494
28495
c32bde28 28496static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28497 PyObject *resultobj;
28498 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28499 wxImageList *arg2 = (wxImageList *) 0 ;
28500 PyObject * obj0 = 0 ;
28501 PyObject * obj1 = 0 ;
28502 char *kwnames[] = {
28503 (char *) "self",(char *) "imageList", NULL
28504 };
28505
28506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28507 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28508 if (SWIG_arg_fail(1)) SWIG_fail;
28509 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
28510 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28511 {
28512 PyThreadState* __tstate = wxPyBeginAllowThreads();
28513 (arg1)->SetStateImageList(arg2);
28514
28515 wxPyEndAllowThreads(__tstate);
28516 if (PyErr_Occurred()) SWIG_fail;
28517 }
28518 Py_INCREF(Py_None); resultobj = Py_None;
28519 return resultobj;
28520 fail:
28521 return NULL;
28522}
28523
28524
c32bde28 28525static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28526 PyObject *resultobj;
28527 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28528 wxImageList *arg2 = (wxImageList *) 0 ;
28529 PyObject * obj0 = 0 ;
28530 PyObject * obj1 = 0 ;
28531 char *kwnames[] = {
28532 (char *) "self",(char *) "imageList", NULL
28533 };
28534
28535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28536 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28537 if (SWIG_arg_fail(1)) SWIG_fail;
28538 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
28539 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28540 {
28541 PyThreadState* __tstate = wxPyBeginAllowThreads();
28542 (arg1)->AssignImageList(arg2);
28543
28544 wxPyEndAllowThreads(__tstate);
28545 if (PyErr_Occurred()) SWIG_fail;
28546 }
28547 Py_INCREF(Py_None); resultobj = Py_None;
28548 return resultobj;
28549 fail:
28550 return NULL;
28551}
28552
28553
c32bde28 28554static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28555 PyObject *resultobj;
28556 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28557 wxImageList *arg2 = (wxImageList *) 0 ;
28558 PyObject * obj0 = 0 ;
28559 PyObject * obj1 = 0 ;
28560 char *kwnames[] = {
28561 (char *) "self",(char *) "imageList", NULL
28562 };
28563
28564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28565 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28566 if (SWIG_arg_fail(1)) SWIG_fail;
28567 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
28568 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28569 {
28570 PyThreadState* __tstate = wxPyBeginAllowThreads();
28571 (arg1)->AssignStateImageList(arg2);
28572
28573 wxPyEndAllowThreads(__tstate);
28574 if (PyErr_Occurred()) SWIG_fail;
28575 }
28576 Py_INCREF(Py_None); resultobj = Py_None;
28577 return resultobj;
28578 fail:
28579 return NULL;
28580}
28581
28582
c32bde28 28583static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28584 PyObject *resultobj;
28585 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28586 wxTreeItemId *arg2 = 0 ;
28587 wxString result;
28588 PyObject * obj0 = 0 ;
28589 PyObject * obj1 = 0 ;
28590 char *kwnames[] = {
28591 (char *) "self",(char *) "item", NULL
28592 };
28593
28594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28595 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28596 if (SWIG_arg_fail(1)) SWIG_fail;
28597 {
28598 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28599 if (SWIG_arg_fail(2)) SWIG_fail;
28600 if (arg2 == NULL) {
28601 SWIG_null_ref("wxTreeItemId");
28602 }
28603 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28604 }
28605 {
28606 PyThreadState* __tstate = wxPyBeginAllowThreads();
28607 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
28608
28609 wxPyEndAllowThreads(__tstate);
28610 if (PyErr_Occurred()) SWIG_fail;
28611 }
28612 {
28613#if wxUSE_UNICODE
28614 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28615#else
28616 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28617#endif
28618 }
28619 return resultobj;
28620 fail:
28621 return NULL;
28622}
28623
28624
c32bde28 28625static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28626 PyObject *resultobj;
28627 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28628 wxTreeItemId *arg2 = 0 ;
093d3ff1 28629 wxTreeItemIcon arg3 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
d55e5bfc
RD
28630 int result;
28631 PyObject * obj0 = 0 ;
28632 PyObject * obj1 = 0 ;
28633 PyObject * obj2 = 0 ;
28634 char *kwnames[] = {
28635 (char *) "self",(char *) "item",(char *) "which", NULL
28636 };
28637
28638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
28639 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28640 if (SWIG_arg_fail(1)) SWIG_fail;
28641 {
28642 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28643 if (SWIG_arg_fail(2)) SWIG_fail;
28644 if (arg2 == NULL) {
28645 SWIG_null_ref("wxTreeItemId");
28646 }
28647 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28648 }
28649 if (obj2) {
093d3ff1
RD
28650 {
28651 arg3 = (wxTreeItemIcon)(SWIG_As_int(obj2));
28652 if (SWIG_arg_fail(3)) SWIG_fail;
28653 }
d55e5bfc
RD
28654 }
28655 {
28656 PyThreadState* __tstate = wxPyBeginAllowThreads();
28657 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,(wxTreeItemIcon )arg3);
28658
28659 wxPyEndAllowThreads(__tstate);
28660 if (PyErr_Occurred()) SWIG_fail;
28661 }
093d3ff1
RD
28662 {
28663 resultobj = SWIG_From_int((int)(result));
28664 }
d55e5bfc
RD
28665 return resultobj;
28666 fail:
28667 return NULL;
28668}
28669
28670
c32bde28 28671static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28672 PyObject *resultobj;
28673 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28674 wxTreeItemId *arg2 = 0 ;
28675 wxPyTreeItemData *result;
28676 PyObject * obj0 = 0 ;
28677 PyObject * obj1 = 0 ;
28678 char *kwnames[] = {
28679 (char *) "self",(char *) "item", NULL
28680 };
28681
28682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28683 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28684 if (SWIG_arg_fail(1)) SWIG_fail;
28685 {
28686 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28687 if (SWIG_arg_fail(2)) SWIG_fail;
28688 if (arg2 == NULL) {
28689 SWIG_null_ref("wxTreeItemId");
28690 }
28691 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28692 }
28693 {
28694 PyThreadState* __tstate = wxPyBeginAllowThreads();
28695 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
28696
28697 wxPyEndAllowThreads(__tstate);
28698 if (PyErr_Occurred()) SWIG_fail;
28699 }
28700 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 0);
28701 return resultobj;
28702 fail:
28703 return NULL;
28704}
28705
28706
c32bde28 28707static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28708 PyObject *resultobj;
28709 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28710 wxTreeItemId *arg2 = 0 ;
28711 PyObject *result;
28712 PyObject * obj0 = 0 ;
28713 PyObject * obj1 = 0 ;
28714 char *kwnames[] = {
28715 (char *) "self",(char *) "item", NULL
28716 };
28717
28718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28719 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28720 if (SWIG_arg_fail(1)) SWIG_fail;
28721 {
28722 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28723 if (SWIG_arg_fail(2)) SWIG_fail;
28724 if (arg2 == NULL) {
28725 SWIG_null_ref("wxTreeItemId");
28726 }
28727 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28728 }
28729 {
28730 PyThreadState* __tstate = wxPyBeginAllowThreads();
28731 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
28732
28733 wxPyEndAllowThreads(__tstate);
28734 if (PyErr_Occurred()) SWIG_fail;
28735 }
28736 resultobj = result;
28737 return resultobj;
28738 fail:
28739 return NULL;
28740}
28741
28742
c32bde28 28743static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28744 PyObject *resultobj;
28745 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28746 wxTreeItemId *arg2 = 0 ;
28747 wxColour result;
28748 PyObject * obj0 = 0 ;
28749 PyObject * obj1 = 0 ;
28750 char *kwnames[] = {
28751 (char *) "self",(char *) "item", NULL
28752 };
28753
28754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28755 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28756 if (SWIG_arg_fail(1)) SWIG_fail;
28757 {
28758 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28759 if (SWIG_arg_fail(2)) SWIG_fail;
28760 if (arg2 == NULL) {
28761 SWIG_null_ref("wxTreeItemId");
28762 }
28763 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28764 }
28765 {
28766 PyThreadState* __tstate = wxPyBeginAllowThreads();
28767 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
28768
28769 wxPyEndAllowThreads(__tstate);
28770 if (PyErr_Occurred()) SWIG_fail;
28771 }
28772 {
28773 wxColour * resultptr;
093d3ff1 28774 resultptr = new wxColour((wxColour &)(result));
d55e5bfc
RD
28775 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
28776 }
28777 return resultobj;
28778 fail:
28779 return NULL;
28780}
28781
28782
c32bde28 28783static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28784 PyObject *resultobj;
28785 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28786 wxTreeItemId *arg2 = 0 ;
28787 wxColour result;
28788 PyObject * obj0 = 0 ;
28789 PyObject * obj1 = 0 ;
28790 char *kwnames[] = {
28791 (char *) "self",(char *) "item", NULL
28792 };
28793
28794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28795 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28796 if (SWIG_arg_fail(1)) SWIG_fail;
28797 {
28798 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28799 if (SWIG_arg_fail(2)) SWIG_fail;
28800 if (arg2 == NULL) {
28801 SWIG_null_ref("wxTreeItemId");
28802 }
28803 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28804 }
28805 {
28806 PyThreadState* __tstate = wxPyBeginAllowThreads();
28807 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
28808
28809 wxPyEndAllowThreads(__tstate);
28810 if (PyErr_Occurred()) SWIG_fail;
28811 }
28812 {
28813 wxColour * resultptr;
093d3ff1 28814 resultptr = new wxColour((wxColour &)(result));
d55e5bfc
RD
28815 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
28816 }
28817 return resultobj;
28818 fail:
28819 return NULL;
28820}
28821
28822
c32bde28 28823static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28824 PyObject *resultobj;
28825 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28826 wxTreeItemId *arg2 = 0 ;
28827 wxFont result;
28828 PyObject * obj0 = 0 ;
28829 PyObject * obj1 = 0 ;
28830 char *kwnames[] = {
28831 (char *) "self",(char *) "item", NULL
28832 };
28833
28834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28835 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28836 if (SWIG_arg_fail(1)) SWIG_fail;
28837 {
28838 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28839 if (SWIG_arg_fail(2)) SWIG_fail;
28840 if (arg2 == NULL) {
28841 SWIG_null_ref("wxTreeItemId");
28842 }
28843 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28844 }
28845 {
28846 PyThreadState* __tstate = wxPyBeginAllowThreads();
28847 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
28848
28849 wxPyEndAllowThreads(__tstate);
28850 if (PyErr_Occurred()) SWIG_fail;
28851 }
28852 {
28853 wxFont * resultptr;
093d3ff1 28854 resultptr = new wxFont((wxFont &)(result));
d55e5bfc
RD
28855 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
28856 }
28857 return resultobj;
28858 fail:
28859 return NULL;
28860}
28861
28862
c32bde28 28863static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28864 PyObject *resultobj;
28865 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28866 wxTreeItemId *arg2 = 0 ;
28867 wxString *arg3 = 0 ;
ae8162c8 28868 bool temp3 = false ;
d55e5bfc
RD
28869 PyObject * obj0 = 0 ;
28870 PyObject * obj1 = 0 ;
28871 PyObject * obj2 = 0 ;
28872 char *kwnames[] = {
28873 (char *) "self",(char *) "item",(char *) "text", NULL
28874 };
28875
28876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
28877 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28878 if (SWIG_arg_fail(1)) SWIG_fail;
28879 {
28880 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28881 if (SWIG_arg_fail(2)) SWIG_fail;
28882 if (arg2 == NULL) {
28883 SWIG_null_ref("wxTreeItemId");
28884 }
28885 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28886 }
28887 {
28888 arg3 = wxString_in_helper(obj2);
28889 if (arg3 == NULL) SWIG_fail;
ae8162c8 28890 temp3 = true;
d55e5bfc
RD
28891 }
28892 {
28893 PyThreadState* __tstate = wxPyBeginAllowThreads();
28894 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
28895
28896 wxPyEndAllowThreads(__tstate);
28897 if (PyErr_Occurred()) SWIG_fail;
28898 }
28899 Py_INCREF(Py_None); resultobj = Py_None;
28900 {
28901 if (temp3)
28902 delete arg3;
28903 }
28904 return resultobj;
28905 fail:
28906 {
28907 if (temp3)
28908 delete arg3;
28909 }
28910 return NULL;
28911}
28912
28913
c32bde28 28914static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28915 PyObject *resultobj;
28916 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28917 wxTreeItemId *arg2 = 0 ;
28918 int arg3 ;
093d3ff1 28919 wxTreeItemIcon arg4 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
d55e5bfc
RD
28920 PyObject * obj0 = 0 ;
28921 PyObject * obj1 = 0 ;
28922 PyObject * obj2 = 0 ;
28923 PyObject * obj3 = 0 ;
28924 char *kwnames[] = {
28925 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
28926 };
28927
28928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
28929 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28930 if (SWIG_arg_fail(1)) SWIG_fail;
28931 {
28932 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28933 if (SWIG_arg_fail(2)) SWIG_fail;
28934 if (arg2 == NULL) {
28935 SWIG_null_ref("wxTreeItemId");
28936 }
28937 if (SWIG_arg_fail(2)) SWIG_fail;
28938 }
28939 {
28940 arg3 = (int)(SWIG_As_int(obj2));
28941 if (SWIG_arg_fail(3)) SWIG_fail;
28942 }
d55e5bfc 28943 if (obj3) {
093d3ff1
RD
28944 {
28945 arg4 = (wxTreeItemIcon)(SWIG_As_int(obj3));
28946 if (SWIG_arg_fail(4)) SWIG_fail;
28947 }
d55e5bfc
RD
28948 }
28949 {
28950 PyThreadState* __tstate = wxPyBeginAllowThreads();
28951 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4);
28952
28953 wxPyEndAllowThreads(__tstate);
28954 if (PyErr_Occurred()) SWIG_fail;
28955 }
28956 Py_INCREF(Py_None); resultobj = Py_None;
28957 return resultobj;
28958 fail:
28959 return NULL;
28960}
28961
28962
c32bde28 28963static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28964 PyObject *resultobj;
28965 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28966 wxTreeItemId *arg2 = 0 ;
28967 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
28968 PyObject * obj0 = 0 ;
28969 PyObject * obj1 = 0 ;
28970 PyObject * obj2 = 0 ;
28971 char *kwnames[] = {
28972 (char *) "self",(char *) "item",(char *) "data", NULL
28973 };
28974
28975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) 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;
d55e5bfc 28985 }
093d3ff1
RD
28986 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
28987 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
28988 {
28989 PyThreadState* __tstate = wxPyBeginAllowThreads();
28990 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
28991
28992 wxPyEndAllowThreads(__tstate);
28993 if (PyErr_Occurred()) SWIG_fail;
28994 }
28995 Py_INCREF(Py_None); resultobj = Py_None;
28996 return resultobj;
28997 fail:
28998 return NULL;
28999}
29000
29001
c32bde28 29002static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29003 PyObject *resultobj;
29004 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29005 wxTreeItemId *arg2 = 0 ;
29006 PyObject *arg3 = (PyObject *) 0 ;
29007 PyObject * obj0 = 0 ;
29008 PyObject * obj1 = 0 ;
29009 PyObject * obj2 = 0 ;
29010 char *kwnames[] = {
29011 (char *) "self",(char *) "item",(char *) "obj", NULL
29012 };
29013
29014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
29015 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29016 if (SWIG_arg_fail(1)) SWIG_fail;
29017 {
29018 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29019 if (SWIG_arg_fail(2)) SWIG_fail;
29020 if (arg2 == NULL) {
29021 SWIG_null_ref("wxTreeItemId");
29022 }
29023 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29024 }
29025 arg3 = obj2;
29026 {
29027 PyThreadState* __tstate = wxPyBeginAllowThreads();
29028 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
29029
29030 wxPyEndAllowThreads(__tstate);
29031 if (PyErr_Occurred()) SWIG_fail;
29032 }
29033 Py_INCREF(Py_None); resultobj = Py_None;
29034 return resultobj;
29035 fail:
29036 return NULL;
29037}
29038
29039
c32bde28 29040static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29041 PyObject *resultobj;
29042 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29043 wxTreeItemId *arg2 = 0 ;
ae8162c8 29044 bool arg3 = (bool) true ;
d55e5bfc
RD
29045 PyObject * obj0 = 0 ;
29046 PyObject * obj1 = 0 ;
29047 PyObject * obj2 = 0 ;
29048 char *kwnames[] = {
29049 (char *) "self",(char *) "item",(char *) "has", NULL
29050 };
29051
29052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
29053 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29054 if (SWIG_arg_fail(1)) SWIG_fail;
29055 {
29056 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29057 if (SWIG_arg_fail(2)) SWIG_fail;
29058 if (arg2 == NULL) {
29059 SWIG_null_ref("wxTreeItemId");
29060 }
29061 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29062 }
29063 if (obj2) {
093d3ff1
RD
29064 {
29065 arg3 = (bool)(SWIG_As_bool(obj2));
29066 if (SWIG_arg_fail(3)) SWIG_fail;
29067 }
d55e5bfc
RD
29068 }
29069 {
29070 PyThreadState* __tstate = wxPyBeginAllowThreads();
29071 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
29072
29073 wxPyEndAllowThreads(__tstate);
29074 if (PyErr_Occurred()) SWIG_fail;
29075 }
29076 Py_INCREF(Py_None); resultobj = Py_None;
29077 return resultobj;
29078 fail:
29079 return NULL;
29080}
29081
29082
c32bde28 29083static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29084 PyObject *resultobj;
29085 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29086 wxTreeItemId *arg2 = 0 ;
ae8162c8 29087 bool arg3 = (bool) true ;
d55e5bfc
RD
29088 PyObject * obj0 = 0 ;
29089 PyObject * obj1 = 0 ;
29090 PyObject * obj2 = 0 ;
29091 char *kwnames[] = {
29092 (char *) "self",(char *) "item",(char *) "bold", NULL
29093 };
29094
29095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
29096 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29097 if (SWIG_arg_fail(1)) SWIG_fail;
29098 {
29099 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29100 if (SWIG_arg_fail(2)) SWIG_fail;
29101 if (arg2 == NULL) {
29102 SWIG_null_ref("wxTreeItemId");
29103 }
29104 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29105 }
29106 if (obj2) {
093d3ff1
RD
29107 {
29108 arg3 = (bool)(SWIG_As_bool(obj2));
29109 if (SWIG_arg_fail(3)) SWIG_fail;
29110 }
d55e5bfc
RD
29111 }
29112 {
29113 PyThreadState* __tstate = wxPyBeginAllowThreads();
29114 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
29115
29116 wxPyEndAllowThreads(__tstate);
29117 if (PyErr_Occurred()) SWIG_fail;
29118 }
29119 Py_INCREF(Py_None); resultobj = Py_None;
29120 return resultobj;
29121 fail:
29122 return NULL;
29123}
29124
29125
c32bde28 29126static PyObject *_wrap_TreeCtrl_SetItemDropHighlight(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29127 PyObject *resultobj;
29128 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29129 wxTreeItemId *arg2 = 0 ;
ae8162c8 29130 bool arg3 = (bool) true ;
d55e5bfc
RD
29131 PyObject * obj0 = 0 ;
29132 PyObject * obj1 = 0 ;
29133 PyObject * obj2 = 0 ;
29134 char *kwnames[] = {
29135 (char *) "self",(char *) "item",(char *) "highlight", NULL
29136 };
29137
29138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
29139 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29140 if (SWIG_arg_fail(1)) SWIG_fail;
29141 {
29142 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29143 if (SWIG_arg_fail(2)) SWIG_fail;
29144 if (arg2 == NULL) {
29145 SWIG_null_ref("wxTreeItemId");
29146 }
29147 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29148 }
29149 if (obj2) {
093d3ff1
RD
29150 {
29151 arg3 = (bool)(SWIG_As_bool(obj2));
29152 if (SWIG_arg_fail(3)) SWIG_fail;
29153 }
d55e5bfc
RD
29154 }
29155 {
29156 PyThreadState* __tstate = wxPyBeginAllowThreads();
29157 (arg1)->SetItemDropHighlight((wxTreeItemId const &)*arg2,arg3);
29158
29159 wxPyEndAllowThreads(__tstate);
29160 if (PyErr_Occurred()) SWIG_fail;
29161 }
29162 Py_INCREF(Py_None); resultobj = Py_None;
29163 return resultobj;
29164 fail:
29165 return NULL;
29166}
29167
29168
c32bde28 29169static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29170 PyObject *resultobj;
29171 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29172 wxTreeItemId *arg2 = 0 ;
29173 wxColour *arg3 = 0 ;
29174 wxColour temp3 ;
29175 PyObject * obj0 = 0 ;
29176 PyObject * obj1 = 0 ;
29177 PyObject * obj2 = 0 ;
29178 char *kwnames[] = {
29179 (char *) "self",(char *) "item",(char *) "col", NULL
29180 };
29181
29182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
29183 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29184 if (SWIG_arg_fail(1)) SWIG_fail;
29185 {
29186 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29187 if (SWIG_arg_fail(2)) SWIG_fail;
29188 if (arg2 == NULL) {
29189 SWIG_null_ref("wxTreeItemId");
29190 }
29191 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29192 }
29193 {
29194 arg3 = &temp3;
29195 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
29196 }
29197 {
29198 PyThreadState* __tstate = wxPyBeginAllowThreads();
29199 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
29200
29201 wxPyEndAllowThreads(__tstate);
29202 if (PyErr_Occurred()) SWIG_fail;
29203 }
29204 Py_INCREF(Py_None); resultobj = Py_None;
29205 return resultobj;
29206 fail:
29207 return NULL;
29208}
29209
29210
c32bde28 29211static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29212 PyObject *resultobj;
29213 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29214 wxTreeItemId *arg2 = 0 ;
29215 wxColour *arg3 = 0 ;
29216 wxColour temp3 ;
29217 PyObject * obj0 = 0 ;
29218 PyObject * obj1 = 0 ;
29219 PyObject * obj2 = 0 ;
29220 char *kwnames[] = {
29221 (char *) "self",(char *) "item",(char *) "col", NULL
29222 };
29223
29224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
29225 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29226 if (SWIG_arg_fail(1)) SWIG_fail;
29227 {
29228 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29229 if (SWIG_arg_fail(2)) SWIG_fail;
29230 if (arg2 == NULL) {
29231 SWIG_null_ref("wxTreeItemId");
29232 }
29233 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29234 }
29235 {
29236 arg3 = &temp3;
29237 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
29238 }
29239 {
29240 PyThreadState* __tstate = wxPyBeginAllowThreads();
29241 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
29242
29243 wxPyEndAllowThreads(__tstate);
29244 if (PyErr_Occurred()) SWIG_fail;
29245 }
29246 Py_INCREF(Py_None); resultobj = Py_None;
29247 return resultobj;
29248 fail:
29249 return NULL;
29250}
29251
29252
c32bde28 29253static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29254 PyObject *resultobj;
29255 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29256 wxTreeItemId *arg2 = 0 ;
29257 wxFont *arg3 = 0 ;
29258 PyObject * obj0 = 0 ;
29259 PyObject * obj1 = 0 ;
29260 PyObject * obj2 = 0 ;
29261 char *kwnames[] = {
29262 (char *) "self",(char *) "item",(char *) "font", NULL
29263 };
29264
29265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
29266 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29267 if (SWIG_arg_fail(1)) SWIG_fail;
29268 {
29269 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29270 if (SWIG_arg_fail(2)) SWIG_fail;
29271 if (arg2 == NULL) {
29272 SWIG_null_ref("wxTreeItemId");
29273 }
29274 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 29275 }
093d3ff1
RD
29276 {
29277 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
29278 if (SWIG_arg_fail(3)) SWIG_fail;
29279 if (arg3 == NULL) {
29280 SWIG_null_ref("wxFont");
29281 }
29282 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
29283 }
29284 {
29285 PyThreadState* __tstate = wxPyBeginAllowThreads();
29286 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
29287
29288 wxPyEndAllowThreads(__tstate);
29289 if (PyErr_Occurred()) SWIG_fail;
29290 }
29291 Py_INCREF(Py_None); resultobj = Py_None;
29292 return resultobj;
29293 fail:
29294 return NULL;
29295}
29296
29297
c32bde28 29298static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29299 PyObject *resultobj;
29300 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29301 wxTreeItemId *arg2 = 0 ;
29302 bool result;
29303 PyObject * obj0 = 0 ;
29304 PyObject * obj1 = 0 ;
29305 char *kwnames[] = {
29306 (char *) "self",(char *) "item", NULL
29307 };
29308
29309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29310 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29311 if (SWIG_arg_fail(1)) SWIG_fail;
29312 {
29313 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29314 if (SWIG_arg_fail(2)) SWIG_fail;
29315 if (arg2 == NULL) {
29316 SWIG_null_ref("wxTreeItemId");
29317 }
29318 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29319 }
29320 {
29321 PyThreadState* __tstate = wxPyBeginAllowThreads();
29322 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
29323
29324 wxPyEndAllowThreads(__tstate);
29325 if (PyErr_Occurred()) SWIG_fail;
29326 }
29327 {
29328 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29329 }
29330 return resultobj;
29331 fail:
29332 return NULL;
29333}
29334
29335
c32bde28 29336static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29337 PyObject *resultobj;
29338 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29339 wxTreeItemId *arg2 = 0 ;
29340 bool result;
29341 PyObject * obj0 = 0 ;
29342 PyObject * obj1 = 0 ;
29343 char *kwnames[] = {
29344 (char *) "self",(char *) "item", NULL
29345 };
29346
29347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29348 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29349 if (SWIG_arg_fail(1)) SWIG_fail;
29350 {
29351 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29352 if (SWIG_arg_fail(2)) SWIG_fail;
29353 if (arg2 == NULL) {
29354 SWIG_null_ref("wxTreeItemId");
29355 }
29356 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29357 }
29358 {
29359 PyThreadState* __tstate = wxPyBeginAllowThreads();
29360 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
29361
29362 wxPyEndAllowThreads(__tstate);
29363 if (PyErr_Occurred()) SWIG_fail;
29364 }
29365 {
29366 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29367 }
29368 return resultobj;
29369 fail:
29370 return NULL;
29371}
29372
29373
c32bde28 29374static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29375 PyObject *resultobj;
29376 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29377 wxTreeItemId *arg2 = 0 ;
29378 bool result;
29379 PyObject * obj0 = 0 ;
29380 PyObject * obj1 = 0 ;
29381 char *kwnames[] = {
29382 (char *) "self",(char *) "item", NULL
29383 };
29384
29385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29386 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29387 if (SWIG_arg_fail(1)) SWIG_fail;
29388 {
29389 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29390 if (SWIG_arg_fail(2)) SWIG_fail;
29391 if (arg2 == NULL) {
29392 SWIG_null_ref("wxTreeItemId");
29393 }
29394 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29395 }
29396 {
29397 PyThreadState* __tstate = wxPyBeginAllowThreads();
29398 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
29399
29400 wxPyEndAllowThreads(__tstate);
29401 if (PyErr_Occurred()) SWIG_fail;
29402 }
29403 {
29404 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29405 }
29406 return resultobj;
29407 fail:
29408 return NULL;
29409}
29410
29411
c32bde28 29412static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29413 PyObject *resultobj;
29414 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29415 wxTreeItemId *arg2 = 0 ;
29416 bool result;
29417 PyObject * obj0 = 0 ;
29418 PyObject * obj1 = 0 ;
29419 char *kwnames[] = {
29420 (char *) "self",(char *) "item", NULL
29421 };
29422
29423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29424 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29425 if (SWIG_arg_fail(1)) SWIG_fail;
29426 {
29427 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29428 if (SWIG_arg_fail(2)) SWIG_fail;
29429 if (arg2 == NULL) {
29430 SWIG_null_ref("wxTreeItemId");
29431 }
29432 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29433 }
29434 {
29435 PyThreadState* __tstate = wxPyBeginAllowThreads();
29436 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
29437
29438 wxPyEndAllowThreads(__tstate);
29439 if (PyErr_Occurred()) SWIG_fail;
29440 }
29441 {
29442 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29443 }
29444 return resultobj;
29445 fail:
29446 return NULL;
29447}
29448
29449
c32bde28 29450static PyObject *_wrap_TreeCtrl_IsBold(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29451 PyObject *resultobj;
29452 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29453 wxTreeItemId *arg2 = 0 ;
29454 bool result;
29455 PyObject * obj0 = 0 ;
29456 PyObject * obj1 = 0 ;
29457 char *kwnames[] = {
29458 (char *) "self",(char *) "item", NULL
29459 };
29460
29461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29462 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29463 if (SWIG_arg_fail(1)) SWIG_fail;
29464 {
29465 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29466 if (SWIG_arg_fail(2)) SWIG_fail;
29467 if (arg2 == NULL) {
29468 SWIG_null_ref("wxTreeItemId");
29469 }
29470 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29471 }
29472 {
29473 PyThreadState* __tstate = wxPyBeginAllowThreads();
29474 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
29475
29476 wxPyEndAllowThreads(__tstate);
29477 if (PyErr_Occurred()) SWIG_fail;
29478 }
29479 {
29480 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29481 }
29482 return resultobj;
29483 fail:
29484 return NULL;
29485}
29486
29487
c32bde28 29488static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29489 PyObject *resultobj;
29490 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29491 wxTreeItemId *arg2 = 0 ;
ae8162c8 29492 bool arg3 = (bool) true ;
d55e5bfc
RD
29493 size_t result;
29494 PyObject * obj0 = 0 ;
29495 PyObject * obj1 = 0 ;
29496 PyObject * obj2 = 0 ;
29497 char *kwnames[] = {
29498 (char *) "self",(char *) "item",(char *) "recursively", NULL
29499 };
29500
29501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
29502 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29503 if (SWIG_arg_fail(1)) SWIG_fail;
29504 {
29505 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29506 if (SWIG_arg_fail(2)) SWIG_fail;
29507 if (arg2 == NULL) {
29508 SWIG_null_ref("wxTreeItemId");
29509 }
29510 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29511 }
29512 if (obj2) {
093d3ff1
RD
29513 {
29514 arg3 = (bool)(SWIG_As_bool(obj2));
29515 if (SWIG_arg_fail(3)) SWIG_fail;
29516 }
d55e5bfc
RD
29517 }
29518 {
29519 PyThreadState* __tstate = wxPyBeginAllowThreads();
29520 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
29521
29522 wxPyEndAllowThreads(__tstate);
29523 if (PyErr_Occurred()) SWIG_fail;
29524 }
093d3ff1
RD
29525 {
29526 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
29527 }
d55e5bfc
RD
29528 return resultobj;
29529 fail:
29530 return NULL;
29531}
29532
29533
c32bde28 29534static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29535 PyObject *resultobj;
29536 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29537 wxTreeItemId result;
29538 PyObject * obj0 = 0 ;
29539 char *kwnames[] = {
29540 (char *) "self", NULL
29541 };
29542
29543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
093d3ff1
RD
29544 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29545 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29546 {
29547 PyThreadState* __tstate = wxPyBeginAllowThreads();
29548 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
29549
29550 wxPyEndAllowThreads(__tstate);
29551 if (PyErr_Occurred()) SWIG_fail;
29552 }
29553 {
29554 wxTreeItemId * resultptr;
093d3ff1 29555 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
29556 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29557 }
29558 return resultobj;
29559 fail:
29560 return NULL;
29561}
29562
29563
c32bde28 29564static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29565 PyObject *resultobj;
29566 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29567 wxTreeItemId result;
29568 PyObject * obj0 = 0 ;
29569 char *kwnames[] = {
29570 (char *) "self", NULL
29571 };
29572
29573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
29574 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29575 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29576 {
29577 PyThreadState* __tstate = wxPyBeginAllowThreads();
29578 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
29579
29580 wxPyEndAllowThreads(__tstate);
29581 if (PyErr_Occurred()) SWIG_fail;
29582 }
29583 {
29584 wxTreeItemId * resultptr;
093d3ff1 29585 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
29586 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29587 }
29588 return resultobj;
29589 fail:
29590 return NULL;
29591}
29592
29593
c32bde28 29594static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29595 PyObject *resultobj;
29596 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29597 PyObject *result;
29598 PyObject * obj0 = 0 ;
29599 char *kwnames[] = {
29600 (char *) "self", NULL
29601 };
29602
29603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
093d3ff1
RD
29604 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29605 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29606 {
29607 PyThreadState* __tstate = wxPyBeginAllowThreads();
29608 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
29609
29610 wxPyEndAllowThreads(__tstate);
29611 if (PyErr_Occurred()) SWIG_fail;
29612 }
29613 resultobj = result;
29614 return resultobj;
29615 fail:
29616 return NULL;
29617}
29618
29619
c32bde28 29620static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29621 PyObject *resultobj;
29622 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29623 wxTreeItemId *arg2 = 0 ;
29624 wxTreeItemId result;
29625 PyObject * obj0 = 0 ;
29626 PyObject * obj1 = 0 ;
29627 char *kwnames[] = {
29628 (char *) "self",(char *) "item", NULL
29629 };
29630
29631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29632 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29633 if (SWIG_arg_fail(1)) SWIG_fail;
29634 {
29635 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29636 if (SWIG_arg_fail(2)) SWIG_fail;
29637 if (arg2 == NULL) {
29638 SWIG_null_ref("wxTreeItemId");
29639 }
29640 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29641 }
29642 {
29643 PyThreadState* __tstate = wxPyBeginAllowThreads();
29644 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
29645
29646 wxPyEndAllowThreads(__tstate);
29647 if (PyErr_Occurred()) SWIG_fail;
29648 }
29649 {
29650 wxTreeItemId * resultptr;
093d3ff1 29651 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
29652 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29653 }
29654 return resultobj;
29655 fail:
29656 return NULL;
29657}
29658
29659
c32bde28 29660static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29661 PyObject *resultobj;
29662 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29663 wxTreeItemId *arg2 = 0 ;
29664 PyObject *result;
29665 PyObject * obj0 = 0 ;
29666 PyObject * obj1 = 0 ;
29667 char *kwnames[] = {
29668 (char *) "self",(char *) "item", NULL
29669 };
29670
29671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29672 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29673 if (SWIG_arg_fail(1)) SWIG_fail;
29674 {
29675 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29676 if (SWIG_arg_fail(2)) SWIG_fail;
29677 if (arg2 == NULL) {
29678 SWIG_null_ref("wxTreeItemId");
29679 }
29680 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29681 }
29682 {
29683 PyThreadState* __tstate = wxPyBeginAllowThreads();
29684 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
29685
29686 wxPyEndAllowThreads(__tstate);
29687 if (PyErr_Occurred()) SWIG_fail;
29688 }
29689 resultobj = result;
29690 return resultobj;
29691 fail:
29692 return NULL;
29693}
29694
29695
c32bde28 29696static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29697 PyObject *resultobj;
29698 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29699 wxTreeItemId *arg2 = 0 ;
29700 void *arg3 = (void *) 0 ;
29701 PyObject *result;
29702 PyObject * obj0 = 0 ;
29703 PyObject * obj1 = 0 ;
29704 PyObject * obj2 = 0 ;
29705 char *kwnames[] = {
29706 (char *) "self",(char *) "item",(char *) "cookie", NULL
29707 };
29708
29709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
29710 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29711 if (SWIG_arg_fail(1)) SWIG_fail;
29712 {
29713 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29714 if (SWIG_arg_fail(2)) SWIG_fail;
29715 if (arg2 == NULL) {
29716 SWIG_null_ref("wxTreeItemId");
29717 }
29718 if (SWIG_arg_fail(2)) SWIG_fail;
29719 }
29720 {
29721 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),0,SWIG_POINTER_EXCEPTION|0))== -1) {
29722 SWIG_arg_fail(3);SWIG_fail;
29723 }
d55e5bfc 29724 }
d55e5bfc
RD
29725 {
29726 PyThreadState* __tstate = wxPyBeginAllowThreads();
29727 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
29728
29729 wxPyEndAllowThreads(__tstate);
29730 if (PyErr_Occurred()) SWIG_fail;
29731 }
29732 resultobj = result;
29733 return resultobj;
29734 fail:
29735 return NULL;
29736}
29737
29738
c32bde28 29739static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29740 PyObject *resultobj;
29741 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29742 wxTreeItemId *arg2 = 0 ;
29743 wxTreeItemId result;
29744 PyObject * obj0 = 0 ;
29745 PyObject * obj1 = 0 ;
29746 char *kwnames[] = {
29747 (char *) "self",(char *) "item", NULL
29748 };
29749
29750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29751 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29752 if (SWIG_arg_fail(1)) SWIG_fail;
29753 {
29754 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29755 if (SWIG_arg_fail(2)) SWIG_fail;
29756 if (arg2 == NULL) {
29757 SWIG_null_ref("wxTreeItemId");
29758 }
29759 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29760 }
29761 {
29762 PyThreadState* __tstate = wxPyBeginAllowThreads();
29763 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
29764
29765 wxPyEndAllowThreads(__tstate);
29766 if (PyErr_Occurred()) SWIG_fail;
29767 }
29768 {
29769 wxTreeItemId * resultptr;
093d3ff1 29770 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
29771 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29772 }
29773 return resultobj;
29774 fail:
29775 return NULL;
29776}
29777
29778
c32bde28 29779static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29780 PyObject *resultobj;
29781 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29782 wxTreeItemId *arg2 = 0 ;
29783 wxTreeItemId result;
29784 PyObject * obj0 = 0 ;
29785 PyObject * obj1 = 0 ;
29786 char *kwnames[] = {
29787 (char *) "self",(char *) "item", NULL
29788 };
29789
29790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29791 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29792 if (SWIG_arg_fail(1)) SWIG_fail;
29793 {
29794 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29795 if (SWIG_arg_fail(2)) SWIG_fail;
29796 if (arg2 == NULL) {
29797 SWIG_null_ref("wxTreeItemId");
29798 }
29799 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29800 }
29801 {
29802 PyThreadState* __tstate = wxPyBeginAllowThreads();
29803 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
29804
29805 wxPyEndAllowThreads(__tstate);
29806 if (PyErr_Occurred()) SWIG_fail;
29807 }
29808 {
29809 wxTreeItemId * resultptr;
093d3ff1 29810 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
29811 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29812 }
29813 return resultobj;
29814 fail:
29815 return NULL;
29816}
29817
29818
c32bde28 29819static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29820 PyObject *resultobj;
29821 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29822 wxTreeItemId *arg2 = 0 ;
29823 wxTreeItemId result;
29824 PyObject * obj0 = 0 ;
29825 PyObject * obj1 = 0 ;
29826 char *kwnames[] = {
29827 (char *) "self",(char *) "item", NULL
29828 };
29829
29830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29831 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29832 if (SWIG_arg_fail(1)) SWIG_fail;
29833 {
29834 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29835 if (SWIG_arg_fail(2)) SWIG_fail;
29836 if (arg2 == NULL) {
29837 SWIG_null_ref("wxTreeItemId");
29838 }
29839 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29840 }
29841 {
29842 PyThreadState* __tstate = wxPyBeginAllowThreads();
29843 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
29844
29845 wxPyEndAllowThreads(__tstate);
29846 if (PyErr_Occurred()) SWIG_fail;
29847 }
29848 {
29849 wxTreeItemId * resultptr;
093d3ff1 29850 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
29851 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29852 }
29853 return resultobj;
29854 fail:
29855 return NULL;
29856}
29857
29858
c32bde28 29859static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29860 PyObject *resultobj;
29861 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29862 wxTreeItemId result;
29863 PyObject * obj0 = 0 ;
29864 char *kwnames[] = {
29865 (char *) "self", NULL
29866 };
29867
29868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
093d3ff1
RD
29869 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29870 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29871 {
29872 PyThreadState* __tstate = wxPyBeginAllowThreads();
29873 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
29874
29875 wxPyEndAllowThreads(__tstate);
29876 if (PyErr_Occurred()) SWIG_fail;
29877 }
29878 {
29879 wxTreeItemId * resultptr;
093d3ff1 29880 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
29881 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29882 }
29883 return resultobj;
29884 fail:
29885 return NULL;
29886}
29887
29888
c32bde28 29889static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29890 PyObject *resultobj;
29891 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29892 wxTreeItemId *arg2 = 0 ;
29893 wxTreeItemId result;
29894 PyObject * obj0 = 0 ;
29895 PyObject * obj1 = 0 ;
29896 char *kwnames[] = {
29897 (char *) "self",(char *) "item", NULL
29898 };
29899
29900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29901 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29902 if (SWIG_arg_fail(1)) SWIG_fail;
29903 {
29904 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29905 if (SWIG_arg_fail(2)) SWIG_fail;
29906 if (arg2 == NULL) {
29907 SWIG_null_ref("wxTreeItemId");
29908 }
29909 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29910 }
29911 {
29912 PyThreadState* __tstate = wxPyBeginAllowThreads();
29913 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
29914
29915 wxPyEndAllowThreads(__tstate);
29916 if (PyErr_Occurred()) SWIG_fail;
29917 }
29918 {
29919 wxTreeItemId * resultptr;
093d3ff1 29920 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
29921 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29922 }
29923 return resultobj;
29924 fail:
29925 return NULL;
29926}
29927
29928
c32bde28 29929static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29930 PyObject *resultobj;
29931 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29932 wxTreeItemId *arg2 = 0 ;
29933 wxTreeItemId result;
29934 PyObject * obj0 = 0 ;
29935 PyObject * obj1 = 0 ;
29936 char *kwnames[] = {
29937 (char *) "self",(char *) "item", NULL
29938 };
29939
29940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29941 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29942 if (SWIG_arg_fail(1)) SWIG_fail;
29943 {
29944 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29945 if (SWIG_arg_fail(2)) SWIG_fail;
29946 if (arg2 == NULL) {
29947 SWIG_null_ref("wxTreeItemId");
29948 }
29949 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29950 }
29951 {
29952 PyThreadState* __tstate = wxPyBeginAllowThreads();
29953 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
29954
29955 wxPyEndAllowThreads(__tstate);
29956 if (PyErr_Occurred()) SWIG_fail;
29957 }
29958 {
29959 wxTreeItemId * resultptr;
093d3ff1 29960 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
29961 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29962 }
29963 return resultobj;
29964 fail:
29965 return NULL;
29966}
29967
29968
c32bde28 29969static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29970 PyObject *resultobj;
29971 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29972 wxString *arg2 = 0 ;
29973 int arg3 = (int) -1 ;
29974 int arg4 = (int) -1 ;
29975 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
29976 wxTreeItemId result;
ae8162c8 29977 bool temp2 = false ;
d55e5bfc
RD
29978 PyObject * obj0 = 0 ;
29979 PyObject * obj1 = 0 ;
29980 PyObject * obj2 = 0 ;
29981 PyObject * obj3 = 0 ;
29982 PyObject * obj4 = 0 ;
29983 char *kwnames[] = {
29984 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29985 };
29986
29987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) 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;
d55e5bfc
RD
29990 {
29991 arg2 = wxString_in_helper(obj1);
29992 if (arg2 == NULL) SWIG_fail;
ae8162c8 29993 temp2 = true;
d55e5bfc
RD
29994 }
29995 if (obj2) {
093d3ff1
RD
29996 {
29997 arg3 = (int)(SWIG_As_int(obj2));
29998 if (SWIG_arg_fail(3)) SWIG_fail;
29999 }
d55e5bfc
RD
30000 }
30001 if (obj3) {
093d3ff1
RD
30002 {
30003 arg4 = (int)(SWIG_As_int(obj3));
30004 if (SWIG_arg_fail(4)) SWIG_fail;
30005 }
d55e5bfc
RD
30006 }
30007 if (obj4) {
093d3ff1
RD
30008 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
30009 if (SWIG_arg_fail(5)) SWIG_fail;
d55e5bfc
RD
30010 }
30011 {
30012 PyThreadState* __tstate = wxPyBeginAllowThreads();
30013 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
30014
30015 wxPyEndAllowThreads(__tstate);
30016 if (PyErr_Occurred()) SWIG_fail;
30017 }
30018 {
30019 wxTreeItemId * resultptr;
093d3ff1 30020 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
30021 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30022 }
30023 {
30024 if (temp2)
30025 delete arg2;
30026 }
30027 return resultobj;
30028 fail:
30029 {
30030 if (temp2)
30031 delete arg2;
30032 }
30033 return NULL;
30034}
30035
30036
c32bde28 30037static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30038 PyObject *resultobj;
30039 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30040 wxTreeItemId *arg2 = 0 ;
30041 wxString *arg3 = 0 ;
30042 int arg4 = (int) -1 ;
30043 int arg5 = (int) -1 ;
30044 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
30045 wxTreeItemId result;
ae8162c8 30046 bool temp3 = false ;
d55e5bfc
RD
30047 PyObject * obj0 = 0 ;
30048 PyObject * obj1 = 0 ;
30049 PyObject * obj2 = 0 ;
30050 PyObject * obj3 = 0 ;
30051 PyObject * obj4 = 0 ;
30052 PyObject * obj5 = 0 ;
30053 char *kwnames[] = {
30054 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30055 };
30056
30057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
30058 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30059 if (SWIG_arg_fail(1)) SWIG_fail;
30060 {
30061 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30062 if (SWIG_arg_fail(2)) SWIG_fail;
30063 if (arg2 == NULL) {
30064 SWIG_null_ref("wxTreeItemId");
30065 }
30066 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30067 }
30068 {
30069 arg3 = wxString_in_helper(obj2);
30070 if (arg3 == NULL) SWIG_fail;
ae8162c8 30071 temp3 = true;
d55e5bfc
RD
30072 }
30073 if (obj3) {
093d3ff1
RD
30074 {
30075 arg4 = (int)(SWIG_As_int(obj3));
30076 if (SWIG_arg_fail(4)) SWIG_fail;
30077 }
d55e5bfc
RD
30078 }
30079 if (obj4) {
093d3ff1
RD
30080 {
30081 arg5 = (int)(SWIG_As_int(obj4));
30082 if (SWIG_arg_fail(5)) SWIG_fail;
30083 }
d55e5bfc
RD
30084 }
30085 if (obj5) {
093d3ff1
RD
30086 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
30087 if (SWIG_arg_fail(6)) SWIG_fail;
d55e5bfc
RD
30088 }
30089 {
30090 PyThreadState* __tstate = wxPyBeginAllowThreads();
30091 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
30092
30093 wxPyEndAllowThreads(__tstate);
30094 if (PyErr_Occurred()) SWIG_fail;
30095 }
30096 {
30097 wxTreeItemId * resultptr;
093d3ff1 30098 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
30099 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30100 }
30101 {
30102 if (temp3)
30103 delete arg3;
30104 }
30105 return resultobj;
30106 fail:
30107 {
30108 if (temp3)
30109 delete arg3;
30110 }
30111 return NULL;
30112}
30113
30114
c32bde28 30115static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30116 PyObject *resultobj;
30117 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30118 wxTreeItemId *arg2 = 0 ;
30119 wxTreeItemId *arg3 = 0 ;
30120 wxString *arg4 = 0 ;
30121 int arg5 = (int) -1 ;
30122 int arg6 = (int) -1 ;
30123 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
30124 wxTreeItemId result;
ae8162c8 30125 bool temp4 = false ;
d55e5bfc
RD
30126 PyObject * obj0 = 0 ;
30127 PyObject * obj1 = 0 ;
30128 PyObject * obj2 = 0 ;
30129 PyObject * obj3 = 0 ;
30130 PyObject * obj4 = 0 ;
30131 PyObject * obj5 = 0 ;
30132 PyObject * obj6 = 0 ;
30133 char *kwnames[] = {
30134 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30135 };
30136
30137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
30138 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30139 if (SWIG_arg_fail(1)) SWIG_fail;
30140 {
30141 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30142 if (SWIG_arg_fail(2)) SWIG_fail;
30143 if (arg2 == NULL) {
30144 SWIG_null_ref("wxTreeItemId");
30145 }
30146 if (SWIG_arg_fail(2)) SWIG_fail;
30147 }
30148 {
30149 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30150 if (SWIG_arg_fail(3)) SWIG_fail;
30151 if (arg3 == NULL) {
30152 SWIG_null_ref("wxTreeItemId");
30153 }
30154 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
30155 }
30156 {
30157 arg4 = wxString_in_helper(obj3);
30158 if (arg4 == NULL) SWIG_fail;
ae8162c8 30159 temp4 = true;
d55e5bfc
RD
30160 }
30161 if (obj4) {
093d3ff1
RD
30162 {
30163 arg5 = (int)(SWIG_As_int(obj4));
30164 if (SWIG_arg_fail(5)) SWIG_fail;
30165 }
d55e5bfc
RD
30166 }
30167 if (obj5) {
093d3ff1
RD
30168 {
30169 arg6 = (int)(SWIG_As_int(obj5));
30170 if (SWIG_arg_fail(6)) SWIG_fail;
30171 }
d55e5bfc
RD
30172 }
30173 if (obj6) {
093d3ff1
RD
30174 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
30175 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
30176 }
30177 {
30178 PyThreadState* __tstate = wxPyBeginAllowThreads();
30179 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
30180
30181 wxPyEndAllowThreads(__tstate);
30182 if (PyErr_Occurred()) SWIG_fail;
30183 }
30184 {
30185 wxTreeItemId * resultptr;
093d3ff1 30186 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
30187 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30188 }
30189 {
30190 if (temp4)
30191 delete arg4;
30192 }
30193 return resultobj;
30194 fail:
30195 {
30196 if (temp4)
30197 delete arg4;
30198 }
30199 return NULL;
30200}
30201
30202
c32bde28 30203static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30204 PyObject *resultobj;
30205 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30206 wxTreeItemId *arg2 = 0 ;
30207 size_t arg3 ;
30208 wxString *arg4 = 0 ;
30209 int arg5 = (int) -1 ;
30210 int arg6 = (int) -1 ;
30211 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
30212 wxTreeItemId result;
ae8162c8 30213 bool temp4 = false ;
d55e5bfc
RD
30214 PyObject * obj0 = 0 ;
30215 PyObject * obj1 = 0 ;
30216 PyObject * obj2 = 0 ;
30217 PyObject * obj3 = 0 ;
30218 PyObject * obj4 = 0 ;
30219 PyObject * obj5 = 0 ;
30220 PyObject * obj6 = 0 ;
30221 char *kwnames[] = {
30222 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30223 };
30224
30225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
30226 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30227 if (SWIG_arg_fail(1)) SWIG_fail;
30228 {
30229 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30230 if (SWIG_arg_fail(2)) SWIG_fail;
30231 if (arg2 == NULL) {
30232 SWIG_null_ref("wxTreeItemId");
30233 }
30234 if (SWIG_arg_fail(2)) SWIG_fail;
30235 }
30236 {
30237 arg3 = (size_t)(SWIG_As_unsigned_SS_long(obj2));
30238 if (SWIG_arg_fail(3)) SWIG_fail;
30239 }
d55e5bfc
RD
30240 {
30241 arg4 = wxString_in_helper(obj3);
30242 if (arg4 == NULL) SWIG_fail;
ae8162c8 30243 temp4 = true;
d55e5bfc
RD
30244 }
30245 if (obj4) {
093d3ff1
RD
30246 {
30247 arg5 = (int)(SWIG_As_int(obj4));
30248 if (SWIG_arg_fail(5)) SWIG_fail;
30249 }
d55e5bfc
RD
30250 }
30251 if (obj5) {
093d3ff1
RD
30252 {
30253 arg6 = (int)(SWIG_As_int(obj5));
30254 if (SWIG_arg_fail(6)) SWIG_fail;
30255 }
d55e5bfc
RD
30256 }
30257 if (obj6) {
093d3ff1
RD
30258 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
30259 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
30260 }
30261 {
30262 PyThreadState* __tstate = wxPyBeginAllowThreads();
30263 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
30264
30265 wxPyEndAllowThreads(__tstate);
30266 if (PyErr_Occurred()) SWIG_fail;
30267 }
30268 {
30269 wxTreeItemId * resultptr;
093d3ff1 30270 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
30271 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30272 }
30273 {
30274 if (temp4)
30275 delete arg4;
30276 }
30277 return resultobj;
30278 fail:
30279 {
30280 if (temp4)
30281 delete arg4;
30282 }
30283 return NULL;
30284}
30285
30286
c32bde28 30287static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30288 PyObject *resultobj;
30289 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30290 wxTreeItemId *arg2 = 0 ;
30291 wxString *arg3 = 0 ;
30292 int arg4 = (int) -1 ;
30293 int arg5 = (int) -1 ;
30294 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
30295 wxTreeItemId result;
ae8162c8 30296 bool temp3 = false ;
d55e5bfc
RD
30297 PyObject * obj0 = 0 ;
30298 PyObject * obj1 = 0 ;
30299 PyObject * obj2 = 0 ;
30300 PyObject * obj3 = 0 ;
30301 PyObject * obj4 = 0 ;
30302 PyObject * obj5 = 0 ;
30303 char *kwnames[] = {
30304 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30305 };
30306
30307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
30308 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30309 if (SWIG_arg_fail(1)) SWIG_fail;
30310 {
30311 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30312 if (SWIG_arg_fail(2)) SWIG_fail;
30313 if (arg2 == NULL) {
30314 SWIG_null_ref("wxTreeItemId");
30315 }
30316 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30317 }
30318 {
30319 arg3 = wxString_in_helper(obj2);
30320 if (arg3 == NULL) SWIG_fail;
ae8162c8 30321 temp3 = true;
d55e5bfc
RD
30322 }
30323 if (obj3) {
093d3ff1
RD
30324 {
30325 arg4 = (int)(SWIG_As_int(obj3));
30326 if (SWIG_arg_fail(4)) SWIG_fail;
30327 }
d55e5bfc
RD
30328 }
30329 if (obj4) {
093d3ff1
RD
30330 {
30331 arg5 = (int)(SWIG_As_int(obj4));
30332 if (SWIG_arg_fail(5)) SWIG_fail;
30333 }
d55e5bfc
RD
30334 }
30335 if (obj5) {
093d3ff1
RD
30336 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
30337 if (SWIG_arg_fail(6)) SWIG_fail;
d55e5bfc
RD
30338 }
30339 {
30340 PyThreadState* __tstate = wxPyBeginAllowThreads();
30341 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
30342
30343 wxPyEndAllowThreads(__tstate);
30344 if (PyErr_Occurred()) SWIG_fail;
30345 }
30346 {
30347 wxTreeItemId * resultptr;
093d3ff1 30348 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
30349 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30350 }
30351 {
30352 if (temp3)
30353 delete arg3;
30354 }
30355 return resultobj;
30356 fail:
30357 {
30358 if (temp3)
30359 delete arg3;
30360 }
30361 return NULL;
30362}
30363
30364
c32bde28 30365static PyObject *_wrap_TreeCtrl_Delete(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30366 PyObject *resultobj;
30367 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30368 wxTreeItemId *arg2 = 0 ;
30369 PyObject * obj0 = 0 ;
30370 PyObject * obj1 = 0 ;
30371 char *kwnames[] = {
30372 (char *) "self",(char *) "item", NULL
30373 };
30374
30375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30376 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30377 if (SWIG_arg_fail(1)) SWIG_fail;
30378 {
30379 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30380 if (SWIG_arg_fail(2)) SWIG_fail;
30381 if (arg2 == NULL) {
30382 SWIG_null_ref("wxTreeItemId");
30383 }
30384 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30385 }
30386 {
30387 PyThreadState* __tstate = wxPyBeginAllowThreads();
30388 (arg1)->Delete((wxTreeItemId const &)*arg2);
30389
30390 wxPyEndAllowThreads(__tstate);
30391 if (PyErr_Occurred()) SWIG_fail;
30392 }
30393 Py_INCREF(Py_None); resultobj = Py_None;
30394 return resultobj;
30395 fail:
30396 return NULL;
30397}
30398
30399
c32bde28 30400static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30401 PyObject *resultobj;
30402 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30403 wxTreeItemId *arg2 = 0 ;
30404 PyObject * obj0 = 0 ;
30405 PyObject * obj1 = 0 ;
30406 char *kwnames[] = {
30407 (char *) "self",(char *) "item", NULL
30408 };
30409
30410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30411 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30412 if (SWIG_arg_fail(1)) SWIG_fail;
30413 {
30414 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30415 if (SWIG_arg_fail(2)) SWIG_fail;
30416 if (arg2 == NULL) {
30417 SWIG_null_ref("wxTreeItemId");
30418 }
30419 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30420 }
30421 {
30422 PyThreadState* __tstate = wxPyBeginAllowThreads();
30423 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
30424
30425 wxPyEndAllowThreads(__tstate);
30426 if (PyErr_Occurred()) SWIG_fail;
30427 }
30428 Py_INCREF(Py_None); resultobj = Py_None;
30429 return resultobj;
30430 fail:
30431 return NULL;
30432}
30433
30434
c32bde28 30435static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30436 PyObject *resultobj;
30437 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30438 PyObject * obj0 = 0 ;
30439 char *kwnames[] = {
30440 (char *) "self", NULL
30441 };
30442
30443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
093d3ff1
RD
30444 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30445 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30446 {
30447 PyThreadState* __tstate = wxPyBeginAllowThreads();
30448 (arg1)->DeleteAllItems();
30449
30450 wxPyEndAllowThreads(__tstate);
30451 if (PyErr_Occurred()) SWIG_fail;
30452 }
30453 Py_INCREF(Py_None); resultobj = Py_None;
30454 return resultobj;
30455 fail:
30456 return NULL;
30457}
30458
30459
c32bde28 30460static PyObject *_wrap_TreeCtrl_Expand(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30461 PyObject *resultobj;
30462 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30463 wxTreeItemId *arg2 = 0 ;
30464 PyObject * obj0 = 0 ;
30465 PyObject * obj1 = 0 ;
30466 char *kwnames[] = {
30467 (char *) "self",(char *) "item", NULL
30468 };
30469
30470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30471 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30472 if (SWIG_arg_fail(1)) SWIG_fail;
30473 {
30474 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30475 if (SWIG_arg_fail(2)) SWIG_fail;
30476 if (arg2 == NULL) {
30477 SWIG_null_ref("wxTreeItemId");
30478 }
30479 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30480 }
30481 {
30482 PyThreadState* __tstate = wxPyBeginAllowThreads();
30483 (arg1)->Expand((wxTreeItemId const &)*arg2);
30484
30485 wxPyEndAllowThreads(__tstate);
30486 if (PyErr_Occurred()) SWIG_fail;
30487 }
30488 Py_INCREF(Py_None); resultobj = Py_None;
30489 return resultobj;
30490 fail:
30491 return NULL;
30492}
30493
30494
c32bde28 30495static PyObject *_wrap_TreeCtrl_Collapse(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30496 PyObject *resultobj;
30497 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30498 wxTreeItemId *arg2 = 0 ;
30499 PyObject * obj0 = 0 ;
30500 PyObject * obj1 = 0 ;
30501 char *kwnames[] = {
30502 (char *) "self",(char *) "item", NULL
30503 };
30504
30505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30506 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30507 if (SWIG_arg_fail(1)) SWIG_fail;
30508 {
30509 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30510 if (SWIG_arg_fail(2)) SWIG_fail;
30511 if (arg2 == NULL) {
30512 SWIG_null_ref("wxTreeItemId");
30513 }
30514 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30515 }
30516 {
30517 PyThreadState* __tstate = wxPyBeginAllowThreads();
30518 (arg1)->Collapse((wxTreeItemId const &)*arg2);
30519
30520 wxPyEndAllowThreads(__tstate);
30521 if (PyErr_Occurred()) SWIG_fail;
30522 }
30523 Py_INCREF(Py_None); resultobj = Py_None;
30524 return resultobj;
30525 fail:
30526 return NULL;
30527}
30528
30529
c32bde28 30530static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30531 PyObject *resultobj;
30532 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30533 wxTreeItemId *arg2 = 0 ;
30534 PyObject * obj0 = 0 ;
30535 PyObject * obj1 = 0 ;
30536 char *kwnames[] = {
30537 (char *) "self",(char *) "item", NULL
30538 };
30539
30540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30541 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30542 if (SWIG_arg_fail(1)) SWIG_fail;
30543 {
30544 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30545 if (SWIG_arg_fail(2)) SWIG_fail;
30546 if (arg2 == NULL) {
30547 SWIG_null_ref("wxTreeItemId");
30548 }
30549 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30550 }
30551 {
30552 PyThreadState* __tstate = wxPyBeginAllowThreads();
30553 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
30554
30555 wxPyEndAllowThreads(__tstate);
30556 if (PyErr_Occurred()) SWIG_fail;
30557 }
30558 Py_INCREF(Py_None); resultobj = Py_None;
30559 return resultobj;
30560 fail:
30561 return NULL;
30562}
30563
30564
c32bde28 30565static PyObject *_wrap_TreeCtrl_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30566 PyObject *resultobj;
30567 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30568 wxTreeItemId *arg2 = 0 ;
30569 PyObject * obj0 = 0 ;
30570 PyObject * obj1 = 0 ;
30571 char *kwnames[] = {
30572 (char *) "self",(char *) "item", NULL
30573 };
30574
30575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30576 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30577 if (SWIG_arg_fail(1)) SWIG_fail;
30578 {
30579 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30580 if (SWIG_arg_fail(2)) SWIG_fail;
30581 if (arg2 == NULL) {
30582 SWIG_null_ref("wxTreeItemId");
30583 }
30584 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30585 }
30586 {
30587 PyThreadState* __tstate = wxPyBeginAllowThreads();
30588 (arg1)->Toggle((wxTreeItemId const &)*arg2);
30589
30590 wxPyEndAllowThreads(__tstate);
30591 if (PyErr_Occurred()) SWIG_fail;
30592 }
30593 Py_INCREF(Py_None); resultobj = Py_None;
30594 return resultobj;
30595 fail:
30596 return NULL;
30597}
30598
30599
c32bde28 30600static PyObject *_wrap_TreeCtrl_Unselect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30601 PyObject *resultobj;
30602 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30603 PyObject * obj0 = 0 ;
30604 char *kwnames[] = {
30605 (char *) "self", NULL
30606 };
30607
30608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
093d3ff1
RD
30609 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30610 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30611 {
30612 PyThreadState* __tstate = wxPyBeginAllowThreads();
30613 (arg1)->Unselect();
30614
30615 wxPyEndAllowThreads(__tstate);
30616 if (PyErr_Occurred()) SWIG_fail;
30617 }
30618 Py_INCREF(Py_None); resultobj = Py_None;
30619 return resultobj;
30620 fail:
30621 return NULL;
30622}
30623
30624
c32bde28 30625static PyObject *_wrap_TreeCtrl_UnselectItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30626 PyObject *resultobj;
30627 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30628 wxTreeItemId *arg2 = 0 ;
30629 PyObject * obj0 = 0 ;
30630 PyObject * obj1 = 0 ;
30631 char *kwnames[] = {
30632 (char *) "self",(char *) "item", NULL
30633 };
30634
30635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_UnselectItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30636 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30637 if (SWIG_arg_fail(1)) SWIG_fail;
30638 {
30639 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30640 if (SWIG_arg_fail(2)) SWIG_fail;
30641 if (arg2 == NULL) {
30642 SWIG_null_ref("wxTreeItemId");
30643 }
30644 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30645 }
30646 {
30647 PyThreadState* __tstate = wxPyBeginAllowThreads();
30648 (arg1)->UnselectItem((wxTreeItemId const &)*arg2);
30649
30650 wxPyEndAllowThreads(__tstate);
30651 if (PyErr_Occurred()) SWIG_fail;
30652 }
30653 Py_INCREF(Py_None); resultobj = Py_None;
30654 return resultobj;
30655 fail:
30656 return NULL;
30657}
30658
30659
c32bde28 30660static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30661 PyObject *resultobj;
30662 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30663 PyObject * obj0 = 0 ;
30664 char *kwnames[] = {
30665 (char *) "self", NULL
30666 };
30667
30668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_UnselectAll",kwnames,&obj0)) goto fail;
093d3ff1
RD
30669 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30670 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30671 {
30672 PyThreadState* __tstate = wxPyBeginAllowThreads();
30673 (arg1)->UnselectAll();
30674
30675 wxPyEndAllowThreads(__tstate);
30676 if (PyErr_Occurred()) SWIG_fail;
30677 }
30678 Py_INCREF(Py_None); resultobj = Py_None;
30679 return resultobj;
30680 fail:
30681 return NULL;
30682}
30683
30684
c32bde28 30685static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30686 PyObject *resultobj;
30687 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30688 wxTreeItemId *arg2 = 0 ;
ae8162c8 30689 bool arg3 = (bool) true ;
d55e5bfc
RD
30690 PyObject * obj0 = 0 ;
30691 PyObject * obj1 = 0 ;
30692 PyObject * obj2 = 0 ;
30693 char *kwnames[] = {
30694 (char *) "self",(char *) "item",(char *) "select", NULL
30695 };
30696
30697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
30698 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30699 if (SWIG_arg_fail(1)) SWIG_fail;
30700 {
30701 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30702 if (SWIG_arg_fail(2)) SWIG_fail;
30703 if (arg2 == NULL) {
30704 SWIG_null_ref("wxTreeItemId");
30705 }
30706 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30707 }
30708 if (obj2) {
093d3ff1
RD
30709 {
30710 arg3 = (bool)(SWIG_As_bool(obj2));
30711 if (SWIG_arg_fail(3)) SWIG_fail;
30712 }
d55e5bfc
RD
30713 }
30714 {
30715 PyThreadState* __tstate = wxPyBeginAllowThreads();
30716 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3);
30717
30718 wxPyEndAllowThreads(__tstate);
30719 if (PyErr_Occurred()) SWIG_fail;
30720 }
30721 Py_INCREF(Py_None); resultobj = Py_None;
30722 return resultobj;
30723 fail:
30724 return NULL;
30725}
30726
30727
c32bde28 30728static PyObject *_wrap_TreeCtrl_ToggleItemSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30729 PyObject *resultobj;
30730 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30731 wxTreeItemId *arg2 = 0 ;
30732 PyObject * obj0 = 0 ;
30733 PyObject * obj1 = 0 ;
30734 char *kwnames[] = {
30735 (char *) "self",(char *) "item", NULL
30736 };
30737
30738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30739 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30740 if (SWIG_arg_fail(1)) SWIG_fail;
30741 {
30742 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30743 if (SWIG_arg_fail(2)) SWIG_fail;
30744 if (arg2 == NULL) {
30745 SWIG_null_ref("wxTreeItemId");
30746 }
30747 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30748 }
30749 {
30750 PyThreadState* __tstate = wxPyBeginAllowThreads();
30751 (arg1)->ToggleItemSelection((wxTreeItemId const &)*arg2);
30752
30753 wxPyEndAllowThreads(__tstate);
30754 if (PyErr_Occurred()) SWIG_fail;
30755 }
30756 Py_INCREF(Py_None); resultobj = Py_None;
30757 return resultobj;
30758 fail:
30759 return NULL;
30760}
30761
30762
c32bde28 30763static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30764 PyObject *resultobj;
30765 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30766 wxTreeItemId *arg2 = 0 ;
30767 PyObject * obj0 = 0 ;
30768 PyObject * obj1 = 0 ;
30769 char *kwnames[] = {
30770 (char *) "self",(char *) "item", NULL
30771 };
30772
30773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30774 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30775 if (SWIG_arg_fail(1)) SWIG_fail;
30776 {
30777 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30778 if (SWIG_arg_fail(2)) SWIG_fail;
30779 if (arg2 == NULL) {
30780 SWIG_null_ref("wxTreeItemId");
30781 }
30782 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30783 }
30784 {
30785 PyThreadState* __tstate = wxPyBeginAllowThreads();
30786 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
30787
30788 wxPyEndAllowThreads(__tstate);
30789 if (PyErr_Occurred()) SWIG_fail;
30790 }
30791 Py_INCREF(Py_None); resultobj = Py_None;
30792 return resultobj;
30793 fail:
30794 return NULL;
30795}
30796
30797
c32bde28 30798static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30799 PyObject *resultobj;
30800 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30801 wxTreeItemId *arg2 = 0 ;
30802 PyObject * obj0 = 0 ;
30803 PyObject * obj1 = 0 ;
30804 char *kwnames[] = {
30805 (char *) "self",(char *) "item", NULL
30806 };
30807
30808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30809 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30810 if (SWIG_arg_fail(1)) SWIG_fail;
30811 {
30812 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30813 if (SWIG_arg_fail(2)) SWIG_fail;
30814 if (arg2 == NULL) {
30815 SWIG_null_ref("wxTreeItemId");
30816 }
30817 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30818 }
30819 {
30820 PyThreadState* __tstate = wxPyBeginAllowThreads();
30821 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
30822
30823 wxPyEndAllowThreads(__tstate);
30824 if (PyErr_Occurred()) SWIG_fail;
30825 }
30826 Py_INCREF(Py_None); resultobj = Py_None;
30827 return resultobj;
30828 fail:
30829 return NULL;
30830}
30831
30832
c32bde28 30833static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30834 PyObject *resultobj;
30835 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30836 wxTreeItemId *arg2 = 0 ;
30837 PyObject * obj0 = 0 ;
30838 PyObject * obj1 = 0 ;
30839 char *kwnames[] = {
30840 (char *) "self",(char *) "item", NULL
30841 };
30842
30843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30844 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30845 if (SWIG_arg_fail(1)) SWIG_fail;
30846 {
30847 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30848 if (SWIG_arg_fail(2)) SWIG_fail;
30849 if (arg2 == NULL) {
30850 SWIG_null_ref("wxTreeItemId");
30851 }
30852 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30853 }
30854 {
30855 PyThreadState* __tstate = wxPyBeginAllowThreads();
30856 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
30857
30858 wxPyEndAllowThreads(__tstate);
30859 if (PyErr_Occurred()) SWIG_fail;
30860 }
30861 Py_INCREF(Py_None); resultobj = Py_None;
30862 return resultobj;
30863 fail:
30864 return NULL;
30865}
30866
30867
c32bde28 30868static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30869 PyObject *resultobj;
30870 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30871 wxTextCtrl *result;
30872 PyObject * obj0 = 0 ;
30873 char *kwnames[] = {
30874 (char *) "self", NULL
30875 };
30876
30877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
093d3ff1
RD
30878 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30879 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30880 {
30881 PyThreadState* __tstate = wxPyBeginAllowThreads();
30882 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
30883
30884 wxPyEndAllowThreads(__tstate);
30885 if (PyErr_Occurred()) SWIG_fail;
30886 }
30887 {
412d302d 30888 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
30889 }
30890 return resultobj;
30891 fail:
30892 return NULL;
30893}
30894
30895
c32bde28 30896static PyObject *_wrap_TreeCtrl_EndEditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30897 PyObject *resultobj;
30898 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30899 wxTreeItemId *arg2 = 0 ;
ae8162c8 30900 bool arg3 = (bool) false ;
d55e5bfc
RD
30901 PyObject * obj0 = 0 ;
30902 PyObject * obj1 = 0 ;
30903 PyObject * obj2 = 0 ;
30904 char *kwnames[] = {
30905 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
30906 };
30907
30908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
30909 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30910 if (SWIG_arg_fail(1)) SWIG_fail;
30911 {
30912 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30913 if (SWIG_arg_fail(2)) SWIG_fail;
30914 if (arg2 == NULL) {
30915 SWIG_null_ref("wxTreeItemId");
30916 }
30917 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30918 }
30919 if (obj2) {
093d3ff1
RD
30920 {
30921 arg3 = (bool)(SWIG_As_bool(obj2));
30922 if (SWIG_arg_fail(3)) SWIG_fail;
30923 }
d55e5bfc
RD
30924 }
30925 {
30926 PyThreadState* __tstate = wxPyBeginAllowThreads();
30927 (arg1)->EndEditLabel((wxTreeItemId const &)*arg2,arg3);
30928
30929 wxPyEndAllowThreads(__tstate);
30930 if (PyErr_Occurred()) SWIG_fail;
30931 }
30932 Py_INCREF(Py_None); resultobj = Py_None;
30933 return resultobj;
30934 fail:
30935 return NULL;
30936}
30937
30938
c32bde28 30939static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30940 PyObject *resultobj;
30941 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30942 wxTreeItemId *arg2 = 0 ;
30943 PyObject * obj0 = 0 ;
30944 PyObject * obj1 = 0 ;
30945 char *kwnames[] = {
30946 (char *) "self",(char *) "item", NULL
30947 };
30948
30949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30950 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30951 if (SWIG_arg_fail(1)) SWIG_fail;
30952 {
30953 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30954 if (SWIG_arg_fail(2)) SWIG_fail;
30955 if (arg2 == NULL) {
30956 SWIG_null_ref("wxTreeItemId");
30957 }
30958 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30959 }
30960 {
30961 PyThreadState* __tstate = wxPyBeginAllowThreads();
30962 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
30963
30964 wxPyEndAllowThreads(__tstate);
30965 if (PyErr_Occurred()) SWIG_fail;
30966 }
30967 Py_INCREF(Py_None); resultobj = Py_None;
30968 return resultobj;
30969 fail:
30970 return NULL;
30971}
30972
30973
c32bde28 30974static PyObject *_wrap_TreeCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30975 PyObject *resultobj;
30976 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30977 wxPoint *arg2 = 0 ;
30978 int *arg3 = 0 ;
30979 wxTreeItemId result;
30980 wxPoint temp2 ;
30981 int temp3 ;
c32bde28 30982 int res3 = 0 ;
d55e5bfc
RD
30983 PyObject * obj0 = 0 ;
30984 PyObject * obj1 = 0 ;
30985 char *kwnames[] = {
30986 (char *) "self",(char *) "point", NULL
30987 };
30988
c32bde28 30989 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 30990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30991 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30992 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30993 {
30994 arg2 = &temp2;
30995 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
30996 }
30997 {
30998 PyThreadState* __tstate = wxPyBeginAllowThreads();
30999 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
31000
31001 wxPyEndAllowThreads(__tstate);
31002 if (PyErr_Occurred()) SWIG_fail;
31003 }
31004 {
31005 wxTreeItemId * resultptr;
093d3ff1 31006 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
31007 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31008 }
c32bde28
RD
31009 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
31010 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
31011 return resultobj;
31012 fail:
31013 return NULL;
31014}
31015
31016
c32bde28 31017static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31018 PyObject *resultobj;
31019 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31020 wxTreeItemId *arg2 = 0 ;
ae8162c8 31021 bool arg3 = (bool) false ;
d55e5bfc
RD
31022 PyObject *result;
31023 PyObject * obj0 = 0 ;
31024 PyObject * obj1 = 0 ;
31025 PyObject * obj2 = 0 ;
31026 char *kwnames[] = {
31027 (char *) "self",(char *) "item",(char *) "textOnly", NULL
31028 };
31029
31030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
31031 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31032 if (SWIG_arg_fail(1)) SWIG_fail;
31033 {
31034 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31035 if (SWIG_arg_fail(2)) SWIG_fail;
31036 if (arg2 == NULL) {
31037 SWIG_null_ref("wxTreeItemId");
31038 }
31039 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
31040 }
31041 if (obj2) {
093d3ff1
RD
31042 {
31043 arg3 = (bool)(SWIG_As_bool(obj2));
31044 if (SWIG_arg_fail(3)) SWIG_fail;
31045 }
d55e5bfc
RD
31046 }
31047 {
31048 PyThreadState* __tstate = wxPyBeginAllowThreads();
31049 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
31050
31051 wxPyEndAllowThreads(__tstate);
31052 if (PyErr_Occurred()) SWIG_fail;
31053 }
31054 resultobj = result;
31055 return resultobj;
31056 fail:
31057 return NULL;
31058}
31059
31060
c32bde28 31061static PyObject *_wrap_TreeCtrl_SetState(PyObject *, PyObject *args, PyObject *kwargs) {
110da5b0
RD
31062 PyObject *resultobj;
31063 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31064 wxTreeItemId *arg2 = 0 ;
31065 int arg3 ;
31066 PyObject * obj0 = 0 ;
31067 PyObject * obj1 = 0 ;
31068 PyObject * obj2 = 0 ;
31069 char *kwnames[] = {
31070 (char *) "self",(char *) "node",(char *) "state", NULL
31071 };
31072
31073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetState",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
31074 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31075 if (SWIG_arg_fail(1)) SWIG_fail;
31076 {
31077 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31078 if (SWIG_arg_fail(2)) SWIG_fail;
31079 if (arg2 == NULL) {
31080 SWIG_null_ref("wxTreeItemId");
31081 }
31082 if (SWIG_arg_fail(2)) SWIG_fail;
31083 }
31084 {
31085 arg3 = (int)(SWIG_As_int(obj2));
31086 if (SWIG_arg_fail(3)) SWIG_fail;
110da5b0 31087 }
110da5b0
RD
31088 {
31089 PyThreadState* __tstate = wxPyBeginAllowThreads();
31090 (arg1)->SetState((wxTreeItemId const &)*arg2,arg3);
31091
31092 wxPyEndAllowThreads(__tstate);
31093 if (PyErr_Occurred()) SWIG_fail;
31094 }
31095 Py_INCREF(Py_None); resultobj = Py_None;
31096 return resultobj;
31097 fail:
31098 return NULL;
31099}
31100
31101
c32bde28 31102static PyObject *_wrap_TreeCtrl_GetState(PyObject *, PyObject *args, PyObject *kwargs) {
110da5b0
RD
31103 PyObject *resultobj;
31104 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31105 wxTreeItemId *arg2 = 0 ;
31106 int result;
31107 PyObject * obj0 = 0 ;
31108 PyObject * obj1 = 0 ;
31109 char *kwnames[] = {
31110 (char *) "self",(char *) "node", NULL
31111 };
31112
31113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetState",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31114 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31115 if (SWIG_arg_fail(1)) SWIG_fail;
31116 {
31117 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31118 if (SWIG_arg_fail(2)) SWIG_fail;
31119 if (arg2 == NULL) {
31120 SWIG_null_ref("wxTreeItemId");
31121 }
31122 if (SWIG_arg_fail(2)) SWIG_fail;
110da5b0
RD
31123 }
31124 {
31125 PyThreadState* __tstate = wxPyBeginAllowThreads();
31126 result = (int)(arg1)->GetState((wxTreeItemId const &)*arg2);
31127
31128 wxPyEndAllowThreads(__tstate);
31129 if (PyErr_Occurred()) SWIG_fail;
31130 }
093d3ff1
RD
31131 {
31132 resultobj = SWIG_From_int((int)(result));
31133 }
110da5b0
RD
31134 return resultobj;
31135 fail:
31136 return NULL;
31137}
31138
31139
c32bde28 31140static PyObject *_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 31141 PyObject *resultobj;
093d3ff1 31142 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
d55e5bfc
RD
31143 wxVisualAttributes result;
31144 PyObject * obj0 = 0 ;
31145 char *kwnames[] = {
31146 (char *) "variant", NULL
31147 };
31148
31149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
31150 if (obj0) {
093d3ff1
RD
31151 {
31152 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
31153 if (SWIG_arg_fail(1)) SWIG_fail;
31154 }
d55e5bfc
RD
31155 }
31156 {
19272049 31157 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
31158 PyThreadState* __tstate = wxPyBeginAllowThreads();
31159 result = wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
31160
31161 wxPyEndAllowThreads(__tstate);
110da5b0 31162 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
31163 }
31164 {
31165 wxVisualAttributes * resultptr;
093d3ff1 31166 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
d55e5bfc
RD
31167 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
31168 }
31169 return resultobj;
31170 fail:
31171 return NULL;
31172}
31173
31174
c32bde28 31175static PyObject * TreeCtrl_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
31176 PyObject *obj;
31177 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31178 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
31179 Py_INCREF(obj);
31180 return Py_BuildValue((char *)"");
31181}
c32bde28 31182static int _wrap_DirDialogDefaultFolderStr_set(PyObject *) {
d55e5bfc
RD
31183 PyErr_SetString(PyExc_TypeError,"Variable DirDialogDefaultFolderStr is read-only.");
31184 return 1;
31185}
31186
31187
093d3ff1 31188static PyObject *_wrap_DirDialogDefaultFolderStr_get(void) {
d55e5bfc
RD
31189 PyObject *pyobj;
31190
31191 {
31192#if wxUSE_UNICODE
31193 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
31194#else
31195 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
31196#endif
31197 }
31198 return pyobj;
31199}
31200
31201
c32bde28 31202static PyObject *_wrap_new_GenericDirCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31203 PyObject *resultobj;
31204 wxWindow *arg1 = (wxWindow *) 0 ;
31205 int arg2 = (int) (int)-1 ;
31206 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
31207 wxString *arg3 = (wxString *) &arg3_defvalue ;
31208 wxPoint const &arg4_defvalue = wxDefaultPosition ;
31209 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
31210 wxSize const &arg5_defvalue = wxDefaultSize ;
31211 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
31212 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
31213 wxString const &arg7_defvalue = wxPyEmptyString ;
31214 wxString *arg7 = (wxString *) &arg7_defvalue ;
31215 int arg8 = (int) 0 ;
31216 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
31217 wxString *arg9 = (wxString *) &arg9_defvalue ;
31218 wxGenericDirCtrl *result;
ae8162c8 31219 bool temp3 = false ;
d55e5bfc
RD
31220 wxPoint temp4 ;
31221 wxSize temp5 ;
ae8162c8
RD
31222 bool temp7 = false ;
31223 bool temp9 = false ;
d55e5bfc
RD
31224 PyObject * obj0 = 0 ;
31225 PyObject * obj1 = 0 ;
31226 PyObject * obj2 = 0 ;
31227 PyObject * obj3 = 0 ;
31228 PyObject * obj4 = 0 ;
31229 PyObject * obj5 = 0 ;
31230 PyObject * obj6 = 0 ;
31231 PyObject * obj7 = 0 ;
31232 PyObject * obj8 = 0 ;
31233 char *kwnames[] = {
31234 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
31235 };
31236
31237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
31238 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31239 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 31240 if (obj1) {
093d3ff1
RD
31241 {
31242 arg2 = (int const)(SWIG_As_int(obj1));
31243 if (SWIG_arg_fail(2)) SWIG_fail;
31244 }
d55e5bfc
RD
31245 }
31246 if (obj2) {
31247 {
31248 arg3 = wxString_in_helper(obj2);
31249 if (arg3 == NULL) SWIG_fail;
ae8162c8 31250 temp3 = true;
d55e5bfc
RD
31251 }
31252 }
31253 if (obj3) {
31254 {
31255 arg4 = &temp4;
31256 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
31257 }
31258 }
31259 if (obj4) {
31260 {
31261 arg5 = &temp5;
31262 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
31263 }
31264 }
31265 if (obj5) {
093d3ff1
RD
31266 {
31267 arg6 = (long)(SWIG_As_long(obj5));
31268 if (SWIG_arg_fail(6)) SWIG_fail;
31269 }
d55e5bfc
RD
31270 }
31271 if (obj6) {
31272 {
31273 arg7 = wxString_in_helper(obj6);
31274 if (arg7 == NULL) SWIG_fail;
ae8162c8 31275 temp7 = true;
d55e5bfc
RD
31276 }
31277 }
31278 if (obj7) {
093d3ff1
RD
31279 {
31280 arg8 = (int)(SWIG_As_int(obj7));
31281 if (SWIG_arg_fail(8)) SWIG_fail;
31282 }
d55e5bfc
RD
31283 }
31284 if (obj8) {
31285 {
31286 arg9 = wxString_in_helper(obj8);
31287 if (arg9 == NULL) SWIG_fail;
ae8162c8 31288 temp9 = true;
d55e5bfc
RD
31289 }
31290 }
31291 {
0439c23b 31292 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
31293 PyThreadState* __tstate = wxPyBeginAllowThreads();
31294 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
31295
31296 wxPyEndAllowThreads(__tstate);
110da5b0 31297 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
31298 }
31299 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
31300 {
31301 if (temp3)
31302 delete arg3;
31303 }
31304 {
31305 if (temp7)
31306 delete arg7;
31307 }
31308 {
31309 if (temp9)
31310 delete arg9;
31311 }
31312 return resultobj;
31313 fail:
31314 {
31315 if (temp3)
31316 delete arg3;
31317 }
31318 {
31319 if (temp7)
31320 delete arg7;
31321 }
31322 {
31323 if (temp9)
31324 delete arg9;
31325 }
31326 return NULL;
31327}
31328
31329
c32bde28 31330static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31331 PyObject *resultobj;
31332 wxGenericDirCtrl *result;
31333 char *kwnames[] = {
31334 NULL
31335 };
31336
31337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
31338 {
0439c23b 31339 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
31340 PyThreadState* __tstate = wxPyBeginAllowThreads();
31341 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
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 return resultobj;
31348 fail:
31349 return NULL;
31350}
31351
31352
c32bde28 31353static PyObject *_wrap_GenericDirCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31354 PyObject *resultobj;
31355 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31356 wxWindow *arg2 = (wxWindow *) 0 ;
31357 int arg3 = (int) (int)-1 ;
31358 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
31359 wxString *arg4 = (wxString *) &arg4_defvalue ;
31360 wxPoint const &arg5_defvalue = wxDefaultPosition ;
31361 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
31362 wxSize const &arg6_defvalue = wxDefaultSize ;
31363 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
31364 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
31365 wxString const &arg8_defvalue = wxPyEmptyString ;
31366 wxString *arg8 = (wxString *) &arg8_defvalue ;
31367 int arg9 = (int) 0 ;
31368 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
31369 wxString *arg10 = (wxString *) &arg10_defvalue ;
31370 bool result;
ae8162c8 31371 bool temp4 = false ;
d55e5bfc
RD
31372 wxPoint temp5 ;
31373 wxSize temp6 ;
ae8162c8
RD
31374 bool temp8 = false ;
31375 bool temp10 = false ;
d55e5bfc
RD
31376 PyObject * obj0 = 0 ;
31377 PyObject * obj1 = 0 ;
31378 PyObject * obj2 = 0 ;
31379 PyObject * obj3 = 0 ;
31380 PyObject * obj4 = 0 ;
31381 PyObject * obj5 = 0 ;
31382 PyObject * obj6 = 0 ;
31383 PyObject * obj7 = 0 ;
31384 PyObject * obj8 = 0 ;
31385 PyObject * obj9 = 0 ;
31386 char *kwnames[] = {
31387 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
31388 };
31389
31390 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
31391 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31392 if (SWIG_arg_fail(1)) SWIG_fail;
31393 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31394 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 31395 if (obj2) {
093d3ff1
RD
31396 {
31397 arg3 = (int const)(SWIG_As_int(obj2));
31398 if (SWIG_arg_fail(3)) SWIG_fail;
31399 }
d55e5bfc
RD
31400 }
31401 if (obj3) {
31402 {
31403 arg4 = wxString_in_helper(obj3);
31404 if (arg4 == NULL) SWIG_fail;
ae8162c8 31405 temp4 = true;
d55e5bfc
RD
31406 }
31407 }
31408 if (obj4) {
31409 {
31410 arg5 = &temp5;
31411 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
31412 }
31413 }
31414 if (obj5) {
31415 {
31416 arg6 = &temp6;
31417 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
31418 }
31419 }
31420 if (obj6) {
093d3ff1
RD
31421 {
31422 arg7 = (long)(SWIG_As_long(obj6));
31423 if (SWIG_arg_fail(7)) SWIG_fail;
31424 }
d55e5bfc
RD
31425 }
31426 if (obj7) {
31427 {
31428 arg8 = wxString_in_helper(obj7);
31429 if (arg8 == NULL) SWIG_fail;
ae8162c8 31430 temp8 = true;
d55e5bfc
RD
31431 }
31432 }
31433 if (obj8) {
093d3ff1
RD
31434 {
31435 arg9 = (int)(SWIG_As_int(obj8));
31436 if (SWIG_arg_fail(9)) SWIG_fail;
31437 }
d55e5bfc
RD
31438 }
31439 if (obj9) {
31440 {
31441 arg10 = wxString_in_helper(obj9);
31442 if (arg10 == NULL) SWIG_fail;
ae8162c8 31443 temp10 = true;
d55e5bfc
RD
31444 }
31445 }
31446 {
31447 PyThreadState* __tstate = wxPyBeginAllowThreads();
31448 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
31449
31450 wxPyEndAllowThreads(__tstate);
31451 if (PyErr_Occurred()) SWIG_fail;
31452 }
31453 {
31454 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31455 }
31456 {
31457 if (temp4)
31458 delete arg4;
31459 }
31460 {
31461 if (temp8)
31462 delete arg8;
31463 }
31464 {
31465 if (temp10)
31466 delete arg10;
31467 }
31468 return resultobj;
31469 fail:
31470 {
31471 if (temp4)
31472 delete arg4;
31473 }
31474 {
31475 if (temp8)
31476 delete arg8;
31477 }
31478 {
31479 if (temp10)
31480 delete arg10;
31481 }
31482 return NULL;
31483}
31484
31485
c32bde28 31486static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31487 PyObject *resultobj;
31488 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31489 wxString *arg2 = 0 ;
31490 bool result;
ae8162c8 31491 bool temp2 = false ;
d55e5bfc
RD
31492 PyObject * obj0 = 0 ;
31493 PyObject * obj1 = 0 ;
31494 char *kwnames[] = {
31495 (char *) "self",(char *) "path", NULL
31496 };
31497
31498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31499 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31500 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31501 {
31502 arg2 = wxString_in_helper(obj1);
31503 if (arg2 == NULL) SWIG_fail;
ae8162c8 31504 temp2 = true;
d55e5bfc
RD
31505 }
31506 {
31507 PyThreadState* __tstate = wxPyBeginAllowThreads();
31508 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
31509
31510 wxPyEndAllowThreads(__tstate);
31511 if (PyErr_Occurred()) SWIG_fail;
31512 }
31513 {
31514 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31515 }
31516 {
31517 if (temp2)
31518 delete arg2;
31519 }
31520 return resultobj;
31521 fail:
31522 {
31523 if (temp2)
31524 delete arg2;
31525 }
31526 return NULL;
31527}
31528
31529
c32bde28 31530static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31531 PyObject *resultobj;
31532 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31533 wxString result;
31534 PyObject * obj0 = 0 ;
31535 char *kwnames[] = {
31536 (char *) "self", NULL
31537 };
31538
31539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames,&obj0)) goto fail;
093d3ff1
RD
31540 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31541 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31542 {
31543 PyThreadState* __tstate = wxPyBeginAllowThreads();
31544 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
31545
31546 wxPyEndAllowThreads(__tstate);
31547 if (PyErr_Occurred()) SWIG_fail;
31548 }
31549 {
31550#if wxUSE_UNICODE
31551 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31552#else
31553 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31554#endif
31555 }
31556 return resultobj;
31557 fail:
31558 return NULL;
31559}
31560
31561
c32bde28 31562static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31563 PyObject *resultobj;
31564 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31565 wxString *arg2 = 0 ;
ae8162c8 31566 bool temp2 = false ;
d55e5bfc
RD
31567 PyObject * obj0 = 0 ;
31568 PyObject * obj1 = 0 ;
31569 char *kwnames[] = {
31570 (char *) "self",(char *) "path", NULL
31571 };
31572
31573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31574 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31575 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31576 {
31577 arg2 = wxString_in_helper(obj1);
31578 if (arg2 == NULL) SWIG_fail;
ae8162c8 31579 temp2 = true;
d55e5bfc
RD
31580 }
31581 {
31582 PyThreadState* __tstate = wxPyBeginAllowThreads();
31583 (arg1)->SetDefaultPath((wxString const &)*arg2);
31584
31585 wxPyEndAllowThreads(__tstate);
31586 if (PyErr_Occurred()) SWIG_fail;
31587 }
31588 Py_INCREF(Py_None); resultobj = Py_None;
31589 {
31590 if (temp2)
31591 delete arg2;
31592 }
31593 return resultobj;
31594 fail:
31595 {
31596 if (temp2)
31597 delete arg2;
31598 }
31599 return NULL;
31600}
31601
31602
c32bde28 31603static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31604 PyObject *resultobj;
31605 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31606 wxString result;
31607 PyObject * obj0 = 0 ;
31608 char *kwnames[] = {
31609 (char *) "self", NULL
31610 };
31611
31612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
093d3ff1
RD
31613 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31614 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31615 {
31616 PyThreadState* __tstate = wxPyBeginAllowThreads();
31617 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
31618
31619 wxPyEndAllowThreads(__tstate);
31620 if (PyErr_Occurred()) SWIG_fail;
31621 }
31622 {
31623#if wxUSE_UNICODE
31624 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31625#else
31626 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31627#endif
31628 }
31629 return resultobj;
31630 fail:
31631 return NULL;
31632}
31633
31634
c32bde28 31635static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31636 PyObject *resultobj;
31637 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31638 wxString result;
31639 PyObject * obj0 = 0 ;
31640 char *kwnames[] = {
31641 (char *) "self", NULL
31642 };
31643
31644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
093d3ff1
RD
31645 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31646 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31647 {
31648 PyThreadState* __tstate = wxPyBeginAllowThreads();
31649 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
31650
31651 wxPyEndAllowThreads(__tstate);
31652 if (PyErr_Occurred()) SWIG_fail;
31653 }
31654 {
31655#if wxUSE_UNICODE
31656 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31657#else
31658 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31659#endif
31660 }
31661 return resultobj;
31662 fail:
31663 return NULL;
31664}
31665
31666
c32bde28 31667static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31668 PyObject *resultobj;
31669 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31670 wxString *arg2 = 0 ;
ae8162c8 31671 bool temp2 = false ;
d55e5bfc
RD
31672 PyObject * obj0 = 0 ;
31673 PyObject * obj1 = 0 ;
31674 char *kwnames[] = {
31675 (char *) "self",(char *) "path", NULL
31676 };
31677
31678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31679 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31680 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31681 {
31682 arg2 = wxString_in_helper(obj1);
31683 if (arg2 == NULL) SWIG_fail;
ae8162c8 31684 temp2 = true;
d55e5bfc
RD
31685 }
31686 {
31687 PyThreadState* __tstate = wxPyBeginAllowThreads();
31688 (arg1)->SetPath((wxString const &)*arg2);
31689
31690 wxPyEndAllowThreads(__tstate);
31691 if (PyErr_Occurred()) SWIG_fail;
31692 }
31693 Py_INCREF(Py_None); resultobj = Py_None;
31694 {
31695 if (temp2)
31696 delete arg2;
31697 }
31698 return resultobj;
31699 fail:
31700 {
31701 if (temp2)
31702 delete arg2;
31703 }
31704 return NULL;
31705}
31706
31707
c32bde28 31708static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31709 PyObject *resultobj;
31710 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31711 bool arg2 ;
31712 PyObject * obj0 = 0 ;
31713 PyObject * obj1 = 0 ;
31714 char *kwnames[] = {
31715 (char *) "self",(char *) "show", NULL
31716 };
31717
31718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31719 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31720 if (SWIG_arg_fail(1)) SWIG_fail;
31721 {
31722 arg2 = (bool)(SWIG_As_bool(obj1));
31723 if (SWIG_arg_fail(2)) SWIG_fail;
31724 }
d55e5bfc
RD
31725 {
31726 PyThreadState* __tstate = wxPyBeginAllowThreads();
31727 (arg1)->ShowHidden(arg2);
31728
31729 wxPyEndAllowThreads(__tstate);
31730 if (PyErr_Occurred()) SWIG_fail;
31731 }
31732 Py_INCREF(Py_None); resultobj = Py_None;
31733 return resultobj;
31734 fail:
31735 return NULL;
31736}
31737
31738
c32bde28 31739static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31740 PyObject *resultobj;
31741 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31742 bool result;
31743 PyObject * obj0 = 0 ;
31744 char *kwnames[] = {
31745 (char *) "self", NULL
31746 };
31747
31748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames,&obj0)) goto fail;
093d3ff1
RD
31749 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31750 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31751 {
31752 PyThreadState* __tstate = wxPyBeginAllowThreads();
31753 result = (bool)(arg1)->GetShowHidden();
31754
31755 wxPyEndAllowThreads(__tstate);
31756 if (PyErr_Occurred()) SWIG_fail;
31757 }
31758 {
31759 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31760 }
31761 return resultobj;
31762 fail:
31763 return NULL;
31764}
31765
31766
c32bde28 31767static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31768 PyObject *resultobj;
31769 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31770 wxString result;
31771 PyObject * obj0 = 0 ;
31772 char *kwnames[] = {
31773 (char *) "self", NULL
31774 };
31775
31776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilter",kwnames,&obj0)) goto fail;
093d3ff1
RD
31777 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31778 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31779 {
31780 PyThreadState* __tstate = wxPyBeginAllowThreads();
31781 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
31782
31783 wxPyEndAllowThreads(__tstate);
31784 if (PyErr_Occurred()) SWIG_fail;
31785 }
31786 {
31787#if wxUSE_UNICODE
31788 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31789#else
31790 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31791#endif
31792 }
31793 return resultobj;
31794 fail:
31795 return NULL;
31796}
31797
31798
c32bde28 31799static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31800 PyObject *resultobj;
31801 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31802 wxString *arg2 = 0 ;
ae8162c8 31803 bool temp2 = false ;
d55e5bfc
RD
31804 PyObject * obj0 = 0 ;
31805 PyObject * obj1 = 0 ;
31806 char *kwnames[] = {
31807 (char *) "self",(char *) "filter", NULL
31808 };
31809
31810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31811 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31812 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31813 {
31814 arg2 = wxString_in_helper(obj1);
31815 if (arg2 == NULL) SWIG_fail;
ae8162c8 31816 temp2 = true;
d55e5bfc
RD
31817 }
31818 {
31819 PyThreadState* __tstate = wxPyBeginAllowThreads();
31820 (arg1)->SetFilter((wxString const &)*arg2);
31821
31822 wxPyEndAllowThreads(__tstate);
31823 if (PyErr_Occurred()) SWIG_fail;
31824 }
31825 Py_INCREF(Py_None); resultobj = Py_None;
31826 {
31827 if (temp2)
31828 delete arg2;
31829 }
31830 return resultobj;
31831 fail:
31832 {
31833 if (temp2)
31834 delete arg2;
31835 }
31836 return NULL;
31837}
31838
31839
c32bde28 31840static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31841 PyObject *resultobj;
31842 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31843 int result;
31844 PyObject * obj0 = 0 ;
31845 char *kwnames[] = {
31846 (char *) "self", NULL
31847 };
31848
31849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames,&obj0)) goto fail;
093d3ff1
RD
31850 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31851 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31852 {
31853 PyThreadState* __tstate = wxPyBeginAllowThreads();
31854 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
31855
31856 wxPyEndAllowThreads(__tstate);
31857 if (PyErr_Occurred()) SWIG_fail;
31858 }
093d3ff1
RD
31859 {
31860 resultobj = SWIG_From_int((int)(result));
31861 }
d55e5bfc
RD
31862 return resultobj;
31863 fail:
31864 return NULL;
31865}
31866
31867
c32bde28 31868static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31869 PyObject *resultobj;
31870 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31871 int arg2 ;
31872 PyObject * obj0 = 0 ;
31873 PyObject * obj1 = 0 ;
31874 char *kwnames[] = {
31875 (char *) "self",(char *) "n", NULL
31876 };
31877
31878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31879 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31880 if (SWIG_arg_fail(1)) SWIG_fail;
31881 {
31882 arg2 = (int)(SWIG_As_int(obj1));
31883 if (SWIG_arg_fail(2)) SWIG_fail;
31884 }
d55e5bfc
RD
31885 {
31886 PyThreadState* __tstate = wxPyBeginAllowThreads();
31887 (arg1)->SetFilterIndex(arg2);
31888
31889 wxPyEndAllowThreads(__tstate);
31890 if (PyErr_Occurred()) SWIG_fail;
31891 }
31892 Py_INCREF(Py_None); resultobj = Py_None;
31893 return resultobj;
31894 fail:
31895 return NULL;
31896}
31897
31898
c32bde28 31899static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31900 PyObject *resultobj;
31901 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31902 wxTreeItemId result;
31903 PyObject * obj0 = 0 ;
31904 char *kwnames[] = {
31905 (char *) "self", NULL
31906 };
31907
31908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
093d3ff1
RD
31909 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31910 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31911 {
31912 PyThreadState* __tstate = wxPyBeginAllowThreads();
31913 result = (arg1)->GetRootId();
31914
31915 wxPyEndAllowThreads(__tstate);
31916 if (PyErr_Occurred()) SWIG_fail;
31917 }
31918 {
31919 wxTreeItemId * resultptr;
093d3ff1 31920 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
31921 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31922 }
31923 return resultobj;
31924 fail:
31925 return NULL;
31926}
31927
31928
c32bde28 31929static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31930 PyObject *resultobj;
31931 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31932 wxPyTreeCtrl *result;
31933 PyObject * obj0 = 0 ;
31934 char *kwnames[] = {
31935 (char *) "self", NULL
31936 };
31937
31938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
093d3ff1
RD
31939 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31940 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31941 {
31942 PyThreadState* __tstate = wxPyBeginAllowThreads();
31943 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
31944
31945 wxPyEndAllowThreads(__tstate);
31946 if (PyErr_Occurred()) SWIG_fail;
31947 }
31948 {
412d302d 31949 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
31950 }
31951 return resultobj;
31952 fail:
31953 return NULL;
31954}
31955
31956
c32bde28 31957static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31958 PyObject *resultobj;
31959 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31960 wxDirFilterListCtrl *result;
31961 PyObject * obj0 = 0 ;
31962 char *kwnames[] = {
31963 (char *) "self", NULL
31964 };
31965
31966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames,&obj0)) goto fail;
093d3ff1
RD
31967 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31968 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31969 {
31970 PyThreadState* __tstate = wxPyBeginAllowThreads();
31971 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
31972
31973 wxPyEndAllowThreads(__tstate);
31974 if (PyErr_Occurred()) SWIG_fail;
31975 }
31976 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 0);
31977 return resultobj;
31978 fail:
31979 return NULL;
31980}
31981
31982
c32bde28 31983static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31984 PyObject *resultobj;
31985 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31986 wxTreeItemId arg2 ;
31987 wxString *arg3 = 0 ;
31988 bool *arg4 = 0 ;
31989 wxTreeItemId result;
ae8162c8 31990 bool temp3 = false ;
d55e5bfc 31991 bool temp4 ;
c32bde28 31992 int res4 = 0 ;
d55e5bfc
RD
31993 PyObject * obj0 = 0 ;
31994 PyObject * obj1 = 0 ;
31995 PyObject * obj2 = 0 ;
31996 char *kwnames[] = {
31997 (char *) "self",(char *) "parentId",(char *) "path", NULL
31998 };
31999
c32bde28 32000 arg4 = &temp4; res4 = SWIG_NEWOBJ;
d55e5bfc 32001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
32002 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32003 if (SWIG_arg_fail(1)) SWIG_fail;
32004 {
32005 wxTreeItemId * argp;
32006 SWIG_Python_ConvertPtr(obj1, (void **)&argp, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION);
32007 if (SWIG_arg_fail(2)) SWIG_fail;
32008 if (argp == NULL) {
32009 SWIG_null_ref("wxTreeItemId");
32010 }
32011 if (SWIG_arg_fail(2)) SWIG_fail;
32012 arg2 = *argp;
32013 }
d55e5bfc
RD
32014 {
32015 arg3 = wxString_in_helper(obj2);
32016 if (arg3 == NULL) SWIG_fail;
ae8162c8 32017 temp3 = true;
d55e5bfc
RD
32018 }
32019 {
32020 PyThreadState* __tstate = wxPyBeginAllowThreads();
32021 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
32022
32023 wxPyEndAllowThreads(__tstate);
32024 if (PyErr_Occurred()) SWIG_fail;
32025 }
32026 {
32027 wxTreeItemId * resultptr;
093d3ff1 32028 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
32029 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
32030 }
c32bde28
RD
32031 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
32032 SWIG_From_bool((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, 0)));
d55e5bfc
RD
32033 {
32034 if (temp3)
32035 delete arg3;
32036 }
32037 return resultobj;
32038 fail:
32039 {
32040 if (temp3)
32041 delete arg3;
32042 }
32043 return NULL;
32044}
32045
32046
c32bde28 32047static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32048 PyObject *resultobj;
32049 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32050 PyObject * obj0 = 0 ;
32051 char *kwnames[] = {
32052 (char *) "self", NULL
32053 };
32054
32055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
093d3ff1
RD
32056 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32057 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32058 {
32059 PyThreadState* __tstate = wxPyBeginAllowThreads();
32060 (arg1)->DoResize();
32061
32062 wxPyEndAllowThreads(__tstate);
32063 if (PyErr_Occurred()) SWIG_fail;
32064 }
32065 Py_INCREF(Py_None); resultobj = Py_None;
32066 return resultobj;
32067 fail:
32068 return NULL;
32069}
32070
32071
c32bde28 32072static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32073 PyObject *resultobj;
32074 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32075 PyObject * obj0 = 0 ;
32076 char *kwnames[] = {
32077 (char *) "self", NULL
32078 };
32079
32080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
093d3ff1
RD
32081 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32082 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32083 {
32084 PyThreadState* __tstate = wxPyBeginAllowThreads();
32085 (arg1)->ReCreateTree();
32086
32087 wxPyEndAllowThreads(__tstate);
32088 if (PyErr_Occurred()) SWIG_fail;
32089 }
32090 Py_INCREF(Py_None); resultobj = Py_None;
32091 return resultobj;
32092 fail:
32093 return NULL;
32094}
32095
32096
c32bde28 32097static PyObject * GenericDirCtrl_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
32098 PyObject *obj;
32099 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32100 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
32101 Py_INCREF(obj);
32102 return Py_BuildValue((char *)"");
32103}
c32bde28 32104static PyObject *_wrap_new_DirFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32105 PyObject *resultobj;
32106 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32107 int arg2 = (int) (int)-1 ;
32108 wxPoint const &arg3_defvalue = wxDefaultPosition ;
32109 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
32110 wxSize const &arg4_defvalue = wxDefaultSize ;
32111 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
32112 long arg5 = (long) 0 ;
32113 wxDirFilterListCtrl *result;
32114 wxPoint temp3 ;
32115 wxSize temp4 ;
32116 PyObject * obj0 = 0 ;
32117 PyObject * obj1 = 0 ;
32118 PyObject * obj2 = 0 ;
32119 PyObject * obj3 = 0 ;
32120 PyObject * obj4 = 0 ;
32121 char *kwnames[] = {
32122 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
32123 };
32124
32125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
32126 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32127 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 32128 if (obj1) {
093d3ff1
RD
32129 {
32130 arg2 = (int const)(SWIG_As_int(obj1));
32131 if (SWIG_arg_fail(2)) SWIG_fail;
32132 }
d55e5bfc
RD
32133 }
32134 if (obj2) {
32135 {
32136 arg3 = &temp3;
32137 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
32138 }
32139 }
32140 if (obj3) {
32141 {
32142 arg4 = &temp4;
32143 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
32144 }
32145 }
32146 if (obj4) {
093d3ff1
RD
32147 {
32148 arg5 = (long)(SWIG_As_long(obj4));
32149 if (SWIG_arg_fail(5)) SWIG_fail;
32150 }
d55e5bfc
RD
32151 }
32152 {
0439c23b 32153 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
32154 PyThreadState* __tstate = wxPyBeginAllowThreads();
32155 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
32156
32157 wxPyEndAllowThreads(__tstate);
110da5b0 32158 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
32159 }
32160 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
32161 return resultobj;
32162 fail:
32163 return NULL;
32164}
32165
32166
c32bde28 32167static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32168 PyObject *resultobj;
32169 wxDirFilterListCtrl *result;
32170 char *kwnames[] = {
32171 NULL
32172 };
32173
32174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
32175 {
0439c23b 32176 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
32177 PyThreadState* __tstate = wxPyBeginAllowThreads();
32178 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
32179
32180 wxPyEndAllowThreads(__tstate);
110da5b0 32181 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
32182 }
32183 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
32184 return resultobj;
32185 fail:
32186 return NULL;
32187}
32188
32189
c32bde28 32190static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32191 PyObject *resultobj;
32192 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
32193 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
32194 int arg3 = (int) (int)-1 ;
32195 wxPoint const &arg4_defvalue = wxDefaultPosition ;
32196 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
32197 wxSize const &arg5_defvalue = wxDefaultSize ;
32198 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
32199 long arg6 = (long) 0 ;
32200 bool result;
32201 wxPoint temp4 ;
32202 wxSize temp5 ;
32203 PyObject * obj0 = 0 ;
32204 PyObject * obj1 = 0 ;
32205 PyObject * obj2 = 0 ;
32206 PyObject * obj3 = 0 ;
32207 PyObject * obj4 = 0 ;
32208 PyObject * obj5 = 0 ;
32209 char *kwnames[] = {
32210 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
32211 };
32212
32213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
32214 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirFilterListCtrl, SWIG_POINTER_EXCEPTION | 0);
32215 if (SWIG_arg_fail(1)) SWIG_fail;
32216 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32217 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 32218 if (obj2) {
093d3ff1
RD
32219 {
32220 arg3 = (int const)(SWIG_As_int(obj2));
32221 if (SWIG_arg_fail(3)) SWIG_fail;
32222 }
d55e5bfc
RD
32223 }
32224 if (obj3) {
32225 {
32226 arg4 = &temp4;
32227 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
32228 }
32229 }
32230 if (obj4) {
32231 {
32232 arg5 = &temp5;
32233 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
32234 }
32235 }
32236 if (obj5) {
093d3ff1
RD
32237 {
32238 arg6 = (long)(SWIG_As_long(obj5));
32239 if (SWIG_arg_fail(6)) SWIG_fail;
32240 }
d55e5bfc
RD
32241 }
32242 {
32243 PyThreadState* __tstate = wxPyBeginAllowThreads();
32244 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
32245
32246 wxPyEndAllowThreads(__tstate);
32247 if (PyErr_Occurred()) SWIG_fail;
32248 }
32249 {
32250 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32251 }
32252 return resultobj;
32253 fail:
32254 return NULL;
32255}
32256
32257
c32bde28 32258static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32259 PyObject *resultobj;
32260 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
32261 wxString *arg2 = 0 ;
32262 int arg3 ;
ae8162c8 32263 bool temp2 = false ;
d55e5bfc
RD
32264 PyObject * obj0 = 0 ;
32265 PyObject * obj1 = 0 ;
32266 PyObject * obj2 = 0 ;
32267 char *kwnames[] = {
32268 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
32269 };
32270
32271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
32272 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirFilterListCtrl, SWIG_POINTER_EXCEPTION | 0);
32273 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32274 {
32275 arg2 = wxString_in_helper(obj1);
32276 if (arg2 == NULL) SWIG_fail;
ae8162c8 32277 temp2 = true;
d55e5bfc 32278 }
093d3ff1
RD
32279 {
32280 arg3 = (int)(SWIG_As_int(obj2));
32281 if (SWIG_arg_fail(3)) SWIG_fail;
32282 }
d55e5bfc
RD
32283 {
32284 PyThreadState* __tstate = wxPyBeginAllowThreads();
32285 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
32286
32287 wxPyEndAllowThreads(__tstate);
32288 if (PyErr_Occurred()) SWIG_fail;
32289 }
32290 Py_INCREF(Py_None); resultobj = Py_None;
32291 {
32292 if (temp2)
32293 delete arg2;
32294 }
32295 return resultobj;
32296 fail:
32297 {
32298 if (temp2)
32299 delete arg2;
32300 }
32301 return NULL;
32302}
32303
32304
c32bde28 32305static PyObject * DirFilterListCtrl_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
32306 PyObject *obj;
32307 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32308 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
32309 Py_INCREF(obj);
32310 return Py_BuildValue((char *)"");
32311}
c32bde28 32312static PyObject *_wrap_new_PyControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32313 PyObject *resultobj;
32314 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 32315 int arg2 = (int) (int)-1 ;
d55e5bfc
RD
32316 wxPoint const &arg3_defvalue = wxDefaultPosition ;
32317 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
32318 wxSize const &arg4_defvalue = wxDefaultSize ;
32319 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
32320 long arg5 = (long) 0 ;
32321 wxValidator const &arg6_defvalue = wxDefaultValidator ;
32322 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
32323 wxString const &arg7_defvalue = wxPyControlNameStr ;
32324 wxString *arg7 = (wxString *) &arg7_defvalue ;
32325 wxPyControl *result;
32326 wxPoint temp3 ;
32327 wxSize temp4 ;
ae8162c8 32328 bool temp7 = false ;
d55e5bfc
RD
32329 PyObject * obj0 = 0 ;
32330 PyObject * obj1 = 0 ;
32331 PyObject * obj2 = 0 ;
32332 PyObject * obj3 = 0 ;
32333 PyObject * obj4 = 0 ;
32334 PyObject * obj5 = 0 ;
32335 PyObject * obj6 = 0 ;
32336 char *kwnames[] = {
32337 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32338 };
32339
248ed943 32340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_PyControl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
32341 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32342 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 32343 if (obj1) {
093d3ff1
RD
32344 {
32345 arg2 = (int const)(SWIG_As_int(obj1));
32346 if (SWIG_arg_fail(2)) SWIG_fail;
32347 }
248ed943 32348 }
d55e5bfc
RD
32349 if (obj2) {
32350 {
32351 arg3 = &temp3;
32352 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
32353 }
32354 }
32355 if (obj3) {
32356 {
32357 arg4 = &temp4;
32358 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
32359 }
32360 }
32361 if (obj4) {
093d3ff1
RD
32362 {
32363 arg5 = (long)(SWIG_As_long(obj4));
32364 if (SWIG_arg_fail(5)) SWIG_fail;
32365 }
d55e5bfc
RD
32366 }
32367 if (obj5) {
093d3ff1
RD
32368 {
32369 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
32370 if (SWIG_arg_fail(6)) SWIG_fail;
32371 if (arg6 == NULL) {
32372 SWIG_null_ref("wxValidator");
32373 }
32374 if (SWIG_arg_fail(6)) SWIG_fail;
d55e5bfc
RD
32375 }
32376 }
32377 if (obj6) {
32378 {
32379 arg7 = wxString_in_helper(obj6);
32380 if (arg7 == NULL) SWIG_fail;
ae8162c8 32381 temp7 = true;
d55e5bfc
RD
32382 }
32383 }
32384 {
0439c23b 32385 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
32386 PyThreadState* __tstate = wxPyBeginAllowThreads();
32387 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
32388
32389 wxPyEndAllowThreads(__tstate);
110da5b0 32390 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
32391 }
32392 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
32393 {
32394 if (temp7)
32395 delete arg7;
32396 }
32397 return resultobj;
32398 fail:
32399 {
32400 if (temp7)
32401 delete arg7;
32402 }
32403 return NULL;
32404}
32405
32406
c32bde28 32407static PyObject *_wrap_new_PrePyControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32408 PyObject *resultobj;
32409 wxPyControl *result;
32410 char *kwnames[] = {
32411 NULL
32412 };
32413
32414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyControl",kwnames)) goto fail;
32415 {
0439c23b 32416 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
32417 PyThreadState* __tstate = wxPyBeginAllowThreads();
32418 result = (wxPyControl *)new wxPyControl();
32419
32420 wxPyEndAllowThreads(__tstate);
110da5b0 32421 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
32422 }
32423 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
32424 return resultobj;
32425 fail:
32426 return NULL;
32427}
32428
32429
c32bde28 32430static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32431 PyObject *resultobj;
32432 wxPyControl *arg1 = (wxPyControl *) 0 ;
32433 PyObject *arg2 = (PyObject *) 0 ;
32434 PyObject *arg3 = (PyObject *) 0 ;
32435 PyObject * obj0 = 0 ;
32436 PyObject * obj1 = 0 ;
32437 PyObject * obj2 = 0 ;
32438 char *kwnames[] = {
32439 (char *) "self",(char *) "self",(char *) "_class", NULL
32440 };
32441
32442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
32443 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32444 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32445 arg2 = obj1;
32446 arg3 = obj2;
32447 {
32448 PyThreadState* __tstate = wxPyBeginAllowThreads();
32449 (arg1)->_setCallbackInfo(arg2,arg3);
32450
32451 wxPyEndAllowThreads(__tstate);
32452 if (PyErr_Occurred()) SWIG_fail;
32453 }
32454 Py_INCREF(Py_None); resultobj = Py_None;
32455 return resultobj;
32456 fail:
32457 return NULL;
32458}
32459
32460
c32bde28 32461static PyObject *_wrap_PyControl_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
caef1a4d
RD
32462 PyObject *resultobj;
32463 wxPyControl *arg1 = (wxPyControl *) 0 ;
32464 wxSize *arg2 = 0 ;
32465 wxSize temp2 ;
32466 PyObject * obj0 = 0 ;
32467 PyObject * obj1 = 0 ;
32468 char *kwnames[] = {
32469 (char *) "self",(char *) "size", NULL
32470 };
32471
32472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
32473 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32474 if (SWIG_arg_fail(1)) SWIG_fail;
caef1a4d
RD
32475 {
32476 arg2 = &temp2;
32477 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
32478 }
32479 {
32480 PyThreadState* __tstate = wxPyBeginAllowThreads();
32481 (arg1)->SetBestSize((wxSize const &)*arg2);
32482
32483 wxPyEndAllowThreads(__tstate);
32484 if (PyErr_Occurred()) SWIG_fail;
32485 }
32486 Py_INCREF(Py_None); resultobj = Py_None;
32487 return resultobj;
32488 fail:
32489 return NULL;
32490}
32491
32492
c32bde28 32493static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32494 PyObject *resultobj;
32495 wxPyControl *arg1 = (wxPyControl *) 0 ;
32496 int arg2 ;
32497 int arg3 ;
32498 int arg4 ;
32499 int arg5 ;
32500 PyObject * obj0 = 0 ;
32501 PyObject * obj1 = 0 ;
32502 PyObject * obj2 = 0 ;
32503 PyObject * obj3 = 0 ;
32504 PyObject * obj4 = 0 ;
32505 char *kwnames[] = {
32506 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
32507 };
32508
32509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
32510 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32511 if (SWIG_arg_fail(1)) SWIG_fail;
32512 {
32513 arg2 = (int)(SWIG_As_int(obj1));
32514 if (SWIG_arg_fail(2)) SWIG_fail;
32515 }
32516 {
32517 arg3 = (int)(SWIG_As_int(obj2));
32518 if (SWIG_arg_fail(3)) SWIG_fail;
32519 }
32520 {
32521 arg4 = (int)(SWIG_As_int(obj3));
32522 if (SWIG_arg_fail(4)) SWIG_fail;
32523 }
32524 {
32525 arg5 = (int)(SWIG_As_int(obj4));
32526 if (SWIG_arg_fail(5)) SWIG_fail;
32527 }
d55e5bfc
RD
32528 {
32529 PyThreadState* __tstate = wxPyBeginAllowThreads();
32530 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
32531
32532 wxPyEndAllowThreads(__tstate);
32533 if (PyErr_Occurred()) SWIG_fail;
32534 }
32535 Py_INCREF(Py_None); resultobj = Py_None;
32536 return resultobj;
32537 fail:
32538 return NULL;
32539}
32540
32541
c32bde28 32542static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32543 PyObject *resultobj;
32544 wxPyControl *arg1 = (wxPyControl *) 0 ;
32545 int arg2 ;
32546 int arg3 ;
32547 int arg4 ;
32548 int arg5 ;
32549 int arg6 = (int) wxSIZE_AUTO ;
32550 PyObject * obj0 = 0 ;
32551 PyObject * obj1 = 0 ;
32552 PyObject * obj2 = 0 ;
32553 PyObject * obj3 = 0 ;
32554 PyObject * obj4 = 0 ;
32555 PyObject * obj5 = 0 ;
32556 char *kwnames[] = {
32557 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
32558 };
32559
32560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
32561 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32562 if (SWIG_arg_fail(1)) SWIG_fail;
32563 {
32564 arg2 = (int)(SWIG_As_int(obj1));
32565 if (SWIG_arg_fail(2)) SWIG_fail;
32566 }
32567 {
32568 arg3 = (int)(SWIG_As_int(obj2));
32569 if (SWIG_arg_fail(3)) SWIG_fail;
32570 }
32571 {
32572 arg4 = (int)(SWIG_As_int(obj3));
32573 if (SWIG_arg_fail(4)) SWIG_fail;
32574 }
32575 {
32576 arg5 = (int)(SWIG_As_int(obj4));
32577 if (SWIG_arg_fail(5)) SWIG_fail;
32578 }
d55e5bfc 32579 if (obj5) {
093d3ff1
RD
32580 {
32581 arg6 = (int)(SWIG_As_int(obj5));
32582 if (SWIG_arg_fail(6)) SWIG_fail;
32583 }
d55e5bfc
RD
32584 }
32585 {
32586 PyThreadState* __tstate = wxPyBeginAllowThreads();
32587 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
32588
32589 wxPyEndAllowThreads(__tstate);
32590 if (PyErr_Occurred()) SWIG_fail;
32591 }
32592 Py_INCREF(Py_None); resultobj = Py_None;
32593 return resultobj;
32594 fail:
32595 return NULL;
32596}
32597
32598
c32bde28 32599static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32600 PyObject *resultobj;
32601 wxPyControl *arg1 = (wxPyControl *) 0 ;
32602 int arg2 ;
32603 int arg3 ;
32604 PyObject * obj0 = 0 ;
32605 PyObject * obj1 = 0 ;
32606 PyObject * obj2 = 0 ;
32607 char *kwnames[] = {
32608 (char *) "self",(char *) "width",(char *) "height", NULL
32609 };
32610
32611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
32612 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32613 if (SWIG_arg_fail(1)) SWIG_fail;
32614 {
32615 arg2 = (int)(SWIG_As_int(obj1));
32616 if (SWIG_arg_fail(2)) SWIG_fail;
32617 }
32618 {
32619 arg3 = (int)(SWIG_As_int(obj2));
32620 if (SWIG_arg_fail(3)) SWIG_fail;
32621 }
d55e5bfc
RD
32622 {
32623 PyThreadState* __tstate = wxPyBeginAllowThreads();
32624 (arg1)->base_DoSetClientSize(arg2,arg3);
32625
32626 wxPyEndAllowThreads(__tstate);
32627 if (PyErr_Occurred()) SWIG_fail;
32628 }
32629 Py_INCREF(Py_None); resultobj = Py_None;
32630 return resultobj;
32631 fail:
32632 return NULL;
32633}
32634
32635
c32bde28 32636static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32637 PyObject *resultobj;
32638 wxPyControl *arg1 = (wxPyControl *) 0 ;
32639 int arg2 ;
32640 int arg3 ;
32641 PyObject * obj0 = 0 ;
32642 PyObject * obj1 = 0 ;
32643 PyObject * obj2 = 0 ;
32644 char *kwnames[] = {
32645 (char *) "self",(char *) "x",(char *) "y", NULL
32646 };
32647
32648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
32649 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32650 if (SWIG_arg_fail(1)) SWIG_fail;
32651 {
32652 arg2 = (int)(SWIG_As_int(obj1));
32653 if (SWIG_arg_fail(2)) SWIG_fail;
32654 }
32655 {
32656 arg3 = (int)(SWIG_As_int(obj2));
32657 if (SWIG_arg_fail(3)) SWIG_fail;
32658 }
d55e5bfc
RD
32659 {
32660 PyThreadState* __tstate = wxPyBeginAllowThreads();
32661 (arg1)->base_DoSetVirtualSize(arg2,arg3);
32662
32663 wxPyEndAllowThreads(__tstate);
32664 if (PyErr_Occurred()) SWIG_fail;
32665 }
32666 Py_INCREF(Py_None); resultobj = Py_None;
32667 return resultobj;
32668 fail:
32669 return NULL;
32670}
32671
32672
c32bde28 32673static PyObject *_wrap_PyControl_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32674 PyObject *resultobj;
32675 wxPyControl *arg1 = (wxPyControl *) 0 ;
32676 int *arg2 = (int *) 0 ;
32677 int *arg3 = (int *) 0 ;
32678 int temp2 ;
c32bde28 32679 int res2 = 0 ;
d55e5bfc 32680 int temp3 ;
c32bde28 32681 int res3 = 0 ;
d55e5bfc
RD
32682 PyObject * obj0 = 0 ;
32683 char *kwnames[] = {
32684 (char *) "self", NULL
32685 };
32686
c32bde28
RD
32687 arg2 = &temp2; res2 = SWIG_NEWOBJ;
32688 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 32689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
32690 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32691 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32692 {
32693 PyThreadState* __tstate = wxPyBeginAllowThreads();
32694 ((wxPyControl const *)arg1)->base_DoGetSize(arg2,arg3);
32695
32696 wxPyEndAllowThreads(__tstate);
32697 if (PyErr_Occurred()) SWIG_fail;
32698 }
32699 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
32700 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
32701 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
32702 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
32703 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
32704 return resultobj;
32705 fail:
32706 return NULL;
32707}
32708
32709
c32bde28 32710static PyObject *_wrap_PyControl_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32711 PyObject *resultobj;
32712 wxPyControl *arg1 = (wxPyControl *) 0 ;
32713 int *arg2 = (int *) 0 ;
32714 int *arg3 = (int *) 0 ;
32715 int temp2 ;
c32bde28 32716 int res2 = 0 ;
d55e5bfc 32717 int temp3 ;
c32bde28 32718 int res3 = 0 ;
d55e5bfc
RD
32719 PyObject * obj0 = 0 ;
32720 char *kwnames[] = {
32721 (char *) "self", NULL
32722 };
32723
c32bde28
RD
32724 arg2 = &temp2; res2 = SWIG_NEWOBJ;
32725 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 32726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetClientSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
32727 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32728 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32729 {
32730 PyThreadState* __tstate = wxPyBeginAllowThreads();
32731 ((wxPyControl const *)arg1)->base_DoGetClientSize(arg2,arg3);
32732
32733 wxPyEndAllowThreads(__tstate);
32734 if (PyErr_Occurred()) SWIG_fail;
32735 }
32736 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
32737 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
32738 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
32739 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
32740 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
32741 return resultobj;
32742 fail:
32743 return NULL;
32744}
32745
32746
c32bde28 32747static PyObject *_wrap_PyControl_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32748 PyObject *resultobj;
32749 wxPyControl *arg1 = (wxPyControl *) 0 ;
32750 int *arg2 = (int *) 0 ;
32751 int *arg3 = (int *) 0 ;
32752 int temp2 ;
c32bde28 32753 int res2 = 0 ;
d55e5bfc 32754 int temp3 ;
c32bde28 32755 int res3 = 0 ;
d55e5bfc
RD
32756 PyObject * obj0 = 0 ;
32757 char *kwnames[] = {
32758 (char *) "self", NULL
32759 };
32760
c32bde28
RD
32761 arg2 = &temp2; res2 = SWIG_NEWOBJ;
32762 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 32763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
32764 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32765 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32766 {
32767 PyThreadState* __tstate = wxPyBeginAllowThreads();
32768 ((wxPyControl const *)arg1)->base_DoGetPosition(arg2,arg3);
32769
32770 wxPyEndAllowThreads(__tstate);
32771 if (PyErr_Occurred()) SWIG_fail;
32772 }
32773 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
32774 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
32775 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
32776 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
32777 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
32778 return resultobj;
32779 fail:
32780 return NULL;
32781}
32782
32783
c32bde28 32784static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32785 PyObject *resultobj;
32786 wxPyControl *arg1 = (wxPyControl *) 0 ;
32787 wxSize result;
32788 PyObject * obj0 = 0 ;
32789 char *kwnames[] = {
32790 (char *) "self", NULL
32791 };
32792
32793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
32794 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32795 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32796 {
32797 PyThreadState* __tstate = wxPyBeginAllowThreads();
32798 result = ((wxPyControl const *)arg1)->base_DoGetVirtualSize();
32799
32800 wxPyEndAllowThreads(__tstate);
32801 if (PyErr_Occurred()) SWIG_fail;
32802 }
32803 {
32804 wxSize * resultptr;
093d3ff1 32805 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
32806 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
32807 }
32808 return resultobj;
32809 fail:
32810 return NULL;
32811}
32812
32813
c32bde28 32814static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32815 PyObject *resultobj;
32816 wxPyControl *arg1 = (wxPyControl *) 0 ;
32817 wxSize result;
32818 PyObject * obj0 = 0 ;
32819 char *kwnames[] = {
32820 (char *) "self", NULL
32821 };
32822
32823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetBestSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
32824 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32825 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32826 {
32827 PyThreadState* __tstate = wxPyBeginAllowThreads();
32828 result = ((wxPyControl const *)arg1)->base_DoGetBestSize();
32829
32830 wxPyEndAllowThreads(__tstate);
32831 if (PyErr_Occurred()) SWIG_fail;
32832 }
32833 {
32834 wxSize * resultptr;
093d3ff1 32835 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
32836 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
32837 }
32838 return resultobj;
32839 fail:
32840 return NULL;
32841}
32842
32843
c32bde28 32844static PyObject *_wrap_PyControl_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32845 PyObject *resultobj;
32846 wxPyControl *arg1 = (wxPyControl *) 0 ;
32847 PyObject * obj0 = 0 ;
32848 char *kwnames[] = {
32849 (char *) "self", NULL
32850 };
32851
32852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_InitDialog",kwnames,&obj0)) goto fail;
093d3ff1
RD
32853 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32854 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32855 {
32856 PyThreadState* __tstate = wxPyBeginAllowThreads();
32857 (arg1)->base_InitDialog();
32858
32859 wxPyEndAllowThreads(__tstate);
32860 if (PyErr_Occurred()) SWIG_fail;
32861 }
32862 Py_INCREF(Py_None); resultobj = Py_None;
32863 return resultobj;
32864 fail:
32865 return NULL;
32866}
32867
32868
c32bde28 32869static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32870 PyObject *resultobj;
32871 wxPyControl *arg1 = (wxPyControl *) 0 ;
32872 bool result;
32873 PyObject * obj0 = 0 ;
32874 char *kwnames[] = {
32875 (char *) "self", NULL
32876 };
32877
32878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
32879 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32880 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32881 {
32882 PyThreadState* __tstate = wxPyBeginAllowThreads();
32883 result = (bool)(arg1)->base_TransferDataToWindow();
32884
32885 wxPyEndAllowThreads(__tstate);
32886 if (PyErr_Occurred()) SWIG_fail;
32887 }
32888 {
32889 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32890 }
32891 return resultobj;
32892 fail:
32893 return NULL;
32894}
32895
32896
c32bde28 32897static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32898 PyObject *resultobj;
32899 wxPyControl *arg1 = (wxPyControl *) 0 ;
32900 bool result;
32901 PyObject * obj0 = 0 ;
32902 char *kwnames[] = {
32903 (char *) "self", NULL
32904 };
32905
32906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
32907 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32908 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32909 {
32910 PyThreadState* __tstate = wxPyBeginAllowThreads();
32911 result = (bool)(arg1)->base_TransferDataFromWindow();
32912
32913 wxPyEndAllowThreads(__tstate);
32914 if (PyErr_Occurred()) SWIG_fail;
32915 }
32916 {
32917 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32918 }
32919 return resultobj;
32920 fail:
32921 return NULL;
32922}
32923
32924
c32bde28 32925static PyObject *_wrap_PyControl_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32926 PyObject *resultobj;
32927 wxPyControl *arg1 = (wxPyControl *) 0 ;
32928 bool result;
32929 PyObject * obj0 = 0 ;
32930 char *kwnames[] = {
32931 (char *) "self", NULL
32932 };
32933
32934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_Validate",kwnames,&obj0)) goto fail;
093d3ff1
RD
32935 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32936 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32937 {
32938 PyThreadState* __tstate = wxPyBeginAllowThreads();
32939 result = (bool)(arg1)->base_Validate();
32940
32941 wxPyEndAllowThreads(__tstate);
32942 if (PyErr_Occurred()) SWIG_fail;
32943 }
32944 {
32945 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32946 }
32947 return resultobj;
32948 fail:
32949 return NULL;
32950}
32951
32952
c32bde28 32953static PyObject *_wrap_PyControl_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32954 PyObject *resultobj;
32955 wxPyControl *arg1 = (wxPyControl *) 0 ;
32956 bool result;
32957 PyObject * obj0 = 0 ;
32958 char *kwnames[] = {
32959 (char *) "self", NULL
32960 };
32961
32962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocus",kwnames,&obj0)) goto fail;
093d3ff1
RD
32963 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32964 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32965 {
32966 PyThreadState* __tstate = wxPyBeginAllowThreads();
32967 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocus();
32968
32969 wxPyEndAllowThreads(__tstate);
32970 if (PyErr_Occurred()) SWIG_fail;
32971 }
32972 {
32973 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32974 }
32975 return resultobj;
32976 fail:
32977 return NULL;
32978}
32979
32980
c32bde28 32981static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32982 PyObject *resultobj;
32983 wxPyControl *arg1 = (wxPyControl *) 0 ;
32984 bool result;
32985 PyObject * obj0 = 0 ;
32986 char *kwnames[] = {
32987 (char *) "self", NULL
32988 };
32989
32990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
093d3ff1
RD
32991 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32992 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32993 {
32994 PyThreadState* __tstate = wxPyBeginAllowThreads();
32995 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocusFromKeyboard();
32996
32997 wxPyEndAllowThreads(__tstate);
32998 if (PyErr_Occurred()) SWIG_fail;
32999 }
33000 {
33001 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33002 }
33003 return resultobj;
33004 fail:
33005 return NULL;
33006}
33007
33008
c32bde28 33009static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33010 PyObject *resultobj;
33011 wxPyControl *arg1 = (wxPyControl *) 0 ;
33012 wxSize result;
33013 PyObject * obj0 = 0 ;
33014 char *kwnames[] = {
33015 (char *) "self", NULL
33016 };
33017
33018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetMaxSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
33019 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33020 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33021 {
33022 PyThreadState* __tstate = wxPyBeginAllowThreads();
33023 result = ((wxPyControl const *)arg1)->base_GetMaxSize();
33024
33025 wxPyEndAllowThreads(__tstate);
33026 if (PyErr_Occurred()) SWIG_fail;
33027 }
33028 {
33029 wxSize * resultptr;
093d3ff1 33030 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
33031 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
33032 }
33033 return resultobj;
33034 fail:
33035 return NULL;
33036}
33037
33038
c32bde28 33039static PyObject *_wrap_PyControl_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33040 PyObject *resultobj;
33041 wxPyControl *arg1 = (wxPyControl *) 0 ;
33042 wxWindow *arg2 = (wxWindow *) 0 ;
33043 PyObject * obj0 = 0 ;
33044 PyObject * obj1 = 0 ;
33045 char *kwnames[] = {
33046 (char *) "self",(char *) "child", NULL
33047 };
33048
33049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
33050 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33051 if (SWIG_arg_fail(1)) SWIG_fail;
33052 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33053 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
33054 {
33055 PyThreadState* __tstate = wxPyBeginAllowThreads();
33056 (arg1)->base_AddChild(arg2);
33057
33058 wxPyEndAllowThreads(__tstate);
33059 if (PyErr_Occurred()) SWIG_fail;
33060 }
33061 Py_INCREF(Py_None); resultobj = Py_None;
33062 return resultobj;
33063 fail:
33064 return NULL;
33065}
33066
33067
c32bde28 33068static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33069 PyObject *resultobj;
33070 wxPyControl *arg1 = (wxPyControl *) 0 ;
33071 wxWindow *arg2 = (wxWindow *) 0 ;
33072 PyObject * obj0 = 0 ;
33073 PyObject * obj1 = 0 ;
33074 char *kwnames[] = {
33075 (char *) "self",(char *) "child", NULL
33076 };
33077
33078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
33079 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33080 if (SWIG_arg_fail(1)) SWIG_fail;
33081 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33082 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
33083 {
33084 PyThreadState* __tstate = wxPyBeginAllowThreads();
33085 (arg1)->base_RemoveChild(arg2);
33086
33087 wxPyEndAllowThreads(__tstate);
33088 if (PyErr_Occurred()) SWIG_fail;
33089 }
33090 Py_INCREF(Py_None); resultobj = Py_None;
33091 return resultobj;
33092 fail:
33093 return NULL;
33094}
33095
33096
c32bde28 33097static PyObject *_wrap_PyControl_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33098 PyObject *resultobj;
33099 wxPyControl *arg1 = (wxPyControl *) 0 ;
33100 bool result;
33101 PyObject * obj0 = 0 ;
33102 char *kwnames[] = {
33103 (char *) "self", NULL
33104 };
33105
33106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
093d3ff1
RD
33107 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33108 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33109 {
33110 PyThreadState* __tstate = wxPyBeginAllowThreads();
caef1a4d 33111 result = (bool)((wxPyControl const *)arg1)->base_ShouldInheritColours();
d55e5bfc
RD
33112
33113 wxPyEndAllowThreads(__tstate);
33114 if (PyErr_Occurred()) SWIG_fail;
33115 }
33116 {
33117 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33118 }
33119 return resultobj;
33120 fail:
33121 return NULL;
33122}
33123
33124
c32bde28 33125static PyObject *_wrap_PyControl_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33126 PyObject *resultobj;
33127 wxPyControl *arg1 = (wxPyControl *) 0 ;
33128 wxColour *arg2 = 0 ;
33129 wxColour temp2 ;
33130 PyObject * obj0 = 0 ;
33131 PyObject * obj1 = 0 ;
33132 char *kwnames[] = {
33133 (char *) "self",(char *) "c", NULL
33134 };
33135
33136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
33137 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33138 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33139 {
33140 arg2 = &temp2;
33141 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
33142 }
33143 {
33144 PyThreadState* __tstate = wxPyBeginAllowThreads();
33145 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
33146
33147 wxPyEndAllowThreads(__tstate);
33148 if (PyErr_Occurred()) SWIG_fail;
33149 }
33150 Py_INCREF(Py_None); resultobj = Py_None;
33151 return resultobj;
33152 fail:
33153 return NULL;
33154}
33155
33156
c32bde28 33157static PyObject *_wrap_PyControl_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
caef1a4d
RD
33158 PyObject *resultobj;
33159 wxPyControl *arg1 = (wxPyControl *) 0 ;
33160 wxVisualAttributes result;
33161 PyObject * obj0 = 0 ;
33162 char *kwnames[] = {
33163 (char *) "self", NULL
33164 };
33165
33166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
093d3ff1
RD
33167 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33168 if (SWIG_arg_fail(1)) SWIG_fail;
caef1a4d
RD
33169 {
33170 PyThreadState* __tstate = wxPyBeginAllowThreads();
33171 result = (arg1)->base_GetDefaultAttributes();
33172
33173 wxPyEndAllowThreads(__tstate);
33174 if (PyErr_Occurred()) SWIG_fail;
33175 }
33176 {
33177 wxVisualAttributes * resultptr;
093d3ff1 33178 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
caef1a4d
RD
33179 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
33180 }
33181 return resultobj;
33182 fail:
33183 return NULL;
33184}
33185
33186
c32bde28 33187static PyObject * PyControl_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
33188 PyObject *obj;
33189 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33190 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
33191 Py_INCREF(obj);
33192 return Py_BuildValue((char *)"");
33193}
c32bde28 33194static PyObject *_wrap_new_HelpEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33195 PyObject *resultobj;
33196 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
33197 int arg2 = (int) 0 ;
33198 wxPoint const &arg3_defvalue = wxDefaultPosition ;
33199 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
33200 wxHelpEvent *result;
33201 wxPoint temp3 ;
33202 PyObject * obj0 = 0 ;
33203 PyObject * obj1 = 0 ;
33204 PyObject * obj2 = 0 ;
33205 char *kwnames[] = {
33206 (char *) "type",(char *) "winid",(char *) "pt", NULL
33207 };
33208
33209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_HelpEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
33210 if (obj0) {
093d3ff1
RD
33211 {
33212 arg1 = (wxEventType)(SWIG_As_int(obj0));
33213 if (SWIG_arg_fail(1)) SWIG_fail;
33214 }
d55e5bfc
RD
33215 }
33216 if (obj1) {
093d3ff1
RD
33217 {
33218 arg2 = (int)(SWIG_As_int(obj1));
33219 if (SWIG_arg_fail(2)) SWIG_fail;
33220 }
d55e5bfc
RD
33221 }
33222 if (obj2) {
33223 {
33224 arg3 = &temp3;
33225 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
33226 }
33227 }
33228 {
33229 PyThreadState* __tstate = wxPyBeginAllowThreads();
33230 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
33231
33232 wxPyEndAllowThreads(__tstate);
33233 if (PyErr_Occurred()) SWIG_fail;
33234 }
33235 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpEvent, 1);
33236 return resultobj;
33237 fail:
33238 return NULL;
33239}
33240
33241
c32bde28 33242static PyObject *_wrap_HelpEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33243 PyObject *resultobj;
33244 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33245 wxPoint result;
33246 PyObject * obj0 = 0 ;
33247 char *kwnames[] = {
33248 (char *) "self", NULL
33249 };
33250
33251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
33252 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33253 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33254 {
33255 PyThreadState* __tstate = wxPyBeginAllowThreads();
33256 result = ((wxHelpEvent const *)arg1)->GetPosition();
33257
33258 wxPyEndAllowThreads(__tstate);
33259 if (PyErr_Occurred()) SWIG_fail;
33260 }
33261 {
33262 wxPoint * resultptr;
093d3ff1 33263 resultptr = new wxPoint((wxPoint const &)(result));
d55e5bfc
RD
33264 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
33265 }
33266 return resultobj;
33267 fail:
33268 return NULL;
33269}
33270
33271
c32bde28 33272static PyObject *_wrap_HelpEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33273 PyObject *resultobj;
33274 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33275 wxPoint *arg2 = 0 ;
33276 wxPoint temp2 ;
33277 PyObject * obj0 = 0 ;
33278 PyObject * obj1 = 0 ;
33279 char *kwnames[] = {
33280 (char *) "self",(char *) "pos", NULL
33281 };
33282
33283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
33284 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33285 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33286 {
33287 arg2 = &temp2;
33288 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
33289 }
33290 {
33291 PyThreadState* __tstate = wxPyBeginAllowThreads();
33292 (arg1)->SetPosition((wxPoint const &)*arg2);
33293
33294 wxPyEndAllowThreads(__tstate);
33295 if (PyErr_Occurred()) SWIG_fail;
33296 }
33297 Py_INCREF(Py_None); resultobj = Py_None;
33298 return resultobj;
33299 fail:
33300 return NULL;
33301}
33302
33303
c32bde28 33304static PyObject *_wrap_HelpEvent_GetLink(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33305 PyObject *resultobj;
33306 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33307 wxString *result;
33308 PyObject * obj0 = 0 ;
33309 char *kwnames[] = {
33310 (char *) "self", NULL
33311 };
33312
33313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) goto fail;
093d3ff1
RD
33314 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33315 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33316 {
33317 PyThreadState* __tstate = wxPyBeginAllowThreads();
33318 {
33319 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
33320 result = (wxString *) &_result_ref;
33321 }
33322
33323 wxPyEndAllowThreads(__tstate);
33324 if (PyErr_Occurred()) SWIG_fail;
33325 }
33326 {
33327#if wxUSE_UNICODE
33328 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
33329#else
33330 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
33331#endif
33332 }
33333 return resultobj;
33334 fail:
33335 return NULL;
33336}
33337
33338
c32bde28 33339static PyObject *_wrap_HelpEvent_SetLink(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33340 PyObject *resultobj;
33341 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33342 wxString *arg2 = 0 ;
ae8162c8 33343 bool temp2 = false ;
d55e5bfc
RD
33344 PyObject * obj0 = 0 ;
33345 PyObject * obj1 = 0 ;
33346 char *kwnames[] = {
33347 (char *) "self",(char *) "link", NULL
33348 };
33349
33350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
33351 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33352 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33353 {
33354 arg2 = wxString_in_helper(obj1);
33355 if (arg2 == NULL) SWIG_fail;
ae8162c8 33356 temp2 = true;
d55e5bfc
RD
33357 }
33358 {
33359 PyThreadState* __tstate = wxPyBeginAllowThreads();
33360 (arg1)->SetLink((wxString const &)*arg2);
33361
33362 wxPyEndAllowThreads(__tstate);
33363 if (PyErr_Occurred()) SWIG_fail;
33364 }
33365 Py_INCREF(Py_None); resultobj = Py_None;
33366 {
33367 if (temp2)
33368 delete arg2;
33369 }
33370 return resultobj;
33371 fail:
33372 {
33373 if (temp2)
33374 delete arg2;
33375 }
33376 return NULL;
33377}
33378
33379
c32bde28 33380static PyObject *_wrap_HelpEvent_GetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33381 PyObject *resultobj;
33382 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33383 wxString *result;
33384 PyObject * obj0 = 0 ;
33385 char *kwnames[] = {
33386 (char *) "self", NULL
33387 };
33388
33389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) goto fail;
093d3ff1
RD
33390 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33391 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33392 {
33393 PyThreadState* __tstate = wxPyBeginAllowThreads();
33394 {
33395 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
33396 result = (wxString *) &_result_ref;
33397 }
33398
33399 wxPyEndAllowThreads(__tstate);
33400 if (PyErr_Occurred()) SWIG_fail;
33401 }
33402 {
33403#if wxUSE_UNICODE
33404 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
33405#else
33406 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
33407#endif
33408 }
33409 return resultobj;
33410 fail:
33411 return NULL;
33412}
33413
33414
c32bde28 33415static PyObject *_wrap_HelpEvent_SetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33416 PyObject *resultobj;
33417 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33418 wxString *arg2 = 0 ;
ae8162c8 33419 bool temp2 = false ;
d55e5bfc
RD
33420 PyObject * obj0 = 0 ;
33421 PyObject * obj1 = 0 ;
33422 char *kwnames[] = {
33423 (char *) "self",(char *) "target", NULL
33424 };
33425
33426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
33427 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33428 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33429 {
33430 arg2 = wxString_in_helper(obj1);
33431 if (arg2 == NULL) SWIG_fail;
ae8162c8 33432 temp2 = true;
d55e5bfc
RD
33433 }
33434 {
33435 PyThreadState* __tstate = wxPyBeginAllowThreads();
33436 (arg1)->SetTarget((wxString const &)*arg2);
33437
33438 wxPyEndAllowThreads(__tstate);
33439 if (PyErr_Occurred()) SWIG_fail;
33440 }
33441 Py_INCREF(Py_None); resultobj = Py_None;
33442 {
33443 if (temp2)
33444 delete arg2;
33445 }
33446 return resultobj;
33447 fail:
33448 {
33449 if (temp2)
33450 delete arg2;
33451 }
33452 return NULL;
33453}
33454
33455
c32bde28 33456static PyObject * HelpEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
33457 PyObject *obj;
33458 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33459 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
33460 Py_INCREF(obj);
33461 return Py_BuildValue((char *)"");
33462}
c32bde28 33463static PyObject *_wrap_new_ContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33464 PyObject *resultobj;
33465 wxWindow *arg1 = (wxWindow *) NULL ;
ae8162c8 33466 bool arg2 = (bool) true ;
d55e5bfc
RD
33467 wxContextHelp *result;
33468 PyObject * obj0 = 0 ;
33469 PyObject * obj1 = 0 ;
33470 char *kwnames[] = {
33471 (char *) "window",(char *) "doNow", NULL
33472 };
33473
33474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
33475 if (obj0) {
093d3ff1
RD
33476 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33477 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33478 }
33479 if (obj1) {
093d3ff1
RD
33480 {
33481 arg2 = (bool)(SWIG_As_bool(obj1));
33482 if (SWIG_arg_fail(2)) SWIG_fail;
33483 }
d55e5bfc
RD
33484 }
33485 {
0439c23b 33486 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
33487 PyThreadState* __tstate = wxPyBeginAllowThreads();
33488 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
33489
33490 wxPyEndAllowThreads(__tstate);
110da5b0 33491 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
33492 }
33493 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelp, 1);
33494 return resultobj;
33495 fail:
33496 return NULL;
33497}
33498
33499
c32bde28 33500static PyObject *_wrap_delete_ContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33501 PyObject *resultobj;
33502 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
33503 PyObject * obj0 = 0 ;
33504 char *kwnames[] = {
33505 (char *) "self", NULL
33506 };
33507
33508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
093d3ff1
RD
33509 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextHelp, SWIG_POINTER_EXCEPTION | 0);
33510 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33511 {
33512 PyThreadState* __tstate = wxPyBeginAllowThreads();
33513 delete arg1;
33514
33515 wxPyEndAllowThreads(__tstate);
33516 if (PyErr_Occurred()) SWIG_fail;
33517 }
33518 Py_INCREF(Py_None); resultobj = Py_None;
33519 return resultobj;
33520 fail:
33521 return NULL;
33522}
33523
33524
c32bde28 33525static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33526 PyObject *resultobj;
33527 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
33528 wxWindow *arg2 = (wxWindow *) NULL ;
33529 bool result;
33530 PyObject * obj0 = 0 ;
33531 PyObject * obj1 = 0 ;
33532 char *kwnames[] = {
33533 (char *) "self",(char *) "window", NULL
33534 };
33535
33536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
33537 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextHelp, SWIG_POINTER_EXCEPTION | 0);
33538 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 33539 if (obj1) {
093d3ff1
RD
33540 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33541 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
33542 }
33543 {
33544 PyThreadState* __tstate = wxPyBeginAllowThreads();
33545 result = (bool)(arg1)->BeginContextHelp(arg2);
33546
33547 wxPyEndAllowThreads(__tstate);
33548 if (PyErr_Occurred()) SWIG_fail;
33549 }
33550 {
33551 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33552 }
33553 return resultobj;
33554 fail:
33555 return NULL;
33556}
33557
33558
c32bde28 33559static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33560 PyObject *resultobj;
33561 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
33562 bool result;
33563 PyObject * obj0 = 0 ;
33564 char *kwnames[] = {
33565 (char *) "self", NULL
33566 };
33567
33568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
093d3ff1
RD
33569 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextHelp, SWIG_POINTER_EXCEPTION | 0);
33570 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33571 {
33572 PyThreadState* __tstate = wxPyBeginAllowThreads();
33573 result = (bool)(arg1)->EndContextHelp();
33574
33575 wxPyEndAllowThreads(__tstate);
33576 if (PyErr_Occurred()) SWIG_fail;
33577 }
33578 {
33579 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33580 }
33581 return resultobj;
33582 fail:
33583 return NULL;
33584}
33585
33586
c32bde28 33587static PyObject * ContextHelp_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
33588 PyObject *obj;
33589 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33590 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
33591 Py_INCREF(obj);
33592 return Py_BuildValue((char *)"");
33593}
c32bde28 33594static PyObject *_wrap_new_ContextHelpButton(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33595 PyObject *resultobj;
33596 wxWindow *arg1 = (wxWindow *) 0 ;
33597 int arg2 = (int) wxID_CONTEXT_HELP ;
33598 wxPoint const &arg3_defvalue = wxDefaultPosition ;
33599 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
33600 wxSize const &arg4_defvalue = wxDefaultSize ;
33601 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
33602 long arg5 = (long) wxBU_AUTODRAW ;
33603 wxContextHelpButton *result;
33604 wxPoint temp3 ;
33605 wxSize temp4 ;
33606 PyObject * obj0 = 0 ;
33607 PyObject * obj1 = 0 ;
33608 PyObject * obj2 = 0 ;
33609 PyObject * obj3 = 0 ;
33610 PyObject * obj4 = 0 ;
33611 char *kwnames[] = {
33612 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
33613 };
33614
33615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ContextHelpButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
33616 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33617 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 33618 if (obj1) {
093d3ff1
RD
33619 {
33620 arg2 = (int)(SWIG_As_int(obj1));
33621 if (SWIG_arg_fail(2)) SWIG_fail;
33622 }
d55e5bfc
RD
33623 }
33624 if (obj2) {
33625 {
33626 arg3 = &temp3;
33627 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
33628 }
33629 }
33630 if (obj3) {
33631 {
33632 arg4 = &temp4;
33633 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
33634 }
33635 }
33636 if (obj4) {
093d3ff1
RD
33637 {
33638 arg5 = (long)(SWIG_As_long(obj4));
33639 if (SWIG_arg_fail(5)) SWIG_fail;
33640 }
d55e5bfc
RD
33641 }
33642 {
0439c23b 33643 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
33644 PyThreadState* __tstate = wxPyBeginAllowThreads();
33645 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
33646
33647 wxPyEndAllowThreads(__tstate);
110da5b0 33648 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
33649 }
33650 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelpButton, 1);
33651 return resultobj;
33652 fail:
33653 return NULL;
33654}
33655
33656
c32bde28 33657static PyObject * ContextHelpButton_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
33658 PyObject *obj;
33659 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33660 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
33661 Py_INCREF(obj);
33662 return Py_BuildValue((char *)"");
33663}
c32bde28 33664static PyObject *_wrap_HelpProvider_Set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33665 PyObject *resultobj;
33666 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33667 wxHelpProvider *result;
33668 PyObject * obj0 = 0 ;
33669 char *kwnames[] = {
33670 (char *) "helpProvider", NULL
33671 };
33672
33673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
093d3ff1
RD
33674 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33675 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33676 {
33677 PyThreadState* __tstate = wxPyBeginAllowThreads();
33678 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
33679
33680 wxPyEndAllowThreads(__tstate);
33681 if (PyErr_Occurred()) SWIG_fail;
33682 }
33683 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
33684 return resultobj;
33685 fail:
33686 return NULL;
33687}
33688
33689
c32bde28 33690static PyObject *_wrap_HelpProvider_Get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33691 PyObject *resultobj;
33692 wxHelpProvider *result;
33693 char *kwnames[] = {
33694 NULL
33695 };
33696
33697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
33698 {
33699 PyThreadState* __tstate = wxPyBeginAllowThreads();
33700 result = (wxHelpProvider *)wxHelpProvider::Get();
33701
33702 wxPyEndAllowThreads(__tstate);
33703 if (PyErr_Occurred()) SWIG_fail;
33704 }
33705 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
33706 return resultobj;
33707 fail:
33708 return NULL;
33709}
33710
33711
c32bde28 33712static PyObject *_wrap_HelpProvider_GetHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33713 PyObject *resultobj;
33714 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33715 wxWindow *arg2 = (wxWindow *) 0 ;
33716 wxString result;
33717 PyObject * obj0 = 0 ;
33718 PyObject * obj1 = 0 ;
33719 char *kwnames[] = {
33720 (char *) "self",(char *) "window", NULL
33721 };
33722
33723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
33724 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33725 if (SWIG_arg_fail(1)) SWIG_fail;
33726 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33727 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
33728 {
33729 PyThreadState* __tstate = wxPyBeginAllowThreads();
33730 result = (arg1)->GetHelp((wxWindow const *)arg2);
33731
33732 wxPyEndAllowThreads(__tstate);
33733 if (PyErr_Occurred()) SWIG_fail;
33734 }
33735 {
33736#if wxUSE_UNICODE
33737 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
33738#else
33739 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
33740#endif
33741 }
33742 return resultobj;
33743 fail:
33744 return NULL;
33745}
33746
33747
c32bde28 33748static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33749 PyObject *resultobj;
33750 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33751 wxWindow *arg2 = (wxWindow *) 0 ;
33752 bool result;
33753 PyObject * obj0 = 0 ;
33754 PyObject * obj1 = 0 ;
33755 char *kwnames[] = {
33756 (char *) "self",(char *) "window", NULL
33757 };
33758
33759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
33760 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33761 if (SWIG_arg_fail(1)) SWIG_fail;
33762 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33763 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
33764 {
33765 PyThreadState* __tstate = wxPyBeginAllowThreads();
33766 result = (bool)(arg1)->ShowHelp(arg2);
33767
33768 wxPyEndAllowThreads(__tstate);
33769 if (PyErr_Occurred()) SWIG_fail;
33770 }
33771 {
33772 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33773 }
33774 return resultobj;
33775 fail:
33776 return NULL;
33777}
33778
33779
c32bde28 33780static PyObject *_wrap_HelpProvider_AddHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33781 PyObject *resultobj;
33782 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33783 wxWindow *arg2 = (wxWindow *) 0 ;
33784 wxString *arg3 = 0 ;
ae8162c8 33785 bool temp3 = false ;
d55e5bfc
RD
33786 PyObject * obj0 = 0 ;
33787 PyObject * obj1 = 0 ;
33788 PyObject * obj2 = 0 ;
33789 char *kwnames[] = {
33790 (char *) "self",(char *) "window",(char *) "text", NULL
33791 };
33792
33793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
33794 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33795 if (SWIG_arg_fail(1)) SWIG_fail;
33796 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33797 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
33798 {
33799 arg3 = wxString_in_helper(obj2);
33800 if (arg3 == NULL) SWIG_fail;
ae8162c8 33801 temp3 = true;
d55e5bfc
RD
33802 }
33803 {
33804 PyThreadState* __tstate = wxPyBeginAllowThreads();
33805 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
33806
33807 wxPyEndAllowThreads(__tstate);
33808 if (PyErr_Occurred()) SWIG_fail;
33809 }
33810 Py_INCREF(Py_None); resultobj = Py_None;
33811 {
33812 if (temp3)
33813 delete arg3;
33814 }
33815 return resultobj;
33816 fail:
33817 {
33818 if (temp3)
33819 delete arg3;
33820 }
33821 return NULL;
33822}
33823
33824
c32bde28 33825static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33826 PyObject *resultobj;
33827 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33828 int arg2 ;
33829 wxString *arg3 = 0 ;
ae8162c8 33830 bool temp3 = false ;
d55e5bfc
RD
33831 PyObject * obj0 = 0 ;
33832 PyObject * obj1 = 0 ;
33833 PyObject * obj2 = 0 ;
33834 char *kwnames[] = {
33835 (char *) "self",(char *) "id",(char *) "text", NULL
33836 };
33837
33838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelpById",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
33839 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33840 if (SWIG_arg_fail(1)) SWIG_fail;
33841 {
33842 arg2 = (int)(SWIG_As_int(obj1));
33843 if (SWIG_arg_fail(2)) SWIG_fail;
33844 }
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_RemoveHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33873 PyObject *resultobj;
33874 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33875 wxWindow *arg2 = (wxWindow *) 0 ;
33876 PyObject * obj0 = 0 ;
33877 PyObject * obj1 = 0 ;
33878 char *kwnames[] = {
33879 (char *) "self",(char *) "window", NULL
33880 };
33881
33882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_RemoveHelp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
33883 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33884 if (SWIG_arg_fail(1)) SWIG_fail;
33885 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33886 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
33887 {
33888 PyThreadState* __tstate = wxPyBeginAllowThreads();
33889 (arg1)->RemoveHelp(arg2);
33890
33891 wxPyEndAllowThreads(__tstate);
33892 if (PyErr_Occurred()) SWIG_fail;
33893 }
33894 Py_INCREF(Py_None); resultobj = Py_None;
33895 return resultobj;
33896 fail:
33897 return NULL;
33898}
33899
33900
c32bde28 33901static PyObject *_wrap_HelpProvider_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33902 PyObject *resultobj;
33903 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33904 PyObject * obj0 = 0 ;
33905 char *kwnames[] = {
33906 (char *) "self", NULL
33907 };
33908
33909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
093d3ff1
RD
33910 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33911 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33912 {
33913 PyThreadState* __tstate = wxPyBeginAllowThreads();
33914 wxHelpProvider_Destroy(arg1);
33915
33916 wxPyEndAllowThreads(__tstate);
33917 if (PyErr_Occurred()) SWIG_fail;
33918 }
33919 Py_INCREF(Py_None); resultobj = Py_None;
33920 return resultobj;
33921 fail:
33922 return NULL;
33923}
33924
33925
c32bde28 33926static PyObject * HelpProvider_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
33927 PyObject *obj;
33928 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33929 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
33930 Py_INCREF(obj);
33931 return Py_BuildValue((char *)"");
33932}
c32bde28 33933static PyObject *_wrap_new_SimpleHelpProvider(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33934 PyObject *resultobj;
33935 wxSimpleHelpProvider *result;
33936 char *kwnames[] = {
33937 NULL
33938 };
33939
33940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
33941 {
33942 PyThreadState* __tstate = wxPyBeginAllowThreads();
33943 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
33944
33945 wxPyEndAllowThreads(__tstate);
33946 if (PyErr_Occurred()) SWIG_fail;
33947 }
33948 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSimpleHelpProvider, 1);
33949 return resultobj;
33950 fail:
33951 return NULL;
33952}
33953
33954
c32bde28 33955static PyObject * SimpleHelpProvider_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
33956 PyObject *obj;
33957 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33958 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
33959 Py_INCREF(obj);
33960 return Py_BuildValue((char *)"");
33961}
c32bde28 33962static PyObject *_wrap_new_DragImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33963 PyObject *resultobj;
33964 wxBitmap *arg1 = 0 ;
33965 wxCursor const &arg2_defvalue = wxNullCursor ;
33966 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
33967 wxGenericDragImage *result;
33968 PyObject * obj0 = 0 ;
33969 PyObject * obj1 = 0 ;
33970 char *kwnames[] = {
33971 (char *) "image",(char *) "cursor", NULL
33972 };
33973
33974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
33975 {
33976 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
33977 if (SWIG_arg_fail(1)) SWIG_fail;
33978 if (arg1 == NULL) {
33979 SWIG_null_ref("wxBitmap");
33980 }
33981 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33982 }
33983 if (obj1) {
093d3ff1
RD
33984 {
33985 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
33986 if (SWIG_arg_fail(2)) SWIG_fail;
33987 if (arg2 == NULL) {
33988 SWIG_null_ref("wxCursor");
33989 }
33990 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
33991 }
33992 }
33993 {
0439c23b 33994 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
33995 PyThreadState* __tstate = wxPyBeginAllowThreads();
33996 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
33997
33998 wxPyEndAllowThreads(__tstate);
110da5b0 33999 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
34000 }
34001 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
34002 return resultobj;
34003 fail:
34004 return NULL;
34005}
34006
34007
c32bde28 34008static PyObject *_wrap_new_DragIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34009 PyObject *resultobj;
34010 wxIcon *arg1 = 0 ;
34011 wxCursor const &arg2_defvalue = wxNullCursor ;
34012 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
34013 wxGenericDragImage *result;
34014 PyObject * obj0 = 0 ;
34015 PyObject * obj1 = 0 ;
34016 char *kwnames[] = {
34017 (char *) "image",(char *) "cursor", NULL
34018 };
34019
34020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
34021 {
34022 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
34023 if (SWIG_arg_fail(1)) SWIG_fail;
34024 if (arg1 == NULL) {
34025 SWIG_null_ref("wxIcon");
34026 }
34027 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34028 }
34029 if (obj1) {
093d3ff1
RD
34030 {
34031 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
34032 if (SWIG_arg_fail(2)) SWIG_fail;
34033 if (arg2 == NULL) {
34034 SWIG_null_ref("wxCursor");
34035 }
34036 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
34037 }
34038 }
34039 {
0439c23b 34040 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
34041 PyThreadState* __tstate = wxPyBeginAllowThreads();
34042 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
34043
34044 wxPyEndAllowThreads(__tstate);
110da5b0 34045 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
34046 }
34047 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
34048 return resultobj;
34049 fail:
34050 return NULL;
34051}
34052
34053
c32bde28 34054static PyObject *_wrap_new_DragString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34055 PyObject *resultobj;
34056 wxString *arg1 = 0 ;
34057 wxCursor const &arg2_defvalue = wxNullCursor ;
34058 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
34059 wxGenericDragImage *result;
ae8162c8 34060 bool temp1 = false ;
d55e5bfc
RD
34061 PyObject * obj0 = 0 ;
34062 PyObject * obj1 = 0 ;
34063 char *kwnames[] = {
34064 (char *) "str",(char *) "cursor", NULL
34065 };
34066
34067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail;
34068 {
34069 arg1 = wxString_in_helper(obj0);
34070 if (arg1 == NULL) SWIG_fail;
ae8162c8 34071 temp1 = true;
d55e5bfc
RD
34072 }
34073 if (obj1) {
093d3ff1
RD
34074 {
34075 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
34076 if (SWIG_arg_fail(2)) SWIG_fail;
34077 if (arg2 == NULL) {
34078 SWIG_null_ref("wxCursor");
34079 }
34080 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
34081 }
34082 }
34083 {
0439c23b 34084 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
34085 PyThreadState* __tstate = wxPyBeginAllowThreads();
34086 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
34087
34088 wxPyEndAllowThreads(__tstate);
110da5b0 34089 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
34090 }
34091 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
34092 {
34093 if (temp1)
34094 delete arg1;
34095 }
34096 return resultobj;
34097 fail:
34098 {
34099 if (temp1)
34100 delete arg1;
34101 }
34102 return NULL;
34103}
34104
34105
c32bde28 34106static PyObject *_wrap_new_DragTreeItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34107 PyObject *resultobj;
34108 wxPyTreeCtrl *arg1 = 0 ;
34109 wxTreeItemId *arg2 = 0 ;
34110 wxGenericDragImage *result;
34111 PyObject * obj0 = 0 ;
34112 PyObject * obj1 = 0 ;
34113 char *kwnames[] = {
34114 (char *) "treeCtrl",(char *) "id", NULL
34115 };
34116
34117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
34118 {
34119 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
34120 if (SWIG_arg_fail(1)) SWIG_fail;
34121 if (arg1 == NULL) {
34122 SWIG_null_ref("wxPyTreeCtrl");
34123 }
34124 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 34125 }
093d3ff1
RD
34126 {
34127 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
34128 if (SWIG_arg_fail(2)) SWIG_fail;
34129 if (arg2 == NULL) {
34130 SWIG_null_ref("wxTreeItemId");
34131 }
34132 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
34133 }
34134 {
0439c23b 34135 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
34136 PyThreadState* __tstate = wxPyBeginAllowThreads();
34137 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
34138
34139 wxPyEndAllowThreads(__tstate);
110da5b0 34140 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
34141 }
34142 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
34143 return resultobj;
34144 fail:
34145 return NULL;
34146}
34147
34148
c32bde28 34149static PyObject *_wrap_new_DragListItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34150 PyObject *resultobj;
34151 wxPyListCtrl *arg1 = 0 ;
34152 long arg2 ;
34153 wxGenericDragImage *result;
34154 PyObject * obj0 = 0 ;
34155 PyObject * obj1 = 0 ;
34156 char *kwnames[] = {
34157 (char *) "listCtrl",(char *) "id", NULL
34158 };
34159
34160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragListItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
34161 {
34162 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
34163 if (SWIG_arg_fail(1)) SWIG_fail;
34164 if (arg1 == NULL) {
34165 SWIG_null_ref("wxPyListCtrl");
34166 }
34167 if (SWIG_arg_fail(1)) SWIG_fail;
34168 }
34169 {
34170 arg2 = (long)(SWIG_As_long(obj1));
34171 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 34172 }
d55e5bfc 34173 {
0439c23b 34174 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
34175 PyThreadState* __tstate = wxPyBeginAllowThreads();
34176 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
34177
34178 wxPyEndAllowThreads(__tstate);
110da5b0 34179 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
34180 }
34181 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
34182 return resultobj;
34183 fail:
34184 return NULL;
34185}
34186
34187
c32bde28 34188static PyObject *_wrap_delete_DragImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34189 PyObject *resultobj;
34190 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34191 PyObject * obj0 = 0 ;
34192 char *kwnames[] = {
34193 (char *) "self", NULL
34194 };
34195
34196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail;
093d3ff1
RD
34197 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34198 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34199 {
34200 PyThreadState* __tstate = wxPyBeginAllowThreads();
34201 delete arg1;
34202
34203 wxPyEndAllowThreads(__tstate);
34204 if (PyErr_Occurred()) SWIG_fail;
34205 }
34206 Py_INCREF(Py_None); resultobj = Py_None;
34207 return resultobj;
34208 fail:
34209 return NULL;
34210}
34211
34212
c32bde28 34213static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34214 PyObject *resultobj;
34215 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34216 wxBitmap *arg2 = (wxBitmap *) 0 ;
34217 PyObject * obj0 = 0 ;
34218 PyObject * obj1 = 0 ;
34219 char *kwnames[] = {
34220 (char *) "self",(char *) "bitmap", NULL
34221 };
34222
34223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
34224 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34225 if (SWIG_arg_fail(1)) SWIG_fail;
34226 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
34227 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
34228 {
34229 PyThreadState* __tstate = wxPyBeginAllowThreads();
34230 (arg1)->SetBackingBitmap(arg2);
34231
34232 wxPyEndAllowThreads(__tstate);
34233 if (PyErr_Occurred()) SWIG_fail;
34234 }
34235 Py_INCREF(Py_None); resultobj = Py_None;
34236 return resultobj;
34237 fail:
34238 return NULL;
34239}
34240
34241
c32bde28 34242static PyObject *_wrap_DragImage_BeginDrag(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34243 PyObject *resultobj;
34244 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34245 wxPoint *arg2 = 0 ;
34246 wxWindow *arg3 = (wxWindow *) 0 ;
ae8162c8 34247 bool arg4 = (bool) false ;
d55e5bfc
RD
34248 wxRect *arg5 = (wxRect *) NULL ;
34249 bool result;
34250 wxPoint temp2 ;
34251 PyObject * obj0 = 0 ;
34252 PyObject * obj1 = 0 ;
34253 PyObject * obj2 = 0 ;
34254 PyObject * obj3 = 0 ;
34255 PyObject * obj4 = 0 ;
34256 char *kwnames[] = {
34257 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
34258 };
34259
34260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
34261 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34262 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34263 {
34264 arg2 = &temp2;
34265 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34266 }
093d3ff1
RD
34267 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34268 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc 34269 if (obj3) {
093d3ff1
RD
34270 {
34271 arg4 = (bool)(SWIG_As_bool(obj3));
34272 if (SWIG_arg_fail(4)) SWIG_fail;
34273 }
d55e5bfc
RD
34274 }
34275 if (obj4) {
093d3ff1
RD
34276 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
34277 if (SWIG_arg_fail(5)) SWIG_fail;
d55e5bfc
RD
34278 }
34279 {
34280 PyThreadState* __tstate = wxPyBeginAllowThreads();
34281 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
34282
34283 wxPyEndAllowThreads(__tstate);
34284 if (PyErr_Occurred()) SWIG_fail;
34285 }
34286 {
34287 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34288 }
34289 return resultobj;
34290 fail:
34291 return NULL;
34292}
34293
34294
c32bde28 34295static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34296 PyObject *resultobj;
34297 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34298 wxPoint *arg2 = 0 ;
34299 wxWindow *arg3 = (wxWindow *) 0 ;
34300 wxWindow *arg4 = (wxWindow *) 0 ;
34301 bool result;
34302 wxPoint temp2 ;
34303 PyObject * obj0 = 0 ;
34304 PyObject * obj1 = 0 ;
34305 PyObject * obj2 = 0 ;
34306 PyObject * obj3 = 0 ;
34307 char *kwnames[] = {
34308 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
34309 };
34310
34311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
34312 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34313 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34314 {
34315 arg2 = &temp2;
34316 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34317 }
093d3ff1
RD
34318 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34319 if (SWIG_arg_fail(3)) SWIG_fail;
34320 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34321 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc
RD
34322 {
34323 PyThreadState* __tstate = wxPyBeginAllowThreads();
34324 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
34325
34326 wxPyEndAllowThreads(__tstate);
34327 if (PyErr_Occurred()) SWIG_fail;
34328 }
34329 {
34330 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34331 }
34332 return resultobj;
34333 fail:
34334 return NULL;
34335}
34336
34337
c32bde28 34338static PyObject *_wrap_DragImage_EndDrag(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34339 PyObject *resultobj;
34340 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34341 bool result;
34342 PyObject * obj0 = 0 ;
34343 char *kwnames[] = {
34344 (char *) "self", NULL
34345 };
34346
34347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail;
093d3ff1
RD
34348 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34349 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34350 {
34351 PyThreadState* __tstate = wxPyBeginAllowThreads();
34352 result = (bool)(arg1)->EndDrag();
34353
34354 wxPyEndAllowThreads(__tstate);
34355 if (PyErr_Occurred()) SWIG_fail;
34356 }
34357 {
34358 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34359 }
34360 return resultobj;
34361 fail:
34362 return NULL;
34363}
34364
34365
c32bde28 34366static PyObject *_wrap_DragImage_Move(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34367 PyObject *resultobj;
34368 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34369 wxPoint *arg2 = 0 ;
34370 bool result;
34371 wxPoint temp2 ;
34372 PyObject * obj0 = 0 ;
34373 PyObject * obj1 = 0 ;
34374 char *kwnames[] = {
34375 (char *) "self",(char *) "pt", NULL
34376 };
34377
34378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
34379 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34380 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34381 {
34382 arg2 = &temp2;
34383 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34384 }
34385 {
34386 PyThreadState* __tstate = wxPyBeginAllowThreads();
34387 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
34388
34389 wxPyEndAllowThreads(__tstate);
34390 if (PyErr_Occurred()) SWIG_fail;
34391 }
34392 {
34393 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34394 }
34395 return resultobj;
34396 fail:
34397 return NULL;
34398}
34399
34400
c32bde28 34401static PyObject *_wrap_DragImage_Show(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34402 PyObject *resultobj;
34403 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34404 bool result;
34405 PyObject * obj0 = 0 ;
34406 char *kwnames[] = {
34407 (char *) "self", NULL
34408 };
34409
34410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail;
093d3ff1
RD
34411 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34412 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34413 {
34414 PyThreadState* __tstate = wxPyBeginAllowThreads();
34415 result = (bool)(arg1)->Show();
34416
34417 wxPyEndAllowThreads(__tstate);
34418 if (PyErr_Occurred()) SWIG_fail;
34419 }
34420 {
34421 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34422 }
34423 return resultobj;
34424 fail:
34425 return NULL;
34426}
34427
34428
c32bde28 34429static PyObject *_wrap_DragImage_Hide(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34430 PyObject *resultobj;
34431 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34432 bool result;
34433 PyObject * obj0 = 0 ;
34434 char *kwnames[] = {
34435 (char *) "self", NULL
34436 };
34437
34438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail;
093d3ff1
RD
34439 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34440 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34441 {
34442 PyThreadState* __tstate = wxPyBeginAllowThreads();
34443 result = (bool)(arg1)->Hide();
34444
34445 wxPyEndAllowThreads(__tstate);
34446 if (PyErr_Occurred()) SWIG_fail;
34447 }
34448 {
34449 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34450 }
34451 return resultobj;
34452 fail:
34453 return NULL;
34454}
34455
34456
c32bde28 34457static PyObject *_wrap_DragImage_GetImageRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34458 PyObject *resultobj;
34459 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34460 wxPoint *arg2 = 0 ;
34461 wxRect result;
34462 wxPoint temp2 ;
34463 PyObject * obj0 = 0 ;
34464 PyObject * obj1 = 0 ;
34465 char *kwnames[] = {
34466 (char *) "self",(char *) "pos", NULL
34467 };
34468
34469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
34470 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34471 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34472 {
34473 arg2 = &temp2;
34474 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34475 }
34476 {
34477 PyThreadState* __tstate = wxPyBeginAllowThreads();
34478 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
34479
34480 wxPyEndAllowThreads(__tstate);
34481 if (PyErr_Occurred()) SWIG_fail;
34482 }
34483 {
34484 wxRect * resultptr;
093d3ff1 34485 resultptr = new wxRect((wxRect &)(result));
d55e5bfc
RD
34486 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
34487 }
34488 return resultobj;
34489 fail:
34490 return NULL;
34491}
34492
34493
c32bde28 34494static PyObject *_wrap_DragImage_DoDrawImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34495 PyObject *resultobj;
34496 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34497 wxDC *arg2 = 0 ;
34498 wxPoint *arg3 = 0 ;
34499 bool result;
34500 wxPoint temp3 ;
34501 PyObject * obj0 = 0 ;
34502 PyObject * obj1 = 0 ;
34503 PyObject * obj2 = 0 ;
34504 char *kwnames[] = {
34505 (char *) "self",(char *) "dc",(char *) "pos", NULL
34506 };
34507
34508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
34509 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34510 if (SWIG_arg_fail(1)) SWIG_fail;
34511 {
34512 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
34513 if (SWIG_arg_fail(2)) SWIG_fail;
34514 if (arg2 == NULL) {
34515 SWIG_null_ref("wxDC");
34516 }
34517 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
34518 }
34519 {
34520 arg3 = &temp3;
34521 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
34522 }
34523 {
34524 PyThreadState* __tstate = wxPyBeginAllowThreads();
34525 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
34526
34527 wxPyEndAllowThreads(__tstate);
34528 if (PyErr_Occurred()) SWIG_fail;
34529 }
34530 {
34531 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34532 }
34533 return resultobj;
34534 fail:
34535 return NULL;
34536}
34537
34538
c32bde28 34539static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34540 PyObject *resultobj;
34541 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34542 wxDC *arg2 = 0 ;
34543 wxMemoryDC *arg3 = 0 ;
34544 wxRect *arg4 = 0 ;
34545 wxRect *arg5 = 0 ;
34546 bool result;
34547 wxRect temp4 ;
34548 wxRect temp5 ;
34549 PyObject * obj0 = 0 ;
34550 PyObject * obj1 = 0 ;
34551 PyObject * obj2 = 0 ;
34552 PyObject * obj3 = 0 ;
34553 PyObject * obj4 = 0 ;
34554 char *kwnames[] = {
34555 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
34556 };
34557
34558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
34559 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34560 if (SWIG_arg_fail(1)) SWIG_fail;
34561 {
34562 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
34563 if (SWIG_arg_fail(2)) SWIG_fail;
34564 if (arg2 == NULL) {
34565 SWIG_null_ref("wxDC");
34566 }
34567 if (SWIG_arg_fail(2)) SWIG_fail;
34568 }
34569 {
34570 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxMemoryDC, SWIG_POINTER_EXCEPTION | 0);
34571 if (SWIG_arg_fail(3)) SWIG_fail;
34572 if (arg3 == NULL) {
34573 SWIG_null_ref("wxMemoryDC");
34574 }
34575 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
34576 }
34577 {
34578 arg4 = &temp4;
34579 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
34580 }
34581 {
34582 arg5 = &temp5;
34583 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
34584 }
34585 {
34586 PyThreadState* __tstate = wxPyBeginAllowThreads();
34587 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
34588
34589 wxPyEndAllowThreads(__tstate);
34590 if (PyErr_Occurred()) SWIG_fail;
34591 }
34592 {
34593 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34594 }
34595 return resultobj;
34596 fail:
34597 return NULL;
34598}
34599
34600
c32bde28 34601static PyObject *_wrap_DragImage_RedrawImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34602 PyObject *resultobj;
34603 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34604 wxPoint *arg2 = 0 ;
34605 wxPoint *arg3 = 0 ;
34606 bool arg4 ;
34607 bool arg5 ;
34608 bool result;
34609 wxPoint temp2 ;
34610 wxPoint temp3 ;
34611 PyObject * obj0 = 0 ;
34612 PyObject * obj1 = 0 ;
34613 PyObject * obj2 = 0 ;
34614 PyObject * obj3 = 0 ;
34615 PyObject * obj4 = 0 ;
34616 char *kwnames[] = {
34617 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
34618 };
34619
34620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
34621 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34622 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34623 {
34624 arg2 = &temp2;
34625 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34626 }
34627 {
34628 arg3 = &temp3;
34629 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
34630 }
093d3ff1
RD
34631 {
34632 arg4 = (bool)(SWIG_As_bool(obj3));
34633 if (SWIG_arg_fail(4)) SWIG_fail;
34634 }
34635 {
34636 arg5 = (bool)(SWIG_As_bool(obj4));
34637 if (SWIG_arg_fail(5)) SWIG_fail;
34638 }
d55e5bfc
RD
34639 {
34640 PyThreadState* __tstate = wxPyBeginAllowThreads();
34641 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
34642
34643 wxPyEndAllowThreads(__tstate);
34644 if (PyErr_Occurred()) SWIG_fail;
34645 }
34646 {
34647 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34648 }
34649 return resultobj;
34650 fail:
34651 return NULL;
34652}
34653
34654
c32bde28 34655static PyObject * DragImage_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
34656 PyObject *obj;
34657 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34658 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj);
34659 Py_INCREF(obj);
34660 return Py_BuildValue((char *)"");
34661}
53aa7709
RD
34662static int _wrap_DatePickerCtrlNameStr_set(PyObject *) {
34663 PyErr_SetString(PyExc_TypeError,"Variable DatePickerCtrlNameStr is read-only.");
34664 return 1;
34665}
34666
34667
34668static PyObject *_wrap_DatePickerCtrlNameStr_get(void) {
34669 PyObject *pyobj;
34670
34671 {
34672#if wxUSE_UNICODE
34673 pyobj = PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr)->c_str(), (&wxPyDatePickerCtrlNameStr)->Len());
34674#else
34675 pyobj = PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr)->c_str(), (&wxPyDatePickerCtrlNameStr)->Len());
34676#endif
34677 }
34678 return pyobj;
34679}
34680
34681
34682static PyObject *_wrap_new_DatePickerCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
34683 PyObject *resultobj;
34684 wxWindow *arg1 = (wxWindow *) 0 ;
34685 int arg2 = (int) -1 ;
34686 wxDateTime const &arg3_defvalue = wxDefaultDateTime ;
34687 wxDateTime *arg3 = (wxDateTime *) &arg3_defvalue ;
34688 wxPoint const &arg4_defvalue = wxDefaultPosition ;
34689 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
34690 wxSize const &arg5_defvalue = wxDefaultSize ;
34691 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
34692 long arg6 = (long) wxDP_DEFAULT|wxDP_SHOWCENTURY ;
34693 wxValidator const &arg7_defvalue = wxDefaultValidator ;
34694 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
34695 wxString const &arg8_defvalue = wxPyDatePickerCtrlNameStr ;
34696 wxString *arg8 = (wxString *) &arg8_defvalue ;
34697 wxDatePickerCtrl *result;
34698 wxPoint temp4 ;
34699 wxSize temp5 ;
34700 bool temp8 = false ;
34701 PyObject * obj0 = 0 ;
34702 PyObject * obj1 = 0 ;
34703 PyObject * obj2 = 0 ;
34704 PyObject * obj3 = 0 ;
34705 PyObject * obj4 = 0 ;
34706 PyObject * obj5 = 0 ;
34707 PyObject * obj6 = 0 ;
34708 PyObject * obj7 = 0 ;
34709 char *kwnames[] = {
34710 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34711 };
34712
34713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
34714 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34715 if (SWIG_arg_fail(1)) SWIG_fail;
34716 if (obj1) {
34717 {
34718 arg2 = (int)(SWIG_As_int(obj1));
34719 if (SWIG_arg_fail(2)) SWIG_fail;
34720 }
34721 }
34722 if (obj2) {
34723 {
34724 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
34725 if (SWIG_arg_fail(3)) SWIG_fail;
34726 if (arg3 == NULL) {
34727 SWIG_null_ref("wxDateTime");
34728 }
34729 if (SWIG_arg_fail(3)) SWIG_fail;
34730 }
34731 }
34732 if (obj3) {
34733 {
34734 arg4 = &temp4;
34735 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
34736 }
34737 }
34738 if (obj4) {
34739 {
34740 arg5 = &temp5;
34741 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
34742 }
34743 }
34744 if (obj5) {
34745 {
34746 arg6 = (long)(SWIG_As_long(obj5));
34747 if (SWIG_arg_fail(6)) SWIG_fail;
34748 }
34749 }
34750 if (obj6) {
34751 {
34752 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
34753 if (SWIG_arg_fail(7)) SWIG_fail;
34754 if (arg7 == NULL) {
34755 SWIG_null_ref("wxValidator");
34756 }
34757 if (SWIG_arg_fail(7)) SWIG_fail;
34758 }
34759 }
34760 if (obj7) {
34761 {
34762 arg8 = wxString_in_helper(obj7);
34763 if (arg8 == NULL) SWIG_fail;
34764 temp8 = true;
34765 }
34766 }
34767 {
34768 if (!wxPyCheckForApp()) SWIG_fail;
34769 PyThreadState* __tstate = wxPyBeginAllowThreads();
34770 result = (wxDatePickerCtrl *)new wxDatePickerCtrl(arg1,arg2,(wxDateTime const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
34771
34772 wxPyEndAllowThreads(__tstate);
34773 if (PyErr_Occurred()) SWIG_fail;
34774 }
34775 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDatePickerCtrl, 1);
34776 {
34777 if (temp8)
34778 delete arg8;
34779 }
34780 return resultobj;
34781 fail:
34782 {
34783 if (temp8)
34784 delete arg8;
34785 }
34786 return NULL;
34787}
34788
34789
34790static PyObject *_wrap_new_PreDatePickerCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
34791 PyObject *resultobj;
34792 wxDatePickerCtrl *result;
34793 char *kwnames[] = {
34794 NULL
34795 };
34796
34797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDatePickerCtrl",kwnames)) goto fail;
34798 {
34799 if (!wxPyCheckForApp()) SWIG_fail;
34800 PyThreadState* __tstate = wxPyBeginAllowThreads();
34801 result = (wxDatePickerCtrl *)new wxDatePickerCtrl();
34802
34803 wxPyEndAllowThreads(__tstate);
34804 if (PyErr_Occurred()) SWIG_fail;
34805 }
34806 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDatePickerCtrl, 1);
34807 return resultobj;
34808 fail:
34809 return NULL;
34810}
34811
34812
34813static PyObject *_wrap_DatePickerCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
34814 PyObject *resultobj;
34815 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
34816 wxWindow *arg2 = (wxWindow *) 0 ;
34817 int arg3 = (int) -1 ;
34818 wxDateTime const &arg4_defvalue = wxDefaultDateTime ;
34819 wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ;
34820 wxPoint const &arg5_defvalue = wxDefaultPosition ;
34821 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
34822 wxSize const &arg6_defvalue = wxDefaultSize ;
34823 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
34824 long arg7 = (long) wxDP_DEFAULT|wxDP_SHOWCENTURY ;
34825 wxValidator const &arg8_defvalue = wxDefaultValidator ;
34826 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
34827 wxString const &arg9_defvalue = wxPyDatePickerCtrlNameStr ;
34828 wxString *arg9 = (wxString *) &arg9_defvalue ;
34829 bool result;
34830 wxPoint temp5 ;
34831 wxSize temp6 ;
34832 bool temp9 = false ;
34833 PyObject * obj0 = 0 ;
34834 PyObject * obj1 = 0 ;
34835 PyObject * obj2 = 0 ;
34836 PyObject * obj3 = 0 ;
34837 PyObject * obj4 = 0 ;
34838 PyObject * obj5 = 0 ;
34839 PyObject * obj6 = 0 ;
34840 PyObject * obj7 = 0 ;
34841 PyObject * obj8 = 0 ;
34842 char *kwnames[] = {
34843 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34844 };
34845
34846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
34847 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
34848 if (SWIG_arg_fail(1)) SWIG_fail;
34849 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34850 if (SWIG_arg_fail(2)) SWIG_fail;
34851 if (obj2) {
34852 {
34853 arg3 = (int)(SWIG_As_int(obj2));
34854 if (SWIG_arg_fail(3)) SWIG_fail;
34855 }
34856 }
34857 if (obj3) {
34858 {
34859 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
34860 if (SWIG_arg_fail(4)) SWIG_fail;
34861 if (arg4 == NULL) {
34862 SWIG_null_ref("wxDateTime");
34863 }
34864 if (SWIG_arg_fail(4)) SWIG_fail;
34865 }
34866 }
34867 if (obj4) {
34868 {
34869 arg5 = &temp5;
34870 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
34871 }
34872 }
34873 if (obj5) {
34874 {
34875 arg6 = &temp6;
34876 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
34877 }
34878 }
34879 if (obj6) {
34880 {
34881 arg7 = (long)(SWIG_As_long(obj6));
34882 if (SWIG_arg_fail(7)) SWIG_fail;
34883 }
34884 }
34885 if (obj7) {
34886 {
34887 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
34888 if (SWIG_arg_fail(8)) SWIG_fail;
34889 if (arg8 == NULL) {
34890 SWIG_null_ref("wxValidator");
34891 }
34892 if (SWIG_arg_fail(8)) SWIG_fail;
34893 }
34894 }
34895 if (obj8) {
34896 {
34897 arg9 = wxString_in_helper(obj8);
34898 if (arg9 == NULL) SWIG_fail;
34899 temp9 = true;
34900 }
34901 }
34902 {
34903 PyThreadState* __tstate = wxPyBeginAllowThreads();
34904 result = (bool)(arg1)->Create(arg2,arg3,(wxDateTime const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
34905
34906 wxPyEndAllowThreads(__tstate);
34907 if (PyErr_Occurred()) SWIG_fail;
34908 }
34909 {
34910 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34911 }
34912 {
34913 if (temp9)
34914 delete arg9;
34915 }
34916 return resultobj;
34917 fail:
34918 {
34919 if (temp9)
34920 delete arg9;
34921 }
34922 return NULL;
34923}
34924
34925
34926static PyObject *_wrap_DatePickerCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
34927 PyObject *resultobj;
34928 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
34929 wxDateTime *arg2 = 0 ;
34930 PyObject * obj0 = 0 ;
34931 PyObject * obj1 = 0 ;
34932 char *kwnames[] = {
34933 (char *) "self",(char *) "dt", NULL
34934 };
34935
34936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DatePickerCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
34937 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
34938 if (SWIG_arg_fail(1)) SWIG_fail;
34939 {
34940 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
34941 if (SWIG_arg_fail(2)) SWIG_fail;
34942 if (arg2 == NULL) {
34943 SWIG_null_ref("wxDateTime");
34944 }
34945 if (SWIG_arg_fail(2)) SWIG_fail;
34946 }
34947 {
34948 PyThreadState* __tstate = wxPyBeginAllowThreads();
34949 (arg1)->SetValue((wxDateTime const &)*arg2);
34950
34951 wxPyEndAllowThreads(__tstate);
34952 if (PyErr_Occurred()) SWIG_fail;
34953 }
34954 Py_INCREF(Py_None); resultobj = Py_None;
34955 return resultobj;
34956 fail:
34957 return NULL;
34958}
34959
34960
34961static PyObject *_wrap_DatePickerCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
34962 PyObject *resultobj;
34963 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
34964 wxDateTime result;
34965 PyObject * obj0 = 0 ;
34966 char *kwnames[] = {
34967 (char *) "self", NULL
34968 };
34969
34970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DatePickerCtrl_GetValue",kwnames,&obj0)) goto fail;
34971 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
34972 if (SWIG_arg_fail(1)) SWIG_fail;
34973 {
34974 PyThreadState* __tstate = wxPyBeginAllowThreads();
34975 result = ((wxDatePickerCtrl const *)arg1)->GetValue();
34976
34977 wxPyEndAllowThreads(__tstate);
34978 if (PyErr_Occurred()) SWIG_fail;
34979 }
34980 {
34981 wxDateTime * resultptr;
34982 resultptr = new wxDateTime((wxDateTime &)(result));
34983 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
34984 }
34985 return resultobj;
34986 fail:
34987 return NULL;
34988}
34989
34990
34991static PyObject *_wrap_DatePickerCtrl_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
34992 PyObject *resultobj;
34993 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
34994 wxDateTime *arg2 = 0 ;
34995 wxDateTime *arg3 = 0 ;
34996 PyObject * obj0 = 0 ;
34997 PyObject * obj1 = 0 ;
34998 PyObject * obj2 = 0 ;
34999 char *kwnames[] = {
35000 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
35001 };
35002
35003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DatePickerCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
35004 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
35005 if (SWIG_arg_fail(1)) SWIG_fail;
35006 {
35007 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
35008 if (SWIG_arg_fail(2)) SWIG_fail;
35009 if (arg2 == NULL) {
35010 SWIG_null_ref("wxDateTime");
35011 }
35012 if (SWIG_arg_fail(2)) SWIG_fail;
35013 }
35014 {
35015 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
35016 if (SWIG_arg_fail(3)) SWIG_fail;
35017 if (arg3 == NULL) {
35018 SWIG_null_ref("wxDateTime");
35019 }
35020 if (SWIG_arg_fail(3)) SWIG_fail;
35021 }
35022 {
35023 PyThreadState* __tstate = wxPyBeginAllowThreads();
35024 (arg1)->SetRange((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
35025
35026 wxPyEndAllowThreads(__tstate);
35027 if (PyErr_Occurred()) SWIG_fail;
35028 }
35029 Py_INCREF(Py_None); resultobj = Py_None;
35030 return resultobj;
35031 fail:
35032 return NULL;
35033}
35034
35035
35036static PyObject *_wrap_DatePickerCtrl_GetLowerLimit(PyObject *, PyObject *args, PyObject *kwargs) {
35037 PyObject *resultobj;
35038 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
35039 wxDateTime result;
35040 PyObject * obj0 = 0 ;
35041 char *kwnames[] = {
35042 (char *) "self", NULL
35043 };
35044
35045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DatePickerCtrl_GetLowerLimit",kwnames,&obj0)) goto fail;
35046 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
35047 if (SWIG_arg_fail(1)) SWIG_fail;
35048 {
35049 PyThreadState* __tstate = wxPyBeginAllowThreads();
35050 result = wxDatePickerCtrl_GetLowerLimit(arg1);
35051
35052 wxPyEndAllowThreads(__tstate);
35053 if (PyErr_Occurred()) SWIG_fail;
35054 }
35055 {
35056 wxDateTime * resultptr;
35057 resultptr = new wxDateTime((wxDateTime &)(result));
35058 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
35059 }
35060 return resultobj;
35061 fail:
35062 return NULL;
35063}
35064
35065
35066static PyObject *_wrap_DatePickerCtrl_GetUpperLimit(PyObject *, PyObject *args, PyObject *kwargs) {
35067 PyObject *resultobj;
35068 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
35069 wxDateTime result;
35070 PyObject * obj0 = 0 ;
35071 char *kwnames[] = {
35072 (char *) "self", NULL
35073 };
35074
35075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DatePickerCtrl_GetUpperLimit",kwnames,&obj0)) goto fail;
35076 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
35077 if (SWIG_arg_fail(1)) SWIG_fail;
35078 {
35079 PyThreadState* __tstate = wxPyBeginAllowThreads();
35080 result = wxDatePickerCtrl_GetUpperLimit(arg1);
35081
35082 wxPyEndAllowThreads(__tstate);
35083 if (PyErr_Occurred()) SWIG_fail;
35084 }
35085 {
35086 wxDateTime * resultptr;
35087 resultptr = new wxDateTime((wxDateTime &)(result));
35088 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
35089 }
35090 return resultobj;
35091 fail:
35092 return NULL;
35093}
35094
35095
35096static PyObject * DatePickerCtrl_swigregister(PyObject *, PyObject *args) {
35097 PyObject *obj;
35098 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
35099 SWIG_TypeClientData(SWIGTYPE_p_wxDatePickerCtrl, obj);
35100 Py_INCREF(obj);
35101 return Py_BuildValue((char *)"");
35102}
d55e5bfc 35103static PyMethodDef SwigMethods[] = {
093d3ff1
RD
35104 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS, NULL},
35105 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS, NULL},
35106 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35107 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS, NULL},
35108 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
35109 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction) _wrap_Button_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35110 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS, NULL},
35111 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS, NULL},
35112 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS, NULL},
35113 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35114 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35115 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL},
35116 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL},
35117 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35118 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL},
35119 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL},
35120 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35121 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35122 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
35123 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS, NULL},
35124 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS, NULL},
35125 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS, NULL},
35126 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS, NULL},
35127 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS, NULL},
35128 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35129 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35130 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL},
35131 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35132 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS, NULL},
35133 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS, NULL},
35134 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS, NULL},
35135 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS, NULL},
35136 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction) _wrap_CheckBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35137 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS, NULL},
35138 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS, NULL},
35139 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS, NULL},
35140 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
35141 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction) _wrap_Choice_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35142 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS, NULL},
35143 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS, NULL},
35144 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS, NULL},
35145 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35146 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35147 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35148 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
35149 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS, NULL},
35150 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS, NULL},
35151 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35152 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35153 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35154 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
35155 { (char *)"ComboBox_SetSelection", (PyCFunction) _wrap_ComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35156 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS, NULL},
35157 { (char *)"ComboBox_GetMark", (PyCFunction) _wrap_ComboBox_GetMark, METH_VARARGS | METH_KEYWORDS, NULL},
35158 { (char *)"ComboBox_SetStringSelection", (PyCFunction) _wrap_ComboBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35159 { (char *)"ComboBox_SetString", (PyCFunction) _wrap_ComboBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
35160 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
35161 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS, NULL},
35162 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
35163 { (char *)"ComboBox_IsEditable", (PyCFunction) _wrap_ComboBox_IsEditable, METH_VARARGS | METH_KEYWORDS, NULL},
35164 { (char *)"ComboBox_Undo", (PyCFunction) _wrap_ComboBox_Undo, METH_VARARGS | METH_KEYWORDS, NULL},
35165 { (char *)"ComboBox_Redo", (PyCFunction) _wrap_ComboBox_Redo, METH_VARARGS | METH_KEYWORDS, NULL},
35166 { (char *)"ComboBox_SelectAll", (PyCFunction) _wrap_ComboBox_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
35167 { (char *)"ComboBox_CanCopy", (PyCFunction) _wrap_ComboBox_CanCopy, METH_VARARGS | METH_KEYWORDS, NULL},
35168 { (char *)"ComboBox_CanCut", (PyCFunction) _wrap_ComboBox_CanCut, METH_VARARGS | METH_KEYWORDS, NULL},
35169 { (char *)"ComboBox_CanPaste", (PyCFunction) _wrap_ComboBox_CanPaste, METH_VARARGS | METH_KEYWORDS, NULL},
35170 { (char *)"ComboBox_CanUndo", (PyCFunction) _wrap_ComboBox_CanUndo, METH_VARARGS | METH_KEYWORDS, NULL},
35171 { (char *)"ComboBox_CanRedo", (PyCFunction) _wrap_ComboBox_CanRedo, METH_VARARGS | METH_KEYWORDS, NULL},
35172 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ComboBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35173 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS, NULL},
35174 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS, NULL},
35175 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS, NULL},
35176 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35177 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35178 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35179 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35180 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35181 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35182 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL},
35183 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL},
35184 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL},
35185 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL},
35186 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction) _wrap_Gauge_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35187 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS, NULL},
35188 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS, NULL},
35189 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS, NULL},
35190 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35191 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35192 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS, NULL},
35193 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS, NULL},
35194 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS, NULL},
35195 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35196 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35197 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
35198 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticLine_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35199 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS, NULL},
35200 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS, NULL},
35201 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS, NULL},
35202 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35203 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticText_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35204 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS, NULL},
35205 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35206 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35207 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35208 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35209 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35210 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
35211 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBitmap_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35212 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS, NULL},
35213 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS, NULL},
35214 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS, NULL},
35215 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35216 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS, NULL},
35217 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS, NULL},
35218 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS, NULL},
35219 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35220 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35221 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
35222 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS, NULL},
35223 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
35224 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35225 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
35226 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS, NULL},
35227 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS, NULL},
35228 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35229 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35230 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS, NULL},
35231 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction) _wrap_ListBox_SetItemForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35232 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction) _wrap_ListBox_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35233 { (char *)"ListBox_SetItemFont", (PyCFunction) _wrap_ListBox_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
35234 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ListBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35235 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS, NULL},
35236 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS, NULL},
35237 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS, NULL},
35238 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35239 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL},
35240 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS, NULL},
35241 { (char *)"CheckListBox_GetItemHeight", (PyCFunction) _wrap_CheckListBox_GetItemHeight, METH_VARARGS | METH_KEYWORDS, NULL},
35242 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
35243 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
35244 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS, NULL},
35245 { (char *)"new_TextAttr", (PyCFunction) _wrap_new_TextAttr, METH_VARARGS | METH_KEYWORDS, NULL},
35246 { (char *)"delete_TextAttr", (PyCFunction) _wrap_delete_TextAttr, METH_VARARGS | METH_KEYWORDS, NULL},
35247 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS, NULL},
35248 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35249 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35250 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35251 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
35252 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS, NULL},
35253 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35254 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35255 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
35256 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35257 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35258 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS, NULL},
35259 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
35260 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS, NULL},
35261 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35262 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35263 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL},
35264 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35265 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35266 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35267 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
35268 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS, NULL},
35269 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35270 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction) _wrap_TextAttr_GetLeftSubIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35271 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35272 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
35273 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS, NULL},
35274 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS, NULL},
35275 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS, NULL},
35276 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35277 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35278 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35279 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35280 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35281 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35282 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS, NULL},
35283 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS, NULL},
35284 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS, NULL},
35285 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS, NULL},
35286 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS, NULL},
35287 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS, NULL},
35288 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS, NULL},
35289 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35290 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35291 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
35292 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
35293 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
35294 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
35295 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL},
35296 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS, NULL},
35297 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS, NULL},
35298 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS, NULL},
35299 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS, NULL},
35300 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS, NULL},
35301 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS, NULL},
35302 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35303 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35304 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35305 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35306 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35307 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS, NULL},
35308 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35309 { (char *)"TextCtrl_HitTest", (PyCFunction) _wrap_TextCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
35310 { (char *)"TextCtrl_HitTestPos", (PyCFunction) _wrap_TextCtrl_HitTestPos, METH_VARARGS | METH_KEYWORDS, NULL},
35311 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
35312 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS, NULL},
35313 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS, NULL},
35314 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS, NULL},
35315 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS, NULL},
35316 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS, NULL},
35317 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS, NULL},
35318 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS, NULL},
35319 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS, NULL},
35320 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS, NULL},
35321 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35322 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS, NULL},
35323 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35324 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35325 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35326 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
35327 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
35328 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction) _wrap_TextCtrl_ShowNativeCaret, METH_VARARGS | METH_KEYWORDS, NULL},
35329 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction) _wrap_TextCtrl_HideNativeCaret, METH_VARARGS | METH_KEYWORDS, NULL},
35330 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS, NULL},
35331 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
35332 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TextCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35333 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS, NULL},
35334 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35335 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35336 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS, NULL},
35337 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS, NULL},
35338 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS, NULL},
35339 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
35340 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
35341 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35342 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35343 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS, NULL},
35344 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
35345 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35346 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35347 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35348 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS, NULL},
35349 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrollBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35350 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS, NULL},
35351 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS, NULL},
35352 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS, NULL},
35353 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35354 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35355 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS, NULL},
35356 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS, NULL},
35357 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35358 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS, NULL},
35359 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS, NULL},
35360 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35361 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35362 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35363 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS, NULL},
35364 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35365 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35366 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35367 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35368 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35369 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS, NULL},
35370 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35371 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS, NULL},
35372 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS, NULL},
35373 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35374 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35375 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS, NULL},
35376 { (char *)"new_SpinEvent", (PyCFunction) _wrap_new_SpinEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35377 { (char *)"SpinEvent_GetPosition", (PyCFunction) _wrap_SpinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35378 { (char *)"SpinEvent_SetPosition", (PyCFunction) _wrap_SpinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35379 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister, METH_VARARGS, NULL},
35380 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS, NULL},
35381 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS, NULL},
35382 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35383 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35384 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35385 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35386 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35387 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS, NULL},
35388 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS, NULL},
35389 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
35390 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
35391 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS, NULL},
35392 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS, NULL},
35393 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL},
35394 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS, NULL},
35395 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
35396 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35397 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS, NULL},
35398 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS, NULL},
35399 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS, NULL},
35400 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35401 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35402 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35403 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35404 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS, NULL},
35405 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS, NULL},
35406 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS, NULL},
35407 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35408 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35409 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35410 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35411 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS, NULL},
35412 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS, NULL},
35413 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS, NULL},
35414 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS, NULL},
35415 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS, NULL},
35416 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
35417 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS, NULL},
35418 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
35419 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL},
35420 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL},
35421 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL},
35422 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL},
35423 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS, NULL},
35424 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS, NULL},
35425 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS, NULL},
35426 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS, NULL},
35427 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS, NULL},
35428 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35429 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction) _wrap_Slider_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35430 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS, NULL},
35431 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS, NULL},
35432 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS, NULL},
35433 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35434 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35435 { (char *)"ToggleButton_GetValue", (PyCFunction) _wrap_ToggleButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35436 { (char *)"ToggleButton_SetLabel", (PyCFunction) _wrap_ToggleButton_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35437 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction) _wrap_ToggleButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35438 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS, NULL},
35439 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction) _wrap_BookCtrlBase_GetPageCount, METH_VARARGS | METH_KEYWORDS, NULL},
35440 { (char *)"BookCtrlBase_GetPage", (PyCFunction) _wrap_BookCtrlBase_GetPage, METH_VARARGS | METH_KEYWORDS, NULL},
35441 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction) _wrap_BookCtrlBase_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
35442 { (char *)"BookCtrlBase_GetSelection", (PyCFunction) _wrap_BookCtrlBase_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35443 { (char *)"BookCtrlBase_SetPageText", (PyCFunction) _wrap_BookCtrlBase_SetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
35444 { (char *)"BookCtrlBase_GetPageText", (PyCFunction) _wrap_BookCtrlBase_GetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
35445 { (char *)"BookCtrlBase_SetImageList", (PyCFunction) _wrap_BookCtrlBase_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35446 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction) _wrap_BookCtrlBase_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35447 { (char *)"BookCtrlBase_GetImageList", (PyCFunction) _wrap_BookCtrlBase_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35448 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction) _wrap_BookCtrlBase_GetPageImage, METH_VARARGS | METH_KEYWORDS, NULL},
35449 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction) _wrap_BookCtrlBase_SetPageImage, METH_VARARGS | METH_KEYWORDS, NULL},
35450 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction) _wrap_BookCtrlBase_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
35451 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrlBase_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
35452 { (char *)"BookCtrlBase_DeletePage", (PyCFunction) _wrap_BookCtrlBase_DeletePage, METH_VARARGS | METH_KEYWORDS, NULL},
35453 { (char *)"BookCtrlBase_RemovePage", (PyCFunction) _wrap_BookCtrlBase_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL},
35454 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction) _wrap_BookCtrlBase_DeleteAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
35455 { (char *)"BookCtrlBase_AddPage", (PyCFunction) _wrap_BookCtrlBase_AddPage, METH_VARARGS | METH_KEYWORDS, NULL},
35456 { (char *)"BookCtrlBase_InsertPage", (PyCFunction) _wrap_BookCtrlBase_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL},
35457 { (char *)"BookCtrlBase_SetSelection", (PyCFunction) _wrap_BookCtrlBase_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35458 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction) _wrap_BookCtrlBase_AdvanceSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35459 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction) _wrap_BookCtrlBase_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35460 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister, METH_VARARGS, NULL},
35461 { (char *)"new_BookCtrlBaseEvent", (PyCFunction) _wrap_new_BookCtrlBaseEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35462 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35463 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35464 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35465 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35466 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister, METH_VARARGS, NULL},
35467 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS, NULL},
35468 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS, NULL},
35469 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35470 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS, NULL},
35471 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS, NULL},
35472 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS, NULL},
35473 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
35474 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
091fdbfa 35475 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction) _wrap_Notebook_GetThemeBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
35476 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction) _wrap_Notebook_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35477 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS, NULL},
35478 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35479 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS, NULL},
35480 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS, NULL},
35481 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS, NULL},
35482 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35483 { (char *)"Listbook_IsVertical", (PyCFunction) _wrap_Listbook_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35484 { (char *)"Listbook_GetListView", (PyCFunction) _wrap_Listbook_GetListView, METH_VARARGS | METH_KEYWORDS, NULL},
35485 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS, NULL},
35486 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35487 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS, NULL},
35488 { (char *)"new_Choicebook", (PyCFunction) _wrap_new_Choicebook, METH_VARARGS | METH_KEYWORDS, NULL},
35489 { (char *)"new_PreChoicebook", (PyCFunction) _wrap_new_PreChoicebook, METH_VARARGS | METH_KEYWORDS, NULL},
35490 { (char *)"Choicebook_Create", (PyCFunction) _wrap_Choicebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35491 { (char *)"Choicebook_IsVertical", (PyCFunction) _wrap_Choicebook_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35492 { (char *)"Choicebook_DeleteAllPages", (PyCFunction) _wrap_Choicebook_DeleteAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
35493 { (char *)"Choicebook_swigregister", Choicebook_swigregister, METH_VARARGS, NULL},
35494 { (char *)"new_ChoicebookEvent", (PyCFunction) _wrap_new_ChoicebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35495 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister, METH_VARARGS, NULL},
35496 { (char *)"new_BookCtrlSizer", (PyCFunction) _wrap_new_BookCtrlSizer, METH_VARARGS | METH_KEYWORDS, NULL},
35497 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction) _wrap_BookCtrlSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS, NULL},
35498 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction) _wrap_BookCtrlSizer_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL},
35499 { (char *)"BookCtrlSizer_GetControl", (PyCFunction) _wrap_BookCtrlSizer_GetControl, METH_VARARGS | METH_KEYWORDS, NULL},
35500 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister, METH_VARARGS, NULL},
35501 { (char *)"new_NotebookSizer", (PyCFunction) _wrap_new_NotebookSizer, METH_VARARGS | METH_KEYWORDS, NULL},
35502 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction) _wrap_NotebookSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS, NULL},
35503 { (char *)"NotebookSizer_CalcMin", (PyCFunction) _wrap_NotebookSizer_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL},
35504 { (char *)"NotebookSizer_GetNotebook", (PyCFunction) _wrap_NotebookSizer_GetNotebook, METH_VARARGS | METH_KEYWORDS, NULL},
35505 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister, METH_VARARGS, NULL},
35506 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
35507 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS, NULL},
35508 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
35509 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS, NULL},
35510 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS, NULL},
35511 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
35512 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35513 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS, NULL},
35514 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
35515 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS, NULL},
35516 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS, NULL},
35517 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35518 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35519 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35520 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35521 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35522 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35523 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS, NULL},
35524 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
35525 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL},
35526 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35527 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35528 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35529 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35530 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35531 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS, NULL},
35532 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS, NULL},
35533 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS, NULL},
35534 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS, NULL},
35535 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS, NULL},
35536 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS, NULL},
35537 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS, NULL},
35538 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS, NULL},
35539 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS, NULL},
35540 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS, NULL},
35541 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS, NULL},
35542 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS, NULL},
35543 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
35544 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
35545 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS, NULL},
35546 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS, NULL},
35547 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS, NULL},
35548 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS, NULL},
35549 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS, NULL},
35550 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS, NULL},
35551 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS, NULL},
35552 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL},
35553 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL},
35554 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL},
35555 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS, NULL},
35556 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS, NULL},
35557 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
35558 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35559 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35560 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35561 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35562 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
35563 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
35564 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL},
35565 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL},
35566 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS, NULL},
35567 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
35568 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL},
35569 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL},
35570 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS, NULL},
35571 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS, NULL},
35572 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS, NULL},
35573 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS, NULL},
35574 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL},
35575 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL},
35576 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS, NULL},
35577 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35578 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS, NULL},
35579 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35580 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS, NULL},
35581 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
35582 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
35583 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35584 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35585 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ToolBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35586 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS, NULL},
35587 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS, NULL},
35588 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35589 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35590 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35591 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35592 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35593 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS, NULL},
35594 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35595 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35596 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35597 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
35598 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS, NULL},
35599 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS, NULL},
35600 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS, NULL},
35601 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
35602 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35603 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS, NULL},
35604 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
35605 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35606 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS, NULL},
35607 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS, NULL},
35608 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
35609 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS, NULL},
35610 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
35611 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
35612 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
35613 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35614 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35615 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35616 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS, NULL},
35617 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
35618 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35619 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS, NULL},
35620 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS, NULL},
35621 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS, NULL},
35622 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
35623 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
35624 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
35625 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35626 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35627 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35628 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35629 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35630 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS, NULL},
35631 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS, NULL},
35632 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS, NULL},
35633 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS, NULL},
35634 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS, NULL},
35635 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS, NULL},
35636 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS, NULL},
35637 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS, NULL},
35638 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS, NULL},
35639 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS, NULL},
35640 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS, NULL},
35641 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS, NULL},
35642 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS, NULL},
35643 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS, NULL},
35644 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS, NULL},
35645 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS, NULL},
35646 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS, NULL},
35647 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS, NULL},
35648 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS, NULL},
35649 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS, NULL},
35650 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS, NULL},
35651 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35652 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS, NULL},
35653 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS, NULL},
35654 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS, NULL},
35655 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS, NULL},
35656 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS, NULL},
35657 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS, NULL},
35658 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS, NULL},
35659 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS, NULL},
35660 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS, NULL},
35661 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS, NULL},
35662 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS, NULL},
35663 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL},
35664 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS, NULL},
35665 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35666 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35667 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35668 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS, NULL},
35669 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS, NULL},
35670 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
35671 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS, NULL},
35672 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35673 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS, NULL},
35674 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS, NULL},
35675 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS, NULL},
35676 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
35677 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS, NULL},
35678 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35679 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35680 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35681 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
35682 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35683 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35684 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35685 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35686 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
35687 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
35688 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS, NULL},
35689 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS, NULL},
35690 { (char *)"ListCtrl_GetEditControl", (PyCFunction) _wrap_ListCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS, NULL},
35691 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35692 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35693 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
35694 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS, NULL},
35695 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS, NULL},
35696 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
35697 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
35698 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
35699 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35700 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35701 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35702 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS, NULL},
35703 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35704 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
35705 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL},
35706 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
35707 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
35708 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35709 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35710 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS, NULL},
35711 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35712 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS, NULL},
35713 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
35714 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35715 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35716 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35717 { (char *)"ListCtrl_InReportView", (PyCFunction) _wrap_ListCtrl_InReportView, METH_VARARGS | METH_KEYWORDS, NULL},
35718 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS, NULL},
35719 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS, NULL},
35720 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS, NULL},
35721 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS, NULL},
35722 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS, NULL},
35723 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS, NULL},
35724 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35725 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS, NULL},
35726 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS, NULL},
35727 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35728 { (char *)"ListCtrl_EndEditLabel", (PyCFunction) _wrap_ListCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35729 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35730 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS, NULL},
35731 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35732 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS, NULL},
35733 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
35734 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
35735 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
35736 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS, NULL},
35737 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
35738 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction) _wrap_ListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL},
35739 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35740 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
35741 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS, NULL},
35742 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35743 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35744 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35745 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35746 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS, NULL},
35747 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35748 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_ListCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35749 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS, NULL},
35750 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS, NULL},
35751 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS, NULL},
35752 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35753 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS, NULL},
35754 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS, NULL},
35755 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS, NULL},
35756 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35757 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35758 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35759 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
35760 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
35761 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS, NULL},
35762 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS, NULL},
35763 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS, NULL},
35764 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
35765 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
35766 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
35767 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS, NULL},
35768 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS, NULL},
35769 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS, NULL},
35770 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35771 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
35772 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
35773 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
35774 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
35775 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
35776 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS, NULL},
35777 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35778 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35779 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35780 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS, NULL},
35781 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS, NULL},
35782 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35783 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35784 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35785 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL},
35786 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35787 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35788 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35789 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS, NULL},
35790 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
35791 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
dcb8fc74 35792 { (char *)"TreeEvent_GetToolTip", (PyCFunction) _wrap_TreeEvent_GetToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
35793 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS, NULL},
35794 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35795 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35796 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35797 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
35798 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS, NULL},
35799 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35800 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35801 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
35802 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
35803 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35804 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35805 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35806 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35807 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35808 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35809 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
35810 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
35811 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35812 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
35813 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35814 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35815 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
35816 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
35817 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
35818 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35819 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
35820 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
35821 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS, NULL},
35822 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction) _wrap_TreeCtrl_SetItemDropHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
35823 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35824 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35825 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
35826 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35827 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
35828 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
35829 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35830 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS, NULL},
35831 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS, NULL},
35832 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS, NULL},
35833 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35834 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
35835 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS, NULL},
35836 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL},
35837 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS, NULL},
35838 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL},
35839 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS, NULL},
35840 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS, NULL},
35841 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS, NULL},
35842 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35843 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35844 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS, NULL},
35845 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL},
35846 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
35847 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS, NULL},
35848 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL},
35849 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS, NULL},
35850 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS, NULL},
35851 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS, NULL},
35852 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS, NULL},
35853 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS, NULL},
35854 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS, NULL},
35855 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
35856 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS, NULL},
35857 { (char *)"TreeCtrl_UnselectItem", (PyCFunction) _wrap_TreeCtrl_UnselectItem, METH_VARARGS | METH_KEYWORDS, NULL},
35858 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
35859 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS, NULL},
35860 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction) _wrap_TreeCtrl_ToggleItemSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35861 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35862 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS, NULL},
35863 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35864 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS, NULL},
35865 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction) _wrap_TreeCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35866 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS, NULL},
35867 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
35868 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
35869 { (char *)"TreeCtrl_SetState", (PyCFunction) _wrap_TreeCtrl_SetState, METH_VARARGS | METH_KEYWORDS, NULL},
35870 { (char *)"TreeCtrl_GetState", (PyCFunction) _wrap_TreeCtrl_GetState, METH_VARARGS | METH_KEYWORDS, NULL},
35871 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TreeCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35872 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS, NULL},
35873 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35874 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35875 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35876 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS, NULL},
35877 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL},
35878 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL},
35879 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS, NULL},
35880 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS, NULL},
35881 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
35882 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS, NULL},
35883 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS, NULL},
35884 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS, NULL},
35885 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS, NULL},
35886 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
35887 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
35888 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS, NULL},
35889 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35890 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35891 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS, NULL},
35892 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS, NULL},
35893 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS, NULL},
35894 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS, NULL},
35895 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35896 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35897 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35898 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS, NULL},
35899 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS, NULL},
35900 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS, NULL},
35901 { (char *)"new_PrePyControl", (PyCFunction) _wrap_new_PrePyControl, METH_VARARGS | METH_KEYWORDS, NULL},
35902 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
35903 { (char *)"PyControl_SetBestSize", (PyCFunction) _wrap_PyControl_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
35904 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction) _wrap_PyControl_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35905 { (char *)"PyControl_base_DoSetSize", (PyCFunction) _wrap_PyControl_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
35906 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction) _wrap_PyControl_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
35907 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
35908 { (char *)"PyControl_base_DoGetSize", (PyCFunction) _wrap_PyControl_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
35909 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction) _wrap_PyControl_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
35910 { (char *)"PyControl_base_DoGetPosition", (PyCFunction) _wrap_PyControl_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35911 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
35912 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction) _wrap_PyControl_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
35913 { (char *)"PyControl_base_InitDialog", (PyCFunction) _wrap_PyControl_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
35914 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction) _wrap_PyControl_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35915 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35916 { (char *)"PyControl_base_Validate", (PyCFunction) _wrap_PyControl_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
35917 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction) _wrap_PyControl_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
35918 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
35919 { (char *)"PyControl_base_GetMaxSize", (PyCFunction) _wrap_PyControl_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
35920 { (char *)"PyControl_base_AddChild", (PyCFunction) _wrap_PyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
35921 { (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
35922 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction) _wrap_PyControl_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
35923 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyControl_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL},
35924 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction) _wrap_PyControl_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35925 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS, NULL},
35926 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35927 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35928 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35929 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS, NULL},
35930 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS, NULL},
35931 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS, NULL},
35932 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS, NULL},
35933 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS, NULL},
35934 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35935 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35936 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35937 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35938 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS, NULL},
35939 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS, NULL},
35940 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS, NULL},
35941 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS, NULL},
35942 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS, NULL},
35943 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35944 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35945 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35946 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS, NULL},
35947 { (char *)"HelpProvider_RemoveHelp", (PyCFunction) _wrap_HelpProvider_RemoveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35948 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
35949 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS, NULL},
35950 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS, NULL},
35951 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS, NULL},
35952 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS, NULL},
35953 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS, NULL},
35954 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS, NULL},
35955 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS, NULL},
35956 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS, NULL},
35957 { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS, NULL},
35958 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35959 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS, NULL},
35960 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS, NULL},
35961 { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS, NULL},
35962 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS, NULL},
35963 { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS, NULL},
35964 { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS, NULL},
35965 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS, NULL},
35966 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS, NULL},
35967 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35968 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS, NULL},
35969 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS, NULL},
53aa7709
RD
35970 { (char *)"new_DatePickerCtrl", (PyCFunction) _wrap_new_DatePickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35971 { (char *)"new_PreDatePickerCtrl", (PyCFunction) _wrap_new_PreDatePickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35972 { (char *)"DatePickerCtrl_Create", (PyCFunction) _wrap_DatePickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35973 { (char *)"DatePickerCtrl_SetValue", (PyCFunction) _wrap_DatePickerCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35974 { (char *)"DatePickerCtrl_GetValue", (PyCFunction) _wrap_DatePickerCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35975 { (char *)"DatePickerCtrl_SetRange", (PyCFunction) _wrap_DatePickerCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35976 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction) _wrap_DatePickerCtrl_GetLowerLimit, METH_VARARGS | METH_KEYWORDS, NULL},
35977 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction) _wrap_DatePickerCtrl_GetUpperLimit, METH_VARARGS | METH_KEYWORDS, NULL},
35978 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister, METH_VARARGS, NULL},
c32bde28 35979 { NULL, NULL, 0, NULL }
d55e5bfc
RD
35980};
35981
35982
35983/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
35984
d55e5bfc
RD
35985static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
35986 return (void *)((wxSizer *) ((wxBoxSizer *) x));
35987}
35988static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
35989 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
35990}
62d32a5f
RD
35991static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x) {
35992 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
35993}
d55e5bfc
RD
35994static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
35995 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
35996}
35997static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
35998 return (void *)((wxSizer *) ((wxGridSizer *) x));
35999}
36000static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
36001 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
36002}
36003static void *_p_wxNotebookSizerTo_p_wxSizer(void *x) {
36004 return (void *)((wxSizer *) ((wxNotebookSizer *) x));
36005}
36006static void *_p_wxPySizerTo_p_wxSizer(void *x) {
36007 return (void *)((wxSizer *) ((wxPySizer *) x));
36008}
36009static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x) {
36010 return (void *)((wxSizer *) ((wxBookCtrlSizer *) x));
36011}
36012static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
36013 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
36014}
36015static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
36016 return (void *)((wxEvent *) ((wxMenuEvent *) x));
36017}
36018static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
36019 return (void *)((wxEvent *) ((wxCloseEvent *) x));
36020}
36021static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
36022 return (void *)((wxEvent *) ((wxMouseEvent *) x));
36023}
36024static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
36025 return (void *)((wxEvent *) ((wxEraseEvent *) x));
36026}
8ac8dba0
RD
36027static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x) {
36028 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
36029}
d55e5bfc
RD
36030static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
36031 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
36032}
36033static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
36034 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
36035}
36036static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
36037 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
36038}
36039static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
36040 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
36041}
36042static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
36043 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
36044}
d55e5bfc
RD
36045static void *_p_wxPyEventTo_p_wxEvent(void *x) {
36046 return (void *)((wxEvent *) ((wxPyEvent *) x));
36047}
36048static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
36049 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
36050}
36051static void *_p_wxListEventTo_p_wxEvent(void *x) {
36052 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
36053}
36054static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
8ac8dba0 36055 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
d55e5bfc
RD
36056}
36057static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
8ac8dba0 36058 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
d55e5bfc 36059}
ae8162c8 36060static void *_p_wxChoicebookEventTo_p_wxEvent(void *x) {
8ac8dba0 36061 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
ae8162c8 36062}
d55e5bfc
RD
36063static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
36064 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
36065}
36066static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
36067 return (void *)((wxEvent *) ((wxIdleEvent *) x));
36068}
36069static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
36070 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
36071}
36072static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
36073 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
36074}
36075static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
36076 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
36077}
36078static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
36079 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
36080}
36081static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
36082 return (void *)((wxEvent *) ((wxActivateEvent *) x));
36083}
36084static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
36085 return (void *)((wxEvent *) ((wxSizeEvent *) x));
36086}
36087static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
36088 return (void *)((wxEvent *) ((wxMoveEvent *) x));
36089}
53aa7709
RD
36090static void *_p_wxDateEventTo_p_wxEvent(void *x) {
36091 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
36092}
d55e5bfc
RD
36093static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
36094 return (void *)((wxEvent *) ((wxPaintEvent *) x));
36095}
36096static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
36097 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
36098}
36099static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
36100 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
36101}
36102static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
36103 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
36104}
36105static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
36106 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
36107}
36108static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
36109 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
36110}
36111static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
36112 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
36113}
36114static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
36115 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
36116}
36117static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
36118 return (void *)((wxEvent *) ((wxFocusEvent *) x));
36119}
36120static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
36121 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
36122}
36123static void *_p_wxShowEventTo_p_wxEvent(void *x) {
36124 return (void *)((wxEvent *) ((wxShowEvent *) x));
36125}
36126static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
36127 return (void *)((wxEvent *) ((wxCommandEvent *) x));
36128}
36129static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
36130 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
36131}
36132static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
36133 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
36134}
36135static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
36136 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
36137}
36138static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
36139 return (void *)((wxEvent *) ((wxKeyEvent *) x));
36140}
36141static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
36142 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
36143}
36144static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
36145 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
36146}
36147static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
36148 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
36149}
36150static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
36151 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
36152}
36153static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
36154 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
36155}
36156static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
36157 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
36158}
36159static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
36160 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
36161}
36162static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
36163 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
36164}
36165static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
36166 return (void *)((wxPyListCtrl *) ((wxListView *) x));
36167}
8ac8dba0
RD
36168static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x) {
36169 return (void *)((wxControl *) ((wxBookCtrlBase *) x));
d55e5bfc
RD
36170}
36171static void *_p_wxToolBarTo_p_wxControl(void *x) {
36172 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
36173}
ae8162c8
RD
36174static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
36175 return (void *)((wxControl *) ((wxToggleButton *) x));
d55e5bfc 36176}
ae8162c8
RD
36177static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
36178 return (void *)((wxControl *) ((wxRadioButton *) x));
d55e5bfc 36179}
ae8162c8
RD
36180static void *_p_wxPyControlTo_p_wxControl(void *x) {
36181 return (void *)((wxControl *) ((wxPyControl *) x));
d55e5bfc 36182}
ae8162c8
RD
36183static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
36184 return (void *)((wxControl *) ((wxToolBarBase *) x));
36185}
36186static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
36187 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
d55e5bfc
RD
36188}
36189static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
36190 return (void *)((wxControl *) ((wxPyListCtrl *) x));
36191}
ae8162c8
RD
36192static void *_p_wxComboBoxTo_p_wxControl(void *x) {
36193 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
d55e5bfc 36194}
ae8162c8
RD
36195static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
36196 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
d55e5bfc
RD
36197}
36198static void *_p_wxScrollBarTo_p_wxControl(void *x) {
36199 return (void *)((wxControl *) ((wxScrollBar *) x));
36200}
ae8162c8
RD
36201static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
36202 return (void *)((wxControl *) ((wxControlWithItems *) x));
d55e5bfc
RD
36203}
36204static void *_p_wxGaugeTo_p_wxControl(void *x) {
36205 return (void *)((wxControl *) ((wxGauge *) x));
36206}
ae8162c8
RD
36207static void *_p_wxStaticLineTo_p_wxControl(void *x) {
36208 return (void *)((wxControl *) ((wxStaticLine *) x));
d55e5bfc 36209}
ae8162c8 36210static void *_p_wxChoicebookTo_p_wxControl(void *x) {
8ac8dba0 36211 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxChoicebook *) x));
d55e5bfc 36212}
ae8162c8 36213static void *_p_wxListbookTo_p_wxControl(void *x) {
8ac8dba0 36214 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxListbook *) x));
d55e5bfc 36215}
ae8162c8
RD
36216static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
36217 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
d55e5bfc 36218}
ae8162c8
RD
36219static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
36220 return (void *)((wxControl *) ((wxCheckBox *) x));
d55e5bfc
RD
36221}
36222static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
36223 return (void *)((wxControl *) ((wxRadioBox *) x));
36224}
ae8162c8
RD
36225static void *_p_wxChoiceTo_p_wxControl(void *x) {
36226 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
36227}
36228static void *_p_wxListBoxTo_p_wxControl(void *x) {
36229 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
36230}
36231static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
36232 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
36233}
36234static void *_p_wxListViewTo_p_wxControl(void *x) {
36235 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
36236}
d55e5bfc 36237static void *_p_wxNotebookTo_p_wxControl(void *x) {
8ac8dba0 36238 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxNotebook *) x));
d55e5bfc 36239}
ae8162c8
RD
36240static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
36241 return (void *)((wxControl *) ((wxStaticBitmap *) x));
d55e5bfc 36242}
ae8162c8
RD
36243static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
36244 return (void *)((wxControl *) ((wxSpinCtrl *) x));
d55e5bfc 36245}
ae8162c8
RD
36246static void *_p_wxStaticTextTo_p_wxControl(void *x) {
36247 return (void *)((wxControl *) ((wxStaticText *) x));
d55e5bfc 36248}
ae8162c8
RD
36249static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
36250 return (void *)((wxControl *) ((wxStaticBox *) x));
d55e5bfc
RD
36251}
36252static void *_p_wxSliderTo_p_wxControl(void *x) {
36253 return (void *)((wxControl *) ((wxSlider *) x));
36254}
ae8162c8
RD
36255static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
36256 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
d55e5bfc 36257}
ae8162c8
RD
36258static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
36259 return (void *)((wxControl *) ((wxSpinButton *) x));
d55e5bfc 36260}
ae8162c8
RD
36261static void *_p_wxButtonTo_p_wxControl(void *x) {
36262 return (void *)((wxControl *) ((wxButton *) x));
d55e5bfc 36263}
ae8162c8
RD
36264static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
36265 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
36266}
53aa7709
RD
36267static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x) {
36268 return (void *)((wxControl *) ((wxDatePickerCtrl *) x));
36269}
ae8162c8
RD
36270static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
36271 return (void *)((wxControl *) ((wxTextCtrl *) x));
d55e5bfc
RD
36272}
36273static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
36274 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
36275}
36276static void *_p_wxComboBoxTo_p_wxChoice(void *x) {
36277 return (void *)((wxChoice *) ((wxComboBox *) x));
36278}
36279static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
36280 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
36281}
8ac8dba0
RD
36282static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x) {
36283 return (void *)((wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
36284}
d55e5bfc
RD
36285static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
36286 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
36287}
d55e5bfc
RD
36288static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
36289 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
36290}
36291static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x) {
36292 return (void *)((wxNotifyEvent *) ((wxSpinEvent *) x));
36293}
36294static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
8ac8dba0 36295 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
d55e5bfc
RD
36296}
36297static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
8ac8dba0 36298 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
d55e5bfc 36299}
ae8162c8 36300static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x) {
8ac8dba0
RD
36301 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
36302}
36303static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x) {
36304 return (void *)((wxBookCtrlBase *) ((wxChoicebook *) x));
36305}
36306static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x) {
36307 return (void *)((wxBookCtrlBase *) ((wxListbook *) x));
ae8162c8 36308}
8ac8dba0
RD
36309static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x) {
36310 return (void *)((wxBookCtrlBase *) ((wxNotebook *) x));
d55e5bfc
RD
36311}
36312static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
36313 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
36314}
8ac8dba0
RD
36315static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x) {
36316 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
36317}
d55e5bfc
RD
36318static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
36319 return (void *)((wxEvtHandler *) ((wxValidator *) x));
36320}
36321static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
36322 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
36323}
36324static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
36325 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
36326}
36327static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
36328 return (void *)((wxEvtHandler *) ((wxMenu *) x));
36329}
36330static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
36331 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
36332}
36333static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
36334 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
36335}
36336static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
36337 return (void *)((wxEvtHandler *) ((wxWindow *) x));
36338}
36339static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
36340 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
36341}
36342static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
36343 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
36344}
d55e5bfc
RD
36345static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
36346 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
36347}
ae8162c8
RD
36348static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
36349 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
36350}
d55e5bfc
RD
36351static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
36352 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
36353}
36354static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
36355 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
36356}
36357static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
36358 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
36359}
36360static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
36361 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
36362}
36363static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
36364 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
36365}
36366static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
36367 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
36368}
36369static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
36370 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
36371}
36372static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
36373 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
36374}
ae8162c8 36375static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x) {
8ac8dba0 36376 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
ae8162c8 36377}
d55e5bfc 36378static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
8ac8dba0 36379 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
d55e5bfc
RD
36380}
36381static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
36382 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
36383}
36384static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
36385 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
36386}
36387static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
36388 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
36389}
36390static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
36391 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
36392}
36393static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
36394 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
36395}
36396static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
36397 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
36398}
36399static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
8ac8dba0 36400 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
d55e5bfc
RD
36401}
36402static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
36403 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
36404}
36405static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
36406 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
36407}
36408static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
36409 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
36410}
36411static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
36412 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
36413}
36414static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
36415 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
36416}
36417static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
36418 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
36419}
36420static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
36421 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
36422}
36423static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
36424 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
36425}
36426static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
36427 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
36428}
36429static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
36430 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
36431}
53aa7709
RD
36432static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x) {
36433 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
36434}
d55e5bfc
RD
36435static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
36436 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
36437}
36438static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
36439 return (void *)((wxListBox *) ((wxCheckListBox *) x));
36440}
d55e5bfc
RD
36441static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
36442 return (void *)((wxButton *) ((wxBitmapButton *) x));
36443}
36444static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
36445 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
36446}
36447static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
36448 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
36449}
36450static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
36451 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
36452}
36453static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
36454 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
36455}
36456static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
36457 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
36458}
36459static void *_p_wxSizerItemTo_p_wxObject(void *x) {
36460 return (void *)((wxObject *) ((wxSizerItem *) x));
36461}
36462static void *_p_wxScrollEventTo_p_wxObject(void *x) {
36463 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
36464}
36465static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
36466 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
36467}
36468static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
36469 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
36470}
d55e5bfc
RD
36471static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
36472 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
36473}
36474static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
36475 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
36476}
36477static void *_p_wxSizerTo_p_wxObject(void *x) {
36478 return (void *)((wxObject *) ((wxSizer *) x));
36479}
36480static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
36481 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
36482}
36483static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
36484 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
36485}
36486static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
36487 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
36488}
36489static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
36490 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
36491}
36492static void *_p_wxEventTo_p_wxObject(void *x) {
36493 return (void *)((wxObject *) ((wxEvent *) x));
36494}
36495static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
36496 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
36497}
36498static void *_p_wxGridSizerTo_p_wxObject(void *x) {
36499 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
36500}
36501static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
36502 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
36503}
36504static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
36505 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
36506}
36507static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
36508 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
36509}
36510static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
36511 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
36512}
36513static void *_p_wxPaintEventTo_p_wxObject(void *x) {
36514 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
36515}
36516static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
36517 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
36518}
36519static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
36520 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
36521}
36522static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
36523 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
36524}
36525static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
36526 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
36527}
36528static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
36529 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
36530}
36531static void *_p_wxStaticLineTo_p_wxObject(void *x) {
36532 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
36533}
36534static void *_p_wxControlTo_p_wxObject(void *x) {
36535 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
36536}
36537static void *_p_wxPyControlTo_p_wxObject(void *x) {
36538 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
36539}
36540static void *_p_wxGaugeTo_p_wxObject(void *x) {
36541 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
36542}
36543static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
36544 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
36545}
36546static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
36547 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
36548}
36549static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
36550 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
36551}
36552static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
36553 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
36554}
36555static void *_p_wxChoiceTo_p_wxObject(void *x) {
36556 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
36557}
36558static void *_p_wxFSFileTo_p_wxObject(void *x) {
36559 return (void *)((wxObject *) ((wxFSFile *) x));
36560}
36561static void *_p_wxPySizerTo_p_wxObject(void *x) {
36562 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
36563}
36564static void *_p_wxListViewTo_p_wxObject(void *x) {
36565 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
36566}
36567static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
36568 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
36569}
36570static void *_p_wxNotebookTo_p_wxObject(void *x) {
8ac8dba0 36571 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
d55e5bfc
RD
36572}
36573static void *_p_wxPyEventTo_p_wxObject(void *x) {
36574 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
36575}
36576static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
36577 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
36578}
ae8162c8 36579static void *_p_wxChoicebookTo_p_wxObject(void *x) {
8ac8dba0 36580 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
ae8162c8 36581}
d55e5bfc 36582static void *_p_wxListbookTo_p_wxObject(void *x) {
8ac8dba0 36583 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
d55e5bfc
RD
36584}
36585static void *_p_wxShowEventTo_p_wxObject(void *x) {
36586 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
36587}
36588static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
36589 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
36590}
36591static void *_p_wxSliderTo_p_wxObject(void *x) {
36592 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
36593}
36594static void *_p_wxMenuItemTo_p_wxObject(void *x) {
36595 return (void *)((wxObject *) ((wxMenuItem *) x));
36596}
53aa7709
RD
36597static void *_p_wxDateEventTo_p_wxObject(void *x) {
36598 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
36599}
d55e5bfc
RD
36600static void *_p_wxIdleEventTo_p_wxObject(void *x) {
36601 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
36602}
36603static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
36604 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
36605}
36606static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
36607 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
36608}
36609static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
36610 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
36611}
36612static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
36613 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
36614}
36615static void *_p_wxSizeEventTo_p_wxObject(void *x) {
36616 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
36617}
36618static void *_p_wxMoveEventTo_p_wxObject(void *x) {
36619 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
36620}
36621static void *_p_wxActivateEventTo_p_wxObject(void *x) {
36622 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
36623}
36624static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
36625 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
36626}
36627static void *_p_wxContextHelpTo_p_wxObject(void *x) {
36628 return (void *)((wxObject *) ((wxContextHelp *) x));
36629}
8ac8dba0
RD
36630static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x) {
36631 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
36632}
d55e5bfc
RD
36633static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
36634 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
36635}
36636static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
36637 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
36638}
36639static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
36640 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
36641}
36642static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
36643 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
36644}
36645static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
36646 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
36647}
36648static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
36649 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
36650}
36651static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
36652 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
36653}
36654static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
36655 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
36656}
36657static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
36658 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
36659}
36660static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
36661 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
36662}
36663static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
36664 return (void *)((wxObject *) ((wxImageHandler *) x));
36665}
36666static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
36667 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
36668}
36669static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
36670 return (void *)((wxObject *) ((wxEvtHandler *) x));
36671}
36672static void *_p_wxListEventTo_p_wxObject(void *x) {
36673 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
36674}
36675static void *_p_wxListBoxTo_p_wxObject(void *x) {
36676 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
36677}
36678static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
36679 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
36680}
d55e5bfc
RD
36681static void *_p_wxButtonTo_p_wxObject(void *x) {
36682 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
36683}
36684static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
36685 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
36686}
36687static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
36688 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
36689}
36690static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
36691 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
36692}
62d32a5f
RD
36693static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
36694 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
36695}
d55e5bfc
RD
36696static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
36697 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
36698}
36699static void *_p_wxScrollBarTo_p_wxObject(void *x) {
36700 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
36701}
36702static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
36703 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
36704}
36705static void *_p_wxComboBoxTo_p_wxObject(void *x) {
36706 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
36707}
36708static void *_p_wxHelpEventTo_p_wxObject(void *x) {
36709 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
36710}
36711static void *_p_wxListItemTo_p_wxObject(void *x) {
36712 return (void *)((wxObject *) ((wxListItem *) x));
36713}
36714static void *_p_wxImageTo_p_wxObject(void *x) {
36715 return (void *)((wxObject *) ((wxImage *) x));
36716}
36717static void *_p_wxNotebookSizerTo_p_wxObject(void *x) {
36718 return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x));
36719}
36720static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
36721 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
36722}
36723static void *_p_wxSpinEventTo_p_wxObject(void *x) {
36724 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
36725}
36726static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
36727 return (void *)((wxObject *) ((wxGenericDragImage *) x));
36728}
36729static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
36730 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
36731}
36732static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
8ac8dba0 36733 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
d55e5bfc
RD
36734}
36735static void *_p_wxListbookEventTo_p_wxObject(void *x) {
8ac8dba0 36736 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
d55e5bfc 36737}
ae8162c8 36738static void *_p_wxChoicebookEventTo_p_wxObject(void *x) {
8ac8dba0 36739 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
ae8162c8 36740}
d55e5bfc
RD
36741static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
36742 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
36743}
36744static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
36745 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
36746}
36747static void *_p_wxKeyEventTo_p_wxObject(void *x) {
36748 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
36749}
36750static void *_p_wxWindowTo_p_wxObject(void *x) {
36751 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
36752}
36753static void *_p_wxMenuTo_p_wxObject(void *x) {
36754 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
36755}
36756static void *_p_wxMenuBarTo_p_wxObject(void *x) {
36757 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
36758}
36759static void *_p_wxFileSystemTo_p_wxObject(void *x) {
36760 return (void *)((wxObject *) ((wxFileSystem *) x));
36761}
36762static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
36763 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
36764}
36765static void *_p_wxMenuEventTo_p_wxObject(void *x) {
36766 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
36767}
36768static void *_p_wxPyAppTo_p_wxObject(void *x) {
36769 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
36770}
36771static void *_p_wxCloseEventTo_p_wxObject(void *x) {
36772 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
36773}
36774static void *_p_wxMouseEventTo_p_wxObject(void *x) {
36775 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
36776}
36777static void *_p_wxEraseEventTo_p_wxObject(void *x) {
36778 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
36779}
8ac8dba0
RD
36780static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x) {
36781 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
36782}
d55e5bfc
RD
36783static void *_p_wxTreeEventTo_p_wxObject(void *x) {
36784 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
36785}
36786static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
36787 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
36788}
36789static void *_p_wxCommandEventTo_p_wxObject(void *x) {
36790 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
36791}
36792static void *_p_wxStaticTextTo_p_wxObject(void *x) {
36793 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
36794}
36795static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
36796 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
36797}
36798static void *_p_wxFocusEventTo_p_wxObject(void *x) {
36799 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
36800}
36801static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
36802 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
36803}
53aa7709
RD
36804static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x) {
36805 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
36806}
d55e5bfc
RD
36807static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
36808 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
36809}
36810static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
36811 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
36812}
36813static void *_p_wxToolBarTo_p_wxObject(void *x) {
36814 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
36815}
36816static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
36817 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
36818}
36819static void *_p_wxValidatorTo_p_wxObject(void *x) {
36820 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
36821}
36822static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) {
36823 return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x));
36824}
d55e5bfc
RD
36825static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
36826 return (void *)((wxWindow *) ((wxMenuBar *) x));
36827}
8ac8dba0
RD
36828static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x) {
36829 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrlBase *) x));
36830}
d55e5bfc
RD
36831static void *_p_wxToolBarTo_p_wxWindow(void *x) {
36832 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
36833}
36834static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
36835 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
36836}
36837static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
36838 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
36839}
d55e5bfc
RD
36840static void *_p_wxControlTo_p_wxWindow(void *x) {
36841 return (void *)((wxWindow *) ((wxControl *) x));
36842}
36843static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
36844 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
36845}
36846static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
36847 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
36848}
36849static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
36850 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
36851}
36852static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
36853 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
36854}
ae8162c8
RD
36855static void *_p_wxPyControlTo_p_wxWindow(void *x) {
36856 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
36857}
d55e5bfc
RD
36858static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
36859 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
36860}
36861static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
36862 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
36863}
36864static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
36865 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
36866}
36867static void *_p_wxGaugeTo_p_wxWindow(void *x) {
36868 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
36869}
36870static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
36871 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
36872}
ae8162c8 36873static void *_p_wxChoicebookTo_p_wxWindow(void *x) {
8ac8dba0 36874 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
ae8162c8 36875}
d55e5bfc 36876static void *_p_wxListbookTo_p_wxWindow(void *x) {
8ac8dba0 36877 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
d55e5bfc
RD
36878}
36879static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
36880 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
36881}
36882static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
36883 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
36884}
36885static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
36886 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
36887}
36888static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
36889 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
36890}
36891static void *_p_wxChoiceTo_p_wxWindow(void *x) {
36892 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
36893}
36894static void *_p_wxListBoxTo_p_wxWindow(void *x) {
36895 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
36896}
36897static void *_p_wxListViewTo_p_wxWindow(void *x) {
36898 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
36899}
36900static void *_p_wxNotebookTo_p_wxWindow(void *x) {
8ac8dba0 36901 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
d55e5bfc
RD
36902}
36903static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
36904 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
36905}
36906static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
36907 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
36908}
36909static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
36910 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
36911}
36912static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
36913 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
36914}
36915static void *_p_wxSliderTo_p_wxWindow(void *x) {
36916 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
36917}
36918static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
36919 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
36920}
36921static void *_p_wxButtonTo_p_wxWindow(void *x) {
36922 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
36923}
36924static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
36925 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
36926}
36927static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
36928 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
36929}
53aa7709
RD
36930static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x) {
36931 return (void *)((wxWindow *) (wxControl *) ((wxDatePickerCtrl *) x));
36932}
d55e5bfc
RD
36933static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
36934 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
36935}
8ac8dba0
RD
36936static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
36937 return (void *)((wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
36938}
36939static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x) {
36940 return (void *)((wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
36941}
36942static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
36943 return (void *)((wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
36944}
d55e5bfc
RD
36945static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
36946 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
36947}
d55e5bfc
RD
36948static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
36949 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
36950}
36951static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
36952 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
36953}
36954static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
36955 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
36956}
36957static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
36958 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
36959}
36960static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
36961 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
36962}
36963static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
8ac8dba0 36964 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
d55e5bfc
RD
36965}
36966static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
8ac8dba0 36967 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
d55e5bfc 36968}
53aa7709
RD
36969static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x) {
36970 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
36971}
36972static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
36973 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
36974}
d55e5bfc
RD
36975static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
36976 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
36977}
ae8162c8
RD
36978static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
36979 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
36980}
8ac8dba0
RD
36981static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x) {
36982 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
36983}
d55e5bfc
RD
36984static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
36985 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
36986}
36987static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
36988 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
36989}
36990static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
36991 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
36992}
36993static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
36994 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
36995}
36996static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
36997 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
36998}
36999static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x) {
37000 return (void *)((wxControlWithItems *) (wxChoice *) ((wxComboBox *) x));
37001}
37002static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
37003 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
37004}
37005static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
37006 return (void *)((wxControlWithItems *) ((wxChoice *) x));
37007}
37008static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
37009 return (void *)((wxControlWithItems *) ((wxListBox *) x));
37010}
37011static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
37012 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
37013}
37014static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
37015 return (void *)((wxValidator *) ((wxPyValidator *) x));
37016}
37017static 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 37018static 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
37019static 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}};
37020static 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}};
53aa7709 37021static 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_wxDateEvent", _p_wxDateEventTo_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_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_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
37022static 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}};
37023static 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
37024static 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}};
37025static 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 37026static 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
37027static 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}};
37028static 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}};
53aa7709 37029static 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_wxDatePickerCtrl", _p_wxDatePickerCtrlTo_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
37030static 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}};
37031static 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}};
37032static 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}};
37033static 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}};
37034static 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}};
37035static 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}};
37036static 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}};
37037static 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
37038static 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}};
37039static 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
37040static 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}};
37041static 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}};
37042static 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}};
37043static 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}};
37044static 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}};
37045static 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}};
37046static 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}};
37047static 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}};
37048static 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}};
37049static 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 37050static 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 37051static 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 37052static 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 37053static 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
37054static 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}};
37055static 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}};
37056static 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}};
37057static 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}};
37058static 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}};
37059static 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}};
37060static 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 37061static 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 37062static 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}};
53aa7709 37063static 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_wxDatePickerCtrl", _p_wxDatePickerCtrlTo_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
37064static 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}};
37065static 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}};
37066static 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
37067static 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}};
37068static 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}};
37069static 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}};
37070static 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}};
37071static 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}};
37072static 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}};
37073static 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}};
37074static 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 37075static 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 37076static 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
37077static 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}};
37078static 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}};
37079static 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}};
37080static 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}};
37081static 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}};
37082static 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 37083static 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
37084static 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}};
37085static 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}};
37086static 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}};
37087static 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 37088static 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
37089static 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}};
37090static 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 37091static 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}};
53aa7709 37092static 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_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_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_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_wxDateEvent", _p_wxDateEventTo_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_wxDatePickerCtrl", _p_wxDatePickerCtrlTo_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 37093static 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}};
53aa7709 37094static swig_type_info _swigt__p_wxDateTime[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0, 0, 0, 0},{"_p_wxDateTime", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc 37095static 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 37096static 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}};
53aa7709 37097static 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_wxDatePickerCtrl", _p_wxDatePickerCtrlTo_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
37098static 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}};
37099static 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
37100static 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}};
37101static 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}};
37102static 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 37103static 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 37104static 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 37105static 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}};
53aa7709 37106static 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_wxListbookEvent", _p_wxListbookEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_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 37107static 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}};
53aa7709 37108static swig_type_info _swigt__p_wxDatePickerCtrl[] = {{"_p_wxDatePickerCtrl", 0, "wxDatePickerCtrl *", 0, 0, 0, 0},{"_p_wxDatePickerCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
37109static 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}};
37110static 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}};
37111static 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}};
37112static 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}};
37113static 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}};
37114static 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}};
37115
37116static swig_type_info *swig_types_initial[] = {
37117_swigt__p_wxTextUrlEvent,
d55e5bfc
RD
37118_swigt__p_wxSizer,
37119_swigt__p_wxCheckBox,
37120_swigt__p_wxPyTreeCtrl,
37121_swigt__p_wxEvent,
37122_swigt__p_wxGenericDirCtrl,
37123_swigt__p_bool,
d55e5bfc
RD
37124_swigt__p_wxItemContainer,
37125_swigt__p_wxPyListCtrl,
093d3ff1 37126_swigt__p_wxPyTreeItemData,
d55e5bfc
RD
37127_swigt__p_wxDirFilterListCtrl,
37128_swigt__p_wxStaticLine,
37129_swigt__p_wxControl,
37130_swigt__p_wxPyControl,
37131_swigt__p_wxGauge,
37132_swigt__p_wxToolBarBase,
37133_swigt__p_wxFont,
37134_swigt__p_wxToggleButton,
37135_swigt__p_wxRadioButton,
37136_swigt__p_wxChoice,
37137_swigt__p_wxMemoryDC,
093d3ff1
RD
37138_swigt__ptrdiff_t,
37139_swigt__std__ptrdiff_t,
d55e5bfc
RD
37140_swigt__p_wxListItemAttr,
37141_swigt__p_void,
37142_swigt__p_int,
37143_swigt__p_wxSize,
37144_swigt__p_wxDC,
37145_swigt__p_wxListView,
37146_swigt__p_wxIcon,
37147_swigt__p_wxVisualAttributes,
37148_swigt__p_wxTextCtrl,
37149_swigt__p_wxNotebook,
ae8162c8 37150_swigt__p_wxChoicebook,
d55e5bfc
RD
37151_swigt__p_wxNotifyEvent,
37152_swigt__p_wxArrayString,
093d3ff1 37153_swigt__p_form_ops_t,
d55e5bfc
RD
37154_swigt__p_wxListbook,
37155_swigt__p_wxStaticBitmap,
37156_swigt__p_wxSlider,
37157_swigt__p_wxStaticBox,
37158_swigt__p_wxArrayInt,
37159_swigt__p_wxContextHelp,
37160_swigt__p_long,
093d3ff1 37161_swigt__p_wxDuplexMode,
8ac8dba0 37162_swigt__p_wxBookCtrlBase,
d55e5bfc
RD
37163_swigt__p_wxEvtHandler,
37164_swigt__p_wxListEvent,
37165_swigt__p_wxCheckListBox,
37166_swigt__p_wxListBox,
d55e5bfc
RD
37167_swigt__p_wxSpinButton,
37168_swigt__p_wxButton,
37169_swigt__p_wxBitmapButton,
37170_swigt__p_wxRect,
37171_swigt__p_wxContextHelpButton,
37172_swigt__p_wxRadioBox,
37173_swigt__p_wxScrollBar,
37174_swigt__p_char,
d55e5bfc 37175_swigt__p_wxComboBox,
093d3ff1 37176_swigt__p_wxTreeItemId,
d55e5bfc
RD
37177_swigt__p_wxHelpEvent,
37178_swigt__p_wxListItem,
37179_swigt__p_wxNotebookSizer,
37180_swigt__p_wxSpinEvent,
37181_swigt__p_wxGenericDragImage,
37182_swigt__p_wxSpinCtrl,
093d3ff1 37183_swigt__p_wxPaperSize,
d55e5bfc
RD
37184_swigt__p_wxImageList,
37185_swigt__p_wxHelpProvider,
37186_swigt__p_wxTextAttr,
37187_swigt__p_wxSimpleHelpProvider,
ae8162c8 37188_swigt__p_wxChoicebookEvent,
d55e5bfc
RD
37189_swigt__p_wxListbookEvent,
37190_swigt__p_wxNotebookEvent,
093d3ff1 37191_swigt__p_wxPoint,
d55e5bfc
RD
37192_swigt__p_wxObject,
37193_swigt__p_wxCursor,
53aa7709 37194_swigt__p_wxDateTime,
d55e5bfc 37195_swigt__p_wxKeyEvent,
093d3ff1 37196_swigt__p_unsigned_long,
d55e5bfc
RD
37197_swigt__p_wxWindow,
37198_swigt__p_wxString,
37199_swigt__p_wxBitmap,
093d3ff1
RD
37200_swigt__unsigned_int,
37201_swigt__p_unsigned_int,
37202_swigt__p_unsigned_char,
d55e5bfc 37203_swigt__p_wxMouseEvent,
8ac8dba0 37204_swigt__p_wxBookCtrlBaseEvent,
093d3ff1 37205_swigt__p_wxTreeEvent,
d55e5bfc
RD
37206_swigt__p_wxCommandEvent,
37207_swigt__p_wxStaticText,
53aa7709 37208_swigt__p_wxDatePickerCtrl,
d55e5bfc
RD
37209_swigt__p_wxControlWithItems,
37210_swigt__p_wxToolBarToolBase,
37211_swigt__p_wxColour,
37212_swigt__p_wxToolBar,
37213_swigt__p_wxBookCtrlSizer,
37214_swigt__p_wxValidator,
372150
37216};
37217
37218
37219/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
37220
37221static swig_const_info swig_const_table[] = {
c32bde28 37222{0, 0, 0, 0.0, 0, 0}};
d55e5bfc
RD
37223
37224#ifdef __cplusplus
37225}
37226#endif
37227
093d3ff1
RD
37228
37229#ifdef __cplusplus
37230extern "C" {
37231#endif
37232
37233 /* Python-specific SWIG API */
37234#define SWIG_newvarlink() SWIG_Python_newvarlink()
37235#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
37236#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
37237
37238 /* -----------------------------------------------------------------------------
37239 * global variable support code.
37240 * ----------------------------------------------------------------------------- */
37241
37242 typedef struct swig_globalvar {
37243 char *name; /* Name of global variable */
37244 PyObject *(*get_attr)(); /* Return the current value */
37245 int (*set_attr)(PyObject *); /* Set the value */
37246 struct swig_globalvar *next;
37247 } swig_globalvar;
37248
37249 typedef struct swig_varlinkobject {
37250 PyObject_HEAD
37251 swig_globalvar *vars;
37252 } swig_varlinkobject;
37253
37254 static PyObject *
37255 swig_varlink_repr(swig_varlinkobject *v) {
37256 v = v;
37257 return PyString_FromString("<Swig global variables>");
37258 }
37259
37260 static int
37261 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
37262 swig_globalvar *var;
37263 flags = flags;
37264 fprintf(fp,"Swig global variables { ");
37265 for (var = v->vars; var; var=var->next) {
37266 fprintf(fp,"%s", var->name);
37267 if (var->next) fprintf(fp,", ");
37268 }
37269 fprintf(fp," }\n");
37270 return 0;
37271 }
37272
37273 static PyObject *
37274 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
37275 swig_globalvar *var = v->vars;
37276 while (var) {
37277 if (strcmp(var->name,n) == 0) {
37278 return (*var->get_attr)();
37279 }
37280 var = var->next;
37281 }
37282 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
37283 return NULL;
37284 }
37285
37286 static int
37287 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
37288 swig_globalvar *var = v->vars;
37289 while (var) {
37290 if (strcmp(var->name,n) == 0) {
37291 return (*var->set_attr)(p);
37292 }
37293 var = var->next;
37294 }
37295 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
37296 return 1;
37297 }
37298
37299 static PyTypeObject varlinktype = {
37300 PyObject_HEAD_INIT(0)
37301 0, /* Number of items in variable part (ob_size) */
37302 (char *)"swigvarlink", /* Type name (tp_name) */
37303 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
37304 0, /* Itemsize (tp_itemsize) */
37305 0, /* Deallocator (tp_dealloc) */
37306 (printfunc) swig_varlink_print, /* Print (tp_print) */
37307 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
37308 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
37309 0, /* tp_compare */
37310 (reprfunc) swig_varlink_repr, /* tp_repr */
37311 0, /* tp_as_number */
37312 0, /* tp_as_sequence */
37313 0, /* tp_as_mapping */
37314 0, /* tp_hash */
37315 0, /* tp_call */
37316 0, /* tp_str */
37317 0, /* tp_getattro */
37318 0, /* tp_setattro */
37319 0, /* tp_as_buffer */
37320 0, /* tp_flags */
37321 0, /* tp_doc */
37322#if PY_VERSION_HEX >= 0x02000000
37323 0, /* tp_traverse */
37324 0, /* tp_clear */
37325#endif
37326#if PY_VERSION_HEX >= 0x02010000
37327 0, /* tp_richcompare */
37328 0, /* tp_weaklistoffset */
37329#endif
37330#if PY_VERSION_HEX >= 0x02020000
37331 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
37332#endif
37333#if PY_VERSION_HEX >= 0x02030000
37334 0, /* tp_del */
37335#endif
37336#ifdef COUNT_ALLOCS
37337 0,0,0,0 /* tp_alloc -> tp_next */
37338#endif
37339 };
37340
37341 /* Create a variable linking object for use later */
37342 static PyObject *
37343 SWIG_Python_newvarlink(void) {
37344 swig_varlinkobject *result = 0;
37345 result = PyMem_NEW(swig_varlinkobject,1);
37346 varlinktype.ob_type = &PyType_Type; /* Patch varlinktype into a PyType */
37347 result->ob_type = &varlinktype;
37348 result->vars = 0;
37349 result->ob_refcnt = 0;
37350 Py_XINCREF((PyObject *) result);
37351 return ((PyObject*) result);
37352 }
37353
37354 static void
37355 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
37356 swig_varlinkobject *v;
37357 swig_globalvar *gv;
37358 v= (swig_varlinkobject *) p;
37359 gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
37360 gv->name = (char *) malloc(strlen(name)+1);
37361 strcpy(gv->name,name);
37362 gv->get_attr = get_attr;
37363 gv->set_attr = set_attr;
37364 gv->next = v->vars;
37365 v->vars = gv;
37366 }
37367
37368 /* -----------------------------------------------------------------------------
37369 * constants/methods manipulation
37370 * ----------------------------------------------------------------------------- */
37371
37372 /* Install Constants */
37373 static void
37374 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
37375 PyObject *obj = 0;
37376 size_t i;
37377 for (i = 0; constants[i].type; i++) {
37378 switch(constants[i].type) {
37379 case SWIG_PY_INT:
37380 obj = PyInt_FromLong(constants[i].lvalue);
37381 break;
37382 case SWIG_PY_FLOAT:
37383 obj = PyFloat_FromDouble(constants[i].dvalue);
37384 break;
37385 case SWIG_PY_STRING:
37386 if (constants[i].pvalue) {
37387 obj = PyString_FromString((char *) constants[i].pvalue);
37388 } else {
37389 Py_INCREF(Py_None);
37390 obj = Py_None;
37391 }
37392 break;
37393 case SWIG_PY_POINTER:
37394 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
37395 break;
37396 case SWIG_PY_BINARY:
37397 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
37398 break;
37399 default:
37400 obj = 0;
37401 break;
37402 }
37403 if (obj) {
37404 PyDict_SetItemString(d,constants[i].name,obj);
37405 Py_DECREF(obj);
37406 }
37407 }
37408 }
37409
37410 /* -----------------------------------------------------------------------------*/
37411 /* Fix SwigMethods to carry the callback ptrs when needed */
37412 /* -----------------------------------------------------------------------------*/
37413
37414 static void
37415 SWIG_Python_FixMethods(PyMethodDef *methods,
37416 swig_const_info *const_table,
37417 swig_type_info **types,
37418 swig_type_info **types_initial) {
37419 size_t i;
37420 for (i = 0; methods[i].ml_name; ++i) {
37421 char *c = methods[i].ml_doc;
37422 if (c && (c = strstr(c, "swig_ptr: "))) {
37423 int j;
37424 swig_const_info *ci = 0;
37425 char *name = c + 10;
37426 for (j = 0; const_table[j].type; j++) {
37427 if (strncmp(const_table[j].name, name,
37428 strlen(const_table[j].name)) == 0) {
37429 ci = &(const_table[j]);
37430 break;
37431 }
37432 }
37433 if (ci) {
37434 size_t shift = (ci->ptype) - types;
37435 swig_type_info *ty = types_initial[shift];
37436 size_t ldoc = (c - methods[i].ml_doc);
37437 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
37438 char *ndoc = (char*)malloc(ldoc + lptr + 10);
37439 char *buff = ndoc;
37440 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue: (void *)(ci->lvalue);
37441 strncpy(buff, methods[i].ml_doc, ldoc);
37442 buff += ldoc;
37443 strncpy(buff, "swig_ptr: ", 10);
37444 buff += 10;
37445 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
37446 methods[i].ml_doc = ndoc;
37447 }
37448 }
37449 }
37450 }
37451
37452 /* -----------------------------------------------------------------------------*
37453 * Initialize type list
37454 * -----------------------------------------------------------------------------*/
37455
37456#if PY_MAJOR_VERSION < 2
37457 /* PyModule_AddObject function was introduced in Python 2.0. The following function
37458 is copied out of Python/modsupport.c in python version 2.3.4 */
37459 static int
37460 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
37461 {
37462 PyObject *dict;
37463 if (!PyModule_Check(m)) {
37464 PyErr_SetString(PyExc_TypeError,
37465 "PyModule_AddObject() needs module as first arg");
37466 return -1;
37467 }
37468 if (!o) {
37469 PyErr_SetString(PyExc_TypeError,
37470 "PyModule_AddObject() needs non-NULL value");
37471 return -1;
37472 }
37473
37474 dict = PyModule_GetDict(m);
37475 if (dict == NULL) {
37476 /* Internal error -- modules must have a dict! */
37477 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
37478 PyModule_GetName(m));
37479 return -1;
37480 }
37481 if (PyDict_SetItemString(dict, name, o))
37482 return -1;
37483 Py_DECREF(o);
37484 return 0;
37485 }
37486#endif
37487
37488 static swig_type_info **
37489 SWIG_Python_SetTypeListHandle(swig_type_info **type_list_handle) {
37490 static PyMethodDef swig_empty_runtime_method_table[] = {
37491 {
37492 NULL, NULL, 0, NULL
37493 }
37494 };/* Sentinel */
37495
37496 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
37497 swig_empty_runtime_method_table);
37498 PyObject *pointer = PyCObject_FromVoidPtr((void *) type_list_handle, NULL);
37499 if (pointer && module) {
37500 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
37501 }
37502 return type_list_handle;
37503 }
37504
37505 static swig_type_info **
37506 SWIG_Python_LookupTypePointer(swig_type_info **type_list_handle) {
37507 swig_type_info **type_pointer;
37508
37509 /* first check if module already created */
37510 type_pointer = SWIG_Python_GetTypeListHandle();
37511 if (type_pointer) {
37512 return type_pointer;
37513 } else {
37514 /* create a new module and variable */
37515 return SWIG_Python_SetTypeListHandle(type_list_handle);
37516 }
37517 }
37518
37519#ifdef __cplusplus
37520}
37521#endif
37522
37523/* -----------------------------------------------------------------------------*
37524 * Partial Init method
37525 * -----------------------------------------------------------------------------*/
37526
37527#ifdef SWIG_LINK_RUNTIME
37528#ifdef __cplusplus
37529extern "C"
37530#endif
37531SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
37532#endif
37533
d55e5bfc
RD
37534#ifdef __cplusplus
37535extern "C"
37536#endif
37537SWIGEXPORT(void) SWIG_init(void) {
37538 static PyObject *SWIG_globals = 0;
37539 static int typeinit = 0;
37540 PyObject *m, *d;
37541 int i;
37542 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
093d3ff1
RD
37543
37544 /* Fix SwigMethods to carry the callback ptrs when needed */
37545 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_types_initial);
37546
d55e5bfc
RD
37547 m = Py_InitModule((char *) SWIG_name, SwigMethods);
37548 d = PyModule_GetDict(m);
37549
37550 if (!typeinit) {
093d3ff1
RD
37551#ifdef SWIG_LINK_RUNTIME
37552 swig_type_list_handle = (swig_type_info **) SWIG_ReturnGlobalTypeList(swig_type_list_handle);
37553#else
37554# ifndef SWIG_STATIC_RUNTIME
37555 swig_type_list_handle = SWIG_Python_LookupTypePointer(swig_type_list_handle);
37556# endif
37557#endif
d55e5bfc
RD
37558 for (i = 0; swig_types_initial[i]; i++) {
37559 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
37560 }
37561 typeinit = 1;
37562 }
37563 SWIG_InstallConstants(d,swig_const_table);
37564
37565 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
37566 SWIG_addvarlink(SWIG_globals,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get, _wrap_ButtonNameStr_set);
093d3ff1
RD
37567 {
37568 PyDict_SetItemString(d,"BU_LEFT", SWIG_From_int((int)(wxBU_LEFT)));
37569 }
37570 {
37571 PyDict_SetItemString(d,"BU_TOP", SWIG_From_int((int)(wxBU_TOP)));
37572 }
37573 {
37574 PyDict_SetItemString(d,"BU_RIGHT", SWIG_From_int((int)(wxBU_RIGHT)));
37575 }
37576 {
37577 PyDict_SetItemString(d,"BU_BOTTOM", SWIG_From_int((int)(wxBU_BOTTOM)));
37578 }
37579 {
37580 PyDict_SetItemString(d,"BU_ALIGN_MASK", SWIG_From_int((int)(wxBU_ALIGN_MASK)));
37581 }
37582 {
37583 PyDict_SetItemString(d,"BU_EXACTFIT", SWIG_From_int((int)(wxBU_EXACTFIT)));
37584 }
37585 {
37586 PyDict_SetItemString(d,"BU_AUTODRAW", SWIG_From_int((int)(wxBU_AUTODRAW)));
37587 }
d55e5bfc 37588 SWIG_addvarlink(SWIG_globals,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get, _wrap_CheckBoxNameStr_set);
093d3ff1
RD
37589 {
37590 PyDict_SetItemString(d,"CHK_2STATE", SWIG_From_int((int)(wxCHK_2STATE)));
37591 }
37592 {
37593 PyDict_SetItemString(d,"CHK_3STATE", SWIG_From_int((int)(wxCHK_3STATE)));
37594 }
37595 {
37596 PyDict_SetItemString(d,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_From_int((int)(wxCHK_ALLOW_3RD_STATE_FOR_USER)));
37597 }
37598 {
37599 PyDict_SetItemString(d,"CHK_UNCHECKED", SWIG_From_int((int)(wxCHK_UNCHECKED)));
37600 }
37601 {
37602 PyDict_SetItemString(d,"CHK_CHECKED", SWIG_From_int((int)(wxCHK_CHECKED)));
37603 }
37604 {
37605 PyDict_SetItemString(d,"CHK_UNDETERMINED", SWIG_From_int((int)(wxCHK_UNDETERMINED)));
37606 }
d55e5bfc
RD
37607 SWIG_addvarlink(SWIG_globals,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get, _wrap_ChoiceNameStr_set);
37608 SWIG_addvarlink(SWIG_globals,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get, _wrap_ComboBoxNameStr_set);
37609 SWIG_addvarlink(SWIG_globals,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get, _wrap_GaugeNameStr_set);
093d3ff1
RD
37610 {
37611 PyDict_SetItemString(d,"GA_HORIZONTAL", SWIG_From_int((int)(wxGA_HORIZONTAL)));
37612 }
37613 {
37614 PyDict_SetItemString(d,"GA_VERTICAL", SWIG_From_int((int)(wxGA_VERTICAL)));
37615 }
37616 {
37617 PyDict_SetItemString(d,"GA_SMOOTH", SWIG_From_int((int)(wxGA_SMOOTH)));
37618 }
37619 {
37620 PyDict_SetItemString(d,"GA_PROGRESSBAR", SWIG_From_int((int)(wxGA_PROGRESSBAR)));
37621 }
d55e5bfc
RD
37622 SWIG_addvarlink(SWIG_globals,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get, _wrap_StaticBitmapNameStr_set);
37623 SWIG_addvarlink(SWIG_globals,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get, _wrap_StaticBoxNameStr_set);
37624 SWIG_addvarlink(SWIG_globals,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get, _wrap_StaticTextNameStr_set);
37625 SWIG_addvarlink(SWIG_globals,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get, _wrap_ListBoxNameStr_set);
37626 SWIG_addvarlink(SWIG_globals,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get, _wrap_TextCtrlNameStr_set);
093d3ff1
RD
37627 {
37628 PyDict_SetItemString(d,"TE_NO_VSCROLL", SWIG_From_int((int)(wxTE_NO_VSCROLL)));
37629 }
37630 {
37631 PyDict_SetItemString(d,"TE_AUTO_SCROLL", SWIG_From_int((int)(wxTE_AUTO_SCROLL)));
37632 }
37633 {
37634 PyDict_SetItemString(d,"TE_READONLY", SWIG_From_int((int)(wxTE_READONLY)));
37635 }
37636 {
37637 PyDict_SetItemString(d,"TE_MULTILINE", SWIG_From_int((int)(wxTE_MULTILINE)));
37638 }
37639 {
37640 PyDict_SetItemString(d,"TE_PROCESS_TAB", SWIG_From_int((int)(wxTE_PROCESS_TAB)));
37641 }
37642 {
37643 PyDict_SetItemString(d,"TE_LEFT", SWIG_From_int((int)(wxTE_LEFT)));
37644 }
37645 {
37646 PyDict_SetItemString(d,"TE_CENTER", SWIG_From_int((int)(wxTE_CENTER)));
37647 }
37648 {
37649 PyDict_SetItemString(d,"TE_RIGHT", SWIG_From_int((int)(wxTE_RIGHT)));
37650 }
37651 {
37652 PyDict_SetItemString(d,"TE_CENTRE", SWIG_From_int((int)(wxTE_CENTRE)));
37653 }
37654 {
37655 PyDict_SetItemString(d,"TE_RICH", SWIG_From_int((int)(wxTE_RICH)));
37656 }
37657 {
37658 PyDict_SetItemString(d,"TE_PROCESS_ENTER", SWIG_From_int((int)(wxTE_PROCESS_ENTER)));
37659 }
37660 {
37661 PyDict_SetItemString(d,"TE_PASSWORD", SWIG_From_int((int)(wxTE_PASSWORD)));
37662 }
37663 {
37664 PyDict_SetItemString(d,"TE_AUTO_URL", SWIG_From_int((int)(wxTE_AUTO_URL)));
37665 }
37666 {
37667 PyDict_SetItemString(d,"TE_NOHIDESEL", SWIG_From_int((int)(wxTE_NOHIDESEL)));
37668 }
37669 {
37670 PyDict_SetItemString(d,"TE_DONTWRAP", SWIG_From_int((int)(wxTE_DONTWRAP)));
37671 }
37672 {
08d9e66e 37673 PyDict_SetItemString(d,"TE_CHARWRAP", SWIG_From_int((int)(wxTE_CHARWRAP)));
093d3ff1
RD
37674 }
37675 {
37676 PyDict_SetItemString(d,"TE_WORDWRAP", SWIG_From_int((int)(wxTE_WORDWRAP)));
37677 }
08d9e66e
RD
37678 {
37679 PyDict_SetItemString(d,"TE_BESTWRAP", SWIG_From_int((int)(wxTE_BESTWRAP)));
37680 }
37681 {
37682 PyDict_SetItemString(d,"TE_LINEWRAP", SWIG_From_int((int)(wxTE_LINEWRAP)));
37683 }
093d3ff1
RD
37684 {
37685 PyDict_SetItemString(d,"TE_RICH2", SWIG_From_int((int)(wxTE_RICH2)));
37686 }
88c6b281
RD
37687 {
37688 PyDict_SetItemString(d,"TE_CAPITALIZE", SWIG_From_int((int)(wxTE_CAPITALIZE)));
37689 }
093d3ff1
RD
37690 {
37691 PyDict_SetItemString(d,"TEXT_ALIGNMENT_DEFAULT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_DEFAULT)));
37692 }
37693 {
37694 PyDict_SetItemString(d,"TEXT_ALIGNMENT_LEFT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_LEFT)));
37695 }
37696 {
37697 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTRE", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTRE)));
37698 }
37699 {
37700 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTER", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTER)));
37701 }
37702 {
37703 PyDict_SetItemString(d,"TEXT_ALIGNMENT_RIGHT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_RIGHT)));
37704 }
37705 {
37706 PyDict_SetItemString(d,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_From_int((int)(wxTEXT_ALIGNMENT_JUSTIFIED)));
37707 }
37708 {
37709 PyDict_SetItemString(d,"TEXT_ATTR_TEXT_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_TEXT_COLOUR)));
37710 }
37711 {
37712 PyDict_SetItemString(d,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_BACKGROUND_COLOUR)));
37713 }
37714 {
37715 PyDict_SetItemString(d,"TEXT_ATTR_FONT_FACE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_FACE)));
37716 }
37717 {
37718 PyDict_SetItemString(d,"TEXT_ATTR_FONT_SIZE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_SIZE)));
37719 }
37720 {
37721 PyDict_SetItemString(d,"TEXT_ATTR_FONT_WEIGHT", SWIG_From_int((int)(wxTEXT_ATTR_FONT_WEIGHT)));
37722 }
37723 {
37724 PyDict_SetItemString(d,"TEXT_ATTR_FONT_ITALIC", SWIG_From_int((int)(wxTEXT_ATTR_FONT_ITALIC)));
37725 }
37726 {
37727 PyDict_SetItemString(d,"TEXT_ATTR_FONT_UNDERLINE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_UNDERLINE)));
37728 }
37729 {
37730 PyDict_SetItemString(d,"TEXT_ATTR_FONT", SWIG_From_int((int)(wxTEXT_ATTR_FONT)));
37731 }
37732 {
37733 PyDict_SetItemString(d,"TEXT_ATTR_ALIGNMENT", SWIG_From_int((int)(wxTEXT_ATTR_ALIGNMENT)));
37734 }
37735 {
37736 PyDict_SetItemString(d,"TEXT_ATTR_LEFT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_LEFT_INDENT)));
37737 }
37738 {
37739 PyDict_SetItemString(d,"TEXT_ATTR_RIGHT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_RIGHT_INDENT)));
37740 }
37741 {
37742 PyDict_SetItemString(d,"TEXT_ATTR_TABS", SWIG_From_int((int)(wxTEXT_ATTR_TABS)));
37743 }
37744 {
37745 PyDict_SetItemString(d,"TE_HT_UNKNOWN", SWIG_From_int((int)(wxTE_HT_UNKNOWN)));
37746 }
37747 {
37748 PyDict_SetItemString(d,"TE_HT_BEFORE", SWIG_From_int((int)(wxTE_HT_BEFORE)));
37749 }
37750 {
37751 PyDict_SetItemString(d,"TE_HT_ON_TEXT", SWIG_From_int((int)(wxTE_HT_ON_TEXT)));
37752 }
37753 {
37754 PyDict_SetItemString(d,"TE_HT_BELOW", SWIG_From_int((int)(wxTE_HT_BELOW)));
37755 }
37756 {
37757 PyDict_SetItemString(d,"TE_HT_BEYOND", SWIG_From_int((int)(wxTE_HT_BEYOND)));
37758 }
fef4c27a
RD
37759 {
37760 PyDict_SetItemString(d,"OutOfRangeTextCoord", SWIG_From_int((int)(wxOutOfRangeTextCoord)));
37761 }
37762 {
37763 PyDict_SetItemString(d,"InvalidTextCoord", SWIG_From_int((int)(wxInvalidTextCoord)));
37764 }
d55e5bfc
RD
37765 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
37766 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
37767 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
37768 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
37769 SWIG_addvarlink(SWIG_globals,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get, _wrap_ScrollBarNameStr_set);
37770 SWIG_addvarlink(SWIG_globals,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get, _wrap_SPIN_BUTTON_NAME_set);
37771 SWIG_addvarlink(SWIG_globals,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get, _wrap_SpinCtrlNameStr_set);
093d3ff1
RD
37772 {
37773 PyDict_SetItemString(d,"SP_HORIZONTAL", SWIG_From_int((int)(wxSP_HORIZONTAL)));
37774 }
37775 {
37776 PyDict_SetItemString(d,"SP_VERTICAL", SWIG_From_int((int)(wxSP_VERTICAL)));
37777 }
37778 {
37779 PyDict_SetItemString(d,"SP_ARROW_KEYS", SWIG_From_int((int)(wxSP_ARROW_KEYS)));
37780 }
37781 {
37782 PyDict_SetItemString(d,"SP_WRAP", SWIG_From_int((int)(wxSP_WRAP)));
37783 }
d55e5bfc
RD
37784 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
37785 SWIG_addvarlink(SWIG_globals,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get, _wrap_RadioBoxNameStr_set);
37786 SWIG_addvarlink(SWIG_globals,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get, _wrap_RadioButtonNameStr_set);
37787 SWIG_addvarlink(SWIG_globals,(char*)"SliderNameStr",_wrap_SliderNameStr_get, _wrap_SliderNameStr_set);
fef4c27a
RD
37788 {
37789 PyDict_SetItemString(d,"SL_HORIZONTAL", SWIG_From_int((int)(wxSL_HORIZONTAL)));
37790 }
37791 {
37792 PyDict_SetItemString(d,"SL_VERTICAL", SWIG_From_int((int)(wxSL_VERTICAL)));
37793 }
37794 {
37795 PyDict_SetItemString(d,"SL_AUTOTICKS", SWIG_From_int((int)(wxSL_AUTOTICKS)));
37796 }
37797 {
37798 PyDict_SetItemString(d,"SL_LABELS", SWIG_From_int((int)(wxSL_LABELS)));
37799 }
37800 {
37801 PyDict_SetItemString(d,"SL_LEFT", SWIG_From_int((int)(wxSL_LEFT)));
37802 }
37803 {
37804 PyDict_SetItemString(d,"SL_TOP", SWIG_From_int((int)(wxSL_TOP)));
37805 }
37806 {
37807 PyDict_SetItemString(d,"SL_RIGHT", SWIG_From_int((int)(wxSL_RIGHT)));
37808 }
37809 {
37810 PyDict_SetItemString(d,"SL_BOTTOM", SWIG_From_int((int)(wxSL_BOTTOM)));
37811 }
37812 {
37813 PyDict_SetItemString(d,"SL_BOTH", SWIG_From_int((int)(wxSL_BOTH)));
37814 }
37815 {
37816 PyDict_SetItemString(d,"SL_SELRANGE", SWIG_From_int((int)(wxSL_SELRANGE)));
37817 }
37818 {
37819 PyDict_SetItemString(d,"SL_INVERSE", SWIG_From_int((int)(wxSL_INVERSE)));
37820 }
d55e5bfc
RD
37821 SWIG_addvarlink(SWIG_globals,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get, _wrap_ToggleButtonNameStr_set);
37822 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
51b83b37 37823 SWIG_addvarlink(SWIG_globals,(char*)"NotebookNameStr",_wrap_NotebookNameStr_get, _wrap_NotebookNameStr_set);
093d3ff1
RD
37824 {
37825 PyDict_SetItemString(d,"NB_FIXEDWIDTH", SWIG_From_int((int)(wxNB_FIXEDWIDTH)));
37826 }
37827 {
37828 PyDict_SetItemString(d,"NB_TOP", SWIG_From_int((int)(wxNB_TOP)));
37829 }
37830 {
37831 PyDict_SetItemString(d,"NB_LEFT", SWIG_From_int((int)(wxNB_LEFT)));
37832 }
37833 {
37834 PyDict_SetItemString(d,"NB_RIGHT", SWIG_From_int((int)(wxNB_RIGHT)));
37835 }
37836 {
37837 PyDict_SetItemString(d,"NB_BOTTOM", SWIG_From_int((int)(wxNB_BOTTOM)));
37838 }
37839 {
37840 PyDict_SetItemString(d,"NB_MULTILINE", SWIG_From_int((int)(wxNB_MULTILINE)));
37841 }
091fdbfa
RD
37842 {
37843 PyDict_SetItemString(d,"NB_NOPAGETHEME", SWIG_From_int((int)(wxNB_NOPAGETHEME)));
37844 }
093d3ff1
RD
37845 {
37846 PyDict_SetItemString(d,"NB_HITTEST_NOWHERE", SWIG_From_int((int)(wxNB_HITTEST_NOWHERE)));
37847 }
37848 {
37849 PyDict_SetItemString(d,"NB_HITTEST_ONICON", SWIG_From_int((int)(wxNB_HITTEST_ONICON)));
37850 }
37851 {
37852 PyDict_SetItemString(d,"NB_HITTEST_ONLABEL", SWIG_From_int((int)(wxNB_HITTEST_ONLABEL)));
37853 }
37854 {
37855 PyDict_SetItemString(d,"NB_HITTEST_ONITEM", SWIG_From_int((int)(wxNB_HITTEST_ONITEM)));
37856 }
d55e5bfc
RD
37857 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
37858 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
093d3ff1
RD
37859 {
37860 PyDict_SetItemString(d,"LB_DEFAULT", SWIG_From_int((int)(wxLB_DEFAULT)));
37861 }
37862 {
37863 PyDict_SetItemString(d,"LB_TOP", SWIG_From_int((int)(wxLB_TOP)));
37864 }
37865 {
37866 PyDict_SetItemString(d,"LB_BOTTOM", SWIG_From_int((int)(wxLB_BOTTOM)));
37867 }
37868 {
37869 PyDict_SetItemString(d,"LB_LEFT", SWIG_From_int((int)(wxLB_LEFT)));
37870 }
37871 {
37872 PyDict_SetItemString(d,"LB_RIGHT", SWIG_From_int((int)(wxLB_RIGHT)));
37873 }
37874 {
37875 PyDict_SetItemString(d,"LB_ALIGN_MASK", SWIG_From_int((int)(wxLB_ALIGN_MASK)));
37876 }
d55e5bfc
RD
37877 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
37878 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
093d3ff1
RD
37879 {
37880 PyDict_SetItemString(d,"CHB_DEFAULT", SWIG_From_int((int)(wxCHB_DEFAULT)));
37881 }
37882 {
37883 PyDict_SetItemString(d,"CHB_TOP", SWIG_From_int((int)(wxCHB_TOP)));
37884 }
37885 {
37886 PyDict_SetItemString(d,"CHB_BOTTOM", SWIG_From_int((int)(wxCHB_BOTTOM)));
37887 }
37888 {
37889 PyDict_SetItemString(d,"CHB_LEFT", SWIG_From_int((int)(wxCHB_LEFT)));
37890 }
37891 {
37892 PyDict_SetItemString(d,"CHB_RIGHT", SWIG_From_int((int)(wxCHB_RIGHT)));
37893 }
37894 {
37895 PyDict_SetItemString(d,"CHB_ALIGN_MASK", SWIG_From_int((int)(wxCHB_ALIGN_MASK)));
37896 }
ae8162c8
RD
37897 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED));
37898 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING));
093d3ff1
RD
37899 {
37900 PyDict_SetItemString(d,"TOOL_STYLE_BUTTON", SWIG_From_int((int)(wxTOOL_STYLE_BUTTON)));
37901 }
37902 {
37903 PyDict_SetItemString(d,"TOOL_STYLE_SEPARATOR", SWIG_From_int((int)(wxTOOL_STYLE_SEPARATOR)));
37904 }
37905 {
37906 PyDict_SetItemString(d,"TOOL_STYLE_CONTROL", SWIG_From_int((int)(wxTOOL_STYLE_CONTROL)));
37907 }
37908 {
37909 PyDict_SetItemString(d,"TB_HORIZONTAL", SWIG_From_int((int)(wxTB_HORIZONTAL)));
37910 }
37911 {
37912 PyDict_SetItemString(d,"TB_VERTICAL", SWIG_From_int((int)(wxTB_VERTICAL)));
37913 }
37914 {
37915 PyDict_SetItemString(d,"TB_3DBUTTONS", SWIG_From_int((int)(wxTB_3DBUTTONS)));
37916 }
37917 {
37918 PyDict_SetItemString(d,"TB_FLAT", SWIG_From_int((int)(wxTB_FLAT)));
37919 }
37920 {
37921 PyDict_SetItemString(d,"TB_DOCKABLE", SWIG_From_int((int)(wxTB_DOCKABLE)));
37922 }
37923 {
37924 PyDict_SetItemString(d,"TB_NOICONS", SWIG_From_int((int)(wxTB_NOICONS)));
37925 }
37926 {
37927 PyDict_SetItemString(d,"TB_TEXT", SWIG_From_int((int)(wxTB_TEXT)));
37928 }
37929 {
37930 PyDict_SetItemString(d,"TB_NODIVIDER", SWIG_From_int((int)(wxTB_NODIVIDER)));
37931 }
37932 {
37933 PyDict_SetItemString(d,"TB_NOALIGN", SWIG_From_int((int)(wxTB_NOALIGN)));
37934 }
37935 {
37936 PyDict_SetItemString(d,"TB_HORZ_LAYOUT", SWIG_From_int((int)(wxTB_HORZ_LAYOUT)));
37937 }
37938 {
37939 PyDict_SetItemString(d,"TB_HORZ_TEXT", SWIG_From_int((int)(wxTB_HORZ_TEXT)));
37940 }
d55e5bfc 37941 SWIG_addvarlink(SWIG_globals,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get, _wrap_ListCtrlNameStr_set);
093d3ff1
RD
37942 {
37943 PyDict_SetItemString(d,"LC_VRULES", SWIG_From_int((int)(wxLC_VRULES)));
37944 }
37945 {
37946 PyDict_SetItemString(d,"LC_HRULES", SWIG_From_int((int)(wxLC_HRULES)));
37947 }
37948 {
37949 PyDict_SetItemString(d,"LC_ICON", SWIG_From_int((int)(wxLC_ICON)));
37950 }
37951 {
37952 PyDict_SetItemString(d,"LC_SMALL_ICON", SWIG_From_int((int)(wxLC_SMALL_ICON)));
37953 }
37954 {
37955 PyDict_SetItemString(d,"LC_LIST", SWIG_From_int((int)(wxLC_LIST)));
37956 }
37957 {
37958 PyDict_SetItemString(d,"LC_REPORT", SWIG_From_int((int)(wxLC_REPORT)));
37959 }
37960 {
37961 PyDict_SetItemString(d,"LC_ALIGN_TOP", SWIG_From_int((int)(wxLC_ALIGN_TOP)));
37962 }
37963 {
37964 PyDict_SetItemString(d,"LC_ALIGN_LEFT", SWIG_From_int((int)(wxLC_ALIGN_LEFT)));
37965 }
37966 {
37967 PyDict_SetItemString(d,"LC_AUTOARRANGE", SWIG_From_int((int)(wxLC_AUTOARRANGE)));
37968 }
37969 {
37970 PyDict_SetItemString(d,"LC_VIRTUAL", SWIG_From_int((int)(wxLC_VIRTUAL)));
37971 }
37972 {
37973 PyDict_SetItemString(d,"LC_EDIT_LABELS", SWIG_From_int((int)(wxLC_EDIT_LABELS)));
37974 }
37975 {
37976 PyDict_SetItemString(d,"LC_NO_HEADER", SWIG_From_int((int)(wxLC_NO_HEADER)));
37977 }
37978 {
37979 PyDict_SetItemString(d,"LC_NO_SORT_HEADER", SWIG_From_int((int)(wxLC_NO_SORT_HEADER)));
37980 }
37981 {
37982 PyDict_SetItemString(d,"LC_SINGLE_SEL", SWIG_From_int((int)(wxLC_SINGLE_SEL)));
37983 }
37984 {
37985 PyDict_SetItemString(d,"LC_SORT_ASCENDING", SWIG_From_int((int)(wxLC_SORT_ASCENDING)));
37986 }
37987 {
37988 PyDict_SetItemString(d,"LC_SORT_DESCENDING", SWIG_From_int((int)(wxLC_SORT_DESCENDING)));
37989 }
37990 {
37991 PyDict_SetItemString(d,"LC_MASK_TYPE", SWIG_From_int((int)(wxLC_MASK_TYPE)));
37992 }
37993 {
37994 PyDict_SetItemString(d,"LC_MASK_ALIGN", SWIG_From_int((int)(wxLC_MASK_ALIGN)));
37995 }
37996 {
37997 PyDict_SetItemString(d,"LC_MASK_SORT", SWIG_From_int((int)(wxLC_MASK_SORT)));
37998 }
37999 {
38000 PyDict_SetItemString(d,"LIST_MASK_STATE", SWIG_From_int((int)(wxLIST_MASK_STATE)));
38001 }
38002 {
38003 PyDict_SetItemString(d,"LIST_MASK_TEXT", SWIG_From_int((int)(wxLIST_MASK_TEXT)));
38004 }
38005 {
38006 PyDict_SetItemString(d,"LIST_MASK_IMAGE", SWIG_From_int((int)(wxLIST_MASK_IMAGE)));
38007 }
38008 {
38009 PyDict_SetItemString(d,"LIST_MASK_DATA", SWIG_From_int((int)(wxLIST_MASK_DATA)));
38010 }
38011 {
38012 PyDict_SetItemString(d,"LIST_SET_ITEM", SWIG_From_int((int)(wxLIST_SET_ITEM)));
38013 }
38014 {
38015 PyDict_SetItemString(d,"LIST_MASK_WIDTH", SWIG_From_int((int)(wxLIST_MASK_WIDTH)));
38016 }
38017 {
38018 PyDict_SetItemString(d,"LIST_MASK_FORMAT", SWIG_From_int((int)(wxLIST_MASK_FORMAT)));
38019 }
38020 {
38021 PyDict_SetItemString(d,"LIST_STATE_DONTCARE", SWIG_From_int((int)(wxLIST_STATE_DONTCARE)));
38022 }
38023 {
38024 PyDict_SetItemString(d,"LIST_STATE_DROPHILITED", SWIG_From_int((int)(wxLIST_STATE_DROPHILITED)));
38025 }
38026 {
38027 PyDict_SetItemString(d,"LIST_STATE_FOCUSED", SWIG_From_int((int)(wxLIST_STATE_FOCUSED)));
38028 }
38029 {
38030 PyDict_SetItemString(d,"LIST_STATE_SELECTED", SWIG_From_int((int)(wxLIST_STATE_SELECTED)));
38031 }
38032 {
38033 PyDict_SetItemString(d,"LIST_STATE_CUT", SWIG_From_int((int)(wxLIST_STATE_CUT)));
38034 }
38035 {
38036 PyDict_SetItemString(d,"LIST_STATE_DISABLED", SWIG_From_int((int)(wxLIST_STATE_DISABLED)));
38037 }
38038 {
38039 PyDict_SetItemString(d,"LIST_STATE_FILTERED", SWIG_From_int((int)(wxLIST_STATE_FILTERED)));
38040 }
38041 {
38042 PyDict_SetItemString(d,"LIST_STATE_INUSE", SWIG_From_int((int)(wxLIST_STATE_INUSE)));
38043 }
38044 {
38045 PyDict_SetItemString(d,"LIST_STATE_PICKED", SWIG_From_int((int)(wxLIST_STATE_PICKED)));
38046 }
38047 {
38048 PyDict_SetItemString(d,"LIST_STATE_SOURCE", SWIG_From_int((int)(wxLIST_STATE_SOURCE)));
38049 }
38050 {
38051 PyDict_SetItemString(d,"LIST_HITTEST_ABOVE", SWIG_From_int((int)(wxLIST_HITTEST_ABOVE)));
38052 }
38053 {
38054 PyDict_SetItemString(d,"LIST_HITTEST_BELOW", SWIG_From_int((int)(wxLIST_HITTEST_BELOW)));
38055 }
38056 {
38057 PyDict_SetItemString(d,"LIST_HITTEST_NOWHERE", SWIG_From_int((int)(wxLIST_HITTEST_NOWHERE)));
38058 }
38059 {
38060 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMICON)));
38061 }
38062 {
38063 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMLABEL)));
38064 }
38065 {
38066 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMRIGHT)));
38067 }
38068 {
38069 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMSTATEICON)));
38070 }
38071 {
38072 PyDict_SetItemString(d,"LIST_HITTEST_TOLEFT", SWIG_From_int((int)(wxLIST_HITTEST_TOLEFT)));
38073 }
38074 {
38075 PyDict_SetItemString(d,"LIST_HITTEST_TORIGHT", SWIG_From_int((int)(wxLIST_HITTEST_TORIGHT)));
38076 }
38077 {
38078 PyDict_SetItemString(d,"LIST_HITTEST_ONITEM", SWIG_From_int((int)(wxLIST_HITTEST_ONITEM)));
38079 }
38080 {
38081 PyDict_SetItemString(d,"LIST_NEXT_ABOVE", SWIG_From_int((int)(wxLIST_NEXT_ABOVE)));
38082 }
38083 {
38084 PyDict_SetItemString(d,"LIST_NEXT_ALL", SWIG_From_int((int)(wxLIST_NEXT_ALL)));
38085 }
38086 {
38087 PyDict_SetItemString(d,"LIST_NEXT_BELOW", SWIG_From_int((int)(wxLIST_NEXT_BELOW)));
38088 }
38089 {
38090 PyDict_SetItemString(d,"LIST_NEXT_LEFT", SWIG_From_int((int)(wxLIST_NEXT_LEFT)));
38091 }
38092 {
38093 PyDict_SetItemString(d,"LIST_NEXT_RIGHT", SWIG_From_int((int)(wxLIST_NEXT_RIGHT)));
38094 }
38095 {
38096 PyDict_SetItemString(d,"LIST_ALIGN_DEFAULT", SWIG_From_int((int)(wxLIST_ALIGN_DEFAULT)));
38097 }
38098 {
38099 PyDict_SetItemString(d,"LIST_ALIGN_LEFT", SWIG_From_int((int)(wxLIST_ALIGN_LEFT)));
38100 }
38101 {
38102 PyDict_SetItemString(d,"LIST_ALIGN_TOP", SWIG_From_int((int)(wxLIST_ALIGN_TOP)));
38103 }
38104 {
38105 PyDict_SetItemString(d,"LIST_ALIGN_SNAP_TO_GRID", SWIG_From_int((int)(wxLIST_ALIGN_SNAP_TO_GRID)));
38106 }
38107 {
38108 PyDict_SetItemString(d,"LIST_FORMAT_LEFT", SWIG_From_int((int)(wxLIST_FORMAT_LEFT)));
38109 }
38110 {
38111 PyDict_SetItemString(d,"LIST_FORMAT_RIGHT", SWIG_From_int((int)(wxLIST_FORMAT_RIGHT)));
38112 }
38113 {
38114 PyDict_SetItemString(d,"LIST_FORMAT_CENTRE", SWIG_From_int((int)(wxLIST_FORMAT_CENTRE)));
38115 }
38116 {
38117 PyDict_SetItemString(d,"LIST_FORMAT_CENTER", SWIG_From_int((int)(wxLIST_FORMAT_CENTER)));
38118 }
38119 {
38120 PyDict_SetItemString(d,"LIST_AUTOSIZE", SWIG_From_int((int)(wxLIST_AUTOSIZE)));
38121 }
38122 {
38123 PyDict_SetItemString(d,"LIST_AUTOSIZE_USEHEADER", SWIG_From_int((int)(wxLIST_AUTOSIZE_USEHEADER)));
38124 }
38125 {
38126 PyDict_SetItemString(d,"LIST_RECT_BOUNDS", SWIG_From_int((int)(wxLIST_RECT_BOUNDS)));
38127 }
38128 {
38129 PyDict_SetItemString(d,"LIST_RECT_ICON", SWIG_From_int((int)(wxLIST_RECT_ICON)));
38130 }
38131 {
38132 PyDict_SetItemString(d,"LIST_RECT_LABEL", SWIG_From_int((int)(wxLIST_RECT_LABEL)));
38133 }
38134 {
38135 PyDict_SetItemString(d,"LIST_FIND_UP", SWIG_From_int((int)(wxLIST_FIND_UP)));
38136 }
38137 {
38138 PyDict_SetItemString(d,"LIST_FIND_DOWN", SWIG_From_int((int)(wxLIST_FIND_DOWN)));
38139 }
38140 {
38141 PyDict_SetItemString(d,"LIST_FIND_LEFT", SWIG_From_int((int)(wxLIST_FIND_LEFT)));
38142 }
38143 {
38144 PyDict_SetItemString(d,"LIST_FIND_RIGHT", SWIG_From_int((int)(wxLIST_FIND_RIGHT)));
38145 }
d55e5bfc
RD
38146 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
38147 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
38148 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
38149 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
38150 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
38151 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
d55e5bfc
RD
38152 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
38153 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
38154 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
38155 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
38156 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
38157 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
38158 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
38159 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
38160 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
38161 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
38162 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
38163 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
38164 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
38165 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
fef4c27a
RD
38166 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO));
38167 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO));
d55e5bfc
RD
38168
38169 // Map renamed classes back to their common name for OOR
38170 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
38171
38172 SWIG_addvarlink(SWIG_globals,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get, _wrap_TreeCtrlNameStr_set);
093d3ff1
RD
38173 {
38174 PyDict_SetItemString(d,"TR_NO_BUTTONS", SWIG_From_int((int)(wxTR_NO_BUTTONS)));
38175 }
38176 {
38177 PyDict_SetItemString(d,"TR_HAS_BUTTONS", SWIG_From_int((int)(wxTR_HAS_BUTTONS)));
38178 }
38179 {
38180 PyDict_SetItemString(d,"TR_NO_LINES", SWIG_From_int((int)(wxTR_NO_LINES)));
38181 }
38182 {
38183 PyDict_SetItemString(d,"TR_LINES_AT_ROOT", SWIG_From_int((int)(wxTR_LINES_AT_ROOT)));
38184 }
38185 {
38186 PyDict_SetItemString(d,"TR_SINGLE", SWIG_From_int((int)(wxTR_SINGLE)));
38187 }
38188 {
38189 PyDict_SetItemString(d,"TR_MULTIPLE", SWIG_From_int((int)(wxTR_MULTIPLE)));
38190 }
38191 {
38192 PyDict_SetItemString(d,"TR_EXTENDED", SWIG_From_int((int)(wxTR_EXTENDED)));
38193 }
38194 {
38195 PyDict_SetItemString(d,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_From_int((int)(wxTR_HAS_VARIABLE_ROW_HEIGHT)));
38196 }
38197 {
38198 PyDict_SetItemString(d,"TR_EDIT_LABELS", SWIG_From_int((int)(wxTR_EDIT_LABELS)));
38199 }
38200 {
38201 PyDict_SetItemString(d,"TR_HIDE_ROOT", SWIG_From_int((int)(wxTR_HIDE_ROOT)));
38202 }
38203 {
38204 PyDict_SetItemString(d,"TR_ROW_LINES", SWIG_From_int((int)(wxTR_ROW_LINES)));
38205 }
38206 {
38207 PyDict_SetItemString(d,"TR_FULL_ROW_HIGHLIGHT", SWIG_From_int((int)(wxTR_FULL_ROW_HIGHLIGHT)));
38208 }
38209 {
38210 PyDict_SetItemString(d,"TR_DEFAULT_STYLE", SWIG_From_int((int)(wxTR_DEFAULT_STYLE)));
38211 }
38212 {
38213 PyDict_SetItemString(d,"TR_TWIST_BUTTONS", SWIG_From_int((int)(wxTR_TWIST_BUTTONS)));
38214 }
38215 {
38216 PyDict_SetItemString(d,"TR_MAC_BUTTONS", SWIG_From_int((int)(wxTR_MAC_BUTTONS)));
38217 }
38218 {
38219 PyDict_SetItemString(d,"TR_AQUA_BUTTONS", SWIG_From_int((int)(wxTR_AQUA_BUTTONS)));
38220 }
38221 {
38222 PyDict_SetItemString(d,"TreeItemIcon_Normal", SWIG_From_int((int)(wxTreeItemIcon_Normal)));
38223 }
38224 {
38225 PyDict_SetItemString(d,"TreeItemIcon_Selected", SWIG_From_int((int)(wxTreeItemIcon_Selected)));
38226 }
38227 {
38228 PyDict_SetItemString(d,"TreeItemIcon_Expanded", SWIG_From_int((int)(wxTreeItemIcon_Expanded)));
38229 }
38230 {
38231 PyDict_SetItemString(d,"TreeItemIcon_SelectedExpanded", SWIG_From_int((int)(wxTreeItemIcon_SelectedExpanded)));
38232 }
38233 {
38234 PyDict_SetItemString(d,"TreeItemIcon_Max", SWIG_From_int((int)(wxTreeItemIcon_Max)));
38235 }
38236 {
38237 PyDict_SetItemString(d,"TREE_HITTEST_ABOVE", SWIG_From_int((int)(wxTREE_HITTEST_ABOVE)));
38238 }
38239 {
38240 PyDict_SetItemString(d,"TREE_HITTEST_BELOW", SWIG_From_int((int)(wxTREE_HITTEST_BELOW)));
38241 }
38242 {
38243 PyDict_SetItemString(d,"TREE_HITTEST_NOWHERE", SWIG_From_int((int)(wxTREE_HITTEST_NOWHERE)));
38244 }
38245 {
38246 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMBUTTON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMBUTTON)));
38247 }
38248 {
38249 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMICON)));
38250 }
38251 {
38252 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMINDENT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMINDENT)));
38253 }
38254 {
38255 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLABEL)));
38256 }
38257 {
38258 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMRIGHT)));
38259 }
38260 {
38261 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMSTATEICON)));
38262 }
38263 {
38264 PyDict_SetItemString(d,"TREE_HITTEST_TOLEFT", SWIG_From_int((int)(wxTREE_HITTEST_TOLEFT)));
38265 }
38266 {
38267 PyDict_SetItemString(d,"TREE_HITTEST_TORIGHT", SWIG_From_int((int)(wxTREE_HITTEST_TORIGHT)));
38268 }
38269 {
38270 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMUPPERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMUPPERPART)));
38271 }
38272 {
38273 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLOWERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLOWERPART)));
38274 }
38275 {
38276 PyDict_SetItemString(d,"TREE_HITTEST_ONITEM", SWIG_From_int((int)(wxTREE_HITTEST_ONITEM)));
38277 }
d55e5bfc
RD
38278 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
38279 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
38280 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
38281 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
38282 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
38283 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
38284 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
38285 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
38286 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
38287 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
38288 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
38289 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
38290 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
38291 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
38292 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
38293 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
38294 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
38295 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
38296 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
38297 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
62d32a5f 38298 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU));
d55e5bfc
RD
38299
38300 // Map renamed classes back to their common name for OOR
38301 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
38302 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
38303
38304 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get, _wrap_DirDialogDefaultFolderStr_set);
093d3ff1
RD
38305 {
38306 PyDict_SetItemString(d,"DIRCTRL_DIR_ONLY", SWIG_From_int((int)(wxDIRCTRL_DIR_ONLY)));
38307 }
38308 {
38309 PyDict_SetItemString(d,"DIRCTRL_SELECT_FIRST", SWIG_From_int((int)(wxDIRCTRL_SELECT_FIRST)));
38310 }
38311 {
38312 PyDict_SetItemString(d,"DIRCTRL_SHOW_FILTERS", SWIG_From_int((int)(wxDIRCTRL_SHOW_FILTERS)));
38313 }
38314 {
38315 PyDict_SetItemString(d,"DIRCTRL_3D_INTERNAL", SWIG_From_int((int)(wxDIRCTRL_3D_INTERNAL)));
38316 }
38317 {
38318 PyDict_SetItemString(d,"DIRCTRL_EDIT_LABELS", SWIG_From_int((int)(wxDIRCTRL_EDIT_LABELS)));
38319 }
38320 {
38321 PyDict_SetItemString(d,"FRAME_EX_CONTEXTHELP", SWIG_From_int((int)(wxFRAME_EX_CONTEXTHELP)));
38322 }
38323 {
38324 PyDict_SetItemString(d,"DIALOG_EX_CONTEXTHELP", SWIG_From_int((int)(wxDIALOG_EX_CONTEXTHELP)));
38325 }
d55e5bfc
RD
38326 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
38327 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
38328
38329 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
38330
53aa7709
RD
38331 SWIG_addvarlink(SWIG_globals,(char*)"DatePickerCtrlNameStr",_wrap_DatePickerCtrlNameStr_get, _wrap_DatePickerCtrlNameStr_set);
38332 {
38333 PyDict_SetItemString(d,"DP_DEFAULT", SWIG_From_int((int)(wxDP_DEFAULT)));
38334 }
38335 {
38336 PyDict_SetItemString(d,"DP_SPIN", SWIG_From_int((int)(wxDP_SPIN)));
38337 }
38338 {
38339 PyDict_SetItemString(d,"DP_DROPDOWN", SWIG_From_int((int)(wxDP_DROPDOWN)));
38340 }
38341 {
38342 PyDict_SetItemString(d,"DP_SHOWCENTURY", SWIG_From_int((int)(wxDP_SHOWCENTURY)));
38343 }
38344 {
38345 PyDict_SetItemString(d,"DP_ALLOWNONE", SWIG_From_int((int)(wxDP_ALLOWNONE)));
38346 }
d55e5bfc
RD
38347}
38348