]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/_controls_wrap.cpp
Get/SetTitle only for wxTopLevelWindow (wxMGL part).
[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 }
66af7a75
RD
1040 if (str)
1041 Py_DECREF(str);
093d3ff1
RD
1042 return;
1043 }
1044 }
1045 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
1046 } else {
1047 PyErr_Format(PyExc_TypeError, "unexpected type is received");
1048 }
1049}
1050
1051SWIGRUNTIMEINLINE void
1052SWIG_Python_NullRef(const char *type)
1053{
1054 if (type) {
1055 PyErr_Format(PyExc_TypeError, "null reference of type '%s' was received",type);
1056 } else {
1057 PyErr_Format(PyExc_TypeError, "null reference was received");
1058 }
1059}
1060
1061SWIGRUNTIME int
1062SWIG_Python_AddErrMesg(const char* mesg, int infront)
1063{
1064 if (PyErr_Occurred()) {
1065 PyObject *type = 0;
1066 PyObject *value = 0;
1067 PyObject *traceback = 0;
1068 PyErr_Fetch(&type, &value, &traceback);
1069 if (value) {
1070 PyObject *old_str = PyObject_Str(value);
1071 Py_XINCREF(type);
1072 PyErr_Clear();
1073 if (infront) {
1074 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
1075 } else {
1076 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
1077 }
1078 Py_DECREF(old_str);
1079 }
1080 return 1;
1081 } else {
1082 return 0;
1083 }
1084}
1085
1086SWIGRUNTIME int
1087SWIG_Python_ArgFail(int argnum)
1088{
1089 if (PyErr_Occurred()) {
1090 /* add information about failing argument */
1091 char mesg[256];
1092 sprintf(mesg, "argument number %d:", argnum);
1093 return SWIG_Python_AddErrMesg(mesg, 1);
1094 } else {
1095 return 0;
1096 }
1097}
1098
1099
1100/* -----------------------------------------------------------------------------
1101 * pointers/data manipulation
1102 * ----------------------------------------------------------------------------- */
1103
1104/* Convert a pointer value */
1105SWIGRUNTIME int
1106SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) {
1107 swig_type_info *tc;
1108 const char *c = 0;
1109 static PyObject *SWIG_this = 0;
1110 int newref = 0;
1111 PyObject *pyobj = 0;
1112 void *vptr;
1113
1114 if (!obj) return 0;
1115 if (obj == Py_None) {
1116 *ptr = 0;
1117 return 0;
1118 }
1119
1120#ifdef SWIG_COBJECT_TYPES
1121 if (!(PySwigObject_Check(obj))) {
1122 if (!SWIG_this)
1123 SWIG_this = PyString_FromString("this");
1124 pyobj = obj;
1125 obj = PyObject_GetAttr(obj,SWIG_this);
1126 newref = 1;
1127 if (!obj) goto type_error;
1128 if (!PySwigObject_Check(obj)) {
1129 Py_DECREF(obj);
1130 goto type_error;
1131 }
1132 }
1133 vptr = PySwigObject_AsVoidPtr(obj);
1134 c = (const char *) PySwigObject_GetDesc(obj);
1135 if (newref) { Py_DECREF(obj); }
1136 goto type_check;
1137#else
1138 if (!(PyString_Check(obj))) {
1139 if (!SWIG_this)
1140 SWIG_this = PyString_FromString("this");
1141 pyobj = obj;
1142 obj = PyObject_GetAttr(obj,SWIG_this);
1143 newref = 1;
1144 if (!obj) goto type_error;
1145 if (!PyString_Check(obj)) {
1146 Py_DECREF(obj);
1147 goto type_error;
1148 }
1149 }
1150 c = PyString_AS_STRING(obj);
1151 /* Pointer values must start with leading underscore */
1152 c = SWIG_UnpackVoidPtr(c, &vptr, ty->name);
1153 if (newref) { Py_DECREF(obj); }
1154 if (!c) goto type_error;
1155#endif
1156
1157type_check:
1158
1159 if (ty) {
1160 tc = SWIG_TypeCheck(c,ty);
1161 if (!tc) goto type_error;
1162 *ptr = SWIG_TypeCast(tc,vptr);
1163 } else {
1164 *ptr = vptr;
1165 }
1166
1167 if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) {
1168 PyObject_SetAttrString(pyobj,(char*)"thisown",Py_False);
1169 }
1170 return 0;
1171
1172type_error:
1173 PyErr_Clear();
1174 if (pyobj && !obj) {
1175 obj = pyobj;
1176 if (PyCFunction_Check(obj)) {
1177 /* here we get the method pointer for callbacks */
1178 char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
1179 c = doc ? strstr(doc, "swig_ptr: ") : 0;
1180 if (c) {
1181 c = SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name);
1182 if (!c) goto type_error;
1183 goto type_check;
1184 }
1185 }
1186 }
1187 if (flags & SWIG_POINTER_EXCEPTION) {
1188 if (ty) {
1189 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1190 } else {
1191 SWIG_Python_TypeError("C/C++ pointer", obj);
1192 }
1193 }
1194 return -1;
1195}
1196
1197/* Convert a pointer value, signal an exception on a type mismatch */
1198SWIGRUNTIME void *
1199SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
1200 void *result;
1201 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
1202 PyErr_Clear();
1203 if (flags & SWIG_POINTER_EXCEPTION) {
1204 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1205 SWIG_Python_ArgFail(argnum);
1206 }
1207 }
1208 return result;
1209}
1210
1211/* Convert a packed value value */
1212SWIGRUNTIME int
1213SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty, int flags) {
1214 swig_type_info *tc;
1215 const char *c = 0;
1216
1217#if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1218 c = PySwigPacked_UnpackData(obj, ptr, sz);
1219#else
1220 if ((!obj) || (!PyString_Check(obj))) goto type_error;
1221 c = PyString_AS_STRING(obj);
1222 /* Pointer values must start with leading underscore */
1223 c = SWIG_UnpackDataName(c, ptr, sz, ty->name);
1224#endif
1225 if (!c) goto type_error;
1226 if (ty) {
1227 tc = SWIG_TypeCheck(c,ty);
1228 if (!tc) goto type_error;
1229 }
1230 return 0;
1231
1232type_error:
1233 PyErr_Clear();
1234 if (flags & SWIG_POINTER_EXCEPTION) {
1235 if (ty) {
1236 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1237 } else {
1238 SWIG_Python_TypeError("C/C++ packed data", obj);
1239 }
1240 }
1241 return -1;
1242}
1243
1244/* Create a new array object */
1245SWIGRUNTIME PyObject *
1246SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int own) {
1247 PyObject *robj = 0;
1248 if (!ptr) {
1249 Py_INCREF(Py_None);
1250 return Py_None;
1251 }
1252#ifdef SWIG_COBJECT_TYPES
1253 robj = PySwigObject_FromVoidPtrAndDesc((void *) ptr, (char *)type->name);
1254#else
1255 {
1256 char result[SWIG_BUFFER_SIZE];
1257 robj = SWIG_PackVoidPtr(result, ptr, type->name, sizeof(result)) ?
1258 PyString_FromString(result) : 0;
1259 }
1260#endif
1261 if (!robj || (robj == Py_None)) return robj;
1262 if (type->clientdata) {
1263 PyObject *inst;
1264 PyObject *args = Py_BuildValue((char*)"(O)", robj);
1265 Py_DECREF(robj);
1266 inst = PyObject_CallObject((PyObject *) type->clientdata, args);
1267 Py_DECREF(args);
1268 if (inst) {
1269 if (own) {
1270 PyObject_SetAttrString(inst,(char*)"thisown",Py_True);
1271 }
1272 robj = inst;
1273 }
1274 }
1275 return robj;
1276}
1277
1278SWIGRUNTIME PyObject *
1279SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
1280 PyObject *robj = 0;
1281 if (!ptr) {
1282 Py_INCREF(Py_None);
1283 return Py_None;
1284 }
1285#if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1286 robj = PySwigPacked_FromDataAndDesc((void *) ptr, sz, (char *)type->name);
1287#else
1288 {
1289 char result[SWIG_BUFFER_SIZE];
1290 robj = SWIG_PackDataName(result, ptr, sz, type->name, sizeof(result)) ?
1291 PyString_FromString(result) : 0;
1292 }
1293#endif
1294 return robj;
1295}
1296
1297/* -----------------------------------------------------------------------------*
1298 * Get type list
1299 * -----------------------------------------------------------------------------*/
1300
1301#ifdef SWIG_LINK_RUNTIME
1302void *SWIG_ReturnGlobalTypeList(void *);
1303#endif
1304
1305SWIGRUNTIME swig_type_info **
1306SWIG_Python_GetTypeListHandle() {
1307 static void *type_pointer = (void *)0;
1308 /* first check if module already created */
1309 if (!type_pointer) {
1310#ifdef SWIG_LINK_RUNTIME
1311 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
1312#else
1313 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
1314 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
1315 if (PyErr_Occurred()) {
1316 PyErr_Clear();
1317 type_pointer = (void *)0;
1318 }
1319 }
1320#endif
1321 return (swig_type_info **) type_pointer;
1322}
1323
1324/*
1325 Search for a swig_type_info structure
1326 */
1327SWIGRUNTIMEINLINE swig_type_info *
1328SWIG_Python_GetTypeList() {
1329 swig_type_info **tlh = SWIG_Python_GetTypeListHandle();
1330 return tlh ? *tlh : (swig_type_info*)0;
1331}
1332
1333#define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1334
1335#ifdef __cplusplus
1336}
1337#endif
1338
1339
1340/* -------- TYPES TABLE (BEGIN) -------- */
1341
1342#define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
1343#define SWIGTYPE_p_wxSizer swig_types[1]
1344#define SWIGTYPE_p_wxCheckBox swig_types[2]
1345#define SWIGTYPE_p_wxPyTreeCtrl swig_types[3]
1346#define SWIGTYPE_p_wxEvent swig_types[4]
1347#define SWIGTYPE_p_wxGenericDirCtrl swig_types[5]
1348#define SWIGTYPE_p_bool swig_types[6]
1349#define SWIGTYPE_p_wxItemContainer swig_types[7]
1350#define SWIGTYPE_p_wxPyListCtrl swig_types[8]
1351#define SWIGTYPE_p_wxPyTreeItemData swig_types[9]
1352#define SWIGTYPE_p_wxDirFilterListCtrl swig_types[10]
1353#define SWIGTYPE_p_wxStaticLine swig_types[11]
1354#define SWIGTYPE_p_wxControl swig_types[12]
1355#define SWIGTYPE_p_wxPyControl swig_types[13]
1356#define SWIGTYPE_p_wxGauge swig_types[14]
1357#define SWIGTYPE_p_wxToolBarBase swig_types[15]
1358#define SWIGTYPE_p_wxFont swig_types[16]
1359#define SWIGTYPE_p_wxToggleButton swig_types[17]
1360#define SWIGTYPE_p_wxRadioButton swig_types[18]
1361#define SWIGTYPE_p_wxChoice swig_types[19]
1362#define SWIGTYPE_p_wxMemoryDC swig_types[20]
1363#define SWIGTYPE_ptrdiff_t swig_types[21]
1364#define SWIGTYPE_std__ptrdiff_t swig_types[22]
1365#define SWIGTYPE_p_wxListItemAttr swig_types[23]
1366#define SWIGTYPE_p_void swig_types[24]
1367#define SWIGTYPE_p_int swig_types[25]
1368#define SWIGTYPE_p_wxSize swig_types[26]
1369#define SWIGTYPE_p_wxDC swig_types[27]
1370#define SWIGTYPE_p_wxListView swig_types[28]
1371#define SWIGTYPE_p_wxIcon swig_types[29]
1372#define SWIGTYPE_p_wxVisualAttributes swig_types[30]
1373#define SWIGTYPE_p_wxTextCtrl swig_types[31]
1374#define SWIGTYPE_p_wxNotebook swig_types[32]
1375#define SWIGTYPE_p_wxChoicebook swig_types[33]
1376#define SWIGTYPE_p_wxNotifyEvent swig_types[34]
1377#define SWIGTYPE_p_wxArrayString swig_types[35]
1378#define SWIGTYPE_p_form_ops_t swig_types[36]
1379#define SWIGTYPE_p_wxListbook swig_types[37]
1380#define SWIGTYPE_p_wxStaticBitmap swig_types[38]
1381#define SWIGTYPE_p_wxSlider swig_types[39]
1382#define SWIGTYPE_p_wxStaticBox swig_types[40]
1383#define SWIGTYPE_p_wxArrayInt swig_types[41]
1384#define SWIGTYPE_p_wxContextHelp swig_types[42]
1385#define SWIGTYPE_p_long swig_types[43]
1386#define SWIGTYPE_p_wxDuplexMode swig_types[44]
1387#define SWIGTYPE_p_wxBookCtrlBase swig_types[45]
1388#define SWIGTYPE_p_wxEvtHandler swig_types[46]
1389#define SWIGTYPE_p_wxListEvent swig_types[47]
1390#define SWIGTYPE_p_wxCheckListBox swig_types[48]
1391#define SWIGTYPE_p_wxListBox swig_types[49]
1392#define SWIGTYPE_p_wxSpinButton swig_types[50]
1393#define SWIGTYPE_p_wxButton swig_types[51]
1394#define SWIGTYPE_p_wxBitmapButton swig_types[52]
1395#define SWIGTYPE_p_wxRect swig_types[53]
1396#define SWIGTYPE_p_wxContextHelpButton swig_types[54]
1397#define SWIGTYPE_p_wxRadioBox swig_types[55]
1398#define SWIGTYPE_p_wxScrollBar swig_types[56]
1399#define SWIGTYPE_p_char swig_types[57]
1400#define SWIGTYPE_p_wxComboBox swig_types[58]
1401#define SWIGTYPE_p_wxTreeItemId swig_types[59]
1402#define SWIGTYPE_p_wxHelpEvent swig_types[60]
1403#define SWIGTYPE_p_wxListItem swig_types[61]
1404#define SWIGTYPE_p_wxNotebookSizer swig_types[62]
1405#define SWIGTYPE_p_wxSpinEvent swig_types[63]
1406#define SWIGTYPE_p_wxGenericDragImage swig_types[64]
1407#define SWIGTYPE_p_wxSpinCtrl swig_types[65]
1408#define SWIGTYPE_p_wxPaperSize swig_types[66]
1409#define SWIGTYPE_p_wxImageList swig_types[67]
1410#define SWIGTYPE_p_wxHelpProvider swig_types[68]
1411#define SWIGTYPE_p_wxTextAttr swig_types[69]
1412#define SWIGTYPE_p_wxSimpleHelpProvider swig_types[70]
1413#define SWIGTYPE_p_wxChoicebookEvent swig_types[71]
1414#define SWIGTYPE_p_wxListbookEvent swig_types[72]
1415#define SWIGTYPE_p_wxNotebookEvent swig_types[73]
1416#define SWIGTYPE_p_wxPoint swig_types[74]
1417#define SWIGTYPE_p_wxObject swig_types[75]
1418#define SWIGTYPE_p_wxCursor swig_types[76]
53aa7709
RD
1419#define SWIGTYPE_p_wxDateTime swig_types[77]
1420#define SWIGTYPE_p_wxKeyEvent swig_types[78]
1421#define SWIGTYPE_p_unsigned_long swig_types[79]
1422#define SWIGTYPE_p_wxWindow swig_types[80]
1423#define SWIGTYPE_p_wxString swig_types[81]
1424#define SWIGTYPE_p_wxBitmap swig_types[82]
1425#define SWIGTYPE_unsigned_int swig_types[83]
1426#define SWIGTYPE_p_unsigned_int swig_types[84]
1427#define SWIGTYPE_p_unsigned_char swig_types[85]
1428#define SWIGTYPE_p_wxMouseEvent swig_types[86]
1429#define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[87]
1430#define SWIGTYPE_p_wxTreeEvent swig_types[88]
1431#define SWIGTYPE_p_wxCommandEvent swig_types[89]
1432#define SWIGTYPE_p_wxStaticText swig_types[90]
1433#define SWIGTYPE_p_wxDatePickerCtrl swig_types[91]
1434#define SWIGTYPE_p_wxControlWithItems swig_types[92]
1435#define SWIGTYPE_p_wxToolBarToolBase swig_types[93]
1436#define SWIGTYPE_p_wxColour swig_types[94]
1437#define SWIGTYPE_p_wxToolBar swig_types[95]
1438#define SWIGTYPE_p_wxBookCtrlSizer swig_types[96]
1439#define SWIGTYPE_p_wxValidator swig_types[97]
1440static swig_type_info *swig_types[99];
093d3ff1
RD
1441
1442/* -------- TYPES TABLE (END) -------- */
1443
1444
1445/*-----------------------------------------------
1446 @(target):= _controls_.so
1447 ------------------------------------------------*/
1448#define SWIG_init init_controls_
1449
1450#define SWIG_name "_controls_"
1451
1452#include "wx/wxPython/wxPython.h"
1453#include "wx/wxPython/pyclasses.h"
1454
1455 static const wxString wxPyPanelNameStr(wxPanelNameStr);
1456 static const wxString wxPyEmptyString(wxEmptyString);
1457 static const wxString wxPyControlNameStr(wxControlNameStr);
1458
1459 const wxArrayString wxPyEmptyStringArray;
1460
1461 static const wxString wxPyButtonNameStr(wxButtonNameStr);
1462
1463 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1464#define SWIG_From_int PyInt_FromLong
1465/*@@*/
1466
1467
1468#include <limits.h>
1469
1470
1471SWIGINTERN int
1472 SWIG_CheckLongInRange(long value, long min_value, long max_value,
1473 const char *errmsg)
1474{
1475 if (value < min_value) {
1476 if (errmsg) {
1477 PyErr_Format(PyExc_OverflowError,
1478 "value %ld is less than '%s' minimum %ld",
1479 value, errmsg, min_value);
1480 }
1481 return 0;
1482 } else if (value > max_value) {
1483 if (errmsg) {
1484 PyErr_Format(PyExc_OverflowError,
1485 "value %ld is greater than '%s' maximum %ld",
1486 value, errmsg, max_value);
1487 }
1488 return 0;
1489 }
1490 return 1;
1491}
1492
1493
1494SWIGINTERN int
1495SWIG_AsVal_long(PyObject* obj, long* val)
1496{
1497 if (PyNumber_Check(obj)) {
1498 if (val) *val = PyInt_AsLong(obj);
1499 return 1;
1500 }
1501 else {
1502 SWIG_type_error("number", obj);
1503 }
1504 return 0;
1505}
1506
1507
1508#if INT_MAX != LONG_MAX
1509SWIGINTERN int
1510 SWIG_AsVal_int(PyObject *obj, int *val)
1511{
1512 const char* errmsg = val ? "int" : (char*)0;
1513 long v;
1514 if (SWIG_AsVal_long(obj, &v)) {
1515 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
1516 if (val) *val = (int)(v);
1517 return 1;
1518 } else {
1519 return 0;
1520 }
1521 } else {
1522 PyErr_Clear();
1523 }
1524 if (val) {
1525 SWIG_type_error(errmsg, obj);
1526 }
1527 return 0;
1528}
1529#else
1530SWIGINTERNSHORT int
1531 SWIG_AsVal_int(PyObject *obj, int *val)
1532{
1533 return SWIG_AsVal_long(obj,(long*)val);
1534}
1535#endif
1536
1537
1538SWIGINTERNSHORT int
c32bde28 1539SWIG_As_int(PyObject* obj)
d55e5bfc 1540{
c32bde28
RD
1541 int v;
1542 if (!SWIG_AsVal_int(obj, &v)) {
1543 /*
093d3ff1 1544 this is needed to make valgrind/purify happier.
c32bde28
RD
1545 */
1546 memset((void*)&v, 0, sizeof(int));
d55e5bfc 1547 }
c32bde28 1548 return v;
d55e5bfc
RD
1549}
1550
1551
093d3ff1 1552SWIGINTERNSHORT long
c32bde28 1553SWIG_As_long(PyObject* obj)
d55e5bfc 1554{
c32bde28
RD
1555 long v;
1556 if (!SWIG_AsVal_long(obj, &v)) {
1557 /*
093d3ff1 1558 this is needed to make valgrind/purify happier.
c32bde28
RD
1559 */
1560 memset((void*)&v, 0, sizeof(long));
d55e5bfc 1561 }
c32bde28 1562 return v;
d55e5bfc
RD
1563}
1564
c32bde28 1565
093d3ff1 1566SWIGINTERNSHORT int
c32bde28
RD
1567SWIG_Check_int(PyObject* obj)
1568{
1569 return SWIG_AsVal_int(obj, (int*)0);
1570}
d55e5bfc 1571
c32bde28 1572
093d3ff1 1573SWIGINTERNSHORT int
c32bde28 1574SWIG_Check_long(PyObject* obj)
d55e5bfc 1575{
c32bde28 1576 return SWIG_AsVal_long(obj, (long*)0);
d55e5bfc
RD
1577}
1578
c32bde28 1579 static const wxString wxPyCheckBoxNameStr(wxCheckBoxNameStr);
d55e5bfc 1580
093d3ff1 1581SWIGINTERN int
c32bde28 1582 SWIG_AsVal_bool(PyObject *obj, bool *val)
d55e5bfc 1583{
c32bde28
RD
1584 if (obj == Py_True) {
1585 if (val) *val = true;
1586 return 1;
1587 }
1588 if (obj == Py_False) {
1589 if (val) *val = false;
d55e5bfc
RD
1590 return 1;
1591 }
c32bde28
RD
1592 int res = 0;
1593 if (SWIG_AsVal_int(obj, &res)) {
093d3ff1 1594 if (val) *val = res ? true : false;
c32bde28 1595 return 1;
093d3ff1
RD
1596 } else {
1597 PyErr_Clear();
1598 }
c32bde28 1599 if (val) {
093d3ff1 1600 SWIG_type_error("bool", obj);
c32bde28
RD
1601 }
1602 return 0;
1603}
1604
1605
093d3ff1 1606SWIGINTERNSHORT bool
c32bde28
RD
1607SWIG_As_bool(PyObject* obj)
1608{
1609 bool v;
1610 if (!SWIG_AsVal_bool(obj, &v)) {
1611 /*
093d3ff1 1612 this is needed to make valgrind/purify happier.
c32bde28
RD
1613 */
1614 memset((void*)&v, 0, sizeof(bool));
1615 }
1616 return v;
1617}
1618
1619
093d3ff1 1620SWIGINTERNSHORT int
c32bde28
RD
1621SWIG_Check_bool(PyObject* obj)
1622{
1623 return SWIG_AsVal_bool(obj, (bool*)0);
d55e5bfc
RD
1624}
1625
1626 static const wxString wxPyChoiceNameStr(wxChoiceNameStr);
1627 static const wxString wxPyComboBoxNameStr(wxComboBoxNameStr);
f78cc896 1628
093d3ff1
RD
1629 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1630#define SWIG_From_long PyInt_FromLong
1631/*@@*/
1632
1633
f78cc896
RD
1634 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
1635 PyObject* o2;
1636 PyObject* o3;
1637
1638 if (!target) {
1639 target = o;
1640 } else if (target == Py_None) {
1641 Py_DECREF(Py_None);
1642 target = o;
1643 } else {
1644 if (!PyTuple_Check(target)) {
1645 o2 = target;
1646 target = PyTuple_New(1);
1647 PyTuple_SetItem(target, 0, o2);
1648 }
1649 o3 = PyTuple_New(1);
1650 PyTuple_SetItem(o3, 0, o);
1651
1652 o2 = target;
1653 target = PySequence_Concat(o2, o3);
1654 Py_DECREF(o2);
1655 Py_DECREF(o3);
1656 }
1657 return target;
1658 }
1659
1660
d55e5bfc
RD
1661 static const wxString wxPyGaugeNameStr(wxGaugeNameStr);
1662 static const wxString wxPyStaticBitmapNameStr(wxStaticBitmapNameStr);
1663 static const wxString wxPyStaticBoxNameStr(wxStaticBoxNameStr);
1664 static const wxString wxPyStaticTextNameStr(wxStaticTextNameStr);
1665
1666#include <wx/checklst.h>
1667
1668
1669 static const wxString wxPyListBoxNameStr(wxListBoxNameStr);
093d3ff1 1670static void wxListBox_Insert(wxListBox *self,wxString const &item,int pos,PyObject *clientData=NULL){
d55e5bfc
RD
1671 if (clientData) {
1672 wxPyClientData* data = new wxPyClientData(clientData);
1673 self->Insert(item, pos, data);
1674 } else
1675 self->Insert(item, pos);
1676 }
093d3ff1 1677static PyObject *wxListBox_GetSelections(wxListBox *self){
d55e5bfc
RD
1678 wxArrayInt lst;
1679 self->GetSelections(lst);
1680 PyObject *tup = PyTuple_New(lst.GetCount());
1681 for(size_t i=0; i<lst.GetCount(); i++) {
1682 PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
1683 }
1684 return tup;
1685 }
093d3ff1 1686static void wxListBox_SetItemForegroundColour(wxListBox *self,int item,wxColour const &c){
d55e5bfc
RD
1687 #ifdef __WXMSW__
1688 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
1689 self->GetItem(item)->SetTextColour(c);
1690 #endif
1691 }
093d3ff1 1692static void wxListBox_SetItemBackgroundColour(wxListBox *self,int item,wxColour const &c){
d55e5bfc
RD
1693 #ifdef __WXMSW__
1694 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
1695 self->GetItem(item)->SetBackgroundColour(c);
1696 #endif
1697 }
093d3ff1 1698static void wxListBox_SetItemFont(wxListBox *self,int item,wxFont const &f){
d55e5bfc
RD
1699 #ifdef __WXMSW__
1700 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
1701 self->GetItem(item)->SetFont(f);
1702 #endif
1703 }
1704 static const wxString wxPyTextCtrlNameStr(wxTextCtrlNameStr);
1705
093d3ff1 1706SWIGINTERN int
c32bde28 1707SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
d55e5bfc 1708{
c32bde28
RD
1709 long v = 0;
1710 if (SWIG_AsVal_long(obj, &v) && v < 0) {
093d3ff1 1711 SWIG_type_error("unsigned number", obj);
d55e5bfc 1712 }
c32bde28
RD
1713 else if (val)
1714 *val = (unsigned long)v;
1715 return 1;
d55e5bfc
RD
1716}
1717
1718
093d3ff1 1719SWIGINTERNSHORT unsigned long
c32bde28 1720SWIG_As_unsigned_SS_long(PyObject* obj)
d55e5bfc 1721{
c32bde28
RD
1722 unsigned long v;
1723 if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) {
1724 /*
093d3ff1 1725 this is needed to make valgrind/purify happier.
c32bde28
RD
1726 */
1727 memset((void*)&v, 0, sizeof(unsigned long));
d55e5bfc 1728 }
c32bde28
RD
1729 return v;
1730}
1731
1732
093d3ff1 1733SWIGINTERNSHORT int
c32bde28
RD
1734SWIG_Check_unsigned_SS_long(PyObject* obj)
1735{
1736 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
d55e5bfc
RD
1737}
1738
093d3ff1 1739static void wxTextCtrl_write(wxTextCtrl *self,wxString const &text){
d55e5bfc
RD
1740 self->AppendText(text);
1741 }
093d3ff1 1742static wxString wxTextCtrl_GetString(wxTextCtrl *self,long from,long to){
d55e5bfc
RD
1743 return self->GetValue().Mid(from, to - from);
1744 }
1745 static const wxString wxPyScrollBarNameStr(wxScrollBarNameStr);
1746 static const wxString wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME);
1747 static const wxString wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
1748 static const wxString wxPyRadioBoxNameStr(wxRadioBoxNameStr);
1749 static const wxString wxPyRadioButtonNameStr(wxRadioButtonNameStr);
1750
1751#include <wx/slider.h>
1752
1753
1754 static const wxString wxPySliderNameStr(wxSliderNameStr);
1755 static const wxString wxPyToggleButtonNameStr(_T("wxToggleButton"));
1756
1757#if !wxUSE_TOGGLEBTN
1758// implement dummy items for platforms that don't have this class
1759
1760#define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
1761
1762class wxToggleButton : public wxControl
1763{
1764public:
1765 wxToggleButton(wxWindow *, wxWindowID, const wxString&,
1766 const wxPoint&, const wxSize&, long,
1767 const wxValidator&, const wxString&)
1768 { wxPyRaiseNotImplemented(); }
1769
1770 wxToggleButton()
1771 { wxPyRaiseNotImplemented(); }
1772};
1773#endif
1774
51b83b37 1775 static const wxString wxPyNotebookNameStr(wxNotebookNameStr);
d55e5bfc 1776
093d3ff1 1777SWIGINTERNSHORT PyObject*
c32bde28 1778 SWIG_From_unsigned_SS_long(unsigned long value)
d55e5bfc
RD
1779{
1780 return (value > LONG_MAX) ?
1781 PyLong_FromUnsignedLong(value)
093d3ff1 1782 : PyInt_FromLong((long)(value));
d55e5bfc
RD
1783}
1784
1785 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
093d3ff1 1786static PyObject *wxToolBarToolBase_GetClientData(wxToolBarToolBase *self){
d55e5bfc
RD
1787 wxPyUserData* udata = (wxPyUserData*)self->GetClientData();
1788 if (udata) {
1789 Py_INCREF(udata->m_obj);
1790 return udata->m_obj;
1791 } else {
1792 Py_INCREF(Py_None);
1793 return Py_None;
1794 }
1795 }
093d3ff1 1796static void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject *clientData){
d55e5bfc
RD
1797 self->SetClientData(new wxPyUserData(clientData));
1798 }
093d3ff1 1799static 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
1800 wxPyUserData* udata = NULL;
1801 if (clientData && clientData != Py_None)
1802 udata = new wxPyUserData(clientData);
1803 return self->AddTool(id, label, bitmap, bmpDisabled, kind,
1804 shortHelp, longHelp, udata);
1805 }
093d3ff1 1806static 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
1807 wxPyUserData* udata = NULL;
1808 if (clientData && clientData != Py_None)
1809 udata = new wxPyUserData(clientData);
1810 return self->InsertTool(pos, id, label, bitmap, bmpDisabled, kind,
1811 shortHelp, longHelp, udata);
1812 }
093d3ff1 1813static PyObject *wxToolBarBase_GetToolClientData(wxToolBarBase *self,int id){
d55e5bfc
RD
1814 wxPyUserData* udata = (wxPyUserData*)self->GetToolClientData(id);
1815 if (udata) {
1816 Py_INCREF(udata->m_obj);
1817 return udata->m_obj;
1818 } else {
1819 Py_INCREF(Py_None);
1820 return Py_None;
1821 }
1822 }
093d3ff1 1823static void wxToolBarBase_SetToolClientData(wxToolBarBase *self,int id,PyObject *clientData){
d55e5bfc
RD
1824 self->SetToolClientData(id, new wxPyUserData(clientData));
1825 }
1826
1827#include <wx/listctrl.h>
1828
fef4c27a 1829 static const wxString wxPyListCtrlNameStr(wxListCtrlNameStr);
093d3ff1 1830static void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; }
d55e5bfc
RD
1831 // Python aware sorting function for wxPyListCtrl
1832 static int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
1833 int retval = 0;
1834 PyObject* func = (PyObject*)funcPtr;
5a446332 1835 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc
RD
1836
1837 PyObject* args = Py_BuildValue("(ii)", item1, item2);
1838 PyObject* result = PyEval_CallObject(func, args);
1839 Py_DECREF(args);
1840 if (result) {
1841 retval = PyInt_AsLong(result);
1842 Py_DECREF(result);
1843 }
1844
1845 wxPyEndBlockThreads(blocked);
1846 return retval;
1847 }
1848
1849 // C++ Version of a Python aware class
1850class wxPyListCtrl : public wxListCtrl {
1851 DECLARE_ABSTRACT_CLASS(wxPyListCtrl);
1852public:
1853 wxPyListCtrl() : wxListCtrl() {}
1854 wxPyListCtrl(wxWindow* parent, wxWindowID id,
1855 const wxPoint& pos,
1856 const wxSize& size,
1857 long style,
1858 const wxValidator& validator,
1859 const wxString& name) :
1860 wxListCtrl(parent, id, pos, size, style, validator, name) {}
1861
1862 bool Create(wxWindow* parent, wxWindowID id,
1863 const wxPoint& pos,
1864 const wxSize& size,
1865 long style,
1866 const wxValidator& validator,
1867 const wxString& name) {
1868 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
1869 }
1870
1871 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
d55e5bfc
RD
1872 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
1873
84f85550
RD
1874 // use the virtual version to avoid a confusing assert in the base class
1875 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage);
1876
d55e5bfc
RD
1877 PYPRIVATE;
1878};
1879
1880IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
1881
1882IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
d55e5bfc 1883IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
84f85550
RD
1884IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl, wxListCtrl, OnGetItemImage);
1885
d55e5bfc 1886
093d3ff1 1887static wxListItem *wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col){
d55e5bfc
RD
1888 wxListItem item;
1889 item.SetMask( wxLIST_MASK_STATE |
1890 wxLIST_MASK_TEXT |
1891 wxLIST_MASK_IMAGE |
1892 wxLIST_MASK_DATA |
1893 wxLIST_SET_ITEM |
1894 wxLIST_MASK_WIDTH |
1895 wxLIST_MASK_FORMAT
1896 );
1897 if (self->GetColumn(col, item))
1898 return new wxListItem(item);
1899 else
1900 return NULL;
1901 }
093d3ff1 1902static wxListItem *wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col=0){
d55e5bfc
RD
1903 wxListItem* info = new wxListItem;
1904 info->m_itemId = itemId;
1905 info->m_col = col;
1906 info->m_mask = 0xFFFF;
1907 self->GetItem(*info);
1908 return info;
1909 }
093d3ff1 1910static wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
d55e5bfc
RD
1911 wxPoint pos;
1912 self->GetItemPosition(item, pos);
1913 return pos;
1914 }
093d3ff1 1915static wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code=wxLIST_RECT_BOUNDS){
d55e5bfc
RD
1916 wxRect rect;
1917 self->GetItemRect(item, rect, code);
1918 return rect;
1919 }
c32bde28 1920
093d3ff1 1921static bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
d55e5bfc 1922 if (!PyCallable_Check(func))
ae8162c8 1923 return false;
d55e5bfc
RD
1924 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
1925 }
093d3ff1 1926static wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
d55e5bfc
RD
1927
1928 return self;
1929
1930
1931
1932 }
1933
1934#include <wx/treectrl.h>
1935#include "wx/wxPython/pytree.h"
1936
1937 static const wxString wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
093d3ff1
RD
1938static bool wxTreeItemId___eq__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self == *other) : false; }
1939static bool wxTreeItemId___ne__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self != *other) : true; }
1940static void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; }
d55e5bfc
RD
1941 // C++ version of Python aware wxTreeCtrl
1942class wxPyTreeCtrl : public wxTreeCtrl {
1943 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl);
1944public:
1945 wxPyTreeCtrl() : wxTreeCtrl() {}
1946 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
1947 const wxPoint& pos,
1948 const wxSize& size,
1949 long style,
1950 const wxValidator& validator,
1951 const wxString& name) :
1952 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
1953
1954 bool Create(wxWindow *parent, wxWindowID id,
1955 const wxPoint& pos,
1956 const wxSize& size,
1957 long style,
1958 const wxValidator& validator,
1959 const wxString& name) {
1960 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
1961 }
1962
1963
1964 int OnCompareItems(const wxTreeItemId& item1,
1965 const wxTreeItemId& item2) {
1966 int rval = 0;
1967 bool found;
5a446332 1968 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc 1969 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
ae8162c8
RD
1970 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), false);
1971 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), false);
d55e5bfc
RD
1972 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
1973 Py_DECREF(o1);
1974 Py_DECREF(o2);
1975 }
1976 wxPyEndBlockThreads(blocked);
1977 if (! found)
1978 rval = wxTreeCtrl::OnCompareItems(item1, item2);
1979 return rval;
1980 }
1981 PYPRIVATE;
1982};
1983
1984IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
1985
1986
1987
1988#if UINT_MAX < LONG_MAX
093d3ff1 1989/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
c32bde28
RD
1990#define SWIG_From_unsigned_SS_int SWIG_From_long
1991/*@@*/
d55e5bfc 1992#else
093d3ff1 1993/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
c32bde28
RD
1994#define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
1995/*@@*/
d55e5bfc
RD
1996#endif
1997
1998
093d3ff1 1999SWIGINTERNSHORT int
c32bde28
RD
2000 SWIG_CheckUnsignedLongInRange(unsigned long value,
2001 unsigned long max_value,
2002 const char *errmsg)
d55e5bfc 2003{
c32bde28
RD
2004 if (value > max_value) {
2005 if (errmsg) {
2006 PyErr_Format(PyExc_OverflowError,
093d3ff1 2007 "value %lu is greater than '%s' minimum %lu",
c32bde28 2008 value, errmsg, max_value);
d55e5bfc 2009 }
c32bde28 2010 return 0;
d55e5bfc 2011 }
c32bde28
RD
2012 return 1;
2013 }
d55e5bfc
RD
2014
2015
2016#if UINT_MAX != ULONG_MAX
093d3ff1 2017SWIGINTERN int
c32bde28 2018 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
d55e5bfc 2019{
093d3ff1 2020 const char* errmsg = val ? "unsigned int" : (char*)0;
c32bde28
RD
2021 unsigned long v;
2022 if (SWIG_AsVal_unsigned_SS_long(obj, &v)) {
2023 if (SWIG_CheckUnsignedLongInRange(v, INT_MAX, errmsg)) {
093d3ff1 2024 if (val) *val = (unsigned int)(v);
c32bde28
RD
2025 return 1;
2026 }
2027 } else {
2028 PyErr_Clear();
2029 }
2030 if (val) {
093d3ff1 2031 SWIG_type_error(errmsg, obj);
c32bde28
RD
2032 }
2033 return 0;
d55e5bfc
RD
2034}
2035#else
093d3ff1 2036SWIGINTERNSHORT unsigned int
c32bde28
RD
2037 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
2038{
2039 return SWIG_AsVal_unsigned_SS_long(obj,(unsigned long *)val);
2040}
d55e5bfc
RD
2041#endif
2042
2043
093d3ff1 2044SWIGINTERNSHORT unsigned int
c32bde28 2045SWIG_As_unsigned_SS_int(PyObject* obj)
d55e5bfc 2046{
c32bde28
RD
2047 unsigned int v;
2048 if (!SWIG_AsVal_unsigned_SS_int(obj, &v)) {
2049 /*
093d3ff1 2050 this is needed to make valgrind/purify happier.
c32bde28
RD
2051 */
2052 memset((void*)&v, 0, sizeof(unsigned int));
d55e5bfc 2053 }
c32bde28
RD
2054 return v;
2055}
2056
2057
093d3ff1 2058SWIGINTERNSHORT int
c32bde28
RD
2059SWIG_Check_unsigned_SS_int(PyObject* obj)
2060{
2061 return SWIG_AsVal_unsigned_SS_int(obj, (unsigned int*)0);
d55e5bfc
RD
2062}
2063
093d3ff1 2064static wxPyTreeItemData *wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item){
d55e5bfc
RD
2065 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
2066 if (data == NULL) {
2067 data = new wxPyTreeItemData();
2068 data->SetId(item); // set the id
2069 self->SetItemData(item, data);
2070 }
2071 return data;
2072 }
093d3ff1 2073static PyObject *wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item){
d55e5bfc
RD
2074 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
2075 if (data == NULL) {
2076 data = new wxPyTreeItemData();
2077 data->SetId(item); // set the id
2078 self->SetItemData(item, data);
2079 }
2080 return data->GetData();
2081 }
093d3ff1 2082static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
d55e5bfc
RD
2083 data->SetId(item); // set the id
2084 self->SetItemData(item, data);
2085 }
093d3ff1 2086static void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item,PyObject *obj){
d55e5bfc
RD
2087 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
2088 if (data == NULL) {
2089 data = new wxPyTreeItemData(obj);
2090 data->SetId(item); // set the id
2091 self->SetItemData(item, data);
2092 } else
2093 data->SetData(obj);
2094 }
093d3ff1 2095static PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){
5a446332 2096 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc
RD
2097 PyObject* rval = PyList_New(0);
2098 wxArrayTreeItemIds array;
2099 size_t num, x;
2100 num = self->GetSelections(array);
2101 for (x=0; x < num; x++) {
2102 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
ae8162c8 2103 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), true);
d55e5bfc 2104 PyList_Append(rval, item);
a07a67e6 2105 Py_DECREF(item);
d55e5bfc
RD
2106 }
2107 wxPyEndBlockThreads(blocked);
2108 return rval;
2109 }
093d3ff1 2110static PyObject *wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl *self,wxTreeItemId const &item){
d55e5bfc
RD
2111 void* cookie = 0;
2112 wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie));
5a446332 2113 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc 2114 PyObject* tup = PyTuple_New(2);
ae8162c8 2115 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
d55e5bfc
RD
2116 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
2117 wxPyEndBlockThreads(blocked);
2118 return tup;
2119 }
093d3ff1 2120static PyObject *wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl *self,wxTreeItemId const &item,void *cookie){
d55e5bfc 2121 wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie));
5a446332 2122 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc 2123 PyObject* tup = PyTuple_New(2);
ae8162c8 2124 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
d55e5bfc
RD
2125 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
2126 wxPyEndBlockThreads(blocked);
2127 return tup;
2128 }
093d3ff1 2129static PyObject *wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,wxTreeItemId const &item,bool textOnly=false){
d55e5bfc
RD
2130 wxRect rect;
2131 if (self->GetBoundingRect(item, rect, textOnly)) {
5a446332 2132 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc 2133 wxRect* r = new wxRect(rect);
ae8162c8 2134 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), true);
d55e5bfc
RD
2135 wxPyEndBlockThreads(blocked);
2136 return val;
2137 }
2138 else
2139 RETURN_NONE();
2140 }
2141 static const wxString wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr);
c32bde28 2142
093d3ff1 2143SWIGINTERNSHORT PyObject*
c32bde28
RD
2144 SWIG_From_bool(bool value)
2145{
2146 PyObject *obj = value ? Py_True : Py_False;
2147 Py_INCREF(obj);
2148 return obj;
2149}
2150
2151
d55e5bfc
RD
2152 // C++ version of Python aware wxControl
2153class wxPyControl : public wxControl
2154{
2155 DECLARE_DYNAMIC_CLASS(wxPyControl)
2156public:
2157 wxPyControl() : wxControl() {}
2158 wxPyControl(wxWindow* parent, const wxWindowID id,
2159 const wxPoint& pos = wxDefaultPosition,
2160 const wxSize& size = wxDefaultSize,
2161 long style = 0,
2162 const wxValidator& validator=wxDefaultValidator,
2163 const wxString& name = wxPyControlNameStr)
2164 : wxControl(parent, id, pos, size, style, validator, name) {}
2165
caef1a4d 2166 void SetBestSize(const wxSize& size) { wxControl::SetBestSize(size); }
d55e5bfc 2167
60d5fcc1
RD
2168 bool DoEraseBackground(wxDC* dc) {
2169#ifdef __WXMSW__
2170 return wxWindow::DoEraseBackground(dc->GetHDC());
2171#else
2172 dc->SetBackground(wxBrush(GetBackgroundColour()));
2173 dc->Clear();
2174 return true;
2175#endif
2176 }
2177
d55e5bfc
RD
2178 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
2179 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
2180 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
2181 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
2182
2183 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
2184 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
2185 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
2186
2187 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
2188 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
2189
2190 DEC_PYCALLBACK__(InitDialog);
2191 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
2192 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
2193 DEC_PYCALLBACK_BOOL_(Validate);
2194
2195 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
2196 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
2197 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
2198
2199 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
2200 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
2201
caef1a4d 2202 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
caef1a4d 2203 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
d55e5bfc 2204
51b83b37
RD
2205 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
2206
8d38bd1d
RD
2207 DEC_PYCALLBACK_VOID_(OnInternalIdle);
2208
d55e5bfc
RD
2209 PYPRIVATE;
2210};
2211
2212IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
2213
2214IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
2215IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
2216IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
2217IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
2218
2219IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
2220IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
2221IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
2222
2223IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
2224IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
2225
2226IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
2227IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
2228IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
2229IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
2230
2231IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
2232IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
2233IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
2234
2235IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
2236IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
2237
caef1a4d 2238IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, ShouldInheritColours);
caef1a4d 2239IMP_PYCALLBACK_VIZATTR_(wxPyControl, wxControl, GetDefaultAttributes);
d55e5bfc 2240
51b83b37 2241IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, HasTransparentBackground);
8d38bd1d
RD
2242
2243IMP_PYCALLBACK_VOID_(wxPyControl, wxControl, OnInternalIdle);
2244
d55e5bfc
RD
2245
2246
093d3ff1 2247static void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
d55e5bfc
RD
2248
2249#include <wx/generic/dragimgg.h>
2250
53aa7709
RD
2251 static const wxString wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr);
2252static wxDateTime wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl *self){
2253 wxDateTime rv;
2254 self->GetRange(&rv, NULL);
2255 return rv;
2256 }
2257static wxDateTime wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl *self){
2258 wxDateTime rv;
2259 self->GetRange(NULL, &rv);
2260 return rv;
2261 }
d55e5bfc
RD
2262#ifdef __cplusplus
2263extern "C" {
2264#endif
c32bde28 2265static int _wrap_ButtonNameStr_set(PyObject *) {
d55e5bfc
RD
2266 PyErr_SetString(PyExc_TypeError,"Variable ButtonNameStr is read-only.");
2267 return 1;
2268}
2269
2270
093d3ff1 2271static PyObject *_wrap_ButtonNameStr_get(void) {
d55e5bfc
RD
2272 PyObject *pyobj;
2273
2274 {
2275#if wxUSE_UNICODE
2276 pyobj = PyUnicode_FromWideChar((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
2277#else
2278 pyobj = PyString_FromStringAndSize((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
2279#endif
2280 }
2281 return pyobj;
2282}
2283
2284
c32bde28 2285static PyObject *_wrap_new_Button(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2286 PyObject *resultobj;
2287 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
2288 int arg2 = (int) -1 ;
2289 wxString const &arg3_defvalue = wxPyEmptyString ;
2290 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
2291 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2292 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2293 wxSize const &arg5_defvalue = wxDefaultSize ;
2294 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2295 long arg6 = (long) 0 ;
2296 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2297 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2298 wxString const &arg8_defvalue = wxPyButtonNameStr ;
2299 wxString *arg8 = (wxString *) &arg8_defvalue ;
2300 wxButton *result;
ae8162c8 2301 bool temp3 = false ;
d55e5bfc
RD
2302 wxPoint temp4 ;
2303 wxSize temp5 ;
ae8162c8 2304 bool temp8 = false ;
d55e5bfc
RD
2305 PyObject * obj0 = 0 ;
2306 PyObject * obj1 = 0 ;
2307 PyObject * obj2 = 0 ;
2308 PyObject * obj3 = 0 ;
2309 PyObject * obj4 = 0 ;
2310 PyObject * obj5 = 0 ;
2311 PyObject * obj6 = 0 ;
2312 PyObject * obj7 = 0 ;
2313 char *kwnames[] = {
2314 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2315 };
2316
248ed943 2317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Button",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
2318 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2319 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 2320 if (obj1) {
093d3ff1
RD
2321 {
2322 arg2 = (int)(SWIG_As_int(obj1));
2323 if (SWIG_arg_fail(2)) SWIG_fail;
2324 }
248ed943
RD
2325 }
2326 if (obj2) {
2327 {
2328 arg3 = wxString_in_helper(obj2);
2329 if (arg3 == NULL) SWIG_fail;
ae8162c8 2330 temp3 = true;
248ed943 2331 }
d55e5bfc
RD
2332 }
2333 if (obj3) {
2334 {
2335 arg4 = &temp4;
2336 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2337 }
2338 }
2339 if (obj4) {
2340 {
2341 arg5 = &temp5;
2342 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2343 }
2344 }
2345 if (obj5) {
093d3ff1
RD
2346 {
2347 arg6 = (long)(SWIG_As_long(obj5));
2348 if (SWIG_arg_fail(6)) SWIG_fail;
2349 }
d55e5bfc
RD
2350 }
2351 if (obj6) {
093d3ff1
RD
2352 {
2353 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2354 if (SWIG_arg_fail(7)) SWIG_fail;
2355 if (arg7 == NULL) {
2356 SWIG_null_ref("wxValidator");
2357 }
2358 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
2359 }
2360 }
2361 if (obj7) {
2362 {
2363 arg8 = wxString_in_helper(obj7);
2364 if (arg8 == NULL) SWIG_fail;
ae8162c8 2365 temp8 = true;
d55e5bfc
RD
2366 }
2367 }
2368 {
0439c23b 2369 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2370 PyThreadState* __tstate = wxPyBeginAllowThreads();
2371 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2372
2373 wxPyEndAllowThreads(__tstate);
110da5b0 2374 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 2375 }
b0f7404b 2376 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxButton, 1);
d55e5bfc
RD
2377 {
2378 if (temp3)
2379 delete arg3;
2380 }
2381 {
2382 if (temp8)
2383 delete arg8;
2384 }
2385 return resultobj;
2386 fail:
2387 {
2388 if (temp3)
2389 delete arg3;
2390 }
2391 {
2392 if (temp8)
2393 delete arg8;
2394 }
2395 return NULL;
2396}
2397
2398
c32bde28 2399static PyObject *_wrap_new_PreButton(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2400 PyObject *resultobj;
2401 wxButton *result;
2402 char *kwnames[] = {
2403 NULL
2404 };
2405
2406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreButton",kwnames)) goto fail;
2407 {
0439c23b 2408 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2409 PyThreadState* __tstate = wxPyBeginAllowThreads();
2410 result = (wxButton *)new wxButton();
2411
2412 wxPyEndAllowThreads(__tstate);
110da5b0 2413 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 2414 }
b0f7404b 2415 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxButton, 1);
d55e5bfc
RD
2416 return resultobj;
2417 fail:
2418 return NULL;
2419}
2420
2421
c32bde28 2422static PyObject *_wrap_Button_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2423 PyObject *resultobj;
2424 wxButton *arg1 = (wxButton *) 0 ;
2425 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
2426 int arg3 = (int) -1 ;
2427 wxString const &arg4_defvalue = wxPyEmptyString ;
2428 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
2429 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2430 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2431 wxSize const &arg6_defvalue = wxDefaultSize ;
2432 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2433 long arg7 = (long) 0 ;
2434 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2435 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2436 wxString const &arg9_defvalue = wxPyButtonNameStr ;
2437 wxString *arg9 = (wxString *) &arg9_defvalue ;
2438 bool result;
ae8162c8 2439 bool temp4 = false ;
d55e5bfc
RD
2440 wxPoint temp5 ;
2441 wxSize temp6 ;
ae8162c8 2442 bool temp9 = false ;
d55e5bfc
RD
2443 PyObject * obj0 = 0 ;
2444 PyObject * obj1 = 0 ;
2445 PyObject * obj2 = 0 ;
2446 PyObject * obj3 = 0 ;
2447 PyObject * obj4 = 0 ;
2448 PyObject * obj5 = 0 ;
2449 PyObject * obj6 = 0 ;
2450 PyObject * obj7 = 0 ;
2451 PyObject * obj8 = 0 ;
2452 char *kwnames[] = {
2453 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2454 };
2455
248ed943 2456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Button_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
2457 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxButton, SWIG_POINTER_EXCEPTION | 0);
2458 if (SWIG_arg_fail(1)) SWIG_fail;
2459 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2460 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 2461 if (obj2) {
093d3ff1
RD
2462 {
2463 arg3 = (int)(SWIG_As_int(obj2));
2464 if (SWIG_arg_fail(3)) SWIG_fail;
2465 }
248ed943
RD
2466 }
2467 if (obj3) {
2468 {
2469 arg4 = wxString_in_helper(obj3);
2470 if (arg4 == NULL) SWIG_fail;
ae8162c8 2471 temp4 = true;
248ed943 2472 }
d55e5bfc
RD
2473 }
2474 if (obj4) {
2475 {
2476 arg5 = &temp5;
2477 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2478 }
2479 }
2480 if (obj5) {
2481 {
2482 arg6 = &temp6;
2483 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2484 }
2485 }
2486 if (obj6) {
093d3ff1
RD
2487 {
2488 arg7 = (long)(SWIG_As_long(obj6));
2489 if (SWIG_arg_fail(7)) SWIG_fail;
2490 }
d55e5bfc
RD
2491 }
2492 if (obj7) {
093d3ff1
RD
2493 {
2494 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2495 if (SWIG_arg_fail(8)) SWIG_fail;
2496 if (arg8 == NULL) {
2497 SWIG_null_ref("wxValidator");
2498 }
2499 if (SWIG_arg_fail(8)) SWIG_fail;
d55e5bfc
RD
2500 }
2501 }
2502 if (obj8) {
2503 {
2504 arg9 = wxString_in_helper(obj8);
2505 if (arg9 == NULL) SWIG_fail;
ae8162c8 2506 temp9 = true;
d55e5bfc
RD
2507 }
2508 }
2509 {
2510 PyThreadState* __tstate = wxPyBeginAllowThreads();
2511 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2512
2513 wxPyEndAllowThreads(__tstate);
2514 if (PyErr_Occurred()) SWIG_fail;
2515 }
2516 {
2517 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2518 }
2519 {
2520 if (temp4)
2521 delete arg4;
2522 }
2523 {
2524 if (temp9)
2525 delete arg9;
2526 }
2527 return resultobj;
2528 fail:
2529 {
2530 if (temp4)
2531 delete arg4;
2532 }
2533 {
2534 if (temp9)
2535 delete arg9;
2536 }
2537 return NULL;
2538}
2539
2540
c32bde28 2541static PyObject *_wrap_Button_SetDefault(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2542 PyObject *resultobj;
2543 wxButton *arg1 = (wxButton *) 0 ;
2544 PyObject * obj0 = 0 ;
2545 char *kwnames[] = {
2546 (char *) "self", NULL
2547 };
2548
2549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Button_SetDefault",kwnames,&obj0)) goto fail;
093d3ff1
RD
2550 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxButton, SWIG_POINTER_EXCEPTION | 0);
2551 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
2552 {
2553 PyThreadState* __tstate = wxPyBeginAllowThreads();
2554 (arg1)->SetDefault();
2555
2556 wxPyEndAllowThreads(__tstate);
2557 if (PyErr_Occurred()) SWIG_fail;
2558 }
2559 Py_INCREF(Py_None); resultobj = Py_None;
2560 return resultobj;
2561 fail:
2562 return NULL;
2563}
2564
2565
c32bde28 2566static PyObject *_wrap_Button_GetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2567 PyObject *resultobj;
2568 wxSize result;
2569 char *kwnames[] = {
2570 NULL
2571 };
2572
2573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Button_GetDefaultSize",kwnames)) goto fail;
2574 {
2575 PyThreadState* __tstate = wxPyBeginAllowThreads();
2576 result = wxButton::GetDefaultSize();
2577
2578 wxPyEndAllowThreads(__tstate);
2579 if (PyErr_Occurred()) SWIG_fail;
2580 }
2581 {
2582 wxSize * resultptr;
093d3ff1 2583 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
2584 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
2585 }
2586 return resultobj;
2587 fail:
2588 return NULL;
2589}
2590
2591
c32bde28 2592static PyObject *_wrap_Button_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 2593 PyObject *resultobj;
093d3ff1 2594 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
2595 wxVisualAttributes result;
2596 PyObject * obj0 = 0 ;
2597 char *kwnames[] = {
2598 (char *) "variant", NULL
2599 };
2600
2601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Button_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
2602 if (obj0) {
093d3ff1
RD
2603 {
2604 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
2605 if (SWIG_arg_fail(1)) SWIG_fail;
2606 }
f20a2e1f
RD
2607 }
2608 {
19272049 2609 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
2610 PyThreadState* __tstate = wxPyBeginAllowThreads();
2611 result = wxButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
2612
2613 wxPyEndAllowThreads(__tstate);
110da5b0 2614 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
2615 }
2616 {
2617 wxVisualAttributes * resultptr;
093d3ff1 2618 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
2619 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
2620 }
2621 return resultobj;
2622 fail:
2623 return NULL;
2624}
2625
2626
c32bde28 2627static PyObject * Button_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
2628 PyObject *obj;
2629 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2630 SWIG_TypeClientData(SWIGTYPE_p_wxButton, obj);
2631 Py_INCREF(obj);
2632 return Py_BuildValue((char *)"");
2633}
c32bde28 2634static PyObject *_wrap_new_BitmapButton(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2635 PyObject *resultobj;
2636 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
2637 int arg2 = (int) -1 ;
2638 wxBitmap const &arg3_defvalue = wxNullBitmap ;
2639 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
d55e5bfc
RD
2640 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2641 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2642 wxSize const &arg5_defvalue = wxDefaultSize ;
2643 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2644 long arg6 = (long) wxBU_AUTODRAW ;
2645 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2646 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2647 wxString const &arg8_defvalue = wxPyButtonNameStr ;
2648 wxString *arg8 = (wxString *) &arg8_defvalue ;
2649 wxBitmapButton *result;
2650 wxPoint temp4 ;
2651 wxSize temp5 ;
ae8162c8 2652 bool temp8 = false ;
d55e5bfc
RD
2653 PyObject * obj0 = 0 ;
2654 PyObject * obj1 = 0 ;
2655 PyObject * obj2 = 0 ;
2656 PyObject * obj3 = 0 ;
2657 PyObject * obj4 = 0 ;
2658 PyObject * obj5 = 0 ;
2659 PyObject * obj6 = 0 ;
2660 PyObject * obj7 = 0 ;
2661 char *kwnames[] = {
2662 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2663 };
2664
248ed943 2665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_BitmapButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
2666 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2667 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 2668 if (obj1) {
093d3ff1
RD
2669 {
2670 arg2 = (int)(SWIG_As_int(obj1));
2671 if (SWIG_arg_fail(2)) SWIG_fail;
2672 }
248ed943
RD
2673 }
2674 if (obj2) {
093d3ff1
RD
2675 {
2676 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
2677 if (SWIG_arg_fail(3)) SWIG_fail;
2678 if (arg3 == NULL) {
2679 SWIG_null_ref("wxBitmap");
2680 }
2681 if (SWIG_arg_fail(3)) SWIG_fail;
248ed943 2682 }
d55e5bfc
RD
2683 }
2684 if (obj3) {
2685 {
2686 arg4 = &temp4;
2687 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2688 }
2689 }
2690 if (obj4) {
2691 {
2692 arg5 = &temp5;
2693 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2694 }
2695 }
2696 if (obj5) {
093d3ff1
RD
2697 {
2698 arg6 = (long)(SWIG_As_long(obj5));
2699 if (SWIG_arg_fail(6)) SWIG_fail;
2700 }
d55e5bfc
RD
2701 }
2702 if (obj6) {
093d3ff1
RD
2703 {
2704 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2705 if (SWIG_arg_fail(7)) SWIG_fail;
2706 if (arg7 == NULL) {
2707 SWIG_null_ref("wxValidator");
2708 }
2709 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
2710 }
2711 }
2712 if (obj7) {
2713 {
2714 arg8 = wxString_in_helper(obj7);
2715 if (arg8 == NULL) SWIG_fail;
ae8162c8 2716 temp8 = true;
d55e5bfc
RD
2717 }
2718 }
2719 {
0439c23b 2720 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2721 PyThreadState* __tstate = wxPyBeginAllowThreads();
2722 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2723
2724 wxPyEndAllowThreads(__tstate);
110da5b0 2725 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 2726 }
b0f7404b 2727 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmapButton, 1);
d55e5bfc
RD
2728 {
2729 if (temp8)
2730 delete arg8;
2731 }
2732 return resultobj;
2733 fail:
2734 {
2735 if (temp8)
2736 delete arg8;
2737 }
2738 return NULL;
2739}
2740
2741
c32bde28 2742static PyObject *_wrap_new_PreBitmapButton(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2743 PyObject *resultobj;
2744 wxBitmapButton *result;
2745 char *kwnames[] = {
2746 NULL
2747 };
2748
2749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreBitmapButton",kwnames)) goto fail;
2750 {
0439c23b 2751 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2752 PyThreadState* __tstate = wxPyBeginAllowThreads();
2753 result = (wxBitmapButton *)new wxBitmapButton();
2754
2755 wxPyEndAllowThreads(__tstate);
110da5b0 2756 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 2757 }
b0f7404b 2758 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmapButton, 1);
d55e5bfc
RD
2759 return resultobj;
2760 fail:
2761 return NULL;
2762}
2763
2764
c32bde28 2765static PyObject *_wrap_BitmapButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2766 PyObject *resultobj;
2767 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2768 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
2769 int arg3 = (int) -1 ;
2770 wxBitmap const &arg4_defvalue = wxNullBitmap ;
2771 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
d55e5bfc
RD
2772 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2773 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2774 wxSize const &arg6_defvalue = wxDefaultSize ;
2775 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2776 long arg7 = (long) wxBU_AUTODRAW ;
2777 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2778 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2779 wxString const &arg9_defvalue = wxPyButtonNameStr ;
2780 wxString *arg9 = (wxString *) &arg9_defvalue ;
2781 bool result;
2782 wxPoint temp5 ;
2783 wxSize temp6 ;
ae8162c8 2784 bool temp9 = false ;
d55e5bfc
RD
2785 PyObject * obj0 = 0 ;
2786 PyObject * obj1 = 0 ;
2787 PyObject * obj2 = 0 ;
2788 PyObject * obj3 = 0 ;
2789 PyObject * obj4 = 0 ;
2790 PyObject * obj5 = 0 ;
2791 PyObject * obj6 = 0 ;
2792 PyObject * obj7 = 0 ;
2793 PyObject * obj8 = 0 ;
2794 char *kwnames[] = {
2795 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2796 };
2797
248ed943 2798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
2799 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2800 if (SWIG_arg_fail(1)) SWIG_fail;
2801 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2802 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 2803 if (obj2) {
093d3ff1
RD
2804 {
2805 arg3 = (int)(SWIG_As_int(obj2));
2806 if (SWIG_arg_fail(3)) SWIG_fail;
2807 }
248ed943
RD
2808 }
2809 if (obj3) {
093d3ff1
RD
2810 {
2811 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
2812 if (SWIG_arg_fail(4)) SWIG_fail;
2813 if (arg4 == NULL) {
2814 SWIG_null_ref("wxBitmap");
2815 }
2816 if (SWIG_arg_fail(4)) SWIG_fail;
248ed943 2817 }
d55e5bfc
RD
2818 }
2819 if (obj4) {
2820 {
2821 arg5 = &temp5;
2822 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2823 }
2824 }
2825 if (obj5) {
2826 {
2827 arg6 = &temp6;
2828 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2829 }
2830 }
2831 if (obj6) {
093d3ff1
RD
2832 {
2833 arg7 = (long)(SWIG_As_long(obj6));
2834 if (SWIG_arg_fail(7)) SWIG_fail;
2835 }
d55e5bfc
RD
2836 }
2837 if (obj7) {
093d3ff1
RD
2838 {
2839 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2840 if (SWIG_arg_fail(8)) SWIG_fail;
2841 if (arg8 == NULL) {
2842 SWIG_null_ref("wxValidator");
2843 }
2844 if (SWIG_arg_fail(8)) SWIG_fail;
d55e5bfc
RD
2845 }
2846 }
2847 if (obj8) {
2848 {
2849 arg9 = wxString_in_helper(obj8);
2850 if (arg9 == NULL) SWIG_fail;
ae8162c8 2851 temp9 = true;
d55e5bfc
RD
2852 }
2853 }
2854 {
2855 PyThreadState* __tstate = wxPyBeginAllowThreads();
2856 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2857
2858 wxPyEndAllowThreads(__tstate);
2859 if (PyErr_Occurred()) SWIG_fail;
2860 }
2861 {
2862 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2863 }
2864 {
2865 if (temp9)
2866 delete arg9;
2867 }
2868 return resultobj;
2869 fail:
2870 {
2871 if (temp9)
2872 delete arg9;
2873 }
2874 return NULL;
2875}
2876
2877
c32bde28 2878static PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2879 PyObject *resultobj;
2880 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2881 wxBitmap result;
2882 PyObject * obj0 = 0 ;
2883 char *kwnames[] = {
2884 (char *) "self", NULL
2885 };
2886
2887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapLabel",kwnames,&obj0)) goto fail;
093d3ff1
RD
2888 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2889 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
2890 {
2891 PyThreadState* __tstate = wxPyBeginAllowThreads();
2892 result = (arg1)->GetBitmapLabel();
2893
2894 wxPyEndAllowThreads(__tstate);
2895 if (PyErr_Occurred()) SWIG_fail;
2896 }
2897 {
2898 wxBitmap * resultptr;
093d3ff1 2899 resultptr = new wxBitmap((wxBitmap &)(result));
d55e5bfc
RD
2900 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
2901 }
2902 return resultobj;
2903 fail:
2904 return NULL;
2905}
2906
2907
c32bde28 2908static PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2909 PyObject *resultobj;
2910 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2911 wxBitmap result;
2912 PyObject * obj0 = 0 ;
2913 char *kwnames[] = {
2914 (char *) "self", NULL
2915 };
2916
2917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames,&obj0)) goto fail;
093d3ff1
RD
2918 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2919 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
2920 {
2921 PyThreadState* __tstate = wxPyBeginAllowThreads();
2922 result = (arg1)->GetBitmapDisabled();
2923
2924 wxPyEndAllowThreads(__tstate);
2925 if (PyErr_Occurred()) SWIG_fail;
2926 }
2927 {
2928 wxBitmap * resultptr;
093d3ff1 2929 resultptr = new wxBitmap((wxBitmap &)(result));
d55e5bfc
RD
2930 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
2931 }
2932 return resultobj;
2933 fail:
2934 return NULL;
2935}
2936
2937
c32bde28 2938static PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2939 PyObject *resultobj;
2940 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2941 wxBitmap result;
2942 PyObject * obj0 = 0 ;
2943 char *kwnames[] = {
2944 (char *) "self", NULL
2945 };
2946
2947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapFocus",kwnames,&obj0)) goto fail;
093d3ff1
RD
2948 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2949 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
2950 {
2951 PyThreadState* __tstate = wxPyBeginAllowThreads();
2952 result = (arg1)->GetBitmapFocus();
2953
2954 wxPyEndAllowThreads(__tstate);
2955 if (PyErr_Occurred()) SWIG_fail;
2956 }
2957 {
2958 wxBitmap * resultptr;
093d3ff1 2959 resultptr = new wxBitmap((wxBitmap &)(result));
d55e5bfc
RD
2960 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
2961 }
2962 return resultobj;
2963 fail:
2964 return NULL;
2965}
2966
2967
c32bde28 2968static PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2969 PyObject *resultobj;
2970 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2971 wxBitmap result;
2972 PyObject * obj0 = 0 ;
2973 char *kwnames[] = {
2974 (char *) "self", NULL
2975 };
2976
2977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapSelected",kwnames,&obj0)) goto fail;
093d3ff1
RD
2978 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2979 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
2980 {
2981 PyThreadState* __tstate = wxPyBeginAllowThreads();
2982 result = (arg1)->GetBitmapSelected();
2983
2984 wxPyEndAllowThreads(__tstate);
2985 if (PyErr_Occurred()) SWIG_fail;
2986 }
2987 {
2988 wxBitmap * resultptr;
093d3ff1 2989 resultptr = new wxBitmap((wxBitmap &)(result));
d55e5bfc
RD
2990 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
2991 }
2992 return resultobj;
2993 fail:
2994 return NULL;
2995}
2996
2997
c32bde28 2998static PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2999 PyObject *resultobj;
3000 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3001 wxBitmap *arg2 = 0 ;
3002 PyObject * obj0 = 0 ;
3003 PyObject * obj1 = 0 ;
3004 char *kwnames[] = {
3005 (char *) "self",(char *) "bitmap", NULL
3006 };
3007
3008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3009 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3010 if (SWIG_arg_fail(1)) SWIG_fail;
3011 {
3012 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3013 if (SWIG_arg_fail(2)) SWIG_fail;
3014 if (arg2 == NULL) {
3015 SWIG_null_ref("wxBitmap");
3016 }
3017 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
3018 }
3019 {
3020 PyThreadState* __tstate = wxPyBeginAllowThreads();
3021 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
3022
3023 wxPyEndAllowThreads(__tstate);
3024 if (PyErr_Occurred()) SWIG_fail;
3025 }
3026 Py_INCREF(Py_None); resultobj = Py_None;
3027 return resultobj;
3028 fail:
3029 return NULL;
3030}
3031
3032
c32bde28 3033static PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3034 PyObject *resultobj;
3035 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3036 wxBitmap *arg2 = 0 ;
3037 PyObject * obj0 = 0 ;
3038 PyObject * obj1 = 0 ;
3039 char *kwnames[] = {
3040 (char *) "self",(char *) "bitmap", NULL
3041 };
3042
3043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3044 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3045 if (SWIG_arg_fail(1)) SWIG_fail;
3046 {
3047 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3048 if (SWIG_arg_fail(2)) SWIG_fail;
3049 if (arg2 == NULL) {
3050 SWIG_null_ref("wxBitmap");
3051 }
3052 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
3053 }
3054 {
3055 PyThreadState* __tstate = wxPyBeginAllowThreads();
3056 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
3057
3058 wxPyEndAllowThreads(__tstate);
3059 if (PyErr_Occurred()) SWIG_fail;
3060 }
3061 Py_INCREF(Py_None); resultobj = Py_None;
3062 return resultobj;
3063 fail:
3064 return NULL;
3065}
3066
3067
c32bde28 3068static PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3069 PyObject *resultobj;
3070 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3071 wxBitmap *arg2 = 0 ;
3072 PyObject * obj0 = 0 ;
3073 PyObject * obj1 = 0 ;
3074 char *kwnames[] = {
3075 (char *) "self",(char *) "bitmap", NULL
3076 };
3077
3078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3079 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3080 if (SWIG_arg_fail(1)) SWIG_fail;
3081 {
3082 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3083 if (SWIG_arg_fail(2)) SWIG_fail;
3084 if (arg2 == NULL) {
3085 SWIG_null_ref("wxBitmap");
3086 }
3087 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
3088 }
3089 {
3090 PyThreadState* __tstate = wxPyBeginAllowThreads();
3091 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
3092
3093 wxPyEndAllowThreads(__tstate);
3094 if (PyErr_Occurred()) SWIG_fail;
3095 }
3096 Py_INCREF(Py_None); resultobj = Py_None;
3097 return resultobj;
3098 fail:
3099 return NULL;
3100}
3101
3102
c32bde28 3103static PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3104 PyObject *resultobj;
3105 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3106 wxBitmap *arg2 = 0 ;
3107 PyObject * obj0 = 0 ;
3108 PyObject * obj1 = 0 ;
3109 char *kwnames[] = {
3110 (char *) "self",(char *) "bitmap", NULL
3111 };
3112
3113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3114 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3115 if (SWIG_arg_fail(1)) SWIG_fail;
3116 {
3117 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3118 if (SWIG_arg_fail(2)) SWIG_fail;
3119 if (arg2 == NULL) {
3120 SWIG_null_ref("wxBitmap");
3121 }
3122 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
3123 }
3124 {
3125 PyThreadState* __tstate = wxPyBeginAllowThreads();
3126 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
3127
3128 wxPyEndAllowThreads(__tstate);
3129 if (PyErr_Occurred()) SWIG_fail;
3130 }
3131 Py_INCREF(Py_None); resultobj = Py_None;
3132 return resultobj;
3133 fail:
3134 return NULL;
3135}
3136
3137
c32bde28 3138static PyObject *_wrap_BitmapButton_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3139 PyObject *resultobj;
3140 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3141 int arg2 ;
3142 int arg3 ;
3143 PyObject * obj0 = 0 ;
3144 PyObject * obj1 = 0 ;
3145 PyObject * obj2 = 0 ;
3146 char *kwnames[] = {
3147 (char *) "self",(char *) "x",(char *) "y", NULL
3148 };
3149
3150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BitmapButton_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
3151 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3152 if (SWIG_arg_fail(1)) SWIG_fail;
3153 {
3154 arg2 = (int)(SWIG_As_int(obj1));
3155 if (SWIG_arg_fail(2)) SWIG_fail;
3156 }
3157 {
3158 arg3 = (int)(SWIG_As_int(obj2));
3159 if (SWIG_arg_fail(3)) SWIG_fail;
3160 }
d55e5bfc
RD
3161 {
3162 PyThreadState* __tstate = wxPyBeginAllowThreads();
3163 (arg1)->SetMargins(arg2,arg3);
3164
3165 wxPyEndAllowThreads(__tstate);
3166 if (PyErr_Occurred()) SWIG_fail;
3167 }
3168 Py_INCREF(Py_None); resultobj = Py_None;
3169 return resultobj;
3170 fail:
3171 return NULL;
3172}
3173
3174
c32bde28 3175static PyObject *_wrap_BitmapButton_GetMarginX(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3176 PyObject *resultobj;
3177 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3178 int result;
3179 PyObject * obj0 = 0 ;
3180 char *kwnames[] = {
3181 (char *) "self", NULL
3182 };
3183
3184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginX",kwnames,&obj0)) goto fail;
093d3ff1
RD
3185 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3186 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3187 {
3188 PyThreadState* __tstate = wxPyBeginAllowThreads();
3189 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
3190
3191 wxPyEndAllowThreads(__tstate);
3192 if (PyErr_Occurred()) SWIG_fail;
3193 }
093d3ff1
RD
3194 {
3195 resultobj = SWIG_From_int((int)(result));
3196 }
d55e5bfc
RD
3197 return resultobj;
3198 fail:
3199 return NULL;
3200}
3201
3202
c32bde28 3203static PyObject *_wrap_BitmapButton_GetMarginY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3204 PyObject *resultobj;
3205 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3206 int result;
3207 PyObject * obj0 = 0 ;
3208 char *kwnames[] = {
3209 (char *) "self", NULL
3210 };
3211
3212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginY",kwnames,&obj0)) goto fail;
093d3ff1
RD
3213 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3214 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3215 {
3216 PyThreadState* __tstate = wxPyBeginAllowThreads();
3217 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
3218
3219 wxPyEndAllowThreads(__tstate);
3220 if (PyErr_Occurred()) SWIG_fail;
3221 }
093d3ff1
RD
3222 {
3223 resultobj = SWIG_From_int((int)(result));
3224 }
d55e5bfc
RD
3225 return resultobj;
3226 fail:
3227 return NULL;
3228}
3229
3230
c32bde28 3231static PyObject * BitmapButton_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
3232 PyObject *obj;
3233 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3234 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton, obj);
3235 Py_INCREF(obj);
3236 return Py_BuildValue((char *)"");
3237}
c32bde28 3238static int _wrap_CheckBoxNameStr_set(PyObject *) {
d55e5bfc
RD
3239 PyErr_SetString(PyExc_TypeError,"Variable CheckBoxNameStr is read-only.");
3240 return 1;
3241}
3242
3243
093d3ff1 3244static PyObject *_wrap_CheckBoxNameStr_get(void) {
d55e5bfc
RD
3245 PyObject *pyobj;
3246
3247 {
3248#if wxUSE_UNICODE
3249 pyobj = PyUnicode_FromWideChar((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
3250#else
3251 pyobj = PyString_FromStringAndSize((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
3252#endif
3253 }
3254 return pyobj;
3255}
3256
3257
c32bde28 3258static PyObject *_wrap_new_CheckBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3259 PyObject *resultobj;
3260 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
3261 int arg2 = (int) -1 ;
3262 wxString const &arg3_defvalue = wxPyEmptyString ;
3263 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
3264 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3265 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3266 wxSize const &arg5_defvalue = wxDefaultSize ;
3267 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3268 long arg6 = (long) 0 ;
3269 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3270 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3271 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
3272 wxString *arg8 = (wxString *) &arg8_defvalue ;
3273 wxCheckBox *result;
ae8162c8 3274 bool temp3 = false ;
d55e5bfc
RD
3275 wxPoint temp4 ;
3276 wxSize temp5 ;
ae8162c8 3277 bool temp8 = false ;
d55e5bfc
RD
3278 PyObject * obj0 = 0 ;
3279 PyObject * obj1 = 0 ;
3280 PyObject * obj2 = 0 ;
3281 PyObject * obj3 = 0 ;
3282 PyObject * obj4 = 0 ;
3283 PyObject * obj5 = 0 ;
3284 PyObject * obj6 = 0 ;
3285 PyObject * obj7 = 0 ;
3286 char *kwnames[] = {
3287 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3288 };
3289
248ed943 3290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
3291 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3292 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 3293 if (obj1) {
093d3ff1
RD
3294 {
3295 arg2 = (int)(SWIG_As_int(obj1));
3296 if (SWIG_arg_fail(2)) SWIG_fail;
3297 }
248ed943
RD
3298 }
3299 if (obj2) {
3300 {
3301 arg3 = wxString_in_helper(obj2);
3302 if (arg3 == NULL) SWIG_fail;
ae8162c8 3303 temp3 = true;
248ed943 3304 }
d55e5bfc
RD
3305 }
3306 if (obj3) {
3307 {
3308 arg4 = &temp4;
3309 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3310 }
3311 }
3312 if (obj4) {
3313 {
3314 arg5 = &temp5;
3315 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3316 }
3317 }
3318 if (obj5) {
093d3ff1
RD
3319 {
3320 arg6 = (long)(SWIG_As_long(obj5));
3321 if (SWIG_arg_fail(6)) SWIG_fail;
3322 }
d55e5bfc
RD
3323 }
3324 if (obj6) {
093d3ff1
RD
3325 {
3326 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
3327 if (SWIG_arg_fail(7)) SWIG_fail;
3328 if (arg7 == NULL) {
3329 SWIG_null_ref("wxValidator");
3330 }
3331 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
3332 }
3333 }
3334 if (obj7) {
3335 {
3336 arg8 = wxString_in_helper(obj7);
3337 if (arg8 == NULL) SWIG_fail;
ae8162c8 3338 temp8 = true;
d55e5bfc
RD
3339 }
3340 }
3341 {
0439c23b 3342 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3343 PyThreadState* __tstate = wxPyBeginAllowThreads();
3344 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3345
3346 wxPyEndAllowThreads(__tstate);
110da5b0 3347 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3348 }
3349 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
3350 {
3351 if (temp3)
3352 delete arg3;
3353 }
3354 {
3355 if (temp8)
3356 delete arg8;
3357 }
3358 return resultobj;
3359 fail:
3360 {
3361 if (temp3)
3362 delete arg3;
3363 }
3364 {
3365 if (temp8)
3366 delete arg8;
3367 }
3368 return NULL;
3369}
3370
3371
c32bde28 3372static PyObject *_wrap_new_PreCheckBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3373 PyObject *resultobj;
3374 wxCheckBox *result;
3375 char *kwnames[] = {
3376 NULL
3377 };
3378
3379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckBox",kwnames)) goto fail;
3380 {
0439c23b 3381 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3382 PyThreadState* __tstate = wxPyBeginAllowThreads();
3383 result = (wxCheckBox *)new wxCheckBox();
3384
3385 wxPyEndAllowThreads(__tstate);
110da5b0 3386 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3387 }
3388 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
3389 return resultobj;
3390 fail:
3391 return NULL;
3392}
3393
3394
c32bde28 3395static PyObject *_wrap_CheckBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3396 PyObject *resultobj;
3397 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3398 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
3399 int arg3 = (int) -1 ;
3400 wxString const &arg4_defvalue = wxPyEmptyString ;
3401 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
3402 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3403 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3404 wxSize const &arg6_defvalue = wxDefaultSize ;
3405 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3406 long arg7 = (long) 0 ;
3407 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3408 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3409 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
3410 wxString *arg9 = (wxString *) &arg9_defvalue ;
3411 bool result;
ae8162c8 3412 bool temp4 = false ;
d55e5bfc
RD
3413 wxPoint temp5 ;
3414 wxSize temp6 ;
ae8162c8 3415 bool temp9 = false ;
d55e5bfc
RD
3416 PyObject * obj0 = 0 ;
3417 PyObject * obj1 = 0 ;
3418 PyObject * obj2 = 0 ;
3419 PyObject * obj3 = 0 ;
3420 PyObject * obj4 = 0 ;
3421 PyObject * obj5 = 0 ;
3422 PyObject * obj6 = 0 ;
3423 PyObject * obj7 = 0 ;
3424 PyObject * obj8 = 0 ;
3425 char *kwnames[] = {
3426 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3427 };
3428
248ed943 3429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
3430 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3431 if (SWIG_arg_fail(1)) SWIG_fail;
3432 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3433 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 3434 if (obj2) {
093d3ff1
RD
3435 {
3436 arg3 = (int)(SWIG_As_int(obj2));
3437 if (SWIG_arg_fail(3)) SWIG_fail;
3438 }
248ed943
RD
3439 }
3440 if (obj3) {
3441 {
3442 arg4 = wxString_in_helper(obj3);
3443 if (arg4 == NULL) SWIG_fail;
ae8162c8 3444 temp4 = true;
248ed943 3445 }
d55e5bfc
RD
3446 }
3447 if (obj4) {
3448 {
3449 arg5 = &temp5;
3450 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3451 }
3452 }
3453 if (obj5) {
3454 {
3455 arg6 = &temp6;
3456 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3457 }
3458 }
3459 if (obj6) {
093d3ff1
RD
3460 {
3461 arg7 = (long)(SWIG_As_long(obj6));
3462 if (SWIG_arg_fail(7)) SWIG_fail;
3463 }
d55e5bfc
RD
3464 }
3465 if (obj7) {
093d3ff1
RD
3466 {
3467 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
3468 if (SWIG_arg_fail(8)) SWIG_fail;
3469 if (arg8 == NULL) {
3470 SWIG_null_ref("wxValidator");
3471 }
3472 if (SWIG_arg_fail(8)) SWIG_fail;
d55e5bfc
RD
3473 }
3474 }
3475 if (obj8) {
3476 {
3477 arg9 = wxString_in_helper(obj8);
3478 if (arg9 == NULL) SWIG_fail;
ae8162c8 3479 temp9 = true;
d55e5bfc
RD
3480 }
3481 }
3482 {
3483 PyThreadState* __tstate = wxPyBeginAllowThreads();
3484 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3485
3486 wxPyEndAllowThreads(__tstate);
3487 if (PyErr_Occurred()) SWIG_fail;
3488 }
3489 {
3490 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3491 }
3492 {
3493 if (temp4)
3494 delete arg4;
3495 }
3496 {
3497 if (temp9)
3498 delete arg9;
3499 }
3500 return resultobj;
3501 fail:
3502 {
3503 if (temp4)
3504 delete arg4;
3505 }
3506 {
3507 if (temp9)
3508 delete arg9;
3509 }
3510 return NULL;
3511}
3512
3513
c32bde28 3514static PyObject *_wrap_CheckBox_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3515 PyObject *resultobj;
3516 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3517 bool result;
3518 PyObject * obj0 = 0 ;
3519 char *kwnames[] = {
3520 (char *) "self", NULL
3521 };
3522
3523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_GetValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
3524 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3525 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3526 {
3527 PyThreadState* __tstate = wxPyBeginAllowThreads();
3528 result = (bool)(arg1)->GetValue();
3529
3530 wxPyEndAllowThreads(__tstate);
3531 if (PyErr_Occurred()) SWIG_fail;
3532 }
3533 {
3534 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3535 }
3536 return resultobj;
3537 fail:
3538 return NULL;
3539}
3540
3541
c32bde28 3542static PyObject *_wrap_CheckBox_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3543 PyObject *resultobj;
3544 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3545 bool result;
3546 PyObject * obj0 = 0 ;
3547 char *kwnames[] = {
3548 (char *) "self", NULL
3549 };
3550
3551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_IsChecked",kwnames,&obj0)) goto fail;
093d3ff1
RD
3552 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3553 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3554 {
3555 PyThreadState* __tstate = wxPyBeginAllowThreads();
3556 result = (bool)(arg1)->IsChecked();
3557
3558 wxPyEndAllowThreads(__tstate);
3559 if (PyErr_Occurred()) SWIG_fail;
3560 }
3561 {
3562 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3563 }
3564 return resultobj;
3565 fail:
3566 return NULL;
3567}
3568
3569
c32bde28 3570static PyObject *_wrap_CheckBox_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3571 PyObject *resultobj;
3572 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3573 bool arg2 ;
3574 PyObject * obj0 = 0 ;
3575 PyObject * obj1 = 0 ;
3576 char *kwnames[] = {
3577 (char *) "self",(char *) "state", NULL
3578 };
3579
3580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3581 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3582 if (SWIG_arg_fail(1)) SWIG_fail;
3583 {
3584 arg2 = (bool const)(SWIG_As_bool(obj1));
3585 if (SWIG_arg_fail(2)) SWIG_fail;
3586 }
d55e5bfc
RD
3587 {
3588 PyThreadState* __tstate = wxPyBeginAllowThreads();
3589 (arg1)->SetValue(arg2);
3590
3591 wxPyEndAllowThreads(__tstate);
3592 if (PyErr_Occurred()) SWIG_fail;
3593 }
3594 Py_INCREF(Py_None); resultobj = Py_None;
3595 return resultobj;
3596 fail:
3597 return NULL;
3598}
3599
3600
c32bde28 3601static PyObject *_wrap_CheckBox_Get3StateValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3602 PyObject *resultobj;
3603 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
093d3ff1 3604 wxCheckBoxState result;
d55e5bfc
RD
3605 PyObject * obj0 = 0 ;
3606 char *kwnames[] = {
3607 (char *) "self", NULL
3608 };
3609
3610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Get3StateValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
3611 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3612 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3613 {
3614 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3615 result = (wxCheckBoxState)((wxCheckBox const *)arg1)->Get3StateValue();
d55e5bfc
RD
3616
3617 wxPyEndAllowThreads(__tstate);
3618 if (PyErr_Occurred()) SWIG_fail;
3619 }
093d3ff1 3620 resultobj = SWIG_From_int((result));
d55e5bfc
RD
3621 return resultobj;
3622 fail:
3623 return NULL;
3624}
3625
3626
c32bde28 3627static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3628 PyObject *resultobj;
3629 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
093d3ff1 3630 wxCheckBoxState arg2 ;
d55e5bfc
RD
3631 PyObject * obj0 = 0 ;
3632 PyObject * obj1 = 0 ;
3633 char *kwnames[] = {
3634 (char *) "self",(char *) "state", NULL
3635 };
3636
3637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_Set3StateValue",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3638 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3639 if (SWIG_arg_fail(1)) SWIG_fail;
3640 {
3641 arg2 = (wxCheckBoxState)(SWIG_As_int(obj1));
3642 if (SWIG_arg_fail(2)) SWIG_fail;
3643 }
d55e5bfc
RD
3644 {
3645 PyThreadState* __tstate = wxPyBeginAllowThreads();
3646 (arg1)->Set3StateValue((wxCheckBoxState )arg2);
3647
3648 wxPyEndAllowThreads(__tstate);
3649 if (PyErr_Occurred()) SWIG_fail;
3650 }
3651 Py_INCREF(Py_None); resultobj = Py_None;
3652 return resultobj;
3653 fail:
3654 return NULL;
3655}
3656
3657
c32bde28 3658static PyObject *_wrap_CheckBox_Is3State(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3659 PyObject *resultobj;
3660 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3661 bool result;
3662 PyObject * obj0 = 0 ;
3663 char *kwnames[] = {
3664 (char *) "self", NULL
3665 };
3666
3667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3State",kwnames,&obj0)) goto fail;
093d3ff1
RD
3668 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3669 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3670 {
3671 PyThreadState* __tstate = wxPyBeginAllowThreads();
3672 result = (bool)((wxCheckBox const *)arg1)->Is3State();
3673
3674 wxPyEndAllowThreads(__tstate);
3675 if (PyErr_Occurred()) SWIG_fail;
3676 }
3677 {
3678 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3679 }
3680 return resultobj;
3681 fail:
3682 return NULL;
3683}
3684
3685
c32bde28 3686static PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3687 PyObject *resultobj;
3688 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3689 bool result;
3690 PyObject * obj0 = 0 ;
3691 char *kwnames[] = {
3692 (char *) "self", NULL
3693 };
3694
3695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames,&obj0)) goto fail;
093d3ff1
RD
3696 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3697 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3698 {
3699 PyThreadState* __tstate = wxPyBeginAllowThreads();
3700 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
3701
3702 wxPyEndAllowThreads(__tstate);
3703 if (PyErr_Occurred()) SWIG_fail;
3704 }
3705 {
3706 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3707 }
3708 return resultobj;
3709 fail:
3710 return NULL;
3711}
3712
3713
c32bde28 3714static PyObject *_wrap_CheckBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 3715 PyObject *resultobj;
093d3ff1 3716 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
3717 wxVisualAttributes result;
3718 PyObject * obj0 = 0 ;
3719 char *kwnames[] = {
3720 (char *) "variant", NULL
3721 };
3722
3723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
3724 if (obj0) {
093d3ff1
RD
3725 {
3726 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
3727 if (SWIG_arg_fail(1)) SWIG_fail;
3728 }
f20a2e1f
RD
3729 }
3730 {
19272049 3731 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
3732 PyThreadState* __tstate = wxPyBeginAllowThreads();
3733 result = wxCheckBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
3734
3735 wxPyEndAllowThreads(__tstate);
110da5b0 3736 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
3737 }
3738 {
3739 wxVisualAttributes * resultptr;
093d3ff1 3740 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
3741 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
3742 }
3743 return resultobj;
3744 fail:
3745 return NULL;
3746}
3747
3748
c32bde28 3749static PyObject * CheckBox_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
3750 PyObject *obj;
3751 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3752 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox, obj);
3753 Py_INCREF(obj);
3754 return Py_BuildValue((char *)"");
3755}
c32bde28 3756static int _wrap_ChoiceNameStr_set(PyObject *) {
d55e5bfc
RD
3757 PyErr_SetString(PyExc_TypeError,"Variable ChoiceNameStr is read-only.");
3758 return 1;
3759}
3760
3761
093d3ff1 3762static PyObject *_wrap_ChoiceNameStr_get(void) {
d55e5bfc
RD
3763 PyObject *pyobj;
3764
3765 {
3766#if wxUSE_UNICODE
3767 pyobj = PyUnicode_FromWideChar((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
3768#else
3769 pyobj = PyString_FromStringAndSize((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
3770#endif
3771 }
3772 return pyobj;
3773}
3774
3775
c32bde28 3776static PyObject *_wrap_new_Choice(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3777 PyObject *resultobj;
3778 wxWindow *arg1 = (wxWindow *) 0 ;
3779 int arg2 = (int) -1 ;
3780 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3781 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3782 wxSize const &arg4_defvalue = wxDefaultSize ;
3783 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3784 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
3785 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
3786 long arg6 = (long) 0 ;
3787 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3788 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3789 wxString const &arg8_defvalue = wxPyChoiceNameStr ;
3790 wxString *arg8 = (wxString *) &arg8_defvalue ;
3791 wxChoice *result;
3792 wxPoint temp3 ;
3793 wxSize temp4 ;
ae8162c8
RD
3794 bool temp5 = false ;
3795 bool temp8 = false ;
d55e5bfc
RD
3796 PyObject * obj0 = 0 ;
3797 PyObject * obj1 = 0 ;
3798 PyObject * obj2 = 0 ;
3799 PyObject * obj3 = 0 ;
3800 PyObject * obj4 = 0 ;
3801 PyObject * obj5 = 0 ;
3802 PyObject * obj6 = 0 ;
3803 PyObject * obj7 = 0 ;
3804 char *kwnames[] = {
3805 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3806 };
3807
3808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Choice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
3809 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3810 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 3811 if (obj1) {
093d3ff1
RD
3812 {
3813 arg2 = (int)(SWIG_As_int(obj1));
3814 if (SWIG_arg_fail(2)) SWIG_fail;
3815 }
d55e5bfc
RD
3816 }
3817 if (obj2) {
3818 {
3819 arg3 = &temp3;
3820 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3821 }
3822 }
3823 if (obj3) {
3824 {
3825 arg4 = &temp4;
3826 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3827 }
3828 }
3829 if (obj4) {
3830 {
3831 if (! PySequence_Check(obj4)) {
3832 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
3833 SWIG_fail;
3834 }
3835 arg5 = new wxArrayString;
ae8162c8 3836 temp5 = true;
d55e5bfc
RD
3837 int i, len=PySequence_Length(obj4);
3838 for (i=0; i<len; i++) {
3839 PyObject* item = PySequence_GetItem(obj4, i);
71237536 3840 wxString* s = wxString_in_helper(item);
d55e5bfc 3841 if (PyErr_Occurred()) SWIG_fail;
71237536
RD
3842 arg5->Add(*s);
3843 delete s;
d55e5bfc 3844 Py_DECREF(item);
d55e5bfc
RD
3845 }
3846 }
3847 }
3848 if (obj5) {
093d3ff1
RD
3849 {
3850 arg6 = (long)(SWIG_As_long(obj5));
3851 if (SWIG_arg_fail(6)) SWIG_fail;
3852 }
d55e5bfc
RD
3853 }
3854 if (obj6) {
093d3ff1
RD
3855 {
3856 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
3857 if (SWIG_arg_fail(7)) SWIG_fail;
3858 if (arg7 == NULL) {
3859 SWIG_null_ref("wxValidator");
3860 }
3861 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
3862 }
3863 }
3864 if (obj7) {
3865 {
3866 arg8 = wxString_in_helper(obj7);
3867 if (arg8 == NULL) SWIG_fail;
ae8162c8 3868 temp8 = true;
d55e5bfc
RD
3869 }
3870 }
3871 {
0439c23b 3872 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3873 PyThreadState* __tstate = wxPyBeginAllowThreads();
3874 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3875
3876 wxPyEndAllowThreads(__tstate);
110da5b0 3877 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3878 }
3879 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
3880 {
3881 if (temp5) delete arg5;
3882 }
3883 {
3884 if (temp8)
3885 delete arg8;
3886 }
3887 return resultobj;
3888 fail:
3889 {
3890 if (temp5) delete arg5;
3891 }
3892 {
3893 if (temp8)
3894 delete arg8;
3895 }
3896 return NULL;
3897}
3898
3899
c32bde28 3900static PyObject *_wrap_new_PreChoice(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3901 PyObject *resultobj;
3902 wxChoice *result;
3903 char *kwnames[] = {
3904 NULL
3905 };
3906
3907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoice",kwnames)) goto fail;
3908 {
0439c23b 3909 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3910 PyThreadState* __tstate = wxPyBeginAllowThreads();
3911 result = (wxChoice *)new wxChoice();
3912
3913 wxPyEndAllowThreads(__tstate);
110da5b0 3914 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3915 }
3916 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
3917 return resultobj;
3918 fail:
3919 return NULL;
3920}
3921
3922
c32bde28 3923static PyObject *_wrap_Choice_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3924 PyObject *resultobj;
3925 wxChoice *arg1 = (wxChoice *) 0 ;
3926 wxWindow *arg2 = (wxWindow *) 0 ;
3927 int arg3 = (int) -1 ;
3928 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3929 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3930 wxSize const &arg5_defvalue = wxDefaultSize ;
3931 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3932 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
3933 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
3934 long arg7 = (long) 0 ;
3935 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3936 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3937 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
3938 wxString *arg9 = (wxString *) &arg9_defvalue ;
3939 bool result;
3940 wxPoint temp4 ;
3941 wxSize temp5 ;
ae8162c8
RD
3942 bool temp6 = false ;
3943 bool temp9 = false ;
d55e5bfc
RD
3944 PyObject * obj0 = 0 ;
3945 PyObject * obj1 = 0 ;
3946 PyObject * obj2 = 0 ;
3947 PyObject * obj3 = 0 ;
3948 PyObject * obj4 = 0 ;
3949 PyObject * obj5 = 0 ;
3950 PyObject * obj6 = 0 ;
3951 PyObject * obj7 = 0 ;
3952 PyObject * obj8 = 0 ;
3953 char *kwnames[] = {
3954 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3955 };
3956
3957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Choice_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
3958 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoice, SWIG_POINTER_EXCEPTION | 0);
3959 if (SWIG_arg_fail(1)) SWIG_fail;
3960 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3961 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 3962 if (obj2) {
093d3ff1
RD
3963 {
3964 arg3 = (int)(SWIG_As_int(obj2));
3965 if (SWIG_arg_fail(3)) SWIG_fail;
3966 }
d55e5bfc
RD
3967 }
3968 if (obj3) {
3969 {
3970 arg4 = &temp4;
3971 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3972 }
3973 }
3974 if (obj4) {
3975 {
3976 arg5 = &temp5;
3977 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3978 }
3979 }
3980 if (obj5) {
3981 {
3982 if (! PySequence_Check(obj5)) {
3983 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
3984 SWIG_fail;
3985 }
3986 arg6 = new wxArrayString;
ae8162c8 3987 temp6 = true;
d55e5bfc
RD
3988 int i, len=PySequence_Length(obj5);
3989 for (i=0; i<len; i++) {
3990 PyObject* item = PySequence_GetItem(obj5, i);
71237536 3991 wxString* s = wxString_in_helper(item);
d55e5bfc 3992 if (PyErr_Occurred()) SWIG_fail;
71237536
RD
3993 arg6->Add(*s);
3994 delete s;
d55e5bfc 3995 Py_DECREF(item);
d55e5bfc
RD
3996 }
3997 }
3998 }
3999 if (obj6) {
093d3ff1
RD
4000 {
4001 arg7 = (long)(SWIG_As_long(obj6));
4002 if (SWIG_arg_fail(7)) SWIG_fail;
4003 }
d55e5bfc
RD
4004 }
4005 if (obj7) {
093d3ff1
RD
4006 {
4007 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
4008 if (SWIG_arg_fail(8)) SWIG_fail;
4009 if (arg8 == NULL) {
4010 SWIG_null_ref("wxValidator");
4011 }
4012 if (SWIG_arg_fail(8)) SWIG_fail;
d55e5bfc
RD
4013 }
4014 }
4015 if (obj8) {
4016 {
4017 arg9 = wxString_in_helper(obj8);
4018 if (arg9 == NULL) SWIG_fail;
ae8162c8 4019 temp9 = true;
d55e5bfc
RD
4020 }
4021 }
4022 {
4023 PyThreadState* __tstate = wxPyBeginAllowThreads();
4024 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4025
4026 wxPyEndAllowThreads(__tstate);
4027 if (PyErr_Occurred()) SWIG_fail;
4028 }
4029 {
4030 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4031 }
4032 {
4033 if (temp6) delete arg6;
4034 }
4035 {
4036 if (temp9)
4037 delete arg9;
4038 }
4039 return resultobj;
4040 fail:
4041 {
4042 if (temp6) delete arg6;
4043 }
4044 {
4045 if (temp9)
4046 delete arg9;
4047 }
4048 return NULL;
4049}
4050
4051
c32bde28 4052static PyObject *_wrap_Choice_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 4053 PyObject *resultobj;
093d3ff1 4054 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
4055 wxVisualAttributes result;
4056 PyObject * obj0 = 0 ;
4057 char *kwnames[] = {
4058 (char *) "variant", NULL
4059 };
4060
4061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4062 if (obj0) {
093d3ff1
RD
4063 {
4064 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
4065 if (SWIG_arg_fail(1)) SWIG_fail;
4066 }
f20a2e1f
RD
4067 }
4068 {
19272049 4069 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
4070 PyThreadState* __tstate = wxPyBeginAllowThreads();
4071 result = wxChoice::GetClassDefaultAttributes((wxWindowVariant )arg1);
4072
4073 wxPyEndAllowThreads(__tstate);
110da5b0 4074 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
4075 }
4076 {
4077 wxVisualAttributes * resultptr;
093d3ff1 4078 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
4079 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4080 }
4081 return resultobj;
4082 fail:
4083 return NULL;
4084}
4085
4086
c32bde28 4087static PyObject * Choice_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
4088 PyObject *obj;
4089 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4090 SWIG_TypeClientData(SWIGTYPE_p_wxChoice, obj);
4091 Py_INCREF(obj);
4092 return Py_BuildValue((char *)"");
4093}
c32bde28 4094static int _wrap_ComboBoxNameStr_set(PyObject *) {
d55e5bfc
RD
4095 PyErr_SetString(PyExc_TypeError,"Variable ComboBoxNameStr is read-only.");
4096 return 1;
4097}
4098
4099
093d3ff1 4100static PyObject *_wrap_ComboBoxNameStr_get(void) {
d55e5bfc
RD
4101 PyObject *pyobj;
4102
4103 {
4104#if wxUSE_UNICODE
4105 pyobj = PyUnicode_FromWideChar((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
4106#else
4107 pyobj = PyString_FromStringAndSize((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
4108#endif
4109 }
4110 return pyobj;
4111}
4112
4113
c32bde28 4114static PyObject *_wrap_new_ComboBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4115 PyObject *resultobj;
4116 wxWindow *arg1 = (wxWindow *) 0 ;
4117 int arg2 = (int) -1 ;
4118 wxString const &arg3_defvalue = wxPyEmptyString ;
4119 wxString *arg3 = (wxString *) &arg3_defvalue ;
4120 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4121 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4122 wxSize const &arg5_defvalue = wxDefaultSize ;
4123 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4124 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
4125 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
4126 long arg7 = (long) 0 ;
4127 wxValidator const &arg8_defvalue = wxDefaultValidator ;
4128 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
4129 wxString const &arg9_defvalue = wxPyComboBoxNameStr ;
4130 wxString *arg9 = (wxString *) &arg9_defvalue ;
4131 wxComboBox *result;
ae8162c8 4132 bool temp3 = false ;
d55e5bfc
RD
4133 wxPoint temp4 ;
4134 wxSize temp5 ;
ae8162c8
RD
4135 bool temp6 = false ;
4136 bool temp9 = false ;
d55e5bfc
RD
4137 PyObject * obj0 = 0 ;
4138 PyObject * obj1 = 0 ;
4139 PyObject * obj2 = 0 ;
4140 PyObject * obj3 = 0 ;
4141 PyObject * obj4 = 0 ;
4142 PyObject * obj5 = 0 ;
4143 PyObject * obj6 = 0 ;
4144 PyObject * obj7 = 0 ;
4145 PyObject * obj8 = 0 ;
4146 char *kwnames[] = {
4147 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4148 };
4149
4150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_ComboBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
4151 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4152 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 4153 if (obj1) {
093d3ff1
RD
4154 {
4155 arg2 = (int)(SWIG_As_int(obj1));
4156 if (SWIG_arg_fail(2)) SWIG_fail;
4157 }
d55e5bfc
RD
4158 }
4159 if (obj2) {
4160 {
4161 arg3 = wxString_in_helper(obj2);
4162 if (arg3 == NULL) SWIG_fail;
ae8162c8 4163 temp3 = true;
d55e5bfc
RD
4164 }
4165 }
4166 if (obj3) {
4167 {
4168 arg4 = &temp4;
4169 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4170 }
4171 }
4172 if (obj4) {
4173 {
4174 arg5 = &temp5;
4175 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4176 }
4177 }
4178 if (obj5) {
4179 {
4180 if (! PySequence_Check(obj5)) {
4181 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4182 SWIG_fail;
4183 }
4184 arg6 = new wxArrayString;
ae8162c8 4185 temp6 = true;
d55e5bfc
RD
4186 int i, len=PySequence_Length(obj5);
4187 for (i=0; i<len; i++) {
4188 PyObject* item = PySequence_GetItem(obj5, i);
71237536 4189 wxString* s = wxString_in_helper(item);
d55e5bfc 4190 if (PyErr_Occurred()) SWIG_fail;
71237536
RD
4191 arg6->Add(*s);
4192 delete s;
d55e5bfc 4193 Py_DECREF(item);
d55e5bfc
RD
4194 }
4195 }
4196 }
4197 if (obj6) {
093d3ff1
RD
4198 {
4199 arg7 = (long)(SWIG_As_long(obj6));
4200 if (SWIG_arg_fail(7)) SWIG_fail;
4201 }
d55e5bfc
RD
4202 }
4203 if (obj7) {
093d3ff1
RD
4204 {
4205 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
4206 if (SWIG_arg_fail(8)) SWIG_fail;
4207 if (arg8 == NULL) {
4208 SWIG_null_ref("wxValidator");
4209 }
4210 if (SWIG_arg_fail(8)) SWIG_fail;
d55e5bfc
RD
4211 }
4212 }
4213 if (obj8) {
4214 {
4215 arg9 = wxString_in_helper(obj8);
4216 if (arg9 == NULL) SWIG_fail;
ae8162c8 4217 temp9 = true;
d55e5bfc
RD
4218 }
4219 }
4220 {
0439c23b 4221 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4222 PyThreadState* __tstate = wxPyBeginAllowThreads();
4223 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);
4224
4225 wxPyEndAllowThreads(__tstate);
110da5b0 4226 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4227 }
4228 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
4229 {
4230 if (temp3)
4231 delete arg3;
4232 }
4233 {
4234 if (temp6) delete arg6;
4235 }
4236 {
4237 if (temp9)
4238 delete arg9;
4239 }
4240 return resultobj;
4241 fail:
4242 {
4243 if (temp3)
4244 delete arg3;
4245 }
4246 {
4247 if (temp6) delete arg6;
4248 }
4249 {
4250 if (temp9)
4251 delete arg9;
4252 }
4253 return NULL;
4254}
4255
4256
c32bde28 4257static PyObject *_wrap_new_PreComboBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4258 PyObject *resultobj;
4259 wxComboBox *result;
4260 char *kwnames[] = {
4261 NULL
4262 };
4263
4264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreComboBox",kwnames)) goto fail;
4265 {
0439c23b 4266 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4267 PyThreadState* __tstate = wxPyBeginAllowThreads();
4268 result = (wxComboBox *)new wxComboBox();
4269
4270 wxPyEndAllowThreads(__tstate);
110da5b0 4271 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4272 }
4273 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
4274 return resultobj;
4275 fail:
4276 return NULL;
4277}
4278
4279
c32bde28 4280static PyObject *_wrap_ComboBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4281 PyObject *resultobj;
4282 wxComboBox *arg1 = (wxComboBox *) 0 ;
4283 wxWindow *arg2 = (wxWindow *) 0 ;
4284 int arg3 = (int) -1 ;
4285 wxString const &arg4_defvalue = wxPyEmptyString ;
4286 wxString *arg4 = (wxString *) &arg4_defvalue ;
4287 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4288 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4289 wxSize const &arg6_defvalue = wxDefaultSize ;
4290 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4291 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
4292 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
4293 long arg8 = (long) 0 ;
4294 wxValidator const &arg9_defvalue = wxDefaultValidator ;
4295 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
4296 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
4297 wxString *arg10 = (wxString *) &arg10_defvalue ;
4298 bool result;
ae8162c8 4299 bool temp4 = false ;
d55e5bfc
RD
4300 wxPoint temp5 ;
4301 wxSize temp6 ;
ae8162c8
RD
4302 bool temp7 = false ;
4303 bool temp10 = false ;
d55e5bfc
RD
4304 PyObject * obj0 = 0 ;
4305 PyObject * obj1 = 0 ;
4306 PyObject * obj2 = 0 ;
4307 PyObject * obj3 = 0 ;
4308 PyObject * obj4 = 0 ;
4309 PyObject * obj5 = 0 ;
4310 PyObject * obj6 = 0 ;
4311 PyObject * obj7 = 0 ;
4312 PyObject * obj8 = 0 ;
4313 PyObject * obj9 = 0 ;
4314 char *kwnames[] = {
4315 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4316 };
4317
4318 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
4319 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4320 if (SWIG_arg_fail(1)) SWIG_fail;
4321 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4322 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 4323 if (obj2) {
093d3ff1
RD
4324 {
4325 arg3 = (int)(SWIG_As_int(obj2));
4326 if (SWIG_arg_fail(3)) SWIG_fail;
4327 }
d55e5bfc
RD
4328 }
4329 if (obj3) {
4330 {
4331 arg4 = wxString_in_helper(obj3);
4332 if (arg4 == NULL) SWIG_fail;
ae8162c8 4333 temp4 = true;
d55e5bfc
RD
4334 }
4335 }
4336 if (obj4) {
4337 {
4338 arg5 = &temp5;
4339 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4340 }
4341 }
4342 if (obj5) {
4343 {
4344 arg6 = &temp6;
4345 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4346 }
4347 }
4348 if (obj6) {
4349 {
4350 if (! PySequence_Check(obj6)) {
4351 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4352 SWIG_fail;
4353 }
4354 arg7 = new wxArrayString;
ae8162c8 4355 temp7 = true;
d55e5bfc
RD
4356 int i, len=PySequence_Length(obj6);
4357 for (i=0; i<len; i++) {
4358 PyObject* item = PySequence_GetItem(obj6, i);
71237536 4359 wxString* s = wxString_in_helper(item);
d55e5bfc 4360 if (PyErr_Occurred()) SWIG_fail;
71237536
RD
4361 arg7->Add(*s);
4362 delete s;
d55e5bfc 4363 Py_DECREF(item);
d55e5bfc
RD
4364 }
4365 }
4366 }
4367 if (obj7) {
093d3ff1
RD
4368 {
4369 arg8 = (long)(SWIG_As_long(obj7));
4370 if (SWIG_arg_fail(8)) SWIG_fail;
4371 }
d55e5bfc
RD
4372 }
4373 if (obj8) {
093d3ff1
RD
4374 {
4375 SWIG_Python_ConvertPtr(obj8, (void **)&arg9, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
4376 if (SWIG_arg_fail(9)) SWIG_fail;
4377 if (arg9 == NULL) {
4378 SWIG_null_ref("wxValidator");
4379 }
4380 if (SWIG_arg_fail(9)) SWIG_fail;
d55e5bfc
RD
4381 }
4382 }
4383 if (obj9) {
4384 {
4385 arg10 = wxString_in_helper(obj9);
4386 if (arg10 == NULL) SWIG_fail;
ae8162c8 4387 temp10 = true;
d55e5bfc
RD
4388 }
4389 }
4390 {
4391 PyThreadState* __tstate = wxPyBeginAllowThreads();
4392 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);
4393
4394 wxPyEndAllowThreads(__tstate);
4395 if (PyErr_Occurred()) SWIG_fail;
4396 }
4397 {
4398 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4399 }
4400 {
4401 if (temp4)
4402 delete arg4;
4403 }
4404 {
4405 if (temp7) delete arg7;
4406 }
4407 {
4408 if (temp10)
4409 delete arg10;
4410 }
4411 return resultobj;
4412 fail:
4413 {
4414 if (temp4)
4415 delete arg4;
4416 }
4417 {
4418 if (temp7) delete arg7;
4419 }
4420 {
4421 if (temp10)
4422 delete arg10;
4423 }
4424 return NULL;
4425}
4426
4427
c32bde28 4428static PyObject *_wrap_ComboBox_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4429 PyObject *resultobj;
4430 wxComboBox *arg1 = (wxComboBox *) 0 ;
4431 wxString result;
4432 PyObject * obj0 = 0 ;
4433 char *kwnames[] = {
4434 (char *) "self", NULL
4435 };
4436
4437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
4438 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4439 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4440 {
4441 PyThreadState* __tstate = wxPyBeginAllowThreads();
4442 result = ((wxComboBox const *)arg1)->GetValue();
4443
4444 wxPyEndAllowThreads(__tstate);
4445 if (PyErr_Occurred()) SWIG_fail;
4446 }
4447 {
4448#if wxUSE_UNICODE
4449 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4450#else
4451 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4452#endif
4453 }
4454 return resultobj;
4455 fail:
4456 return NULL;
4457}
4458
4459
c32bde28 4460static PyObject *_wrap_ComboBox_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4461 PyObject *resultobj;
4462 wxComboBox *arg1 = (wxComboBox *) 0 ;
4463 wxString *arg2 = 0 ;
ae8162c8 4464 bool temp2 = false ;
d55e5bfc
RD
4465 PyObject * obj0 = 0 ;
4466 PyObject * obj1 = 0 ;
4467 char *kwnames[] = {
4468 (char *) "self",(char *) "value", NULL
4469 };
4470
4471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4472 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4473 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4474 {
4475 arg2 = wxString_in_helper(obj1);
4476 if (arg2 == NULL) SWIG_fail;
ae8162c8 4477 temp2 = true;
d55e5bfc
RD
4478 }
4479 {
4480 PyThreadState* __tstate = wxPyBeginAllowThreads();
4481 (arg1)->SetValue((wxString const &)*arg2);
4482
4483 wxPyEndAllowThreads(__tstate);
4484 if (PyErr_Occurred()) SWIG_fail;
4485 }
4486 Py_INCREF(Py_None); resultobj = Py_None;
4487 {
4488 if (temp2)
4489 delete arg2;
4490 }
4491 return resultobj;
4492 fail:
4493 {
4494 if (temp2)
4495 delete arg2;
4496 }
4497 return NULL;
4498}
4499
4500
c32bde28 4501static PyObject *_wrap_ComboBox_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4502 PyObject *resultobj;
4503 wxComboBox *arg1 = (wxComboBox *) 0 ;
4504 PyObject * obj0 = 0 ;
4505 char *kwnames[] = {
4506 (char *) "self", NULL
4507 };
4508
4509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Copy",kwnames,&obj0)) goto fail;
093d3ff1
RD
4510 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4511 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4512 {
4513 PyThreadState* __tstate = wxPyBeginAllowThreads();
4514 (arg1)->Copy();
4515
4516 wxPyEndAllowThreads(__tstate);
4517 if (PyErr_Occurred()) SWIG_fail;
4518 }
4519 Py_INCREF(Py_None); resultobj = Py_None;
4520 return resultobj;
4521 fail:
4522 return NULL;
4523}
4524
4525
c32bde28 4526static PyObject *_wrap_ComboBox_Cut(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4527 PyObject *resultobj;
4528 wxComboBox *arg1 = (wxComboBox *) 0 ;
4529 PyObject * obj0 = 0 ;
4530 char *kwnames[] = {
4531 (char *) "self", NULL
4532 };
4533
4534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Cut",kwnames,&obj0)) goto fail;
093d3ff1
RD
4535 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4536 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4537 {
4538 PyThreadState* __tstate = wxPyBeginAllowThreads();
4539 (arg1)->Cut();
4540
4541 wxPyEndAllowThreads(__tstate);
4542 if (PyErr_Occurred()) SWIG_fail;
4543 }
4544 Py_INCREF(Py_None); resultobj = Py_None;
4545 return resultobj;
4546 fail:
4547 return NULL;
4548}
4549
4550
c32bde28 4551static PyObject *_wrap_ComboBox_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4552 PyObject *resultobj;
4553 wxComboBox *arg1 = (wxComboBox *) 0 ;
4554 PyObject * obj0 = 0 ;
4555 char *kwnames[] = {
4556 (char *) "self", NULL
4557 };
4558
4559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Paste",kwnames,&obj0)) goto fail;
093d3ff1
RD
4560 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4561 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4562 {
4563 PyThreadState* __tstate = wxPyBeginAllowThreads();
4564 (arg1)->Paste();
4565
4566 wxPyEndAllowThreads(__tstate);
4567 if (PyErr_Occurred()) SWIG_fail;
4568 }
4569 Py_INCREF(Py_None); resultobj = Py_None;
4570 return resultobj;
4571 fail:
4572 return NULL;
4573}
4574
4575
c32bde28 4576static PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4577 PyObject *resultobj;
4578 wxComboBox *arg1 = (wxComboBox *) 0 ;
4579 long arg2 ;
4580 PyObject * obj0 = 0 ;
4581 PyObject * obj1 = 0 ;
4582 char *kwnames[] = {
4583 (char *) "self",(char *) "pos", NULL
4584 };
4585
4586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4587 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4588 if (SWIG_arg_fail(1)) SWIG_fail;
4589 {
4590 arg2 = (long)(SWIG_As_long(obj1));
4591 if (SWIG_arg_fail(2)) SWIG_fail;
4592 }
d55e5bfc
RD
4593 {
4594 PyThreadState* __tstate = wxPyBeginAllowThreads();
4595 (arg1)->SetInsertionPoint(arg2);
4596
4597 wxPyEndAllowThreads(__tstate);
4598 if (PyErr_Occurred()) SWIG_fail;
4599 }
4600 Py_INCREF(Py_None); resultobj = Py_None;
4601 return resultobj;
4602 fail:
4603 return NULL;
4604}
4605
4606
c32bde28 4607static PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4608 PyObject *resultobj;
4609 wxComboBox *arg1 = (wxComboBox *) 0 ;
4610 long result;
4611 PyObject * obj0 = 0 ;
4612 char *kwnames[] = {
4613 (char *) "self", NULL
4614 };
4615
4616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetInsertionPoint",kwnames,&obj0)) goto fail;
093d3ff1
RD
4617 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4618 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4619 {
4620 PyThreadState* __tstate = wxPyBeginAllowThreads();
4621 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
4622
4623 wxPyEndAllowThreads(__tstate);
4624 if (PyErr_Occurred()) SWIG_fail;
4625 }
093d3ff1
RD
4626 {
4627 resultobj = SWIG_From_long((long)(result));
4628 }
d55e5bfc
RD
4629 return resultobj;
4630 fail:
4631 return NULL;
4632}
4633
4634
c32bde28 4635static PyObject *_wrap_ComboBox_GetLastPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4636 PyObject *resultobj;
4637 wxComboBox *arg1 = (wxComboBox *) 0 ;
4638 long result;
4639 PyObject * obj0 = 0 ;
4640 char *kwnames[] = {
4641 (char *) "self", NULL
4642 };
4643
4644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetLastPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
4645 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4646 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4647 {
4648 PyThreadState* __tstate = wxPyBeginAllowThreads();
4649 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
4650
4651 wxPyEndAllowThreads(__tstate);
4652 if (PyErr_Occurred()) SWIG_fail;
4653 }
093d3ff1
RD
4654 {
4655 resultobj = SWIG_From_long((long)(result));
4656 }
d55e5bfc
RD
4657 return resultobj;
4658 fail:
4659 return NULL;
4660}
4661
4662
c32bde28 4663static PyObject *_wrap_ComboBox_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4664 PyObject *resultobj;
4665 wxComboBox *arg1 = (wxComboBox *) 0 ;
4666 long arg2 ;
4667 long arg3 ;
4668 wxString *arg4 = 0 ;
ae8162c8 4669 bool temp4 = false ;
d55e5bfc
RD
4670 PyObject * obj0 = 0 ;
4671 PyObject * obj1 = 0 ;
4672 PyObject * obj2 = 0 ;
4673 PyObject * obj3 = 0 ;
4674 char *kwnames[] = {
4675 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
4676 };
4677
4678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ComboBox_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
4679 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4680 if (SWIG_arg_fail(1)) SWIG_fail;
4681 {
4682 arg2 = (long)(SWIG_As_long(obj1));
4683 if (SWIG_arg_fail(2)) SWIG_fail;
4684 }
4685 {
4686 arg3 = (long)(SWIG_As_long(obj2));
4687 if (SWIG_arg_fail(3)) SWIG_fail;
4688 }
d55e5bfc
RD
4689 {
4690 arg4 = wxString_in_helper(obj3);
4691 if (arg4 == NULL) SWIG_fail;
ae8162c8 4692 temp4 = true;
d55e5bfc
RD
4693 }
4694 {
4695 PyThreadState* __tstate = wxPyBeginAllowThreads();
4696 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
4697
4698 wxPyEndAllowThreads(__tstate);
4699 if (PyErr_Occurred()) SWIG_fail;
4700 }
4701 Py_INCREF(Py_None); resultobj = Py_None;
4702 {
4703 if (temp4)
4704 delete arg4;
4705 }
4706 return resultobj;
4707 fail:
4708 {
4709 if (temp4)
4710 delete arg4;
4711 }
4712 return NULL;
4713}
4714
4715
c32bde28 4716static PyObject *_wrap_ComboBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4717 PyObject *resultobj;
4718 wxComboBox *arg1 = (wxComboBox *) 0 ;
4719 int arg2 ;
4720 PyObject * obj0 = 0 ;
4721 PyObject * obj1 = 0 ;
4722 char *kwnames[] = {
4723 (char *) "self",(char *) "n", NULL
4724 };
4725
4726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4727 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4728 if (SWIG_arg_fail(1)) SWIG_fail;
4729 {
4730 arg2 = (int)(SWIG_As_int(obj1));
4731 if (SWIG_arg_fail(2)) SWIG_fail;
4732 }
d55e5bfc
RD
4733 {
4734 PyThreadState* __tstate = wxPyBeginAllowThreads();
4735 (arg1)->SetSelection(arg2);
4736
4737 wxPyEndAllowThreads(__tstate);
4738 if (PyErr_Occurred()) SWIG_fail;
4739 }
4740 Py_INCREF(Py_None); resultobj = Py_None;
4741 return resultobj;
4742 fail:
4743 return NULL;
4744}
4745
4746
c32bde28 4747static PyObject *_wrap_ComboBox_SetMark(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4748 PyObject *resultobj;
4749 wxComboBox *arg1 = (wxComboBox *) 0 ;
4750 long arg2 ;
4751 long arg3 ;
4752 PyObject * obj0 = 0 ;
4753 PyObject * obj1 = 0 ;
4754 PyObject * obj2 = 0 ;
4755 char *kwnames[] = {
4756 (char *) "self",(char *) "from",(char *) "to", NULL
4757 };
4758
4759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetMark",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
4760 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4761 if (SWIG_arg_fail(1)) SWIG_fail;
4762 {
4763 arg2 = (long)(SWIG_As_long(obj1));
4764 if (SWIG_arg_fail(2)) SWIG_fail;
4765 }
4766 {
4767 arg3 = (long)(SWIG_As_long(obj2));
4768 if (SWIG_arg_fail(3)) SWIG_fail;
4769 }
d55e5bfc
RD
4770 {
4771 PyThreadState* __tstate = wxPyBeginAllowThreads();
4772 (arg1)->SetSelection(arg2,arg3);
4773
4774 wxPyEndAllowThreads(__tstate);
4775 if (PyErr_Occurred()) SWIG_fail;
4776 }
4777 Py_INCREF(Py_None); resultobj = Py_None;
4778 return resultobj;
4779 fail:
4780 return NULL;
4781}
4782
4783
f78cc896
RD
4784static PyObject *_wrap_ComboBox_GetMark(PyObject *, PyObject *args, PyObject *kwargs) {
4785 PyObject *resultobj;
4786 wxComboBox *arg1 = (wxComboBox *) 0 ;
4787 long *arg2 = (long *) 0 ;
4788 long *arg3 = (long *) 0 ;
4789 long temp2 ;
4790 int res2 = 0 ;
4791 long temp3 ;
4792 int res3 = 0 ;
4793 PyObject * obj0 = 0 ;
4794 char *kwnames[] = {
4795 (char *) "self", NULL
4796 };
4797
4798 arg2 = &temp2; res2 = SWIG_NEWOBJ;
4799 arg3 = &temp3; res3 = SWIG_NEWOBJ;
4800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetMark",kwnames,&obj0)) goto fail;
093d3ff1
RD
4801 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4802 if (SWIG_arg_fail(1)) SWIG_fail;
f78cc896
RD
4803 {
4804 PyThreadState* __tstate = wxPyBeginAllowThreads();
4805 (arg1)->GetSelection(arg2,arg3);
4806
4807 wxPyEndAllowThreads(__tstate);
4808 if (PyErr_Occurred()) SWIG_fail;
4809 }
4810 Py_INCREF(Py_None); resultobj = Py_None;
4811 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
4812 SWIG_From_long((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, 0)));
4813 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
4814 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
4815 return resultobj;
4816 fail:
4817 return NULL;
4818}
4819
4820
c32bde28 4821static PyObject *_wrap_ComboBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
121b9a67
RD
4822 PyObject *resultobj;
4823 wxComboBox *arg1 = (wxComboBox *) 0 ;
4824 wxString *arg2 = 0 ;
4825 bool result;
ae8162c8 4826 bool temp2 = false ;
121b9a67
RD
4827 PyObject * obj0 = 0 ;
4828 PyObject * obj1 = 0 ;
4829 char *kwnames[] = {
4830 (char *) "self",(char *) "string", NULL
4831 };
4832
4833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4834 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4835 if (SWIG_arg_fail(1)) SWIG_fail;
121b9a67
RD
4836 {
4837 arg2 = wxString_in_helper(obj1);
4838 if (arg2 == NULL) SWIG_fail;
ae8162c8 4839 temp2 = true;
121b9a67
RD
4840 }
4841 {
4842 PyThreadState* __tstate = wxPyBeginAllowThreads();
4843 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
4844
4845 wxPyEndAllowThreads(__tstate);
4846 if (PyErr_Occurred()) SWIG_fail;
4847 }
4848 {
4849 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4850 }
4851 {
4852 if (temp2)
4853 delete arg2;
4854 }
4855 return resultobj;
4856 fail:
4857 {
4858 if (temp2)
4859 delete arg2;
4860 }
4861 return NULL;
4862}
4863
4864
c32bde28 4865static PyObject *_wrap_ComboBox_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
121b9a67
RD
4866 PyObject *resultobj;
4867 wxComboBox *arg1 = (wxComboBox *) 0 ;
4868 int arg2 ;
4869 wxString *arg3 = 0 ;
ae8162c8 4870 bool temp3 = false ;
121b9a67
RD
4871 PyObject * obj0 = 0 ;
4872 PyObject * obj1 = 0 ;
4873 PyObject * obj2 = 0 ;
4874 char *kwnames[] = {
4875 (char *) "self",(char *) "n",(char *) "string", NULL
4876 };
4877
4878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
4879 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4880 if (SWIG_arg_fail(1)) SWIG_fail;
4881 {
4882 arg2 = (int)(SWIG_As_int(obj1));
4883 if (SWIG_arg_fail(2)) SWIG_fail;
4884 }
121b9a67
RD
4885 {
4886 arg3 = wxString_in_helper(obj2);
4887 if (arg3 == NULL) SWIG_fail;
ae8162c8 4888 temp3 = true;
121b9a67
RD
4889 }
4890 {
4891 PyThreadState* __tstate = wxPyBeginAllowThreads();
4892 (arg1)->SetString(arg2,(wxString const &)*arg3);
4893
4894 wxPyEndAllowThreads(__tstate);
4895 if (PyErr_Occurred()) SWIG_fail;
4896 }
4897 Py_INCREF(Py_None); resultobj = Py_None;
4898 {
4899 if (temp3)
4900 delete arg3;
4901 }
4902 return resultobj;
4903 fail:
4904 {
4905 if (temp3)
4906 delete arg3;
4907 }
4908 return NULL;
4909}
4910
4911
c32bde28 4912static PyObject *_wrap_ComboBox_SetEditable(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4913 PyObject *resultobj;
4914 wxComboBox *arg1 = (wxComboBox *) 0 ;
4915 bool arg2 ;
4916 PyObject * obj0 = 0 ;
4917 PyObject * obj1 = 0 ;
4918 char *kwnames[] = {
4919 (char *) "self",(char *) "editable", NULL
4920 };
4921
4922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4923 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4924 if (SWIG_arg_fail(1)) SWIG_fail;
4925 {
4926 arg2 = (bool)(SWIG_As_bool(obj1));
4927 if (SWIG_arg_fail(2)) SWIG_fail;
4928 }
d55e5bfc
RD
4929 {
4930 PyThreadState* __tstate = wxPyBeginAllowThreads();
4931 (arg1)->SetEditable(arg2);
4932
4933 wxPyEndAllowThreads(__tstate);
4934 if (PyErr_Occurred()) SWIG_fail;
4935 }
4936 Py_INCREF(Py_None); resultobj = Py_None;
4937 return resultobj;
4938 fail:
4939 return NULL;
4940}
4941
4942
c32bde28 4943static PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4944 PyObject *resultobj;
4945 wxComboBox *arg1 = (wxComboBox *) 0 ;
4946 PyObject * obj0 = 0 ;
4947 char *kwnames[] = {
4948 (char *) "self", NULL
4949 };
4950
4951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
093d3ff1
RD
4952 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4953 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4954 {
4955 PyThreadState* __tstate = wxPyBeginAllowThreads();
4956 (arg1)->SetInsertionPointEnd();
4957
4958 wxPyEndAllowThreads(__tstate);
4959 if (PyErr_Occurred()) SWIG_fail;
4960 }
4961 Py_INCREF(Py_None); resultobj = Py_None;
4962 return resultobj;
4963 fail:
4964 return NULL;
4965}
4966
4967
c32bde28 4968static PyObject *_wrap_ComboBox_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4969 PyObject *resultobj;
4970 wxComboBox *arg1 = (wxComboBox *) 0 ;
4971 long arg2 ;
4972 long arg3 ;
4973 PyObject * obj0 = 0 ;
4974 PyObject * obj1 = 0 ;
4975 PyObject * obj2 = 0 ;
4976 char *kwnames[] = {
4977 (char *) "self",(char *) "from",(char *) "to", NULL
4978 };
4979
4980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
4981 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4982 if (SWIG_arg_fail(1)) SWIG_fail;
4983 {
4984 arg2 = (long)(SWIG_As_long(obj1));
4985 if (SWIG_arg_fail(2)) SWIG_fail;
4986 }
4987 {
4988 arg3 = (long)(SWIG_As_long(obj2));
4989 if (SWIG_arg_fail(3)) SWIG_fail;
4990 }
d55e5bfc
RD
4991 {
4992 PyThreadState* __tstate = wxPyBeginAllowThreads();
4993 (arg1)->Remove(arg2,arg3);
4994
4995 wxPyEndAllowThreads(__tstate);
4996 if (PyErr_Occurred()) SWIG_fail;
4997 }
4998 Py_INCREF(Py_None); resultobj = Py_None;
4999 return resultobj;
5000 fail:
5001 return NULL;
5002}
5003
5004
b519803b
RD
5005static PyObject *_wrap_ComboBox_IsEditable(PyObject *, PyObject *args, PyObject *kwargs) {
5006 PyObject *resultobj;
5007 wxComboBox *arg1 = (wxComboBox *) 0 ;
5008 bool result;
5009 PyObject * obj0 = 0 ;
5010 char *kwnames[] = {
5011 (char *) "self", NULL
5012 };
5013
5014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_IsEditable",kwnames,&obj0)) goto fail;
093d3ff1
RD
5015 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5016 if (SWIG_arg_fail(1)) SWIG_fail;
b519803b
RD
5017 {
5018 PyThreadState* __tstate = wxPyBeginAllowThreads();
5019 result = (bool)((wxComboBox const *)arg1)->IsEditable();
5020
5021 wxPyEndAllowThreads(__tstate);
5022 if (PyErr_Occurred()) SWIG_fail;
5023 }
5024 {
5025 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5026 }
5027 return resultobj;
5028 fail:
5029 return NULL;
5030}
5031
5032
5033static PyObject *_wrap_ComboBox_Undo(PyObject *, PyObject *args, PyObject *kwargs) {
5034 PyObject *resultobj;
5035 wxComboBox *arg1 = (wxComboBox *) 0 ;
5036 PyObject * obj0 = 0 ;
5037 char *kwnames[] = {
5038 (char *) "self", NULL
5039 };
5040
5041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Undo",kwnames,&obj0)) goto fail;
093d3ff1
RD
5042 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5043 if (SWIG_arg_fail(1)) SWIG_fail;
b519803b
RD
5044 {
5045 PyThreadState* __tstate = wxPyBeginAllowThreads();
5046 (arg1)->Undo();
5047
5048 wxPyEndAllowThreads(__tstate);
5049 if (PyErr_Occurred()) SWIG_fail;
5050 }
5051 Py_INCREF(Py_None); resultobj = Py_None;
5052 return resultobj;
5053 fail:
5054 return NULL;
5055}
5056
5057
5058static PyObject *_wrap_ComboBox_Redo(PyObject *, PyObject *args, PyObject *kwargs) {
5059 PyObject *resultobj;
5060 wxComboBox *arg1 = (wxComboBox *) 0 ;
5061 PyObject * obj0 = 0 ;
5062 char *kwnames[] = {
5063 (char *) "self", NULL
5064 };
5065
5066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Redo",kwnames,&obj0)) goto fail;
093d3ff1
RD
5067 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5068 if (SWIG_arg_fail(1)) SWIG_fail;
b519803b
RD
5069 {
5070 PyThreadState* __tstate = wxPyBeginAllowThreads();
5071 (arg1)->Redo();
5072
5073 wxPyEndAllowThreads(__tstate);
5074 if (PyErr_Occurred()) SWIG_fail;
5075 }
5076 Py_INCREF(Py_None); resultobj = Py_None;
5077 return resultobj;
5078 fail:
5079 return NULL;
5080}
5081
5082
5083static PyObject *_wrap_ComboBox_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
5084 PyObject *resultobj;
5085 wxComboBox *arg1 = (wxComboBox *) 0 ;
5086 PyObject * obj0 = 0 ;
5087 char *kwnames[] = {
5088 (char *) "self", NULL
5089 };
5090
5091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SelectAll",kwnames,&obj0)) goto fail;
093d3ff1
RD
5092 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5093 if (SWIG_arg_fail(1)) SWIG_fail;
b519803b
RD
5094 {
5095 PyThreadState* __tstate = wxPyBeginAllowThreads();
5096 (arg1)->SelectAll();
5097
5098 wxPyEndAllowThreads(__tstate);
5099 if (PyErr_Occurred()) SWIG_fail;
5100 }
5101 Py_INCREF(Py_None); resultobj = Py_None;
5102 return resultobj;
5103 fail:
5104 return NULL;
5105}
5106
5107
5108static PyObject *_wrap_ComboBox_CanCopy(PyObject *, PyObject *args, PyObject *kwargs) {
5109 PyObject *resultobj;
5110 wxComboBox *arg1 = (wxComboBox *) 0 ;
5111 bool result;
5112 PyObject * obj0 = 0 ;
5113 char *kwnames[] = {
5114 (char *) "self", NULL
5115 };
5116
5117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanCopy",kwnames,&obj0)) goto fail;
093d3ff1
RD
5118 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5119 if (SWIG_arg_fail(1)) SWIG_fail;
b519803b
RD
5120 {
5121 PyThreadState* __tstate = wxPyBeginAllowThreads();
5122 result = (bool)((wxComboBox const *)arg1)->CanCopy();
5123
5124 wxPyEndAllowThreads(__tstate);
5125 if (PyErr_Occurred()) SWIG_fail;
5126 }
5127 {
5128 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5129 }
5130 return resultobj;
5131 fail:
5132 return NULL;
5133}
5134
5135
5136static PyObject *_wrap_ComboBox_CanCut(PyObject *, PyObject *args, PyObject *kwargs) {
5137 PyObject *resultobj;
5138 wxComboBox *arg1 = (wxComboBox *) 0 ;
5139 bool result;
5140 PyObject * obj0 = 0 ;
5141 char *kwnames[] = {
5142 (char *) "self", NULL
5143 };
5144
5145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanCut",kwnames,&obj0)) goto fail;
093d3ff1
RD
5146 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5147 if (SWIG_arg_fail(1)) SWIG_fail;
b519803b
RD
5148 {
5149 PyThreadState* __tstate = wxPyBeginAllowThreads();
5150 result = (bool)((wxComboBox const *)arg1)->CanCut();
5151
5152 wxPyEndAllowThreads(__tstate);
5153 if (PyErr_Occurred()) SWIG_fail;
5154 }
5155 {
5156 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5157 }
5158 return resultobj;
5159 fail:
5160 return NULL;
5161}
5162
5163
5164static PyObject *_wrap_ComboBox_CanPaste(PyObject *, PyObject *args, PyObject *kwargs) {
5165 PyObject *resultobj;
5166 wxComboBox *arg1 = (wxComboBox *) 0 ;
5167 bool result;
5168 PyObject * obj0 = 0 ;
5169 char *kwnames[] = {
5170 (char *) "self", NULL
5171 };
5172
5173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanPaste",kwnames,&obj0)) goto fail;
093d3ff1
RD
5174 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5175 if (SWIG_arg_fail(1)) SWIG_fail;
b519803b
RD
5176 {
5177 PyThreadState* __tstate = wxPyBeginAllowThreads();
5178 result = (bool)((wxComboBox const *)arg1)->CanPaste();
5179
5180 wxPyEndAllowThreads(__tstate);
5181 if (PyErr_Occurred()) SWIG_fail;
5182 }
5183 {
5184 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5185 }
5186 return resultobj;
5187 fail:
5188 return NULL;
5189}
5190
5191
5192static PyObject *_wrap_ComboBox_CanUndo(PyObject *, PyObject *args, PyObject *kwargs) {
5193 PyObject *resultobj;
5194 wxComboBox *arg1 = (wxComboBox *) 0 ;
5195 bool result;
5196 PyObject * obj0 = 0 ;
5197 char *kwnames[] = {
5198 (char *) "self", NULL
5199 };
5200
5201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanUndo",kwnames,&obj0)) goto fail;
093d3ff1
RD
5202 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5203 if (SWIG_arg_fail(1)) SWIG_fail;
b519803b
RD
5204 {
5205 PyThreadState* __tstate = wxPyBeginAllowThreads();
5206 result = (bool)((wxComboBox const *)arg1)->CanUndo();
5207
5208 wxPyEndAllowThreads(__tstate);
5209 if (PyErr_Occurred()) SWIG_fail;
5210 }
5211 {
5212 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5213 }
5214 return resultobj;
5215 fail:
5216 return NULL;
5217}
5218
5219
5220static PyObject *_wrap_ComboBox_CanRedo(PyObject *, PyObject *args, PyObject *kwargs) {
5221 PyObject *resultobj;
5222 wxComboBox *arg1 = (wxComboBox *) 0 ;
5223 bool result;
5224 PyObject * obj0 = 0 ;
5225 char *kwnames[] = {
5226 (char *) "self", NULL
5227 };
5228
5229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanRedo",kwnames,&obj0)) goto fail;
093d3ff1
RD
5230 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5231 if (SWIG_arg_fail(1)) SWIG_fail;
b519803b
RD
5232 {
5233 PyThreadState* __tstate = wxPyBeginAllowThreads();
5234 result = (bool)((wxComboBox const *)arg1)->CanRedo();
5235
5236 wxPyEndAllowThreads(__tstate);
5237 if (PyErr_Occurred()) SWIG_fail;
5238 }
5239 {
5240 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5241 }
5242 return resultobj;
5243 fail:
5244 return NULL;
5245}
5246
5247
c32bde28 5248static PyObject *_wrap_ComboBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 5249 PyObject *resultobj;
093d3ff1 5250 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
5251 wxVisualAttributes result;
5252 PyObject * obj0 = 0 ;
5253 char *kwnames[] = {
5254 (char *) "variant", NULL
5255 };
5256
5257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5258 if (obj0) {
093d3ff1
RD
5259 {
5260 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
5261 if (SWIG_arg_fail(1)) SWIG_fail;
5262 }
f20a2e1f
RD
5263 }
5264 {
19272049 5265 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
5266 PyThreadState* __tstate = wxPyBeginAllowThreads();
5267 result = wxComboBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
5268
5269 wxPyEndAllowThreads(__tstate);
110da5b0 5270 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
5271 }
5272 {
5273 wxVisualAttributes * resultptr;
093d3ff1 5274 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
5275 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5276 }
5277 return resultobj;
5278 fail:
5279 return NULL;
5280}
5281
5282
c32bde28 5283static PyObject * ComboBox_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
5284 PyObject *obj;
5285 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5286 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox, obj);
5287 Py_INCREF(obj);
5288 return Py_BuildValue((char *)"");
5289}
c32bde28 5290static int _wrap_GaugeNameStr_set(PyObject *) {
d55e5bfc
RD
5291 PyErr_SetString(PyExc_TypeError,"Variable GaugeNameStr is read-only.");
5292 return 1;
5293}
5294
5295
093d3ff1 5296static PyObject *_wrap_GaugeNameStr_get(void) {
d55e5bfc
RD
5297 PyObject *pyobj;
5298
5299 {
5300#if wxUSE_UNICODE
5301 pyobj = PyUnicode_FromWideChar((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
5302#else
5303 pyobj = PyString_FromStringAndSize((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
5304#endif
5305 }
5306 return pyobj;
5307}
5308
5309
c32bde28 5310static PyObject *_wrap_new_Gauge(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5311 PyObject *resultobj;
5312 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
5313 int arg2 = (int) -1 ;
5314 int arg3 = (int) 100 ;
d55e5bfc
RD
5315 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5316 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5317 wxSize const &arg5_defvalue = wxDefaultSize ;
5318 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5319 long arg6 = (long) wxGA_HORIZONTAL ;
5320 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5321 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5322 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
5323 wxString *arg8 = (wxString *) &arg8_defvalue ;
5324 wxGauge *result;
5325 wxPoint temp4 ;
5326 wxSize temp5 ;
ae8162c8 5327 bool temp8 = false ;
d55e5bfc
RD
5328 PyObject * obj0 = 0 ;
5329 PyObject * obj1 = 0 ;
5330 PyObject * obj2 = 0 ;
5331 PyObject * obj3 = 0 ;
5332 PyObject * obj4 = 0 ;
5333 PyObject * obj5 = 0 ;
5334 PyObject * obj6 = 0 ;
5335 PyObject * obj7 = 0 ;
5336 char *kwnames[] = {
5337 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5338 };
5339
248ed943 5340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Gauge",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
5341 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5342 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 5343 if (obj1) {
093d3ff1
RD
5344 {
5345 arg2 = (int)(SWIG_As_int(obj1));
5346 if (SWIG_arg_fail(2)) SWIG_fail;
5347 }
248ed943
RD
5348 }
5349 if (obj2) {
093d3ff1
RD
5350 {
5351 arg3 = (int)(SWIG_As_int(obj2));
5352 if (SWIG_arg_fail(3)) SWIG_fail;
5353 }
248ed943 5354 }
d55e5bfc
RD
5355 if (obj3) {
5356 {
5357 arg4 = &temp4;
5358 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5359 }
5360 }
5361 if (obj4) {
5362 {
5363 arg5 = &temp5;
5364 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5365 }
5366 }
5367 if (obj5) {
093d3ff1
RD
5368 {
5369 arg6 = (long)(SWIG_As_long(obj5));
5370 if (SWIG_arg_fail(6)) SWIG_fail;
5371 }
d55e5bfc
RD
5372 }
5373 if (obj6) {
093d3ff1
RD
5374 {
5375 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
5376 if (SWIG_arg_fail(7)) SWIG_fail;
5377 if (arg7 == NULL) {
5378 SWIG_null_ref("wxValidator");
5379 }
5380 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
5381 }
5382 }
5383 if (obj7) {
5384 {
5385 arg8 = wxString_in_helper(obj7);
5386 if (arg8 == NULL) SWIG_fail;
ae8162c8 5387 temp8 = true;
d55e5bfc
RD
5388 }
5389 }
5390 {
0439c23b 5391 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5392 PyThreadState* __tstate = wxPyBeginAllowThreads();
5393 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
5394
5395 wxPyEndAllowThreads(__tstate);
110da5b0 5396 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5397 }
5398 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
5399 {
5400 if (temp8)
5401 delete arg8;
5402 }
5403 return resultobj;
5404 fail:
5405 {
5406 if (temp8)
5407 delete arg8;
5408 }
5409 return NULL;
5410}
5411
5412
c32bde28 5413static PyObject *_wrap_new_PreGauge(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5414 PyObject *resultobj;
5415 wxGauge *result;
5416 char *kwnames[] = {
5417 NULL
5418 };
5419
5420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGauge",kwnames)) goto fail;
5421 {
0439c23b 5422 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5423 PyThreadState* __tstate = wxPyBeginAllowThreads();
5424 result = (wxGauge *)new wxGauge();
5425
5426 wxPyEndAllowThreads(__tstate);
110da5b0 5427 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5428 }
5429 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
5430 return resultobj;
5431 fail:
5432 return NULL;
5433}
5434
5435
c32bde28 5436static PyObject *_wrap_Gauge_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5437 PyObject *resultobj;
5438 wxGauge *arg1 = (wxGauge *) 0 ;
5439 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
5440 int arg3 = (int) -1 ;
5441 int arg4 = (int) 100 ;
d55e5bfc
RD
5442 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5443 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5444 wxSize const &arg6_defvalue = wxDefaultSize ;
5445 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5446 long arg7 = (long) wxGA_HORIZONTAL ;
5447 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5448 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5449 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
5450 wxString *arg9 = (wxString *) &arg9_defvalue ;
5451 bool result;
5452 wxPoint temp5 ;
5453 wxSize temp6 ;
ae8162c8 5454 bool temp9 = false ;
d55e5bfc
RD
5455 PyObject * obj0 = 0 ;
5456 PyObject * obj1 = 0 ;
5457 PyObject * obj2 = 0 ;
5458 PyObject * obj3 = 0 ;
5459 PyObject * obj4 = 0 ;
5460 PyObject * obj5 = 0 ;
5461 PyObject * obj6 = 0 ;
5462 PyObject * obj7 = 0 ;
5463 PyObject * obj8 = 0 ;
5464 char *kwnames[] = {
5465 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5466 };
5467
248ed943 5468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Gauge_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
5469 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5470 if (SWIG_arg_fail(1)) SWIG_fail;
5471 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5472 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 5473 if (obj2) {
093d3ff1
RD
5474 {
5475 arg3 = (int)(SWIG_As_int(obj2));
5476 if (SWIG_arg_fail(3)) SWIG_fail;
5477 }
248ed943
RD
5478 }
5479 if (obj3) {
093d3ff1
RD
5480 {
5481 arg4 = (int)(SWIG_As_int(obj3));
5482 if (SWIG_arg_fail(4)) SWIG_fail;
5483 }
248ed943 5484 }
d55e5bfc
RD
5485 if (obj4) {
5486 {
5487 arg5 = &temp5;
5488 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5489 }
5490 }
5491 if (obj5) {
5492 {
5493 arg6 = &temp6;
5494 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5495 }
5496 }
5497 if (obj6) {
093d3ff1
RD
5498 {
5499 arg7 = (long)(SWIG_As_long(obj6));
5500 if (SWIG_arg_fail(7)) SWIG_fail;
5501 }
d55e5bfc
RD
5502 }
5503 if (obj7) {
093d3ff1
RD
5504 {
5505 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
5506 if (SWIG_arg_fail(8)) SWIG_fail;
5507 if (arg8 == NULL) {
5508 SWIG_null_ref("wxValidator");
5509 }
5510 if (SWIG_arg_fail(8)) SWIG_fail;
d55e5bfc
RD
5511 }
5512 }
5513 if (obj8) {
5514 {
5515 arg9 = wxString_in_helper(obj8);
5516 if (arg9 == NULL) SWIG_fail;
ae8162c8 5517 temp9 = true;
d55e5bfc
RD
5518 }
5519 }
5520 {
5521 PyThreadState* __tstate = wxPyBeginAllowThreads();
5522 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5523
5524 wxPyEndAllowThreads(__tstate);
5525 if (PyErr_Occurred()) SWIG_fail;
5526 }
5527 {
5528 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5529 }
5530 {
5531 if (temp9)
5532 delete arg9;
5533 }
5534 return resultobj;
5535 fail:
5536 {
5537 if (temp9)
5538 delete arg9;
5539 }
5540 return NULL;
5541}
5542
5543
c32bde28 5544static PyObject *_wrap_Gauge_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5545 PyObject *resultobj;
5546 wxGauge *arg1 = (wxGauge *) 0 ;
5547 int arg2 ;
5548 PyObject * obj0 = 0 ;
5549 PyObject * obj1 = 0 ;
5550 char *kwnames[] = {
5551 (char *) "self",(char *) "range", NULL
5552 };
5553
5554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetRange",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5555 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5556 if (SWIG_arg_fail(1)) SWIG_fail;
5557 {
5558 arg2 = (int)(SWIG_As_int(obj1));
5559 if (SWIG_arg_fail(2)) SWIG_fail;
5560 }
d55e5bfc
RD
5561 {
5562 PyThreadState* __tstate = wxPyBeginAllowThreads();
5563 (arg1)->SetRange(arg2);
5564
5565 wxPyEndAllowThreads(__tstate);
5566 if (PyErr_Occurred()) SWIG_fail;
5567 }
5568 Py_INCREF(Py_None); resultobj = Py_None;
5569 return resultobj;
5570 fail:
5571 return NULL;
5572}
5573
5574
c32bde28 5575static PyObject *_wrap_Gauge_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5576 PyObject *resultobj;
5577 wxGauge *arg1 = (wxGauge *) 0 ;
5578 int result;
5579 PyObject * obj0 = 0 ;
5580 char *kwnames[] = {
5581 (char *) "self", NULL
5582 };
5583
5584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetRange",kwnames,&obj0)) goto fail;
093d3ff1
RD
5585 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5586 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5587 {
5588 PyThreadState* __tstate = wxPyBeginAllowThreads();
5589 result = (int)((wxGauge const *)arg1)->GetRange();
5590
5591 wxPyEndAllowThreads(__tstate);
5592 if (PyErr_Occurred()) SWIG_fail;
5593 }
093d3ff1
RD
5594 {
5595 resultobj = SWIG_From_int((int)(result));
5596 }
d55e5bfc
RD
5597 return resultobj;
5598 fail:
5599 return NULL;
5600}
5601
5602
c32bde28 5603static PyObject *_wrap_Gauge_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5604 PyObject *resultobj;
5605 wxGauge *arg1 = (wxGauge *) 0 ;
5606 int arg2 ;
5607 PyObject * obj0 = 0 ;
5608 PyObject * obj1 = 0 ;
5609 char *kwnames[] = {
5610 (char *) "self",(char *) "pos", NULL
5611 };
5612
5613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetValue",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5614 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5615 if (SWIG_arg_fail(1)) SWIG_fail;
5616 {
5617 arg2 = (int)(SWIG_As_int(obj1));
5618 if (SWIG_arg_fail(2)) SWIG_fail;
5619 }
d55e5bfc
RD
5620 {
5621 PyThreadState* __tstate = wxPyBeginAllowThreads();
5622 (arg1)->SetValue(arg2);
5623
5624 wxPyEndAllowThreads(__tstate);
5625 if (PyErr_Occurred()) SWIG_fail;
5626 }
5627 Py_INCREF(Py_None); resultobj = Py_None;
5628 return resultobj;
5629 fail:
5630 return NULL;
5631}
5632
5633
c32bde28 5634static PyObject *_wrap_Gauge_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5635 PyObject *resultobj;
5636 wxGauge *arg1 = (wxGauge *) 0 ;
5637 int result;
5638 PyObject * obj0 = 0 ;
5639 char *kwnames[] = {
5640 (char *) "self", NULL
5641 };
5642
5643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
5644 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5645 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5646 {
5647 PyThreadState* __tstate = wxPyBeginAllowThreads();
5648 result = (int)((wxGauge const *)arg1)->GetValue();
5649
5650 wxPyEndAllowThreads(__tstate);
5651 if (PyErr_Occurred()) SWIG_fail;
5652 }
093d3ff1
RD
5653 {
5654 resultobj = SWIG_From_int((int)(result));
5655 }
d55e5bfc
RD
5656 return resultobj;
5657 fail:
5658 return NULL;
5659}
5660
5661
c32bde28 5662static PyObject *_wrap_Gauge_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5663 PyObject *resultobj;
5664 wxGauge *arg1 = (wxGauge *) 0 ;
5665 bool result;
5666 PyObject * obj0 = 0 ;
5667 char *kwnames[] = {
5668 (char *) "self", NULL
5669 };
5670
5671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_IsVertical",kwnames,&obj0)) goto fail;
093d3ff1
RD
5672 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5673 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5674 {
5675 PyThreadState* __tstate = wxPyBeginAllowThreads();
5676 result = (bool)((wxGauge const *)arg1)->IsVertical();
5677
5678 wxPyEndAllowThreads(__tstate);
5679 if (PyErr_Occurred()) SWIG_fail;
5680 }
5681 {
5682 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5683 }
5684 return resultobj;
5685 fail:
5686 return NULL;
5687}
5688
5689
c32bde28 5690static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5691 PyObject *resultobj;
5692 wxGauge *arg1 = (wxGauge *) 0 ;
5693 int arg2 ;
5694 PyObject * obj0 = 0 ;
5695 PyObject * obj1 = 0 ;
5696 char *kwnames[] = {
5697 (char *) "self",(char *) "w", NULL
5698 };
5699
5700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetShadowWidth",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5701 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5702 if (SWIG_arg_fail(1)) SWIG_fail;
5703 {
5704 arg2 = (int)(SWIG_As_int(obj1));
5705 if (SWIG_arg_fail(2)) SWIG_fail;
5706 }
d55e5bfc
RD
5707 {
5708 PyThreadState* __tstate = wxPyBeginAllowThreads();
5709 (arg1)->SetShadowWidth(arg2);
5710
5711 wxPyEndAllowThreads(__tstate);
5712 if (PyErr_Occurred()) SWIG_fail;
5713 }
5714 Py_INCREF(Py_None); resultobj = Py_None;
5715 return resultobj;
5716 fail:
5717 return NULL;
5718}
5719
5720
c32bde28 5721static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5722 PyObject *resultobj;
5723 wxGauge *arg1 = (wxGauge *) 0 ;
5724 int result;
5725 PyObject * obj0 = 0 ;
5726 char *kwnames[] = {
5727 (char *) "self", NULL
5728 };
5729
5730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetShadowWidth",kwnames,&obj0)) goto fail;
093d3ff1
RD
5731 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5732 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5733 {
5734 PyThreadState* __tstate = wxPyBeginAllowThreads();
5735 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
5736
5737 wxPyEndAllowThreads(__tstate);
5738 if (PyErr_Occurred()) SWIG_fail;
5739 }
093d3ff1
RD
5740 {
5741 resultobj = SWIG_From_int((int)(result));
5742 }
d55e5bfc
RD
5743 return resultobj;
5744 fail:
5745 return NULL;
5746}
5747
5748
c32bde28 5749static PyObject *_wrap_Gauge_SetBezelFace(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5750 PyObject *resultobj;
5751 wxGauge *arg1 = (wxGauge *) 0 ;
5752 int arg2 ;
5753 PyObject * obj0 = 0 ;
5754 PyObject * obj1 = 0 ;
5755 char *kwnames[] = {
5756 (char *) "self",(char *) "w", NULL
5757 };
5758
5759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetBezelFace",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5760 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5761 if (SWIG_arg_fail(1)) SWIG_fail;
5762 {
5763 arg2 = (int)(SWIG_As_int(obj1));
5764 if (SWIG_arg_fail(2)) SWIG_fail;
5765 }
d55e5bfc
RD
5766 {
5767 PyThreadState* __tstate = wxPyBeginAllowThreads();
5768 (arg1)->SetBezelFace(arg2);
5769
5770 wxPyEndAllowThreads(__tstate);
5771 if (PyErr_Occurred()) SWIG_fail;
5772 }
5773 Py_INCREF(Py_None); resultobj = Py_None;
5774 return resultobj;
5775 fail:
5776 return NULL;
5777}
5778
5779
c32bde28 5780static PyObject *_wrap_Gauge_GetBezelFace(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5781 PyObject *resultobj;
5782 wxGauge *arg1 = (wxGauge *) 0 ;
5783 int result;
5784 PyObject * obj0 = 0 ;
5785 char *kwnames[] = {
5786 (char *) "self", NULL
5787 };
5788
5789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetBezelFace",kwnames,&obj0)) goto fail;
093d3ff1
RD
5790 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5791 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5792 {
5793 PyThreadState* __tstate = wxPyBeginAllowThreads();
5794 result = (int)((wxGauge const *)arg1)->GetBezelFace();
5795
5796 wxPyEndAllowThreads(__tstate);
5797 if (PyErr_Occurred()) SWIG_fail;
5798 }
093d3ff1
RD
5799 {
5800 resultobj = SWIG_From_int((int)(result));
5801 }
d55e5bfc
RD
5802 return resultobj;
5803 fail:
5804 return NULL;
5805}
5806
5807
c32bde28 5808static PyObject *_wrap_Gauge_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 5809 PyObject *resultobj;
093d3ff1 5810 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
5811 wxVisualAttributes result;
5812 PyObject * obj0 = 0 ;
5813 char *kwnames[] = {
5814 (char *) "variant", NULL
5815 };
5816
5817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5818 if (obj0) {
093d3ff1
RD
5819 {
5820 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
5821 if (SWIG_arg_fail(1)) SWIG_fail;
5822 }
f20a2e1f
RD
5823 }
5824 {
19272049 5825 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
5826 PyThreadState* __tstate = wxPyBeginAllowThreads();
5827 result = wxGauge::GetClassDefaultAttributes((wxWindowVariant )arg1);
5828
5829 wxPyEndAllowThreads(__tstate);
110da5b0 5830 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
5831 }
5832 {
5833 wxVisualAttributes * resultptr;
093d3ff1 5834 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
5835 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5836 }
5837 return resultobj;
5838 fail:
5839 return NULL;
5840}
5841
5842
c32bde28 5843static PyObject * Gauge_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
5844 PyObject *obj;
5845 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5846 SWIG_TypeClientData(SWIGTYPE_p_wxGauge, obj);
5847 Py_INCREF(obj);
5848 return Py_BuildValue((char *)"");
5849}
c32bde28 5850static int _wrap_StaticBitmapNameStr_set(PyObject *) {
d55e5bfc
RD
5851 PyErr_SetString(PyExc_TypeError,"Variable StaticBitmapNameStr is read-only.");
5852 return 1;
5853}
5854
5855
093d3ff1 5856static PyObject *_wrap_StaticBitmapNameStr_get(void) {
d55e5bfc
RD
5857 PyObject *pyobj;
5858
5859 {
5860#if wxUSE_UNICODE
5861 pyobj = PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
5862#else
5863 pyobj = PyString_FromStringAndSize((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
5864#endif
5865 }
5866 return pyobj;
5867}
5868
5869
c32bde28 5870static int _wrap_StaticBoxNameStr_set(PyObject *) {
d55e5bfc
RD
5871 PyErr_SetString(PyExc_TypeError,"Variable StaticBoxNameStr is read-only.");
5872 return 1;
5873}
5874
5875
093d3ff1 5876static PyObject *_wrap_StaticBoxNameStr_get(void) {
d55e5bfc
RD
5877 PyObject *pyobj;
5878
5879 {
5880#if wxUSE_UNICODE
5881 pyobj = PyUnicode_FromWideChar((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
5882#else
5883 pyobj = PyString_FromStringAndSize((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
5884#endif
5885 }
5886 return pyobj;
5887}
5888
5889
c32bde28 5890static int _wrap_StaticTextNameStr_set(PyObject *) {
d55e5bfc
RD
5891 PyErr_SetString(PyExc_TypeError,"Variable StaticTextNameStr is read-only.");
5892 return 1;
5893}
5894
5895
093d3ff1 5896static PyObject *_wrap_StaticTextNameStr_get(void) {
d55e5bfc
RD
5897 PyObject *pyobj;
5898
5899 {
5900#if wxUSE_UNICODE
5901 pyobj = PyUnicode_FromWideChar((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
5902#else
5903 pyobj = PyString_FromStringAndSize((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
5904#endif
5905 }
5906 return pyobj;
5907}
5908
5909
c32bde28 5910static PyObject *_wrap_new_StaticBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5911 PyObject *resultobj;
5912 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
5913 int arg2 = (int) -1 ;
5914 wxString const &arg3_defvalue = wxPyEmptyString ;
5915 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
5916 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5917 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5918 wxSize const &arg5_defvalue = wxDefaultSize ;
5919 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5920 long arg6 = (long) 0 ;
5921 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
5922 wxString *arg7 = (wxString *) &arg7_defvalue ;
5923 wxStaticBox *result;
ae8162c8 5924 bool temp3 = false ;
d55e5bfc
RD
5925 wxPoint temp4 ;
5926 wxSize temp5 ;
ae8162c8 5927 bool temp7 = false ;
d55e5bfc
RD
5928 PyObject * obj0 = 0 ;
5929 PyObject * obj1 = 0 ;
5930 PyObject * obj2 = 0 ;
5931 PyObject * obj3 = 0 ;
5932 PyObject * obj4 = 0 ;
5933 PyObject * obj5 = 0 ;
5934 PyObject * obj6 = 0 ;
5935 char *kwnames[] = {
5936 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5937 };
5938
248ed943 5939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
5940 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5941 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 5942 if (obj1) {
093d3ff1
RD
5943 {
5944 arg2 = (int)(SWIG_As_int(obj1));
5945 if (SWIG_arg_fail(2)) SWIG_fail;
5946 }
248ed943
RD
5947 }
5948 if (obj2) {
5949 {
5950 arg3 = wxString_in_helper(obj2);
5951 if (arg3 == NULL) SWIG_fail;
ae8162c8 5952 temp3 = true;
248ed943 5953 }
d55e5bfc
RD
5954 }
5955 if (obj3) {
5956 {
5957 arg4 = &temp4;
5958 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5959 }
5960 }
5961 if (obj4) {
5962 {
5963 arg5 = &temp5;
5964 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5965 }
5966 }
5967 if (obj5) {
093d3ff1
RD
5968 {
5969 arg6 = (long)(SWIG_As_long(obj5));
5970 if (SWIG_arg_fail(6)) SWIG_fail;
5971 }
d55e5bfc
RD
5972 }
5973 if (obj6) {
5974 {
5975 arg7 = wxString_in_helper(obj6);
5976 if (arg7 == NULL) SWIG_fail;
ae8162c8 5977 temp7 = true;
d55e5bfc
RD
5978 }
5979 }
5980 {
0439c23b 5981 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5982 PyThreadState* __tstate = wxPyBeginAllowThreads();
5983 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5984
5985 wxPyEndAllowThreads(__tstate);
110da5b0 5986 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 5987 }
b0f7404b 5988 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBox, 1);
d55e5bfc
RD
5989 {
5990 if (temp3)
5991 delete arg3;
5992 }
5993 {
5994 if (temp7)
5995 delete arg7;
5996 }
5997 return resultobj;
5998 fail:
5999 {
6000 if (temp3)
6001 delete arg3;
6002 }
6003 {
6004 if (temp7)
6005 delete arg7;
6006 }
6007 return NULL;
6008}
6009
6010
c32bde28 6011static PyObject *_wrap_new_PreStaticBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6012 PyObject *resultobj;
6013 wxStaticBox *result;
6014 char *kwnames[] = {
6015 NULL
6016 };
6017
6018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBox",kwnames)) goto fail;
6019 {
0439c23b 6020 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6021 PyThreadState* __tstate = wxPyBeginAllowThreads();
6022 result = (wxStaticBox *)new wxStaticBox();
6023
6024 wxPyEndAllowThreads(__tstate);
110da5b0 6025 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 6026 }
b0f7404b 6027 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBox, 1);
d55e5bfc
RD
6028 return resultobj;
6029 fail:
6030 return NULL;
6031}
6032
6033
c32bde28 6034static PyObject *_wrap_StaticBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6035 PyObject *resultobj;
6036 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
6037 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
6038 int arg3 = (int) -1 ;
6039 wxString const &arg4_defvalue = wxPyEmptyString ;
6040 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
6041 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6042 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6043 wxSize const &arg6_defvalue = wxDefaultSize ;
6044 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6045 long arg7 = (long) 0 ;
6046 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
6047 wxString *arg8 = (wxString *) &arg8_defvalue ;
6048 bool result;
ae8162c8 6049 bool temp4 = false ;
d55e5bfc
RD
6050 wxPoint temp5 ;
6051 wxSize temp6 ;
ae8162c8 6052 bool temp8 = false ;
d55e5bfc
RD
6053 PyObject * obj0 = 0 ;
6054 PyObject * obj1 = 0 ;
6055 PyObject * obj2 = 0 ;
6056 PyObject * obj3 = 0 ;
6057 PyObject * obj4 = 0 ;
6058 PyObject * obj5 = 0 ;
6059 PyObject * obj6 = 0 ;
6060 PyObject * obj7 = 0 ;
6061 char *kwnames[] = {
6062 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6063 };
6064
248ed943 6065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
6066 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBox, SWIG_POINTER_EXCEPTION | 0);
6067 if (SWIG_arg_fail(1)) SWIG_fail;
6068 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6069 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 6070 if (obj2) {
093d3ff1
RD
6071 {
6072 arg3 = (int)(SWIG_As_int(obj2));
6073 if (SWIG_arg_fail(3)) SWIG_fail;
6074 }
248ed943
RD
6075 }
6076 if (obj3) {
6077 {
6078 arg4 = wxString_in_helper(obj3);
6079 if (arg4 == NULL) SWIG_fail;
ae8162c8 6080 temp4 = true;
248ed943 6081 }
d55e5bfc
RD
6082 }
6083 if (obj4) {
6084 {
6085 arg5 = &temp5;
6086 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6087 }
6088 }
6089 if (obj5) {
6090 {
6091 arg6 = &temp6;
6092 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6093 }
6094 }
6095 if (obj6) {
093d3ff1
RD
6096 {
6097 arg7 = (long)(SWIG_As_long(obj6));
6098 if (SWIG_arg_fail(7)) SWIG_fail;
6099 }
d55e5bfc
RD
6100 }
6101 if (obj7) {
6102 {
6103 arg8 = wxString_in_helper(obj7);
6104 if (arg8 == NULL) SWIG_fail;
ae8162c8 6105 temp8 = true;
d55e5bfc
RD
6106 }
6107 }
6108 {
6109 PyThreadState* __tstate = wxPyBeginAllowThreads();
6110 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6111
6112 wxPyEndAllowThreads(__tstate);
6113 if (PyErr_Occurred()) SWIG_fail;
6114 }
6115 {
6116 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6117 }
6118 {
6119 if (temp4)
6120 delete arg4;
6121 }
6122 {
6123 if (temp8)
6124 delete arg8;
6125 }
6126 return resultobj;
6127 fail:
6128 {
6129 if (temp4)
6130 delete arg4;
6131 }
6132 {
6133 if (temp8)
6134 delete arg8;
6135 }
6136 return NULL;
6137}
6138
6139
c32bde28 6140static PyObject *_wrap_StaticBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 6141 PyObject *resultobj;
093d3ff1 6142 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
6143 wxVisualAttributes result;
6144 PyObject * obj0 = 0 ;
6145 char *kwnames[] = {
6146 (char *) "variant", NULL
6147 };
6148
6149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6150 if (obj0) {
093d3ff1
RD
6151 {
6152 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
6153 if (SWIG_arg_fail(1)) SWIG_fail;
6154 }
f20a2e1f
RD
6155 }
6156 {
19272049 6157 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
6158 PyThreadState* __tstate = wxPyBeginAllowThreads();
6159 result = wxStaticBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
6160
6161 wxPyEndAllowThreads(__tstate);
110da5b0 6162 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
6163 }
6164 {
6165 wxVisualAttributes * resultptr;
093d3ff1 6166 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
6167 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6168 }
6169 return resultobj;
6170 fail:
6171 return NULL;
6172}
6173
6174
c32bde28 6175static PyObject * StaticBox_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
6176 PyObject *obj;
6177 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6178 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox, obj);
6179 Py_INCREF(obj);
6180 return Py_BuildValue((char *)"");
6181}
c32bde28 6182static PyObject *_wrap_new_StaticLine(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6183 PyObject *resultobj;
6184 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 6185 int arg2 = (int) -1 ;
d55e5bfc
RD
6186 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6187 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6188 wxSize const &arg4_defvalue = wxDefaultSize ;
6189 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6190 long arg5 = (long) wxLI_HORIZONTAL ;
6191 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
6192 wxString *arg6 = (wxString *) &arg6_defvalue ;
6193 wxStaticLine *result;
6194 wxPoint temp3 ;
6195 wxSize temp4 ;
ae8162c8 6196 bool temp6 = false ;
d55e5bfc
RD
6197 PyObject * obj0 = 0 ;
6198 PyObject * obj1 = 0 ;
6199 PyObject * obj2 = 0 ;
6200 PyObject * obj3 = 0 ;
6201 PyObject * obj4 = 0 ;
6202 PyObject * obj5 = 0 ;
6203 char *kwnames[] = {
6204 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6205 };
6206
248ed943 6207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_StaticLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
6208 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6209 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 6210 if (obj1) {
093d3ff1
RD
6211 {
6212 arg2 = (int)(SWIG_As_int(obj1));
6213 if (SWIG_arg_fail(2)) SWIG_fail;
6214 }
248ed943 6215 }
d55e5bfc
RD
6216 if (obj2) {
6217 {
6218 arg3 = &temp3;
6219 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6220 }
6221 }
6222 if (obj3) {
6223 {
6224 arg4 = &temp4;
6225 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6226 }
6227 }
6228 if (obj4) {
093d3ff1
RD
6229 {
6230 arg5 = (long)(SWIG_As_long(obj4));
6231 if (SWIG_arg_fail(5)) SWIG_fail;
6232 }
d55e5bfc
RD
6233 }
6234 if (obj5) {
6235 {
6236 arg6 = wxString_in_helper(obj5);
6237 if (arg6 == NULL) SWIG_fail;
ae8162c8 6238 temp6 = true;
d55e5bfc
RD
6239 }
6240 }
6241 {
0439c23b 6242 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6243 PyThreadState* __tstate = wxPyBeginAllowThreads();
6244 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
6245
6246 wxPyEndAllowThreads(__tstate);
110da5b0 6247 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6248 }
6249 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
6250 {
6251 if (temp6)
6252 delete arg6;
6253 }
6254 return resultobj;
6255 fail:
6256 {
6257 if (temp6)
6258 delete arg6;
6259 }
6260 return NULL;
6261}
6262
6263
c32bde28 6264static PyObject *_wrap_new_PreStaticLine(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6265 PyObject *resultobj;
6266 wxStaticLine *result;
6267 char *kwnames[] = {
6268 NULL
6269 };
6270
6271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticLine",kwnames)) goto fail;
6272 {
0439c23b 6273 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6274 PyThreadState* __tstate = wxPyBeginAllowThreads();
6275 result = (wxStaticLine *)new wxStaticLine();
6276
6277 wxPyEndAllowThreads(__tstate);
110da5b0 6278 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6279 }
6280 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
6281 return resultobj;
6282 fail:
6283 return NULL;
6284}
6285
6286
c32bde28 6287static PyObject *_wrap_StaticLine_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6288 PyObject *resultobj;
6289 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
6290 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 6291 int arg3 = (int) -1 ;
d55e5bfc
RD
6292 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6293 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6294 wxSize const &arg5_defvalue = wxDefaultSize ;
6295 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6296 long arg6 = (long) wxLI_HORIZONTAL ;
6297 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
6298 wxString *arg7 = (wxString *) &arg7_defvalue ;
6299 bool result;
6300 wxPoint temp4 ;
6301 wxSize temp5 ;
ae8162c8 6302 bool temp7 = false ;
d55e5bfc
RD
6303 PyObject * obj0 = 0 ;
6304 PyObject * obj1 = 0 ;
6305 PyObject * obj2 = 0 ;
6306 PyObject * obj3 = 0 ;
6307 PyObject * obj4 = 0 ;
6308 PyObject * obj5 = 0 ;
6309 PyObject * obj6 = 0 ;
6310 char *kwnames[] = {
6311 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6312 };
6313
248ed943 6314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:StaticLine_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
6315 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticLine, SWIG_POINTER_EXCEPTION | 0);
6316 if (SWIG_arg_fail(1)) SWIG_fail;
6317 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6318 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 6319 if (obj2) {
093d3ff1
RD
6320 {
6321 arg3 = (int)(SWIG_As_int(obj2));
6322 if (SWIG_arg_fail(3)) SWIG_fail;
6323 }
248ed943 6324 }
d55e5bfc
RD
6325 if (obj3) {
6326 {
6327 arg4 = &temp4;
6328 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6329 }
6330 }
6331 if (obj4) {
6332 {
6333 arg5 = &temp5;
6334 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6335 }
6336 }
6337 if (obj5) {
093d3ff1
RD
6338 {
6339 arg6 = (long)(SWIG_As_long(obj5));
6340 if (SWIG_arg_fail(6)) SWIG_fail;
6341 }
d55e5bfc
RD
6342 }
6343 if (obj6) {
6344 {
6345 arg7 = wxString_in_helper(obj6);
6346 if (arg7 == NULL) SWIG_fail;
ae8162c8 6347 temp7 = true;
d55e5bfc
RD
6348 }
6349 }
6350 {
6351 PyThreadState* __tstate = wxPyBeginAllowThreads();
6352 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6353
6354 wxPyEndAllowThreads(__tstate);
6355 if (PyErr_Occurred()) SWIG_fail;
6356 }
6357 {
6358 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6359 }
6360 {
6361 if (temp7)
6362 delete arg7;
6363 }
6364 return resultobj;
6365 fail:
6366 {
6367 if (temp7)
6368 delete arg7;
6369 }
6370 return NULL;
6371}
6372
6373
c32bde28 6374static PyObject *_wrap_StaticLine_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6375 PyObject *resultobj;
6376 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
6377 bool result;
6378 PyObject * obj0 = 0 ;
6379 char *kwnames[] = {
6380 (char *) "self", NULL
6381 };
6382
6383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticLine_IsVertical",kwnames,&obj0)) goto fail;
093d3ff1
RD
6384 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticLine, SWIG_POINTER_EXCEPTION | 0);
6385 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6386 {
6387 PyThreadState* __tstate = wxPyBeginAllowThreads();
6388 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
6389
6390 wxPyEndAllowThreads(__tstate);
6391 if (PyErr_Occurred()) SWIG_fail;
6392 }
6393 {
6394 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6395 }
6396 return resultobj;
6397 fail:
6398 return NULL;
6399}
6400
6401
c32bde28 6402static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6403 PyObject *resultobj;
6404 int result;
6405 char *kwnames[] = {
6406 NULL
6407 };
6408
6409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StaticLine_GetDefaultSize",kwnames)) goto fail;
6410 {
6411 PyThreadState* __tstate = wxPyBeginAllowThreads();
6412 result = (int)wxStaticLine::GetDefaultSize();
6413
6414 wxPyEndAllowThreads(__tstate);
6415 if (PyErr_Occurred()) SWIG_fail;
6416 }
093d3ff1
RD
6417 {
6418 resultobj = SWIG_From_int((int)(result));
6419 }
d55e5bfc
RD
6420 return resultobj;
6421 fail:
6422 return NULL;
6423}
6424
6425
c32bde28 6426static PyObject *_wrap_StaticLine_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 6427 PyObject *resultobj;
093d3ff1 6428 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
6429 wxVisualAttributes result;
6430 PyObject * obj0 = 0 ;
6431 char *kwnames[] = {
6432 (char *) "variant", NULL
6433 };
6434
6435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6436 if (obj0) {
093d3ff1
RD
6437 {
6438 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
6439 if (SWIG_arg_fail(1)) SWIG_fail;
6440 }
f20a2e1f
RD
6441 }
6442 {
19272049 6443 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
6444 PyThreadState* __tstate = wxPyBeginAllowThreads();
6445 result = wxStaticLine::GetClassDefaultAttributes((wxWindowVariant )arg1);
6446
6447 wxPyEndAllowThreads(__tstate);
110da5b0 6448 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
6449 }
6450 {
6451 wxVisualAttributes * resultptr;
093d3ff1 6452 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
6453 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6454 }
6455 return resultobj;
6456 fail:
6457 return NULL;
6458}
6459
6460
c32bde28 6461static PyObject * StaticLine_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
6462 PyObject *obj;
6463 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6464 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine, obj);
6465 Py_INCREF(obj);
6466 return Py_BuildValue((char *)"");
6467}
c32bde28 6468static PyObject *_wrap_new_StaticText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6469 PyObject *resultobj;
6470 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
6471 int arg2 = (int) -1 ;
6472 wxString const &arg3_defvalue = wxPyEmptyString ;
6473 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
6474 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6475 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6476 wxSize const &arg5_defvalue = wxDefaultSize ;
6477 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6478 long arg6 = (long) 0 ;
6479 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
6480 wxString *arg7 = (wxString *) &arg7_defvalue ;
6481 wxStaticText *result;
ae8162c8 6482 bool temp3 = false ;
d55e5bfc
RD
6483 wxPoint temp4 ;
6484 wxSize temp5 ;
ae8162c8 6485 bool temp7 = false ;
d55e5bfc
RD
6486 PyObject * obj0 = 0 ;
6487 PyObject * obj1 = 0 ;
6488 PyObject * obj2 = 0 ;
6489 PyObject * obj3 = 0 ;
6490 PyObject * obj4 = 0 ;
6491 PyObject * obj5 = 0 ;
6492 PyObject * obj6 = 0 ;
6493 char *kwnames[] = {
6494 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6495 };
6496
248ed943 6497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
6498 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6499 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 6500 if (obj1) {
093d3ff1
RD
6501 {
6502 arg2 = (int)(SWIG_As_int(obj1));
6503 if (SWIG_arg_fail(2)) SWIG_fail;
6504 }
248ed943
RD
6505 }
6506 if (obj2) {
6507 {
6508 arg3 = wxString_in_helper(obj2);
6509 if (arg3 == NULL) SWIG_fail;
ae8162c8 6510 temp3 = true;
248ed943 6511 }
d55e5bfc
RD
6512 }
6513 if (obj3) {
6514 {
6515 arg4 = &temp4;
6516 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6517 }
6518 }
6519 if (obj4) {
6520 {
6521 arg5 = &temp5;
6522 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6523 }
6524 }
6525 if (obj5) {
093d3ff1
RD
6526 {
6527 arg6 = (long)(SWIG_As_long(obj5));
6528 if (SWIG_arg_fail(6)) SWIG_fail;
6529 }
d55e5bfc
RD
6530 }
6531 if (obj6) {
6532 {
6533 arg7 = wxString_in_helper(obj6);
6534 if (arg7 == NULL) SWIG_fail;
ae8162c8 6535 temp7 = true;
d55e5bfc
RD
6536 }
6537 }
6538 {
0439c23b 6539 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6540 PyThreadState* __tstate = wxPyBeginAllowThreads();
6541 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6542
6543 wxPyEndAllowThreads(__tstate);
110da5b0 6544 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6545 }
6546 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
6547 {
6548 if (temp3)
6549 delete arg3;
6550 }
6551 {
6552 if (temp7)
6553 delete arg7;
6554 }
6555 return resultobj;
6556 fail:
6557 {
6558 if (temp3)
6559 delete arg3;
6560 }
6561 {
6562 if (temp7)
6563 delete arg7;
6564 }
6565 return NULL;
6566}
6567
6568
c32bde28 6569static PyObject *_wrap_new_PreStaticText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6570 PyObject *resultobj;
6571 wxStaticText *result;
6572 char *kwnames[] = {
6573 NULL
6574 };
6575
6576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticText",kwnames)) goto fail;
6577 {
0439c23b 6578 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6579 PyThreadState* __tstate = wxPyBeginAllowThreads();
6580 result = (wxStaticText *)new wxStaticText();
6581
6582 wxPyEndAllowThreads(__tstate);
110da5b0 6583 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6584 }
6585 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
6586 return resultobj;
6587 fail:
6588 return NULL;
6589}
6590
6591
c32bde28 6592static PyObject *_wrap_StaticText_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6593 PyObject *resultobj;
6594 wxStaticText *arg1 = (wxStaticText *) 0 ;
6595 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
6596 int arg3 = (int) -1 ;
6597 wxString const &arg4_defvalue = wxPyEmptyString ;
6598 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
6599 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6600 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6601 wxSize const &arg6_defvalue = wxDefaultSize ;
6602 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6603 long arg7 = (long) 0 ;
6604 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
6605 wxString *arg8 = (wxString *) &arg8_defvalue ;
6606 bool result;
ae8162c8 6607 bool temp4 = false ;
d55e5bfc
RD
6608 wxPoint temp5 ;
6609 wxSize temp6 ;
ae8162c8 6610 bool temp8 = false ;
d55e5bfc
RD
6611 PyObject * obj0 = 0 ;
6612 PyObject * obj1 = 0 ;
6613 PyObject * obj2 = 0 ;
6614 PyObject * obj3 = 0 ;
6615 PyObject * obj4 = 0 ;
6616 PyObject * obj5 = 0 ;
6617 PyObject * obj6 = 0 ;
6618 PyObject * obj7 = 0 ;
6619 char *kwnames[] = {
6620 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6621 };
6622
248ed943 6623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticText_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
6624 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticText, SWIG_POINTER_EXCEPTION | 0);
6625 if (SWIG_arg_fail(1)) SWIG_fail;
6626 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6627 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 6628 if (obj2) {
093d3ff1
RD
6629 {
6630 arg3 = (int)(SWIG_As_int(obj2));
6631 if (SWIG_arg_fail(3)) SWIG_fail;
6632 }
248ed943
RD
6633 }
6634 if (obj3) {
6635 {
6636 arg4 = wxString_in_helper(obj3);
6637 if (arg4 == NULL) SWIG_fail;
ae8162c8 6638 temp4 = true;
248ed943 6639 }
d55e5bfc
RD
6640 }
6641 if (obj4) {
6642 {
6643 arg5 = &temp5;
6644 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6645 }
6646 }
6647 if (obj5) {
6648 {
6649 arg6 = &temp6;
6650 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6651 }
6652 }
6653 if (obj6) {
093d3ff1
RD
6654 {
6655 arg7 = (long)(SWIG_As_long(obj6));
6656 if (SWIG_arg_fail(7)) SWIG_fail;
6657 }
d55e5bfc
RD
6658 }
6659 if (obj7) {
6660 {
6661 arg8 = wxString_in_helper(obj7);
6662 if (arg8 == NULL) SWIG_fail;
ae8162c8 6663 temp8 = true;
d55e5bfc
RD
6664 }
6665 }
6666 {
6667 PyThreadState* __tstate = wxPyBeginAllowThreads();
6668 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6669
6670 wxPyEndAllowThreads(__tstate);
6671 if (PyErr_Occurred()) SWIG_fail;
6672 }
6673 {
6674 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6675 }
6676 {
6677 if (temp4)
6678 delete arg4;
6679 }
6680 {
6681 if (temp8)
6682 delete arg8;
6683 }
6684 return resultobj;
6685 fail:
6686 {
6687 if (temp4)
6688 delete arg4;
6689 }
6690 {
6691 if (temp8)
6692 delete arg8;
6693 }
6694 return NULL;
6695}
6696
6697
c32bde28 6698static PyObject *_wrap_StaticText_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 6699 PyObject *resultobj;
093d3ff1 6700 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
6701 wxVisualAttributes result;
6702 PyObject * obj0 = 0 ;
6703 char *kwnames[] = {
6704 (char *) "variant", NULL
6705 };
6706
6707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6708 if (obj0) {
093d3ff1
RD
6709 {
6710 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
6711 if (SWIG_arg_fail(1)) SWIG_fail;
6712 }
f20a2e1f
RD
6713 }
6714 {
19272049 6715 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
6716 PyThreadState* __tstate = wxPyBeginAllowThreads();
6717 result = wxStaticText::GetClassDefaultAttributes((wxWindowVariant )arg1);
6718
6719 wxPyEndAllowThreads(__tstate);
110da5b0 6720 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
6721 }
6722 {
6723 wxVisualAttributes * resultptr;
093d3ff1 6724 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
6725 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6726 }
6727 return resultobj;
6728 fail:
6729 return NULL;
6730}
6731
6732
c32bde28 6733static PyObject * StaticText_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
6734 PyObject *obj;
6735 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6736 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText, obj);
6737 Py_INCREF(obj);
6738 return Py_BuildValue((char *)"");
6739}
c32bde28 6740static PyObject *_wrap_new_StaticBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6741 PyObject *resultobj;
6742 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
6743 int arg2 = (int) -1 ;
6744 wxBitmap const &arg3_defvalue = wxNullBitmap ;
6745 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
d55e5bfc
RD
6746 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6747 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6748 wxSize const &arg5_defvalue = wxDefaultSize ;
6749 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6750 long arg6 = (long) 0 ;
6751 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
6752 wxString *arg7 = (wxString *) &arg7_defvalue ;
6753 wxStaticBitmap *result;
6754 wxPoint temp4 ;
6755 wxSize temp5 ;
ae8162c8 6756 bool temp7 = false ;
d55e5bfc
RD
6757 PyObject * obj0 = 0 ;
6758 PyObject * obj1 = 0 ;
6759 PyObject * obj2 = 0 ;
6760 PyObject * obj3 = 0 ;
6761 PyObject * obj4 = 0 ;
6762 PyObject * obj5 = 0 ;
6763 PyObject * obj6 = 0 ;
6764 char *kwnames[] = {
6765 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6766 };
6767
248ed943 6768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBitmap",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
6769 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6770 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 6771 if (obj1) {
093d3ff1
RD
6772 {
6773 arg2 = (int)(SWIG_As_int(obj1));
6774 if (SWIG_arg_fail(2)) SWIG_fail;
6775 }
248ed943
RD
6776 }
6777 if (obj2) {
093d3ff1
RD
6778 {
6779 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6780 if (SWIG_arg_fail(3)) SWIG_fail;
6781 if (arg3 == NULL) {
6782 SWIG_null_ref("wxBitmap");
6783 }
6784 if (SWIG_arg_fail(3)) SWIG_fail;
248ed943 6785 }
d55e5bfc
RD
6786 }
6787 if (obj3) {
6788 {
6789 arg4 = &temp4;
6790 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6791 }
6792 }
6793 if (obj4) {
6794 {
6795 arg5 = &temp5;
6796 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6797 }
6798 }
6799 if (obj5) {
093d3ff1
RD
6800 {
6801 arg6 = (long)(SWIG_As_long(obj5));
6802 if (SWIG_arg_fail(6)) SWIG_fail;
6803 }
d55e5bfc
RD
6804 }
6805 if (obj6) {
6806 {
6807 arg7 = wxString_in_helper(obj6);
6808 if (arg7 == NULL) SWIG_fail;
ae8162c8 6809 temp7 = true;
d55e5bfc
RD
6810 }
6811 }
6812 {
0439c23b 6813 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6814 PyThreadState* __tstate = wxPyBeginAllowThreads();
6815 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6816
6817 wxPyEndAllowThreads(__tstate);
110da5b0 6818 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6819 }
6820 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
6821 {
6822 if (temp7)
6823 delete arg7;
6824 }
6825 return resultobj;
6826 fail:
6827 {
6828 if (temp7)
6829 delete arg7;
6830 }
6831 return NULL;
6832}
6833
6834
c32bde28 6835static PyObject *_wrap_new_PreStaticBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6836 PyObject *resultobj;
6837 wxStaticBitmap *result;
6838 char *kwnames[] = {
6839 NULL
6840 };
6841
6842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBitmap",kwnames)) goto fail;
6843 {
0439c23b 6844 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6845 PyThreadState* __tstate = wxPyBeginAllowThreads();
6846 result = (wxStaticBitmap *)new wxStaticBitmap();
6847
6848 wxPyEndAllowThreads(__tstate);
110da5b0 6849 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6850 }
6851 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
6852 return resultobj;
6853 fail:
6854 return NULL;
6855}
6856
6857
c32bde28 6858static PyObject *_wrap_StaticBitmap_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6859 PyObject *resultobj;
6860 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
6861 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
6862 int arg3 = (int) -1 ;
6863 wxBitmap const &arg4_defvalue = wxNullBitmap ;
6864 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
d55e5bfc
RD
6865 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6866 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6867 wxSize const &arg6_defvalue = wxDefaultSize ;
6868 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6869 long arg7 = (long) 0 ;
6870 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
6871 wxString *arg8 = (wxString *) &arg8_defvalue ;
6872 bool result;
6873 wxPoint temp5 ;
6874 wxSize temp6 ;
ae8162c8 6875 bool temp8 = false ;
d55e5bfc
RD
6876 PyObject * obj0 = 0 ;
6877 PyObject * obj1 = 0 ;
6878 PyObject * obj2 = 0 ;
6879 PyObject * obj3 = 0 ;
6880 PyObject * obj4 = 0 ;
6881 PyObject * obj5 = 0 ;
6882 PyObject * obj6 = 0 ;
6883 PyObject * obj7 = 0 ;
6884 char *kwnames[] = {
6885 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6886 };
6887
248ed943 6888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
6889 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
6890 if (SWIG_arg_fail(1)) SWIG_fail;
6891 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6892 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 6893 if (obj2) {
093d3ff1
RD
6894 {
6895 arg3 = (int)(SWIG_As_int(obj2));
6896 if (SWIG_arg_fail(3)) SWIG_fail;
6897 }
248ed943
RD
6898 }
6899 if (obj3) {
093d3ff1
RD
6900 {
6901 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6902 if (SWIG_arg_fail(4)) SWIG_fail;
6903 if (arg4 == NULL) {
6904 SWIG_null_ref("wxBitmap");
6905 }
6906 if (SWIG_arg_fail(4)) SWIG_fail;
248ed943 6907 }
d55e5bfc
RD
6908 }
6909 if (obj4) {
6910 {
6911 arg5 = &temp5;
6912 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6913 }
6914 }
6915 if (obj5) {
6916 {
6917 arg6 = &temp6;
6918 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6919 }
6920 }
6921 if (obj6) {
093d3ff1
RD
6922 {
6923 arg7 = (long)(SWIG_As_long(obj6));
6924 if (SWIG_arg_fail(7)) SWIG_fail;
6925 }
d55e5bfc
RD
6926 }
6927 if (obj7) {
6928 {
6929 arg8 = wxString_in_helper(obj7);
6930 if (arg8 == NULL) SWIG_fail;
ae8162c8 6931 temp8 = true;
d55e5bfc
RD
6932 }
6933 }
6934 {
6935 PyThreadState* __tstate = wxPyBeginAllowThreads();
6936 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6937
6938 wxPyEndAllowThreads(__tstate);
6939 if (PyErr_Occurred()) SWIG_fail;
6940 }
6941 {
6942 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6943 }
6944 {
6945 if (temp8)
6946 delete arg8;
6947 }
6948 return resultobj;
6949 fail:
6950 {
6951 if (temp8)
6952 delete arg8;
6953 }
6954 return NULL;
6955}
6956
6957
c32bde28 6958static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6959 PyObject *resultobj;
6960 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
6961 wxBitmap result;
6962 PyObject * obj0 = 0 ;
6963 char *kwnames[] = {
6964 (char *) "self", NULL
6965 };
6966
6967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBitmap_GetBitmap",kwnames,&obj0)) goto fail;
093d3ff1
RD
6968 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
6969 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6970 {
6971 PyThreadState* __tstate = wxPyBeginAllowThreads();
6972 result = (arg1)->GetBitmap();
6973
6974 wxPyEndAllowThreads(__tstate);
6975 if (PyErr_Occurred()) SWIG_fail;
6976 }
6977 {
6978 wxBitmap * resultptr;
093d3ff1 6979 resultptr = new wxBitmap((wxBitmap &)(result));
d55e5bfc
RD
6980 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
6981 }
6982 return resultobj;
6983 fail:
6984 return NULL;
6985}
6986
6987
c32bde28 6988static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6989 PyObject *resultobj;
6990 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
6991 wxBitmap *arg2 = 0 ;
6992 PyObject * obj0 = 0 ;
6993 PyObject * obj1 = 0 ;
6994 char *kwnames[] = {
6995 (char *) "self",(char *) "bitmap", NULL
6996 };
6997
6998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6999 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
7000 if (SWIG_arg_fail(1)) SWIG_fail;
7001 {
7002 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
7003 if (SWIG_arg_fail(2)) SWIG_fail;
7004 if (arg2 == NULL) {
7005 SWIG_null_ref("wxBitmap");
7006 }
7007 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
7008 }
7009 {
7010 PyThreadState* __tstate = wxPyBeginAllowThreads();
7011 (arg1)->SetBitmap((wxBitmap const &)*arg2);
7012
7013 wxPyEndAllowThreads(__tstate);
7014 if (PyErr_Occurred()) SWIG_fail;
7015 }
7016 Py_INCREF(Py_None); resultobj = Py_None;
7017 return resultobj;
7018 fail:
7019 return NULL;
7020}
7021
7022
c32bde28 7023static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7024 PyObject *resultobj;
7025 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
7026 wxIcon *arg2 = 0 ;
7027 PyObject * obj0 = 0 ;
7028 PyObject * obj1 = 0 ;
7029 char *kwnames[] = {
7030 (char *) "self",(char *) "icon", NULL
7031 };
7032
7033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7034 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
7035 if (SWIG_arg_fail(1)) SWIG_fail;
7036 {
7037 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
7038 if (SWIG_arg_fail(2)) SWIG_fail;
7039 if (arg2 == NULL) {
7040 SWIG_null_ref("wxIcon");
7041 }
7042 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
7043 }
7044 {
7045 PyThreadState* __tstate = wxPyBeginAllowThreads();
7046 (arg1)->SetIcon((wxIcon const &)*arg2);
7047
7048 wxPyEndAllowThreads(__tstate);
7049 if (PyErr_Occurred()) SWIG_fail;
7050 }
7051 Py_INCREF(Py_None); resultobj = Py_None;
7052 return resultobj;
7053 fail:
7054 return NULL;
7055}
7056
7057
c32bde28 7058static PyObject *_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 7059 PyObject *resultobj;
093d3ff1 7060 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
7061 wxVisualAttributes result;
7062 PyObject * obj0 = 0 ;
7063 char *kwnames[] = {
7064 (char *) "variant", NULL
7065 };
7066
7067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
7068 if (obj0) {
093d3ff1
RD
7069 {
7070 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
7071 if (SWIG_arg_fail(1)) SWIG_fail;
7072 }
f20a2e1f
RD
7073 }
7074 {
19272049 7075 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
7076 PyThreadState* __tstate = wxPyBeginAllowThreads();
7077 result = wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant )arg1);
7078
7079 wxPyEndAllowThreads(__tstate);
110da5b0 7080 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
7081 }
7082 {
7083 wxVisualAttributes * resultptr;
093d3ff1 7084 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
7085 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
7086 }
7087 return resultobj;
7088 fail:
7089 return NULL;
7090}
7091
7092
c32bde28 7093static PyObject * StaticBitmap_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
7094 PyObject *obj;
7095 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7096 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap, obj);
7097 Py_INCREF(obj);
7098 return Py_BuildValue((char *)"");
7099}
c32bde28 7100static int _wrap_ListBoxNameStr_set(PyObject *) {
d55e5bfc
RD
7101 PyErr_SetString(PyExc_TypeError,"Variable ListBoxNameStr is read-only.");
7102 return 1;
7103}
7104
7105
093d3ff1 7106static PyObject *_wrap_ListBoxNameStr_get(void) {
d55e5bfc
RD
7107 PyObject *pyobj;
7108
7109 {
7110#if wxUSE_UNICODE
7111 pyobj = PyUnicode_FromWideChar((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
7112#else
7113 pyobj = PyString_FromStringAndSize((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
7114#endif
7115 }
7116 return pyobj;
7117}
7118
7119
c32bde28 7120static PyObject *_wrap_new_ListBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7121 PyObject *resultobj;
7122 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 7123 int arg2 = (int) -1 ;
d55e5bfc
RD
7124 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7125 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7126 wxSize const &arg4_defvalue = wxDefaultSize ;
7127 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7128 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
7129 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
7130 long arg6 = (long) 0 ;
7131 wxValidator const &arg7_defvalue = wxDefaultValidator ;
7132 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
7133 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
7134 wxString *arg8 = (wxString *) &arg8_defvalue ;
7135 wxListBox *result;
7136 wxPoint temp3 ;
7137 wxSize temp4 ;
ae8162c8
RD
7138 bool temp5 = false ;
7139 bool temp8 = false ;
d55e5bfc
RD
7140 PyObject * obj0 = 0 ;
7141 PyObject * obj1 = 0 ;
7142 PyObject * obj2 = 0 ;
7143 PyObject * obj3 = 0 ;
7144 PyObject * obj4 = 0 ;
7145 PyObject * obj5 = 0 ;
7146 PyObject * obj6 = 0 ;
7147 PyObject * obj7 = 0 ;
7148 char *kwnames[] = {
7149 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7150 };
7151
248ed943 7152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
7153 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7154 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 7155 if (obj1) {
093d3ff1
RD
7156 {
7157 arg2 = (int)(SWIG_As_int(obj1));
7158 if (SWIG_arg_fail(2)) SWIG_fail;
7159 }
248ed943 7160 }
d55e5bfc
RD
7161 if (obj2) {
7162 {
7163 arg3 = &temp3;
7164 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7165 }
7166 }
7167 if (obj3) {
7168 {
7169 arg4 = &temp4;
7170 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7171 }
7172 }
7173 if (obj4) {
7174 {
7175 if (! PySequence_Check(obj4)) {
7176 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7177 SWIG_fail;
7178 }
7179 arg5 = new wxArrayString;
ae8162c8 7180 temp5 = true;
d55e5bfc
RD
7181 int i, len=PySequence_Length(obj4);
7182 for (i=0; i<len; i++) {
7183 PyObject* item = PySequence_GetItem(obj4, i);
71237536 7184 wxString* s = wxString_in_helper(item);
d55e5bfc 7185 if (PyErr_Occurred()) SWIG_fail;
71237536
RD
7186 arg5->Add(*s);
7187 delete s;
d55e5bfc 7188 Py_DECREF(item);
d55e5bfc
RD
7189 }
7190 }
7191 }
7192 if (obj5) {
093d3ff1
RD
7193 {
7194 arg6 = (long)(SWIG_As_long(obj5));
7195 if (SWIG_arg_fail(6)) SWIG_fail;
7196 }
d55e5bfc
RD
7197 }
7198 if (obj6) {
093d3ff1
RD
7199 {
7200 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
7201 if (SWIG_arg_fail(7)) SWIG_fail;
7202 if (arg7 == NULL) {
7203 SWIG_null_ref("wxValidator");
7204 }
7205 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
7206 }
7207 }
7208 if (obj7) {
7209 {
7210 arg8 = wxString_in_helper(obj7);
7211 if (arg8 == NULL) SWIG_fail;
ae8162c8 7212 temp8 = true;
d55e5bfc
RD
7213 }
7214 }
7215 {
0439c23b 7216 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
7217 PyThreadState* __tstate = wxPyBeginAllowThreads();
7218 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
7219
7220 wxPyEndAllowThreads(__tstate);
110da5b0 7221 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
7222 }
7223 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
7224 {
7225 if (temp5) delete arg5;
7226 }
7227 {
7228 if (temp8)
7229 delete arg8;
7230 }
7231 return resultobj;
7232 fail:
7233 {
7234 if (temp5) delete arg5;
7235 }
7236 {
7237 if (temp8)
7238 delete arg8;
7239 }
7240 return NULL;
7241}
7242
7243
c32bde28 7244static PyObject *_wrap_new_PreListBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7245 PyObject *resultobj;
7246 wxListBox *result;
7247 char *kwnames[] = {
7248 NULL
7249 };
7250
7251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListBox",kwnames)) goto fail;
7252 {
0439c23b 7253 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
7254 PyThreadState* __tstate = wxPyBeginAllowThreads();
7255 result = (wxListBox *)new wxListBox();
7256
7257 wxPyEndAllowThreads(__tstate);
110da5b0 7258 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
7259 }
7260 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
7261 return resultobj;
7262 fail:
7263 return NULL;
7264}
7265
7266
c32bde28 7267static PyObject *_wrap_ListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7268 PyObject *resultobj;
7269 wxListBox *arg1 = (wxListBox *) 0 ;
7270 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 7271 int arg3 = (int) -1 ;
d55e5bfc
RD
7272 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7273 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7274 wxSize const &arg5_defvalue = wxDefaultSize ;
7275 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7276 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
7277 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
7278 long arg7 = (long) 0 ;
7279 wxValidator const &arg8_defvalue = wxDefaultValidator ;
7280 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
7281 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
7282 wxString *arg9 = (wxString *) &arg9_defvalue ;
7283 bool result;
7284 wxPoint temp4 ;
7285 wxSize temp5 ;
ae8162c8
RD
7286 bool temp6 = false ;
7287 bool temp9 = false ;
d55e5bfc
RD
7288 PyObject * obj0 = 0 ;
7289 PyObject * obj1 = 0 ;
7290 PyObject * obj2 = 0 ;
7291 PyObject * obj3 = 0 ;
7292 PyObject * obj4 = 0 ;
7293 PyObject * obj5 = 0 ;
7294 PyObject * obj6 = 0 ;
7295 PyObject * obj7 = 0 ;
7296 PyObject * obj8 = 0 ;
7297 char *kwnames[] = {
7298 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7299 };
7300
248ed943 7301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
7302 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7303 if (SWIG_arg_fail(1)) SWIG_fail;
7304 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7305 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 7306 if (obj2) {
093d3ff1
RD
7307 {
7308 arg3 = (int)(SWIG_As_int(obj2));
7309 if (SWIG_arg_fail(3)) SWIG_fail;
7310 }
248ed943 7311 }
d55e5bfc
RD
7312 if (obj3) {
7313 {
7314 arg4 = &temp4;
7315 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7316 }
7317 }
7318 if (obj4) {
7319 {
7320 arg5 = &temp5;
7321 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7322 }
7323 }
7324 if (obj5) {
7325 {
7326 if (! PySequence_Check(obj5)) {
7327 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7328 SWIG_fail;
7329 }
7330 arg6 = new wxArrayString;
ae8162c8 7331 temp6 = true;
d55e5bfc
RD
7332 int i, len=PySequence_Length(obj5);
7333 for (i=0; i<len; i++) {
7334 PyObject* item = PySequence_GetItem(obj5, i);
71237536 7335 wxString* s = wxString_in_helper(item);
d55e5bfc 7336 if (PyErr_Occurred()) SWIG_fail;
71237536
RD
7337 arg6->Add(*s);
7338 delete s;
d55e5bfc 7339 Py_DECREF(item);
d55e5bfc
RD
7340 }
7341 }
7342 }
7343 if (obj6) {
093d3ff1
RD
7344 {
7345 arg7 = (long)(SWIG_As_long(obj6));
7346 if (SWIG_arg_fail(7)) SWIG_fail;
7347 }
d55e5bfc
RD
7348 }
7349 if (obj7) {
093d3ff1
RD
7350 {
7351 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
7352 if (SWIG_arg_fail(8)) SWIG_fail;
7353 if (arg8 == NULL) {
7354 SWIG_null_ref("wxValidator");
7355 }
7356 if (SWIG_arg_fail(8)) SWIG_fail;
d55e5bfc
RD
7357 }
7358 }
7359 if (obj8) {
7360 {
7361 arg9 = wxString_in_helper(obj8);
7362 if (arg9 == NULL) SWIG_fail;
ae8162c8 7363 temp9 = true;
d55e5bfc
RD
7364 }
7365 }
7366 {
7367 PyThreadState* __tstate = wxPyBeginAllowThreads();
7368 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
7369
7370 wxPyEndAllowThreads(__tstate);
7371 if (PyErr_Occurred()) SWIG_fail;
7372 }
7373 {
7374 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7375 }
7376 {
7377 if (temp6) delete arg6;
7378 }
7379 {
7380 if (temp9)
7381 delete arg9;
7382 }
7383 return resultobj;
7384 fail:
7385 {
7386 if (temp6) delete arg6;
7387 }
7388 {
7389 if (temp9)
7390 delete arg9;
7391 }
7392 return NULL;
7393}
7394
7395
c32bde28 7396static PyObject *_wrap_ListBox_Insert(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7397 PyObject *resultobj;
7398 wxListBox *arg1 = (wxListBox *) 0 ;
7399 wxString *arg2 = 0 ;
7400 int arg3 ;
7401 PyObject *arg4 = (PyObject *) NULL ;
ae8162c8 7402 bool temp2 = false ;
d55e5bfc
RD
7403 PyObject * obj0 = 0 ;
7404 PyObject * obj1 = 0 ;
7405 PyObject * obj2 = 0 ;
7406 PyObject * obj3 = 0 ;
7407 char *kwnames[] = {
7408 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
7409 };
7410
7411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListBox_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
7412 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7413 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7414 {
7415 arg2 = wxString_in_helper(obj1);
7416 if (arg2 == NULL) SWIG_fail;
ae8162c8 7417 temp2 = true;
d55e5bfc 7418 }
093d3ff1
RD
7419 {
7420 arg3 = (int)(SWIG_As_int(obj2));
7421 if (SWIG_arg_fail(3)) SWIG_fail;
7422 }
d55e5bfc
RD
7423 if (obj3) {
7424 arg4 = obj3;
7425 }
7426 {
7427 PyThreadState* __tstate = wxPyBeginAllowThreads();
7428 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
7429
7430 wxPyEndAllowThreads(__tstate);
7431 if (PyErr_Occurred()) SWIG_fail;
7432 }
7433 Py_INCREF(Py_None); resultobj = Py_None;
7434 {
7435 if (temp2)
7436 delete arg2;
7437 }
7438 return resultobj;
7439 fail:
7440 {
7441 if (temp2)
7442 delete arg2;
7443 }
7444 return NULL;
7445}
7446
7447
c32bde28 7448static PyObject *_wrap_ListBox_InsertItems(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7449 PyObject *resultobj;
7450 wxListBox *arg1 = (wxListBox *) 0 ;
7451 wxArrayString *arg2 = 0 ;
7452 int arg3 ;
ae8162c8 7453 bool temp2 = false ;
d55e5bfc
RD
7454 PyObject * obj0 = 0 ;
7455 PyObject * obj1 = 0 ;
7456 PyObject * obj2 = 0 ;
7457 char *kwnames[] = {
7458 (char *) "self",(char *) "items",(char *) "pos", NULL
7459 };
7460
7461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_InsertItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
7462 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7463 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7464 {
7465 if (! PySequence_Check(obj1)) {
7466 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7467 SWIG_fail;
7468 }
7469 arg2 = new wxArrayString;
ae8162c8 7470 temp2 = true;
d55e5bfc
RD
7471 int i, len=PySequence_Length(obj1);
7472 for (i=0; i<len; i++) {
7473 PyObject* item = PySequence_GetItem(obj1, i);
71237536 7474 wxString* s = wxString_in_helper(item);
d55e5bfc 7475 if (PyErr_Occurred()) SWIG_fail;
71237536
RD
7476 arg2->Add(*s);
7477 delete s;
d55e5bfc 7478 Py_DECREF(item);
d55e5bfc
RD
7479 }
7480 }
093d3ff1
RD
7481 {
7482 arg3 = (int)(SWIG_As_int(obj2));
7483 if (SWIG_arg_fail(3)) SWIG_fail;
7484 }
d55e5bfc
RD
7485 {
7486 PyThreadState* __tstate = wxPyBeginAllowThreads();
7487 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
7488
7489 wxPyEndAllowThreads(__tstate);
7490 if (PyErr_Occurred()) SWIG_fail;
7491 }
7492 Py_INCREF(Py_None); resultobj = Py_None;
7493 {
7494 if (temp2) delete arg2;
7495 }
7496 return resultobj;
7497 fail:
7498 {
7499 if (temp2) delete arg2;
7500 }
7501 return NULL;
7502}
7503
7504
c32bde28 7505static PyObject *_wrap_ListBox_Set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7506 PyObject *resultobj;
7507 wxListBox *arg1 = (wxListBox *) 0 ;
7508 wxArrayString *arg2 = 0 ;
ae8162c8 7509 bool temp2 = false ;
d55e5bfc
RD
7510 PyObject * obj0 = 0 ;
7511 PyObject * obj1 = 0 ;
7512 char *kwnames[] = {
7513 (char *) "self",(char *) "items", NULL
7514 };
7515
7516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7517 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7518 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7519 {
7520 if (! PySequence_Check(obj1)) {
7521 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7522 SWIG_fail;
7523 }
7524 arg2 = new wxArrayString;
ae8162c8 7525 temp2 = true;
d55e5bfc
RD
7526 int i, len=PySequence_Length(obj1);
7527 for (i=0; i<len; i++) {
7528 PyObject* item = PySequence_GetItem(obj1, i);
71237536 7529 wxString* s = wxString_in_helper(item);
d55e5bfc 7530 if (PyErr_Occurred()) SWIG_fail;
71237536
RD
7531 arg2->Add(*s);
7532 delete s;
d55e5bfc 7533 Py_DECREF(item);
d55e5bfc
RD
7534 }
7535 }
7536 {
7537 PyThreadState* __tstate = wxPyBeginAllowThreads();
7538 (arg1)->Set((wxArrayString const &)*arg2);
7539
7540 wxPyEndAllowThreads(__tstate);
7541 if (PyErr_Occurred()) SWIG_fail;
7542 }
7543 Py_INCREF(Py_None); resultobj = Py_None;
7544 {
7545 if (temp2) delete arg2;
7546 }
7547 return resultobj;
7548 fail:
7549 {
7550 if (temp2) delete arg2;
7551 }
7552 return NULL;
7553}
7554
7555
c32bde28 7556static PyObject *_wrap_ListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7557 PyObject *resultobj;
7558 wxListBox *arg1 = (wxListBox *) 0 ;
7559 int arg2 ;
7560 bool result;
7561 PyObject * obj0 = 0 ;
7562 PyObject * obj1 = 0 ;
7563 char *kwnames[] = {
7564 (char *) "self",(char *) "n", NULL
7565 };
7566
7567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7568 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7569 if (SWIG_arg_fail(1)) SWIG_fail;
7570 {
7571 arg2 = (int)(SWIG_As_int(obj1));
7572 if (SWIG_arg_fail(2)) SWIG_fail;
7573 }
d55e5bfc
RD
7574 {
7575 PyThreadState* __tstate = wxPyBeginAllowThreads();
7576 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
7577
7578 wxPyEndAllowThreads(__tstate);
7579 if (PyErr_Occurred()) SWIG_fail;
7580 }
7581 {
7582 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7583 }
7584 return resultobj;
7585 fail:
7586 return NULL;
7587}
7588
7589
c32bde28 7590static PyObject *_wrap_ListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7591 PyObject *resultobj;
7592 wxListBox *arg1 = (wxListBox *) 0 ;
7593 int arg2 ;
ae8162c8 7594 bool arg3 = (bool) true ;
d55e5bfc
RD
7595 PyObject * obj0 = 0 ;
7596 PyObject * obj1 = 0 ;
7597 PyObject * obj2 = 0 ;
7598 char *kwnames[] = {
7599 (char *) "self",(char *) "n",(char *) "select", NULL
7600 };
7601
7602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
7603 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7604 if (SWIG_arg_fail(1)) SWIG_fail;
7605 {
7606 arg2 = (int)(SWIG_As_int(obj1));
7607 if (SWIG_arg_fail(2)) SWIG_fail;
7608 }
d55e5bfc 7609 if (obj2) {
093d3ff1
RD
7610 {
7611 arg3 = (bool)(SWIG_As_bool(obj2));
7612 if (SWIG_arg_fail(3)) SWIG_fail;
7613 }
d55e5bfc
RD
7614 }
7615 {
7616 PyThreadState* __tstate = wxPyBeginAllowThreads();
7617 (arg1)->SetSelection(arg2,arg3);
7618
7619 wxPyEndAllowThreads(__tstate);
7620 if (PyErr_Occurred()) SWIG_fail;
7621 }
7622 Py_INCREF(Py_None); resultobj = Py_None;
7623 return resultobj;
7624 fail:
7625 return NULL;
7626}
7627
7628
c32bde28 7629static PyObject *_wrap_ListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7630 PyObject *resultobj;
7631 wxListBox *arg1 = (wxListBox *) 0 ;
7632 int arg2 ;
7633 PyObject * obj0 = 0 ;
7634 PyObject * obj1 = 0 ;
7635 char *kwnames[] = {
7636 (char *) "self",(char *) "n", NULL
7637 };
7638
7639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Select",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7640 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7641 if (SWIG_arg_fail(1)) SWIG_fail;
7642 {
7643 arg2 = (int)(SWIG_As_int(obj1));
7644 if (SWIG_arg_fail(2)) SWIG_fail;
7645 }
d55e5bfc
RD
7646 {
7647 PyThreadState* __tstate = wxPyBeginAllowThreads();
7648 (arg1)->Select(arg2);
7649
7650 wxPyEndAllowThreads(__tstate);
7651 if (PyErr_Occurred()) SWIG_fail;
7652 }
7653 Py_INCREF(Py_None); resultobj = Py_None;
7654 return resultobj;
7655 fail:
7656 return NULL;
7657}
7658
7659
c32bde28 7660static PyObject *_wrap_ListBox_Deselect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7661 PyObject *resultobj;
7662 wxListBox *arg1 = (wxListBox *) 0 ;
7663 int arg2 ;
7664 PyObject * obj0 = 0 ;
7665 PyObject * obj1 = 0 ;
7666 char *kwnames[] = {
7667 (char *) "self",(char *) "n", NULL
7668 };
7669
7670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Deselect",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7671 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7672 if (SWIG_arg_fail(1)) SWIG_fail;
7673 {
7674 arg2 = (int)(SWIG_As_int(obj1));
7675 if (SWIG_arg_fail(2)) SWIG_fail;
7676 }
d55e5bfc
RD
7677 {
7678 PyThreadState* __tstate = wxPyBeginAllowThreads();
7679 (arg1)->Deselect(arg2);
7680
7681 wxPyEndAllowThreads(__tstate);
7682 if (PyErr_Occurred()) SWIG_fail;
7683 }
7684 Py_INCREF(Py_None); resultobj = Py_None;
7685 return resultobj;
7686 fail:
7687 return NULL;
7688}
7689
7690
c32bde28 7691static PyObject *_wrap_ListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7692 PyObject *resultobj;
7693 wxListBox *arg1 = (wxListBox *) 0 ;
7694 int arg2 = (int) -1 ;
7695 PyObject * obj0 = 0 ;
7696 PyObject * obj1 = 0 ;
7697 char *kwnames[] = {
7698 (char *) "self",(char *) "itemToLeaveSelected", NULL
7699 };
7700
7701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListBox_DeselectAll",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7702 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7703 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 7704 if (obj1) {
093d3ff1
RD
7705 {
7706 arg2 = (int)(SWIG_As_int(obj1));
7707 if (SWIG_arg_fail(2)) SWIG_fail;
7708 }
d55e5bfc
RD
7709 }
7710 {
7711 PyThreadState* __tstate = wxPyBeginAllowThreads();
7712 (arg1)->DeselectAll(arg2);
7713
7714 wxPyEndAllowThreads(__tstate);
7715 if (PyErr_Occurred()) SWIG_fail;
7716 }
7717 Py_INCREF(Py_None); resultobj = Py_None;
7718 return resultobj;
7719 fail:
7720 return NULL;
7721}
7722
7723
c32bde28 7724static PyObject *_wrap_ListBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7725 PyObject *resultobj;
7726 wxListBox *arg1 = (wxListBox *) 0 ;
7727 wxString *arg2 = 0 ;
ae8162c8 7728 bool arg3 = (bool) true ;
d55e5bfc 7729 bool result;
ae8162c8 7730 bool temp2 = false ;
d55e5bfc
RD
7731 PyObject * obj0 = 0 ;
7732 PyObject * obj1 = 0 ;
7733 PyObject * obj2 = 0 ;
7734 char *kwnames[] = {
7735 (char *) "self",(char *) "s",(char *) "select", NULL
7736 };
7737
7738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
7739 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7740 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7741 {
7742 arg2 = wxString_in_helper(obj1);
7743 if (arg2 == NULL) SWIG_fail;
ae8162c8 7744 temp2 = true;
d55e5bfc
RD
7745 }
7746 if (obj2) {
093d3ff1
RD
7747 {
7748 arg3 = (bool)(SWIG_As_bool(obj2));
7749 if (SWIG_arg_fail(3)) SWIG_fail;
7750 }
d55e5bfc
RD
7751 }
7752 {
7753 PyThreadState* __tstate = wxPyBeginAllowThreads();
7754 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
7755
7756 wxPyEndAllowThreads(__tstate);
7757 if (PyErr_Occurred()) SWIG_fail;
7758 }
7759 {
7760 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7761 }
7762 {
7763 if (temp2)
7764 delete arg2;
7765 }
7766 return resultobj;
7767 fail:
7768 {
7769 if (temp2)
7770 delete arg2;
7771 }
7772 return NULL;
7773}
7774
7775
c32bde28 7776static PyObject *_wrap_ListBox_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7777 PyObject *resultobj;
7778 wxListBox *arg1 = (wxListBox *) 0 ;
7779 PyObject *result;
7780 PyObject * obj0 = 0 ;
7781 char *kwnames[] = {
7782 (char *) "self", NULL
7783 };
7784
7785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_GetSelections",kwnames,&obj0)) goto fail;
093d3ff1
RD
7786 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7787 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7788 {
7789 PyThreadState* __tstate = wxPyBeginAllowThreads();
7790 result = (PyObject *)wxListBox_GetSelections(arg1);
7791
7792 wxPyEndAllowThreads(__tstate);
7793 if (PyErr_Occurred()) SWIG_fail;
7794 }
7795 resultobj = result;
7796 return resultobj;
7797 fail:
7798 return NULL;
7799}
7800
7801
c32bde28 7802static PyObject *_wrap_ListBox_SetFirstItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7803 PyObject *resultobj;
7804 wxListBox *arg1 = (wxListBox *) 0 ;
7805 int arg2 ;
7806 PyObject * obj0 = 0 ;
7807 PyObject * obj1 = 0 ;
7808 char *kwnames[] = {
7809 (char *) "self",(char *) "n", NULL
7810 };
7811
7812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7813 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7814 if (SWIG_arg_fail(1)) SWIG_fail;
7815 {
7816 arg2 = (int)(SWIG_As_int(obj1));
7817 if (SWIG_arg_fail(2)) SWIG_fail;
7818 }
d55e5bfc
RD
7819 {
7820 PyThreadState* __tstate = wxPyBeginAllowThreads();
7821 (arg1)->SetFirstItem(arg2);
7822
7823 wxPyEndAllowThreads(__tstate);
7824 if (PyErr_Occurred()) SWIG_fail;
7825 }
7826 Py_INCREF(Py_None); resultobj = Py_None;
7827 return resultobj;
7828 fail:
7829 return NULL;
7830}
7831
7832
c32bde28 7833static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7834 PyObject *resultobj;
7835 wxListBox *arg1 = (wxListBox *) 0 ;
7836 wxString *arg2 = 0 ;
ae8162c8 7837 bool temp2 = false ;
d55e5bfc
RD
7838 PyObject * obj0 = 0 ;
7839 PyObject * obj1 = 0 ;
7840 char *kwnames[] = {
7841 (char *) "self",(char *) "s", NULL
7842 };
7843
7844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7845 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7846 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7847 {
7848 arg2 = wxString_in_helper(obj1);
7849 if (arg2 == NULL) SWIG_fail;
ae8162c8 7850 temp2 = true;
d55e5bfc
RD
7851 }
7852 {
7853 PyThreadState* __tstate = wxPyBeginAllowThreads();
7854 (arg1)->SetFirstItem((wxString const &)*arg2);
7855
7856 wxPyEndAllowThreads(__tstate);
7857 if (PyErr_Occurred()) SWIG_fail;
7858 }
7859 Py_INCREF(Py_None); resultobj = Py_None;
7860 {
7861 if (temp2)
7862 delete arg2;
7863 }
7864 return resultobj;
7865 fail:
7866 {
7867 if (temp2)
7868 delete arg2;
7869 }
7870 return NULL;
7871}
7872
7873
c32bde28 7874static PyObject *_wrap_ListBox_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7875 PyObject *resultobj;
7876 wxListBox *arg1 = (wxListBox *) 0 ;
7877 int arg2 ;
7878 PyObject * obj0 = 0 ;
7879 PyObject * obj1 = 0 ;
7880 char *kwnames[] = {
7881 (char *) "self",(char *) "n", NULL
7882 };
7883
7884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7885 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7886 if (SWIG_arg_fail(1)) SWIG_fail;
7887 {
7888 arg2 = (int)(SWIG_As_int(obj1));
7889 if (SWIG_arg_fail(2)) SWIG_fail;
7890 }
d55e5bfc
RD
7891 {
7892 PyThreadState* __tstate = wxPyBeginAllowThreads();
7893 (arg1)->EnsureVisible(arg2);
7894
7895 wxPyEndAllowThreads(__tstate);
7896 if (PyErr_Occurred()) SWIG_fail;
7897 }
7898 Py_INCREF(Py_None); resultobj = Py_None;
7899 return resultobj;
7900 fail:
7901 return NULL;
7902}
7903
7904
c32bde28 7905static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7906 PyObject *resultobj;
7907 wxListBox *arg1 = (wxListBox *) 0 ;
7908 wxString *arg2 = 0 ;
ae8162c8 7909 bool temp2 = false ;
d55e5bfc
RD
7910 PyObject * obj0 = 0 ;
7911 PyObject * obj1 = 0 ;
7912 char *kwnames[] = {
7913 (char *) "self",(char *) "s", NULL
7914 };
7915
7916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7917 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7918 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7919 {
7920 arg2 = wxString_in_helper(obj1);
7921 if (arg2 == NULL) SWIG_fail;
ae8162c8 7922 temp2 = true;
d55e5bfc
RD
7923 }
7924 {
7925 PyThreadState* __tstate = wxPyBeginAllowThreads();
7926 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
7927
7928 wxPyEndAllowThreads(__tstate);
7929 if (PyErr_Occurred()) SWIG_fail;
7930 }
7931 Py_INCREF(Py_None); resultobj = Py_None;
7932 {
7933 if (temp2)
7934 delete arg2;
7935 }
7936 return resultobj;
7937 fail:
7938 {
7939 if (temp2)
7940 delete arg2;
7941 }
7942 return NULL;
7943}
7944
7945
c32bde28 7946static PyObject *_wrap_ListBox_IsSorted(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7947 PyObject *resultobj;
7948 wxListBox *arg1 = (wxListBox *) 0 ;
7949 bool result;
7950 PyObject * obj0 = 0 ;
7951 char *kwnames[] = {
7952 (char *) "self", NULL
7953 };
7954
7955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_IsSorted",kwnames,&obj0)) goto fail;
093d3ff1
RD
7956 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7957 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7958 {
7959 PyThreadState* __tstate = wxPyBeginAllowThreads();
7960 result = (bool)((wxListBox const *)arg1)->IsSorted();
7961
7962 wxPyEndAllowThreads(__tstate);
7963 if (PyErr_Occurred()) SWIG_fail;
7964 }
7965 {
7966 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7967 }
7968 return resultobj;
7969 fail:
7970 return NULL;
7971}
7972
7973
c32bde28 7974static PyObject *_wrap_ListBox_SetItemForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7975 PyObject *resultobj;
7976 wxListBox *arg1 = (wxListBox *) 0 ;
7977 int arg2 ;
7978 wxColour *arg3 = 0 ;
7979 wxColour temp3 ;
7980 PyObject * obj0 = 0 ;
7981 PyObject * obj1 = 0 ;
7982 PyObject * obj2 = 0 ;
7983 char *kwnames[] = {
7984 (char *) "self",(char *) "item",(char *) "c", NULL
7985 };
7986
7987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
7988 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7989 if (SWIG_arg_fail(1)) SWIG_fail;
7990 {
7991 arg2 = (int)(SWIG_As_int(obj1));
7992 if (SWIG_arg_fail(2)) SWIG_fail;
7993 }
d55e5bfc
RD
7994 {
7995 arg3 = &temp3;
7996 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
7997 }
7998 {
7999 PyThreadState* __tstate = wxPyBeginAllowThreads();
8000 wxListBox_SetItemForegroundColour(arg1,arg2,(wxColour const &)*arg3);
8001
8002 wxPyEndAllowThreads(__tstate);
8003 if (PyErr_Occurred()) SWIG_fail;
8004 }
8005 Py_INCREF(Py_None); resultobj = Py_None;
8006 return resultobj;
8007 fail:
8008 return NULL;
8009}
8010
8011
c32bde28 8012static PyObject *_wrap_ListBox_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8013 PyObject *resultobj;
8014 wxListBox *arg1 = (wxListBox *) 0 ;
8015 int arg2 ;
8016 wxColour *arg3 = 0 ;
8017 wxColour temp3 ;
8018 PyObject * obj0 = 0 ;
8019 PyObject * obj1 = 0 ;
8020 PyObject * obj2 = 0 ;
8021 char *kwnames[] = {
8022 (char *) "self",(char *) "item",(char *) "c", NULL
8023 };
8024
8025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8026 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8027 if (SWIG_arg_fail(1)) SWIG_fail;
8028 {
8029 arg2 = (int)(SWIG_As_int(obj1));
8030 if (SWIG_arg_fail(2)) SWIG_fail;
8031 }
d55e5bfc
RD
8032 {
8033 arg3 = &temp3;
8034 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
8035 }
8036 {
8037 PyThreadState* __tstate = wxPyBeginAllowThreads();
8038 wxListBox_SetItemBackgroundColour(arg1,arg2,(wxColour const &)*arg3);
8039
8040 wxPyEndAllowThreads(__tstate);
8041 if (PyErr_Occurred()) SWIG_fail;
8042 }
8043 Py_INCREF(Py_None); resultobj = Py_None;
8044 return resultobj;
8045 fail:
8046 return NULL;
8047}
8048
8049
c32bde28 8050static PyObject *_wrap_ListBox_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8051 PyObject *resultobj;
8052 wxListBox *arg1 = (wxListBox *) 0 ;
8053 int arg2 ;
8054 wxFont *arg3 = 0 ;
8055 PyObject * obj0 = 0 ;
8056 PyObject * obj1 = 0 ;
8057 PyObject * obj2 = 0 ;
8058 char *kwnames[] = {
8059 (char *) "self",(char *) "item",(char *) "f", NULL
8060 };
8061
8062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8063 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8064 if (SWIG_arg_fail(1)) SWIG_fail;
8065 {
8066 arg2 = (int)(SWIG_As_int(obj1));
8067 if (SWIG_arg_fail(2)) SWIG_fail;
8068 }
8069 {
8070 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
8071 if (SWIG_arg_fail(3)) SWIG_fail;
8072 if (arg3 == NULL) {
8073 SWIG_null_ref("wxFont");
8074 }
8075 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
8076 }
8077 {
8078 PyThreadState* __tstate = wxPyBeginAllowThreads();
8079 wxListBox_SetItemFont(arg1,arg2,(wxFont const &)*arg3);
8080
8081 wxPyEndAllowThreads(__tstate);
8082 if (PyErr_Occurred()) SWIG_fail;
8083 }
8084 Py_INCREF(Py_None); resultobj = Py_None;
8085 return resultobj;
8086 fail:
8087 return NULL;
8088}
8089
8090
c32bde28 8091static PyObject *_wrap_ListBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 8092 PyObject *resultobj;
093d3ff1 8093 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
d55e5bfc
RD
8094 wxVisualAttributes result;
8095 PyObject * obj0 = 0 ;
8096 char *kwnames[] = {
8097 (char *) "variant", NULL
8098 };
8099
8100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
8101 if (obj0) {
093d3ff1
RD
8102 {
8103 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
8104 if (SWIG_arg_fail(1)) SWIG_fail;
8105 }
d55e5bfc
RD
8106 }
8107 {
19272049 8108 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
8109 PyThreadState* __tstate = wxPyBeginAllowThreads();
8110 result = wxListBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
8111
8112 wxPyEndAllowThreads(__tstate);
110da5b0 8113 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
8114 }
8115 {
8116 wxVisualAttributes * resultptr;
093d3ff1 8117 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
d55e5bfc
RD
8118 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
8119 }
8120 return resultobj;
8121 fail:
8122 return NULL;
8123}
8124
8125
c32bde28 8126static PyObject * ListBox_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
8127 PyObject *obj;
8128 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8129 SWIG_TypeClientData(SWIGTYPE_p_wxListBox, obj);
8130 Py_INCREF(obj);
8131 return Py_BuildValue((char *)"");
8132}
c32bde28 8133static PyObject *_wrap_new_CheckListBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8134 PyObject *resultobj;
8135 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 8136 int arg2 = (int) -1 ;
d55e5bfc
RD
8137 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8138 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8139 wxSize const &arg4_defvalue = wxDefaultSize ;
8140 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8141 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
8142 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
8143 long arg6 = (long) 0 ;
8144 wxValidator const &arg7_defvalue = wxDefaultValidator ;
8145 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
8146 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
8147 wxString *arg8 = (wxString *) &arg8_defvalue ;
8148 wxCheckListBox *result;
8149 wxPoint temp3 ;
8150 wxSize temp4 ;
ae8162c8
RD
8151 bool temp5 = false ;
8152 bool temp8 = false ;
d55e5bfc
RD
8153 PyObject * obj0 = 0 ;
8154 PyObject * obj1 = 0 ;
8155 PyObject * obj2 = 0 ;
8156 PyObject * obj3 = 0 ;
8157 PyObject * obj4 = 0 ;
8158 PyObject * obj5 = 0 ;
8159 PyObject * obj6 = 0 ;
8160 PyObject * obj7 = 0 ;
8161 char *kwnames[] = {
8162 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8163 };
8164
248ed943 8165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
8166 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8167 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 8168 if (obj1) {
093d3ff1
RD
8169 {
8170 arg2 = (int)(SWIG_As_int(obj1));
8171 if (SWIG_arg_fail(2)) SWIG_fail;
8172 }
248ed943 8173 }
d55e5bfc
RD
8174 if (obj2) {
8175 {
8176 arg3 = &temp3;
8177 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8178 }
8179 }
8180 if (obj3) {
8181 {
8182 arg4 = &temp4;
8183 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8184 }
8185 }
8186 if (obj4) {
8187 {
8188 if (! PySequence_Check(obj4)) {
8189 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
8190 SWIG_fail;
8191 }
8192 arg5 = new wxArrayString;
ae8162c8 8193 temp5 = true;
d55e5bfc
RD
8194 int i, len=PySequence_Length(obj4);
8195 for (i=0; i<len; i++) {
8196 PyObject* item = PySequence_GetItem(obj4, i);
71237536 8197 wxString* s = wxString_in_helper(item);
d55e5bfc 8198 if (PyErr_Occurred()) SWIG_fail;
71237536
RD
8199 arg5->Add(*s);
8200 delete s;
d55e5bfc 8201 Py_DECREF(item);
d55e5bfc
RD
8202 }
8203 }
8204 }
8205 if (obj5) {
093d3ff1
RD
8206 {
8207 arg6 = (long)(SWIG_As_long(obj5));
8208 if (SWIG_arg_fail(6)) SWIG_fail;
8209 }
d55e5bfc
RD
8210 }
8211 if (obj6) {
093d3ff1
RD
8212 {
8213 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
8214 if (SWIG_arg_fail(7)) SWIG_fail;
8215 if (arg7 == NULL) {
8216 SWIG_null_ref("wxValidator");
8217 }
8218 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
8219 }
8220 }
8221 if (obj7) {
8222 {
8223 arg8 = wxString_in_helper(obj7);
8224 if (arg8 == NULL) SWIG_fail;
ae8162c8 8225 temp8 = true;
d55e5bfc
RD
8226 }
8227 }
8228 {
0439c23b 8229 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
8230 PyThreadState* __tstate = wxPyBeginAllowThreads();
8231 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
8232
8233 wxPyEndAllowThreads(__tstate);
110da5b0 8234 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
8235 }
8236 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
8237 {
8238 if (temp5) delete arg5;
8239 }
8240 {
8241 if (temp8)
8242 delete arg8;
8243 }
8244 return resultobj;
8245 fail:
8246 {
8247 if (temp5) delete arg5;
8248 }
8249 {
8250 if (temp8)
8251 delete arg8;
8252 }
8253 return NULL;
8254}
8255
8256
c32bde28 8257static PyObject *_wrap_new_PreCheckListBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8258 PyObject *resultobj;
8259 wxCheckListBox *result;
8260 char *kwnames[] = {
8261 NULL
8262 };
8263
8264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckListBox",kwnames)) goto fail;
8265 {
0439c23b 8266 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
8267 PyThreadState* __tstate = wxPyBeginAllowThreads();
8268 result = (wxCheckListBox *)new wxCheckListBox();
8269
8270 wxPyEndAllowThreads(__tstate);
110da5b0 8271 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
8272 }
8273 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
8274 return resultobj;
8275 fail:
8276 return NULL;
8277}
8278
8279
c32bde28 8280static PyObject *_wrap_CheckListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8281 PyObject *resultobj;
8282 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8283 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 8284 int arg3 = (int) -1 ;
d55e5bfc
RD
8285 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8286 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8287 wxSize const &arg5_defvalue = wxDefaultSize ;
8288 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8289 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
8290 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
8291 long arg7 = (long) 0 ;
8292 wxValidator const &arg8_defvalue = wxDefaultValidator ;
8293 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
8294 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
8295 wxString *arg9 = (wxString *) &arg9_defvalue ;
8296 bool result;
8297 wxPoint temp4 ;
8298 wxSize temp5 ;
ae8162c8
RD
8299 bool temp6 = false ;
8300 bool temp9 = false ;
d55e5bfc
RD
8301 PyObject * obj0 = 0 ;
8302 PyObject * obj1 = 0 ;
8303 PyObject * obj2 = 0 ;
8304 PyObject * obj3 = 0 ;
8305 PyObject * obj4 = 0 ;
8306 PyObject * obj5 = 0 ;
8307 PyObject * obj6 = 0 ;
8308 PyObject * obj7 = 0 ;
8309 PyObject * obj8 = 0 ;
8310 char *kwnames[] = {
8311 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8312 };
8313
248ed943 8314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
8315 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8316 if (SWIG_arg_fail(1)) SWIG_fail;
8317 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8318 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 8319 if (obj2) {
093d3ff1
RD
8320 {
8321 arg3 = (int)(SWIG_As_int(obj2));
8322 if (SWIG_arg_fail(3)) SWIG_fail;
8323 }
248ed943 8324 }
d55e5bfc
RD
8325 if (obj3) {
8326 {
8327 arg4 = &temp4;
8328 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8329 }
8330 }
8331 if (obj4) {
8332 {
8333 arg5 = &temp5;
8334 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8335 }
8336 }
8337 if (obj5) {
8338 {
8339 if (! PySequence_Check(obj5)) {
8340 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
8341 SWIG_fail;
8342 }
8343 arg6 = new wxArrayString;
ae8162c8 8344 temp6 = true;
d55e5bfc
RD
8345 int i, len=PySequence_Length(obj5);
8346 for (i=0; i<len; i++) {
8347 PyObject* item = PySequence_GetItem(obj5, i);
71237536 8348 wxString* s = wxString_in_helper(item);
d55e5bfc 8349 if (PyErr_Occurred()) SWIG_fail;
71237536
RD
8350 arg6->Add(*s);
8351 delete s;
d55e5bfc 8352 Py_DECREF(item);
d55e5bfc
RD
8353 }
8354 }
8355 }
8356 if (obj6) {
093d3ff1
RD
8357 {
8358 arg7 = (long)(SWIG_As_long(obj6));
8359 if (SWIG_arg_fail(7)) SWIG_fail;
8360 }
d55e5bfc
RD
8361 }
8362 if (obj7) {
093d3ff1
RD
8363 {
8364 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
8365 if (SWIG_arg_fail(8)) SWIG_fail;
8366 if (arg8 == NULL) {
8367 SWIG_null_ref("wxValidator");
8368 }
8369 if (SWIG_arg_fail(8)) SWIG_fail;
d55e5bfc
RD
8370 }
8371 }
8372 if (obj8) {
8373 {
8374 arg9 = wxString_in_helper(obj8);
8375 if (arg9 == NULL) SWIG_fail;
ae8162c8 8376 temp9 = true;
d55e5bfc
RD
8377 }
8378 }
8379 {
8380 PyThreadState* __tstate = wxPyBeginAllowThreads();
8381 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
8382
8383 wxPyEndAllowThreads(__tstate);
8384 if (PyErr_Occurred()) SWIG_fail;
8385 }
8386 {
8387 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8388 }
8389 {
8390 if (temp6) delete arg6;
8391 }
8392 {
8393 if (temp9)
8394 delete arg9;
8395 }
8396 return resultobj;
8397 fail:
8398 {
8399 if (temp6) delete arg6;
8400 }
8401 {
8402 if (temp9)
8403 delete arg9;
8404 }
8405 return NULL;
8406}
8407
8408
c32bde28 8409static PyObject *_wrap_CheckListBox_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8410 PyObject *resultobj;
8411 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8412 int arg2 ;
8413 bool result;
8414 PyObject * obj0 = 0 ;
8415 PyObject * obj1 = 0 ;
8416 char *kwnames[] = {
8417 (char *) "self",(char *) "index", NULL
8418 };
8419
8420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_IsChecked",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8421 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8422 if (SWIG_arg_fail(1)) SWIG_fail;
8423 {
8424 arg2 = (int)(SWIG_As_int(obj1));
8425 if (SWIG_arg_fail(2)) SWIG_fail;
8426 }
d55e5bfc
RD
8427 {
8428 PyThreadState* __tstate = wxPyBeginAllowThreads();
8429 result = (bool)(arg1)->IsChecked(arg2);
8430
8431 wxPyEndAllowThreads(__tstate);
8432 if (PyErr_Occurred()) SWIG_fail;
8433 }
8434 {
8435 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8436 }
8437 return resultobj;
8438 fail:
8439 return NULL;
8440}
8441
8442
c32bde28 8443static PyObject *_wrap_CheckListBox_Check(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8444 PyObject *resultobj;
8445 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8446 int arg2 ;
ae8162c8 8447 int arg3 = (int) true ;
d55e5bfc
RD
8448 PyObject * obj0 = 0 ;
8449 PyObject * obj1 = 0 ;
8450 PyObject * obj2 = 0 ;
8451 char *kwnames[] = {
8452 (char *) "self",(char *) "index",(char *) "check", NULL
8453 };
8454
8455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:CheckListBox_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8456 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8457 if (SWIG_arg_fail(1)) SWIG_fail;
8458 {
8459 arg2 = (int)(SWIG_As_int(obj1));
8460 if (SWIG_arg_fail(2)) SWIG_fail;
8461 }
d55e5bfc 8462 if (obj2) {
093d3ff1
RD
8463 {
8464 arg3 = (int)(SWIG_As_int(obj2));
8465 if (SWIG_arg_fail(3)) SWIG_fail;
8466 }
d55e5bfc
RD
8467 }
8468 {
8469 PyThreadState* __tstate = wxPyBeginAllowThreads();
8470 (arg1)->Check(arg2,arg3);
8471
8472 wxPyEndAllowThreads(__tstate);
8473 if (PyErr_Occurred()) SWIG_fail;
8474 }
8475 Py_INCREF(Py_None); resultobj = Py_None;
8476 return resultobj;
8477 fail:
8478 return NULL;
8479}
8480
8481
c32bde28 8482static PyObject *_wrap_CheckListBox_GetItemHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8483 PyObject *resultobj;
8484 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8485 int result;
8486 PyObject * obj0 = 0 ;
8487 char *kwnames[] = {
8488 (char *) "self", NULL
8489 };
8490
8491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckListBox_GetItemHeight",kwnames,&obj0)) goto fail;
093d3ff1
RD
8492 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8493 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8494 {
8495 PyThreadState* __tstate = wxPyBeginAllowThreads();
8496 result = (int)(arg1)->GetItemHeight();
8497
8498 wxPyEndAllowThreads(__tstate);
8499 if (PyErr_Occurred()) SWIG_fail;
8500 }
093d3ff1
RD
8501 {
8502 resultobj = SWIG_From_int((int)(result));
8503 }
d55e5bfc
RD
8504 return resultobj;
8505 fail:
8506 return NULL;
8507}
8508
8509
c32bde28 8510static PyObject *_wrap_CheckListBox_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8511 PyObject *resultobj;
8512 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8513 wxPoint *arg2 = 0 ;
8514 int result;
8515 wxPoint temp2 ;
8516 PyObject * obj0 = 0 ;
8517 PyObject * obj1 = 0 ;
8518 char *kwnames[] = {
8519 (char *) "self",(char *) "pt", NULL
8520 };
8521
8522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_HitTest",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8523 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8524 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8525 {
8526 arg2 = &temp2;
8527 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8528 }
8529 {
8530 PyThreadState* __tstate = wxPyBeginAllowThreads();
8531 result = (int)((wxCheckListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
8532
8533 wxPyEndAllowThreads(__tstate);
8534 if (PyErr_Occurred()) SWIG_fail;
8535 }
093d3ff1
RD
8536 {
8537 resultobj = SWIG_From_int((int)(result));
8538 }
d55e5bfc
RD
8539 return resultobj;
8540 fail:
8541 return NULL;
8542}
8543
8544
c32bde28 8545static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8546 PyObject *resultobj;
8547 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8548 int arg2 ;
8549 int arg3 ;
8550 int result;
8551 PyObject * obj0 = 0 ;
8552 PyObject * obj1 = 0 ;
8553 PyObject * obj2 = 0 ;
8554 char *kwnames[] = {
8555 (char *) "self",(char *) "x",(char *) "y", NULL
8556 };
8557
8558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:CheckListBox_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8559 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8560 if (SWIG_arg_fail(1)) SWIG_fail;
8561 {
8562 arg2 = (int)(SWIG_As_int(obj1));
8563 if (SWIG_arg_fail(2)) SWIG_fail;
8564 }
8565 {
8566 arg3 = (int)(SWIG_As_int(obj2));
8567 if (SWIG_arg_fail(3)) SWIG_fail;
8568 }
d55e5bfc
RD
8569 {
8570 PyThreadState* __tstate = wxPyBeginAllowThreads();
8571 result = (int)((wxCheckListBox const *)arg1)->HitTest(arg2,arg3);
8572
8573 wxPyEndAllowThreads(__tstate);
8574 if (PyErr_Occurred()) SWIG_fail;
8575 }
093d3ff1
RD
8576 {
8577 resultobj = SWIG_From_int((int)(result));
8578 }
d55e5bfc
RD
8579 return resultobj;
8580 fail:
8581 return NULL;
8582}
8583
8584
c32bde28 8585static PyObject * CheckListBox_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
8586 PyObject *obj;
8587 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8588 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox, obj);
8589 Py_INCREF(obj);
8590 return Py_BuildValue((char *)"");
8591}
c32bde28 8592static int _wrap_TextCtrlNameStr_set(PyObject *) {
d55e5bfc
RD
8593 PyErr_SetString(PyExc_TypeError,"Variable TextCtrlNameStr is read-only.");
8594 return 1;
8595}
8596
8597
093d3ff1 8598static PyObject *_wrap_TextCtrlNameStr_get(void) {
d55e5bfc
RD
8599 PyObject *pyobj;
8600
8601 {
8602#if wxUSE_UNICODE
8603 pyobj = PyUnicode_FromWideChar((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
8604#else
8605 pyobj = PyString_FromStringAndSize((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
8606#endif
8607 }
8608 return pyobj;
8609}
8610
8611
c32bde28 8612static PyObject *_wrap_new_TextAttr(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 8613 PyObject *resultobj;
908b74cd
RD
8614 wxColour const &arg1_defvalue = wxNullColour ;
8615 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
d55e5bfc
RD
8616 wxColour const &arg2_defvalue = wxNullColour ;
8617 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
8618 wxFont const &arg3_defvalue = wxNullFont ;
8619 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
093d3ff1 8620 wxTextAttrAlignment arg4 = (wxTextAttrAlignment) wxTEXT_ALIGNMENT_DEFAULT ;
d55e5bfc
RD
8621 wxTextAttr *result;
8622 wxColour temp1 ;
8623 wxColour temp2 ;
8624 PyObject * obj0 = 0 ;
8625 PyObject * obj1 = 0 ;
8626 PyObject * obj2 = 0 ;
8627 PyObject * obj3 = 0 ;
908b74cd
RD
8628 char *kwnames[] = {
8629 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
8630 };
d55e5bfc 8631
908b74cd
RD
8632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TextAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8633 if (obj0) {
8634 {
8635 arg1 = &temp1;
8636 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
8637 }
d55e5bfc
RD
8638 }
8639 if (obj1) {
8640 {
8641 arg2 = &temp2;
8642 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8643 }
8644 }
8645 if (obj2) {
093d3ff1
RD
8646 {
8647 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
8648 if (SWIG_arg_fail(3)) SWIG_fail;
8649 if (arg3 == NULL) {
8650 SWIG_null_ref("wxFont");
8651 }
8652 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
8653 }
8654 }
8655 if (obj3) {
093d3ff1
RD
8656 {
8657 arg4 = (wxTextAttrAlignment)(SWIG_As_int(obj3));
8658 if (SWIG_arg_fail(4)) SWIG_fail;
8659 }
d55e5bfc
RD
8660 }
8661 {
8662 PyThreadState* __tstate = wxPyBeginAllowThreads();
8663 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,(wxTextAttrAlignment )arg4);
8664
8665 wxPyEndAllowThreads(__tstate);
8666 if (PyErr_Occurred()) SWIG_fail;
8667 }
8668 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 1);
8669 return resultobj;
8670 fail:
8671 return NULL;
8672}
8673
8674
c32bde28 8675static PyObject *_wrap_delete_TextAttr(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8676 PyObject *resultobj;
8677 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8678 PyObject * obj0 = 0 ;
8679 char *kwnames[] = {
8680 (char *) "self", NULL
8681 };
8682
8683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TextAttr",kwnames,&obj0)) goto fail;
093d3ff1
RD
8684 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8685 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8686 {
8687 PyThreadState* __tstate = wxPyBeginAllowThreads();
8688 delete arg1;
8689
8690 wxPyEndAllowThreads(__tstate);
8691 if (PyErr_Occurred()) SWIG_fail;
8692 }
8693 Py_INCREF(Py_None); resultobj = Py_None;
8694 return resultobj;
8695 fail:
8696 return NULL;
8697}
8698
8699
c32bde28 8700static PyObject *_wrap_TextAttr_Init(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8701 PyObject *resultobj;
8702 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8703 PyObject * obj0 = 0 ;
8704 char *kwnames[] = {
8705 (char *) "self", NULL
8706 };
8707
8708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_Init",kwnames,&obj0)) goto fail;
093d3ff1
RD
8709 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8710 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8711 {
8712 PyThreadState* __tstate = wxPyBeginAllowThreads();
8713 (arg1)->Init();
8714
8715 wxPyEndAllowThreads(__tstate);
8716 if (PyErr_Occurred()) SWIG_fail;
8717 }
8718 Py_INCREF(Py_None); resultobj = Py_None;
8719 return resultobj;
8720 fail:
8721 return NULL;
8722}
8723
8724
c32bde28 8725static PyObject *_wrap_TextAttr_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8726 PyObject *resultobj;
8727 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8728 wxColour *arg2 = 0 ;
8729 wxColour temp2 ;
8730 PyObject * obj0 = 0 ;
8731 PyObject * obj1 = 0 ;
8732 char *kwnames[] = {
8733 (char *) "self",(char *) "colText", NULL
8734 };
8735
8736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8737 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8738 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8739 {
8740 arg2 = &temp2;
8741 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8742 }
8743 {
8744 PyThreadState* __tstate = wxPyBeginAllowThreads();
8745 (arg1)->SetTextColour((wxColour const &)*arg2);
8746
8747 wxPyEndAllowThreads(__tstate);
8748 if (PyErr_Occurred()) SWIG_fail;
8749 }
8750 Py_INCREF(Py_None); resultobj = Py_None;
8751 return resultobj;
8752 fail:
8753 return NULL;
8754}
8755
8756
c32bde28 8757static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8758 PyObject *resultobj;
8759 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8760 wxColour *arg2 = 0 ;
8761 wxColour temp2 ;
8762 PyObject * obj0 = 0 ;
8763 PyObject * obj1 = 0 ;
8764 char *kwnames[] = {
8765 (char *) "self",(char *) "colBack", NULL
8766 };
8767
8768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8769 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8770 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8771 {
8772 arg2 = &temp2;
8773 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8774 }
8775 {
8776 PyThreadState* __tstate = wxPyBeginAllowThreads();
8777 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
8778
8779 wxPyEndAllowThreads(__tstate);
8780 if (PyErr_Occurred()) SWIG_fail;
8781 }
8782 Py_INCREF(Py_None); resultobj = Py_None;
8783 return resultobj;
8784 fail:
8785 return NULL;
8786}
8787
8788
c32bde28 8789static PyObject *_wrap_TextAttr_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8790 PyObject *resultobj;
8791 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8792 wxFont *arg2 = 0 ;
8793 long arg3 = (long) wxTEXT_ATTR_FONT ;
8794 PyObject * obj0 = 0 ;
8795 PyObject * obj1 = 0 ;
8796 PyObject * obj2 = 0 ;
8797 char *kwnames[] = {
8798 (char *) "self",(char *) "font",(char *) "flags", NULL
8799 };
8800
8801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8802 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8803 if (SWIG_arg_fail(1)) SWIG_fail;
8804 {
8805 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
8806 if (SWIG_arg_fail(2)) SWIG_fail;
8807 if (arg2 == NULL) {
8808 SWIG_null_ref("wxFont");
8809 }
8810 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
8811 }
8812 if (obj2) {
093d3ff1
RD
8813 {
8814 arg3 = (long)(SWIG_As_long(obj2));
8815 if (SWIG_arg_fail(3)) SWIG_fail;
8816 }
d55e5bfc
RD
8817 }
8818 {
8819 PyThreadState* __tstate = wxPyBeginAllowThreads();
8820 (arg1)->SetFont((wxFont const &)*arg2,arg3);
8821
8822 wxPyEndAllowThreads(__tstate);
8823 if (PyErr_Occurred()) SWIG_fail;
8824 }
8825 Py_INCREF(Py_None); resultobj = Py_None;
8826 return resultobj;
8827 fail:
8828 return NULL;
8829}
8830
8831
c32bde28 8832static PyObject *_wrap_TextAttr_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8833 PyObject *resultobj;
8834 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
093d3ff1 8835 wxTextAttrAlignment arg2 ;
d55e5bfc
RD
8836 PyObject * obj0 = 0 ;
8837 PyObject * obj1 = 0 ;
8838 char *kwnames[] = {
8839 (char *) "self",(char *) "alignment", NULL
8840 };
8841
8842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8843 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8844 if (SWIG_arg_fail(1)) SWIG_fail;
8845 {
8846 arg2 = (wxTextAttrAlignment)(SWIG_As_int(obj1));
8847 if (SWIG_arg_fail(2)) SWIG_fail;
8848 }
d55e5bfc
RD
8849 {
8850 PyThreadState* __tstate = wxPyBeginAllowThreads();
8851 (arg1)->SetAlignment((wxTextAttrAlignment )arg2);
8852
8853 wxPyEndAllowThreads(__tstate);
8854 if (PyErr_Occurred()) SWIG_fail;
8855 }
8856 Py_INCREF(Py_None); resultobj = Py_None;
8857 return resultobj;
8858 fail:
8859 return NULL;
8860}
8861
8862
c32bde28 8863static PyObject *_wrap_TextAttr_SetTabs(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8864 PyObject *resultobj;
8865 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8866 wxArrayInt *arg2 = 0 ;
ae8162c8 8867 bool temp2 = false ;
d55e5bfc
RD
8868 PyObject * obj0 = 0 ;
8869 PyObject * obj1 = 0 ;
8870 char *kwnames[] = {
8871 (char *) "self",(char *) "tabs", NULL
8872 };
8873
8874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8875 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8876 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8877 {
8878 if (! PySequence_Check(obj1)) {
8879 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
8880 SWIG_fail;
8881 }
8882 arg2 = new wxArrayInt;
ae8162c8 8883 temp2 = true;
d55e5bfc
RD
8884 int i, len=PySequence_Length(obj1);
8885 for (i=0; i<len; i++) {
8886 PyObject* item = PySequence_GetItem(obj1, i);
8887 PyObject* number = PyNumber_Int(item);
8888 arg2->Add(PyInt_AS_LONG(number));
8889 Py_DECREF(item);
8890 Py_DECREF(number);
8891 }
8892 }
8893 {
8894 PyThreadState* __tstate = wxPyBeginAllowThreads();
8895 (arg1)->SetTabs((wxArrayInt const &)*arg2);
8896
8897 wxPyEndAllowThreads(__tstate);
8898 if (PyErr_Occurred()) SWIG_fail;
8899 }
8900 Py_INCREF(Py_None); resultobj = Py_None;
8901 {
8902 if (temp2) delete arg2;
8903 }
8904 return resultobj;
8905 fail:
8906 {
8907 if (temp2) delete arg2;
8908 }
8909 return NULL;
8910}
8911
8912
c32bde28 8913static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8914 PyObject *resultobj;
8915 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8916 int arg2 ;
a07a67e6 8917 int arg3 = (int) 0 ;
d55e5bfc
RD
8918 PyObject * obj0 = 0 ;
8919 PyObject * obj1 = 0 ;
a07a67e6 8920 PyObject * obj2 = 0 ;
d55e5bfc 8921 char *kwnames[] = {
a07a67e6 8922 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
d55e5bfc
RD
8923 };
8924
a07a67e6 8925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8926 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8927 if (SWIG_arg_fail(1)) SWIG_fail;
8928 {
8929 arg2 = (int)(SWIG_As_int(obj1));
8930 if (SWIG_arg_fail(2)) SWIG_fail;
8931 }
a07a67e6 8932 if (obj2) {
093d3ff1
RD
8933 {
8934 arg3 = (int)(SWIG_As_int(obj2));
8935 if (SWIG_arg_fail(3)) SWIG_fail;
8936 }
a07a67e6 8937 }
d55e5bfc
RD
8938 {
8939 PyThreadState* __tstate = wxPyBeginAllowThreads();
a07a67e6 8940 (arg1)->SetLeftIndent(arg2,arg3);
d55e5bfc
RD
8941
8942 wxPyEndAllowThreads(__tstate);
8943 if (PyErr_Occurred()) SWIG_fail;
8944 }
8945 Py_INCREF(Py_None); resultobj = Py_None;
8946 return resultobj;
8947 fail:
8948 return NULL;
8949}
8950
8951
c32bde28 8952static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8953 PyObject *resultobj;
8954 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8955 int arg2 ;
8956 PyObject * obj0 = 0 ;
8957 PyObject * obj1 = 0 ;
8958 char *kwnames[] = {
8959 (char *) "self",(char *) "indent", NULL
8960 };
8961
8962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetRightIndent",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8963 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8964 if (SWIG_arg_fail(1)) SWIG_fail;
8965 {
8966 arg2 = (int)(SWIG_As_int(obj1));
8967 if (SWIG_arg_fail(2)) SWIG_fail;
8968 }
d55e5bfc
RD
8969 {
8970 PyThreadState* __tstate = wxPyBeginAllowThreads();
8971 (arg1)->SetRightIndent(arg2);
8972
8973 wxPyEndAllowThreads(__tstate);
8974 if (PyErr_Occurred()) SWIG_fail;
8975 }
8976 Py_INCREF(Py_None); resultobj = Py_None;
8977 return resultobj;
8978 fail:
8979 return NULL;
8980}
8981
8982
c32bde28 8983static PyObject *_wrap_TextAttr_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8984 PyObject *resultobj;
8985 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8986 long arg2 ;
8987 PyObject * obj0 = 0 ;
8988 PyObject * obj1 = 0 ;
8989 char *kwnames[] = {
8990 (char *) "self",(char *) "flags", NULL
8991 };
8992
8993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetFlags",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8994 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8995 if (SWIG_arg_fail(1)) SWIG_fail;
8996 {
8997 arg2 = (long)(SWIG_As_long(obj1));
8998 if (SWIG_arg_fail(2)) SWIG_fail;
8999 }
d55e5bfc
RD
9000 {
9001 PyThreadState* __tstate = wxPyBeginAllowThreads();
9002 (arg1)->SetFlags(arg2);
9003
9004 wxPyEndAllowThreads(__tstate);
9005 if (PyErr_Occurred()) SWIG_fail;
9006 }
9007 Py_INCREF(Py_None); resultobj = Py_None;
9008 return resultobj;
9009 fail:
9010 return NULL;
9011}
9012
9013
c32bde28 9014static PyObject *_wrap_TextAttr_HasTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9015 PyObject *resultobj;
9016 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9017 bool result;
9018 PyObject * obj0 = 0 ;
9019 char *kwnames[] = {
9020 (char *) "self", NULL
9021 };
9022
9023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTextColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
9024 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9025 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9026 {
9027 PyThreadState* __tstate = wxPyBeginAllowThreads();
9028 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
9029
9030 wxPyEndAllowThreads(__tstate);
9031 if (PyErr_Occurred()) SWIG_fail;
9032 }
9033 {
9034 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9035 }
9036 return resultobj;
9037 fail:
9038 return NULL;
9039}
9040
9041
c32bde28 9042static PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9043 PyObject *resultobj;
9044 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9045 bool result;
9046 PyObject * obj0 = 0 ;
9047 char *kwnames[] = {
9048 (char *) "self", NULL
9049 };
9050
9051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
9052 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9053 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9054 {
9055 PyThreadState* __tstate = wxPyBeginAllowThreads();
9056 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
9057
9058 wxPyEndAllowThreads(__tstate);
9059 if (PyErr_Occurred()) SWIG_fail;
9060 }
9061 {
9062 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9063 }
9064 return resultobj;
9065 fail:
9066 return NULL;
9067}
9068
9069
c32bde28 9070static PyObject *_wrap_TextAttr_HasFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9071 PyObject *resultobj;
9072 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9073 bool result;
9074 PyObject * obj0 = 0 ;
9075 char *kwnames[] = {
9076 (char *) "self", NULL
9077 };
9078
9079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasFont",kwnames,&obj0)) goto fail;
093d3ff1
RD
9080 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9081 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9082 {
9083 PyThreadState* __tstate = wxPyBeginAllowThreads();
9084 result = (bool)((wxTextAttr const *)arg1)->HasFont();
9085
9086 wxPyEndAllowThreads(__tstate);
9087 if (PyErr_Occurred()) SWIG_fail;
9088 }
9089 {
9090 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9091 }
9092 return resultobj;
9093 fail:
9094 return NULL;
9095}
9096
9097
c32bde28 9098static PyObject *_wrap_TextAttr_HasAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9099 PyObject *resultobj;
9100 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9101 bool result;
9102 PyObject * obj0 = 0 ;
9103 char *kwnames[] = {
9104 (char *) "self", NULL
9105 };
9106
9107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasAlignment",kwnames,&obj0)) goto fail;
093d3ff1
RD
9108 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9109 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9110 {
9111 PyThreadState* __tstate = wxPyBeginAllowThreads();
9112 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
9113
9114 wxPyEndAllowThreads(__tstate);
9115 if (PyErr_Occurred()) SWIG_fail;
9116 }
9117 {
9118 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9119 }
9120 return resultobj;
9121 fail:
9122 return NULL;
9123}
9124
9125
c32bde28 9126static PyObject *_wrap_TextAttr_HasTabs(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9127 PyObject *resultobj;
9128 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9129 bool result;
9130 PyObject * obj0 = 0 ;
9131 char *kwnames[] = {
9132 (char *) "self", NULL
9133 };
9134
9135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTabs",kwnames,&obj0)) goto fail;
093d3ff1
RD
9136 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9137 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9138 {
9139 PyThreadState* __tstate = wxPyBeginAllowThreads();
9140 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
9141
9142 wxPyEndAllowThreads(__tstate);
9143 if (PyErr_Occurred()) SWIG_fail;
9144 }
9145 {
9146 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9147 }
9148 return resultobj;
9149 fail:
9150 return NULL;
9151}
9152
9153
c32bde28 9154static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9155 PyObject *resultobj;
9156 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9157 bool result;
9158 PyObject * obj0 = 0 ;
9159 char *kwnames[] = {
9160 (char *) "self", NULL
9161 };
9162
9163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasLeftIndent",kwnames,&obj0)) goto fail;
093d3ff1
RD
9164 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9165 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9166 {
9167 PyThreadState* __tstate = wxPyBeginAllowThreads();
9168 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
9169
9170 wxPyEndAllowThreads(__tstate);
9171 if (PyErr_Occurred()) SWIG_fail;
9172 }
9173 {
9174 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9175 }
9176 return resultobj;
9177 fail:
9178 return NULL;
9179}
9180
9181
c32bde28 9182static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9183 PyObject *resultobj;
9184 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9185 bool result;
9186 PyObject * obj0 = 0 ;
9187 char *kwnames[] = {
9188 (char *) "self", NULL
9189 };
9190
9191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasRightIndent",kwnames,&obj0)) goto fail;
093d3ff1
RD
9192 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9193 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9194 {
9195 PyThreadState* __tstate = wxPyBeginAllowThreads();
9196 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
9197
9198 wxPyEndAllowThreads(__tstate);
9199 if (PyErr_Occurred()) SWIG_fail;
9200 }
9201 {
9202 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9203 }
9204 return resultobj;
9205 fail:
9206 return NULL;
9207}
9208
9209
c32bde28 9210static PyObject *_wrap_TextAttr_HasFlag(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9211 PyObject *resultobj;
9212 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9213 long arg2 ;
9214 bool result;
9215 PyObject * obj0 = 0 ;
9216 PyObject * obj1 = 0 ;
9217 char *kwnames[] = {
9218 (char *) "self",(char *) "flag", NULL
9219 };
9220
9221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_HasFlag",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9222 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9223 if (SWIG_arg_fail(1)) SWIG_fail;
9224 {
9225 arg2 = (long)(SWIG_As_long(obj1));
9226 if (SWIG_arg_fail(2)) SWIG_fail;
9227 }
d55e5bfc
RD
9228 {
9229 PyThreadState* __tstate = wxPyBeginAllowThreads();
9230 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
9231
9232 wxPyEndAllowThreads(__tstate);
9233 if (PyErr_Occurred()) SWIG_fail;
9234 }
9235 {
9236 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9237 }
9238 return resultobj;
9239 fail:
9240 return NULL;
9241}
9242
9243
c32bde28 9244static PyObject *_wrap_TextAttr_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9245 PyObject *resultobj;
9246 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9247 wxColour *result;
9248 PyObject * obj0 = 0 ;
9249 char *kwnames[] = {
9250 (char *) "self", NULL
9251 };
9252
9253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTextColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
9254 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9255 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9256 {
9257 PyThreadState* __tstate = wxPyBeginAllowThreads();
9258 {
9259 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
9260 result = (wxColour *) &_result_ref;
9261 }
9262
9263 wxPyEndAllowThreads(__tstate);
9264 if (PyErr_Occurred()) SWIG_fail;
9265 }
9266 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
9267 return resultobj;
9268 fail:
9269 return NULL;
9270}
9271
9272
c32bde28 9273static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9274 PyObject *resultobj;
9275 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9276 wxColour *result;
9277 PyObject * obj0 = 0 ;
9278 char *kwnames[] = {
9279 (char *) "self", NULL
9280 };
9281
9282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
9283 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9284 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9285 {
9286 PyThreadState* __tstate = wxPyBeginAllowThreads();
9287 {
9288 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
9289 result = (wxColour *) &_result_ref;
9290 }
9291
9292 wxPyEndAllowThreads(__tstate);
9293 if (PyErr_Occurred()) SWIG_fail;
9294 }
9295 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
9296 return resultobj;
9297 fail:
9298 return NULL;
9299}
9300
9301
c32bde28 9302static PyObject *_wrap_TextAttr_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9303 PyObject *resultobj;
9304 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9305 wxFont *result;
9306 PyObject * obj0 = 0 ;
9307 char *kwnames[] = {
9308 (char *) "self", NULL
9309 };
9310
9311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFont",kwnames,&obj0)) goto fail;
093d3ff1
RD
9312 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9313 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9314 {
9315 PyThreadState* __tstate = wxPyBeginAllowThreads();
9316 {
9317 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
9318 result = (wxFont *) &_result_ref;
9319 }
9320
9321 wxPyEndAllowThreads(__tstate);
9322 if (PyErr_Occurred()) SWIG_fail;
9323 }
9324 {
9325 wxFont* resultptr = new wxFont(*result);
9326 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxFont, 1);
9327 }
9328 return resultobj;
9329 fail:
9330 return NULL;
9331}
9332
9333
c32bde28 9334static PyObject *_wrap_TextAttr_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9335 PyObject *resultobj;
9336 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
093d3ff1 9337 wxTextAttrAlignment result;
d55e5bfc
RD
9338 PyObject * obj0 = 0 ;
9339 char *kwnames[] = {
9340 (char *) "self", NULL
9341 };
9342
9343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetAlignment",kwnames,&obj0)) goto fail;
093d3ff1
RD
9344 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9345 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9346 {
9347 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 9348 result = (wxTextAttrAlignment)((wxTextAttr const *)arg1)->GetAlignment();
d55e5bfc
RD
9349
9350 wxPyEndAllowThreads(__tstate);
9351 if (PyErr_Occurred()) SWIG_fail;
9352 }
093d3ff1 9353 resultobj = SWIG_From_int((result));
d55e5bfc
RD
9354 return resultobj;
9355 fail:
9356 return NULL;
9357}
9358
9359
c32bde28 9360static PyObject *_wrap_TextAttr_GetTabs(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9361 PyObject *resultobj;
9362 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9363 wxArrayInt *result;
9364 PyObject * obj0 = 0 ;
9365 char *kwnames[] = {
9366 (char *) "self", NULL
9367 };
9368
9369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTabs",kwnames,&obj0)) goto fail;
093d3ff1
RD
9370 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9371 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9372 {
9373 PyThreadState* __tstate = wxPyBeginAllowThreads();
9374 {
9375 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
9376 result = (wxArrayInt *) &_result_ref;
9377 }
9378
9379 wxPyEndAllowThreads(__tstate);
9380 if (PyErr_Occurred()) SWIG_fail;
9381 }
9382 {
9383 resultobj = PyList_New(0);
9384 size_t idx;
9385 for (idx = 0; idx < result->GetCount(); idx += 1) {
9386 PyObject* val = PyInt_FromLong( result->Item(idx) );
9387 PyList_Append(resultobj, val);
9388 Py_DECREF(val);
9389 }
9390 }
9391 return resultobj;
9392 fail:
9393 return NULL;
9394}
9395
9396
c32bde28 9397static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9398 PyObject *resultobj;
9399 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9400 long result;
9401 PyObject * obj0 = 0 ;
9402 char *kwnames[] = {
9403 (char *) "self", NULL
9404 };
9405
9406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftIndent",kwnames,&obj0)) goto fail;
093d3ff1
RD
9407 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9408 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9409 {
9410 PyThreadState* __tstate = wxPyBeginAllowThreads();
9411 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
9412
9413 wxPyEndAllowThreads(__tstate);
9414 if (PyErr_Occurred()) SWIG_fail;
9415 }
093d3ff1
RD
9416 {
9417 resultobj = SWIG_From_long((long)(result));
9418 }
d55e5bfc
RD
9419 return resultobj;
9420 fail:
9421 return NULL;
9422}
9423
9424
c32bde28 9425static PyObject *_wrap_TextAttr_GetLeftSubIndent(PyObject *, PyObject *args, PyObject *kwargs) {
a07a67e6
RD
9426 PyObject *resultobj;
9427 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9428 long result;
9429 PyObject * obj0 = 0 ;
9430 char *kwnames[] = {
9431 (char *) "self", NULL
9432 };
9433
9434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftSubIndent",kwnames,&obj0)) goto fail;
093d3ff1
RD
9435 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9436 if (SWIG_arg_fail(1)) SWIG_fail;
a07a67e6
RD
9437 {
9438 PyThreadState* __tstate = wxPyBeginAllowThreads();
9439 result = (long)((wxTextAttr const *)arg1)->GetLeftSubIndent();
9440
9441 wxPyEndAllowThreads(__tstate);
9442 if (PyErr_Occurred()) SWIG_fail;
9443 }
093d3ff1
RD
9444 {
9445 resultobj = SWIG_From_long((long)(result));
9446 }
a07a67e6
RD
9447 return resultobj;
9448 fail:
9449 return NULL;
9450}
9451
9452
c32bde28 9453static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9454 PyObject *resultobj;
9455 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9456 long result;
9457 PyObject * obj0 = 0 ;
9458 char *kwnames[] = {
9459 (char *) "self", NULL
9460 };
9461
9462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetRightIndent",kwnames,&obj0)) goto fail;
093d3ff1
RD
9463 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9464 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9465 {
9466 PyThreadState* __tstate = wxPyBeginAllowThreads();
9467 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
9468
9469 wxPyEndAllowThreads(__tstate);
9470 if (PyErr_Occurred()) SWIG_fail;
9471 }
093d3ff1
RD
9472 {
9473 resultobj = SWIG_From_long((long)(result));
9474 }
d55e5bfc
RD
9475 return resultobj;
9476 fail:
9477 return NULL;
9478}
9479
9480
c32bde28 9481static PyObject *_wrap_TextAttr_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9482 PyObject *resultobj;
9483 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9484 long result;
9485 PyObject * obj0 = 0 ;
9486 char *kwnames[] = {
9487 (char *) "self", NULL
9488 };
9489
9490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFlags",kwnames,&obj0)) goto fail;
093d3ff1
RD
9491 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9492 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9493 {
9494 PyThreadState* __tstate = wxPyBeginAllowThreads();
9495 result = (long)((wxTextAttr const *)arg1)->GetFlags();
9496
9497 wxPyEndAllowThreads(__tstate);
9498 if (PyErr_Occurred()) SWIG_fail;
9499 }
093d3ff1
RD
9500 {
9501 resultobj = SWIG_From_long((long)(result));
9502 }
d55e5bfc
RD
9503 return resultobj;
9504 fail:
9505 return NULL;
9506}
9507
9508
c32bde28 9509static PyObject *_wrap_TextAttr_IsDefault(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9510 PyObject *resultobj;
9511 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9512 bool result;
9513 PyObject * obj0 = 0 ;
9514 char *kwnames[] = {
9515 (char *) "self", NULL
9516 };
9517
9518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_IsDefault",kwnames,&obj0)) goto fail;
093d3ff1
RD
9519 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9520 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9521 {
9522 PyThreadState* __tstate = wxPyBeginAllowThreads();
9523 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
9524
9525 wxPyEndAllowThreads(__tstate);
9526 if (PyErr_Occurred()) SWIG_fail;
9527 }
9528 {
9529 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9530 }
9531 return resultobj;
9532 fail:
9533 return NULL;
9534}
9535
9536
c32bde28 9537static PyObject *_wrap_TextAttr_Combine(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9538 PyObject *resultobj;
9539 wxTextAttr *arg1 = 0 ;
9540 wxTextAttr *arg2 = 0 ;
9541 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
9542 wxTextAttr result;
9543 PyObject * obj0 = 0 ;
9544 PyObject * obj1 = 0 ;
9545 PyObject * obj2 = 0 ;
9546 char *kwnames[] = {
9547 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
9548 };
9549
9550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
9551 {
9552 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9553 if (SWIG_arg_fail(1)) SWIG_fail;
9554 if (arg1 == NULL) {
9555 SWIG_null_ref("wxTextAttr");
9556 }
9557 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 9558 }
093d3ff1
RD
9559 {
9560 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9561 if (SWIG_arg_fail(2)) SWIG_fail;
9562 if (arg2 == NULL) {
9563 SWIG_null_ref("wxTextAttr");
9564 }
9565 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 9566 }
093d3ff1
RD
9567 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9568 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
9569 {
9570 PyThreadState* __tstate = wxPyBeginAllowThreads();
9571 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
9572
9573 wxPyEndAllowThreads(__tstate);
9574 if (PyErr_Occurred()) SWIG_fail;
9575 }
9576 {
9577 wxTextAttr * resultptr;
093d3ff1 9578 resultptr = new wxTextAttr((wxTextAttr &)(result));
d55e5bfc
RD
9579 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTextAttr, 1);
9580 }
9581 return resultobj;
9582 fail:
9583 return NULL;
9584}
9585
9586
c32bde28 9587static PyObject * TextAttr_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
9588 PyObject *obj;
9589 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9590 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr, obj);
9591 Py_INCREF(obj);
9592 return Py_BuildValue((char *)"");
9593}
c32bde28 9594static PyObject *_wrap_new_TextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9595 PyObject *resultobj;
9596 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 9597 int arg2 = (int) -1 ;
d55e5bfc
RD
9598 wxString const &arg3_defvalue = wxPyEmptyString ;
9599 wxString *arg3 = (wxString *) &arg3_defvalue ;
9600 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9601 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9602 wxSize const &arg5_defvalue = wxDefaultSize ;
9603 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9604 long arg6 = (long) 0 ;
9605 wxValidator const &arg7_defvalue = wxDefaultValidator ;
9606 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
9607 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
9608 wxString *arg8 = (wxString *) &arg8_defvalue ;
9609 wxTextCtrl *result;
ae8162c8 9610 bool temp3 = false ;
d55e5bfc
RD
9611 wxPoint temp4 ;
9612 wxSize temp5 ;
ae8162c8 9613 bool temp8 = false ;
d55e5bfc
RD
9614 PyObject * obj0 = 0 ;
9615 PyObject * obj1 = 0 ;
9616 PyObject * obj2 = 0 ;
9617 PyObject * obj3 = 0 ;
9618 PyObject * obj4 = 0 ;
9619 PyObject * obj5 = 0 ;
9620 PyObject * obj6 = 0 ;
9621 PyObject * obj7 = 0 ;
9622 char *kwnames[] = {
9623 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9624 };
9625
248ed943 9626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_TextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
9627 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
9628 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 9629 if (obj1) {
093d3ff1
RD
9630 {
9631 arg2 = (int)(SWIG_As_int(obj1));
9632 if (SWIG_arg_fail(2)) SWIG_fail;
9633 }
248ed943 9634 }
d55e5bfc
RD
9635 if (obj2) {
9636 {
9637 arg3 = wxString_in_helper(obj2);
9638 if (arg3 == NULL) SWIG_fail;
ae8162c8 9639 temp3 = true;
d55e5bfc
RD
9640 }
9641 }
9642 if (obj3) {
9643 {
9644 arg4 = &temp4;
9645 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9646 }
9647 }
9648 if (obj4) {
9649 {
9650 arg5 = &temp5;
9651 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9652 }
9653 }
9654 if (obj5) {
093d3ff1
RD
9655 {
9656 arg6 = (long)(SWIG_As_long(obj5));
9657 if (SWIG_arg_fail(6)) SWIG_fail;
9658 }
d55e5bfc
RD
9659 }
9660 if (obj6) {
093d3ff1
RD
9661 {
9662 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
9663 if (SWIG_arg_fail(7)) SWIG_fail;
9664 if (arg7 == NULL) {
9665 SWIG_null_ref("wxValidator");
9666 }
9667 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
9668 }
9669 }
9670 if (obj7) {
9671 {
9672 arg8 = wxString_in_helper(obj7);
9673 if (arg8 == NULL) SWIG_fail;
ae8162c8 9674 temp8 = true;
d55e5bfc
RD
9675 }
9676 }
9677 {
0439c23b 9678 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
9679 PyThreadState* __tstate = wxPyBeginAllowThreads();
9680 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
9681
9682 wxPyEndAllowThreads(__tstate);
110da5b0 9683 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 9684 }
b0f7404b 9685 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextCtrl, 1);
d55e5bfc
RD
9686 {
9687 if (temp3)
9688 delete arg3;
9689 }
9690 {
9691 if (temp8)
9692 delete arg8;
9693 }
9694 return resultobj;
9695 fail:
9696 {
9697 if (temp3)
9698 delete arg3;
9699 }
9700 {
9701 if (temp8)
9702 delete arg8;
9703 }
9704 return NULL;
9705}
9706
9707
c32bde28 9708static PyObject *_wrap_new_PreTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9709 PyObject *resultobj;
9710 wxTextCtrl *result;
9711 char *kwnames[] = {
9712 NULL
9713 };
9714
9715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTextCtrl",kwnames)) goto fail;
9716 {
0439c23b 9717 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
9718 PyThreadState* __tstate = wxPyBeginAllowThreads();
9719 result = (wxTextCtrl *)new wxTextCtrl();
9720
9721 wxPyEndAllowThreads(__tstate);
110da5b0 9722 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 9723 }
b0f7404b 9724 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextCtrl, 1);
d55e5bfc
RD
9725 return resultobj;
9726 fail:
9727 return NULL;
9728}
9729
9730
c32bde28 9731static PyObject *_wrap_TextCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9732 PyObject *resultobj;
9733 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9734 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 9735 int arg3 = (int) -1 ;
d55e5bfc
RD
9736 wxString const &arg4_defvalue = wxPyEmptyString ;
9737 wxString *arg4 = (wxString *) &arg4_defvalue ;
9738 wxPoint const &arg5_defvalue = wxDefaultPosition ;
9739 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
9740 wxSize const &arg6_defvalue = wxDefaultSize ;
9741 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
9742 long arg7 = (long) 0 ;
9743 wxValidator const &arg8_defvalue = wxDefaultValidator ;
9744 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
9745 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
9746 wxString *arg9 = (wxString *) &arg9_defvalue ;
9747 bool result;
ae8162c8 9748 bool temp4 = false ;
d55e5bfc
RD
9749 wxPoint temp5 ;
9750 wxSize temp6 ;
ae8162c8 9751 bool temp9 = false ;
d55e5bfc
RD
9752 PyObject * obj0 = 0 ;
9753 PyObject * obj1 = 0 ;
9754 PyObject * obj2 = 0 ;
9755 PyObject * obj3 = 0 ;
9756 PyObject * obj4 = 0 ;
9757 PyObject * obj5 = 0 ;
9758 PyObject * obj6 = 0 ;
9759 PyObject * obj7 = 0 ;
9760 PyObject * obj8 = 0 ;
9761 char *kwnames[] = {
9762 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9763 };
9764
248ed943 9765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
9766 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9767 if (SWIG_arg_fail(1)) SWIG_fail;
9768 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
9769 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 9770 if (obj2) {
093d3ff1
RD
9771 {
9772 arg3 = (int)(SWIG_As_int(obj2));
9773 if (SWIG_arg_fail(3)) SWIG_fail;
9774 }
248ed943 9775 }
d55e5bfc
RD
9776 if (obj3) {
9777 {
9778 arg4 = wxString_in_helper(obj3);
9779 if (arg4 == NULL) SWIG_fail;
ae8162c8 9780 temp4 = true;
d55e5bfc
RD
9781 }
9782 }
9783 if (obj4) {
9784 {
9785 arg5 = &temp5;
9786 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
9787 }
9788 }
9789 if (obj5) {
9790 {
9791 arg6 = &temp6;
9792 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
9793 }
9794 }
9795 if (obj6) {
093d3ff1
RD
9796 {
9797 arg7 = (long)(SWIG_As_long(obj6));
9798 if (SWIG_arg_fail(7)) SWIG_fail;
9799 }
d55e5bfc
RD
9800 }
9801 if (obj7) {
093d3ff1
RD
9802 {
9803 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
9804 if (SWIG_arg_fail(8)) SWIG_fail;
9805 if (arg8 == NULL) {
9806 SWIG_null_ref("wxValidator");
9807 }
9808 if (SWIG_arg_fail(8)) SWIG_fail;
d55e5bfc
RD
9809 }
9810 }
9811 if (obj8) {
9812 {
9813 arg9 = wxString_in_helper(obj8);
9814 if (arg9 == NULL) SWIG_fail;
ae8162c8 9815 temp9 = true;
d55e5bfc
RD
9816 }
9817 }
9818 {
9819 PyThreadState* __tstate = wxPyBeginAllowThreads();
9820 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
9821
9822 wxPyEndAllowThreads(__tstate);
9823 if (PyErr_Occurred()) SWIG_fail;
9824 }
9825 {
9826 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9827 }
9828 {
9829 if (temp4)
9830 delete arg4;
9831 }
9832 {
9833 if (temp9)
9834 delete arg9;
9835 }
9836 return resultobj;
9837 fail:
9838 {
9839 if (temp4)
9840 delete arg4;
9841 }
9842 {
9843 if (temp9)
9844 delete arg9;
9845 }
9846 return NULL;
9847}
9848
9849
c32bde28 9850static PyObject *_wrap_TextCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9851 PyObject *resultobj;
9852 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9853 wxString result;
9854 PyObject * obj0 = 0 ;
9855 char *kwnames[] = {
9856 (char *) "self", NULL
9857 };
9858
9859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
9860 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9861 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9862 {
9863 PyThreadState* __tstate = wxPyBeginAllowThreads();
9864 result = ((wxTextCtrl const *)arg1)->GetValue();
9865
9866 wxPyEndAllowThreads(__tstate);
9867 if (PyErr_Occurred()) SWIG_fail;
9868 }
9869 {
9870#if wxUSE_UNICODE
9871 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9872#else
9873 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9874#endif
9875 }
9876 return resultobj;
9877 fail:
9878 return NULL;
9879}
9880
9881
c32bde28 9882static PyObject *_wrap_TextCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9883 PyObject *resultobj;
9884 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9885 wxString *arg2 = 0 ;
ae8162c8 9886 bool temp2 = false ;
d55e5bfc
RD
9887 PyObject * obj0 = 0 ;
9888 PyObject * obj1 = 0 ;
9889 char *kwnames[] = {
9890 (char *) "self",(char *) "value", NULL
9891 };
9892
9893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9894 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9895 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9896 {
9897 arg2 = wxString_in_helper(obj1);
9898 if (arg2 == NULL) SWIG_fail;
ae8162c8 9899 temp2 = true;
d55e5bfc
RD
9900 }
9901 {
9902 PyThreadState* __tstate = wxPyBeginAllowThreads();
9903 (arg1)->SetValue((wxString const &)*arg2);
9904
9905 wxPyEndAllowThreads(__tstate);
9906 if (PyErr_Occurred()) SWIG_fail;
9907 }
9908 Py_INCREF(Py_None); resultobj = Py_None;
9909 {
9910 if (temp2)
9911 delete arg2;
9912 }
9913 return resultobj;
9914 fail:
9915 {
9916 if (temp2)
9917 delete arg2;
9918 }
9919 return NULL;
9920}
9921
9922
c32bde28 9923static PyObject *_wrap_TextCtrl_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9924 PyObject *resultobj;
9925 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9926 long arg2 ;
9927 long arg3 ;
9928 wxString result;
9929 PyObject * obj0 = 0 ;
9930 PyObject * obj1 = 0 ;
9931 PyObject * obj2 = 0 ;
9932 char *kwnames[] = {
9933 (char *) "self",(char *) "from",(char *) "to", NULL
9934 };
9935
9936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
9937 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9938 if (SWIG_arg_fail(1)) SWIG_fail;
9939 {
9940 arg2 = (long)(SWIG_As_long(obj1));
9941 if (SWIG_arg_fail(2)) SWIG_fail;
9942 }
9943 {
9944 arg3 = (long)(SWIG_As_long(obj2));
9945 if (SWIG_arg_fail(3)) SWIG_fail;
9946 }
d55e5bfc
RD
9947 {
9948 PyThreadState* __tstate = wxPyBeginAllowThreads();
9949 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
9950
9951 wxPyEndAllowThreads(__tstate);
9952 if (PyErr_Occurred()) SWIG_fail;
9953 }
9954 {
9955#if wxUSE_UNICODE
9956 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9957#else
9958 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9959#endif
9960 }
9961 return resultobj;
9962 fail:
9963 return NULL;
9964}
9965
9966
c32bde28 9967static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9968 PyObject *resultobj;
9969 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9970 long arg2 ;
9971 int result;
9972 PyObject * obj0 = 0 ;
9973 PyObject * obj1 = 0 ;
9974 char *kwnames[] = {
9975 (char *) "self",(char *) "lineNo", NULL
9976 };
9977
9978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineLength",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9979 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9980 if (SWIG_arg_fail(1)) SWIG_fail;
9981 {
9982 arg2 = (long)(SWIG_As_long(obj1));
9983 if (SWIG_arg_fail(2)) SWIG_fail;
9984 }
d55e5bfc
RD
9985 {
9986 PyThreadState* __tstate = wxPyBeginAllowThreads();
9987 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
9988
9989 wxPyEndAllowThreads(__tstate);
9990 if (PyErr_Occurred()) SWIG_fail;
9991 }
093d3ff1
RD
9992 {
9993 resultobj = SWIG_From_int((int)(result));
9994 }
d55e5bfc
RD
9995 return resultobj;
9996 fail:
9997 return NULL;
9998}
9999
10000
c32bde28 10001static PyObject *_wrap_TextCtrl_GetLineText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10002 PyObject *resultobj;
10003 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10004 long arg2 ;
10005 wxString result;
10006 PyObject * obj0 = 0 ;
10007 PyObject * obj1 = 0 ;
10008 char *kwnames[] = {
10009 (char *) "self",(char *) "lineNo", NULL
10010 };
10011
10012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10013 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10014 if (SWIG_arg_fail(1)) SWIG_fail;
10015 {
10016 arg2 = (long)(SWIG_As_long(obj1));
10017 if (SWIG_arg_fail(2)) SWIG_fail;
10018 }
d55e5bfc
RD
10019 {
10020 PyThreadState* __tstate = wxPyBeginAllowThreads();
10021 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
10022
10023 wxPyEndAllowThreads(__tstate);
10024 if (PyErr_Occurred()) SWIG_fail;
10025 }
10026 {
10027#if wxUSE_UNICODE
10028 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10029#else
10030 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10031#endif
10032 }
10033 return resultobj;
10034 fail:
10035 return NULL;
10036}
10037
10038
c32bde28 10039static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10040 PyObject *resultobj;
10041 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10042 int result;
10043 PyObject * obj0 = 0 ;
10044 char *kwnames[] = {
10045 (char *) "self", NULL
10046 };
10047
10048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetNumberOfLines",kwnames,&obj0)) goto fail;
093d3ff1
RD
10049 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10050 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10051 {
10052 PyThreadState* __tstate = wxPyBeginAllowThreads();
10053 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
10054
10055 wxPyEndAllowThreads(__tstate);
10056 if (PyErr_Occurred()) SWIG_fail;
10057 }
093d3ff1
RD
10058 {
10059 resultobj = SWIG_From_int((int)(result));
10060 }
d55e5bfc
RD
10061 return resultobj;
10062 fail:
10063 return NULL;
10064}
10065
10066
c32bde28 10067static PyObject *_wrap_TextCtrl_IsModified(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10068 PyObject *resultobj;
10069 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10070 bool result;
10071 PyObject * obj0 = 0 ;
10072 char *kwnames[] = {
10073 (char *) "self", NULL
10074 };
10075
10076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsModified",kwnames,&obj0)) goto fail;
093d3ff1
RD
10077 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10078 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10079 {
10080 PyThreadState* __tstate = wxPyBeginAllowThreads();
10081 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
10082
10083 wxPyEndAllowThreads(__tstate);
10084 if (PyErr_Occurred()) SWIG_fail;
10085 }
10086 {
10087 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10088 }
10089 return resultobj;
10090 fail:
10091 return NULL;
10092}
10093
10094
c32bde28 10095static PyObject *_wrap_TextCtrl_IsEditable(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10096 PyObject *resultobj;
10097 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10098 bool result;
10099 PyObject * obj0 = 0 ;
10100 char *kwnames[] = {
10101 (char *) "self", NULL
10102 };
10103
10104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsEditable",kwnames,&obj0)) goto fail;
093d3ff1
RD
10105 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10106 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10107 {
10108 PyThreadState* __tstate = wxPyBeginAllowThreads();
10109 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
10110
10111 wxPyEndAllowThreads(__tstate);
10112 if (PyErr_Occurred()) SWIG_fail;
10113 }
10114 {
10115 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10116 }
10117 return resultobj;
10118 fail:
10119 return NULL;
10120}
10121
10122
c32bde28 10123static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10124 PyObject *resultobj;
10125 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10126 bool result;
10127 PyObject * obj0 = 0 ;
10128 char *kwnames[] = {
10129 (char *) "self", NULL
10130 };
10131
10132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsSingleLine",kwnames,&obj0)) goto fail;
093d3ff1
RD
10133 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10134 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10135 {
10136 PyThreadState* __tstate = wxPyBeginAllowThreads();
10137 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
10138
10139 wxPyEndAllowThreads(__tstate);
10140 if (PyErr_Occurred()) SWIG_fail;
10141 }
10142 {
10143 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10144 }
10145 return resultobj;
10146 fail:
10147 return NULL;
10148}
10149
10150
c32bde28 10151static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10152 PyObject *resultobj;
10153 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10154 bool result;
10155 PyObject * obj0 = 0 ;
10156 char *kwnames[] = {
10157 (char *) "self", NULL
10158 };
10159
10160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsMultiLine",kwnames,&obj0)) goto fail;
093d3ff1
RD
10161 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10162 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10163 {
10164 PyThreadState* __tstate = wxPyBeginAllowThreads();
10165 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
10166
10167 wxPyEndAllowThreads(__tstate);
10168 if (PyErr_Occurred()) SWIG_fail;
10169 }
10170 {
10171 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10172 }
10173 return resultobj;
10174 fail:
10175 return NULL;
10176}
10177
10178
c32bde28 10179static PyObject *_wrap_TextCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10180 PyObject *resultobj;
10181 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10182 long *arg2 = (long *) 0 ;
10183 long *arg3 = (long *) 0 ;
10184 long temp2 ;
c32bde28 10185 int res2 = 0 ;
d55e5bfc 10186 long temp3 ;
c32bde28 10187 int res3 = 0 ;
d55e5bfc
RD
10188 PyObject * obj0 = 0 ;
10189 char *kwnames[] = {
10190 (char *) "self", NULL
10191 };
10192
c32bde28
RD
10193 arg2 = &temp2; res2 = SWIG_NEWOBJ;
10194 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 10195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
10196 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10197 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10198 {
10199 PyThreadState* __tstate = wxPyBeginAllowThreads();
10200 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
10201
10202 wxPyEndAllowThreads(__tstate);
10203 if (PyErr_Occurred()) SWIG_fail;
10204 }
10205 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
10206 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
10207 SWIG_From_long((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, 0)));
10208 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
10209 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
d55e5bfc
RD
10210 return resultobj;
10211 fail:
10212 return NULL;
10213}
10214
10215
c32bde28 10216static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10217 PyObject *resultobj;
10218 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10219 wxString result;
10220 PyObject * obj0 = 0 ;
10221 char *kwnames[] = {
10222 (char *) "self", NULL
10223 };
10224
10225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetStringSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
10226 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10227 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10228 {
10229 PyThreadState* __tstate = wxPyBeginAllowThreads();
10230 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
10231
10232 wxPyEndAllowThreads(__tstate);
10233 if (PyErr_Occurred()) SWIG_fail;
10234 }
10235 {
10236#if wxUSE_UNICODE
10237 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10238#else
10239 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10240#endif
10241 }
10242 return resultobj;
10243 fail:
10244 return NULL;
10245}
10246
10247
c32bde28 10248static PyObject *_wrap_TextCtrl_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10249 PyObject *resultobj;
10250 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10251 PyObject * obj0 = 0 ;
10252 char *kwnames[] = {
10253 (char *) "self", NULL
10254 };
10255
10256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Clear",kwnames,&obj0)) goto fail;
093d3ff1
RD
10257 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10258 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10259 {
10260 PyThreadState* __tstate = wxPyBeginAllowThreads();
10261 (arg1)->Clear();
10262
10263 wxPyEndAllowThreads(__tstate);
10264 if (PyErr_Occurred()) SWIG_fail;
10265 }
10266 Py_INCREF(Py_None); resultobj = Py_None;
10267 return resultobj;
10268 fail:
10269 return NULL;
10270}
10271
10272
c32bde28 10273static PyObject *_wrap_TextCtrl_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10274 PyObject *resultobj;
10275 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10276 long arg2 ;
10277 long arg3 ;
10278 wxString *arg4 = 0 ;
ae8162c8 10279 bool temp4 = false ;
d55e5bfc
RD
10280 PyObject * obj0 = 0 ;
10281 PyObject * obj1 = 0 ;
10282 PyObject * obj2 = 0 ;
10283 PyObject * obj3 = 0 ;
10284 char *kwnames[] = {
10285 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
10286 };
10287
10288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
10289 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10290 if (SWIG_arg_fail(1)) SWIG_fail;
10291 {
10292 arg2 = (long)(SWIG_As_long(obj1));
10293 if (SWIG_arg_fail(2)) SWIG_fail;
10294 }
10295 {
10296 arg3 = (long)(SWIG_As_long(obj2));
10297 if (SWIG_arg_fail(3)) SWIG_fail;
10298 }
d55e5bfc
RD
10299 {
10300 arg4 = wxString_in_helper(obj3);
10301 if (arg4 == NULL) SWIG_fail;
ae8162c8 10302 temp4 = true;
d55e5bfc
RD
10303 }
10304 {
10305 PyThreadState* __tstate = wxPyBeginAllowThreads();
10306 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
10307
10308 wxPyEndAllowThreads(__tstate);
10309 if (PyErr_Occurred()) SWIG_fail;
10310 }
10311 Py_INCREF(Py_None); resultobj = Py_None;
10312 {
10313 if (temp4)
10314 delete arg4;
10315 }
10316 return resultobj;
10317 fail:
10318 {
10319 if (temp4)
10320 delete arg4;
10321 }
10322 return NULL;
10323}
10324
10325
c32bde28 10326static PyObject *_wrap_TextCtrl_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10327 PyObject *resultobj;
10328 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10329 long arg2 ;
10330 long arg3 ;
10331 PyObject * obj0 = 0 ;
10332 PyObject * obj1 = 0 ;
10333 PyObject * obj2 = 0 ;
10334 char *kwnames[] = {
10335 (char *) "self",(char *) "from",(char *) "to", NULL
10336 };
10337
10338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10339 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10340 if (SWIG_arg_fail(1)) SWIG_fail;
10341 {
10342 arg2 = (long)(SWIG_As_long(obj1));
10343 if (SWIG_arg_fail(2)) SWIG_fail;
10344 }
10345 {
10346 arg3 = (long)(SWIG_As_long(obj2));
10347 if (SWIG_arg_fail(3)) SWIG_fail;
10348 }
d55e5bfc
RD
10349 {
10350 PyThreadState* __tstate = wxPyBeginAllowThreads();
10351 (arg1)->Remove(arg2,arg3);
10352
10353 wxPyEndAllowThreads(__tstate);
10354 if (PyErr_Occurred()) SWIG_fail;
10355 }
10356 Py_INCREF(Py_None); resultobj = Py_None;
10357 return resultobj;
10358 fail:
10359 return NULL;
10360}
10361
10362
c32bde28 10363static PyObject *_wrap_TextCtrl_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10364 PyObject *resultobj;
10365 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10366 wxString *arg2 = 0 ;
10367 bool result;
ae8162c8 10368 bool temp2 = false ;
d55e5bfc
RD
10369 PyObject * obj0 = 0 ;
10370 PyObject * obj1 = 0 ;
10371 char *kwnames[] = {
10372 (char *) "self",(char *) "file", NULL
10373 };
10374
10375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10376 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10377 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10378 {
10379 arg2 = wxString_in_helper(obj1);
10380 if (arg2 == NULL) SWIG_fail;
ae8162c8 10381 temp2 = true;
d55e5bfc
RD
10382 }
10383 {
10384 PyThreadState* __tstate = wxPyBeginAllowThreads();
10385 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
10386
10387 wxPyEndAllowThreads(__tstate);
10388 if (PyErr_Occurred()) SWIG_fail;
10389 }
10390 {
10391 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10392 }
10393 {
10394 if (temp2)
10395 delete arg2;
10396 }
10397 return resultobj;
10398 fail:
10399 {
10400 if (temp2)
10401 delete arg2;
10402 }
10403 return NULL;
10404}
10405
10406
c32bde28 10407static PyObject *_wrap_TextCtrl_SaveFile(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10408 PyObject *resultobj;
10409 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10410 wxString const &arg2_defvalue = wxPyEmptyString ;
10411 wxString *arg2 = (wxString *) &arg2_defvalue ;
10412 bool result;
ae8162c8 10413 bool temp2 = false ;
d55e5bfc
RD
10414 PyObject * obj0 = 0 ;
10415 PyObject * obj1 = 0 ;
10416 char *kwnames[] = {
10417 (char *) "self",(char *) "file", NULL
10418 };
10419
10420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10421 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10422 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10423 if (obj1) {
10424 {
10425 arg2 = wxString_in_helper(obj1);
10426 if (arg2 == NULL) SWIG_fail;
ae8162c8 10427 temp2 = true;
d55e5bfc
RD
10428 }
10429 }
10430 {
10431 PyThreadState* __tstate = wxPyBeginAllowThreads();
10432 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
10433
10434 wxPyEndAllowThreads(__tstate);
10435 if (PyErr_Occurred()) SWIG_fail;
10436 }
10437 {
10438 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10439 }
10440 {
10441 if (temp2)
10442 delete arg2;
10443 }
10444 return resultobj;
10445 fail:
10446 {
10447 if (temp2)
10448 delete arg2;
10449 }
10450 return NULL;
10451}
10452
10453
c32bde28 10454static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10455 PyObject *resultobj;
10456 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10457 PyObject * obj0 = 0 ;
10458 char *kwnames[] = {
10459 (char *) "self", NULL
10460 };
10461
10462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_MarkDirty",kwnames,&obj0)) goto fail;
093d3ff1
RD
10463 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10464 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10465 {
10466 PyThreadState* __tstate = wxPyBeginAllowThreads();
10467 (arg1)->MarkDirty();
10468
10469 wxPyEndAllowThreads(__tstate);
10470 if (PyErr_Occurred()) SWIG_fail;
10471 }
10472 Py_INCREF(Py_None); resultobj = Py_None;
10473 return resultobj;
10474 fail:
10475 return NULL;
10476}
10477
10478
c32bde28 10479static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10480 PyObject *resultobj;
10481 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10482 PyObject * obj0 = 0 ;
10483 char *kwnames[] = {
10484 (char *) "self", NULL
10485 };
10486
10487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_DiscardEdits",kwnames,&obj0)) goto fail;
093d3ff1
RD
10488 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10489 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10490 {
10491 PyThreadState* __tstate = wxPyBeginAllowThreads();
10492 (arg1)->DiscardEdits();
10493
10494 wxPyEndAllowThreads(__tstate);
10495 if (PyErr_Occurred()) SWIG_fail;
10496 }
10497 Py_INCREF(Py_None); resultobj = Py_None;
10498 return resultobj;
10499 fail:
10500 return NULL;
10501}
10502
10503
c32bde28 10504static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10505 PyObject *resultobj;
10506 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10507 unsigned long arg2 ;
10508 PyObject * obj0 = 0 ;
10509 PyObject * obj1 = 0 ;
10510 char *kwnames[] = {
10511 (char *) "self",(char *) "len", NULL
10512 };
10513
10514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) 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;
10517 {
10518 arg2 = (unsigned long)(SWIG_As_unsigned_SS_long(obj1));
10519 if (SWIG_arg_fail(2)) SWIG_fail;
10520 }
d55e5bfc
RD
10521 {
10522 PyThreadState* __tstate = wxPyBeginAllowThreads();
10523 (arg1)->SetMaxLength(arg2);
10524
10525 wxPyEndAllowThreads(__tstate);
10526 if (PyErr_Occurred()) SWIG_fail;
10527 }
10528 Py_INCREF(Py_None); resultobj = Py_None;
10529 return resultobj;
10530 fail:
10531 return NULL;
10532}
10533
10534
c32bde28 10535static PyObject *_wrap_TextCtrl_WriteText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10536 PyObject *resultobj;
10537 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10538 wxString *arg2 = 0 ;
ae8162c8 10539 bool temp2 = false ;
d55e5bfc
RD
10540 PyObject * obj0 = 0 ;
10541 PyObject * obj1 = 0 ;
10542 char *kwnames[] = {
10543 (char *) "self",(char *) "text", NULL
10544 };
10545
10546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10547 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10548 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10549 {
10550 arg2 = wxString_in_helper(obj1);
10551 if (arg2 == NULL) SWIG_fail;
ae8162c8 10552 temp2 = true;
d55e5bfc
RD
10553 }
10554 {
10555 PyThreadState* __tstate = wxPyBeginAllowThreads();
10556 (arg1)->WriteText((wxString const &)*arg2);
10557
10558 wxPyEndAllowThreads(__tstate);
10559 if (PyErr_Occurred()) SWIG_fail;
10560 }
10561 Py_INCREF(Py_None); resultobj = Py_None;
10562 {
10563 if (temp2)
10564 delete arg2;
10565 }
10566 return resultobj;
10567 fail:
10568 {
10569 if (temp2)
10570 delete arg2;
10571 }
10572 return NULL;
10573}
10574
10575
c32bde28 10576static PyObject *_wrap_TextCtrl_AppendText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10577 PyObject *resultobj;
10578 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10579 wxString *arg2 = 0 ;
ae8162c8 10580 bool temp2 = false ;
d55e5bfc
RD
10581 PyObject * obj0 = 0 ;
10582 PyObject * obj1 = 0 ;
10583 char *kwnames[] = {
10584 (char *) "self",(char *) "text", NULL
10585 };
10586
10587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10588 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10589 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10590 {
10591 arg2 = wxString_in_helper(obj1);
10592 if (arg2 == NULL) SWIG_fail;
ae8162c8 10593 temp2 = true;
d55e5bfc
RD
10594 }
10595 {
10596 PyThreadState* __tstate = wxPyBeginAllowThreads();
10597 (arg1)->AppendText((wxString const &)*arg2);
10598
10599 wxPyEndAllowThreads(__tstate);
10600 if (PyErr_Occurred()) SWIG_fail;
10601 }
10602 Py_INCREF(Py_None); resultobj = Py_None;
10603 {
10604 if (temp2)
10605 delete arg2;
10606 }
10607 return resultobj;
10608 fail:
10609 {
10610 if (temp2)
10611 delete arg2;
10612 }
10613 return NULL;
10614}
10615
10616
c32bde28 10617static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10618 PyObject *resultobj;
10619 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10620 wxKeyEvent *arg2 = 0 ;
10621 bool result;
10622 PyObject * obj0 = 0 ;
10623 PyObject * obj1 = 0 ;
10624 char *kwnames[] = {
10625 (char *) "self",(char *) "event", NULL
10626 };
10627
10628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10629 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10630 if (SWIG_arg_fail(1)) SWIG_fail;
10631 {
10632 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
10633 if (SWIG_arg_fail(2)) SWIG_fail;
10634 if (arg2 == NULL) {
10635 SWIG_null_ref("wxKeyEvent");
10636 }
10637 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
10638 }
10639 {
10640 PyThreadState* __tstate = wxPyBeginAllowThreads();
10641 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
10642
10643 wxPyEndAllowThreads(__tstate);
10644 if (PyErr_Occurred()) SWIG_fail;
10645 }
10646 {
10647 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10648 }
10649 return resultobj;
10650 fail:
10651 return NULL;
10652}
10653
10654
c32bde28 10655static PyObject *_wrap_TextCtrl_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10656 PyObject *resultobj;
10657 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10658 long arg2 ;
10659 long arg3 ;
10660 wxTextAttr *arg4 = 0 ;
10661 bool result;
10662 PyObject * obj0 = 0 ;
10663 PyObject * obj1 = 0 ;
10664 PyObject * obj2 = 0 ;
10665 PyObject * obj3 = 0 ;
10666 char *kwnames[] = {
10667 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
10668 };
10669
10670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_SetStyle",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
10671 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10672 if (SWIG_arg_fail(1)) SWIG_fail;
10673 {
10674 arg2 = (long)(SWIG_As_long(obj1));
10675 if (SWIG_arg_fail(2)) SWIG_fail;
10676 }
10677 {
10678 arg3 = (long)(SWIG_As_long(obj2));
10679 if (SWIG_arg_fail(3)) SWIG_fail;
10680 }
10681 {
10682 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
10683 if (SWIG_arg_fail(4)) SWIG_fail;
10684 if (arg4 == NULL) {
10685 SWIG_null_ref("wxTextAttr");
10686 }
10687 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc
RD
10688 }
10689 {
10690 PyThreadState* __tstate = wxPyBeginAllowThreads();
10691 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
10692
10693 wxPyEndAllowThreads(__tstate);
10694 if (PyErr_Occurred()) SWIG_fail;
10695 }
10696 {
10697 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10698 }
10699 return resultobj;
10700 fail:
10701 return NULL;
10702}
10703
10704
c32bde28 10705static PyObject *_wrap_TextCtrl_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10706 PyObject *resultobj;
10707 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10708 long arg2 ;
10709 wxTextAttr *arg3 = 0 ;
10710 bool result;
10711 PyObject * obj0 = 0 ;
10712 PyObject * obj1 = 0 ;
10713 PyObject * obj2 = 0 ;
10714 char *kwnames[] = {
10715 (char *) "self",(char *) "position",(char *) "style", NULL
10716 };
10717
10718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10719 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10720 if (SWIG_arg_fail(1)) SWIG_fail;
10721 {
10722 arg2 = (long)(SWIG_As_long(obj1));
10723 if (SWIG_arg_fail(2)) SWIG_fail;
10724 }
10725 {
10726 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
10727 if (SWIG_arg_fail(3)) SWIG_fail;
10728 if (arg3 == NULL) {
10729 SWIG_null_ref("wxTextAttr");
10730 }
10731 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
10732 }
10733 {
10734 PyThreadState* __tstate = wxPyBeginAllowThreads();
10735 result = (bool)(arg1)->GetStyle(arg2,*arg3);
10736
10737 wxPyEndAllowThreads(__tstate);
10738 if (PyErr_Occurred()) SWIG_fail;
10739 }
10740 {
10741 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10742 }
10743 return resultobj;
10744 fail:
10745 return NULL;
10746}
10747
10748
c32bde28 10749static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10750 PyObject *resultobj;
10751 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10752 wxTextAttr *arg2 = 0 ;
10753 bool result;
10754 PyObject * obj0 = 0 ;
10755 PyObject * obj1 = 0 ;
10756 char *kwnames[] = {
10757 (char *) "self",(char *) "style", NULL
10758 };
10759
10760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10761 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10762 if (SWIG_arg_fail(1)) SWIG_fail;
10763 {
10764 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
10765 if (SWIG_arg_fail(2)) SWIG_fail;
10766 if (arg2 == NULL) {
10767 SWIG_null_ref("wxTextAttr");
10768 }
10769 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
10770 }
10771 {
10772 PyThreadState* __tstate = wxPyBeginAllowThreads();
10773 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
10774
10775 wxPyEndAllowThreads(__tstate);
10776 if (PyErr_Occurred()) SWIG_fail;
10777 }
10778 {
10779 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10780 }
10781 return resultobj;
10782 fail:
10783 return NULL;
10784}
10785
10786
c32bde28 10787static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10788 PyObject *resultobj;
10789 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10790 wxTextAttr *result;
10791 PyObject * obj0 = 0 ;
10792 char *kwnames[] = {
10793 (char *) "self", NULL
10794 };
10795
10796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetDefaultStyle",kwnames,&obj0)) goto fail;
093d3ff1
RD
10797 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10798 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10799 {
10800 PyThreadState* __tstate = wxPyBeginAllowThreads();
10801 {
10802 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
10803 result = (wxTextAttr *) &_result_ref;
10804 }
10805
10806 wxPyEndAllowThreads(__tstate);
10807 if (PyErr_Occurred()) SWIG_fail;
10808 }
10809 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 0);
10810 return resultobj;
10811 fail:
10812 return NULL;
10813}
10814
10815
c32bde28 10816static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10817 PyObject *resultobj;
10818 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10819 long arg2 ;
10820 long arg3 ;
10821 long result;
10822 PyObject * obj0 = 0 ;
10823 PyObject * obj1 = 0 ;
10824 PyObject * obj2 = 0 ;
10825 char *kwnames[] = {
10826 (char *) "self",(char *) "x",(char *) "y", NULL
10827 };
10828
10829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_XYToPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10830 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10831 if (SWIG_arg_fail(1)) SWIG_fail;
10832 {
10833 arg2 = (long)(SWIG_As_long(obj1));
10834 if (SWIG_arg_fail(2)) SWIG_fail;
10835 }
10836 {
10837 arg3 = (long)(SWIG_As_long(obj2));
10838 if (SWIG_arg_fail(3)) SWIG_fail;
10839 }
d55e5bfc
RD
10840 {
10841 PyThreadState* __tstate = wxPyBeginAllowThreads();
10842 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
10843
10844 wxPyEndAllowThreads(__tstate);
10845 if (PyErr_Occurred()) SWIG_fail;
10846 }
093d3ff1
RD
10847 {
10848 resultobj = SWIG_From_long((long)(result));
10849 }
d55e5bfc
RD
10850 return resultobj;
10851 fail:
10852 return NULL;
10853}
10854
10855
c32bde28 10856static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10857 PyObject *resultobj;
10858 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10859 long arg2 ;
10860 long *arg3 = (long *) 0 ;
10861 long *arg4 = (long *) 0 ;
10862 long temp3 ;
c32bde28 10863 int res3 = 0 ;
d55e5bfc 10864 long temp4 ;
c32bde28 10865 int res4 = 0 ;
d55e5bfc
RD
10866 PyObject * obj0 = 0 ;
10867 PyObject * obj1 = 0 ;
10868 char *kwnames[] = {
10869 (char *) "self",(char *) "pos", NULL
10870 };
10871
c32bde28
RD
10872 arg3 = &temp3; res3 = SWIG_NEWOBJ;
10873 arg4 = &temp4; res4 = SWIG_NEWOBJ;
d55e5bfc 10874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_PositionToXY",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10875 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10876 if (SWIG_arg_fail(1)) SWIG_fail;
10877 {
10878 arg2 = (long)(SWIG_As_long(obj1));
10879 if (SWIG_arg_fail(2)) SWIG_fail;
10880 }
d55e5bfc
RD
10881 {
10882 PyThreadState* __tstate = wxPyBeginAllowThreads();
10883 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
10884
10885 wxPyEndAllowThreads(__tstate);
10886 if (PyErr_Occurred()) SWIG_fail;
10887 }
10888 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
10889 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
10890 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
10891 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
10892 SWIG_From_long((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, 0)));
d55e5bfc
RD
10893 return resultobj;
10894 fail:
10895 return NULL;
10896}
10897
10898
c32bde28 10899static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10900 PyObject *resultobj;
10901 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10902 long arg2 ;
10903 PyObject * obj0 = 0 ;
10904 PyObject * obj1 = 0 ;
10905 char *kwnames[] = {
10906 (char *) "self",(char *) "pos", NULL
10907 };
10908
10909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ShowPosition",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10910 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10911 if (SWIG_arg_fail(1)) SWIG_fail;
10912 {
10913 arg2 = (long)(SWIG_As_long(obj1));
10914 if (SWIG_arg_fail(2)) SWIG_fail;
10915 }
d55e5bfc
RD
10916 {
10917 PyThreadState* __tstate = wxPyBeginAllowThreads();
10918 (arg1)->ShowPosition(arg2);
10919
10920 wxPyEndAllowThreads(__tstate);
10921 if (PyErr_Occurred()) SWIG_fail;
10922 }
10923 Py_INCREF(Py_None); resultobj = Py_None;
10924 return resultobj;
10925 fail:
10926 return NULL;
10927}
10928
10929
c32bde28 10930static PyObject *_wrap_TextCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10931 PyObject *resultobj;
10932 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10933 wxPoint *arg2 = 0 ;
10934 long *arg3 = (long *) 0 ;
10935 long *arg4 = (long *) 0 ;
093d3ff1 10936 wxTextCtrlHitTestResult result;
d55e5bfc
RD
10937 wxPoint temp2 ;
10938 long temp3 ;
c32bde28 10939 int res3 = 0 ;
d55e5bfc 10940 long temp4 ;
c32bde28 10941 int res4 = 0 ;
d55e5bfc
RD
10942 PyObject * obj0 = 0 ;
10943 PyObject * obj1 = 0 ;
10944 char *kwnames[] = {
10945 (char *) "self",(char *) "pt", NULL
10946 };
10947
c32bde28
RD
10948 arg3 = &temp3; res3 = SWIG_NEWOBJ;
10949 arg4 = &temp4; res4 = SWIG_NEWOBJ;
d55e5bfc 10950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10951 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10952 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10953 {
10954 arg2 = &temp2;
10955 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10956 }
10957 {
10958 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 10959 result = (wxTextCtrlHitTestResult)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3,arg4);
d55e5bfc
RD
10960
10961 wxPyEndAllowThreads(__tstate);
10962 if (PyErr_Occurred()) SWIG_fail;
10963 }
093d3ff1 10964 resultobj = SWIG_From_int((result));
c32bde28
RD
10965 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
10966 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
10967 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
10968 SWIG_From_long((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, 0)));
d55e5bfc
RD
10969 return resultobj;
10970 fail:
10971 return NULL;
10972}
10973
10974
c32bde28 10975static PyObject *_wrap_TextCtrl_HitTestPos(PyObject *, PyObject *args, PyObject *kwargs) {
4896ac9e
RD
10976 PyObject *resultobj;
10977 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10978 wxPoint *arg2 = 0 ;
10979 long *arg3 = (long *) 0 ;
093d3ff1 10980 wxTextCtrlHitTestResult result;
4896ac9e
RD
10981 wxPoint temp2 ;
10982 long temp3 ;
c32bde28 10983 int res3 = 0 ;
4896ac9e
RD
10984 PyObject * obj0 = 0 ;
10985 PyObject * obj1 = 0 ;
10986 char *kwnames[] = {
10987 (char *) "self",(char *) "pt", NULL
10988 };
10989
c32bde28 10990 arg3 = &temp3; res3 = SWIG_NEWOBJ;
4896ac9e 10991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTestPos",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10992 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10993 if (SWIG_arg_fail(1)) SWIG_fail;
4896ac9e
RD
10994 {
10995 arg2 = &temp2;
10996 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10997 }
10998 {
10999 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 11000 result = (wxTextCtrlHitTestResult)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
4896ac9e
RD
11001
11002 wxPyEndAllowThreads(__tstate);
11003 if (PyErr_Occurred()) SWIG_fail;
11004 }
093d3ff1 11005 resultobj = SWIG_From_int((result));
c32bde28
RD
11006 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
11007 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
4896ac9e
RD
11008 return resultobj;
11009 fail:
11010 return NULL;
11011}
11012
11013
c32bde28 11014static PyObject *_wrap_TextCtrl_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11015 PyObject *resultobj;
11016 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11017 PyObject * obj0 = 0 ;
11018 char *kwnames[] = {
11019 (char *) "self", NULL
11020 };
11021
11022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Copy",kwnames,&obj0)) goto fail;
093d3ff1
RD
11023 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11024 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11025 {
11026 PyThreadState* __tstate = wxPyBeginAllowThreads();
11027 (arg1)->Copy();
11028
11029 wxPyEndAllowThreads(__tstate);
11030 if (PyErr_Occurred()) SWIG_fail;
11031 }
11032 Py_INCREF(Py_None); resultobj = Py_None;
11033 return resultobj;
11034 fail:
11035 return NULL;
11036}
11037
11038
c32bde28 11039static PyObject *_wrap_TextCtrl_Cut(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11040 PyObject *resultobj;
11041 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11042 PyObject * obj0 = 0 ;
11043 char *kwnames[] = {
11044 (char *) "self", NULL
11045 };
11046
11047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Cut",kwnames,&obj0)) goto fail;
093d3ff1
RD
11048 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11049 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11050 {
11051 PyThreadState* __tstate = wxPyBeginAllowThreads();
11052 (arg1)->Cut();
11053
11054 wxPyEndAllowThreads(__tstate);
11055 if (PyErr_Occurred()) SWIG_fail;
11056 }
11057 Py_INCREF(Py_None); resultobj = Py_None;
11058 return resultobj;
11059 fail:
11060 return NULL;
11061}
11062
11063
c32bde28 11064static PyObject *_wrap_TextCtrl_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11065 PyObject *resultobj;
11066 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11067 PyObject * obj0 = 0 ;
11068 char *kwnames[] = {
11069 (char *) "self", NULL
11070 };
11071
11072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Paste",kwnames,&obj0)) goto fail;
093d3ff1
RD
11073 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11074 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11075 {
11076 PyThreadState* __tstate = wxPyBeginAllowThreads();
11077 (arg1)->Paste();
11078
11079 wxPyEndAllowThreads(__tstate);
11080 if (PyErr_Occurred()) SWIG_fail;
11081 }
11082 Py_INCREF(Py_None); resultobj = Py_None;
11083 return resultobj;
11084 fail:
11085 return NULL;
11086}
11087
11088
c32bde28 11089static PyObject *_wrap_TextCtrl_CanCopy(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11090 PyObject *resultobj;
11091 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11092 bool result;
11093 PyObject * obj0 = 0 ;
11094 char *kwnames[] = {
11095 (char *) "self", NULL
11096 };
11097
11098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCopy",kwnames,&obj0)) goto fail;
093d3ff1
RD
11099 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11100 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11101 {
11102 PyThreadState* __tstate = wxPyBeginAllowThreads();
11103 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
11104
11105 wxPyEndAllowThreads(__tstate);
11106 if (PyErr_Occurred()) SWIG_fail;
11107 }
11108 {
11109 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11110 }
11111 return resultobj;
11112 fail:
11113 return NULL;
11114}
11115
11116
c32bde28 11117static PyObject *_wrap_TextCtrl_CanCut(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11118 PyObject *resultobj;
11119 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11120 bool result;
11121 PyObject * obj0 = 0 ;
11122 char *kwnames[] = {
11123 (char *) "self", NULL
11124 };
11125
11126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCut",kwnames,&obj0)) goto fail;
093d3ff1
RD
11127 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11128 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11129 {
11130 PyThreadState* __tstate = wxPyBeginAllowThreads();
11131 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
11132
11133 wxPyEndAllowThreads(__tstate);
11134 if (PyErr_Occurred()) SWIG_fail;
11135 }
11136 {
11137 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11138 }
11139 return resultobj;
11140 fail:
11141 return NULL;
11142}
11143
11144
c32bde28 11145static PyObject *_wrap_TextCtrl_CanPaste(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11146 PyObject *resultobj;
11147 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11148 bool result;
11149 PyObject * obj0 = 0 ;
11150 char *kwnames[] = {
11151 (char *) "self", NULL
11152 };
11153
11154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanPaste",kwnames,&obj0)) goto fail;
093d3ff1
RD
11155 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11156 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11157 {
11158 PyThreadState* __tstate = wxPyBeginAllowThreads();
11159 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
11160
11161 wxPyEndAllowThreads(__tstate);
11162 if (PyErr_Occurred()) SWIG_fail;
11163 }
11164 {
11165 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11166 }
11167 return resultobj;
11168 fail:
11169 return NULL;
11170}
11171
11172
c32bde28 11173static PyObject *_wrap_TextCtrl_Undo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11174 PyObject *resultobj;
11175 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11176 PyObject * obj0 = 0 ;
11177 char *kwnames[] = {
11178 (char *) "self", NULL
11179 };
11180
11181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Undo",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 (arg1)->Undo();
11187
11188 wxPyEndAllowThreads(__tstate);
11189 if (PyErr_Occurred()) SWIG_fail;
11190 }
11191 Py_INCREF(Py_None); resultobj = Py_None;
11192 return resultobj;
11193 fail:
11194 return NULL;
11195}
11196
11197
c32bde28 11198static PyObject *_wrap_TextCtrl_Redo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11199 PyObject *resultobj;
11200 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11201 PyObject * obj0 = 0 ;
11202 char *kwnames[] = {
11203 (char *) "self", NULL
11204 };
11205
11206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Redo",kwnames,&obj0)) goto fail;
093d3ff1
RD
11207 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11208 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11209 {
11210 PyThreadState* __tstate = wxPyBeginAllowThreads();
11211 (arg1)->Redo();
11212
11213 wxPyEndAllowThreads(__tstate);
11214 if (PyErr_Occurred()) SWIG_fail;
11215 }
11216 Py_INCREF(Py_None); resultobj = Py_None;
11217 return resultobj;
11218 fail:
11219 return NULL;
11220}
11221
11222
c32bde28 11223static PyObject *_wrap_TextCtrl_CanUndo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11224 PyObject *resultobj;
11225 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11226 bool result;
11227 PyObject * obj0 = 0 ;
11228 char *kwnames[] = {
11229 (char *) "self", NULL
11230 };
11231
11232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanUndo",kwnames,&obj0)) goto fail;
093d3ff1
RD
11233 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11234 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11235 {
11236 PyThreadState* __tstate = wxPyBeginAllowThreads();
11237 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
11238
11239 wxPyEndAllowThreads(__tstate);
11240 if (PyErr_Occurred()) SWIG_fail;
11241 }
11242 {
11243 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11244 }
11245 return resultobj;
11246 fail:
11247 return NULL;
11248}
11249
11250
c32bde28 11251static PyObject *_wrap_TextCtrl_CanRedo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11252 PyObject *resultobj;
11253 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11254 bool result;
11255 PyObject * obj0 = 0 ;
11256 char *kwnames[] = {
11257 (char *) "self", NULL
11258 };
11259
11260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanRedo",kwnames,&obj0)) goto fail;
093d3ff1
RD
11261 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11262 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11263 {
11264 PyThreadState* __tstate = wxPyBeginAllowThreads();
11265 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
11266
11267 wxPyEndAllowThreads(__tstate);
11268 if (PyErr_Occurred()) SWIG_fail;
11269 }
11270 {
11271 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11272 }
11273 return resultobj;
11274 fail:
11275 return NULL;
11276}
11277
11278
c32bde28 11279static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11280 PyObject *resultobj;
11281 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11282 long arg2 ;
11283 PyObject * obj0 = 0 ;
11284 PyObject * obj1 = 0 ;
11285 char *kwnames[] = {
11286 (char *) "self",(char *) "pos", NULL
11287 };
11288
11289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11290 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11291 if (SWIG_arg_fail(1)) SWIG_fail;
11292 {
11293 arg2 = (long)(SWIG_As_long(obj1));
11294 if (SWIG_arg_fail(2)) SWIG_fail;
11295 }
d55e5bfc
RD
11296 {
11297 PyThreadState* __tstate = wxPyBeginAllowThreads();
11298 (arg1)->SetInsertionPoint(arg2);
11299
11300 wxPyEndAllowThreads(__tstate);
11301 if (PyErr_Occurred()) SWIG_fail;
11302 }
11303 Py_INCREF(Py_None); resultobj = Py_None;
11304 return resultobj;
11305 fail:
11306 return NULL;
11307}
11308
11309
c32bde28 11310static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11311 PyObject *resultobj;
11312 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11313 PyObject * obj0 = 0 ;
11314 char *kwnames[] = {
11315 (char *) "self", NULL
11316 };
11317
11318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
093d3ff1
RD
11319 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11320 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11321 {
11322 PyThreadState* __tstate = wxPyBeginAllowThreads();
11323 (arg1)->SetInsertionPointEnd();
11324
11325 wxPyEndAllowThreads(__tstate);
11326 if (PyErr_Occurred()) SWIG_fail;
11327 }
11328 Py_INCREF(Py_None); resultobj = Py_None;
11329 return resultobj;
11330 fail:
11331 return NULL;
11332}
11333
11334
c32bde28 11335static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11336 PyObject *resultobj;
11337 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11338 long result;
11339 PyObject * obj0 = 0 ;
11340 char *kwnames[] = {
11341 (char *) "self", NULL
11342 };
11343
11344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetInsertionPoint",kwnames,&obj0)) goto fail;
093d3ff1
RD
11345 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11346 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11347 {
11348 PyThreadState* __tstate = wxPyBeginAllowThreads();
11349 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
11350
11351 wxPyEndAllowThreads(__tstate);
11352 if (PyErr_Occurred()) SWIG_fail;
11353 }
093d3ff1
RD
11354 {
11355 resultobj = SWIG_From_long((long)(result));
11356 }
d55e5bfc
RD
11357 return resultobj;
11358 fail:
11359 return NULL;
11360}
11361
11362
c32bde28 11363static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11364 PyObject *resultobj;
11365 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11366 long result;
11367 PyObject * obj0 = 0 ;
11368 char *kwnames[] = {
11369 (char *) "self", NULL
11370 };
11371
11372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetLastPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
11373 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11374 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11375 {
11376 PyThreadState* __tstate = wxPyBeginAllowThreads();
11377 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
11378
11379 wxPyEndAllowThreads(__tstate);
11380 if (PyErr_Occurred()) SWIG_fail;
11381 }
093d3ff1
RD
11382 {
11383 resultobj = SWIG_From_long((long)(result));
11384 }
d55e5bfc
RD
11385 return resultobj;
11386 fail:
11387 return NULL;
11388}
11389
11390
c32bde28 11391static PyObject *_wrap_TextCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11392 PyObject *resultobj;
11393 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11394 long arg2 ;
11395 long arg3 ;
11396 PyObject * obj0 = 0 ;
11397 PyObject * obj1 = 0 ;
11398 PyObject * obj2 = 0 ;
11399 char *kwnames[] = {
11400 (char *) "self",(char *) "from",(char *) "to", NULL
11401 };
11402
11403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
11404 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11405 if (SWIG_arg_fail(1)) SWIG_fail;
11406 {
11407 arg2 = (long)(SWIG_As_long(obj1));
11408 if (SWIG_arg_fail(2)) SWIG_fail;
11409 }
11410 {
11411 arg3 = (long)(SWIG_As_long(obj2));
11412 if (SWIG_arg_fail(3)) SWIG_fail;
11413 }
d55e5bfc
RD
11414 {
11415 PyThreadState* __tstate = wxPyBeginAllowThreads();
11416 (arg1)->SetSelection(arg2,arg3);
11417
11418 wxPyEndAllowThreads(__tstate);
11419 if (PyErr_Occurred()) SWIG_fail;
11420 }
11421 Py_INCREF(Py_None); resultobj = Py_None;
11422 return resultobj;
11423 fail:
11424 return NULL;
11425}
11426
11427
c32bde28 11428static PyObject *_wrap_TextCtrl_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11429 PyObject *resultobj;
11430 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11431 PyObject * obj0 = 0 ;
11432 char *kwnames[] = {
11433 (char *) "self", NULL
11434 };
11435
11436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SelectAll",kwnames,&obj0)) goto fail;
093d3ff1
RD
11437 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11438 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11439 {
11440 PyThreadState* __tstate = wxPyBeginAllowThreads();
11441 (arg1)->SelectAll();
11442
11443 wxPyEndAllowThreads(__tstate);
11444 if (PyErr_Occurred()) SWIG_fail;
11445 }
11446 Py_INCREF(Py_None); resultobj = Py_None;
11447 return resultobj;
11448 fail:
11449 return NULL;
11450}
11451
11452
c32bde28 11453static PyObject *_wrap_TextCtrl_SetEditable(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11454 PyObject *resultobj;
11455 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11456 bool arg2 ;
11457 PyObject * obj0 = 0 ;
11458 PyObject * obj1 = 0 ;
11459 char *kwnames[] = {
11460 (char *) "self",(char *) "editable", NULL
11461 };
11462
11463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) 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;
11466 {
11467 arg2 = (bool)(SWIG_As_bool(obj1));
11468 if (SWIG_arg_fail(2)) SWIG_fail;
11469 }
d55e5bfc
RD
11470 {
11471 PyThreadState* __tstate = wxPyBeginAllowThreads();
11472 (arg1)->SetEditable(arg2);
11473
11474 wxPyEndAllowThreads(__tstate);
11475 if (PyErr_Occurred()) SWIG_fail;
11476 }
11477 Py_INCREF(Py_None); resultobj = Py_None;
11478 return resultobj;
11479 fail:
11480 return NULL;
11481}
11482
11483
c32bde28 11484static PyObject *_wrap_TextCtrl_ShowNativeCaret(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11485 PyObject *resultobj;
11486 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
ae8162c8 11487 bool arg2 = (bool) true ;
d55e5bfc
RD
11488 bool result;
11489 PyObject * obj0 = 0 ;
11490 PyObject * obj1 = 0 ;
11491 char *kwnames[] = {
11492 (char *) "self",(char *) "show", NULL
11493 };
11494
11495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11496 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11497 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 11498 if (obj1) {
093d3ff1
RD
11499 {
11500 arg2 = (bool)(SWIG_As_bool(obj1));
11501 if (SWIG_arg_fail(2)) SWIG_fail;
11502 }
d55e5bfc
RD
11503 }
11504 {
11505 PyThreadState* __tstate = wxPyBeginAllowThreads();
11506 result = (bool)(arg1)->ShowNativeCaret(arg2);
11507
11508 wxPyEndAllowThreads(__tstate);
11509 if (PyErr_Occurred()) SWIG_fail;
11510 }
11511 {
11512 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11513 }
11514 return resultobj;
11515 fail:
11516 return NULL;
11517}
11518
11519
c32bde28 11520static PyObject *_wrap_TextCtrl_HideNativeCaret(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11521 PyObject *resultobj;
11522 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11523 bool result;
11524 PyObject * obj0 = 0 ;
11525 char *kwnames[] = {
11526 (char *) "self", NULL
11527 };
11528
11529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_HideNativeCaret",kwnames,&obj0)) goto fail;
093d3ff1
RD
11530 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11531 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11532 {
11533 PyThreadState* __tstate = wxPyBeginAllowThreads();
11534 result = (bool)(arg1)->HideNativeCaret();
11535
11536 wxPyEndAllowThreads(__tstate);
11537 if (PyErr_Occurred()) SWIG_fail;
11538 }
11539 {
11540 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11541 }
11542 return resultobj;
11543 fail:
11544 return NULL;
11545}
11546
11547
c32bde28 11548static PyObject *_wrap_TextCtrl_write(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11549 PyObject *resultobj;
11550 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11551 wxString *arg2 = 0 ;
ae8162c8 11552 bool temp2 = false ;
d55e5bfc
RD
11553 PyObject * obj0 = 0 ;
11554 PyObject * obj1 = 0 ;
11555 char *kwnames[] = {
11556 (char *) "self",(char *) "text", NULL
11557 };
11558
11559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11560 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11561 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11562 {
11563 arg2 = wxString_in_helper(obj1);
11564 if (arg2 == NULL) SWIG_fail;
ae8162c8 11565 temp2 = true;
d55e5bfc
RD
11566 }
11567 {
11568 PyThreadState* __tstate = wxPyBeginAllowThreads();
11569 wxTextCtrl_write(arg1,(wxString const &)*arg2);
11570
11571 wxPyEndAllowThreads(__tstate);
11572 if (PyErr_Occurred()) SWIG_fail;
11573 }
11574 Py_INCREF(Py_None); resultobj = Py_None;
11575 {
11576 if (temp2)
11577 delete arg2;
11578 }
11579 return resultobj;
11580 fail:
11581 {
11582 if (temp2)
11583 delete arg2;
11584 }
11585 return NULL;
11586}
11587
11588
c32bde28 11589static PyObject *_wrap_TextCtrl_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11590 PyObject *resultobj;
11591 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11592 long arg2 ;
11593 long arg3 ;
11594 wxString result;
11595 PyObject * obj0 = 0 ;
11596 PyObject * obj1 = 0 ;
11597 PyObject * obj2 = 0 ;
11598 char *kwnames[] = {
11599 (char *) "self",(char *) "from",(char *) "to", NULL
11600 };
11601
11602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
11603 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11604 if (SWIG_arg_fail(1)) SWIG_fail;
11605 {
11606 arg2 = (long)(SWIG_As_long(obj1));
11607 if (SWIG_arg_fail(2)) SWIG_fail;
11608 }
11609 {
11610 arg3 = (long)(SWIG_As_long(obj2));
11611 if (SWIG_arg_fail(3)) SWIG_fail;
11612 }
d55e5bfc
RD
11613 {
11614 PyThreadState* __tstate = wxPyBeginAllowThreads();
11615 result = wxTextCtrl_GetString(arg1,arg2,arg3);
11616
11617 wxPyEndAllowThreads(__tstate);
11618 if (PyErr_Occurred()) SWIG_fail;
11619 }
11620 {
11621#if wxUSE_UNICODE
11622 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11623#else
11624 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11625#endif
11626 }
11627 return resultobj;
11628 fail:
11629 return NULL;
11630}
11631
11632
c32bde28 11633static PyObject *_wrap_TextCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 11634 PyObject *resultobj;
093d3ff1 11635 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
11636 wxVisualAttributes result;
11637 PyObject * obj0 = 0 ;
11638 char *kwnames[] = {
11639 (char *) "variant", NULL
11640 };
11641
11642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
11643 if (obj0) {
093d3ff1
RD
11644 {
11645 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
11646 if (SWIG_arg_fail(1)) SWIG_fail;
11647 }
f20a2e1f
RD
11648 }
11649 {
19272049 11650 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
11651 PyThreadState* __tstate = wxPyBeginAllowThreads();
11652 result = wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
11653
11654 wxPyEndAllowThreads(__tstate);
110da5b0 11655 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
11656 }
11657 {
11658 wxVisualAttributes * resultptr;
093d3ff1 11659 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
11660 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
11661 }
11662 return resultobj;
11663 fail:
11664 return NULL;
11665}
11666
11667
c32bde28 11668static PyObject * TextCtrl_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
11669 PyObject *obj;
11670 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11671 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl, obj);
11672 Py_INCREF(obj);
11673 return Py_BuildValue((char *)"");
11674}
c32bde28 11675static PyObject *_wrap_new_TextUrlEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11676 PyObject *resultobj;
11677 int arg1 ;
11678 wxMouseEvent *arg2 = 0 ;
11679 long arg3 ;
11680 long arg4 ;
11681 wxTextUrlEvent *result;
11682 PyObject * obj0 = 0 ;
11683 PyObject * obj1 = 0 ;
11684 PyObject * obj2 = 0 ;
11685 PyObject * obj3 = 0 ;
11686 char *kwnames[] = {
11687 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
11688 };
11689
11690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_TextUrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
11691 {
11692 arg1 = (int)(SWIG_As_int(obj0));
11693 if (SWIG_arg_fail(1)) SWIG_fail;
11694 }
11695 {
11696 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
11697 if (SWIG_arg_fail(2)) SWIG_fail;
11698 if (arg2 == NULL) {
11699 SWIG_null_ref("wxMouseEvent");
11700 }
11701 if (SWIG_arg_fail(2)) SWIG_fail;
11702 }
11703 {
11704 arg3 = (long)(SWIG_As_long(obj2));
11705 if (SWIG_arg_fail(3)) SWIG_fail;
11706 }
11707 {
11708 arg4 = (long)(SWIG_As_long(obj3));
11709 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc 11710 }
d55e5bfc
RD
11711 {
11712 PyThreadState* __tstate = wxPyBeginAllowThreads();
11713 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
11714
11715 wxPyEndAllowThreads(__tstate);
11716 if (PyErr_Occurred()) SWIG_fail;
11717 }
11718 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextUrlEvent, 1);
11719 return resultobj;
11720 fail:
11721 return NULL;
11722}
11723
11724
c32bde28 11725static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11726 PyObject *resultobj;
11727 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
11728 wxMouseEvent *result;
11729 PyObject * obj0 = 0 ;
11730 char *kwnames[] = {
11731 (char *) "self", NULL
11732 };
11733
11734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames,&obj0)) goto fail;
093d3ff1
RD
11735 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_EXCEPTION | 0);
11736 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11737 {
11738 PyThreadState* __tstate = wxPyBeginAllowThreads();
11739 {
11740 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
11741 result = (wxMouseEvent *) &_result_ref;
11742 }
11743
11744 wxPyEndAllowThreads(__tstate);
11745 if (PyErr_Occurred()) SWIG_fail;
11746 }
11747 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMouseEvent, 0);
11748 return resultobj;
11749 fail:
11750 return NULL;
11751}
11752
11753
c32bde28 11754static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11755 PyObject *resultobj;
11756 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
11757 long result;
11758 PyObject * obj0 = 0 ;
11759 char *kwnames[] = {
11760 (char *) "self", NULL
11761 };
11762
11763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLStart",kwnames,&obj0)) goto fail;
093d3ff1
RD
11764 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_EXCEPTION | 0);
11765 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11766 {
11767 PyThreadState* __tstate = wxPyBeginAllowThreads();
11768 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
11769
11770 wxPyEndAllowThreads(__tstate);
11771 if (PyErr_Occurred()) SWIG_fail;
11772 }
093d3ff1
RD
11773 {
11774 resultobj = SWIG_From_long((long)(result));
11775 }
d55e5bfc
RD
11776 return resultobj;
11777 fail:
11778 return NULL;
11779}
11780
11781
c32bde28 11782static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11783 PyObject *resultobj;
11784 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
11785 long result;
11786 PyObject * obj0 = 0 ;
11787 char *kwnames[] = {
11788 (char *) "self", NULL
11789 };
11790
11791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLEnd",kwnames,&obj0)) goto fail;
093d3ff1
RD
11792 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_EXCEPTION | 0);
11793 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11794 {
11795 PyThreadState* __tstate = wxPyBeginAllowThreads();
11796 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
11797
11798 wxPyEndAllowThreads(__tstate);
11799 if (PyErr_Occurred()) SWIG_fail;
11800 }
093d3ff1
RD
11801 {
11802 resultobj = SWIG_From_long((long)(result));
11803 }
d55e5bfc
RD
11804 return resultobj;
11805 fail:
11806 return NULL;
11807}
11808
11809
c32bde28 11810static PyObject * TextUrlEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
11811 PyObject *obj;
11812 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11813 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent, obj);
11814 Py_INCREF(obj);
11815 return Py_BuildValue((char *)"");
11816}
c32bde28 11817static int _wrap_ScrollBarNameStr_set(PyObject *) {
d55e5bfc
RD
11818 PyErr_SetString(PyExc_TypeError,"Variable ScrollBarNameStr is read-only.");
11819 return 1;
11820}
11821
11822
093d3ff1 11823static PyObject *_wrap_ScrollBarNameStr_get(void) {
d55e5bfc
RD
11824 PyObject *pyobj;
11825
11826 {
11827#if wxUSE_UNICODE
11828 pyobj = PyUnicode_FromWideChar((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
11829#else
11830 pyobj = PyString_FromStringAndSize((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
11831#endif
11832 }
11833 return pyobj;
11834}
11835
11836
c32bde28 11837static PyObject *_wrap_new_ScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11838 PyObject *resultobj;
11839 wxWindow *arg1 = (wxWindow *) 0 ;
11840 int arg2 = (int) -1 ;
11841 wxPoint const &arg3_defvalue = wxDefaultPosition ;
11842 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
11843 wxSize const &arg4_defvalue = wxDefaultSize ;
11844 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
11845 long arg5 = (long) wxSB_HORIZONTAL ;
11846 wxValidator const &arg6_defvalue = wxDefaultValidator ;
11847 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
11848 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
11849 wxString *arg7 = (wxString *) &arg7_defvalue ;
11850 wxScrollBar *result;
11851 wxPoint temp3 ;
11852 wxSize temp4 ;
ae8162c8 11853 bool temp7 = false ;
d55e5bfc
RD
11854 PyObject * obj0 = 0 ;
11855 PyObject * obj1 = 0 ;
11856 PyObject * obj2 = 0 ;
11857 PyObject * obj3 = 0 ;
11858 PyObject * obj4 = 0 ;
11859 PyObject * obj5 = 0 ;
11860 PyObject * obj6 = 0 ;
11861 char *kwnames[] = {
11862 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11863 };
11864
11865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ScrollBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
11866 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11867 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 11868 if (obj1) {
093d3ff1
RD
11869 {
11870 arg2 = (int)(SWIG_As_int(obj1));
11871 if (SWIG_arg_fail(2)) SWIG_fail;
11872 }
d55e5bfc
RD
11873 }
11874 if (obj2) {
11875 {
11876 arg3 = &temp3;
11877 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11878 }
11879 }
11880 if (obj3) {
11881 {
11882 arg4 = &temp4;
11883 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
11884 }
11885 }
11886 if (obj4) {
093d3ff1
RD
11887 {
11888 arg5 = (long)(SWIG_As_long(obj4));
11889 if (SWIG_arg_fail(5)) SWIG_fail;
11890 }
d55e5bfc
RD
11891 }
11892 if (obj5) {
093d3ff1
RD
11893 {
11894 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
11895 if (SWIG_arg_fail(6)) SWIG_fail;
11896 if (arg6 == NULL) {
11897 SWIG_null_ref("wxValidator");
11898 }
11899 if (SWIG_arg_fail(6)) SWIG_fail;
d55e5bfc
RD
11900 }
11901 }
11902 if (obj6) {
11903 {
11904 arg7 = wxString_in_helper(obj6);
11905 if (arg7 == NULL) SWIG_fail;
ae8162c8 11906 temp7 = true;
d55e5bfc
RD
11907 }
11908 }
11909 {
0439c23b 11910 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
11911 PyThreadState* __tstate = wxPyBeginAllowThreads();
11912 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
11913
11914 wxPyEndAllowThreads(__tstate);
110da5b0 11915 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11916 }
11917 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
11918 {
11919 if (temp7)
11920 delete arg7;
11921 }
11922 return resultobj;
11923 fail:
11924 {
11925 if (temp7)
11926 delete arg7;
11927 }
11928 return NULL;
11929}
11930
11931
c32bde28 11932static PyObject *_wrap_new_PreScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11933 PyObject *resultobj;
11934 wxScrollBar *result;
11935 char *kwnames[] = {
11936 NULL
11937 };
11938
11939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrollBar",kwnames)) goto fail;
11940 {
0439c23b 11941 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
11942 PyThreadState* __tstate = wxPyBeginAllowThreads();
11943 result = (wxScrollBar *)new wxScrollBar();
11944
11945 wxPyEndAllowThreads(__tstate);
110da5b0 11946 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11947 }
11948 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
11949 return resultobj;
11950 fail:
11951 return NULL;
11952}
11953
11954
c32bde28 11955static PyObject *_wrap_ScrollBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11956 PyObject *resultobj;
11957 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
11958 wxWindow *arg2 = (wxWindow *) 0 ;
11959 int arg3 = (int) -1 ;
11960 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11961 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11962 wxSize const &arg5_defvalue = wxDefaultSize ;
11963 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11964 long arg6 = (long) wxSB_HORIZONTAL ;
11965 wxValidator const &arg7_defvalue = wxDefaultValidator ;
11966 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
11967 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
11968 wxString *arg8 = (wxString *) &arg8_defvalue ;
11969 bool result;
11970 wxPoint temp4 ;
11971 wxSize temp5 ;
ae8162c8 11972 bool temp8 = false ;
d55e5bfc
RD
11973 PyObject * obj0 = 0 ;
11974 PyObject * obj1 = 0 ;
11975 PyObject * obj2 = 0 ;
11976 PyObject * obj3 = 0 ;
11977 PyObject * obj4 = 0 ;
11978 PyObject * obj5 = 0 ;
11979 PyObject * obj6 = 0 ;
11980 PyObject * obj7 = 0 ;
11981 char *kwnames[] = {
11982 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11983 };
11984
11985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
11986 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
11987 if (SWIG_arg_fail(1)) SWIG_fail;
11988 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11989 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 11990 if (obj2) {
093d3ff1
RD
11991 {
11992 arg3 = (int)(SWIG_As_int(obj2));
11993 if (SWIG_arg_fail(3)) SWIG_fail;
11994 }
d55e5bfc
RD
11995 }
11996 if (obj3) {
11997 {
11998 arg4 = &temp4;
11999 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12000 }
12001 }
12002 if (obj4) {
12003 {
12004 arg5 = &temp5;
12005 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12006 }
12007 }
12008 if (obj5) {
093d3ff1
RD
12009 {
12010 arg6 = (long)(SWIG_As_long(obj5));
12011 if (SWIG_arg_fail(6)) SWIG_fail;
12012 }
d55e5bfc
RD
12013 }
12014 if (obj6) {
093d3ff1
RD
12015 {
12016 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
12017 if (SWIG_arg_fail(7)) SWIG_fail;
12018 if (arg7 == NULL) {
12019 SWIG_null_ref("wxValidator");
12020 }
12021 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
12022 }
12023 }
12024 if (obj7) {
12025 {
12026 arg8 = wxString_in_helper(obj7);
12027 if (arg8 == NULL) SWIG_fail;
ae8162c8 12028 temp8 = true;
d55e5bfc
RD
12029 }
12030 }
12031 {
12032 PyThreadState* __tstate = wxPyBeginAllowThreads();
12033 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
12034
12035 wxPyEndAllowThreads(__tstate);
12036 if (PyErr_Occurred()) SWIG_fail;
12037 }
12038 {
12039 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12040 }
12041 {
12042 if (temp8)
12043 delete arg8;
12044 }
12045 return resultobj;
12046 fail:
12047 {
12048 if (temp8)
12049 delete arg8;
12050 }
12051 return NULL;
12052}
12053
12054
c32bde28 12055static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12056 PyObject *resultobj;
12057 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12058 int result;
12059 PyObject * obj0 = 0 ;
12060 char *kwnames[] = {
12061 (char *) "self", NULL
12062 };
12063
12064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
12065 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12066 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12067 {
12068 PyThreadState* __tstate = wxPyBeginAllowThreads();
12069 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
12070
12071 wxPyEndAllowThreads(__tstate);
12072 if (PyErr_Occurred()) SWIG_fail;
12073 }
093d3ff1
RD
12074 {
12075 resultobj = SWIG_From_int((int)(result));
12076 }
d55e5bfc
RD
12077 return resultobj;
12078 fail:
12079 return NULL;
12080}
12081
12082
c32bde28 12083static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12084 PyObject *resultobj;
12085 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12086 int result;
12087 PyObject * obj0 = 0 ;
12088 char *kwnames[] = {
12089 (char *) "self", NULL
12090 };
12091
12092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
12093 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12094 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12095 {
12096 PyThreadState* __tstate = wxPyBeginAllowThreads();
12097 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
12098
12099 wxPyEndAllowThreads(__tstate);
12100 if (PyErr_Occurred()) SWIG_fail;
12101 }
093d3ff1
RD
12102 {
12103 resultobj = SWIG_From_int((int)(result));
12104 }
d55e5bfc
RD
12105 return resultobj;
12106 fail:
12107 return NULL;
12108}
12109
12110
c32bde28 12111static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12112 PyObject *resultobj;
12113 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12114 int result;
12115 PyObject * obj0 = 0 ;
12116 char *kwnames[] = {
12117 (char *) "self", NULL
12118 };
12119
12120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetPageSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
12121 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12122 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12123 {
12124 PyThreadState* __tstate = wxPyBeginAllowThreads();
12125 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
12126
12127 wxPyEndAllowThreads(__tstate);
12128 if (PyErr_Occurred()) SWIG_fail;
12129 }
093d3ff1
RD
12130 {
12131 resultobj = SWIG_From_int((int)(result));
12132 }
d55e5bfc
RD
12133 return resultobj;
12134 fail:
12135 return NULL;
12136}
12137
12138
c32bde28 12139static PyObject *_wrap_ScrollBar_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12140 PyObject *resultobj;
12141 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12142 int result;
12143 PyObject * obj0 = 0 ;
12144 char *kwnames[] = {
12145 (char *) "self", NULL
12146 };
12147
12148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetRange",kwnames,&obj0)) goto fail;
093d3ff1
RD
12149 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12150 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12151 {
12152 PyThreadState* __tstate = wxPyBeginAllowThreads();
12153 result = (int)((wxScrollBar const *)arg1)->GetRange();
12154
12155 wxPyEndAllowThreads(__tstate);
12156 if (PyErr_Occurred()) SWIG_fail;
12157 }
093d3ff1
RD
12158 {
12159 resultobj = SWIG_From_int((int)(result));
12160 }
d55e5bfc
RD
12161 return resultobj;
12162 fail:
12163 return NULL;
12164}
12165
12166
c32bde28 12167static PyObject *_wrap_ScrollBar_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12168 PyObject *resultobj;
12169 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12170 bool result;
12171 PyObject * obj0 = 0 ;
12172 char *kwnames[] = {
12173 (char *) "self", NULL
12174 };
12175
12176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_IsVertical",kwnames,&obj0)) goto fail;
093d3ff1
RD
12177 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12178 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12179 {
12180 PyThreadState* __tstate = wxPyBeginAllowThreads();
12181 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
12182
12183 wxPyEndAllowThreads(__tstate);
12184 if (PyErr_Occurred()) SWIG_fail;
12185 }
12186 {
12187 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12188 }
12189 return resultobj;
12190 fail:
12191 return NULL;
12192}
12193
12194
c32bde28 12195static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12196 PyObject *resultobj;
12197 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12198 int arg2 ;
12199 PyObject * obj0 = 0 ;
12200 PyObject * obj1 = 0 ;
12201 char *kwnames[] = {
12202 (char *) "self",(char *) "viewStart", NULL
12203 };
12204
12205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollBar_SetThumbPosition",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12206 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12207 if (SWIG_arg_fail(1)) SWIG_fail;
12208 {
12209 arg2 = (int)(SWIG_As_int(obj1));
12210 if (SWIG_arg_fail(2)) SWIG_fail;
12211 }
d55e5bfc
RD
12212 {
12213 PyThreadState* __tstate = wxPyBeginAllowThreads();
12214 (arg1)->SetThumbPosition(arg2);
12215
12216 wxPyEndAllowThreads(__tstate);
12217 if (PyErr_Occurred()) SWIG_fail;
12218 }
12219 Py_INCREF(Py_None); resultobj = Py_None;
12220 return resultobj;
12221 fail:
12222 return NULL;
12223}
12224
12225
c32bde28 12226static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12227 PyObject *resultobj;
12228 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12229 int arg2 ;
12230 int arg3 ;
12231 int arg4 ;
12232 int arg5 ;
ae8162c8 12233 bool arg6 = (bool) true ;
d55e5bfc
RD
12234 PyObject * obj0 = 0 ;
12235 PyObject * obj1 = 0 ;
12236 PyObject * obj2 = 0 ;
12237 PyObject * obj3 = 0 ;
12238 PyObject * obj4 = 0 ;
12239 PyObject * obj5 = 0 ;
12240 char *kwnames[] = {
12241 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
12242 };
12243
12244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
12245 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12246 if (SWIG_arg_fail(1)) SWIG_fail;
12247 {
12248 arg2 = (int)(SWIG_As_int(obj1));
12249 if (SWIG_arg_fail(2)) SWIG_fail;
12250 }
12251 {
12252 arg3 = (int)(SWIG_As_int(obj2));
12253 if (SWIG_arg_fail(3)) SWIG_fail;
12254 }
12255 {
12256 arg4 = (int)(SWIG_As_int(obj3));
12257 if (SWIG_arg_fail(4)) SWIG_fail;
12258 }
12259 {
12260 arg5 = (int)(SWIG_As_int(obj4));
12261 if (SWIG_arg_fail(5)) SWIG_fail;
12262 }
d55e5bfc 12263 if (obj5) {
093d3ff1
RD
12264 {
12265 arg6 = (bool)(SWIG_As_bool(obj5));
12266 if (SWIG_arg_fail(6)) SWIG_fail;
12267 }
d55e5bfc
RD
12268 }
12269 {
12270 PyThreadState* __tstate = wxPyBeginAllowThreads();
12271 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
12272
12273 wxPyEndAllowThreads(__tstate);
12274 if (PyErr_Occurred()) SWIG_fail;
12275 }
12276 Py_INCREF(Py_None); resultobj = Py_None;
12277 return resultobj;
12278 fail:
12279 return NULL;
12280}
12281
12282
c32bde28 12283static PyObject *_wrap_ScrollBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 12284 PyObject *resultobj;
093d3ff1 12285 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
12286 wxVisualAttributes result;
12287 PyObject * obj0 = 0 ;
12288 char *kwnames[] = {
12289 (char *) "variant", NULL
12290 };
12291
12292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
12293 if (obj0) {
093d3ff1
RD
12294 {
12295 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
12296 if (SWIG_arg_fail(1)) SWIG_fail;
12297 }
f20a2e1f
RD
12298 }
12299 {
19272049 12300 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
12301 PyThreadState* __tstate = wxPyBeginAllowThreads();
12302 result = wxScrollBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
12303
12304 wxPyEndAllowThreads(__tstate);
110da5b0 12305 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
12306 }
12307 {
12308 wxVisualAttributes * resultptr;
093d3ff1 12309 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
12310 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
12311 }
12312 return resultobj;
12313 fail:
12314 return NULL;
12315}
12316
12317
c32bde28 12318static PyObject * ScrollBar_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
12319 PyObject *obj;
12320 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12321 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar, obj);
12322 Py_INCREF(obj);
12323 return Py_BuildValue((char *)"");
12324}
c32bde28 12325static int _wrap_SPIN_BUTTON_NAME_set(PyObject *) {
d55e5bfc
RD
12326 PyErr_SetString(PyExc_TypeError,"Variable SPIN_BUTTON_NAME is read-only.");
12327 return 1;
12328}
12329
12330
093d3ff1 12331static PyObject *_wrap_SPIN_BUTTON_NAME_get(void) {
d55e5bfc
RD
12332 PyObject *pyobj;
12333
12334 {
12335#if wxUSE_UNICODE
12336 pyobj = PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
12337#else
12338 pyobj = PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
12339#endif
12340 }
12341 return pyobj;
12342}
12343
12344
c32bde28 12345static int _wrap_SpinCtrlNameStr_set(PyObject *) {
d55e5bfc
RD
12346 PyErr_SetString(PyExc_TypeError,"Variable SpinCtrlNameStr is read-only.");
12347 return 1;
12348}
12349
12350
093d3ff1 12351static PyObject *_wrap_SpinCtrlNameStr_get(void) {
d55e5bfc
RD
12352 PyObject *pyobj;
12353
12354 {
12355#if wxUSE_UNICODE
12356 pyobj = PyUnicode_FromWideChar((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
12357#else
12358 pyobj = PyString_FromStringAndSize((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
12359#endif
12360 }
12361 return pyobj;
12362}
12363
12364
c32bde28 12365static PyObject *_wrap_new_SpinButton(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12366 PyObject *resultobj;
12367 wxWindow *arg1 = (wxWindow *) 0 ;
12368 int arg2 = (int) -1 ;
12369 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12370 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12371 wxSize const &arg4_defvalue = wxDefaultSize ;
12372 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12373 long arg5 = (long) wxSP_HORIZONTAL ;
12374 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
12375 wxString *arg6 = (wxString *) &arg6_defvalue ;
12376 wxSpinButton *result;
12377 wxPoint temp3 ;
12378 wxSize temp4 ;
ae8162c8 12379 bool temp6 = false ;
d55e5bfc
RD
12380 PyObject * obj0 = 0 ;
12381 PyObject * obj1 = 0 ;
12382 PyObject * obj2 = 0 ;
12383 PyObject * obj3 = 0 ;
12384 PyObject * obj4 = 0 ;
12385 PyObject * obj5 = 0 ;
12386 char *kwnames[] = {
12387 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12388 };
12389
12390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SpinButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
12391 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12392 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 12393 if (obj1) {
093d3ff1
RD
12394 {
12395 arg2 = (int)(SWIG_As_int(obj1));
12396 if (SWIG_arg_fail(2)) SWIG_fail;
12397 }
d55e5bfc
RD
12398 }
12399 if (obj2) {
12400 {
12401 arg3 = &temp3;
12402 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12403 }
12404 }
12405 if (obj3) {
12406 {
12407 arg4 = &temp4;
12408 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12409 }
12410 }
12411 if (obj4) {
093d3ff1
RD
12412 {
12413 arg5 = (long)(SWIG_As_long(obj4));
12414 if (SWIG_arg_fail(5)) SWIG_fail;
12415 }
d55e5bfc
RD
12416 }
12417 if (obj5) {
12418 {
12419 arg6 = wxString_in_helper(obj5);
12420 if (arg6 == NULL) SWIG_fail;
ae8162c8 12421 temp6 = true;
d55e5bfc
RD
12422 }
12423 }
12424 {
0439c23b 12425 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
12426 PyThreadState* __tstate = wxPyBeginAllowThreads();
12427 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12428
12429 wxPyEndAllowThreads(__tstate);
110da5b0 12430 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
12431 }
12432 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
12433 {
12434 if (temp6)
12435 delete arg6;
12436 }
12437 return resultobj;
12438 fail:
12439 {
12440 if (temp6)
12441 delete arg6;
12442 }
12443 return NULL;
12444}
12445
12446
c32bde28 12447static PyObject *_wrap_new_PreSpinButton(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12448 PyObject *resultobj;
12449 wxSpinButton *result;
12450 char *kwnames[] = {
12451 NULL
12452 };
12453
12454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinButton",kwnames)) goto fail;
12455 {
0439c23b 12456 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
12457 PyThreadState* __tstate = wxPyBeginAllowThreads();
12458 result = (wxSpinButton *)new wxSpinButton();
12459
12460 wxPyEndAllowThreads(__tstate);
110da5b0 12461 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
12462 }
12463 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
12464 return resultobj;
12465 fail:
12466 return NULL;
12467}
12468
12469
c32bde28 12470static PyObject *_wrap_SpinButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12471 PyObject *resultobj;
12472 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12473 wxWindow *arg2 = (wxWindow *) 0 ;
12474 int arg3 = (int) -1 ;
12475 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12476 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12477 wxSize const &arg5_defvalue = wxDefaultSize ;
12478 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12479 long arg6 = (long) wxSP_HORIZONTAL ;
12480 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
12481 wxString *arg7 = (wxString *) &arg7_defvalue ;
12482 bool result;
12483 wxPoint temp4 ;
12484 wxSize temp5 ;
ae8162c8 12485 bool temp7 = false ;
d55e5bfc
RD
12486 PyObject * obj0 = 0 ;
12487 PyObject * obj1 = 0 ;
12488 PyObject * obj2 = 0 ;
12489 PyObject * obj3 = 0 ;
12490 PyObject * obj4 = 0 ;
12491 PyObject * obj5 = 0 ;
12492 PyObject * obj6 = 0 ;
12493 char *kwnames[] = {
12494 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12495 };
12496
12497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SpinButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
12498 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12499 if (SWIG_arg_fail(1)) SWIG_fail;
12500 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12501 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 12502 if (obj2) {
093d3ff1
RD
12503 {
12504 arg3 = (int)(SWIG_As_int(obj2));
12505 if (SWIG_arg_fail(3)) SWIG_fail;
12506 }
d55e5bfc
RD
12507 }
12508 if (obj3) {
12509 {
12510 arg4 = &temp4;
12511 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12512 }
12513 }
12514 if (obj4) {
12515 {
12516 arg5 = &temp5;
12517 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12518 }
12519 }
12520 if (obj5) {
093d3ff1
RD
12521 {
12522 arg6 = (long)(SWIG_As_long(obj5));
12523 if (SWIG_arg_fail(6)) SWIG_fail;
12524 }
d55e5bfc
RD
12525 }
12526 if (obj6) {
12527 {
12528 arg7 = wxString_in_helper(obj6);
12529 if (arg7 == NULL) SWIG_fail;
ae8162c8 12530 temp7 = true;
d55e5bfc
RD
12531 }
12532 }
12533 {
12534 PyThreadState* __tstate = wxPyBeginAllowThreads();
12535 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12536
12537 wxPyEndAllowThreads(__tstate);
12538 if (PyErr_Occurred()) SWIG_fail;
12539 }
12540 {
12541 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12542 }
12543 {
12544 if (temp7)
12545 delete arg7;
12546 }
12547 return resultobj;
12548 fail:
12549 {
12550 if (temp7)
12551 delete arg7;
12552 }
12553 return NULL;
12554}
12555
12556
c32bde28 12557static PyObject *_wrap_SpinButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12558 PyObject *resultobj;
12559 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12560 int result;
12561 PyObject * obj0 = 0 ;
12562 char *kwnames[] = {
12563 (char *) "self", NULL
12564 };
12565
12566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
12567 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12568 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12569 {
12570 PyThreadState* __tstate = wxPyBeginAllowThreads();
12571 result = (int)((wxSpinButton const *)arg1)->GetValue();
12572
12573 wxPyEndAllowThreads(__tstate);
12574 if (PyErr_Occurred()) SWIG_fail;
12575 }
093d3ff1
RD
12576 {
12577 resultobj = SWIG_From_int((int)(result));
12578 }
d55e5bfc
RD
12579 return resultobj;
12580 fail:
12581 return NULL;
12582}
12583
12584
c32bde28 12585static PyObject *_wrap_SpinButton_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12586 PyObject *resultobj;
12587 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12588 int result;
12589 PyObject * obj0 = 0 ;
12590 char *kwnames[] = {
12591 (char *) "self", NULL
12592 };
12593
12594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMin",kwnames,&obj0)) goto fail;
093d3ff1
RD
12595 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12596 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12597 {
12598 PyThreadState* __tstate = wxPyBeginAllowThreads();
12599 result = (int)((wxSpinButton const *)arg1)->GetMin();
12600
12601 wxPyEndAllowThreads(__tstate);
12602 if (PyErr_Occurred()) SWIG_fail;
12603 }
093d3ff1
RD
12604 {
12605 resultobj = SWIG_From_int((int)(result));
12606 }
d55e5bfc
RD
12607 return resultobj;
12608 fail:
12609 return NULL;
12610}
12611
12612
c32bde28 12613static PyObject *_wrap_SpinButton_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12614 PyObject *resultobj;
12615 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12616 int result;
12617 PyObject * obj0 = 0 ;
12618 char *kwnames[] = {
12619 (char *) "self", NULL
12620 };
12621
12622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMax",kwnames,&obj0)) goto fail;
093d3ff1
RD
12623 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12624 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12625 {
12626 PyThreadState* __tstate = wxPyBeginAllowThreads();
12627 result = (int)((wxSpinButton const *)arg1)->GetMax();
12628
12629 wxPyEndAllowThreads(__tstate);
12630 if (PyErr_Occurred()) SWIG_fail;
12631 }
093d3ff1
RD
12632 {
12633 resultobj = SWIG_From_int((int)(result));
12634 }
d55e5bfc
RD
12635 return resultobj;
12636 fail:
12637 return NULL;
12638}
12639
12640
c32bde28 12641static PyObject *_wrap_SpinButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12642 PyObject *resultobj;
12643 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12644 int arg2 ;
12645 PyObject * obj0 = 0 ;
12646 PyObject * obj1 = 0 ;
12647 char *kwnames[] = {
12648 (char *) "self",(char *) "val", NULL
12649 };
12650
12651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12652 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12653 if (SWIG_arg_fail(1)) SWIG_fail;
12654 {
12655 arg2 = (int)(SWIG_As_int(obj1));
12656 if (SWIG_arg_fail(2)) SWIG_fail;
12657 }
d55e5bfc
RD
12658 {
12659 PyThreadState* __tstate = wxPyBeginAllowThreads();
12660 (arg1)->SetValue(arg2);
12661
12662 wxPyEndAllowThreads(__tstate);
12663 if (PyErr_Occurred()) SWIG_fail;
12664 }
12665 Py_INCREF(Py_None); resultobj = Py_None;
12666 return resultobj;
12667 fail:
12668 return NULL;
12669}
12670
12671
c32bde28 12672static PyObject *_wrap_SpinButton_SetMin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12673 PyObject *resultobj;
12674 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12675 int arg2 ;
12676 PyObject * obj0 = 0 ;
12677 PyObject * obj1 = 0 ;
12678 char *kwnames[] = {
12679 (char *) "self",(char *) "minVal", NULL
12680 };
12681
12682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMin",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12683 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12684 if (SWIG_arg_fail(1)) SWIG_fail;
12685 {
12686 arg2 = (int)(SWIG_As_int(obj1));
12687 if (SWIG_arg_fail(2)) SWIG_fail;
12688 }
d55e5bfc
RD
12689 {
12690 PyThreadState* __tstate = wxPyBeginAllowThreads();
12691 (arg1)->SetMin(arg2);
12692
12693 wxPyEndAllowThreads(__tstate);
12694 if (PyErr_Occurred()) SWIG_fail;
12695 }
12696 Py_INCREF(Py_None); resultobj = Py_None;
12697 return resultobj;
12698 fail:
12699 return NULL;
12700}
12701
12702
c32bde28 12703static PyObject *_wrap_SpinButton_SetMax(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12704 PyObject *resultobj;
12705 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12706 int arg2 ;
12707 PyObject * obj0 = 0 ;
12708 PyObject * obj1 = 0 ;
12709 char *kwnames[] = {
12710 (char *) "self",(char *) "maxVal", NULL
12711 };
12712
12713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMax",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12714 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12715 if (SWIG_arg_fail(1)) SWIG_fail;
12716 {
12717 arg2 = (int)(SWIG_As_int(obj1));
12718 if (SWIG_arg_fail(2)) SWIG_fail;
12719 }
d55e5bfc
RD
12720 {
12721 PyThreadState* __tstate = wxPyBeginAllowThreads();
12722 (arg1)->SetMax(arg2);
12723
12724 wxPyEndAllowThreads(__tstate);
12725 if (PyErr_Occurred()) SWIG_fail;
12726 }
12727 Py_INCREF(Py_None); resultobj = Py_None;
12728 return resultobj;
12729 fail:
12730 return NULL;
12731}
12732
12733
c32bde28 12734static PyObject *_wrap_SpinButton_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12735 PyObject *resultobj;
12736 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12737 int arg2 ;
12738 int arg3 ;
12739 PyObject * obj0 = 0 ;
12740 PyObject * obj1 = 0 ;
12741 PyObject * obj2 = 0 ;
12742 char *kwnames[] = {
12743 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
12744 };
12745
12746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinButton_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
12747 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12748 if (SWIG_arg_fail(1)) SWIG_fail;
12749 {
12750 arg2 = (int)(SWIG_As_int(obj1));
12751 if (SWIG_arg_fail(2)) SWIG_fail;
12752 }
12753 {
12754 arg3 = (int)(SWIG_As_int(obj2));
12755 if (SWIG_arg_fail(3)) SWIG_fail;
12756 }
d55e5bfc
RD
12757 {
12758 PyThreadState* __tstate = wxPyBeginAllowThreads();
12759 (arg1)->SetRange(arg2,arg3);
12760
12761 wxPyEndAllowThreads(__tstate);
12762 if (PyErr_Occurred()) SWIG_fail;
12763 }
f20a2e1f
RD
12764 Py_INCREF(Py_None); resultobj = Py_None;
12765 return resultobj;
12766 fail:
12767 return NULL;
12768}
12769
12770
c32bde28 12771static PyObject *_wrap_SpinButton_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f
RD
12772 PyObject *resultobj;
12773 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12774 bool result;
12775 PyObject * obj0 = 0 ;
12776 char *kwnames[] = {
12777 (char *) "self", NULL
12778 };
12779
12780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_IsVertical",kwnames,&obj0)) goto fail;
093d3ff1
RD
12781 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12782 if (SWIG_arg_fail(1)) SWIG_fail;
f20a2e1f
RD
12783 {
12784 PyThreadState* __tstate = wxPyBeginAllowThreads();
12785 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
12786
12787 wxPyEndAllowThreads(__tstate);
12788 if (PyErr_Occurred()) SWIG_fail;
12789 }
12790 {
12791 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12792 }
d55e5bfc
RD
12793 return resultobj;
12794 fail:
12795 return NULL;
12796}
12797
12798
c32bde28 12799static PyObject *_wrap_SpinButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 12800 PyObject *resultobj;
093d3ff1 12801 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f 12802 wxVisualAttributes result;
d55e5bfc
RD
12803 PyObject * obj0 = 0 ;
12804 char *kwnames[] = {
f20a2e1f 12805 (char *) "variant", NULL
d55e5bfc
RD
12806 };
12807
f20a2e1f
RD
12808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
12809 if (obj0) {
093d3ff1
RD
12810 {
12811 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
12812 if (SWIG_arg_fail(1)) SWIG_fail;
12813 }
f20a2e1f 12814 }
d55e5bfc 12815 {
19272049 12816 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 12817 PyThreadState* __tstate = wxPyBeginAllowThreads();
f20a2e1f 12818 result = wxSpinButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
d55e5bfc
RD
12819
12820 wxPyEndAllowThreads(__tstate);
110da5b0 12821 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
12822 }
12823 {
f20a2e1f 12824 wxVisualAttributes * resultptr;
093d3ff1 12825 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f 12826 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
d55e5bfc
RD
12827 }
12828 return resultobj;
12829 fail:
12830 return NULL;
12831}
12832
12833
c32bde28 12834static PyObject * SpinButton_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
12835 PyObject *obj;
12836 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12837 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton, obj);
12838 Py_INCREF(obj);
12839 return Py_BuildValue((char *)"");
12840}
c32bde28 12841static PyObject *_wrap_new_SpinCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12842 PyObject *resultobj;
12843 wxWindow *arg1 = (wxWindow *) 0 ;
12844 int arg2 = (int) -1 ;
12845 wxString const &arg3_defvalue = wxPyEmptyString ;
12846 wxString *arg3 = (wxString *) &arg3_defvalue ;
12847 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12848 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12849 wxSize const &arg5_defvalue = wxDefaultSize ;
12850 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12851 long arg6 = (long) wxSP_ARROW_KEYS ;
12852 int arg7 = (int) 0 ;
12853 int arg8 = (int) 100 ;
12854 int arg9 = (int) 0 ;
12855 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
12856 wxString *arg10 = (wxString *) &arg10_defvalue ;
12857 wxSpinCtrl *result;
ae8162c8 12858 bool temp3 = false ;
d55e5bfc
RD
12859 wxPoint temp4 ;
12860 wxSize temp5 ;
ae8162c8 12861 bool temp10 = false ;
d55e5bfc
RD
12862 PyObject * obj0 = 0 ;
12863 PyObject * obj1 = 0 ;
12864 PyObject * obj2 = 0 ;
12865 PyObject * obj3 = 0 ;
12866 PyObject * obj4 = 0 ;
12867 PyObject * obj5 = 0 ;
12868 PyObject * obj6 = 0 ;
12869 PyObject * obj7 = 0 ;
12870 PyObject * obj8 = 0 ;
12871 PyObject * obj9 = 0 ;
12872 char *kwnames[] = {
12873 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
12874 };
12875
12876 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
12877 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12878 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 12879 if (obj1) {
093d3ff1
RD
12880 {
12881 arg2 = (int)(SWIG_As_int(obj1));
12882 if (SWIG_arg_fail(2)) SWIG_fail;
12883 }
d55e5bfc
RD
12884 }
12885 if (obj2) {
12886 {
12887 arg3 = wxString_in_helper(obj2);
12888 if (arg3 == NULL) SWIG_fail;
ae8162c8 12889 temp3 = true;
d55e5bfc
RD
12890 }
12891 }
12892 if (obj3) {
12893 {
12894 arg4 = &temp4;
12895 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12896 }
12897 }
12898 if (obj4) {
12899 {
12900 arg5 = &temp5;
12901 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12902 }
12903 }
12904 if (obj5) {
093d3ff1
RD
12905 {
12906 arg6 = (long)(SWIG_As_long(obj5));
12907 if (SWIG_arg_fail(6)) SWIG_fail;
12908 }
d55e5bfc
RD
12909 }
12910 if (obj6) {
093d3ff1
RD
12911 {
12912 arg7 = (int)(SWIG_As_int(obj6));
12913 if (SWIG_arg_fail(7)) SWIG_fail;
12914 }
d55e5bfc
RD
12915 }
12916 if (obj7) {
093d3ff1
RD
12917 {
12918 arg8 = (int)(SWIG_As_int(obj7));
12919 if (SWIG_arg_fail(8)) SWIG_fail;
12920 }
d55e5bfc
RD
12921 }
12922 if (obj8) {
093d3ff1
RD
12923 {
12924 arg9 = (int)(SWIG_As_int(obj8));
12925 if (SWIG_arg_fail(9)) SWIG_fail;
12926 }
d55e5bfc
RD
12927 }
12928 if (obj9) {
12929 {
12930 arg10 = wxString_in_helper(obj9);
12931 if (arg10 == NULL) SWIG_fail;
ae8162c8 12932 temp10 = true;
d55e5bfc
RD
12933 }
12934 }
12935 {
0439c23b 12936 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
12937 PyThreadState* __tstate = wxPyBeginAllowThreads();
12938 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
12939
12940 wxPyEndAllowThreads(__tstate);
110da5b0 12941 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
12942 }
12943 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
12944 {
12945 if (temp3)
12946 delete arg3;
12947 }
12948 {
12949 if (temp10)
12950 delete arg10;
12951 }
12952 return resultobj;
12953 fail:
12954 {
12955 if (temp3)
12956 delete arg3;
12957 }
12958 {
12959 if (temp10)
12960 delete arg10;
12961 }
12962 return NULL;
12963}
12964
12965
c32bde28 12966static PyObject *_wrap_new_PreSpinCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12967 PyObject *resultobj;
12968 wxSpinCtrl *result;
12969 char *kwnames[] = {
12970 NULL
12971 };
12972
12973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinCtrl",kwnames)) goto fail;
12974 {
0439c23b 12975 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
12976 PyThreadState* __tstate = wxPyBeginAllowThreads();
12977 result = (wxSpinCtrl *)new wxSpinCtrl();
12978
12979 wxPyEndAllowThreads(__tstate);
110da5b0 12980 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
12981 }
12982 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
12983 return resultobj;
12984 fail:
12985 return NULL;
12986}
12987
12988
c32bde28 12989static PyObject *_wrap_SpinCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12990 PyObject *resultobj;
12991 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
12992 wxWindow *arg2 = (wxWindow *) 0 ;
12993 int arg3 = (int) -1 ;
12994 wxString const &arg4_defvalue = wxPyEmptyString ;
12995 wxString *arg4 = (wxString *) &arg4_defvalue ;
12996 wxPoint const &arg5_defvalue = wxDefaultPosition ;
12997 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
12998 wxSize const &arg6_defvalue = wxDefaultSize ;
12999 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13000 long arg7 = (long) wxSP_ARROW_KEYS ;
13001 int arg8 = (int) 0 ;
13002 int arg9 = (int) 100 ;
13003 int arg10 = (int) 0 ;
13004 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
13005 wxString *arg11 = (wxString *) &arg11_defvalue ;
13006 bool result;
ae8162c8 13007 bool temp4 = false ;
d55e5bfc
RD
13008 wxPoint temp5 ;
13009 wxSize temp6 ;
ae8162c8 13010 bool temp11 = false ;
d55e5bfc
RD
13011 PyObject * obj0 = 0 ;
13012 PyObject * obj1 = 0 ;
13013 PyObject * obj2 = 0 ;
13014 PyObject * obj3 = 0 ;
13015 PyObject * obj4 = 0 ;
13016 PyObject * obj5 = 0 ;
13017 PyObject * obj6 = 0 ;
13018 PyObject * obj7 = 0 ;
13019 PyObject * obj8 = 0 ;
13020 PyObject * obj9 = 0 ;
13021 PyObject * obj10 = 0 ;
13022 char *kwnames[] = {
13023 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
13024 };
13025
13026 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
13027 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13028 if (SWIG_arg_fail(1)) SWIG_fail;
13029 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13030 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 13031 if (obj2) {
093d3ff1
RD
13032 {
13033 arg3 = (int)(SWIG_As_int(obj2));
13034 if (SWIG_arg_fail(3)) SWIG_fail;
13035 }
d55e5bfc
RD
13036 }
13037 if (obj3) {
13038 {
13039 arg4 = wxString_in_helper(obj3);
13040 if (arg4 == NULL) SWIG_fail;
ae8162c8 13041 temp4 = true;
d55e5bfc
RD
13042 }
13043 }
13044 if (obj4) {
13045 {
13046 arg5 = &temp5;
13047 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13048 }
13049 }
13050 if (obj5) {
13051 {
13052 arg6 = &temp6;
13053 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13054 }
13055 }
13056 if (obj6) {
093d3ff1
RD
13057 {
13058 arg7 = (long)(SWIG_As_long(obj6));
13059 if (SWIG_arg_fail(7)) SWIG_fail;
13060 }
d55e5bfc
RD
13061 }
13062 if (obj7) {
093d3ff1
RD
13063 {
13064 arg8 = (int)(SWIG_As_int(obj7));
13065 if (SWIG_arg_fail(8)) SWIG_fail;
13066 }
d55e5bfc
RD
13067 }
13068 if (obj8) {
093d3ff1
RD
13069 {
13070 arg9 = (int)(SWIG_As_int(obj8));
13071 if (SWIG_arg_fail(9)) SWIG_fail;
13072 }
d55e5bfc
RD
13073 }
13074 if (obj9) {
093d3ff1
RD
13075 {
13076 arg10 = (int)(SWIG_As_int(obj9));
13077 if (SWIG_arg_fail(10)) SWIG_fail;
13078 }
d55e5bfc
RD
13079 }
13080 if (obj10) {
13081 {
13082 arg11 = wxString_in_helper(obj10);
13083 if (arg11 == NULL) SWIG_fail;
ae8162c8 13084 temp11 = true;
d55e5bfc
RD
13085 }
13086 }
13087 {
13088 PyThreadState* __tstate = wxPyBeginAllowThreads();
13089 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
13090
13091 wxPyEndAllowThreads(__tstate);
13092 if (PyErr_Occurred()) SWIG_fail;
13093 }
13094 {
13095 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13096 }
13097 {
13098 if (temp4)
13099 delete arg4;
13100 }
13101 {
13102 if (temp11)
13103 delete arg11;
13104 }
13105 return resultobj;
13106 fail:
13107 {
13108 if (temp4)
13109 delete arg4;
13110 }
13111 {
13112 if (temp11)
13113 delete arg11;
13114 }
13115 return NULL;
13116}
13117
13118
c32bde28 13119static PyObject *_wrap_SpinCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13120 PyObject *resultobj;
13121 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13122 int result;
13123 PyObject * obj0 = 0 ;
13124 char *kwnames[] = {
13125 (char *) "self", NULL
13126 };
13127
13128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
13129 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13130 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13131 {
13132 PyThreadState* __tstate = wxPyBeginAllowThreads();
13133 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
13134
13135 wxPyEndAllowThreads(__tstate);
13136 if (PyErr_Occurred()) SWIG_fail;
13137 }
093d3ff1
RD
13138 {
13139 resultobj = SWIG_From_int((int)(result));
13140 }
d55e5bfc
RD
13141 return resultobj;
13142 fail:
13143 return NULL;
13144}
13145
13146
c32bde28 13147static PyObject *_wrap_SpinCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13148 PyObject *resultobj;
13149 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13150 int arg2 ;
13151 PyObject * obj0 = 0 ;
13152 PyObject * obj1 = 0 ;
13153 char *kwnames[] = {
13154 (char *) "self",(char *) "value", NULL
13155 };
13156
13157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13158 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13159 if (SWIG_arg_fail(1)) SWIG_fail;
13160 {
13161 arg2 = (int)(SWIG_As_int(obj1));
13162 if (SWIG_arg_fail(2)) SWIG_fail;
13163 }
d55e5bfc
RD
13164 {
13165 PyThreadState* __tstate = wxPyBeginAllowThreads();
13166 (arg1)->SetValue(arg2);
13167
13168 wxPyEndAllowThreads(__tstate);
13169 if (PyErr_Occurred()) SWIG_fail;
13170 }
13171 Py_INCREF(Py_None); resultobj = Py_None;
13172 return resultobj;
13173 fail:
13174 return NULL;
13175}
13176
13177
c32bde28 13178static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13179 PyObject *resultobj;
13180 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13181 wxString *arg2 = 0 ;
ae8162c8 13182 bool temp2 = false ;
d55e5bfc
RD
13183 PyObject * obj0 = 0 ;
13184 PyObject * obj1 = 0 ;
13185 char *kwnames[] = {
13186 (char *) "self",(char *) "text", NULL
13187 };
13188
13189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13190 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13191 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13192 {
13193 arg2 = wxString_in_helper(obj1);
13194 if (arg2 == NULL) SWIG_fail;
ae8162c8 13195 temp2 = true;
d55e5bfc
RD
13196 }
13197 {
13198 PyThreadState* __tstate = wxPyBeginAllowThreads();
13199 (arg1)->SetValue((wxString const &)*arg2);
13200
13201 wxPyEndAllowThreads(__tstate);
13202 if (PyErr_Occurred()) SWIG_fail;
13203 }
13204 Py_INCREF(Py_None); resultobj = Py_None;
13205 {
13206 if (temp2)
13207 delete arg2;
13208 }
13209 return resultobj;
13210 fail:
13211 {
13212 if (temp2)
13213 delete arg2;
13214 }
13215 return NULL;
13216}
13217
13218
c32bde28 13219static PyObject *_wrap_SpinCtrl_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13220 PyObject *resultobj;
13221 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13222 int arg2 ;
13223 int arg3 ;
13224 PyObject * obj0 = 0 ;
13225 PyObject * obj1 = 0 ;
13226 PyObject * obj2 = 0 ;
13227 char *kwnames[] = {
13228 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
13229 };
13230
13231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
13232 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13233 if (SWIG_arg_fail(1)) SWIG_fail;
13234 {
13235 arg2 = (int)(SWIG_As_int(obj1));
13236 if (SWIG_arg_fail(2)) SWIG_fail;
13237 }
13238 {
13239 arg3 = (int)(SWIG_As_int(obj2));
13240 if (SWIG_arg_fail(3)) SWIG_fail;
13241 }
d55e5bfc
RD
13242 {
13243 PyThreadState* __tstate = wxPyBeginAllowThreads();
13244 (arg1)->SetRange(arg2,arg3);
13245
13246 wxPyEndAllowThreads(__tstate);
13247 if (PyErr_Occurred()) SWIG_fail;
13248 }
13249 Py_INCREF(Py_None); resultobj = Py_None;
13250 return resultobj;
13251 fail:
13252 return NULL;
13253}
13254
13255
c32bde28 13256static PyObject *_wrap_SpinCtrl_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13257 PyObject *resultobj;
13258 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13259 int result;
13260 PyObject * obj0 = 0 ;
13261 char *kwnames[] = {
13262 (char *) "self", NULL
13263 };
13264
13265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMin",kwnames,&obj0)) goto fail;
093d3ff1
RD
13266 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13267 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13268 {
13269 PyThreadState* __tstate = wxPyBeginAllowThreads();
13270 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
13271
13272 wxPyEndAllowThreads(__tstate);
13273 if (PyErr_Occurred()) SWIG_fail;
13274 }
093d3ff1
RD
13275 {
13276 resultobj = SWIG_From_int((int)(result));
13277 }
d55e5bfc
RD
13278 return resultobj;
13279 fail:
13280 return NULL;
13281}
13282
13283
c32bde28 13284static PyObject *_wrap_SpinCtrl_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13285 PyObject *resultobj;
13286 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13287 int result;
13288 PyObject * obj0 = 0 ;
13289 char *kwnames[] = {
13290 (char *) "self", NULL
13291 };
13292
13293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMax",kwnames,&obj0)) goto fail;
093d3ff1
RD
13294 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13295 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13296 {
13297 PyThreadState* __tstate = wxPyBeginAllowThreads();
13298 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
13299
13300 wxPyEndAllowThreads(__tstate);
13301 if (PyErr_Occurred()) SWIG_fail;
13302 }
093d3ff1
RD
13303 {
13304 resultobj = SWIG_From_int((int)(result));
13305 }
d55e5bfc
RD
13306 return resultobj;
13307 fail:
13308 return NULL;
13309}
13310
13311
c32bde28 13312static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13313 PyObject *resultobj;
13314 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13315 long arg2 ;
13316 long arg3 ;
13317 PyObject * obj0 = 0 ;
13318 PyObject * obj1 = 0 ;
13319 PyObject * obj2 = 0 ;
13320 char *kwnames[] = {
13321 (char *) "self",(char *) "from",(char *) "to", NULL
13322 };
13323
13324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
13325 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13326 if (SWIG_arg_fail(1)) SWIG_fail;
13327 {
13328 arg2 = (long)(SWIG_As_long(obj1));
13329 if (SWIG_arg_fail(2)) SWIG_fail;
13330 }
13331 {
13332 arg3 = (long)(SWIG_As_long(obj2));
13333 if (SWIG_arg_fail(3)) SWIG_fail;
13334 }
d55e5bfc
RD
13335 {
13336 PyThreadState* __tstate = wxPyBeginAllowThreads();
13337 (arg1)->SetSelection(arg2,arg3);
13338
13339 wxPyEndAllowThreads(__tstate);
13340 if (PyErr_Occurred()) SWIG_fail;
13341 }
13342 Py_INCREF(Py_None); resultobj = Py_None;
13343 return resultobj;
13344 fail:
13345 return NULL;
13346}
13347
13348
c32bde28 13349static PyObject *_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 13350 PyObject *resultobj;
093d3ff1 13351 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
13352 wxVisualAttributes result;
13353 PyObject * obj0 = 0 ;
13354 char *kwnames[] = {
13355 (char *) "variant", NULL
13356 };
13357
13358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
13359 if (obj0) {
093d3ff1
RD
13360 {
13361 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
13362 if (SWIG_arg_fail(1)) SWIG_fail;
13363 }
f20a2e1f
RD
13364 }
13365 {
19272049 13366 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
13367 PyThreadState* __tstate = wxPyBeginAllowThreads();
13368 result = wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
13369
13370 wxPyEndAllowThreads(__tstate);
110da5b0 13371 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
13372 }
13373 {
13374 wxVisualAttributes * resultptr;
093d3ff1 13375 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
13376 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
13377 }
13378 return resultobj;
13379 fail:
13380 return NULL;
13381}
13382
13383
c32bde28 13384static PyObject * SpinCtrl_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
13385 PyObject *obj;
13386 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13387 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl, obj);
13388 Py_INCREF(obj);
13389 return Py_BuildValue((char *)"");
13390}
c32bde28 13391static PyObject *_wrap_new_SpinEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13392 PyObject *resultobj;
13393 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13394 int arg2 = (int) 0 ;
13395 wxSpinEvent *result;
13396 PyObject * obj0 = 0 ;
13397 PyObject * obj1 = 0 ;
13398 char *kwnames[] = {
13399 (char *) "commandType",(char *) "winid", NULL
13400 };
13401
13402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SpinEvent",kwnames,&obj0,&obj1)) goto fail;
13403 if (obj0) {
093d3ff1
RD
13404 {
13405 arg1 = (wxEventType)(SWIG_As_int(obj0));
13406 if (SWIG_arg_fail(1)) SWIG_fail;
13407 }
d55e5bfc
RD
13408 }
13409 if (obj1) {
093d3ff1
RD
13410 {
13411 arg2 = (int)(SWIG_As_int(obj1));
13412 if (SWIG_arg_fail(2)) SWIG_fail;
13413 }
d55e5bfc
RD
13414 }
13415 {
13416 PyThreadState* __tstate = wxPyBeginAllowThreads();
13417 result = (wxSpinEvent *)new wxSpinEvent(arg1,arg2);
13418
13419 wxPyEndAllowThreads(__tstate);
13420 if (PyErr_Occurred()) SWIG_fail;
13421 }
13422 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinEvent, 1);
13423 return resultobj;
13424 fail:
13425 return NULL;
13426}
13427
13428
c32bde28 13429static PyObject *_wrap_SpinEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13430 PyObject *resultobj;
13431 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
13432 int result;
13433 PyObject * obj0 = 0 ;
13434 char *kwnames[] = {
13435 (char *) "self", NULL
13436 };
13437
13438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinEvent_GetPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
13439 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinEvent, SWIG_POINTER_EXCEPTION | 0);
13440 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13441 {
13442 PyThreadState* __tstate = wxPyBeginAllowThreads();
13443 result = (int)((wxSpinEvent const *)arg1)->GetPosition();
13444
13445 wxPyEndAllowThreads(__tstate);
13446 if (PyErr_Occurred()) SWIG_fail;
13447 }
093d3ff1
RD
13448 {
13449 resultobj = SWIG_From_int((int)(result));
13450 }
d55e5bfc
RD
13451 return resultobj;
13452 fail:
13453 return NULL;
13454}
13455
13456
c32bde28 13457static PyObject *_wrap_SpinEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13458 PyObject *resultobj;
13459 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
13460 int arg2 ;
13461 PyObject * obj0 = 0 ;
13462 PyObject * obj1 = 0 ;
13463 char *kwnames[] = {
13464 (char *) "self",(char *) "pos", NULL
13465 };
13466
13467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13468 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinEvent, SWIG_POINTER_EXCEPTION | 0);
13469 if (SWIG_arg_fail(1)) SWIG_fail;
13470 {
13471 arg2 = (int)(SWIG_As_int(obj1));
13472 if (SWIG_arg_fail(2)) SWIG_fail;
13473 }
d55e5bfc
RD
13474 {
13475 PyThreadState* __tstate = wxPyBeginAllowThreads();
13476 (arg1)->SetPosition(arg2);
13477
13478 wxPyEndAllowThreads(__tstate);
13479 if (PyErr_Occurred()) SWIG_fail;
13480 }
13481 Py_INCREF(Py_None); resultobj = Py_None;
13482 return resultobj;
13483 fail:
13484 return NULL;
13485}
13486
13487
c32bde28 13488static PyObject * SpinEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
13489 PyObject *obj;
13490 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13491 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent, obj);
13492 Py_INCREF(obj);
13493 return Py_BuildValue((char *)"");
13494}
c32bde28 13495static int _wrap_RadioBoxNameStr_set(PyObject *) {
d55e5bfc
RD
13496 PyErr_SetString(PyExc_TypeError,"Variable RadioBoxNameStr is read-only.");
13497 return 1;
13498}
13499
13500
093d3ff1 13501static PyObject *_wrap_RadioBoxNameStr_get(void) {
d55e5bfc
RD
13502 PyObject *pyobj;
13503
13504 {
13505#if wxUSE_UNICODE
13506 pyobj = PyUnicode_FromWideChar((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
13507#else
13508 pyobj = PyString_FromStringAndSize((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
13509#endif
13510 }
13511 return pyobj;
13512}
13513
13514
c32bde28 13515static int _wrap_RadioButtonNameStr_set(PyObject *) {
d55e5bfc
RD
13516 PyErr_SetString(PyExc_TypeError,"Variable RadioButtonNameStr is read-only.");
13517 return 1;
13518}
13519
13520
093d3ff1 13521static PyObject *_wrap_RadioButtonNameStr_get(void) {
d55e5bfc
RD
13522 PyObject *pyobj;
13523
13524 {
13525#if wxUSE_UNICODE
13526 pyobj = PyUnicode_FromWideChar((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
13527#else
13528 pyobj = PyString_FromStringAndSize((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
13529#endif
13530 }
13531 return pyobj;
13532}
13533
13534
c32bde28 13535static PyObject *_wrap_new_RadioBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13536 PyObject *resultobj;
13537 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
13538 int arg2 = (int) -1 ;
13539 wxString const &arg3_defvalue = wxPyEmptyString ;
13540 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
13541 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13542 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13543 wxSize const &arg5_defvalue = wxDefaultSize ;
13544 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13545 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
13546 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
13547 int arg7 = (int) 0 ;
13548 long arg8 = (long) wxRA_HORIZONTAL ;
13549 wxValidator const &arg9_defvalue = wxDefaultValidator ;
13550 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
13551 wxString const &arg10_defvalue = wxPyRadioBoxNameStr ;
13552 wxString *arg10 = (wxString *) &arg10_defvalue ;
13553 wxRadioBox *result;
ae8162c8 13554 bool temp3 = false ;
d55e5bfc
RD
13555 wxPoint temp4 ;
13556 wxSize temp5 ;
ae8162c8
RD
13557 bool temp6 = false ;
13558 bool temp10 = false ;
d55e5bfc
RD
13559 PyObject * obj0 = 0 ;
13560 PyObject * obj1 = 0 ;
13561 PyObject * obj2 = 0 ;
13562 PyObject * obj3 = 0 ;
13563 PyObject * obj4 = 0 ;
13564 PyObject * obj5 = 0 ;
13565 PyObject * obj6 = 0 ;
13566 PyObject * obj7 = 0 ;
13567 PyObject * obj8 = 0 ;
13568 PyObject * obj9 = 0 ;
13569 char *kwnames[] = {
13570 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13571 };
13572
248ed943 13573 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
13574 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13575 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 13576 if (obj1) {
093d3ff1
RD
13577 {
13578 arg2 = (int)(SWIG_As_int(obj1));
13579 if (SWIG_arg_fail(2)) SWIG_fail;
13580 }
248ed943
RD
13581 }
13582 if (obj2) {
13583 {
13584 arg3 = wxString_in_helper(obj2);
13585 if (arg3 == NULL) SWIG_fail;
ae8162c8 13586 temp3 = true;
248ed943 13587 }
d55e5bfc
RD
13588 }
13589 if (obj3) {
13590 {
13591 arg4 = &temp4;
13592 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13593 }
13594 }
13595 if (obj4) {
13596 {
13597 arg5 = &temp5;
13598 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13599 }
13600 }
13601 if (obj5) {
13602 {
13603 if (! PySequence_Check(obj5)) {
13604 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
13605 SWIG_fail;
13606 }
13607 arg6 = new wxArrayString;
ae8162c8 13608 temp6 = true;
d55e5bfc
RD
13609 int i, len=PySequence_Length(obj5);
13610 for (i=0; i<len; i++) {
13611 PyObject* item = PySequence_GetItem(obj5, i);
71237536 13612 wxString* s = wxString_in_helper(item);
d55e5bfc 13613 if (PyErr_Occurred()) SWIG_fail;
71237536
RD
13614 arg6->Add(*s);
13615 delete s;
d55e5bfc 13616 Py_DECREF(item);
d55e5bfc
RD
13617 }
13618 }
13619 }
13620 if (obj6) {
093d3ff1
RD
13621 {
13622 arg7 = (int)(SWIG_As_int(obj6));
13623 if (SWIG_arg_fail(7)) SWIG_fail;
13624 }
d55e5bfc
RD
13625 }
13626 if (obj7) {
093d3ff1
RD
13627 {
13628 arg8 = (long)(SWIG_As_long(obj7));
13629 if (SWIG_arg_fail(8)) SWIG_fail;
13630 }
d55e5bfc
RD
13631 }
13632 if (obj8) {
093d3ff1
RD
13633 {
13634 SWIG_Python_ConvertPtr(obj8, (void **)&arg9, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
13635 if (SWIG_arg_fail(9)) SWIG_fail;
13636 if (arg9 == NULL) {
13637 SWIG_null_ref("wxValidator");
13638 }
13639 if (SWIG_arg_fail(9)) SWIG_fail;
d55e5bfc
RD
13640 }
13641 }
13642 if (obj9) {
13643 {
13644 arg10 = wxString_in_helper(obj9);
13645 if (arg10 == NULL) SWIG_fail;
ae8162c8 13646 temp10 = true;
d55e5bfc
RD
13647 }
13648 }
13649 {
0439c23b 13650 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
13651 PyThreadState* __tstate = wxPyBeginAllowThreads();
13652 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);
13653
13654 wxPyEndAllowThreads(__tstate);
110da5b0 13655 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
13656 }
13657 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
13658 {
13659 if (temp3)
13660 delete arg3;
13661 }
13662 {
13663 if (temp6) delete arg6;
13664 }
13665 {
13666 if (temp10)
13667 delete arg10;
13668 }
13669 return resultobj;
13670 fail:
13671 {
13672 if (temp3)
13673 delete arg3;
13674 }
13675 {
13676 if (temp6) delete arg6;
13677 }
13678 {
13679 if (temp10)
13680 delete arg10;
13681 }
13682 return NULL;
13683}
13684
13685
c32bde28 13686static PyObject *_wrap_new_PreRadioBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13687 PyObject *resultobj;
13688 wxRadioBox *result;
13689 char *kwnames[] = {
13690 NULL
13691 };
13692
13693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioBox",kwnames)) goto fail;
13694 {
0439c23b 13695 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
13696 PyThreadState* __tstate = wxPyBeginAllowThreads();
13697 result = (wxRadioBox *)new wxRadioBox();
13698
13699 wxPyEndAllowThreads(__tstate);
110da5b0 13700 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
13701 }
13702 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
13703 return resultobj;
13704 fail:
13705 return NULL;
13706}
13707
13708
c32bde28 13709static PyObject *_wrap_RadioBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13710 PyObject *resultobj;
13711 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13712 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
13713 int arg3 = (int) -1 ;
13714 wxString const &arg4_defvalue = wxPyEmptyString ;
13715 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
13716 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13717 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13718 wxSize const &arg6_defvalue = wxDefaultSize ;
13719 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13720 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
13721 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
13722 int arg8 = (int) 0 ;
13723 long arg9 = (long) wxRA_HORIZONTAL ;
13724 wxValidator const &arg10_defvalue = wxDefaultValidator ;
13725 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
13726 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
13727 wxString *arg11 = (wxString *) &arg11_defvalue ;
13728 bool result;
ae8162c8 13729 bool temp4 = false ;
d55e5bfc
RD
13730 wxPoint temp5 ;
13731 wxSize temp6 ;
ae8162c8
RD
13732 bool temp7 = false ;
13733 bool temp11 = false ;
d55e5bfc
RD
13734 PyObject * obj0 = 0 ;
13735 PyObject * obj1 = 0 ;
13736 PyObject * obj2 = 0 ;
13737 PyObject * obj3 = 0 ;
13738 PyObject * obj4 = 0 ;
13739 PyObject * obj5 = 0 ;
13740 PyObject * obj6 = 0 ;
13741 PyObject * obj7 = 0 ;
13742 PyObject * obj8 = 0 ;
13743 PyObject * obj9 = 0 ;
13744 PyObject * obj10 = 0 ;
13745 char *kwnames[] = {
13746 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13747 };
13748
248ed943 13749 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
13750 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13751 if (SWIG_arg_fail(1)) SWIG_fail;
13752 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13753 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 13754 if (obj2) {
093d3ff1
RD
13755 {
13756 arg3 = (int)(SWIG_As_int(obj2));
13757 if (SWIG_arg_fail(3)) SWIG_fail;
13758 }
248ed943
RD
13759 }
13760 if (obj3) {
13761 {
13762 arg4 = wxString_in_helper(obj3);
13763 if (arg4 == NULL) SWIG_fail;
ae8162c8 13764 temp4 = true;
248ed943 13765 }
d55e5bfc
RD
13766 }
13767 if (obj4) {
13768 {
13769 arg5 = &temp5;
13770 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13771 }
13772 }
13773 if (obj5) {
13774 {
13775 arg6 = &temp6;
13776 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13777 }
13778 }
13779 if (obj6) {
13780 {
13781 if (! PySequence_Check(obj6)) {
13782 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
13783 SWIG_fail;
13784 }
13785 arg7 = new wxArrayString;
ae8162c8 13786 temp7 = true;
d55e5bfc
RD
13787 int i, len=PySequence_Length(obj6);
13788 for (i=0; i<len; i++) {
13789 PyObject* item = PySequence_GetItem(obj6, i);
71237536 13790 wxString* s = wxString_in_helper(item);
d55e5bfc 13791 if (PyErr_Occurred()) SWIG_fail;
71237536
RD
13792 arg7->Add(*s);
13793 delete s;
d55e5bfc 13794 Py_DECREF(item);
d55e5bfc
RD
13795 }
13796 }
13797 }
13798 if (obj7) {
093d3ff1
RD
13799 {
13800 arg8 = (int)(SWIG_As_int(obj7));
13801 if (SWIG_arg_fail(8)) SWIG_fail;
13802 }
d55e5bfc
RD
13803 }
13804 if (obj8) {
093d3ff1
RD
13805 {
13806 arg9 = (long)(SWIG_As_long(obj8));
13807 if (SWIG_arg_fail(9)) SWIG_fail;
13808 }
d55e5bfc
RD
13809 }
13810 if (obj9) {
093d3ff1
RD
13811 {
13812 SWIG_Python_ConvertPtr(obj9, (void **)&arg10, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
13813 if (SWIG_arg_fail(10)) SWIG_fail;
13814 if (arg10 == NULL) {
13815 SWIG_null_ref("wxValidator");
13816 }
13817 if (SWIG_arg_fail(10)) SWIG_fail;
d55e5bfc
RD
13818 }
13819 }
13820 if (obj10) {
13821 {
13822 arg11 = wxString_in_helper(obj10);
13823 if (arg11 == NULL) SWIG_fail;
ae8162c8 13824 temp11 = true;
d55e5bfc
RD
13825 }
13826 }
13827 {
13828 PyThreadState* __tstate = wxPyBeginAllowThreads();
13829 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);
13830
13831 wxPyEndAllowThreads(__tstate);
13832 if (PyErr_Occurred()) SWIG_fail;
13833 }
13834 {
13835 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13836 }
13837 {
13838 if (temp4)
13839 delete arg4;
13840 }
13841 {
13842 if (temp7) delete arg7;
13843 }
13844 {
13845 if (temp11)
13846 delete arg11;
13847 }
13848 return resultobj;
13849 fail:
13850 {
13851 if (temp4)
13852 delete arg4;
13853 }
13854 {
13855 if (temp7) delete arg7;
13856 }
13857 {
13858 if (temp11)
13859 delete arg11;
13860 }
13861 return NULL;
13862}
13863
13864
c32bde28 13865static PyObject *_wrap_RadioBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13866 PyObject *resultobj;
13867 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13868 int arg2 ;
13869 PyObject * obj0 = 0 ;
13870 PyObject * obj1 = 0 ;
13871 char *kwnames[] = {
13872 (char *) "self",(char *) "n", NULL
13873 };
13874
13875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13876 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13877 if (SWIG_arg_fail(1)) SWIG_fail;
13878 {
13879 arg2 = (int)(SWIG_As_int(obj1));
13880 if (SWIG_arg_fail(2)) SWIG_fail;
13881 }
d55e5bfc
RD
13882 {
13883 PyThreadState* __tstate = wxPyBeginAllowThreads();
13884 (arg1)->SetSelection(arg2);
13885
13886 wxPyEndAllowThreads(__tstate);
13887 if (PyErr_Occurred()) SWIG_fail;
13888 }
13889 Py_INCREF(Py_None); resultobj = Py_None;
13890 return resultobj;
13891 fail:
13892 return NULL;
13893}
13894
13895
c32bde28 13896static PyObject *_wrap_RadioBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13897 PyObject *resultobj;
13898 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13899 int result;
13900 PyObject * obj0 = 0 ;
13901 char *kwnames[] = {
13902 (char *) "self", NULL
13903 };
13904
13905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
13906 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13907 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13908 {
13909 PyThreadState* __tstate = wxPyBeginAllowThreads();
13910 result = (int)((wxRadioBox const *)arg1)->GetSelection();
13911
13912 wxPyEndAllowThreads(__tstate);
13913 if (PyErr_Occurred()) SWIG_fail;
13914 }
093d3ff1
RD
13915 {
13916 resultobj = SWIG_From_int((int)(result));
13917 }
d55e5bfc
RD
13918 return resultobj;
13919 fail:
13920 return NULL;
13921}
13922
13923
c32bde28 13924static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13925 PyObject *resultobj;
13926 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13927 wxString result;
13928 PyObject * obj0 = 0 ;
13929 char *kwnames[] = {
13930 (char *) "self", NULL
13931 };
13932
13933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetStringSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
13934 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13935 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13936 {
13937 PyThreadState* __tstate = wxPyBeginAllowThreads();
13938 result = ((wxRadioBox const *)arg1)->GetStringSelection();
13939
13940 wxPyEndAllowThreads(__tstate);
13941 if (PyErr_Occurred()) SWIG_fail;
13942 }
13943 {
13944#if wxUSE_UNICODE
13945 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13946#else
13947 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13948#endif
13949 }
13950 return resultobj;
13951 fail:
13952 return NULL;
13953}
13954
13955
c32bde28 13956static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13957 PyObject *resultobj;
13958 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13959 wxString *arg2 = 0 ;
13960 bool result;
ae8162c8 13961 bool temp2 = false ;
d55e5bfc
RD
13962 PyObject * obj0 = 0 ;
13963 PyObject * obj1 = 0 ;
13964 char *kwnames[] = {
13965 (char *) "self",(char *) "s", NULL
13966 };
13967
13968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) 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 arg2 = wxString_in_helper(obj1);
13973 if (arg2 == NULL) SWIG_fail;
ae8162c8 13974 temp2 = true;
d55e5bfc
RD
13975 }
13976 {
13977 PyThreadState* __tstate = wxPyBeginAllowThreads();
13978 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
13979
13980 wxPyEndAllowThreads(__tstate);
13981 if (PyErr_Occurred()) SWIG_fail;
13982 }
13983 {
13984 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13985 }
13986 {
13987 if (temp2)
13988 delete arg2;
13989 }
13990 return resultobj;
13991 fail:
13992 {
13993 if (temp2)
13994 delete arg2;
13995 }
13996 return NULL;
13997}
13998
13999
c32bde28 14000static PyObject *_wrap_RadioBox_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14001 PyObject *resultobj;
14002 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14003 int result;
14004 PyObject * obj0 = 0 ;
14005 char *kwnames[] = {
14006 (char *) "self", NULL
14007 };
14008
14009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
14010 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14011 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14012 {
14013 PyThreadState* __tstate = wxPyBeginAllowThreads();
14014 result = (int)((wxRadioBox const *)arg1)->GetCount();
14015
14016 wxPyEndAllowThreads(__tstate);
14017 if (PyErr_Occurred()) SWIG_fail;
14018 }
093d3ff1
RD
14019 {
14020 resultobj = SWIG_From_int((int)(result));
14021 }
d55e5bfc
RD
14022 return resultobj;
14023 fail:
14024 return NULL;
14025}
14026
14027
c32bde28 14028static PyObject *_wrap_RadioBox_FindString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14029 PyObject *resultobj;
14030 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14031 wxString *arg2 = 0 ;
14032 int result;
ae8162c8 14033 bool temp2 = false ;
d55e5bfc
RD
14034 PyObject * obj0 = 0 ;
14035 PyObject * obj1 = 0 ;
14036 char *kwnames[] = {
14037 (char *) "self",(char *) "s", NULL
14038 };
14039
14040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14041 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14042 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14043 {
14044 arg2 = wxString_in_helper(obj1);
14045 if (arg2 == NULL) SWIG_fail;
ae8162c8 14046 temp2 = true;
d55e5bfc
RD
14047 }
14048 {
14049 PyThreadState* __tstate = wxPyBeginAllowThreads();
14050 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
14051
14052 wxPyEndAllowThreads(__tstate);
14053 if (PyErr_Occurred()) SWIG_fail;
14054 }
093d3ff1
RD
14055 {
14056 resultobj = SWIG_From_int((int)(result));
14057 }
d55e5bfc
RD
14058 {
14059 if (temp2)
14060 delete arg2;
14061 }
14062 return resultobj;
14063 fail:
14064 {
14065 if (temp2)
14066 delete arg2;
14067 }
14068 return NULL;
14069}
14070
14071
c32bde28 14072static PyObject *_wrap_RadioBox_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14073 PyObject *resultobj;
14074 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14075 int arg2 ;
14076 wxString result;
14077 PyObject * obj0 = 0 ;
14078 PyObject * obj1 = 0 ;
14079 char *kwnames[] = {
14080 (char *) "self",(char *) "n", NULL
14081 };
14082
14083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetString",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14084 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14085 if (SWIG_arg_fail(1)) SWIG_fail;
14086 {
14087 arg2 = (int)(SWIG_As_int(obj1));
14088 if (SWIG_arg_fail(2)) SWIG_fail;
14089 }
d55e5bfc
RD
14090 {
14091 PyThreadState* __tstate = wxPyBeginAllowThreads();
14092 result = ((wxRadioBox const *)arg1)->GetString(arg2);
14093
14094 wxPyEndAllowThreads(__tstate);
14095 if (PyErr_Occurred()) SWIG_fail;
14096 }
14097 {
14098#if wxUSE_UNICODE
14099 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14100#else
14101 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14102#endif
14103 }
14104 return resultobj;
14105 fail:
14106 return NULL;
14107}
14108
14109
c32bde28 14110static PyObject *_wrap_RadioBox_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14111 PyObject *resultobj;
14112 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14113 int arg2 ;
14114 wxString *arg3 = 0 ;
ae8162c8 14115 bool temp3 = false ;
d55e5bfc
RD
14116 PyObject * obj0 = 0 ;
14117 PyObject * obj1 = 0 ;
14118 PyObject * obj2 = 0 ;
14119 char *kwnames[] = {
14120 (char *) "self",(char *) "n",(char *) "label", NULL
14121 };
14122
14123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
14124 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14125 if (SWIG_arg_fail(1)) SWIG_fail;
14126 {
14127 arg2 = (int)(SWIG_As_int(obj1));
14128 if (SWIG_arg_fail(2)) SWIG_fail;
14129 }
d55e5bfc
RD
14130 {
14131 arg3 = wxString_in_helper(obj2);
14132 if (arg3 == NULL) SWIG_fail;
ae8162c8 14133 temp3 = true;
d55e5bfc
RD
14134 }
14135 {
14136 PyThreadState* __tstate = wxPyBeginAllowThreads();
14137 (arg1)->SetString(arg2,(wxString const &)*arg3);
14138
14139 wxPyEndAllowThreads(__tstate);
14140 if (PyErr_Occurred()) SWIG_fail;
14141 }
14142 Py_INCREF(Py_None); resultobj = Py_None;
14143 {
14144 if (temp3)
14145 delete arg3;
14146 }
14147 return resultobj;
14148 fail:
14149 {
14150 if (temp3)
14151 delete arg3;
14152 }
14153 return NULL;
14154}
14155
14156
c32bde28 14157static PyObject *_wrap_RadioBox_EnableItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14158 PyObject *resultobj;
14159 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14160 int arg2 ;
ae8162c8 14161 bool arg3 = (bool) true ;
d55e5bfc
RD
14162 PyObject * obj0 = 0 ;
14163 PyObject * obj1 = 0 ;
14164 PyObject * obj2 = 0 ;
14165 char *kwnames[] = {
14166 (char *) "self",(char *) "n",(char *) "enable", NULL
14167 };
14168
14169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_EnableItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
14170 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14171 if (SWIG_arg_fail(1)) SWIG_fail;
14172 {
14173 arg2 = (int)(SWIG_As_int(obj1));
14174 if (SWIG_arg_fail(2)) SWIG_fail;
14175 }
d55e5bfc 14176 if (obj2) {
093d3ff1
RD
14177 {
14178 arg3 = (bool)(SWIG_As_bool(obj2));
14179 if (SWIG_arg_fail(3)) SWIG_fail;
14180 }
d55e5bfc
RD
14181 }
14182 {
14183 PyThreadState* __tstate = wxPyBeginAllowThreads();
14184 (arg1)->Enable(arg2,arg3);
14185
14186 wxPyEndAllowThreads(__tstate);
14187 if (PyErr_Occurred()) SWIG_fail;
14188 }
14189 Py_INCREF(Py_None); resultobj = Py_None;
14190 return resultobj;
14191 fail:
14192 return NULL;
14193}
14194
14195
c32bde28 14196static PyObject *_wrap_RadioBox_ShowItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14197 PyObject *resultobj;
14198 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14199 int arg2 ;
ae8162c8 14200 bool arg3 = (bool) true ;
d55e5bfc
RD
14201 PyObject * obj0 = 0 ;
14202 PyObject * obj1 = 0 ;
14203 PyObject * obj2 = 0 ;
14204 char *kwnames[] = {
14205 (char *) "self",(char *) "n",(char *) "show", NULL
14206 };
14207
14208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_ShowItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
14209 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14210 if (SWIG_arg_fail(1)) SWIG_fail;
14211 {
14212 arg2 = (int)(SWIG_As_int(obj1));
14213 if (SWIG_arg_fail(2)) SWIG_fail;
14214 }
d55e5bfc 14215 if (obj2) {
093d3ff1
RD
14216 {
14217 arg3 = (bool)(SWIG_As_bool(obj2));
14218 if (SWIG_arg_fail(3)) SWIG_fail;
14219 }
d55e5bfc
RD
14220 }
14221 {
14222 PyThreadState* __tstate = wxPyBeginAllowThreads();
14223 (arg1)->Show(arg2,arg3);
14224
14225 wxPyEndAllowThreads(__tstate);
14226 if (PyErr_Occurred()) SWIG_fail;
14227 }
14228 Py_INCREF(Py_None); resultobj = Py_None;
14229 return resultobj;
14230 fail:
14231 return NULL;
14232}
14233
14234
c32bde28 14235static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14236 PyObject *resultobj;
14237 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14238 int result;
14239 PyObject * obj0 = 0 ;
14240 char *kwnames[] = {
14241 (char *) "self", NULL
14242 };
14243
14244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetColumnCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
14245 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14246 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14247 {
14248 PyThreadState* __tstate = wxPyBeginAllowThreads();
14249 result = (int)((wxRadioBox const *)arg1)->GetColumnCount();
14250
14251 wxPyEndAllowThreads(__tstate);
14252 if (PyErr_Occurred()) SWIG_fail;
14253 }
093d3ff1
RD
14254 {
14255 resultobj = SWIG_From_int((int)(result));
14256 }
d55e5bfc
RD
14257 return resultobj;
14258 fail:
14259 return NULL;
14260}
14261
14262
c32bde28 14263static PyObject *_wrap_RadioBox_GetRowCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14264 PyObject *resultobj;
14265 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14266 int result;
14267 PyObject * obj0 = 0 ;
14268 char *kwnames[] = {
14269 (char *) "self", NULL
14270 };
14271
14272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetRowCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
14273 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14274 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14275 {
14276 PyThreadState* __tstate = wxPyBeginAllowThreads();
14277 result = (int)((wxRadioBox const *)arg1)->GetRowCount();
14278
14279 wxPyEndAllowThreads(__tstate);
14280 if (PyErr_Occurred()) SWIG_fail;
14281 }
093d3ff1
RD
14282 {
14283 resultobj = SWIG_From_int((int)(result));
14284 }
d55e5bfc
RD
14285 return resultobj;
14286 fail:
14287 return NULL;
14288}
14289
14290
c32bde28 14291static PyObject *_wrap_RadioBox_GetNextItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14292 PyObject *resultobj;
14293 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14294 int arg2 ;
093d3ff1 14295 wxDirection arg3 ;
d55e5bfc
RD
14296 long arg4 ;
14297 int result;
14298 PyObject * obj0 = 0 ;
14299 PyObject * obj1 = 0 ;
14300 PyObject * obj2 = 0 ;
14301 PyObject * obj3 = 0 ;
14302 char *kwnames[] = {
14303 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
14304 };
14305
14306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RadioBox_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
14307 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14308 if (SWIG_arg_fail(1)) SWIG_fail;
14309 {
14310 arg2 = (int)(SWIG_As_int(obj1));
14311 if (SWIG_arg_fail(2)) SWIG_fail;
14312 }
14313 {
14314 arg3 = (wxDirection)(SWIG_As_int(obj2));
14315 if (SWIG_arg_fail(3)) SWIG_fail;
14316 }
14317 {
14318 arg4 = (long)(SWIG_As_long(obj3));
14319 if (SWIG_arg_fail(4)) SWIG_fail;
14320 }
d55e5bfc
RD
14321 {
14322 PyThreadState* __tstate = wxPyBeginAllowThreads();
14323 result = (int)((wxRadioBox const *)arg1)->GetNextItem(arg2,(wxDirection )arg3,arg4);
14324
14325 wxPyEndAllowThreads(__tstate);
14326 if (PyErr_Occurred()) SWIG_fail;
14327 }
093d3ff1
RD
14328 {
14329 resultobj = SWIG_From_int((int)(result));
14330 }
d55e5bfc
RD
14331 return resultobj;
14332 fail:
14333 return NULL;
14334}
14335
14336
c32bde28 14337static PyObject *_wrap_RadioBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 14338 PyObject *resultobj;
093d3ff1 14339 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
14340 wxVisualAttributes result;
14341 PyObject * obj0 = 0 ;
14342 char *kwnames[] = {
14343 (char *) "variant", NULL
14344 };
14345
14346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
14347 if (obj0) {
093d3ff1
RD
14348 {
14349 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
14350 if (SWIG_arg_fail(1)) SWIG_fail;
14351 }
f20a2e1f
RD
14352 }
14353 {
19272049 14354 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
14355 PyThreadState* __tstate = wxPyBeginAllowThreads();
14356 result = wxRadioBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
14357
14358 wxPyEndAllowThreads(__tstate);
110da5b0 14359 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
14360 }
14361 {
14362 wxVisualAttributes * resultptr;
093d3ff1 14363 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
14364 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
14365 }
14366 return resultobj;
14367 fail:
14368 return NULL;
14369}
14370
14371
c32bde28 14372static PyObject * RadioBox_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
14373 PyObject *obj;
14374 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14375 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox, obj);
14376 Py_INCREF(obj);
14377 return Py_BuildValue((char *)"");
14378}
c32bde28 14379static PyObject *_wrap_new_RadioButton(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14380 PyObject *resultobj;
14381 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
14382 int arg2 = (int) -1 ;
14383 wxString const &arg3_defvalue = wxPyEmptyString ;
14384 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
14385 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14386 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14387 wxSize const &arg5_defvalue = wxDefaultSize ;
14388 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14389 long arg6 = (long) 0 ;
14390 wxValidator const &arg7_defvalue = wxDefaultValidator ;
14391 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
14392 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
14393 wxString *arg8 = (wxString *) &arg8_defvalue ;
14394 wxRadioButton *result;
ae8162c8 14395 bool temp3 = false ;
d55e5bfc
RD
14396 wxPoint temp4 ;
14397 wxSize temp5 ;
ae8162c8 14398 bool temp8 = false ;
d55e5bfc
RD
14399 PyObject * obj0 = 0 ;
14400 PyObject * obj1 = 0 ;
14401 PyObject * obj2 = 0 ;
14402 PyObject * obj3 = 0 ;
14403 PyObject * obj4 = 0 ;
14404 PyObject * obj5 = 0 ;
14405 PyObject * obj6 = 0 ;
14406 PyObject * obj7 = 0 ;
14407 char *kwnames[] = {
14408 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14409 };
14410
248ed943 14411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_RadioButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
14412 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14413 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 14414 if (obj1) {
093d3ff1
RD
14415 {
14416 arg2 = (int)(SWIG_As_int(obj1));
14417 if (SWIG_arg_fail(2)) SWIG_fail;
14418 }
248ed943
RD
14419 }
14420 if (obj2) {
14421 {
14422 arg3 = wxString_in_helper(obj2);
14423 if (arg3 == NULL) SWIG_fail;
ae8162c8 14424 temp3 = true;
248ed943 14425 }
d55e5bfc
RD
14426 }
14427 if (obj3) {
14428 {
14429 arg4 = &temp4;
14430 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14431 }
14432 }
14433 if (obj4) {
14434 {
14435 arg5 = &temp5;
14436 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14437 }
14438 }
14439 if (obj5) {
093d3ff1
RD
14440 {
14441 arg6 = (long)(SWIG_As_long(obj5));
14442 if (SWIG_arg_fail(6)) SWIG_fail;
14443 }
d55e5bfc
RD
14444 }
14445 if (obj6) {
093d3ff1
RD
14446 {
14447 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14448 if (SWIG_arg_fail(7)) SWIG_fail;
14449 if (arg7 == NULL) {
14450 SWIG_null_ref("wxValidator");
14451 }
14452 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
14453 }
14454 }
14455 if (obj7) {
14456 {
14457 arg8 = wxString_in_helper(obj7);
14458 if (arg8 == NULL) SWIG_fail;
ae8162c8 14459 temp8 = true;
d55e5bfc
RD
14460 }
14461 }
14462 {
0439c23b 14463 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14464 PyThreadState* __tstate = wxPyBeginAllowThreads();
14465 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
14466
14467 wxPyEndAllowThreads(__tstate);
110da5b0 14468 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14469 }
14470 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
14471 {
14472 if (temp3)
14473 delete arg3;
14474 }
14475 {
14476 if (temp8)
14477 delete arg8;
14478 }
14479 return resultobj;
14480 fail:
14481 {
14482 if (temp3)
14483 delete arg3;
14484 }
14485 {
14486 if (temp8)
14487 delete arg8;
14488 }
14489 return NULL;
14490}
14491
14492
c32bde28 14493static PyObject *_wrap_new_PreRadioButton(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14494 PyObject *resultobj;
14495 wxRadioButton *result;
14496 char *kwnames[] = {
14497 NULL
14498 };
14499
14500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioButton",kwnames)) goto fail;
14501 {
0439c23b 14502 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14503 PyThreadState* __tstate = wxPyBeginAllowThreads();
14504 result = (wxRadioButton *)new wxRadioButton();
14505
14506 wxPyEndAllowThreads(__tstate);
110da5b0 14507 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14508 }
14509 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
14510 return resultobj;
14511 fail:
14512 return NULL;
14513}
14514
14515
c32bde28 14516static PyObject *_wrap_RadioButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14517 PyObject *resultobj;
14518 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
14519 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
14520 int arg3 = (int) -1 ;
14521 wxString const &arg4_defvalue = wxPyEmptyString ;
14522 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
14523 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14524 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14525 wxSize const &arg6_defvalue = wxDefaultSize ;
14526 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14527 long arg7 = (long) 0 ;
14528 wxValidator const &arg8_defvalue = wxDefaultValidator ;
14529 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
14530 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
14531 wxString *arg9 = (wxString *) &arg9_defvalue ;
14532 bool result;
ae8162c8 14533 bool temp4 = false ;
d55e5bfc
RD
14534 wxPoint temp5 ;
14535 wxSize temp6 ;
ae8162c8 14536 bool temp9 = false ;
d55e5bfc
RD
14537 PyObject * obj0 = 0 ;
14538 PyObject * obj1 = 0 ;
14539 PyObject * obj2 = 0 ;
14540 PyObject * obj3 = 0 ;
14541 PyObject * obj4 = 0 ;
14542 PyObject * obj5 = 0 ;
14543 PyObject * obj6 = 0 ;
14544 PyObject * obj7 = 0 ;
14545 PyObject * obj8 = 0 ;
14546 char *kwnames[] = {
14547 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14548 };
14549
248ed943 14550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
14551 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioButton, SWIG_POINTER_EXCEPTION | 0);
14552 if (SWIG_arg_fail(1)) SWIG_fail;
14553 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14554 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 14555 if (obj2) {
093d3ff1
RD
14556 {
14557 arg3 = (int)(SWIG_As_int(obj2));
14558 if (SWIG_arg_fail(3)) SWIG_fail;
14559 }
248ed943
RD
14560 }
14561 if (obj3) {
14562 {
14563 arg4 = wxString_in_helper(obj3);
14564 if (arg4 == NULL) SWIG_fail;
ae8162c8 14565 temp4 = true;
248ed943 14566 }
d55e5bfc
RD
14567 }
14568 if (obj4) {
14569 {
14570 arg5 = &temp5;
14571 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14572 }
14573 }
14574 if (obj5) {
14575 {
14576 arg6 = &temp6;
14577 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14578 }
14579 }
14580 if (obj6) {
093d3ff1
RD
14581 {
14582 arg7 = (long)(SWIG_As_long(obj6));
14583 if (SWIG_arg_fail(7)) SWIG_fail;
14584 }
d55e5bfc
RD
14585 }
14586 if (obj7) {
093d3ff1
RD
14587 {
14588 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14589 if (SWIG_arg_fail(8)) SWIG_fail;
14590 if (arg8 == NULL) {
14591 SWIG_null_ref("wxValidator");
14592 }
14593 if (SWIG_arg_fail(8)) SWIG_fail;
d55e5bfc
RD
14594 }
14595 }
14596 if (obj8) {
14597 {
14598 arg9 = wxString_in_helper(obj8);
14599 if (arg9 == NULL) SWIG_fail;
ae8162c8 14600 temp9 = true;
d55e5bfc
RD
14601 }
14602 }
14603 {
14604 PyThreadState* __tstate = wxPyBeginAllowThreads();
14605 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
14606
14607 wxPyEndAllowThreads(__tstate);
14608 if (PyErr_Occurred()) SWIG_fail;
14609 }
14610 {
14611 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14612 }
14613 {
14614 if (temp4)
14615 delete arg4;
14616 }
14617 {
14618 if (temp9)
14619 delete arg9;
14620 }
14621 return resultobj;
14622 fail:
14623 {
14624 if (temp4)
14625 delete arg4;
14626 }
14627 {
14628 if (temp9)
14629 delete arg9;
14630 }
14631 return NULL;
14632}
14633
14634
c32bde28 14635static PyObject *_wrap_RadioButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14636 PyObject *resultobj;
14637 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
14638 bool result;
14639 PyObject * obj0 = 0 ;
14640 char *kwnames[] = {
14641 (char *) "self", NULL
14642 };
14643
14644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioButton_GetValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
14645 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioButton, SWIG_POINTER_EXCEPTION | 0);
14646 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14647 {
14648 PyThreadState* __tstate = wxPyBeginAllowThreads();
14649 result = (bool)(arg1)->GetValue();
14650
14651 wxPyEndAllowThreads(__tstate);
14652 if (PyErr_Occurred()) SWIG_fail;
14653 }
14654 {
14655 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14656 }
14657 return resultobj;
14658 fail:
14659 return NULL;
14660}
14661
14662
c32bde28 14663static PyObject *_wrap_RadioButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14664 PyObject *resultobj;
14665 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
14666 bool arg2 ;
14667 PyObject * obj0 = 0 ;
14668 PyObject * obj1 = 0 ;
14669 char *kwnames[] = {
14670 (char *) "self",(char *) "value", NULL
14671 };
14672
14673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14674 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioButton, SWIG_POINTER_EXCEPTION | 0);
14675 if (SWIG_arg_fail(1)) SWIG_fail;
14676 {
14677 arg2 = (bool)(SWIG_As_bool(obj1));
14678 if (SWIG_arg_fail(2)) SWIG_fail;
14679 }
d55e5bfc
RD
14680 {
14681 PyThreadState* __tstate = wxPyBeginAllowThreads();
14682 (arg1)->SetValue(arg2);
14683
14684 wxPyEndAllowThreads(__tstate);
14685 if (PyErr_Occurred()) SWIG_fail;
14686 }
14687 Py_INCREF(Py_None); resultobj = Py_None;
14688 return resultobj;
14689 fail:
14690 return NULL;
14691}
14692
14693
c32bde28 14694static PyObject *_wrap_RadioButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 14695 PyObject *resultobj;
093d3ff1 14696 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
14697 wxVisualAttributes result;
14698 PyObject * obj0 = 0 ;
14699 char *kwnames[] = {
14700 (char *) "variant", NULL
14701 };
14702
14703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
14704 if (obj0) {
093d3ff1
RD
14705 {
14706 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
14707 if (SWIG_arg_fail(1)) SWIG_fail;
14708 }
f20a2e1f
RD
14709 }
14710 {
19272049 14711 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
14712 PyThreadState* __tstate = wxPyBeginAllowThreads();
14713 result = wxRadioButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
14714
14715 wxPyEndAllowThreads(__tstate);
110da5b0 14716 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
14717 }
14718 {
14719 wxVisualAttributes * resultptr;
093d3ff1 14720 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
14721 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
14722 }
14723 return resultobj;
14724 fail:
14725 return NULL;
14726}
14727
14728
c32bde28 14729static PyObject * RadioButton_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
14730 PyObject *obj;
14731 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14732 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton, obj);
14733 Py_INCREF(obj);
14734 return Py_BuildValue((char *)"");
14735}
c32bde28 14736static int _wrap_SliderNameStr_set(PyObject *) {
d55e5bfc
RD
14737 PyErr_SetString(PyExc_TypeError,"Variable SliderNameStr is read-only.");
14738 return 1;
14739}
14740
14741
093d3ff1 14742static PyObject *_wrap_SliderNameStr_get(void) {
d55e5bfc
RD
14743 PyObject *pyobj;
14744
14745 {
14746#if wxUSE_UNICODE
14747 pyobj = PyUnicode_FromWideChar((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
14748#else
14749 pyobj = PyString_FromStringAndSize((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
14750#endif
14751 }
14752 return pyobj;
14753}
14754
14755
c32bde28 14756static PyObject *_wrap_new_Slider(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14757 PyObject *resultobj;
14758 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
14759 int arg2 = (int) -1 ;
14760 int arg3 = (int) 0 ;
14761 int arg4 = (int) 0 ;
14762 int arg5 = (int) 100 ;
d55e5bfc
RD
14763 wxPoint const &arg6_defvalue = wxDefaultPosition ;
14764 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
14765 wxSize const &arg7_defvalue = wxDefaultSize ;
14766 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
14767 long arg8 = (long) wxSL_HORIZONTAL ;
14768 wxValidator const &arg9_defvalue = wxDefaultValidator ;
14769 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
14770 wxString const &arg10_defvalue = wxPySliderNameStr ;
14771 wxString *arg10 = (wxString *) &arg10_defvalue ;
14772 wxSlider *result;
14773 wxPoint temp6 ;
14774 wxSize temp7 ;
ae8162c8 14775 bool temp10 = false ;
d55e5bfc
RD
14776 PyObject * obj0 = 0 ;
14777 PyObject * obj1 = 0 ;
14778 PyObject * obj2 = 0 ;
14779 PyObject * obj3 = 0 ;
14780 PyObject * obj4 = 0 ;
14781 PyObject * obj5 = 0 ;
14782 PyObject * obj6 = 0 ;
14783 PyObject * obj7 = 0 ;
14784 PyObject * obj8 = 0 ;
14785 PyObject * obj9 = 0 ;
14786 char *kwnames[] = {
14787 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14788 };
14789
248ed943 14790 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
14791 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14792 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 14793 if (obj1) {
093d3ff1
RD
14794 {
14795 arg2 = (int)(SWIG_As_int(obj1));
14796 if (SWIG_arg_fail(2)) SWIG_fail;
14797 }
248ed943
RD
14798 }
14799 if (obj2) {
093d3ff1
RD
14800 {
14801 arg3 = (int)(SWIG_As_int(obj2));
14802 if (SWIG_arg_fail(3)) SWIG_fail;
14803 }
248ed943
RD
14804 }
14805 if (obj3) {
093d3ff1
RD
14806 {
14807 arg4 = (int)(SWIG_As_int(obj3));
14808 if (SWIG_arg_fail(4)) SWIG_fail;
14809 }
248ed943
RD
14810 }
14811 if (obj4) {
093d3ff1
RD
14812 {
14813 arg5 = (int)(SWIG_As_int(obj4));
14814 if (SWIG_arg_fail(5)) SWIG_fail;
14815 }
248ed943 14816 }
d55e5bfc
RD
14817 if (obj5) {
14818 {
14819 arg6 = &temp6;
14820 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
14821 }
14822 }
14823 if (obj6) {
14824 {
14825 arg7 = &temp7;
14826 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
14827 }
14828 }
14829 if (obj7) {
093d3ff1
RD
14830 {
14831 arg8 = (long)(SWIG_As_long(obj7));
14832 if (SWIG_arg_fail(8)) SWIG_fail;
14833 }
d55e5bfc
RD
14834 }
14835 if (obj8) {
093d3ff1
RD
14836 {
14837 SWIG_Python_ConvertPtr(obj8, (void **)&arg9, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14838 if (SWIG_arg_fail(9)) SWIG_fail;
14839 if (arg9 == NULL) {
14840 SWIG_null_ref("wxValidator");
14841 }
14842 if (SWIG_arg_fail(9)) SWIG_fail;
d55e5bfc
RD
14843 }
14844 }
14845 if (obj9) {
14846 {
14847 arg10 = wxString_in_helper(obj9);
14848 if (arg10 == NULL) SWIG_fail;
ae8162c8 14849 temp10 = true;
d55e5bfc
RD
14850 }
14851 }
14852 {
0439c23b 14853 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14854 PyThreadState* __tstate = wxPyBeginAllowThreads();
14855 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
14856
14857 wxPyEndAllowThreads(__tstate);
110da5b0 14858 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14859 }
14860 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
14861 {
14862 if (temp10)
14863 delete arg10;
14864 }
14865 return resultobj;
14866 fail:
14867 {
14868 if (temp10)
14869 delete arg10;
14870 }
14871 return NULL;
14872}
14873
14874
c32bde28 14875static PyObject *_wrap_new_PreSlider(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14876 PyObject *resultobj;
14877 wxSlider *result;
14878 char *kwnames[] = {
14879 NULL
14880 };
14881
14882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSlider",kwnames)) goto fail;
14883 {
0439c23b 14884 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14885 PyThreadState* __tstate = wxPyBeginAllowThreads();
14886 result = (wxSlider *)new wxSlider();
14887
14888 wxPyEndAllowThreads(__tstate);
110da5b0 14889 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14890 }
14891 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
14892 return resultobj;
14893 fail:
14894 return NULL;
14895}
14896
14897
c32bde28 14898static PyObject *_wrap_Slider_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14899 PyObject *resultobj;
14900 wxSlider *arg1 = (wxSlider *) 0 ;
14901 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
14902 int arg3 = (int) -1 ;
14903 int arg4 = (int) 0 ;
14904 int arg5 = (int) 0 ;
14905 int arg6 = (int) 100 ;
d55e5bfc
RD
14906 wxPoint const &arg7_defvalue = wxDefaultPosition ;
14907 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
14908 wxSize const &arg8_defvalue = wxDefaultSize ;
14909 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
14910 long arg9 = (long) wxSL_HORIZONTAL ;
14911 wxValidator const &arg10_defvalue = wxDefaultValidator ;
14912 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
14913 wxString const &arg11_defvalue = wxPySliderNameStr ;
14914 wxString *arg11 = (wxString *) &arg11_defvalue ;
14915 bool result;
14916 wxPoint temp7 ;
14917 wxSize temp8 ;
ae8162c8 14918 bool temp11 = false ;
d55e5bfc
RD
14919 PyObject * obj0 = 0 ;
14920 PyObject * obj1 = 0 ;
14921 PyObject * obj2 = 0 ;
14922 PyObject * obj3 = 0 ;
14923 PyObject * obj4 = 0 ;
14924 PyObject * obj5 = 0 ;
14925 PyObject * obj6 = 0 ;
14926 PyObject * obj7 = 0 ;
14927 PyObject * obj8 = 0 ;
14928 PyObject * obj9 = 0 ;
14929 PyObject * obj10 = 0 ;
14930 char *kwnames[] = {
14931 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14932 };
14933
248ed943 14934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
093d3ff1
RD
14935 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
14936 if (SWIG_arg_fail(1)) SWIG_fail;
14937 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14938 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 14939 if (obj2) {
093d3ff1
RD
14940 {
14941 arg3 = (int)(SWIG_As_int(obj2));
14942 if (SWIG_arg_fail(3)) SWIG_fail;
14943 }
248ed943
RD
14944 }
14945 if (obj3) {
093d3ff1
RD
14946 {
14947 arg4 = (int)(SWIG_As_int(obj3));
14948 if (SWIG_arg_fail(4)) SWIG_fail;
14949 }
248ed943
RD
14950 }
14951 if (obj4) {
093d3ff1
RD
14952 {
14953 arg5 = (int)(SWIG_As_int(obj4));
14954 if (SWIG_arg_fail(5)) SWIG_fail;
14955 }
248ed943
RD
14956 }
14957 if (obj5) {
093d3ff1
RD
14958 {
14959 arg6 = (int)(SWIG_As_int(obj5));
14960 if (SWIG_arg_fail(6)) SWIG_fail;
14961 }
248ed943 14962 }
d55e5bfc
RD
14963 if (obj6) {
14964 {
14965 arg7 = &temp7;
14966 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
14967 }
14968 }
14969 if (obj7) {
14970 {
14971 arg8 = &temp8;
14972 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
14973 }
14974 }
14975 if (obj8) {
093d3ff1
RD
14976 {
14977 arg9 = (long)(SWIG_As_long(obj8));
14978 if (SWIG_arg_fail(9)) SWIG_fail;
14979 }
d55e5bfc
RD
14980 }
14981 if (obj9) {
093d3ff1
RD
14982 {
14983 SWIG_Python_ConvertPtr(obj9, (void **)&arg10, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14984 if (SWIG_arg_fail(10)) SWIG_fail;
14985 if (arg10 == NULL) {
14986 SWIG_null_ref("wxValidator");
14987 }
14988 if (SWIG_arg_fail(10)) SWIG_fail;
d55e5bfc
RD
14989 }
14990 }
14991 if (obj10) {
14992 {
14993 arg11 = wxString_in_helper(obj10);
14994 if (arg11 == NULL) SWIG_fail;
ae8162c8 14995 temp11 = true;
d55e5bfc
RD
14996 }
14997 }
14998 {
14999 PyThreadState* __tstate = wxPyBeginAllowThreads();
15000 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
15001
15002 wxPyEndAllowThreads(__tstate);
15003 if (PyErr_Occurred()) SWIG_fail;
15004 }
15005 {
15006 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15007 }
15008 {
15009 if (temp11)
15010 delete arg11;
15011 }
15012 return resultobj;
15013 fail:
15014 {
15015 if (temp11)
15016 delete arg11;
15017 }
15018 return NULL;
15019}
15020
15021
c32bde28 15022static PyObject *_wrap_Slider_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15023 PyObject *resultobj;
15024 wxSlider *arg1 = (wxSlider *) 0 ;
15025 int result;
15026 PyObject * obj0 = 0 ;
15027 char *kwnames[] = {
15028 (char *) "self", NULL
15029 };
15030
15031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
15032 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15033 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15034 {
15035 PyThreadState* __tstate = wxPyBeginAllowThreads();
15036 result = (int)((wxSlider const *)arg1)->GetValue();
15037
15038 wxPyEndAllowThreads(__tstate);
15039 if (PyErr_Occurred()) SWIG_fail;
15040 }
093d3ff1
RD
15041 {
15042 resultobj = SWIG_From_int((int)(result));
15043 }
d55e5bfc
RD
15044 return resultobj;
15045 fail:
15046 return NULL;
15047}
15048
15049
c32bde28 15050static PyObject *_wrap_Slider_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15051 PyObject *resultobj;
15052 wxSlider *arg1 = (wxSlider *) 0 ;
15053 int arg2 ;
15054 PyObject * obj0 = 0 ;
15055 PyObject * obj1 = 0 ;
15056 char *kwnames[] = {
15057 (char *) "self",(char *) "value", NULL
15058 };
15059
15060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetValue",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15061 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15062 if (SWIG_arg_fail(1)) SWIG_fail;
15063 {
15064 arg2 = (int)(SWIG_As_int(obj1));
15065 if (SWIG_arg_fail(2)) SWIG_fail;
15066 }
d55e5bfc
RD
15067 {
15068 PyThreadState* __tstate = wxPyBeginAllowThreads();
15069 (arg1)->SetValue(arg2);
15070
15071 wxPyEndAllowThreads(__tstate);
15072 if (PyErr_Occurred()) SWIG_fail;
15073 }
15074 Py_INCREF(Py_None); resultobj = Py_None;
15075 return resultobj;
15076 fail:
15077 return NULL;
15078}
15079
15080
c32bde28 15081static PyObject *_wrap_Slider_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15082 PyObject *resultobj;
15083 wxSlider *arg1 = (wxSlider *) 0 ;
15084 int arg2 ;
15085 int arg3 ;
15086 PyObject * obj0 = 0 ;
15087 PyObject * obj1 = 0 ;
15088 PyObject * obj2 = 0 ;
15089 char *kwnames[] = {
15090 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
15091 };
15092
15093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
15094 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15095 if (SWIG_arg_fail(1)) SWIG_fail;
15096 {
15097 arg2 = (int)(SWIG_As_int(obj1));
15098 if (SWIG_arg_fail(2)) SWIG_fail;
15099 }
15100 {
15101 arg3 = (int)(SWIG_As_int(obj2));
15102 if (SWIG_arg_fail(3)) SWIG_fail;
15103 }
d55e5bfc
RD
15104 {
15105 PyThreadState* __tstate = wxPyBeginAllowThreads();
15106 (arg1)->SetRange(arg2,arg3);
15107
15108 wxPyEndAllowThreads(__tstate);
15109 if (PyErr_Occurred()) SWIG_fail;
15110 }
15111 Py_INCREF(Py_None); resultobj = Py_None;
15112 return resultobj;
15113 fail:
15114 return NULL;
15115}
15116
15117
c32bde28 15118static PyObject *_wrap_Slider_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15119 PyObject *resultobj;
15120 wxSlider *arg1 = (wxSlider *) 0 ;
15121 int result;
15122 PyObject * obj0 = 0 ;
15123 char *kwnames[] = {
15124 (char *) "self", NULL
15125 };
15126
15127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMin",kwnames,&obj0)) goto fail;
093d3ff1
RD
15128 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15129 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15130 {
15131 PyThreadState* __tstate = wxPyBeginAllowThreads();
15132 result = (int)((wxSlider const *)arg1)->GetMin();
15133
15134 wxPyEndAllowThreads(__tstate);
15135 if (PyErr_Occurred()) SWIG_fail;
15136 }
093d3ff1
RD
15137 {
15138 resultobj = SWIG_From_int((int)(result));
15139 }
d55e5bfc
RD
15140 return resultobj;
15141 fail:
15142 return NULL;
15143}
15144
15145
c32bde28 15146static PyObject *_wrap_Slider_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15147 PyObject *resultobj;
15148 wxSlider *arg1 = (wxSlider *) 0 ;
15149 int result;
15150 PyObject * obj0 = 0 ;
15151 char *kwnames[] = {
15152 (char *) "self", NULL
15153 };
15154
15155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMax",kwnames,&obj0)) goto fail;
093d3ff1
RD
15156 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15157 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15158 {
15159 PyThreadState* __tstate = wxPyBeginAllowThreads();
15160 result = (int)((wxSlider const *)arg1)->GetMax();
15161
15162 wxPyEndAllowThreads(__tstate);
15163 if (PyErr_Occurred()) SWIG_fail;
15164 }
093d3ff1
RD
15165 {
15166 resultobj = SWIG_From_int((int)(result));
15167 }
d55e5bfc
RD
15168 return resultobj;
15169 fail:
15170 return NULL;
15171}
15172
15173
c32bde28 15174static PyObject *_wrap_Slider_SetMin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15175 PyObject *resultobj;
15176 wxSlider *arg1 = (wxSlider *) 0 ;
15177 int arg2 ;
15178 PyObject * obj0 = 0 ;
15179 PyObject * obj1 = 0 ;
15180 char *kwnames[] = {
15181 (char *) "self",(char *) "minValue", NULL
15182 };
15183
15184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMin",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15185 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15186 if (SWIG_arg_fail(1)) SWIG_fail;
15187 {
15188 arg2 = (int)(SWIG_As_int(obj1));
15189 if (SWIG_arg_fail(2)) SWIG_fail;
15190 }
d55e5bfc
RD
15191 {
15192 PyThreadState* __tstate = wxPyBeginAllowThreads();
15193 (arg1)->SetMin(arg2);
15194
15195 wxPyEndAllowThreads(__tstate);
15196 if (PyErr_Occurred()) SWIG_fail;
15197 }
15198 Py_INCREF(Py_None); resultobj = Py_None;
15199 return resultobj;
15200 fail:
15201 return NULL;
15202}
15203
15204
c32bde28 15205static PyObject *_wrap_Slider_SetMax(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15206 PyObject *resultobj;
15207 wxSlider *arg1 = (wxSlider *) 0 ;
15208 int arg2 ;
15209 PyObject * obj0 = 0 ;
15210 PyObject * obj1 = 0 ;
15211 char *kwnames[] = {
15212 (char *) "self",(char *) "maxValue", NULL
15213 };
15214
15215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMax",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15216 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15217 if (SWIG_arg_fail(1)) SWIG_fail;
15218 {
15219 arg2 = (int)(SWIG_As_int(obj1));
15220 if (SWIG_arg_fail(2)) SWIG_fail;
15221 }
d55e5bfc
RD
15222 {
15223 PyThreadState* __tstate = wxPyBeginAllowThreads();
15224 (arg1)->SetMax(arg2);
15225
15226 wxPyEndAllowThreads(__tstate);
15227 if (PyErr_Occurred()) SWIG_fail;
15228 }
15229 Py_INCREF(Py_None); resultobj = Py_None;
15230 return resultobj;
15231 fail:
15232 return NULL;
15233}
15234
15235
c32bde28 15236static PyObject *_wrap_Slider_SetLineSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15237 PyObject *resultobj;
15238 wxSlider *arg1 = (wxSlider *) 0 ;
15239 int arg2 ;
15240 PyObject * obj0 = 0 ;
15241 PyObject * obj1 = 0 ;
15242 char *kwnames[] = {
15243 (char *) "self",(char *) "lineSize", NULL
15244 };
15245
15246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetLineSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15247 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15248 if (SWIG_arg_fail(1)) SWIG_fail;
15249 {
15250 arg2 = (int)(SWIG_As_int(obj1));
15251 if (SWIG_arg_fail(2)) SWIG_fail;
15252 }
d55e5bfc
RD
15253 {
15254 PyThreadState* __tstate = wxPyBeginAllowThreads();
15255 (arg1)->SetLineSize(arg2);
15256
15257 wxPyEndAllowThreads(__tstate);
15258 if (PyErr_Occurred()) SWIG_fail;
15259 }
15260 Py_INCREF(Py_None); resultobj = Py_None;
15261 return resultobj;
15262 fail:
15263 return NULL;
15264}
15265
15266
c32bde28 15267static PyObject *_wrap_Slider_SetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15268 PyObject *resultobj;
15269 wxSlider *arg1 = (wxSlider *) 0 ;
15270 int arg2 ;
15271 PyObject * obj0 = 0 ;
15272 PyObject * obj1 = 0 ;
15273 char *kwnames[] = {
15274 (char *) "self",(char *) "pageSize", NULL
15275 };
15276
15277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15278 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15279 if (SWIG_arg_fail(1)) SWIG_fail;
15280 {
15281 arg2 = (int)(SWIG_As_int(obj1));
15282 if (SWIG_arg_fail(2)) SWIG_fail;
15283 }
d55e5bfc
RD
15284 {
15285 PyThreadState* __tstate = wxPyBeginAllowThreads();
15286 (arg1)->SetPageSize(arg2);
15287
15288 wxPyEndAllowThreads(__tstate);
15289 if (PyErr_Occurred()) SWIG_fail;
15290 }
15291 Py_INCREF(Py_None); resultobj = Py_None;
15292 return resultobj;
15293 fail:
15294 return NULL;
15295}
15296
15297
c32bde28 15298static PyObject *_wrap_Slider_GetLineSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15299 PyObject *resultobj;
15300 wxSlider *arg1 = (wxSlider *) 0 ;
15301 int result;
15302 PyObject * obj0 = 0 ;
15303 char *kwnames[] = {
15304 (char *) "self", NULL
15305 };
15306
15307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetLineSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
15308 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15309 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15310 {
15311 PyThreadState* __tstate = wxPyBeginAllowThreads();
15312 result = (int)((wxSlider const *)arg1)->GetLineSize();
15313
15314 wxPyEndAllowThreads(__tstate);
15315 if (PyErr_Occurred()) SWIG_fail;
15316 }
093d3ff1
RD
15317 {
15318 resultobj = SWIG_From_int((int)(result));
15319 }
d55e5bfc
RD
15320 return resultobj;
15321 fail:
15322 return NULL;
15323}
15324
15325
c32bde28 15326static PyObject *_wrap_Slider_GetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15327 PyObject *resultobj;
15328 wxSlider *arg1 = (wxSlider *) 0 ;
15329 int result;
15330 PyObject * obj0 = 0 ;
15331 char *kwnames[] = {
15332 (char *) "self", NULL
15333 };
15334
15335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetPageSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
15336 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15337 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15338 {
15339 PyThreadState* __tstate = wxPyBeginAllowThreads();
15340 result = (int)((wxSlider const *)arg1)->GetPageSize();
15341
15342 wxPyEndAllowThreads(__tstate);
15343 if (PyErr_Occurred()) SWIG_fail;
15344 }
093d3ff1
RD
15345 {
15346 resultobj = SWIG_From_int((int)(result));
15347 }
d55e5bfc
RD
15348 return resultobj;
15349 fail:
15350 return NULL;
15351}
15352
15353
c32bde28 15354static PyObject *_wrap_Slider_SetThumbLength(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15355 PyObject *resultobj;
15356 wxSlider *arg1 = (wxSlider *) 0 ;
15357 int arg2 ;
15358 PyObject * obj0 = 0 ;
15359 PyObject * obj1 = 0 ;
15360 char *kwnames[] = {
15361 (char *) "self",(char *) "lenPixels", NULL
15362 };
15363
15364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetThumbLength",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15365 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15366 if (SWIG_arg_fail(1)) SWIG_fail;
15367 {
15368 arg2 = (int)(SWIG_As_int(obj1));
15369 if (SWIG_arg_fail(2)) SWIG_fail;
15370 }
d55e5bfc
RD
15371 {
15372 PyThreadState* __tstate = wxPyBeginAllowThreads();
15373 (arg1)->SetThumbLength(arg2);
15374
15375 wxPyEndAllowThreads(__tstate);
15376 if (PyErr_Occurred()) SWIG_fail;
15377 }
15378 Py_INCREF(Py_None); resultobj = Py_None;
15379 return resultobj;
15380 fail:
15381 return NULL;
15382}
15383
15384
c32bde28 15385static PyObject *_wrap_Slider_GetThumbLength(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15386 PyObject *resultobj;
15387 wxSlider *arg1 = (wxSlider *) 0 ;
15388 int result;
15389 PyObject * obj0 = 0 ;
15390 char *kwnames[] = {
15391 (char *) "self", NULL
15392 };
15393
15394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetThumbLength",kwnames,&obj0)) goto fail;
093d3ff1
RD
15395 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15396 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15397 {
15398 PyThreadState* __tstate = wxPyBeginAllowThreads();
15399 result = (int)((wxSlider const *)arg1)->GetThumbLength();
15400
15401 wxPyEndAllowThreads(__tstate);
15402 if (PyErr_Occurred()) SWIG_fail;
15403 }
093d3ff1
RD
15404 {
15405 resultobj = SWIG_From_int((int)(result));
15406 }
d55e5bfc
RD
15407 return resultobj;
15408 fail:
15409 return NULL;
15410}
15411
15412
c32bde28 15413static PyObject *_wrap_Slider_SetTickFreq(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15414 PyObject *resultobj;
15415 wxSlider *arg1 = (wxSlider *) 0 ;
15416 int arg2 ;
15417 int arg3 = (int) 1 ;
15418 PyObject * obj0 = 0 ;
15419 PyObject * obj1 = 0 ;
15420 PyObject * obj2 = 0 ;
15421 char *kwnames[] = {
15422 (char *) "self",(char *) "n",(char *) "pos", NULL
15423 };
15424
15425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Slider_SetTickFreq",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
15426 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15427 if (SWIG_arg_fail(1)) SWIG_fail;
15428 {
15429 arg2 = (int)(SWIG_As_int(obj1));
15430 if (SWIG_arg_fail(2)) SWIG_fail;
15431 }
d55e5bfc 15432 if (obj2) {
093d3ff1
RD
15433 {
15434 arg3 = (int)(SWIG_As_int(obj2));
15435 if (SWIG_arg_fail(3)) SWIG_fail;
15436 }
d55e5bfc
RD
15437 }
15438 {
15439 PyThreadState* __tstate = wxPyBeginAllowThreads();
15440 (arg1)->SetTickFreq(arg2,arg3);
15441
15442 wxPyEndAllowThreads(__tstate);
15443 if (PyErr_Occurred()) SWIG_fail;
15444 }
15445 Py_INCREF(Py_None); resultobj = Py_None;
15446 return resultobj;
15447 fail:
15448 return NULL;
15449}
15450
15451
c32bde28 15452static PyObject *_wrap_Slider_GetTickFreq(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15453 PyObject *resultobj;
15454 wxSlider *arg1 = (wxSlider *) 0 ;
15455 int result;
15456 PyObject * obj0 = 0 ;
15457 char *kwnames[] = {
15458 (char *) "self", NULL
15459 };
15460
15461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetTickFreq",kwnames,&obj0)) goto fail;
093d3ff1
RD
15462 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15463 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15464 {
15465 PyThreadState* __tstate = wxPyBeginAllowThreads();
15466 result = (int)((wxSlider const *)arg1)->GetTickFreq();
15467
15468 wxPyEndAllowThreads(__tstate);
15469 if (PyErr_Occurred()) SWIG_fail;
15470 }
093d3ff1
RD
15471 {
15472 resultobj = SWIG_From_int((int)(result));
15473 }
d55e5bfc
RD
15474 return resultobj;
15475 fail:
15476 return NULL;
15477}
15478
15479
c32bde28 15480static PyObject *_wrap_Slider_ClearTicks(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15481 PyObject *resultobj;
15482 wxSlider *arg1 = (wxSlider *) 0 ;
15483 PyObject * obj0 = 0 ;
15484 char *kwnames[] = {
15485 (char *) "self", NULL
15486 };
15487
15488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearTicks",kwnames,&obj0)) goto fail;
093d3ff1
RD
15489 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15490 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15491 {
15492 PyThreadState* __tstate = wxPyBeginAllowThreads();
15493 (arg1)->ClearTicks();
15494
15495 wxPyEndAllowThreads(__tstate);
15496 if (PyErr_Occurred()) SWIG_fail;
15497 }
15498 Py_INCREF(Py_None); resultobj = Py_None;
15499 return resultobj;
15500 fail:
15501 return NULL;
15502}
15503
15504
c32bde28 15505static PyObject *_wrap_Slider_SetTick(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15506 PyObject *resultobj;
15507 wxSlider *arg1 = (wxSlider *) 0 ;
15508 int arg2 ;
15509 PyObject * obj0 = 0 ;
15510 PyObject * obj1 = 0 ;
15511 char *kwnames[] = {
15512 (char *) "self",(char *) "tickPos", NULL
15513 };
15514
15515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetTick",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15516 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15517 if (SWIG_arg_fail(1)) SWIG_fail;
15518 {
15519 arg2 = (int)(SWIG_As_int(obj1));
15520 if (SWIG_arg_fail(2)) SWIG_fail;
15521 }
d55e5bfc
RD
15522 {
15523 PyThreadState* __tstate = wxPyBeginAllowThreads();
15524 (arg1)->SetTick(arg2);
15525
15526 wxPyEndAllowThreads(__tstate);
15527 if (PyErr_Occurred()) SWIG_fail;
15528 }
15529 Py_INCREF(Py_None); resultobj = Py_None;
15530 return resultobj;
15531 fail:
15532 return NULL;
15533}
15534
15535
c32bde28 15536static PyObject *_wrap_Slider_ClearSel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15537 PyObject *resultobj;
15538 wxSlider *arg1 = (wxSlider *) 0 ;
15539 PyObject * obj0 = 0 ;
15540 char *kwnames[] = {
15541 (char *) "self", NULL
15542 };
15543
15544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearSel",kwnames,&obj0)) goto fail;
093d3ff1
RD
15545 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15546 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15547 {
15548 PyThreadState* __tstate = wxPyBeginAllowThreads();
15549 (arg1)->ClearSel();
15550
15551 wxPyEndAllowThreads(__tstate);
15552 if (PyErr_Occurred()) SWIG_fail;
15553 }
15554 Py_INCREF(Py_None); resultobj = Py_None;
15555 return resultobj;
15556 fail:
15557 return NULL;
15558}
15559
15560
c32bde28 15561static PyObject *_wrap_Slider_GetSelEnd(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15562 PyObject *resultobj;
15563 wxSlider *arg1 = (wxSlider *) 0 ;
15564 int result;
15565 PyObject * obj0 = 0 ;
15566 char *kwnames[] = {
15567 (char *) "self", NULL
15568 };
15569
15570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelEnd",kwnames,&obj0)) goto fail;
093d3ff1
RD
15571 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15572 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15573 {
15574 PyThreadState* __tstate = wxPyBeginAllowThreads();
15575 result = (int)((wxSlider const *)arg1)->GetSelEnd();
15576
15577 wxPyEndAllowThreads(__tstate);
15578 if (PyErr_Occurred()) SWIG_fail;
15579 }
093d3ff1
RD
15580 {
15581 resultobj = SWIG_From_int((int)(result));
15582 }
d55e5bfc
RD
15583 return resultobj;
15584 fail:
15585 return NULL;
15586}
15587
15588
c32bde28 15589static PyObject *_wrap_Slider_GetSelStart(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15590 PyObject *resultobj;
15591 wxSlider *arg1 = (wxSlider *) 0 ;
15592 int result;
15593 PyObject * obj0 = 0 ;
15594 char *kwnames[] = {
15595 (char *) "self", NULL
15596 };
15597
15598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelStart",kwnames,&obj0)) goto fail;
093d3ff1
RD
15599 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15600 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15601 {
15602 PyThreadState* __tstate = wxPyBeginAllowThreads();
15603 result = (int)((wxSlider const *)arg1)->GetSelStart();
15604
15605 wxPyEndAllowThreads(__tstate);
15606 if (PyErr_Occurred()) SWIG_fail;
15607 }
093d3ff1
RD
15608 {
15609 resultobj = SWIG_From_int((int)(result));
15610 }
d55e5bfc
RD
15611 return resultobj;
15612 fail:
15613 return NULL;
15614}
15615
15616
c32bde28 15617static PyObject *_wrap_Slider_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15618 PyObject *resultobj;
15619 wxSlider *arg1 = (wxSlider *) 0 ;
15620 int arg2 ;
15621 int arg3 ;
15622 PyObject * obj0 = 0 ;
15623 PyObject * obj1 = 0 ;
15624 PyObject * obj2 = 0 ;
15625 char *kwnames[] = {
15626 (char *) "self",(char *) "min",(char *) "max", NULL
15627 };
15628
15629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
15630 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15631 if (SWIG_arg_fail(1)) SWIG_fail;
15632 {
15633 arg2 = (int)(SWIG_As_int(obj1));
15634 if (SWIG_arg_fail(2)) SWIG_fail;
15635 }
15636 {
15637 arg3 = (int)(SWIG_As_int(obj2));
15638 if (SWIG_arg_fail(3)) SWIG_fail;
15639 }
d55e5bfc
RD
15640 {
15641 PyThreadState* __tstate = wxPyBeginAllowThreads();
15642 (arg1)->SetSelection(arg2,arg3);
15643
15644 wxPyEndAllowThreads(__tstate);
15645 if (PyErr_Occurred()) SWIG_fail;
15646 }
15647 Py_INCREF(Py_None); resultobj = Py_None;
15648 return resultobj;
15649 fail:
15650 return NULL;
15651}
15652
15653
c32bde28 15654static PyObject *_wrap_Slider_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 15655 PyObject *resultobj;
093d3ff1 15656 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
15657 wxVisualAttributes result;
15658 PyObject * obj0 = 0 ;
15659 char *kwnames[] = {
15660 (char *) "variant", NULL
15661 };
15662
15663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
15664 if (obj0) {
093d3ff1
RD
15665 {
15666 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
15667 if (SWIG_arg_fail(1)) SWIG_fail;
15668 }
f20a2e1f
RD
15669 }
15670 {
19272049 15671 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
15672 PyThreadState* __tstate = wxPyBeginAllowThreads();
15673 result = wxSlider::GetClassDefaultAttributes((wxWindowVariant )arg1);
15674
15675 wxPyEndAllowThreads(__tstate);
110da5b0 15676 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
15677 }
15678 {
15679 wxVisualAttributes * resultptr;
093d3ff1 15680 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
15681 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
15682 }
15683 return resultobj;
15684 fail:
15685 return NULL;
15686}
15687
15688
c32bde28 15689static PyObject * Slider_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
15690 PyObject *obj;
15691 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15692 SWIG_TypeClientData(SWIGTYPE_p_wxSlider, obj);
15693 Py_INCREF(obj);
15694 return Py_BuildValue((char *)"");
15695}
c32bde28 15696static int _wrap_ToggleButtonNameStr_set(PyObject *) {
d55e5bfc
RD
15697 PyErr_SetString(PyExc_TypeError,"Variable ToggleButtonNameStr is read-only.");
15698 return 1;
15699}
15700
15701
093d3ff1 15702static PyObject *_wrap_ToggleButtonNameStr_get(void) {
d55e5bfc
RD
15703 PyObject *pyobj;
15704
15705 {
15706#if wxUSE_UNICODE
15707 pyobj = PyUnicode_FromWideChar((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
15708#else
15709 pyobj = PyString_FromStringAndSize((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
15710#endif
15711 }
15712 return pyobj;
15713}
15714
15715
c32bde28 15716static PyObject *_wrap_new_ToggleButton(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15717 PyObject *resultobj;
15718 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
15719 int arg2 = (int) -1 ;
15720 wxString const &arg3_defvalue = wxPyEmptyString ;
15721 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
15722 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15723 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15724 wxSize const &arg5_defvalue = wxDefaultSize ;
15725 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15726 long arg6 = (long) 0 ;
15727 wxValidator const &arg7_defvalue = wxDefaultValidator ;
15728 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
15729 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
15730 wxString *arg8 = (wxString *) &arg8_defvalue ;
15731 wxToggleButton *result;
ae8162c8 15732 bool temp3 = false ;
d55e5bfc
RD
15733 wxPoint temp4 ;
15734 wxSize temp5 ;
ae8162c8 15735 bool temp8 = false ;
d55e5bfc
RD
15736 PyObject * obj0 = 0 ;
15737 PyObject * obj1 = 0 ;
15738 PyObject * obj2 = 0 ;
15739 PyObject * obj3 = 0 ;
15740 PyObject * obj4 = 0 ;
15741 PyObject * obj5 = 0 ;
15742 PyObject * obj6 = 0 ;
15743 PyObject * obj7 = 0 ;
15744 char *kwnames[] = {
15745 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15746 };
15747
248ed943 15748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ToggleButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
15749 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15750 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 15751 if (obj1) {
093d3ff1
RD
15752 {
15753 arg2 = (int)(SWIG_As_int(obj1));
15754 if (SWIG_arg_fail(2)) SWIG_fail;
15755 }
248ed943
RD
15756 }
15757 if (obj2) {
15758 {
15759 arg3 = wxString_in_helper(obj2);
15760 if (arg3 == NULL) SWIG_fail;
ae8162c8 15761 temp3 = true;
248ed943 15762 }
d55e5bfc
RD
15763 }
15764 if (obj3) {
15765 {
15766 arg4 = &temp4;
15767 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15768 }
15769 }
15770 if (obj4) {
15771 {
15772 arg5 = &temp5;
15773 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15774 }
15775 }
15776 if (obj5) {
093d3ff1
RD
15777 {
15778 arg6 = (long)(SWIG_As_long(obj5));
15779 if (SWIG_arg_fail(6)) SWIG_fail;
15780 }
d55e5bfc
RD
15781 }
15782 if (obj6) {
093d3ff1
RD
15783 {
15784 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
15785 if (SWIG_arg_fail(7)) SWIG_fail;
15786 if (arg7 == NULL) {
15787 SWIG_null_ref("wxValidator");
15788 }
15789 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
15790 }
15791 }
15792 if (obj7) {
15793 {
15794 arg8 = wxString_in_helper(obj7);
15795 if (arg8 == NULL) SWIG_fail;
ae8162c8 15796 temp8 = true;
d55e5bfc
RD
15797 }
15798 }
15799 {
0439c23b 15800 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
15801 PyThreadState* __tstate = wxPyBeginAllowThreads();
15802 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
15803
15804 wxPyEndAllowThreads(__tstate);
110da5b0 15805 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
15806 }
15807 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
15808 {
15809 if (temp3)
15810 delete arg3;
15811 }
15812 {
15813 if (temp8)
15814 delete arg8;
15815 }
15816 return resultobj;
15817 fail:
15818 {
15819 if (temp3)
15820 delete arg3;
15821 }
15822 {
15823 if (temp8)
15824 delete arg8;
15825 }
15826 return NULL;
15827}
15828
15829
c32bde28 15830static PyObject *_wrap_new_PreToggleButton(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15831 PyObject *resultobj;
15832 wxToggleButton *result;
15833 char *kwnames[] = {
15834 NULL
15835 };
15836
15837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToggleButton",kwnames)) goto fail;
15838 {
0439c23b 15839 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
15840 PyThreadState* __tstate = wxPyBeginAllowThreads();
15841 result = (wxToggleButton *)new wxToggleButton();
15842
15843 wxPyEndAllowThreads(__tstate);
110da5b0 15844 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
15845 }
15846 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
15847 return resultobj;
15848 fail:
15849 return NULL;
15850}
15851
15852
c32bde28 15853static PyObject *_wrap_ToggleButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15854 PyObject *resultobj;
15855 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
15856 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
15857 int arg3 = (int) -1 ;
15858 wxString const &arg4_defvalue = wxPyEmptyString ;
15859 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
15860 wxPoint const &arg5_defvalue = wxDefaultPosition ;
15861 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
15862 wxSize const &arg6_defvalue = wxDefaultSize ;
15863 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
15864 long arg7 = (long) 0 ;
15865 wxValidator const &arg8_defvalue = wxDefaultValidator ;
15866 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
15867 wxString const &arg9_defvalue = wxPyToggleButtonNameStr ;
15868 wxString *arg9 = (wxString *) &arg9_defvalue ;
15869 bool result;
ae8162c8 15870 bool temp4 = false ;
d55e5bfc
RD
15871 wxPoint temp5 ;
15872 wxSize temp6 ;
ae8162c8 15873 bool temp9 = false ;
d55e5bfc
RD
15874 PyObject * obj0 = 0 ;
15875 PyObject * obj1 = 0 ;
15876 PyObject * obj2 = 0 ;
15877 PyObject * obj3 = 0 ;
15878 PyObject * obj4 = 0 ;
15879 PyObject * obj5 = 0 ;
15880 PyObject * obj6 = 0 ;
15881 PyObject * obj7 = 0 ;
15882 PyObject * obj8 = 0 ;
15883 char *kwnames[] = {
15884 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15885 };
15886
248ed943 15887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
15888 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
15889 if (SWIG_arg_fail(1)) SWIG_fail;
15890 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15891 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 15892 if (obj2) {
093d3ff1
RD
15893 {
15894 arg3 = (int)(SWIG_As_int(obj2));
15895 if (SWIG_arg_fail(3)) SWIG_fail;
15896 }
248ed943
RD
15897 }
15898 if (obj3) {
15899 {
15900 arg4 = wxString_in_helper(obj3);
15901 if (arg4 == NULL) SWIG_fail;
ae8162c8 15902 temp4 = true;
248ed943 15903 }
d55e5bfc
RD
15904 }
15905 if (obj4) {
15906 {
15907 arg5 = &temp5;
15908 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
15909 }
15910 }
15911 if (obj5) {
15912 {
15913 arg6 = &temp6;
15914 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
15915 }
15916 }
15917 if (obj6) {
093d3ff1
RD
15918 {
15919 arg7 = (long)(SWIG_As_long(obj6));
15920 if (SWIG_arg_fail(7)) SWIG_fail;
15921 }
d55e5bfc
RD
15922 }
15923 if (obj7) {
093d3ff1
RD
15924 {
15925 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
15926 if (SWIG_arg_fail(8)) SWIG_fail;
15927 if (arg8 == NULL) {
15928 SWIG_null_ref("wxValidator");
15929 }
15930 if (SWIG_arg_fail(8)) SWIG_fail;
d55e5bfc
RD
15931 }
15932 }
15933 if (obj8) {
15934 {
15935 arg9 = wxString_in_helper(obj8);
15936 if (arg9 == NULL) SWIG_fail;
ae8162c8 15937 temp9 = true;
d55e5bfc
RD
15938 }
15939 }
15940 {
15941 PyThreadState* __tstate = wxPyBeginAllowThreads();
15942 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
15943
15944 wxPyEndAllowThreads(__tstate);
15945 if (PyErr_Occurred()) SWIG_fail;
15946 }
15947 {
15948 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15949 }
15950 {
15951 if (temp4)
15952 delete arg4;
15953 }
15954 {
15955 if (temp9)
15956 delete arg9;
15957 }
15958 return resultobj;
15959 fail:
15960 {
15961 if (temp4)
15962 delete arg4;
15963 }
15964 {
15965 if (temp9)
15966 delete arg9;
15967 }
15968 return NULL;
15969}
15970
15971
c32bde28 15972static PyObject *_wrap_ToggleButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15973 PyObject *resultobj;
15974 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
15975 bool arg2 ;
15976 PyObject * obj0 = 0 ;
15977 PyObject * obj1 = 0 ;
15978 char *kwnames[] = {
15979 (char *) "self",(char *) "value", NULL
15980 };
15981
15982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15983 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
15984 if (SWIG_arg_fail(1)) SWIG_fail;
15985 {
15986 arg2 = (bool)(SWIG_As_bool(obj1));
15987 if (SWIG_arg_fail(2)) SWIG_fail;
15988 }
d55e5bfc
RD
15989 {
15990 PyThreadState* __tstate = wxPyBeginAllowThreads();
15991 (arg1)->SetValue(arg2);
15992
15993 wxPyEndAllowThreads(__tstate);
15994 if (PyErr_Occurred()) SWIG_fail;
15995 }
15996 Py_INCREF(Py_None); resultobj = Py_None;
15997 return resultobj;
15998 fail:
15999 return NULL;
16000}
16001
16002
c32bde28 16003static PyObject *_wrap_ToggleButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16004 PyObject *resultobj;
16005 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
16006 bool result;
16007 PyObject * obj0 = 0 ;
16008 char *kwnames[] = {
16009 (char *) "self", NULL
16010 };
16011
16012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToggleButton_GetValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
16013 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
16014 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16015 {
16016 PyThreadState* __tstate = wxPyBeginAllowThreads();
16017 result = (bool)((wxToggleButton const *)arg1)->GetValue();
16018
16019 wxPyEndAllowThreads(__tstate);
16020 if (PyErr_Occurred()) SWIG_fail;
16021 }
16022 {
16023 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16024 }
16025 return resultobj;
16026 fail:
16027 return NULL;
16028}
16029
16030
c32bde28 16031static PyObject *_wrap_ToggleButton_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16032 PyObject *resultobj;
16033 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
16034 wxString *arg2 = 0 ;
ae8162c8 16035 bool temp2 = false ;
d55e5bfc
RD
16036 PyObject * obj0 = 0 ;
16037 PyObject * obj1 = 0 ;
16038 char *kwnames[] = {
16039 (char *) "self",(char *) "label", NULL
16040 };
16041
16042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetLabel",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16043 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
16044 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16045 {
16046 arg2 = wxString_in_helper(obj1);
16047 if (arg2 == NULL) SWIG_fail;
ae8162c8 16048 temp2 = true;
d55e5bfc
RD
16049 }
16050 {
16051 PyThreadState* __tstate = wxPyBeginAllowThreads();
16052 (arg1)->SetLabel((wxString const &)*arg2);
16053
16054 wxPyEndAllowThreads(__tstate);
16055 if (PyErr_Occurred()) SWIG_fail;
16056 }
16057 Py_INCREF(Py_None); resultobj = Py_None;
16058 {
16059 if (temp2)
16060 delete arg2;
16061 }
16062 return resultobj;
16063 fail:
16064 {
16065 if (temp2)
16066 delete arg2;
16067 }
16068 return NULL;
16069}
16070
16071
c32bde28 16072static PyObject *_wrap_ToggleButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 16073 PyObject *resultobj;
093d3ff1 16074 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
16075 wxVisualAttributes result;
16076 PyObject * obj0 = 0 ;
16077 char *kwnames[] = {
16078 (char *) "variant", NULL
16079 };
16080
16081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
16082 if (obj0) {
093d3ff1
RD
16083 {
16084 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
16085 if (SWIG_arg_fail(1)) SWIG_fail;
16086 }
f20a2e1f
RD
16087 }
16088 {
19272049 16089 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
16090 PyThreadState* __tstate = wxPyBeginAllowThreads();
16091 result = wxToggleButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
16092
16093 wxPyEndAllowThreads(__tstate);
110da5b0 16094 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
16095 }
16096 {
16097 wxVisualAttributes * resultptr;
093d3ff1 16098 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
16099 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
16100 }
16101 return resultobj;
16102 fail:
16103 return NULL;
16104}
16105
16106
c32bde28 16107static PyObject * ToggleButton_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
16108 PyObject *obj;
16109 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16110 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton, obj);
16111 Py_INCREF(obj);
16112 return Py_BuildValue((char *)"");
16113}
51b83b37
RD
16114static int _wrap_NotebookNameStr_set(PyObject *) {
16115 PyErr_SetString(PyExc_TypeError,"Variable NotebookNameStr is read-only.");
d55e5bfc
RD
16116 return 1;
16117}
16118
16119
51b83b37 16120static PyObject *_wrap_NotebookNameStr_get(void) {
d55e5bfc
RD
16121 PyObject *pyobj;
16122
16123 {
16124#if wxUSE_UNICODE
51b83b37 16125 pyobj = PyUnicode_FromWideChar((&wxPyNotebookNameStr)->c_str(), (&wxPyNotebookNameStr)->Len());
d55e5bfc 16126#else
51b83b37 16127 pyobj = PyString_FromStringAndSize((&wxPyNotebookNameStr)->c_str(), (&wxPyNotebookNameStr)->Len());
d55e5bfc
RD
16128#endif
16129 }
16130 return pyobj;
16131}
16132
16133
8ac8dba0 16134static PyObject *_wrap_BookCtrlBase_GetPageCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16135 PyObject *resultobj;
8ac8dba0 16136 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16137 size_t result;
16138 PyObject * obj0 = 0 ;
16139 char *kwnames[] = {
16140 (char *) "self", NULL
16141 };
16142
8ac8dba0 16143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetPageCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
16144 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16145 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16146 {
16147 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 16148 result = (size_t)((wxBookCtrlBase const *)arg1)->GetPageCount();
d55e5bfc
RD
16149
16150 wxPyEndAllowThreads(__tstate);
16151 if (PyErr_Occurred()) SWIG_fail;
16152 }
093d3ff1
RD
16153 {
16154 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
16155 }
d55e5bfc
RD
16156 return resultobj;
16157 fail:
16158 return NULL;
16159}
16160
16161
8ac8dba0 16162static PyObject *_wrap_BookCtrlBase_GetPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16163 PyObject *resultobj;
8ac8dba0 16164 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16165 size_t arg2 ;
16166 wxWindow *result;
16167 PyObject * obj0 = 0 ;
16168 PyObject * obj1 = 0 ;
16169 char *kwnames[] = {
16170 (char *) "self",(char *) "n", NULL
16171 };
16172
8ac8dba0 16173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16174 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16175 if (SWIG_arg_fail(1)) SWIG_fail;
16176 {
16177 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16178 if (SWIG_arg_fail(2)) SWIG_fail;
16179 }
d55e5bfc
RD
16180 {
16181 PyThreadState* __tstate = wxPyBeginAllowThreads();
16182 result = (wxWindow *)(arg1)->GetPage(arg2);
16183
16184 wxPyEndAllowThreads(__tstate);
16185 if (PyErr_Occurred()) SWIG_fail;
16186 }
16187 {
412d302d 16188 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
16189 }
16190 return resultobj;
16191 fail:
16192 return NULL;
16193}
16194
16195
8ac8dba0 16196static PyObject *_wrap_BookCtrlBase_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
8fb0e70a 16197 PyObject *resultobj;
8ac8dba0 16198 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
8fb0e70a
RD
16199 wxWindow *result;
16200 PyObject * obj0 = 0 ;
16201 char *kwnames[] = {
16202 (char *) "self", NULL
16203 };
16204
8ac8dba0 16205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetCurrentPage",kwnames,&obj0)) goto fail;
093d3ff1
RD
16206 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16207 if (SWIG_arg_fail(1)) SWIG_fail;
8fb0e70a
RD
16208 {
16209 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 16210 result = (wxWindow *)((wxBookCtrlBase const *)arg1)->GetCurrentPage();
8fb0e70a
RD
16211
16212 wxPyEndAllowThreads(__tstate);
16213 if (PyErr_Occurred()) SWIG_fail;
16214 }
16215 {
16216 resultobj = wxPyMake_wxObject(result, 0);
16217 }
16218 return resultobj;
16219 fail:
16220 return NULL;
16221}
16222
16223
8ac8dba0 16224static PyObject *_wrap_BookCtrlBase_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16225 PyObject *resultobj;
8ac8dba0 16226 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16227 int result;
16228 PyObject * obj0 = 0 ;
16229 char *kwnames[] = {
16230 (char *) "self", NULL
16231 };
16232
8ac8dba0 16233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
16234 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16235 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16236 {
16237 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 16238 result = (int)((wxBookCtrlBase const *)arg1)->GetSelection();
d55e5bfc
RD
16239
16240 wxPyEndAllowThreads(__tstate);
16241 if (PyErr_Occurred()) SWIG_fail;
16242 }
093d3ff1
RD
16243 {
16244 resultobj = SWIG_From_int((int)(result));
16245 }
d55e5bfc
RD
16246 return resultobj;
16247 fail:
16248 return NULL;
16249}
16250
16251
8ac8dba0 16252static PyObject *_wrap_BookCtrlBase_SetPageText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16253 PyObject *resultobj;
8ac8dba0 16254 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16255 size_t arg2 ;
16256 wxString *arg3 = 0 ;
16257 bool result;
ae8162c8 16258 bool temp3 = false ;
d55e5bfc
RD
16259 PyObject * obj0 = 0 ;
16260 PyObject * obj1 = 0 ;
16261 PyObject * obj2 = 0 ;
16262 char *kwnames[] = {
16263 (char *) "self",(char *) "n",(char *) "strText", NULL
16264 };
16265
8ac8dba0 16266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageText",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
16267 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16268 if (SWIG_arg_fail(1)) SWIG_fail;
16269 {
16270 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16271 if (SWIG_arg_fail(2)) SWIG_fail;
16272 }
d55e5bfc
RD
16273 {
16274 arg3 = wxString_in_helper(obj2);
16275 if (arg3 == NULL) SWIG_fail;
ae8162c8 16276 temp3 = true;
d55e5bfc
RD
16277 }
16278 {
16279 PyThreadState* __tstate = wxPyBeginAllowThreads();
16280 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
16281
16282 wxPyEndAllowThreads(__tstate);
16283 if (PyErr_Occurred()) SWIG_fail;
16284 }
16285 {
16286 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16287 }
16288 {
16289 if (temp3)
16290 delete arg3;
16291 }
16292 return resultobj;
16293 fail:
16294 {
16295 if (temp3)
16296 delete arg3;
16297 }
16298 return NULL;
16299}
16300
16301
8ac8dba0 16302static PyObject *_wrap_BookCtrlBase_GetPageText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16303 PyObject *resultobj;
8ac8dba0 16304 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16305 size_t arg2 ;
16306 wxString result;
16307 PyObject * obj0 = 0 ;
16308 PyObject * obj1 = 0 ;
16309 char *kwnames[] = {
16310 (char *) "self",(char *) "n", NULL
16311 };
16312
8ac8dba0 16313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16314 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16315 if (SWIG_arg_fail(1)) SWIG_fail;
16316 {
16317 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16318 if (SWIG_arg_fail(2)) SWIG_fail;
16319 }
d55e5bfc
RD
16320 {
16321 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 16322 result = ((wxBookCtrlBase const *)arg1)->GetPageText(arg2);
d55e5bfc
RD
16323
16324 wxPyEndAllowThreads(__tstate);
16325 if (PyErr_Occurred()) SWIG_fail;
16326 }
16327 {
16328#if wxUSE_UNICODE
16329 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16330#else
16331 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16332#endif
16333 }
16334 return resultobj;
16335 fail:
16336 return NULL;
16337}
16338
16339
8ac8dba0 16340static PyObject *_wrap_BookCtrlBase_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16341 PyObject *resultobj;
8ac8dba0 16342 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16343 wxImageList *arg2 = (wxImageList *) 0 ;
16344 PyObject * obj0 = 0 ;
16345 PyObject * obj1 = 0 ;
16346 char *kwnames[] = {
16347 (char *) "self",(char *) "imageList", NULL
16348 };
16349
8ac8dba0 16350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetImageList",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16351 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16352 if (SWIG_arg_fail(1)) SWIG_fail;
16353 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
16354 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
16355 {
16356 PyThreadState* __tstate = wxPyBeginAllowThreads();
16357 (arg1)->SetImageList(arg2);
16358
16359 wxPyEndAllowThreads(__tstate);
16360 if (PyErr_Occurred()) SWIG_fail;
16361 }
16362 Py_INCREF(Py_None); resultobj = Py_None;
16363 return resultobj;
16364 fail:
16365 return NULL;
16366}
16367
16368
8ac8dba0 16369static PyObject *_wrap_BookCtrlBase_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16370 PyObject *resultobj;
8ac8dba0 16371 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16372 wxImageList *arg2 = (wxImageList *) 0 ;
16373 PyObject * obj0 = 0 ;
16374 PyObject * obj1 = 0 ;
16375 char *kwnames[] = {
16376 (char *) "self",(char *) "imageList", NULL
16377 };
16378
8ac8dba0 16379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16380 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16381 if (SWIG_arg_fail(1)) SWIG_fail;
16382 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
16383 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
16384 {
16385 PyThreadState* __tstate = wxPyBeginAllowThreads();
16386 (arg1)->AssignImageList(arg2);
16387
16388 wxPyEndAllowThreads(__tstate);
16389 if (PyErr_Occurred()) SWIG_fail;
16390 }
16391 Py_INCREF(Py_None); resultobj = Py_None;
16392 return resultobj;
16393 fail:
16394 return NULL;
16395}
16396
16397
8ac8dba0 16398static PyObject *_wrap_BookCtrlBase_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16399 PyObject *resultobj;
8ac8dba0 16400 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16401 wxImageList *result;
16402 PyObject * obj0 = 0 ;
16403 char *kwnames[] = {
16404 (char *) "self", NULL
16405 };
16406
8ac8dba0 16407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetImageList",kwnames,&obj0)) goto fail;
093d3ff1
RD
16408 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16409 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16410 {
16411 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 16412 result = (wxImageList *)((wxBookCtrlBase const *)arg1)->GetImageList();
d55e5bfc
RD
16413
16414 wxPyEndAllowThreads(__tstate);
16415 if (PyErr_Occurred()) SWIG_fail;
16416 }
16417 {
412d302d 16418 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
16419 }
16420 return resultobj;
16421 fail:
16422 return NULL;
16423}
16424
16425
8ac8dba0 16426static PyObject *_wrap_BookCtrlBase_GetPageImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16427 PyObject *resultobj;
8ac8dba0 16428 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16429 size_t arg2 ;
16430 int result;
16431 PyObject * obj0 = 0 ;
16432 PyObject * obj1 = 0 ;
16433 char *kwnames[] = {
16434 (char *) "self",(char *) "n", NULL
16435 };
16436
8ac8dba0 16437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageImage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16438 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16439 if (SWIG_arg_fail(1)) SWIG_fail;
16440 {
16441 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16442 if (SWIG_arg_fail(2)) SWIG_fail;
16443 }
d55e5bfc
RD
16444 {
16445 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 16446 result = (int)((wxBookCtrlBase const *)arg1)->GetPageImage(arg2);
d55e5bfc
RD
16447
16448 wxPyEndAllowThreads(__tstate);
16449 if (PyErr_Occurred()) SWIG_fail;
16450 }
093d3ff1
RD
16451 {
16452 resultobj = SWIG_From_int((int)(result));
16453 }
d55e5bfc
RD
16454 return resultobj;
16455 fail:
16456 return NULL;
16457}
16458
16459
8ac8dba0 16460static PyObject *_wrap_BookCtrlBase_SetPageImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16461 PyObject *resultobj;
8ac8dba0 16462 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16463 size_t arg2 ;
16464 int arg3 ;
16465 bool result;
16466 PyObject * obj0 = 0 ;
16467 PyObject * obj1 = 0 ;
16468 PyObject * obj2 = 0 ;
16469 char *kwnames[] = {
16470 (char *) "self",(char *) "n",(char *) "imageId", NULL
16471 };
16472
8ac8dba0 16473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
16474 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16475 if (SWIG_arg_fail(1)) SWIG_fail;
16476 {
16477 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16478 if (SWIG_arg_fail(2)) SWIG_fail;
16479 }
16480 {
16481 arg3 = (int)(SWIG_As_int(obj2));
16482 if (SWIG_arg_fail(3)) SWIG_fail;
16483 }
d55e5bfc
RD
16484 {
16485 PyThreadState* __tstate = wxPyBeginAllowThreads();
16486 result = (bool)(arg1)->SetPageImage(arg2,arg3);
16487
16488 wxPyEndAllowThreads(__tstate);
16489 if (PyErr_Occurred()) SWIG_fail;
16490 }
16491 {
16492 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16493 }
16494 return resultobj;
16495 fail:
16496 return NULL;
16497}
16498
16499
8ac8dba0 16500static PyObject *_wrap_BookCtrlBase_SetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16501 PyObject *resultobj;
8ac8dba0 16502 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16503 wxSize *arg2 = 0 ;
16504 wxSize temp2 ;
16505 PyObject * obj0 = 0 ;
16506 PyObject * obj1 = 0 ;
16507 char *kwnames[] = {
16508 (char *) "self",(char *) "size", NULL
16509 };
16510
8ac8dba0 16511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16512 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16513 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16514 {
16515 arg2 = &temp2;
16516 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16517 }
16518 {
16519 PyThreadState* __tstate = wxPyBeginAllowThreads();
16520 (arg1)->SetPageSize((wxSize const &)*arg2);
16521
16522 wxPyEndAllowThreads(__tstate);
16523 if (PyErr_Occurred()) SWIG_fail;
16524 }
16525 Py_INCREF(Py_None); resultobj = Py_None;
16526 return resultobj;
16527 fail:
16528 return NULL;
16529}
16530
16531
8ac8dba0 16532static PyObject *_wrap_BookCtrlBase_CalcSizeFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16533 PyObject *resultobj;
8ac8dba0 16534 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16535 wxSize *arg2 = 0 ;
16536 wxSize result;
16537 wxSize temp2 ;
16538 PyObject * obj0 = 0 ;
16539 PyObject * obj1 = 0 ;
16540 char *kwnames[] = {
16541 (char *) "self",(char *) "sizePage", NULL
16542 };
16543
8ac8dba0 16544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16545 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16546 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16547 {
16548 arg2 = &temp2;
16549 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16550 }
16551 {
16552 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 16553 result = ((wxBookCtrlBase const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
d55e5bfc
RD
16554
16555 wxPyEndAllowThreads(__tstate);
16556 if (PyErr_Occurred()) SWIG_fail;
16557 }
16558 {
16559 wxSize * resultptr;
093d3ff1 16560 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
16561 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16562 }
16563 return resultobj;
16564 fail:
16565 return NULL;
16566}
16567
16568
8ac8dba0 16569static PyObject *_wrap_BookCtrlBase_DeletePage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16570 PyObject *resultobj;
8ac8dba0 16571 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16572 size_t arg2 ;
16573 bool result;
16574 PyObject * obj0 = 0 ;
16575 PyObject * obj1 = 0 ;
16576 char *kwnames[] = {
16577 (char *) "self",(char *) "n", NULL
16578 };
16579
8ac8dba0 16580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_DeletePage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16581 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16582 if (SWIG_arg_fail(1)) SWIG_fail;
16583 {
16584 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16585 if (SWIG_arg_fail(2)) SWIG_fail;
16586 }
d55e5bfc
RD
16587 {
16588 PyThreadState* __tstate = wxPyBeginAllowThreads();
16589 result = (bool)(arg1)->DeletePage(arg2);
16590
16591 wxPyEndAllowThreads(__tstate);
16592 if (PyErr_Occurred()) SWIG_fail;
16593 }
16594 {
16595 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16596 }
16597 return resultobj;
16598 fail:
16599 return NULL;
16600}
16601
16602
8ac8dba0 16603static PyObject *_wrap_BookCtrlBase_RemovePage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16604 PyObject *resultobj;
8ac8dba0 16605 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16606 size_t arg2 ;
16607 bool result;
16608 PyObject * obj0 = 0 ;
16609 PyObject * obj1 = 0 ;
16610 char *kwnames[] = {
16611 (char *) "self",(char *) "n", NULL
16612 };
16613
8ac8dba0 16614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_RemovePage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16615 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16616 if (SWIG_arg_fail(1)) SWIG_fail;
16617 {
16618 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16619 if (SWIG_arg_fail(2)) SWIG_fail;
16620 }
d55e5bfc
RD
16621 {
16622 PyThreadState* __tstate = wxPyBeginAllowThreads();
16623 result = (bool)(arg1)->RemovePage(arg2);
16624
16625 wxPyEndAllowThreads(__tstate);
16626 if (PyErr_Occurred()) SWIG_fail;
16627 }
16628 {
16629 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16630 }
16631 return resultobj;
16632 fail:
16633 return NULL;
16634}
16635
16636
8ac8dba0 16637static PyObject *_wrap_BookCtrlBase_DeleteAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16638 PyObject *resultobj;
8ac8dba0 16639 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16640 bool result;
16641 PyObject * obj0 = 0 ;
16642 char *kwnames[] = {
16643 (char *) "self", NULL
16644 };
16645
8ac8dba0 16646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_DeleteAllPages",kwnames,&obj0)) goto fail;
093d3ff1
RD
16647 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16648 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16649 {
16650 PyThreadState* __tstate = wxPyBeginAllowThreads();
16651 result = (bool)(arg1)->DeleteAllPages();
16652
16653 wxPyEndAllowThreads(__tstate);
16654 if (PyErr_Occurred()) SWIG_fail;
16655 }
16656 {
16657 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16658 }
16659 return resultobj;
16660 fail:
16661 return NULL;
16662}
16663
16664
8ac8dba0 16665static PyObject *_wrap_BookCtrlBase_AddPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16666 PyObject *resultobj;
8ac8dba0 16667 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16668 wxWindow *arg2 = (wxWindow *) 0 ;
16669 wxString *arg3 = 0 ;
ae8162c8 16670 bool arg4 = (bool) false ;
d55e5bfc
RD
16671 int arg5 = (int) -1 ;
16672 bool result;
ae8162c8 16673 bool temp3 = false ;
d55e5bfc
RD
16674 PyObject * obj0 = 0 ;
16675 PyObject * obj1 = 0 ;
16676 PyObject * obj2 = 0 ;
16677 PyObject * obj3 = 0 ;
16678 PyObject * obj4 = 0 ;
16679 char *kwnames[] = {
16680 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16681 };
16682
8ac8dba0 16683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
16684 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16685 if (SWIG_arg_fail(1)) SWIG_fail;
16686 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16687 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
16688 {
16689 arg3 = wxString_in_helper(obj2);
16690 if (arg3 == NULL) SWIG_fail;
ae8162c8 16691 temp3 = true;
d55e5bfc
RD
16692 }
16693 if (obj3) {
093d3ff1
RD
16694 {
16695 arg4 = (bool)(SWIG_As_bool(obj3));
16696 if (SWIG_arg_fail(4)) SWIG_fail;
16697 }
d55e5bfc
RD
16698 }
16699 if (obj4) {
093d3ff1
RD
16700 {
16701 arg5 = (int)(SWIG_As_int(obj4));
16702 if (SWIG_arg_fail(5)) SWIG_fail;
16703 }
d55e5bfc
RD
16704 }
16705 {
16706 PyThreadState* __tstate = wxPyBeginAllowThreads();
16707 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
16708
16709 wxPyEndAllowThreads(__tstate);
16710 if (PyErr_Occurred()) SWIG_fail;
16711 }
16712 {
16713 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16714 }
16715 {
16716 if (temp3)
16717 delete arg3;
16718 }
16719 return resultobj;
16720 fail:
16721 {
16722 if (temp3)
16723 delete arg3;
16724 }
16725 return NULL;
16726}
16727
16728
8ac8dba0 16729static PyObject *_wrap_BookCtrlBase_InsertPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16730 PyObject *resultobj;
8ac8dba0 16731 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16732 size_t arg2 ;
16733 wxWindow *arg3 = (wxWindow *) 0 ;
16734 wxString *arg4 = 0 ;
ae8162c8 16735 bool arg5 = (bool) false ;
d55e5bfc
RD
16736 int arg6 = (int) -1 ;
16737 bool result;
ae8162c8 16738 bool temp4 = false ;
d55e5bfc
RD
16739 PyObject * obj0 = 0 ;
16740 PyObject * obj1 = 0 ;
16741 PyObject * obj2 = 0 ;
16742 PyObject * obj3 = 0 ;
16743 PyObject * obj4 = 0 ;
16744 PyObject * obj5 = 0 ;
16745 char *kwnames[] = {
16746 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16747 };
16748
8ac8dba0 16749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
16750 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16751 if (SWIG_arg_fail(1)) SWIG_fail;
16752 {
16753 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16754 if (SWIG_arg_fail(2)) SWIG_fail;
16755 }
16756 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16757 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
16758 {
16759 arg4 = wxString_in_helper(obj3);
16760 if (arg4 == NULL) SWIG_fail;
ae8162c8 16761 temp4 = true;
d55e5bfc
RD
16762 }
16763 if (obj4) {
093d3ff1
RD
16764 {
16765 arg5 = (bool)(SWIG_As_bool(obj4));
16766 if (SWIG_arg_fail(5)) SWIG_fail;
16767 }
d55e5bfc
RD
16768 }
16769 if (obj5) {
093d3ff1
RD
16770 {
16771 arg6 = (int)(SWIG_As_int(obj5));
16772 if (SWIG_arg_fail(6)) SWIG_fail;
16773 }
d55e5bfc
RD
16774 }
16775 {
16776 PyThreadState* __tstate = wxPyBeginAllowThreads();
16777 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
16778
16779 wxPyEndAllowThreads(__tstate);
16780 if (PyErr_Occurred()) SWIG_fail;
16781 }
16782 {
16783 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16784 }
16785 {
16786 if (temp4)
16787 delete arg4;
16788 }
16789 return resultobj;
16790 fail:
16791 {
16792 if (temp4)
16793 delete arg4;
16794 }
16795 return NULL;
16796}
16797
16798
8ac8dba0 16799static PyObject *_wrap_BookCtrlBase_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16800 PyObject *resultobj;
8ac8dba0 16801 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16802 size_t arg2 ;
16803 int result;
16804 PyObject * obj0 = 0 ;
16805 PyObject * obj1 = 0 ;
16806 char *kwnames[] = {
16807 (char *) "self",(char *) "n", NULL
16808 };
16809
8ac8dba0 16810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16811 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16812 if (SWIG_arg_fail(1)) SWIG_fail;
16813 {
16814 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16815 if (SWIG_arg_fail(2)) SWIG_fail;
16816 }
d55e5bfc
RD
16817 {
16818 PyThreadState* __tstate = wxPyBeginAllowThreads();
16819 result = (int)(arg1)->SetSelection(arg2);
16820
16821 wxPyEndAllowThreads(__tstate);
16822 if (PyErr_Occurred()) SWIG_fail;
16823 }
093d3ff1
RD
16824 {
16825 resultobj = SWIG_From_int((int)(result));
16826 }
d55e5bfc
RD
16827 return resultobj;
16828 fail:
16829 return NULL;
16830}
16831
16832
8ac8dba0 16833static PyObject *_wrap_BookCtrlBase_AdvanceSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16834 PyObject *resultobj;
8ac8dba0 16835 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
ae8162c8 16836 bool arg2 = (bool) true ;
d55e5bfc
RD
16837 PyObject * obj0 = 0 ;
16838 PyObject * obj1 = 0 ;
16839 char *kwnames[] = {
16840 (char *) "self",(char *) "forward", NULL
16841 };
16842
8ac8dba0 16843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16844 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16845 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 16846 if (obj1) {
093d3ff1
RD
16847 {
16848 arg2 = (bool)(SWIG_As_bool(obj1));
16849 if (SWIG_arg_fail(2)) SWIG_fail;
16850 }
d55e5bfc
RD
16851 }
16852 {
16853 PyThreadState* __tstate = wxPyBeginAllowThreads();
16854 (arg1)->AdvanceSelection(arg2);
16855
16856 wxPyEndAllowThreads(__tstate);
16857 if (PyErr_Occurred()) SWIG_fail;
16858 }
16859 Py_INCREF(Py_None); resultobj = Py_None;
16860 return resultobj;
16861 fail:
16862 return NULL;
16863}
16864
16865
8ac8dba0 16866static PyObject *_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 16867 PyObject *resultobj;
093d3ff1 16868 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
16869 wxVisualAttributes result;
16870 PyObject * obj0 = 0 ;
16871 char *kwnames[] = {
16872 (char *) "variant", NULL
16873 };
16874
8ac8dba0 16875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
f20a2e1f 16876 if (obj0) {
093d3ff1
RD
16877 {
16878 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
16879 if (SWIG_arg_fail(1)) SWIG_fail;
16880 }
f20a2e1f
RD
16881 }
16882 {
19272049 16883 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f 16884 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 16885 result = wxBookCtrlBase::GetClassDefaultAttributes((wxWindowVariant )arg1);
f20a2e1f
RD
16886
16887 wxPyEndAllowThreads(__tstate);
110da5b0 16888 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
16889 }
16890 {
16891 wxVisualAttributes * resultptr;
093d3ff1 16892 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
16893 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
16894 }
16895 return resultobj;
16896 fail:
16897 return NULL;
16898}
16899
16900
8ac8dba0 16901static PyObject * BookCtrlBase_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
16902 PyObject *obj;
16903 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8ac8dba0 16904 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBase, obj);
d55e5bfc
RD
16905 Py_INCREF(obj);
16906 return Py_BuildValue((char *)"");
16907}
8ac8dba0 16908static PyObject *_wrap_new_BookCtrlBaseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16909 PyObject *resultobj;
16910 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16911 int arg2 = (int) 0 ;
16912 int arg3 = (int) -1 ;
16913 int arg4 = (int) -1 ;
8ac8dba0 16914 wxBookCtrlBaseEvent *result;
d55e5bfc
RD
16915 PyObject * obj0 = 0 ;
16916 PyObject * obj1 = 0 ;
16917 PyObject * obj2 = 0 ;
16918 PyObject * obj3 = 0 ;
16919 char *kwnames[] = {
16920 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
16921 };
16922
8ac8dba0 16923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d55e5bfc 16924 if (obj0) {
093d3ff1
RD
16925 {
16926 arg1 = (wxEventType)(SWIG_As_int(obj0));
16927 if (SWIG_arg_fail(1)) SWIG_fail;
16928 }
d55e5bfc
RD
16929 }
16930 if (obj1) {
093d3ff1
RD
16931 {
16932 arg2 = (int)(SWIG_As_int(obj1));
16933 if (SWIG_arg_fail(2)) SWIG_fail;
16934 }
d55e5bfc
RD
16935 }
16936 if (obj2) {
093d3ff1
RD
16937 {
16938 arg3 = (int)(SWIG_As_int(obj2));
16939 if (SWIG_arg_fail(3)) SWIG_fail;
16940 }
d55e5bfc
RD
16941 }
16942 if (obj3) {
093d3ff1
RD
16943 {
16944 arg4 = (int)(SWIG_As_int(obj3));
16945 if (SWIG_arg_fail(4)) SWIG_fail;
16946 }
d55e5bfc
RD
16947 }
16948 {
16949 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 16950 result = (wxBookCtrlBaseEvent *)new wxBookCtrlBaseEvent(arg1,arg2,arg3,arg4);
d55e5bfc
RD
16951
16952 wxPyEndAllowThreads(__tstate);
16953 if (PyErr_Occurred()) SWIG_fail;
16954 }
8ac8dba0 16955 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlBaseEvent, 1);
d55e5bfc
RD
16956 return resultobj;
16957 fail:
16958 return NULL;
16959}
16960
16961
8ac8dba0 16962static PyObject *_wrap_BookCtrlBaseEvent_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16963 PyObject *resultobj;
8ac8dba0 16964 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
d55e5bfc
RD
16965 int result;
16966 PyObject * obj0 = 0 ;
16967 char *kwnames[] = {
16968 (char *) "self", NULL
16969 };
16970
8ac8dba0 16971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBaseEvent_GetSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
16972 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
16973 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16974 {
16975 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 16976 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetSelection();
d55e5bfc
RD
16977
16978 wxPyEndAllowThreads(__tstate);
16979 if (PyErr_Occurred()) SWIG_fail;
16980 }
093d3ff1
RD
16981 {
16982 resultobj = SWIG_From_int((int)(result));
16983 }
d55e5bfc
RD
16984 return resultobj;
16985 fail:
16986 return NULL;
16987}
16988
16989
8ac8dba0 16990static PyObject *_wrap_BookCtrlBaseEvent_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16991 PyObject *resultobj;
8ac8dba0 16992 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
d55e5bfc
RD
16993 int arg2 ;
16994 PyObject * obj0 = 0 ;
16995 PyObject * obj1 = 0 ;
16996 char *kwnames[] = {
16997 (char *) "self",(char *) "nSel", NULL
16998 };
16999
8ac8dba0 17000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17001 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
17002 if (SWIG_arg_fail(1)) SWIG_fail;
17003 {
17004 arg2 = (int)(SWIG_As_int(obj1));
17005 if (SWIG_arg_fail(2)) SWIG_fail;
17006 }
d55e5bfc
RD
17007 {
17008 PyThreadState* __tstate = wxPyBeginAllowThreads();
17009 (arg1)->SetSelection(arg2);
17010
17011 wxPyEndAllowThreads(__tstate);
17012 if (PyErr_Occurred()) SWIG_fail;
17013 }
17014 Py_INCREF(Py_None); resultobj = Py_None;
17015 return resultobj;
17016 fail:
17017 return NULL;
17018}
17019
17020
8ac8dba0 17021static PyObject *_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 17022 PyObject *resultobj;
8ac8dba0 17023 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
d55e5bfc
RD
17024 int result;
17025 PyObject * obj0 = 0 ;
17026 char *kwnames[] = {
17027 (char *) "self", NULL
17028 };
17029
8ac8dba0 17030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBaseEvent_GetOldSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
17031 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
17032 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17033 {
17034 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 17035 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetOldSelection();
d55e5bfc
RD
17036
17037 wxPyEndAllowThreads(__tstate);
17038 if (PyErr_Occurred()) SWIG_fail;
17039 }
093d3ff1
RD
17040 {
17041 resultobj = SWIG_From_int((int)(result));
17042 }
d55e5bfc
RD
17043 return resultobj;
17044 fail:
17045 return NULL;
17046}
17047
17048
8ac8dba0 17049static PyObject *_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 17050 PyObject *resultobj;
8ac8dba0 17051 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
d55e5bfc
RD
17052 int arg2 ;
17053 PyObject * obj0 = 0 ;
17054 PyObject * obj1 = 0 ;
17055 char *kwnames[] = {
17056 (char *) "self",(char *) "nOldSel", NULL
17057 };
17058
8ac8dba0 17059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17060 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
17061 if (SWIG_arg_fail(1)) SWIG_fail;
17062 {
17063 arg2 = (int)(SWIG_As_int(obj1));
17064 if (SWIG_arg_fail(2)) SWIG_fail;
17065 }
d55e5bfc
RD
17066 {
17067 PyThreadState* __tstate = wxPyBeginAllowThreads();
17068 (arg1)->SetOldSelection(arg2);
17069
17070 wxPyEndAllowThreads(__tstate);
17071 if (PyErr_Occurred()) SWIG_fail;
17072 }
17073 Py_INCREF(Py_None); resultobj = Py_None;
17074 return resultobj;
17075 fail:
17076 return NULL;
17077}
17078
17079
8ac8dba0 17080static PyObject * BookCtrlBaseEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
17081 PyObject *obj;
17082 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8ac8dba0 17083 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBaseEvent, obj);
d55e5bfc
RD
17084 Py_INCREF(obj);
17085 return Py_BuildValue((char *)"");
17086}
c32bde28 17087static PyObject *_wrap_new_Notebook(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17088 PyObject *resultobj;
17089 wxWindow *arg1 = (wxWindow *) 0 ;
17090 int arg2 = (int) -1 ;
17091 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17092 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17093 wxSize const &arg4_defvalue = wxDefaultSize ;
17094 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17095 long arg5 = (long) 0 ;
51b83b37 17096 wxString const &arg6_defvalue = wxPyNotebookNameStr ;
d55e5bfc
RD
17097 wxString *arg6 = (wxString *) &arg6_defvalue ;
17098 wxNotebook *result;
17099 wxPoint temp3 ;
17100 wxSize temp4 ;
ae8162c8 17101 bool temp6 = false ;
d55e5bfc
RD
17102 PyObject * obj0 = 0 ;
17103 PyObject * obj1 = 0 ;
17104 PyObject * obj2 = 0 ;
17105 PyObject * obj3 = 0 ;
17106 PyObject * obj4 = 0 ;
17107 PyObject * obj5 = 0 ;
17108 char *kwnames[] = {
17109 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17110 };
17111
17112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Notebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
17113 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17114 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 17115 if (obj1) {
093d3ff1
RD
17116 {
17117 arg2 = (int)(SWIG_As_int(obj1));
17118 if (SWIG_arg_fail(2)) SWIG_fail;
17119 }
d55e5bfc
RD
17120 }
17121 if (obj2) {
17122 {
17123 arg3 = &temp3;
17124 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17125 }
17126 }
17127 if (obj3) {
17128 {
17129 arg4 = &temp4;
17130 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17131 }
17132 }
17133 if (obj4) {
093d3ff1
RD
17134 {
17135 arg5 = (long)(SWIG_As_long(obj4));
17136 if (SWIG_arg_fail(5)) SWIG_fail;
17137 }
d55e5bfc
RD
17138 }
17139 if (obj5) {
17140 {
17141 arg6 = wxString_in_helper(obj5);
17142 if (arg6 == NULL) SWIG_fail;
ae8162c8 17143 temp6 = true;
d55e5bfc
RD
17144 }
17145 }
17146 {
0439c23b 17147 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17148 PyThreadState* __tstate = wxPyBeginAllowThreads();
17149 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17150
17151 wxPyEndAllowThreads(__tstate);
110da5b0 17152 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 17153 }
b0f7404b 17154 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebook, 1);
d55e5bfc
RD
17155 {
17156 if (temp6)
17157 delete arg6;
17158 }
17159 return resultobj;
17160 fail:
17161 {
17162 if (temp6)
17163 delete arg6;
17164 }
17165 return NULL;
17166}
17167
17168
c32bde28 17169static PyObject *_wrap_new_PreNotebook(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17170 PyObject *resultobj;
17171 wxNotebook *result;
17172 char *kwnames[] = {
17173 NULL
17174 };
17175
17176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreNotebook",kwnames)) goto fail;
17177 {
0439c23b 17178 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17179 PyThreadState* __tstate = wxPyBeginAllowThreads();
17180 result = (wxNotebook *)new wxNotebook();
17181
17182 wxPyEndAllowThreads(__tstate);
110da5b0 17183 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 17184 }
b0f7404b 17185 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebook, 1);
d55e5bfc
RD
17186 return resultobj;
17187 fail:
17188 return NULL;
17189}
17190
17191
c32bde28 17192static PyObject *_wrap_Notebook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17193 PyObject *resultobj;
17194 wxNotebook *arg1 = (wxNotebook *) 0 ;
17195 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 17196 int arg3 = (int) -1 ;
d55e5bfc
RD
17197 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17198 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17199 wxSize const &arg5_defvalue = wxDefaultSize ;
17200 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17201 long arg6 = (long) 0 ;
51b83b37 17202 wxString const &arg7_defvalue = wxPyNotebookNameStr ;
d55e5bfc
RD
17203 wxString *arg7 = (wxString *) &arg7_defvalue ;
17204 bool result;
17205 wxPoint temp4 ;
17206 wxSize temp5 ;
ae8162c8 17207 bool temp7 = false ;
d55e5bfc
RD
17208 PyObject * obj0 = 0 ;
17209 PyObject * obj1 = 0 ;
17210 PyObject * obj2 = 0 ;
17211 PyObject * obj3 = 0 ;
17212 PyObject * obj4 = 0 ;
17213 PyObject * obj5 = 0 ;
17214 PyObject * obj6 = 0 ;
17215 char *kwnames[] = {
17216 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17217 };
17218
248ed943 17219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Notebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
17220 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17221 if (SWIG_arg_fail(1)) SWIG_fail;
17222 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17223 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 17224 if (obj2) {
093d3ff1
RD
17225 {
17226 arg3 = (int)(SWIG_As_int(obj2));
17227 if (SWIG_arg_fail(3)) SWIG_fail;
17228 }
248ed943 17229 }
d55e5bfc
RD
17230 if (obj3) {
17231 {
17232 arg4 = &temp4;
17233 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17234 }
17235 }
17236 if (obj4) {
17237 {
17238 arg5 = &temp5;
17239 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17240 }
17241 }
17242 if (obj5) {
093d3ff1
RD
17243 {
17244 arg6 = (long)(SWIG_As_long(obj5));
17245 if (SWIG_arg_fail(6)) SWIG_fail;
17246 }
d55e5bfc
RD
17247 }
17248 if (obj6) {
17249 {
17250 arg7 = wxString_in_helper(obj6);
17251 if (arg7 == NULL) SWIG_fail;
ae8162c8 17252 temp7 = true;
d55e5bfc
RD
17253 }
17254 }
17255 {
17256 PyThreadState* __tstate = wxPyBeginAllowThreads();
17257 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17258
17259 wxPyEndAllowThreads(__tstate);
17260 if (PyErr_Occurred()) SWIG_fail;
17261 }
17262 {
17263 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17264 }
17265 {
17266 if (temp7)
17267 delete arg7;
17268 }
17269 return resultobj;
17270 fail:
17271 {
17272 if (temp7)
17273 delete arg7;
17274 }
17275 return NULL;
17276}
17277
17278
c32bde28 17279static PyObject *_wrap_Notebook_GetRowCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17280 PyObject *resultobj;
17281 wxNotebook *arg1 = (wxNotebook *) 0 ;
17282 int result;
17283 PyObject * obj0 = 0 ;
17284 char *kwnames[] = {
17285 (char *) "self", NULL
17286 };
17287
17288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetRowCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
17289 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17290 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17291 {
17292 PyThreadState* __tstate = wxPyBeginAllowThreads();
17293 result = (int)((wxNotebook const *)arg1)->GetRowCount();
17294
17295 wxPyEndAllowThreads(__tstate);
17296 if (PyErr_Occurred()) SWIG_fail;
17297 }
093d3ff1
RD
17298 {
17299 resultobj = SWIG_From_int((int)(result));
17300 }
d55e5bfc
RD
17301 return resultobj;
17302 fail:
17303 return NULL;
17304}
17305
17306
c32bde28 17307static PyObject *_wrap_Notebook_SetPadding(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17308 PyObject *resultobj;
17309 wxNotebook *arg1 = (wxNotebook *) 0 ;
17310 wxSize *arg2 = 0 ;
17311 wxSize temp2 ;
17312 PyObject * obj0 = 0 ;
17313 PyObject * obj1 = 0 ;
17314 char *kwnames[] = {
17315 (char *) "self",(char *) "padding", NULL
17316 };
17317
17318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17319 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17320 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17321 {
17322 arg2 = &temp2;
17323 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17324 }
17325 {
17326 PyThreadState* __tstate = wxPyBeginAllowThreads();
17327 (arg1)->SetPadding((wxSize const &)*arg2);
17328
17329 wxPyEndAllowThreads(__tstate);
17330 if (PyErr_Occurred()) SWIG_fail;
17331 }
17332 Py_INCREF(Py_None); resultobj = Py_None;
17333 return resultobj;
17334 fail:
17335 return NULL;
17336}
17337
17338
c32bde28 17339static PyObject *_wrap_Notebook_SetTabSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17340 PyObject *resultobj;
17341 wxNotebook *arg1 = (wxNotebook *) 0 ;
17342 wxSize *arg2 = 0 ;
17343 wxSize temp2 ;
17344 PyObject * obj0 = 0 ;
17345 PyObject * obj1 = 0 ;
17346 char *kwnames[] = {
17347 (char *) "self",(char *) "sz", NULL
17348 };
17349
17350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17351 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17352 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17353 {
17354 arg2 = &temp2;
17355 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17356 }
17357 {
17358 PyThreadState* __tstate = wxPyBeginAllowThreads();
17359 (arg1)->SetTabSize((wxSize const &)*arg2);
17360
17361 wxPyEndAllowThreads(__tstate);
17362 if (PyErr_Occurred()) SWIG_fail;
17363 }
17364 Py_INCREF(Py_None); resultobj = Py_None;
17365 return resultobj;
17366 fail:
17367 return NULL;
17368}
17369
17370
c32bde28 17371static PyObject *_wrap_Notebook_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17372 PyObject *resultobj;
17373 wxNotebook *arg1 = (wxNotebook *) 0 ;
17374 wxPoint *arg2 = 0 ;
17375 long *arg3 = (long *) 0 ;
17376 int result;
17377 wxPoint temp2 ;
17378 long temp3 ;
c32bde28 17379 int res3 = 0 ;
d55e5bfc
RD
17380 PyObject * obj0 = 0 ;
17381 PyObject * obj1 = 0 ;
17382 char *kwnames[] = {
17383 (char *) "self",(char *) "pt", NULL
17384 };
17385
c32bde28 17386 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 17387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_HitTest",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17388 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17389 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17390 {
17391 arg2 = &temp2;
17392 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
17393 }
17394 {
17395 PyThreadState* __tstate = wxPyBeginAllowThreads();
17396 result = (int)((wxNotebook const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
17397
17398 wxPyEndAllowThreads(__tstate);
17399 if (PyErr_Occurred()) SWIG_fail;
17400 }
093d3ff1
RD
17401 {
17402 resultobj = SWIG_From_int((int)(result));
17403 }
c32bde28
RD
17404 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17405 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
d55e5bfc
RD
17406 return resultobj;
17407 fail:
17408 return NULL;
17409}
17410
17411
c32bde28 17412static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17413 PyObject *resultobj;
17414 wxNotebook *arg1 = (wxNotebook *) 0 ;
17415 wxSize *arg2 = 0 ;
17416 wxSize result;
17417 wxSize temp2 ;
17418 PyObject * obj0 = 0 ;
17419 PyObject * obj1 = 0 ;
17420 char *kwnames[] = {
17421 (char *) "self",(char *) "sizePage", NULL
17422 };
17423
17424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17425 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17426 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17427 {
17428 arg2 = &temp2;
17429 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17430 }
17431 {
17432 PyThreadState* __tstate = wxPyBeginAllowThreads();
17433 result = ((wxNotebook const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
17434
17435 wxPyEndAllowThreads(__tstate);
17436 if (PyErr_Occurred()) SWIG_fail;
17437 }
17438 {
17439 wxSize * resultptr;
093d3ff1 17440 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
17441 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17442 }
17443 return resultobj;
17444 fail:
17445 return NULL;
17446}
17447
17448
091fdbfa
RD
17449static PyObject *_wrap_Notebook_GetThemeBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
17450 PyObject *resultobj;
17451 wxNotebook *arg1 = (wxNotebook *) 0 ;
17452 wxColour result;
17453 PyObject * obj0 = 0 ;
17454 char *kwnames[] = {
17455 (char *) "self", NULL
17456 };
17457
17458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetThemeBackgroundColour",kwnames,&obj0)) goto fail;
17459 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17460 if (SWIG_arg_fail(1)) SWIG_fail;
17461 {
17462 PyThreadState* __tstate = wxPyBeginAllowThreads();
17463 result = ((wxNotebook const *)arg1)->GetThemeBackgroundColour();
17464
17465 wxPyEndAllowThreads(__tstate);
17466 if (PyErr_Occurred()) SWIG_fail;
17467 }
17468 {
17469 wxColour * resultptr;
17470 resultptr = new wxColour((wxColour &)(result));
17471 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
17472 }
17473 return resultobj;
17474 fail:
17475 return NULL;
17476}
17477
17478
c32bde28 17479static PyObject *_wrap_Notebook_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 17480 PyObject *resultobj;
093d3ff1 17481 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
17482 wxVisualAttributes result;
17483 PyObject * obj0 = 0 ;
17484 char *kwnames[] = {
17485 (char *) "variant", NULL
17486 };
17487
17488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
17489 if (obj0) {
093d3ff1
RD
17490 {
17491 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
17492 if (SWIG_arg_fail(1)) SWIG_fail;
17493 }
f20a2e1f
RD
17494 }
17495 {
19272049 17496 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
17497 PyThreadState* __tstate = wxPyBeginAllowThreads();
17498 result = wxNotebook::GetClassDefaultAttributes((wxWindowVariant )arg1);
17499
17500 wxPyEndAllowThreads(__tstate);
110da5b0 17501 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
17502 }
17503 {
17504 wxVisualAttributes * resultptr;
093d3ff1 17505 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
17506 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
17507 }
17508 return resultobj;
17509 fail:
17510 return NULL;
17511}
17512
17513
c32bde28 17514static PyObject * Notebook_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
17515 PyObject *obj;
17516 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17517 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook, obj);
17518 Py_INCREF(obj);
17519 return Py_BuildValue((char *)"");
17520}
c32bde28 17521static PyObject *_wrap_new_NotebookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17522 PyObject *resultobj;
17523 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17524 int arg2 = (int) 0 ;
17525 int arg3 = (int) -1 ;
17526 int arg4 = (int) -1 ;
17527 wxNotebookEvent *result;
17528 PyObject * obj0 = 0 ;
17529 PyObject * obj1 = 0 ;
17530 PyObject * obj2 = 0 ;
17531 PyObject * obj3 = 0 ;
17532 char *kwnames[] = {
17533 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17534 };
17535
17536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_NotebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17537 if (obj0) {
093d3ff1
RD
17538 {
17539 arg1 = (wxEventType)(SWIG_As_int(obj0));
17540 if (SWIG_arg_fail(1)) SWIG_fail;
17541 }
d55e5bfc
RD
17542 }
17543 if (obj1) {
093d3ff1
RD
17544 {
17545 arg2 = (int)(SWIG_As_int(obj1));
17546 if (SWIG_arg_fail(2)) SWIG_fail;
17547 }
d55e5bfc
RD
17548 }
17549 if (obj2) {
093d3ff1
RD
17550 {
17551 arg3 = (int)(SWIG_As_int(obj2));
17552 if (SWIG_arg_fail(3)) SWIG_fail;
17553 }
d55e5bfc
RD
17554 }
17555 if (obj3) {
093d3ff1
RD
17556 {
17557 arg4 = (int)(SWIG_As_int(obj3));
17558 if (SWIG_arg_fail(4)) SWIG_fail;
17559 }
d55e5bfc
RD
17560 }
17561 {
17562 PyThreadState* __tstate = wxPyBeginAllowThreads();
17563 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
17564
17565 wxPyEndAllowThreads(__tstate);
17566 if (PyErr_Occurred()) SWIG_fail;
17567 }
17568 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookEvent, 1);
17569 return resultobj;
17570 fail:
17571 return NULL;
17572}
17573
17574
c32bde28 17575static PyObject * NotebookEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
17576 PyObject *obj;
17577 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17578 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj);
17579 Py_INCREF(obj);
17580 return Py_BuildValue((char *)"");
17581}
c32bde28 17582static PyObject *_wrap_new_Listbook(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17583 PyObject *resultobj;
17584 wxWindow *arg1 = (wxWindow *) 0 ;
17585 int arg2 = (int) -1 ;
17586 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17587 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17588 wxSize const &arg4_defvalue = wxDefaultSize ;
17589 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17590 long arg5 = (long) 0 ;
17591 wxString const &arg6_defvalue = wxPyEmptyString ;
17592 wxString *arg6 = (wxString *) &arg6_defvalue ;
17593 wxListbook *result;
17594 wxPoint temp3 ;
17595 wxSize temp4 ;
ae8162c8 17596 bool temp6 = false ;
d55e5bfc
RD
17597 PyObject * obj0 = 0 ;
17598 PyObject * obj1 = 0 ;
17599 PyObject * obj2 = 0 ;
17600 PyObject * obj3 = 0 ;
17601 PyObject * obj4 = 0 ;
17602 PyObject * obj5 = 0 ;
17603 char *kwnames[] = {
17604 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17605 };
17606
17607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Listbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
17608 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17609 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 17610 if (obj1) {
093d3ff1
RD
17611 {
17612 arg2 = (int)(SWIG_As_int(obj1));
17613 if (SWIG_arg_fail(2)) SWIG_fail;
17614 }
d55e5bfc
RD
17615 }
17616 if (obj2) {
17617 {
17618 arg3 = &temp3;
17619 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17620 }
17621 }
17622 if (obj3) {
17623 {
17624 arg4 = &temp4;
17625 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17626 }
17627 }
17628 if (obj4) {
093d3ff1
RD
17629 {
17630 arg5 = (long)(SWIG_As_long(obj4));
17631 if (SWIG_arg_fail(5)) SWIG_fail;
17632 }
d55e5bfc
RD
17633 }
17634 if (obj5) {
17635 {
17636 arg6 = wxString_in_helper(obj5);
17637 if (arg6 == NULL) SWIG_fail;
ae8162c8 17638 temp6 = true;
d55e5bfc
RD
17639 }
17640 }
17641 {
0439c23b 17642 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17643 PyThreadState* __tstate = wxPyBeginAllowThreads();
17644 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17645
17646 wxPyEndAllowThreads(__tstate);
110da5b0 17647 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
17648 }
17649 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
17650 {
17651 if (temp6)
17652 delete arg6;
17653 }
17654 return resultobj;
17655 fail:
17656 {
17657 if (temp6)
17658 delete arg6;
17659 }
17660 return NULL;
17661}
17662
17663
c32bde28 17664static PyObject *_wrap_new_PreListbook(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17665 PyObject *resultobj;
17666 wxListbook *result;
17667 char *kwnames[] = {
17668 NULL
17669 };
17670
17671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail;
17672 {
0439c23b 17673 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17674 PyThreadState* __tstate = wxPyBeginAllowThreads();
17675 result = (wxListbook *)new wxListbook();
17676
17677 wxPyEndAllowThreads(__tstate);
110da5b0 17678 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
17679 }
17680 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
17681 return resultobj;
17682 fail:
17683 return NULL;
17684}
17685
17686
c32bde28 17687static PyObject *_wrap_Listbook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17688 PyObject *resultobj;
17689 wxListbook *arg1 = (wxListbook *) 0 ;
17690 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 17691 int arg3 = (int) -1 ;
d55e5bfc
RD
17692 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17693 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17694 wxSize const &arg5_defvalue = wxDefaultSize ;
17695 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17696 long arg6 = (long) 0 ;
17697 wxString const &arg7_defvalue = wxPyEmptyString ;
17698 wxString *arg7 = (wxString *) &arg7_defvalue ;
17699 bool result;
17700 wxPoint temp4 ;
17701 wxSize temp5 ;
ae8162c8 17702 bool temp7 = false ;
d55e5bfc
RD
17703 PyObject * obj0 = 0 ;
17704 PyObject * obj1 = 0 ;
17705 PyObject * obj2 = 0 ;
17706 PyObject * obj3 = 0 ;
17707 PyObject * obj4 = 0 ;
17708 PyObject * obj5 = 0 ;
17709 PyObject * obj6 = 0 ;
17710 char *kwnames[] = {
17711 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17712 };
17713
248ed943 17714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Listbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
17715 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListbook, SWIG_POINTER_EXCEPTION | 0);
17716 if (SWIG_arg_fail(1)) SWIG_fail;
17717 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17718 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 17719 if (obj2) {
093d3ff1
RD
17720 {
17721 arg3 = (int)(SWIG_As_int(obj2));
17722 if (SWIG_arg_fail(3)) SWIG_fail;
17723 }
248ed943 17724 }
d55e5bfc
RD
17725 if (obj3) {
17726 {
17727 arg4 = &temp4;
17728 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17729 }
17730 }
17731 if (obj4) {
17732 {
17733 arg5 = &temp5;
17734 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17735 }
17736 }
17737 if (obj5) {
093d3ff1
RD
17738 {
17739 arg6 = (long)(SWIG_As_long(obj5));
17740 if (SWIG_arg_fail(6)) SWIG_fail;
17741 }
d55e5bfc
RD
17742 }
17743 if (obj6) {
17744 {
17745 arg7 = wxString_in_helper(obj6);
17746 if (arg7 == NULL) SWIG_fail;
ae8162c8 17747 temp7 = true;
d55e5bfc
RD
17748 }
17749 }
17750 {
17751 PyThreadState* __tstate = wxPyBeginAllowThreads();
17752 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17753
17754 wxPyEndAllowThreads(__tstate);
17755 if (PyErr_Occurred()) SWIG_fail;
17756 }
17757 {
17758 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17759 }
17760 {
17761 if (temp7)
17762 delete arg7;
17763 }
17764 return resultobj;
17765 fail:
17766 {
17767 if (temp7)
17768 delete arg7;
17769 }
17770 return NULL;
17771}
17772
17773
c32bde28 17774static PyObject *_wrap_Listbook_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17775 PyObject *resultobj;
17776 wxListbook *arg1 = (wxListbook *) 0 ;
17777 bool result;
17778 PyObject * obj0 = 0 ;
17779 char *kwnames[] = {
17780 (char *) "self", NULL
17781 };
17782
17783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_IsVertical",kwnames,&obj0)) goto fail;
093d3ff1
RD
17784 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListbook, SWIG_POINTER_EXCEPTION | 0);
17785 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17786 {
17787 PyThreadState* __tstate = wxPyBeginAllowThreads();
17788 result = (bool)((wxListbook const *)arg1)->IsVertical();
17789
17790 wxPyEndAllowThreads(__tstate);
17791 if (PyErr_Occurred()) SWIG_fail;
17792 }
17793 {
17794 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17795 }
17796 return resultobj;
17797 fail:
17798 return NULL;
17799}
17800
17801
1fbf26be
RD
17802static PyObject *_wrap_Listbook_GetListView(PyObject *, PyObject *args, PyObject *kwargs) {
17803 PyObject *resultobj;
17804 wxListbook *arg1 = (wxListbook *) 0 ;
17805 wxListView *result;
17806 PyObject * obj0 = 0 ;
17807 char *kwnames[] = {
17808 (char *) "self", NULL
17809 };
17810
17811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_GetListView",kwnames,&obj0)) goto fail;
093d3ff1
RD
17812 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListbook, SWIG_POINTER_EXCEPTION | 0);
17813 if (SWIG_arg_fail(1)) SWIG_fail;
1fbf26be
RD
17814 {
17815 PyThreadState* __tstate = wxPyBeginAllowThreads();
17816 result = (wxListView *)(arg1)->GetListView();
17817
17818 wxPyEndAllowThreads(__tstate);
17819 if (PyErr_Occurred()) SWIG_fail;
17820 }
17821 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 0);
17822 return resultobj;
17823 fail:
17824 return NULL;
17825}
17826
17827
c32bde28 17828static PyObject * Listbook_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
17829 PyObject *obj;
17830 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17831 SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
17832 Py_INCREF(obj);
17833 return Py_BuildValue((char *)"");
17834}
c32bde28 17835static PyObject *_wrap_new_ListbookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17836 PyObject *resultobj;
17837 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17838 int arg2 = (int) 0 ;
17839 int arg3 = (int) -1 ;
17840 int arg4 = (int) -1 ;
17841 wxListbookEvent *result;
17842 PyObject * obj0 = 0 ;
17843 PyObject * obj1 = 0 ;
17844 PyObject * obj2 = 0 ;
17845 PyObject * obj3 = 0 ;
17846 char *kwnames[] = {
17847 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17848 };
17849
17850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ListbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17851 if (obj0) {
093d3ff1
RD
17852 {
17853 arg1 = (wxEventType)(SWIG_As_int(obj0));
17854 if (SWIG_arg_fail(1)) SWIG_fail;
17855 }
d55e5bfc
RD
17856 }
17857 if (obj1) {
093d3ff1
RD
17858 {
17859 arg2 = (int)(SWIG_As_int(obj1));
17860 if (SWIG_arg_fail(2)) SWIG_fail;
17861 }
d55e5bfc
RD
17862 }
17863 if (obj2) {
093d3ff1
RD
17864 {
17865 arg3 = (int)(SWIG_As_int(obj2));
17866 if (SWIG_arg_fail(3)) SWIG_fail;
17867 }
d55e5bfc
RD
17868 }
17869 if (obj3) {
093d3ff1
RD
17870 {
17871 arg4 = (int)(SWIG_As_int(obj3));
17872 if (SWIG_arg_fail(4)) SWIG_fail;
17873 }
d55e5bfc
RD
17874 }
17875 {
17876 PyThreadState* __tstate = wxPyBeginAllowThreads();
17877 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
17878
17879 wxPyEndAllowThreads(__tstate);
17880 if (PyErr_Occurred()) SWIG_fail;
17881 }
17882 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbookEvent, 1);
17883 return resultobj;
17884 fail:
17885 return NULL;
17886}
17887
17888
c32bde28 17889static PyObject * ListbookEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
17890 PyObject *obj;
17891 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17892 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
17893 Py_INCREF(obj);
17894 return Py_BuildValue((char *)"");
17895}
ae8162c8
RD
17896static PyObject *_wrap_new_Choicebook(PyObject *, PyObject *args, PyObject *kwargs) {
17897 PyObject *resultobj;
17898 wxWindow *arg1 = (wxWindow *) 0 ;
17899 int arg2 ;
17900 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17901 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17902 wxSize const &arg4_defvalue = wxDefaultSize ;
17903 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17904 long arg5 = (long) 0 ;
17905 wxString const &arg6_defvalue = wxPyEmptyString ;
17906 wxString *arg6 = (wxString *) &arg6_defvalue ;
17907 wxChoicebook *result;
17908 wxPoint temp3 ;
17909 wxSize temp4 ;
17910 bool temp6 = false ;
17911 PyObject * obj0 = 0 ;
17912 PyObject * obj1 = 0 ;
17913 PyObject * obj2 = 0 ;
17914 PyObject * obj3 = 0 ;
17915 PyObject * obj4 = 0 ;
17916 PyObject * obj5 = 0 ;
17917 char *kwnames[] = {
17918 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17919 };
17920
17921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Choicebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
17922 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17923 if (SWIG_arg_fail(1)) SWIG_fail;
17924 {
17925 arg2 = (int)(SWIG_As_int(obj1));
17926 if (SWIG_arg_fail(2)) SWIG_fail;
17927 }
ae8162c8
RD
17928 if (obj2) {
17929 {
17930 arg3 = &temp3;
17931 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17932 }
17933 }
17934 if (obj3) {
17935 {
17936 arg4 = &temp4;
17937 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17938 }
17939 }
17940 if (obj4) {
093d3ff1
RD
17941 {
17942 arg5 = (long)(SWIG_As_long(obj4));
17943 if (SWIG_arg_fail(5)) SWIG_fail;
17944 }
ae8162c8
RD
17945 }
17946 if (obj5) {
17947 {
17948 arg6 = wxString_in_helper(obj5);
17949 if (arg6 == NULL) SWIG_fail;
17950 temp6 = true;
17951 }
17952 }
17953 {
17954 if (!wxPyCheckForApp()) SWIG_fail;
17955 PyThreadState* __tstate = wxPyBeginAllowThreads();
17956 result = (wxChoicebook *)new wxChoicebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17957
17958 wxPyEndAllowThreads(__tstate);
17959 if (PyErr_Occurred()) SWIG_fail;
17960 }
17961 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebook, 1);
17962 {
17963 if (temp6)
17964 delete arg6;
17965 }
17966 return resultobj;
17967 fail:
17968 {
17969 if (temp6)
17970 delete arg6;
17971 }
17972 return NULL;
17973}
17974
17975
17976static PyObject *_wrap_new_PreChoicebook(PyObject *, PyObject *args, PyObject *kwargs) {
17977 PyObject *resultobj;
17978 wxChoicebook *result;
17979 char *kwnames[] = {
17980 NULL
17981 };
17982
17983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoicebook",kwnames)) goto fail;
17984 {
17985 if (!wxPyCheckForApp()) SWIG_fail;
17986 PyThreadState* __tstate = wxPyBeginAllowThreads();
17987 result = (wxChoicebook *)new wxChoicebook();
17988
17989 wxPyEndAllowThreads(__tstate);
17990 if (PyErr_Occurred()) SWIG_fail;
17991 }
17992 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebook, 1);
17993 return resultobj;
17994 fail:
17995 return NULL;
17996}
17997
17998
17999static PyObject *_wrap_Choicebook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
18000 PyObject *resultobj;
18001 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
18002 wxWindow *arg2 = (wxWindow *) 0 ;
18003 int arg3 ;
18004 wxPoint const &arg4_defvalue = wxDefaultPosition ;
18005 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
18006 wxSize const &arg5_defvalue = wxDefaultSize ;
18007 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
18008 long arg6 = (long) 0 ;
18009 wxString const &arg7_defvalue = wxPyEmptyString ;
18010 wxString *arg7 = (wxString *) &arg7_defvalue ;
18011 bool result;
18012 wxPoint temp4 ;
18013 wxSize temp5 ;
18014 bool temp7 = false ;
18015 PyObject * obj0 = 0 ;
18016 PyObject * obj1 = 0 ;
18017 PyObject * obj2 = 0 ;
18018 PyObject * obj3 = 0 ;
18019 PyObject * obj4 = 0 ;
18020 PyObject * obj5 = 0 ;
18021 PyObject * obj6 = 0 ;
18022 char *kwnames[] = {
18023 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18024 };
18025
18026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Choicebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
18027 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
18028 if (SWIG_arg_fail(1)) SWIG_fail;
18029 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18030 if (SWIG_arg_fail(2)) SWIG_fail;
18031 {
18032 arg3 = (int)(SWIG_As_int(obj2));
18033 if (SWIG_arg_fail(3)) SWIG_fail;
18034 }
ae8162c8
RD
18035 if (obj3) {
18036 {
18037 arg4 = &temp4;
18038 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
18039 }
18040 }
18041 if (obj4) {
18042 {
18043 arg5 = &temp5;
18044 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
18045 }
18046 }
18047 if (obj5) {
093d3ff1
RD
18048 {
18049 arg6 = (long)(SWIG_As_long(obj5));
18050 if (SWIG_arg_fail(6)) SWIG_fail;
18051 }
ae8162c8
RD
18052 }
18053 if (obj6) {
18054 {
18055 arg7 = wxString_in_helper(obj6);
18056 if (arg7 == NULL) SWIG_fail;
18057 temp7 = true;
18058 }
18059 }
18060 {
18061 PyThreadState* __tstate = wxPyBeginAllowThreads();
18062 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
18063
18064 wxPyEndAllowThreads(__tstate);
18065 if (PyErr_Occurred()) SWIG_fail;
18066 }
18067 {
18068 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18069 }
18070 {
18071 if (temp7)
18072 delete arg7;
18073 }
18074 return resultobj;
18075 fail:
18076 {
18077 if (temp7)
18078 delete arg7;
18079 }
18080 return NULL;
18081}
18082
18083
18084static PyObject *_wrap_Choicebook_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
18085 PyObject *resultobj;
18086 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
18087 bool result;
18088 PyObject * obj0 = 0 ;
18089 char *kwnames[] = {
18090 (char *) "self", NULL
18091 };
18092
18093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_IsVertical",kwnames,&obj0)) goto fail;
093d3ff1
RD
18094 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
18095 if (SWIG_arg_fail(1)) SWIG_fail;
ae8162c8
RD
18096 {
18097 PyThreadState* __tstate = wxPyBeginAllowThreads();
18098 result = (bool)((wxChoicebook const *)arg1)->IsVertical();
18099
18100 wxPyEndAllowThreads(__tstate);
18101 if (PyErr_Occurred()) SWIG_fail;
18102 }
18103 {
18104 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18105 }
18106 return resultobj;
18107 fail:
18108 return NULL;
18109}
18110
18111
70b7a5fe
RD
18112static PyObject *_wrap_Choicebook_GetChoiceCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
18113 PyObject *resultobj;
18114 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
18115 wxChoice *result;
18116 PyObject * obj0 = 0 ;
18117 char *kwnames[] = {
18118 (char *) "self", NULL
18119 };
18120
18121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_GetChoiceCtrl",kwnames,&obj0)) goto fail;
18122 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
18123 if (SWIG_arg_fail(1)) SWIG_fail;
18124 {
18125 PyThreadState* __tstate = wxPyBeginAllowThreads();
18126 result = (wxChoice *)((wxChoicebook const *)arg1)->GetChoiceCtrl();
18127
18128 wxPyEndAllowThreads(__tstate);
18129 if (PyErr_Occurred()) SWIG_fail;
18130 }
18131 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 0);
18132 return resultobj;
18133 fail:
18134 return NULL;
18135}
18136
18137
ae8162c8
RD
18138static PyObject *_wrap_Choicebook_DeleteAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
18139 PyObject *resultobj;
18140 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
18141 bool result;
18142 PyObject * obj0 = 0 ;
18143 char *kwnames[] = {
18144 (char *) "self", NULL
18145 };
18146
18147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_DeleteAllPages",kwnames,&obj0)) goto fail;
093d3ff1
RD
18148 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
18149 if (SWIG_arg_fail(1)) SWIG_fail;
ae8162c8
RD
18150 {
18151 PyThreadState* __tstate = wxPyBeginAllowThreads();
18152 result = (bool)(arg1)->DeleteAllPages();
18153
18154 wxPyEndAllowThreads(__tstate);
18155 if (PyErr_Occurred()) SWIG_fail;
18156 }
18157 {
18158 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18159 }
18160 return resultobj;
18161 fail:
18162 return NULL;
18163}
18164
18165
18166static PyObject * Choicebook_swigregister(PyObject *, PyObject *args) {
18167 PyObject *obj;
18168 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18169 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebook, obj);
18170 Py_INCREF(obj);
18171 return Py_BuildValue((char *)"");
18172}
18173static PyObject *_wrap_new_ChoicebookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
18174 PyObject *resultobj;
18175 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
18176 int arg2 = (int) 0 ;
18177 int arg3 = (int) -1 ;
18178 int arg4 = (int) -1 ;
18179 wxChoicebookEvent *result;
18180 PyObject * obj0 = 0 ;
18181 PyObject * obj1 = 0 ;
18182 PyObject * obj2 = 0 ;
18183 PyObject * obj3 = 0 ;
18184 char *kwnames[] = {
18185 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
18186 };
18187
18188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ChoicebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18189 if (obj0) {
093d3ff1
RD
18190 {
18191 arg1 = (wxEventType)(SWIG_As_int(obj0));
18192 if (SWIG_arg_fail(1)) SWIG_fail;
18193 }
ae8162c8
RD
18194 }
18195 if (obj1) {
093d3ff1
RD
18196 {
18197 arg2 = (int)(SWIG_As_int(obj1));
18198 if (SWIG_arg_fail(2)) SWIG_fail;
18199 }
ae8162c8
RD
18200 }
18201 if (obj2) {
093d3ff1
RD
18202 {
18203 arg3 = (int)(SWIG_As_int(obj2));
18204 if (SWIG_arg_fail(3)) SWIG_fail;
18205 }
ae8162c8
RD
18206 }
18207 if (obj3) {
093d3ff1
RD
18208 {
18209 arg4 = (int)(SWIG_As_int(obj3));
18210 if (SWIG_arg_fail(4)) SWIG_fail;
18211 }
ae8162c8
RD
18212 }
18213 {
18214 PyThreadState* __tstate = wxPyBeginAllowThreads();
18215 result = (wxChoicebookEvent *)new wxChoicebookEvent(arg1,arg2,arg3,arg4);
18216
18217 wxPyEndAllowThreads(__tstate);
18218 if (PyErr_Occurred()) SWIG_fail;
18219 }
18220 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebookEvent, 1);
18221 return resultobj;
18222 fail:
18223 return NULL;
18224}
18225
18226
18227static PyObject * ChoicebookEvent_swigregister(PyObject *, PyObject *args) {
18228 PyObject *obj;
18229 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18230 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebookEvent, obj);
18231 Py_INCREF(obj);
18232 return Py_BuildValue((char *)"");
18233}
c32bde28 18234static PyObject *_wrap_new_BookCtrlSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 18235 PyObject *resultobj;
8ac8dba0 18236 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
18237 wxBookCtrlSizer *result;
18238 PyObject * obj0 = 0 ;
18239 char *kwnames[] = {
18240 (char *) "nb", NULL
18241 };
18242
18243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BookCtrlSizer",kwnames,&obj0)) goto fail;
093d3ff1
RD
18244 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
18245 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18246 {
18247 PyThreadState* __tstate = wxPyBeginAllowThreads();
18248 result = (wxBookCtrlSizer *)new wxBookCtrlSizer(arg1);
18249
18250 wxPyEndAllowThreads(__tstate);
18251 if (PyErr_Occurred()) SWIG_fail;
18252 }
18253 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlSizer, 1);
18254 return resultobj;
18255 fail:
18256 return NULL;
18257}
18258
18259
c32bde28 18260static PyObject *_wrap_BookCtrlSizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18261 PyObject *resultobj;
18262 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
18263 PyObject * obj0 = 0 ;
18264 char *kwnames[] = {
18265 (char *) "self", NULL
18266 };
18267
18268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames,&obj0)) goto fail;
093d3ff1
RD
18269 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlSizer, SWIG_POINTER_EXCEPTION | 0);
18270 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18271 {
18272 PyThreadState* __tstate = wxPyBeginAllowThreads();
18273 (arg1)->RecalcSizes();
18274
18275 wxPyEndAllowThreads(__tstate);
18276 if (PyErr_Occurred()) SWIG_fail;
18277 }
18278 Py_INCREF(Py_None); resultobj = Py_None;
18279 return resultobj;
18280 fail:
18281 return NULL;
18282}
18283
18284
c32bde28 18285static PyObject *_wrap_BookCtrlSizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18286 PyObject *resultobj;
18287 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
18288 wxSize result;
18289 PyObject * obj0 = 0 ;
18290 char *kwnames[] = {
18291 (char *) "self", NULL
18292 };
18293
18294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_CalcMin",kwnames,&obj0)) goto fail;
093d3ff1
RD
18295 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlSizer, SWIG_POINTER_EXCEPTION | 0);
18296 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18297 {
18298 PyThreadState* __tstate = wxPyBeginAllowThreads();
18299 result = (arg1)->CalcMin();
18300
18301 wxPyEndAllowThreads(__tstate);
18302 if (PyErr_Occurred()) SWIG_fail;
18303 }
18304 {
18305 wxSize * resultptr;
093d3ff1 18306 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
18307 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18308 }
18309 return resultobj;
18310 fail:
18311 return NULL;
18312}
18313
18314
c32bde28 18315static PyObject *_wrap_BookCtrlSizer_GetControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18316 PyObject *resultobj;
18317 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
8ac8dba0 18318 wxBookCtrlBase *result;
d55e5bfc
RD
18319 PyObject * obj0 = 0 ;
18320 char *kwnames[] = {
18321 (char *) "self", NULL
18322 };
18323
18324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_GetControl",kwnames,&obj0)) goto fail;
093d3ff1
RD
18325 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlSizer, SWIG_POINTER_EXCEPTION | 0);
18326 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18327 {
18328 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 18329 result = (wxBookCtrlBase *)(arg1)->GetControl();
d55e5bfc
RD
18330
18331 wxPyEndAllowThreads(__tstate);
18332 if (PyErr_Occurred()) SWIG_fail;
18333 }
8ac8dba0 18334 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlBase, 0);
d55e5bfc
RD
18335 return resultobj;
18336 fail:
18337 return NULL;
18338}
18339
18340
c32bde28 18341static PyObject * BookCtrlSizer_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
18342 PyObject *obj;
18343 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18344 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer, obj);
18345 Py_INCREF(obj);
18346 return Py_BuildValue((char *)"");
18347}
c32bde28 18348static PyObject *_wrap_new_NotebookSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18349 PyObject *resultobj;
18350 wxNotebook *arg1 = (wxNotebook *) 0 ;
18351 wxNotebookSizer *result;
18352 PyObject * obj0 = 0 ;
18353 char *kwnames[] = {
18354 (char *) "nb", NULL
18355 };
18356
18357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_NotebookSizer",kwnames,&obj0)) goto fail;
093d3ff1
RD
18358 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
18359 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18360 {
18361 PyThreadState* __tstate = wxPyBeginAllowThreads();
18362 result = (wxNotebookSizer *)new wxNotebookSizer(arg1);
18363
18364 wxPyEndAllowThreads(__tstate);
18365 if (PyErr_Occurred()) SWIG_fail;
18366 }
18367 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookSizer, 1);
18368 return resultobj;
18369 fail:
18370 return NULL;
18371}
18372
18373
c32bde28 18374static PyObject *_wrap_NotebookSizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18375 PyObject *resultobj;
18376 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
18377 PyObject * obj0 = 0 ;
18378 char *kwnames[] = {
18379 (char *) "self", NULL
18380 };
18381
18382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_RecalcSizes",kwnames,&obj0)) goto fail;
093d3ff1
RD
18383 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebookSizer, SWIG_POINTER_EXCEPTION | 0);
18384 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18385 {
18386 PyThreadState* __tstate = wxPyBeginAllowThreads();
18387 (arg1)->RecalcSizes();
18388
18389 wxPyEndAllowThreads(__tstate);
18390 if (PyErr_Occurred()) SWIG_fail;
18391 }
18392 Py_INCREF(Py_None); resultobj = Py_None;
18393 return resultobj;
18394 fail:
18395 return NULL;
18396}
18397
18398
c32bde28 18399static PyObject *_wrap_NotebookSizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18400 PyObject *resultobj;
18401 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
18402 wxSize result;
18403 PyObject * obj0 = 0 ;
18404 char *kwnames[] = {
18405 (char *) "self", NULL
18406 };
18407
18408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_CalcMin",kwnames,&obj0)) goto fail;
093d3ff1
RD
18409 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebookSizer, SWIG_POINTER_EXCEPTION | 0);
18410 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18411 {
18412 PyThreadState* __tstate = wxPyBeginAllowThreads();
18413 result = (arg1)->CalcMin();
18414
18415 wxPyEndAllowThreads(__tstate);
18416 if (PyErr_Occurred()) SWIG_fail;
18417 }
18418 {
18419 wxSize * resultptr;
093d3ff1 18420 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
18421 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18422 }
18423 return resultobj;
18424 fail:
18425 return NULL;
18426}
18427
18428
c32bde28 18429static PyObject *_wrap_NotebookSizer_GetNotebook(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18430 PyObject *resultobj;
18431 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
18432 wxNotebook *result;
18433 PyObject * obj0 = 0 ;
18434 char *kwnames[] = {
18435 (char *) "self", NULL
18436 };
18437
18438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_GetNotebook",kwnames,&obj0)) goto fail;
093d3ff1
RD
18439 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebookSizer, SWIG_POINTER_EXCEPTION | 0);
18440 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18441 {
18442 PyThreadState* __tstate = wxPyBeginAllowThreads();
18443 result = (wxNotebook *)(arg1)->GetNotebook();
18444
18445 wxPyEndAllowThreads(__tstate);
18446 if (PyErr_Occurred()) SWIG_fail;
18447 }
18448 {
412d302d 18449 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
18450 }
18451 return resultobj;
18452 fail:
18453 return NULL;
18454}
18455
18456
c32bde28 18457static PyObject * NotebookSizer_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
18458 PyObject *obj;
18459 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18460 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer, obj);
18461 Py_INCREF(obj);
18462 return Py_BuildValue((char *)"");
18463}
c32bde28 18464static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18465 PyObject *resultobj;
18466 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18467 int result;
18468 PyObject * obj0 = 0 ;
18469 char *kwnames[] = {
18470 (char *) "self", NULL
18471 };
18472
18473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetId",kwnames,&obj0)) goto fail;
093d3ff1
RD
18474 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18475 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18476 {
18477 PyThreadState* __tstate = wxPyBeginAllowThreads();
18478 result = (int)(arg1)->GetId();
18479
18480 wxPyEndAllowThreads(__tstate);
18481 if (PyErr_Occurred()) SWIG_fail;
18482 }
093d3ff1
RD
18483 {
18484 resultobj = SWIG_From_int((int)(result));
18485 }
d55e5bfc
RD
18486 return resultobj;
18487 fail:
18488 return NULL;
18489}
18490
18491
c32bde28 18492static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18493 PyObject *resultobj;
18494 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18495 wxControl *result;
18496 PyObject * obj0 = 0 ;
18497 char *kwnames[] = {
18498 (char *) "self", NULL
18499 };
18500
18501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetControl",kwnames,&obj0)) goto fail;
093d3ff1
RD
18502 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18503 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18504 {
18505 PyThreadState* __tstate = wxPyBeginAllowThreads();
18506 result = (wxControl *)(arg1)->GetControl();
18507
18508 wxPyEndAllowThreads(__tstate);
18509 if (PyErr_Occurred()) SWIG_fail;
18510 }
18511 {
412d302d 18512 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
18513 }
18514 return resultobj;
18515 fail:
18516 return NULL;
18517}
18518
18519
c32bde28 18520static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18521 PyObject *resultobj;
18522 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18523 wxToolBarBase *result;
18524 PyObject * obj0 = 0 ;
18525 char *kwnames[] = {
18526 (char *) "self", NULL
18527 };
18528
18529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetToolBar",kwnames,&obj0)) goto fail;
093d3ff1
RD
18530 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18531 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18532 {
18533 PyThreadState* __tstate = wxPyBeginAllowThreads();
18534 result = (wxToolBarBase *)(arg1)->GetToolBar();
18535
18536 wxPyEndAllowThreads(__tstate);
18537 if (PyErr_Occurred()) SWIG_fail;
18538 }
18539 {
412d302d 18540 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
18541 }
18542 return resultobj;
18543 fail:
18544 return NULL;
18545}
18546
18547
c32bde28 18548static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18549 PyObject *resultobj;
18550 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18551 int result;
18552 PyObject * obj0 = 0 ;
18553 char *kwnames[] = {
18554 (char *) "self", NULL
18555 };
18556
18557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsButton",kwnames,&obj0)) goto fail;
093d3ff1
RD
18558 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18559 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18560 {
18561 PyThreadState* __tstate = wxPyBeginAllowThreads();
18562 result = (int)(arg1)->IsButton();
18563
18564 wxPyEndAllowThreads(__tstate);
18565 if (PyErr_Occurred()) SWIG_fail;
18566 }
093d3ff1
RD
18567 {
18568 resultobj = SWIG_From_int((int)(result));
18569 }
d55e5bfc
RD
18570 return resultobj;
18571 fail:
18572 return NULL;
18573}
18574
18575
c32bde28 18576static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18577 PyObject *resultobj;
18578 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18579 int result;
18580 PyObject * obj0 = 0 ;
18581 char *kwnames[] = {
18582 (char *) "self", NULL
18583 };
18584
18585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsControl",kwnames,&obj0)) goto fail;
093d3ff1
RD
18586 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18587 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18588 {
18589 PyThreadState* __tstate = wxPyBeginAllowThreads();
18590 result = (int)(arg1)->IsControl();
18591
18592 wxPyEndAllowThreads(__tstate);
18593 if (PyErr_Occurred()) SWIG_fail;
18594 }
093d3ff1
RD
18595 {
18596 resultobj = SWIG_From_int((int)(result));
18597 }
d55e5bfc
RD
18598 return resultobj;
18599 fail:
18600 return NULL;
18601}
18602
18603
c32bde28 18604static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18605 PyObject *resultobj;
18606 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18607 int result;
18608 PyObject * obj0 = 0 ;
18609 char *kwnames[] = {
18610 (char *) "self", NULL
18611 };
18612
18613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsSeparator",kwnames,&obj0)) goto fail;
093d3ff1
RD
18614 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18615 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18616 {
18617 PyThreadState* __tstate = wxPyBeginAllowThreads();
18618 result = (int)(arg1)->IsSeparator();
18619
18620 wxPyEndAllowThreads(__tstate);
18621 if (PyErr_Occurred()) SWIG_fail;
18622 }
093d3ff1
RD
18623 {
18624 resultobj = SWIG_From_int((int)(result));
18625 }
d55e5bfc
RD
18626 return resultobj;
18627 fail:
18628 return NULL;
18629}
18630
18631
c32bde28 18632static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18633 PyObject *resultobj;
18634 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18635 int result;
18636 PyObject * obj0 = 0 ;
18637 char *kwnames[] = {
18638 (char *) "self", NULL
18639 };
18640
18641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetStyle",kwnames,&obj0)) goto fail;
093d3ff1
RD
18642 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18643 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18644 {
18645 PyThreadState* __tstate = wxPyBeginAllowThreads();
18646 result = (int)(arg1)->GetStyle();
18647
18648 wxPyEndAllowThreads(__tstate);
18649 if (PyErr_Occurred()) SWIG_fail;
18650 }
093d3ff1
RD
18651 {
18652 resultobj = SWIG_From_int((int)(result));
18653 }
d55e5bfc
RD
18654 return resultobj;
18655 fail:
18656 return NULL;
18657}
18658
18659
c32bde28 18660static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18661 PyObject *resultobj;
18662 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
093d3ff1 18663 wxItemKind result;
d55e5bfc
RD
18664 PyObject * obj0 = 0 ;
18665 char *kwnames[] = {
18666 (char *) "self", NULL
18667 };
18668
18669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetKind",kwnames,&obj0)) goto fail;
093d3ff1
RD
18670 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18671 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18672 {
18673 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 18674 result = (wxItemKind)(arg1)->GetKind();
d55e5bfc
RD
18675
18676 wxPyEndAllowThreads(__tstate);
18677 if (PyErr_Occurred()) SWIG_fail;
18678 }
093d3ff1 18679 resultobj = SWIG_From_int((result));
d55e5bfc
RD
18680 return resultobj;
18681 fail:
18682 return NULL;
18683}
18684
18685
c32bde28 18686static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18687 PyObject *resultobj;
18688 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18689 bool result;
18690 PyObject * obj0 = 0 ;
18691 char *kwnames[] = {
18692 (char *) "self", NULL
18693 };
18694
18695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsEnabled",kwnames,&obj0)) goto fail;
093d3ff1
RD
18696 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18697 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18698 {
18699 PyThreadState* __tstate = wxPyBeginAllowThreads();
18700 result = (bool)(arg1)->IsEnabled();
18701
18702 wxPyEndAllowThreads(__tstate);
18703 if (PyErr_Occurred()) SWIG_fail;
18704 }
18705 {
18706 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18707 }
18708 return resultobj;
18709 fail:
18710 return NULL;
18711}
18712
18713
c32bde28 18714static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18715 PyObject *resultobj;
18716 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18717 bool result;
18718 PyObject * obj0 = 0 ;
18719 char *kwnames[] = {
18720 (char *) "self", NULL
18721 };
18722
18723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsToggled",kwnames,&obj0)) goto fail;
093d3ff1
RD
18724 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18725 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18726 {
18727 PyThreadState* __tstate = wxPyBeginAllowThreads();
18728 result = (bool)(arg1)->IsToggled();
18729
18730 wxPyEndAllowThreads(__tstate);
18731 if (PyErr_Occurred()) SWIG_fail;
18732 }
18733 {
18734 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18735 }
18736 return resultobj;
18737 fail:
18738 return NULL;
18739}
18740
18741
c32bde28 18742static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18743 PyObject *resultobj;
18744 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18745 bool result;
18746 PyObject * obj0 = 0 ;
18747 char *kwnames[] = {
18748 (char *) "self", NULL
18749 };
18750
18751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames,&obj0)) goto fail;
093d3ff1
RD
18752 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18753 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18754 {
18755 PyThreadState* __tstate = wxPyBeginAllowThreads();
18756 result = (bool)(arg1)->CanBeToggled();
18757
18758 wxPyEndAllowThreads(__tstate);
18759 if (PyErr_Occurred()) SWIG_fail;
18760 }
18761 {
18762 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18763 }
18764 return resultobj;
18765 fail:
18766 return NULL;
18767}
18768
18769
c32bde28 18770static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18771 PyObject *resultobj;
18772 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18773 wxBitmap *result;
18774 PyObject * obj0 = 0 ;
18775 char *kwnames[] = {
18776 (char *) "self", NULL
18777 };
18778
18779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames,&obj0)) goto fail;
093d3ff1
RD
18780 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18781 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18782 {
18783 PyThreadState* __tstate = wxPyBeginAllowThreads();
18784 {
18785 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
18786 result = (wxBitmap *) &_result_ref;
18787 }
18788
18789 wxPyEndAllowThreads(__tstate);
18790 if (PyErr_Occurred()) SWIG_fail;
18791 }
18792 {
18793 wxBitmap* resultptr = new wxBitmap(*result);
18794 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
18795 }
18796 return resultobj;
18797 fail:
18798 return NULL;
18799}
18800
18801
c32bde28 18802static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18803 PyObject *resultobj;
18804 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18805 wxBitmap *result;
18806 PyObject * obj0 = 0 ;
18807 char *kwnames[] = {
18808 (char *) "self", NULL
18809 };
18810
18811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames,&obj0)) goto fail;
093d3ff1
RD
18812 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18813 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18814 {
18815 PyThreadState* __tstate = wxPyBeginAllowThreads();
18816 {
18817 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
18818 result = (wxBitmap *) &_result_ref;
18819 }
18820
18821 wxPyEndAllowThreads(__tstate);
18822 if (PyErr_Occurred()) SWIG_fail;
18823 }
18824 {
18825 wxBitmap* resultptr = new wxBitmap(*result);
18826 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
18827 }
18828 return resultobj;
18829 fail:
18830 return NULL;
18831}
18832
18833
c32bde28 18834static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18835 PyObject *resultobj;
18836 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18837 wxBitmap result;
18838 PyObject * obj0 = 0 ;
18839 char *kwnames[] = {
18840 (char *) "self", NULL
18841 };
18842
18843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetBitmap",kwnames,&obj0)) goto fail;
093d3ff1
RD
18844 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18845 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18846 {
18847 PyThreadState* __tstate = wxPyBeginAllowThreads();
18848 result = (arg1)->GetBitmap();
18849
18850 wxPyEndAllowThreads(__tstate);
18851 if (PyErr_Occurred()) SWIG_fail;
18852 }
18853 {
18854 wxBitmap * resultptr;
093d3ff1 18855 resultptr = new wxBitmap((wxBitmap &)(result));
d55e5bfc
RD
18856 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
18857 }
18858 return resultobj;
18859 fail:
18860 return NULL;
18861}
18862
18863
c32bde28 18864static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18865 PyObject *resultobj;
18866 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18867 wxString result;
18868 PyObject * obj0 = 0 ;
18869 char *kwnames[] = {
18870 (char *) "self", NULL
18871 };
18872
18873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLabel",kwnames,&obj0)) goto fail;
093d3ff1
RD
18874 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18875 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18876 {
18877 PyThreadState* __tstate = wxPyBeginAllowThreads();
18878 result = (arg1)->GetLabel();
18879
18880 wxPyEndAllowThreads(__tstate);
18881 if (PyErr_Occurred()) SWIG_fail;
18882 }
18883 {
18884#if wxUSE_UNICODE
18885 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18886#else
18887 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18888#endif
18889 }
18890 return resultobj;
18891 fail:
18892 return NULL;
18893}
18894
18895
c32bde28 18896static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18897 PyObject *resultobj;
18898 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18899 wxString result;
18900 PyObject * obj0 = 0 ;
18901 char *kwnames[] = {
18902 (char *) "self", NULL
18903 };
18904
18905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames,&obj0)) goto fail;
093d3ff1
RD
18906 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18907 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18908 {
18909 PyThreadState* __tstate = wxPyBeginAllowThreads();
18910 result = (arg1)->GetShortHelp();
18911
18912 wxPyEndAllowThreads(__tstate);
18913 if (PyErr_Occurred()) SWIG_fail;
18914 }
18915 {
18916#if wxUSE_UNICODE
18917 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18918#else
18919 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18920#endif
18921 }
18922 return resultobj;
18923 fail:
18924 return NULL;
18925}
18926
18927
c32bde28 18928static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18929 PyObject *resultobj;
18930 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18931 wxString result;
18932 PyObject * obj0 = 0 ;
18933 char *kwnames[] = {
18934 (char *) "self", NULL
18935 };
18936
18937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames,&obj0)) goto fail;
093d3ff1
RD
18938 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18939 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18940 {
18941 PyThreadState* __tstate = wxPyBeginAllowThreads();
18942 result = (arg1)->GetLongHelp();
18943
18944 wxPyEndAllowThreads(__tstate);
18945 if (PyErr_Occurred()) SWIG_fail;
18946 }
18947 {
18948#if wxUSE_UNICODE
18949 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18950#else
18951 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18952#endif
18953 }
18954 return resultobj;
18955 fail:
18956 return NULL;
18957}
18958
18959
c32bde28 18960static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18961 PyObject *resultobj;
18962 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18963 bool arg2 ;
18964 bool result;
18965 PyObject * obj0 = 0 ;
18966 PyObject * obj1 = 0 ;
18967 char *kwnames[] = {
18968 (char *) "self",(char *) "enable", NULL
18969 };
18970
18971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18972 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18973 if (SWIG_arg_fail(1)) SWIG_fail;
18974 {
18975 arg2 = (bool)(SWIG_As_bool(obj1));
18976 if (SWIG_arg_fail(2)) SWIG_fail;
18977 }
d55e5bfc
RD
18978 {
18979 PyThreadState* __tstate = wxPyBeginAllowThreads();
18980 result = (bool)(arg1)->Enable(arg2);
18981
18982 wxPyEndAllowThreads(__tstate);
18983 if (PyErr_Occurred()) SWIG_fail;
18984 }
18985 {
18986 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18987 }
18988 return resultobj;
18989 fail:
18990 return NULL;
18991}
18992
18993
c32bde28 18994static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18995 PyObject *resultobj;
18996 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18997 PyObject * obj0 = 0 ;
18998 char *kwnames[] = {
18999 (char *) "self", NULL
19000 };
19001
19002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Toggle",kwnames,&obj0)) goto fail;
093d3ff1
RD
19003 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19004 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19005 {
19006 PyThreadState* __tstate = wxPyBeginAllowThreads();
19007 (arg1)->Toggle();
19008
19009 wxPyEndAllowThreads(__tstate);
19010 if (PyErr_Occurred()) SWIG_fail;
19011 }
19012 Py_INCREF(Py_None); resultobj = Py_None;
19013 return resultobj;
19014 fail:
19015 return NULL;
19016}
19017
19018
c32bde28 19019static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19020 PyObject *resultobj;
19021 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19022 bool arg2 ;
19023 bool result;
19024 PyObject * obj0 = 0 ;
19025 PyObject * obj1 = 0 ;
19026 char *kwnames[] = {
19027 (char *) "self",(char *) "toggle", NULL
19028 };
19029
19030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19031 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19032 if (SWIG_arg_fail(1)) SWIG_fail;
19033 {
19034 arg2 = (bool)(SWIG_As_bool(obj1));
19035 if (SWIG_arg_fail(2)) SWIG_fail;
19036 }
d55e5bfc
RD
19037 {
19038 PyThreadState* __tstate = wxPyBeginAllowThreads();
19039 result = (bool)(arg1)->SetToggle(arg2);
19040
19041 wxPyEndAllowThreads(__tstate);
19042 if (PyErr_Occurred()) SWIG_fail;
19043 }
19044 {
19045 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19046 }
19047 return resultobj;
19048 fail:
19049 return NULL;
19050}
19051
19052
c32bde28 19053static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19054 PyObject *resultobj;
19055 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19056 wxString *arg2 = 0 ;
19057 bool result;
ae8162c8 19058 bool temp2 = false ;
d55e5bfc
RD
19059 PyObject * obj0 = 0 ;
19060 PyObject * obj1 = 0 ;
19061 char *kwnames[] = {
19062 (char *) "self",(char *) "help", NULL
19063 };
19064
19065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19066 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19067 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19068 {
19069 arg2 = wxString_in_helper(obj1);
19070 if (arg2 == NULL) SWIG_fail;
ae8162c8 19071 temp2 = true;
d55e5bfc
RD
19072 }
19073 {
19074 PyThreadState* __tstate = wxPyBeginAllowThreads();
19075 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
19076
19077 wxPyEndAllowThreads(__tstate);
19078 if (PyErr_Occurred()) SWIG_fail;
19079 }
19080 {
19081 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19082 }
19083 {
19084 if (temp2)
19085 delete arg2;
19086 }
19087 return resultobj;
19088 fail:
19089 {
19090 if (temp2)
19091 delete arg2;
19092 }
19093 return NULL;
19094}
19095
19096
c32bde28 19097static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19098 PyObject *resultobj;
19099 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19100 wxString *arg2 = 0 ;
19101 bool result;
ae8162c8 19102 bool temp2 = false ;
d55e5bfc
RD
19103 PyObject * obj0 = 0 ;
19104 PyObject * obj1 = 0 ;
19105 char *kwnames[] = {
19106 (char *) "self",(char *) "help", NULL
19107 };
19108
19109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19110 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19111 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19112 {
19113 arg2 = wxString_in_helper(obj1);
19114 if (arg2 == NULL) SWIG_fail;
ae8162c8 19115 temp2 = true;
d55e5bfc
RD
19116 }
19117 {
19118 PyThreadState* __tstate = wxPyBeginAllowThreads();
19119 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
19120
19121 wxPyEndAllowThreads(__tstate);
19122 if (PyErr_Occurred()) SWIG_fail;
19123 }
19124 {
19125 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19126 }
19127 {
19128 if (temp2)
19129 delete arg2;
19130 }
19131 return resultobj;
19132 fail:
19133 {
19134 if (temp2)
19135 delete arg2;
19136 }
19137 return NULL;
19138}
19139
19140
c32bde28 19141static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19142 PyObject *resultobj;
19143 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19144 wxBitmap *arg2 = 0 ;
19145 PyObject * obj0 = 0 ;
19146 PyObject * obj1 = 0 ;
19147 char *kwnames[] = {
19148 (char *) "self",(char *) "bmp", NULL
19149 };
19150
19151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19152 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19153 if (SWIG_arg_fail(1)) SWIG_fail;
19154 {
19155 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19156 if (SWIG_arg_fail(2)) SWIG_fail;
19157 if (arg2 == NULL) {
19158 SWIG_null_ref("wxBitmap");
19159 }
19160 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
19161 }
19162 {
19163 PyThreadState* __tstate = wxPyBeginAllowThreads();
19164 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
19165
19166 wxPyEndAllowThreads(__tstate);
19167 if (PyErr_Occurred()) SWIG_fail;
19168 }
19169 Py_INCREF(Py_None); resultobj = Py_None;
19170 return resultobj;
19171 fail:
19172 return NULL;
19173}
19174
19175
c32bde28 19176static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19177 PyObject *resultobj;
19178 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19179 wxBitmap *arg2 = 0 ;
19180 PyObject * obj0 = 0 ;
19181 PyObject * obj1 = 0 ;
19182 char *kwnames[] = {
19183 (char *) "self",(char *) "bmp", NULL
19184 };
19185
19186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19187 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19188 if (SWIG_arg_fail(1)) SWIG_fail;
19189 {
19190 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19191 if (SWIG_arg_fail(2)) SWIG_fail;
19192 if (arg2 == NULL) {
19193 SWIG_null_ref("wxBitmap");
19194 }
19195 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
19196 }
19197 {
19198 PyThreadState* __tstate = wxPyBeginAllowThreads();
19199 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
19200
19201 wxPyEndAllowThreads(__tstate);
19202 if (PyErr_Occurred()) SWIG_fail;
19203 }
19204 Py_INCREF(Py_None); resultobj = Py_None;
19205 return resultobj;
19206 fail:
19207 return NULL;
19208}
19209
19210
c32bde28 19211static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19212 PyObject *resultobj;
19213 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19214 wxString *arg2 = 0 ;
ae8162c8 19215 bool temp2 = false ;
d55e5bfc
RD
19216 PyObject * obj0 = 0 ;
19217 PyObject * obj1 = 0 ;
19218 char *kwnames[] = {
19219 (char *) "self",(char *) "label", NULL
19220 };
19221
19222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19223 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19224 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19225 {
19226 arg2 = wxString_in_helper(obj1);
19227 if (arg2 == NULL) SWIG_fail;
ae8162c8 19228 temp2 = true;
d55e5bfc
RD
19229 }
19230 {
19231 PyThreadState* __tstate = wxPyBeginAllowThreads();
19232 (arg1)->SetLabel((wxString const &)*arg2);
19233
19234 wxPyEndAllowThreads(__tstate);
19235 if (PyErr_Occurred()) SWIG_fail;
19236 }
19237 Py_INCREF(Py_None); resultobj = Py_None;
19238 {
19239 if (temp2)
19240 delete arg2;
19241 }
19242 return resultobj;
19243 fail:
19244 {
19245 if (temp2)
19246 delete arg2;
19247 }
19248 return NULL;
19249}
19250
19251
c32bde28 19252static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19253 PyObject *resultobj;
19254 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19255 PyObject * obj0 = 0 ;
19256 char *kwnames[] = {
19257 (char *) "self", NULL
19258 };
19259
19260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Detach",kwnames,&obj0)) goto fail;
093d3ff1
RD
19261 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19262 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19263 {
19264 PyThreadState* __tstate = wxPyBeginAllowThreads();
19265 (arg1)->Detach();
19266
19267 wxPyEndAllowThreads(__tstate);
19268 if (PyErr_Occurred()) SWIG_fail;
19269 }
19270 Py_INCREF(Py_None); resultobj = Py_None;
19271 return resultobj;
19272 fail:
19273 return NULL;
19274}
19275
19276
c32bde28 19277static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19278 PyObject *resultobj;
19279 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19280 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
19281 PyObject * obj0 = 0 ;
19282 PyObject * obj1 = 0 ;
19283 char *kwnames[] = {
19284 (char *) "self",(char *) "tbar", NULL
19285 };
19286
19287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19288 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19289 if (SWIG_arg_fail(1)) SWIG_fail;
19290 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19291 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
19292 {
19293 PyThreadState* __tstate = wxPyBeginAllowThreads();
19294 (arg1)->Attach(arg2);
19295
19296 wxPyEndAllowThreads(__tstate);
19297 if (PyErr_Occurred()) SWIG_fail;
19298 }
19299 Py_INCREF(Py_None); resultobj = Py_None;
19300 return resultobj;
19301 fail:
19302 return NULL;
19303}
19304
19305
c32bde28 19306static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19307 PyObject *resultobj;
19308 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19309 PyObject *result;
19310 PyObject * obj0 = 0 ;
19311 char *kwnames[] = {
19312 (char *) "self", NULL
19313 };
19314
19315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetClientData",kwnames,&obj0)) goto fail;
093d3ff1
RD
19316 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19317 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19318 {
19319 PyThreadState* __tstate = wxPyBeginAllowThreads();
19320 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
19321
19322 wxPyEndAllowThreads(__tstate);
19323 if (PyErr_Occurred()) SWIG_fail;
19324 }
19325 resultobj = result;
19326 return resultobj;
19327 fail:
19328 return NULL;
19329}
19330
19331
c32bde28 19332static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19333 PyObject *resultobj;
19334 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19335 PyObject *arg2 = (PyObject *) 0 ;
19336 PyObject * obj0 = 0 ;
19337 PyObject * obj1 = 0 ;
19338 char *kwnames[] = {
19339 (char *) "self",(char *) "clientData", NULL
19340 };
19341
19342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19343 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19344 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19345 arg2 = obj1;
19346 {
19347 PyThreadState* __tstate = wxPyBeginAllowThreads();
19348 wxToolBarToolBase_SetClientData(arg1,arg2);
19349
19350 wxPyEndAllowThreads(__tstate);
19351 if (PyErr_Occurred()) SWIG_fail;
19352 }
19353 Py_INCREF(Py_None); resultobj = Py_None;
19354 return resultobj;
19355 fail:
19356 return NULL;
19357}
19358
19359
c32bde28 19360static PyObject * ToolBarToolBase_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
19361 PyObject *obj;
19362 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19363 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase, obj);
19364 Py_INCREF(obj);
19365 return Py_BuildValue((char *)"");
19366}
c32bde28 19367static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19368 PyObject *resultobj;
19369 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19370 int arg2 ;
19371 wxString *arg3 = 0 ;
19372 wxBitmap *arg4 = 0 ;
19373 wxBitmap const &arg5_defvalue = wxNullBitmap ;
19374 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
093d3ff1 19375 wxItemKind arg6 = (wxItemKind) wxITEM_NORMAL ;
d55e5bfc
RD
19376 wxString const &arg7_defvalue = wxPyEmptyString ;
19377 wxString *arg7 = (wxString *) &arg7_defvalue ;
19378 wxString const &arg8_defvalue = wxPyEmptyString ;
19379 wxString *arg8 = (wxString *) &arg8_defvalue ;
19380 PyObject *arg9 = (PyObject *) NULL ;
19381 wxToolBarToolBase *result;
ae8162c8
RD
19382 bool temp3 = false ;
19383 bool temp7 = false ;
19384 bool temp8 = false ;
d55e5bfc
RD
19385 PyObject * obj0 = 0 ;
19386 PyObject * obj1 = 0 ;
19387 PyObject * obj2 = 0 ;
19388 PyObject * obj3 = 0 ;
19389 PyObject * obj4 = 0 ;
19390 PyObject * obj5 = 0 ;
19391 PyObject * obj6 = 0 ;
19392 PyObject * obj7 = 0 ;
19393 PyObject * obj8 = 0 ;
19394 char *kwnames[] = {
19395 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19396 };
19397
19398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
19399 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19400 if (SWIG_arg_fail(1)) SWIG_fail;
19401 {
19402 arg2 = (int)(SWIG_As_int(obj1));
19403 if (SWIG_arg_fail(2)) SWIG_fail;
19404 }
d55e5bfc
RD
19405 {
19406 arg3 = wxString_in_helper(obj2);
19407 if (arg3 == NULL) SWIG_fail;
ae8162c8 19408 temp3 = true;
d55e5bfc 19409 }
093d3ff1
RD
19410 {
19411 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19412 if (SWIG_arg_fail(4)) SWIG_fail;
19413 if (arg4 == NULL) {
19414 SWIG_null_ref("wxBitmap");
19415 }
19416 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc
RD
19417 }
19418 if (obj4) {
093d3ff1
RD
19419 {
19420 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19421 if (SWIG_arg_fail(5)) SWIG_fail;
19422 if (arg5 == NULL) {
19423 SWIG_null_ref("wxBitmap");
19424 }
19425 if (SWIG_arg_fail(5)) SWIG_fail;
d55e5bfc
RD
19426 }
19427 }
19428 if (obj5) {
093d3ff1
RD
19429 {
19430 arg6 = (wxItemKind)(SWIG_As_int(obj5));
19431 if (SWIG_arg_fail(6)) SWIG_fail;
19432 }
d55e5bfc
RD
19433 }
19434 if (obj6) {
19435 {
19436 arg7 = wxString_in_helper(obj6);
19437 if (arg7 == NULL) SWIG_fail;
ae8162c8 19438 temp7 = true;
d55e5bfc
RD
19439 }
19440 }
19441 if (obj7) {
19442 {
19443 arg8 = wxString_in_helper(obj7);
19444 if (arg8 == NULL) SWIG_fail;
ae8162c8 19445 temp8 = true;
d55e5bfc
RD
19446 }
19447 }
19448 if (obj8) {
19449 arg9 = obj8;
19450 }
19451 {
19452 PyThreadState* __tstate = wxPyBeginAllowThreads();
19453 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,(wxItemKind )arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
19454
19455 wxPyEndAllowThreads(__tstate);
19456 if (PyErr_Occurred()) SWIG_fail;
19457 }
19458 {
412d302d 19459 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
19460 }
19461 {
19462 if (temp3)
19463 delete arg3;
19464 }
19465 {
19466 if (temp7)
19467 delete arg7;
19468 }
19469 {
19470 if (temp8)
19471 delete arg8;
19472 }
19473 return resultobj;
19474 fail:
19475 {
19476 if (temp3)
19477 delete arg3;
19478 }
19479 {
19480 if (temp7)
19481 delete arg7;
19482 }
19483 {
19484 if (temp8)
19485 delete arg8;
19486 }
19487 return NULL;
19488}
19489
19490
c32bde28 19491static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19492 PyObject *resultobj;
19493 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19494 size_t arg2 ;
19495 int arg3 ;
19496 wxString *arg4 = 0 ;
19497 wxBitmap *arg5 = 0 ;
19498 wxBitmap const &arg6_defvalue = wxNullBitmap ;
19499 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
093d3ff1 19500 wxItemKind arg7 = (wxItemKind) wxITEM_NORMAL ;
d55e5bfc
RD
19501 wxString const &arg8_defvalue = wxPyEmptyString ;
19502 wxString *arg8 = (wxString *) &arg8_defvalue ;
19503 wxString const &arg9_defvalue = wxPyEmptyString ;
19504 wxString *arg9 = (wxString *) &arg9_defvalue ;
19505 PyObject *arg10 = (PyObject *) NULL ;
19506 wxToolBarToolBase *result;
ae8162c8
RD
19507 bool temp4 = false ;
19508 bool temp8 = false ;
19509 bool temp9 = false ;
d55e5bfc
RD
19510 PyObject * obj0 = 0 ;
19511 PyObject * obj1 = 0 ;
19512 PyObject * obj2 = 0 ;
19513 PyObject * obj3 = 0 ;
19514 PyObject * obj4 = 0 ;
19515 PyObject * obj5 = 0 ;
19516 PyObject * obj6 = 0 ;
19517 PyObject * obj7 = 0 ;
19518 PyObject * obj8 = 0 ;
19519 PyObject * obj9 = 0 ;
19520 char *kwnames[] = {
19521 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19522 };
19523
19524 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
19525 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19526 if (SWIG_arg_fail(1)) SWIG_fail;
19527 {
19528 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19529 if (SWIG_arg_fail(2)) SWIG_fail;
19530 }
19531 {
19532 arg3 = (int)(SWIG_As_int(obj2));
19533 if (SWIG_arg_fail(3)) SWIG_fail;
19534 }
d55e5bfc
RD
19535 {
19536 arg4 = wxString_in_helper(obj3);
19537 if (arg4 == NULL) SWIG_fail;
ae8162c8 19538 temp4 = true;
d55e5bfc 19539 }
093d3ff1
RD
19540 {
19541 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19542 if (SWIG_arg_fail(5)) SWIG_fail;
19543 if (arg5 == NULL) {
19544 SWIG_null_ref("wxBitmap");
19545 }
19546 if (SWIG_arg_fail(5)) SWIG_fail;
d55e5bfc
RD
19547 }
19548 if (obj5) {
093d3ff1
RD
19549 {
19550 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19551 if (SWIG_arg_fail(6)) SWIG_fail;
19552 if (arg6 == NULL) {
19553 SWIG_null_ref("wxBitmap");
19554 }
19555 if (SWIG_arg_fail(6)) SWIG_fail;
d55e5bfc
RD
19556 }
19557 }
19558 if (obj6) {
093d3ff1
RD
19559 {
19560 arg7 = (wxItemKind)(SWIG_As_int(obj6));
19561 if (SWIG_arg_fail(7)) SWIG_fail;
19562 }
d55e5bfc
RD
19563 }
19564 if (obj7) {
19565 {
19566 arg8 = wxString_in_helper(obj7);
19567 if (arg8 == NULL) SWIG_fail;
ae8162c8 19568 temp8 = true;
d55e5bfc
RD
19569 }
19570 }
19571 if (obj8) {
19572 {
19573 arg9 = wxString_in_helper(obj8);
19574 if (arg9 == NULL) SWIG_fail;
ae8162c8 19575 temp9 = true;
d55e5bfc
RD
19576 }
19577 }
19578 if (obj9) {
19579 arg10 = obj9;
19580 }
19581 {
19582 PyThreadState* __tstate = wxPyBeginAllowThreads();
19583 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);
19584
19585 wxPyEndAllowThreads(__tstate);
19586 if (PyErr_Occurred()) SWIG_fail;
19587 }
19588 {
412d302d 19589 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
19590 }
19591 {
19592 if (temp4)
19593 delete arg4;
19594 }
19595 {
19596 if (temp8)
19597 delete arg8;
19598 }
19599 {
19600 if (temp9)
19601 delete arg9;
19602 }
19603 return resultobj;
19604 fail:
19605 {
19606 if (temp4)
19607 delete arg4;
19608 }
19609 {
19610 if (temp8)
19611 delete arg8;
19612 }
19613 {
19614 if (temp9)
19615 delete arg9;
19616 }
19617 return NULL;
19618}
19619
19620
c32bde28 19621static PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19622 PyObject *resultobj;
19623 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19624 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
19625 wxToolBarToolBase *result;
19626 PyObject * obj0 = 0 ;
19627 PyObject * obj1 = 0 ;
19628 char *kwnames[] = {
19629 (char *) "self",(char *) "tool", NULL
19630 };
19631
19632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19633 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19634 if (SWIG_arg_fail(1)) SWIG_fail;
19635 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19636 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
19637 {
19638 PyThreadState* __tstate = wxPyBeginAllowThreads();
19639 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
19640
19641 wxPyEndAllowThreads(__tstate);
19642 if (PyErr_Occurred()) SWIG_fail;
19643 }
19644 {
412d302d 19645 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
19646 }
19647 return resultobj;
19648 fail:
19649 return NULL;
19650}
19651
19652
c32bde28 19653static PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19654 PyObject *resultobj;
19655 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19656 size_t arg2 ;
19657 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
19658 wxToolBarToolBase *result;
19659 PyObject * obj0 = 0 ;
19660 PyObject * obj1 = 0 ;
19661 PyObject * obj2 = 0 ;
19662 char *kwnames[] = {
19663 (char *) "self",(char *) "pos",(char *) "tool", NULL
19664 };
19665
19666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
19667 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19668 if (SWIG_arg_fail(1)) SWIG_fail;
19669 {
19670 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19671 if (SWIG_arg_fail(2)) SWIG_fail;
19672 }
19673 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19674 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
19675 {
19676 PyThreadState* __tstate = wxPyBeginAllowThreads();
19677 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
19678
19679 wxPyEndAllowThreads(__tstate);
19680 if (PyErr_Occurred()) SWIG_fail;
19681 }
19682 {
412d302d 19683 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
19684 }
19685 return resultobj;
19686 fail:
19687 return NULL;
19688}
19689
19690
c32bde28 19691static PyObject *_wrap_ToolBarBase_AddControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19692 PyObject *resultobj;
19693 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19694 wxControl *arg2 = (wxControl *) 0 ;
19695 wxToolBarToolBase *result;
19696 PyObject * obj0 = 0 ;
19697 PyObject * obj1 = 0 ;
19698 char *kwnames[] = {
19699 (char *) "self",(char *) "control", NULL
19700 };
19701
19702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19703 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19704 if (SWIG_arg_fail(1)) SWIG_fail;
19705 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxControl, SWIG_POINTER_EXCEPTION | 0);
19706 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
19707 {
19708 PyThreadState* __tstate = wxPyBeginAllowThreads();
19709 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
19710
19711 wxPyEndAllowThreads(__tstate);
19712 if (PyErr_Occurred()) SWIG_fail;
19713 }
19714 {
412d302d 19715 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
19716 }
19717 return resultobj;
19718 fail:
19719 return NULL;
19720}
19721
19722
c32bde28 19723static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19724 PyObject *resultobj;
19725 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19726 size_t arg2 ;
19727 wxControl *arg3 = (wxControl *) 0 ;
19728 wxToolBarToolBase *result;
19729 PyObject * obj0 = 0 ;
19730 PyObject * obj1 = 0 ;
19731 PyObject * obj2 = 0 ;
19732 char *kwnames[] = {
19733 (char *) "self",(char *) "pos",(char *) "control", NULL
19734 };
19735
19736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
19737 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19738 if (SWIG_arg_fail(1)) SWIG_fail;
19739 {
19740 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19741 if (SWIG_arg_fail(2)) SWIG_fail;
19742 }
19743 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxControl, SWIG_POINTER_EXCEPTION | 0);
19744 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
19745 {
19746 PyThreadState* __tstate = wxPyBeginAllowThreads();
19747 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
19748
19749 wxPyEndAllowThreads(__tstate);
19750 if (PyErr_Occurred()) SWIG_fail;
19751 }
19752 {
412d302d 19753 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
19754 }
19755 return resultobj;
19756 fail:
19757 return NULL;
19758}
19759
19760
c32bde28 19761static PyObject *_wrap_ToolBarBase_FindControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19762 PyObject *resultobj;
19763 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19764 int arg2 ;
19765 wxControl *result;
19766 PyObject * obj0 = 0 ;
19767 PyObject * obj1 = 0 ;
19768 char *kwnames[] = {
19769 (char *) "self",(char *) "id", NULL
19770 };
19771
19772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindControl",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19773 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19774 if (SWIG_arg_fail(1)) SWIG_fail;
19775 {
19776 arg2 = (int)(SWIG_As_int(obj1));
19777 if (SWIG_arg_fail(2)) SWIG_fail;
19778 }
d55e5bfc
RD
19779 {
19780 PyThreadState* __tstate = wxPyBeginAllowThreads();
19781 result = (wxControl *)(arg1)->FindControl(arg2);
19782
19783 wxPyEndAllowThreads(__tstate);
19784 if (PyErr_Occurred()) SWIG_fail;
19785 }
19786 {
412d302d 19787 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
19788 }
19789 return resultobj;
19790 fail:
19791 return NULL;
19792}
19793
19794
c32bde28 19795static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19796 PyObject *resultobj;
19797 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19798 wxToolBarToolBase *result;
19799 PyObject * obj0 = 0 ;
19800 char *kwnames[] = {
19801 (char *) "self", NULL
19802 };
19803
19804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_AddSeparator",kwnames,&obj0)) goto fail;
093d3ff1
RD
19805 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19806 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19807 {
19808 PyThreadState* __tstate = wxPyBeginAllowThreads();
19809 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
19810
19811 wxPyEndAllowThreads(__tstate);
19812 if (PyErr_Occurred()) SWIG_fail;
19813 }
19814 {
412d302d 19815 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
19816 }
19817 return resultobj;
19818 fail:
19819 return NULL;
19820}
19821
19822
c32bde28 19823static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19824 PyObject *resultobj;
19825 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19826 size_t arg2 ;
19827 wxToolBarToolBase *result;
19828 PyObject * obj0 = 0 ;
19829 PyObject * obj1 = 0 ;
19830 char *kwnames[] = {
19831 (char *) "self",(char *) "pos", NULL
19832 };
19833
19834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19835 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19836 if (SWIG_arg_fail(1)) SWIG_fail;
19837 {
19838 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19839 if (SWIG_arg_fail(2)) SWIG_fail;
19840 }
d55e5bfc
RD
19841 {
19842 PyThreadState* __tstate = wxPyBeginAllowThreads();
19843 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
19844
19845 wxPyEndAllowThreads(__tstate);
19846 if (PyErr_Occurred()) SWIG_fail;
19847 }
19848 {
412d302d 19849 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
19850 }
19851 return resultobj;
19852 fail:
19853 return NULL;
19854}
19855
19856
c32bde28 19857static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19858 PyObject *resultobj;
19859 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19860 int arg2 ;
19861 wxToolBarToolBase *result;
19862 PyObject * obj0 = 0 ;
19863 PyObject * obj1 = 0 ;
19864 char *kwnames[] = {
19865 (char *) "self",(char *) "id", NULL
19866 };
19867
19868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_RemoveTool",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19869 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19870 if (SWIG_arg_fail(1)) SWIG_fail;
19871 {
19872 arg2 = (int)(SWIG_As_int(obj1));
19873 if (SWIG_arg_fail(2)) SWIG_fail;
19874 }
d55e5bfc
RD
19875 {
19876 PyThreadState* __tstate = wxPyBeginAllowThreads();
19877 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
19878
19879 wxPyEndAllowThreads(__tstate);
19880 if (PyErr_Occurred()) SWIG_fail;
19881 }
19882 {
412d302d 19883 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
19884 }
19885 return resultobj;
19886 fail:
19887 return NULL;
19888}
19889
19890
c32bde28 19891static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19892 PyObject *resultobj;
19893 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19894 size_t arg2 ;
19895 bool result;
19896 PyObject * obj0 = 0 ;
19897 PyObject * obj1 = 0 ;
19898 char *kwnames[] = {
19899 (char *) "self",(char *) "pos", NULL
19900 };
19901
19902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19903 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19904 if (SWIG_arg_fail(1)) SWIG_fail;
19905 {
19906 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19907 if (SWIG_arg_fail(2)) SWIG_fail;
19908 }
d55e5bfc
RD
19909 {
19910 PyThreadState* __tstate = wxPyBeginAllowThreads();
19911 result = (bool)(arg1)->DeleteToolByPos(arg2);
19912
19913 wxPyEndAllowThreads(__tstate);
19914 if (PyErr_Occurred()) SWIG_fail;
19915 }
19916 {
19917 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19918 }
19919 return resultobj;
19920 fail:
19921 return NULL;
19922}
19923
19924
c32bde28 19925static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19926 PyObject *resultobj;
19927 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19928 int arg2 ;
19929 bool result;
19930 PyObject * obj0 = 0 ;
19931 PyObject * obj1 = 0 ;
19932 char *kwnames[] = {
19933 (char *) "self",(char *) "id", NULL
19934 };
19935
19936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteTool",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19937 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19938 if (SWIG_arg_fail(1)) SWIG_fail;
19939 {
19940 arg2 = (int)(SWIG_As_int(obj1));
19941 if (SWIG_arg_fail(2)) SWIG_fail;
19942 }
d55e5bfc
RD
19943 {
19944 PyThreadState* __tstate = wxPyBeginAllowThreads();
19945 result = (bool)(arg1)->DeleteTool(arg2);
19946
19947 wxPyEndAllowThreads(__tstate);
19948 if (PyErr_Occurred()) SWIG_fail;
19949 }
19950 {
19951 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19952 }
19953 return resultobj;
19954 fail:
19955 return NULL;
19956}
19957
19958
c32bde28 19959static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19960 PyObject *resultobj;
19961 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19962 PyObject * obj0 = 0 ;
19963 char *kwnames[] = {
19964 (char *) "self", NULL
19965 };
19966
19967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_ClearTools",kwnames,&obj0)) goto fail;
093d3ff1
RD
19968 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19969 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19970 {
19971 PyThreadState* __tstate = wxPyBeginAllowThreads();
19972 (arg1)->ClearTools();
19973
19974 wxPyEndAllowThreads(__tstate);
19975 if (PyErr_Occurred()) SWIG_fail;
19976 }
19977 Py_INCREF(Py_None); resultobj = Py_None;
19978 return resultobj;
19979 fail:
19980 return NULL;
19981}
19982
19983
c32bde28 19984static PyObject *_wrap_ToolBarBase_Realize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19985 PyObject *resultobj;
19986 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19987 bool result;
19988 PyObject * obj0 = 0 ;
19989 char *kwnames[] = {
19990 (char *) "self", NULL
19991 };
19992
19993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_Realize",kwnames,&obj0)) goto fail;
093d3ff1
RD
19994 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19995 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19996 {
19997 PyThreadState* __tstate = wxPyBeginAllowThreads();
19998 result = (bool)(arg1)->Realize();
19999
20000 wxPyEndAllowThreads(__tstate);
20001 if (PyErr_Occurred()) SWIG_fail;
20002 }
20003 {
20004 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20005 }
20006 return resultobj;
20007 fail:
20008 return NULL;
20009}
20010
20011
c32bde28 20012static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20013 PyObject *resultobj;
20014 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20015 int arg2 ;
20016 bool arg3 ;
20017 PyObject * obj0 = 0 ;
20018 PyObject * obj1 = 0 ;
20019 PyObject * obj2 = 0 ;
20020 char *kwnames[] = {
20021 (char *) "self",(char *) "id",(char *) "enable", NULL
20022 };
20023
20024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_EnableTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
20025 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20026 if (SWIG_arg_fail(1)) SWIG_fail;
20027 {
20028 arg2 = (int)(SWIG_As_int(obj1));
20029 if (SWIG_arg_fail(2)) SWIG_fail;
20030 }
20031 {
20032 arg3 = (bool)(SWIG_As_bool(obj2));
20033 if (SWIG_arg_fail(3)) SWIG_fail;
20034 }
d55e5bfc
RD
20035 {
20036 PyThreadState* __tstate = wxPyBeginAllowThreads();
20037 (arg1)->EnableTool(arg2,arg3);
20038
20039 wxPyEndAllowThreads(__tstate);
20040 if (PyErr_Occurred()) SWIG_fail;
20041 }
20042 Py_INCREF(Py_None); resultobj = Py_None;
20043 return resultobj;
20044 fail:
20045 return NULL;
20046}
20047
20048
c32bde28 20049static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20050 PyObject *resultobj;
20051 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20052 int arg2 ;
20053 bool arg3 ;
20054 PyObject * obj0 = 0 ;
20055 PyObject * obj1 = 0 ;
20056 PyObject * obj2 = 0 ;
20057 char *kwnames[] = {
20058 (char *) "self",(char *) "id",(char *) "toggle", NULL
20059 };
20060
20061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_ToggleTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
20062 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20063 if (SWIG_arg_fail(1)) SWIG_fail;
20064 {
20065 arg2 = (int)(SWIG_As_int(obj1));
20066 if (SWIG_arg_fail(2)) SWIG_fail;
20067 }
20068 {
20069 arg3 = (bool)(SWIG_As_bool(obj2));
20070 if (SWIG_arg_fail(3)) SWIG_fail;
20071 }
d55e5bfc
RD
20072 {
20073 PyThreadState* __tstate = wxPyBeginAllowThreads();
20074 (arg1)->ToggleTool(arg2,arg3);
20075
20076 wxPyEndAllowThreads(__tstate);
20077 if (PyErr_Occurred()) SWIG_fail;
20078 }
20079 Py_INCREF(Py_None); resultobj = Py_None;
20080 return resultobj;
20081 fail:
20082 return NULL;
20083}
20084
20085
c32bde28 20086static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20087 PyObject *resultobj;
20088 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20089 int arg2 ;
20090 bool arg3 ;
20091 PyObject * obj0 = 0 ;
20092 PyObject * obj1 = 0 ;
20093 PyObject * obj2 = 0 ;
20094 char *kwnames[] = {
20095 (char *) "self",(char *) "id",(char *) "toggle", NULL
20096 };
20097
20098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToggle",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
20099 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20100 if (SWIG_arg_fail(1)) SWIG_fail;
20101 {
20102 arg2 = (int)(SWIG_As_int(obj1));
20103 if (SWIG_arg_fail(2)) SWIG_fail;
20104 }
20105 {
20106 arg3 = (bool)(SWIG_As_bool(obj2));
20107 if (SWIG_arg_fail(3)) SWIG_fail;
20108 }
d55e5bfc
RD
20109 {
20110 PyThreadState* __tstate = wxPyBeginAllowThreads();
20111 (arg1)->SetToggle(arg2,arg3);
20112
20113 wxPyEndAllowThreads(__tstate);
20114 if (PyErr_Occurred()) SWIG_fail;
20115 }
20116 Py_INCREF(Py_None); resultobj = Py_None;
20117 return resultobj;
20118 fail:
20119 return NULL;
20120}
20121
20122
c32bde28 20123static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20124 PyObject *resultobj;
20125 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20126 int arg2 ;
20127 PyObject *result;
20128 PyObject * obj0 = 0 ;
20129 PyObject * obj1 = 0 ;
20130 char *kwnames[] = {
20131 (char *) "self",(char *) "id", NULL
20132 };
20133
20134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolClientData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20135 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20136 if (SWIG_arg_fail(1)) SWIG_fail;
20137 {
20138 arg2 = (int)(SWIG_As_int(obj1));
20139 if (SWIG_arg_fail(2)) SWIG_fail;
20140 }
d55e5bfc
RD
20141 {
20142 PyThreadState* __tstate = wxPyBeginAllowThreads();
20143 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
20144
20145 wxPyEndAllowThreads(__tstate);
20146 if (PyErr_Occurred()) SWIG_fail;
20147 }
20148 resultobj = result;
20149 return resultobj;
20150 fail:
20151 return NULL;
20152}
20153
20154
c32bde28 20155static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20156 PyObject *resultobj;
20157 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20158 int arg2 ;
20159 PyObject *arg3 = (PyObject *) 0 ;
20160 PyObject * obj0 = 0 ;
20161 PyObject * obj1 = 0 ;
20162 PyObject * obj2 = 0 ;
20163 char *kwnames[] = {
20164 (char *) "self",(char *) "id",(char *) "clientData", NULL
20165 };
20166
20167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
20168 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20169 if (SWIG_arg_fail(1)) SWIG_fail;
20170 {
20171 arg2 = (int)(SWIG_As_int(obj1));
20172 if (SWIG_arg_fail(2)) SWIG_fail;
20173 }
d55e5bfc
RD
20174 arg3 = obj2;
20175 {
20176 PyThreadState* __tstate = wxPyBeginAllowThreads();
20177 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
20178
20179 wxPyEndAllowThreads(__tstate);
20180 if (PyErr_Occurred()) SWIG_fail;
20181 }
20182 Py_INCREF(Py_None); resultobj = Py_None;
20183 return resultobj;
20184 fail:
20185 return NULL;
20186}
20187
20188
c32bde28 20189static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20190 PyObject *resultobj;
20191 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20192 int arg2 ;
20193 int result;
20194 PyObject * obj0 = 0 ;
20195 PyObject * obj1 = 0 ;
20196 char *kwnames[] = {
20197 (char *) "self",(char *) "id", NULL
20198 };
20199
20200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolPos",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20201 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20202 if (SWIG_arg_fail(1)) SWIG_fail;
20203 {
20204 arg2 = (int)(SWIG_As_int(obj1));
20205 if (SWIG_arg_fail(2)) SWIG_fail;
20206 }
d55e5bfc
RD
20207 {
20208 PyThreadState* __tstate = wxPyBeginAllowThreads();
20209 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
20210
20211 wxPyEndAllowThreads(__tstate);
20212 if (PyErr_Occurred()) SWIG_fail;
20213 }
093d3ff1
RD
20214 {
20215 resultobj = SWIG_From_int((int)(result));
20216 }
d55e5bfc
RD
20217 return resultobj;
20218 fail:
20219 return NULL;
20220}
20221
20222
c32bde28 20223static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20224 PyObject *resultobj;
20225 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20226 int arg2 ;
20227 bool result;
20228 PyObject * obj0 = 0 ;
20229 PyObject * obj1 = 0 ;
20230 char *kwnames[] = {
20231 (char *) "self",(char *) "id", NULL
20232 };
20233
20234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolState",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20235 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20236 if (SWIG_arg_fail(1)) SWIG_fail;
20237 {
20238 arg2 = (int)(SWIG_As_int(obj1));
20239 if (SWIG_arg_fail(2)) SWIG_fail;
20240 }
d55e5bfc
RD
20241 {
20242 PyThreadState* __tstate = wxPyBeginAllowThreads();
20243 result = (bool)(arg1)->GetToolState(arg2);
20244
20245 wxPyEndAllowThreads(__tstate);
20246 if (PyErr_Occurred()) SWIG_fail;
20247 }
20248 {
20249 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20250 }
20251 return resultobj;
20252 fail:
20253 return NULL;
20254}
20255
20256
c32bde28 20257static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20258 PyObject *resultobj;
20259 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20260 int arg2 ;
20261 bool result;
20262 PyObject * obj0 = 0 ;
20263 PyObject * obj1 = 0 ;
20264 char *kwnames[] = {
20265 (char *) "self",(char *) "id", NULL
20266 };
20267
20268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20269 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20270 if (SWIG_arg_fail(1)) SWIG_fail;
20271 {
20272 arg2 = (int)(SWIG_As_int(obj1));
20273 if (SWIG_arg_fail(2)) SWIG_fail;
20274 }
d55e5bfc
RD
20275 {
20276 PyThreadState* __tstate = wxPyBeginAllowThreads();
20277 result = (bool)(arg1)->GetToolEnabled(arg2);
20278
20279 wxPyEndAllowThreads(__tstate);
20280 if (PyErr_Occurred()) SWIG_fail;
20281 }
20282 {
20283 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20284 }
20285 return resultobj;
20286 fail:
20287 return NULL;
20288}
20289
20290
c32bde28 20291static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20292 PyObject *resultobj;
20293 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20294 int arg2 ;
20295 wxString *arg3 = 0 ;
ae8162c8 20296 bool temp3 = false ;
d55e5bfc
RD
20297 PyObject * obj0 = 0 ;
20298 PyObject * obj1 = 0 ;
20299 PyObject * obj2 = 0 ;
20300 char *kwnames[] = {
20301 (char *) "self",(char *) "id",(char *) "helpString", NULL
20302 };
20303
20304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
20305 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20306 if (SWIG_arg_fail(1)) SWIG_fail;
20307 {
20308 arg2 = (int)(SWIG_As_int(obj1));
20309 if (SWIG_arg_fail(2)) SWIG_fail;
20310 }
d55e5bfc
RD
20311 {
20312 arg3 = wxString_in_helper(obj2);
20313 if (arg3 == NULL) SWIG_fail;
ae8162c8 20314 temp3 = true;
d55e5bfc
RD
20315 }
20316 {
20317 PyThreadState* __tstate = wxPyBeginAllowThreads();
20318 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
20319
20320 wxPyEndAllowThreads(__tstate);
20321 if (PyErr_Occurred()) SWIG_fail;
20322 }
20323 Py_INCREF(Py_None); resultobj = Py_None;
20324 {
20325 if (temp3)
20326 delete arg3;
20327 }
20328 return resultobj;
20329 fail:
20330 {
20331 if (temp3)
20332 delete arg3;
20333 }
20334 return NULL;
20335}
20336
20337
c32bde28 20338static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20339 PyObject *resultobj;
20340 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20341 int arg2 ;
20342 wxString result;
20343 PyObject * obj0 = 0 ;
20344 PyObject * obj1 = 0 ;
20345 char *kwnames[] = {
20346 (char *) "self",(char *) "id", NULL
20347 };
20348
20349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20350 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20351 if (SWIG_arg_fail(1)) SWIG_fail;
20352 {
20353 arg2 = (int)(SWIG_As_int(obj1));
20354 if (SWIG_arg_fail(2)) SWIG_fail;
20355 }
d55e5bfc
RD
20356 {
20357 PyThreadState* __tstate = wxPyBeginAllowThreads();
20358 result = (arg1)->GetToolShortHelp(arg2);
20359
20360 wxPyEndAllowThreads(__tstate);
20361 if (PyErr_Occurred()) SWIG_fail;
20362 }
20363 {
20364#if wxUSE_UNICODE
20365 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20366#else
20367 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20368#endif
20369 }
20370 return resultobj;
20371 fail:
20372 return NULL;
20373}
20374
20375
c32bde28 20376static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20377 PyObject *resultobj;
20378 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20379 int arg2 ;
20380 wxString *arg3 = 0 ;
ae8162c8 20381 bool temp3 = false ;
d55e5bfc
RD
20382 PyObject * obj0 = 0 ;
20383 PyObject * obj1 = 0 ;
20384 PyObject * obj2 = 0 ;
20385 char *kwnames[] = {
20386 (char *) "self",(char *) "id",(char *) "helpString", NULL
20387 };
20388
20389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
20390 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20391 if (SWIG_arg_fail(1)) SWIG_fail;
20392 {
20393 arg2 = (int)(SWIG_As_int(obj1));
20394 if (SWIG_arg_fail(2)) SWIG_fail;
20395 }
d55e5bfc
RD
20396 {
20397 arg3 = wxString_in_helper(obj2);
20398 if (arg3 == NULL) SWIG_fail;
ae8162c8 20399 temp3 = true;
d55e5bfc
RD
20400 }
20401 {
20402 PyThreadState* __tstate = wxPyBeginAllowThreads();
20403 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
20404
20405 wxPyEndAllowThreads(__tstate);
20406 if (PyErr_Occurred()) SWIG_fail;
20407 }
20408 Py_INCREF(Py_None); resultobj = Py_None;
20409 {
20410 if (temp3)
20411 delete arg3;
20412 }
20413 return resultobj;
20414 fail:
20415 {
20416 if (temp3)
20417 delete arg3;
20418 }
20419 return NULL;
20420}
20421
20422
c32bde28 20423static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20424 PyObject *resultobj;
20425 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20426 int arg2 ;
20427 wxString result;
20428 PyObject * obj0 = 0 ;
20429 PyObject * obj1 = 0 ;
20430 char *kwnames[] = {
20431 (char *) "self",(char *) "id", NULL
20432 };
20433
20434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20435 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20436 if (SWIG_arg_fail(1)) SWIG_fail;
20437 {
20438 arg2 = (int)(SWIG_As_int(obj1));
20439 if (SWIG_arg_fail(2)) SWIG_fail;
20440 }
d55e5bfc
RD
20441 {
20442 PyThreadState* __tstate = wxPyBeginAllowThreads();
20443 result = (arg1)->GetToolLongHelp(arg2);
20444
20445 wxPyEndAllowThreads(__tstate);
20446 if (PyErr_Occurred()) SWIG_fail;
20447 }
20448 {
20449#if wxUSE_UNICODE
20450 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20451#else
20452 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20453#endif
20454 }
20455 return resultobj;
20456 fail:
20457 return NULL;
20458}
20459
20460
c32bde28 20461static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20462 PyObject *resultobj;
20463 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20464 int arg2 ;
20465 int arg3 ;
20466 PyObject * obj0 = 0 ;
20467 PyObject * obj1 = 0 ;
20468 PyObject * obj2 = 0 ;
20469 char *kwnames[] = {
20470 (char *) "self",(char *) "x",(char *) "y", NULL
20471 };
20472
20473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
20474 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20475 if (SWIG_arg_fail(1)) SWIG_fail;
20476 {
20477 arg2 = (int)(SWIG_As_int(obj1));
20478 if (SWIG_arg_fail(2)) SWIG_fail;
20479 }
20480 {
20481 arg3 = (int)(SWIG_As_int(obj2));
20482 if (SWIG_arg_fail(3)) SWIG_fail;
20483 }
d55e5bfc
RD
20484 {
20485 PyThreadState* __tstate = wxPyBeginAllowThreads();
20486 (arg1)->SetMargins(arg2,arg3);
20487
20488 wxPyEndAllowThreads(__tstate);
20489 if (PyErr_Occurred()) SWIG_fail;
20490 }
20491 Py_INCREF(Py_None); resultobj = Py_None;
20492 return resultobj;
20493 fail:
20494 return NULL;
20495}
20496
20497
c32bde28 20498static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20499 PyObject *resultobj;
20500 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20501 wxSize *arg2 = 0 ;
20502 wxSize temp2 ;
20503 PyObject * obj0 = 0 ;
20504 PyObject * obj1 = 0 ;
20505 char *kwnames[] = {
20506 (char *) "self",(char *) "size", NULL
20507 };
20508
20509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20510 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20511 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20512 {
20513 arg2 = &temp2;
20514 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20515 }
20516 {
20517 PyThreadState* __tstate = wxPyBeginAllowThreads();
20518 (arg1)->SetMargins((wxSize const &)*arg2);
20519
20520 wxPyEndAllowThreads(__tstate);
20521 if (PyErr_Occurred()) SWIG_fail;
20522 }
20523 Py_INCREF(Py_None); resultobj = Py_None;
20524 return resultobj;
20525 fail:
20526 return NULL;
20527}
20528
20529
c32bde28 20530static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20531 PyObject *resultobj;
20532 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20533 int arg2 ;
20534 PyObject * obj0 = 0 ;
20535 PyObject * obj1 = 0 ;
20536 char *kwnames[] = {
20537 (char *) "self",(char *) "packing", NULL
20538 };
20539
20540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolPacking",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20541 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20542 if (SWIG_arg_fail(1)) SWIG_fail;
20543 {
20544 arg2 = (int)(SWIG_As_int(obj1));
20545 if (SWIG_arg_fail(2)) SWIG_fail;
20546 }
d55e5bfc
RD
20547 {
20548 PyThreadState* __tstate = wxPyBeginAllowThreads();
20549 (arg1)->SetToolPacking(arg2);
20550
20551 wxPyEndAllowThreads(__tstate);
20552 if (PyErr_Occurred()) SWIG_fail;
20553 }
20554 Py_INCREF(Py_None); resultobj = Py_None;
20555 return resultobj;
20556 fail:
20557 return NULL;
20558}
20559
20560
c32bde28 20561static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20562 PyObject *resultobj;
20563 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20564 int arg2 ;
20565 PyObject * obj0 = 0 ;
20566 PyObject * obj1 = 0 ;
20567 char *kwnames[] = {
20568 (char *) "self",(char *) "separation", NULL
20569 };
20570
20571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20572 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20573 if (SWIG_arg_fail(1)) SWIG_fail;
20574 {
20575 arg2 = (int)(SWIG_As_int(obj1));
20576 if (SWIG_arg_fail(2)) SWIG_fail;
20577 }
d55e5bfc
RD
20578 {
20579 PyThreadState* __tstate = wxPyBeginAllowThreads();
20580 (arg1)->SetToolSeparation(arg2);
20581
20582 wxPyEndAllowThreads(__tstate);
20583 if (PyErr_Occurred()) SWIG_fail;
20584 }
20585 Py_INCREF(Py_None); resultobj = Py_None;
20586 return resultobj;
20587 fail:
20588 return NULL;
20589}
20590
20591
c32bde28 20592static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20593 PyObject *resultobj;
20594 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20595 wxSize result;
20596 PyObject * obj0 = 0 ;
20597 char *kwnames[] = {
20598 (char *) "self", NULL
20599 };
20600
20601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolMargins",kwnames,&obj0)) goto fail;
093d3ff1
RD
20602 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20603 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20604 {
20605 PyThreadState* __tstate = wxPyBeginAllowThreads();
20606 result = (arg1)->GetToolMargins();
20607
20608 wxPyEndAllowThreads(__tstate);
20609 if (PyErr_Occurred()) SWIG_fail;
20610 }
20611 {
20612 wxSize * resultptr;
093d3ff1 20613 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
20614 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20615 }
20616 return resultobj;
20617 fail:
20618 return NULL;
20619}
20620
20621
c32bde28 20622static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20623 PyObject *resultobj;
20624 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20625 wxSize result;
20626 PyObject * obj0 = 0 ;
20627 char *kwnames[] = {
20628 (char *) "self", NULL
20629 };
20630
20631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMargins",kwnames,&obj0)) goto fail;
093d3ff1
RD
20632 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20633 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20634 {
20635 PyThreadState* __tstate = wxPyBeginAllowThreads();
20636 result = (arg1)->GetMargins();
20637
20638 wxPyEndAllowThreads(__tstate);
20639 if (PyErr_Occurred()) SWIG_fail;
20640 }
20641 {
20642 wxSize * resultptr;
093d3ff1 20643 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
20644 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20645 }
20646 return resultobj;
20647 fail:
20648 return NULL;
20649}
20650
20651
c32bde28 20652static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20653 PyObject *resultobj;
20654 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20655 int result;
20656 PyObject * obj0 = 0 ;
20657 char *kwnames[] = {
20658 (char *) "self", NULL
20659 };
20660
20661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolPacking",kwnames,&obj0)) goto fail;
093d3ff1
RD
20662 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20663 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20664 {
20665 PyThreadState* __tstate = wxPyBeginAllowThreads();
20666 result = (int)(arg1)->GetToolPacking();
20667
20668 wxPyEndAllowThreads(__tstate);
20669 if (PyErr_Occurred()) SWIG_fail;
20670 }
093d3ff1
RD
20671 {
20672 resultobj = SWIG_From_int((int)(result));
20673 }
d55e5bfc
RD
20674 return resultobj;
20675 fail:
20676 return NULL;
20677}
20678
20679
c32bde28 20680static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20681 PyObject *resultobj;
20682 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20683 int result;
20684 PyObject * obj0 = 0 ;
20685 char *kwnames[] = {
20686 (char *) "self", NULL
20687 };
20688
20689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSeparation",kwnames,&obj0)) goto fail;
093d3ff1
RD
20690 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20691 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20692 {
20693 PyThreadState* __tstate = wxPyBeginAllowThreads();
20694 result = (int)(arg1)->GetToolSeparation();
20695
20696 wxPyEndAllowThreads(__tstate);
20697 if (PyErr_Occurred()) SWIG_fail;
20698 }
093d3ff1
RD
20699 {
20700 resultobj = SWIG_From_int((int)(result));
20701 }
d55e5bfc
RD
20702 return resultobj;
20703 fail:
20704 return NULL;
20705}
20706
20707
c32bde28 20708static PyObject *_wrap_ToolBarBase_SetRows(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20709 PyObject *resultobj;
20710 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20711 int arg2 ;
20712 PyObject * obj0 = 0 ;
20713 PyObject * obj1 = 0 ;
20714 char *kwnames[] = {
20715 (char *) "self",(char *) "nRows", NULL
20716 };
20717
20718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetRows",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20719 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20720 if (SWIG_arg_fail(1)) SWIG_fail;
20721 {
20722 arg2 = (int)(SWIG_As_int(obj1));
20723 if (SWIG_arg_fail(2)) SWIG_fail;
20724 }
d55e5bfc
RD
20725 {
20726 PyThreadState* __tstate = wxPyBeginAllowThreads();
20727 (arg1)->SetRows(arg2);
20728
20729 wxPyEndAllowThreads(__tstate);
20730 if (PyErr_Occurred()) SWIG_fail;
20731 }
20732 Py_INCREF(Py_None); resultobj = Py_None;
20733 return resultobj;
20734 fail:
20735 return NULL;
20736}
20737
20738
c32bde28 20739static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20740 PyObject *resultobj;
20741 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20742 int arg2 ;
20743 int arg3 ;
20744 PyObject * obj0 = 0 ;
20745 PyObject * obj1 = 0 ;
20746 PyObject * obj2 = 0 ;
20747 char *kwnames[] = {
20748 (char *) "self",(char *) "rows",(char *) "cols", NULL
20749 };
20750
20751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
20752 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20753 if (SWIG_arg_fail(1)) SWIG_fail;
20754 {
20755 arg2 = (int)(SWIG_As_int(obj1));
20756 if (SWIG_arg_fail(2)) SWIG_fail;
20757 }
20758 {
20759 arg3 = (int)(SWIG_As_int(obj2));
20760 if (SWIG_arg_fail(3)) SWIG_fail;
20761 }
d55e5bfc
RD
20762 {
20763 PyThreadState* __tstate = wxPyBeginAllowThreads();
20764 (arg1)->SetMaxRowsCols(arg2,arg3);
20765
20766 wxPyEndAllowThreads(__tstate);
20767 if (PyErr_Occurred()) SWIG_fail;
20768 }
20769 Py_INCREF(Py_None); resultobj = Py_None;
20770 return resultobj;
20771 fail:
20772 return NULL;
20773}
20774
20775
c32bde28 20776static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20777 PyObject *resultobj;
20778 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20779 int result;
20780 PyObject * obj0 = 0 ;
20781 char *kwnames[] = {
20782 (char *) "self", NULL
20783 };
20784
20785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxRows",kwnames,&obj0)) goto fail;
093d3ff1
RD
20786 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20787 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20788 {
20789 PyThreadState* __tstate = wxPyBeginAllowThreads();
20790 result = (int)(arg1)->GetMaxRows();
20791
20792 wxPyEndAllowThreads(__tstate);
20793 if (PyErr_Occurred()) SWIG_fail;
20794 }
093d3ff1
RD
20795 {
20796 resultobj = SWIG_From_int((int)(result));
20797 }
d55e5bfc
RD
20798 return resultobj;
20799 fail:
20800 return NULL;
20801}
20802
20803
c32bde28 20804static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20805 PyObject *resultobj;
20806 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20807 int result;
20808 PyObject * obj0 = 0 ;
20809 char *kwnames[] = {
20810 (char *) "self", NULL
20811 };
20812
20813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxCols",kwnames,&obj0)) goto fail;
093d3ff1
RD
20814 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20815 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20816 {
20817 PyThreadState* __tstate = wxPyBeginAllowThreads();
20818 result = (int)(arg1)->GetMaxCols();
20819
20820 wxPyEndAllowThreads(__tstate);
20821 if (PyErr_Occurred()) SWIG_fail;
20822 }
093d3ff1
RD
20823 {
20824 resultobj = SWIG_From_int((int)(result));
20825 }
d55e5bfc
RD
20826 return resultobj;
20827 fail:
20828 return NULL;
20829}
20830
20831
c32bde28 20832static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20833 PyObject *resultobj;
20834 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20835 wxSize *arg2 = 0 ;
20836 wxSize temp2 ;
20837 PyObject * obj0 = 0 ;
20838 PyObject * obj1 = 0 ;
20839 char *kwnames[] = {
20840 (char *) "self",(char *) "size", NULL
20841 };
20842
20843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20844 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20845 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20846 {
20847 arg2 = &temp2;
20848 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20849 }
20850 {
20851 PyThreadState* __tstate = wxPyBeginAllowThreads();
20852 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
20853
20854 wxPyEndAllowThreads(__tstate);
20855 if (PyErr_Occurred()) SWIG_fail;
20856 }
20857 Py_INCREF(Py_None); resultobj = Py_None;
20858 return resultobj;
20859 fail:
20860 return NULL;
20861}
20862
20863
c32bde28 20864static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20865 PyObject *resultobj;
20866 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20867 wxSize result;
20868 PyObject * obj0 = 0 ;
20869 char *kwnames[] = {
20870 (char *) "self", NULL
20871 };
20872
20873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
20874 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20875 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20876 {
20877 PyThreadState* __tstate = wxPyBeginAllowThreads();
20878 result = (arg1)->GetToolBitmapSize();
20879
20880 wxPyEndAllowThreads(__tstate);
20881 if (PyErr_Occurred()) SWIG_fail;
20882 }
20883 {
20884 wxSize * resultptr;
093d3ff1 20885 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
20886 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20887 }
20888 return resultobj;
20889 fail:
20890 return NULL;
20891}
20892
20893
c32bde28 20894static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20895 PyObject *resultobj;
20896 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20897 wxSize result;
20898 PyObject * obj0 = 0 ;
20899 char *kwnames[] = {
20900 (char *) "self", NULL
20901 };
20902
20903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
20904 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20905 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20906 {
20907 PyThreadState* __tstate = wxPyBeginAllowThreads();
20908 result = (arg1)->GetToolSize();
20909
20910 wxPyEndAllowThreads(__tstate);
20911 if (PyErr_Occurred()) SWIG_fail;
20912 }
20913 {
20914 wxSize * resultptr;
093d3ff1 20915 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
20916 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20917 }
20918 return resultobj;
20919 fail:
20920 return NULL;
20921}
20922
20923
c32bde28 20924static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20925 PyObject *resultobj;
20926 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20927 int arg2 ;
20928 int arg3 ;
20929 wxToolBarToolBase *result;
20930 PyObject * obj0 = 0 ;
20931 PyObject * obj1 = 0 ;
20932 PyObject * obj2 = 0 ;
20933 char *kwnames[] = {
20934 (char *) "self",(char *) "x",(char *) "y", NULL
20935 };
20936
20937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
20938 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20939 if (SWIG_arg_fail(1)) SWIG_fail;
20940 {
20941 arg2 = (int)(SWIG_As_int(obj1));
20942 if (SWIG_arg_fail(2)) SWIG_fail;
20943 }
20944 {
20945 arg3 = (int)(SWIG_As_int(obj2));
20946 if (SWIG_arg_fail(3)) SWIG_fail;
20947 }
d55e5bfc
RD
20948 {
20949 PyThreadState* __tstate = wxPyBeginAllowThreads();
20950 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
20951
20952 wxPyEndAllowThreads(__tstate);
20953 if (PyErr_Occurred()) SWIG_fail;
20954 }
20955 {
412d302d 20956 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
20957 }
20958 return resultobj;
20959 fail:
20960 return NULL;
20961}
20962
20963
c32bde28 20964static PyObject *_wrap_ToolBarBase_FindById(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20965 PyObject *resultobj;
20966 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20967 int arg2 ;
20968 wxToolBarToolBase *result;
20969 PyObject * obj0 = 0 ;
20970 PyObject * obj1 = 0 ;
20971 char *kwnames[] = {
20972 (char *) "self",(char *) "toolid", NULL
20973 };
20974
20975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindById",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20976 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20977 if (SWIG_arg_fail(1)) SWIG_fail;
20978 {
20979 arg2 = (int)(SWIG_As_int(obj1));
20980 if (SWIG_arg_fail(2)) SWIG_fail;
20981 }
d55e5bfc
RD
20982 {
20983 PyThreadState* __tstate = wxPyBeginAllowThreads();
20984 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
20985
20986 wxPyEndAllowThreads(__tstate);
20987 if (PyErr_Occurred()) SWIG_fail;
20988 }
20989 {
412d302d 20990 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
20991 }
20992 return resultobj;
20993 fail:
20994 return NULL;
20995}
20996
20997
c32bde28 20998static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20999 PyObject *resultobj;
21000 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21001 bool result;
21002 PyObject * obj0 = 0 ;
21003 char *kwnames[] = {
21004 (char *) "self", NULL
21005 };
21006
21007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_IsVertical",kwnames,&obj0)) goto fail;
093d3ff1
RD
21008 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21009 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21010 {
21011 PyThreadState* __tstate = wxPyBeginAllowThreads();
21012 result = (bool)(arg1)->IsVertical();
21013
21014 wxPyEndAllowThreads(__tstate);
21015 if (PyErr_Occurred()) SWIG_fail;
21016 }
21017 {
21018 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21019 }
21020 return resultobj;
21021 fail:
21022 return NULL;
21023}
21024
21025
c32bde28 21026static PyObject * ToolBarBase_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
21027 PyObject *obj;
21028 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21029 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase, obj);
21030 Py_INCREF(obj);
21031 return Py_BuildValue((char *)"");
21032}
c32bde28 21033static PyObject *_wrap_new_ToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21034 PyObject *resultobj;
21035 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 21036 int arg2 = (int) -1 ;
d55e5bfc
RD
21037 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21038 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21039 wxSize const &arg4_defvalue = wxDefaultSize ;
21040 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21041 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
21042 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
21043 wxString *arg6 = (wxString *) &arg6_defvalue ;
21044 wxToolBar *result;
21045 wxPoint temp3 ;
21046 wxSize temp4 ;
ae8162c8 21047 bool temp6 = false ;
d55e5bfc
RD
21048 PyObject * obj0 = 0 ;
21049 PyObject * obj1 = 0 ;
21050 PyObject * obj2 = 0 ;
21051 PyObject * obj3 = 0 ;
21052 PyObject * obj4 = 0 ;
21053 PyObject * obj5 = 0 ;
21054 char *kwnames[] = {
21055 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21056 };
21057
248ed943 21058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ToolBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
21059 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
21060 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 21061 if (obj1) {
093d3ff1
RD
21062 {
21063 arg2 = (int)(SWIG_As_int(obj1));
21064 if (SWIG_arg_fail(2)) SWIG_fail;
21065 }
248ed943 21066 }
d55e5bfc
RD
21067 if (obj2) {
21068 {
21069 arg3 = &temp3;
21070 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21071 }
21072 }
21073 if (obj3) {
21074 {
21075 arg4 = &temp4;
21076 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21077 }
21078 }
21079 if (obj4) {
093d3ff1
RD
21080 {
21081 arg5 = (long)(SWIG_As_long(obj4));
21082 if (SWIG_arg_fail(5)) SWIG_fail;
21083 }
d55e5bfc
RD
21084 }
21085 if (obj5) {
21086 {
21087 arg6 = wxString_in_helper(obj5);
21088 if (arg6 == NULL) SWIG_fail;
ae8162c8 21089 temp6 = true;
d55e5bfc
RD
21090 }
21091 }
21092 {
0439c23b 21093 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
21094 PyThreadState* __tstate = wxPyBeginAllowThreads();
21095 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21096
21097 wxPyEndAllowThreads(__tstate);
110da5b0 21098 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 21099 }
b0f7404b 21100 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolBar, 1);
d55e5bfc
RD
21101 {
21102 if (temp6)
21103 delete arg6;
21104 }
21105 return resultobj;
21106 fail:
21107 {
21108 if (temp6)
21109 delete arg6;
21110 }
21111 return NULL;
21112}
21113
21114
c32bde28 21115static PyObject *_wrap_new_PreToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21116 PyObject *resultobj;
21117 wxToolBar *result;
21118 char *kwnames[] = {
21119 NULL
21120 };
21121
21122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolBar",kwnames)) goto fail;
21123 {
0439c23b 21124 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
21125 PyThreadState* __tstate = wxPyBeginAllowThreads();
21126 result = (wxToolBar *)new wxToolBar();
21127
21128 wxPyEndAllowThreads(__tstate);
110da5b0 21129 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 21130 }
b0f7404b 21131 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolBar, 1);
d55e5bfc
RD
21132 return resultobj;
21133 fail:
21134 return NULL;
21135}
21136
21137
c32bde28 21138static PyObject *_wrap_ToolBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21139 PyObject *resultobj;
21140 wxToolBar *arg1 = (wxToolBar *) 0 ;
21141 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 21142 int arg3 = (int) -1 ;
d55e5bfc
RD
21143 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21144 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21145 wxSize const &arg5_defvalue = wxDefaultSize ;
21146 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21147 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
21148 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
21149 wxString *arg7 = (wxString *) &arg7_defvalue ;
21150 bool result;
21151 wxPoint temp4 ;
21152 wxSize temp5 ;
ae8162c8 21153 bool temp7 = false ;
d55e5bfc
RD
21154 PyObject * obj0 = 0 ;
21155 PyObject * obj1 = 0 ;
21156 PyObject * obj2 = 0 ;
21157 PyObject * obj3 = 0 ;
21158 PyObject * obj4 = 0 ;
21159 PyObject * obj5 = 0 ;
21160 PyObject * obj6 = 0 ;
21161 char *kwnames[] = {
21162 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21163 };
21164
248ed943 21165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ToolBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
21166 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0);
21167 if (SWIG_arg_fail(1)) SWIG_fail;
21168 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
21169 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 21170 if (obj2) {
093d3ff1
RD
21171 {
21172 arg3 = (int)(SWIG_As_int(obj2));
21173 if (SWIG_arg_fail(3)) SWIG_fail;
21174 }
248ed943 21175 }
d55e5bfc
RD
21176 if (obj3) {
21177 {
21178 arg4 = &temp4;
21179 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21180 }
21181 }
21182 if (obj4) {
21183 {
21184 arg5 = &temp5;
21185 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21186 }
21187 }
21188 if (obj5) {
093d3ff1
RD
21189 {
21190 arg6 = (long)(SWIG_As_long(obj5));
21191 if (SWIG_arg_fail(6)) SWIG_fail;
21192 }
d55e5bfc
RD
21193 }
21194 if (obj6) {
21195 {
21196 arg7 = wxString_in_helper(obj6);
21197 if (arg7 == NULL) SWIG_fail;
ae8162c8 21198 temp7 = true;
d55e5bfc
RD
21199 }
21200 }
21201 {
21202 PyThreadState* __tstate = wxPyBeginAllowThreads();
21203 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21204
21205 wxPyEndAllowThreads(__tstate);
21206 if (PyErr_Occurred()) SWIG_fail;
21207 }
21208 {
21209 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21210 }
21211 {
21212 if (temp7)
21213 delete arg7;
21214 }
21215 return resultobj;
21216 fail:
21217 {
21218 if (temp7)
21219 delete arg7;
21220 }
21221 return NULL;
21222}
21223
21224
c32bde28 21225static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21226 PyObject *resultobj;
21227 wxToolBar *arg1 = (wxToolBar *) 0 ;
21228 int arg2 ;
21229 int arg3 ;
21230 wxToolBarToolBase *result;
21231 PyObject * obj0 = 0 ;
21232 PyObject * obj1 = 0 ;
21233 PyObject * obj2 = 0 ;
21234 char *kwnames[] = {
21235 (char *) "self",(char *) "x",(char *) "y", NULL
21236 };
21237
21238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBar_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
21239 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0);
21240 if (SWIG_arg_fail(1)) SWIG_fail;
21241 {
21242 arg2 = (int)(SWIG_As_int(obj1));
21243 if (SWIG_arg_fail(2)) SWIG_fail;
21244 }
21245 {
21246 arg3 = (int)(SWIG_As_int(obj2));
21247 if (SWIG_arg_fail(3)) SWIG_fail;
21248 }
d55e5bfc
RD
21249 {
21250 PyThreadState* __tstate = wxPyBeginAllowThreads();
21251 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
21252
21253 wxPyEndAllowThreads(__tstate);
21254 if (PyErr_Occurred()) SWIG_fail;
21255 }
21256 {
412d302d 21257 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
21258 }
21259 return resultobj;
21260 fail:
21261 return NULL;
21262}
21263
21264
c32bde28 21265static PyObject *_wrap_ToolBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 21266 PyObject *resultobj;
093d3ff1 21267 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
21268 wxVisualAttributes result;
21269 PyObject * obj0 = 0 ;
21270 char *kwnames[] = {
21271 (char *) "variant", NULL
21272 };
21273
21274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
21275 if (obj0) {
093d3ff1
RD
21276 {
21277 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
21278 if (SWIG_arg_fail(1)) SWIG_fail;
21279 }
f20a2e1f
RD
21280 }
21281 {
19272049 21282 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
21283 PyThreadState* __tstate = wxPyBeginAllowThreads();
21284 result = wxToolBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
21285
21286 wxPyEndAllowThreads(__tstate);
110da5b0 21287 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
21288 }
21289 {
21290 wxVisualAttributes * resultptr;
093d3ff1 21291 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
21292 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
21293 }
21294 return resultobj;
21295 fail:
21296 return NULL;
21297}
21298
21299
c32bde28 21300static PyObject * ToolBar_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
21301 PyObject *obj;
21302 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21303 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar, obj);
21304 Py_INCREF(obj);
21305 return Py_BuildValue((char *)"");
21306}
c32bde28 21307static int _wrap_ListCtrlNameStr_set(PyObject *) {
d55e5bfc
RD
21308 PyErr_SetString(PyExc_TypeError,"Variable ListCtrlNameStr is read-only.");
21309 return 1;
21310}
21311
21312
093d3ff1 21313static PyObject *_wrap_ListCtrlNameStr_get(void) {
d55e5bfc
RD
21314 PyObject *pyobj;
21315
21316 {
21317#if wxUSE_UNICODE
21318 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
21319#else
21320 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
21321#endif
21322 }
21323 return pyobj;
21324}
21325
21326
c32bde28 21327static PyObject *_wrap_new_ListItemAttr(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21328 PyObject *resultobj;
21329 wxColour const &arg1_defvalue = wxNullColour ;
21330 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
21331 wxColour const &arg2_defvalue = wxNullColour ;
21332 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
21333 wxFont const &arg3_defvalue = wxNullFont ;
21334 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
21335 wxListItemAttr *result;
21336 wxColour temp1 ;
21337 wxColour temp2 ;
21338 PyObject * obj0 = 0 ;
21339 PyObject * obj1 = 0 ;
21340 PyObject * obj2 = 0 ;
21341 char *kwnames[] = {
21342 (char *) "colText",(char *) "colBack",(char *) "font", NULL
21343 };
21344
21345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
21346 if (obj0) {
21347 {
21348 arg1 = &temp1;
21349 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
21350 }
21351 }
21352 if (obj1) {
21353 {
21354 arg2 = &temp2;
21355 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21356 }
21357 }
21358 if (obj2) {
093d3ff1
RD
21359 {
21360 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
21361 if (SWIG_arg_fail(3)) SWIG_fail;
21362 if (arg3 == NULL) {
21363 SWIG_null_ref("wxFont");
21364 }
21365 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
21366 }
21367 }
21368 {
21369 PyThreadState* __tstate = wxPyBeginAllowThreads();
21370 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
21371
21372 wxPyEndAllowThreads(__tstate);
21373 if (PyErr_Occurred()) SWIG_fail;
21374 }
21375 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 1);
21376 return resultobj;
21377 fail:
21378 return NULL;
21379}
21380
21381
c32bde28 21382static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21383 PyObject *resultobj;
21384 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21385 wxColour *arg2 = 0 ;
21386 wxColour temp2 ;
21387 PyObject * obj0 = 0 ;
21388 PyObject * obj1 = 0 ;
21389 char *kwnames[] = {
21390 (char *) "self",(char *) "colText", NULL
21391 };
21392
21393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21394 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21395 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21396 {
21397 arg2 = &temp2;
21398 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21399 }
21400 {
21401 PyThreadState* __tstate = wxPyBeginAllowThreads();
21402 (arg1)->SetTextColour((wxColour const &)*arg2);
21403
21404 wxPyEndAllowThreads(__tstate);
21405 if (PyErr_Occurred()) SWIG_fail;
21406 }
21407 Py_INCREF(Py_None); resultobj = Py_None;
21408 return resultobj;
21409 fail:
21410 return NULL;
21411}
21412
21413
c32bde28 21414static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21415 PyObject *resultobj;
21416 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21417 wxColour *arg2 = 0 ;
21418 wxColour temp2 ;
21419 PyObject * obj0 = 0 ;
21420 PyObject * obj1 = 0 ;
21421 char *kwnames[] = {
21422 (char *) "self",(char *) "colBack", NULL
21423 };
21424
21425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21426 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21427 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21428 {
21429 arg2 = &temp2;
21430 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21431 }
21432 {
21433 PyThreadState* __tstate = wxPyBeginAllowThreads();
21434 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
21435
21436 wxPyEndAllowThreads(__tstate);
21437 if (PyErr_Occurred()) SWIG_fail;
21438 }
21439 Py_INCREF(Py_None); resultobj = Py_None;
21440 return resultobj;
21441 fail:
21442 return NULL;
21443}
21444
21445
c32bde28 21446static PyObject *_wrap_ListItemAttr_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21447 PyObject *resultobj;
21448 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21449 wxFont *arg2 = 0 ;
21450 PyObject * obj0 = 0 ;
21451 PyObject * obj1 = 0 ;
21452 char *kwnames[] = {
21453 (char *) "self",(char *) "font", NULL
21454 };
21455
21456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21457 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21458 if (SWIG_arg_fail(1)) SWIG_fail;
21459 {
21460 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
21461 if (SWIG_arg_fail(2)) SWIG_fail;
21462 if (arg2 == NULL) {
21463 SWIG_null_ref("wxFont");
21464 }
21465 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
21466 }
21467 {
21468 PyThreadState* __tstate = wxPyBeginAllowThreads();
21469 (arg1)->SetFont((wxFont const &)*arg2);
21470
21471 wxPyEndAllowThreads(__tstate);
21472 if (PyErr_Occurred()) SWIG_fail;
21473 }
21474 Py_INCREF(Py_None); resultobj = Py_None;
21475 return resultobj;
21476 fail:
21477 return NULL;
21478}
21479
21480
c32bde28 21481static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21482 PyObject *resultobj;
21483 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21484 bool result;
21485 PyObject * obj0 = 0 ;
21486 char *kwnames[] = {
21487 (char *) "self", NULL
21488 };
21489
21490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasTextColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
21491 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21492 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21493 {
21494 PyThreadState* __tstate = wxPyBeginAllowThreads();
21495 result = (bool)(arg1)->HasTextColour();
21496
21497 wxPyEndAllowThreads(__tstate);
21498 if (PyErr_Occurred()) SWIG_fail;
21499 }
21500 {
21501 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21502 }
21503 return resultobj;
21504 fail:
21505 return NULL;
21506}
21507
21508
c32bde28 21509static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21510 PyObject *resultobj;
21511 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21512 bool result;
21513 PyObject * obj0 = 0 ;
21514 char *kwnames[] = {
21515 (char *) "self", NULL
21516 };
21517
21518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
21519 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21520 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21521 {
21522 PyThreadState* __tstate = wxPyBeginAllowThreads();
21523 result = (bool)(arg1)->HasBackgroundColour();
21524
21525 wxPyEndAllowThreads(__tstate);
21526 if (PyErr_Occurred()) SWIG_fail;
21527 }
21528 {
21529 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21530 }
21531 return resultobj;
21532 fail:
21533 return NULL;
21534}
21535
21536
c32bde28 21537static PyObject *_wrap_ListItemAttr_HasFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21538 PyObject *resultobj;
21539 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21540 bool result;
21541 PyObject * obj0 = 0 ;
21542 char *kwnames[] = {
21543 (char *) "self", NULL
21544 };
21545
21546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasFont",kwnames,&obj0)) goto fail;
093d3ff1
RD
21547 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21548 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21549 {
21550 PyThreadState* __tstate = wxPyBeginAllowThreads();
21551 result = (bool)(arg1)->HasFont();
21552
21553 wxPyEndAllowThreads(__tstate);
21554 if (PyErr_Occurred()) SWIG_fail;
21555 }
21556 {
21557 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21558 }
21559 return resultobj;
21560 fail:
21561 return NULL;
21562}
21563
21564
c32bde28 21565static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21566 PyObject *resultobj;
21567 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21568 wxColour result;
21569 PyObject * obj0 = 0 ;
21570 char *kwnames[] = {
21571 (char *) "self", NULL
21572 };
21573
21574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetTextColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
21575 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21576 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21577 {
21578 PyThreadState* __tstate = wxPyBeginAllowThreads();
21579 result = (arg1)->GetTextColour();
21580
21581 wxPyEndAllowThreads(__tstate);
21582 if (PyErr_Occurred()) SWIG_fail;
21583 }
21584 {
21585 wxColour * resultptr;
093d3ff1 21586 resultptr = new wxColour((wxColour &)(result));
d55e5bfc
RD
21587 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
21588 }
21589 return resultobj;
21590 fail:
21591 return NULL;
21592}
21593
21594
c32bde28 21595static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21596 PyObject *resultobj;
21597 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21598 wxColour result;
21599 PyObject * obj0 = 0 ;
21600 char *kwnames[] = {
21601 (char *) "self", NULL
21602 };
21603
21604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
21605 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21606 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21607 {
21608 PyThreadState* __tstate = wxPyBeginAllowThreads();
21609 result = (arg1)->GetBackgroundColour();
21610
21611 wxPyEndAllowThreads(__tstate);
21612 if (PyErr_Occurred()) SWIG_fail;
21613 }
21614 {
21615 wxColour * resultptr;
093d3ff1 21616 resultptr = new wxColour((wxColour &)(result));
d55e5bfc
RD
21617 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
21618 }
21619 return resultobj;
21620 fail:
21621 return NULL;
21622}
21623
21624
c32bde28 21625static PyObject *_wrap_ListItemAttr_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21626 PyObject *resultobj;
21627 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21628 wxFont result;
21629 PyObject * obj0 = 0 ;
21630 char *kwnames[] = {
21631 (char *) "self", NULL
21632 };
21633
21634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetFont",kwnames,&obj0)) goto fail;
093d3ff1
RD
21635 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21636 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21637 {
21638 PyThreadState* __tstate = wxPyBeginAllowThreads();
21639 result = (arg1)->GetFont();
21640
21641 wxPyEndAllowThreads(__tstate);
21642 if (PyErr_Occurred()) SWIG_fail;
21643 }
21644 {
21645 wxFont * resultptr;
093d3ff1 21646 resultptr = new wxFont((wxFont &)(result));
d55e5bfc
RD
21647 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
21648 }
21649 return resultobj;
21650 fail:
21651 return NULL;
21652}
21653
21654
c32bde28 21655static PyObject *_wrap_ListItemAttr_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21656 PyObject *resultobj;
21657 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21658 PyObject * obj0 = 0 ;
21659 char *kwnames[] = {
21660 (char *) "self", NULL
21661 };
21662
21663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_Destroy",kwnames,&obj0)) goto fail;
093d3ff1
RD
21664 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21665 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21666 {
21667 PyThreadState* __tstate = wxPyBeginAllowThreads();
21668 wxListItemAttr_Destroy(arg1);
21669
21670 wxPyEndAllowThreads(__tstate);
21671 if (PyErr_Occurred()) SWIG_fail;
21672 }
21673 Py_INCREF(Py_None); resultobj = Py_None;
21674 return resultobj;
21675 fail:
21676 return NULL;
21677}
21678
21679
c32bde28 21680static PyObject * ListItemAttr_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
21681 PyObject *obj;
21682 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21683 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr, obj);
21684 Py_INCREF(obj);
21685 return Py_BuildValue((char *)"");
21686}
c32bde28 21687static PyObject *_wrap_new_ListItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21688 PyObject *resultobj;
21689 wxListItem *result;
21690 char *kwnames[] = {
21691 NULL
21692 };
21693
21694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ListItem",kwnames)) goto fail;
21695 {
21696 PyThreadState* __tstate = wxPyBeginAllowThreads();
21697 result = (wxListItem *)new wxListItem();
21698
21699 wxPyEndAllowThreads(__tstate);
21700 if (PyErr_Occurred()) SWIG_fail;
21701 }
21702 {
412d302d 21703 resultobj = wxPyMake_wxObject(result, 1);
d55e5bfc
RD
21704 }
21705 return resultobj;
21706 fail:
21707 return NULL;
21708}
21709
21710
c32bde28 21711static PyObject *_wrap_delete_ListItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21712 PyObject *resultobj;
21713 wxListItem *arg1 = (wxListItem *) 0 ;
21714 PyObject * obj0 = 0 ;
21715 char *kwnames[] = {
21716 (char *) "self", NULL
21717 };
21718
21719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItem",kwnames,&obj0)) goto fail;
093d3ff1
RD
21720 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21721 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21722 {
21723 PyThreadState* __tstate = wxPyBeginAllowThreads();
21724 delete arg1;
21725
21726 wxPyEndAllowThreads(__tstate);
21727 if (PyErr_Occurred()) SWIG_fail;
21728 }
21729 Py_INCREF(Py_None); resultobj = Py_None;
21730 return resultobj;
21731 fail:
21732 return NULL;
21733}
21734
21735
c32bde28 21736static PyObject *_wrap_ListItem_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21737 PyObject *resultobj;
21738 wxListItem *arg1 = (wxListItem *) 0 ;
21739 PyObject * obj0 = 0 ;
21740 char *kwnames[] = {
21741 (char *) "self", NULL
21742 };
21743
21744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_Clear",kwnames,&obj0)) goto fail;
093d3ff1
RD
21745 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21746 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21747 {
21748 PyThreadState* __tstate = wxPyBeginAllowThreads();
21749 (arg1)->Clear();
21750
21751 wxPyEndAllowThreads(__tstate);
21752 if (PyErr_Occurred()) SWIG_fail;
21753 }
21754 Py_INCREF(Py_None); resultobj = Py_None;
21755 return resultobj;
21756 fail:
21757 return NULL;
21758}
21759
21760
c32bde28 21761static PyObject *_wrap_ListItem_ClearAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21762 PyObject *resultobj;
21763 wxListItem *arg1 = (wxListItem *) 0 ;
21764 PyObject * obj0 = 0 ;
21765 char *kwnames[] = {
21766 (char *) "self", NULL
21767 };
21768
21769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_ClearAttributes",kwnames,&obj0)) goto fail;
093d3ff1
RD
21770 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21771 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21772 {
21773 PyThreadState* __tstate = wxPyBeginAllowThreads();
21774 (arg1)->ClearAttributes();
21775
21776 wxPyEndAllowThreads(__tstate);
21777 if (PyErr_Occurred()) SWIG_fail;
21778 }
21779 Py_INCREF(Py_None); resultobj = Py_None;
21780 return resultobj;
21781 fail:
21782 return NULL;
21783}
21784
21785
c32bde28 21786static PyObject *_wrap_ListItem_SetMask(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21787 PyObject *resultobj;
21788 wxListItem *arg1 = (wxListItem *) 0 ;
21789 long arg2 ;
21790 PyObject * obj0 = 0 ;
21791 PyObject * obj1 = 0 ;
21792 char *kwnames[] = {
21793 (char *) "self",(char *) "mask", NULL
21794 };
21795
21796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetMask",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21797 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21798 if (SWIG_arg_fail(1)) SWIG_fail;
21799 {
21800 arg2 = (long)(SWIG_As_long(obj1));
21801 if (SWIG_arg_fail(2)) SWIG_fail;
21802 }
d55e5bfc
RD
21803 {
21804 PyThreadState* __tstate = wxPyBeginAllowThreads();
21805 (arg1)->SetMask(arg2);
21806
21807 wxPyEndAllowThreads(__tstate);
21808 if (PyErr_Occurred()) SWIG_fail;
21809 }
21810 Py_INCREF(Py_None); resultobj = Py_None;
21811 return resultobj;
21812 fail:
21813 return NULL;
21814}
21815
21816
c32bde28 21817static PyObject *_wrap_ListItem_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21818 PyObject *resultobj;
21819 wxListItem *arg1 = (wxListItem *) 0 ;
21820 long arg2 ;
21821 PyObject * obj0 = 0 ;
21822 PyObject * obj1 = 0 ;
21823 char *kwnames[] = {
21824 (char *) "self",(char *) "id", NULL
21825 };
21826
21827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetId",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21828 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21829 if (SWIG_arg_fail(1)) SWIG_fail;
21830 {
21831 arg2 = (long)(SWIG_As_long(obj1));
21832 if (SWIG_arg_fail(2)) SWIG_fail;
21833 }
d55e5bfc
RD
21834 {
21835 PyThreadState* __tstate = wxPyBeginAllowThreads();
21836 (arg1)->SetId(arg2);
21837
21838 wxPyEndAllowThreads(__tstate);
21839 if (PyErr_Occurred()) SWIG_fail;
21840 }
21841 Py_INCREF(Py_None); resultobj = Py_None;
21842 return resultobj;
21843 fail:
21844 return NULL;
21845}
21846
21847
c32bde28 21848static PyObject *_wrap_ListItem_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21849 PyObject *resultobj;
21850 wxListItem *arg1 = (wxListItem *) 0 ;
21851 int arg2 ;
21852 PyObject * obj0 = 0 ;
21853 PyObject * obj1 = 0 ;
21854 char *kwnames[] = {
21855 (char *) "self",(char *) "col", NULL
21856 };
21857
21858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetColumn",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21859 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21860 if (SWIG_arg_fail(1)) SWIG_fail;
21861 {
21862 arg2 = (int)(SWIG_As_int(obj1));
21863 if (SWIG_arg_fail(2)) SWIG_fail;
21864 }
d55e5bfc
RD
21865 {
21866 PyThreadState* __tstate = wxPyBeginAllowThreads();
21867 (arg1)->SetColumn(arg2);
21868
21869 wxPyEndAllowThreads(__tstate);
21870 if (PyErr_Occurred()) SWIG_fail;
21871 }
21872 Py_INCREF(Py_None); resultobj = Py_None;
21873 return resultobj;
21874 fail:
21875 return NULL;
21876}
21877
21878
c32bde28 21879static PyObject *_wrap_ListItem_SetState(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21880 PyObject *resultobj;
21881 wxListItem *arg1 = (wxListItem *) 0 ;
21882 long arg2 ;
21883 PyObject * obj0 = 0 ;
21884 PyObject * obj1 = 0 ;
21885 char *kwnames[] = {
21886 (char *) "self",(char *) "state", NULL
21887 };
21888
21889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetState",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21890 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21891 if (SWIG_arg_fail(1)) SWIG_fail;
21892 {
21893 arg2 = (long)(SWIG_As_long(obj1));
21894 if (SWIG_arg_fail(2)) SWIG_fail;
21895 }
d55e5bfc
RD
21896 {
21897 PyThreadState* __tstate = wxPyBeginAllowThreads();
21898 (arg1)->SetState(arg2);
21899
21900 wxPyEndAllowThreads(__tstate);
21901 if (PyErr_Occurred()) SWIG_fail;
21902 }
21903 Py_INCREF(Py_None); resultobj = Py_None;
21904 return resultobj;
21905 fail:
21906 return NULL;
21907}
21908
21909
c32bde28 21910static PyObject *_wrap_ListItem_SetStateMask(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21911 PyObject *resultobj;
21912 wxListItem *arg1 = (wxListItem *) 0 ;
21913 long arg2 ;
21914 PyObject * obj0 = 0 ;
21915 PyObject * obj1 = 0 ;
21916 char *kwnames[] = {
21917 (char *) "self",(char *) "stateMask", NULL
21918 };
21919
21920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetStateMask",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21921 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21922 if (SWIG_arg_fail(1)) SWIG_fail;
21923 {
21924 arg2 = (long)(SWIG_As_long(obj1));
21925 if (SWIG_arg_fail(2)) SWIG_fail;
21926 }
d55e5bfc
RD
21927 {
21928 PyThreadState* __tstate = wxPyBeginAllowThreads();
21929 (arg1)->SetStateMask(arg2);
21930
21931 wxPyEndAllowThreads(__tstate);
21932 if (PyErr_Occurred()) SWIG_fail;
21933 }
21934 Py_INCREF(Py_None); resultobj = Py_None;
21935 return resultobj;
21936 fail:
21937 return NULL;
21938}
21939
21940
c32bde28 21941static PyObject *_wrap_ListItem_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21942 PyObject *resultobj;
21943 wxListItem *arg1 = (wxListItem *) 0 ;
21944 wxString *arg2 = 0 ;
ae8162c8 21945 bool temp2 = false ;
d55e5bfc
RD
21946 PyObject * obj0 = 0 ;
21947 PyObject * obj1 = 0 ;
21948 char *kwnames[] = {
21949 (char *) "self",(char *) "text", NULL
21950 };
21951
21952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21953 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21954 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21955 {
21956 arg2 = wxString_in_helper(obj1);
21957 if (arg2 == NULL) SWIG_fail;
ae8162c8 21958 temp2 = true;
d55e5bfc
RD
21959 }
21960 {
21961 PyThreadState* __tstate = wxPyBeginAllowThreads();
21962 (arg1)->SetText((wxString const &)*arg2);
21963
21964 wxPyEndAllowThreads(__tstate);
21965 if (PyErr_Occurred()) SWIG_fail;
21966 }
21967 Py_INCREF(Py_None); resultobj = Py_None;
21968 {
21969 if (temp2)
21970 delete arg2;
21971 }
21972 return resultobj;
21973 fail:
21974 {
21975 if (temp2)
21976 delete arg2;
21977 }
21978 return NULL;
21979}
21980
21981
c32bde28 21982static PyObject *_wrap_ListItem_SetImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21983 PyObject *resultobj;
21984 wxListItem *arg1 = (wxListItem *) 0 ;
21985 int arg2 ;
21986 PyObject * obj0 = 0 ;
21987 PyObject * obj1 = 0 ;
21988 char *kwnames[] = {
21989 (char *) "self",(char *) "image", NULL
21990 };
21991
21992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetImage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21993 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21994 if (SWIG_arg_fail(1)) SWIG_fail;
21995 {
21996 arg2 = (int)(SWIG_As_int(obj1));
21997 if (SWIG_arg_fail(2)) SWIG_fail;
21998 }
d55e5bfc
RD
21999 {
22000 PyThreadState* __tstate = wxPyBeginAllowThreads();
22001 (arg1)->SetImage(arg2);
22002
22003 wxPyEndAllowThreads(__tstate);
22004 if (PyErr_Occurred()) SWIG_fail;
22005 }
22006 Py_INCREF(Py_None); resultobj = Py_None;
22007 return resultobj;
22008 fail:
22009 return NULL;
22010}
22011
22012
c32bde28 22013static PyObject *_wrap_ListItem_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22014 PyObject *resultobj;
22015 wxListItem *arg1 = (wxListItem *) 0 ;
22016 long arg2 ;
22017 PyObject * obj0 = 0 ;
22018 PyObject * obj1 = 0 ;
22019 char *kwnames[] = {
22020 (char *) "self",(char *) "data", NULL
22021 };
22022
22023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22024 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22025 if (SWIG_arg_fail(1)) SWIG_fail;
22026 {
22027 arg2 = (long)(SWIG_As_long(obj1));
22028 if (SWIG_arg_fail(2)) SWIG_fail;
22029 }
d55e5bfc
RD
22030 {
22031 PyThreadState* __tstate = wxPyBeginAllowThreads();
22032 (arg1)->SetData(arg2);
22033
22034 wxPyEndAllowThreads(__tstate);
22035 if (PyErr_Occurred()) SWIG_fail;
22036 }
22037 Py_INCREF(Py_None); resultobj = Py_None;
22038 return resultobj;
22039 fail:
22040 return NULL;
22041}
22042
22043
c32bde28 22044static PyObject *_wrap_ListItem_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22045 PyObject *resultobj;
22046 wxListItem *arg1 = (wxListItem *) 0 ;
22047 int arg2 ;
22048 PyObject * obj0 = 0 ;
22049 PyObject * obj1 = 0 ;
22050 char *kwnames[] = {
22051 (char *) "self",(char *) "width", NULL
22052 };
22053
22054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetWidth",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22055 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22056 if (SWIG_arg_fail(1)) SWIG_fail;
22057 {
22058 arg2 = (int)(SWIG_As_int(obj1));
22059 if (SWIG_arg_fail(2)) SWIG_fail;
22060 }
d55e5bfc
RD
22061 {
22062 PyThreadState* __tstate = wxPyBeginAllowThreads();
22063 (arg1)->SetWidth(arg2);
22064
22065 wxPyEndAllowThreads(__tstate);
22066 if (PyErr_Occurred()) SWIG_fail;
22067 }
22068 Py_INCREF(Py_None); resultobj = Py_None;
22069 return resultobj;
22070 fail:
22071 return NULL;
22072}
22073
22074
c32bde28 22075static PyObject *_wrap_ListItem_SetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22076 PyObject *resultobj;
22077 wxListItem *arg1 = (wxListItem *) 0 ;
093d3ff1 22078 wxListColumnFormat arg2 ;
d55e5bfc
RD
22079 PyObject * obj0 = 0 ;
22080 PyObject * obj1 = 0 ;
22081 char *kwnames[] = {
22082 (char *) "self",(char *) "align", NULL
22083 };
22084
22085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetAlign",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22086 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22087 if (SWIG_arg_fail(1)) SWIG_fail;
22088 {
22089 arg2 = (wxListColumnFormat)(SWIG_As_int(obj1));
22090 if (SWIG_arg_fail(2)) SWIG_fail;
22091 }
d55e5bfc
RD
22092 {
22093 PyThreadState* __tstate = wxPyBeginAllowThreads();
22094 (arg1)->SetAlign((wxListColumnFormat )arg2);
22095
22096 wxPyEndAllowThreads(__tstate);
22097 if (PyErr_Occurred()) SWIG_fail;
22098 }
22099 Py_INCREF(Py_None); resultobj = Py_None;
22100 return resultobj;
22101 fail:
22102 return NULL;
22103}
22104
22105
c32bde28 22106static PyObject *_wrap_ListItem_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22107 PyObject *resultobj;
22108 wxListItem *arg1 = (wxListItem *) 0 ;
22109 wxColour *arg2 = 0 ;
22110 wxColour temp2 ;
22111 PyObject * obj0 = 0 ;
22112 PyObject * obj1 = 0 ;
22113 char *kwnames[] = {
22114 (char *) "self",(char *) "colText", NULL
22115 };
22116
22117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22118 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22119 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22120 {
22121 arg2 = &temp2;
22122 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22123 }
22124 {
22125 PyThreadState* __tstate = wxPyBeginAllowThreads();
22126 (arg1)->SetTextColour((wxColour const &)*arg2);
22127
22128 wxPyEndAllowThreads(__tstate);
22129 if (PyErr_Occurred()) SWIG_fail;
22130 }
22131 Py_INCREF(Py_None); resultobj = Py_None;
22132 return resultobj;
22133 fail:
22134 return NULL;
22135}
22136
22137
c32bde28 22138static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22139 PyObject *resultobj;
22140 wxListItem *arg1 = (wxListItem *) 0 ;
22141 wxColour *arg2 = 0 ;
22142 wxColour temp2 ;
22143 PyObject * obj0 = 0 ;
22144 PyObject * obj1 = 0 ;
22145 char *kwnames[] = {
22146 (char *) "self",(char *) "colBack", NULL
22147 };
22148
22149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22150 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22151 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22152 {
22153 arg2 = &temp2;
22154 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22155 }
22156 {
22157 PyThreadState* __tstate = wxPyBeginAllowThreads();
22158 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
22159
22160 wxPyEndAllowThreads(__tstate);
22161 if (PyErr_Occurred()) SWIG_fail;
22162 }
22163 Py_INCREF(Py_None); resultobj = Py_None;
22164 return resultobj;
22165 fail:
22166 return NULL;
22167}
22168
22169
c32bde28 22170static PyObject *_wrap_ListItem_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22171 PyObject *resultobj;
22172 wxListItem *arg1 = (wxListItem *) 0 ;
22173 wxFont *arg2 = 0 ;
22174 PyObject * obj0 = 0 ;
22175 PyObject * obj1 = 0 ;
22176 char *kwnames[] = {
22177 (char *) "self",(char *) "font", NULL
22178 };
22179
22180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22181 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22182 if (SWIG_arg_fail(1)) SWIG_fail;
22183 {
22184 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
22185 if (SWIG_arg_fail(2)) SWIG_fail;
22186 if (arg2 == NULL) {
22187 SWIG_null_ref("wxFont");
22188 }
22189 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
22190 }
22191 {
22192 PyThreadState* __tstate = wxPyBeginAllowThreads();
22193 (arg1)->SetFont((wxFont const &)*arg2);
22194
22195 wxPyEndAllowThreads(__tstate);
22196 if (PyErr_Occurred()) SWIG_fail;
22197 }
22198 Py_INCREF(Py_None); resultobj = Py_None;
22199 return resultobj;
22200 fail:
22201 return NULL;
22202}
22203
22204
c32bde28 22205static PyObject *_wrap_ListItem_GetMask(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22206 PyObject *resultobj;
22207 wxListItem *arg1 = (wxListItem *) 0 ;
22208 long result;
22209 PyObject * obj0 = 0 ;
22210 char *kwnames[] = {
22211 (char *) "self", NULL
22212 };
22213
22214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetMask",kwnames,&obj0)) goto fail;
093d3ff1
RD
22215 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22216 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22217 {
22218 PyThreadState* __tstate = wxPyBeginAllowThreads();
22219 result = (long)(arg1)->GetMask();
22220
22221 wxPyEndAllowThreads(__tstate);
22222 if (PyErr_Occurred()) SWIG_fail;
22223 }
093d3ff1
RD
22224 {
22225 resultobj = SWIG_From_long((long)(result));
22226 }
d55e5bfc
RD
22227 return resultobj;
22228 fail:
22229 return NULL;
22230}
22231
22232
c32bde28 22233static PyObject *_wrap_ListItem_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22234 PyObject *resultobj;
22235 wxListItem *arg1 = (wxListItem *) 0 ;
22236 long result;
22237 PyObject * obj0 = 0 ;
22238 char *kwnames[] = {
22239 (char *) "self", NULL
22240 };
22241
22242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetId",kwnames,&obj0)) goto fail;
093d3ff1
RD
22243 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22244 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22245 {
22246 PyThreadState* __tstate = wxPyBeginAllowThreads();
22247 result = (long)(arg1)->GetId();
22248
22249 wxPyEndAllowThreads(__tstate);
22250 if (PyErr_Occurred()) SWIG_fail;
22251 }
093d3ff1
RD
22252 {
22253 resultobj = SWIG_From_long((long)(result));
22254 }
d55e5bfc
RD
22255 return resultobj;
22256 fail:
22257 return NULL;
22258}
22259
22260
c32bde28 22261static PyObject *_wrap_ListItem_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22262 PyObject *resultobj;
22263 wxListItem *arg1 = (wxListItem *) 0 ;
22264 int result;
22265 PyObject * obj0 = 0 ;
22266 char *kwnames[] = {
22267 (char *) "self", NULL
22268 };
22269
22270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetColumn",kwnames,&obj0)) goto fail;
093d3ff1
RD
22271 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22272 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22273 {
22274 PyThreadState* __tstate = wxPyBeginAllowThreads();
22275 result = (int)(arg1)->GetColumn();
22276
22277 wxPyEndAllowThreads(__tstate);
22278 if (PyErr_Occurred()) SWIG_fail;
22279 }
093d3ff1
RD
22280 {
22281 resultobj = SWIG_From_int((int)(result));
22282 }
d55e5bfc
RD
22283 return resultobj;
22284 fail:
22285 return NULL;
22286}
22287
22288
c32bde28 22289static PyObject *_wrap_ListItem_GetState(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22290 PyObject *resultobj;
22291 wxListItem *arg1 = (wxListItem *) 0 ;
22292 long result;
22293 PyObject * obj0 = 0 ;
22294 char *kwnames[] = {
22295 (char *) "self", NULL
22296 };
22297
22298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetState",kwnames,&obj0)) goto fail;
093d3ff1
RD
22299 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22300 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22301 {
22302 PyThreadState* __tstate = wxPyBeginAllowThreads();
22303 result = (long)(arg1)->GetState();
22304
22305 wxPyEndAllowThreads(__tstate);
22306 if (PyErr_Occurred()) SWIG_fail;
22307 }
093d3ff1
RD
22308 {
22309 resultobj = SWIG_From_long((long)(result));
22310 }
d55e5bfc
RD
22311 return resultobj;
22312 fail:
22313 return NULL;
22314}
22315
22316
c32bde28 22317static PyObject *_wrap_ListItem_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22318 PyObject *resultobj;
22319 wxListItem *arg1 = (wxListItem *) 0 ;
22320 wxString *result;
22321 PyObject * obj0 = 0 ;
22322 char *kwnames[] = {
22323 (char *) "self", NULL
22324 };
22325
22326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetText",kwnames,&obj0)) goto fail;
093d3ff1
RD
22327 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22328 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22329 {
22330 PyThreadState* __tstate = wxPyBeginAllowThreads();
22331 {
22332 wxString const &_result_ref = (arg1)->GetText();
22333 result = (wxString *) &_result_ref;
22334 }
22335
22336 wxPyEndAllowThreads(__tstate);
22337 if (PyErr_Occurred()) SWIG_fail;
22338 }
22339 {
22340#if wxUSE_UNICODE
22341 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
22342#else
22343 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
22344#endif
22345 }
22346 return resultobj;
22347 fail:
22348 return NULL;
22349}
22350
22351
c32bde28 22352static PyObject *_wrap_ListItem_GetImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22353 PyObject *resultobj;
22354 wxListItem *arg1 = (wxListItem *) 0 ;
22355 int result;
22356 PyObject * obj0 = 0 ;
22357 char *kwnames[] = {
22358 (char *) "self", NULL
22359 };
22360
22361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetImage",kwnames,&obj0)) goto fail;
093d3ff1
RD
22362 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22363 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22364 {
22365 PyThreadState* __tstate = wxPyBeginAllowThreads();
22366 result = (int)(arg1)->GetImage();
22367
22368 wxPyEndAllowThreads(__tstate);
22369 if (PyErr_Occurred()) SWIG_fail;
22370 }
093d3ff1
RD
22371 {
22372 resultobj = SWIG_From_int((int)(result));
22373 }
d55e5bfc
RD
22374 return resultobj;
22375 fail:
22376 return NULL;
22377}
22378
22379
c32bde28 22380static PyObject *_wrap_ListItem_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22381 PyObject *resultobj;
22382 wxListItem *arg1 = (wxListItem *) 0 ;
22383 long result;
22384 PyObject * obj0 = 0 ;
22385 char *kwnames[] = {
22386 (char *) "self", NULL
22387 };
22388
22389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetData",kwnames,&obj0)) goto fail;
093d3ff1
RD
22390 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22391 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22392 {
22393 PyThreadState* __tstate = wxPyBeginAllowThreads();
22394 result = (long)(arg1)->GetData();
22395
22396 wxPyEndAllowThreads(__tstate);
22397 if (PyErr_Occurred()) SWIG_fail;
22398 }
093d3ff1
RD
22399 {
22400 resultobj = SWIG_From_long((long)(result));
22401 }
d55e5bfc
RD
22402 return resultobj;
22403 fail:
22404 return NULL;
22405}
22406
22407
c32bde28 22408static PyObject *_wrap_ListItem_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22409 PyObject *resultobj;
22410 wxListItem *arg1 = (wxListItem *) 0 ;
22411 int result;
22412 PyObject * obj0 = 0 ;
22413 char *kwnames[] = {
22414 (char *) "self", NULL
22415 };
22416
22417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetWidth",kwnames,&obj0)) goto fail;
093d3ff1
RD
22418 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22419 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22420 {
22421 PyThreadState* __tstate = wxPyBeginAllowThreads();
22422 result = (int)(arg1)->GetWidth();
22423
22424 wxPyEndAllowThreads(__tstate);
22425 if (PyErr_Occurred()) SWIG_fail;
22426 }
093d3ff1
RD
22427 {
22428 resultobj = SWIG_From_int((int)(result));
22429 }
d55e5bfc
RD
22430 return resultobj;
22431 fail:
22432 return NULL;
22433}
22434
22435
c32bde28 22436static PyObject *_wrap_ListItem_GetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22437 PyObject *resultobj;
22438 wxListItem *arg1 = (wxListItem *) 0 ;
093d3ff1 22439 wxListColumnFormat result;
d55e5bfc
RD
22440 PyObject * obj0 = 0 ;
22441 char *kwnames[] = {
22442 (char *) "self", NULL
22443 };
22444
22445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAlign",kwnames,&obj0)) goto fail;
093d3ff1
RD
22446 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22447 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22448 {
22449 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 22450 result = (wxListColumnFormat)(arg1)->GetAlign();
d55e5bfc
RD
22451
22452 wxPyEndAllowThreads(__tstate);
22453 if (PyErr_Occurred()) SWIG_fail;
22454 }
093d3ff1 22455 resultobj = SWIG_From_int((result));
d55e5bfc
RD
22456 return resultobj;
22457 fail:
22458 return NULL;
22459}
22460
22461
c32bde28 22462static PyObject *_wrap_ListItem_GetAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22463 PyObject *resultobj;
22464 wxListItem *arg1 = (wxListItem *) 0 ;
22465 wxListItemAttr *result;
22466 PyObject * obj0 = 0 ;
22467 char *kwnames[] = {
22468 (char *) "self", NULL
22469 };
22470
22471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAttributes",kwnames,&obj0)) goto fail;
093d3ff1
RD
22472 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22473 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22474 {
22475 PyThreadState* __tstate = wxPyBeginAllowThreads();
22476 result = (wxListItemAttr *)(arg1)->GetAttributes();
22477
22478 wxPyEndAllowThreads(__tstate);
22479 if (PyErr_Occurred()) SWIG_fail;
22480 }
22481 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 0);
22482 return resultobj;
22483 fail:
22484 return NULL;
22485}
22486
22487
c32bde28 22488static PyObject *_wrap_ListItem_HasAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22489 PyObject *resultobj;
22490 wxListItem *arg1 = (wxListItem *) 0 ;
22491 bool result;
22492 PyObject * obj0 = 0 ;
22493 char *kwnames[] = {
22494 (char *) "self", NULL
22495 };
22496
22497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_HasAttributes",kwnames,&obj0)) goto fail;
093d3ff1
RD
22498 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22499 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22500 {
22501 PyThreadState* __tstate = wxPyBeginAllowThreads();
22502 result = (bool)(arg1)->HasAttributes();
22503
22504 wxPyEndAllowThreads(__tstate);
22505 if (PyErr_Occurred()) SWIG_fail;
22506 }
22507 {
22508 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22509 }
22510 return resultobj;
22511 fail:
22512 return NULL;
22513}
22514
22515
c32bde28 22516static PyObject *_wrap_ListItem_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22517 PyObject *resultobj;
22518 wxListItem *arg1 = (wxListItem *) 0 ;
22519 wxColour result;
22520 PyObject * obj0 = 0 ;
22521 char *kwnames[] = {
22522 (char *) "self", NULL
22523 };
22524
22525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetTextColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
22526 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22527 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22528 {
22529 PyThreadState* __tstate = wxPyBeginAllowThreads();
22530 result = ((wxListItem const *)arg1)->GetTextColour();
22531
22532 wxPyEndAllowThreads(__tstate);
22533 if (PyErr_Occurred()) SWIG_fail;
22534 }
22535 {
22536 wxColour * resultptr;
093d3ff1 22537 resultptr = new wxColour((wxColour &)(result));
d55e5bfc
RD
22538 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
22539 }
22540 return resultobj;
22541 fail:
22542 return NULL;
22543}
22544
22545
c32bde28 22546static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22547 PyObject *resultobj;
22548 wxListItem *arg1 = (wxListItem *) 0 ;
22549 wxColour result;
22550 PyObject * obj0 = 0 ;
22551 char *kwnames[] = {
22552 (char *) "self", NULL
22553 };
22554
22555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
22556 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22557 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22558 {
22559 PyThreadState* __tstate = wxPyBeginAllowThreads();
22560 result = ((wxListItem const *)arg1)->GetBackgroundColour();
22561
22562 wxPyEndAllowThreads(__tstate);
22563 if (PyErr_Occurred()) SWIG_fail;
22564 }
22565 {
22566 wxColour * resultptr;
093d3ff1 22567 resultptr = new wxColour((wxColour &)(result));
d55e5bfc
RD
22568 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
22569 }
22570 return resultobj;
22571 fail:
22572 return NULL;
22573}
22574
22575
c32bde28 22576static PyObject *_wrap_ListItem_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22577 PyObject *resultobj;
22578 wxListItem *arg1 = (wxListItem *) 0 ;
22579 wxFont result;
22580 PyObject * obj0 = 0 ;
22581 char *kwnames[] = {
22582 (char *) "self", NULL
22583 };
22584
22585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetFont",kwnames,&obj0)) goto fail;
093d3ff1
RD
22586 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22587 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22588 {
22589 PyThreadState* __tstate = wxPyBeginAllowThreads();
22590 result = ((wxListItem const *)arg1)->GetFont();
22591
22592 wxPyEndAllowThreads(__tstate);
22593 if (PyErr_Occurred()) SWIG_fail;
22594 }
22595 {
22596 wxFont * resultptr;
093d3ff1 22597 resultptr = new wxFont((wxFont &)(result));
d55e5bfc
RD
22598 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
22599 }
22600 return resultobj;
22601 fail:
22602 return NULL;
22603}
22604
22605
c32bde28 22606static PyObject *_wrap_ListItem_m_mask_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22607 PyObject *resultobj;
22608 wxListItem *arg1 = (wxListItem *) 0 ;
22609 long arg2 ;
22610 PyObject * obj0 = 0 ;
22611 PyObject * obj1 = 0 ;
22612 char *kwnames[] = {
22613 (char *) "self",(char *) "m_mask", NULL
22614 };
22615
22616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_mask_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22617 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22618 if (SWIG_arg_fail(1)) SWIG_fail;
22619 {
22620 arg2 = (long)(SWIG_As_long(obj1));
22621 if (SWIG_arg_fail(2)) SWIG_fail;
22622 }
d55e5bfc
RD
22623 if (arg1) (arg1)->m_mask = arg2;
22624
22625 Py_INCREF(Py_None); resultobj = Py_None;
22626 return resultobj;
22627 fail:
22628 return NULL;
22629}
22630
22631
c32bde28 22632static PyObject *_wrap_ListItem_m_mask_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22633 PyObject *resultobj;
22634 wxListItem *arg1 = (wxListItem *) 0 ;
22635 long result;
22636 PyObject * obj0 = 0 ;
22637 char *kwnames[] = {
22638 (char *) "self", NULL
22639 };
22640
22641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_mask_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
22642 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22643 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22644 result = (long) ((arg1)->m_mask);
22645
093d3ff1
RD
22646 {
22647 resultobj = SWIG_From_long((long)(result));
22648 }
d55e5bfc
RD
22649 return resultobj;
22650 fail:
22651 return NULL;
22652}
22653
22654
c32bde28 22655static PyObject *_wrap_ListItem_m_itemId_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22656 PyObject *resultobj;
22657 wxListItem *arg1 = (wxListItem *) 0 ;
22658 long arg2 ;
22659 PyObject * obj0 = 0 ;
22660 PyObject * obj1 = 0 ;
22661 char *kwnames[] = {
22662 (char *) "self",(char *) "m_itemId", NULL
22663 };
22664
22665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_itemId_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22666 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22667 if (SWIG_arg_fail(1)) SWIG_fail;
22668 {
22669 arg2 = (long)(SWIG_As_long(obj1));
22670 if (SWIG_arg_fail(2)) SWIG_fail;
22671 }
d55e5bfc
RD
22672 if (arg1) (arg1)->m_itemId = arg2;
22673
22674 Py_INCREF(Py_None); resultobj = Py_None;
22675 return resultobj;
22676 fail:
22677 return NULL;
22678}
22679
22680
c32bde28 22681static PyObject *_wrap_ListItem_m_itemId_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22682 PyObject *resultobj;
22683 wxListItem *arg1 = (wxListItem *) 0 ;
22684 long result;
22685 PyObject * obj0 = 0 ;
22686 char *kwnames[] = {
22687 (char *) "self", NULL
22688 };
22689
22690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_itemId_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
22691 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22692 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22693 result = (long) ((arg1)->m_itemId);
22694
093d3ff1
RD
22695 {
22696 resultobj = SWIG_From_long((long)(result));
22697 }
d55e5bfc
RD
22698 return resultobj;
22699 fail:
22700 return NULL;
22701}
22702
22703
c32bde28 22704static PyObject *_wrap_ListItem_m_col_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22705 PyObject *resultobj;
22706 wxListItem *arg1 = (wxListItem *) 0 ;
22707 int arg2 ;
22708 PyObject * obj0 = 0 ;
22709 PyObject * obj1 = 0 ;
22710 char *kwnames[] = {
22711 (char *) "self",(char *) "m_col", NULL
22712 };
22713
22714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_col_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22715 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22716 if (SWIG_arg_fail(1)) SWIG_fail;
22717 {
22718 arg2 = (int)(SWIG_As_int(obj1));
22719 if (SWIG_arg_fail(2)) SWIG_fail;
22720 }
d55e5bfc
RD
22721 if (arg1) (arg1)->m_col = arg2;
22722
22723 Py_INCREF(Py_None); resultobj = Py_None;
22724 return resultobj;
22725 fail:
22726 return NULL;
22727}
22728
22729
c32bde28 22730static PyObject *_wrap_ListItem_m_col_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22731 PyObject *resultobj;
22732 wxListItem *arg1 = (wxListItem *) 0 ;
22733 int result;
22734 PyObject * obj0 = 0 ;
22735 char *kwnames[] = {
22736 (char *) "self", NULL
22737 };
22738
22739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_col_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
22740 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22741 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22742 result = (int) ((arg1)->m_col);
22743
093d3ff1
RD
22744 {
22745 resultobj = SWIG_From_int((int)(result));
22746 }
d55e5bfc
RD
22747 return resultobj;
22748 fail:
22749 return NULL;
22750}
22751
22752
c32bde28 22753static PyObject *_wrap_ListItem_m_state_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22754 PyObject *resultobj;
22755 wxListItem *arg1 = (wxListItem *) 0 ;
22756 long arg2 ;
22757 PyObject * obj0 = 0 ;
22758 PyObject * obj1 = 0 ;
22759 char *kwnames[] = {
22760 (char *) "self",(char *) "m_state", NULL
22761 };
22762
22763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_state_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22764 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22765 if (SWIG_arg_fail(1)) SWIG_fail;
22766 {
22767 arg2 = (long)(SWIG_As_long(obj1));
22768 if (SWIG_arg_fail(2)) SWIG_fail;
22769 }
d55e5bfc
RD
22770 if (arg1) (arg1)->m_state = arg2;
22771
22772 Py_INCREF(Py_None); resultobj = Py_None;
22773 return resultobj;
22774 fail:
22775 return NULL;
22776}
22777
22778
c32bde28 22779static PyObject *_wrap_ListItem_m_state_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22780 PyObject *resultobj;
22781 wxListItem *arg1 = (wxListItem *) 0 ;
22782 long result;
22783 PyObject * obj0 = 0 ;
22784 char *kwnames[] = {
22785 (char *) "self", NULL
22786 };
22787
22788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_state_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
22789 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22790 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22791 result = (long) ((arg1)->m_state);
22792
093d3ff1
RD
22793 {
22794 resultobj = SWIG_From_long((long)(result));
22795 }
d55e5bfc
RD
22796 return resultobj;
22797 fail:
22798 return NULL;
22799}
22800
22801
c32bde28 22802static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22803 PyObject *resultobj;
22804 wxListItem *arg1 = (wxListItem *) 0 ;
22805 long arg2 ;
22806 PyObject * obj0 = 0 ;
22807 PyObject * obj1 = 0 ;
22808 char *kwnames[] = {
22809 (char *) "self",(char *) "m_stateMask", NULL
22810 };
22811
22812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_stateMask_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22813 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22814 if (SWIG_arg_fail(1)) SWIG_fail;
22815 {
22816 arg2 = (long)(SWIG_As_long(obj1));
22817 if (SWIG_arg_fail(2)) SWIG_fail;
22818 }
d55e5bfc
RD
22819 if (arg1) (arg1)->m_stateMask = arg2;
22820
22821 Py_INCREF(Py_None); resultobj = Py_None;
22822 return resultobj;
22823 fail:
22824 return NULL;
22825}
22826
22827
c32bde28 22828static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22829 PyObject *resultobj;
22830 wxListItem *arg1 = (wxListItem *) 0 ;
22831 long result;
22832 PyObject * obj0 = 0 ;
22833 char *kwnames[] = {
22834 (char *) "self", NULL
22835 };
22836
22837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_stateMask_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
22838 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22839 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22840 result = (long) ((arg1)->m_stateMask);
22841
093d3ff1
RD
22842 {
22843 resultobj = SWIG_From_long((long)(result));
22844 }
d55e5bfc
RD
22845 return resultobj;
22846 fail:
22847 return NULL;
22848}
22849
22850
c32bde28 22851static PyObject *_wrap_ListItem_m_text_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22852 PyObject *resultobj;
22853 wxListItem *arg1 = (wxListItem *) 0 ;
22854 wxString *arg2 = (wxString *) 0 ;
ae8162c8 22855 bool temp2 = false ;
d55e5bfc
RD
22856 PyObject * obj0 = 0 ;
22857 PyObject * obj1 = 0 ;
22858 char *kwnames[] = {
22859 (char *) "self",(char *) "m_text", NULL
22860 };
22861
22862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22863 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22864 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22865 {
22866 arg2 = wxString_in_helper(obj1);
22867 if (arg2 == NULL) SWIG_fail;
ae8162c8 22868 temp2 = true;
d55e5bfc
RD
22869 }
22870 if (arg1) (arg1)->m_text = *arg2;
22871
22872 Py_INCREF(Py_None); resultobj = Py_None;
22873 {
22874 if (temp2)
22875 delete arg2;
22876 }
22877 return resultobj;
22878 fail:
22879 {
22880 if (temp2)
22881 delete arg2;
22882 }
22883 return NULL;
22884}
22885
22886
c32bde28 22887static PyObject *_wrap_ListItem_m_text_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22888 PyObject *resultobj;
22889 wxListItem *arg1 = (wxListItem *) 0 ;
22890 wxString *result;
22891 PyObject * obj0 = 0 ;
22892 char *kwnames[] = {
22893 (char *) "self", NULL
22894 };
22895
22896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
22897 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22898 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22899 result = (wxString *)& ((arg1)->m_text);
22900
22901 {
22902#if wxUSE_UNICODE
22903 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
22904#else
22905 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
22906#endif
22907 }
22908 return resultobj;
22909 fail:
22910 return NULL;
22911}
22912
22913
c32bde28 22914static PyObject *_wrap_ListItem_m_image_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22915 PyObject *resultobj;
22916 wxListItem *arg1 = (wxListItem *) 0 ;
22917 int arg2 ;
22918 PyObject * obj0 = 0 ;
22919 PyObject * obj1 = 0 ;
22920 char *kwnames[] = {
22921 (char *) "self",(char *) "m_image", NULL
22922 };
22923
22924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_image_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22925 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22926 if (SWIG_arg_fail(1)) SWIG_fail;
22927 {
22928 arg2 = (int)(SWIG_As_int(obj1));
22929 if (SWIG_arg_fail(2)) SWIG_fail;
22930 }
d55e5bfc
RD
22931 if (arg1) (arg1)->m_image = arg2;
22932
22933 Py_INCREF(Py_None); resultobj = Py_None;
22934 return resultobj;
22935 fail:
22936 return NULL;
22937}
22938
22939
c32bde28 22940static PyObject *_wrap_ListItem_m_image_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22941 PyObject *resultobj;
22942 wxListItem *arg1 = (wxListItem *) 0 ;
22943 int result;
22944 PyObject * obj0 = 0 ;
22945 char *kwnames[] = {
22946 (char *) "self", NULL
22947 };
22948
22949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
22950 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22951 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22952 result = (int) ((arg1)->m_image);
22953
093d3ff1
RD
22954 {
22955 resultobj = SWIG_From_int((int)(result));
22956 }
d55e5bfc
RD
22957 return resultobj;
22958 fail:
22959 return NULL;
22960}
22961
22962
c32bde28 22963static PyObject *_wrap_ListItem_m_data_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22964 PyObject *resultobj;
22965 wxListItem *arg1 = (wxListItem *) 0 ;
22966 long arg2 ;
22967 PyObject * obj0 = 0 ;
22968 PyObject * obj1 = 0 ;
22969 char *kwnames[] = {
22970 (char *) "self",(char *) "m_data", NULL
22971 };
22972
22973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_data_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22974 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22975 if (SWIG_arg_fail(1)) SWIG_fail;
22976 {
22977 arg2 = (long)(SWIG_As_long(obj1));
22978 if (SWIG_arg_fail(2)) SWIG_fail;
22979 }
d55e5bfc
RD
22980 if (arg1) (arg1)->m_data = arg2;
22981
22982 Py_INCREF(Py_None); resultobj = Py_None;
22983 return resultobj;
22984 fail:
22985 return NULL;
22986}
22987
22988
c32bde28 22989static PyObject *_wrap_ListItem_m_data_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22990 PyObject *resultobj;
22991 wxListItem *arg1 = (wxListItem *) 0 ;
22992 long result;
22993 PyObject * obj0 = 0 ;
22994 char *kwnames[] = {
22995 (char *) "self", NULL
22996 };
22997
22998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_data_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
22999 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23000 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23001 result = (long) ((arg1)->m_data);
23002
093d3ff1
RD
23003 {
23004 resultobj = SWIG_From_long((long)(result));
23005 }
d55e5bfc
RD
23006 return resultobj;
23007 fail:
23008 return NULL;
23009}
23010
23011
c32bde28 23012static PyObject *_wrap_ListItem_m_format_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23013 PyObject *resultobj;
23014 wxListItem *arg1 = (wxListItem *) 0 ;
23015 int arg2 ;
23016 PyObject * obj0 = 0 ;
23017 PyObject * obj1 = 0 ;
23018 char *kwnames[] = {
23019 (char *) "self",(char *) "m_format", NULL
23020 };
23021
23022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_format_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23023 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23024 if (SWIG_arg_fail(1)) SWIG_fail;
23025 {
23026 arg2 = (int)(SWIG_As_int(obj1));
23027 if (SWIG_arg_fail(2)) SWIG_fail;
23028 }
d55e5bfc
RD
23029 if (arg1) (arg1)->m_format = arg2;
23030
23031 Py_INCREF(Py_None); resultobj = Py_None;
23032 return resultobj;
23033 fail:
23034 return NULL;
23035}
23036
23037
c32bde28 23038static PyObject *_wrap_ListItem_m_format_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23039 PyObject *resultobj;
23040 wxListItem *arg1 = (wxListItem *) 0 ;
23041 int result;
23042 PyObject * obj0 = 0 ;
23043 char *kwnames[] = {
23044 (char *) "self", NULL
23045 };
23046
23047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_format_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
23048 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23049 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23050 result = (int) ((arg1)->m_format);
23051
093d3ff1
RD
23052 {
23053 resultobj = SWIG_From_int((int)(result));
23054 }
d55e5bfc
RD
23055 return resultobj;
23056 fail:
23057 return NULL;
23058}
23059
23060
c32bde28 23061static PyObject *_wrap_ListItem_m_width_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23062 PyObject *resultobj;
23063 wxListItem *arg1 = (wxListItem *) 0 ;
23064 int arg2 ;
23065 PyObject * obj0 = 0 ;
23066 PyObject * obj1 = 0 ;
23067 char *kwnames[] = {
23068 (char *) "self",(char *) "m_width", NULL
23069 };
23070
23071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_width_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23072 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23073 if (SWIG_arg_fail(1)) SWIG_fail;
23074 {
23075 arg2 = (int)(SWIG_As_int(obj1));
23076 if (SWIG_arg_fail(2)) SWIG_fail;
23077 }
d55e5bfc
RD
23078 if (arg1) (arg1)->m_width = arg2;
23079
23080 Py_INCREF(Py_None); resultobj = Py_None;
23081 return resultobj;
23082 fail:
23083 return NULL;
23084}
23085
23086
c32bde28 23087static PyObject *_wrap_ListItem_m_width_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23088 PyObject *resultobj;
23089 wxListItem *arg1 = (wxListItem *) 0 ;
23090 int result;
23091 PyObject * obj0 = 0 ;
23092 char *kwnames[] = {
23093 (char *) "self", NULL
23094 };
23095
23096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
23097 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23098 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23099 result = (int) ((arg1)->m_width);
23100
093d3ff1
RD
23101 {
23102 resultobj = SWIG_From_int((int)(result));
23103 }
d55e5bfc
RD
23104 return resultobj;
23105 fail:
23106 return NULL;
23107}
23108
23109
c32bde28 23110static PyObject * ListItem_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
23111 PyObject *obj;
23112 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23113 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
23114 Py_INCREF(obj);
23115 return Py_BuildValue((char *)"");
23116}
c32bde28 23117static PyObject *_wrap_new_ListEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23118 PyObject *resultobj;
23119 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
23120 int arg2 = (int) 0 ;
23121 wxListEvent *result;
23122 PyObject * obj0 = 0 ;
23123 PyObject * obj1 = 0 ;
23124 char *kwnames[] = {
23125 (char *) "commandType",(char *) "id", NULL
23126 };
23127
23128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ListEvent",kwnames,&obj0,&obj1)) goto fail;
23129 if (obj0) {
093d3ff1
RD
23130 {
23131 arg1 = (wxEventType)(SWIG_As_int(obj0));
23132 if (SWIG_arg_fail(1)) SWIG_fail;
23133 }
d55e5bfc
RD
23134 }
23135 if (obj1) {
093d3ff1
RD
23136 {
23137 arg2 = (int)(SWIG_As_int(obj1));
23138 if (SWIG_arg_fail(2)) SWIG_fail;
23139 }
d55e5bfc
RD
23140 }
23141 {
23142 PyThreadState* __tstate = wxPyBeginAllowThreads();
23143 result = (wxListEvent *)new wxListEvent(arg1,arg2);
23144
23145 wxPyEndAllowThreads(__tstate);
23146 if (PyErr_Occurred()) SWIG_fail;
23147 }
23148 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListEvent, 1);
23149 return resultobj;
23150 fail:
23151 return NULL;
23152}
23153
23154
c32bde28 23155static PyObject *_wrap_ListEvent_m_code_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23156 PyObject *resultobj;
23157 wxListEvent *arg1 = (wxListEvent *) 0 ;
23158 int arg2 ;
23159 PyObject * obj0 = 0 ;
23160 PyObject * obj1 = 0 ;
23161 char *kwnames[] = {
23162 (char *) "self",(char *) "m_code", NULL
23163 };
23164
23165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_code_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23166 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23167 if (SWIG_arg_fail(1)) SWIG_fail;
23168 {
23169 arg2 = (int)(SWIG_As_int(obj1));
23170 if (SWIG_arg_fail(2)) SWIG_fail;
23171 }
d55e5bfc
RD
23172 if (arg1) (arg1)->m_code = arg2;
23173
23174 Py_INCREF(Py_None); resultobj = Py_None;
23175 return resultobj;
23176 fail:
23177 return NULL;
23178}
23179
23180
c32bde28 23181static PyObject *_wrap_ListEvent_m_code_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23182 PyObject *resultobj;
23183 wxListEvent *arg1 = (wxListEvent *) 0 ;
23184 int result;
23185 PyObject * obj0 = 0 ;
23186 char *kwnames[] = {
23187 (char *) "self", NULL
23188 };
23189
23190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
23191 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23192 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23193 result = (int) ((arg1)->m_code);
23194
093d3ff1
RD
23195 {
23196 resultobj = SWIG_From_int((int)(result));
23197 }
d55e5bfc
RD
23198 return resultobj;
23199 fail:
23200 return NULL;
23201}
23202
23203
c32bde28 23204static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23205 PyObject *resultobj;
23206 wxListEvent *arg1 = (wxListEvent *) 0 ;
23207 long arg2 ;
23208 PyObject * obj0 = 0 ;
23209 PyObject * obj1 = 0 ;
23210 char *kwnames[] = {
23211 (char *) "self",(char *) "m_oldItemIndex", NULL
23212 };
23213
23214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23215 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23216 if (SWIG_arg_fail(1)) SWIG_fail;
23217 {
23218 arg2 = (long)(SWIG_As_long(obj1));
23219 if (SWIG_arg_fail(2)) SWIG_fail;
23220 }
d55e5bfc
RD
23221 if (arg1) (arg1)->m_oldItemIndex = arg2;
23222
23223 Py_INCREF(Py_None); resultobj = Py_None;
23224 return resultobj;
23225 fail:
23226 return NULL;
23227}
23228
23229
c32bde28 23230static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23231 PyObject *resultobj;
23232 wxListEvent *arg1 = (wxListEvent *) 0 ;
23233 long result;
23234 PyObject * obj0 = 0 ;
23235 char *kwnames[] = {
23236 (char *) "self", NULL
23237 };
23238
23239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
23240 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23241 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23242 result = (long) ((arg1)->m_oldItemIndex);
23243
093d3ff1
RD
23244 {
23245 resultobj = SWIG_From_long((long)(result));
23246 }
d55e5bfc
RD
23247 return resultobj;
23248 fail:
23249 return NULL;
23250}
23251
23252
c32bde28 23253static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23254 PyObject *resultobj;
23255 wxListEvent *arg1 = (wxListEvent *) 0 ;
23256 long arg2 ;
23257 PyObject * obj0 = 0 ;
23258 PyObject * obj1 = 0 ;
23259 char *kwnames[] = {
23260 (char *) "self",(char *) "m_itemIndex", NULL
23261 };
23262
23263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_itemIndex_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23264 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23265 if (SWIG_arg_fail(1)) SWIG_fail;
23266 {
23267 arg2 = (long)(SWIG_As_long(obj1));
23268 if (SWIG_arg_fail(2)) SWIG_fail;
23269 }
d55e5bfc
RD
23270 if (arg1) (arg1)->m_itemIndex = arg2;
23271
23272 Py_INCREF(Py_None); resultobj = Py_None;
23273 return resultobj;
23274 fail:
23275 return NULL;
23276}
23277
23278
c32bde28 23279static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23280 PyObject *resultobj;
23281 wxListEvent *arg1 = (wxListEvent *) 0 ;
23282 long result;
23283 PyObject * obj0 = 0 ;
23284 char *kwnames[] = {
23285 (char *) "self", NULL
23286 };
23287
23288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
23289 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23290 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23291 result = (long) ((arg1)->m_itemIndex);
23292
093d3ff1
RD
23293 {
23294 resultobj = SWIG_From_long((long)(result));
23295 }
d55e5bfc
RD
23296 return resultobj;
23297 fail:
23298 return NULL;
23299}
23300
23301
c32bde28 23302static PyObject *_wrap_ListEvent_m_col_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23303 PyObject *resultobj;
23304 wxListEvent *arg1 = (wxListEvent *) 0 ;
23305 int arg2 ;
23306 PyObject * obj0 = 0 ;
23307 PyObject * obj1 = 0 ;
23308 char *kwnames[] = {
23309 (char *) "self",(char *) "m_col", NULL
23310 };
23311
23312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_col_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23313 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23314 if (SWIG_arg_fail(1)) SWIG_fail;
23315 {
23316 arg2 = (int)(SWIG_As_int(obj1));
23317 if (SWIG_arg_fail(2)) SWIG_fail;
23318 }
d55e5bfc
RD
23319 if (arg1) (arg1)->m_col = arg2;
23320
23321 Py_INCREF(Py_None); resultobj = Py_None;
23322 return resultobj;
23323 fail:
23324 return NULL;
23325}
23326
23327
c32bde28 23328static PyObject *_wrap_ListEvent_m_col_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23329 PyObject *resultobj;
23330 wxListEvent *arg1 = (wxListEvent *) 0 ;
23331 int result;
23332 PyObject * obj0 = 0 ;
23333 char *kwnames[] = {
23334 (char *) "self", NULL
23335 };
23336
23337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_col_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
23338 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23339 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23340 result = (int) ((arg1)->m_col);
23341
093d3ff1
RD
23342 {
23343 resultobj = SWIG_From_int((int)(result));
23344 }
d55e5bfc
RD
23345 return resultobj;
23346 fail:
23347 return NULL;
23348}
23349
23350
c32bde28 23351static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23352 PyObject *resultobj;
23353 wxListEvent *arg1 = (wxListEvent *) 0 ;
23354 wxPoint *arg2 = (wxPoint *) 0 ;
23355 PyObject * obj0 = 0 ;
23356 PyObject * obj1 = 0 ;
23357 char *kwnames[] = {
23358 (char *) "self",(char *) "m_pointDrag", NULL
23359 };
23360
23361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23362 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23363 if (SWIG_arg_fail(1)) SWIG_fail;
23364 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | 0);
23365 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
23366 if (arg1) (arg1)->m_pointDrag = *arg2;
23367
23368 Py_INCREF(Py_None); resultobj = Py_None;
23369 return resultobj;
23370 fail:
23371 return NULL;
23372}
23373
23374
c32bde28 23375static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23376 PyObject *resultobj;
23377 wxListEvent *arg1 = (wxListEvent *) 0 ;
23378 wxPoint *result;
23379 PyObject * obj0 = 0 ;
23380 char *kwnames[] = {
23381 (char *) "self", NULL
23382 };
23383
23384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
23385 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23386 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23387 result = (wxPoint *)& ((arg1)->m_pointDrag);
23388
23389 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
23390 return resultobj;
23391 fail:
23392 return NULL;
23393}
23394
23395
c32bde28 23396static PyObject *_wrap_ListEvent_m_item_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23397 PyObject *resultobj;
23398 wxListEvent *arg1 = (wxListEvent *) 0 ;
23399 wxListItem *result;
23400 PyObject * obj0 = 0 ;
23401 char *kwnames[] = {
23402 (char *) "self", NULL
23403 };
23404
23405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
23406 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23407 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23408 result = (wxListItem *)& ((arg1)->m_item);
23409
23410 {
412d302d 23411 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
23412 }
23413 return resultobj;
23414 fail:
23415 return NULL;
23416}
23417
23418
c32bde28 23419static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23420 PyObject *resultobj;
23421 wxListEvent *arg1 = (wxListEvent *) 0 ;
23422 int result;
23423 PyObject * obj0 = 0 ;
23424 char *kwnames[] = {
23425 (char *) "self", NULL
23426 };
23427
23428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetKeyCode",kwnames,&obj0)) goto fail;
093d3ff1
RD
23429 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23430 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23431 {
23432 PyThreadState* __tstate = wxPyBeginAllowThreads();
23433 result = (int)(arg1)->GetKeyCode();
23434
23435 wxPyEndAllowThreads(__tstate);
23436 if (PyErr_Occurred()) SWIG_fail;
23437 }
093d3ff1
RD
23438 {
23439 resultobj = SWIG_From_int((int)(result));
23440 }
d55e5bfc
RD
23441 return resultobj;
23442 fail:
23443 return NULL;
23444}
23445
23446
c32bde28 23447static PyObject *_wrap_ListEvent_GetIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23448 PyObject *resultobj;
23449 wxListEvent *arg1 = (wxListEvent *) 0 ;
23450 long result;
23451 PyObject * obj0 = 0 ;
23452 char *kwnames[] = {
23453 (char *) "self", NULL
23454 };
23455
23456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetIndex",kwnames,&obj0)) goto fail;
093d3ff1
RD
23457 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23458 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23459 {
23460 PyThreadState* __tstate = wxPyBeginAllowThreads();
23461 result = (long)(arg1)->GetIndex();
23462
23463 wxPyEndAllowThreads(__tstate);
23464 if (PyErr_Occurred()) SWIG_fail;
23465 }
093d3ff1
RD
23466 {
23467 resultobj = SWIG_From_long((long)(result));
23468 }
d55e5bfc
RD
23469 return resultobj;
23470 fail:
23471 return NULL;
23472}
23473
23474
c32bde28 23475static PyObject *_wrap_ListEvent_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23476 PyObject *resultobj;
23477 wxListEvent *arg1 = (wxListEvent *) 0 ;
23478 int result;
23479 PyObject * obj0 = 0 ;
23480 char *kwnames[] = {
23481 (char *) "self", NULL
23482 };
23483
23484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",kwnames,&obj0)) goto fail;
093d3ff1
RD
23485 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23486 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23487 {
23488 PyThreadState* __tstate = wxPyBeginAllowThreads();
23489 result = (int)(arg1)->GetColumn();
23490
23491 wxPyEndAllowThreads(__tstate);
23492 if (PyErr_Occurred()) SWIG_fail;
23493 }
093d3ff1
RD
23494 {
23495 resultobj = SWIG_From_int((int)(result));
23496 }
d55e5bfc
RD
23497 return resultobj;
23498 fail:
23499 return NULL;
23500}
23501
23502
c32bde28 23503static PyObject *_wrap_ListEvent_GetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23504 PyObject *resultobj;
23505 wxListEvent *arg1 = (wxListEvent *) 0 ;
23506 wxPoint result;
23507 PyObject * obj0 = 0 ;
23508 char *kwnames[] = {
23509 (char *) "self", NULL
23510 };
23511
23512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",kwnames,&obj0)) goto fail;
093d3ff1
RD
23513 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23514 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23515 {
23516 PyThreadState* __tstate = wxPyBeginAllowThreads();
23517 result = (arg1)->GetPoint();
23518
23519 wxPyEndAllowThreads(__tstate);
23520 if (PyErr_Occurred()) SWIG_fail;
23521 }
23522 {
23523 wxPoint * resultptr;
093d3ff1 23524 resultptr = new wxPoint((wxPoint &)(result));
d55e5bfc
RD
23525 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
23526 }
23527 return resultobj;
23528 fail:
23529 return NULL;
23530}
23531
23532
c32bde28 23533static PyObject *_wrap_ListEvent_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23534 PyObject *resultobj;
23535 wxListEvent *arg1 = (wxListEvent *) 0 ;
23536 wxString *result;
23537 PyObject * obj0 = 0 ;
23538 char *kwnames[] = {
23539 (char *) "self", NULL
23540 };
23541
23542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",kwnames,&obj0)) goto fail;
093d3ff1
RD
23543 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23544 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23545 {
23546 PyThreadState* __tstate = wxPyBeginAllowThreads();
23547 {
23548 wxString const &_result_ref = (arg1)->GetLabel();
23549 result = (wxString *) &_result_ref;
23550 }
23551
23552 wxPyEndAllowThreads(__tstate);
23553 if (PyErr_Occurred()) SWIG_fail;
23554 }
23555 {
23556#if wxUSE_UNICODE
23557 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23558#else
23559 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23560#endif
23561 }
23562 return resultobj;
23563 fail:
23564 return NULL;
23565}
23566
23567
c32bde28 23568static PyObject *_wrap_ListEvent_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23569 PyObject *resultobj;
23570 wxListEvent *arg1 = (wxListEvent *) 0 ;
23571 wxString *result;
23572 PyObject * obj0 = 0 ;
23573 char *kwnames[] = {
23574 (char *) "self", NULL
23575 };
23576
23577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
093d3ff1
RD
23578 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23579 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23580 {
23581 PyThreadState* __tstate = wxPyBeginAllowThreads();
23582 {
23583 wxString const &_result_ref = (arg1)->GetText();
23584 result = (wxString *) &_result_ref;
23585 }
23586
23587 wxPyEndAllowThreads(__tstate);
23588 if (PyErr_Occurred()) SWIG_fail;
23589 }
23590 {
23591#if wxUSE_UNICODE
23592 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23593#else
23594 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23595#endif
23596 }
23597 return resultobj;
23598 fail:
23599 return NULL;
23600}
23601
23602
c32bde28 23603static PyObject *_wrap_ListEvent_GetImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23604 PyObject *resultobj;
23605 wxListEvent *arg1 = (wxListEvent *) 0 ;
23606 int result;
23607 PyObject * obj0 = 0 ;
23608 char *kwnames[] = {
23609 (char *) "self", NULL
23610 };
23611
23612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetImage",kwnames,&obj0)) goto fail;
093d3ff1
RD
23613 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23614 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23615 {
23616 PyThreadState* __tstate = wxPyBeginAllowThreads();
23617 result = (int)(arg1)->GetImage();
23618
23619 wxPyEndAllowThreads(__tstate);
23620 if (PyErr_Occurred()) SWIG_fail;
23621 }
093d3ff1
RD
23622 {
23623 resultobj = SWIG_From_int((int)(result));
23624 }
d55e5bfc
RD
23625 return resultobj;
23626 fail:
23627 return NULL;
23628}
23629
23630
c32bde28 23631static PyObject *_wrap_ListEvent_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23632 PyObject *resultobj;
23633 wxListEvent *arg1 = (wxListEvent *) 0 ;
23634 long result;
23635 PyObject * obj0 = 0 ;
23636 char *kwnames[] = {
23637 (char *) "self", NULL
23638 };
23639
23640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetData",kwnames,&obj0)) goto fail;
093d3ff1
RD
23641 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23642 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23643 {
23644 PyThreadState* __tstate = wxPyBeginAllowThreads();
23645 result = (long)(arg1)->GetData();
23646
23647 wxPyEndAllowThreads(__tstate);
23648 if (PyErr_Occurred()) SWIG_fail;
23649 }
093d3ff1
RD
23650 {
23651 resultobj = SWIG_From_long((long)(result));
23652 }
d55e5bfc
RD
23653 return resultobj;
23654 fail:
23655 return NULL;
23656}
23657
23658
c32bde28 23659static PyObject *_wrap_ListEvent_GetMask(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23660 PyObject *resultobj;
23661 wxListEvent *arg1 = (wxListEvent *) 0 ;
23662 long result;
23663 PyObject * obj0 = 0 ;
23664 char *kwnames[] = {
23665 (char *) "self", NULL
23666 };
23667
23668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",kwnames,&obj0)) goto fail;
093d3ff1
RD
23669 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23670 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23671 {
23672 PyThreadState* __tstate = wxPyBeginAllowThreads();
23673 result = (long)(arg1)->GetMask();
23674
23675 wxPyEndAllowThreads(__tstate);
23676 if (PyErr_Occurred()) SWIG_fail;
23677 }
093d3ff1
RD
23678 {
23679 resultobj = SWIG_From_long((long)(result));
23680 }
d55e5bfc
RD
23681 return resultobj;
23682 fail:
23683 return NULL;
23684}
23685
23686
c32bde28 23687static PyObject *_wrap_ListEvent_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23688 PyObject *resultobj;
23689 wxListEvent *arg1 = (wxListEvent *) 0 ;
23690 wxListItem *result;
23691 PyObject * obj0 = 0 ;
23692 char *kwnames[] = {
23693 (char *) "self", NULL
23694 };
23695
23696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",kwnames,&obj0)) goto fail;
093d3ff1
RD
23697 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23698 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23699 {
23700 PyThreadState* __tstate = wxPyBeginAllowThreads();
23701 {
23702 wxListItem const &_result_ref = (arg1)->GetItem();
23703 result = (wxListItem *) &_result_ref;
23704 }
23705
23706 wxPyEndAllowThreads(__tstate);
23707 if (PyErr_Occurred()) SWIG_fail;
23708 }
23709 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItem, 0);
23710 return resultobj;
23711 fail:
23712 return NULL;
23713}
23714
23715
c32bde28 23716static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23717 PyObject *resultobj;
23718 wxListEvent *arg1 = (wxListEvent *) 0 ;
23719 long result;
23720 PyObject * obj0 = 0 ;
23721 char *kwnames[] = {
23722 (char *) "self", NULL
23723 };
23724
23725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheFrom",kwnames,&obj0)) goto fail;
093d3ff1
RD
23726 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23727 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23728 {
23729 PyThreadState* __tstate = wxPyBeginAllowThreads();
23730 result = (long)(arg1)->GetCacheFrom();
23731
23732 wxPyEndAllowThreads(__tstate);
23733 if (PyErr_Occurred()) SWIG_fail;
23734 }
093d3ff1
RD
23735 {
23736 resultobj = SWIG_From_long((long)(result));
23737 }
d55e5bfc
RD
23738 return resultobj;
23739 fail:
23740 return NULL;
23741}
23742
23743
c32bde28 23744static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23745 PyObject *resultobj;
23746 wxListEvent *arg1 = (wxListEvent *) 0 ;
23747 long result;
23748 PyObject * obj0 = 0 ;
23749 char *kwnames[] = {
23750 (char *) "self", NULL
23751 };
23752
23753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",kwnames,&obj0)) goto fail;
093d3ff1
RD
23754 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23755 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23756 {
23757 PyThreadState* __tstate = wxPyBeginAllowThreads();
23758 result = (long)(arg1)->GetCacheTo();
23759
23760 wxPyEndAllowThreads(__tstate);
23761 if (PyErr_Occurred()) SWIG_fail;
23762 }
093d3ff1
RD
23763 {
23764 resultobj = SWIG_From_long((long)(result));
23765 }
d55e5bfc
RD
23766 return resultobj;
23767 fail:
23768 return NULL;
23769}
23770
23771
c32bde28 23772static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23773 PyObject *resultobj;
23774 wxListEvent *arg1 = (wxListEvent *) 0 ;
23775 bool result;
23776 PyObject * obj0 = 0 ;
23777 char *kwnames[] = {
23778 (char *) "self", NULL
23779 };
23780
23781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
093d3ff1
RD
23782 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23783 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23784 {
23785 PyThreadState* __tstate = wxPyBeginAllowThreads();
23786 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
23787
23788 wxPyEndAllowThreads(__tstate);
23789 if (PyErr_Occurred()) SWIG_fail;
23790 }
23791 {
23792 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23793 }
23794 return resultobj;
23795 fail:
23796 return NULL;
23797}
23798
23799
c32bde28 23800static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23801 PyObject *resultobj;
23802 wxListEvent *arg1 = (wxListEvent *) 0 ;
23803 bool arg2 ;
23804 PyObject * obj0 = 0 ;
23805 PyObject * obj1 = 0 ;
23806 char *kwnames[] = {
23807 (char *) "self",(char *) "editCancelled", NULL
23808 };
23809
23810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23811 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23812 if (SWIG_arg_fail(1)) SWIG_fail;
23813 {
23814 arg2 = (bool)(SWIG_As_bool(obj1));
23815 if (SWIG_arg_fail(2)) SWIG_fail;
23816 }
d55e5bfc
RD
23817 {
23818 PyThreadState* __tstate = wxPyBeginAllowThreads();
23819 (arg1)->SetEditCanceled(arg2);
23820
23821 wxPyEndAllowThreads(__tstate);
23822 if (PyErr_Occurred()) SWIG_fail;
23823 }
23824 Py_INCREF(Py_None); resultobj = Py_None;
23825 return resultobj;
23826 fail:
23827 return NULL;
23828}
23829
23830
c32bde28 23831static PyObject * ListEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
23832 PyObject *obj;
23833 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23834 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
23835 Py_INCREF(obj);
23836 return Py_BuildValue((char *)"");
23837}
c32bde28 23838static PyObject *_wrap_new_ListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23839 PyObject *resultobj;
23840 wxWindow *arg1 = (wxWindow *) 0 ;
23841 int arg2 = (int) -1 ;
23842 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23843 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23844 wxSize const &arg4_defvalue = wxDefaultSize ;
23845 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23846 long arg5 = (long) wxLC_ICON ;
23847 wxValidator const &arg6_defvalue = wxDefaultValidator ;
23848 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
23849 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
23850 wxString *arg7 = (wxString *) &arg7_defvalue ;
23851 wxPyListCtrl *result;
23852 wxPoint temp3 ;
23853 wxSize temp4 ;
ae8162c8 23854 bool temp7 = false ;
d55e5bfc
RD
23855 PyObject * obj0 = 0 ;
23856 PyObject * obj1 = 0 ;
23857 PyObject * obj2 = 0 ;
23858 PyObject * obj3 = 0 ;
23859 PyObject * obj4 = 0 ;
23860 PyObject * obj5 = 0 ;
23861 PyObject * obj6 = 0 ;
23862 char *kwnames[] = {
23863 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23864 };
23865
23866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
23867 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
23868 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 23869 if (obj1) {
093d3ff1
RD
23870 {
23871 arg2 = (int)(SWIG_As_int(obj1));
23872 if (SWIG_arg_fail(2)) SWIG_fail;
23873 }
d55e5bfc
RD
23874 }
23875 if (obj2) {
23876 {
23877 arg3 = &temp3;
23878 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23879 }
23880 }
23881 if (obj3) {
23882 {
23883 arg4 = &temp4;
23884 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23885 }
23886 }
23887 if (obj4) {
093d3ff1
RD
23888 {
23889 arg5 = (long)(SWIG_As_long(obj4));
23890 if (SWIG_arg_fail(5)) SWIG_fail;
23891 }
d55e5bfc
RD
23892 }
23893 if (obj5) {
093d3ff1
RD
23894 {
23895 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
23896 if (SWIG_arg_fail(6)) SWIG_fail;
23897 if (arg6 == NULL) {
23898 SWIG_null_ref("wxValidator");
23899 }
23900 if (SWIG_arg_fail(6)) SWIG_fail;
d55e5bfc
RD
23901 }
23902 }
23903 if (obj6) {
23904 {
23905 arg7 = wxString_in_helper(obj6);
23906 if (arg7 == NULL) SWIG_fail;
ae8162c8 23907 temp7 = true;
d55e5bfc
RD
23908 }
23909 }
23910 {
0439c23b 23911 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
23912 PyThreadState* __tstate = wxPyBeginAllowThreads();
23913 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
23914
23915 wxPyEndAllowThreads(__tstate);
110da5b0 23916 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
23917 }
23918 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
23919 {
23920 if (temp7)
23921 delete arg7;
23922 }
23923 return resultobj;
23924 fail:
23925 {
23926 if (temp7)
23927 delete arg7;
23928 }
23929 return NULL;
23930}
23931
23932
c32bde28 23933static PyObject *_wrap_new_PreListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23934 PyObject *resultobj;
23935 wxPyListCtrl *result;
23936 char *kwnames[] = {
23937 NULL
23938 };
23939
23940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
23941 {
0439c23b 23942 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
23943 PyThreadState* __tstate = wxPyBeginAllowThreads();
23944 result = (wxPyListCtrl *)new wxPyListCtrl();
23945
23946 wxPyEndAllowThreads(__tstate);
110da5b0 23947 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
23948 }
23949 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
23950 return resultobj;
23951 fail:
23952 return NULL;
23953}
23954
23955
c32bde28 23956static PyObject *_wrap_ListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23957 PyObject *resultobj;
23958 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23959 wxWindow *arg2 = (wxWindow *) 0 ;
23960 int arg3 = (int) -1 ;
23961 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23962 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23963 wxSize const &arg5_defvalue = wxDefaultSize ;
23964 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23965 long arg6 = (long) wxLC_ICON ;
23966 wxValidator const &arg7_defvalue = wxDefaultValidator ;
23967 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
23968 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
23969 wxString *arg8 = (wxString *) &arg8_defvalue ;
23970 bool result;
23971 wxPoint temp4 ;
23972 wxSize temp5 ;
ae8162c8 23973 bool temp8 = false ;
d55e5bfc
RD
23974 PyObject * obj0 = 0 ;
23975 PyObject * obj1 = 0 ;
23976 PyObject * obj2 = 0 ;
23977 PyObject * obj3 = 0 ;
23978 PyObject * obj4 = 0 ;
23979 PyObject * obj5 = 0 ;
23980 PyObject * obj6 = 0 ;
23981 PyObject * obj7 = 0 ;
23982 char *kwnames[] = {
23983 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23984 };
23985
23986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
23987 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
23988 if (SWIG_arg_fail(1)) SWIG_fail;
23989 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
23990 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 23991 if (obj2) {
093d3ff1
RD
23992 {
23993 arg3 = (int)(SWIG_As_int(obj2));
23994 if (SWIG_arg_fail(3)) SWIG_fail;
23995 }
d55e5bfc
RD
23996 }
23997 if (obj3) {
23998 {
23999 arg4 = &temp4;
24000 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24001 }
24002 }
24003 if (obj4) {
24004 {
24005 arg5 = &temp5;
24006 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24007 }
24008 }
24009 if (obj5) {
093d3ff1
RD
24010 {
24011 arg6 = (long)(SWIG_As_long(obj5));
24012 if (SWIG_arg_fail(6)) SWIG_fail;
24013 }
d55e5bfc
RD
24014 }
24015 if (obj6) {
093d3ff1
RD
24016 {
24017 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
24018 if (SWIG_arg_fail(7)) SWIG_fail;
24019 if (arg7 == NULL) {
24020 SWIG_null_ref("wxValidator");
24021 }
24022 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
24023 }
24024 }
24025 if (obj7) {
24026 {
24027 arg8 = wxString_in_helper(obj7);
24028 if (arg8 == NULL) SWIG_fail;
ae8162c8 24029 temp8 = true;
d55e5bfc
RD
24030 }
24031 }
24032 {
24033 PyThreadState* __tstate = wxPyBeginAllowThreads();
24034 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
24035
24036 wxPyEndAllowThreads(__tstate);
24037 if (PyErr_Occurred()) SWIG_fail;
24038 }
24039 {
24040 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24041 }
24042 {
24043 if (temp8)
24044 delete arg8;
24045 }
24046 return resultobj;
24047 fail:
24048 {
24049 if (temp8)
24050 delete arg8;
24051 }
24052 return NULL;
24053}
24054
24055
c32bde28 24056static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24057 PyObject *resultobj;
24058 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24059 PyObject *arg2 = (PyObject *) 0 ;
24060 PyObject *arg3 = (PyObject *) 0 ;
24061 PyObject * obj0 = 0 ;
24062 PyObject * obj1 = 0 ;
24063 PyObject * obj2 = 0 ;
24064 char *kwnames[] = {
24065 (char *) "self",(char *) "self",(char *) "_class", NULL
24066 };
24067
24068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24069 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24070 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24071 arg2 = obj1;
24072 arg3 = obj2;
24073 {
24074 PyThreadState* __tstate = wxPyBeginAllowThreads();
24075 (arg1)->_setCallbackInfo(arg2,arg3);
24076
24077 wxPyEndAllowThreads(__tstate);
24078 if (PyErr_Occurred()) SWIG_fail;
24079 }
24080 Py_INCREF(Py_None); resultobj = Py_None;
24081 return resultobj;
24082 fail:
24083 return NULL;
24084}
24085
24086
c32bde28 24087static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24088 PyObject *resultobj;
24089 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24090 wxColour *arg2 = 0 ;
24091 bool result;
24092 wxColour temp2 ;
24093 PyObject * obj0 = 0 ;
24094 PyObject * obj1 = 0 ;
24095 char *kwnames[] = {
24096 (char *) "self",(char *) "col", NULL
24097 };
24098
24099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24100 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24101 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24102 {
24103 arg2 = &temp2;
24104 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
24105 }
24106 {
24107 PyThreadState* __tstate = wxPyBeginAllowThreads();
24108 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
24109
24110 wxPyEndAllowThreads(__tstate);
24111 if (PyErr_Occurred()) SWIG_fail;
24112 }
24113 {
24114 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24115 }
24116 return resultobj;
24117 fail:
24118 return NULL;
24119}
24120
24121
c32bde28 24122static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24123 PyObject *resultobj;
24124 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24125 wxColour *arg2 = 0 ;
24126 bool result;
24127 wxColour temp2 ;
24128 PyObject * obj0 = 0 ;
24129 PyObject * obj1 = 0 ;
24130 char *kwnames[] = {
24131 (char *) "self",(char *) "col", NULL
24132 };
24133
24134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24135 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24136 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24137 {
24138 arg2 = &temp2;
24139 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
24140 }
24141 {
24142 PyThreadState* __tstate = wxPyBeginAllowThreads();
24143 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
24144
24145 wxPyEndAllowThreads(__tstate);
24146 if (PyErr_Occurred()) SWIG_fail;
24147 }
24148 {
24149 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24150 }
24151 return resultobj;
24152 fail:
24153 return NULL;
24154}
24155
24156
c32bde28 24157static PyObject *_wrap_ListCtrl_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24158 PyObject *resultobj;
24159 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24160 int arg2 ;
24161 wxListItem *result;
24162 PyObject * obj0 = 0 ;
24163 PyObject * obj1 = 0 ;
24164 char *kwnames[] = {
24165 (char *) "self",(char *) "col", NULL
24166 };
24167
24168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24169 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24170 if (SWIG_arg_fail(1)) SWIG_fail;
24171 {
24172 arg2 = (int)(SWIG_As_int(obj1));
24173 if (SWIG_arg_fail(2)) SWIG_fail;
24174 }
d55e5bfc
RD
24175 {
24176 PyThreadState* __tstate = wxPyBeginAllowThreads();
24177 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
24178
24179 wxPyEndAllowThreads(__tstate);
24180 if (PyErr_Occurred()) SWIG_fail;
24181 }
24182 {
412d302d 24183 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
24184 }
24185 return resultobj;
24186 fail:
24187 return NULL;
24188}
24189
24190
c32bde28 24191static PyObject *_wrap_ListCtrl_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24192 PyObject *resultobj;
24193 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24194 int arg2 ;
24195 wxListItem *arg3 = 0 ;
24196 bool result;
24197 PyObject * obj0 = 0 ;
24198 PyObject * obj1 = 0 ;
24199 PyObject * obj2 = 0 ;
24200 char *kwnames[] = {
24201 (char *) "self",(char *) "col",(char *) "item", NULL
24202 };
24203
24204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24205 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24206 if (SWIG_arg_fail(1)) SWIG_fail;
24207 {
24208 arg2 = (int)(SWIG_As_int(obj1));
24209 if (SWIG_arg_fail(2)) SWIG_fail;
24210 }
24211 {
24212 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24213 if (SWIG_arg_fail(3)) SWIG_fail;
24214 if (arg3 == NULL) {
24215 SWIG_null_ref("wxListItem");
24216 }
24217 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
24218 }
24219 {
24220 PyThreadState* __tstate = wxPyBeginAllowThreads();
24221 result = (bool)(arg1)->SetColumn(arg2,*arg3);
24222
24223 wxPyEndAllowThreads(__tstate);
24224 if (PyErr_Occurred()) SWIG_fail;
24225 }
24226 {
24227 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24228 }
24229 return resultobj;
24230 fail:
24231 return NULL;
24232}
24233
24234
c32bde28 24235static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24236 PyObject *resultobj;
24237 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24238 int arg2 ;
24239 int result;
24240 PyObject * obj0 = 0 ;
24241 PyObject * obj1 = 0 ;
24242 char *kwnames[] = {
24243 (char *) "self",(char *) "col", NULL
24244 };
24245
24246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24247 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24248 if (SWIG_arg_fail(1)) SWIG_fail;
24249 {
24250 arg2 = (int)(SWIG_As_int(obj1));
24251 if (SWIG_arg_fail(2)) SWIG_fail;
24252 }
d55e5bfc
RD
24253 {
24254 PyThreadState* __tstate = wxPyBeginAllowThreads();
24255 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
24256
24257 wxPyEndAllowThreads(__tstate);
24258 if (PyErr_Occurred()) SWIG_fail;
24259 }
093d3ff1
RD
24260 {
24261 resultobj = SWIG_From_int((int)(result));
24262 }
d55e5bfc
RD
24263 return resultobj;
24264 fail:
24265 return NULL;
24266}
24267
24268
c32bde28 24269static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24270 PyObject *resultobj;
24271 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24272 int arg2 ;
24273 int arg3 ;
24274 bool result;
24275 PyObject * obj0 = 0 ;
24276 PyObject * obj1 = 0 ;
24277 PyObject * obj2 = 0 ;
24278 char *kwnames[] = {
24279 (char *) "self",(char *) "col",(char *) "width", NULL
24280 };
24281
24282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24283 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24284 if (SWIG_arg_fail(1)) SWIG_fail;
24285 {
24286 arg2 = (int)(SWIG_As_int(obj1));
24287 if (SWIG_arg_fail(2)) SWIG_fail;
24288 }
24289 {
24290 arg3 = (int)(SWIG_As_int(obj2));
24291 if (SWIG_arg_fail(3)) SWIG_fail;
24292 }
d55e5bfc
RD
24293 {
24294 PyThreadState* __tstate = wxPyBeginAllowThreads();
24295 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
24296
24297 wxPyEndAllowThreads(__tstate);
24298 if (PyErr_Occurred()) SWIG_fail;
24299 }
24300 {
24301 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24302 }
24303 return resultobj;
24304 fail:
24305 return NULL;
24306}
24307
24308
c32bde28 24309static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24310 PyObject *resultobj;
24311 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24312 int result;
24313 PyObject * obj0 = 0 ;
24314 char *kwnames[] = {
24315 (char *) "self", NULL
24316 };
24317
24318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",kwnames,&obj0)) goto fail;
093d3ff1
RD
24319 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24320 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24321 {
24322 PyThreadState* __tstate = wxPyBeginAllowThreads();
24323 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
24324
24325 wxPyEndAllowThreads(__tstate);
24326 if (PyErr_Occurred()) SWIG_fail;
24327 }
093d3ff1
RD
24328 {
24329 resultobj = SWIG_From_int((int)(result));
24330 }
d55e5bfc
RD
24331 return resultobj;
24332 fail:
24333 return NULL;
24334}
24335
24336
c32bde28 24337static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24338 PyObject *resultobj;
24339 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24340 wxRect result;
24341 PyObject * obj0 = 0 ;
24342 char *kwnames[] = {
24343 (char *) "self", NULL
24344 };
24345
24346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) goto fail;
093d3ff1
RD
24347 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24348 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24349 {
24350 PyThreadState* __tstate = wxPyBeginAllowThreads();
24351 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
24352
24353 wxPyEndAllowThreads(__tstate);
24354 if (PyErr_Occurred()) SWIG_fail;
24355 }
24356 {
24357 wxRect * resultptr;
093d3ff1 24358 resultptr = new wxRect((wxRect &)(result));
d55e5bfc
RD
24359 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
24360 }
24361 return resultobj;
24362 fail:
24363 return NULL;
24364}
24365
24366
c32bde28 24367static PyObject *_wrap_ListCtrl_GetEditControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24368 PyObject *resultobj;
24369 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24370 wxTextCtrl *result;
24371 PyObject * obj0 = 0 ;
24372 char *kwnames[] = {
24373 (char *) "self", NULL
24374 };
24375
24376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetEditControl",kwnames,&obj0)) goto fail;
093d3ff1
RD
24377 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24378 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24379 {
24380 PyThreadState* __tstate = wxPyBeginAllowThreads();
24381 result = (wxTextCtrl *)((wxPyListCtrl const *)arg1)->GetEditControl();
24382
24383 wxPyEndAllowThreads(__tstate);
24384 if (PyErr_Occurred()) SWIG_fail;
24385 }
24386 {
412d302d 24387 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
24388 }
24389 return resultobj;
24390 fail:
24391 return NULL;
24392}
24393
24394
c32bde28 24395static PyObject *_wrap_ListCtrl_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24396 PyObject *resultobj;
24397 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24398 long arg2 ;
24399 int arg3 = (int) 0 ;
24400 wxListItem *result;
24401 PyObject * obj0 = 0 ;
24402 PyObject * obj1 = 0 ;
24403 PyObject * obj2 = 0 ;
24404 char *kwnames[] = {
24405 (char *) "self",(char *) "itemId",(char *) "col", NULL
24406 };
24407
24408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24409 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24410 if (SWIG_arg_fail(1)) SWIG_fail;
24411 {
24412 arg2 = (long)(SWIG_As_long(obj1));
24413 if (SWIG_arg_fail(2)) SWIG_fail;
24414 }
d55e5bfc 24415 if (obj2) {
093d3ff1
RD
24416 {
24417 arg3 = (int)(SWIG_As_int(obj2));
24418 if (SWIG_arg_fail(3)) SWIG_fail;
24419 }
d55e5bfc
RD
24420 }
24421 {
24422 PyThreadState* __tstate = wxPyBeginAllowThreads();
24423 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
24424
24425 wxPyEndAllowThreads(__tstate);
24426 if (PyErr_Occurred()) SWIG_fail;
24427 }
24428 {
412d302d 24429 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
24430 }
24431 return resultobj;
24432 fail:
24433 return NULL;
24434}
24435
24436
c32bde28 24437static PyObject *_wrap_ListCtrl_SetItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24438 PyObject *resultobj;
24439 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24440 wxListItem *arg2 = 0 ;
24441 bool result;
24442 PyObject * obj0 = 0 ;
24443 PyObject * obj1 = 0 ;
24444 char *kwnames[] = {
24445 (char *) "self",(char *) "info", NULL
24446 };
24447
24448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24449 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24450 if (SWIG_arg_fail(1)) SWIG_fail;
24451 {
24452 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24453 if (SWIG_arg_fail(2)) SWIG_fail;
24454 if (arg2 == NULL) {
24455 SWIG_null_ref("wxListItem");
24456 }
24457 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24458 }
24459 {
24460 PyThreadState* __tstate = wxPyBeginAllowThreads();
24461 result = (bool)(arg1)->SetItem(*arg2);
24462
24463 wxPyEndAllowThreads(__tstate);
24464 if (PyErr_Occurred()) SWIG_fail;
24465 }
24466 {
24467 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24468 }
24469 return resultobj;
24470 fail:
24471 return NULL;
24472}
24473
24474
c32bde28 24475static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24476 PyObject *resultobj;
24477 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24478 long arg2 ;
24479 int arg3 ;
24480 wxString *arg4 = 0 ;
24481 int arg5 = (int) -1 ;
24482 long result;
ae8162c8 24483 bool temp4 = false ;
d55e5bfc
RD
24484 PyObject * obj0 = 0 ;
24485 PyObject * obj1 = 0 ;
24486 PyObject * obj2 = 0 ;
24487 PyObject * obj3 = 0 ;
24488 PyObject * obj4 = 0 ;
24489 char *kwnames[] = {
24490 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
24491 };
24492
24493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
24494 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24495 if (SWIG_arg_fail(1)) SWIG_fail;
24496 {
24497 arg2 = (long)(SWIG_As_long(obj1));
24498 if (SWIG_arg_fail(2)) SWIG_fail;
24499 }
24500 {
24501 arg3 = (int)(SWIG_As_int(obj2));
24502 if (SWIG_arg_fail(3)) SWIG_fail;
24503 }
d55e5bfc
RD
24504 {
24505 arg4 = wxString_in_helper(obj3);
24506 if (arg4 == NULL) SWIG_fail;
ae8162c8 24507 temp4 = true;
d55e5bfc
RD
24508 }
24509 if (obj4) {
093d3ff1
RD
24510 {
24511 arg5 = (int)(SWIG_As_int(obj4));
24512 if (SWIG_arg_fail(5)) SWIG_fail;
24513 }
d55e5bfc
RD
24514 }
24515 {
24516 PyThreadState* __tstate = wxPyBeginAllowThreads();
24517 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
24518
24519 wxPyEndAllowThreads(__tstate);
24520 if (PyErr_Occurred()) SWIG_fail;
24521 }
093d3ff1
RD
24522 {
24523 resultobj = SWIG_From_long((long)(result));
24524 }
d55e5bfc
RD
24525 {
24526 if (temp4)
24527 delete arg4;
24528 }
24529 return resultobj;
24530 fail:
24531 {
24532 if (temp4)
24533 delete arg4;
24534 }
24535 return NULL;
24536}
24537
24538
c32bde28 24539static PyObject *_wrap_ListCtrl_GetItemState(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24540 PyObject *resultobj;
24541 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24542 long arg2 ;
24543 long arg3 ;
24544 int result;
24545 PyObject * obj0 = 0 ;
24546 PyObject * obj1 = 0 ;
24547 PyObject * obj2 = 0 ;
24548 char *kwnames[] = {
24549 (char *) "self",(char *) "item",(char *) "stateMask", NULL
24550 };
24551
24552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_GetItemState",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24553 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24554 if (SWIG_arg_fail(1)) SWIG_fail;
24555 {
24556 arg2 = (long)(SWIG_As_long(obj1));
24557 if (SWIG_arg_fail(2)) SWIG_fail;
24558 }
24559 {
24560 arg3 = (long)(SWIG_As_long(obj2));
24561 if (SWIG_arg_fail(3)) SWIG_fail;
24562 }
d55e5bfc
RD
24563 {
24564 PyThreadState* __tstate = wxPyBeginAllowThreads();
24565 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
24566
24567 wxPyEndAllowThreads(__tstate);
24568 if (PyErr_Occurred()) SWIG_fail;
24569 }
093d3ff1
RD
24570 {
24571 resultobj = SWIG_From_int((int)(result));
24572 }
d55e5bfc
RD
24573 return resultobj;
24574 fail:
24575 return NULL;
24576}
24577
24578
c32bde28 24579static PyObject *_wrap_ListCtrl_SetItemState(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24580 PyObject *resultobj;
24581 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24582 long arg2 ;
24583 long arg3 ;
24584 long arg4 ;
24585 bool result;
24586 PyObject * obj0 = 0 ;
24587 PyObject * obj1 = 0 ;
24588 PyObject * obj2 = 0 ;
24589 PyObject * obj3 = 0 ;
24590 char *kwnames[] = {
24591 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
24592 };
24593
24594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemState",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
24595 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24596 if (SWIG_arg_fail(1)) SWIG_fail;
24597 {
24598 arg2 = (long)(SWIG_As_long(obj1));
24599 if (SWIG_arg_fail(2)) SWIG_fail;
24600 }
24601 {
24602 arg3 = (long)(SWIG_As_long(obj2));
24603 if (SWIG_arg_fail(3)) SWIG_fail;
24604 }
24605 {
24606 arg4 = (long)(SWIG_As_long(obj3));
24607 if (SWIG_arg_fail(4)) SWIG_fail;
24608 }
d55e5bfc
RD
24609 {
24610 PyThreadState* __tstate = wxPyBeginAllowThreads();
24611 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
24612
24613 wxPyEndAllowThreads(__tstate);
24614 if (PyErr_Occurred()) SWIG_fail;
24615 }
24616 {
24617 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24618 }
24619 return resultobj;
24620 fail:
24621 return NULL;
24622}
24623
24624
c32bde28 24625static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24626 PyObject *resultobj;
24627 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24628 long arg2 ;
24629 int arg3 ;
84f85550 24630 int arg4 = (int) -1 ;
d55e5bfc
RD
24631 bool result;
24632 PyObject * obj0 = 0 ;
24633 PyObject * obj1 = 0 ;
24634 PyObject * obj2 = 0 ;
24635 PyObject * obj3 = 0 ;
24636 char *kwnames[] = {
24637 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
24638 };
24639
84f85550 24640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
24641 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24642 if (SWIG_arg_fail(1)) SWIG_fail;
24643 {
24644 arg2 = (long)(SWIG_As_long(obj1));
24645 if (SWIG_arg_fail(2)) SWIG_fail;
24646 }
24647 {
24648 arg3 = (int)(SWIG_As_int(obj2));
24649 if (SWIG_arg_fail(3)) SWIG_fail;
24650 }
84f85550 24651 if (obj3) {
093d3ff1
RD
24652 {
24653 arg4 = (int)(SWIG_As_int(obj3));
24654 if (SWIG_arg_fail(4)) SWIG_fail;
24655 }
84f85550 24656 }
d55e5bfc
RD
24657 {
24658 PyThreadState* __tstate = wxPyBeginAllowThreads();
24659 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
24660
24661 wxPyEndAllowThreads(__tstate);
24662 if (PyErr_Occurred()) SWIG_fail;
24663 }
24664 {
24665 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24666 }
24667 return resultobj;
24668 fail:
24669 return NULL;
24670}
24671
24672
c32bde28 24673static PyObject *_wrap_ListCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24674 PyObject *resultobj;
24675 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24676 long arg2 ;
24677 wxString result;
24678 PyObject * obj0 = 0 ;
24679 PyObject * obj1 = 0 ;
24680 char *kwnames[] = {
24681 (char *) "self",(char *) "item", NULL
24682 };
24683
24684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24685 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24686 if (SWIG_arg_fail(1)) SWIG_fail;
24687 {
24688 arg2 = (long)(SWIG_As_long(obj1));
24689 if (SWIG_arg_fail(2)) SWIG_fail;
24690 }
d55e5bfc
RD
24691 {
24692 PyThreadState* __tstate = wxPyBeginAllowThreads();
24693 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
24694
24695 wxPyEndAllowThreads(__tstate);
24696 if (PyErr_Occurred()) SWIG_fail;
24697 }
24698 {
24699#if wxUSE_UNICODE
24700 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24701#else
24702 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24703#endif
24704 }
24705 return resultobj;
24706 fail:
24707 return NULL;
24708}
24709
24710
c32bde28 24711static PyObject *_wrap_ListCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24712 PyObject *resultobj;
24713 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24714 long arg2 ;
24715 wxString *arg3 = 0 ;
ae8162c8 24716 bool temp3 = false ;
d55e5bfc
RD
24717 PyObject * obj0 = 0 ;
24718 PyObject * obj1 = 0 ;
24719 PyObject * obj2 = 0 ;
24720 char *kwnames[] = {
24721 (char *) "self",(char *) "item",(char *) "str", NULL
24722 };
24723
24724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24725 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24726 if (SWIG_arg_fail(1)) SWIG_fail;
24727 {
24728 arg2 = (long)(SWIG_As_long(obj1));
24729 if (SWIG_arg_fail(2)) SWIG_fail;
24730 }
d55e5bfc
RD
24731 {
24732 arg3 = wxString_in_helper(obj2);
24733 if (arg3 == NULL) SWIG_fail;
ae8162c8 24734 temp3 = true;
d55e5bfc
RD
24735 }
24736 {
24737 PyThreadState* __tstate = wxPyBeginAllowThreads();
24738 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
24739
24740 wxPyEndAllowThreads(__tstate);
24741 if (PyErr_Occurred()) SWIG_fail;
24742 }
24743 Py_INCREF(Py_None); resultobj = Py_None;
24744 {
24745 if (temp3)
24746 delete arg3;
24747 }
24748 return resultobj;
24749 fail:
24750 {
24751 if (temp3)
24752 delete arg3;
24753 }
24754 return NULL;
24755}
24756
24757
c32bde28 24758static PyObject *_wrap_ListCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24759 PyObject *resultobj;
24760 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24761 long arg2 ;
24762 long result;
24763 PyObject * obj0 = 0 ;
24764 PyObject * obj1 = 0 ;
24765 char *kwnames[] = {
24766 (char *) "self",(char *) "item", NULL
24767 };
24768
24769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24770 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24771 if (SWIG_arg_fail(1)) SWIG_fail;
24772 {
24773 arg2 = (long)(SWIG_As_long(obj1));
24774 if (SWIG_arg_fail(2)) SWIG_fail;
24775 }
d55e5bfc
RD
24776 {
24777 PyThreadState* __tstate = wxPyBeginAllowThreads();
24778 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
24779
24780 wxPyEndAllowThreads(__tstate);
24781 if (PyErr_Occurred()) SWIG_fail;
24782 }
093d3ff1
RD
24783 {
24784 resultobj = SWIG_From_long((long)(result));
24785 }
d55e5bfc
RD
24786 return resultobj;
24787 fail:
24788 return NULL;
24789}
24790
24791
c32bde28 24792static PyObject *_wrap_ListCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24793 PyObject *resultobj;
24794 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24795 long arg2 ;
24796 long arg3 ;
24797 bool result;
24798 PyObject * obj0 = 0 ;
24799 PyObject * obj1 = 0 ;
24800 PyObject * obj2 = 0 ;
24801 char *kwnames[] = {
24802 (char *) "self",(char *) "item",(char *) "data", NULL
24803 };
24804
24805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24806 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24807 if (SWIG_arg_fail(1)) SWIG_fail;
24808 {
24809 arg2 = (long)(SWIG_As_long(obj1));
24810 if (SWIG_arg_fail(2)) SWIG_fail;
24811 }
24812 {
24813 arg3 = (long)(SWIG_As_long(obj2));
24814 if (SWIG_arg_fail(3)) SWIG_fail;
24815 }
d55e5bfc
RD
24816 {
24817 PyThreadState* __tstate = wxPyBeginAllowThreads();
24818 result = (bool)(arg1)->SetItemData(arg2,arg3);
24819
24820 wxPyEndAllowThreads(__tstate);
24821 if (PyErr_Occurred()) SWIG_fail;
24822 }
24823 {
24824 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24825 }
24826 return resultobj;
24827 fail:
24828 return NULL;
24829}
24830
24831
c32bde28 24832static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24833 PyObject *resultobj;
24834 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24835 long arg2 ;
24836 wxPoint result;
24837 PyObject * obj0 = 0 ;
24838 PyObject * obj1 = 0 ;
24839 char *kwnames[] = {
24840 (char *) "self",(char *) "item", NULL
24841 };
24842
24843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemPosition",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24844 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24845 if (SWIG_arg_fail(1)) SWIG_fail;
24846 {
24847 arg2 = (long)(SWIG_As_long(obj1));
24848 if (SWIG_arg_fail(2)) SWIG_fail;
24849 }
d55e5bfc
RD
24850 {
24851 PyThreadState* __tstate = wxPyBeginAllowThreads();
24852 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
24853
24854 wxPyEndAllowThreads(__tstate);
24855 if (PyErr_Occurred()) SWIG_fail;
24856 }
24857 {
24858 wxPoint * resultptr;
093d3ff1 24859 resultptr = new wxPoint((wxPoint &)(result));
d55e5bfc
RD
24860 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
24861 }
24862 return resultobj;
24863 fail:
24864 return NULL;
24865}
24866
24867
c32bde28 24868static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24869 PyObject *resultobj;
24870 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24871 long arg2 ;
24872 int arg3 = (int) wxLIST_RECT_BOUNDS ;
24873 wxRect result;
24874 PyObject * obj0 = 0 ;
24875 PyObject * obj1 = 0 ;
24876 PyObject * obj2 = 0 ;
24877 char *kwnames[] = {
24878 (char *) "self",(char *) "item",(char *) "code", NULL
24879 };
24880
24881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItemRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24882 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24883 if (SWIG_arg_fail(1)) SWIG_fail;
24884 {
24885 arg2 = (long)(SWIG_As_long(obj1));
24886 if (SWIG_arg_fail(2)) SWIG_fail;
24887 }
d55e5bfc 24888 if (obj2) {
093d3ff1
RD
24889 {
24890 arg3 = (int)(SWIG_As_int(obj2));
24891 if (SWIG_arg_fail(3)) SWIG_fail;
24892 }
d55e5bfc
RD
24893 }
24894 {
24895 PyThreadState* __tstate = wxPyBeginAllowThreads();
24896 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
24897
24898 wxPyEndAllowThreads(__tstate);
24899 if (PyErr_Occurred()) SWIG_fail;
24900 }
24901 {
24902 wxRect * resultptr;
093d3ff1 24903 resultptr = new wxRect((wxRect &)(result));
d55e5bfc
RD
24904 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
24905 }
24906 return resultobj;
24907 fail:
24908 return NULL;
24909}
24910
24911
c32bde28 24912static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24913 PyObject *resultobj;
24914 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24915 long arg2 ;
24916 wxPoint *arg3 = 0 ;
24917 bool result;
24918 wxPoint temp3 ;
24919 PyObject * obj0 = 0 ;
24920 PyObject * obj1 = 0 ;
24921 PyObject * obj2 = 0 ;
24922 char *kwnames[] = {
24923 (char *) "self",(char *) "item",(char *) "pos", NULL
24924 };
24925
24926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24927 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24928 if (SWIG_arg_fail(1)) SWIG_fail;
24929 {
24930 arg2 = (long)(SWIG_As_long(obj1));
24931 if (SWIG_arg_fail(2)) SWIG_fail;
24932 }
d55e5bfc
RD
24933 {
24934 arg3 = &temp3;
24935 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24936 }
24937 {
24938 PyThreadState* __tstate = wxPyBeginAllowThreads();
24939 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
24940
24941 wxPyEndAllowThreads(__tstate);
24942 if (PyErr_Occurred()) SWIG_fail;
24943 }
24944 {
24945 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24946 }
24947 return resultobj;
24948 fail:
24949 return NULL;
24950}
24951
24952
c32bde28 24953static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24954 PyObject *resultobj;
24955 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24956 int result;
24957 PyObject * obj0 = 0 ;
24958 char *kwnames[] = {
24959 (char *) "self", NULL
24960 };
24961
24962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
24963 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24964 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24965 {
24966 PyThreadState* __tstate = wxPyBeginAllowThreads();
24967 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
24968
24969 wxPyEndAllowThreads(__tstate);
24970 if (PyErr_Occurred()) SWIG_fail;
24971 }
093d3ff1
RD
24972 {
24973 resultobj = SWIG_From_int((int)(result));
24974 }
d55e5bfc
RD
24975 return resultobj;
24976 fail:
24977 return NULL;
24978}
24979
24980
c32bde28 24981static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24982 PyObject *resultobj;
24983 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24984 int result;
24985 PyObject * obj0 = 0 ;
24986 char *kwnames[] = {
24987 (char *) "self", NULL
24988 };
24989
24990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
24991 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24992 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24993 {
24994 PyThreadState* __tstate = wxPyBeginAllowThreads();
24995 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
24996
24997 wxPyEndAllowThreads(__tstate);
24998 if (PyErr_Occurred()) SWIG_fail;
24999 }
093d3ff1
RD
25000 {
25001 resultobj = SWIG_From_int((int)(result));
25002 }
d55e5bfc
RD
25003 return resultobj;
25004 fail:
25005 return NULL;
25006}
25007
25008
c32bde28 25009static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25010 PyObject *resultobj;
25011 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25012 wxSize result;
25013 PyObject * obj0 = 0 ;
25014 char *kwnames[] = {
25015 (char *) "self", NULL
25016 };
25017
25018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
093d3ff1
RD
25019 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25020 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25021 {
25022 PyThreadState* __tstate = wxPyBeginAllowThreads();
25023 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
25024
25025 wxPyEndAllowThreads(__tstate);
25026 if (PyErr_Occurred()) SWIG_fail;
25027 }
25028 {
25029 wxSize * resultptr;
093d3ff1 25030 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
25031 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
25032 }
25033 return resultobj;
25034 fail:
25035 return NULL;
25036}
25037
25038
c32bde28 25039static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25040 PyObject *resultobj;
25041 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25042 int result;
25043 PyObject * obj0 = 0 ;
25044 char *kwnames[] = {
25045 (char *) "self", NULL
25046 };
25047
25048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
25049 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25050 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25051 {
25052 PyThreadState* __tstate = wxPyBeginAllowThreads();
25053 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
25054
25055 wxPyEndAllowThreads(__tstate);
25056 if (PyErr_Occurred()) SWIG_fail;
25057 }
093d3ff1
RD
25058 {
25059 resultobj = SWIG_From_int((int)(result));
25060 }
d55e5bfc
RD
25061 return resultobj;
25062 fail:
25063 return NULL;
25064}
25065
25066
c32bde28 25067static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25068 PyObject *resultobj;
25069 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25070 wxColour result;
25071 PyObject * obj0 = 0 ;
25072 char *kwnames[] = {
25073 (char *) "self", NULL
25074 };
25075
25076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
25077 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25078 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25079 {
25080 PyThreadState* __tstate = wxPyBeginAllowThreads();
25081 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
25082
25083 wxPyEndAllowThreads(__tstate);
25084 if (PyErr_Occurred()) SWIG_fail;
25085 }
25086 {
25087 wxColour * resultptr;
093d3ff1 25088 resultptr = new wxColour((wxColour &)(result));
d55e5bfc
RD
25089 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
25090 }
25091 return resultobj;
25092 fail:
25093 return NULL;
25094}
25095
25096
c32bde28 25097static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25098 PyObject *resultobj;
25099 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25100 wxColour *arg2 = 0 ;
25101 wxColour temp2 ;
25102 PyObject * obj0 = 0 ;
25103 PyObject * obj1 = 0 ;
25104 char *kwnames[] = {
25105 (char *) "self",(char *) "col", NULL
25106 };
25107
25108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25109 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25110 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25111 {
25112 arg2 = &temp2;
25113 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
25114 }
25115 {
25116 PyThreadState* __tstate = wxPyBeginAllowThreads();
25117 (arg1)->SetTextColour((wxColour const &)*arg2);
25118
25119 wxPyEndAllowThreads(__tstate);
25120 if (PyErr_Occurred()) SWIG_fail;
25121 }
25122 Py_INCREF(Py_None); resultobj = Py_None;
25123 return resultobj;
25124 fail:
25125 return NULL;
25126}
25127
25128
c32bde28 25129static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25130 PyObject *resultobj;
25131 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25132 long result;
25133 PyObject * obj0 = 0 ;
25134 char *kwnames[] = {
25135 (char *) "self", NULL
25136 };
25137
25138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
093d3ff1
RD
25139 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25140 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25141 {
25142 PyThreadState* __tstate = wxPyBeginAllowThreads();
25143 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
25144
25145 wxPyEndAllowThreads(__tstate);
25146 if (PyErr_Occurred()) SWIG_fail;
25147 }
093d3ff1
RD
25148 {
25149 resultobj = SWIG_From_long((long)(result));
25150 }
d55e5bfc
RD
25151 return resultobj;
25152 fail:
25153 return NULL;
25154}
25155
25156
c32bde28 25157static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25158 PyObject *resultobj;
25159 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25160 long arg2 ;
ae8162c8 25161 bool arg3 = (bool) true ;
d55e5bfc
RD
25162 PyObject * obj0 = 0 ;
25163 PyObject * obj1 = 0 ;
25164 PyObject * obj2 = 0 ;
25165 char *kwnames[] = {
25166 (char *) "self",(char *) "style",(char *) "add", NULL
25167 };
25168
25169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
25170 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25171 if (SWIG_arg_fail(1)) SWIG_fail;
25172 {
25173 arg2 = (long)(SWIG_As_long(obj1));
25174 if (SWIG_arg_fail(2)) SWIG_fail;
25175 }
d55e5bfc 25176 if (obj2) {
093d3ff1
RD
25177 {
25178 arg3 = (bool)(SWIG_As_bool(obj2));
25179 if (SWIG_arg_fail(3)) SWIG_fail;
25180 }
d55e5bfc
RD
25181 }
25182 {
25183 PyThreadState* __tstate = wxPyBeginAllowThreads();
25184 (arg1)->SetSingleStyle(arg2,arg3);
25185
25186 wxPyEndAllowThreads(__tstate);
25187 if (PyErr_Occurred()) SWIG_fail;
25188 }
25189 Py_INCREF(Py_None); resultobj = Py_None;
25190 return resultobj;
25191 fail:
25192 return NULL;
25193}
25194
25195
c32bde28 25196static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25197 PyObject *resultobj;
25198 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25199 long arg2 ;
25200 PyObject * obj0 = 0 ;
25201 PyObject * obj1 = 0 ;
25202 char *kwnames[] = {
25203 (char *) "self",(char *) "style", NULL
25204 };
25205
25206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25207 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25208 if (SWIG_arg_fail(1)) SWIG_fail;
25209 {
25210 arg2 = (long)(SWIG_As_long(obj1));
25211 if (SWIG_arg_fail(2)) SWIG_fail;
25212 }
d55e5bfc
RD
25213 {
25214 PyThreadState* __tstate = wxPyBeginAllowThreads();
25215 (arg1)->SetWindowStyleFlag(arg2);
25216
25217 wxPyEndAllowThreads(__tstate);
25218 if (PyErr_Occurred()) SWIG_fail;
25219 }
25220 Py_INCREF(Py_None); resultobj = Py_None;
25221 return resultobj;
25222 fail:
25223 return NULL;
25224}
25225
25226
c32bde28 25227static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25228 PyObject *resultobj;
25229 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25230 long arg2 ;
25231 int arg3 = (int) wxLIST_NEXT_ALL ;
25232 int arg4 = (int) wxLIST_STATE_DONTCARE ;
25233 long result;
25234 PyObject * obj0 = 0 ;
25235 PyObject * obj1 = 0 ;
25236 PyObject * obj2 = 0 ;
25237 PyObject * obj3 = 0 ;
25238 char *kwnames[] = {
25239 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
25240 };
25241
25242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
25243 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25244 if (SWIG_arg_fail(1)) SWIG_fail;
25245 {
25246 arg2 = (long)(SWIG_As_long(obj1));
25247 if (SWIG_arg_fail(2)) SWIG_fail;
25248 }
d55e5bfc 25249 if (obj2) {
093d3ff1
RD
25250 {
25251 arg3 = (int)(SWIG_As_int(obj2));
25252 if (SWIG_arg_fail(3)) SWIG_fail;
25253 }
d55e5bfc
RD
25254 }
25255 if (obj3) {
093d3ff1
RD
25256 {
25257 arg4 = (int)(SWIG_As_int(obj3));
25258 if (SWIG_arg_fail(4)) SWIG_fail;
25259 }
d55e5bfc
RD
25260 }
25261 {
25262 PyThreadState* __tstate = wxPyBeginAllowThreads();
25263 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
25264
25265 wxPyEndAllowThreads(__tstate);
25266 if (PyErr_Occurred()) SWIG_fail;
25267 }
093d3ff1
RD
25268 {
25269 resultobj = SWIG_From_long((long)(result));
25270 }
d55e5bfc
RD
25271 return resultobj;
25272 fail:
25273 return NULL;
25274}
25275
25276
c32bde28 25277static PyObject *_wrap_ListCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25278 PyObject *resultobj;
25279 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25280 int arg2 ;
25281 wxImageList *result;
25282 PyObject * obj0 = 0 ;
25283 PyObject * obj1 = 0 ;
25284 char *kwnames[] = {
25285 (char *) "self",(char *) "which", NULL
25286 };
25287
25288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetImageList",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25289 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25290 if (SWIG_arg_fail(1)) SWIG_fail;
25291 {
25292 arg2 = (int)(SWIG_As_int(obj1));
25293 if (SWIG_arg_fail(2)) SWIG_fail;
25294 }
d55e5bfc
RD
25295 {
25296 PyThreadState* __tstate = wxPyBeginAllowThreads();
25297 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
25298
25299 wxPyEndAllowThreads(__tstate);
25300 if (PyErr_Occurred()) SWIG_fail;
25301 }
25302 {
412d302d 25303 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
25304 }
25305 return resultobj;
25306 fail:
25307 return NULL;
25308}
25309
25310
c32bde28 25311static PyObject *_wrap_ListCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25312 PyObject *resultobj;
25313 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25314 wxImageList *arg2 = (wxImageList *) 0 ;
25315 int arg3 ;
25316 PyObject * obj0 = 0 ;
25317 PyObject * obj1 = 0 ;
25318 PyObject * obj2 = 0 ;
25319 char *kwnames[] = {
25320 (char *) "self",(char *) "imageList",(char *) "which", NULL
25321 };
25322
25323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
25324 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25325 if (SWIG_arg_fail(1)) SWIG_fail;
25326 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
25327 if (SWIG_arg_fail(2)) SWIG_fail;
25328 {
25329 arg3 = (int)(SWIG_As_int(obj2));
25330 if (SWIG_arg_fail(3)) SWIG_fail;
25331 }
d55e5bfc
RD
25332 {
25333 PyThreadState* __tstate = wxPyBeginAllowThreads();
25334 (arg1)->SetImageList(arg2,arg3);
25335
25336 wxPyEndAllowThreads(__tstate);
25337 if (PyErr_Occurred()) SWIG_fail;
25338 }
25339 Py_INCREF(Py_None); resultobj = Py_None;
25340 return resultobj;
25341 fail:
25342 return NULL;
25343}
25344
25345
c32bde28 25346static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25347 PyObject *resultobj;
25348 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25349 wxImageList *arg2 = (wxImageList *) 0 ;
25350 int arg3 ;
25351 PyObject * obj0 = 0 ;
25352 PyObject * obj1 = 0 ;
25353 PyObject * obj2 = 0 ;
25354 char *kwnames[] = {
25355 (char *) "self",(char *) "imageList",(char *) "which", NULL
25356 };
25357
25358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
25359 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25360 if (SWIG_arg_fail(1)) SWIG_fail;
25361 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
25362 if (SWIG_arg_fail(2)) SWIG_fail;
25363 {
25364 arg3 = (int)(SWIG_As_int(obj2));
25365 if (SWIG_arg_fail(3)) SWIG_fail;
25366 }
d55e5bfc
RD
25367 {
25368 PyThreadState* __tstate = wxPyBeginAllowThreads();
25369 (arg1)->AssignImageList(arg2,arg3);
25370
25371 wxPyEndAllowThreads(__tstate);
25372 if (PyErr_Occurred()) SWIG_fail;
25373 }
25374 Py_INCREF(Py_None); resultobj = Py_None;
25375 return resultobj;
25376 fail:
25377 return NULL;
25378}
25379
25380
c32bde28 25381static PyObject *_wrap_ListCtrl_InReportView(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25382 PyObject *resultobj;
25383 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25384 bool result;
25385 PyObject * obj0 = 0 ;
25386 char *kwnames[] = {
25387 (char *) "self", NULL
25388 };
25389
25390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_InReportView",kwnames,&obj0)) goto fail;
093d3ff1
RD
25391 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25392 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25393 {
25394 PyThreadState* __tstate = wxPyBeginAllowThreads();
25395 result = (bool)((wxPyListCtrl const *)arg1)->InReportView();
25396
25397 wxPyEndAllowThreads(__tstate);
25398 if (PyErr_Occurred()) SWIG_fail;
25399 }
25400 {
25401 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25402 }
25403 return resultobj;
25404 fail:
25405 return NULL;
25406}
25407
25408
c32bde28 25409static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25410 PyObject *resultobj;
25411 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25412 bool result;
25413 PyObject * obj0 = 0 ;
25414 char *kwnames[] = {
25415 (char *) "self", NULL
25416 };
25417
25418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_IsVirtual",kwnames,&obj0)) goto fail;
093d3ff1
RD
25419 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25420 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25421 {
25422 PyThreadState* __tstate = wxPyBeginAllowThreads();
25423 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
25424
25425 wxPyEndAllowThreads(__tstate);
25426 if (PyErr_Occurred()) SWIG_fail;
25427 }
25428 {
25429 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25430 }
25431 return resultobj;
25432 fail:
25433 return NULL;
25434}
25435
25436
c32bde28 25437static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25438 PyObject *resultobj;
25439 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25440 long arg2 ;
25441 PyObject * obj0 = 0 ;
25442 PyObject * obj1 = 0 ;
25443 char *kwnames[] = {
25444 (char *) "self",(char *) "item", NULL
25445 };
25446
25447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_RefreshItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25448 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25449 if (SWIG_arg_fail(1)) SWIG_fail;
25450 {
25451 arg2 = (long)(SWIG_As_long(obj1));
25452 if (SWIG_arg_fail(2)) SWIG_fail;
25453 }
d55e5bfc
RD
25454 {
25455 PyThreadState* __tstate = wxPyBeginAllowThreads();
25456 (arg1)->RefreshItem(arg2);
25457
25458 wxPyEndAllowThreads(__tstate);
25459 if (PyErr_Occurred()) SWIG_fail;
25460 }
25461 Py_INCREF(Py_None); resultobj = Py_None;
25462 return resultobj;
25463 fail:
25464 return NULL;
25465}
25466
25467
c32bde28 25468static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25469 PyObject *resultobj;
25470 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25471 long arg2 ;
25472 long arg3 ;
25473 PyObject * obj0 = 0 ;
25474 PyObject * obj1 = 0 ;
25475 PyObject * obj2 = 0 ;
25476 char *kwnames[] = {
25477 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
25478 };
25479
25480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_RefreshItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
25481 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25482 if (SWIG_arg_fail(1)) SWIG_fail;
25483 {
25484 arg2 = (long)(SWIG_As_long(obj1));
25485 if (SWIG_arg_fail(2)) SWIG_fail;
25486 }
25487 {
25488 arg3 = (long)(SWIG_As_long(obj2));
25489 if (SWIG_arg_fail(3)) SWIG_fail;
25490 }
d55e5bfc
RD
25491 {
25492 PyThreadState* __tstate = wxPyBeginAllowThreads();
25493 (arg1)->RefreshItems(arg2,arg3);
25494
25495 wxPyEndAllowThreads(__tstate);
25496 if (PyErr_Occurred()) SWIG_fail;
25497 }
25498 Py_INCREF(Py_None); resultobj = Py_None;
25499 return resultobj;
25500 fail:
25501 return NULL;
25502}
25503
25504
c32bde28 25505static PyObject *_wrap_ListCtrl_Arrange(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25506 PyObject *resultobj;
25507 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25508 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
25509 bool result;
25510 PyObject * obj0 = 0 ;
25511 PyObject * obj1 = 0 ;
25512 char *kwnames[] = {
25513 (char *) "self",(char *) "flag", NULL
25514 };
25515
25516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListCtrl_Arrange",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25517 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25518 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 25519 if (obj1) {
093d3ff1
RD
25520 {
25521 arg2 = (int)(SWIG_As_int(obj1));
25522 if (SWIG_arg_fail(2)) SWIG_fail;
25523 }
d55e5bfc
RD
25524 }
25525 {
25526 PyThreadState* __tstate = wxPyBeginAllowThreads();
25527 result = (bool)(arg1)->Arrange(arg2);
25528
25529 wxPyEndAllowThreads(__tstate);
25530 if (PyErr_Occurred()) SWIG_fail;
25531 }
25532 {
25533 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25534 }
25535 return resultobj;
25536 fail:
25537 return NULL;
25538}
25539
25540
c32bde28 25541static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25542 PyObject *resultobj;
25543 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25544 long arg2 ;
25545 bool result;
25546 PyObject * obj0 = 0 ;
25547 PyObject * obj1 = 0 ;
25548 char *kwnames[] = {
25549 (char *) "self",(char *) "item", NULL
25550 };
25551
25552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25553 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25554 if (SWIG_arg_fail(1)) SWIG_fail;
25555 {
25556 arg2 = (long)(SWIG_As_long(obj1));
25557 if (SWIG_arg_fail(2)) SWIG_fail;
25558 }
d55e5bfc
RD
25559 {
25560 PyThreadState* __tstate = wxPyBeginAllowThreads();
25561 result = (bool)(arg1)->DeleteItem(arg2);
25562
25563 wxPyEndAllowThreads(__tstate);
25564 if (PyErr_Occurred()) SWIG_fail;
25565 }
25566 {
25567 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25568 }
25569 return resultobj;
25570 fail:
25571 return NULL;
25572}
25573
25574
c32bde28 25575static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25576 PyObject *resultobj;
25577 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25578 bool result;
25579 PyObject * obj0 = 0 ;
25580 char *kwnames[] = {
25581 (char *) "self", NULL
25582 };
25583
25584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
093d3ff1
RD
25585 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25586 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25587 {
25588 PyThreadState* __tstate = wxPyBeginAllowThreads();
25589 result = (bool)(arg1)->DeleteAllItems();
25590
25591 wxPyEndAllowThreads(__tstate);
25592 if (PyErr_Occurred()) SWIG_fail;
25593 }
25594 {
25595 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25596 }
25597 return resultobj;
25598 fail:
25599 return NULL;
25600}
25601
25602
c32bde28 25603static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25604 PyObject *resultobj;
25605 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25606 int arg2 ;
25607 bool result;
25608 PyObject * obj0 = 0 ;
25609 PyObject * obj1 = 0 ;
25610 char *kwnames[] = {
25611 (char *) "self",(char *) "col", NULL
25612 };
25613
25614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteColumn",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25615 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25616 if (SWIG_arg_fail(1)) SWIG_fail;
25617 {
25618 arg2 = (int)(SWIG_As_int(obj1));
25619 if (SWIG_arg_fail(2)) SWIG_fail;
25620 }
d55e5bfc
RD
25621 {
25622 PyThreadState* __tstate = wxPyBeginAllowThreads();
25623 result = (bool)(arg1)->DeleteColumn(arg2);
25624
25625 wxPyEndAllowThreads(__tstate);
25626 if (PyErr_Occurred()) SWIG_fail;
25627 }
25628 {
25629 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25630 }
25631 return resultobj;
25632 fail:
25633 return NULL;
25634}
25635
25636
c32bde28 25637static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25638 PyObject *resultobj;
25639 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25640 bool result;
25641 PyObject * obj0 = 0 ;
25642 char *kwnames[] = {
25643 (char *) "self", NULL
25644 };
25645
25646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
093d3ff1
RD
25647 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25648 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25649 {
25650 PyThreadState* __tstate = wxPyBeginAllowThreads();
25651 result = (bool)(arg1)->DeleteAllColumns();
25652
25653 wxPyEndAllowThreads(__tstate);
25654 if (PyErr_Occurred()) SWIG_fail;
25655 }
25656 {
25657 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25658 }
25659 return resultobj;
25660 fail:
25661 return NULL;
25662}
25663
25664
c32bde28 25665static PyObject *_wrap_ListCtrl_ClearAll(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25666 PyObject *resultobj;
25667 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25668 PyObject * obj0 = 0 ;
25669 char *kwnames[] = {
25670 (char *) "self", NULL
25671 };
25672
25673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) goto fail;
093d3ff1
RD
25674 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25675 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25676 {
25677 PyThreadState* __tstate = wxPyBeginAllowThreads();
25678 (arg1)->ClearAll();
25679
25680 wxPyEndAllowThreads(__tstate);
25681 if (PyErr_Occurred()) SWIG_fail;
25682 }
25683 Py_INCREF(Py_None); resultobj = Py_None;
25684 return resultobj;
25685 fail:
25686 return NULL;
25687}
25688
25689
c32bde28 25690static PyObject *_wrap_ListCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25691 PyObject *resultobj;
25692 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25693 long arg2 ;
25694 wxTextCtrl *result;
25695 PyObject * obj0 = 0 ;
25696 PyObject * obj1 = 0 ;
25697 char *kwnames[] = {
25698 (char *) "self",(char *) "item", NULL
25699 };
25700
25701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25702 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25703 if (SWIG_arg_fail(1)) SWIG_fail;
25704 {
25705 arg2 = (long)(SWIG_As_long(obj1));
25706 if (SWIG_arg_fail(2)) SWIG_fail;
25707 }
d55e5bfc
RD
25708 {
25709 PyThreadState* __tstate = wxPyBeginAllowThreads();
25710 result = (wxTextCtrl *)(arg1)->EditLabel(arg2);
25711
25712 wxPyEndAllowThreads(__tstate);
25713 if (PyErr_Occurred()) SWIG_fail;
25714 }
25715 {
412d302d 25716 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
25717 }
25718 return resultobj;
25719 fail:
25720 return NULL;
25721}
25722
25723
c32bde28 25724static PyObject *_wrap_ListCtrl_EndEditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25725 PyObject *resultobj;
25726 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25727 bool arg2 ;
25728 bool result;
25729 PyObject * obj0 = 0 ;
25730 PyObject * obj1 = 0 ;
25731 char *kwnames[] = {
25732 (char *) "self",(char *) "cancel", NULL
25733 };
25734
25735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EndEditLabel",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25736 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25737 if (SWIG_arg_fail(1)) SWIG_fail;
25738 {
25739 arg2 = (bool)(SWIG_As_bool(obj1));
25740 if (SWIG_arg_fail(2)) SWIG_fail;
25741 }
d55e5bfc
RD
25742 {
25743 PyThreadState* __tstate = wxPyBeginAllowThreads();
25744 result = (bool)(arg1)->EndEditLabel(arg2);
25745
25746 wxPyEndAllowThreads(__tstate);
25747 if (PyErr_Occurred()) SWIG_fail;
25748 }
25749 {
25750 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25751 }
25752 return resultobj;
25753 fail:
25754 return NULL;
25755}
25756
25757
c32bde28 25758static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25759 PyObject *resultobj;
25760 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25761 long arg2 ;
25762 bool result;
25763 PyObject * obj0 = 0 ;
25764 PyObject * obj1 = 0 ;
25765 char *kwnames[] = {
25766 (char *) "self",(char *) "item", NULL
25767 };
25768
25769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25770 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25771 if (SWIG_arg_fail(1)) SWIG_fail;
25772 {
25773 arg2 = (long)(SWIG_As_long(obj1));
25774 if (SWIG_arg_fail(2)) SWIG_fail;
25775 }
d55e5bfc
RD
25776 {
25777 PyThreadState* __tstate = wxPyBeginAllowThreads();
25778 result = (bool)(arg1)->EnsureVisible(arg2);
25779
25780 wxPyEndAllowThreads(__tstate);
25781 if (PyErr_Occurred()) SWIG_fail;
25782 }
25783 {
25784 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25785 }
25786 return resultobj;
25787 fail:
25788 return NULL;
25789}
25790
25791
c32bde28 25792static PyObject *_wrap_ListCtrl_FindItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25793 PyObject *resultobj;
25794 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25795 long arg2 ;
25796 wxString *arg3 = 0 ;
ae8162c8 25797 bool arg4 = (bool) false ;
d55e5bfc 25798 long result;
ae8162c8 25799 bool temp3 = false ;
d55e5bfc
RD
25800 PyObject * obj0 = 0 ;
25801 PyObject * obj1 = 0 ;
25802 PyObject * obj2 = 0 ;
25803 PyObject * obj3 = 0 ;
25804 char *kwnames[] = {
25805 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
25806 };
25807
25808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
25809 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25810 if (SWIG_arg_fail(1)) SWIG_fail;
25811 {
25812 arg2 = (long)(SWIG_As_long(obj1));
25813 if (SWIG_arg_fail(2)) SWIG_fail;
25814 }
d55e5bfc
RD
25815 {
25816 arg3 = wxString_in_helper(obj2);
25817 if (arg3 == NULL) SWIG_fail;
ae8162c8 25818 temp3 = true;
d55e5bfc
RD
25819 }
25820 if (obj3) {
093d3ff1
RD
25821 {
25822 arg4 = (bool)(SWIG_As_bool(obj3));
25823 if (SWIG_arg_fail(4)) SWIG_fail;
25824 }
d55e5bfc
RD
25825 }
25826 {
25827 PyThreadState* __tstate = wxPyBeginAllowThreads();
25828 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
25829
25830 wxPyEndAllowThreads(__tstate);
25831 if (PyErr_Occurred()) SWIG_fail;
25832 }
093d3ff1
RD
25833 {
25834 resultobj = SWIG_From_long((long)(result));
25835 }
d55e5bfc
RD
25836 {
25837 if (temp3)
25838 delete arg3;
25839 }
25840 return resultobj;
25841 fail:
25842 {
25843 if (temp3)
25844 delete arg3;
25845 }
25846 return NULL;
25847}
25848
25849
c32bde28 25850static PyObject *_wrap_ListCtrl_FindItemData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25851 PyObject *resultobj;
25852 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25853 long arg2 ;
25854 long arg3 ;
25855 long result;
25856 PyObject * obj0 = 0 ;
25857 PyObject * obj1 = 0 ;
25858 PyObject * obj2 = 0 ;
25859 char *kwnames[] = {
25860 (char *) "self",(char *) "start",(char *) "data", NULL
25861 };
25862
25863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_FindItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
25864 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25865 if (SWIG_arg_fail(1)) SWIG_fail;
25866 {
25867 arg2 = (long)(SWIG_As_long(obj1));
25868 if (SWIG_arg_fail(2)) SWIG_fail;
25869 }
25870 {
25871 arg3 = (long)(SWIG_As_long(obj2));
25872 if (SWIG_arg_fail(3)) SWIG_fail;
25873 }
d55e5bfc
RD
25874 {
25875 PyThreadState* __tstate = wxPyBeginAllowThreads();
25876 result = (long)(arg1)->FindItem(arg2,arg3);
25877
25878 wxPyEndAllowThreads(__tstate);
25879 if (PyErr_Occurred()) SWIG_fail;
25880 }
093d3ff1
RD
25881 {
25882 resultobj = SWIG_From_long((long)(result));
25883 }
d55e5bfc
RD
25884 return resultobj;
25885 fail:
25886 return NULL;
25887}
25888
25889
c32bde28 25890static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25891 PyObject *resultobj;
25892 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25893 long arg2 ;
25894 wxPoint *arg3 = 0 ;
25895 int arg4 ;
25896 long result;
25897 wxPoint temp3 ;
25898 PyObject * obj0 = 0 ;
25899 PyObject * obj1 = 0 ;
25900 PyObject * obj2 = 0 ;
25901 PyObject * obj3 = 0 ;
25902 char *kwnames[] = {
25903 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
25904 };
25905
25906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
25907 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25908 if (SWIG_arg_fail(1)) SWIG_fail;
25909 {
25910 arg2 = (long)(SWIG_As_long(obj1));
25911 if (SWIG_arg_fail(2)) SWIG_fail;
25912 }
d55e5bfc
RD
25913 {
25914 arg3 = &temp3;
25915 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25916 }
093d3ff1
RD
25917 {
25918 arg4 = (int)(SWIG_As_int(obj3));
25919 if (SWIG_arg_fail(4)) SWIG_fail;
25920 }
d55e5bfc
RD
25921 {
25922 PyThreadState* __tstate = wxPyBeginAllowThreads();
25923 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
25924
25925 wxPyEndAllowThreads(__tstate);
25926 if (PyErr_Occurred()) SWIG_fail;
25927 }
093d3ff1
RD
25928 {
25929 resultobj = SWIG_From_long((long)(result));
25930 }
d55e5bfc
RD
25931 return resultobj;
25932 fail:
25933 return NULL;
25934}
25935
25936
c32bde28 25937static PyObject *_wrap_ListCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25938 PyObject *resultobj;
25939 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25940 wxPoint *arg2 = 0 ;
25941 int *arg3 = 0 ;
25942 long result;
25943 wxPoint temp2 ;
25944 int temp3 ;
c32bde28 25945 int res3 = 0 ;
d55e5bfc
RD
25946 PyObject * obj0 = 0 ;
25947 PyObject * obj1 = 0 ;
25948 char *kwnames[] = {
25949 (char *) "self",(char *) "point", NULL
25950 };
25951
c32bde28 25952 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 25953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25954 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25955 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25956 {
25957 arg2 = &temp2;
25958 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25959 }
25960 {
25961 PyThreadState* __tstate = wxPyBeginAllowThreads();
25962 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
25963
25964 wxPyEndAllowThreads(__tstate);
25965 if (PyErr_Occurred()) SWIG_fail;
25966 }
093d3ff1
RD
25967 {
25968 resultobj = SWIG_From_long((long)(result));
25969 }
c32bde28
RD
25970 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
25971 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
25972 return resultobj;
25973 fail:
25974 return NULL;
25975}
25976
25977
c32bde28 25978static PyObject *_wrap_ListCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25979 PyObject *resultobj;
25980 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25981 wxListItem *arg2 = 0 ;
25982 long result;
25983 PyObject * obj0 = 0 ;
25984 PyObject * obj1 = 0 ;
25985 char *kwnames[] = {
25986 (char *) "self",(char *) "info", NULL
25987 };
25988
25989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25990 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25991 if (SWIG_arg_fail(1)) SWIG_fail;
25992 {
25993 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
25994 if (SWIG_arg_fail(2)) SWIG_fail;
25995 if (arg2 == NULL) {
25996 SWIG_null_ref("wxListItem");
25997 }
25998 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
25999 }
26000 {
26001 PyThreadState* __tstate = wxPyBeginAllowThreads();
26002 result = (long)(arg1)->InsertItem(*arg2);
26003
26004 wxPyEndAllowThreads(__tstate);
26005 if (PyErr_Occurred()) SWIG_fail;
26006 }
093d3ff1
RD
26007 {
26008 resultobj = SWIG_From_long((long)(result));
26009 }
d55e5bfc
RD
26010 return resultobj;
26011 fail:
26012 return NULL;
26013}
26014
26015
c32bde28 26016static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26017 PyObject *resultobj;
26018 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26019 long arg2 ;
26020 wxString *arg3 = 0 ;
26021 long result;
ae8162c8 26022 bool temp3 = false ;
d55e5bfc
RD
26023 PyObject * obj0 = 0 ;
26024 PyObject * obj1 = 0 ;
26025 PyObject * obj2 = 0 ;
26026 char *kwnames[] = {
26027 (char *) "self",(char *) "index",(char *) "label", NULL
26028 };
26029
26030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertStringItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26031 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26032 if (SWIG_arg_fail(1)) SWIG_fail;
26033 {
26034 arg2 = (long)(SWIG_As_long(obj1));
26035 if (SWIG_arg_fail(2)) SWIG_fail;
26036 }
d55e5bfc
RD
26037 {
26038 arg3 = wxString_in_helper(obj2);
26039 if (arg3 == NULL) SWIG_fail;
ae8162c8 26040 temp3 = true;
d55e5bfc
RD
26041 }
26042 {
26043 PyThreadState* __tstate = wxPyBeginAllowThreads();
26044 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3);
26045
26046 wxPyEndAllowThreads(__tstate);
26047 if (PyErr_Occurred()) SWIG_fail;
26048 }
093d3ff1
RD
26049 {
26050 resultobj = SWIG_From_long((long)(result));
26051 }
d55e5bfc
RD
26052 {
26053 if (temp3)
26054 delete arg3;
26055 }
26056 return resultobj;
26057 fail:
26058 {
26059 if (temp3)
26060 delete arg3;
26061 }
26062 return NULL;
26063}
26064
26065
c32bde28 26066static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26067 PyObject *resultobj;
26068 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26069 long arg2 ;
26070 int arg3 ;
26071 long result;
26072 PyObject * obj0 = 0 ;
26073 PyObject * obj1 = 0 ;
26074 PyObject * obj2 = 0 ;
26075 char *kwnames[] = {
26076 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
26077 };
26078
26079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertImageItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26080 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26081 if (SWIG_arg_fail(1)) SWIG_fail;
26082 {
26083 arg2 = (long)(SWIG_As_long(obj1));
26084 if (SWIG_arg_fail(2)) SWIG_fail;
26085 }
26086 {
26087 arg3 = (int)(SWIG_As_int(obj2));
26088 if (SWIG_arg_fail(3)) SWIG_fail;
26089 }
d55e5bfc
RD
26090 {
26091 PyThreadState* __tstate = wxPyBeginAllowThreads();
26092 result = (long)(arg1)->InsertItem(arg2,arg3);
26093
26094 wxPyEndAllowThreads(__tstate);
26095 if (PyErr_Occurred()) SWIG_fail;
26096 }
093d3ff1
RD
26097 {
26098 resultobj = SWIG_From_long((long)(result));
26099 }
d55e5bfc
RD
26100 return resultobj;
26101 fail:
26102 return NULL;
26103}
26104
26105
c32bde28 26106static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26107 PyObject *resultobj;
26108 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26109 long arg2 ;
26110 wxString *arg3 = 0 ;
26111 int arg4 ;
26112 long result;
ae8162c8 26113 bool temp3 = false ;
d55e5bfc
RD
26114 PyObject * obj0 = 0 ;
26115 PyObject * obj1 = 0 ;
26116 PyObject * obj2 = 0 ;
26117 PyObject * obj3 = 0 ;
26118 char *kwnames[] = {
26119 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
26120 };
26121
26122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
26123 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26124 if (SWIG_arg_fail(1)) SWIG_fail;
26125 {
26126 arg2 = (long)(SWIG_As_long(obj1));
26127 if (SWIG_arg_fail(2)) SWIG_fail;
26128 }
d55e5bfc
RD
26129 {
26130 arg3 = wxString_in_helper(obj2);
26131 if (arg3 == NULL) SWIG_fail;
ae8162c8 26132 temp3 = true;
d55e5bfc 26133 }
093d3ff1
RD
26134 {
26135 arg4 = (int)(SWIG_As_int(obj3));
26136 if (SWIG_arg_fail(4)) SWIG_fail;
26137 }
d55e5bfc
RD
26138 {
26139 PyThreadState* __tstate = wxPyBeginAllowThreads();
26140 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
26141
26142 wxPyEndAllowThreads(__tstate);
26143 if (PyErr_Occurred()) SWIG_fail;
26144 }
093d3ff1
RD
26145 {
26146 resultobj = SWIG_From_long((long)(result));
26147 }
d55e5bfc
RD
26148 {
26149 if (temp3)
26150 delete arg3;
26151 }
26152 return resultobj;
26153 fail:
26154 {
26155 if (temp3)
26156 delete arg3;
26157 }
26158 return NULL;
26159}
26160
26161
a3957d3d 26162static PyObject *_wrap_ListCtrl_InsertColumnItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26163 PyObject *resultobj;
26164 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26165 long arg2 ;
26166 wxListItem *arg3 = 0 ;
26167 long result;
26168 PyObject * obj0 = 0 ;
26169 PyObject * obj1 = 0 ;
26170 PyObject * obj2 = 0 ;
26171 char *kwnames[] = {
26172 (char *) "self",(char *) "col",(char *) "info", NULL
26173 };
26174
a3957d3d 26175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26176 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26177 if (SWIG_arg_fail(1)) SWIG_fail;
26178 {
26179 arg2 = (long)(SWIG_As_long(obj1));
26180 if (SWIG_arg_fail(2)) SWIG_fail;
26181 }
26182 {
26183 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
26184 if (SWIG_arg_fail(3)) SWIG_fail;
26185 if (arg3 == NULL) {
26186 SWIG_null_ref("wxListItem");
26187 }
26188 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
26189 }
26190 {
26191 PyThreadState* __tstate = wxPyBeginAllowThreads();
26192 result = (long)(arg1)->InsertColumn(arg2,*arg3);
26193
26194 wxPyEndAllowThreads(__tstate);
26195 if (PyErr_Occurred()) SWIG_fail;
26196 }
093d3ff1
RD
26197 {
26198 resultobj = SWIG_From_long((long)(result));
26199 }
d55e5bfc
RD
26200 return resultobj;
26201 fail:
26202 return NULL;
26203}
26204
26205
c32bde28 26206static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26207 PyObject *resultobj;
26208 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26209 long arg2 ;
26210 wxString *arg3 = 0 ;
26211 int arg4 = (int) wxLIST_FORMAT_LEFT ;
26212 int arg5 = (int) -1 ;
26213 long result;
ae8162c8 26214 bool temp3 = false ;
d55e5bfc
RD
26215 PyObject * obj0 = 0 ;
26216 PyObject * obj1 = 0 ;
26217 PyObject * obj2 = 0 ;
26218 PyObject * obj3 = 0 ;
26219 PyObject * obj4 = 0 ;
26220 char *kwnames[] = {
26221 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
26222 };
26223
26224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
26225 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26226 if (SWIG_arg_fail(1)) SWIG_fail;
26227 {
26228 arg2 = (long)(SWIG_As_long(obj1));
26229 if (SWIG_arg_fail(2)) SWIG_fail;
26230 }
d55e5bfc
RD
26231 {
26232 arg3 = wxString_in_helper(obj2);
26233 if (arg3 == NULL) SWIG_fail;
ae8162c8 26234 temp3 = true;
d55e5bfc
RD
26235 }
26236 if (obj3) {
093d3ff1
RD
26237 {
26238 arg4 = (int)(SWIG_As_int(obj3));
26239 if (SWIG_arg_fail(4)) SWIG_fail;
26240 }
d55e5bfc
RD
26241 }
26242 if (obj4) {
093d3ff1
RD
26243 {
26244 arg5 = (int)(SWIG_As_int(obj4));
26245 if (SWIG_arg_fail(5)) SWIG_fail;
26246 }
d55e5bfc
RD
26247 }
26248 {
26249 PyThreadState* __tstate = wxPyBeginAllowThreads();
26250 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
26251
26252 wxPyEndAllowThreads(__tstate);
26253 if (PyErr_Occurred()) SWIG_fail;
26254 }
093d3ff1
RD
26255 {
26256 resultobj = SWIG_From_long((long)(result));
26257 }
d55e5bfc
RD
26258 {
26259 if (temp3)
26260 delete arg3;
26261 }
26262 return resultobj;
26263 fail:
26264 {
26265 if (temp3)
26266 delete arg3;
26267 }
26268 return NULL;
26269}
26270
26271
c32bde28 26272static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26273 PyObject *resultobj;
26274 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26275 long arg2 ;
26276 PyObject * obj0 = 0 ;
26277 PyObject * obj1 = 0 ;
26278 char *kwnames[] = {
26279 (char *) "self",(char *) "count", NULL
26280 };
26281
26282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26283 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26284 if (SWIG_arg_fail(1)) SWIG_fail;
26285 {
26286 arg2 = (long)(SWIG_As_long(obj1));
26287 if (SWIG_arg_fail(2)) SWIG_fail;
26288 }
d55e5bfc
RD
26289 {
26290 PyThreadState* __tstate = wxPyBeginAllowThreads();
26291 (arg1)->SetItemCount(arg2);
26292
26293 wxPyEndAllowThreads(__tstate);
26294 if (PyErr_Occurred()) SWIG_fail;
26295 }
26296 Py_INCREF(Py_None); resultobj = Py_None;
26297 return resultobj;
26298 fail:
26299 return NULL;
26300}
26301
26302
c32bde28 26303static PyObject *_wrap_ListCtrl_ScrollList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26304 PyObject *resultobj;
26305 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26306 int arg2 ;
26307 int arg3 ;
26308 bool result;
26309 PyObject * obj0 = 0 ;
26310 PyObject * obj1 = 0 ;
26311 PyObject * obj2 = 0 ;
26312 char *kwnames[] = {
26313 (char *) "self",(char *) "dx",(char *) "dy", NULL
26314 };
26315
26316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_ScrollList",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26317 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26318 if (SWIG_arg_fail(1)) SWIG_fail;
26319 {
26320 arg2 = (int)(SWIG_As_int(obj1));
26321 if (SWIG_arg_fail(2)) SWIG_fail;
26322 }
26323 {
26324 arg3 = (int)(SWIG_As_int(obj2));
26325 if (SWIG_arg_fail(3)) SWIG_fail;
26326 }
d55e5bfc
RD
26327 {
26328 PyThreadState* __tstate = wxPyBeginAllowThreads();
26329 result = (bool)(arg1)->ScrollList(arg2,arg3);
26330
26331 wxPyEndAllowThreads(__tstate);
26332 if (PyErr_Occurred()) SWIG_fail;
26333 }
26334 {
26335 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26336 }
26337 return resultobj;
26338 fail:
26339 return NULL;
26340}
26341
26342
c32bde28 26343static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26344 PyObject *resultobj;
26345 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26346 long arg2 ;
26347 wxColour *arg3 = 0 ;
26348 wxColour temp3 ;
26349 PyObject * obj0 = 0 ;
26350 PyObject * obj1 = 0 ;
26351 PyObject * obj2 = 0 ;
26352 char *kwnames[] = {
26353 (char *) "self",(char *) "item",(char *) "col", NULL
26354 };
26355
26356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26357 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26358 if (SWIG_arg_fail(1)) SWIG_fail;
26359 {
26360 arg2 = (long)(SWIG_As_long(obj1));
26361 if (SWIG_arg_fail(2)) SWIG_fail;
26362 }
d55e5bfc
RD
26363 {
26364 arg3 = &temp3;
26365 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
26366 }
26367 {
26368 PyThreadState* __tstate = wxPyBeginAllowThreads();
26369 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
26370
26371 wxPyEndAllowThreads(__tstate);
26372 if (PyErr_Occurred()) SWIG_fail;
26373 }
26374 Py_INCREF(Py_None); resultobj = Py_None;
26375 return resultobj;
26376 fail:
26377 return NULL;
26378}
26379
26380
c32bde28 26381static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26382 PyObject *resultobj;
26383 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26384 long arg2 ;
26385 wxColour result;
26386 PyObject * obj0 = 0 ;
26387 PyObject * obj1 = 0 ;
26388 char *kwnames[] = {
26389 (char *) "self",(char *) "item", NULL
26390 };
26391
26392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26393 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26394 if (SWIG_arg_fail(1)) SWIG_fail;
26395 {
26396 arg2 = (long)(SWIG_As_long(obj1));
26397 if (SWIG_arg_fail(2)) SWIG_fail;
26398 }
d55e5bfc
RD
26399 {
26400 PyThreadState* __tstate = wxPyBeginAllowThreads();
26401 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
26402
26403 wxPyEndAllowThreads(__tstate);
26404 if (PyErr_Occurred()) SWIG_fail;
26405 }
26406 {
26407 wxColour * resultptr;
093d3ff1 26408 resultptr = new wxColour((wxColour &)(result));
d55e5bfc
RD
26409 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
26410 }
26411 return resultobj;
26412 fail:
26413 return NULL;
26414}
26415
26416
c32bde28 26417static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26418 PyObject *resultobj;
26419 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26420 long arg2 ;
26421 wxColour *arg3 = 0 ;
26422 wxColour temp3 ;
26423 PyObject * obj0 = 0 ;
26424 PyObject * obj1 = 0 ;
26425 PyObject * obj2 = 0 ;
26426 char *kwnames[] = {
26427 (char *) "self",(char *) "item",(char *) "col", NULL
26428 };
26429
26430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26431 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26432 if (SWIG_arg_fail(1)) SWIG_fail;
26433 {
26434 arg2 = (long)(SWIG_As_long(obj1));
26435 if (SWIG_arg_fail(2)) SWIG_fail;
26436 }
d55e5bfc
RD
26437 {
26438 arg3 = &temp3;
26439 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
26440 }
26441 {
26442 PyThreadState* __tstate = wxPyBeginAllowThreads();
26443 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
26444
26445 wxPyEndAllowThreads(__tstate);
26446 if (PyErr_Occurred()) SWIG_fail;
26447 }
26448 Py_INCREF(Py_None); resultobj = Py_None;
26449 return resultobj;
26450 fail:
26451 return NULL;
26452}
26453
26454
c32bde28 26455static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26456 PyObject *resultobj;
26457 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26458 long arg2 ;
26459 wxColour result;
26460 PyObject * obj0 = 0 ;
26461 PyObject * obj1 = 0 ;
26462 char *kwnames[] = {
26463 (char *) "self",(char *) "item", NULL
26464 };
26465
26466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26467 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26468 if (SWIG_arg_fail(1)) SWIG_fail;
26469 {
26470 arg2 = (long)(SWIG_As_long(obj1));
26471 if (SWIG_arg_fail(2)) SWIG_fail;
26472 }
d55e5bfc
RD
26473 {
26474 PyThreadState* __tstate = wxPyBeginAllowThreads();
26475 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
26476
26477 wxPyEndAllowThreads(__tstate);
26478 if (PyErr_Occurred()) SWIG_fail;
26479 }
26480 {
26481 wxColour * resultptr;
093d3ff1 26482 resultptr = new wxColour((wxColour &)(result));
d55e5bfc
RD
26483 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
26484 }
26485 return resultobj;
26486 fail:
26487 return NULL;
26488}
26489
26490
c32bde28 26491static PyObject *_wrap_ListCtrl_SortItems(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26492 PyObject *resultobj;
26493 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26494 PyObject *arg2 = (PyObject *) 0 ;
26495 bool result;
26496 PyObject * obj0 = 0 ;
26497 PyObject * obj1 = 0 ;
26498 char *kwnames[] = {
26499 (char *) "self",(char *) "func", NULL
26500 };
26501
26502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26503 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26504 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26505 arg2 = obj1;
26506 {
26507 PyThreadState* __tstate = wxPyBeginAllowThreads();
26508 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
26509
26510 wxPyEndAllowThreads(__tstate);
26511 if (PyErr_Occurred()) SWIG_fail;
26512 }
26513 {
26514 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26515 }
26516 return resultobj;
26517 fail:
26518 return NULL;
26519}
26520
26521
c32bde28 26522static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26523 PyObject *resultobj;
26524 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26525 wxWindow *result;
26526 PyObject * obj0 = 0 ;
26527 char *kwnames[] = {
26528 (char *) "self", NULL
26529 };
26530
26531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
26532 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26533 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26534 {
26535 PyThreadState* __tstate = wxPyBeginAllowThreads();
26536 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
26537
26538 wxPyEndAllowThreads(__tstate);
26539 if (PyErr_Occurred()) SWIG_fail;
26540 }
26541 {
412d302d 26542 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
26543 }
26544 return resultobj;
26545 fail:
26546 return NULL;
26547}
26548
26549
c32bde28 26550static PyObject *_wrap_ListCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 26551 PyObject *resultobj;
093d3ff1 26552 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
d55e5bfc
RD
26553 wxVisualAttributes result;
26554 PyObject * obj0 = 0 ;
26555 char *kwnames[] = {
26556 (char *) "variant", NULL
26557 };
26558
26559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
26560 if (obj0) {
093d3ff1
RD
26561 {
26562 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
26563 if (SWIG_arg_fail(1)) SWIG_fail;
26564 }
d55e5bfc
RD
26565 }
26566 {
19272049 26567 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
26568 PyThreadState* __tstate = wxPyBeginAllowThreads();
26569 result = wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
26570
26571 wxPyEndAllowThreads(__tstate);
110da5b0 26572 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
26573 }
26574 {
26575 wxVisualAttributes * resultptr;
093d3ff1 26576 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
d55e5bfc
RD
26577 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
26578 }
26579 return resultobj;
26580 fail:
26581 return NULL;
26582}
26583
26584
c32bde28 26585static PyObject * ListCtrl_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
26586 PyObject *obj;
26587 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26588 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
26589 Py_INCREF(obj);
26590 return Py_BuildValue((char *)"");
26591}
c32bde28 26592static PyObject *_wrap_new_ListView(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26593 PyObject *resultobj;
26594 wxWindow *arg1 = (wxWindow *) 0 ;
26595 int arg2 = (int) -1 ;
26596 wxPoint const &arg3_defvalue = wxDefaultPosition ;
26597 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
26598 wxSize const &arg4_defvalue = wxDefaultSize ;
26599 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
26600 long arg5 = (long) wxLC_REPORT ;
26601 wxValidator const &arg6_defvalue = wxDefaultValidator ;
26602 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
26603 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
26604 wxString *arg7 = (wxString *) &arg7_defvalue ;
26605 wxListView *result;
26606 wxPoint temp3 ;
26607 wxSize temp4 ;
ae8162c8 26608 bool temp7 = false ;
d55e5bfc
RD
26609 PyObject * obj0 = 0 ;
26610 PyObject * obj1 = 0 ;
26611 PyObject * obj2 = 0 ;
26612 PyObject * obj3 = 0 ;
26613 PyObject * obj4 = 0 ;
26614 PyObject * obj5 = 0 ;
26615 PyObject * obj6 = 0 ;
26616 char *kwnames[] = {
26617 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26618 };
26619
26620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListView",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
26621 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26622 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 26623 if (obj1) {
093d3ff1
RD
26624 {
26625 arg2 = (int)(SWIG_As_int(obj1));
26626 if (SWIG_arg_fail(2)) SWIG_fail;
26627 }
d55e5bfc
RD
26628 }
26629 if (obj2) {
26630 {
26631 arg3 = &temp3;
26632 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
26633 }
26634 }
26635 if (obj3) {
26636 {
26637 arg4 = &temp4;
26638 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
26639 }
26640 }
26641 if (obj4) {
093d3ff1
RD
26642 {
26643 arg5 = (long)(SWIG_As_long(obj4));
26644 if (SWIG_arg_fail(5)) SWIG_fail;
26645 }
d55e5bfc
RD
26646 }
26647 if (obj5) {
093d3ff1
RD
26648 {
26649 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
26650 if (SWIG_arg_fail(6)) SWIG_fail;
26651 if (arg6 == NULL) {
26652 SWIG_null_ref("wxValidator");
26653 }
26654 if (SWIG_arg_fail(6)) SWIG_fail;
d55e5bfc
RD
26655 }
26656 }
26657 if (obj6) {
26658 {
26659 arg7 = wxString_in_helper(obj6);
26660 if (arg7 == NULL) SWIG_fail;
ae8162c8 26661 temp7 = true;
d55e5bfc
RD
26662 }
26663 }
26664 {
0439c23b 26665 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
26666 PyThreadState* __tstate = wxPyBeginAllowThreads();
26667 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
26668
26669 wxPyEndAllowThreads(__tstate);
110da5b0 26670 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
26671 }
26672 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
26673 {
26674 if (temp7)
26675 delete arg7;
26676 }
26677 return resultobj;
26678 fail:
26679 {
26680 if (temp7)
26681 delete arg7;
26682 }
26683 return NULL;
26684}
26685
26686
c32bde28 26687static PyObject *_wrap_new_PreListView(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26688 PyObject *resultobj;
26689 wxListView *result;
26690 char *kwnames[] = {
26691 NULL
26692 };
26693
26694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
26695 {
0439c23b 26696 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
26697 PyThreadState* __tstate = wxPyBeginAllowThreads();
26698 result = (wxListView *)new wxListView();
26699
26700 wxPyEndAllowThreads(__tstate);
110da5b0 26701 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
26702 }
26703 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
26704 return resultobj;
26705 fail:
26706 return NULL;
26707}
26708
26709
c32bde28 26710static PyObject *_wrap_ListView_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26711 PyObject *resultobj;
26712 wxListView *arg1 = (wxListView *) 0 ;
26713 wxWindow *arg2 = (wxWindow *) 0 ;
26714 int arg3 = (int) -1 ;
26715 wxPoint const &arg4_defvalue = wxDefaultPosition ;
26716 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
26717 wxSize const &arg5_defvalue = wxDefaultSize ;
26718 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
26719 long arg6 = (long) wxLC_REPORT ;
26720 wxValidator const &arg7_defvalue = wxDefaultValidator ;
26721 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
26722 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
26723 wxString *arg8 = (wxString *) &arg8_defvalue ;
26724 bool result;
26725 wxPoint temp4 ;
26726 wxSize temp5 ;
ae8162c8 26727 bool temp8 = false ;
d55e5bfc
RD
26728 PyObject * obj0 = 0 ;
26729 PyObject * obj1 = 0 ;
26730 PyObject * obj2 = 0 ;
26731 PyObject * obj3 = 0 ;
26732 PyObject * obj4 = 0 ;
26733 PyObject * obj5 = 0 ;
26734 PyObject * obj6 = 0 ;
26735 PyObject * obj7 = 0 ;
26736 char *kwnames[] = {
26737 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26738 };
26739
26740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListView_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
26741 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26742 if (SWIG_arg_fail(1)) SWIG_fail;
26743 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26744 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 26745 if (obj2) {
093d3ff1
RD
26746 {
26747 arg3 = (int)(SWIG_As_int(obj2));
26748 if (SWIG_arg_fail(3)) SWIG_fail;
26749 }
d55e5bfc
RD
26750 }
26751 if (obj3) {
26752 {
26753 arg4 = &temp4;
26754 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
26755 }
26756 }
26757 if (obj4) {
26758 {
26759 arg5 = &temp5;
26760 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
26761 }
26762 }
26763 if (obj5) {
093d3ff1
RD
26764 {
26765 arg6 = (long)(SWIG_As_long(obj5));
26766 if (SWIG_arg_fail(6)) SWIG_fail;
26767 }
d55e5bfc
RD
26768 }
26769 if (obj6) {
093d3ff1
RD
26770 {
26771 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
26772 if (SWIG_arg_fail(7)) SWIG_fail;
26773 if (arg7 == NULL) {
26774 SWIG_null_ref("wxValidator");
26775 }
26776 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
26777 }
26778 }
26779 if (obj7) {
26780 {
26781 arg8 = wxString_in_helper(obj7);
26782 if (arg8 == NULL) SWIG_fail;
ae8162c8 26783 temp8 = true;
d55e5bfc
RD
26784 }
26785 }
26786 {
26787 PyThreadState* __tstate = wxPyBeginAllowThreads();
26788 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
26789
26790 wxPyEndAllowThreads(__tstate);
26791 if (PyErr_Occurred()) SWIG_fail;
26792 }
26793 {
26794 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26795 }
26796 {
26797 if (temp8)
26798 delete arg8;
26799 }
26800 return resultobj;
26801 fail:
26802 {
26803 if (temp8)
26804 delete arg8;
26805 }
26806 return NULL;
26807}
26808
26809
c32bde28 26810static PyObject *_wrap_ListView_Select(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26811 PyObject *resultobj;
26812 wxListView *arg1 = (wxListView *) 0 ;
26813 long arg2 ;
ae8162c8 26814 bool arg3 = (bool) true ;
d55e5bfc
RD
26815 PyObject * obj0 = 0 ;
26816 PyObject * obj1 = 0 ;
26817 PyObject * obj2 = 0 ;
26818 char *kwnames[] = {
26819 (char *) "self",(char *) "n",(char *) "on", NULL
26820 };
26821
26822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListView_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26823 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26824 if (SWIG_arg_fail(1)) SWIG_fail;
26825 {
26826 arg2 = (long)(SWIG_As_long(obj1));
26827 if (SWIG_arg_fail(2)) SWIG_fail;
26828 }
d55e5bfc 26829 if (obj2) {
093d3ff1
RD
26830 {
26831 arg3 = (bool)(SWIG_As_bool(obj2));
26832 if (SWIG_arg_fail(3)) SWIG_fail;
26833 }
d55e5bfc
RD
26834 }
26835 {
26836 PyThreadState* __tstate = wxPyBeginAllowThreads();
26837 (arg1)->Select(arg2,arg3);
26838
26839 wxPyEndAllowThreads(__tstate);
26840 if (PyErr_Occurred()) SWIG_fail;
26841 }
26842 Py_INCREF(Py_None); resultobj = Py_None;
26843 return resultobj;
26844 fail:
26845 return NULL;
26846}
26847
26848
c32bde28 26849static PyObject *_wrap_ListView_Focus(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26850 PyObject *resultobj;
26851 wxListView *arg1 = (wxListView *) 0 ;
26852 long arg2 ;
26853 PyObject * obj0 = 0 ;
26854 PyObject * obj1 = 0 ;
26855 char *kwnames[] = {
26856 (char *) "self",(char *) "index", NULL
26857 };
26858
26859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_Focus",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26860 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26861 if (SWIG_arg_fail(1)) SWIG_fail;
26862 {
26863 arg2 = (long)(SWIG_As_long(obj1));
26864 if (SWIG_arg_fail(2)) SWIG_fail;
26865 }
d55e5bfc
RD
26866 {
26867 PyThreadState* __tstate = wxPyBeginAllowThreads();
26868 (arg1)->Focus(arg2);
26869
26870 wxPyEndAllowThreads(__tstate);
26871 if (PyErr_Occurred()) SWIG_fail;
26872 }
26873 Py_INCREF(Py_None); resultobj = Py_None;
26874 return resultobj;
26875 fail:
26876 return NULL;
26877}
26878
26879
c32bde28 26880static PyObject *_wrap_ListView_GetFocusedItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26881 PyObject *resultobj;
26882 wxListView *arg1 = (wxListView *) 0 ;
26883 long result;
26884 PyObject * obj0 = 0 ;
26885 char *kwnames[] = {
26886 (char *) "self", NULL
26887 };
26888
26889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
093d3ff1
RD
26890 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26891 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26892 {
26893 PyThreadState* __tstate = wxPyBeginAllowThreads();
26894 result = (long)((wxListView const *)arg1)->GetFocusedItem();
26895
26896 wxPyEndAllowThreads(__tstate);
26897 if (PyErr_Occurred()) SWIG_fail;
26898 }
093d3ff1
RD
26899 {
26900 resultobj = SWIG_From_long((long)(result));
26901 }
d55e5bfc
RD
26902 return resultobj;
26903 fail:
26904 return NULL;
26905}
26906
26907
c32bde28 26908static PyObject *_wrap_ListView_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26909 PyObject *resultobj;
26910 wxListView *arg1 = (wxListView *) 0 ;
26911 long arg2 ;
26912 long result;
26913 PyObject * obj0 = 0 ;
26914 PyObject * obj1 = 0 ;
26915 char *kwnames[] = {
26916 (char *) "self",(char *) "item", NULL
26917 };
26918
26919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26920 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26921 if (SWIG_arg_fail(1)) SWIG_fail;
26922 {
26923 arg2 = (long)(SWIG_As_long(obj1));
26924 if (SWIG_arg_fail(2)) SWIG_fail;
26925 }
d55e5bfc
RD
26926 {
26927 PyThreadState* __tstate = wxPyBeginAllowThreads();
26928 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
26929
26930 wxPyEndAllowThreads(__tstate);
26931 if (PyErr_Occurred()) SWIG_fail;
26932 }
093d3ff1
RD
26933 {
26934 resultobj = SWIG_From_long((long)(result));
26935 }
d55e5bfc
RD
26936 return resultobj;
26937 fail:
26938 return NULL;
26939}
26940
26941
c32bde28 26942static PyObject *_wrap_ListView_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26943 PyObject *resultobj;
26944 wxListView *arg1 = (wxListView *) 0 ;
26945 long result;
26946 PyObject * obj0 = 0 ;
26947 char *kwnames[] = {
26948 (char *) "self", NULL
26949 };
26950
26951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
093d3ff1
RD
26952 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26953 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26954 {
26955 PyThreadState* __tstate = wxPyBeginAllowThreads();
26956 result = (long)((wxListView const *)arg1)->GetFirstSelected();
26957
26958 wxPyEndAllowThreads(__tstate);
26959 if (PyErr_Occurred()) SWIG_fail;
26960 }
093d3ff1
RD
26961 {
26962 resultobj = SWIG_From_long((long)(result));
26963 }
d55e5bfc
RD
26964 return resultobj;
26965 fail:
26966 return NULL;
26967}
26968
26969
c32bde28 26970static PyObject *_wrap_ListView_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26971 PyObject *resultobj;
26972 wxListView *arg1 = (wxListView *) 0 ;
26973 long arg2 ;
26974 bool result;
26975 PyObject * obj0 = 0 ;
26976 PyObject * obj1 = 0 ;
26977 char *kwnames[] = {
26978 (char *) "self",(char *) "index", NULL
26979 };
26980
26981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_IsSelected",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26982 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26983 if (SWIG_arg_fail(1)) SWIG_fail;
26984 {
26985 arg2 = (long)(SWIG_As_long(obj1));
26986 if (SWIG_arg_fail(2)) SWIG_fail;
26987 }
d55e5bfc
RD
26988 {
26989 PyThreadState* __tstate = wxPyBeginAllowThreads();
26990 result = (bool)(arg1)->IsSelected(arg2);
26991
26992 wxPyEndAllowThreads(__tstate);
26993 if (PyErr_Occurred()) SWIG_fail;
26994 }
26995 {
26996 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26997 }
26998 return resultobj;
26999 fail:
27000 return NULL;
27001}
27002
27003
c32bde28 27004static PyObject *_wrap_ListView_SetColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27005 PyObject *resultobj;
27006 wxListView *arg1 = (wxListView *) 0 ;
27007 int arg2 ;
27008 int arg3 ;
27009 PyObject * obj0 = 0 ;
27010 PyObject * obj1 = 0 ;
27011 PyObject * obj2 = 0 ;
27012 char *kwnames[] = {
27013 (char *) "self",(char *) "col",(char *) "image", NULL
27014 };
27015
27016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListView_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
27017 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
27018 if (SWIG_arg_fail(1)) SWIG_fail;
27019 {
27020 arg2 = (int)(SWIG_As_int(obj1));
27021 if (SWIG_arg_fail(2)) SWIG_fail;
27022 }
27023 {
27024 arg3 = (int)(SWIG_As_int(obj2));
27025 if (SWIG_arg_fail(3)) SWIG_fail;
27026 }
d55e5bfc
RD
27027 {
27028 PyThreadState* __tstate = wxPyBeginAllowThreads();
27029 (arg1)->SetColumnImage(arg2,arg3);
27030
27031 wxPyEndAllowThreads(__tstate);
27032 if (PyErr_Occurred()) SWIG_fail;
27033 }
27034 Py_INCREF(Py_None); resultobj = Py_None;
27035 return resultobj;
27036 fail:
27037 return NULL;
27038}
27039
27040
c32bde28 27041static PyObject *_wrap_ListView_ClearColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27042 PyObject *resultobj;
27043 wxListView *arg1 = (wxListView *) 0 ;
27044 int arg2 ;
27045 PyObject * obj0 = 0 ;
27046 PyObject * obj1 = 0 ;
27047 char *kwnames[] = {
27048 (char *) "self",(char *) "col", NULL
27049 };
27050
27051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_ClearColumnImage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27052 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
27053 if (SWIG_arg_fail(1)) SWIG_fail;
27054 {
27055 arg2 = (int)(SWIG_As_int(obj1));
27056 if (SWIG_arg_fail(2)) SWIG_fail;
27057 }
d55e5bfc
RD
27058 {
27059 PyThreadState* __tstate = wxPyBeginAllowThreads();
27060 (arg1)->ClearColumnImage(arg2);
27061
27062 wxPyEndAllowThreads(__tstate);
27063 if (PyErr_Occurred()) SWIG_fail;
27064 }
27065 Py_INCREF(Py_None); resultobj = Py_None;
27066 return resultobj;
27067 fail:
27068 return NULL;
27069}
27070
27071
c32bde28 27072static PyObject * ListView_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
27073 PyObject *obj;
27074 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27075 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
27076 Py_INCREF(obj);
27077 return Py_BuildValue((char *)"");
27078}
c32bde28 27079static int _wrap_TreeCtrlNameStr_set(PyObject *) {
d55e5bfc
RD
27080 PyErr_SetString(PyExc_TypeError,"Variable TreeCtrlNameStr is read-only.");
27081 return 1;
27082}
27083
27084
093d3ff1 27085static PyObject *_wrap_TreeCtrlNameStr_get(void) {
d55e5bfc
RD
27086 PyObject *pyobj;
27087
27088 {
27089#if wxUSE_UNICODE
27090 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
27091#else
27092 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
27093#endif
27094 }
27095 return pyobj;
27096}
27097
27098
c32bde28 27099static PyObject *_wrap_new_TreeItemId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27100 PyObject *resultobj;
27101 wxTreeItemId *result;
27102 char *kwnames[] = {
27103 NULL
27104 };
27105
27106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
27107 {
27108 PyThreadState* __tstate = wxPyBeginAllowThreads();
27109 result = (wxTreeItemId *)new wxTreeItemId();
27110
27111 wxPyEndAllowThreads(__tstate);
27112 if (PyErr_Occurred()) SWIG_fail;
27113 }
27114 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 1);
27115 return resultobj;
27116 fail:
27117 return NULL;
27118}
27119
27120
c32bde28 27121static PyObject *_wrap_delete_TreeItemId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27122 PyObject *resultobj;
27123 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27124 PyObject * obj0 = 0 ;
27125 char *kwnames[] = {
27126 (char *) "self", NULL
27127 };
27128
27129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",kwnames,&obj0)) goto fail;
093d3ff1
RD
27130 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27131 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27132 {
27133 PyThreadState* __tstate = wxPyBeginAllowThreads();
27134 delete arg1;
27135
27136 wxPyEndAllowThreads(__tstate);
27137 if (PyErr_Occurred()) SWIG_fail;
27138 }
27139 Py_INCREF(Py_None); resultobj = Py_None;
27140 return resultobj;
27141 fail:
27142 return NULL;
27143}
27144
27145
c32bde28 27146static PyObject *_wrap_TreeItemId_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27147 PyObject *resultobj;
27148 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27149 bool result;
27150 PyObject * obj0 = 0 ;
27151 char *kwnames[] = {
27152 (char *) "self", NULL
27153 };
27154
27155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
093d3ff1
RD
27156 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27157 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27158 {
27159 PyThreadState* __tstate = wxPyBeginAllowThreads();
27160 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
27161
27162 wxPyEndAllowThreads(__tstate);
27163 if (PyErr_Occurred()) SWIG_fail;
27164 }
27165 {
27166 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27167 }
27168 return resultobj;
27169 fail:
27170 return NULL;
27171}
27172
27173
c32bde28 27174static PyObject *_wrap_TreeItemId___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27175 PyObject *resultobj;
27176 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27177 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
27178 bool result;
27179 PyObject * obj0 = 0 ;
27180 PyObject * obj1 = 0 ;
27181 char *kwnames[] = {
27182 (char *) "self",(char *) "other", NULL
27183 };
27184
27185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27186 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27187 if (SWIG_arg_fail(1)) SWIG_fail;
27188 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27189 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27190 {
27191 PyThreadState* __tstate = wxPyBeginAllowThreads();
27192 result = (bool)wxTreeItemId___eq__(arg1,(wxTreeItemId const *)arg2);
27193
27194 wxPyEndAllowThreads(__tstate);
27195 if (PyErr_Occurred()) SWIG_fail;
27196 }
27197 {
27198 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27199 }
27200 return resultobj;
27201 fail:
27202 return NULL;
27203}
27204
27205
c32bde28 27206static PyObject *_wrap_TreeItemId___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27207 PyObject *resultobj;
27208 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27209 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
27210 bool result;
27211 PyObject * obj0 = 0 ;
27212 PyObject * obj1 = 0 ;
27213 char *kwnames[] = {
27214 (char *) "self",(char *) "other", NULL
27215 };
27216
27217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27218 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27219 if (SWIG_arg_fail(1)) SWIG_fail;
27220 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27221 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27222 {
27223 PyThreadState* __tstate = wxPyBeginAllowThreads();
27224 result = (bool)wxTreeItemId___ne__(arg1,(wxTreeItemId const *)arg2);
27225
27226 wxPyEndAllowThreads(__tstate);
27227 if (PyErr_Occurred()) SWIG_fail;
27228 }
27229 {
27230 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27231 }
27232 return resultobj;
27233 fail:
27234 return NULL;
27235}
27236
27237
c32bde28 27238static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27239 PyObject *resultobj;
27240 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27241 void *arg2 = (void *) 0 ;
27242 PyObject * obj0 = 0 ;
27243 PyObject * obj1 = 0 ;
27244 char *kwnames[] = {
27245 (char *) "self",(char *) "m_pItem", NULL
27246 };
27247
27248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27249 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27250 if (SWIG_arg_fail(1)) SWIG_fail;
27251 {
27252 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),0,SWIG_POINTER_EXCEPTION|SWIG_POINTER_DISOWN))== -1) {
27253 SWIG_arg_fail(2);SWIG_fail;
27254 }
27255 }
d55e5bfc
RD
27256 if (arg1) (arg1)->m_pItem = arg2;
27257
27258 Py_INCREF(Py_None); resultobj = Py_None;
27259 return resultobj;
27260 fail:
27261 return NULL;
27262}
27263
27264
c32bde28 27265static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27266 PyObject *resultobj;
27267 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27268 void *result;
27269 PyObject * obj0 = 0 ;
27270 char *kwnames[] = {
27271 (char *) "self", NULL
27272 };
27273
27274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
27275 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27276 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27277 result = (void *) ((arg1)->m_pItem);
27278
27279 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0);
27280 return resultobj;
27281 fail:
27282 return NULL;
27283}
27284
27285
c32bde28 27286static PyObject * TreeItemId_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
27287 PyObject *obj;
27288 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27289 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
27290 Py_INCREF(obj);
27291 return Py_BuildValue((char *)"");
27292}
c32bde28 27293static PyObject *_wrap_new_TreeItemData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27294 PyObject *resultobj;
27295 PyObject *arg1 = (PyObject *) NULL ;
27296 wxPyTreeItemData *result;
27297 PyObject * obj0 = 0 ;
27298 char *kwnames[] = {
27299 (char *) "obj", NULL
27300 };
27301
27302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
27303 if (obj0) {
27304 arg1 = obj0;
27305 }
27306 {
27307 PyThreadState* __tstate = wxPyBeginAllowThreads();
27308 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
27309
27310 wxPyEndAllowThreads(__tstate);
27311 if (PyErr_Occurred()) SWIG_fail;
27312 }
27313 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 1);
27314 return resultobj;
27315 fail:
27316 return NULL;
27317}
27318
27319
c32bde28 27320static PyObject *_wrap_TreeItemData_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27321 PyObject *resultobj;
27322 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27323 PyObject *result;
27324 PyObject * obj0 = 0 ;
27325 char *kwnames[] = {
27326 (char *) "self", NULL
27327 };
27328
27329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) goto fail;
093d3ff1
RD
27330 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27331 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27332 {
27333 PyThreadState* __tstate = wxPyBeginAllowThreads();
27334 result = (PyObject *)(arg1)->GetData();
27335
27336 wxPyEndAllowThreads(__tstate);
27337 if (PyErr_Occurred()) SWIG_fail;
27338 }
27339 resultobj = result;
27340 return resultobj;
27341 fail:
27342 return NULL;
27343}
27344
27345
c32bde28 27346static PyObject *_wrap_TreeItemData_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27347 PyObject *resultobj;
27348 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27349 PyObject *arg2 = (PyObject *) 0 ;
27350 PyObject * obj0 = 0 ;
27351 PyObject * obj1 = 0 ;
27352 char *kwnames[] = {
27353 (char *) "self",(char *) "obj", NULL
27354 };
27355
27356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27357 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27358 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27359 arg2 = obj1;
27360 {
27361 PyThreadState* __tstate = wxPyBeginAllowThreads();
27362 (arg1)->SetData(arg2);
27363
27364 wxPyEndAllowThreads(__tstate);
27365 if (PyErr_Occurred()) SWIG_fail;
27366 }
27367 Py_INCREF(Py_None); resultobj = Py_None;
27368 return resultobj;
27369 fail:
27370 return NULL;
27371}
27372
27373
c32bde28 27374static PyObject *_wrap_TreeItemData_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27375 PyObject *resultobj;
27376 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27377 wxTreeItemId *result;
27378 PyObject * obj0 = 0 ;
27379 char *kwnames[] = {
27380 (char *) "self", NULL
27381 };
27382
27383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
093d3ff1
RD
27384 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27385 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27386 {
27387 PyThreadState* __tstate = wxPyBeginAllowThreads();
27388 {
27389 wxTreeItemId const &_result_ref = (arg1)->GetId();
27390 result = (wxTreeItemId *) &_result_ref;
27391 }
27392
27393 wxPyEndAllowThreads(__tstate);
27394 if (PyErr_Occurred()) SWIG_fail;
27395 }
27396 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 0);
27397 return resultobj;
27398 fail:
27399 return NULL;
27400}
27401
27402
c32bde28 27403static PyObject *_wrap_TreeItemData_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27404 PyObject *resultobj;
27405 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27406 wxTreeItemId *arg2 = 0 ;
27407 PyObject * obj0 = 0 ;
27408 PyObject * obj1 = 0 ;
27409 char *kwnames[] = {
27410 (char *) "self",(char *) "id", NULL
27411 };
27412
27413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27414 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27415 if (SWIG_arg_fail(1)) SWIG_fail;
27416 {
27417 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27418 if (SWIG_arg_fail(2)) SWIG_fail;
27419 if (arg2 == NULL) {
27420 SWIG_null_ref("wxTreeItemId");
27421 }
27422 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27423 }
27424 {
27425 PyThreadState* __tstate = wxPyBeginAllowThreads();
27426 (arg1)->SetId((wxTreeItemId const &)*arg2);
27427
27428 wxPyEndAllowThreads(__tstate);
27429 if (PyErr_Occurred()) SWIG_fail;
27430 }
27431 Py_INCREF(Py_None); resultobj = Py_None;
27432 return resultobj;
27433 fail:
27434 return NULL;
27435}
27436
27437
c32bde28 27438static PyObject *_wrap_TreeItemData_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27439 PyObject *resultobj;
27440 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27441 PyObject * obj0 = 0 ;
27442 char *kwnames[] = {
27443 (char *) "self", NULL
27444 };
27445
27446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
093d3ff1
RD
27447 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27448 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27449 {
27450 PyThreadState* __tstate = wxPyBeginAllowThreads();
27451 wxPyTreeItemData_Destroy(arg1);
27452
27453 wxPyEndAllowThreads(__tstate);
27454 if (PyErr_Occurred()) SWIG_fail;
27455 }
27456 Py_INCREF(Py_None); resultobj = Py_None;
27457 return resultobj;
27458 fail:
27459 return NULL;
27460}
27461
27462
c32bde28 27463static PyObject * TreeItemData_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
27464 PyObject *obj;
27465 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27466 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
27467 Py_INCREF(obj);
27468 return Py_BuildValue((char *)"");
27469}
c32bde28 27470static PyObject *_wrap_new_TreeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27471 PyObject *resultobj;
27472 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
27473 int arg2 = (int) 0 ;
27474 wxTreeEvent *result;
27475 PyObject * obj0 = 0 ;
27476 PyObject * obj1 = 0 ;
27477 char *kwnames[] = {
27478 (char *) "commandType",(char *) "id", NULL
27479 };
27480
27481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TreeEvent",kwnames,&obj0,&obj1)) goto fail;
27482 if (obj0) {
093d3ff1
RD
27483 {
27484 arg1 = (wxEventType)(SWIG_As_int(obj0));
27485 if (SWIG_arg_fail(1)) SWIG_fail;
27486 }
d55e5bfc
RD
27487 }
27488 if (obj1) {
093d3ff1
RD
27489 {
27490 arg2 = (int)(SWIG_As_int(obj1));
27491 if (SWIG_arg_fail(2)) SWIG_fail;
27492 }
d55e5bfc
RD
27493 }
27494 {
27495 PyThreadState* __tstate = wxPyBeginAllowThreads();
27496 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
27497
27498 wxPyEndAllowThreads(__tstate);
27499 if (PyErr_Occurred()) SWIG_fail;
27500 }
27501 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeEvent, 1);
27502 return resultobj;
27503 fail:
27504 return NULL;
27505}
27506
27507
c32bde28 27508static PyObject *_wrap_TreeEvent_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27509 PyObject *resultobj;
27510 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27511 wxTreeItemId result;
27512 PyObject * obj0 = 0 ;
27513 char *kwnames[] = {
27514 (char *) "self", NULL
27515 };
27516
27517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
093d3ff1
RD
27518 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27519 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27520 {
27521 PyThreadState* __tstate = wxPyBeginAllowThreads();
27522 result = ((wxTreeEvent const *)arg1)->GetItem();
27523
27524 wxPyEndAllowThreads(__tstate);
27525 if (PyErr_Occurred()) SWIG_fail;
27526 }
27527 {
27528 wxTreeItemId * resultptr;
093d3ff1 27529 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
27530 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27531 }
27532 return resultobj;
27533 fail:
27534 return NULL;
27535}
27536
27537
c32bde28 27538static PyObject *_wrap_TreeEvent_SetItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27539 PyObject *resultobj;
27540 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27541 wxTreeItemId *arg2 = 0 ;
27542 PyObject * obj0 = 0 ;
27543 PyObject * obj1 = 0 ;
27544 char *kwnames[] = {
27545 (char *) "self",(char *) "item", NULL
27546 };
27547
27548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27549 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27550 if (SWIG_arg_fail(1)) SWIG_fail;
27551 {
27552 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27553 if (SWIG_arg_fail(2)) SWIG_fail;
27554 if (arg2 == NULL) {
27555 SWIG_null_ref("wxTreeItemId");
27556 }
27557 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27558 }
27559 {
27560 PyThreadState* __tstate = wxPyBeginAllowThreads();
27561 (arg1)->SetItem((wxTreeItemId const &)*arg2);
27562
27563 wxPyEndAllowThreads(__tstate);
27564 if (PyErr_Occurred()) SWIG_fail;
27565 }
27566 Py_INCREF(Py_None); resultobj = Py_None;
27567 return resultobj;
27568 fail:
27569 return NULL;
27570}
27571
27572
c32bde28 27573static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27574 PyObject *resultobj;
27575 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27576 wxTreeItemId result;
27577 PyObject * obj0 = 0 ;
27578 char *kwnames[] = {
27579 (char *) "self", NULL
27580 };
27581
27582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
093d3ff1
RD
27583 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27584 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27585 {
27586 PyThreadState* __tstate = wxPyBeginAllowThreads();
27587 result = ((wxTreeEvent const *)arg1)->GetOldItem();
27588
27589 wxPyEndAllowThreads(__tstate);
27590 if (PyErr_Occurred()) SWIG_fail;
27591 }
27592 {
27593 wxTreeItemId * resultptr;
093d3ff1 27594 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
27595 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27596 }
27597 return resultobj;
27598 fail:
27599 return NULL;
27600}
27601
27602
c32bde28 27603static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27604 PyObject *resultobj;
27605 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27606 wxTreeItemId *arg2 = 0 ;
27607 PyObject * obj0 = 0 ;
27608 PyObject * obj1 = 0 ;
27609 char *kwnames[] = {
27610 (char *) "self",(char *) "item", NULL
27611 };
27612
27613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27614 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27615 if (SWIG_arg_fail(1)) SWIG_fail;
27616 {
27617 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27618 if (SWIG_arg_fail(2)) SWIG_fail;
27619 if (arg2 == NULL) {
27620 SWIG_null_ref("wxTreeItemId");
27621 }
27622 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27623 }
27624 {
27625 PyThreadState* __tstate = wxPyBeginAllowThreads();
27626 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
27627
27628 wxPyEndAllowThreads(__tstate);
27629 if (PyErr_Occurred()) SWIG_fail;
27630 }
27631 Py_INCREF(Py_None); resultobj = Py_None;
27632 return resultobj;
27633 fail:
27634 return NULL;
27635}
27636
27637
c32bde28 27638static PyObject *_wrap_TreeEvent_GetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27639 PyObject *resultobj;
27640 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27641 wxPoint result;
27642 PyObject * obj0 = 0 ;
27643 char *kwnames[] = {
27644 (char *) "self", NULL
27645 };
27646
27647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",kwnames,&obj0)) goto fail;
093d3ff1
RD
27648 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27649 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27650 {
27651 PyThreadState* __tstate = wxPyBeginAllowThreads();
27652 result = ((wxTreeEvent const *)arg1)->GetPoint();
27653
27654 wxPyEndAllowThreads(__tstate);
27655 if (PyErr_Occurred()) SWIG_fail;
27656 }
27657 {
27658 wxPoint * resultptr;
093d3ff1 27659 resultptr = new wxPoint((wxPoint &)(result));
d55e5bfc
RD
27660 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
27661 }
27662 return resultobj;
27663 fail:
27664 return NULL;
27665}
27666
27667
c32bde28 27668static PyObject *_wrap_TreeEvent_SetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27669 PyObject *resultobj;
27670 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27671 wxPoint *arg2 = 0 ;
27672 wxPoint temp2 ;
27673 PyObject * obj0 = 0 ;
27674 PyObject * obj1 = 0 ;
27675 char *kwnames[] = {
27676 (char *) "self",(char *) "pt", NULL
27677 };
27678
27679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27680 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27681 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27682 {
27683 arg2 = &temp2;
27684 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
27685 }
27686 {
27687 PyThreadState* __tstate = wxPyBeginAllowThreads();
27688 (arg1)->SetPoint((wxPoint const &)*arg2);
27689
27690 wxPyEndAllowThreads(__tstate);
27691 if (PyErr_Occurred()) SWIG_fail;
27692 }
27693 Py_INCREF(Py_None); resultobj = Py_None;
27694 return resultobj;
27695 fail:
27696 return NULL;
27697}
27698
27699
c32bde28 27700static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27701 PyObject *resultobj;
27702 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27703 wxKeyEvent *result;
27704 PyObject * obj0 = 0 ;
27705 char *kwnames[] = {
27706 (char *) "self", NULL
27707 };
27708
27709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",kwnames,&obj0)) goto fail;
093d3ff1
RD
27710 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27711 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27712 {
27713 PyThreadState* __tstate = wxPyBeginAllowThreads();
27714 {
27715 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
27716 result = (wxKeyEvent *) &_result_ref;
27717 }
27718
27719 wxPyEndAllowThreads(__tstate);
27720 if (PyErr_Occurred()) SWIG_fail;
27721 }
27722 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxKeyEvent, 0);
27723 return resultobj;
27724 fail:
27725 return NULL;
27726}
27727
27728
c32bde28 27729static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27730 PyObject *resultobj;
27731 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27732 int result;
27733 PyObject * obj0 = 0 ;
27734 char *kwnames[] = {
27735 (char *) "self", NULL
27736 };
27737
27738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",kwnames,&obj0)) goto fail;
093d3ff1
RD
27739 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27740 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27741 {
27742 PyThreadState* __tstate = wxPyBeginAllowThreads();
27743 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
27744
27745 wxPyEndAllowThreads(__tstate);
27746 if (PyErr_Occurred()) SWIG_fail;
27747 }
093d3ff1
RD
27748 {
27749 resultobj = SWIG_From_int((int)(result));
27750 }
d55e5bfc
RD
27751 return resultobj;
27752 fail:
27753 return NULL;
27754}
27755
27756
c32bde28 27757static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27758 PyObject *resultobj;
27759 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27760 wxKeyEvent *arg2 = 0 ;
27761 PyObject * obj0 = 0 ;
27762 PyObject * obj1 = 0 ;
27763 char *kwnames[] = {
27764 (char *) "self",(char *) "evt", NULL
27765 };
27766
27767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27768 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27769 if (SWIG_arg_fail(1)) SWIG_fail;
27770 {
27771 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
27772 if (SWIG_arg_fail(2)) SWIG_fail;
27773 if (arg2 == NULL) {
27774 SWIG_null_ref("wxKeyEvent");
27775 }
27776 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27777 }
27778 {
27779 PyThreadState* __tstate = wxPyBeginAllowThreads();
27780 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
27781
27782 wxPyEndAllowThreads(__tstate);
27783 if (PyErr_Occurred()) SWIG_fail;
27784 }
27785 Py_INCREF(Py_None); resultobj = Py_None;
27786 return resultobj;
27787 fail:
27788 return NULL;
27789}
27790
27791
c32bde28 27792static PyObject *_wrap_TreeEvent_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27793 PyObject *resultobj;
27794 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27795 wxString *result;
27796 PyObject * obj0 = 0 ;
27797 char *kwnames[] = {
27798 (char *) "self", NULL
27799 };
27800
27801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",kwnames,&obj0)) goto fail;
093d3ff1
RD
27802 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27803 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27804 {
27805 PyThreadState* __tstate = wxPyBeginAllowThreads();
27806 {
27807 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
27808 result = (wxString *) &_result_ref;
27809 }
27810
27811 wxPyEndAllowThreads(__tstate);
27812 if (PyErr_Occurred()) SWIG_fail;
27813 }
27814 {
27815#if wxUSE_UNICODE
27816 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
27817#else
27818 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
27819#endif
27820 }
27821 return resultobj;
27822 fail:
27823 return NULL;
27824}
27825
27826
c32bde28 27827static PyObject *_wrap_TreeEvent_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27828 PyObject *resultobj;
27829 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27830 wxString *arg2 = 0 ;
ae8162c8 27831 bool temp2 = false ;
d55e5bfc
RD
27832 PyObject * obj0 = 0 ;
27833 PyObject * obj1 = 0 ;
27834 char *kwnames[] = {
27835 (char *) "self",(char *) "label", NULL
27836 };
27837
27838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27839 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27840 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27841 {
27842 arg2 = wxString_in_helper(obj1);
27843 if (arg2 == NULL) SWIG_fail;
ae8162c8 27844 temp2 = true;
d55e5bfc
RD
27845 }
27846 {
27847 PyThreadState* __tstate = wxPyBeginAllowThreads();
27848 (arg1)->SetLabel((wxString const &)*arg2);
27849
27850 wxPyEndAllowThreads(__tstate);
27851 if (PyErr_Occurred()) SWIG_fail;
27852 }
27853 Py_INCREF(Py_None); resultobj = Py_None;
27854 {
27855 if (temp2)
27856 delete arg2;
27857 }
27858 return resultobj;
27859 fail:
27860 {
27861 if (temp2)
27862 delete arg2;
27863 }
27864 return NULL;
27865}
27866
27867
c32bde28 27868static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27869 PyObject *resultobj;
27870 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27871 bool result;
27872 PyObject * obj0 = 0 ;
27873 char *kwnames[] = {
27874 (char *) "self", NULL
27875 };
27876
27877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
093d3ff1
RD
27878 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27879 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27880 {
27881 PyThreadState* __tstate = wxPyBeginAllowThreads();
27882 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
27883
27884 wxPyEndAllowThreads(__tstate);
27885 if (PyErr_Occurred()) SWIG_fail;
27886 }
27887 {
27888 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27889 }
27890 return resultobj;
27891 fail:
27892 return NULL;
27893}
27894
27895
c32bde28 27896static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27897 PyObject *resultobj;
27898 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27899 bool arg2 ;
27900 PyObject * obj0 = 0 ;
27901 PyObject * obj1 = 0 ;
27902 char *kwnames[] = {
27903 (char *) "self",(char *) "editCancelled", NULL
27904 };
27905
27906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27907 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27908 if (SWIG_arg_fail(1)) SWIG_fail;
27909 {
27910 arg2 = (bool)(SWIG_As_bool(obj1));
27911 if (SWIG_arg_fail(2)) SWIG_fail;
27912 }
d55e5bfc
RD
27913 {
27914 PyThreadState* __tstate = wxPyBeginAllowThreads();
27915 (arg1)->SetEditCanceled(arg2);
27916
27917 wxPyEndAllowThreads(__tstate);
27918 if (PyErr_Occurred()) SWIG_fail;
27919 }
27920 Py_INCREF(Py_None); resultobj = Py_None;
27921 return resultobj;
27922 fail:
27923 return NULL;
27924}
27925
27926
c32bde28 27927static PyObject *_wrap_TreeEvent_SetToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27928 PyObject *resultobj;
27929 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27930 wxString *arg2 = 0 ;
ae8162c8 27931 bool temp2 = false ;
d55e5bfc
RD
27932 PyObject * obj0 = 0 ;
27933 PyObject * obj1 = 0 ;
27934 char *kwnames[] = {
27935 (char *) "self",(char *) "toolTip", NULL
27936 };
27937
27938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27939 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27940 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27941 {
27942 arg2 = wxString_in_helper(obj1);
27943 if (arg2 == NULL) SWIG_fail;
ae8162c8 27944 temp2 = true;
d55e5bfc
RD
27945 }
27946 {
27947 PyThreadState* __tstate = wxPyBeginAllowThreads();
27948 (arg1)->SetToolTip((wxString const &)*arg2);
27949
27950 wxPyEndAllowThreads(__tstate);
27951 if (PyErr_Occurred()) SWIG_fail;
27952 }
27953 Py_INCREF(Py_None); resultobj = Py_None;
27954 {
27955 if (temp2)
27956 delete arg2;
27957 }
27958 return resultobj;
27959 fail:
27960 {
27961 if (temp2)
27962 delete arg2;
27963 }
27964 return NULL;
27965}
27966
27967
dcb8fc74
RD
27968static PyObject *_wrap_TreeEvent_GetToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
27969 PyObject *resultobj;
27970 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27971 wxString result;
27972 PyObject * obj0 = 0 ;
27973 char *kwnames[] = {
27974 (char *) "self", NULL
27975 };
27976
27977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetToolTip",kwnames,&obj0)) goto fail;
27978 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27979 if (SWIG_arg_fail(1)) SWIG_fail;
27980 {
27981 PyThreadState* __tstate = wxPyBeginAllowThreads();
27982 result = (arg1)->GetToolTip();
27983
27984 wxPyEndAllowThreads(__tstate);
27985 if (PyErr_Occurred()) SWIG_fail;
27986 }
27987 {
27988#if wxUSE_UNICODE
27989 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27990#else
27991 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27992#endif
27993 }
27994 return resultobj;
27995 fail:
27996 return NULL;
27997}
27998
27999
c32bde28 28000static PyObject * TreeEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
28001 PyObject *obj;
28002 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28003 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
28004 Py_INCREF(obj);
28005 return Py_BuildValue((char *)"");
28006}
c32bde28 28007static PyObject *_wrap_new_TreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28008 PyObject *resultobj;
28009 wxWindow *arg1 = (wxWindow *) 0 ;
28010 int arg2 = (int) -1 ;
28011 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28012 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28013 wxSize const &arg4_defvalue = wxDefaultSize ;
28014 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28015 long arg5 = (long) wxTR_DEFAULT_STYLE ;
28016 wxValidator const &arg6_defvalue = wxDefaultValidator ;
28017 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
28018 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
28019 wxString *arg7 = (wxString *) &arg7_defvalue ;
28020 wxPyTreeCtrl *result;
28021 wxPoint temp3 ;
28022 wxSize temp4 ;
ae8162c8 28023 bool temp7 = false ;
d55e5bfc
RD
28024 PyObject * obj0 = 0 ;
28025 PyObject * obj1 = 0 ;
28026 PyObject * obj2 = 0 ;
28027 PyObject * obj3 = 0 ;
28028 PyObject * obj4 = 0 ;
28029 PyObject * obj5 = 0 ;
28030 PyObject * obj6 = 0 ;
28031 char *kwnames[] = {
28032 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28033 };
28034
28035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
28036 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28037 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 28038 if (obj1) {
093d3ff1
RD
28039 {
28040 arg2 = (int)(SWIG_As_int(obj1));
28041 if (SWIG_arg_fail(2)) SWIG_fail;
28042 }
d55e5bfc
RD
28043 }
28044 if (obj2) {
28045 {
28046 arg3 = &temp3;
28047 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28048 }
28049 }
28050 if (obj3) {
28051 {
28052 arg4 = &temp4;
28053 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
28054 }
28055 }
28056 if (obj4) {
093d3ff1
RD
28057 {
28058 arg5 = (long)(SWIG_As_long(obj4));
28059 if (SWIG_arg_fail(5)) SWIG_fail;
28060 }
d55e5bfc
RD
28061 }
28062 if (obj5) {
093d3ff1
RD
28063 {
28064 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
28065 if (SWIG_arg_fail(6)) SWIG_fail;
28066 if (arg6 == NULL) {
28067 SWIG_null_ref("wxValidator");
28068 }
28069 if (SWIG_arg_fail(6)) SWIG_fail;
d55e5bfc
RD
28070 }
28071 }
28072 if (obj6) {
28073 {
28074 arg7 = wxString_in_helper(obj6);
28075 if (arg7 == NULL) SWIG_fail;
ae8162c8 28076 temp7 = true;
d55e5bfc
RD
28077 }
28078 }
28079 {
0439c23b 28080 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
28081 PyThreadState* __tstate = wxPyBeginAllowThreads();
28082 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
28083
28084 wxPyEndAllowThreads(__tstate);
110da5b0 28085 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 28086 }
b0f7404b 28087 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeCtrl, 1);
d55e5bfc
RD
28088 {
28089 if (temp7)
28090 delete arg7;
28091 }
28092 return resultobj;
28093 fail:
28094 {
28095 if (temp7)
28096 delete arg7;
28097 }
28098 return NULL;
28099}
28100
28101
c32bde28 28102static PyObject *_wrap_new_PreTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28103 PyObject *resultobj;
28104 wxPyTreeCtrl *result;
28105 char *kwnames[] = {
28106 NULL
28107 };
28108
28109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
28110 {
0439c23b 28111 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
28112 PyThreadState* __tstate = wxPyBeginAllowThreads();
28113 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
28114
28115 wxPyEndAllowThreads(__tstate);
110da5b0 28116 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 28117 }
b0f7404b 28118 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeCtrl, 1);
d55e5bfc
RD
28119 return resultobj;
28120 fail:
28121 return NULL;
28122}
28123
28124
c32bde28 28125static PyObject *_wrap_TreeCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28126 PyObject *resultobj;
28127 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28128 wxWindow *arg2 = (wxWindow *) 0 ;
28129 int arg3 = (int) -1 ;
28130 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28131 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28132 wxSize const &arg5_defvalue = wxDefaultSize ;
28133 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28134 long arg6 = (long) wxTR_DEFAULT_STYLE ;
28135 wxValidator const &arg7_defvalue = wxDefaultValidator ;
28136 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
28137 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
28138 wxString *arg8 = (wxString *) &arg8_defvalue ;
28139 bool result;
28140 wxPoint temp4 ;
28141 wxSize temp5 ;
ae8162c8 28142 bool temp8 = false ;
d55e5bfc
RD
28143 PyObject * obj0 = 0 ;
28144 PyObject * obj1 = 0 ;
28145 PyObject * obj2 = 0 ;
28146 PyObject * obj3 = 0 ;
28147 PyObject * obj4 = 0 ;
28148 PyObject * obj5 = 0 ;
28149 PyObject * obj6 = 0 ;
28150 PyObject * obj7 = 0 ;
28151 char *kwnames[] = {
28152 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28153 };
28154
28155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
28156 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28157 if (SWIG_arg_fail(1)) SWIG_fail;
28158 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28159 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 28160 if (obj2) {
093d3ff1
RD
28161 {
28162 arg3 = (int)(SWIG_As_int(obj2));
28163 if (SWIG_arg_fail(3)) SWIG_fail;
28164 }
d55e5bfc
RD
28165 }
28166 if (obj3) {
28167 {
28168 arg4 = &temp4;
28169 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28170 }
28171 }
28172 if (obj4) {
28173 {
28174 arg5 = &temp5;
28175 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28176 }
28177 }
28178 if (obj5) {
093d3ff1
RD
28179 {
28180 arg6 = (long)(SWIG_As_long(obj5));
28181 if (SWIG_arg_fail(6)) SWIG_fail;
28182 }
d55e5bfc
RD
28183 }
28184 if (obj6) {
093d3ff1
RD
28185 {
28186 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
28187 if (SWIG_arg_fail(7)) SWIG_fail;
28188 if (arg7 == NULL) {
28189 SWIG_null_ref("wxValidator");
28190 }
28191 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
28192 }
28193 }
28194 if (obj7) {
28195 {
28196 arg8 = wxString_in_helper(obj7);
28197 if (arg8 == NULL) SWIG_fail;
ae8162c8 28198 temp8 = true;
d55e5bfc
RD
28199 }
28200 }
28201 {
28202 PyThreadState* __tstate = wxPyBeginAllowThreads();
28203 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
28204
28205 wxPyEndAllowThreads(__tstate);
28206 if (PyErr_Occurred()) SWIG_fail;
28207 }
28208 {
28209 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28210 }
28211 {
28212 if (temp8)
28213 delete arg8;
28214 }
28215 return resultobj;
28216 fail:
28217 {
28218 if (temp8)
28219 delete arg8;
28220 }
28221 return NULL;
28222}
28223
28224
c32bde28 28225static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28226 PyObject *resultobj;
28227 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28228 PyObject *arg2 = (PyObject *) 0 ;
28229 PyObject *arg3 = (PyObject *) 0 ;
28230 PyObject * obj0 = 0 ;
28231 PyObject * obj1 = 0 ;
28232 PyObject * obj2 = 0 ;
28233 char *kwnames[] = {
28234 (char *) "self",(char *) "self",(char *) "_class", NULL
28235 };
28236
28237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
28238 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28239 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28240 arg2 = obj1;
28241 arg3 = obj2;
28242 {
28243 PyThreadState* __tstate = wxPyBeginAllowThreads();
28244 (arg1)->_setCallbackInfo(arg2,arg3);
28245
28246 wxPyEndAllowThreads(__tstate);
28247 if (PyErr_Occurred()) SWIG_fail;
28248 }
28249 Py_INCREF(Py_None); resultobj = Py_None;
28250 return resultobj;
28251 fail:
28252 return NULL;
28253}
28254
28255
c32bde28 28256static PyObject *_wrap_TreeCtrl_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28257 PyObject *resultobj;
28258 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28259 size_t result;
28260 PyObject * obj0 = 0 ;
28261 char *kwnames[] = {
28262 (char *) "self", NULL
28263 };
28264
28265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
28266 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28267 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28268 {
28269 PyThreadState* __tstate = wxPyBeginAllowThreads();
28270 result = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
28271
28272 wxPyEndAllowThreads(__tstate);
28273 if (PyErr_Occurred()) SWIG_fail;
28274 }
093d3ff1
RD
28275 {
28276 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
28277 }
d55e5bfc
RD
28278 return resultobj;
28279 fail:
28280 return NULL;
28281}
28282
28283
c32bde28 28284static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28285 PyObject *resultobj;
28286 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28287 unsigned int result;
28288 PyObject * obj0 = 0 ;
28289 char *kwnames[] = {
28290 (char *) "self", NULL
28291 };
28292
28293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
093d3ff1
RD
28294 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28295 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28296 {
28297 PyThreadState* __tstate = wxPyBeginAllowThreads();
28298 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
28299
28300 wxPyEndAllowThreads(__tstate);
28301 if (PyErr_Occurred()) SWIG_fail;
28302 }
093d3ff1
RD
28303 {
28304 resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result));
28305 }
d55e5bfc
RD
28306 return resultobj;
28307 fail:
28308 return NULL;
28309}
28310
28311
c32bde28 28312static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28313 PyObject *resultobj;
28314 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28315 unsigned int arg2 ;
28316 PyObject * obj0 = 0 ;
28317 PyObject * obj1 = 0 ;
28318 char *kwnames[] = {
28319 (char *) "self",(char *) "indent", NULL
28320 };
28321
28322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28323 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28324 if (SWIG_arg_fail(1)) SWIG_fail;
28325 {
28326 arg2 = (unsigned int)(SWIG_As_unsigned_SS_int(obj1));
28327 if (SWIG_arg_fail(2)) SWIG_fail;
28328 }
d55e5bfc
RD
28329 {
28330 PyThreadState* __tstate = wxPyBeginAllowThreads();
28331 (arg1)->SetIndent(arg2);
28332
28333 wxPyEndAllowThreads(__tstate);
28334 if (PyErr_Occurred()) SWIG_fail;
28335 }
28336 Py_INCREF(Py_None); resultobj = Py_None;
28337 return resultobj;
28338 fail:
28339 return NULL;
28340}
28341
28342
c32bde28 28343static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28344 PyObject *resultobj;
28345 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28346 unsigned int result;
28347 PyObject * obj0 = 0 ;
28348 char *kwnames[] = {
28349 (char *) "self", NULL
28350 };
28351
28352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",kwnames,&obj0)) goto fail;
093d3ff1
RD
28353 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28354 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28355 {
28356 PyThreadState* __tstate = wxPyBeginAllowThreads();
28357 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
28358
28359 wxPyEndAllowThreads(__tstate);
28360 if (PyErr_Occurred()) SWIG_fail;
28361 }
093d3ff1
RD
28362 {
28363 resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result));
28364 }
d55e5bfc
RD
28365 return resultobj;
28366 fail:
28367 return NULL;
28368}
28369
28370
c32bde28 28371static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28372 PyObject *resultobj;
28373 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28374 unsigned int arg2 ;
28375 PyObject * obj0 = 0 ;
28376 PyObject * obj1 = 0 ;
28377 char *kwnames[] = {
28378 (char *) "self",(char *) "spacing", NULL
28379 };
28380
28381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28382 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28383 if (SWIG_arg_fail(1)) SWIG_fail;
28384 {
28385 arg2 = (unsigned int)(SWIG_As_unsigned_SS_int(obj1));
28386 if (SWIG_arg_fail(2)) SWIG_fail;
28387 }
d55e5bfc
RD
28388 {
28389 PyThreadState* __tstate = wxPyBeginAllowThreads();
28390 (arg1)->SetSpacing(arg2);
28391
28392 wxPyEndAllowThreads(__tstate);
28393 if (PyErr_Occurred()) SWIG_fail;
28394 }
28395 Py_INCREF(Py_None); resultobj = Py_None;
28396 return resultobj;
28397 fail:
28398 return NULL;
28399}
28400
28401
c32bde28 28402static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28403 PyObject *resultobj;
28404 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28405 wxImageList *result;
28406 PyObject * obj0 = 0 ;
28407 char *kwnames[] = {
28408 (char *) "self", NULL
28409 };
28410
28411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) goto fail;
093d3ff1
RD
28412 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28413 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28414 {
28415 PyThreadState* __tstate = wxPyBeginAllowThreads();
28416 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
28417
28418 wxPyEndAllowThreads(__tstate);
28419 if (PyErr_Occurred()) SWIG_fail;
28420 }
28421 {
412d302d 28422 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
28423 }
28424 return resultobj;
28425 fail:
28426 return NULL;
28427}
28428
28429
c32bde28 28430static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28431 PyObject *resultobj;
28432 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28433 wxImageList *result;
28434 PyObject * obj0 = 0 ;
28435 char *kwnames[] = {
28436 (char *) "self", NULL
28437 };
28438
28439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
093d3ff1
RD
28440 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28441 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28442 {
28443 PyThreadState* __tstate = wxPyBeginAllowThreads();
28444 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
28445
28446 wxPyEndAllowThreads(__tstate);
28447 if (PyErr_Occurred()) SWIG_fail;
28448 }
28449 {
412d302d 28450 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
28451 }
28452 return resultobj;
28453 fail:
28454 return NULL;
28455}
28456
28457
c32bde28 28458static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28459 PyObject *resultobj;
28460 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28461 wxImageList *arg2 = (wxImageList *) 0 ;
28462 PyObject * obj0 = 0 ;
28463 PyObject * obj1 = 0 ;
28464 char *kwnames[] = {
28465 (char *) "self",(char *) "imageList", NULL
28466 };
28467
28468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28469 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28470 if (SWIG_arg_fail(1)) SWIG_fail;
28471 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
28472 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28473 {
28474 PyThreadState* __tstate = wxPyBeginAllowThreads();
28475 (arg1)->SetImageList(arg2);
28476
28477 wxPyEndAllowThreads(__tstate);
28478 if (PyErr_Occurred()) SWIG_fail;
28479 }
28480 Py_INCREF(Py_None); resultobj = Py_None;
28481 return resultobj;
28482 fail:
28483 return NULL;
28484}
28485
28486
c32bde28 28487static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28488 PyObject *resultobj;
28489 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28490 wxImageList *arg2 = (wxImageList *) 0 ;
28491 PyObject * obj0 = 0 ;
28492 PyObject * obj1 = 0 ;
28493 char *kwnames[] = {
28494 (char *) "self",(char *) "imageList", NULL
28495 };
28496
28497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28498 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28499 if (SWIG_arg_fail(1)) SWIG_fail;
28500 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
28501 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28502 {
28503 PyThreadState* __tstate = wxPyBeginAllowThreads();
28504 (arg1)->SetStateImageList(arg2);
28505
28506 wxPyEndAllowThreads(__tstate);
28507 if (PyErr_Occurred()) SWIG_fail;
28508 }
28509 Py_INCREF(Py_None); resultobj = Py_None;
28510 return resultobj;
28511 fail:
28512 return NULL;
28513}
28514
28515
c32bde28 28516static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28517 PyObject *resultobj;
28518 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28519 wxImageList *arg2 = (wxImageList *) 0 ;
28520 PyObject * obj0 = 0 ;
28521 PyObject * obj1 = 0 ;
28522 char *kwnames[] = {
28523 (char *) "self",(char *) "imageList", NULL
28524 };
28525
28526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28527 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28528 if (SWIG_arg_fail(1)) SWIG_fail;
28529 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
28530 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28531 {
28532 PyThreadState* __tstate = wxPyBeginAllowThreads();
28533 (arg1)->AssignImageList(arg2);
28534
28535 wxPyEndAllowThreads(__tstate);
28536 if (PyErr_Occurred()) SWIG_fail;
28537 }
28538 Py_INCREF(Py_None); resultobj = Py_None;
28539 return resultobj;
28540 fail:
28541 return NULL;
28542}
28543
28544
c32bde28 28545static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28546 PyObject *resultobj;
28547 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28548 wxImageList *arg2 = (wxImageList *) 0 ;
28549 PyObject * obj0 = 0 ;
28550 PyObject * obj1 = 0 ;
28551 char *kwnames[] = {
28552 (char *) "self",(char *) "imageList", NULL
28553 };
28554
28555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28556 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28557 if (SWIG_arg_fail(1)) SWIG_fail;
28558 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
28559 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28560 {
28561 PyThreadState* __tstate = wxPyBeginAllowThreads();
28562 (arg1)->AssignStateImageList(arg2);
28563
28564 wxPyEndAllowThreads(__tstate);
28565 if (PyErr_Occurred()) SWIG_fail;
28566 }
28567 Py_INCREF(Py_None); resultobj = Py_None;
28568 return resultobj;
28569 fail:
28570 return NULL;
28571}
28572
28573
c32bde28 28574static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28575 PyObject *resultobj;
28576 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28577 wxTreeItemId *arg2 = 0 ;
28578 wxString result;
28579 PyObject * obj0 = 0 ;
28580 PyObject * obj1 = 0 ;
28581 char *kwnames[] = {
28582 (char *) "self",(char *) "item", NULL
28583 };
28584
28585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28586 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28587 if (SWIG_arg_fail(1)) SWIG_fail;
28588 {
28589 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28590 if (SWIG_arg_fail(2)) SWIG_fail;
28591 if (arg2 == NULL) {
28592 SWIG_null_ref("wxTreeItemId");
28593 }
28594 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28595 }
28596 {
28597 PyThreadState* __tstate = wxPyBeginAllowThreads();
28598 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
28599
28600 wxPyEndAllowThreads(__tstate);
28601 if (PyErr_Occurred()) SWIG_fail;
28602 }
28603 {
28604#if wxUSE_UNICODE
28605 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28606#else
28607 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28608#endif
28609 }
28610 return resultobj;
28611 fail:
28612 return NULL;
28613}
28614
28615
c32bde28 28616static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28617 PyObject *resultobj;
28618 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28619 wxTreeItemId *arg2 = 0 ;
093d3ff1 28620 wxTreeItemIcon arg3 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
d55e5bfc
RD
28621 int result;
28622 PyObject * obj0 = 0 ;
28623 PyObject * obj1 = 0 ;
28624 PyObject * obj2 = 0 ;
28625 char *kwnames[] = {
28626 (char *) "self",(char *) "item",(char *) "which", NULL
28627 };
28628
28629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
28630 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28631 if (SWIG_arg_fail(1)) SWIG_fail;
28632 {
28633 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28634 if (SWIG_arg_fail(2)) SWIG_fail;
28635 if (arg2 == NULL) {
28636 SWIG_null_ref("wxTreeItemId");
28637 }
28638 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28639 }
28640 if (obj2) {
093d3ff1
RD
28641 {
28642 arg3 = (wxTreeItemIcon)(SWIG_As_int(obj2));
28643 if (SWIG_arg_fail(3)) SWIG_fail;
28644 }
d55e5bfc
RD
28645 }
28646 {
28647 PyThreadState* __tstate = wxPyBeginAllowThreads();
28648 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,(wxTreeItemIcon )arg3);
28649
28650 wxPyEndAllowThreads(__tstate);
28651 if (PyErr_Occurred()) SWIG_fail;
28652 }
093d3ff1
RD
28653 {
28654 resultobj = SWIG_From_int((int)(result));
28655 }
d55e5bfc
RD
28656 return resultobj;
28657 fail:
28658 return NULL;
28659}
28660
28661
c32bde28 28662static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28663 PyObject *resultobj;
28664 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28665 wxTreeItemId *arg2 = 0 ;
28666 wxPyTreeItemData *result;
28667 PyObject * obj0 = 0 ;
28668 PyObject * obj1 = 0 ;
28669 char *kwnames[] = {
28670 (char *) "self",(char *) "item", NULL
28671 };
28672
28673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28674 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28675 if (SWIG_arg_fail(1)) SWIG_fail;
28676 {
28677 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28678 if (SWIG_arg_fail(2)) SWIG_fail;
28679 if (arg2 == NULL) {
28680 SWIG_null_ref("wxTreeItemId");
28681 }
28682 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28683 }
28684 {
28685 PyThreadState* __tstate = wxPyBeginAllowThreads();
28686 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
28687
28688 wxPyEndAllowThreads(__tstate);
28689 if (PyErr_Occurred()) SWIG_fail;
28690 }
28691 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 0);
28692 return resultobj;
28693 fail:
28694 return NULL;
28695}
28696
28697
c32bde28 28698static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28699 PyObject *resultobj;
28700 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28701 wxTreeItemId *arg2 = 0 ;
28702 PyObject *result;
28703 PyObject * obj0 = 0 ;
28704 PyObject * obj1 = 0 ;
28705 char *kwnames[] = {
28706 (char *) "self",(char *) "item", NULL
28707 };
28708
28709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28710 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28711 if (SWIG_arg_fail(1)) SWIG_fail;
28712 {
28713 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28714 if (SWIG_arg_fail(2)) SWIG_fail;
28715 if (arg2 == NULL) {
28716 SWIG_null_ref("wxTreeItemId");
28717 }
28718 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28719 }
28720 {
28721 PyThreadState* __tstate = wxPyBeginAllowThreads();
28722 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
28723
28724 wxPyEndAllowThreads(__tstate);
28725 if (PyErr_Occurred()) SWIG_fail;
28726 }
28727 resultobj = result;
28728 return resultobj;
28729 fail:
28730 return NULL;
28731}
28732
28733
c32bde28 28734static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28735 PyObject *resultobj;
28736 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28737 wxTreeItemId *arg2 = 0 ;
28738 wxColour result;
28739 PyObject * obj0 = 0 ;
28740 PyObject * obj1 = 0 ;
28741 char *kwnames[] = {
28742 (char *) "self",(char *) "item", NULL
28743 };
28744
28745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28746 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28747 if (SWIG_arg_fail(1)) SWIG_fail;
28748 {
28749 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28750 if (SWIG_arg_fail(2)) SWIG_fail;
28751 if (arg2 == NULL) {
28752 SWIG_null_ref("wxTreeItemId");
28753 }
28754 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28755 }
28756 {
28757 PyThreadState* __tstate = wxPyBeginAllowThreads();
28758 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
28759
28760 wxPyEndAllowThreads(__tstate);
28761 if (PyErr_Occurred()) SWIG_fail;
28762 }
28763 {
28764 wxColour * resultptr;
093d3ff1 28765 resultptr = new wxColour((wxColour &)(result));
d55e5bfc
RD
28766 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
28767 }
28768 return resultobj;
28769 fail:
28770 return NULL;
28771}
28772
28773
c32bde28 28774static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28775 PyObject *resultobj;
28776 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28777 wxTreeItemId *arg2 = 0 ;
28778 wxColour result;
28779 PyObject * obj0 = 0 ;
28780 PyObject * obj1 = 0 ;
28781 char *kwnames[] = {
28782 (char *) "self",(char *) "item", NULL
28783 };
28784
28785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28786 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28787 if (SWIG_arg_fail(1)) SWIG_fail;
28788 {
28789 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28790 if (SWIG_arg_fail(2)) SWIG_fail;
28791 if (arg2 == NULL) {
28792 SWIG_null_ref("wxTreeItemId");
28793 }
28794 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28795 }
28796 {
28797 PyThreadState* __tstate = wxPyBeginAllowThreads();
28798 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
28799
28800 wxPyEndAllowThreads(__tstate);
28801 if (PyErr_Occurred()) SWIG_fail;
28802 }
28803 {
28804 wxColour * resultptr;
093d3ff1 28805 resultptr = new wxColour((wxColour &)(result));
d55e5bfc
RD
28806 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
28807 }
28808 return resultobj;
28809 fail:
28810 return NULL;
28811}
28812
28813
c32bde28 28814static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28815 PyObject *resultobj;
28816 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28817 wxTreeItemId *arg2 = 0 ;
28818 wxFont result;
28819 PyObject * obj0 = 0 ;
28820 PyObject * obj1 = 0 ;
28821 char *kwnames[] = {
28822 (char *) "self",(char *) "item", NULL
28823 };
28824
28825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28826 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28827 if (SWIG_arg_fail(1)) SWIG_fail;
28828 {
28829 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28830 if (SWIG_arg_fail(2)) SWIG_fail;
28831 if (arg2 == NULL) {
28832 SWIG_null_ref("wxTreeItemId");
28833 }
28834 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28835 }
28836 {
28837 PyThreadState* __tstate = wxPyBeginAllowThreads();
28838 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
28839
28840 wxPyEndAllowThreads(__tstate);
28841 if (PyErr_Occurred()) SWIG_fail;
28842 }
28843 {
28844 wxFont * resultptr;
093d3ff1 28845 resultptr = new wxFont((wxFont &)(result));
d55e5bfc
RD
28846 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
28847 }
28848 return resultobj;
28849 fail:
28850 return NULL;
28851}
28852
28853
c32bde28 28854static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28855 PyObject *resultobj;
28856 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28857 wxTreeItemId *arg2 = 0 ;
28858 wxString *arg3 = 0 ;
ae8162c8 28859 bool temp3 = false ;
d55e5bfc
RD
28860 PyObject * obj0 = 0 ;
28861 PyObject * obj1 = 0 ;
28862 PyObject * obj2 = 0 ;
28863 char *kwnames[] = {
28864 (char *) "self",(char *) "item",(char *) "text", NULL
28865 };
28866
28867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
28868 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28869 if (SWIG_arg_fail(1)) SWIG_fail;
28870 {
28871 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28872 if (SWIG_arg_fail(2)) SWIG_fail;
28873 if (arg2 == NULL) {
28874 SWIG_null_ref("wxTreeItemId");
28875 }
28876 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28877 }
28878 {
28879 arg3 = wxString_in_helper(obj2);
28880 if (arg3 == NULL) SWIG_fail;
ae8162c8 28881 temp3 = true;
d55e5bfc
RD
28882 }
28883 {
28884 PyThreadState* __tstate = wxPyBeginAllowThreads();
28885 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
28886
28887 wxPyEndAllowThreads(__tstate);
28888 if (PyErr_Occurred()) SWIG_fail;
28889 }
28890 Py_INCREF(Py_None); resultobj = Py_None;
28891 {
28892 if (temp3)
28893 delete arg3;
28894 }
28895 return resultobj;
28896 fail:
28897 {
28898 if (temp3)
28899 delete arg3;
28900 }
28901 return NULL;
28902}
28903
28904
c32bde28 28905static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28906 PyObject *resultobj;
28907 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28908 wxTreeItemId *arg2 = 0 ;
28909 int arg3 ;
093d3ff1 28910 wxTreeItemIcon arg4 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
d55e5bfc
RD
28911 PyObject * obj0 = 0 ;
28912 PyObject * obj1 = 0 ;
28913 PyObject * obj2 = 0 ;
28914 PyObject * obj3 = 0 ;
28915 char *kwnames[] = {
28916 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
28917 };
28918
28919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
28920 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28921 if (SWIG_arg_fail(1)) SWIG_fail;
28922 {
28923 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28924 if (SWIG_arg_fail(2)) SWIG_fail;
28925 if (arg2 == NULL) {
28926 SWIG_null_ref("wxTreeItemId");
28927 }
28928 if (SWIG_arg_fail(2)) SWIG_fail;
28929 }
28930 {
28931 arg3 = (int)(SWIG_As_int(obj2));
28932 if (SWIG_arg_fail(3)) SWIG_fail;
28933 }
d55e5bfc 28934 if (obj3) {
093d3ff1
RD
28935 {
28936 arg4 = (wxTreeItemIcon)(SWIG_As_int(obj3));
28937 if (SWIG_arg_fail(4)) SWIG_fail;
28938 }
d55e5bfc
RD
28939 }
28940 {
28941 PyThreadState* __tstate = wxPyBeginAllowThreads();
28942 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4);
28943
28944 wxPyEndAllowThreads(__tstate);
28945 if (PyErr_Occurred()) SWIG_fail;
28946 }
28947 Py_INCREF(Py_None); resultobj = Py_None;
28948 return resultobj;
28949 fail:
28950 return NULL;
28951}
28952
28953
c32bde28 28954static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28955 PyObject *resultobj;
28956 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28957 wxTreeItemId *arg2 = 0 ;
28958 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
28959 PyObject * obj0 = 0 ;
28960 PyObject * obj1 = 0 ;
28961 PyObject * obj2 = 0 ;
28962 char *kwnames[] = {
28963 (char *) "self",(char *) "item",(char *) "data", NULL
28964 };
28965
28966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
28967 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28968 if (SWIG_arg_fail(1)) SWIG_fail;
28969 {
28970 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28971 if (SWIG_arg_fail(2)) SWIG_fail;
28972 if (arg2 == NULL) {
28973 SWIG_null_ref("wxTreeItemId");
28974 }
28975 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 28976 }
093d3ff1
RD
28977 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
28978 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
28979 {
28980 PyThreadState* __tstate = wxPyBeginAllowThreads();
28981 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
28982
28983 wxPyEndAllowThreads(__tstate);
28984 if (PyErr_Occurred()) SWIG_fail;
28985 }
28986 Py_INCREF(Py_None); resultobj = Py_None;
28987 return resultobj;
28988 fail:
28989 return NULL;
28990}
28991
28992
c32bde28 28993static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28994 PyObject *resultobj;
28995 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28996 wxTreeItemId *arg2 = 0 ;
28997 PyObject *arg3 = (PyObject *) 0 ;
28998 PyObject * obj0 = 0 ;
28999 PyObject * obj1 = 0 ;
29000 PyObject * obj2 = 0 ;
29001 char *kwnames[] = {
29002 (char *) "self",(char *) "item",(char *) "obj", NULL
29003 };
29004
29005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
29006 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29007 if (SWIG_arg_fail(1)) SWIG_fail;
29008 {
29009 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29010 if (SWIG_arg_fail(2)) SWIG_fail;
29011 if (arg2 == NULL) {
29012 SWIG_null_ref("wxTreeItemId");
29013 }
29014 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29015 }
29016 arg3 = obj2;
29017 {
29018 PyThreadState* __tstate = wxPyBeginAllowThreads();
29019 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
29020
29021 wxPyEndAllowThreads(__tstate);
29022 if (PyErr_Occurred()) SWIG_fail;
29023 }
29024 Py_INCREF(Py_None); resultobj = Py_None;
29025 return resultobj;
29026 fail:
29027 return NULL;
29028}
29029
29030
c32bde28 29031static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29032 PyObject *resultobj;
29033 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29034 wxTreeItemId *arg2 = 0 ;
ae8162c8 29035 bool arg3 = (bool) true ;
d55e5bfc
RD
29036 PyObject * obj0 = 0 ;
29037 PyObject * obj1 = 0 ;
29038 PyObject * obj2 = 0 ;
29039 char *kwnames[] = {
29040 (char *) "self",(char *) "item",(char *) "has", NULL
29041 };
29042
29043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
29044 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29045 if (SWIG_arg_fail(1)) SWIG_fail;
29046 {
29047 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29048 if (SWIG_arg_fail(2)) SWIG_fail;
29049 if (arg2 == NULL) {
29050 SWIG_null_ref("wxTreeItemId");
29051 }
29052 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29053 }
29054 if (obj2) {
093d3ff1
RD
29055 {
29056 arg3 = (bool)(SWIG_As_bool(obj2));
29057 if (SWIG_arg_fail(3)) SWIG_fail;
29058 }
d55e5bfc
RD
29059 }
29060 {
29061 PyThreadState* __tstate = wxPyBeginAllowThreads();
29062 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
29063
29064 wxPyEndAllowThreads(__tstate);
29065 if (PyErr_Occurred()) SWIG_fail;
29066 }
29067 Py_INCREF(Py_None); resultobj = Py_None;
29068 return resultobj;
29069 fail:
29070 return NULL;
29071}
29072
29073
c32bde28 29074static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29075 PyObject *resultobj;
29076 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29077 wxTreeItemId *arg2 = 0 ;
ae8162c8 29078 bool arg3 = (bool) true ;
d55e5bfc
RD
29079 PyObject * obj0 = 0 ;
29080 PyObject * obj1 = 0 ;
29081 PyObject * obj2 = 0 ;
29082 char *kwnames[] = {
29083 (char *) "self",(char *) "item",(char *) "bold", NULL
29084 };
29085
29086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
29087 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29088 if (SWIG_arg_fail(1)) SWIG_fail;
29089 {
29090 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29091 if (SWIG_arg_fail(2)) SWIG_fail;
29092 if (arg2 == NULL) {
29093 SWIG_null_ref("wxTreeItemId");
29094 }
29095 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29096 }
29097 if (obj2) {
093d3ff1
RD
29098 {
29099 arg3 = (bool)(SWIG_As_bool(obj2));
29100 if (SWIG_arg_fail(3)) SWIG_fail;
29101 }
d55e5bfc
RD
29102 }
29103 {
29104 PyThreadState* __tstate = wxPyBeginAllowThreads();
29105 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
29106
29107 wxPyEndAllowThreads(__tstate);
29108 if (PyErr_Occurred()) SWIG_fail;
29109 }
29110 Py_INCREF(Py_None); resultobj = Py_None;
29111 return resultobj;
29112 fail:
29113 return NULL;
29114}
29115
29116
c32bde28 29117static PyObject *_wrap_TreeCtrl_SetItemDropHighlight(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29118 PyObject *resultobj;
29119 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29120 wxTreeItemId *arg2 = 0 ;
ae8162c8 29121 bool arg3 = (bool) true ;
d55e5bfc
RD
29122 PyObject * obj0 = 0 ;
29123 PyObject * obj1 = 0 ;
29124 PyObject * obj2 = 0 ;
29125 char *kwnames[] = {
29126 (char *) "self",(char *) "item",(char *) "highlight", NULL
29127 };
29128
29129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
29130 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29131 if (SWIG_arg_fail(1)) SWIG_fail;
29132 {
29133 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29134 if (SWIG_arg_fail(2)) SWIG_fail;
29135 if (arg2 == NULL) {
29136 SWIG_null_ref("wxTreeItemId");
29137 }
29138 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29139 }
29140 if (obj2) {
093d3ff1
RD
29141 {
29142 arg3 = (bool)(SWIG_As_bool(obj2));
29143 if (SWIG_arg_fail(3)) SWIG_fail;
29144 }
d55e5bfc
RD
29145 }
29146 {
29147 PyThreadState* __tstate = wxPyBeginAllowThreads();
29148 (arg1)->SetItemDropHighlight((wxTreeItemId const &)*arg2,arg3);
29149
29150 wxPyEndAllowThreads(__tstate);
29151 if (PyErr_Occurred()) SWIG_fail;
29152 }
29153 Py_INCREF(Py_None); resultobj = Py_None;
29154 return resultobj;
29155 fail:
29156 return NULL;
29157}
29158
29159
c32bde28 29160static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29161 PyObject *resultobj;
29162 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29163 wxTreeItemId *arg2 = 0 ;
29164 wxColour *arg3 = 0 ;
29165 wxColour temp3 ;
29166 PyObject * obj0 = 0 ;
29167 PyObject * obj1 = 0 ;
29168 PyObject * obj2 = 0 ;
29169 char *kwnames[] = {
29170 (char *) "self",(char *) "item",(char *) "col", NULL
29171 };
29172
29173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
29174 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29175 if (SWIG_arg_fail(1)) SWIG_fail;
29176 {
29177 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29178 if (SWIG_arg_fail(2)) SWIG_fail;
29179 if (arg2 == NULL) {
29180 SWIG_null_ref("wxTreeItemId");
29181 }
29182 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29183 }
29184 {
29185 arg3 = &temp3;
29186 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
29187 }
29188 {
29189 PyThreadState* __tstate = wxPyBeginAllowThreads();
29190 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
29191
29192 wxPyEndAllowThreads(__tstate);
29193 if (PyErr_Occurred()) SWIG_fail;
29194 }
29195 Py_INCREF(Py_None); resultobj = Py_None;
29196 return resultobj;
29197 fail:
29198 return NULL;
29199}
29200
29201
c32bde28 29202static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29203 PyObject *resultobj;
29204 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29205 wxTreeItemId *arg2 = 0 ;
29206 wxColour *arg3 = 0 ;
29207 wxColour temp3 ;
29208 PyObject * obj0 = 0 ;
29209 PyObject * obj1 = 0 ;
29210 PyObject * obj2 = 0 ;
29211 char *kwnames[] = {
29212 (char *) "self",(char *) "item",(char *) "col", NULL
29213 };
29214
29215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
29216 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29217 if (SWIG_arg_fail(1)) SWIG_fail;
29218 {
29219 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29220 if (SWIG_arg_fail(2)) SWIG_fail;
29221 if (arg2 == NULL) {
29222 SWIG_null_ref("wxTreeItemId");
29223 }
29224 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29225 }
29226 {
29227 arg3 = &temp3;
29228 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
29229 }
29230 {
29231 PyThreadState* __tstate = wxPyBeginAllowThreads();
29232 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
29233
29234 wxPyEndAllowThreads(__tstate);
29235 if (PyErr_Occurred()) SWIG_fail;
29236 }
29237 Py_INCREF(Py_None); resultobj = Py_None;
29238 return resultobj;
29239 fail:
29240 return NULL;
29241}
29242
29243
c32bde28 29244static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29245 PyObject *resultobj;
29246 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29247 wxTreeItemId *arg2 = 0 ;
29248 wxFont *arg3 = 0 ;
29249 PyObject * obj0 = 0 ;
29250 PyObject * obj1 = 0 ;
29251 PyObject * obj2 = 0 ;
29252 char *kwnames[] = {
29253 (char *) "self",(char *) "item",(char *) "font", NULL
29254 };
29255
29256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
29257 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29258 if (SWIG_arg_fail(1)) SWIG_fail;
29259 {
29260 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29261 if (SWIG_arg_fail(2)) SWIG_fail;
29262 if (arg2 == NULL) {
29263 SWIG_null_ref("wxTreeItemId");
29264 }
29265 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 29266 }
093d3ff1
RD
29267 {
29268 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
29269 if (SWIG_arg_fail(3)) SWIG_fail;
29270 if (arg3 == NULL) {
29271 SWIG_null_ref("wxFont");
29272 }
29273 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
29274 }
29275 {
29276 PyThreadState* __tstate = wxPyBeginAllowThreads();
29277 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
29278
29279 wxPyEndAllowThreads(__tstate);
29280 if (PyErr_Occurred()) SWIG_fail;
29281 }
29282 Py_INCREF(Py_None); resultobj = Py_None;
29283 return resultobj;
29284 fail:
29285 return NULL;
29286}
29287
29288
c32bde28 29289static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29290 PyObject *resultobj;
29291 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29292 wxTreeItemId *arg2 = 0 ;
29293 bool result;
29294 PyObject * obj0 = 0 ;
29295 PyObject * obj1 = 0 ;
29296 char *kwnames[] = {
29297 (char *) "self",(char *) "item", NULL
29298 };
29299
29300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29301 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29302 if (SWIG_arg_fail(1)) SWIG_fail;
29303 {
29304 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29305 if (SWIG_arg_fail(2)) SWIG_fail;
29306 if (arg2 == NULL) {
29307 SWIG_null_ref("wxTreeItemId");
29308 }
29309 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29310 }
29311 {
29312 PyThreadState* __tstate = wxPyBeginAllowThreads();
29313 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
29314
29315 wxPyEndAllowThreads(__tstate);
29316 if (PyErr_Occurred()) SWIG_fail;
29317 }
29318 {
29319 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29320 }
29321 return resultobj;
29322 fail:
29323 return NULL;
29324}
29325
29326
c32bde28 29327static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29328 PyObject *resultobj;
29329 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29330 wxTreeItemId *arg2 = 0 ;
29331 bool result;
29332 PyObject * obj0 = 0 ;
29333 PyObject * obj1 = 0 ;
29334 char *kwnames[] = {
29335 (char *) "self",(char *) "item", NULL
29336 };
29337
29338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29339 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29340 if (SWIG_arg_fail(1)) SWIG_fail;
29341 {
29342 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29343 if (SWIG_arg_fail(2)) SWIG_fail;
29344 if (arg2 == NULL) {
29345 SWIG_null_ref("wxTreeItemId");
29346 }
29347 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29348 }
29349 {
29350 PyThreadState* __tstate = wxPyBeginAllowThreads();
29351 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
29352
29353 wxPyEndAllowThreads(__tstate);
29354 if (PyErr_Occurred()) SWIG_fail;
29355 }
29356 {
29357 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29358 }
29359 return resultobj;
29360 fail:
29361 return NULL;
29362}
29363
29364
c32bde28 29365static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29366 PyObject *resultobj;
29367 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29368 wxTreeItemId *arg2 = 0 ;
29369 bool result;
29370 PyObject * obj0 = 0 ;
29371 PyObject * obj1 = 0 ;
29372 char *kwnames[] = {
29373 (char *) "self",(char *) "item", NULL
29374 };
29375
29376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29377 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29378 if (SWIG_arg_fail(1)) SWIG_fail;
29379 {
29380 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29381 if (SWIG_arg_fail(2)) SWIG_fail;
29382 if (arg2 == NULL) {
29383 SWIG_null_ref("wxTreeItemId");
29384 }
29385 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29386 }
29387 {
29388 PyThreadState* __tstate = wxPyBeginAllowThreads();
29389 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
29390
29391 wxPyEndAllowThreads(__tstate);
29392 if (PyErr_Occurred()) SWIG_fail;
29393 }
29394 {
29395 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29396 }
29397 return resultobj;
29398 fail:
29399 return NULL;
29400}
29401
29402
c32bde28 29403static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29404 PyObject *resultobj;
29405 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29406 wxTreeItemId *arg2 = 0 ;
29407 bool result;
29408 PyObject * obj0 = 0 ;
29409 PyObject * obj1 = 0 ;
29410 char *kwnames[] = {
29411 (char *) "self",(char *) "item", NULL
29412 };
29413
29414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29415 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29416 if (SWIG_arg_fail(1)) SWIG_fail;
29417 {
29418 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29419 if (SWIG_arg_fail(2)) SWIG_fail;
29420 if (arg2 == NULL) {
29421 SWIG_null_ref("wxTreeItemId");
29422 }
29423 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29424 }
29425 {
29426 PyThreadState* __tstate = wxPyBeginAllowThreads();
29427 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
29428
29429 wxPyEndAllowThreads(__tstate);
29430 if (PyErr_Occurred()) SWIG_fail;
29431 }
29432 {
29433 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29434 }
29435 return resultobj;
29436 fail:
29437 return NULL;
29438}
29439
29440
c32bde28 29441static PyObject *_wrap_TreeCtrl_IsBold(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29442 PyObject *resultobj;
29443 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29444 wxTreeItemId *arg2 = 0 ;
29445 bool result;
29446 PyObject * obj0 = 0 ;
29447 PyObject * obj1 = 0 ;
29448 char *kwnames[] = {
29449 (char *) "self",(char *) "item", NULL
29450 };
29451
29452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29453 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29454 if (SWIG_arg_fail(1)) SWIG_fail;
29455 {
29456 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29457 if (SWIG_arg_fail(2)) SWIG_fail;
29458 if (arg2 == NULL) {
29459 SWIG_null_ref("wxTreeItemId");
29460 }
29461 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29462 }
29463 {
29464 PyThreadState* __tstate = wxPyBeginAllowThreads();
29465 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
29466
29467 wxPyEndAllowThreads(__tstate);
29468 if (PyErr_Occurred()) SWIG_fail;
29469 }
29470 {
29471 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29472 }
29473 return resultobj;
29474 fail:
29475 return NULL;
29476}
29477
29478
c32bde28 29479static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29480 PyObject *resultobj;
29481 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29482 wxTreeItemId *arg2 = 0 ;
ae8162c8 29483 bool arg3 = (bool) true ;
d55e5bfc
RD
29484 size_t result;
29485 PyObject * obj0 = 0 ;
29486 PyObject * obj1 = 0 ;
29487 PyObject * obj2 = 0 ;
29488 char *kwnames[] = {
29489 (char *) "self",(char *) "item",(char *) "recursively", NULL
29490 };
29491
29492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
29493 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29494 if (SWIG_arg_fail(1)) SWIG_fail;
29495 {
29496 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29497 if (SWIG_arg_fail(2)) SWIG_fail;
29498 if (arg2 == NULL) {
29499 SWIG_null_ref("wxTreeItemId");
29500 }
29501 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29502 }
29503 if (obj2) {
093d3ff1
RD
29504 {
29505 arg3 = (bool)(SWIG_As_bool(obj2));
29506 if (SWIG_arg_fail(3)) SWIG_fail;
29507 }
d55e5bfc
RD
29508 }
29509 {
29510 PyThreadState* __tstate = wxPyBeginAllowThreads();
29511 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
29512
29513 wxPyEndAllowThreads(__tstate);
29514 if (PyErr_Occurred()) SWIG_fail;
29515 }
093d3ff1
RD
29516 {
29517 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
29518 }
d55e5bfc
RD
29519 return resultobj;
29520 fail:
29521 return NULL;
29522}
29523
29524
c32bde28 29525static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29526 PyObject *resultobj;
29527 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29528 wxTreeItemId result;
29529 PyObject * obj0 = 0 ;
29530 char *kwnames[] = {
29531 (char *) "self", NULL
29532 };
29533
29534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
093d3ff1
RD
29535 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29536 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29537 {
29538 PyThreadState* __tstate = wxPyBeginAllowThreads();
29539 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
29540
29541 wxPyEndAllowThreads(__tstate);
29542 if (PyErr_Occurred()) SWIG_fail;
29543 }
29544 {
29545 wxTreeItemId * resultptr;
093d3ff1 29546 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
29547 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29548 }
29549 return resultobj;
29550 fail:
29551 return NULL;
29552}
29553
29554
c32bde28 29555static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29556 PyObject *resultobj;
29557 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29558 wxTreeItemId result;
29559 PyObject * obj0 = 0 ;
29560 char *kwnames[] = {
29561 (char *) "self", NULL
29562 };
29563
29564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
29565 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29566 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29567 {
29568 PyThreadState* __tstate = wxPyBeginAllowThreads();
29569 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
29570
29571 wxPyEndAllowThreads(__tstate);
29572 if (PyErr_Occurred()) SWIG_fail;
29573 }
29574 {
29575 wxTreeItemId * resultptr;
093d3ff1 29576 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
29577 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29578 }
29579 return resultobj;
29580 fail:
29581 return NULL;
29582}
29583
29584
c32bde28 29585static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29586 PyObject *resultobj;
29587 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29588 PyObject *result;
29589 PyObject * obj0 = 0 ;
29590 char *kwnames[] = {
29591 (char *) "self", NULL
29592 };
29593
29594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
093d3ff1
RD
29595 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29596 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29597 {
29598 PyThreadState* __tstate = wxPyBeginAllowThreads();
29599 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
29600
29601 wxPyEndAllowThreads(__tstate);
29602 if (PyErr_Occurred()) SWIG_fail;
29603 }
29604 resultobj = result;
29605 return resultobj;
29606 fail:
29607 return NULL;
29608}
29609
29610
c32bde28 29611static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29612 PyObject *resultobj;
29613 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29614 wxTreeItemId *arg2 = 0 ;
29615 wxTreeItemId result;
29616 PyObject * obj0 = 0 ;
29617 PyObject * obj1 = 0 ;
29618 char *kwnames[] = {
29619 (char *) "self",(char *) "item", NULL
29620 };
29621
29622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29623 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29624 if (SWIG_arg_fail(1)) SWIG_fail;
29625 {
29626 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29627 if (SWIG_arg_fail(2)) SWIG_fail;
29628 if (arg2 == NULL) {
29629 SWIG_null_ref("wxTreeItemId");
29630 }
29631 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29632 }
29633 {
29634 PyThreadState* __tstate = wxPyBeginAllowThreads();
29635 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
29636
29637 wxPyEndAllowThreads(__tstate);
29638 if (PyErr_Occurred()) SWIG_fail;
29639 }
29640 {
29641 wxTreeItemId * resultptr;
093d3ff1 29642 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
29643 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29644 }
29645 return resultobj;
29646 fail:
29647 return NULL;
29648}
29649
29650
c32bde28 29651static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29652 PyObject *resultobj;
29653 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29654 wxTreeItemId *arg2 = 0 ;
29655 PyObject *result;
29656 PyObject * obj0 = 0 ;
29657 PyObject * obj1 = 0 ;
29658 char *kwnames[] = {
29659 (char *) "self",(char *) "item", NULL
29660 };
29661
29662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29663 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29664 if (SWIG_arg_fail(1)) SWIG_fail;
29665 {
29666 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29667 if (SWIG_arg_fail(2)) SWIG_fail;
29668 if (arg2 == NULL) {
29669 SWIG_null_ref("wxTreeItemId");
29670 }
29671 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29672 }
29673 {
29674 PyThreadState* __tstate = wxPyBeginAllowThreads();
29675 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
29676
29677 wxPyEndAllowThreads(__tstate);
29678 if (PyErr_Occurred()) SWIG_fail;
29679 }
29680 resultobj = result;
29681 return resultobj;
29682 fail:
29683 return NULL;
29684}
29685
29686
c32bde28 29687static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29688 PyObject *resultobj;
29689 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29690 wxTreeItemId *arg2 = 0 ;
29691 void *arg3 = (void *) 0 ;
29692 PyObject *result;
29693 PyObject * obj0 = 0 ;
29694 PyObject * obj1 = 0 ;
29695 PyObject * obj2 = 0 ;
29696 char *kwnames[] = {
29697 (char *) "self",(char *) "item",(char *) "cookie", NULL
29698 };
29699
29700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
29701 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29702 if (SWIG_arg_fail(1)) SWIG_fail;
29703 {
29704 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29705 if (SWIG_arg_fail(2)) SWIG_fail;
29706 if (arg2 == NULL) {
29707 SWIG_null_ref("wxTreeItemId");
29708 }
29709 if (SWIG_arg_fail(2)) SWIG_fail;
29710 }
29711 {
29712 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),0,SWIG_POINTER_EXCEPTION|0))== -1) {
29713 SWIG_arg_fail(3);SWIG_fail;
29714 }
d55e5bfc 29715 }
d55e5bfc
RD
29716 {
29717 PyThreadState* __tstate = wxPyBeginAllowThreads();
29718 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
29719
29720 wxPyEndAllowThreads(__tstate);
29721 if (PyErr_Occurred()) SWIG_fail;
29722 }
29723 resultobj = result;
29724 return resultobj;
29725 fail:
29726 return NULL;
29727}
29728
29729
c32bde28 29730static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29731 PyObject *resultobj;
29732 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29733 wxTreeItemId *arg2 = 0 ;
29734 wxTreeItemId result;
29735 PyObject * obj0 = 0 ;
29736 PyObject * obj1 = 0 ;
29737 char *kwnames[] = {
29738 (char *) "self",(char *) "item", NULL
29739 };
29740
29741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29742 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29743 if (SWIG_arg_fail(1)) SWIG_fail;
29744 {
29745 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29746 if (SWIG_arg_fail(2)) SWIG_fail;
29747 if (arg2 == NULL) {
29748 SWIG_null_ref("wxTreeItemId");
29749 }
29750 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29751 }
29752 {
29753 PyThreadState* __tstate = wxPyBeginAllowThreads();
29754 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
29755
29756 wxPyEndAllowThreads(__tstate);
29757 if (PyErr_Occurred()) SWIG_fail;
29758 }
29759 {
29760 wxTreeItemId * resultptr;
093d3ff1 29761 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
29762 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29763 }
29764 return resultobj;
29765 fail:
29766 return NULL;
29767}
29768
29769
c32bde28 29770static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29771 PyObject *resultobj;
29772 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29773 wxTreeItemId *arg2 = 0 ;
29774 wxTreeItemId result;
29775 PyObject * obj0 = 0 ;
29776 PyObject * obj1 = 0 ;
29777 char *kwnames[] = {
29778 (char *) "self",(char *) "item", NULL
29779 };
29780
29781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29782 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29783 if (SWIG_arg_fail(1)) SWIG_fail;
29784 {
29785 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29786 if (SWIG_arg_fail(2)) SWIG_fail;
29787 if (arg2 == NULL) {
29788 SWIG_null_ref("wxTreeItemId");
29789 }
29790 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29791 }
29792 {
29793 PyThreadState* __tstate = wxPyBeginAllowThreads();
29794 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
29795
29796 wxPyEndAllowThreads(__tstate);
29797 if (PyErr_Occurred()) SWIG_fail;
29798 }
29799 {
29800 wxTreeItemId * resultptr;
093d3ff1 29801 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
29802 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29803 }
29804 return resultobj;
29805 fail:
29806 return NULL;
29807}
29808
29809
c32bde28 29810static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29811 PyObject *resultobj;
29812 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29813 wxTreeItemId *arg2 = 0 ;
29814 wxTreeItemId result;
29815 PyObject * obj0 = 0 ;
29816 PyObject * obj1 = 0 ;
29817 char *kwnames[] = {
29818 (char *) "self",(char *) "item", NULL
29819 };
29820
29821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29822 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29823 if (SWIG_arg_fail(1)) SWIG_fail;
29824 {
29825 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29826 if (SWIG_arg_fail(2)) SWIG_fail;
29827 if (arg2 == NULL) {
29828 SWIG_null_ref("wxTreeItemId");
29829 }
29830 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29831 }
29832 {
29833 PyThreadState* __tstate = wxPyBeginAllowThreads();
29834 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
29835
29836 wxPyEndAllowThreads(__tstate);
29837 if (PyErr_Occurred()) SWIG_fail;
29838 }
29839 {
29840 wxTreeItemId * resultptr;
093d3ff1 29841 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
29842 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29843 }
29844 return resultobj;
29845 fail:
29846 return NULL;
29847}
29848
29849
c32bde28 29850static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29851 PyObject *resultobj;
29852 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29853 wxTreeItemId result;
29854 PyObject * obj0 = 0 ;
29855 char *kwnames[] = {
29856 (char *) "self", NULL
29857 };
29858
29859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
093d3ff1
RD
29860 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29861 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29862 {
29863 PyThreadState* __tstate = wxPyBeginAllowThreads();
29864 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
29865
29866 wxPyEndAllowThreads(__tstate);
29867 if (PyErr_Occurred()) SWIG_fail;
29868 }
29869 {
29870 wxTreeItemId * resultptr;
093d3ff1 29871 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
29872 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29873 }
29874 return resultobj;
29875 fail:
29876 return NULL;
29877}
29878
29879
c32bde28 29880static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29881 PyObject *resultobj;
29882 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29883 wxTreeItemId *arg2 = 0 ;
29884 wxTreeItemId result;
29885 PyObject * obj0 = 0 ;
29886 PyObject * obj1 = 0 ;
29887 char *kwnames[] = {
29888 (char *) "self",(char *) "item", NULL
29889 };
29890
29891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29892 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29893 if (SWIG_arg_fail(1)) SWIG_fail;
29894 {
29895 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29896 if (SWIG_arg_fail(2)) SWIG_fail;
29897 if (arg2 == NULL) {
29898 SWIG_null_ref("wxTreeItemId");
29899 }
29900 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29901 }
29902 {
29903 PyThreadState* __tstate = wxPyBeginAllowThreads();
29904 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
29905
29906 wxPyEndAllowThreads(__tstate);
29907 if (PyErr_Occurred()) SWIG_fail;
29908 }
29909 {
29910 wxTreeItemId * resultptr;
093d3ff1 29911 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
29912 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29913 }
29914 return resultobj;
29915 fail:
29916 return NULL;
29917}
29918
29919
c32bde28 29920static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29921 PyObject *resultobj;
29922 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29923 wxTreeItemId *arg2 = 0 ;
29924 wxTreeItemId result;
29925 PyObject * obj0 = 0 ;
29926 PyObject * obj1 = 0 ;
29927 char *kwnames[] = {
29928 (char *) "self",(char *) "item", NULL
29929 };
29930
29931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29932 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29933 if (SWIG_arg_fail(1)) SWIG_fail;
29934 {
29935 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29936 if (SWIG_arg_fail(2)) SWIG_fail;
29937 if (arg2 == NULL) {
29938 SWIG_null_ref("wxTreeItemId");
29939 }
29940 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29941 }
29942 {
29943 PyThreadState* __tstate = wxPyBeginAllowThreads();
29944 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
29945
29946 wxPyEndAllowThreads(__tstate);
29947 if (PyErr_Occurred()) SWIG_fail;
29948 }
29949 {
29950 wxTreeItemId * resultptr;
093d3ff1 29951 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
29952 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29953 }
29954 return resultobj;
29955 fail:
29956 return NULL;
29957}
29958
29959
c32bde28 29960static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29961 PyObject *resultobj;
29962 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29963 wxString *arg2 = 0 ;
29964 int arg3 = (int) -1 ;
29965 int arg4 = (int) -1 ;
29966 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
29967 wxTreeItemId result;
ae8162c8 29968 bool temp2 = false ;
d55e5bfc
RD
29969 PyObject * obj0 = 0 ;
29970 PyObject * obj1 = 0 ;
29971 PyObject * obj2 = 0 ;
29972 PyObject * obj3 = 0 ;
29973 PyObject * obj4 = 0 ;
29974 char *kwnames[] = {
29975 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29976 };
29977
29978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
29979 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29980 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29981 {
29982 arg2 = wxString_in_helper(obj1);
29983 if (arg2 == NULL) SWIG_fail;
ae8162c8 29984 temp2 = true;
d55e5bfc
RD
29985 }
29986 if (obj2) {
093d3ff1
RD
29987 {
29988 arg3 = (int)(SWIG_As_int(obj2));
29989 if (SWIG_arg_fail(3)) SWIG_fail;
29990 }
d55e5bfc
RD
29991 }
29992 if (obj3) {
093d3ff1
RD
29993 {
29994 arg4 = (int)(SWIG_As_int(obj3));
29995 if (SWIG_arg_fail(4)) SWIG_fail;
29996 }
d55e5bfc
RD
29997 }
29998 if (obj4) {
093d3ff1
RD
29999 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
30000 if (SWIG_arg_fail(5)) SWIG_fail;
d55e5bfc
RD
30001 }
30002 {
30003 PyThreadState* __tstate = wxPyBeginAllowThreads();
30004 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
30005
30006 wxPyEndAllowThreads(__tstate);
30007 if (PyErr_Occurred()) SWIG_fail;
30008 }
30009 {
30010 wxTreeItemId * resultptr;
093d3ff1 30011 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
30012 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30013 }
30014 {
30015 if (temp2)
30016 delete arg2;
30017 }
30018 return resultobj;
30019 fail:
30020 {
30021 if (temp2)
30022 delete arg2;
30023 }
30024 return NULL;
30025}
30026
30027
c32bde28 30028static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30029 PyObject *resultobj;
30030 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30031 wxTreeItemId *arg2 = 0 ;
30032 wxString *arg3 = 0 ;
30033 int arg4 = (int) -1 ;
30034 int arg5 = (int) -1 ;
30035 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
30036 wxTreeItemId result;
ae8162c8 30037 bool temp3 = false ;
d55e5bfc
RD
30038 PyObject * obj0 = 0 ;
30039 PyObject * obj1 = 0 ;
30040 PyObject * obj2 = 0 ;
30041 PyObject * obj3 = 0 ;
30042 PyObject * obj4 = 0 ;
30043 PyObject * obj5 = 0 ;
30044 char *kwnames[] = {
30045 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30046 };
30047
30048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
30049 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30050 if (SWIG_arg_fail(1)) SWIG_fail;
30051 {
30052 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30053 if (SWIG_arg_fail(2)) SWIG_fail;
30054 if (arg2 == NULL) {
30055 SWIG_null_ref("wxTreeItemId");
30056 }
30057 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30058 }
30059 {
30060 arg3 = wxString_in_helper(obj2);
30061 if (arg3 == NULL) SWIG_fail;
ae8162c8 30062 temp3 = true;
d55e5bfc
RD
30063 }
30064 if (obj3) {
093d3ff1
RD
30065 {
30066 arg4 = (int)(SWIG_As_int(obj3));
30067 if (SWIG_arg_fail(4)) SWIG_fail;
30068 }
d55e5bfc
RD
30069 }
30070 if (obj4) {
093d3ff1
RD
30071 {
30072 arg5 = (int)(SWIG_As_int(obj4));
30073 if (SWIG_arg_fail(5)) SWIG_fail;
30074 }
d55e5bfc
RD
30075 }
30076 if (obj5) {
093d3ff1
RD
30077 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
30078 if (SWIG_arg_fail(6)) SWIG_fail;
d55e5bfc
RD
30079 }
30080 {
30081 PyThreadState* __tstate = wxPyBeginAllowThreads();
30082 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
30083
30084 wxPyEndAllowThreads(__tstate);
30085 if (PyErr_Occurred()) SWIG_fail;
30086 }
30087 {
30088 wxTreeItemId * resultptr;
093d3ff1 30089 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
30090 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30091 }
30092 {
30093 if (temp3)
30094 delete arg3;
30095 }
30096 return resultobj;
30097 fail:
30098 {
30099 if (temp3)
30100 delete arg3;
30101 }
30102 return NULL;
30103}
30104
30105
c32bde28 30106static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30107 PyObject *resultobj;
30108 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30109 wxTreeItemId *arg2 = 0 ;
30110 wxTreeItemId *arg3 = 0 ;
30111 wxString *arg4 = 0 ;
30112 int arg5 = (int) -1 ;
30113 int arg6 = (int) -1 ;
30114 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
30115 wxTreeItemId result;
ae8162c8 30116 bool temp4 = false ;
d55e5bfc
RD
30117 PyObject * obj0 = 0 ;
30118 PyObject * obj1 = 0 ;
30119 PyObject * obj2 = 0 ;
30120 PyObject * obj3 = 0 ;
30121 PyObject * obj4 = 0 ;
30122 PyObject * obj5 = 0 ;
30123 PyObject * obj6 = 0 ;
30124 char *kwnames[] = {
30125 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30126 };
30127
30128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
30129 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30130 if (SWIG_arg_fail(1)) SWIG_fail;
30131 {
30132 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30133 if (SWIG_arg_fail(2)) SWIG_fail;
30134 if (arg2 == NULL) {
30135 SWIG_null_ref("wxTreeItemId");
30136 }
30137 if (SWIG_arg_fail(2)) SWIG_fail;
30138 }
30139 {
30140 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30141 if (SWIG_arg_fail(3)) SWIG_fail;
30142 if (arg3 == NULL) {
30143 SWIG_null_ref("wxTreeItemId");
30144 }
30145 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
30146 }
30147 {
30148 arg4 = wxString_in_helper(obj3);
30149 if (arg4 == NULL) SWIG_fail;
ae8162c8 30150 temp4 = true;
d55e5bfc
RD
30151 }
30152 if (obj4) {
093d3ff1
RD
30153 {
30154 arg5 = (int)(SWIG_As_int(obj4));
30155 if (SWIG_arg_fail(5)) SWIG_fail;
30156 }
d55e5bfc
RD
30157 }
30158 if (obj5) {
093d3ff1
RD
30159 {
30160 arg6 = (int)(SWIG_As_int(obj5));
30161 if (SWIG_arg_fail(6)) SWIG_fail;
30162 }
d55e5bfc
RD
30163 }
30164 if (obj6) {
093d3ff1
RD
30165 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
30166 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
30167 }
30168 {
30169 PyThreadState* __tstate = wxPyBeginAllowThreads();
30170 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
30171
30172 wxPyEndAllowThreads(__tstate);
30173 if (PyErr_Occurred()) SWIG_fail;
30174 }
30175 {
30176 wxTreeItemId * resultptr;
093d3ff1 30177 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
30178 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30179 }
30180 {
30181 if (temp4)
30182 delete arg4;
30183 }
30184 return resultobj;
30185 fail:
30186 {
30187 if (temp4)
30188 delete arg4;
30189 }
30190 return NULL;
30191}
30192
30193
c32bde28 30194static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30195 PyObject *resultobj;
30196 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30197 wxTreeItemId *arg2 = 0 ;
30198 size_t arg3 ;
30199 wxString *arg4 = 0 ;
30200 int arg5 = (int) -1 ;
30201 int arg6 = (int) -1 ;
30202 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
30203 wxTreeItemId result;
ae8162c8 30204 bool temp4 = false ;
d55e5bfc
RD
30205 PyObject * obj0 = 0 ;
30206 PyObject * obj1 = 0 ;
30207 PyObject * obj2 = 0 ;
30208 PyObject * obj3 = 0 ;
30209 PyObject * obj4 = 0 ;
30210 PyObject * obj5 = 0 ;
30211 PyObject * obj6 = 0 ;
30212 char *kwnames[] = {
30213 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30214 };
30215
30216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
30217 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30218 if (SWIG_arg_fail(1)) SWIG_fail;
30219 {
30220 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30221 if (SWIG_arg_fail(2)) SWIG_fail;
30222 if (arg2 == NULL) {
30223 SWIG_null_ref("wxTreeItemId");
30224 }
30225 if (SWIG_arg_fail(2)) SWIG_fail;
30226 }
30227 {
30228 arg3 = (size_t)(SWIG_As_unsigned_SS_long(obj2));
30229 if (SWIG_arg_fail(3)) SWIG_fail;
30230 }
d55e5bfc
RD
30231 {
30232 arg4 = wxString_in_helper(obj3);
30233 if (arg4 == NULL) SWIG_fail;
ae8162c8 30234 temp4 = true;
d55e5bfc
RD
30235 }
30236 if (obj4) {
093d3ff1
RD
30237 {
30238 arg5 = (int)(SWIG_As_int(obj4));
30239 if (SWIG_arg_fail(5)) SWIG_fail;
30240 }
d55e5bfc
RD
30241 }
30242 if (obj5) {
093d3ff1
RD
30243 {
30244 arg6 = (int)(SWIG_As_int(obj5));
30245 if (SWIG_arg_fail(6)) SWIG_fail;
30246 }
d55e5bfc
RD
30247 }
30248 if (obj6) {
093d3ff1
RD
30249 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
30250 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
30251 }
30252 {
30253 PyThreadState* __tstate = wxPyBeginAllowThreads();
30254 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
30255
30256 wxPyEndAllowThreads(__tstate);
30257 if (PyErr_Occurred()) SWIG_fail;
30258 }
30259 {
30260 wxTreeItemId * resultptr;
093d3ff1 30261 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
30262 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30263 }
30264 {
30265 if (temp4)
30266 delete arg4;
30267 }
30268 return resultobj;
30269 fail:
30270 {
30271 if (temp4)
30272 delete arg4;
30273 }
30274 return NULL;
30275}
30276
30277
c32bde28 30278static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30279 PyObject *resultobj;
30280 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30281 wxTreeItemId *arg2 = 0 ;
30282 wxString *arg3 = 0 ;
30283 int arg4 = (int) -1 ;
30284 int arg5 = (int) -1 ;
30285 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
30286 wxTreeItemId result;
ae8162c8 30287 bool temp3 = false ;
d55e5bfc
RD
30288 PyObject * obj0 = 0 ;
30289 PyObject * obj1 = 0 ;
30290 PyObject * obj2 = 0 ;
30291 PyObject * obj3 = 0 ;
30292 PyObject * obj4 = 0 ;
30293 PyObject * obj5 = 0 ;
30294 char *kwnames[] = {
30295 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30296 };
30297
30298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
30299 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30300 if (SWIG_arg_fail(1)) SWIG_fail;
30301 {
30302 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30303 if (SWIG_arg_fail(2)) SWIG_fail;
30304 if (arg2 == NULL) {
30305 SWIG_null_ref("wxTreeItemId");
30306 }
30307 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30308 }
30309 {
30310 arg3 = wxString_in_helper(obj2);
30311 if (arg3 == NULL) SWIG_fail;
ae8162c8 30312 temp3 = true;
d55e5bfc
RD
30313 }
30314 if (obj3) {
093d3ff1
RD
30315 {
30316 arg4 = (int)(SWIG_As_int(obj3));
30317 if (SWIG_arg_fail(4)) SWIG_fail;
30318 }
d55e5bfc
RD
30319 }
30320 if (obj4) {
093d3ff1
RD
30321 {
30322 arg5 = (int)(SWIG_As_int(obj4));
30323 if (SWIG_arg_fail(5)) SWIG_fail;
30324 }
d55e5bfc
RD
30325 }
30326 if (obj5) {
093d3ff1
RD
30327 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
30328 if (SWIG_arg_fail(6)) SWIG_fail;
d55e5bfc
RD
30329 }
30330 {
30331 PyThreadState* __tstate = wxPyBeginAllowThreads();
30332 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
30333
30334 wxPyEndAllowThreads(__tstate);
30335 if (PyErr_Occurred()) SWIG_fail;
30336 }
30337 {
30338 wxTreeItemId * resultptr;
093d3ff1 30339 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
30340 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30341 }
30342 {
30343 if (temp3)
30344 delete arg3;
30345 }
30346 return resultobj;
30347 fail:
30348 {
30349 if (temp3)
30350 delete arg3;
30351 }
30352 return NULL;
30353}
30354
30355
c32bde28 30356static PyObject *_wrap_TreeCtrl_Delete(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30357 PyObject *resultobj;
30358 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30359 wxTreeItemId *arg2 = 0 ;
30360 PyObject * obj0 = 0 ;
30361 PyObject * obj1 = 0 ;
30362 char *kwnames[] = {
30363 (char *) "self",(char *) "item", NULL
30364 };
30365
30366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30367 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30368 if (SWIG_arg_fail(1)) SWIG_fail;
30369 {
30370 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30371 if (SWIG_arg_fail(2)) SWIG_fail;
30372 if (arg2 == NULL) {
30373 SWIG_null_ref("wxTreeItemId");
30374 }
30375 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30376 }
30377 {
30378 PyThreadState* __tstate = wxPyBeginAllowThreads();
30379 (arg1)->Delete((wxTreeItemId const &)*arg2);
30380
30381 wxPyEndAllowThreads(__tstate);
30382 if (PyErr_Occurred()) SWIG_fail;
30383 }
30384 Py_INCREF(Py_None); resultobj = Py_None;
30385 return resultobj;
30386 fail:
30387 return NULL;
30388}
30389
30390
c32bde28 30391static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30392 PyObject *resultobj;
30393 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30394 wxTreeItemId *arg2 = 0 ;
30395 PyObject * obj0 = 0 ;
30396 PyObject * obj1 = 0 ;
30397 char *kwnames[] = {
30398 (char *) "self",(char *) "item", NULL
30399 };
30400
30401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30402 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30403 if (SWIG_arg_fail(1)) SWIG_fail;
30404 {
30405 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30406 if (SWIG_arg_fail(2)) SWIG_fail;
30407 if (arg2 == NULL) {
30408 SWIG_null_ref("wxTreeItemId");
30409 }
30410 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30411 }
30412 {
30413 PyThreadState* __tstate = wxPyBeginAllowThreads();
30414 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
30415
30416 wxPyEndAllowThreads(__tstate);
30417 if (PyErr_Occurred()) SWIG_fail;
30418 }
30419 Py_INCREF(Py_None); resultobj = Py_None;
30420 return resultobj;
30421 fail:
30422 return NULL;
30423}
30424
30425
c32bde28 30426static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30427 PyObject *resultobj;
30428 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30429 PyObject * obj0 = 0 ;
30430 char *kwnames[] = {
30431 (char *) "self", NULL
30432 };
30433
30434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
093d3ff1
RD
30435 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30436 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30437 {
30438 PyThreadState* __tstate = wxPyBeginAllowThreads();
30439 (arg1)->DeleteAllItems();
30440
30441 wxPyEndAllowThreads(__tstate);
30442 if (PyErr_Occurred()) SWIG_fail;
30443 }
30444 Py_INCREF(Py_None); resultobj = Py_None;
30445 return resultobj;
30446 fail:
30447 return NULL;
30448}
30449
30450
c32bde28 30451static PyObject *_wrap_TreeCtrl_Expand(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30452 PyObject *resultobj;
30453 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30454 wxTreeItemId *arg2 = 0 ;
30455 PyObject * obj0 = 0 ;
30456 PyObject * obj1 = 0 ;
30457 char *kwnames[] = {
30458 (char *) "self",(char *) "item", NULL
30459 };
30460
30461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30462 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30463 if (SWIG_arg_fail(1)) SWIG_fail;
30464 {
30465 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30466 if (SWIG_arg_fail(2)) SWIG_fail;
30467 if (arg2 == NULL) {
30468 SWIG_null_ref("wxTreeItemId");
30469 }
30470 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30471 }
30472 {
30473 PyThreadState* __tstate = wxPyBeginAllowThreads();
30474 (arg1)->Expand((wxTreeItemId const &)*arg2);
30475
30476 wxPyEndAllowThreads(__tstate);
30477 if (PyErr_Occurred()) SWIG_fail;
30478 }
30479 Py_INCREF(Py_None); resultobj = Py_None;
30480 return resultobj;
30481 fail:
30482 return NULL;
30483}
30484
30485
c32bde28 30486static PyObject *_wrap_TreeCtrl_Collapse(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30487 PyObject *resultobj;
30488 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30489 wxTreeItemId *arg2 = 0 ;
30490 PyObject * obj0 = 0 ;
30491 PyObject * obj1 = 0 ;
30492 char *kwnames[] = {
30493 (char *) "self",(char *) "item", NULL
30494 };
30495
30496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30497 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30498 if (SWIG_arg_fail(1)) SWIG_fail;
30499 {
30500 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30501 if (SWIG_arg_fail(2)) SWIG_fail;
30502 if (arg2 == NULL) {
30503 SWIG_null_ref("wxTreeItemId");
30504 }
30505 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30506 }
30507 {
30508 PyThreadState* __tstate = wxPyBeginAllowThreads();
30509 (arg1)->Collapse((wxTreeItemId const &)*arg2);
30510
30511 wxPyEndAllowThreads(__tstate);
30512 if (PyErr_Occurred()) SWIG_fail;
30513 }
30514 Py_INCREF(Py_None); resultobj = Py_None;
30515 return resultobj;
30516 fail:
30517 return NULL;
30518}
30519
30520
c32bde28 30521static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30522 PyObject *resultobj;
30523 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30524 wxTreeItemId *arg2 = 0 ;
30525 PyObject * obj0 = 0 ;
30526 PyObject * obj1 = 0 ;
30527 char *kwnames[] = {
30528 (char *) "self",(char *) "item", NULL
30529 };
30530
30531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30532 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30533 if (SWIG_arg_fail(1)) SWIG_fail;
30534 {
30535 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30536 if (SWIG_arg_fail(2)) SWIG_fail;
30537 if (arg2 == NULL) {
30538 SWIG_null_ref("wxTreeItemId");
30539 }
30540 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30541 }
30542 {
30543 PyThreadState* __tstate = wxPyBeginAllowThreads();
30544 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
30545
30546 wxPyEndAllowThreads(__tstate);
30547 if (PyErr_Occurred()) SWIG_fail;
30548 }
30549 Py_INCREF(Py_None); resultobj = Py_None;
30550 return resultobj;
30551 fail:
30552 return NULL;
30553}
30554
30555
c32bde28 30556static PyObject *_wrap_TreeCtrl_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30557 PyObject *resultobj;
30558 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30559 wxTreeItemId *arg2 = 0 ;
30560 PyObject * obj0 = 0 ;
30561 PyObject * obj1 = 0 ;
30562 char *kwnames[] = {
30563 (char *) "self",(char *) "item", NULL
30564 };
30565
30566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30567 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30568 if (SWIG_arg_fail(1)) SWIG_fail;
30569 {
30570 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30571 if (SWIG_arg_fail(2)) SWIG_fail;
30572 if (arg2 == NULL) {
30573 SWIG_null_ref("wxTreeItemId");
30574 }
30575 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30576 }
30577 {
30578 PyThreadState* __tstate = wxPyBeginAllowThreads();
30579 (arg1)->Toggle((wxTreeItemId const &)*arg2);
30580
30581 wxPyEndAllowThreads(__tstate);
30582 if (PyErr_Occurred()) SWIG_fail;
30583 }
30584 Py_INCREF(Py_None); resultobj = Py_None;
30585 return resultobj;
30586 fail:
30587 return NULL;
30588}
30589
30590
c32bde28 30591static PyObject *_wrap_TreeCtrl_Unselect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30592 PyObject *resultobj;
30593 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30594 PyObject * obj0 = 0 ;
30595 char *kwnames[] = {
30596 (char *) "self", NULL
30597 };
30598
30599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
093d3ff1
RD
30600 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30601 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30602 {
30603 PyThreadState* __tstate = wxPyBeginAllowThreads();
30604 (arg1)->Unselect();
30605
30606 wxPyEndAllowThreads(__tstate);
30607 if (PyErr_Occurred()) SWIG_fail;
30608 }
30609 Py_INCREF(Py_None); resultobj = Py_None;
30610 return resultobj;
30611 fail:
30612 return NULL;
30613}
30614
30615
c32bde28 30616static PyObject *_wrap_TreeCtrl_UnselectItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30617 PyObject *resultobj;
30618 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30619 wxTreeItemId *arg2 = 0 ;
30620 PyObject * obj0 = 0 ;
30621 PyObject * obj1 = 0 ;
30622 char *kwnames[] = {
30623 (char *) "self",(char *) "item", NULL
30624 };
30625
30626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_UnselectItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30627 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30628 if (SWIG_arg_fail(1)) SWIG_fail;
30629 {
30630 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30631 if (SWIG_arg_fail(2)) SWIG_fail;
30632 if (arg2 == NULL) {
30633 SWIG_null_ref("wxTreeItemId");
30634 }
30635 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30636 }
30637 {
30638 PyThreadState* __tstate = wxPyBeginAllowThreads();
30639 (arg1)->UnselectItem((wxTreeItemId const &)*arg2);
30640
30641 wxPyEndAllowThreads(__tstate);
30642 if (PyErr_Occurred()) SWIG_fail;
30643 }
30644 Py_INCREF(Py_None); resultobj = Py_None;
30645 return resultobj;
30646 fail:
30647 return NULL;
30648}
30649
30650
c32bde28 30651static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30652 PyObject *resultobj;
30653 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30654 PyObject * obj0 = 0 ;
30655 char *kwnames[] = {
30656 (char *) "self", NULL
30657 };
30658
30659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_UnselectAll",kwnames,&obj0)) goto fail;
093d3ff1
RD
30660 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30661 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30662 {
30663 PyThreadState* __tstate = wxPyBeginAllowThreads();
30664 (arg1)->UnselectAll();
30665
30666 wxPyEndAllowThreads(__tstate);
30667 if (PyErr_Occurred()) SWIG_fail;
30668 }
30669 Py_INCREF(Py_None); resultobj = Py_None;
30670 return resultobj;
30671 fail:
30672 return NULL;
30673}
30674
30675
c32bde28 30676static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30677 PyObject *resultobj;
30678 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30679 wxTreeItemId *arg2 = 0 ;
ae8162c8 30680 bool arg3 = (bool) true ;
d55e5bfc
RD
30681 PyObject * obj0 = 0 ;
30682 PyObject * obj1 = 0 ;
30683 PyObject * obj2 = 0 ;
30684 char *kwnames[] = {
30685 (char *) "self",(char *) "item",(char *) "select", NULL
30686 };
30687
30688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
30689 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30690 if (SWIG_arg_fail(1)) SWIG_fail;
30691 {
30692 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30693 if (SWIG_arg_fail(2)) SWIG_fail;
30694 if (arg2 == NULL) {
30695 SWIG_null_ref("wxTreeItemId");
30696 }
30697 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30698 }
30699 if (obj2) {
093d3ff1
RD
30700 {
30701 arg3 = (bool)(SWIG_As_bool(obj2));
30702 if (SWIG_arg_fail(3)) SWIG_fail;
30703 }
d55e5bfc
RD
30704 }
30705 {
30706 PyThreadState* __tstate = wxPyBeginAllowThreads();
30707 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3);
30708
30709 wxPyEndAllowThreads(__tstate);
30710 if (PyErr_Occurred()) SWIG_fail;
30711 }
30712 Py_INCREF(Py_None); resultobj = Py_None;
30713 return resultobj;
30714 fail:
30715 return NULL;
30716}
30717
30718
c32bde28 30719static PyObject *_wrap_TreeCtrl_ToggleItemSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30720 PyObject *resultobj;
30721 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30722 wxTreeItemId *arg2 = 0 ;
30723 PyObject * obj0 = 0 ;
30724 PyObject * obj1 = 0 ;
30725 char *kwnames[] = {
30726 (char *) "self",(char *) "item", NULL
30727 };
30728
30729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30730 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30731 if (SWIG_arg_fail(1)) SWIG_fail;
30732 {
30733 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30734 if (SWIG_arg_fail(2)) SWIG_fail;
30735 if (arg2 == NULL) {
30736 SWIG_null_ref("wxTreeItemId");
30737 }
30738 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30739 }
30740 {
30741 PyThreadState* __tstate = wxPyBeginAllowThreads();
30742 (arg1)->ToggleItemSelection((wxTreeItemId const &)*arg2);
30743
30744 wxPyEndAllowThreads(__tstate);
30745 if (PyErr_Occurred()) SWIG_fail;
30746 }
30747 Py_INCREF(Py_None); resultobj = Py_None;
30748 return resultobj;
30749 fail:
30750 return NULL;
30751}
30752
30753
c32bde28 30754static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30755 PyObject *resultobj;
30756 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30757 wxTreeItemId *arg2 = 0 ;
30758 PyObject * obj0 = 0 ;
30759 PyObject * obj1 = 0 ;
30760 char *kwnames[] = {
30761 (char *) "self",(char *) "item", NULL
30762 };
30763
30764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30765 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30766 if (SWIG_arg_fail(1)) SWIG_fail;
30767 {
30768 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30769 if (SWIG_arg_fail(2)) SWIG_fail;
30770 if (arg2 == NULL) {
30771 SWIG_null_ref("wxTreeItemId");
30772 }
30773 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30774 }
30775 {
30776 PyThreadState* __tstate = wxPyBeginAllowThreads();
30777 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
30778
30779 wxPyEndAllowThreads(__tstate);
30780 if (PyErr_Occurred()) SWIG_fail;
30781 }
30782 Py_INCREF(Py_None); resultobj = Py_None;
30783 return resultobj;
30784 fail:
30785 return NULL;
30786}
30787
30788
c32bde28 30789static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30790 PyObject *resultobj;
30791 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30792 wxTreeItemId *arg2 = 0 ;
30793 PyObject * obj0 = 0 ;
30794 PyObject * obj1 = 0 ;
30795 char *kwnames[] = {
30796 (char *) "self",(char *) "item", NULL
30797 };
30798
30799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30800 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30801 if (SWIG_arg_fail(1)) SWIG_fail;
30802 {
30803 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30804 if (SWIG_arg_fail(2)) SWIG_fail;
30805 if (arg2 == NULL) {
30806 SWIG_null_ref("wxTreeItemId");
30807 }
30808 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30809 }
30810 {
30811 PyThreadState* __tstate = wxPyBeginAllowThreads();
30812 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
30813
30814 wxPyEndAllowThreads(__tstate);
30815 if (PyErr_Occurred()) SWIG_fail;
30816 }
30817 Py_INCREF(Py_None); resultobj = Py_None;
30818 return resultobj;
30819 fail:
30820 return NULL;
30821}
30822
30823
c32bde28 30824static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30825 PyObject *resultobj;
30826 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30827 wxTreeItemId *arg2 = 0 ;
30828 PyObject * obj0 = 0 ;
30829 PyObject * obj1 = 0 ;
30830 char *kwnames[] = {
30831 (char *) "self",(char *) "item", NULL
30832 };
30833
30834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30835 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30836 if (SWIG_arg_fail(1)) SWIG_fail;
30837 {
30838 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30839 if (SWIG_arg_fail(2)) SWIG_fail;
30840 if (arg2 == NULL) {
30841 SWIG_null_ref("wxTreeItemId");
30842 }
30843 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30844 }
30845 {
30846 PyThreadState* __tstate = wxPyBeginAllowThreads();
30847 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
30848
30849 wxPyEndAllowThreads(__tstate);
30850 if (PyErr_Occurred()) SWIG_fail;
30851 }
30852 Py_INCREF(Py_None); resultobj = Py_None;
30853 return resultobj;
30854 fail:
30855 return NULL;
30856}
30857
30858
c32bde28 30859static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30860 PyObject *resultobj;
30861 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30862 wxTextCtrl *result;
30863 PyObject * obj0 = 0 ;
30864 char *kwnames[] = {
30865 (char *) "self", NULL
30866 };
30867
30868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
093d3ff1
RD
30869 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30870 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30871 {
30872 PyThreadState* __tstate = wxPyBeginAllowThreads();
30873 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
30874
30875 wxPyEndAllowThreads(__tstate);
30876 if (PyErr_Occurred()) SWIG_fail;
30877 }
30878 {
412d302d 30879 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
30880 }
30881 return resultobj;
30882 fail:
30883 return NULL;
30884}
30885
30886
c32bde28 30887static PyObject *_wrap_TreeCtrl_EndEditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30888 PyObject *resultobj;
30889 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30890 wxTreeItemId *arg2 = 0 ;
ae8162c8 30891 bool arg3 = (bool) false ;
d55e5bfc
RD
30892 PyObject * obj0 = 0 ;
30893 PyObject * obj1 = 0 ;
30894 PyObject * obj2 = 0 ;
30895 char *kwnames[] = {
30896 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
30897 };
30898
30899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
30900 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30901 if (SWIG_arg_fail(1)) SWIG_fail;
30902 {
30903 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30904 if (SWIG_arg_fail(2)) SWIG_fail;
30905 if (arg2 == NULL) {
30906 SWIG_null_ref("wxTreeItemId");
30907 }
30908 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30909 }
30910 if (obj2) {
093d3ff1
RD
30911 {
30912 arg3 = (bool)(SWIG_As_bool(obj2));
30913 if (SWIG_arg_fail(3)) SWIG_fail;
30914 }
d55e5bfc
RD
30915 }
30916 {
30917 PyThreadState* __tstate = wxPyBeginAllowThreads();
30918 (arg1)->EndEditLabel((wxTreeItemId const &)*arg2,arg3);
30919
30920 wxPyEndAllowThreads(__tstate);
30921 if (PyErr_Occurred()) SWIG_fail;
30922 }
30923 Py_INCREF(Py_None); resultobj = Py_None;
30924 return resultobj;
30925 fail:
30926 return NULL;
30927}
30928
30929
c32bde28 30930static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30931 PyObject *resultobj;
30932 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30933 wxTreeItemId *arg2 = 0 ;
30934 PyObject * obj0 = 0 ;
30935 PyObject * obj1 = 0 ;
30936 char *kwnames[] = {
30937 (char *) "self",(char *) "item", NULL
30938 };
30939
30940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30941 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30942 if (SWIG_arg_fail(1)) SWIG_fail;
30943 {
30944 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30945 if (SWIG_arg_fail(2)) SWIG_fail;
30946 if (arg2 == NULL) {
30947 SWIG_null_ref("wxTreeItemId");
30948 }
30949 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30950 }
30951 {
30952 PyThreadState* __tstate = wxPyBeginAllowThreads();
30953 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
30954
30955 wxPyEndAllowThreads(__tstate);
30956 if (PyErr_Occurred()) SWIG_fail;
30957 }
30958 Py_INCREF(Py_None); resultobj = Py_None;
30959 return resultobj;
30960 fail:
30961 return NULL;
30962}
30963
30964
c32bde28 30965static PyObject *_wrap_TreeCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30966 PyObject *resultobj;
30967 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30968 wxPoint *arg2 = 0 ;
30969 int *arg3 = 0 ;
30970 wxTreeItemId result;
30971 wxPoint temp2 ;
30972 int temp3 ;
c32bde28 30973 int res3 = 0 ;
d55e5bfc
RD
30974 PyObject * obj0 = 0 ;
30975 PyObject * obj1 = 0 ;
30976 char *kwnames[] = {
30977 (char *) "self",(char *) "point", NULL
30978 };
30979
c32bde28 30980 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 30981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30982 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30983 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30984 {
30985 arg2 = &temp2;
30986 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
30987 }
30988 {
30989 PyThreadState* __tstate = wxPyBeginAllowThreads();
30990 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
30991
30992 wxPyEndAllowThreads(__tstate);
30993 if (PyErr_Occurred()) SWIG_fail;
30994 }
30995 {
30996 wxTreeItemId * resultptr;
093d3ff1 30997 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
30998 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30999 }
c32bde28
RD
31000 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
31001 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
31002 return resultobj;
31003 fail:
31004 return NULL;
31005}
31006
31007
c32bde28 31008static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31009 PyObject *resultobj;
31010 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31011 wxTreeItemId *arg2 = 0 ;
ae8162c8 31012 bool arg3 = (bool) false ;
d55e5bfc
RD
31013 PyObject *result;
31014 PyObject * obj0 = 0 ;
31015 PyObject * obj1 = 0 ;
31016 PyObject * obj2 = 0 ;
31017 char *kwnames[] = {
31018 (char *) "self",(char *) "item",(char *) "textOnly", NULL
31019 };
31020
31021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
31022 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31023 if (SWIG_arg_fail(1)) SWIG_fail;
31024 {
31025 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31026 if (SWIG_arg_fail(2)) SWIG_fail;
31027 if (arg2 == NULL) {
31028 SWIG_null_ref("wxTreeItemId");
31029 }
31030 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
31031 }
31032 if (obj2) {
093d3ff1
RD
31033 {
31034 arg3 = (bool)(SWIG_As_bool(obj2));
31035 if (SWIG_arg_fail(3)) SWIG_fail;
31036 }
d55e5bfc
RD
31037 }
31038 {
31039 PyThreadState* __tstate = wxPyBeginAllowThreads();
31040 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
31041
31042 wxPyEndAllowThreads(__tstate);
31043 if (PyErr_Occurred()) SWIG_fail;
31044 }
31045 resultobj = result;
31046 return resultobj;
31047 fail:
31048 return NULL;
31049}
31050
31051
c32bde28 31052static PyObject *_wrap_TreeCtrl_SetState(PyObject *, PyObject *args, PyObject *kwargs) {
110da5b0
RD
31053 PyObject *resultobj;
31054 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31055 wxTreeItemId *arg2 = 0 ;
31056 int arg3 ;
31057 PyObject * obj0 = 0 ;
31058 PyObject * obj1 = 0 ;
31059 PyObject * obj2 = 0 ;
31060 char *kwnames[] = {
31061 (char *) "self",(char *) "node",(char *) "state", NULL
31062 };
31063
31064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetState",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
31065 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31066 if (SWIG_arg_fail(1)) SWIG_fail;
31067 {
31068 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31069 if (SWIG_arg_fail(2)) SWIG_fail;
31070 if (arg2 == NULL) {
31071 SWIG_null_ref("wxTreeItemId");
31072 }
31073 if (SWIG_arg_fail(2)) SWIG_fail;
31074 }
31075 {
31076 arg3 = (int)(SWIG_As_int(obj2));
31077 if (SWIG_arg_fail(3)) SWIG_fail;
110da5b0 31078 }
110da5b0
RD
31079 {
31080 PyThreadState* __tstate = wxPyBeginAllowThreads();
31081 (arg1)->SetState((wxTreeItemId const &)*arg2,arg3);
31082
31083 wxPyEndAllowThreads(__tstate);
31084 if (PyErr_Occurred()) SWIG_fail;
31085 }
31086 Py_INCREF(Py_None); resultobj = Py_None;
31087 return resultobj;
31088 fail:
31089 return NULL;
31090}
31091
31092
c32bde28 31093static PyObject *_wrap_TreeCtrl_GetState(PyObject *, PyObject *args, PyObject *kwargs) {
110da5b0
RD
31094 PyObject *resultobj;
31095 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31096 wxTreeItemId *arg2 = 0 ;
31097 int result;
31098 PyObject * obj0 = 0 ;
31099 PyObject * obj1 = 0 ;
31100 char *kwnames[] = {
31101 (char *) "self",(char *) "node", NULL
31102 };
31103
31104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetState",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31105 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31106 if (SWIG_arg_fail(1)) SWIG_fail;
31107 {
31108 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31109 if (SWIG_arg_fail(2)) SWIG_fail;
31110 if (arg2 == NULL) {
31111 SWIG_null_ref("wxTreeItemId");
31112 }
31113 if (SWIG_arg_fail(2)) SWIG_fail;
110da5b0
RD
31114 }
31115 {
31116 PyThreadState* __tstate = wxPyBeginAllowThreads();
31117 result = (int)(arg1)->GetState((wxTreeItemId const &)*arg2);
31118
31119 wxPyEndAllowThreads(__tstate);
31120 if (PyErr_Occurred()) SWIG_fail;
31121 }
093d3ff1
RD
31122 {
31123 resultobj = SWIG_From_int((int)(result));
31124 }
110da5b0
RD
31125 return resultobj;
31126 fail:
31127 return NULL;
31128}
31129
31130
c32bde28 31131static PyObject *_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 31132 PyObject *resultobj;
093d3ff1 31133 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
d55e5bfc
RD
31134 wxVisualAttributes result;
31135 PyObject * obj0 = 0 ;
31136 char *kwnames[] = {
31137 (char *) "variant", NULL
31138 };
31139
31140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
31141 if (obj0) {
093d3ff1
RD
31142 {
31143 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
31144 if (SWIG_arg_fail(1)) SWIG_fail;
31145 }
d55e5bfc
RD
31146 }
31147 {
19272049 31148 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
31149 PyThreadState* __tstate = wxPyBeginAllowThreads();
31150 result = wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
31151
31152 wxPyEndAllowThreads(__tstate);
110da5b0 31153 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
31154 }
31155 {
31156 wxVisualAttributes * resultptr;
093d3ff1 31157 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
d55e5bfc
RD
31158 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
31159 }
31160 return resultobj;
31161 fail:
31162 return NULL;
31163}
31164
31165
c32bde28 31166static PyObject * TreeCtrl_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
31167 PyObject *obj;
31168 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31169 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
31170 Py_INCREF(obj);
31171 return Py_BuildValue((char *)"");
31172}
c32bde28 31173static int _wrap_DirDialogDefaultFolderStr_set(PyObject *) {
d55e5bfc
RD
31174 PyErr_SetString(PyExc_TypeError,"Variable DirDialogDefaultFolderStr is read-only.");
31175 return 1;
31176}
31177
31178
093d3ff1 31179static PyObject *_wrap_DirDialogDefaultFolderStr_get(void) {
d55e5bfc
RD
31180 PyObject *pyobj;
31181
31182 {
31183#if wxUSE_UNICODE
31184 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
31185#else
31186 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
31187#endif
31188 }
31189 return pyobj;
31190}
31191
31192
c32bde28 31193static PyObject *_wrap_new_GenericDirCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31194 PyObject *resultobj;
31195 wxWindow *arg1 = (wxWindow *) 0 ;
31196 int arg2 = (int) (int)-1 ;
31197 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
31198 wxString *arg3 = (wxString *) &arg3_defvalue ;
31199 wxPoint const &arg4_defvalue = wxDefaultPosition ;
31200 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
31201 wxSize const &arg5_defvalue = wxDefaultSize ;
31202 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
31203 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
31204 wxString const &arg7_defvalue = wxPyEmptyString ;
31205 wxString *arg7 = (wxString *) &arg7_defvalue ;
31206 int arg8 = (int) 0 ;
31207 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
31208 wxString *arg9 = (wxString *) &arg9_defvalue ;
31209 wxGenericDirCtrl *result;
ae8162c8 31210 bool temp3 = false ;
d55e5bfc
RD
31211 wxPoint temp4 ;
31212 wxSize temp5 ;
ae8162c8
RD
31213 bool temp7 = false ;
31214 bool temp9 = false ;
d55e5bfc
RD
31215 PyObject * obj0 = 0 ;
31216 PyObject * obj1 = 0 ;
31217 PyObject * obj2 = 0 ;
31218 PyObject * obj3 = 0 ;
31219 PyObject * obj4 = 0 ;
31220 PyObject * obj5 = 0 ;
31221 PyObject * obj6 = 0 ;
31222 PyObject * obj7 = 0 ;
31223 PyObject * obj8 = 0 ;
31224 char *kwnames[] = {
31225 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
31226 };
31227
31228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
31229 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31230 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 31231 if (obj1) {
093d3ff1
RD
31232 {
31233 arg2 = (int const)(SWIG_As_int(obj1));
31234 if (SWIG_arg_fail(2)) SWIG_fail;
31235 }
d55e5bfc
RD
31236 }
31237 if (obj2) {
31238 {
31239 arg3 = wxString_in_helper(obj2);
31240 if (arg3 == NULL) SWIG_fail;
ae8162c8 31241 temp3 = true;
d55e5bfc
RD
31242 }
31243 }
31244 if (obj3) {
31245 {
31246 arg4 = &temp4;
31247 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
31248 }
31249 }
31250 if (obj4) {
31251 {
31252 arg5 = &temp5;
31253 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
31254 }
31255 }
31256 if (obj5) {
093d3ff1
RD
31257 {
31258 arg6 = (long)(SWIG_As_long(obj5));
31259 if (SWIG_arg_fail(6)) SWIG_fail;
31260 }
d55e5bfc
RD
31261 }
31262 if (obj6) {
31263 {
31264 arg7 = wxString_in_helper(obj6);
31265 if (arg7 == NULL) SWIG_fail;
ae8162c8 31266 temp7 = true;
d55e5bfc
RD
31267 }
31268 }
31269 if (obj7) {
093d3ff1
RD
31270 {
31271 arg8 = (int)(SWIG_As_int(obj7));
31272 if (SWIG_arg_fail(8)) SWIG_fail;
31273 }
d55e5bfc
RD
31274 }
31275 if (obj8) {
31276 {
31277 arg9 = wxString_in_helper(obj8);
31278 if (arg9 == NULL) SWIG_fail;
ae8162c8 31279 temp9 = true;
d55e5bfc
RD
31280 }
31281 }
31282 {
0439c23b 31283 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
31284 PyThreadState* __tstate = wxPyBeginAllowThreads();
31285 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
31286
31287 wxPyEndAllowThreads(__tstate);
110da5b0 31288 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
31289 }
31290 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
31291 {
31292 if (temp3)
31293 delete arg3;
31294 }
31295 {
31296 if (temp7)
31297 delete arg7;
31298 }
31299 {
31300 if (temp9)
31301 delete arg9;
31302 }
31303 return resultobj;
31304 fail:
31305 {
31306 if (temp3)
31307 delete arg3;
31308 }
31309 {
31310 if (temp7)
31311 delete arg7;
31312 }
31313 {
31314 if (temp9)
31315 delete arg9;
31316 }
31317 return NULL;
31318}
31319
31320
c32bde28 31321static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31322 PyObject *resultobj;
31323 wxGenericDirCtrl *result;
31324 char *kwnames[] = {
31325 NULL
31326 };
31327
31328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
31329 {
0439c23b 31330 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
31331 PyThreadState* __tstate = wxPyBeginAllowThreads();
31332 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
31333
31334 wxPyEndAllowThreads(__tstate);
110da5b0 31335 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
31336 }
31337 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
31338 return resultobj;
31339 fail:
31340 return NULL;
31341}
31342
31343
c32bde28 31344static PyObject *_wrap_GenericDirCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31345 PyObject *resultobj;
31346 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31347 wxWindow *arg2 = (wxWindow *) 0 ;
31348 int arg3 = (int) (int)-1 ;
31349 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
31350 wxString *arg4 = (wxString *) &arg4_defvalue ;
31351 wxPoint const &arg5_defvalue = wxDefaultPosition ;
31352 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
31353 wxSize const &arg6_defvalue = wxDefaultSize ;
31354 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
31355 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
31356 wxString const &arg8_defvalue = wxPyEmptyString ;
31357 wxString *arg8 = (wxString *) &arg8_defvalue ;
31358 int arg9 = (int) 0 ;
31359 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
31360 wxString *arg10 = (wxString *) &arg10_defvalue ;
31361 bool result;
ae8162c8 31362 bool temp4 = false ;
d55e5bfc
RD
31363 wxPoint temp5 ;
31364 wxSize temp6 ;
ae8162c8
RD
31365 bool temp8 = false ;
31366 bool temp10 = false ;
d55e5bfc
RD
31367 PyObject * obj0 = 0 ;
31368 PyObject * obj1 = 0 ;
31369 PyObject * obj2 = 0 ;
31370 PyObject * obj3 = 0 ;
31371 PyObject * obj4 = 0 ;
31372 PyObject * obj5 = 0 ;
31373 PyObject * obj6 = 0 ;
31374 PyObject * obj7 = 0 ;
31375 PyObject * obj8 = 0 ;
31376 PyObject * obj9 = 0 ;
31377 char *kwnames[] = {
31378 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
31379 };
31380
31381 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
31382 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31383 if (SWIG_arg_fail(1)) SWIG_fail;
31384 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31385 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 31386 if (obj2) {
093d3ff1
RD
31387 {
31388 arg3 = (int const)(SWIG_As_int(obj2));
31389 if (SWIG_arg_fail(3)) SWIG_fail;
31390 }
d55e5bfc
RD
31391 }
31392 if (obj3) {
31393 {
31394 arg4 = wxString_in_helper(obj3);
31395 if (arg4 == NULL) SWIG_fail;
ae8162c8 31396 temp4 = true;
d55e5bfc
RD
31397 }
31398 }
31399 if (obj4) {
31400 {
31401 arg5 = &temp5;
31402 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
31403 }
31404 }
31405 if (obj5) {
31406 {
31407 arg6 = &temp6;
31408 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
31409 }
31410 }
31411 if (obj6) {
093d3ff1
RD
31412 {
31413 arg7 = (long)(SWIG_As_long(obj6));
31414 if (SWIG_arg_fail(7)) SWIG_fail;
31415 }
d55e5bfc
RD
31416 }
31417 if (obj7) {
31418 {
31419 arg8 = wxString_in_helper(obj7);
31420 if (arg8 == NULL) SWIG_fail;
ae8162c8 31421 temp8 = true;
d55e5bfc
RD
31422 }
31423 }
31424 if (obj8) {
093d3ff1
RD
31425 {
31426 arg9 = (int)(SWIG_As_int(obj8));
31427 if (SWIG_arg_fail(9)) SWIG_fail;
31428 }
d55e5bfc
RD
31429 }
31430 if (obj9) {
31431 {
31432 arg10 = wxString_in_helper(obj9);
31433 if (arg10 == NULL) SWIG_fail;
ae8162c8 31434 temp10 = true;
d55e5bfc
RD
31435 }
31436 }
31437 {
31438 PyThreadState* __tstate = wxPyBeginAllowThreads();
31439 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
31440
31441 wxPyEndAllowThreads(__tstate);
31442 if (PyErr_Occurred()) SWIG_fail;
31443 }
31444 {
31445 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31446 }
31447 {
31448 if (temp4)
31449 delete arg4;
31450 }
31451 {
31452 if (temp8)
31453 delete arg8;
31454 }
31455 {
31456 if (temp10)
31457 delete arg10;
31458 }
31459 return resultobj;
31460 fail:
31461 {
31462 if (temp4)
31463 delete arg4;
31464 }
31465 {
31466 if (temp8)
31467 delete arg8;
31468 }
31469 {
31470 if (temp10)
31471 delete arg10;
31472 }
31473 return NULL;
31474}
31475
31476
c32bde28 31477static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31478 PyObject *resultobj;
31479 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31480 wxString *arg2 = 0 ;
31481 bool result;
ae8162c8 31482 bool temp2 = false ;
d55e5bfc
RD
31483 PyObject * obj0 = 0 ;
31484 PyObject * obj1 = 0 ;
31485 char *kwnames[] = {
31486 (char *) "self",(char *) "path", NULL
31487 };
31488
31489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31490 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31491 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31492 {
31493 arg2 = wxString_in_helper(obj1);
31494 if (arg2 == NULL) SWIG_fail;
ae8162c8 31495 temp2 = true;
d55e5bfc
RD
31496 }
31497 {
31498 PyThreadState* __tstate = wxPyBeginAllowThreads();
31499 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
31500
31501 wxPyEndAllowThreads(__tstate);
31502 if (PyErr_Occurred()) SWIG_fail;
31503 }
31504 {
31505 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31506 }
31507 {
31508 if (temp2)
31509 delete arg2;
31510 }
31511 return resultobj;
31512 fail:
31513 {
31514 if (temp2)
31515 delete arg2;
31516 }
31517 return NULL;
31518}
31519
31520
c32bde28 31521static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31522 PyObject *resultobj;
31523 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31524 wxString result;
31525 PyObject * obj0 = 0 ;
31526 char *kwnames[] = {
31527 (char *) "self", NULL
31528 };
31529
31530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames,&obj0)) goto fail;
093d3ff1
RD
31531 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31532 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31533 {
31534 PyThreadState* __tstate = wxPyBeginAllowThreads();
31535 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
31536
31537 wxPyEndAllowThreads(__tstate);
31538 if (PyErr_Occurred()) SWIG_fail;
31539 }
31540 {
31541#if wxUSE_UNICODE
31542 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31543#else
31544 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31545#endif
31546 }
31547 return resultobj;
31548 fail:
31549 return NULL;
31550}
31551
31552
c32bde28 31553static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31554 PyObject *resultobj;
31555 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31556 wxString *arg2 = 0 ;
ae8162c8 31557 bool temp2 = false ;
d55e5bfc
RD
31558 PyObject * obj0 = 0 ;
31559 PyObject * obj1 = 0 ;
31560 char *kwnames[] = {
31561 (char *) "self",(char *) "path", NULL
31562 };
31563
31564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31565 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31566 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31567 {
31568 arg2 = wxString_in_helper(obj1);
31569 if (arg2 == NULL) SWIG_fail;
ae8162c8 31570 temp2 = true;
d55e5bfc
RD
31571 }
31572 {
31573 PyThreadState* __tstate = wxPyBeginAllowThreads();
31574 (arg1)->SetDefaultPath((wxString const &)*arg2);
31575
31576 wxPyEndAllowThreads(__tstate);
31577 if (PyErr_Occurred()) SWIG_fail;
31578 }
31579 Py_INCREF(Py_None); resultobj = Py_None;
31580 {
31581 if (temp2)
31582 delete arg2;
31583 }
31584 return resultobj;
31585 fail:
31586 {
31587 if (temp2)
31588 delete arg2;
31589 }
31590 return NULL;
31591}
31592
31593
c32bde28 31594static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31595 PyObject *resultobj;
31596 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31597 wxString result;
31598 PyObject * obj0 = 0 ;
31599 char *kwnames[] = {
31600 (char *) "self", NULL
31601 };
31602
31603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
093d3ff1
RD
31604 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31605 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31606 {
31607 PyThreadState* __tstate = wxPyBeginAllowThreads();
31608 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
31609
31610 wxPyEndAllowThreads(__tstate);
31611 if (PyErr_Occurred()) SWIG_fail;
31612 }
31613 {
31614#if wxUSE_UNICODE
31615 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31616#else
31617 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31618#endif
31619 }
31620 return resultobj;
31621 fail:
31622 return NULL;
31623}
31624
31625
c32bde28 31626static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31627 PyObject *resultobj;
31628 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31629 wxString result;
31630 PyObject * obj0 = 0 ;
31631 char *kwnames[] = {
31632 (char *) "self", NULL
31633 };
31634
31635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
093d3ff1
RD
31636 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31637 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31638 {
31639 PyThreadState* __tstate = wxPyBeginAllowThreads();
31640 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
31641
31642 wxPyEndAllowThreads(__tstate);
31643 if (PyErr_Occurred()) SWIG_fail;
31644 }
31645 {
31646#if wxUSE_UNICODE
31647 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31648#else
31649 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31650#endif
31651 }
31652 return resultobj;
31653 fail:
31654 return NULL;
31655}
31656
31657
c32bde28 31658static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31659 PyObject *resultobj;
31660 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31661 wxString *arg2 = 0 ;
ae8162c8 31662 bool temp2 = false ;
d55e5bfc
RD
31663 PyObject * obj0 = 0 ;
31664 PyObject * obj1 = 0 ;
31665 char *kwnames[] = {
31666 (char *) "self",(char *) "path", NULL
31667 };
31668
31669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31670 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31671 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31672 {
31673 arg2 = wxString_in_helper(obj1);
31674 if (arg2 == NULL) SWIG_fail;
ae8162c8 31675 temp2 = true;
d55e5bfc
RD
31676 }
31677 {
31678 PyThreadState* __tstate = wxPyBeginAllowThreads();
31679 (arg1)->SetPath((wxString const &)*arg2);
31680
31681 wxPyEndAllowThreads(__tstate);
31682 if (PyErr_Occurred()) SWIG_fail;
31683 }
31684 Py_INCREF(Py_None); resultobj = Py_None;
31685 {
31686 if (temp2)
31687 delete arg2;
31688 }
31689 return resultobj;
31690 fail:
31691 {
31692 if (temp2)
31693 delete arg2;
31694 }
31695 return NULL;
31696}
31697
31698
c32bde28 31699static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31700 PyObject *resultobj;
31701 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31702 bool arg2 ;
31703 PyObject * obj0 = 0 ;
31704 PyObject * obj1 = 0 ;
31705 char *kwnames[] = {
31706 (char *) "self",(char *) "show", NULL
31707 };
31708
31709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31710 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31711 if (SWIG_arg_fail(1)) SWIG_fail;
31712 {
31713 arg2 = (bool)(SWIG_As_bool(obj1));
31714 if (SWIG_arg_fail(2)) SWIG_fail;
31715 }
d55e5bfc
RD
31716 {
31717 PyThreadState* __tstate = wxPyBeginAllowThreads();
31718 (arg1)->ShowHidden(arg2);
31719
31720 wxPyEndAllowThreads(__tstate);
31721 if (PyErr_Occurred()) SWIG_fail;
31722 }
31723 Py_INCREF(Py_None); resultobj = Py_None;
31724 return resultobj;
31725 fail:
31726 return NULL;
31727}
31728
31729
c32bde28 31730static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31731 PyObject *resultobj;
31732 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31733 bool result;
31734 PyObject * obj0 = 0 ;
31735 char *kwnames[] = {
31736 (char *) "self", NULL
31737 };
31738
31739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames,&obj0)) goto fail;
093d3ff1
RD
31740 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31741 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31742 {
31743 PyThreadState* __tstate = wxPyBeginAllowThreads();
31744 result = (bool)(arg1)->GetShowHidden();
31745
31746 wxPyEndAllowThreads(__tstate);
31747 if (PyErr_Occurred()) SWIG_fail;
31748 }
31749 {
31750 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31751 }
31752 return resultobj;
31753 fail:
31754 return NULL;
31755}
31756
31757
c32bde28 31758static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31759 PyObject *resultobj;
31760 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31761 wxString result;
31762 PyObject * obj0 = 0 ;
31763 char *kwnames[] = {
31764 (char *) "self", NULL
31765 };
31766
31767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilter",kwnames,&obj0)) goto fail;
093d3ff1
RD
31768 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31769 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31770 {
31771 PyThreadState* __tstate = wxPyBeginAllowThreads();
31772 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
31773
31774 wxPyEndAllowThreads(__tstate);
31775 if (PyErr_Occurred()) SWIG_fail;
31776 }
31777 {
31778#if wxUSE_UNICODE
31779 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31780#else
31781 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31782#endif
31783 }
31784 return resultobj;
31785 fail:
31786 return NULL;
31787}
31788
31789
c32bde28 31790static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31791 PyObject *resultobj;
31792 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31793 wxString *arg2 = 0 ;
ae8162c8 31794 bool temp2 = false ;
d55e5bfc
RD
31795 PyObject * obj0 = 0 ;
31796 PyObject * obj1 = 0 ;
31797 char *kwnames[] = {
31798 (char *) "self",(char *) "filter", NULL
31799 };
31800
31801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31802 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31803 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31804 {
31805 arg2 = wxString_in_helper(obj1);
31806 if (arg2 == NULL) SWIG_fail;
ae8162c8 31807 temp2 = true;
d55e5bfc
RD
31808 }
31809 {
31810 PyThreadState* __tstate = wxPyBeginAllowThreads();
31811 (arg1)->SetFilter((wxString const &)*arg2);
31812
31813 wxPyEndAllowThreads(__tstate);
31814 if (PyErr_Occurred()) SWIG_fail;
31815 }
31816 Py_INCREF(Py_None); resultobj = Py_None;
31817 {
31818 if (temp2)
31819 delete arg2;
31820 }
31821 return resultobj;
31822 fail:
31823 {
31824 if (temp2)
31825 delete arg2;
31826 }
31827 return NULL;
31828}
31829
31830
c32bde28 31831static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31832 PyObject *resultobj;
31833 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31834 int result;
31835 PyObject * obj0 = 0 ;
31836 char *kwnames[] = {
31837 (char *) "self", NULL
31838 };
31839
31840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames,&obj0)) goto fail;
093d3ff1
RD
31841 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31842 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31843 {
31844 PyThreadState* __tstate = wxPyBeginAllowThreads();
31845 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
31846
31847 wxPyEndAllowThreads(__tstate);
31848 if (PyErr_Occurred()) SWIG_fail;
31849 }
093d3ff1
RD
31850 {
31851 resultobj = SWIG_From_int((int)(result));
31852 }
d55e5bfc
RD
31853 return resultobj;
31854 fail:
31855 return NULL;
31856}
31857
31858
c32bde28 31859static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31860 PyObject *resultobj;
31861 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31862 int arg2 ;
31863 PyObject * obj0 = 0 ;
31864 PyObject * obj1 = 0 ;
31865 char *kwnames[] = {
31866 (char *) "self",(char *) "n", NULL
31867 };
31868
31869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31870 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31871 if (SWIG_arg_fail(1)) SWIG_fail;
31872 {
31873 arg2 = (int)(SWIG_As_int(obj1));
31874 if (SWIG_arg_fail(2)) SWIG_fail;
31875 }
d55e5bfc
RD
31876 {
31877 PyThreadState* __tstate = wxPyBeginAllowThreads();
31878 (arg1)->SetFilterIndex(arg2);
31879
31880 wxPyEndAllowThreads(__tstate);
31881 if (PyErr_Occurred()) SWIG_fail;
31882 }
31883 Py_INCREF(Py_None); resultobj = Py_None;
31884 return resultobj;
31885 fail:
31886 return NULL;
31887}
31888
31889
c32bde28 31890static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31891 PyObject *resultobj;
31892 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31893 wxTreeItemId result;
31894 PyObject * obj0 = 0 ;
31895 char *kwnames[] = {
31896 (char *) "self", NULL
31897 };
31898
31899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
093d3ff1
RD
31900 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31901 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31902 {
31903 PyThreadState* __tstate = wxPyBeginAllowThreads();
31904 result = (arg1)->GetRootId();
31905
31906 wxPyEndAllowThreads(__tstate);
31907 if (PyErr_Occurred()) SWIG_fail;
31908 }
31909 {
31910 wxTreeItemId * resultptr;
093d3ff1 31911 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
31912 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31913 }
31914 return resultobj;
31915 fail:
31916 return NULL;
31917}
31918
31919
c32bde28 31920static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31921 PyObject *resultobj;
31922 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31923 wxPyTreeCtrl *result;
31924 PyObject * obj0 = 0 ;
31925 char *kwnames[] = {
31926 (char *) "self", NULL
31927 };
31928
31929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
093d3ff1
RD
31930 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31931 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31932 {
31933 PyThreadState* __tstate = wxPyBeginAllowThreads();
31934 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
31935
31936 wxPyEndAllowThreads(__tstate);
31937 if (PyErr_Occurred()) SWIG_fail;
31938 }
31939 {
412d302d 31940 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
31941 }
31942 return resultobj;
31943 fail:
31944 return NULL;
31945}
31946
31947
c32bde28 31948static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31949 PyObject *resultobj;
31950 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31951 wxDirFilterListCtrl *result;
31952 PyObject * obj0 = 0 ;
31953 char *kwnames[] = {
31954 (char *) "self", NULL
31955 };
31956
31957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames,&obj0)) goto fail;
093d3ff1
RD
31958 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31959 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31960 {
31961 PyThreadState* __tstate = wxPyBeginAllowThreads();
31962 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
31963
31964 wxPyEndAllowThreads(__tstate);
31965 if (PyErr_Occurred()) SWIG_fail;
31966 }
31967 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 0);
31968 return resultobj;
31969 fail:
31970 return NULL;
31971}
31972
31973
c32bde28 31974static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31975 PyObject *resultobj;
31976 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31977 wxTreeItemId arg2 ;
31978 wxString *arg3 = 0 ;
31979 bool *arg4 = 0 ;
31980 wxTreeItemId result;
ae8162c8 31981 bool temp3 = false ;
d55e5bfc 31982 bool temp4 ;
c32bde28 31983 int res4 = 0 ;
d55e5bfc
RD
31984 PyObject * obj0 = 0 ;
31985 PyObject * obj1 = 0 ;
31986 PyObject * obj2 = 0 ;
31987 char *kwnames[] = {
31988 (char *) "self",(char *) "parentId",(char *) "path", NULL
31989 };
31990
c32bde28 31991 arg4 = &temp4; res4 = SWIG_NEWOBJ;
d55e5bfc 31992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
31993 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31994 if (SWIG_arg_fail(1)) SWIG_fail;
31995 {
31996 wxTreeItemId * argp;
31997 SWIG_Python_ConvertPtr(obj1, (void **)&argp, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION);
31998 if (SWIG_arg_fail(2)) SWIG_fail;
31999 if (argp == NULL) {
32000 SWIG_null_ref("wxTreeItemId");
32001 }
32002 if (SWIG_arg_fail(2)) SWIG_fail;
32003 arg2 = *argp;
32004 }
d55e5bfc
RD
32005 {
32006 arg3 = wxString_in_helper(obj2);
32007 if (arg3 == NULL) SWIG_fail;
ae8162c8 32008 temp3 = true;
d55e5bfc
RD
32009 }
32010 {
32011 PyThreadState* __tstate = wxPyBeginAllowThreads();
32012 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
32013
32014 wxPyEndAllowThreads(__tstate);
32015 if (PyErr_Occurred()) SWIG_fail;
32016 }
32017 {
32018 wxTreeItemId * resultptr;
093d3ff1 32019 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
32020 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
32021 }
c32bde28
RD
32022 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
32023 SWIG_From_bool((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, 0)));
d55e5bfc
RD
32024 {
32025 if (temp3)
32026 delete arg3;
32027 }
32028 return resultobj;
32029 fail:
32030 {
32031 if (temp3)
32032 delete arg3;
32033 }
32034 return NULL;
32035}
32036
32037
c32bde28 32038static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32039 PyObject *resultobj;
32040 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32041 PyObject * obj0 = 0 ;
32042 char *kwnames[] = {
32043 (char *) "self", NULL
32044 };
32045
32046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
093d3ff1
RD
32047 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32048 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32049 {
32050 PyThreadState* __tstate = wxPyBeginAllowThreads();
32051 (arg1)->DoResize();
32052
32053 wxPyEndAllowThreads(__tstate);
32054 if (PyErr_Occurred()) SWIG_fail;
32055 }
32056 Py_INCREF(Py_None); resultobj = Py_None;
32057 return resultobj;
32058 fail:
32059 return NULL;
32060}
32061
32062
c32bde28 32063static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32064 PyObject *resultobj;
32065 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32066 PyObject * obj0 = 0 ;
32067 char *kwnames[] = {
32068 (char *) "self", NULL
32069 };
32070
32071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
093d3ff1
RD
32072 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32073 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32074 {
32075 PyThreadState* __tstate = wxPyBeginAllowThreads();
32076 (arg1)->ReCreateTree();
32077
32078 wxPyEndAllowThreads(__tstate);
32079 if (PyErr_Occurred()) SWIG_fail;
32080 }
32081 Py_INCREF(Py_None); resultobj = Py_None;
32082 return resultobj;
32083 fail:
32084 return NULL;
32085}
32086
32087
c32bde28 32088static PyObject * GenericDirCtrl_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
32089 PyObject *obj;
32090 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32091 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
32092 Py_INCREF(obj);
32093 return Py_BuildValue((char *)"");
32094}
c32bde28 32095static PyObject *_wrap_new_DirFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32096 PyObject *resultobj;
32097 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32098 int arg2 = (int) (int)-1 ;
32099 wxPoint const &arg3_defvalue = wxDefaultPosition ;
32100 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
32101 wxSize const &arg4_defvalue = wxDefaultSize ;
32102 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
32103 long arg5 = (long) 0 ;
32104 wxDirFilterListCtrl *result;
32105 wxPoint temp3 ;
32106 wxSize temp4 ;
32107 PyObject * obj0 = 0 ;
32108 PyObject * obj1 = 0 ;
32109 PyObject * obj2 = 0 ;
32110 PyObject * obj3 = 0 ;
32111 PyObject * obj4 = 0 ;
32112 char *kwnames[] = {
32113 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
32114 };
32115
32116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
32117 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32118 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 32119 if (obj1) {
093d3ff1
RD
32120 {
32121 arg2 = (int const)(SWIG_As_int(obj1));
32122 if (SWIG_arg_fail(2)) SWIG_fail;
32123 }
d55e5bfc
RD
32124 }
32125 if (obj2) {
32126 {
32127 arg3 = &temp3;
32128 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
32129 }
32130 }
32131 if (obj3) {
32132 {
32133 arg4 = &temp4;
32134 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
32135 }
32136 }
32137 if (obj4) {
093d3ff1
RD
32138 {
32139 arg5 = (long)(SWIG_As_long(obj4));
32140 if (SWIG_arg_fail(5)) SWIG_fail;
32141 }
d55e5bfc
RD
32142 }
32143 {
0439c23b 32144 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
32145 PyThreadState* __tstate = wxPyBeginAllowThreads();
32146 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
32147
32148 wxPyEndAllowThreads(__tstate);
110da5b0 32149 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
32150 }
32151 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
32152 return resultobj;
32153 fail:
32154 return NULL;
32155}
32156
32157
c32bde28 32158static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32159 PyObject *resultobj;
32160 wxDirFilterListCtrl *result;
32161 char *kwnames[] = {
32162 NULL
32163 };
32164
32165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
32166 {
0439c23b 32167 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
32168 PyThreadState* __tstate = wxPyBeginAllowThreads();
32169 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
32170
32171 wxPyEndAllowThreads(__tstate);
110da5b0 32172 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
32173 }
32174 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
32175 return resultobj;
32176 fail:
32177 return NULL;
32178}
32179
32180
c32bde28 32181static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32182 PyObject *resultobj;
32183 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
32184 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
32185 int arg3 = (int) (int)-1 ;
32186 wxPoint const &arg4_defvalue = wxDefaultPosition ;
32187 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
32188 wxSize const &arg5_defvalue = wxDefaultSize ;
32189 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
32190 long arg6 = (long) 0 ;
32191 bool result;
32192 wxPoint temp4 ;
32193 wxSize temp5 ;
32194 PyObject * obj0 = 0 ;
32195 PyObject * obj1 = 0 ;
32196 PyObject * obj2 = 0 ;
32197 PyObject * obj3 = 0 ;
32198 PyObject * obj4 = 0 ;
32199 PyObject * obj5 = 0 ;
32200 char *kwnames[] = {
32201 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
32202 };
32203
32204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
32205 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirFilterListCtrl, SWIG_POINTER_EXCEPTION | 0);
32206 if (SWIG_arg_fail(1)) SWIG_fail;
32207 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32208 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 32209 if (obj2) {
093d3ff1
RD
32210 {
32211 arg3 = (int const)(SWIG_As_int(obj2));
32212 if (SWIG_arg_fail(3)) SWIG_fail;
32213 }
d55e5bfc
RD
32214 }
32215 if (obj3) {
32216 {
32217 arg4 = &temp4;
32218 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
32219 }
32220 }
32221 if (obj4) {
32222 {
32223 arg5 = &temp5;
32224 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
32225 }
32226 }
32227 if (obj5) {
093d3ff1
RD
32228 {
32229 arg6 = (long)(SWIG_As_long(obj5));
32230 if (SWIG_arg_fail(6)) SWIG_fail;
32231 }
d55e5bfc
RD
32232 }
32233 {
32234 PyThreadState* __tstate = wxPyBeginAllowThreads();
32235 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
32236
32237 wxPyEndAllowThreads(__tstate);
32238 if (PyErr_Occurred()) SWIG_fail;
32239 }
32240 {
32241 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32242 }
32243 return resultobj;
32244 fail:
32245 return NULL;
32246}
32247
32248
c32bde28 32249static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32250 PyObject *resultobj;
32251 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
32252 wxString *arg2 = 0 ;
32253 int arg3 ;
ae8162c8 32254 bool temp2 = false ;
d55e5bfc
RD
32255 PyObject * obj0 = 0 ;
32256 PyObject * obj1 = 0 ;
32257 PyObject * obj2 = 0 ;
32258 char *kwnames[] = {
32259 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
32260 };
32261
32262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
32263 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirFilterListCtrl, SWIG_POINTER_EXCEPTION | 0);
32264 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32265 {
32266 arg2 = wxString_in_helper(obj1);
32267 if (arg2 == NULL) SWIG_fail;
ae8162c8 32268 temp2 = true;
d55e5bfc 32269 }
093d3ff1
RD
32270 {
32271 arg3 = (int)(SWIG_As_int(obj2));
32272 if (SWIG_arg_fail(3)) SWIG_fail;
32273 }
d55e5bfc
RD
32274 {
32275 PyThreadState* __tstate = wxPyBeginAllowThreads();
32276 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
32277
32278 wxPyEndAllowThreads(__tstate);
32279 if (PyErr_Occurred()) SWIG_fail;
32280 }
32281 Py_INCREF(Py_None); resultobj = Py_None;
32282 {
32283 if (temp2)
32284 delete arg2;
32285 }
32286 return resultobj;
32287 fail:
32288 {
32289 if (temp2)
32290 delete arg2;
32291 }
32292 return NULL;
32293}
32294
32295
c32bde28 32296static PyObject * DirFilterListCtrl_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
32297 PyObject *obj;
32298 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32299 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
32300 Py_INCREF(obj);
32301 return Py_BuildValue((char *)"");
32302}
c32bde28 32303static PyObject *_wrap_new_PyControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32304 PyObject *resultobj;
32305 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 32306 int arg2 = (int) (int)-1 ;
d55e5bfc
RD
32307 wxPoint const &arg3_defvalue = wxDefaultPosition ;
32308 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
32309 wxSize const &arg4_defvalue = wxDefaultSize ;
32310 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
32311 long arg5 = (long) 0 ;
32312 wxValidator const &arg6_defvalue = wxDefaultValidator ;
32313 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
32314 wxString const &arg7_defvalue = wxPyControlNameStr ;
32315 wxString *arg7 = (wxString *) &arg7_defvalue ;
32316 wxPyControl *result;
32317 wxPoint temp3 ;
32318 wxSize temp4 ;
ae8162c8 32319 bool temp7 = false ;
d55e5bfc
RD
32320 PyObject * obj0 = 0 ;
32321 PyObject * obj1 = 0 ;
32322 PyObject * obj2 = 0 ;
32323 PyObject * obj3 = 0 ;
32324 PyObject * obj4 = 0 ;
32325 PyObject * obj5 = 0 ;
32326 PyObject * obj6 = 0 ;
32327 char *kwnames[] = {
32328 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32329 };
32330
248ed943 32331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_PyControl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
32332 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32333 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 32334 if (obj1) {
093d3ff1
RD
32335 {
32336 arg2 = (int const)(SWIG_As_int(obj1));
32337 if (SWIG_arg_fail(2)) SWIG_fail;
32338 }
248ed943 32339 }
d55e5bfc
RD
32340 if (obj2) {
32341 {
32342 arg3 = &temp3;
32343 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
32344 }
32345 }
32346 if (obj3) {
32347 {
32348 arg4 = &temp4;
32349 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
32350 }
32351 }
32352 if (obj4) {
093d3ff1
RD
32353 {
32354 arg5 = (long)(SWIG_As_long(obj4));
32355 if (SWIG_arg_fail(5)) SWIG_fail;
32356 }
d55e5bfc
RD
32357 }
32358 if (obj5) {
093d3ff1
RD
32359 {
32360 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
32361 if (SWIG_arg_fail(6)) SWIG_fail;
32362 if (arg6 == NULL) {
32363 SWIG_null_ref("wxValidator");
32364 }
32365 if (SWIG_arg_fail(6)) SWIG_fail;
d55e5bfc
RD
32366 }
32367 }
32368 if (obj6) {
32369 {
32370 arg7 = wxString_in_helper(obj6);
32371 if (arg7 == NULL) SWIG_fail;
ae8162c8 32372 temp7 = true;
d55e5bfc
RD
32373 }
32374 }
32375 {
0439c23b 32376 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
32377 PyThreadState* __tstate = wxPyBeginAllowThreads();
32378 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
32379
32380 wxPyEndAllowThreads(__tstate);
110da5b0 32381 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
32382 }
32383 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
32384 {
32385 if (temp7)
32386 delete arg7;
32387 }
32388 return resultobj;
32389 fail:
32390 {
32391 if (temp7)
32392 delete arg7;
32393 }
32394 return NULL;
32395}
32396
32397
c32bde28 32398static PyObject *_wrap_new_PrePyControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32399 PyObject *resultobj;
32400 wxPyControl *result;
32401 char *kwnames[] = {
32402 NULL
32403 };
32404
32405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyControl",kwnames)) goto fail;
32406 {
0439c23b 32407 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
32408 PyThreadState* __tstate = wxPyBeginAllowThreads();
32409 result = (wxPyControl *)new wxPyControl();
32410
32411 wxPyEndAllowThreads(__tstate);
110da5b0 32412 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
32413 }
32414 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
32415 return resultobj;
32416 fail:
32417 return NULL;
32418}
32419
32420
c32bde28 32421static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32422 PyObject *resultobj;
32423 wxPyControl *arg1 = (wxPyControl *) 0 ;
32424 PyObject *arg2 = (PyObject *) 0 ;
32425 PyObject *arg3 = (PyObject *) 0 ;
32426 PyObject * obj0 = 0 ;
32427 PyObject * obj1 = 0 ;
32428 PyObject * obj2 = 0 ;
32429 char *kwnames[] = {
32430 (char *) "self",(char *) "self",(char *) "_class", NULL
32431 };
32432
32433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
32434 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32435 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32436 arg2 = obj1;
32437 arg3 = obj2;
32438 {
32439 PyThreadState* __tstate = wxPyBeginAllowThreads();
32440 (arg1)->_setCallbackInfo(arg2,arg3);
32441
32442 wxPyEndAllowThreads(__tstate);
32443 if (PyErr_Occurred()) SWIG_fail;
32444 }
32445 Py_INCREF(Py_None); resultobj = Py_None;
32446 return resultobj;
32447 fail:
32448 return NULL;
32449}
32450
32451
c32bde28 32452static PyObject *_wrap_PyControl_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
caef1a4d
RD
32453 PyObject *resultobj;
32454 wxPyControl *arg1 = (wxPyControl *) 0 ;
32455 wxSize *arg2 = 0 ;
32456 wxSize temp2 ;
32457 PyObject * obj0 = 0 ;
32458 PyObject * obj1 = 0 ;
32459 char *kwnames[] = {
32460 (char *) "self",(char *) "size", NULL
32461 };
32462
32463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
32464 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32465 if (SWIG_arg_fail(1)) SWIG_fail;
caef1a4d
RD
32466 {
32467 arg2 = &temp2;
32468 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
32469 }
32470 {
32471 PyThreadState* __tstate = wxPyBeginAllowThreads();
32472 (arg1)->SetBestSize((wxSize const &)*arg2);
32473
32474 wxPyEndAllowThreads(__tstate);
32475 if (PyErr_Occurred()) SWIG_fail;
32476 }
32477 Py_INCREF(Py_None); resultobj = Py_None;
32478 return resultobj;
32479 fail:
32480 return NULL;
32481}
32482
32483
60d5fcc1
RD
32484static PyObject *_wrap_PyControl_DoEraseBackground(PyObject *, PyObject *args, PyObject *kwargs) {
32485 PyObject *resultobj;
32486 wxPyControl *arg1 = (wxPyControl *) 0 ;
32487 wxDC *arg2 = (wxDC *) 0 ;
32488 bool result;
32489 PyObject * obj0 = 0 ;
32490 PyObject * obj1 = 0 ;
32491 char *kwnames[] = {
32492 (char *) "self",(char *) "dc", NULL
32493 };
32494
32495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_DoEraseBackground",kwnames,&obj0,&obj1)) goto fail;
32496 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32497 if (SWIG_arg_fail(1)) SWIG_fail;
32498 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
32499 if (SWIG_arg_fail(2)) SWIG_fail;
32500 {
32501 PyThreadState* __tstate = wxPyBeginAllowThreads();
32502 result = (bool)(arg1)->DoEraseBackground(arg2);
32503
32504 wxPyEndAllowThreads(__tstate);
32505 if (PyErr_Occurred()) SWIG_fail;
32506 }
32507 {
32508 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32509 }
32510 return resultobj;
32511 fail:
32512 return NULL;
32513}
32514
32515
c32bde28 32516static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32517 PyObject *resultobj;
32518 wxPyControl *arg1 = (wxPyControl *) 0 ;
32519 int arg2 ;
32520 int arg3 ;
32521 int arg4 ;
32522 int arg5 ;
32523 PyObject * obj0 = 0 ;
32524 PyObject * obj1 = 0 ;
32525 PyObject * obj2 = 0 ;
32526 PyObject * obj3 = 0 ;
32527 PyObject * obj4 = 0 ;
32528 char *kwnames[] = {
32529 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
32530 };
32531
32532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
32533 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32534 if (SWIG_arg_fail(1)) SWIG_fail;
32535 {
32536 arg2 = (int)(SWIG_As_int(obj1));
32537 if (SWIG_arg_fail(2)) SWIG_fail;
32538 }
32539 {
32540 arg3 = (int)(SWIG_As_int(obj2));
32541 if (SWIG_arg_fail(3)) SWIG_fail;
32542 }
32543 {
32544 arg4 = (int)(SWIG_As_int(obj3));
32545 if (SWIG_arg_fail(4)) SWIG_fail;
32546 }
32547 {
32548 arg5 = (int)(SWIG_As_int(obj4));
32549 if (SWIG_arg_fail(5)) SWIG_fail;
32550 }
d55e5bfc
RD
32551 {
32552 PyThreadState* __tstate = wxPyBeginAllowThreads();
32553 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
32554
32555 wxPyEndAllowThreads(__tstate);
32556 if (PyErr_Occurred()) SWIG_fail;
32557 }
32558 Py_INCREF(Py_None); resultobj = Py_None;
32559 return resultobj;
32560 fail:
32561 return NULL;
32562}
32563
32564
c32bde28 32565static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32566 PyObject *resultobj;
32567 wxPyControl *arg1 = (wxPyControl *) 0 ;
32568 int arg2 ;
32569 int arg3 ;
32570 int arg4 ;
32571 int arg5 ;
32572 int arg6 = (int) wxSIZE_AUTO ;
32573 PyObject * obj0 = 0 ;
32574 PyObject * obj1 = 0 ;
32575 PyObject * obj2 = 0 ;
32576 PyObject * obj3 = 0 ;
32577 PyObject * obj4 = 0 ;
32578 PyObject * obj5 = 0 ;
32579 char *kwnames[] = {
32580 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
32581 };
32582
32583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
32584 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32585 if (SWIG_arg_fail(1)) SWIG_fail;
32586 {
32587 arg2 = (int)(SWIG_As_int(obj1));
32588 if (SWIG_arg_fail(2)) SWIG_fail;
32589 }
32590 {
32591 arg3 = (int)(SWIG_As_int(obj2));
32592 if (SWIG_arg_fail(3)) SWIG_fail;
32593 }
32594 {
32595 arg4 = (int)(SWIG_As_int(obj3));
32596 if (SWIG_arg_fail(4)) SWIG_fail;
32597 }
32598 {
32599 arg5 = (int)(SWIG_As_int(obj4));
32600 if (SWIG_arg_fail(5)) SWIG_fail;
32601 }
d55e5bfc 32602 if (obj5) {
093d3ff1
RD
32603 {
32604 arg6 = (int)(SWIG_As_int(obj5));
32605 if (SWIG_arg_fail(6)) SWIG_fail;
32606 }
d55e5bfc
RD
32607 }
32608 {
32609 PyThreadState* __tstate = wxPyBeginAllowThreads();
32610 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
32611
32612 wxPyEndAllowThreads(__tstate);
32613 if (PyErr_Occurred()) SWIG_fail;
32614 }
32615 Py_INCREF(Py_None); resultobj = Py_None;
32616 return resultobj;
32617 fail:
32618 return NULL;
32619}
32620
32621
c32bde28 32622static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32623 PyObject *resultobj;
32624 wxPyControl *arg1 = (wxPyControl *) 0 ;
32625 int arg2 ;
32626 int arg3 ;
32627 PyObject * obj0 = 0 ;
32628 PyObject * obj1 = 0 ;
32629 PyObject * obj2 = 0 ;
32630 char *kwnames[] = {
32631 (char *) "self",(char *) "width",(char *) "height", NULL
32632 };
32633
32634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
32635 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32636 if (SWIG_arg_fail(1)) SWIG_fail;
32637 {
32638 arg2 = (int)(SWIG_As_int(obj1));
32639 if (SWIG_arg_fail(2)) SWIG_fail;
32640 }
32641 {
32642 arg3 = (int)(SWIG_As_int(obj2));
32643 if (SWIG_arg_fail(3)) SWIG_fail;
32644 }
d55e5bfc
RD
32645 {
32646 PyThreadState* __tstate = wxPyBeginAllowThreads();
32647 (arg1)->base_DoSetClientSize(arg2,arg3);
32648
32649 wxPyEndAllowThreads(__tstate);
32650 if (PyErr_Occurred()) SWIG_fail;
32651 }
32652 Py_INCREF(Py_None); resultobj = Py_None;
32653 return resultobj;
32654 fail:
32655 return NULL;
32656}
32657
32658
c32bde28 32659static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32660 PyObject *resultobj;
32661 wxPyControl *arg1 = (wxPyControl *) 0 ;
32662 int arg2 ;
32663 int arg3 ;
32664 PyObject * obj0 = 0 ;
32665 PyObject * obj1 = 0 ;
32666 PyObject * obj2 = 0 ;
32667 char *kwnames[] = {
32668 (char *) "self",(char *) "x",(char *) "y", NULL
32669 };
32670
32671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
32672 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32673 if (SWIG_arg_fail(1)) SWIG_fail;
32674 {
32675 arg2 = (int)(SWIG_As_int(obj1));
32676 if (SWIG_arg_fail(2)) SWIG_fail;
32677 }
32678 {
32679 arg3 = (int)(SWIG_As_int(obj2));
32680 if (SWIG_arg_fail(3)) SWIG_fail;
32681 }
d55e5bfc
RD
32682 {
32683 PyThreadState* __tstate = wxPyBeginAllowThreads();
32684 (arg1)->base_DoSetVirtualSize(arg2,arg3);
32685
32686 wxPyEndAllowThreads(__tstate);
32687 if (PyErr_Occurred()) SWIG_fail;
32688 }
32689 Py_INCREF(Py_None); resultobj = Py_None;
32690 return resultobj;
32691 fail:
32692 return NULL;
32693}
32694
32695
c32bde28 32696static PyObject *_wrap_PyControl_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32697 PyObject *resultobj;
32698 wxPyControl *arg1 = (wxPyControl *) 0 ;
32699 int *arg2 = (int *) 0 ;
32700 int *arg3 = (int *) 0 ;
32701 int temp2 ;
c32bde28 32702 int res2 = 0 ;
d55e5bfc 32703 int temp3 ;
c32bde28 32704 int res3 = 0 ;
d55e5bfc
RD
32705 PyObject * obj0 = 0 ;
32706 char *kwnames[] = {
32707 (char *) "self", NULL
32708 };
32709
c32bde28
RD
32710 arg2 = &temp2; res2 = SWIG_NEWOBJ;
32711 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 32712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
32713 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32714 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32715 {
32716 PyThreadState* __tstate = wxPyBeginAllowThreads();
32717 ((wxPyControl const *)arg1)->base_DoGetSize(arg2,arg3);
32718
32719 wxPyEndAllowThreads(__tstate);
32720 if (PyErr_Occurred()) SWIG_fail;
32721 }
32722 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
32723 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
32724 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
32725 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
32726 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
32727 return resultobj;
32728 fail:
32729 return NULL;
32730}
32731
32732
c32bde28 32733static PyObject *_wrap_PyControl_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32734 PyObject *resultobj;
32735 wxPyControl *arg1 = (wxPyControl *) 0 ;
32736 int *arg2 = (int *) 0 ;
32737 int *arg3 = (int *) 0 ;
32738 int temp2 ;
c32bde28 32739 int res2 = 0 ;
d55e5bfc 32740 int temp3 ;
c32bde28 32741 int res3 = 0 ;
d55e5bfc
RD
32742 PyObject * obj0 = 0 ;
32743 char *kwnames[] = {
32744 (char *) "self", NULL
32745 };
32746
c32bde28
RD
32747 arg2 = &temp2; res2 = SWIG_NEWOBJ;
32748 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 32749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetClientSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
32750 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32751 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32752 {
32753 PyThreadState* __tstate = wxPyBeginAllowThreads();
32754 ((wxPyControl const *)arg1)->base_DoGetClientSize(arg2,arg3);
32755
32756 wxPyEndAllowThreads(__tstate);
32757 if (PyErr_Occurred()) SWIG_fail;
32758 }
32759 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
32760 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
32761 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
32762 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
32763 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
32764 return resultobj;
32765 fail:
32766 return NULL;
32767}
32768
32769
c32bde28 32770static PyObject *_wrap_PyControl_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32771 PyObject *resultobj;
32772 wxPyControl *arg1 = (wxPyControl *) 0 ;
32773 int *arg2 = (int *) 0 ;
32774 int *arg3 = (int *) 0 ;
32775 int temp2 ;
c32bde28 32776 int res2 = 0 ;
d55e5bfc 32777 int temp3 ;
c32bde28 32778 int res3 = 0 ;
d55e5bfc
RD
32779 PyObject * obj0 = 0 ;
32780 char *kwnames[] = {
32781 (char *) "self", NULL
32782 };
32783
c32bde28
RD
32784 arg2 = &temp2; res2 = SWIG_NEWOBJ;
32785 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 32786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
32787 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32788 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32789 {
32790 PyThreadState* __tstate = wxPyBeginAllowThreads();
32791 ((wxPyControl const *)arg1)->base_DoGetPosition(arg2,arg3);
32792
32793 wxPyEndAllowThreads(__tstate);
32794 if (PyErr_Occurred()) SWIG_fail;
32795 }
32796 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
32797 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
32798 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
32799 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
32800 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
32801 return resultobj;
32802 fail:
32803 return NULL;
32804}
32805
32806
c32bde28 32807static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32808 PyObject *resultobj;
32809 wxPyControl *arg1 = (wxPyControl *) 0 ;
32810 wxSize result;
32811 PyObject * obj0 = 0 ;
32812 char *kwnames[] = {
32813 (char *) "self", NULL
32814 };
32815
32816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
32817 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32818 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32819 {
32820 PyThreadState* __tstate = wxPyBeginAllowThreads();
32821 result = ((wxPyControl const *)arg1)->base_DoGetVirtualSize();
32822
32823 wxPyEndAllowThreads(__tstate);
32824 if (PyErr_Occurred()) SWIG_fail;
32825 }
32826 {
32827 wxSize * resultptr;
093d3ff1 32828 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
32829 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
32830 }
32831 return resultobj;
32832 fail:
32833 return NULL;
32834}
32835
32836
c32bde28 32837static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32838 PyObject *resultobj;
32839 wxPyControl *arg1 = (wxPyControl *) 0 ;
32840 wxSize result;
32841 PyObject * obj0 = 0 ;
32842 char *kwnames[] = {
32843 (char *) "self", NULL
32844 };
32845
32846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetBestSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
32847 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32848 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32849 {
32850 PyThreadState* __tstate = wxPyBeginAllowThreads();
32851 result = ((wxPyControl const *)arg1)->base_DoGetBestSize();
32852
32853 wxPyEndAllowThreads(__tstate);
32854 if (PyErr_Occurred()) SWIG_fail;
32855 }
32856 {
32857 wxSize * resultptr;
093d3ff1 32858 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
32859 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
32860 }
32861 return resultobj;
32862 fail:
32863 return NULL;
32864}
32865
32866
c32bde28 32867static PyObject *_wrap_PyControl_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32868 PyObject *resultobj;
32869 wxPyControl *arg1 = (wxPyControl *) 0 ;
32870 PyObject * obj0 = 0 ;
32871 char *kwnames[] = {
32872 (char *) "self", NULL
32873 };
32874
32875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_InitDialog",kwnames,&obj0)) goto fail;
093d3ff1
RD
32876 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32877 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32878 {
32879 PyThreadState* __tstate = wxPyBeginAllowThreads();
32880 (arg1)->base_InitDialog();
32881
32882 wxPyEndAllowThreads(__tstate);
32883 if (PyErr_Occurred()) SWIG_fail;
32884 }
32885 Py_INCREF(Py_None); resultobj = Py_None;
32886 return resultobj;
32887 fail:
32888 return NULL;
32889}
32890
32891
c32bde28 32892static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32893 PyObject *resultobj;
32894 wxPyControl *arg1 = (wxPyControl *) 0 ;
32895 bool result;
32896 PyObject * obj0 = 0 ;
32897 char *kwnames[] = {
32898 (char *) "self", NULL
32899 };
32900
32901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
32902 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32903 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32904 {
32905 PyThreadState* __tstate = wxPyBeginAllowThreads();
32906 result = (bool)(arg1)->base_TransferDataToWindow();
32907
32908 wxPyEndAllowThreads(__tstate);
32909 if (PyErr_Occurred()) SWIG_fail;
32910 }
32911 {
32912 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32913 }
32914 return resultobj;
32915 fail:
32916 return NULL;
32917}
32918
32919
c32bde28 32920static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32921 PyObject *resultobj;
32922 wxPyControl *arg1 = (wxPyControl *) 0 ;
32923 bool result;
32924 PyObject * obj0 = 0 ;
32925 char *kwnames[] = {
32926 (char *) "self", NULL
32927 };
32928
32929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
32930 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32931 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32932 {
32933 PyThreadState* __tstate = wxPyBeginAllowThreads();
32934 result = (bool)(arg1)->base_TransferDataFromWindow();
32935
32936 wxPyEndAllowThreads(__tstate);
32937 if (PyErr_Occurred()) SWIG_fail;
32938 }
32939 {
32940 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32941 }
32942 return resultobj;
32943 fail:
32944 return NULL;
32945}
32946
32947
c32bde28 32948static PyObject *_wrap_PyControl_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32949 PyObject *resultobj;
32950 wxPyControl *arg1 = (wxPyControl *) 0 ;
32951 bool result;
32952 PyObject * obj0 = 0 ;
32953 char *kwnames[] = {
32954 (char *) "self", NULL
32955 };
32956
32957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_Validate",kwnames,&obj0)) goto fail;
093d3ff1
RD
32958 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32959 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32960 {
32961 PyThreadState* __tstate = wxPyBeginAllowThreads();
32962 result = (bool)(arg1)->base_Validate();
32963
32964 wxPyEndAllowThreads(__tstate);
32965 if (PyErr_Occurred()) SWIG_fail;
32966 }
32967 {
32968 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32969 }
32970 return resultobj;
32971 fail:
32972 return NULL;
32973}
32974
32975
c32bde28 32976static PyObject *_wrap_PyControl_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32977 PyObject *resultobj;
32978 wxPyControl *arg1 = (wxPyControl *) 0 ;
32979 bool result;
32980 PyObject * obj0 = 0 ;
32981 char *kwnames[] = {
32982 (char *) "self", NULL
32983 };
32984
32985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocus",kwnames,&obj0)) goto fail;
093d3ff1
RD
32986 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32987 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32988 {
32989 PyThreadState* __tstate = wxPyBeginAllowThreads();
32990 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocus();
32991
32992 wxPyEndAllowThreads(__tstate);
32993 if (PyErr_Occurred()) SWIG_fail;
32994 }
32995 {
32996 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32997 }
32998 return resultobj;
32999 fail:
33000 return NULL;
33001}
33002
33003
c32bde28 33004static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33005 PyObject *resultobj;
33006 wxPyControl *arg1 = (wxPyControl *) 0 ;
33007 bool result;
33008 PyObject * obj0 = 0 ;
33009 char *kwnames[] = {
33010 (char *) "self", NULL
33011 };
33012
33013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
093d3ff1
RD
33014 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33015 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33016 {
33017 PyThreadState* __tstate = wxPyBeginAllowThreads();
33018 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocusFromKeyboard();
33019
33020 wxPyEndAllowThreads(__tstate);
33021 if (PyErr_Occurred()) SWIG_fail;
33022 }
33023 {
33024 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33025 }
33026 return resultobj;
33027 fail:
33028 return NULL;
33029}
33030
33031
c32bde28 33032static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33033 PyObject *resultobj;
33034 wxPyControl *arg1 = (wxPyControl *) 0 ;
33035 wxSize result;
33036 PyObject * obj0 = 0 ;
33037 char *kwnames[] = {
33038 (char *) "self", NULL
33039 };
33040
33041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetMaxSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
33042 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33043 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33044 {
33045 PyThreadState* __tstate = wxPyBeginAllowThreads();
33046 result = ((wxPyControl const *)arg1)->base_GetMaxSize();
33047
33048 wxPyEndAllowThreads(__tstate);
33049 if (PyErr_Occurred()) SWIG_fail;
33050 }
33051 {
33052 wxSize * resultptr;
093d3ff1 33053 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
33054 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
33055 }
33056 return resultobj;
33057 fail:
33058 return NULL;
33059}
33060
33061
c32bde28 33062static PyObject *_wrap_PyControl_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33063 PyObject *resultobj;
33064 wxPyControl *arg1 = (wxPyControl *) 0 ;
33065 wxWindow *arg2 = (wxWindow *) 0 ;
33066 PyObject * obj0 = 0 ;
33067 PyObject * obj1 = 0 ;
33068 char *kwnames[] = {
33069 (char *) "self",(char *) "child", NULL
33070 };
33071
33072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
33073 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33074 if (SWIG_arg_fail(1)) SWIG_fail;
33075 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33076 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
33077 {
33078 PyThreadState* __tstate = wxPyBeginAllowThreads();
33079 (arg1)->base_AddChild(arg2);
33080
33081 wxPyEndAllowThreads(__tstate);
33082 if (PyErr_Occurred()) SWIG_fail;
33083 }
33084 Py_INCREF(Py_None); resultobj = Py_None;
33085 return resultobj;
33086 fail:
33087 return NULL;
33088}
33089
33090
c32bde28 33091static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33092 PyObject *resultobj;
33093 wxPyControl *arg1 = (wxPyControl *) 0 ;
33094 wxWindow *arg2 = (wxWindow *) 0 ;
33095 PyObject * obj0 = 0 ;
33096 PyObject * obj1 = 0 ;
33097 char *kwnames[] = {
33098 (char *) "self",(char *) "child", NULL
33099 };
33100
33101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
33102 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33103 if (SWIG_arg_fail(1)) SWIG_fail;
33104 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33105 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
33106 {
33107 PyThreadState* __tstate = wxPyBeginAllowThreads();
33108 (arg1)->base_RemoveChild(arg2);
33109
33110 wxPyEndAllowThreads(__tstate);
33111 if (PyErr_Occurred()) SWIG_fail;
33112 }
33113 Py_INCREF(Py_None); resultobj = Py_None;
33114 return resultobj;
33115 fail:
33116 return NULL;
33117}
33118
33119
c32bde28 33120static PyObject *_wrap_PyControl_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33121 PyObject *resultobj;
33122 wxPyControl *arg1 = (wxPyControl *) 0 ;
33123 bool result;
33124 PyObject * obj0 = 0 ;
33125 char *kwnames[] = {
33126 (char *) "self", NULL
33127 };
33128
33129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
093d3ff1
RD
33130 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33131 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33132 {
33133 PyThreadState* __tstate = wxPyBeginAllowThreads();
caef1a4d 33134 result = (bool)((wxPyControl const *)arg1)->base_ShouldInheritColours();
d55e5bfc
RD
33135
33136 wxPyEndAllowThreads(__tstate);
33137 if (PyErr_Occurred()) SWIG_fail;
33138 }
33139 {
33140 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33141 }
33142 return resultobj;
33143 fail:
33144 return NULL;
33145}
33146
33147
c32bde28 33148static PyObject *_wrap_PyControl_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
caef1a4d
RD
33149 PyObject *resultobj;
33150 wxPyControl *arg1 = (wxPyControl *) 0 ;
33151 wxVisualAttributes result;
33152 PyObject * obj0 = 0 ;
33153 char *kwnames[] = {
33154 (char *) "self", NULL
33155 };
33156
33157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
093d3ff1
RD
33158 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33159 if (SWIG_arg_fail(1)) SWIG_fail;
caef1a4d
RD
33160 {
33161 PyThreadState* __tstate = wxPyBeginAllowThreads();
33162 result = (arg1)->base_GetDefaultAttributes();
33163
33164 wxPyEndAllowThreads(__tstate);
33165 if (PyErr_Occurred()) SWIG_fail;
33166 }
33167 {
33168 wxVisualAttributes * resultptr;
093d3ff1 33169 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
caef1a4d
RD
33170 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
33171 }
33172 return resultobj;
33173 fail:
33174 return NULL;
33175}
33176
33177
8d38bd1d
RD
33178static PyObject *_wrap_PyControl_base_OnInternalIdle(PyObject *, PyObject *args, PyObject *kwargs) {
33179 PyObject *resultobj;
33180 wxPyControl *arg1 = (wxPyControl *) 0 ;
33181 PyObject * obj0 = 0 ;
33182 char *kwnames[] = {
33183 (char *) "self", NULL
33184 };
33185
33186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_OnInternalIdle",kwnames,&obj0)) goto fail;
33187 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33188 if (SWIG_arg_fail(1)) SWIG_fail;
33189 {
33190 PyThreadState* __tstate = wxPyBeginAllowThreads();
33191 (arg1)->base_OnInternalIdle();
33192
33193 wxPyEndAllowThreads(__tstate);
33194 if (PyErr_Occurred()) SWIG_fail;
33195 }
33196 Py_INCREF(Py_None); resultobj = Py_None;
33197 return resultobj;
33198 fail:
33199 return NULL;
33200}
33201
33202
c32bde28 33203static PyObject * PyControl_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
33204 PyObject *obj;
33205 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33206 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
33207 Py_INCREF(obj);
33208 return Py_BuildValue((char *)"");
33209}
c32bde28 33210static PyObject *_wrap_new_HelpEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33211 PyObject *resultobj;
33212 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
33213 int arg2 = (int) 0 ;
33214 wxPoint const &arg3_defvalue = wxDefaultPosition ;
33215 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
33216 wxHelpEvent *result;
33217 wxPoint temp3 ;
33218 PyObject * obj0 = 0 ;
33219 PyObject * obj1 = 0 ;
33220 PyObject * obj2 = 0 ;
33221 char *kwnames[] = {
33222 (char *) "type",(char *) "winid",(char *) "pt", NULL
33223 };
33224
33225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_HelpEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
33226 if (obj0) {
093d3ff1
RD
33227 {
33228 arg1 = (wxEventType)(SWIG_As_int(obj0));
33229 if (SWIG_arg_fail(1)) SWIG_fail;
33230 }
d55e5bfc
RD
33231 }
33232 if (obj1) {
093d3ff1
RD
33233 {
33234 arg2 = (int)(SWIG_As_int(obj1));
33235 if (SWIG_arg_fail(2)) SWIG_fail;
33236 }
d55e5bfc
RD
33237 }
33238 if (obj2) {
33239 {
33240 arg3 = &temp3;
33241 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
33242 }
33243 }
33244 {
33245 PyThreadState* __tstate = wxPyBeginAllowThreads();
33246 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
33247
33248 wxPyEndAllowThreads(__tstate);
33249 if (PyErr_Occurred()) SWIG_fail;
33250 }
33251 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpEvent, 1);
33252 return resultobj;
33253 fail:
33254 return NULL;
33255}
33256
33257
c32bde28 33258static PyObject *_wrap_HelpEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33259 PyObject *resultobj;
33260 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33261 wxPoint result;
33262 PyObject * obj0 = 0 ;
33263 char *kwnames[] = {
33264 (char *) "self", NULL
33265 };
33266
33267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
33268 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33269 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33270 {
33271 PyThreadState* __tstate = wxPyBeginAllowThreads();
33272 result = ((wxHelpEvent const *)arg1)->GetPosition();
33273
33274 wxPyEndAllowThreads(__tstate);
33275 if (PyErr_Occurred()) SWIG_fail;
33276 }
33277 {
33278 wxPoint * resultptr;
093d3ff1 33279 resultptr = new wxPoint((wxPoint const &)(result));
d55e5bfc
RD
33280 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
33281 }
33282 return resultobj;
33283 fail:
33284 return NULL;
33285}
33286
33287
c32bde28 33288static PyObject *_wrap_HelpEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33289 PyObject *resultobj;
33290 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33291 wxPoint *arg2 = 0 ;
33292 wxPoint temp2 ;
33293 PyObject * obj0 = 0 ;
33294 PyObject * obj1 = 0 ;
33295 char *kwnames[] = {
33296 (char *) "self",(char *) "pos", NULL
33297 };
33298
33299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
33300 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33301 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33302 {
33303 arg2 = &temp2;
33304 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
33305 }
33306 {
33307 PyThreadState* __tstate = wxPyBeginAllowThreads();
33308 (arg1)->SetPosition((wxPoint const &)*arg2);
33309
33310 wxPyEndAllowThreads(__tstate);
33311 if (PyErr_Occurred()) SWIG_fail;
33312 }
33313 Py_INCREF(Py_None); resultobj = Py_None;
33314 return resultobj;
33315 fail:
33316 return NULL;
33317}
33318
33319
c32bde28 33320static PyObject *_wrap_HelpEvent_GetLink(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33321 PyObject *resultobj;
33322 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33323 wxString *result;
33324 PyObject * obj0 = 0 ;
33325 char *kwnames[] = {
33326 (char *) "self", NULL
33327 };
33328
33329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) goto fail;
093d3ff1
RD
33330 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33331 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33332 {
33333 PyThreadState* __tstate = wxPyBeginAllowThreads();
33334 {
33335 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
33336 result = (wxString *) &_result_ref;
33337 }
33338
33339 wxPyEndAllowThreads(__tstate);
33340 if (PyErr_Occurred()) SWIG_fail;
33341 }
33342 {
33343#if wxUSE_UNICODE
33344 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
33345#else
33346 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
33347#endif
33348 }
33349 return resultobj;
33350 fail:
33351 return NULL;
33352}
33353
33354
c32bde28 33355static PyObject *_wrap_HelpEvent_SetLink(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33356 PyObject *resultobj;
33357 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33358 wxString *arg2 = 0 ;
ae8162c8 33359 bool temp2 = false ;
d55e5bfc
RD
33360 PyObject * obj0 = 0 ;
33361 PyObject * obj1 = 0 ;
33362 char *kwnames[] = {
33363 (char *) "self",(char *) "link", NULL
33364 };
33365
33366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
33367 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33368 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33369 {
33370 arg2 = wxString_in_helper(obj1);
33371 if (arg2 == NULL) SWIG_fail;
ae8162c8 33372 temp2 = true;
d55e5bfc
RD
33373 }
33374 {
33375 PyThreadState* __tstate = wxPyBeginAllowThreads();
33376 (arg1)->SetLink((wxString const &)*arg2);
33377
33378 wxPyEndAllowThreads(__tstate);
33379 if (PyErr_Occurred()) SWIG_fail;
33380 }
33381 Py_INCREF(Py_None); resultobj = Py_None;
33382 {
33383 if (temp2)
33384 delete arg2;
33385 }
33386 return resultobj;
33387 fail:
33388 {
33389 if (temp2)
33390 delete arg2;
33391 }
33392 return NULL;
33393}
33394
33395
c32bde28 33396static PyObject *_wrap_HelpEvent_GetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33397 PyObject *resultobj;
33398 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33399 wxString *result;
33400 PyObject * obj0 = 0 ;
33401 char *kwnames[] = {
33402 (char *) "self", NULL
33403 };
33404
33405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) goto fail;
093d3ff1
RD
33406 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33407 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33408 {
33409 PyThreadState* __tstate = wxPyBeginAllowThreads();
33410 {
33411 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
33412 result = (wxString *) &_result_ref;
33413 }
33414
33415 wxPyEndAllowThreads(__tstate);
33416 if (PyErr_Occurred()) SWIG_fail;
33417 }
33418 {
33419#if wxUSE_UNICODE
33420 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
33421#else
33422 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
33423#endif
33424 }
33425 return resultobj;
33426 fail:
33427 return NULL;
33428}
33429
33430
c32bde28 33431static PyObject *_wrap_HelpEvent_SetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33432 PyObject *resultobj;
33433 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33434 wxString *arg2 = 0 ;
ae8162c8 33435 bool temp2 = false ;
d55e5bfc
RD
33436 PyObject * obj0 = 0 ;
33437 PyObject * obj1 = 0 ;
33438 char *kwnames[] = {
33439 (char *) "self",(char *) "target", NULL
33440 };
33441
33442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
33443 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33444 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33445 {
33446 arg2 = wxString_in_helper(obj1);
33447 if (arg2 == NULL) SWIG_fail;
ae8162c8 33448 temp2 = true;
d55e5bfc
RD
33449 }
33450 {
33451 PyThreadState* __tstate = wxPyBeginAllowThreads();
33452 (arg1)->SetTarget((wxString const &)*arg2);
33453
33454 wxPyEndAllowThreads(__tstate);
33455 if (PyErr_Occurred()) SWIG_fail;
33456 }
33457 Py_INCREF(Py_None); resultobj = Py_None;
33458 {
33459 if (temp2)
33460 delete arg2;
33461 }
33462 return resultobj;
33463 fail:
33464 {
33465 if (temp2)
33466 delete arg2;
33467 }
33468 return NULL;
33469}
33470
33471
c32bde28 33472static PyObject * HelpEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
33473 PyObject *obj;
33474 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33475 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
33476 Py_INCREF(obj);
33477 return Py_BuildValue((char *)"");
33478}
c32bde28 33479static PyObject *_wrap_new_ContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33480 PyObject *resultobj;
33481 wxWindow *arg1 = (wxWindow *) NULL ;
ae8162c8 33482 bool arg2 = (bool) true ;
d55e5bfc
RD
33483 wxContextHelp *result;
33484 PyObject * obj0 = 0 ;
33485 PyObject * obj1 = 0 ;
33486 char *kwnames[] = {
33487 (char *) "window",(char *) "doNow", NULL
33488 };
33489
33490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
33491 if (obj0) {
093d3ff1
RD
33492 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33493 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33494 }
33495 if (obj1) {
093d3ff1
RD
33496 {
33497 arg2 = (bool)(SWIG_As_bool(obj1));
33498 if (SWIG_arg_fail(2)) SWIG_fail;
33499 }
d55e5bfc
RD
33500 }
33501 {
0439c23b 33502 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
33503 PyThreadState* __tstate = wxPyBeginAllowThreads();
33504 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
33505
33506 wxPyEndAllowThreads(__tstate);
110da5b0 33507 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
33508 }
33509 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelp, 1);
33510 return resultobj;
33511 fail:
33512 return NULL;
33513}
33514
33515
c32bde28 33516static PyObject *_wrap_delete_ContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33517 PyObject *resultobj;
33518 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
33519 PyObject * obj0 = 0 ;
33520 char *kwnames[] = {
33521 (char *) "self", NULL
33522 };
33523
33524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
093d3ff1
RD
33525 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextHelp, SWIG_POINTER_EXCEPTION | 0);
33526 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33527 {
33528 PyThreadState* __tstate = wxPyBeginAllowThreads();
33529 delete arg1;
33530
33531 wxPyEndAllowThreads(__tstate);
33532 if (PyErr_Occurred()) SWIG_fail;
33533 }
33534 Py_INCREF(Py_None); resultobj = Py_None;
33535 return resultobj;
33536 fail:
33537 return NULL;
33538}
33539
33540
c32bde28 33541static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33542 PyObject *resultobj;
33543 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
33544 wxWindow *arg2 = (wxWindow *) NULL ;
33545 bool result;
33546 PyObject * obj0 = 0 ;
33547 PyObject * obj1 = 0 ;
33548 char *kwnames[] = {
33549 (char *) "self",(char *) "window", NULL
33550 };
33551
33552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
33553 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextHelp, SWIG_POINTER_EXCEPTION | 0);
33554 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 33555 if (obj1) {
093d3ff1
RD
33556 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33557 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
33558 }
33559 {
33560 PyThreadState* __tstate = wxPyBeginAllowThreads();
33561 result = (bool)(arg1)->BeginContextHelp(arg2);
33562
33563 wxPyEndAllowThreads(__tstate);
33564 if (PyErr_Occurred()) SWIG_fail;
33565 }
33566 {
33567 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33568 }
33569 return resultobj;
33570 fail:
33571 return NULL;
33572}
33573
33574
c32bde28 33575static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33576 PyObject *resultobj;
33577 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
33578 bool result;
33579 PyObject * obj0 = 0 ;
33580 char *kwnames[] = {
33581 (char *) "self", NULL
33582 };
33583
33584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
093d3ff1
RD
33585 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextHelp, SWIG_POINTER_EXCEPTION | 0);
33586 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33587 {
33588 PyThreadState* __tstate = wxPyBeginAllowThreads();
33589 result = (bool)(arg1)->EndContextHelp();
33590
33591 wxPyEndAllowThreads(__tstate);
33592 if (PyErr_Occurred()) SWIG_fail;
33593 }
33594 {
33595 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33596 }
33597 return resultobj;
33598 fail:
33599 return NULL;
33600}
33601
33602
c32bde28 33603static PyObject * ContextHelp_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
33604 PyObject *obj;
33605 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33606 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
33607 Py_INCREF(obj);
33608 return Py_BuildValue((char *)"");
33609}
c32bde28 33610static PyObject *_wrap_new_ContextHelpButton(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33611 PyObject *resultobj;
33612 wxWindow *arg1 = (wxWindow *) 0 ;
33613 int arg2 = (int) wxID_CONTEXT_HELP ;
33614 wxPoint const &arg3_defvalue = wxDefaultPosition ;
33615 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
33616 wxSize const &arg4_defvalue = wxDefaultSize ;
33617 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
33618 long arg5 = (long) wxBU_AUTODRAW ;
33619 wxContextHelpButton *result;
33620 wxPoint temp3 ;
33621 wxSize temp4 ;
33622 PyObject * obj0 = 0 ;
33623 PyObject * obj1 = 0 ;
33624 PyObject * obj2 = 0 ;
33625 PyObject * obj3 = 0 ;
33626 PyObject * obj4 = 0 ;
33627 char *kwnames[] = {
33628 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
33629 };
33630
33631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ContextHelpButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
33632 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33633 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 33634 if (obj1) {
093d3ff1
RD
33635 {
33636 arg2 = (int)(SWIG_As_int(obj1));
33637 if (SWIG_arg_fail(2)) SWIG_fail;
33638 }
d55e5bfc
RD
33639 }
33640 if (obj2) {
33641 {
33642 arg3 = &temp3;
33643 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
33644 }
33645 }
33646 if (obj3) {
33647 {
33648 arg4 = &temp4;
33649 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
33650 }
33651 }
33652 if (obj4) {
093d3ff1
RD
33653 {
33654 arg5 = (long)(SWIG_As_long(obj4));
33655 if (SWIG_arg_fail(5)) SWIG_fail;
33656 }
d55e5bfc
RD
33657 }
33658 {
0439c23b 33659 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
33660 PyThreadState* __tstate = wxPyBeginAllowThreads();
33661 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
33662
33663 wxPyEndAllowThreads(__tstate);
110da5b0 33664 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
33665 }
33666 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelpButton, 1);
33667 return resultobj;
33668 fail:
33669 return NULL;
33670}
33671
33672
c32bde28 33673static PyObject * ContextHelpButton_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
33674 PyObject *obj;
33675 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33676 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
33677 Py_INCREF(obj);
33678 return Py_BuildValue((char *)"");
33679}
c32bde28 33680static PyObject *_wrap_HelpProvider_Set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33681 PyObject *resultobj;
33682 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33683 wxHelpProvider *result;
33684 PyObject * obj0 = 0 ;
33685 char *kwnames[] = {
33686 (char *) "helpProvider", NULL
33687 };
33688
33689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
093d3ff1
RD
33690 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33691 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33692 {
33693 PyThreadState* __tstate = wxPyBeginAllowThreads();
33694 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
33695
33696 wxPyEndAllowThreads(__tstate);
33697 if (PyErr_Occurred()) SWIG_fail;
33698 }
33699 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
33700 return resultobj;
33701 fail:
33702 return NULL;
33703}
33704
33705
c32bde28 33706static PyObject *_wrap_HelpProvider_Get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33707 PyObject *resultobj;
33708 wxHelpProvider *result;
33709 char *kwnames[] = {
33710 NULL
33711 };
33712
33713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
33714 {
33715 PyThreadState* __tstate = wxPyBeginAllowThreads();
33716 result = (wxHelpProvider *)wxHelpProvider::Get();
33717
33718 wxPyEndAllowThreads(__tstate);
33719 if (PyErr_Occurred()) SWIG_fail;
33720 }
33721 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
33722 return resultobj;
33723 fail:
33724 return NULL;
33725}
33726
33727
c32bde28 33728static PyObject *_wrap_HelpProvider_GetHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33729 PyObject *resultobj;
33730 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33731 wxWindow *arg2 = (wxWindow *) 0 ;
33732 wxString result;
33733 PyObject * obj0 = 0 ;
33734 PyObject * obj1 = 0 ;
33735 char *kwnames[] = {
33736 (char *) "self",(char *) "window", NULL
33737 };
33738
33739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
33740 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33741 if (SWIG_arg_fail(1)) SWIG_fail;
33742 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33743 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
33744 {
33745 PyThreadState* __tstate = wxPyBeginAllowThreads();
33746 result = (arg1)->GetHelp((wxWindow const *)arg2);
33747
33748 wxPyEndAllowThreads(__tstate);
33749 if (PyErr_Occurred()) SWIG_fail;
33750 }
33751 {
33752#if wxUSE_UNICODE
33753 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
33754#else
33755 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
33756#endif
33757 }
33758 return resultobj;
33759 fail:
33760 return NULL;
33761}
33762
33763
c32bde28 33764static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33765 PyObject *resultobj;
33766 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33767 wxWindow *arg2 = (wxWindow *) 0 ;
33768 bool result;
33769 PyObject * obj0 = 0 ;
33770 PyObject * obj1 = 0 ;
33771 char *kwnames[] = {
33772 (char *) "self",(char *) "window", NULL
33773 };
33774
33775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
33776 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33777 if (SWIG_arg_fail(1)) SWIG_fail;
33778 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33779 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
33780 {
33781 PyThreadState* __tstate = wxPyBeginAllowThreads();
33782 result = (bool)(arg1)->ShowHelp(arg2);
33783
33784 wxPyEndAllowThreads(__tstate);
33785 if (PyErr_Occurred()) SWIG_fail;
33786 }
33787 {
33788 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33789 }
33790 return resultobj;
33791 fail:
33792 return NULL;
33793}
33794
33795
c32bde28 33796static PyObject *_wrap_HelpProvider_AddHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33797 PyObject *resultobj;
33798 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33799 wxWindow *arg2 = (wxWindow *) 0 ;
33800 wxString *arg3 = 0 ;
ae8162c8 33801 bool temp3 = false ;
d55e5bfc
RD
33802 PyObject * obj0 = 0 ;
33803 PyObject * obj1 = 0 ;
33804 PyObject * obj2 = 0 ;
33805 char *kwnames[] = {
33806 (char *) "self",(char *) "window",(char *) "text", NULL
33807 };
33808
33809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
33810 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33811 if (SWIG_arg_fail(1)) SWIG_fail;
33812 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33813 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
33814 {
33815 arg3 = wxString_in_helper(obj2);
33816 if (arg3 == NULL) SWIG_fail;
ae8162c8 33817 temp3 = true;
d55e5bfc
RD
33818 }
33819 {
33820 PyThreadState* __tstate = wxPyBeginAllowThreads();
33821 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
33822
33823 wxPyEndAllowThreads(__tstate);
33824 if (PyErr_Occurred()) SWIG_fail;
33825 }
33826 Py_INCREF(Py_None); resultobj = Py_None;
33827 {
33828 if (temp3)
33829 delete arg3;
33830 }
33831 return resultobj;
33832 fail:
33833 {
33834 if (temp3)
33835 delete arg3;
33836 }
33837 return NULL;
33838}
33839
33840
c32bde28 33841static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33842 PyObject *resultobj;
33843 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33844 int arg2 ;
33845 wxString *arg3 = 0 ;
ae8162c8 33846 bool temp3 = false ;
d55e5bfc
RD
33847 PyObject * obj0 = 0 ;
33848 PyObject * obj1 = 0 ;
33849 PyObject * obj2 = 0 ;
33850 char *kwnames[] = {
33851 (char *) "self",(char *) "id",(char *) "text", NULL
33852 };
33853
33854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelpById",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
33855 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33856 if (SWIG_arg_fail(1)) SWIG_fail;
33857 {
33858 arg2 = (int)(SWIG_As_int(obj1));
33859 if (SWIG_arg_fail(2)) SWIG_fail;
33860 }
d55e5bfc
RD
33861 {
33862 arg3 = wxString_in_helper(obj2);
33863 if (arg3 == NULL) SWIG_fail;
ae8162c8 33864 temp3 = true;
d55e5bfc
RD
33865 }
33866 {
33867 PyThreadState* __tstate = wxPyBeginAllowThreads();
33868 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
33869
33870 wxPyEndAllowThreads(__tstate);
33871 if (PyErr_Occurred()) SWIG_fail;
33872 }
33873 Py_INCREF(Py_None); resultobj = Py_None;
33874 {
33875 if (temp3)
33876 delete arg3;
33877 }
33878 return resultobj;
33879 fail:
33880 {
33881 if (temp3)
33882 delete arg3;
33883 }
33884 return NULL;
33885}
33886
33887
c32bde28 33888static PyObject *_wrap_HelpProvider_RemoveHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33889 PyObject *resultobj;
33890 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33891 wxWindow *arg2 = (wxWindow *) 0 ;
33892 PyObject * obj0 = 0 ;
33893 PyObject * obj1 = 0 ;
33894 char *kwnames[] = {
33895 (char *) "self",(char *) "window", NULL
33896 };
33897
33898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_RemoveHelp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
33899 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33900 if (SWIG_arg_fail(1)) SWIG_fail;
33901 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33902 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
33903 {
33904 PyThreadState* __tstate = wxPyBeginAllowThreads();
33905 (arg1)->RemoveHelp(arg2);
33906
33907 wxPyEndAllowThreads(__tstate);
33908 if (PyErr_Occurred()) SWIG_fail;
33909 }
33910 Py_INCREF(Py_None); resultobj = Py_None;
33911 return resultobj;
33912 fail:
33913 return NULL;
33914}
33915
33916
c32bde28 33917static PyObject *_wrap_HelpProvider_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33918 PyObject *resultobj;
33919 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33920 PyObject * obj0 = 0 ;
33921 char *kwnames[] = {
33922 (char *) "self", NULL
33923 };
33924
33925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
093d3ff1
RD
33926 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33927 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33928 {
33929 PyThreadState* __tstate = wxPyBeginAllowThreads();
33930 wxHelpProvider_Destroy(arg1);
33931
33932 wxPyEndAllowThreads(__tstate);
33933 if (PyErr_Occurred()) SWIG_fail;
33934 }
33935 Py_INCREF(Py_None); resultobj = Py_None;
33936 return resultobj;
33937 fail:
33938 return NULL;
33939}
33940
33941
c32bde28 33942static PyObject * HelpProvider_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
33943 PyObject *obj;
33944 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33945 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
33946 Py_INCREF(obj);
33947 return Py_BuildValue((char *)"");
33948}
c32bde28 33949static PyObject *_wrap_new_SimpleHelpProvider(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33950 PyObject *resultobj;
33951 wxSimpleHelpProvider *result;
33952 char *kwnames[] = {
33953 NULL
33954 };
33955
33956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
33957 {
33958 PyThreadState* __tstate = wxPyBeginAllowThreads();
33959 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
33960
33961 wxPyEndAllowThreads(__tstate);
33962 if (PyErr_Occurred()) SWIG_fail;
33963 }
33964 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSimpleHelpProvider, 1);
33965 return resultobj;
33966 fail:
33967 return NULL;
33968}
33969
33970
c32bde28 33971static PyObject * SimpleHelpProvider_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
33972 PyObject *obj;
33973 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33974 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
33975 Py_INCREF(obj);
33976 return Py_BuildValue((char *)"");
33977}
c32bde28 33978static PyObject *_wrap_new_DragImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33979 PyObject *resultobj;
33980 wxBitmap *arg1 = 0 ;
33981 wxCursor const &arg2_defvalue = wxNullCursor ;
33982 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
33983 wxGenericDragImage *result;
33984 PyObject * obj0 = 0 ;
33985 PyObject * obj1 = 0 ;
33986 char *kwnames[] = {
33987 (char *) "image",(char *) "cursor", NULL
33988 };
33989
33990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
33991 {
33992 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
33993 if (SWIG_arg_fail(1)) SWIG_fail;
33994 if (arg1 == NULL) {
33995 SWIG_null_ref("wxBitmap");
33996 }
33997 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33998 }
33999 if (obj1) {
093d3ff1
RD
34000 {
34001 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
34002 if (SWIG_arg_fail(2)) SWIG_fail;
34003 if (arg2 == NULL) {
34004 SWIG_null_ref("wxCursor");
34005 }
34006 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
34007 }
34008 }
34009 {
0439c23b 34010 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
34011 PyThreadState* __tstate = wxPyBeginAllowThreads();
34012 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
34013
34014 wxPyEndAllowThreads(__tstate);
110da5b0 34015 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
34016 }
34017 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
34018 return resultobj;
34019 fail:
34020 return NULL;
34021}
34022
34023
c32bde28 34024static PyObject *_wrap_new_DragIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34025 PyObject *resultobj;
34026 wxIcon *arg1 = 0 ;
34027 wxCursor const &arg2_defvalue = wxNullCursor ;
34028 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
34029 wxGenericDragImage *result;
34030 PyObject * obj0 = 0 ;
34031 PyObject * obj1 = 0 ;
34032 char *kwnames[] = {
34033 (char *) "image",(char *) "cursor", NULL
34034 };
34035
34036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
34037 {
34038 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
34039 if (SWIG_arg_fail(1)) SWIG_fail;
34040 if (arg1 == NULL) {
34041 SWIG_null_ref("wxIcon");
34042 }
34043 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34044 }
34045 if (obj1) {
093d3ff1
RD
34046 {
34047 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
34048 if (SWIG_arg_fail(2)) SWIG_fail;
34049 if (arg2 == NULL) {
34050 SWIG_null_ref("wxCursor");
34051 }
34052 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
34053 }
34054 }
34055 {
0439c23b 34056 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
34057 PyThreadState* __tstate = wxPyBeginAllowThreads();
34058 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
34059
34060 wxPyEndAllowThreads(__tstate);
110da5b0 34061 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
34062 }
34063 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
34064 return resultobj;
34065 fail:
34066 return NULL;
34067}
34068
34069
c32bde28 34070static PyObject *_wrap_new_DragString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34071 PyObject *resultobj;
34072 wxString *arg1 = 0 ;
34073 wxCursor const &arg2_defvalue = wxNullCursor ;
34074 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
34075 wxGenericDragImage *result;
ae8162c8 34076 bool temp1 = false ;
d55e5bfc
RD
34077 PyObject * obj0 = 0 ;
34078 PyObject * obj1 = 0 ;
34079 char *kwnames[] = {
34080 (char *) "str",(char *) "cursor", NULL
34081 };
34082
34083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail;
34084 {
34085 arg1 = wxString_in_helper(obj0);
34086 if (arg1 == NULL) SWIG_fail;
ae8162c8 34087 temp1 = true;
d55e5bfc
RD
34088 }
34089 if (obj1) {
093d3ff1
RD
34090 {
34091 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
34092 if (SWIG_arg_fail(2)) SWIG_fail;
34093 if (arg2 == NULL) {
34094 SWIG_null_ref("wxCursor");
34095 }
34096 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
34097 }
34098 }
34099 {
0439c23b 34100 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
34101 PyThreadState* __tstate = wxPyBeginAllowThreads();
34102 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
34103
34104 wxPyEndAllowThreads(__tstate);
110da5b0 34105 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
34106 }
34107 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
34108 {
34109 if (temp1)
34110 delete arg1;
34111 }
34112 return resultobj;
34113 fail:
34114 {
34115 if (temp1)
34116 delete arg1;
34117 }
34118 return NULL;
34119}
34120
34121
c32bde28 34122static PyObject *_wrap_new_DragTreeItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34123 PyObject *resultobj;
34124 wxPyTreeCtrl *arg1 = 0 ;
34125 wxTreeItemId *arg2 = 0 ;
34126 wxGenericDragImage *result;
34127 PyObject * obj0 = 0 ;
34128 PyObject * obj1 = 0 ;
34129 char *kwnames[] = {
34130 (char *) "treeCtrl",(char *) "id", NULL
34131 };
34132
34133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
34134 {
34135 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
34136 if (SWIG_arg_fail(1)) SWIG_fail;
34137 if (arg1 == NULL) {
34138 SWIG_null_ref("wxPyTreeCtrl");
34139 }
34140 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 34141 }
093d3ff1
RD
34142 {
34143 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
34144 if (SWIG_arg_fail(2)) SWIG_fail;
34145 if (arg2 == NULL) {
34146 SWIG_null_ref("wxTreeItemId");
34147 }
34148 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
34149 }
34150 {
0439c23b 34151 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
34152 PyThreadState* __tstate = wxPyBeginAllowThreads();
34153 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
34154
34155 wxPyEndAllowThreads(__tstate);
110da5b0 34156 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
34157 }
34158 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
34159 return resultobj;
34160 fail:
34161 return NULL;
34162}
34163
34164
c32bde28 34165static PyObject *_wrap_new_DragListItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34166 PyObject *resultobj;
34167 wxPyListCtrl *arg1 = 0 ;
34168 long arg2 ;
34169 wxGenericDragImage *result;
34170 PyObject * obj0 = 0 ;
34171 PyObject * obj1 = 0 ;
34172 char *kwnames[] = {
34173 (char *) "listCtrl",(char *) "id", NULL
34174 };
34175
34176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragListItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
34177 {
34178 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
34179 if (SWIG_arg_fail(1)) SWIG_fail;
34180 if (arg1 == NULL) {
34181 SWIG_null_ref("wxPyListCtrl");
34182 }
34183 if (SWIG_arg_fail(1)) SWIG_fail;
34184 }
34185 {
34186 arg2 = (long)(SWIG_As_long(obj1));
34187 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 34188 }
d55e5bfc 34189 {
0439c23b 34190 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
34191 PyThreadState* __tstate = wxPyBeginAllowThreads();
34192 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
34193
34194 wxPyEndAllowThreads(__tstate);
110da5b0 34195 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
34196 }
34197 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
34198 return resultobj;
34199 fail:
34200 return NULL;
34201}
34202
34203
c32bde28 34204static PyObject *_wrap_delete_DragImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34205 PyObject *resultobj;
34206 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34207 PyObject * obj0 = 0 ;
34208 char *kwnames[] = {
34209 (char *) "self", NULL
34210 };
34211
34212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail;
093d3ff1
RD
34213 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34214 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34215 {
34216 PyThreadState* __tstate = wxPyBeginAllowThreads();
34217 delete arg1;
34218
34219 wxPyEndAllowThreads(__tstate);
34220 if (PyErr_Occurred()) SWIG_fail;
34221 }
34222 Py_INCREF(Py_None); resultobj = Py_None;
34223 return resultobj;
34224 fail:
34225 return NULL;
34226}
34227
34228
c32bde28 34229static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34230 PyObject *resultobj;
34231 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34232 wxBitmap *arg2 = (wxBitmap *) 0 ;
34233 PyObject * obj0 = 0 ;
34234 PyObject * obj1 = 0 ;
34235 char *kwnames[] = {
34236 (char *) "self",(char *) "bitmap", NULL
34237 };
34238
34239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
34240 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34241 if (SWIG_arg_fail(1)) SWIG_fail;
34242 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
34243 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
34244 {
34245 PyThreadState* __tstate = wxPyBeginAllowThreads();
34246 (arg1)->SetBackingBitmap(arg2);
34247
34248 wxPyEndAllowThreads(__tstate);
34249 if (PyErr_Occurred()) SWIG_fail;
34250 }
34251 Py_INCREF(Py_None); resultobj = Py_None;
34252 return resultobj;
34253 fail:
34254 return NULL;
34255}
34256
34257
c32bde28 34258static PyObject *_wrap_DragImage_BeginDrag(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34259 PyObject *resultobj;
34260 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34261 wxPoint *arg2 = 0 ;
34262 wxWindow *arg3 = (wxWindow *) 0 ;
ae8162c8 34263 bool arg4 = (bool) false ;
d55e5bfc
RD
34264 wxRect *arg5 = (wxRect *) NULL ;
34265 bool result;
34266 wxPoint temp2 ;
34267 PyObject * obj0 = 0 ;
34268 PyObject * obj1 = 0 ;
34269 PyObject * obj2 = 0 ;
34270 PyObject * obj3 = 0 ;
34271 PyObject * obj4 = 0 ;
34272 char *kwnames[] = {
34273 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
34274 };
34275
34276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
34277 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34278 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34279 {
34280 arg2 = &temp2;
34281 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34282 }
093d3ff1
RD
34283 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34284 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc 34285 if (obj3) {
093d3ff1
RD
34286 {
34287 arg4 = (bool)(SWIG_As_bool(obj3));
34288 if (SWIG_arg_fail(4)) SWIG_fail;
34289 }
d55e5bfc
RD
34290 }
34291 if (obj4) {
093d3ff1
RD
34292 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
34293 if (SWIG_arg_fail(5)) SWIG_fail;
d55e5bfc
RD
34294 }
34295 {
34296 PyThreadState* __tstate = wxPyBeginAllowThreads();
34297 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
34298
34299 wxPyEndAllowThreads(__tstate);
34300 if (PyErr_Occurred()) SWIG_fail;
34301 }
34302 {
34303 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34304 }
34305 return resultobj;
34306 fail:
34307 return NULL;
34308}
34309
34310
c32bde28 34311static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34312 PyObject *resultobj;
34313 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34314 wxPoint *arg2 = 0 ;
34315 wxWindow *arg3 = (wxWindow *) 0 ;
34316 wxWindow *arg4 = (wxWindow *) 0 ;
34317 bool result;
34318 wxPoint temp2 ;
34319 PyObject * obj0 = 0 ;
34320 PyObject * obj1 = 0 ;
34321 PyObject * obj2 = 0 ;
34322 PyObject * obj3 = 0 ;
34323 char *kwnames[] = {
34324 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
34325 };
34326
34327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
34328 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34329 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34330 {
34331 arg2 = &temp2;
34332 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34333 }
093d3ff1
RD
34334 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34335 if (SWIG_arg_fail(3)) SWIG_fail;
34336 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34337 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc
RD
34338 {
34339 PyThreadState* __tstate = wxPyBeginAllowThreads();
34340 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
34341
34342 wxPyEndAllowThreads(__tstate);
34343 if (PyErr_Occurred()) SWIG_fail;
34344 }
34345 {
34346 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34347 }
34348 return resultobj;
34349 fail:
34350 return NULL;
34351}
34352
34353
c32bde28 34354static PyObject *_wrap_DragImage_EndDrag(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34355 PyObject *resultobj;
34356 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34357 bool result;
34358 PyObject * obj0 = 0 ;
34359 char *kwnames[] = {
34360 (char *) "self", NULL
34361 };
34362
34363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail;
093d3ff1
RD
34364 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34365 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34366 {
34367 PyThreadState* __tstate = wxPyBeginAllowThreads();
34368 result = (bool)(arg1)->EndDrag();
34369
34370 wxPyEndAllowThreads(__tstate);
34371 if (PyErr_Occurred()) SWIG_fail;
34372 }
34373 {
34374 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34375 }
34376 return resultobj;
34377 fail:
34378 return NULL;
34379}
34380
34381
c32bde28 34382static PyObject *_wrap_DragImage_Move(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34383 PyObject *resultobj;
34384 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34385 wxPoint *arg2 = 0 ;
34386 bool result;
34387 wxPoint temp2 ;
34388 PyObject * obj0 = 0 ;
34389 PyObject * obj1 = 0 ;
34390 char *kwnames[] = {
34391 (char *) "self",(char *) "pt", NULL
34392 };
34393
34394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
34395 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34396 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34397 {
34398 arg2 = &temp2;
34399 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34400 }
34401 {
34402 PyThreadState* __tstate = wxPyBeginAllowThreads();
34403 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
34404
34405 wxPyEndAllowThreads(__tstate);
34406 if (PyErr_Occurred()) SWIG_fail;
34407 }
34408 {
34409 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34410 }
34411 return resultobj;
34412 fail:
34413 return NULL;
34414}
34415
34416
c32bde28 34417static PyObject *_wrap_DragImage_Show(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34418 PyObject *resultobj;
34419 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34420 bool result;
34421 PyObject * obj0 = 0 ;
34422 char *kwnames[] = {
34423 (char *) "self", NULL
34424 };
34425
34426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail;
093d3ff1
RD
34427 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34428 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34429 {
34430 PyThreadState* __tstate = wxPyBeginAllowThreads();
34431 result = (bool)(arg1)->Show();
34432
34433 wxPyEndAllowThreads(__tstate);
34434 if (PyErr_Occurred()) SWIG_fail;
34435 }
34436 {
34437 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34438 }
34439 return resultobj;
34440 fail:
34441 return NULL;
34442}
34443
34444
c32bde28 34445static PyObject *_wrap_DragImage_Hide(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34446 PyObject *resultobj;
34447 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34448 bool result;
34449 PyObject * obj0 = 0 ;
34450 char *kwnames[] = {
34451 (char *) "self", NULL
34452 };
34453
34454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail;
093d3ff1
RD
34455 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34456 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34457 {
34458 PyThreadState* __tstate = wxPyBeginAllowThreads();
34459 result = (bool)(arg1)->Hide();
34460
34461 wxPyEndAllowThreads(__tstate);
34462 if (PyErr_Occurred()) SWIG_fail;
34463 }
34464 {
34465 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34466 }
34467 return resultobj;
34468 fail:
34469 return NULL;
34470}
34471
34472
c32bde28 34473static PyObject *_wrap_DragImage_GetImageRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34474 PyObject *resultobj;
34475 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34476 wxPoint *arg2 = 0 ;
34477 wxRect result;
34478 wxPoint temp2 ;
34479 PyObject * obj0 = 0 ;
34480 PyObject * obj1 = 0 ;
34481 char *kwnames[] = {
34482 (char *) "self",(char *) "pos", NULL
34483 };
34484
34485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
34486 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34487 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34488 {
34489 arg2 = &temp2;
34490 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34491 }
34492 {
34493 PyThreadState* __tstate = wxPyBeginAllowThreads();
34494 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
34495
34496 wxPyEndAllowThreads(__tstate);
34497 if (PyErr_Occurred()) SWIG_fail;
34498 }
34499 {
34500 wxRect * resultptr;
093d3ff1 34501 resultptr = new wxRect((wxRect &)(result));
d55e5bfc
RD
34502 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
34503 }
34504 return resultobj;
34505 fail:
34506 return NULL;
34507}
34508
34509
c32bde28 34510static PyObject *_wrap_DragImage_DoDrawImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34511 PyObject *resultobj;
34512 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34513 wxDC *arg2 = 0 ;
34514 wxPoint *arg3 = 0 ;
34515 bool result;
34516 wxPoint temp3 ;
34517 PyObject * obj0 = 0 ;
34518 PyObject * obj1 = 0 ;
34519 PyObject * obj2 = 0 ;
34520 char *kwnames[] = {
34521 (char *) "self",(char *) "dc",(char *) "pos", NULL
34522 };
34523
34524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
34525 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34526 if (SWIG_arg_fail(1)) SWIG_fail;
34527 {
34528 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
34529 if (SWIG_arg_fail(2)) SWIG_fail;
34530 if (arg2 == NULL) {
34531 SWIG_null_ref("wxDC");
34532 }
34533 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
34534 }
34535 {
34536 arg3 = &temp3;
34537 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
34538 }
34539 {
34540 PyThreadState* __tstate = wxPyBeginAllowThreads();
34541 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
34542
34543 wxPyEndAllowThreads(__tstate);
34544 if (PyErr_Occurred()) SWIG_fail;
34545 }
34546 {
34547 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34548 }
34549 return resultobj;
34550 fail:
34551 return NULL;
34552}
34553
34554
c32bde28 34555static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34556 PyObject *resultobj;
34557 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34558 wxDC *arg2 = 0 ;
34559 wxMemoryDC *arg3 = 0 ;
34560 wxRect *arg4 = 0 ;
34561 wxRect *arg5 = 0 ;
34562 bool result;
34563 wxRect temp4 ;
34564 wxRect temp5 ;
34565 PyObject * obj0 = 0 ;
34566 PyObject * obj1 = 0 ;
34567 PyObject * obj2 = 0 ;
34568 PyObject * obj3 = 0 ;
34569 PyObject * obj4 = 0 ;
34570 char *kwnames[] = {
34571 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
34572 };
34573
34574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
34575 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34576 if (SWIG_arg_fail(1)) SWIG_fail;
34577 {
34578 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
34579 if (SWIG_arg_fail(2)) SWIG_fail;
34580 if (arg2 == NULL) {
34581 SWIG_null_ref("wxDC");
34582 }
34583 if (SWIG_arg_fail(2)) SWIG_fail;
34584 }
34585 {
34586 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxMemoryDC, SWIG_POINTER_EXCEPTION | 0);
34587 if (SWIG_arg_fail(3)) SWIG_fail;
34588 if (arg3 == NULL) {
34589 SWIG_null_ref("wxMemoryDC");
34590 }
34591 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
34592 }
34593 {
34594 arg4 = &temp4;
34595 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
34596 }
34597 {
34598 arg5 = &temp5;
34599 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
34600 }
34601 {
34602 PyThreadState* __tstate = wxPyBeginAllowThreads();
34603 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
34604
34605 wxPyEndAllowThreads(__tstate);
34606 if (PyErr_Occurred()) SWIG_fail;
34607 }
34608 {
34609 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34610 }
34611 return resultobj;
34612 fail:
34613 return NULL;
34614}
34615
34616
c32bde28 34617static PyObject *_wrap_DragImage_RedrawImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34618 PyObject *resultobj;
34619 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34620 wxPoint *arg2 = 0 ;
34621 wxPoint *arg3 = 0 ;
34622 bool arg4 ;
34623 bool arg5 ;
34624 bool result;
34625 wxPoint temp2 ;
34626 wxPoint temp3 ;
34627 PyObject * obj0 = 0 ;
34628 PyObject * obj1 = 0 ;
34629 PyObject * obj2 = 0 ;
34630 PyObject * obj3 = 0 ;
34631 PyObject * obj4 = 0 ;
34632 char *kwnames[] = {
34633 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
34634 };
34635
34636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
34637 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34638 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34639 {
34640 arg2 = &temp2;
34641 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34642 }
34643 {
34644 arg3 = &temp3;
34645 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
34646 }
093d3ff1
RD
34647 {
34648 arg4 = (bool)(SWIG_As_bool(obj3));
34649 if (SWIG_arg_fail(4)) SWIG_fail;
34650 }
34651 {
34652 arg5 = (bool)(SWIG_As_bool(obj4));
34653 if (SWIG_arg_fail(5)) SWIG_fail;
34654 }
d55e5bfc
RD
34655 {
34656 PyThreadState* __tstate = wxPyBeginAllowThreads();
34657 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
34658
34659 wxPyEndAllowThreads(__tstate);
34660 if (PyErr_Occurred()) SWIG_fail;
34661 }
34662 {
34663 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34664 }
34665 return resultobj;
34666 fail:
34667 return NULL;
34668}
34669
34670
c32bde28 34671static PyObject * DragImage_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
34672 PyObject *obj;
34673 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34674 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj);
34675 Py_INCREF(obj);
34676 return Py_BuildValue((char *)"");
34677}
53aa7709
RD
34678static int _wrap_DatePickerCtrlNameStr_set(PyObject *) {
34679 PyErr_SetString(PyExc_TypeError,"Variable DatePickerCtrlNameStr is read-only.");
34680 return 1;
34681}
34682
34683
34684static PyObject *_wrap_DatePickerCtrlNameStr_get(void) {
34685 PyObject *pyobj;
34686
34687 {
34688#if wxUSE_UNICODE
34689 pyobj = PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr)->c_str(), (&wxPyDatePickerCtrlNameStr)->Len());
34690#else
34691 pyobj = PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr)->c_str(), (&wxPyDatePickerCtrlNameStr)->Len());
34692#endif
34693 }
34694 return pyobj;
34695}
34696
34697
34698static PyObject *_wrap_new_DatePickerCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
34699 PyObject *resultobj;
34700 wxWindow *arg1 = (wxWindow *) 0 ;
34701 int arg2 = (int) -1 ;
34702 wxDateTime const &arg3_defvalue = wxDefaultDateTime ;
34703 wxDateTime *arg3 = (wxDateTime *) &arg3_defvalue ;
34704 wxPoint const &arg4_defvalue = wxDefaultPosition ;
34705 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
34706 wxSize const &arg5_defvalue = wxDefaultSize ;
34707 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
34708 long arg6 = (long) wxDP_DEFAULT|wxDP_SHOWCENTURY ;
34709 wxValidator const &arg7_defvalue = wxDefaultValidator ;
34710 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
34711 wxString const &arg8_defvalue = wxPyDatePickerCtrlNameStr ;
34712 wxString *arg8 = (wxString *) &arg8_defvalue ;
34713 wxDatePickerCtrl *result;
34714 wxPoint temp4 ;
34715 wxSize temp5 ;
34716 bool temp8 = false ;
34717 PyObject * obj0 = 0 ;
34718 PyObject * obj1 = 0 ;
34719 PyObject * obj2 = 0 ;
34720 PyObject * obj3 = 0 ;
34721 PyObject * obj4 = 0 ;
34722 PyObject * obj5 = 0 ;
34723 PyObject * obj6 = 0 ;
34724 PyObject * obj7 = 0 ;
34725 char *kwnames[] = {
34726 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34727 };
34728
34729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
34730 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34731 if (SWIG_arg_fail(1)) SWIG_fail;
34732 if (obj1) {
34733 {
34734 arg2 = (int)(SWIG_As_int(obj1));
34735 if (SWIG_arg_fail(2)) SWIG_fail;
34736 }
34737 }
34738 if (obj2) {
34739 {
34740 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
34741 if (SWIG_arg_fail(3)) SWIG_fail;
34742 if (arg3 == NULL) {
34743 SWIG_null_ref("wxDateTime");
34744 }
34745 if (SWIG_arg_fail(3)) SWIG_fail;
34746 }
34747 }
34748 if (obj3) {
34749 {
34750 arg4 = &temp4;
34751 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
34752 }
34753 }
34754 if (obj4) {
34755 {
34756 arg5 = &temp5;
34757 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
34758 }
34759 }
34760 if (obj5) {
34761 {
34762 arg6 = (long)(SWIG_As_long(obj5));
34763 if (SWIG_arg_fail(6)) SWIG_fail;
34764 }
34765 }
34766 if (obj6) {
34767 {
34768 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
34769 if (SWIG_arg_fail(7)) SWIG_fail;
34770 if (arg7 == NULL) {
34771 SWIG_null_ref("wxValidator");
34772 }
34773 if (SWIG_arg_fail(7)) SWIG_fail;
34774 }
34775 }
34776 if (obj7) {
34777 {
34778 arg8 = wxString_in_helper(obj7);
34779 if (arg8 == NULL) SWIG_fail;
34780 temp8 = true;
34781 }
34782 }
34783 {
34784 if (!wxPyCheckForApp()) SWIG_fail;
34785 PyThreadState* __tstate = wxPyBeginAllowThreads();
34786 result = (wxDatePickerCtrl *)new wxDatePickerCtrl(arg1,arg2,(wxDateTime const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
34787
34788 wxPyEndAllowThreads(__tstate);
34789 if (PyErr_Occurred()) SWIG_fail;
34790 }
34791 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDatePickerCtrl, 1);
34792 {
34793 if (temp8)
34794 delete arg8;
34795 }
34796 return resultobj;
34797 fail:
34798 {
34799 if (temp8)
34800 delete arg8;
34801 }
34802 return NULL;
34803}
34804
34805
34806static PyObject *_wrap_new_PreDatePickerCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
34807 PyObject *resultobj;
34808 wxDatePickerCtrl *result;
34809 char *kwnames[] = {
34810 NULL
34811 };
34812
34813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDatePickerCtrl",kwnames)) goto fail;
34814 {
34815 if (!wxPyCheckForApp()) SWIG_fail;
34816 PyThreadState* __tstate = wxPyBeginAllowThreads();
34817 result = (wxDatePickerCtrl *)new wxDatePickerCtrl();
34818
34819 wxPyEndAllowThreads(__tstate);
34820 if (PyErr_Occurred()) SWIG_fail;
34821 }
34822 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDatePickerCtrl, 1);
34823 return resultobj;
34824 fail:
34825 return NULL;
34826}
34827
34828
34829static PyObject *_wrap_DatePickerCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
34830 PyObject *resultobj;
34831 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
34832 wxWindow *arg2 = (wxWindow *) 0 ;
34833 int arg3 = (int) -1 ;
34834 wxDateTime const &arg4_defvalue = wxDefaultDateTime ;
34835 wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ;
34836 wxPoint const &arg5_defvalue = wxDefaultPosition ;
34837 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
34838 wxSize const &arg6_defvalue = wxDefaultSize ;
34839 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
34840 long arg7 = (long) wxDP_DEFAULT|wxDP_SHOWCENTURY ;
34841 wxValidator const &arg8_defvalue = wxDefaultValidator ;
34842 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
34843 wxString const &arg9_defvalue = wxPyDatePickerCtrlNameStr ;
34844 wxString *arg9 = (wxString *) &arg9_defvalue ;
34845 bool result;
34846 wxPoint temp5 ;
34847 wxSize temp6 ;
34848 bool temp9 = false ;
34849 PyObject * obj0 = 0 ;
34850 PyObject * obj1 = 0 ;
34851 PyObject * obj2 = 0 ;
34852 PyObject * obj3 = 0 ;
34853 PyObject * obj4 = 0 ;
34854 PyObject * obj5 = 0 ;
34855 PyObject * obj6 = 0 ;
34856 PyObject * obj7 = 0 ;
34857 PyObject * obj8 = 0 ;
34858 char *kwnames[] = {
34859 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34860 };
34861
34862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
34863 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
34864 if (SWIG_arg_fail(1)) SWIG_fail;
34865 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34866 if (SWIG_arg_fail(2)) SWIG_fail;
34867 if (obj2) {
34868 {
34869 arg3 = (int)(SWIG_As_int(obj2));
34870 if (SWIG_arg_fail(3)) SWIG_fail;
34871 }
34872 }
34873 if (obj3) {
34874 {
34875 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
34876 if (SWIG_arg_fail(4)) SWIG_fail;
34877 if (arg4 == NULL) {
34878 SWIG_null_ref("wxDateTime");
34879 }
34880 if (SWIG_arg_fail(4)) SWIG_fail;
34881 }
34882 }
34883 if (obj4) {
34884 {
34885 arg5 = &temp5;
34886 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
34887 }
34888 }
34889 if (obj5) {
34890 {
34891 arg6 = &temp6;
34892 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
34893 }
34894 }
34895 if (obj6) {
34896 {
34897 arg7 = (long)(SWIG_As_long(obj6));
34898 if (SWIG_arg_fail(7)) SWIG_fail;
34899 }
34900 }
34901 if (obj7) {
34902 {
34903 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
34904 if (SWIG_arg_fail(8)) SWIG_fail;
34905 if (arg8 == NULL) {
34906 SWIG_null_ref("wxValidator");
34907 }
34908 if (SWIG_arg_fail(8)) SWIG_fail;
34909 }
34910 }
34911 if (obj8) {
34912 {
34913 arg9 = wxString_in_helper(obj8);
34914 if (arg9 == NULL) SWIG_fail;
34915 temp9 = true;
34916 }
34917 }
34918 {
34919 PyThreadState* __tstate = wxPyBeginAllowThreads();
34920 result = (bool)(arg1)->Create(arg2,arg3,(wxDateTime const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
34921
34922 wxPyEndAllowThreads(__tstate);
34923 if (PyErr_Occurred()) SWIG_fail;
34924 }
34925 {
34926 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34927 }
34928 {
34929 if (temp9)
34930 delete arg9;
34931 }
34932 return resultobj;
34933 fail:
34934 {
34935 if (temp9)
34936 delete arg9;
34937 }
34938 return NULL;
34939}
34940
34941
34942static PyObject *_wrap_DatePickerCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
34943 PyObject *resultobj;
34944 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
34945 wxDateTime *arg2 = 0 ;
34946 PyObject * obj0 = 0 ;
34947 PyObject * obj1 = 0 ;
34948 char *kwnames[] = {
34949 (char *) "self",(char *) "dt", NULL
34950 };
34951
34952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DatePickerCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
34953 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
34954 if (SWIG_arg_fail(1)) SWIG_fail;
34955 {
34956 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
34957 if (SWIG_arg_fail(2)) SWIG_fail;
34958 if (arg2 == NULL) {
34959 SWIG_null_ref("wxDateTime");
34960 }
34961 if (SWIG_arg_fail(2)) SWIG_fail;
34962 }
34963 {
34964 PyThreadState* __tstate = wxPyBeginAllowThreads();
34965 (arg1)->SetValue((wxDateTime const &)*arg2);
34966
34967 wxPyEndAllowThreads(__tstate);
34968 if (PyErr_Occurred()) SWIG_fail;
34969 }
34970 Py_INCREF(Py_None); resultobj = Py_None;
34971 return resultobj;
34972 fail:
34973 return NULL;
34974}
34975
34976
34977static PyObject *_wrap_DatePickerCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
34978 PyObject *resultobj;
34979 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
34980 wxDateTime result;
34981 PyObject * obj0 = 0 ;
34982 char *kwnames[] = {
34983 (char *) "self", NULL
34984 };
34985
34986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DatePickerCtrl_GetValue",kwnames,&obj0)) goto fail;
34987 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
34988 if (SWIG_arg_fail(1)) SWIG_fail;
34989 {
34990 PyThreadState* __tstate = wxPyBeginAllowThreads();
34991 result = ((wxDatePickerCtrl const *)arg1)->GetValue();
34992
34993 wxPyEndAllowThreads(__tstate);
34994 if (PyErr_Occurred()) SWIG_fail;
34995 }
34996 {
34997 wxDateTime * resultptr;
34998 resultptr = new wxDateTime((wxDateTime &)(result));
34999 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
35000 }
35001 return resultobj;
35002 fail:
35003 return NULL;
35004}
35005
35006
35007static PyObject *_wrap_DatePickerCtrl_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
35008 PyObject *resultobj;
35009 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
35010 wxDateTime *arg2 = 0 ;
35011 wxDateTime *arg3 = 0 ;
35012 PyObject * obj0 = 0 ;
35013 PyObject * obj1 = 0 ;
35014 PyObject * obj2 = 0 ;
35015 char *kwnames[] = {
35016 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
35017 };
35018
35019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DatePickerCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
35020 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
35021 if (SWIG_arg_fail(1)) SWIG_fail;
35022 {
35023 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
35024 if (SWIG_arg_fail(2)) SWIG_fail;
35025 if (arg2 == NULL) {
35026 SWIG_null_ref("wxDateTime");
35027 }
35028 if (SWIG_arg_fail(2)) SWIG_fail;
35029 }
35030 {
35031 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
35032 if (SWIG_arg_fail(3)) SWIG_fail;
35033 if (arg3 == NULL) {
35034 SWIG_null_ref("wxDateTime");
35035 }
35036 if (SWIG_arg_fail(3)) SWIG_fail;
35037 }
35038 {
35039 PyThreadState* __tstate = wxPyBeginAllowThreads();
35040 (arg1)->SetRange((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
35041
35042 wxPyEndAllowThreads(__tstate);
35043 if (PyErr_Occurred()) SWIG_fail;
35044 }
35045 Py_INCREF(Py_None); resultobj = Py_None;
35046 return resultobj;
35047 fail:
35048 return NULL;
35049}
35050
35051
35052static PyObject *_wrap_DatePickerCtrl_GetLowerLimit(PyObject *, PyObject *args, PyObject *kwargs) {
35053 PyObject *resultobj;
35054 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
35055 wxDateTime result;
35056 PyObject * obj0 = 0 ;
35057 char *kwnames[] = {
35058 (char *) "self", NULL
35059 };
35060
35061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DatePickerCtrl_GetLowerLimit",kwnames,&obj0)) goto fail;
35062 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
35063 if (SWIG_arg_fail(1)) SWIG_fail;
35064 {
35065 PyThreadState* __tstate = wxPyBeginAllowThreads();
35066 result = wxDatePickerCtrl_GetLowerLimit(arg1);
35067
35068 wxPyEndAllowThreads(__tstate);
35069 if (PyErr_Occurred()) SWIG_fail;
35070 }
35071 {
35072 wxDateTime * resultptr;
35073 resultptr = new wxDateTime((wxDateTime &)(result));
35074 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
35075 }
35076 return resultobj;
35077 fail:
35078 return NULL;
35079}
35080
35081
35082static PyObject *_wrap_DatePickerCtrl_GetUpperLimit(PyObject *, PyObject *args, PyObject *kwargs) {
35083 PyObject *resultobj;
35084 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
35085 wxDateTime result;
35086 PyObject * obj0 = 0 ;
35087 char *kwnames[] = {
35088 (char *) "self", NULL
35089 };
35090
35091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DatePickerCtrl_GetUpperLimit",kwnames,&obj0)) goto fail;
35092 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
35093 if (SWIG_arg_fail(1)) SWIG_fail;
35094 {
35095 PyThreadState* __tstate = wxPyBeginAllowThreads();
35096 result = wxDatePickerCtrl_GetUpperLimit(arg1);
35097
35098 wxPyEndAllowThreads(__tstate);
35099 if (PyErr_Occurred()) SWIG_fail;
35100 }
35101 {
35102 wxDateTime * resultptr;
35103 resultptr = new wxDateTime((wxDateTime &)(result));
35104 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
35105 }
35106 return resultobj;
35107 fail:
35108 return NULL;
35109}
35110
35111
35112static PyObject * DatePickerCtrl_swigregister(PyObject *, PyObject *args) {
35113 PyObject *obj;
35114 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
35115 SWIG_TypeClientData(SWIGTYPE_p_wxDatePickerCtrl, obj);
35116 Py_INCREF(obj);
35117 return Py_BuildValue((char *)"");
35118}
d55e5bfc 35119static PyMethodDef SwigMethods[] = {
093d3ff1
RD
35120 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS, NULL},
35121 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS, NULL},
35122 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35123 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS, NULL},
35124 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
35125 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction) _wrap_Button_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35126 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS, NULL},
35127 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS, NULL},
35128 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS, NULL},
35129 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35130 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35131 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL},
35132 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL},
35133 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35134 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL},
35135 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL},
35136 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35137 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35138 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
35139 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS, NULL},
35140 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS, NULL},
35141 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS, NULL},
35142 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS, NULL},
35143 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS, NULL},
35144 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35145 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35146 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL},
35147 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35148 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS, NULL},
35149 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS, NULL},
35150 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS, NULL},
35151 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS, NULL},
35152 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction) _wrap_CheckBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35153 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS, NULL},
35154 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS, NULL},
35155 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS, NULL},
35156 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
35157 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction) _wrap_Choice_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35158 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS, NULL},
35159 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS, NULL},
35160 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS, NULL},
35161 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35162 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35163 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35164 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
35165 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS, NULL},
35166 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS, NULL},
35167 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35168 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35169 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35170 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
35171 { (char *)"ComboBox_SetSelection", (PyCFunction) _wrap_ComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35172 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS, NULL},
35173 { (char *)"ComboBox_GetMark", (PyCFunction) _wrap_ComboBox_GetMark, METH_VARARGS | METH_KEYWORDS, NULL},
35174 { (char *)"ComboBox_SetStringSelection", (PyCFunction) _wrap_ComboBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35175 { (char *)"ComboBox_SetString", (PyCFunction) _wrap_ComboBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
35176 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
35177 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS, NULL},
35178 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
35179 { (char *)"ComboBox_IsEditable", (PyCFunction) _wrap_ComboBox_IsEditable, METH_VARARGS | METH_KEYWORDS, NULL},
35180 { (char *)"ComboBox_Undo", (PyCFunction) _wrap_ComboBox_Undo, METH_VARARGS | METH_KEYWORDS, NULL},
35181 { (char *)"ComboBox_Redo", (PyCFunction) _wrap_ComboBox_Redo, METH_VARARGS | METH_KEYWORDS, NULL},
35182 { (char *)"ComboBox_SelectAll", (PyCFunction) _wrap_ComboBox_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
35183 { (char *)"ComboBox_CanCopy", (PyCFunction) _wrap_ComboBox_CanCopy, METH_VARARGS | METH_KEYWORDS, NULL},
35184 { (char *)"ComboBox_CanCut", (PyCFunction) _wrap_ComboBox_CanCut, METH_VARARGS | METH_KEYWORDS, NULL},
35185 { (char *)"ComboBox_CanPaste", (PyCFunction) _wrap_ComboBox_CanPaste, METH_VARARGS | METH_KEYWORDS, NULL},
35186 { (char *)"ComboBox_CanUndo", (PyCFunction) _wrap_ComboBox_CanUndo, METH_VARARGS | METH_KEYWORDS, NULL},
35187 { (char *)"ComboBox_CanRedo", (PyCFunction) _wrap_ComboBox_CanRedo, METH_VARARGS | METH_KEYWORDS, NULL},
35188 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ComboBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35189 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS, NULL},
35190 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS, NULL},
35191 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS, NULL},
35192 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35193 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35194 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35195 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35196 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35197 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35198 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL},
35199 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL},
35200 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL},
35201 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL},
35202 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction) _wrap_Gauge_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35203 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS, NULL},
35204 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS, NULL},
35205 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS, NULL},
35206 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35207 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35208 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS, NULL},
35209 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS, NULL},
35210 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS, NULL},
35211 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35212 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35213 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
35214 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticLine_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35215 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS, NULL},
35216 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS, NULL},
35217 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS, NULL},
35218 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35219 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticText_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35220 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS, NULL},
35221 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35222 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35223 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35224 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35225 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35226 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
35227 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBitmap_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35228 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS, NULL},
35229 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS, NULL},
35230 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS, NULL},
35231 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35232 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS, NULL},
35233 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS, NULL},
35234 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS, NULL},
35235 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35236 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35237 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
35238 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS, NULL},
35239 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
35240 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35241 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
35242 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS, NULL},
35243 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS, NULL},
35244 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35245 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35246 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS, NULL},
35247 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction) _wrap_ListBox_SetItemForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35248 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction) _wrap_ListBox_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35249 { (char *)"ListBox_SetItemFont", (PyCFunction) _wrap_ListBox_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
35250 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ListBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35251 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS, NULL},
35252 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS, NULL},
35253 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS, NULL},
35254 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35255 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL},
35256 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS, NULL},
35257 { (char *)"CheckListBox_GetItemHeight", (PyCFunction) _wrap_CheckListBox_GetItemHeight, METH_VARARGS | METH_KEYWORDS, NULL},
35258 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
35259 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
35260 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS, NULL},
35261 { (char *)"new_TextAttr", (PyCFunction) _wrap_new_TextAttr, METH_VARARGS | METH_KEYWORDS, NULL},
35262 { (char *)"delete_TextAttr", (PyCFunction) _wrap_delete_TextAttr, METH_VARARGS | METH_KEYWORDS, NULL},
35263 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS, NULL},
35264 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35265 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35266 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35267 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
35268 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS, NULL},
35269 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35270 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35271 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
35272 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35273 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35274 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS, NULL},
35275 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
35276 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS, NULL},
35277 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35278 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35279 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL},
35280 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35281 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35282 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35283 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
35284 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS, NULL},
35285 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35286 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction) _wrap_TextAttr_GetLeftSubIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35287 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35288 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
35289 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS, NULL},
35290 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS, NULL},
35291 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS, NULL},
35292 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35293 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35294 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35295 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35296 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35297 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35298 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS, NULL},
35299 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS, NULL},
35300 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS, NULL},
35301 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS, NULL},
35302 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS, NULL},
35303 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS, NULL},
35304 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS, NULL},
35305 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35306 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35307 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
35308 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
35309 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
35310 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
35311 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL},
35312 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS, NULL},
35313 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS, NULL},
35314 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS, NULL},
35315 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS, NULL},
35316 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS, NULL},
35317 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS, NULL},
35318 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35319 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35320 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35321 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35322 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35323 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS, NULL},
35324 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35325 { (char *)"TextCtrl_HitTest", (PyCFunction) _wrap_TextCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
35326 { (char *)"TextCtrl_HitTestPos", (PyCFunction) _wrap_TextCtrl_HitTestPos, METH_VARARGS | METH_KEYWORDS, NULL},
35327 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
35328 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS, NULL},
35329 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS, NULL},
35330 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS, NULL},
35331 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS, NULL},
35332 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS, NULL},
35333 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS, NULL},
35334 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS, NULL},
35335 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS, NULL},
35336 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS, NULL},
35337 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35338 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS, NULL},
35339 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35340 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35341 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35342 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
35343 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
35344 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction) _wrap_TextCtrl_ShowNativeCaret, METH_VARARGS | METH_KEYWORDS, NULL},
35345 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction) _wrap_TextCtrl_HideNativeCaret, METH_VARARGS | METH_KEYWORDS, NULL},
35346 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS, NULL},
35347 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
35348 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TextCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35349 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS, NULL},
35350 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35351 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35352 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS, NULL},
35353 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS, NULL},
35354 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS, NULL},
35355 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
35356 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
35357 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35358 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35359 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS, NULL},
35360 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
35361 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35362 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35363 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35364 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS, NULL},
35365 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrollBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35366 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS, NULL},
35367 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS, NULL},
35368 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS, NULL},
35369 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35370 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35371 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS, NULL},
35372 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS, NULL},
35373 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35374 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS, NULL},
35375 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS, NULL},
35376 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35377 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35378 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35379 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS, NULL},
35380 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35381 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35382 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35383 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35384 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35385 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS, NULL},
35386 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35387 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS, NULL},
35388 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS, NULL},
35389 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35390 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35391 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS, NULL},
35392 { (char *)"new_SpinEvent", (PyCFunction) _wrap_new_SpinEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35393 { (char *)"SpinEvent_GetPosition", (PyCFunction) _wrap_SpinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35394 { (char *)"SpinEvent_SetPosition", (PyCFunction) _wrap_SpinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35395 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister, METH_VARARGS, NULL},
35396 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS, NULL},
35397 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS, NULL},
35398 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35399 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35400 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35401 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35402 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35403 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS, NULL},
35404 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS, NULL},
35405 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
35406 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
35407 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS, NULL},
35408 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS, NULL},
35409 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL},
35410 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS, NULL},
35411 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
35412 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35413 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS, NULL},
35414 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS, NULL},
35415 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS, NULL},
35416 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35417 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35418 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35419 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35420 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS, NULL},
35421 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS, NULL},
35422 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS, NULL},
35423 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35424 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35425 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35426 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35427 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS, NULL},
35428 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS, NULL},
35429 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS, NULL},
35430 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS, NULL},
35431 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS, NULL},
35432 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
35433 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS, NULL},
35434 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
35435 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL},
35436 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL},
35437 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL},
35438 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL},
35439 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS, NULL},
35440 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS, NULL},
35441 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS, NULL},
35442 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS, NULL},
35443 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS, NULL},
35444 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35445 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction) _wrap_Slider_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35446 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS, NULL},
35447 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS, NULL},
35448 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS, NULL},
35449 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35450 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35451 { (char *)"ToggleButton_GetValue", (PyCFunction) _wrap_ToggleButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35452 { (char *)"ToggleButton_SetLabel", (PyCFunction) _wrap_ToggleButton_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35453 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction) _wrap_ToggleButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35454 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS, NULL},
35455 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction) _wrap_BookCtrlBase_GetPageCount, METH_VARARGS | METH_KEYWORDS, NULL},
35456 { (char *)"BookCtrlBase_GetPage", (PyCFunction) _wrap_BookCtrlBase_GetPage, METH_VARARGS | METH_KEYWORDS, NULL},
35457 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction) _wrap_BookCtrlBase_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
35458 { (char *)"BookCtrlBase_GetSelection", (PyCFunction) _wrap_BookCtrlBase_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35459 { (char *)"BookCtrlBase_SetPageText", (PyCFunction) _wrap_BookCtrlBase_SetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
35460 { (char *)"BookCtrlBase_GetPageText", (PyCFunction) _wrap_BookCtrlBase_GetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
35461 { (char *)"BookCtrlBase_SetImageList", (PyCFunction) _wrap_BookCtrlBase_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35462 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction) _wrap_BookCtrlBase_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35463 { (char *)"BookCtrlBase_GetImageList", (PyCFunction) _wrap_BookCtrlBase_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35464 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction) _wrap_BookCtrlBase_GetPageImage, METH_VARARGS | METH_KEYWORDS, NULL},
35465 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction) _wrap_BookCtrlBase_SetPageImage, METH_VARARGS | METH_KEYWORDS, NULL},
35466 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction) _wrap_BookCtrlBase_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
35467 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrlBase_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
35468 { (char *)"BookCtrlBase_DeletePage", (PyCFunction) _wrap_BookCtrlBase_DeletePage, METH_VARARGS | METH_KEYWORDS, NULL},
35469 { (char *)"BookCtrlBase_RemovePage", (PyCFunction) _wrap_BookCtrlBase_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL},
35470 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction) _wrap_BookCtrlBase_DeleteAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
35471 { (char *)"BookCtrlBase_AddPage", (PyCFunction) _wrap_BookCtrlBase_AddPage, METH_VARARGS | METH_KEYWORDS, NULL},
35472 { (char *)"BookCtrlBase_InsertPage", (PyCFunction) _wrap_BookCtrlBase_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL},
35473 { (char *)"BookCtrlBase_SetSelection", (PyCFunction) _wrap_BookCtrlBase_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35474 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction) _wrap_BookCtrlBase_AdvanceSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35475 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction) _wrap_BookCtrlBase_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35476 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister, METH_VARARGS, NULL},
35477 { (char *)"new_BookCtrlBaseEvent", (PyCFunction) _wrap_new_BookCtrlBaseEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35478 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35479 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35480 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35481 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35482 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister, METH_VARARGS, NULL},
35483 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS, NULL},
35484 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS, NULL},
35485 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35486 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS, NULL},
35487 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS, NULL},
35488 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS, NULL},
35489 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
35490 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
091fdbfa 35491 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction) _wrap_Notebook_GetThemeBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
35492 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction) _wrap_Notebook_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35493 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS, NULL},
35494 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35495 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS, NULL},
35496 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS, NULL},
35497 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS, NULL},
35498 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35499 { (char *)"Listbook_IsVertical", (PyCFunction) _wrap_Listbook_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35500 { (char *)"Listbook_GetListView", (PyCFunction) _wrap_Listbook_GetListView, METH_VARARGS | METH_KEYWORDS, NULL},
35501 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS, NULL},
35502 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35503 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS, NULL},
35504 { (char *)"new_Choicebook", (PyCFunction) _wrap_new_Choicebook, METH_VARARGS | METH_KEYWORDS, NULL},
35505 { (char *)"new_PreChoicebook", (PyCFunction) _wrap_new_PreChoicebook, METH_VARARGS | METH_KEYWORDS, NULL},
35506 { (char *)"Choicebook_Create", (PyCFunction) _wrap_Choicebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35507 { (char *)"Choicebook_IsVertical", (PyCFunction) _wrap_Choicebook_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
70b7a5fe 35508 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction) _wrap_Choicebook_GetChoiceCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
35509 { (char *)"Choicebook_DeleteAllPages", (PyCFunction) _wrap_Choicebook_DeleteAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
35510 { (char *)"Choicebook_swigregister", Choicebook_swigregister, METH_VARARGS, NULL},
35511 { (char *)"new_ChoicebookEvent", (PyCFunction) _wrap_new_ChoicebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35512 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister, METH_VARARGS, NULL},
35513 { (char *)"new_BookCtrlSizer", (PyCFunction) _wrap_new_BookCtrlSizer, METH_VARARGS | METH_KEYWORDS, NULL},
35514 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction) _wrap_BookCtrlSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS, NULL},
35515 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction) _wrap_BookCtrlSizer_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL},
35516 { (char *)"BookCtrlSizer_GetControl", (PyCFunction) _wrap_BookCtrlSizer_GetControl, METH_VARARGS | METH_KEYWORDS, NULL},
35517 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister, METH_VARARGS, NULL},
35518 { (char *)"new_NotebookSizer", (PyCFunction) _wrap_new_NotebookSizer, METH_VARARGS | METH_KEYWORDS, NULL},
35519 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction) _wrap_NotebookSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS, NULL},
35520 { (char *)"NotebookSizer_CalcMin", (PyCFunction) _wrap_NotebookSizer_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL},
35521 { (char *)"NotebookSizer_GetNotebook", (PyCFunction) _wrap_NotebookSizer_GetNotebook, METH_VARARGS | METH_KEYWORDS, NULL},
35522 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister, METH_VARARGS, NULL},
35523 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
35524 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS, NULL},
35525 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
35526 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS, NULL},
35527 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS, NULL},
35528 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
35529 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35530 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS, NULL},
35531 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
35532 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS, NULL},
35533 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS, NULL},
35534 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35535 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35536 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35537 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35538 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35539 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35540 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS, NULL},
35541 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
35542 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL},
35543 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35544 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35545 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35546 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35547 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35548 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS, NULL},
35549 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS, NULL},
35550 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS, NULL},
35551 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS, NULL},
35552 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS, NULL},
35553 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS, NULL},
35554 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS, NULL},
35555 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS, NULL},
35556 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS, NULL},
35557 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS, NULL},
35558 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS, NULL},
35559 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS, NULL},
35560 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
35561 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
35562 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS, NULL},
35563 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS, NULL},
35564 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS, NULL},
35565 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS, NULL},
35566 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS, NULL},
35567 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS, NULL},
35568 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS, NULL},
35569 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL},
35570 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL},
35571 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL},
35572 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS, NULL},
35573 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS, NULL},
35574 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
35575 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35576 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35577 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35578 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35579 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
35580 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
35581 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL},
35582 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL},
35583 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS, NULL},
35584 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
35585 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL},
35586 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL},
35587 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS, NULL},
35588 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS, NULL},
35589 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS, NULL},
35590 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS, NULL},
35591 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL},
35592 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL},
35593 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS, NULL},
35594 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35595 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS, NULL},
35596 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35597 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS, NULL},
35598 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
35599 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
35600 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35601 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35602 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ToolBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35603 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS, NULL},
35604 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS, NULL},
35605 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35606 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35607 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35608 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35609 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35610 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS, NULL},
35611 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35612 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35613 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35614 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
35615 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS, NULL},
35616 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS, NULL},
35617 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS, NULL},
35618 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
35619 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35620 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS, NULL},
35621 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
35622 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35623 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS, NULL},
35624 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS, NULL},
35625 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
35626 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS, NULL},
35627 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
35628 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
35629 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
35630 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35631 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35632 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35633 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS, NULL},
35634 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
35635 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35636 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS, NULL},
35637 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS, NULL},
35638 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS, NULL},
35639 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
35640 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
35641 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
35642 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35643 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35644 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35645 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35646 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35647 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS, NULL},
35648 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS, NULL},
35649 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS, NULL},
35650 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS, NULL},
35651 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS, NULL},
35652 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS, NULL},
35653 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS, NULL},
35654 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS, NULL},
35655 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS, NULL},
35656 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS, NULL},
35657 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS, NULL},
35658 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS, NULL},
35659 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS, NULL},
35660 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS, NULL},
35661 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS, NULL},
35662 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS, NULL},
35663 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS, NULL},
35664 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS, NULL},
35665 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS, NULL},
35666 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS, NULL},
35667 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS, NULL},
35668 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35669 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS, NULL},
35670 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS, NULL},
35671 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS, NULL},
35672 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS, NULL},
35673 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS, NULL},
35674 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS, NULL},
35675 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS, NULL},
35676 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS, NULL},
35677 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS, NULL},
35678 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS, NULL},
35679 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS, NULL},
35680 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL},
35681 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS, NULL},
35682 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35683 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35684 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35685 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS, NULL},
35686 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS, NULL},
35687 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
35688 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS, NULL},
35689 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35690 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS, NULL},
35691 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS, NULL},
35692 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS, NULL},
35693 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
35694 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS, NULL},
35695 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35696 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35697 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35698 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
35699 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35700 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35701 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35702 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35703 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
35704 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
35705 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS, NULL},
35706 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS, NULL},
35707 { (char *)"ListCtrl_GetEditControl", (PyCFunction) _wrap_ListCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS, NULL},
35708 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35709 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35710 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
35711 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS, NULL},
35712 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS, NULL},
35713 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
35714 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
35715 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
35716 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35717 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35718 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35719 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS, NULL},
35720 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35721 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
35722 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL},
35723 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
35724 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
35725 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35726 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35727 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS, NULL},
35728 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35729 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS, NULL},
35730 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
35731 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35732 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35733 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35734 { (char *)"ListCtrl_InReportView", (PyCFunction) _wrap_ListCtrl_InReportView, METH_VARARGS | METH_KEYWORDS, NULL},
35735 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS, NULL},
35736 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS, NULL},
35737 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS, NULL},
35738 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS, NULL},
35739 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS, NULL},
35740 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS, NULL},
35741 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35742 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS, NULL},
35743 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS, NULL},
35744 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35745 { (char *)"ListCtrl_EndEditLabel", (PyCFunction) _wrap_ListCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35746 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35747 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS, NULL},
35748 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35749 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS, NULL},
35750 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
35751 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
35752 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
35753 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS, NULL},
35754 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
a3957d3d 35755 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction) _wrap_ListCtrl_InsertColumnItem, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
35756 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35757 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
35758 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS, NULL},
35759 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35760 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35761 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35762 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35763 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS, NULL},
35764 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35765 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_ListCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35766 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS, NULL},
35767 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS, NULL},
35768 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS, NULL},
35769 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35770 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS, NULL},
35771 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS, NULL},
35772 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS, NULL},
35773 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35774 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35775 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35776 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
35777 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
35778 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS, NULL},
35779 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS, NULL},
35780 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS, NULL},
35781 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
35782 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
35783 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
35784 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS, NULL},
35785 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS, NULL},
35786 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS, NULL},
35787 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35788 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
35789 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
35790 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
35791 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
35792 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
35793 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS, NULL},
35794 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35795 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35796 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35797 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS, NULL},
35798 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS, NULL},
35799 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35800 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35801 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35802 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL},
35803 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35804 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35805 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35806 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS, NULL},
35807 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
35808 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
dcb8fc74 35809 { (char *)"TreeEvent_GetToolTip", (PyCFunction) _wrap_TreeEvent_GetToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
35810 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS, NULL},
35811 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35812 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35813 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35814 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
35815 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS, NULL},
35816 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35817 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35818 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
35819 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
35820 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35821 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35822 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35823 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35824 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35825 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35826 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
35827 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
35828 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35829 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
35830 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35831 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35832 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
35833 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
35834 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
35835 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35836 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
35837 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
35838 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS, NULL},
35839 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction) _wrap_TreeCtrl_SetItemDropHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
35840 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35841 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35842 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
35843 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35844 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
35845 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
35846 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35847 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS, NULL},
35848 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS, NULL},
35849 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS, NULL},
35850 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35851 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
35852 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS, NULL},
35853 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL},
35854 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS, NULL},
35855 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL},
35856 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS, NULL},
35857 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS, NULL},
35858 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS, NULL},
35859 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35860 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35861 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS, NULL},
35862 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL},
35863 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
35864 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS, NULL},
35865 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL},
35866 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS, NULL},
35867 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS, NULL},
35868 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS, NULL},
35869 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS, NULL},
35870 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS, NULL},
35871 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS, NULL},
35872 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
35873 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS, NULL},
35874 { (char *)"TreeCtrl_UnselectItem", (PyCFunction) _wrap_TreeCtrl_UnselectItem, METH_VARARGS | METH_KEYWORDS, NULL},
35875 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
35876 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS, NULL},
35877 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction) _wrap_TreeCtrl_ToggleItemSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35878 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35879 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS, NULL},
35880 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35881 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS, NULL},
35882 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction) _wrap_TreeCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35883 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS, NULL},
35884 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
35885 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
35886 { (char *)"TreeCtrl_SetState", (PyCFunction) _wrap_TreeCtrl_SetState, METH_VARARGS | METH_KEYWORDS, NULL},
35887 { (char *)"TreeCtrl_GetState", (PyCFunction) _wrap_TreeCtrl_GetState, METH_VARARGS | METH_KEYWORDS, NULL},
35888 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TreeCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35889 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS, NULL},
35890 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35891 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35892 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35893 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS, NULL},
35894 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL},
35895 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL},
35896 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS, NULL},
35897 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS, NULL},
35898 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
35899 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS, NULL},
35900 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS, NULL},
35901 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS, NULL},
35902 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS, NULL},
35903 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
35904 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
35905 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS, NULL},
35906 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35907 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35908 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS, NULL},
35909 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS, NULL},
35910 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS, NULL},
35911 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS, NULL},
35912 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35913 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35914 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35915 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS, NULL},
35916 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS, NULL},
35917 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS, NULL},
35918 { (char *)"new_PrePyControl", (PyCFunction) _wrap_new_PrePyControl, METH_VARARGS | METH_KEYWORDS, NULL},
35919 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
35920 { (char *)"PyControl_SetBestSize", (PyCFunction) _wrap_PyControl_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
60d5fcc1 35921 { (char *)"PyControl_DoEraseBackground", (PyCFunction) _wrap_PyControl_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
35922 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction) _wrap_PyControl_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35923 { (char *)"PyControl_base_DoSetSize", (PyCFunction) _wrap_PyControl_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
35924 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction) _wrap_PyControl_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
35925 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
35926 { (char *)"PyControl_base_DoGetSize", (PyCFunction) _wrap_PyControl_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
35927 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction) _wrap_PyControl_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
35928 { (char *)"PyControl_base_DoGetPosition", (PyCFunction) _wrap_PyControl_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35929 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
35930 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction) _wrap_PyControl_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
35931 { (char *)"PyControl_base_InitDialog", (PyCFunction) _wrap_PyControl_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
35932 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction) _wrap_PyControl_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35933 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35934 { (char *)"PyControl_base_Validate", (PyCFunction) _wrap_PyControl_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
35935 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction) _wrap_PyControl_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
35936 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
35937 { (char *)"PyControl_base_GetMaxSize", (PyCFunction) _wrap_PyControl_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
35938 { (char *)"PyControl_base_AddChild", (PyCFunction) _wrap_PyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
35939 { (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
35940 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction) _wrap_PyControl_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 35941 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction) _wrap_PyControl_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
8d38bd1d 35942 { (char *)"PyControl_base_OnInternalIdle", (PyCFunction) _wrap_PyControl_base_OnInternalIdle, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
35943 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS, NULL},
35944 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35945 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35946 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35947 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS, NULL},
35948 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS, NULL},
35949 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS, NULL},
35950 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS, NULL},
35951 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS, NULL},
35952 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35953 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35954 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35955 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35956 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS, NULL},
35957 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS, NULL},
35958 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS, NULL},
35959 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS, NULL},
35960 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS, NULL},
35961 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35962 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35963 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35964 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS, NULL},
35965 { (char *)"HelpProvider_RemoveHelp", (PyCFunction) _wrap_HelpProvider_RemoveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35966 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
35967 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS, NULL},
35968 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS, NULL},
35969 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS, NULL},
35970 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS, NULL},
35971 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS, NULL},
35972 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS, NULL},
35973 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS, NULL},
35974 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS, NULL},
35975 { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS, NULL},
35976 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35977 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS, NULL},
35978 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS, NULL},
35979 { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS, NULL},
35980 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS, NULL},
35981 { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS, NULL},
35982 { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS, NULL},
35983 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS, NULL},
35984 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS, NULL},
35985 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35986 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS, NULL},
35987 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS, NULL},
53aa7709
RD
35988 { (char *)"new_DatePickerCtrl", (PyCFunction) _wrap_new_DatePickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35989 { (char *)"new_PreDatePickerCtrl", (PyCFunction) _wrap_new_PreDatePickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35990 { (char *)"DatePickerCtrl_Create", (PyCFunction) _wrap_DatePickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35991 { (char *)"DatePickerCtrl_SetValue", (PyCFunction) _wrap_DatePickerCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35992 { (char *)"DatePickerCtrl_GetValue", (PyCFunction) _wrap_DatePickerCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35993 { (char *)"DatePickerCtrl_SetRange", (PyCFunction) _wrap_DatePickerCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35994 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction) _wrap_DatePickerCtrl_GetLowerLimit, METH_VARARGS | METH_KEYWORDS, NULL},
35995 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction) _wrap_DatePickerCtrl_GetUpperLimit, METH_VARARGS | METH_KEYWORDS, NULL},
35996 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister, METH_VARARGS, NULL},
c32bde28 35997 { NULL, NULL, 0, NULL }
d55e5bfc
RD
35998};
35999
36000
36001/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
36002
d55e5bfc
RD
36003static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
36004 return (void *)((wxSizer *) ((wxBoxSizer *) x));
36005}
36006static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
36007 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
36008}
62d32a5f
RD
36009static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x) {
36010 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
36011}
d55e5bfc
RD
36012static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
36013 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
36014}
36015static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
36016 return (void *)((wxSizer *) ((wxGridSizer *) x));
36017}
36018static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
36019 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
36020}
36021static void *_p_wxNotebookSizerTo_p_wxSizer(void *x) {
36022 return (void *)((wxSizer *) ((wxNotebookSizer *) x));
36023}
36024static void *_p_wxPySizerTo_p_wxSizer(void *x) {
36025 return (void *)((wxSizer *) ((wxPySizer *) x));
36026}
36027static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x) {
36028 return (void *)((wxSizer *) ((wxBookCtrlSizer *) x));
36029}
36030static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
36031 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
36032}
36033static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
36034 return (void *)((wxEvent *) ((wxMenuEvent *) x));
36035}
36036static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
36037 return (void *)((wxEvent *) ((wxCloseEvent *) x));
36038}
36039static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
36040 return (void *)((wxEvent *) ((wxMouseEvent *) x));
36041}
36042static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
36043 return (void *)((wxEvent *) ((wxEraseEvent *) x));
36044}
8ac8dba0
RD
36045static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x) {
36046 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
36047}
d55e5bfc
RD
36048static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
36049 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
36050}
36051static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
36052 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
36053}
36054static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
36055 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
36056}
36057static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
36058 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
36059}
36060static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
36061 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
36062}
d55e5bfc
RD
36063static void *_p_wxPyEventTo_p_wxEvent(void *x) {
36064 return (void *)((wxEvent *) ((wxPyEvent *) x));
36065}
36066static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
36067 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
36068}
36069static void *_p_wxListEventTo_p_wxEvent(void *x) {
36070 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
36071}
36072static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
8ac8dba0 36073 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
d55e5bfc
RD
36074}
36075static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
8ac8dba0 36076 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
d55e5bfc 36077}
ae8162c8 36078static void *_p_wxChoicebookEventTo_p_wxEvent(void *x) {
8ac8dba0 36079 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
ae8162c8 36080}
d55e5bfc
RD
36081static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
36082 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
36083}
36084static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
36085 return (void *)((wxEvent *) ((wxIdleEvent *) x));
36086}
36087static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
36088 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
36089}
36090static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
36091 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
36092}
36093static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
36094 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
36095}
36096static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
36097 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
36098}
36099static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
36100 return (void *)((wxEvent *) ((wxActivateEvent *) x));
36101}
36102static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
36103 return (void *)((wxEvent *) ((wxSizeEvent *) x));
36104}
36105static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
36106 return (void *)((wxEvent *) ((wxMoveEvent *) x));
36107}
53aa7709
RD
36108static void *_p_wxDateEventTo_p_wxEvent(void *x) {
36109 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
36110}
d55e5bfc
RD
36111static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
36112 return (void *)((wxEvent *) ((wxPaintEvent *) x));
36113}
36114static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
36115 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
36116}
36117static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
36118 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
36119}
36120static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
36121 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
36122}
36123static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
36124 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
36125}
36126static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
36127 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
36128}
36129static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
36130 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
36131}
36132static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
36133 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
36134}
36135static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
36136 return (void *)((wxEvent *) ((wxFocusEvent *) x));
36137}
36138static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
36139 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
36140}
36141static void *_p_wxShowEventTo_p_wxEvent(void *x) {
36142 return (void *)((wxEvent *) ((wxShowEvent *) x));
36143}
36144static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
36145 return (void *)((wxEvent *) ((wxCommandEvent *) x));
36146}
36147static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
36148 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
36149}
36150static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
36151 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
36152}
36153static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
36154 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
36155}
36156static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
36157 return (void *)((wxEvent *) ((wxKeyEvent *) x));
36158}
36159static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
36160 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
36161}
36162static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
36163 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
36164}
36165static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
36166 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
36167}
36168static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
36169 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
36170}
36171static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
36172 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
36173}
36174static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
36175 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
36176}
36177static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
36178 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
36179}
36180static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
36181 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
36182}
36183static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
36184 return (void *)((wxPyListCtrl *) ((wxListView *) x));
36185}
8ac8dba0
RD
36186static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x) {
36187 return (void *)((wxControl *) ((wxBookCtrlBase *) x));
d55e5bfc
RD
36188}
36189static void *_p_wxToolBarTo_p_wxControl(void *x) {
36190 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
36191}
ae8162c8
RD
36192static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
36193 return (void *)((wxControl *) ((wxToggleButton *) x));
d55e5bfc 36194}
ae8162c8
RD
36195static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
36196 return (void *)((wxControl *) ((wxRadioButton *) x));
d55e5bfc 36197}
ae8162c8
RD
36198static void *_p_wxPyControlTo_p_wxControl(void *x) {
36199 return (void *)((wxControl *) ((wxPyControl *) x));
d55e5bfc 36200}
ae8162c8
RD
36201static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
36202 return (void *)((wxControl *) ((wxToolBarBase *) x));
36203}
36204static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
36205 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
d55e5bfc
RD
36206}
36207static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
36208 return (void *)((wxControl *) ((wxPyListCtrl *) x));
36209}
ae8162c8
RD
36210static void *_p_wxComboBoxTo_p_wxControl(void *x) {
36211 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
d55e5bfc 36212}
ae8162c8
RD
36213static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
36214 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
d55e5bfc
RD
36215}
36216static void *_p_wxScrollBarTo_p_wxControl(void *x) {
36217 return (void *)((wxControl *) ((wxScrollBar *) x));
36218}
ae8162c8
RD
36219static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
36220 return (void *)((wxControl *) ((wxControlWithItems *) x));
d55e5bfc
RD
36221}
36222static void *_p_wxGaugeTo_p_wxControl(void *x) {
36223 return (void *)((wxControl *) ((wxGauge *) x));
36224}
ae8162c8
RD
36225static void *_p_wxStaticLineTo_p_wxControl(void *x) {
36226 return (void *)((wxControl *) ((wxStaticLine *) x));
d55e5bfc 36227}
ae8162c8 36228static void *_p_wxChoicebookTo_p_wxControl(void *x) {
8ac8dba0 36229 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxChoicebook *) x));
d55e5bfc 36230}
ae8162c8 36231static void *_p_wxListbookTo_p_wxControl(void *x) {
8ac8dba0 36232 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxListbook *) x));
d55e5bfc 36233}
ae8162c8
RD
36234static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
36235 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
d55e5bfc 36236}
ae8162c8
RD
36237static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
36238 return (void *)((wxControl *) ((wxCheckBox *) x));
d55e5bfc
RD
36239}
36240static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
36241 return (void *)((wxControl *) ((wxRadioBox *) x));
36242}
ae8162c8
RD
36243static void *_p_wxChoiceTo_p_wxControl(void *x) {
36244 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
36245}
36246static void *_p_wxListBoxTo_p_wxControl(void *x) {
36247 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
36248}
36249static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
36250 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
36251}
36252static void *_p_wxListViewTo_p_wxControl(void *x) {
36253 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
36254}
d55e5bfc 36255static void *_p_wxNotebookTo_p_wxControl(void *x) {
8ac8dba0 36256 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxNotebook *) x));
d55e5bfc 36257}
ae8162c8
RD
36258static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
36259 return (void *)((wxControl *) ((wxStaticBitmap *) x));
d55e5bfc 36260}
ae8162c8
RD
36261static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
36262 return (void *)((wxControl *) ((wxSpinCtrl *) x));
d55e5bfc 36263}
ae8162c8
RD
36264static void *_p_wxStaticTextTo_p_wxControl(void *x) {
36265 return (void *)((wxControl *) ((wxStaticText *) x));
d55e5bfc 36266}
ae8162c8
RD
36267static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
36268 return (void *)((wxControl *) ((wxStaticBox *) x));
d55e5bfc
RD
36269}
36270static void *_p_wxSliderTo_p_wxControl(void *x) {
36271 return (void *)((wxControl *) ((wxSlider *) x));
36272}
ae8162c8
RD
36273static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
36274 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
d55e5bfc 36275}
ae8162c8
RD
36276static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
36277 return (void *)((wxControl *) ((wxSpinButton *) x));
d55e5bfc 36278}
ae8162c8
RD
36279static void *_p_wxButtonTo_p_wxControl(void *x) {
36280 return (void *)((wxControl *) ((wxButton *) x));
d55e5bfc 36281}
ae8162c8
RD
36282static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
36283 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
36284}
53aa7709
RD
36285static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x) {
36286 return (void *)((wxControl *) ((wxDatePickerCtrl *) x));
36287}
ae8162c8
RD
36288static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
36289 return (void *)((wxControl *) ((wxTextCtrl *) x));
d55e5bfc
RD
36290}
36291static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
36292 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
36293}
36294static void *_p_wxComboBoxTo_p_wxChoice(void *x) {
36295 return (void *)((wxChoice *) ((wxComboBox *) x));
36296}
36297static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
36298 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
36299}
8ac8dba0
RD
36300static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x) {
36301 return (void *)((wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
36302}
d55e5bfc
RD
36303static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
36304 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
36305}
d55e5bfc
RD
36306static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
36307 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
36308}
36309static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x) {
36310 return (void *)((wxNotifyEvent *) ((wxSpinEvent *) x));
36311}
36312static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
8ac8dba0 36313 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
d55e5bfc
RD
36314}
36315static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
8ac8dba0 36316 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
d55e5bfc 36317}
ae8162c8 36318static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x) {
8ac8dba0
RD
36319 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
36320}
36321static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x) {
36322 return (void *)((wxBookCtrlBase *) ((wxChoicebook *) x));
36323}
36324static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x) {
36325 return (void *)((wxBookCtrlBase *) ((wxListbook *) x));
ae8162c8 36326}
8ac8dba0
RD
36327static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x) {
36328 return (void *)((wxBookCtrlBase *) ((wxNotebook *) x));
d55e5bfc
RD
36329}
36330static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
36331 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
36332}
8ac8dba0
RD
36333static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x) {
36334 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
36335}
d55e5bfc
RD
36336static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
36337 return (void *)((wxEvtHandler *) ((wxValidator *) x));
36338}
36339static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
36340 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
36341}
36342static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
36343 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
36344}
36345static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
36346 return (void *)((wxEvtHandler *) ((wxMenu *) x));
36347}
36348static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
36349 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
36350}
36351static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
36352 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
36353}
36354static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
36355 return (void *)((wxEvtHandler *) ((wxWindow *) x));
36356}
36357static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
36358 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
36359}
36360static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
36361 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
36362}
d55e5bfc
RD
36363static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
36364 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
36365}
ae8162c8
RD
36366static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
36367 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
36368}
d55e5bfc
RD
36369static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
36370 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
36371}
36372static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
36373 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
36374}
36375static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
36376 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
36377}
36378static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
36379 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
36380}
36381static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
36382 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
36383}
36384static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
36385 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
36386}
36387static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
36388 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
36389}
36390static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
36391 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
36392}
ae8162c8 36393static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x) {
8ac8dba0 36394 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
ae8162c8 36395}
d55e5bfc 36396static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
8ac8dba0 36397 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
d55e5bfc
RD
36398}
36399static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
36400 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
36401}
36402static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
36403 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
36404}
36405static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
36406 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
36407}
36408static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
36409 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
36410}
36411static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
36412 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
36413}
36414static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
36415 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
36416}
36417static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
8ac8dba0 36418 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
d55e5bfc
RD
36419}
36420static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
36421 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
36422}
36423static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
36424 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
36425}
36426static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
36427 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
36428}
36429static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
36430 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
36431}
36432static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
36433 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
36434}
36435static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
36436 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
36437}
36438static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
36439 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
36440}
36441static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
36442 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
36443}
36444static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
36445 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
36446}
36447static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
36448 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
36449}
53aa7709
RD
36450static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x) {
36451 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
36452}
d55e5bfc
RD
36453static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
36454 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
36455}
36456static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
36457 return (void *)((wxListBox *) ((wxCheckListBox *) x));
36458}
d55e5bfc
RD
36459static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
36460 return (void *)((wxButton *) ((wxBitmapButton *) x));
36461}
36462static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
36463 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
36464}
36465static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
36466 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
36467}
36468static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
36469 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
36470}
36471static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
36472 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
36473}
36474static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
36475 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
36476}
36477static void *_p_wxSizerItemTo_p_wxObject(void *x) {
36478 return (void *)((wxObject *) ((wxSizerItem *) x));
36479}
36480static void *_p_wxScrollEventTo_p_wxObject(void *x) {
36481 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
36482}
36483static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
36484 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
36485}
36486static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
36487 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
36488}
d55e5bfc
RD
36489static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
36490 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
36491}
36492static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
36493 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
36494}
36495static void *_p_wxSizerTo_p_wxObject(void *x) {
36496 return (void *)((wxObject *) ((wxSizer *) x));
36497}
36498static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
36499 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
36500}
36501static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
36502 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
36503}
36504static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
36505 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
36506}
36507static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
36508 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
36509}
36510static void *_p_wxEventTo_p_wxObject(void *x) {
36511 return (void *)((wxObject *) ((wxEvent *) x));
36512}
36513static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
36514 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
36515}
36516static void *_p_wxGridSizerTo_p_wxObject(void *x) {
36517 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
36518}
36519static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
36520 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
36521}
36522static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
36523 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
36524}
36525static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
36526 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
36527}
36528static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
36529 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
36530}
36531static void *_p_wxPaintEventTo_p_wxObject(void *x) {
36532 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
36533}
36534static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
36535 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
36536}
36537static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
36538 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
36539}
36540static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
36541 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
36542}
36543static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
36544 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
36545}
36546static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
36547 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
36548}
36549static void *_p_wxStaticLineTo_p_wxObject(void *x) {
36550 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
36551}
36552static void *_p_wxControlTo_p_wxObject(void *x) {
36553 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
36554}
36555static void *_p_wxPyControlTo_p_wxObject(void *x) {
36556 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
36557}
36558static void *_p_wxGaugeTo_p_wxObject(void *x) {
36559 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
36560}
36561static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
36562 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
36563}
36564static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
36565 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
36566}
36567static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
36568 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
36569}
36570static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
36571 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
36572}
36573static void *_p_wxChoiceTo_p_wxObject(void *x) {
36574 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
36575}
36576static void *_p_wxFSFileTo_p_wxObject(void *x) {
36577 return (void *)((wxObject *) ((wxFSFile *) x));
36578}
36579static void *_p_wxPySizerTo_p_wxObject(void *x) {
36580 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
36581}
36582static void *_p_wxListViewTo_p_wxObject(void *x) {
36583 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
36584}
36585static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
36586 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
36587}
36588static void *_p_wxNotebookTo_p_wxObject(void *x) {
8ac8dba0 36589 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
d55e5bfc
RD
36590}
36591static void *_p_wxPyEventTo_p_wxObject(void *x) {
36592 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
36593}
36594static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
36595 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
36596}
ae8162c8 36597static void *_p_wxChoicebookTo_p_wxObject(void *x) {
8ac8dba0 36598 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
ae8162c8 36599}
d55e5bfc 36600static void *_p_wxListbookTo_p_wxObject(void *x) {
8ac8dba0 36601 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
d55e5bfc
RD
36602}
36603static void *_p_wxShowEventTo_p_wxObject(void *x) {
36604 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
36605}
36606static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
36607 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
36608}
36609static void *_p_wxSliderTo_p_wxObject(void *x) {
36610 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
36611}
36612static void *_p_wxMenuItemTo_p_wxObject(void *x) {
36613 return (void *)((wxObject *) ((wxMenuItem *) x));
36614}
53aa7709
RD
36615static void *_p_wxDateEventTo_p_wxObject(void *x) {
36616 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
36617}
d55e5bfc
RD
36618static void *_p_wxIdleEventTo_p_wxObject(void *x) {
36619 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
36620}
36621static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
36622 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
36623}
36624static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
36625 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
36626}
36627static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
36628 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
36629}
36630static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
36631 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
36632}
36633static void *_p_wxSizeEventTo_p_wxObject(void *x) {
36634 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
36635}
36636static void *_p_wxMoveEventTo_p_wxObject(void *x) {
36637 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
36638}
36639static void *_p_wxActivateEventTo_p_wxObject(void *x) {
36640 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
36641}
36642static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
36643 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
36644}
36645static void *_p_wxContextHelpTo_p_wxObject(void *x) {
36646 return (void *)((wxObject *) ((wxContextHelp *) x));
36647}
8ac8dba0
RD
36648static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x) {
36649 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
36650}
d55e5bfc
RD
36651static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
36652 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
36653}
36654static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
36655 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
36656}
36657static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
36658 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
36659}
36660static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
36661 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
36662}
36663static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
36664 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
36665}
36666static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
36667 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
36668}
36669static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
36670 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
36671}
36672static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
36673 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
36674}
36675static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
36676 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
36677}
36678static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
36679 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
36680}
36681static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
36682 return (void *)((wxObject *) ((wxImageHandler *) x));
36683}
36684static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
36685 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
36686}
36687static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
36688 return (void *)((wxObject *) ((wxEvtHandler *) x));
36689}
36690static void *_p_wxListEventTo_p_wxObject(void *x) {
36691 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
36692}
36693static void *_p_wxListBoxTo_p_wxObject(void *x) {
36694 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
36695}
36696static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
36697 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
36698}
d55e5bfc
RD
36699static void *_p_wxButtonTo_p_wxObject(void *x) {
36700 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
36701}
36702static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
36703 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
36704}
36705static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
36706 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
36707}
36708static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
36709 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
36710}
62d32a5f
RD
36711static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
36712 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
36713}
d55e5bfc
RD
36714static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
36715 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
36716}
36717static void *_p_wxScrollBarTo_p_wxObject(void *x) {
36718 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
36719}
36720static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
36721 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
36722}
36723static void *_p_wxComboBoxTo_p_wxObject(void *x) {
36724 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
36725}
36726static void *_p_wxHelpEventTo_p_wxObject(void *x) {
36727 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
36728}
36729static void *_p_wxListItemTo_p_wxObject(void *x) {
36730 return (void *)((wxObject *) ((wxListItem *) x));
36731}
36732static void *_p_wxImageTo_p_wxObject(void *x) {
36733 return (void *)((wxObject *) ((wxImage *) x));
36734}
36735static void *_p_wxNotebookSizerTo_p_wxObject(void *x) {
36736 return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x));
36737}
36738static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
36739 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
36740}
36741static void *_p_wxSpinEventTo_p_wxObject(void *x) {
36742 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
36743}
36744static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
36745 return (void *)((wxObject *) ((wxGenericDragImage *) x));
36746}
36747static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
36748 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
36749}
36750static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
8ac8dba0 36751 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
d55e5bfc
RD
36752}
36753static void *_p_wxListbookEventTo_p_wxObject(void *x) {
8ac8dba0 36754 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
d55e5bfc 36755}
ae8162c8 36756static void *_p_wxChoicebookEventTo_p_wxObject(void *x) {
8ac8dba0 36757 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
ae8162c8 36758}
d55e5bfc
RD
36759static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
36760 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
36761}
36762static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
36763 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
36764}
36765static void *_p_wxKeyEventTo_p_wxObject(void *x) {
36766 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
36767}
36768static void *_p_wxWindowTo_p_wxObject(void *x) {
36769 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
36770}
36771static void *_p_wxMenuTo_p_wxObject(void *x) {
36772 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
36773}
36774static void *_p_wxMenuBarTo_p_wxObject(void *x) {
36775 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
36776}
36777static void *_p_wxFileSystemTo_p_wxObject(void *x) {
36778 return (void *)((wxObject *) ((wxFileSystem *) x));
36779}
36780static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
36781 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
36782}
36783static void *_p_wxMenuEventTo_p_wxObject(void *x) {
36784 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
36785}
36786static void *_p_wxPyAppTo_p_wxObject(void *x) {
36787 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
36788}
36789static void *_p_wxCloseEventTo_p_wxObject(void *x) {
36790 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
36791}
36792static void *_p_wxMouseEventTo_p_wxObject(void *x) {
36793 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
36794}
36795static void *_p_wxEraseEventTo_p_wxObject(void *x) {
36796 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
36797}
8ac8dba0
RD
36798static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x) {
36799 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
36800}
d55e5bfc
RD
36801static void *_p_wxTreeEventTo_p_wxObject(void *x) {
36802 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
36803}
36804static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
36805 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
36806}
36807static void *_p_wxCommandEventTo_p_wxObject(void *x) {
36808 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
36809}
36810static void *_p_wxStaticTextTo_p_wxObject(void *x) {
36811 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
36812}
36813static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
36814 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
36815}
36816static void *_p_wxFocusEventTo_p_wxObject(void *x) {
36817 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
36818}
36819static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
36820 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
36821}
53aa7709
RD
36822static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x) {
36823 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
36824}
d55e5bfc
RD
36825static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
36826 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
36827}
36828static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
36829 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
36830}
36831static void *_p_wxToolBarTo_p_wxObject(void *x) {
36832 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
36833}
36834static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
36835 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
36836}
36837static void *_p_wxValidatorTo_p_wxObject(void *x) {
36838 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
36839}
36840static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) {
36841 return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x));
36842}
d55e5bfc
RD
36843static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
36844 return (void *)((wxWindow *) ((wxMenuBar *) x));
36845}
8ac8dba0
RD
36846static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x) {
36847 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrlBase *) x));
36848}
d55e5bfc
RD
36849static void *_p_wxToolBarTo_p_wxWindow(void *x) {
36850 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
36851}
36852static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
36853 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
36854}
36855static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
36856 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
36857}
d55e5bfc
RD
36858static void *_p_wxControlTo_p_wxWindow(void *x) {
36859 return (void *)((wxWindow *) ((wxControl *) x));
36860}
36861static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
36862 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
36863}
36864static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
36865 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
36866}
36867static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
36868 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
36869}
36870static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
36871 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
36872}
ae8162c8
RD
36873static void *_p_wxPyControlTo_p_wxWindow(void *x) {
36874 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
36875}
d55e5bfc
RD
36876static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
36877 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
36878}
36879static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
36880 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
36881}
36882static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
36883 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
36884}
36885static void *_p_wxGaugeTo_p_wxWindow(void *x) {
36886 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
36887}
36888static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
36889 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
36890}
ae8162c8 36891static void *_p_wxChoicebookTo_p_wxWindow(void *x) {
8ac8dba0 36892 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
ae8162c8 36893}
d55e5bfc 36894static void *_p_wxListbookTo_p_wxWindow(void *x) {
8ac8dba0 36895 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
d55e5bfc
RD
36896}
36897static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
36898 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
36899}
36900static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
36901 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
36902}
36903static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
36904 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
36905}
36906static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
36907 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
36908}
36909static void *_p_wxChoiceTo_p_wxWindow(void *x) {
36910 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
36911}
36912static void *_p_wxListBoxTo_p_wxWindow(void *x) {
36913 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
36914}
36915static void *_p_wxListViewTo_p_wxWindow(void *x) {
36916 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
36917}
36918static void *_p_wxNotebookTo_p_wxWindow(void *x) {
8ac8dba0 36919 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
d55e5bfc
RD
36920}
36921static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
36922 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
36923}
36924static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
36925 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
36926}
36927static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
36928 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
36929}
36930static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
36931 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
36932}
36933static void *_p_wxSliderTo_p_wxWindow(void *x) {
36934 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
36935}
36936static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
36937 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
36938}
36939static void *_p_wxButtonTo_p_wxWindow(void *x) {
36940 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
36941}
36942static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
36943 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
36944}
36945static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
36946 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
36947}
53aa7709
RD
36948static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x) {
36949 return (void *)((wxWindow *) (wxControl *) ((wxDatePickerCtrl *) x));
36950}
d55e5bfc
RD
36951static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
36952 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
36953}
8ac8dba0
RD
36954static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
36955 return (void *)((wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
36956}
36957static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x) {
36958 return (void *)((wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
36959}
36960static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
36961 return (void *)((wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
36962}
d55e5bfc
RD
36963static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
36964 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
36965}
d55e5bfc
RD
36966static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
36967 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
36968}
36969static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
36970 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
36971}
36972static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
36973 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
36974}
36975static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
36976 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
36977}
36978static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
36979 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
36980}
36981static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
8ac8dba0 36982 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
d55e5bfc
RD
36983}
36984static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
8ac8dba0 36985 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
d55e5bfc 36986}
53aa7709
RD
36987static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x) {
36988 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
36989}
36990static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
36991 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
36992}
d55e5bfc
RD
36993static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
36994 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
36995}
ae8162c8
RD
36996static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
36997 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
36998}
8ac8dba0
RD
36999static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x) {
37000 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
37001}
d55e5bfc
RD
37002static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
37003 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
37004}
37005static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
37006 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
37007}
37008static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
37009 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
37010}
37011static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
37012 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
37013}
37014static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
37015 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
37016}
37017static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x) {
37018 return (void *)((wxControlWithItems *) (wxChoice *) ((wxComboBox *) x));
37019}
37020static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
37021 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
37022}
37023static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
37024 return (void *)((wxControlWithItems *) ((wxChoice *) x));
37025}
37026static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
37027 return (void *)((wxControlWithItems *) ((wxListBox *) x));
37028}
37029static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
37030 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
37031}
37032static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
37033 return (void *)((wxValidator *) ((wxPyValidator *) x));
37034}
37035static 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 37036static 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
37037static 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}};
37038static 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 37039static 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
37040static 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}};
37041static 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
37042static 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}};
37043static 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 37044static 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
37045static 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}};
37046static 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 37047static 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
37048static 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}};
37049static 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}};
37050static 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}};
37051static 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}};
37052static 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}};
37053static 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}};
37054static 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}};
37055static 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
37056static 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}};
37057static 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
37058static 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}};
37059static 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}};
37060static 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}};
37061static 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}};
37062static 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}};
37063static 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}};
37064static 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}};
37065static 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}};
37066static 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}};
37067static 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 37068static 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 37069static 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 37070static 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 37071static 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
37072static 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}};
37073static 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}};
37074static 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}};
37075static 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}};
37076static 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}};
37077static 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}};
37078static 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 37079static 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 37080static 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 37081static 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
37082static 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}};
37083static 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}};
37084static 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
37085static 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}};
37086static 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}};
37087static 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}};
37088static 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}};
37089static 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}};
37090static 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}};
37091static 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}};
37092static 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 37093static 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 37094static 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
37095static 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}};
37096static 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}};
37097static 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}};
37098static 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}};
37099static 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}};
37100static 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 37101static 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
37102static 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}};
37103static 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}};
37104static 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}};
37105static 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 37106static 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
37107static 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}};
37108static 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 37109static 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 37110static 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 37111static 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 37112static 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 37113static 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 37114static 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 37115static 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
37116static 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}};
37117static 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
37118static 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}};
37119static 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}};
37120static 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 37121static 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 37122static 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 37123static 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 37124static 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 37125static 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 37126static 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
37127static 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}};
37128static 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}};
37129static 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}};
37130static 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}};
37131static 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}};
37132static 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}};
37133
37134static swig_type_info *swig_types_initial[] = {
37135_swigt__p_wxTextUrlEvent,
d55e5bfc
RD
37136_swigt__p_wxSizer,
37137_swigt__p_wxCheckBox,
37138_swigt__p_wxPyTreeCtrl,
37139_swigt__p_wxEvent,
37140_swigt__p_wxGenericDirCtrl,
37141_swigt__p_bool,
d55e5bfc
RD
37142_swigt__p_wxItemContainer,
37143_swigt__p_wxPyListCtrl,
093d3ff1 37144_swigt__p_wxPyTreeItemData,
d55e5bfc
RD
37145_swigt__p_wxDirFilterListCtrl,
37146_swigt__p_wxStaticLine,
37147_swigt__p_wxControl,
37148_swigt__p_wxPyControl,
37149_swigt__p_wxGauge,
37150_swigt__p_wxToolBarBase,
37151_swigt__p_wxFont,
37152_swigt__p_wxToggleButton,
37153_swigt__p_wxRadioButton,
37154_swigt__p_wxChoice,
37155_swigt__p_wxMemoryDC,
093d3ff1
RD
37156_swigt__ptrdiff_t,
37157_swigt__std__ptrdiff_t,
d55e5bfc
RD
37158_swigt__p_wxListItemAttr,
37159_swigt__p_void,
37160_swigt__p_int,
37161_swigt__p_wxSize,
37162_swigt__p_wxDC,
37163_swigt__p_wxListView,
37164_swigt__p_wxIcon,
37165_swigt__p_wxVisualAttributes,
37166_swigt__p_wxTextCtrl,
37167_swigt__p_wxNotebook,
ae8162c8 37168_swigt__p_wxChoicebook,
d55e5bfc
RD
37169_swigt__p_wxNotifyEvent,
37170_swigt__p_wxArrayString,
093d3ff1 37171_swigt__p_form_ops_t,
d55e5bfc
RD
37172_swigt__p_wxListbook,
37173_swigt__p_wxStaticBitmap,
37174_swigt__p_wxSlider,
37175_swigt__p_wxStaticBox,
37176_swigt__p_wxArrayInt,
37177_swigt__p_wxContextHelp,
37178_swigt__p_long,
093d3ff1 37179_swigt__p_wxDuplexMode,
8ac8dba0 37180_swigt__p_wxBookCtrlBase,
d55e5bfc
RD
37181_swigt__p_wxEvtHandler,
37182_swigt__p_wxListEvent,
37183_swigt__p_wxCheckListBox,
37184_swigt__p_wxListBox,
d55e5bfc
RD
37185_swigt__p_wxSpinButton,
37186_swigt__p_wxButton,
37187_swigt__p_wxBitmapButton,
37188_swigt__p_wxRect,
37189_swigt__p_wxContextHelpButton,
37190_swigt__p_wxRadioBox,
37191_swigt__p_wxScrollBar,
37192_swigt__p_char,
d55e5bfc 37193_swigt__p_wxComboBox,
093d3ff1 37194_swigt__p_wxTreeItemId,
d55e5bfc
RD
37195_swigt__p_wxHelpEvent,
37196_swigt__p_wxListItem,
37197_swigt__p_wxNotebookSizer,
37198_swigt__p_wxSpinEvent,
37199_swigt__p_wxGenericDragImage,
37200_swigt__p_wxSpinCtrl,
093d3ff1 37201_swigt__p_wxPaperSize,
d55e5bfc
RD
37202_swigt__p_wxImageList,
37203_swigt__p_wxHelpProvider,
37204_swigt__p_wxTextAttr,
37205_swigt__p_wxSimpleHelpProvider,
ae8162c8 37206_swigt__p_wxChoicebookEvent,
d55e5bfc
RD
37207_swigt__p_wxListbookEvent,
37208_swigt__p_wxNotebookEvent,
093d3ff1 37209_swigt__p_wxPoint,
d55e5bfc
RD
37210_swigt__p_wxObject,
37211_swigt__p_wxCursor,
53aa7709 37212_swigt__p_wxDateTime,
d55e5bfc 37213_swigt__p_wxKeyEvent,
093d3ff1 37214_swigt__p_unsigned_long,
d55e5bfc
RD
37215_swigt__p_wxWindow,
37216_swigt__p_wxString,
37217_swigt__p_wxBitmap,
093d3ff1
RD
37218_swigt__unsigned_int,
37219_swigt__p_unsigned_int,
37220_swigt__p_unsigned_char,
d55e5bfc 37221_swigt__p_wxMouseEvent,
8ac8dba0 37222_swigt__p_wxBookCtrlBaseEvent,
093d3ff1 37223_swigt__p_wxTreeEvent,
d55e5bfc
RD
37224_swigt__p_wxCommandEvent,
37225_swigt__p_wxStaticText,
53aa7709 37226_swigt__p_wxDatePickerCtrl,
d55e5bfc
RD
37227_swigt__p_wxControlWithItems,
37228_swigt__p_wxToolBarToolBase,
37229_swigt__p_wxColour,
37230_swigt__p_wxToolBar,
37231_swigt__p_wxBookCtrlSizer,
37232_swigt__p_wxValidator,
372330
37234};
37235
37236
37237/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
37238
37239static swig_const_info swig_const_table[] = {
c32bde28 37240{0, 0, 0, 0.0, 0, 0}};
d55e5bfc
RD
37241
37242#ifdef __cplusplus
37243}
37244#endif
37245
093d3ff1
RD
37246
37247#ifdef __cplusplus
37248extern "C" {
37249#endif
37250
37251 /* Python-specific SWIG API */
37252#define SWIG_newvarlink() SWIG_Python_newvarlink()
37253#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
37254#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
37255
37256 /* -----------------------------------------------------------------------------
37257 * global variable support code.
37258 * ----------------------------------------------------------------------------- */
37259
37260 typedef struct swig_globalvar {
37261 char *name; /* Name of global variable */
37262 PyObject *(*get_attr)(); /* Return the current value */
37263 int (*set_attr)(PyObject *); /* Set the value */
37264 struct swig_globalvar *next;
37265 } swig_globalvar;
37266
37267 typedef struct swig_varlinkobject {
37268 PyObject_HEAD
37269 swig_globalvar *vars;
37270 } swig_varlinkobject;
37271
37272 static PyObject *
37273 swig_varlink_repr(swig_varlinkobject *v) {
37274 v = v;
37275 return PyString_FromString("<Swig global variables>");
37276 }
37277
37278 static int
37279 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
37280 swig_globalvar *var;
37281 flags = flags;
37282 fprintf(fp,"Swig global variables { ");
37283 for (var = v->vars; var; var=var->next) {
37284 fprintf(fp,"%s", var->name);
37285 if (var->next) fprintf(fp,", ");
37286 }
37287 fprintf(fp," }\n");
37288 return 0;
37289 }
37290
37291 static PyObject *
37292 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
37293 swig_globalvar *var = v->vars;
37294 while (var) {
37295 if (strcmp(var->name,n) == 0) {
37296 return (*var->get_attr)();
37297 }
37298 var = var->next;
37299 }
37300 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
37301 return NULL;
37302 }
37303
37304 static int
37305 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
37306 swig_globalvar *var = v->vars;
37307 while (var) {
37308 if (strcmp(var->name,n) == 0) {
37309 return (*var->set_attr)(p);
37310 }
37311 var = var->next;
37312 }
37313 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
37314 return 1;
37315 }
37316
37317 static PyTypeObject varlinktype = {
37318 PyObject_HEAD_INIT(0)
37319 0, /* Number of items in variable part (ob_size) */
37320 (char *)"swigvarlink", /* Type name (tp_name) */
37321 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
37322 0, /* Itemsize (tp_itemsize) */
37323 0, /* Deallocator (tp_dealloc) */
37324 (printfunc) swig_varlink_print, /* Print (tp_print) */
37325 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
37326 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
37327 0, /* tp_compare */
37328 (reprfunc) swig_varlink_repr, /* tp_repr */
37329 0, /* tp_as_number */
37330 0, /* tp_as_sequence */
37331 0, /* tp_as_mapping */
37332 0, /* tp_hash */
37333 0, /* tp_call */
37334 0, /* tp_str */
37335 0, /* tp_getattro */
37336 0, /* tp_setattro */
37337 0, /* tp_as_buffer */
37338 0, /* tp_flags */
37339 0, /* tp_doc */
37340#if PY_VERSION_HEX >= 0x02000000
37341 0, /* tp_traverse */
37342 0, /* tp_clear */
37343#endif
37344#if PY_VERSION_HEX >= 0x02010000
37345 0, /* tp_richcompare */
37346 0, /* tp_weaklistoffset */
37347#endif
37348#if PY_VERSION_HEX >= 0x02020000
37349 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
37350#endif
37351#if PY_VERSION_HEX >= 0x02030000
37352 0, /* tp_del */
37353#endif
37354#ifdef COUNT_ALLOCS
37355 0,0,0,0 /* tp_alloc -> tp_next */
37356#endif
37357 };
37358
37359 /* Create a variable linking object for use later */
37360 static PyObject *
37361 SWIG_Python_newvarlink(void) {
37362 swig_varlinkobject *result = 0;
37363 result = PyMem_NEW(swig_varlinkobject,1);
37364 varlinktype.ob_type = &PyType_Type; /* Patch varlinktype into a PyType */
37365 result->ob_type = &varlinktype;
37366 result->vars = 0;
37367 result->ob_refcnt = 0;
37368 Py_XINCREF((PyObject *) result);
37369 return ((PyObject*) result);
37370 }
37371
37372 static void
37373 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
37374 swig_varlinkobject *v;
37375 swig_globalvar *gv;
37376 v= (swig_varlinkobject *) p;
37377 gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
37378 gv->name = (char *) malloc(strlen(name)+1);
37379 strcpy(gv->name,name);
37380 gv->get_attr = get_attr;
37381 gv->set_attr = set_attr;
37382 gv->next = v->vars;
37383 v->vars = gv;
37384 }
37385
37386 /* -----------------------------------------------------------------------------
37387 * constants/methods manipulation
37388 * ----------------------------------------------------------------------------- */
37389
37390 /* Install Constants */
37391 static void
37392 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
37393 PyObject *obj = 0;
37394 size_t i;
37395 for (i = 0; constants[i].type; i++) {
37396 switch(constants[i].type) {
37397 case SWIG_PY_INT:
37398 obj = PyInt_FromLong(constants[i].lvalue);
37399 break;
37400 case SWIG_PY_FLOAT:
37401 obj = PyFloat_FromDouble(constants[i].dvalue);
37402 break;
37403 case SWIG_PY_STRING:
37404 if (constants[i].pvalue) {
37405 obj = PyString_FromString((char *) constants[i].pvalue);
37406 } else {
37407 Py_INCREF(Py_None);
37408 obj = Py_None;
37409 }
37410 break;
37411 case SWIG_PY_POINTER:
37412 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
37413 break;
37414 case SWIG_PY_BINARY:
37415 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
37416 break;
37417 default:
37418 obj = 0;
37419 break;
37420 }
37421 if (obj) {
37422 PyDict_SetItemString(d,constants[i].name,obj);
37423 Py_DECREF(obj);
37424 }
37425 }
37426 }
37427
37428 /* -----------------------------------------------------------------------------*/
37429 /* Fix SwigMethods to carry the callback ptrs when needed */
37430 /* -----------------------------------------------------------------------------*/
37431
37432 static void
37433 SWIG_Python_FixMethods(PyMethodDef *methods,
37434 swig_const_info *const_table,
37435 swig_type_info **types,
37436 swig_type_info **types_initial) {
37437 size_t i;
37438 for (i = 0; methods[i].ml_name; ++i) {
37439 char *c = methods[i].ml_doc;
37440 if (c && (c = strstr(c, "swig_ptr: "))) {
37441 int j;
37442 swig_const_info *ci = 0;
37443 char *name = c + 10;
37444 for (j = 0; const_table[j].type; j++) {
37445 if (strncmp(const_table[j].name, name,
37446 strlen(const_table[j].name)) == 0) {
37447 ci = &(const_table[j]);
37448 break;
37449 }
37450 }
37451 if (ci) {
37452 size_t shift = (ci->ptype) - types;
37453 swig_type_info *ty = types_initial[shift];
37454 size_t ldoc = (c - methods[i].ml_doc);
37455 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
37456 char *ndoc = (char*)malloc(ldoc + lptr + 10);
37457 char *buff = ndoc;
37458 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue: (void *)(ci->lvalue);
37459 strncpy(buff, methods[i].ml_doc, ldoc);
37460 buff += ldoc;
37461 strncpy(buff, "swig_ptr: ", 10);
37462 buff += 10;
37463 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
37464 methods[i].ml_doc = ndoc;
37465 }
37466 }
37467 }
37468 }
37469
37470 /* -----------------------------------------------------------------------------*
37471 * Initialize type list
37472 * -----------------------------------------------------------------------------*/
37473
37474#if PY_MAJOR_VERSION < 2
37475 /* PyModule_AddObject function was introduced in Python 2.0. The following function
37476 is copied out of Python/modsupport.c in python version 2.3.4 */
37477 static int
37478 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
37479 {
37480 PyObject *dict;
37481 if (!PyModule_Check(m)) {
37482 PyErr_SetString(PyExc_TypeError,
37483 "PyModule_AddObject() needs module as first arg");
37484 return -1;
37485 }
37486 if (!o) {
37487 PyErr_SetString(PyExc_TypeError,
37488 "PyModule_AddObject() needs non-NULL value");
37489 return -1;
37490 }
37491
37492 dict = PyModule_GetDict(m);
37493 if (dict == NULL) {
37494 /* Internal error -- modules must have a dict! */
37495 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
37496 PyModule_GetName(m));
37497 return -1;
37498 }
37499 if (PyDict_SetItemString(dict, name, o))
37500 return -1;
37501 Py_DECREF(o);
37502 return 0;
37503 }
37504#endif
37505
37506 static swig_type_info **
37507 SWIG_Python_SetTypeListHandle(swig_type_info **type_list_handle) {
37508 static PyMethodDef swig_empty_runtime_method_table[] = {
37509 {
37510 NULL, NULL, 0, NULL
37511 }
37512 };/* Sentinel */
37513
37514 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
37515 swig_empty_runtime_method_table);
37516 PyObject *pointer = PyCObject_FromVoidPtr((void *) type_list_handle, NULL);
37517 if (pointer && module) {
37518 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
37519 }
37520 return type_list_handle;
37521 }
37522
37523 static swig_type_info **
37524 SWIG_Python_LookupTypePointer(swig_type_info **type_list_handle) {
37525 swig_type_info **type_pointer;
37526
37527 /* first check if module already created */
37528 type_pointer = SWIG_Python_GetTypeListHandle();
37529 if (type_pointer) {
37530 return type_pointer;
37531 } else {
37532 /* create a new module and variable */
37533 return SWIG_Python_SetTypeListHandle(type_list_handle);
37534 }
37535 }
37536
37537#ifdef __cplusplus
37538}
37539#endif
37540
37541/* -----------------------------------------------------------------------------*
37542 * Partial Init method
37543 * -----------------------------------------------------------------------------*/
37544
37545#ifdef SWIG_LINK_RUNTIME
37546#ifdef __cplusplus
37547extern "C"
37548#endif
37549SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
37550#endif
37551
d55e5bfc
RD
37552#ifdef __cplusplus
37553extern "C"
37554#endif
37555SWIGEXPORT(void) SWIG_init(void) {
37556 static PyObject *SWIG_globals = 0;
37557 static int typeinit = 0;
37558 PyObject *m, *d;
37559 int i;
37560 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
093d3ff1
RD
37561
37562 /* Fix SwigMethods to carry the callback ptrs when needed */
37563 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_types_initial);
37564
d55e5bfc
RD
37565 m = Py_InitModule((char *) SWIG_name, SwigMethods);
37566 d = PyModule_GetDict(m);
37567
37568 if (!typeinit) {
093d3ff1
RD
37569#ifdef SWIG_LINK_RUNTIME
37570 swig_type_list_handle = (swig_type_info **) SWIG_ReturnGlobalTypeList(swig_type_list_handle);
37571#else
37572# ifndef SWIG_STATIC_RUNTIME
37573 swig_type_list_handle = SWIG_Python_LookupTypePointer(swig_type_list_handle);
37574# endif
37575#endif
d55e5bfc
RD
37576 for (i = 0; swig_types_initial[i]; i++) {
37577 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
37578 }
37579 typeinit = 1;
37580 }
37581 SWIG_InstallConstants(d,swig_const_table);
37582
37583 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
37584 SWIG_addvarlink(SWIG_globals,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get, _wrap_ButtonNameStr_set);
093d3ff1
RD
37585 {
37586 PyDict_SetItemString(d,"BU_LEFT", SWIG_From_int((int)(wxBU_LEFT)));
37587 }
37588 {
37589 PyDict_SetItemString(d,"BU_TOP", SWIG_From_int((int)(wxBU_TOP)));
37590 }
37591 {
37592 PyDict_SetItemString(d,"BU_RIGHT", SWIG_From_int((int)(wxBU_RIGHT)));
37593 }
37594 {
37595 PyDict_SetItemString(d,"BU_BOTTOM", SWIG_From_int((int)(wxBU_BOTTOM)));
37596 }
37597 {
37598 PyDict_SetItemString(d,"BU_ALIGN_MASK", SWIG_From_int((int)(wxBU_ALIGN_MASK)));
37599 }
37600 {
37601 PyDict_SetItemString(d,"BU_EXACTFIT", SWIG_From_int((int)(wxBU_EXACTFIT)));
37602 }
37603 {
37604 PyDict_SetItemString(d,"BU_AUTODRAW", SWIG_From_int((int)(wxBU_AUTODRAW)));
37605 }
d55e5bfc 37606 SWIG_addvarlink(SWIG_globals,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get, _wrap_CheckBoxNameStr_set);
093d3ff1
RD
37607 {
37608 PyDict_SetItemString(d,"CHK_2STATE", SWIG_From_int((int)(wxCHK_2STATE)));
37609 }
37610 {
37611 PyDict_SetItemString(d,"CHK_3STATE", SWIG_From_int((int)(wxCHK_3STATE)));
37612 }
37613 {
37614 PyDict_SetItemString(d,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_From_int((int)(wxCHK_ALLOW_3RD_STATE_FOR_USER)));
37615 }
37616 {
37617 PyDict_SetItemString(d,"CHK_UNCHECKED", SWIG_From_int((int)(wxCHK_UNCHECKED)));
37618 }
37619 {
37620 PyDict_SetItemString(d,"CHK_CHECKED", SWIG_From_int((int)(wxCHK_CHECKED)));
37621 }
37622 {
37623 PyDict_SetItemString(d,"CHK_UNDETERMINED", SWIG_From_int((int)(wxCHK_UNDETERMINED)));
37624 }
d55e5bfc
RD
37625 SWIG_addvarlink(SWIG_globals,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get, _wrap_ChoiceNameStr_set);
37626 SWIG_addvarlink(SWIG_globals,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get, _wrap_ComboBoxNameStr_set);
37627 SWIG_addvarlink(SWIG_globals,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get, _wrap_GaugeNameStr_set);
093d3ff1
RD
37628 {
37629 PyDict_SetItemString(d,"GA_HORIZONTAL", SWIG_From_int((int)(wxGA_HORIZONTAL)));
37630 }
37631 {
37632 PyDict_SetItemString(d,"GA_VERTICAL", SWIG_From_int((int)(wxGA_VERTICAL)));
37633 }
37634 {
37635 PyDict_SetItemString(d,"GA_SMOOTH", SWIG_From_int((int)(wxGA_SMOOTH)));
37636 }
37637 {
37638 PyDict_SetItemString(d,"GA_PROGRESSBAR", SWIG_From_int((int)(wxGA_PROGRESSBAR)));
37639 }
d55e5bfc
RD
37640 SWIG_addvarlink(SWIG_globals,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get, _wrap_StaticBitmapNameStr_set);
37641 SWIG_addvarlink(SWIG_globals,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get, _wrap_StaticBoxNameStr_set);
37642 SWIG_addvarlink(SWIG_globals,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get, _wrap_StaticTextNameStr_set);
37643 SWIG_addvarlink(SWIG_globals,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get, _wrap_ListBoxNameStr_set);
37644 SWIG_addvarlink(SWIG_globals,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get, _wrap_TextCtrlNameStr_set);
093d3ff1
RD
37645 {
37646 PyDict_SetItemString(d,"TE_NO_VSCROLL", SWIG_From_int((int)(wxTE_NO_VSCROLL)));
37647 }
37648 {
37649 PyDict_SetItemString(d,"TE_AUTO_SCROLL", SWIG_From_int((int)(wxTE_AUTO_SCROLL)));
37650 }
37651 {
37652 PyDict_SetItemString(d,"TE_READONLY", SWIG_From_int((int)(wxTE_READONLY)));
37653 }
37654 {
37655 PyDict_SetItemString(d,"TE_MULTILINE", SWIG_From_int((int)(wxTE_MULTILINE)));
37656 }
37657 {
37658 PyDict_SetItemString(d,"TE_PROCESS_TAB", SWIG_From_int((int)(wxTE_PROCESS_TAB)));
37659 }
37660 {
37661 PyDict_SetItemString(d,"TE_LEFT", SWIG_From_int((int)(wxTE_LEFT)));
37662 }
37663 {
37664 PyDict_SetItemString(d,"TE_CENTER", SWIG_From_int((int)(wxTE_CENTER)));
37665 }
37666 {
37667 PyDict_SetItemString(d,"TE_RIGHT", SWIG_From_int((int)(wxTE_RIGHT)));
37668 }
37669 {
37670 PyDict_SetItemString(d,"TE_CENTRE", SWIG_From_int((int)(wxTE_CENTRE)));
37671 }
37672 {
37673 PyDict_SetItemString(d,"TE_RICH", SWIG_From_int((int)(wxTE_RICH)));
37674 }
37675 {
37676 PyDict_SetItemString(d,"TE_PROCESS_ENTER", SWIG_From_int((int)(wxTE_PROCESS_ENTER)));
37677 }
37678 {
37679 PyDict_SetItemString(d,"TE_PASSWORD", SWIG_From_int((int)(wxTE_PASSWORD)));
37680 }
37681 {
37682 PyDict_SetItemString(d,"TE_AUTO_URL", SWIG_From_int((int)(wxTE_AUTO_URL)));
37683 }
37684 {
37685 PyDict_SetItemString(d,"TE_NOHIDESEL", SWIG_From_int((int)(wxTE_NOHIDESEL)));
37686 }
37687 {
37688 PyDict_SetItemString(d,"TE_DONTWRAP", SWIG_From_int((int)(wxTE_DONTWRAP)));
37689 }
37690 {
08d9e66e 37691 PyDict_SetItemString(d,"TE_CHARWRAP", SWIG_From_int((int)(wxTE_CHARWRAP)));
093d3ff1
RD
37692 }
37693 {
37694 PyDict_SetItemString(d,"TE_WORDWRAP", SWIG_From_int((int)(wxTE_WORDWRAP)));
37695 }
08d9e66e
RD
37696 {
37697 PyDict_SetItemString(d,"TE_BESTWRAP", SWIG_From_int((int)(wxTE_BESTWRAP)));
37698 }
37699 {
37700 PyDict_SetItemString(d,"TE_LINEWRAP", SWIG_From_int((int)(wxTE_LINEWRAP)));
37701 }
093d3ff1
RD
37702 {
37703 PyDict_SetItemString(d,"TE_RICH2", SWIG_From_int((int)(wxTE_RICH2)));
37704 }
88c6b281
RD
37705 {
37706 PyDict_SetItemString(d,"TE_CAPITALIZE", SWIG_From_int((int)(wxTE_CAPITALIZE)));
37707 }
093d3ff1
RD
37708 {
37709 PyDict_SetItemString(d,"TEXT_ALIGNMENT_DEFAULT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_DEFAULT)));
37710 }
37711 {
37712 PyDict_SetItemString(d,"TEXT_ALIGNMENT_LEFT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_LEFT)));
37713 }
37714 {
37715 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTRE", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTRE)));
37716 }
37717 {
37718 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTER", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTER)));
37719 }
37720 {
37721 PyDict_SetItemString(d,"TEXT_ALIGNMENT_RIGHT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_RIGHT)));
37722 }
37723 {
37724 PyDict_SetItemString(d,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_From_int((int)(wxTEXT_ALIGNMENT_JUSTIFIED)));
37725 }
37726 {
37727 PyDict_SetItemString(d,"TEXT_ATTR_TEXT_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_TEXT_COLOUR)));
37728 }
37729 {
37730 PyDict_SetItemString(d,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_BACKGROUND_COLOUR)));
37731 }
37732 {
37733 PyDict_SetItemString(d,"TEXT_ATTR_FONT_FACE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_FACE)));
37734 }
37735 {
37736 PyDict_SetItemString(d,"TEXT_ATTR_FONT_SIZE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_SIZE)));
37737 }
37738 {
37739 PyDict_SetItemString(d,"TEXT_ATTR_FONT_WEIGHT", SWIG_From_int((int)(wxTEXT_ATTR_FONT_WEIGHT)));
37740 }
37741 {
37742 PyDict_SetItemString(d,"TEXT_ATTR_FONT_ITALIC", SWIG_From_int((int)(wxTEXT_ATTR_FONT_ITALIC)));
37743 }
37744 {
37745 PyDict_SetItemString(d,"TEXT_ATTR_FONT_UNDERLINE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_UNDERLINE)));
37746 }
37747 {
37748 PyDict_SetItemString(d,"TEXT_ATTR_FONT", SWIG_From_int((int)(wxTEXT_ATTR_FONT)));
37749 }
37750 {
37751 PyDict_SetItemString(d,"TEXT_ATTR_ALIGNMENT", SWIG_From_int((int)(wxTEXT_ATTR_ALIGNMENT)));
37752 }
37753 {
37754 PyDict_SetItemString(d,"TEXT_ATTR_LEFT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_LEFT_INDENT)));
37755 }
37756 {
37757 PyDict_SetItemString(d,"TEXT_ATTR_RIGHT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_RIGHT_INDENT)));
37758 }
37759 {
37760 PyDict_SetItemString(d,"TEXT_ATTR_TABS", SWIG_From_int((int)(wxTEXT_ATTR_TABS)));
37761 }
37762 {
37763 PyDict_SetItemString(d,"TE_HT_UNKNOWN", SWIG_From_int((int)(wxTE_HT_UNKNOWN)));
37764 }
37765 {
37766 PyDict_SetItemString(d,"TE_HT_BEFORE", SWIG_From_int((int)(wxTE_HT_BEFORE)));
37767 }
37768 {
37769 PyDict_SetItemString(d,"TE_HT_ON_TEXT", SWIG_From_int((int)(wxTE_HT_ON_TEXT)));
37770 }
37771 {
37772 PyDict_SetItemString(d,"TE_HT_BELOW", SWIG_From_int((int)(wxTE_HT_BELOW)));
37773 }
37774 {
37775 PyDict_SetItemString(d,"TE_HT_BEYOND", SWIG_From_int((int)(wxTE_HT_BEYOND)));
37776 }
fef4c27a
RD
37777 {
37778 PyDict_SetItemString(d,"OutOfRangeTextCoord", SWIG_From_int((int)(wxOutOfRangeTextCoord)));
37779 }
37780 {
37781 PyDict_SetItemString(d,"InvalidTextCoord", SWIG_From_int((int)(wxInvalidTextCoord)));
37782 }
d55e5bfc
RD
37783 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
37784 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
37785 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
37786 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
37787 SWIG_addvarlink(SWIG_globals,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get, _wrap_ScrollBarNameStr_set);
37788 SWIG_addvarlink(SWIG_globals,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get, _wrap_SPIN_BUTTON_NAME_set);
37789 SWIG_addvarlink(SWIG_globals,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get, _wrap_SpinCtrlNameStr_set);
093d3ff1
RD
37790 {
37791 PyDict_SetItemString(d,"SP_HORIZONTAL", SWIG_From_int((int)(wxSP_HORIZONTAL)));
37792 }
37793 {
37794 PyDict_SetItemString(d,"SP_VERTICAL", SWIG_From_int((int)(wxSP_VERTICAL)));
37795 }
37796 {
37797 PyDict_SetItemString(d,"SP_ARROW_KEYS", SWIG_From_int((int)(wxSP_ARROW_KEYS)));
37798 }
37799 {
37800 PyDict_SetItemString(d,"SP_WRAP", SWIG_From_int((int)(wxSP_WRAP)));
37801 }
d55e5bfc
RD
37802 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
37803 SWIG_addvarlink(SWIG_globals,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get, _wrap_RadioBoxNameStr_set);
37804 SWIG_addvarlink(SWIG_globals,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get, _wrap_RadioButtonNameStr_set);
37805 SWIG_addvarlink(SWIG_globals,(char*)"SliderNameStr",_wrap_SliderNameStr_get, _wrap_SliderNameStr_set);
fef4c27a
RD
37806 {
37807 PyDict_SetItemString(d,"SL_HORIZONTAL", SWIG_From_int((int)(wxSL_HORIZONTAL)));
37808 }
37809 {
37810 PyDict_SetItemString(d,"SL_VERTICAL", SWIG_From_int((int)(wxSL_VERTICAL)));
37811 }
70b7a5fe
RD
37812 {
37813 PyDict_SetItemString(d,"SL_TICKS", SWIG_From_int((int)(wxSL_TICKS)));
37814 }
fef4c27a
RD
37815 {
37816 PyDict_SetItemString(d,"SL_AUTOTICKS", SWIG_From_int((int)(wxSL_AUTOTICKS)));
37817 }
37818 {
37819 PyDict_SetItemString(d,"SL_LABELS", SWIG_From_int((int)(wxSL_LABELS)));
37820 }
37821 {
37822 PyDict_SetItemString(d,"SL_LEFT", SWIG_From_int((int)(wxSL_LEFT)));
37823 }
37824 {
37825 PyDict_SetItemString(d,"SL_TOP", SWIG_From_int((int)(wxSL_TOP)));
37826 }
37827 {
37828 PyDict_SetItemString(d,"SL_RIGHT", SWIG_From_int((int)(wxSL_RIGHT)));
37829 }
37830 {
37831 PyDict_SetItemString(d,"SL_BOTTOM", SWIG_From_int((int)(wxSL_BOTTOM)));
37832 }
37833 {
37834 PyDict_SetItemString(d,"SL_BOTH", SWIG_From_int((int)(wxSL_BOTH)));
37835 }
37836 {
37837 PyDict_SetItemString(d,"SL_SELRANGE", SWIG_From_int((int)(wxSL_SELRANGE)));
37838 }
37839 {
37840 PyDict_SetItemString(d,"SL_INVERSE", SWIG_From_int((int)(wxSL_INVERSE)));
37841 }
d55e5bfc
RD
37842 SWIG_addvarlink(SWIG_globals,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get, _wrap_ToggleButtonNameStr_set);
37843 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
51b83b37 37844 SWIG_addvarlink(SWIG_globals,(char*)"NotebookNameStr",_wrap_NotebookNameStr_get, _wrap_NotebookNameStr_set);
093d3ff1
RD
37845 {
37846 PyDict_SetItemString(d,"NB_FIXEDWIDTH", SWIG_From_int((int)(wxNB_FIXEDWIDTH)));
37847 }
37848 {
37849 PyDict_SetItemString(d,"NB_TOP", SWIG_From_int((int)(wxNB_TOP)));
37850 }
37851 {
37852 PyDict_SetItemString(d,"NB_LEFT", SWIG_From_int((int)(wxNB_LEFT)));
37853 }
37854 {
37855 PyDict_SetItemString(d,"NB_RIGHT", SWIG_From_int((int)(wxNB_RIGHT)));
37856 }
37857 {
37858 PyDict_SetItemString(d,"NB_BOTTOM", SWIG_From_int((int)(wxNB_BOTTOM)));
37859 }
37860 {
37861 PyDict_SetItemString(d,"NB_MULTILINE", SWIG_From_int((int)(wxNB_MULTILINE)));
37862 }
091fdbfa
RD
37863 {
37864 PyDict_SetItemString(d,"NB_NOPAGETHEME", SWIG_From_int((int)(wxNB_NOPAGETHEME)));
37865 }
093d3ff1
RD
37866 {
37867 PyDict_SetItemString(d,"NB_HITTEST_NOWHERE", SWIG_From_int((int)(wxNB_HITTEST_NOWHERE)));
37868 }
37869 {
37870 PyDict_SetItemString(d,"NB_HITTEST_ONICON", SWIG_From_int((int)(wxNB_HITTEST_ONICON)));
37871 }
37872 {
37873 PyDict_SetItemString(d,"NB_HITTEST_ONLABEL", SWIG_From_int((int)(wxNB_HITTEST_ONLABEL)));
37874 }
37875 {
37876 PyDict_SetItemString(d,"NB_HITTEST_ONITEM", SWIG_From_int((int)(wxNB_HITTEST_ONITEM)));
37877 }
d55e5bfc
RD
37878 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
37879 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
093d3ff1
RD
37880 {
37881 PyDict_SetItemString(d,"LB_DEFAULT", SWIG_From_int((int)(wxLB_DEFAULT)));
37882 }
37883 {
37884 PyDict_SetItemString(d,"LB_TOP", SWIG_From_int((int)(wxLB_TOP)));
37885 }
37886 {
37887 PyDict_SetItemString(d,"LB_BOTTOM", SWIG_From_int((int)(wxLB_BOTTOM)));
37888 }
37889 {
37890 PyDict_SetItemString(d,"LB_LEFT", SWIG_From_int((int)(wxLB_LEFT)));
37891 }
37892 {
37893 PyDict_SetItemString(d,"LB_RIGHT", SWIG_From_int((int)(wxLB_RIGHT)));
37894 }
37895 {
37896 PyDict_SetItemString(d,"LB_ALIGN_MASK", SWIG_From_int((int)(wxLB_ALIGN_MASK)));
37897 }
d55e5bfc
RD
37898 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
37899 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
093d3ff1
RD
37900 {
37901 PyDict_SetItemString(d,"CHB_DEFAULT", SWIG_From_int((int)(wxCHB_DEFAULT)));
37902 }
37903 {
37904 PyDict_SetItemString(d,"CHB_TOP", SWIG_From_int((int)(wxCHB_TOP)));
37905 }
37906 {
37907 PyDict_SetItemString(d,"CHB_BOTTOM", SWIG_From_int((int)(wxCHB_BOTTOM)));
37908 }
37909 {
37910 PyDict_SetItemString(d,"CHB_LEFT", SWIG_From_int((int)(wxCHB_LEFT)));
37911 }
37912 {
37913 PyDict_SetItemString(d,"CHB_RIGHT", SWIG_From_int((int)(wxCHB_RIGHT)));
37914 }
37915 {
37916 PyDict_SetItemString(d,"CHB_ALIGN_MASK", SWIG_From_int((int)(wxCHB_ALIGN_MASK)));
37917 }
ae8162c8
RD
37918 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED));
37919 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING));
093d3ff1
RD
37920 {
37921 PyDict_SetItemString(d,"TOOL_STYLE_BUTTON", SWIG_From_int((int)(wxTOOL_STYLE_BUTTON)));
37922 }
37923 {
37924 PyDict_SetItemString(d,"TOOL_STYLE_SEPARATOR", SWIG_From_int((int)(wxTOOL_STYLE_SEPARATOR)));
37925 }
37926 {
37927 PyDict_SetItemString(d,"TOOL_STYLE_CONTROL", SWIG_From_int((int)(wxTOOL_STYLE_CONTROL)));
37928 }
37929 {
37930 PyDict_SetItemString(d,"TB_HORIZONTAL", SWIG_From_int((int)(wxTB_HORIZONTAL)));
37931 }
37932 {
37933 PyDict_SetItemString(d,"TB_VERTICAL", SWIG_From_int((int)(wxTB_VERTICAL)));
37934 }
37935 {
37936 PyDict_SetItemString(d,"TB_3DBUTTONS", SWIG_From_int((int)(wxTB_3DBUTTONS)));
37937 }
37938 {
37939 PyDict_SetItemString(d,"TB_FLAT", SWIG_From_int((int)(wxTB_FLAT)));
37940 }
37941 {
37942 PyDict_SetItemString(d,"TB_DOCKABLE", SWIG_From_int((int)(wxTB_DOCKABLE)));
37943 }
37944 {
37945 PyDict_SetItemString(d,"TB_NOICONS", SWIG_From_int((int)(wxTB_NOICONS)));
37946 }
37947 {
37948 PyDict_SetItemString(d,"TB_TEXT", SWIG_From_int((int)(wxTB_TEXT)));
37949 }
37950 {
37951 PyDict_SetItemString(d,"TB_NODIVIDER", SWIG_From_int((int)(wxTB_NODIVIDER)));
37952 }
37953 {
37954 PyDict_SetItemString(d,"TB_NOALIGN", SWIG_From_int((int)(wxTB_NOALIGN)));
37955 }
37956 {
37957 PyDict_SetItemString(d,"TB_HORZ_LAYOUT", SWIG_From_int((int)(wxTB_HORZ_LAYOUT)));
37958 }
37959 {
37960 PyDict_SetItemString(d,"TB_HORZ_TEXT", SWIG_From_int((int)(wxTB_HORZ_TEXT)));
37961 }
d55e5bfc 37962 SWIG_addvarlink(SWIG_globals,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get, _wrap_ListCtrlNameStr_set);
093d3ff1
RD
37963 {
37964 PyDict_SetItemString(d,"LC_VRULES", SWIG_From_int((int)(wxLC_VRULES)));
37965 }
37966 {
37967 PyDict_SetItemString(d,"LC_HRULES", SWIG_From_int((int)(wxLC_HRULES)));
37968 }
37969 {
37970 PyDict_SetItemString(d,"LC_ICON", SWIG_From_int((int)(wxLC_ICON)));
37971 }
37972 {
37973 PyDict_SetItemString(d,"LC_SMALL_ICON", SWIG_From_int((int)(wxLC_SMALL_ICON)));
37974 }
37975 {
37976 PyDict_SetItemString(d,"LC_LIST", SWIG_From_int((int)(wxLC_LIST)));
37977 }
37978 {
37979 PyDict_SetItemString(d,"LC_REPORT", SWIG_From_int((int)(wxLC_REPORT)));
37980 }
37981 {
37982 PyDict_SetItemString(d,"LC_ALIGN_TOP", SWIG_From_int((int)(wxLC_ALIGN_TOP)));
37983 }
37984 {
37985 PyDict_SetItemString(d,"LC_ALIGN_LEFT", SWIG_From_int((int)(wxLC_ALIGN_LEFT)));
37986 }
37987 {
37988 PyDict_SetItemString(d,"LC_AUTOARRANGE", SWIG_From_int((int)(wxLC_AUTOARRANGE)));
37989 }
37990 {
37991 PyDict_SetItemString(d,"LC_VIRTUAL", SWIG_From_int((int)(wxLC_VIRTUAL)));
37992 }
37993 {
37994 PyDict_SetItemString(d,"LC_EDIT_LABELS", SWIG_From_int((int)(wxLC_EDIT_LABELS)));
37995 }
37996 {
37997 PyDict_SetItemString(d,"LC_NO_HEADER", SWIG_From_int((int)(wxLC_NO_HEADER)));
37998 }
37999 {
38000 PyDict_SetItemString(d,"LC_NO_SORT_HEADER", SWIG_From_int((int)(wxLC_NO_SORT_HEADER)));
38001 }
38002 {
38003 PyDict_SetItemString(d,"LC_SINGLE_SEL", SWIG_From_int((int)(wxLC_SINGLE_SEL)));
38004 }
38005 {
38006 PyDict_SetItemString(d,"LC_SORT_ASCENDING", SWIG_From_int((int)(wxLC_SORT_ASCENDING)));
38007 }
38008 {
38009 PyDict_SetItemString(d,"LC_SORT_DESCENDING", SWIG_From_int((int)(wxLC_SORT_DESCENDING)));
38010 }
38011 {
38012 PyDict_SetItemString(d,"LC_MASK_TYPE", SWIG_From_int((int)(wxLC_MASK_TYPE)));
38013 }
38014 {
38015 PyDict_SetItemString(d,"LC_MASK_ALIGN", SWIG_From_int((int)(wxLC_MASK_ALIGN)));
38016 }
38017 {
38018 PyDict_SetItemString(d,"LC_MASK_SORT", SWIG_From_int((int)(wxLC_MASK_SORT)));
38019 }
38020 {
38021 PyDict_SetItemString(d,"LIST_MASK_STATE", SWIG_From_int((int)(wxLIST_MASK_STATE)));
38022 }
38023 {
38024 PyDict_SetItemString(d,"LIST_MASK_TEXT", SWIG_From_int((int)(wxLIST_MASK_TEXT)));
38025 }
38026 {
38027 PyDict_SetItemString(d,"LIST_MASK_IMAGE", SWIG_From_int((int)(wxLIST_MASK_IMAGE)));
38028 }
38029 {
38030 PyDict_SetItemString(d,"LIST_MASK_DATA", SWIG_From_int((int)(wxLIST_MASK_DATA)));
38031 }
38032 {
38033 PyDict_SetItemString(d,"LIST_SET_ITEM", SWIG_From_int((int)(wxLIST_SET_ITEM)));
38034 }
38035 {
38036 PyDict_SetItemString(d,"LIST_MASK_WIDTH", SWIG_From_int((int)(wxLIST_MASK_WIDTH)));
38037 }
38038 {
38039 PyDict_SetItemString(d,"LIST_MASK_FORMAT", SWIG_From_int((int)(wxLIST_MASK_FORMAT)));
38040 }
38041 {
38042 PyDict_SetItemString(d,"LIST_STATE_DONTCARE", SWIG_From_int((int)(wxLIST_STATE_DONTCARE)));
38043 }
38044 {
38045 PyDict_SetItemString(d,"LIST_STATE_DROPHILITED", SWIG_From_int((int)(wxLIST_STATE_DROPHILITED)));
38046 }
38047 {
38048 PyDict_SetItemString(d,"LIST_STATE_FOCUSED", SWIG_From_int((int)(wxLIST_STATE_FOCUSED)));
38049 }
38050 {
38051 PyDict_SetItemString(d,"LIST_STATE_SELECTED", SWIG_From_int((int)(wxLIST_STATE_SELECTED)));
38052 }
38053 {
38054 PyDict_SetItemString(d,"LIST_STATE_CUT", SWIG_From_int((int)(wxLIST_STATE_CUT)));
38055 }
38056 {
38057 PyDict_SetItemString(d,"LIST_STATE_DISABLED", SWIG_From_int((int)(wxLIST_STATE_DISABLED)));
38058 }
38059 {
38060 PyDict_SetItemString(d,"LIST_STATE_FILTERED", SWIG_From_int((int)(wxLIST_STATE_FILTERED)));
38061 }
38062 {
38063 PyDict_SetItemString(d,"LIST_STATE_INUSE", SWIG_From_int((int)(wxLIST_STATE_INUSE)));
38064 }
38065 {
38066 PyDict_SetItemString(d,"LIST_STATE_PICKED", SWIG_From_int((int)(wxLIST_STATE_PICKED)));
38067 }
38068 {
38069 PyDict_SetItemString(d,"LIST_STATE_SOURCE", SWIG_From_int((int)(wxLIST_STATE_SOURCE)));
38070 }
38071 {
38072 PyDict_SetItemString(d,"LIST_HITTEST_ABOVE", SWIG_From_int((int)(wxLIST_HITTEST_ABOVE)));
38073 }
38074 {
38075 PyDict_SetItemString(d,"LIST_HITTEST_BELOW", SWIG_From_int((int)(wxLIST_HITTEST_BELOW)));
38076 }
38077 {
38078 PyDict_SetItemString(d,"LIST_HITTEST_NOWHERE", SWIG_From_int((int)(wxLIST_HITTEST_NOWHERE)));
38079 }
38080 {
38081 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMICON)));
38082 }
38083 {
38084 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMLABEL)));
38085 }
38086 {
38087 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMRIGHT)));
38088 }
38089 {
38090 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMSTATEICON)));
38091 }
38092 {
38093 PyDict_SetItemString(d,"LIST_HITTEST_TOLEFT", SWIG_From_int((int)(wxLIST_HITTEST_TOLEFT)));
38094 }
38095 {
38096 PyDict_SetItemString(d,"LIST_HITTEST_TORIGHT", SWIG_From_int((int)(wxLIST_HITTEST_TORIGHT)));
38097 }
38098 {
38099 PyDict_SetItemString(d,"LIST_HITTEST_ONITEM", SWIG_From_int((int)(wxLIST_HITTEST_ONITEM)));
38100 }
38101 {
38102 PyDict_SetItemString(d,"LIST_NEXT_ABOVE", SWIG_From_int((int)(wxLIST_NEXT_ABOVE)));
38103 }
38104 {
38105 PyDict_SetItemString(d,"LIST_NEXT_ALL", SWIG_From_int((int)(wxLIST_NEXT_ALL)));
38106 }
38107 {
38108 PyDict_SetItemString(d,"LIST_NEXT_BELOW", SWIG_From_int((int)(wxLIST_NEXT_BELOW)));
38109 }
38110 {
38111 PyDict_SetItemString(d,"LIST_NEXT_LEFT", SWIG_From_int((int)(wxLIST_NEXT_LEFT)));
38112 }
38113 {
38114 PyDict_SetItemString(d,"LIST_NEXT_RIGHT", SWIG_From_int((int)(wxLIST_NEXT_RIGHT)));
38115 }
38116 {
38117 PyDict_SetItemString(d,"LIST_ALIGN_DEFAULT", SWIG_From_int((int)(wxLIST_ALIGN_DEFAULT)));
38118 }
38119 {
38120 PyDict_SetItemString(d,"LIST_ALIGN_LEFT", SWIG_From_int((int)(wxLIST_ALIGN_LEFT)));
38121 }
38122 {
38123 PyDict_SetItemString(d,"LIST_ALIGN_TOP", SWIG_From_int((int)(wxLIST_ALIGN_TOP)));
38124 }
38125 {
38126 PyDict_SetItemString(d,"LIST_ALIGN_SNAP_TO_GRID", SWIG_From_int((int)(wxLIST_ALIGN_SNAP_TO_GRID)));
38127 }
38128 {
38129 PyDict_SetItemString(d,"LIST_FORMAT_LEFT", SWIG_From_int((int)(wxLIST_FORMAT_LEFT)));
38130 }
38131 {
38132 PyDict_SetItemString(d,"LIST_FORMAT_RIGHT", SWIG_From_int((int)(wxLIST_FORMAT_RIGHT)));
38133 }
38134 {
38135 PyDict_SetItemString(d,"LIST_FORMAT_CENTRE", SWIG_From_int((int)(wxLIST_FORMAT_CENTRE)));
38136 }
38137 {
38138 PyDict_SetItemString(d,"LIST_FORMAT_CENTER", SWIG_From_int((int)(wxLIST_FORMAT_CENTER)));
38139 }
38140 {
38141 PyDict_SetItemString(d,"LIST_AUTOSIZE", SWIG_From_int((int)(wxLIST_AUTOSIZE)));
38142 }
38143 {
38144 PyDict_SetItemString(d,"LIST_AUTOSIZE_USEHEADER", SWIG_From_int((int)(wxLIST_AUTOSIZE_USEHEADER)));
38145 }
38146 {
38147 PyDict_SetItemString(d,"LIST_RECT_BOUNDS", SWIG_From_int((int)(wxLIST_RECT_BOUNDS)));
38148 }
38149 {
38150 PyDict_SetItemString(d,"LIST_RECT_ICON", SWIG_From_int((int)(wxLIST_RECT_ICON)));
38151 }
38152 {
38153 PyDict_SetItemString(d,"LIST_RECT_LABEL", SWIG_From_int((int)(wxLIST_RECT_LABEL)));
38154 }
38155 {
38156 PyDict_SetItemString(d,"LIST_FIND_UP", SWIG_From_int((int)(wxLIST_FIND_UP)));
38157 }
38158 {
38159 PyDict_SetItemString(d,"LIST_FIND_DOWN", SWIG_From_int((int)(wxLIST_FIND_DOWN)));
38160 }
38161 {
38162 PyDict_SetItemString(d,"LIST_FIND_LEFT", SWIG_From_int((int)(wxLIST_FIND_LEFT)));
38163 }
38164 {
38165 PyDict_SetItemString(d,"LIST_FIND_RIGHT", SWIG_From_int((int)(wxLIST_FIND_RIGHT)));
38166 }
d55e5bfc
RD
38167 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
38168 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
38169 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
38170 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
38171 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
38172 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
d55e5bfc
RD
38173 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
38174 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
38175 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
38176 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
38177 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
38178 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
38179 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
38180 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
38181 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
38182 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
38183 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
38184 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
38185 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
38186 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
fef4c27a
RD
38187 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO));
38188 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO));
d55e5bfc
RD
38189
38190 // Map renamed classes back to their common name for OOR
38191 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
38192
38193 SWIG_addvarlink(SWIG_globals,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get, _wrap_TreeCtrlNameStr_set);
093d3ff1
RD
38194 {
38195 PyDict_SetItemString(d,"TR_NO_BUTTONS", SWIG_From_int((int)(wxTR_NO_BUTTONS)));
38196 }
38197 {
38198 PyDict_SetItemString(d,"TR_HAS_BUTTONS", SWIG_From_int((int)(wxTR_HAS_BUTTONS)));
38199 }
38200 {
38201 PyDict_SetItemString(d,"TR_NO_LINES", SWIG_From_int((int)(wxTR_NO_LINES)));
38202 }
38203 {
38204 PyDict_SetItemString(d,"TR_LINES_AT_ROOT", SWIG_From_int((int)(wxTR_LINES_AT_ROOT)));
38205 }
38206 {
38207 PyDict_SetItemString(d,"TR_SINGLE", SWIG_From_int((int)(wxTR_SINGLE)));
38208 }
38209 {
38210 PyDict_SetItemString(d,"TR_MULTIPLE", SWIG_From_int((int)(wxTR_MULTIPLE)));
38211 }
38212 {
38213 PyDict_SetItemString(d,"TR_EXTENDED", SWIG_From_int((int)(wxTR_EXTENDED)));
38214 }
38215 {
38216 PyDict_SetItemString(d,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_From_int((int)(wxTR_HAS_VARIABLE_ROW_HEIGHT)));
38217 }
38218 {
38219 PyDict_SetItemString(d,"TR_EDIT_LABELS", SWIG_From_int((int)(wxTR_EDIT_LABELS)));
38220 }
38221 {
38222 PyDict_SetItemString(d,"TR_HIDE_ROOT", SWIG_From_int((int)(wxTR_HIDE_ROOT)));
38223 }
38224 {
38225 PyDict_SetItemString(d,"TR_ROW_LINES", SWIG_From_int((int)(wxTR_ROW_LINES)));
38226 }
38227 {
38228 PyDict_SetItemString(d,"TR_FULL_ROW_HIGHLIGHT", SWIG_From_int((int)(wxTR_FULL_ROW_HIGHLIGHT)));
38229 }
38230 {
38231 PyDict_SetItemString(d,"TR_DEFAULT_STYLE", SWIG_From_int((int)(wxTR_DEFAULT_STYLE)));
38232 }
38233 {
38234 PyDict_SetItemString(d,"TR_TWIST_BUTTONS", SWIG_From_int((int)(wxTR_TWIST_BUTTONS)));
38235 }
38236 {
38237 PyDict_SetItemString(d,"TR_MAC_BUTTONS", SWIG_From_int((int)(wxTR_MAC_BUTTONS)));
38238 }
38239 {
38240 PyDict_SetItemString(d,"TR_AQUA_BUTTONS", SWIG_From_int((int)(wxTR_AQUA_BUTTONS)));
38241 }
38242 {
38243 PyDict_SetItemString(d,"TreeItemIcon_Normal", SWIG_From_int((int)(wxTreeItemIcon_Normal)));
38244 }
38245 {
38246 PyDict_SetItemString(d,"TreeItemIcon_Selected", SWIG_From_int((int)(wxTreeItemIcon_Selected)));
38247 }
38248 {
38249 PyDict_SetItemString(d,"TreeItemIcon_Expanded", SWIG_From_int((int)(wxTreeItemIcon_Expanded)));
38250 }
38251 {
38252 PyDict_SetItemString(d,"TreeItemIcon_SelectedExpanded", SWIG_From_int((int)(wxTreeItemIcon_SelectedExpanded)));
38253 }
38254 {
38255 PyDict_SetItemString(d,"TreeItemIcon_Max", SWIG_From_int((int)(wxTreeItemIcon_Max)));
38256 }
38257 {
38258 PyDict_SetItemString(d,"TREE_HITTEST_ABOVE", SWIG_From_int((int)(wxTREE_HITTEST_ABOVE)));
38259 }
38260 {
38261 PyDict_SetItemString(d,"TREE_HITTEST_BELOW", SWIG_From_int((int)(wxTREE_HITTEST_BELOW)));
38262 }
38263 {
38264 PyDict_SetItemString(d,"TREE_HITTEST_NOWHERE", SWIG_From_int((int)(wxTREE_HITTEST_NOWHERE)));
38265 }
38266 {
38267 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMBUTTON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMBUTTON)));
38268 }
38269 {
38270 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMICON)));
38271 }
38272 {
38273 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMINDENT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMINDENT)));
38274 }
38275 {
38276 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLABEL)));
38277 }
38278 {
38279 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMRIGHT)));
38280 }
38281 {
38282 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMSTATEICON)));
38283 }
38284 {
38285 PyDict_SetItemString(d,"TREE_HITTEST_TOLEFT", SWIG_From_int((int)(wxTREE_HITTEST_TOLEFT)));
38286 }
38287 {
38288 PyDict_SetItemString(d,"TREE_HITTEST_TORIGHT", SWIG_From_int((int)(wxTREE_HITTEST_TORIGHT)));
38289 }
38290 {
38291 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMUPPERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMUPPERPART)));
38292 }
38293 {
38294 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLOWERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLOWERPART)));
38295 }
38296 {
38297 PyDict_SetItemString(d,"TREE_HITTEST_ONITEM", SWIG_From_int((int)(wxTREE_HITTEST_ONITEM)));
38298 }
d55e5bfc
RD
38299 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
38300 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
38301 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
38302 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
38303 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
38304 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
38305 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
38306 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
38307 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
38308 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
38309 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
38310 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
38311 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
38312 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
38313 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
38314 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
38315 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
38316 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
38317 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
38318 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
62d32a5f 38319 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU));
d55e5bfc
RD
38320
38321 // Map renamed classes back to their common name for OOR
38322 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
38323 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
38324
38325 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get, _wrap_DirDialogDefaultFolderStr_set);
093d3ff1
RD
38326 {
38327 PyDict_SetItemString(d,"DIRCTRL_DIR_ONLY", SWIG_From_int((int)(wxDIRCTRL_DIR_ONLY)));
38328 }
38329 {
38330 PyDict_SetItemString(d,"DIRCTRL_SELECT_FIRST", SWIG_From_int((int)(wxDIRCTRL_SELECT_FIRST)));
38331 }
38332 {
38333 PyDict_SetItemString(d,"DIRCTRL_SHOW_FILTERS", SWIG_From_int((int)(wxDIRCTRL_SHOW_FILTERS)));
38334 }
38335 {
38336 PyDict_SetItemString(d,"DIRCTRL_3D_INTERNAL", SWIG_From_int((int)(wxDIRCTRL_3D_INTERNAL)));
38337 }
38338 {
38339 PyDict_SetItemString(d,"DIRCTRL_EDIT_LABELS", SWIG_From_int((int)(wxDIRCTRL_EDIT_LABELS)));
38340 }
38341 {
38342 PyDict_SetItemString(d,"FRAME_EX_CONTEXTHELP", SWIG_From_int((int)(wxFRAME_EX_CONTEXTHELP)));
38343 }
38344 {
38345 PyDict_SetItemString(d,"DIALOG_EX_CONTEXTHELP", SWIG_From_int((int)(wxDIALOG_EX_CONTEXTHELP)));
38346 }
d55e5bfc
RD
38347 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
38348 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
38349
38350 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
38351
53aa7709
RD
38352 SWIG_addvarlink(SWIG_globals,(char*)"DatePickerCtrlNameStr",_wrap_DatePickerCtrlNameStr_get, _wrap_DatePickerCtrlNameStr_set);
38353 {
38354 PyDict_SetItemString(d,"DP_DEFAULT", SWIG_From_int((int)(wxDP_DEFAULT)));
38355 }
38356 {
38357 PyDict_SetItemString(d,"DP_SPIN", SWIG_From_int((int)(wxDP_SPIN)));
38358 }
38359 {
38360 PyDict_SetItemString(d,"DP_DROPDOWN", SWIG_From_int((int)(wxDP_DROPDOWN)));
38361 }
38362 {
38363 PyDict_SetItemString(d,"DP_SHOWCENTURY", SWIG_From_int((int)(wxDP_SHOWCENTURY)));
38364 }
38365 {
38366 PyDict_SetItemString(d,"DP_ALLOWNONE", SWIG_From_int((int)(wxDP_ALLOWNONE)));
38367 }
d55e5bfc
RD
38368}
38369