]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/_controls_wrap.cpp
Document the Show/Hide behaviour that wxSplitterWindow does to its children.
[wxWidgets.git] / wxPython / src / gtk / _controls_wrap.cpp
CommitLineData
d14a1e28
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
093d3ff1 3 * Version 1.3.24
d14a1e28
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
d14a1e28
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};
d14a1e28
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
d14a1e28 37
c9c7117a 38
093d3ff1 39#include <Python.h>
d14a1e28
RD
40
41/***********************************************************************
093d3ff1 42 * swigrun.swg
d14a1e28 43 *
093d3ff1
RD
44 * This file contains generic CAPI SWIG runtime support for pointer
45 * type checking.
d14a1e28
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"
d14a1e28 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)
d14a1e28 58#else
093d3ff1 59#define SWIG_TYPE_TABLE_NAME
d14a1e28
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
d14a1e28 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
d14a1e28
RD
85#endif
86
d14a1e28
RD
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 {
cc6dd355 95 const char *name;
d14a1e28
RD
96 swig_converter_func converter;
97 const char *str;
cc6dd355 98 void *clientdata;
d14a1e28
RD
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}
d14a1e28 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}
d14a1e28 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}
d14a1e28
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.
d14a1e28 441 *
093d3ff1 442 * Author : David Beazley (beazley@cs.uchicago.edu)
d14a1e28 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.
d14a1e28
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
d14a1e28
RD
461#ifdef __cplusplus
462extern "C" {
463#endif
464
d14a1e28 465
093d3ff1 466/*************************************************************************/
d14a1e28 467
d14a1e28 468
093d3ff1 469/* The static type info list */
d14a1e28 470
093d3ff1
RD
471static swig_type_info *swig_type_list = 0;
472static swig_type_info **swig_type_list_handle = &swig_type_list;
473
d14a1e28 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}
d14a1e28 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}
d14a1e28 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}
d14a1e28 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}
d14a1e28 502
d14a1e28
RD
503#ifdef __cplusplus
504}
505#endif
506
093d3ff1
RD
507/* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
d14a1e28 510
093d3ff1
RD
511#ifdef __cplusplus
512extern "C" {
513#endif
c32bde28 514
093d3ff1
RD
515/* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
d14a1e28 518
093d3ff1
RD
519#ifndef SWIGINTERN
520#define SWIGINTERN static
521#endif
d14a1e28 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
d14a1e28
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 * ----------------------------------------------------------------------------- */
d14a1e28 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;
d14a1e28 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
994141e6 576
994141e6 577#ifdef __cplusplus
093d3ff1
RD
578}
579#endif
994141e6 580
15afbcd0 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 ************************************************************************/
15afbcd0 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
994141e6 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)
994141e6 601
994141e6 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
994141e6 614
093d3ff1
RD
615/* Flags for pointer conversion */
616#define SWIG_POINTER_EXCEPTION 0x1
617#define SWIG_POINTER_DISOWN 0x2
d14a1e28 618
4d5c3d91 619
093d3ff1
RD
620#ifdef __cplusplus
621extern "C" {
622#endif
4d5c3d91 623
093d3ff1
RD
624/* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
994141e6 627
093d3ff1
RD
628#ifndef SWIG_BUFFER_SIZE
629#define SWIG_BUFFER_SIZE 1024
630#endif
15afbcd0 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 * ----------------------------------------------------------------------------- */
15afbcd0 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)
15afbcd0 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;
15afbcd0 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;
15afbcd0
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}
15afbcd0 673
093d3ff1
RD
674SWIGRUNTIME PyObject *
675PySwigObject_long(PySwigObject *v)
15afbcd0 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);
15afbcd0
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}
15afbcd0 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 }
994141e6 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 */
15afbcd0 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 };
994141e6 797
093d3ff1
RD
798 PySwigObject_Type = tmp;
799 type_init = 1;
800 }
994141e6 801
093d3ff1
RD
802 return &PySwigObject_Type;
803}
804
805SWIGRUNTIME PyObject *
806PySwigObject_FromVoidPtrAndDesc(void *ptr, const char *desc)
807{
808 PySwigObject *self = PyObject_NEW(PySwigObject, PySwigObject_GetType());
809 if (self == NULL) return NULL;
810 self->ptr = ptr;
811 self->desc = desc;
812 return (PyObject *)self;
813}
814
815SWIGRUNTIMEINLINE void *
816PySwigObject_AsVoidPtr(PyObject *self)
817{
818 return ((PySwigObject *)self)->ptr;
819}
820
821SWIGRUNTIMEINLINE const char *
822PySwigObject_GetDesc(PyObject *self)
823{
824 return ((PySwigObject *)self)->desc;
825}
826
827SWIGRUNTIMEINLINE int
828PySwigObject_Check(PyObject *op) {
829 return ((op)->ob_type == PySwigObject_GetType())
830 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
831}
832
833/* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
836
837typedef struct {
838 PyObject_HEAD
839 void *pack;
840 const char *desc;
841 size_t size;
842} PySwigPacked;
843
844SWIGRUNTIME int
845PySwigPacked_print(PySwigPacked *v, FILE *fp, int flags)
846{
847 char result[SWIG_BUFFER_SIZE];
848 fputs("<Swig Packed ", fp);
849 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
850 fputs("at ", fp);
851 fputs(result, fp);
852 }
853 fputs(v->desc,fp);
854 fputs(">", fp);
855 return 0;
856}
857
858SWIGRUNTIME PyObject *
859PySwigPacked_repr(PySwigPacked *v)
860{
861 char result[SWIG_BUFFER_SIZE];
862 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->desc);
864 } else {
865 return PyString_FromFormat("<Swig Packed %s>", v->desc);
866 }
867}
868
869SWIGRUNTIME PyObject *
870PySwigPacked_str(PySwigPacked *v)
871{
872 char result[SWIG_BUFFER_SIZE];
873 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
874 return PyString_FromFormat("%s%s", result, v->desc);
875 } else {
876 return PyString_FromFormat("%s", v->desc);
877 }
878}
879
880SWIGRUNTIME int
881PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
882{
883 int c = strcmp(v->desc, w->desc);
884 if (c) {
885 return c;
886 } else {
887 size_t i = v->size;
888 size_t j = w->size;
889 int s = (i < j) ? -1 : (i > j) ? 1 : 0;
890 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
891 }
892}
893
894SWIGRUNTIME void
895PySwigPacked_dealloc(PySwigPacked *self)
896{
897 free(self->pack);
898 PyObject_DEL(self);
899}
900
901SWIGRUNTIME PyTypeObject*
902PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init = 0;
906
907 static PyTypeObject PySwigPacked_Type;
908 if (!type_init) {
909 PyTypeObject tmp = {
910 PyObject_HEAD_INIT(&PyType_Type)
911 0, /*ob_size*/
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked), /*tp_basicsize*/
914 0, /*tp_itemsize*/
915 /* methods */
916 (destructor)PySwigPacked_dealloc, /*tp_dealloc*/
917 (printfunc)PySwigPacked_print, /*tp_print*/
918 (getattrfunc)0, /*tp_getattr*/
919 (setattrfunc)0, /*tp_setattr*/
920 (cmpfunc)PySwigPacked_compare, /*tp_compare*/
921 (reprfunc)PySwigPacked_repr, /*tp_repr*/
922 0, /*tp_as_number*/
923 0, /*tp_as_sequence*/
924 0, /*tp_as_mapping*/
925 (hashfunc)0, /*tp_hash*/
926 (ternaryfunc)0, /*tp_call*/
927 (reprfunc)PySwigPacked_str, /*tp_str*/
928 /* Space for future expansion */
929 0L,0L,0L,0L,
930 PySwigPacked_Type__doc__, /* Documentation string */
931#if PY_VERSION_HEX >= 0x02000000
932 0, /* tp_traverse */
933 0, /* tp_clear */
934#endif
935#if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
938#endif
939#if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
941#endif
942#if PY_VERSION_HEX >= 0x02030000
943 0, /* tp_del */
944#endif
945#ifdef COUNT_ALLOCS
946 0,0,0,0 /* tp_alloc -> tp_next */
947#endif
948 };
949
950 PySwigPacked_Type = tmp;
951 type_init = 1;
952 }
953
954
955
956 return &PySwigPacked_Type;
957}
958
959SWIGRUNTIME PyObject *
960PySwigPacked_FromDataAndDesc(void *ptr, size_t size, const char *desc)
961{
962 PySwigPacked *self = PyObject_NEW(PySwigPacked, PySwigPacked_GetType());
963 if (self == NULL) {
964 return NULL;
965 } else {
966 void *pack = malloc(size);
967 memcpy(pack, ptr, size);
968 self->pack = pack;
969 self->desc = desc;
970 self->size = size;
971 return (PyObject *) self;
972 }
973}
974
975SWIGRUNTIMEINLINE const char *
976PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
977{
978 PySwigPacked *self = (PySwigPacked *)obj;
979 if (self->size != size) return 0;
980 memcpy(ptr, self->pack, size);
981 return self->desc;
982}
983
984SWIGRUNTIMEINLINE const char *
985PySwigPacked_GetDesc(PyObject *self)
986{
987 return ((PySwigPacked *)self)->desc;
988}
989
990SWIGRUNTIMEINLINE int
991PySwigPacked_Check(PyObject *op) {
992 return ((op)->ob_type == PySwigPacked_GetType())
993 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
994}
995
996#else
997/* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1000
1001#define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002#define PySwigObject_Check(obj) PyCObject_Check(obj)
1003#define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004#define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1005
1006#endif
1007
1008#endif
1009
1010/* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1013
1014SWIGRUNTIME void
1015SWIG_Python_TypeError(const char *type, PyObject *obj)
1016{
1017 if (type) {
1018#if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj)) {
1020 const char *otype = (const char *) PySwigObject_GetDesc(obj);
1021 if (otype) {
1022 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
1023 type, otype);
1024 return;
1025 }
1026 } else
1027#endif
1028 {
1029 const char *otype = (obj ? obj->ob_type->tp_name : 0);
1030 if (otype) {
1031 PyObject *str = PyObject_Str(obj);
1032 const char *cstr = str ? PyString_AsString(str) : 0;
1033 if (cstr) {
1034 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
1035 type, otype, cstr);
1036 } else {
1037 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
1038 type, otype);
1039 }
1040 Py_DECREF(str);
1041 return;
1042 }
1043 }
1044 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
1045 } else {
1046 PyErr_Format(PyExc_TypeError, "unexpected type is received");
1047 }
1048}
1049
1050SWIGRUNTIMEINLINE void
1051SWIG_Python_NullRef(const char *type)
1052{
1053 if (type) {
1054 PyErr_Format(PyExc_TypeError, "null reference of type '%s' was received",type);
1055 } else {
1056 PyErr_Format(PyExc_TypeError, "null reference was received");
1057 }
1058}
1059
1060SWIGRUNTIME int
1061SWIG_Python_AddErrMesg(const char* mesg, int infront)
1062{
1063 if (PyErr_Occurred()) {
1064 PyObject *type = 0;
1065 PyObject *value = 0;
1066 PyObject *traceback = 0;
1067 PyErr_Fetch(&type, &value, &traceback);
1068 if (value) {
1069 PyObject *old_str = PyObject_Str(value);
1070 Py_XINCREF(type);
1071 PyErr_Clear();
1072 if (infront) {
1073 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
1074 } else {
1075 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
1076 }
1077 Py_DECREF(old_str);
1078 }
1079 return 1;
1080 } else {
1081 return 0;
1082 }
1083}
1084
1085SWIGRUNTIME int
1086SWIG_Python_ArgFail(int argnum)
1087{
1088 if (PyErr_Occurred()) {
1089 /* add information about failing argument */
1090 char mesg[256];
1091 sprintf(mesg, "argument number %d:", argnum);
1092 return SWIG_Python_AddErrMesg(mesg, 1);
1093 } else {
1094 return 0;
1095 }
1096}
1097
1098
1099/* -----------------------------------------------------------------------------
1100 * pointers/data manipulation
1101 * ----------------------------------------------------------------------------- */
1102
1103/* Convert a pointer value */
1104SWIGRUNTIME int
1105SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) {
1106 swig_type_info *tc;
1107 const char *c = 0;
1108 static PyObject *SWIG_this = 0;
1109 int newref = 0;
1110 PyObject *pyobj = 0;
1111 void *vptr;
1112
1113 if (!obj) return 0;
1114 if (obj == Py_None) {
1115 *ptr = 0;
1116 return 0;
1117 }
1118
1119#ifdef SWIG_COBJECT_TYPES
1120 if (!(PySwigObject_Check(obj))) {
1121 if (!SWIG_this)
1122 SWIG_this = PyString_FromString("this");
1123 pyobj = obj;
1124 obj = PyObject_GetAttr(obj,SWIG_this);
1125 newref = 1;
1126 if (!obj) goto type_error;
1127 if (!PySwigObject_Check(obj)) {
1128 Py_DECREF(obj);
1129 goto type_error;
1130 }
1131 }
1132 vptr = PySwigObject_AsVoidPtr(obj);
1133 c = (const char *) PySwigObject_GetDesc(obj);
1134 if (newref) { Py_DECREF(obj); }
1135 goto type_check;
1136#else
1137 if (!(PyString_Check(obj))) {
1138 if (!SWIG_this)
1139 SWIG_this = PyString_FromString("this");
1140 pyobj = obj;
1141 obj = PyObject_GetAttr(obj,SWIG_this);
1142 newref = 1;
1143 if (!obj) goto type_error;
1144 if (!PyString_Check(obj)) {
1145 Py_DECREF(obj);
1146 goto type_error;
1147 }
1148 }
1149 c = PyString_AS_STRING(obj);
1150 /* Pointer values must start with leading underscore */
1151 c = SWIG_UnpackVoidPtr(c, &vptr, ty->name);
1152 if (newref) { Py_DECREF(obj); }
1153 if (!c) goto type_error;
1154#endif
1155
1156type_check:
1157
1158 if (ty) {
1159 tc = SWIG_TypeCheck(c,ty);
1160 if (!tc) goto type_error;
1161 *ptr = SWIG_TypeCast(tc,vptr);
1162 } else {
1163 *ptr = vptr;
1164 }
1165
1166 if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) {
1167 PyObject_SetAttrString(pyobj,(char*)"thisown",Py_False);
1168 }
1169 return 0;
1170
1171type_error:
1172 PyErr_Clear();
1173 if (pyobj && !obj) {
1174 obj = pyobj;
1175 if (PyCFunction_Check(obj)) {
1176 /* here we get the method pointer for callbacks */
1177 char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
1178 c = doc ? strstr(doc, "swig_ptr: ") : 0;
1179 if (c) {
1180 c = SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name);
1181 if (!c) goto type_error;
1182 goto type_check;
1183 }
1184 }
1185 }
1186 if (flags & SWIG_POINTER_EXCEPTION) {
1187 if (ty) {
1188 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1189 } else {
1190 SWIG_Python_TypeError("C/C++ pointer", obj);
1191 }
1192 }
1193 return -1;
1194}
1195
1196/* Convert a pointer value, signal an exception on a type mismatch */
1197SWIGRUNTIME void *
1198SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
1199 void *result;
1200 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
1201 PyErr_Clear();
1202 if (flags & SWIG_POINTER_EXCEPTION) {
1203 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1204 SWIG_Python_ArgFail(argnum);
1205 }
1206 }
1207 return result;
1208}
1209
1210/* Convert a packed value value */
1211SWIGRUNTIME int
1212SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty, int flags) {
1213 swig_type_info *tc;
1214 const char *c = 0;
1215
1216#if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1217 c = PySwigPacked_UnpackData(obj, ptr, sz);
1218#else
1219 if ((!obj) || (!PyString_Check(obj))) goto type_error;
1220 c = PyString_AS_STRING(obj);
1221 /* Pointer values must start with leading underscore */
1222 c = SWIG_UnpackDataName(c, ptr, sz, ty->name);
1223#endif
1224 if (!c) goto type_error;
1225 if (ty) {
1226 tc = SWIG_TypeCheck(c,ty);
1227 if (!tc) goto type_error;
1228 }
1229 return 0;
1230
1231type_error:
1232 PyErr_Clear();
1233 if (flags & SWIG_POINTER_EXCEPTION) {
1234 if (ty) {
1235 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1236 } else {
1237 SWIG_Python_TypeError("C/C++ packed data", obj);
1238 }
1239 }
1240 return -1;
1241}
1242
1243/* Create a new array object */
1244SWIGRUNTIME PyObject *
1245SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int own) {
1246 PyObject *robj = 0;
1247 if (!ptr) {
1248 Py_INCREF(Py_None);
1249 return Py_None;
1250 }
1251#ifdef SWIG_COBJECT_TYPES
1252 robj = PySwigObject_FromVoidPtrAndDesc((void *) ptr, (char *)type->name);
1253#else
1254 {
1255 char result[SWIG_BUFFER_SIZE];
1256 robj = SWIG_PackVoidPtr(result, ptr, type->name, sizeof(result)) ?
1257 PyString_FromString(result) : 0;
1258 }
1259#endif
1260 if (!robj || (robj == Py_None)) return robj;
1261 if (type->clientdata) {
1262 PyObject *inst;
1263 PyObject *args = Py_BuildValue((char*)"(O)", robj);
1264 Py_DECREF(robj);
1265 inst = PyObject_CallObject((PyObject *) type->clientdata, args);
1266 Py_DECREF(args);
1267 if (inst) {
1268 if (own) {
1269 PyObject_SetAttrString(inst,(char*)"thisown",Py_True);
1270 }
1271 robj = inst;
1272 }
1273 }
1274 return robj;
1275}
1276
1277SWIGRUNTIME PyObject *
1278SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
1279 PyObject *robj = 0;
1280 if (!ptr) {
1281 Py_INCREF(Py_None);
1282 return Py_None;
1283 }
1284#if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1285 robj = PySwigPacked_FromDataAndDesc((void *) ptr, sz, (char *)type->name);
1286#else
1287 {
1288 char result[SWIG_BUFFER_SIZE];
1289 robj = SWIG_PackDataName(result, ptr, sz, type->name, sizeof(result)) ?
1290 PyString_FromString(result) : 0;
1291 }
1292#endif
1293 return robj;
1294}
1295
1296/* -----------------------------------------------------------------------------*
1297 * Get type list
1298 * -----------------------------------------------------------------------------*/
1299
1300#ifdef SWIG_LINK_RUNTIME
1301void *SWIG_ReturnGlobalTypeList(void *);
1302#endif
1303
1304SWIGRUNTIME swig_type_info **
1305SWIG_Python_GetTypeListHandle() {
1306 static void *type_pointer = (void *)0;
1307 /* first check if module already created */
1308 if (!type_pointer) {
1309#ifdef SWIG_LINK_RUNTIME
1310 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
1311#else
1312 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
1313 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
1314 if (PyErr_Occurred()) {
1315 PyErr_Clear();
1316 type_pointer = (void *)0;
1317 }
1318 }
1319#endif
1320 return (swig_type_info **) type_pointer;
1321}
1322
1323/*
1324 Search for a swig_type_info structure
1325 */
1326SWIGRUNTIMEINLINE swig_type_info *
1327SWIG_Python_GetTypeList() {
1328 swig_type_info **tlh = SWIG_Python_GetTypeListHandle();
1329 return tlh ? *tlh : (swig_type_info*)0;
1330}
1331
1332#define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1333
1334#ifdef __cplusplus
1335}
1336#endif
1337
1338
1339/* -------- TYPES TABLE (BEGIN) -------- */
1340
1341#define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
1342#define SWIGTYPE_p_wxSizer swig_types[1]
1343#define SWIGTYPE_p_wxCheckBox swig_types[2]
1344#define SWIGTYPE_p_wxPyTreeCtrl swig_types[3]
1345#define SWIGTYPE_p_wxEvent swig_types[4]
1346#define SWIGTYPE_p_wxGenericDirCtrl swig_types[5]
1347#define SWIGTYPE_p_bool swig_types[6]
1348#define SWIGTYPE_p_wxItemContainer swig_types[7]
1349#define SWIGTYPE_p_wxPyListCtrl swig_types[8]
1350#define SWIGTYPE_p_wxPyTreeItemData swig_types[9]
1351#define SWIGTYPE_p_wxDirFilterListCtrl swig_types[10]
1352#define SWIGTYPE_p_wxStaticLine swig_types[11]
1353#define SWIGTYPE_p_wxControl swig_types[12]
1354#define SWIGTYPE_p_wxPyControl swig_types[13]
1355#define SWIGTYPE_p_wxGauge swig_types[14]
1356#define SWIGTYPE_p_wxToolBarBase swig_types[15]
1357#define SWIGTYPE_p_wxFont swig_types[16]
1358#define SWIGTYPE_p_wxToggleButton swig_types[17]
1359#define SWIGTYPE_p_wxRadioButton swig_types[18]
1360#define SWIGTYPE_p_wxChoice swig_types[19]
1361#define SWIGTYPE_p_wxMemoryDC swig_types[20]
1362#define SWIGTYPE_ptrdiff_t swig_types[21]
1363#define SWIGTYPE_std__ptrdiff_t swig_types[22]
1364#define SWIGTYPE_p_wxListItemAttr swig_types[23]
1365#define SWIGTYPE_p_void swig_types[24]
1366#define SWIGTYPE_p_int swig_types[25]
1367#define SWIGTYPE_p_wxSize swig_types[26]
1368#define SWIGTYPE_p_wxDC swig_types[27]
1369#define SWIGTYPE_p_wxListView swig_types[28]
1370#define SWIGTYPE_p_wxIcon swig_types[29]
1371#define SWIGTYPE_p_wxVisualAttributes swig_types[30]
1372#define SWIGTYPE_p_wxTextCtrl swig_types[31]
1373#define SWIGTYPE_p_wxNotebook swig_types[32]
1374#define SWIGTYPE_p_wxChoicebook swig_types[33]
1375#define SWIGTYPE_p_wxNotifyEvent swig_types[34]
1376#define SWIGTYPE_p_wxArrayString swig_types[35]
1377#define SWIGTYPE_p_form_ops_t swig_types[36]
1378#define SWIGTYPE_p_wxListbook swig_types[37]
1379#define SWIGTYPE_p_wxStaticBitmap swig_types[38]
1380#define SWIGTYPE_p_wxSlider swig_types[39]
1381#define SWIGTYPE_p_wxStaticBox swig_types[40]
1382#define SWIGTYPE_p_wxArrayInt swig_types[41]
1383#define SWIGTYPE_p_wxContextHelp swig_types[42]
1384#define SWIGTYPE_p_long swig_types[43]
1385#define SWIGTYPE_p_wxDuplexMode swig_types[44]
1386#define SWIGTYPE_p_wxBookCtrlBase swig_types[45]
1387#define SWIGTYPE_p_wxEvtHandler swig_types[46]
1388#define SWIGTYPE_p_wxListEvent swig_types[47]
1389#define SWIGTYPE_p_wxCheckListBox swig_types[48]
1390#define SWIGTYPE_p_wxListBox swig_types[49]
1391#define SWIGTYPE_p_wxSpinButton swig_types[50]
1392#define SWIGTYPE_p_wxButton swig_types[51]
1393#define SWIGTYPE_p_wxBitmapButton swig_types[52]
1394#define SWIGTYPE_p_wxRect swig_types[53]
1395#define SWIGTYPE_p_wxContextHelpButton swig_types[54]
1396#define SWIGTYPE_p_wxRadioBox swig_types[55]
1397#define SWIGTYPE_p_wxScrollBar swig_types[56]
1398#define SWIGTYPE_p_char swig_types[57]
1399#define SWIGTYPE_p_wxComboBox swig_types[58]
1400#define SWIGTYPE_p_wxTreeItemId swig_types[59]
1401#define SWIGTYPE_p_wxHelpEvent swig_types[60]
1402#define SWIGTYPE_p_wxListItem swig_types[61]
1403#define SWIGTYPE_p_wxNotebookSizer swig_types[62]
1404#define SWIGTYPE_p_wxSpinEvent swig_types[63]
1405#define SWIGTYPE_p_wxGenericDragImage swig_types[64]
1406#define SWIGTYPE_p_wxSpinCtrl swig_types[65]
1407#define SWIGTYPE_p_wxPaperSize swig_types[66]
1408#define SWIGTYPE_p_wxImageList swig_types[67]
1409#define SWIGTYPE_p_wxHelpProvider swig_types[68]
1410#define SWIGTYPE_p_wxTextAttr swig_types[69]
1411#define SWIGTYPE_p_wxSimpleHelpProvider swig_types[70]
1412#define SWIGTYPE_p_wxChoicebookEvent swig_types[71]
1413#define SWIGTYPE_p_wxListbookEvent swig_types[72]
1414#define SWIGTYPE_p_wxNotebookEvent swig_types[73]
1415#define SWIGTYPE_p_wxPoint swig_types[74]
1416#define SWIGTYPE_p_wxObject swig_types[75]
1417#define SWIGTYPE_p_wxCursor swig_types[76]
1418#define SWIGTYPE_p_wxKeyEvent swig_types[77]
1419#define SWIGTYPE_p_unsigned_long swig_types[78]
1420#define SWIGTYPE_p_wxWindow swig_types[79]
1421#define SWIGTYPE_p_wxString swig_types[80]
1422#define SWIGTYPE_p_wxBitmap swig_types[81]
1423#define SWIGTYPE_unsigned_int swig_types[82]
1424#define SWIGTYPE_p_unsigned_int swig_types[83]
1425#define SWIGTYPE_p_unsigned_char swig_types[84]
1426#define SWIGTYPE_p_wxMouseEvent swig_types[85]
1427#define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[86]
1428#define SWIGTYPE_p_wxTreeEvent swig_types[87]
1429#define SWIGTYPE_p_wxCommandEvent swig_types[88]
1430#define SWIGTYPE_p_wxStaticText swig_types[89]
1431#define SWIGTYPE_p_wxControlWithItems swig_types[90]
1432#define SWIGTYPE_p_wxToolBarToolBase swig_types[91]
1433#define SWIGTYPE_p_wxColour swig_types[92]
1434#define SWIGTYPE_p_wxToolBar swig_types[93]
1435#define SWIGTYPE_p_wxBookCtrlSizer swig_types[94]
1436#define SWIGTYPE_p_wxValidator swig_types[95]
1437static swig_type_info *swig_types[97];
1438
1439/* -------- TYPES TABLE (END) -------- */
1440
1441
1442/*-----------------------------------------------
1443 @(target):= _controls_.so
1444 ------------------------------------------------*/
1445#define SWIG_init init_controls_
1446
1447#define SWIG_name "_controls_"
1448
1449#include "wx/wxPython/wxPython.h"
1450#include "wx/wxPython/pyclasses.h"
1451
1452 static const wxString wxPyPanelNameStr(wxPanelNameStr);
1453 static const wxString wxPyEmptyString(wxEmptyString);
1454 static const wxString wxPyControlNameStr(wxControlNameStr);
1455
1456 const wxArrayString wxPyEmptyStringArray;
1457
1458 static const wxString wxPyButtonNameStr(wxButtonNameStr);
1459
1460 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1461#define SWIG_From_int PyInt_FromLong
1462/*@@*/
1463
1464
1465#include <limits.h>
1466
1467
1468SWIGINTERN int
1469 SWIG_CheckLongInRange(long value, long min_value, long max_value,
1470 const char *errmsg)
1471{
1472 if (value < min_value) {
1473 if (errmsg) {
1474 PyErr_Format(PyExc_OverflowError,
1475 "value %ld is less than '%s' minimum %ld",
1476 value, errmsg, min_value);
1477 }
1478 return 0;
1479 } else if (value > max_value) {
1480 if (errmsg) {
1481 PyErr_Format(PyExc_OverflowError,
1482 "value %ld is greater than '%s' maximum %ld",
1483 value, errmsg, max_value);
1484 }
1485 return 0;
1486 }
1487 return 1;
1488}
1489
1490
1491SWIGINTERN int
1492SWIG_AsVal_long(PyObject* obj, long* val)
1493{
1494 if (PyNumber_Check(obj)) {
1495 if (val) *val = PyInt_AsLong(obj);
1496 return 1;
1497 }
1498 else {
1499 SWIG_type_error("number", obj);
1500 }
1501 return 0;
1502}
1503
1504
1505#if INT_MAX != LONG_MAX
1506SWIGINTERN int
1507 SWIG_AsVal_int(PyObject *obj, int *val)
1508{
1509 const char* errmsg = val ? "int" : (char*)0;
1510 long v;
1511 if (SWIG_AsVal_long(obj, &v)) {
1512 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
1513 if (val) *val = (int)(v);
1514 return 1;
1515 } else {
1516 return 0;
1517 }
1518 } else {
1519 PyErr_Clear();
1520 }
1521 if (val) {
1522 SWIG_type_error(errmsg, obj);
1523 }
1524 return 0;
1525}
1526#else
1527SWIGINTERNSHORT int
1528 SWIG_AsVal_int(PyObject *obj, int *val)
1529{
1530 return SWIG_AsVal_long(obj,(long*)val);
1531}
1532#endif
1533
1534
1535SWIGINTERNSHORT int
c32bde28 1536SWIG_As_int(PyObject* obj)
994141e6 1537{
c32bde28
RD
1538 int v;
1539 if (!SWIG_AsVal_int(obj, &v)) {
1540 /*
093d3ff1 1541 this is needed to make valgrind/purify happier.
c32bde28
RD
1542 */
1543 memset((void*)&v, 0, sizeof(int));
15afbcd0 1544 }
c32bde28 1545 return v;
15afbcd0
RD
1546}
1547
1548
093d3ff1 1549SWIGINTERNSHORT long
c32bde28 1550SWIG_As_long(PyObject* obj)
15afbcd0 1551{
c32bde28
RD
1552 long v;
1553 if (!SWIG_AsVal_long(obj, &v)) {
1554 /*
093d3ff1 1555 this is needed to make valgrind/purify happier.
c32bde28
RD
1556 */
1557 memset((void*)&v, 0, sizeof(long));
15afbcd0 1558 }
c32bde28 1559 return v;
994141e6
RD
1560}
1561
c32bde28 1562
093d3ff1 1563SWIGINTERNSHORT int
c32bde28
RD
1564SWIG_Check_int(PyObject* obj)
1565{
1566 return SWIG_AsVal_int(obj, (int*)0);
1567}
994141e6 1568
c32bde28 1569
093d3ff1 1570SWIGINTERNSHORT int
c32bde28 1571SWIG_Check_long(PyObject* obj)
994141e6 1572{
c32bde28 1573 return SWIG_AsVal_long(obj, (long*)0);
994141e6
RD
1574}
1575
c32bde28 1576 static const wxString wxPyCheckBoxNameStr(wxCheckBoxNameStr);
15afbcd0 1577
093d3ff1 1578SWIGINTERN int
c32bde28 1579 SWIG_AsVal_bool(PyObject *obj, bool *val)
15afbcd0 1580{
c32bde28
RD
1581 if (obj == Py_True) {
1582 if (val) *val = true;
1583 return 1;
1584 }
1585 if (obj == Py_False) {
1586 if (val) *val = false;
15afbcd0
RD
1587 return 1;
1588 }
c32bde28
RD
1589 int res = 0;
1590 if (SWIG_AsVal_int(obj, &res)) {
093d3ff1 1591 if (val) *val = res ? true : false;
c32bde28 1592 return 1;
093d3ff1
RD
1593 } else {
1594 PyErr_Clear();
1595 }
c32bde28 1596 if (val) {
093d3ff1 1597 SWIG_type_error("bool", obj);
c32bde28
RD
1598 }
1599 return 0;
1600}
1601
1602
093d3ff1 1603SWIGINTERNSHORT bool
c32bde28
RD
1604SWIG_As_bool(PyObject* obj)
1605{
1606 bool v;
1607 if (!SWIG_AsVal_bool(obj, &v)) {
1608 /*
093d3ff1 1609 this is needed to make valgrind/purify happier.
c32bde28
RD
1610 */
1611 memset((void*)&v, 0, sizeof(bool));
1612 }
1613 return v;
1614}
1615
1616
093d3ff1 1617SWIGINTERNSHORT int
c32bde28
RD
1618SWIG_Check_bool(PyObject* obj)
1619{
1620 return SWIG_AsVal_bool(obj, (bool*)0);
15afbcd0
RD
1621}
1622
b2dc1044
RD
1623 static const wxString wxPyChoiceNameStr(wxChoiceNameStr);
1624 static const wxString wxPyComboBoxNameStr(wxComboBoxNameStr);
093d3ff1
RD
1625
1626 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1627#define SWIG_From_long PyInt_FromLong
1628/*@@*/
1629
b2dc1044
RD
1630 static const wxString wxPyGaugeNameStr(wxGaugeNameStr);
1631 static const wxString wxPyStaticBitmapNameStr(wxStaticBitmapNameStr);
1632 static const wxString wxPyStaticBoxNameStr(wxStaticBoxNameStr);
1633 static const wxString wxPyStaticTextNameStr(wxStaticTextNameStr);
d14a1e28
RD
1634
1635#include <wx/checklst.h>
1636
d14a1e28 1637
b2dc1044 1638 static const wxString wxPyListBoxNameStr(wxListBoxNameStr);
093d3ff1 1639static void wxListBox_Insert(wxListBox *self,wxString const &item,int pos,PyObject *clientData=NULL){
d14a1e28
RD
1640 if (clientData) {
1641 wxPyClientData* data = new wxPyClientData(clientData);
1642 self->Insert(item, pos, data);
1643 } else
1644 self->Insert(item, pos);
1645 }
093d3ff1 1646static PyObject *wxListBox_GetSelections(wxListBox *self){
d14a1e28
RD
1647 wxArrayInt lst;
1648 self->GetSelections(lst);
1649 PyObject *tup = PyTuple_New(lst.GetCount());
1650 for(size_t i=0; i<lst.GetCount(); i++) {
1651 PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
1652 }
1653 return tup;
1654 }
093d3ff1 1655static void wxListBox_SetItemForegroundColour(wxListBox *self,int item,wxColour const &c){
c3eb6258
RD
1656 #ifdef __WXMSW__
1657 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
1658 self->GetItem(item)->SetTextColour(c);
1659 #endif
1660 }
093d3ff1 1661static void wxListBox_SetItemBackgroundColour(wxListBox *self,int item,wxColour const &c){
c3eb6258
RD
1662 #ifdef __WXMSW__
1663 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
1664 self->GetItem(item)->SetBackgroundColour(c);
1665 #endif
1666 }
093d3ff1 1667static void wxListBox_SetItemFont(wxListBox *self,int item,wxFont const &f){
c3eb6258
RD
1668 #ifdef __WXMSW__
1669 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
1670 self->GetItem(item)->SetFont(f);
1671 #endif
1672 }
b2dc1044 1673 static const wxString wxPyTextCtrlNameStr(wxTextCtrlNameStr);
d14a1e28 1674
c32bde28 1675 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
d14a1e28
RD
1676 PyObject* o2;
1677 PyObject* o3;
c32bde28 1678
d14a1e28
RD
1679 if (!target) {
1680 target = o;
1681 } else if (target == Py_None) {
1682 Py_DECREF(Py_None);
1683 target = o;
7e63a440
RD
1684 } else {
1685 if (!PyTuple_Check(target)) {
1686 o2 = target;
1687 target = PyTuple_New(1);
1688 PyTuple_SetItem(target, 0, o2);
1689 }
d14a1e28
RD
1690 o3 = PyTuple_New(1);
1691 PyTuple_SetItem(o3, 0, o);
1692
1693 o2 = target;
1694 target = PySequence_Concat(o2, o3);
1695 Py_DECREF(o2);
1696 Py_DECREF(o3);
1697 }
1698 return target;
7e63a440 1699 }
d14a1e28 1700
15afbcd0 1701
c32bde28 1702
093d3ff1 1703SWIGINTERN int
c32bde28 1704SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
15afbcd0 1705{
c32bde28
RD
1706 long v = 0;
1707 if (SWIG_AsVal_long(obj, &v) && v < 0) {
093d3ff1 1708 SWIG_type_error("unsigned number", obj);
15afbcd0 1709 }
c32bde28
RD
1710 else if (val)
1711 *val = (unsigned long)v;
1712 return 1;
15afbcd0
RD
1713}
1714
1715
093d3ff1 1716SWIGINTERNSHORT unsigned long
c32bde28 1717SWIG_As_unsigned_SS_long(PyObject* obj)
15afbcd0 1718{
c32bde28
RD
1719 unsigned long v;
1720 if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) {
1721 /*
093d3ff1 1722 this is needed to make valgrind/purify happier.
c32bde28
RD
1723 */
1724 memset((void*)&v, 0, sizeof(unsigned long));
15afbcd0 1725 }
c32bde28
RD
1726 return v;
1727}
1728
1729
093d3ff1 1730SWIGINTERNSHORT int
c32bde28
RD
1731SWIG_Check_unsigned_SS_long(PyObject* obj)
1732{
1733 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
15afbcd0
RD
1734}
1735
093d3ff1 1736static void wxTextCtrl_write(wxTextCtrl *self,wxString const &text){
d14a1e28
RD
1737 self->AppendText(text);
1738 }
093d3ff1 1739static wxString wxTextCtrl_GetString(wxTextCtrl *self,long from,long to){
d14a1e28
RD
1740 return self->GetValue().Mid(from, to - from);
1741 }
b2dc1044
RD
1742 static const wxString wxPyScrollBarNameStr(wxScrollBarNameStr);
1743 static const wxString wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME);
33b885b9 1744 static const wxString wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
b2dc1044
RD
1745 static const wxString wxPyRadioBoxNameStr(wxRadioBoxNameStr);
1746 static const wxString wxPyRadioButtonNameStr(wxRadioButtonNameStr);
093d3ff1
RD
1747static int wxRadioBox_GetColumnCount(wxRadioBox const *self){ return -1; }
1748static int wxRadioBox_GetRowCount(wxRadioBox const *self){ return -1; }
1749static int wxRadioBox_GetNextItem(wxRadioBox const *self,int item,wxDirection dir,long style){ return -1; }
d14a1e28
RD
1750
1751#include <wx/slider.h>
1752
d14a1e28 1753
b2dc1044 1754 static const wxString wxPySliderNameStr(wxSliderNameStr);
33b885b9 1755 static const wxString wxPyToggleButtonNameStr(_T("wxToggleButton"));
d14a1e28 1756
15afbcd0
RD
1757#if !wxUSE_TOGGLEBTN
1758// implement dummy items for platforms that don't have this class
d14a1e28
RD
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&)
39f61e25 1768 { wxPyRaiseNotImplemented(); }
d14a1e28
RD
1769
1770 wxToggleButton()
39f61e25 1771 { wxPyRaiseNotImplemented(); }
d14a1e28
RD
1772};
1773#endif
1774
b2dc1044 1775 static const wxString wxPyNOTEBOOK_NAME(wxNOTEBOOK_NAME);
994141e6 1776
093d3ff1 1777SWIGINTERNSHORT PyObject*
c32bde28 1778 SWIG_From_unsigned_SS_long(unsigned long value)
994141e6 1779{
15afbcd0
RD
1780 return (value > LONG_MAX) ?
1781 PyLong_FromUnsignedLong(value)
093d3ff1 1782 : PyInt_FromLong((long)(value));
994141e6
RD
1783}
1784
b2dc1044 1785 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
093d3ff1 1786static PyObject *wxToolBarToolBase_GetClientData(wxToolBarToolBase *self){
d14a1e28
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){
d14a1e28
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){
d14a1e28
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){
d14a1e28
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){
d14a1e28
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){
d14a1e28
RD
1824 self->SetToolClientData(id, new wxPyUserData(clientData));
1825 }
1826
1827#include <wx/listctrl.h>
1828
33b885b9 1829 static const wxString wxPyListCtrlNameStr(_T("wxListCtrl"));
093d3ff1 1830static void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; }
d14a1e28
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;
4f89f6a3 1835 bool blocked = wxPyBeginBlockThreads();
d14a1e28
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
4f89f6a3 1845 wxPyEndBlockThreads(blocked);
d14a1e28
RD
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);
d14a1e28
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
d14a1e28
RD
1877 PYPRIVATE;
1878};
1879
1880IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
1881
1882IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
d14a1e28 1883IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
84f85550
RD
1884IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl, wxListCtrl, OnGetItemImage);
1885
d14a1e28 1886
093d3ff1 1887static wxListItem *wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col){
d14a1e28
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){
d14a1e28
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){
d14a1e28
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){
d14a1e28
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){
d14a1e28 1922 if (!PyCallable_Check(func))
ae8162c8 1923 return false;
d14a1e28
RD
1924 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
1925 }
093d3ff1 1926static wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
d14a1e28
RD
1927
1928
1929
1930 return (wxWindow*)self->m_mainWin;
1931
1932 }
1933
1934#include <wx/treectrl.h>
1935#include "wx/wxPython/pytree.h"
d14a1e28 1936
33b885b9 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; }
d14a1e28
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;
4f89f6a3 1968 bool blocked = wxPyBeginBlockThreads();
d14a1e28 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);
d14a1e28
RD
1972 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
1973 Py_DECREF(o1);
1974 Py_DECREF(o2);
1975 }
4f89f6a3 1976 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1977 if (! found)
1978 rval = wxTreeCtrl::OnCompareItems(item1, item2);
1979 return rval;
1980 }
1981 PYPRIVATE;
1982};
1983
1984IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
1985
1986
994141e6 1987
15afbcd0 1988#if UINT_MAX < LONG_MAX
093d3ff1 1989/*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
c32bde28
RD
1990#define SWIG_From_unsigned_SS_int SWIG_From_long
1991/*@@*/
15afbcd0 1992#else
093d3ff1 1993/*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
c32bde28
RD
1994#define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
1995/*@@*/
15afbcd0
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)
15afbcd0 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);
15afbcd0 2009 }
c32bde28 2010 return 0;
15afbcd0 2011 }
c32bde28
RD
2012 return 1;
2013 }
994141e6
RD
2014
2015
15afbcd0 2016#if UINT_MAX != ULONG_MAX
093d3ff1 2017SWIGINTERN int
c32bde28 2018 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
994141e6 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;
15afbcd0
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}
15afbcd0
RD
2041#endif
2042
2043
093d3ff1 2044SWIGINTERNSHORT unsigned int
c32bde28 2045SWIG_As_unsigned_SS_int(PyObject* obj)
15afbcd0 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));
15afbcd0 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);
994141e6
RD
2062}
2063
093d3ff1 2064static wxPyTreeItemData *wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item){
d14a1e28
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){
d14a1e28
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){
d14a1e28
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){
d14a1e28
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){
4f89f6a3 2096 bool blocked = wxPyBeginBlockThreads();
d14a1e28
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);
d14a1e28 2104 PyList_Append(rval, item);
1a10c483 2105 Py_DECREF(item);
d14a1e28 2106 }
4f89f6a3 2107 wxPyEndBlockThreads(blocked);
d14a1e28
RD
2108 return rval;
2109 }
093d3ff1 2110static PyObject *wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl *self,wxTreeItemId const &item){
58203fa6
RD
2111 void* cookie = 0;
2112 wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie));
4f89f6a3 2113 bool blocked = wxPyBeginBlockThreads();
d14a1e28 2114 PyObject* tup = PyTuple_New(2);
ae8162c8 2115 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
58203fa6 2116 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
4f89f6a3 2117 wxPyEndBlockThreads(blocked);
d14a1e28
RD
2118 return tup;
2119 }
093d3ff1 2120static PyObject *wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl *self,wxTreeItemId const &item,void *cookie){
58203fa6 2121 wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie));
4f89f6a3 2122 bool blocked = wxPyBeginBlockThreads();
d14a1e28 2123 PyObject* tup = PyTuple_New(2);
ae8162c8 2124 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
58203fa6 2125 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
4f89f6a3 2126 wxPyEndBlockThreads(blocked);
d14a1e28
RD
2127 return tup;
2128 }
093d3ff1 2129static PyObject *wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,wxTreeItemId const &item,bool textOnly=false){
d14a1e28
RD
2130 wxRect rect;
2131 if (self->GetBoundingRect(item, rect, textOnly)) {
4f89f6a3 2132 bool blocked = wxPyBeginBlockThreads();
d14a1e28 2133 wxRect* r = new wxRect(rect);
ae8162c8 2134 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), true);
4f89f6a3 2135 wxPyEndBlockThreads(blocked);
d14a1e28
RD
2136 return val;
2137 }
2138 else
2139 RETURN_NONE();
2140 }
b2dc1044 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
d14a1e28
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
db3e571a 2166 void SetBestSize(const wxSize& size) { wxControl::SetBestSize(size); }
d14a1e28
RD
2167
2168 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
2169 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
2170 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
2171 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
2172
2173 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
2174 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
2175 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
2176
2177 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
2178 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
2179
2180 DEC_PYCALLBACK__(InitDialog);
2181 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
2182 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
2183 DEC_PYCALLBACK_BOOL_(Validate);
2184
2185 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
2186 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
2187 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
2188
2189 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
2190 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
2191
db3e571a 2192 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
1cb4a8aa 2193 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
db3e571a 2194 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
4276dc52 2195
d14a1e28
RD
2196 PYPRIVATE;
2197};
2198
2199IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
2200
2201IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
2202IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
2203IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
2204IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
2205
2206IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
2207IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
2208IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
2209
2210IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
2211IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
2212
2213IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
2214IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
2215IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
2216IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
2217
2218IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
2219IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
2220IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
2221
2222IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
2223IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
2224
db3e571a 2225IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, ShouldInheritColours);
1cb4a8aa 2226IMP_PYCALLBACK__COLOUR(wxPyControl, wxControl, ApplyParentThemeBackground);
db3e571a 2227IMP_PYCALLBACK_VIZATTR_(wxPyControl, wxControl, GetDefaultAttributes);
d14a1e28
RD
2228
2229
2230
093d3ff1 2231static void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
e811c8ce
RD
2232
2233#include <wx/generic/dragimgg.h>
2234
d14a1e28
RD
2235#ifdef __cplusplus
2236extern "C" {
2237#endif
c32bde28 2238static int _wrap_ButtonNameStr_set(PyObject *) {
b2dc1044
RD
2239 PyErr_SetString(PyExc_TypeError,"Variable ButtonNameStr is read-only.");
2240 return 1;
2241}
2242
2243
093d3ff1 2244static PyObject *_wrap_ButtonNameStr_get(void) {
b2dc1044
RD
2245 PyObject *pyobj;
2246
2247 {
2248#if wxUSE_UNICODE
2249 pyobj = PyUnicode_FromWideChar((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
2250#else
2251 pyobj = PyString_FromStringAndSize((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
2252#endif
2253 }
2254 return pyobj;
2255}
2256
2257
c32bde28 2258static PyObject *_wrap_new_Button(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2259 PyObject *resultobj;
2260 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
2261 int arg2 = (int) -1 ;
2262 wxString const &arg3_defvalue = wxPyEmptyString ;
2263 wxString *arg3 = (wxString *) &arg3_defvalue ;
d14a1e28
RD
2264 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2265 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2266 wxSize const &arg5_defvalue = wxDefaultSize ;
2267 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2268 long arg6 = (long) 0 ;
2269 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2270 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2271 wxString const &arg8_defvalue = wxPyButtonNameStr ;
2272 wxString *arg8 = (wxString *) &arg8_defvalue ;
2273 wxButton *result;
ae8162c8 2274 bool temp3 = false ;
d14a1e28
RD
2275 wxPoint temp4 ;
2276 wxSize temp5 ;
ae8162c8 2277 bool temp8 = false ;
d14a1e28 2278 PyObject * obj0 = 0 ;
994141e6 2279 PyObject * obj1 = 0 ;
d14a1e28
RD
2280 PyObject * obj2 = 0 ;
2281 PyObject * obj3 = 0 ;
2282 PyObject * obj4 = 0 ;
994141e6 2283 PyObject * obj5 = 0 ;
d14a1e28
RD
2284 PyObject * obj6 = 0 ;
2285 PyObject * obj7 = 0 ;
2286 char *kwnames[] = {
2287 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2288 };
2289
248ed943 2290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Button",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
2291 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2292 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 2293 if (obj1) {
093d3ff1
RD
2294 {
2295 arg2 = (int)(SWIG_As_int(obj1));
2296 if (SWIG_arg_fail(2)) SWIG_fail;
2297 }
248ed943
RD
2298 }
2299 if (obj2) {
2300 {
2301 arg3 = wxString_in_helper(obj2);
2302 if (arg3 == NULL) SWIG_fail;
ae8162c8 2303 temp3 = true;
248ed943 2304 }
d14a1e28
RD
2305 }
2306 if (obj3) {
2307 {
2308 arg4 = &temp4;
2309 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2310 }
2311 }
2312 if (obj4) {
2313 {
2314 arg5 = &temp5;
2315 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2316 }
2317 }
994141e6 2318 if (obj5) {
093d3ff1
RD
2319 {
2320 arg6 = (long)(SWIG_As_long(obj5));
2321 if (SWIG_arg_fail(6)) SWIG_fail;
2322 }
994141e6 2323 }
d14a1e28 2324 if (obj6) {
093d3ff1
RD
2325 {
2326 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2327 if (SWIG_arg_fail(7)) SWIG_fail;
2328 if (arg7 == NULL) {
2329 SWIG_null_ref("wxValidator");
2330 }
2331 if (SWIG_arg_fail(7)) SWIG_fail;
d14a1e28
RD
2332 }
2333 }
2334 if (obj7) {
2335 {
2336 arg8 = wxString_in_helper(obj7);
2337 if (arg8 == NULL) SWIG_fail;
ae8162c8 2338 temp8 = true;
d14a1e28
RD
2339 }
2340 }
2341 {
e3b71cb8 2342 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
2343 PyThreadState* __tstate = wxPyBeginAllowThreads();
2344 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2345
2346 wxPyEndAllowThreads(__tstate);
110da5b0 2347 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 2348 }
b0f7404b 2349 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxButton, 1);
d14a1e28
RD
2350 {
2351 if (temp3)
2352 delete arg3;
2353 }
2354 {
2355 if (temp8)
2356 delete arg8;
2357 }
2358 return resultobj;
2359 fail:
2360 {
2361 if (temp3)
2362 delete arg3;
2363 }
2364 {
2365 if (temp8)
2366 delete arg8;
2367 }
2368 return NULL;
2369}
2370
2371
c32bde28 2372static PyObject *_wrap_new_PreButton(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2373 PyObject *resultobj;
2374 wxButton *result;
2375 char *kwnames[] = {
2376 NULL
2377 };
2378
2379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreButton",kwnames)) goto fail;
2380 {
e3b71cb8 2381 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
2382 PyThreadState* __tstate = wxPyBeginAllowThreads();
2383 result = (wxButton *)new wxButton();
2384
2385 wxPyEndAllowThreads(__tstate);
110da5b0 2386 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 2387 }
b0f7404b 2388 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxButton, 1);
d14a1e28
RD
2389 return resultobj;
2390 fail:
2391 return NULL;
2392}
2393
2394
c32bde28 2395static PyObject *_wrap_Button_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2396 PyObject *resultobj;
2397 wxButton *arg1 = (wxButton *) 0 ;
2398 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
2399 int arg3 = (int) -1 ;
2400 wxString const &arg4_defvalue = wxPyEmptyString ;
2401 wxString *arg4 = (wxString *) &arg4_defvalue ;
d14a1e28
RD
2402 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2403 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2404 wxSize const &arg6_defvalue = wxDefaultSize ;
2405 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2406 long arg7 = (long) 0 ;
2407 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2408 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2409 wxString const &arg9_defvalue = wxPyButtonNameStr ;
2410 wxString *arg9 = (wxString *) &arg9_defvalue ;
2411 bool result;
ae8162c8 2412 bool temp4 = false ;
d14a1e28
RD
2413 wxPoint temp5 ;
2414 wxSize temp6 ;
ae8162c8 2415 bool temp9 = false ;
d14a1e28
RD
2416 PyObject * obj0 = 0 ;
2417 PyObject * obj1 = 0 ;
994141e6 2418 PyObject * obj2 = 0 ;
d14a1e28
RD
2419 PyObject * obj3 = 0 ;
2420 PyObject * obj4 = 0 ;
2421 PyObject * obj5 = 0 ;
994141e6 2422 PyObject * obj6 = 0 ;
d14a1e28
RD
2423 PyObject * obj7 = 0 ;
2424 PyObject * obj8 = 0 ;
2425 char *kwnames[] = {
2426 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2427 };
2428
248ed943 2429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Button_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
2430 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxButton, SWIG_POINTER_EXCEPTION | 0);
2431 if (SWIG_arg_fail(1)) SWIG_fail;
2432 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2433 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 2434 if (obj2) {
093d3ff1
RD
2435 {
2436 arg3 = (int)(SWIG_As_int(obj2));
2437 if (SWIG_arg_fail(3)) SWIG_fail;
2438 }
248ed943
RD
2439 }
2440 if (obj3) {
2441 {
2442 arg4 = wxString_in_helper(obj3);
2443 if (arg4 == NULL) SWIG_fail;
ae8162c8 2444 temp4 = true;
248ed943 2445 }
d14a1e28
RD
2446 }
2447 if (obj4) {
2448 {
2449 arg5 = &temp5;
2450 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2451 }
2452 }
2453 if (obj5) {
2454 {
2455 arg6 = &temp6;
2456 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2457 }
2458 }
994141e6 2459 if (obj6) {
093d3ff1
RD
2460 {
2461 arg7 = (long)(SWIG_As_long(obj6));
2462 if (SWIG_arg_fail(7)) SWIG_fail;
2463 }
994141e6 2464 }
d14a1e28 2465 if (obj7) {
093d3ff1
RD
2466 {
2467 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2468 if (SWIG_arg_fail(8)) SWIG_fail;
2469 if (arg8 == NULL) {
2470 SWIG_null_ref("wxValidator");
2471 }
2472 if (SWIG_arg_fail(8)) SWIG_fail;
d14a1e28
RD
2473 }
2474 }
2475 if (obj8) {
2476 {
2477 arg9 = wxString_in_helper(obj8);
2478 if (arg9 == NULL) SWIG_fail;
ae8162c8 2479 temp9 = true;
d14a1e28
RD
2480 }
2481 }
2482 {
2483 PyThreadState* __tstate = wxPyBeginAllowThreads();
2484 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2485
2486 wxPyEndAllowThreads(__tstate);
2487 if (PyErr_Occurred()) SWIG_fail;
2488 }
4f89f6a3
RD
2489 {
2490 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2491 }
d14a1e28
RD
2492 {
2493 if (temp4)
2494 delete arg4;
2495 }
2496 {
2497 if (temp9)
2498 delete arg9;
2499 }
2500 return resultobj;
2501 fail:
2502 {
2503 if (temp4)
2504 delete arg4;
2505 }
2506 {
2507 if (temp9)
2508 delete arg9;
2509 }
2510 return NULL;
2511}
2512
2513
c32bde28 2514static PyObject *_wrap_Button_SetDefault(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2515 PyObject *resultobj;
2516 wxButton *arg1 = (wxButton *) 0 ;
2517 PyObject * obj0 = 0 ;
2518 char *kwnames[] = {
2519 (char *) "self", NULL
2520 };
2521
2522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Button_SetDefault",kwnames,&obj0)) goto fail;
093d3ff1
RD
2523 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxButton, SWIG_POINTER_EXCEPTION | 0);
2524 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2525 {
2526 PyThreadState* __tstate = wxPyBeginAllowThreads();
2527 (arg1)->SetDefault();
2528
2529 wxPyEndAllowThreads(__tstate);
2530 if (PyErr_Occurred()) SWIG_fail;
2531 }
2532 Py_INCREF(Py_None); resultobj = Py_None;
2533 return resultobj;
2534 fail:
2535 return NULL;
2536}
2537
2538
c32bde28 2539static PyObject *_wrap_Button_GetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2540 PyObject *resultobj;
2541 wxSize result;
2542 char *kwnames[] = {
2543 NULL
2544 };
2545
2546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Button_GetDefaultSize",kwnames)) goto fail;
2547 {
2548 PyThreadState* __tstate = wxPyBeginAllowThreads();
2549 result = wxButton::GetDefaultSize();
2550
2551 wxPyEndAllowThreads(__tstate);
2552 if (PyErr_Occurred()) SWIG_fail;
2553 }
2554 {
2555 wxSize * resultptr;
093d3ff1 2556 resultptr = new wxSize((wxSize &)(result));
15afbcd0 2557 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
2558 }
2559 return resultobj;
2560 fail:
2561 return NULL;
2562}
2563
2564
c32bde28 2565static PyObject *_wrap_Button_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c 2566 PyObject *resultobj;
093d3ff1 2567 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
2568 wxVisualAttributes result;
2569 PyObject * obj0 = 0 ;
2570 char *kwnames[] = {
2571 (char *) "variant", NULL
2572 };
2573
2574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Button_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
2575 if (obj0) {
093d3ff1
RD
2576 {
2577 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
2578 if (SWIG_arg_fail(1)) SWIG_fail;
2579 }
22bfe96c
RD
2580 }
2581 {
110da5b0 2582 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
2583 PyThreadState* __tstate = wxPyBeginAllowThreads();
2584 result = wxButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
2585
2586 wxPyEndAllowThreads(__tstate);
dfbb5885 2587 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
2588 }
2589 {
2590 wxVisualAttributes * resultptr;
093d3ff1 2591 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
22bfe96c
RD
2592 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
2593 }
2594 return resultobj;
2595 fail:
2596 return NULL;
2597}
2598
2599
c32bde28 2600static PyObject * Button_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
2601 PyObject *obj;
2602 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2603 SWIG_TypeClientData(SWIGTYPE_p_wxButton, obj);
2604 Py_INCREF(obj);
2605 return Py_BuildValue((char *)"");
2606}
c32bde28 2607static PyObject *_wrap_new_BitmapButton(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2608 PyObject *resultobj;
2609 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
2610 int arg2 = (int) -1 ;
2611 wxBitmap const &arg3_defvalue = wxNullBitmap ;
2612 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
d14a1e28
RD
2613 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2614 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2615 wxSize const &arg5_defvalue = wxDefaultSize ;
2616 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2617 long arg6 = (long) wxBU_AUTODRAW ;
2618 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2619 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2620 wxString const &arg8_defvalue = wxPyButtonNameStr ;
2621 wxString *arg8 = (wxString *) &arg8_defvalue ;
2622 wxBitmapButton *result;
2623 wxPoint temp4 ;
2624 wxSize temp5 ;
ae8162c8 2625 bool temp8 = false ;
d14a1e28 2626 PyObject * obj0 = 0 ;
994141e6 2627 PyObject * obj1 = 0 ;
d14a1e28
RD
2628 PyObject * obj2 = 0 ;
2629 PyObject * obj3 = 0 ;
2630 PyObject * obj4 = 0 ;
994141e6 2631 PyObject * obj5 = 0 ;
d14a1e28
RD
2632 PyObject * obj6 = 0 ;
2633 PyObject * obj7 = 0 ;
2634 char *kwnames[] = {
2635 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2636 };
2637
248ed943 2638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_BitmapButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
2639 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2640 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 2641 if (obj1) {
093d3ff1
RD
2642 {
2643 arg2 = (int)(SWIG_As_int(obj1));
2644 if (SWIG_arg_fail(2)) SWIG_fail;
2645 }
248ed943
RD
2646 }
2647 if (obj2) {
093d3ff1
RD
2648 {
2649 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
2650 if (SWIG_arg_fail(3)) SWIG_fail;
2651 if (arg3 == NULL) {
2652 SWIG_null_ref("wxBitmap");
2653 }
2654 if (SWIG_arg_fail(3)) SWIG_fail;
248ed943 2655 }
d14a1e28
RD
2656 }
2657 if (obj3) {
2658 {
2659 arg4 = &temp4;
2660 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2661 }
2662 }
2663 if (obj4) {
2664 {
2665 arg5 = &temp5;
2666 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2667 }
2668 }
994141e6 2669 if (obj5) {
093d3ff1
RD
2670 {
2671 arg6 = (long)(SWIG_As_long(obj5));
2672 if (SWIG_arg_fail(6)) SWIG_fail;
2673 }
994141e6 2674 }
d14a1e28 2675 if (obj6) {
093d3ff1
RD
2676 {
2677 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2678 if (SWIG_arg_fail(7)) SWIG_fail;
2679 if (arg7 == NULL) {
2680 SWIG_null_ref("wxValidator");
2681 }
2682 if (SWIG_arg_fail(7)) SWIG_fail;
d14a1e28
RD
2683 }
2684 }
2685 if (obj7) {
2686 {
2687 arg8 = wxString_in_helper(obj7);
2688 if (arg8 == NULL) SWIG_fail;
ae8162c8 2689 temp8 = true;
d14a1e28
RD
2690 }
2691 }
2692 {
e3b71cb8 2693 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
2694 PyThreadState* __tstate = wxPyBeginAllowThreads();
2695 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2696
2697 wxPyEndAllowThreads(__tstate);
110da5b0 2698 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 2699 }
b0f7404b 2700 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmapButton, 1);
d14a1e28
RD
2701 {
2702 if (temp8)
2703 delete arg8;
2704 }
2705 return resultobj;
2706 fail:
2707 {
2708 if (temp8)
2709 delete arg8;
2710 }
2711 return NULL;
2712}
2713
2714
c32bde28 2715static PyObject *_wrap_new_PreBitmapButton(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2716 PyObject *resultobj;
2717 wxBitmapButton *result;
2718 char *kwnames[] = {
2719 NULL
2720 };
2721
2722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreBitmapButton",kwnames)) goto fail;
2723 {
e3b71cb8 2724 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
2725 PyThreadState* __tstate = wxPyBeginAllowThreads();
2726 result = (wxBitmapButton *)new wxBitmapButton();
2727
2728 wxPyEndAllowThreads(__tstate);
110da5b0 2729 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 2730 }
b0f7404b 2731 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmapButton, 1);
d14a1e28
RD
2732 return resultobj;
2733 fail:
2734 return NULL;
2735}
2736
2737
c32bde28 2738static PyObject *_wrap_BitmapButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2739 PyObject *resultobj;
2740 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2741 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
2742 int arg3 = (int) -1 ;
2743 wxBitmap const &arg4_defvalue = wxNullBitmap ;
2744 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
d14a1e28
RD
2745 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2746 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2747 wxSize const &arg6_defvalue = wxDefaultSize ;
2748 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2749 long arg7 = (long) wxBU_AUTODRAW ;
2750 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2751 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2752 wxString const &arg9_defvalue = wxPyButtonNameStr ;
2753 wxString *arg9 = (wxString *) &arg9_defvalue ;
2754 bool result;
2755 wxPoint temp5 ;
2756 wxSize temp6 ;
ae8162c8 2757 bool temp9 = false ;
d14a1e28
RD
2758 PyObject * obj0 = 0 ;
2759 PyObject * obj1 = 0 ;
994141e6 2760 PyObject * obj2 = 0 ;
d14a1e28
RD
2761 PyObject * obj3 = 0 ;
2762 PyObject * obj4 = 0 ;
2763 PyObject * obj5 = 0 ;
994141e6 2764 PyObject * obj6 = 0 ;
d14a1e28
RD
2765 PyObject * obj7 = 0 ;
2766 PyObject * obj8 = 0 ;
2767 char *kwnames[] = {
2768 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2769 };
2770
248ed943 2771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
2772 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2773 if (SWIG_arg_fail(1)) SWIG_fail;
2774 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2775 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 2776 if (obj2) {
093d3ff1
RD
2777 {
2778 arg3 = (int)(SWIG_As_int(obj2));
2779 if (SWIG_arg_fail(3)) SWIG_fail;
2780 }
248ed943
RD
2781 }
2782 if (obj3) {
093d3ff1
RD
2783 {
2784 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
2785 if (SWIG_arg_fail(4)) SWIG_fail;
2786 if (arg4 == NULL) {
2787 SWIG_null_ref("wxBitmap");
2788 }
2789 if (SWIG_arg_fail(4)) SWIG_fail;
248ed943 2790 }
d14a1e28
RD
2791 }
2792 if (obj4) {
2793 {
2794 arg5 = &temp5;
2795 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2796 }
2797 }
2798 if (obj5) {
2799 {
2800 arg6 = &temp6;
2801 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2802 }
2803 }
994141e6 2804 if (obj6) {
093d3ff1
RD
2805 {
2806 arg7 = (long)(SWIG_As_long(obj6));
2807 if (SWIG_arg_fail(7)) SWIG_fail;
2808 }
994141e6 2809 }
d14a1e28 2810 if (obj7) {
093d3ff1
RD
2811 {
2812 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2813 if (SWIG_arg_fail(8)) SWIG_fail;
2814 if (arg8 == NULL) {
2815 SWIG_null_ref("wxValidator");
2816 }
2817 if (SWIG_arg_fail(8)) SWIG_fail;
d14a1e28
RD
2818 }
2819 }
2820 if (obj8) {
2821 {
2822 arg9 = wxString_in_helper(obj8);
2823 if (arg9 == NULL) SWIG_fail;
ae8162c8 2824 temp9 = true;
d14a1e28
RD
2825 }
2826 }
2827 {
2828 PyThreadState* __tstate = wxPyBeginAllowThreads();
2829 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2830
2831 wxPyEndAllowThreads(__tstate);
2832 if (PyErr_Occurred()) SWIG_fail;
2833 }
4f89f6a3
RD
2834 {
2835 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2836 }
d14a1e28
RD
2837 {
2838 if (temp9)
2839 delete arg9;
2840 }
2841 return resultobj;
2842 fail:
2843 {
2844 if (temp9)
2845 delete arg9;
2846 }
2847 return NULL;
2848}
2849
2850
c32bde28 2851static PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2852 PyObject *resultobj;
2853 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2854 wxBitmap result;
2855 PyObject * obj0 = 0 ;
2856 char *kwnames[] = {
2857 (char *) "self", NULL
2858 };
2859
2860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapLabel",kwnames,&obj0)) goto fail;
093d3ff1
RD
2861 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2862 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2863 {
2864 PyThreadState* __tstate = wxPyBeginAllowThreads();
2865 result = (arg1)->GetBitmapLabel();
2866
2867 wxPyEndAllowThreads(__tstate);
2868 if (PyErr_Occurred()) SWIG_fail;
2869 }
2870 {
2871 wxBitmap * resultptr;
093d3ff1 2872 resultptr = new wxBitmap((wxBitmap &)(result));
15afbcd0 2873 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
2874 }
2875 return resultobj;
2876 fail:
2877 return NULL;
2878}
2879
2880
c32bde28 2881static PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2882 PyObject *resultobj;
2883 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2884 wxBitmap result;
2885 PyObject * obj0 = 0 ;
2886 char *kwnames[] = {
2887 (char *) "self", NULL
2888 };
2889
2890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames,&obj0)) goto fail;
093d3ff1
RD
2891 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2892 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2893 {
2894 PyThreadState* __tstate = wxPyBeginAllowThreads();
2895 result = (arg1)->GetBitmapDisabled();
2896
2897 wxPyEndAllowThreads(__tstate);
2898 if (PyErr_Occurred()) SWIG_fail;
2899 }
2900 {
2901 wxBitmap * resultptr;
093d3ff1 2902 resultptr = new wxBitmap((wxBitmap &)(result));
15afbcd0 2903 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
2904 }
2905 return resultobj;
2906 fail:
2907 return NULL;
2908}
2909
2910
c32bde28 2911static PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2912 PyObject *resultobj;
2913 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2914 wxBitmap result;
2915 PyObject * obj0 = 0 ;
2916 char *kwnames[] = {
2917 (char *) "self", NULL
2918 };
2919
2920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapFocus",kwnames,&obj0)) goto fail;
093d3ff1
RD
2921 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2922 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2923 {
2924 PyThreadState* __tstate = wxPyBeginAllowThreads();
2925 result = (arg1)->GetBitmapFocus();
2926
2927 wxPyEndAllowThreads(__tstate);
2928 if (PyErr_Occurred()) SWIG_fail;
2929 }
2930 {
2931 wxBitmap * resultptr;
093d3ff1 2932 resultptr = new wxBitmap((wxBitmap &)(result));
15afbcd0 2933 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
2934 }
2935 return resultobj;
2936 fail:
2937 return NULL;
2938}
2939
2940
c32bde28 2941static PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2942 PyObject *resultobj;
2943 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2944 wxBitmap result;
2945 PyObject * obj0 = 0 ;
2946 char *kwnames[] = {
2947 (char *) "self", NULL
2948 };
2949
2950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapSelected",kwnames,&obj0)) goto fail;
093d3ff1
RD
2951 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2952 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2953 {
2954 PyThreadState* __tstate = wxPyBeginAllowThreads();
2955 result = (arg1)->GetBitmapSelected();
2956
2957 wxPyEndAllowThreads(__tstate);
2958 if (PyErr_Occurred()) SWIG_fail;
2959 }
2960 {
2961 wxBitmap * resultptr;
093d3ff1 2962 resultptr = new wxBitmap((wxBitmap &)(result));
15afbcd0 2963 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
2964 }
2965 return resultobj;
2966 fail:
2967 return NULL;
2968}
2969
2970
c32bde28 2971static PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2972 PyObject *resultobj;
2973 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2974 wxBitmap *arg2 = 0 ;
2975 PyObject * obj0 = 0 ;
2976 PyObject * obj1 = 0 ;
2977 char *kwnames[] = {
2978 (char *) "self",(char *) "bitmap", NULL
2979 };
2980
2981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
2982 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2983 if (SWIG_arg_fail(1)) SWIG_fail;
2984 {
2985 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
2986 if (SWIG_arg_fail(2)) SWIG_fail;
2987 if (arg2 == NULL) {
2988 SWIG_null_ref("wxBitmap");
2989 }
2990 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
2991 }
2992 {
2993 PyThreadState* __tstate = wxPyBeginAllowThreads();
2994 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
2995
2996 wxPyEndAllowThreads(__tstate);
2997 if (PyErr_Occurred()) SWIG_fail;
2998 }
2999 Py_INCREF(Py_None); resultobj = Py_None;
3000 return resultobj;
3001 fail:
3002 return NULL;
3003}
3004
3005
c32bde28 3006static PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3007 PyObject *resultobj;
3008 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3009 wxBitmap *arg2 = 0 ;
3010 PyObject * obj0 = 0 ;
3011 PyObject * obj1 = 0 ;
3012 char *kwnames[] = {
3013 (char *) "self",(char *) "bitmap", NULL
3014 };
3015
3016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3017 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3018 if (SWIG_arg_fail(1)) SWIG_fail;
3019 {
3020 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3021 if (SWIG_arg_fail(2)) SWIG_fail;
3022 if (arg2 == NULL) {
3023 SWIG_null_ref("wxBitmap");
3024 }
3025 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
3026 }
3027 {
3028 PyThreadState* __tstate = wxPyBeginAllowThreads();
3029 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
3030
3031 wxPyEndAllowThreads(__tstate);
3032 if (PyErr_Occurred()) SWIG_fail;
3033 }
3034 Py_INCREF(Py_None); resultobj = Py_None;
3035 return resultobj;
3036 fail:
3037 return NULL;
3038}
3039
3040
c32bde28 3041static PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3042 PyObject *resultobj;
3043 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3044 wxBitmap *arg2 = 0 ;
3045 PyObject * obj0 = 0 ;
3046 PyObject * obj1 = 0 ;
3047 char *kwnames[] = {
3048 (char *) "self",(char *) "bitmap", NULL
3049 };
3050
3051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3052 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3053 if (SWIG_arg_fail(1)) SWIG_fail;
3054 {
3055 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3056 if (SWIG_arg_fail(2)) SWIG_fail;
3057 if (arg2 == NULL) {
3058 SWIG_null_ref("wxBitmap");
3059 }
3060 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
3061 }
3062 {
3063 PyThreadState* __tstate = wxPyBeginAllowThreads();
3064 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
3065
3066 wxPyEndAllowThreads(__tstate);
3067 if (PyErr_Occurred()) SWIG_fail;
3068 }
3069 Py_INCREF(Py_None); resultobj = Py_None;
3070 return resultobj;
3071 fail:
3072 return NULL;
3073}
3074
3075
c32bde28 3076static PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3077 PyObject *resultobj;
3078 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3079 wxBitmap *arg2 = 0 ;
3080 PyObject * obj0 = 0 ;
3081 PyObject * obj1 = 0 ;
3082 char *kwnames[] = {
3083 (char *) "self",(char *) "bitmap", NULL
3084 };
3085
3086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3087 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3088 if (SWIG_arg_fail(1)) SWIG_fail;
3089 {
3090 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3091 if (SWIG_arg_fail(2)) SWIG_fail;
3092 if (arg2 == NULL) {
3093 SWIG_null_ref("wxBitmap");
3094 }
3095 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
3096 }
3097 {
3098 PyThreadState* __tstate = wxPyBeginAllowThreads();
3099 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
3100
3101 wxPyEndAllowThreads(__tstate);
3102 if (PyErr_Occurred()) SWIG_fail;
3103 }
3104 Py_INCREF(Py_None); resultobj = Py_None;
3105 return resultobj;
3106 fail:
3107 return NULL;
3108}
3109
3110
c32bde28 3111static PyObject *_wrap_BitmapButton_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3112 PyObject *resultobj;
3113 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3114 int arg2 ;
3115 int arg3 ;
3116 PyObject * obj0 = 0 ;
994141e6
RD
3117 PyObject * obj1 = 0 ;
3118 PyObject * obj2 = 0 ;
d14a1e28
RD
3119 char *kwnames[] = {
3120 (char *) "self",(char *) "x",(char *) "y", NULL
3121 };
3122
994141e6 3123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BitmapButton_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
3124 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3125 if (SWIG_arg_fail(1)) SWIG_fail;
3126 {
3127 arg2 = (int)(SWIG_As_int(obj1));
3128 if (SWIG_arg_fail(2)) SWIG_fail;
3129 }
3130 {
3131 arg3 = (int)(SWIG_As_int(obj2));
3132 if (SWIG_arg_fail(3)) SWIG_fail;
3133 }
d14a1e28
RD
3134 {
3135 PyThreadState* __tstate = wxPyBeginAllowThreads();
3136 (arg1)->SetMargins(arg2,arg3);
3137
3138 wxPyEndAllowThreads(__tstate);
3139 if (PyErr_Occurred()) SWIG_fail;
3140 }
3141 Py_INCREF(Py_None); resultobj = Py_None;
3142 return resultobj;
3143 fail:
3144 return NULL;
3145}
3146
3147
c32bde28 3148static PyObject *_wrap_BitmapButton_GetMarginX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3149 PyObject *resultobj;
3150 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3151 int result;
3152 PyObject * obj0 = 0 ;
3153 char *kwnames[] = {
3154 (char *) "self", NULL
3155 };
3156
3157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginX",kwnames,&obj0)) goto fail;
093d3ff1
RD
3158 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3159 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3160 {
3161 PyThreadState* __tstate = wxPyBeginAllowThreads();
3162 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
3163
3164 wxPyEndAllowThreads(__tstate);
3165 if (PyErr_Occurred()) SWIG_fail;
3166 }
093d3ff1
RD
3167 {
3168 resultobj = SWIG_From_int((int)(result));
3169 }
d14a1e28
RD
3170 return resultobj;
3171 fail:
3172 return NULL;
3173}
3174
3175
c32bde28 3176static PyObject *_wrap_BitmapButton_GetMarginY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3177 PyObject *resultobj;
3178 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3179 int result;
3180 PyObject * obj0 = 0 ;
3181 char *kwnames[] = {
3182 (char *) "self", NULL
3183 };
3184
3185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginY",kwnames,&obj0)) goto fail;
093d3ff1
RD
3186 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3187 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3188 {
3189 PyThreadState* __tstate = wxPyBeginAllowThreads();
3190 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
3191
3192 wxPyEndAllowThreads(__tstate);
3193 if (PyErr_Occurred()) SWIG_fail;
3194 }
093d3ff1
RD
3195 {
3196 resultobj = SWIG_From_int((int)(result));
3197 }
d14a1e28
RD
3198 return resultobj;
3199 fail:
3200 return NULL;
3201}
3202
3203
c32bde28 3204static PyObject * BitmapButton_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
3205 PyObject *obj;
3206 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3207 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton, obj);
3208 Py_INCREF(obj);
3209 return Py_BuildValue((char *)"");
3210}
c32bde28 3211static int _wrap_CheckBoxNameStr_set(PyObject *) {
b2dc1044
RD
3212 PyErr_SetString(PyExc_TypeError,"Variable CheckBoxNameStr is read-only.");
3213 return 1;
3214}
3215
3216
093d3ff1 3217static PyObject *_wrap_CheckBoxNameStr_get(void) {
b2dc1044
RD
3218 PyObject *pyobj;
3219
3220 {
3221#if wxUSE_UNICODE
3222 pyobj = PyUnicode_FromWideChar((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
3223#else
3224 pyobj = PyString_FromStringAndSize((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
3225#endif
3226 }
3227 return pyobj;
3228}
3229
3230
c32bde28 3231static PyObject *_wrap_new_CheckBox(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3232 PyObject *resultobj;
3233 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
3234 int arg2 = (int) -1 ;
3235 wxString const &arg3_defvalue = wxPyEmptyString ;
3236 wxString *arg3 = (wxString *) &arg3_defvalue ;
d14a1e28
RD
3237 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3238 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3239 wxSize const &arg5_defvalue = wxDefaultSize ;
3240 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3241 long arg6 = (long) 0 ;
3242 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3243 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3244 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
3245 wxString *arg8 = (wxString *) &arg8_defvalue ;
3246 wxCheckBox *result;
ae8162c8 3247 bool temp3 = false ;
d14a1e28
RD
3248 wxPoint temp4 ;
3249 wxSize temp5 ;
ae8162c8 3250 bool temp8 = false ;
d14a1e28 3251 PyObject * obj0 = 0 ;
994141e6 3252 PyObject * obj1 = 0 ;
d14a1e28
RD
3253 PyObject * obj2 = 0 ;
3254 PyObject * obj3 = 0 ;
3255 PyObject * obj4 = 0 ;
994141e6 3256 PyObject * obj5 = 0 ;
d14a1e28
RD
3257 PyObject * obj6 = 0 ;
3258 PyObject * obj7 = 0 ;
3259 char *kwnames[] = {
3260 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3261 };
3262
248ed943 3263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
3264 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3265 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 3266 if (obj1) {
093d3ff1
RD
3267 {
3268 arg2 = (int)(SWIG_As_int(obj1));
3269 if (SWIG_arg_fail(2)) SWIG_fail;
3270 }
248ed943
RD
3271 }
3272 if (obj2) {
3273 {
3274 arg3 = wxString_in_helper(obj2);
3275 if (arg3 == NULL) SWIG_fail;
ae8162c8 3276 temp3 = true;
248ed943 3277 }
d14a1e28
RD
3278 }
3279 if (obj3) {
3280 {
3281 arg4 = &temp4;
3282 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3283 }
3284 }
3285 if (obj4) {
3286 {
3287 arg5 = &temp5;
3288 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3289 }
3290 }
994141e6 3291 if (obj5) {
093d3ff1
RD
3292 {
3293 arg6 = (long)(SWIG_As_long(obj5));
3294 if (SWIG_arg_fail(6)) SWIG_fail;
3295 }
994141e6 3296 }
d14a1e28 3297 if (obj6) {
093d3ff1
RD
3298 {
3299 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
3300 if (SWIG_arg_fail(7)) SWIG_fail;
3301 if (arg7 == NULL) {
3302 SWIG_null_ref("wxValidator");
3303 }
3304 if (SWIG_arg_fail(7)) SWIG_fail;
d14a1e28
RD
3305 }
3306 }
3307 if (obj7) {
3308 {
3309 arg8 = wxString_in_helper(obj7);
3310 if (arg8 == NULL) SWIG_fail;
ae8162c8 3311 temp8 = true;
d14a1e28
RD
3312 }
3313 }
3314 {
e3b71cb8 3315 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
3316 PyThreadState* __tstate = wxPyBeginAllowThreads();
3317 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3318
3319 wxPyEndAllowThreads(__tstate);
110da5b0 3320 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 3321 }
15afbcd0 3322 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
d14a1e28
RD
3323 {
3324 if (temp3)
3325 delete arg3;
3326 }
3327 {
3328 if (temp8)
3329 delete arg8;
3330 }
3331 return resultobj;
3332 fail:
3333 {
3334 if (temp3)
3335 delete arg3;
3336 }
3337 {
3338 if (temp8)
3339 delete arg8;
3340 }
3341 return NULL;
3342}
3343
3344
c32bde28 3345static PyObject *_wrap_new_PreCheckBox(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3346 PyObject *resultobj;
3347 wxCheckBox *result;
3348 char *kwnames[] = {
3349 NULL
3350 };
3351
3352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckBox",kwnames)) goto fail;
3353 {
e3b71cb8 3354 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
3355 PyThreadState* __tstate = wxPyBeginAllowThreads();
3356 result = (wxCheckBox *)new wxCheckBox();
3357
3358 wxPyEndAllowThreads(__tstate);
110da5b0 3359 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 3360 }
15afbcd0 3361 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
d14a1e28
RD
3362 return resultobj;
3363 fail:
3364 return NULL;
3365}
3366
3367
c32bde28 3368static PyObject *_wrap_CheckBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3369 PyObject *resultobj;
3370 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3371 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
3372 int arg3 = (int) -1 ;
3373 wxString const &arg4_defvalue = wxPyEmptyString ;
3374 wxString *arg4 = (wxString *) &arg4_defvalue ;
d14a1e28
RD
3375 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3376 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3377 wxSize const &arg6_defvalue = wxDefaultSize ;
3378 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3379 long arg7 = (long) 0 ;
3380 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3381 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3382 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
3383 wxString *arg9 = (wxString *) &arg9_defvalue ;
3384 bool result;
ae8162c8 3385 bool temp4 = false ;
d14a1e28
RD
3386 wxPoint temp5 ;
3387 wxSize temp6 ;
ae8162c8 3388 bool temp9 = false ;
d14a1e28
RD
3389 PyObject * obj0 = 0 ;
3390 PyObject * obj1 = 0 ;
994141e6 3391 PyObject * obj2 = 0 ;
d14a1e28
RD
3392 PyObject * obj3 = 0 ;
3393 PyObject * obj4 = 0 ;
3394 PyObject * obj5 = 0 ;
994141e6 3395 PyObject * obj6 = 0 ;
d14a1e28
RD
3396 PyObject * obj7 = 0 ;
3397 PyObject * obj8 = 0 ;
3398 char *kwnames[] = {
3399 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3400 };
3401
248ed943 3402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
3403 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3404 if (SWIG_arg_fail(1)) SWIG_fail;
3405 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3406 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 3407 if (obj2) {
093d3ff1
RD
3408 {
3409 arg3 = (int)(SWIG_As_int(obj2));
3410 if (SWIG_arg_fail(3)) SWIG_fail;
3411 }
248ed943
RD
3412 }
3413 if (obj3) {
3414 {
3415 arg4 = wxString_in_helper(obj3);
3416 if (arg4 == NULL) SWIG_fail;
ae8162c8 3417 temp4 = true;
248ed943 3418 }
d14a1e28
RD
3419 }
3420 if (obj4) {
3421 {
3422 arg5 = &temp5;
3423 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3424 }
3425 }
3426 if (obj5) {
3427 {
3428 arg6 = &temp6;
3429 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3430 }
3431 }
994141e6 3432 if (obj6) {
093d3ff1
RD
3433 {
3434 arg7 = (long)(SWIG_As_long(obj6));
3435 if (SWIG_arg_fail(7)) SWIG_fail;
3436 }
994141e6 3437 }
d14a1e28 3438 if (obj7) {
093d3ff1
RD
3439 {
3440 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
3441 if (SWIG_arg_fail(8)) SWIG_fail;
3442 if (arg8 == NULL) {
3443 SWIG_null_ref("wxValidator");
3444 }
3445 if (SWIG_arg_fail(8)) SWIG_fail;
d14a1e28
RD
3446 }
3447 }
3448 if (obj8) {
3449 {
3450 arg9 = wxString_in_helper(obj8);
3451 if (arg9 == NULL) SWIG_fail;
ae8162c8 3452 temp9 = true;
d14a1e28
RD
3453 }
3454 }
3455 {
3456 PyThreadState* __tstate = wxPyBeginAllowThreads();
3457 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3458
3459 wxPyEndAllowThreads(__tstate);
3460 if (PyErr_Occurred()) SWIG_fail;
3461 }
4f89f6a3
RD
3462 {
3463 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3464 }
d14a1e28
RD
3465 {
3466 if (temp4)
3467 delete arg4;
3468 }
3469 {
3470 if (temp9)
3471 delete arg9;
3472 }
3473 return resultobj;
3474 fail:
3475 {
3476 if (temp4)
3477 delete arg4;
3478 }
3479 {
3480 if (temp9)
3481 delete arg9;
3482 }
3483 return NULL;
3484}
3485
3486
c32bde28 3487static PyObject *_wrap_CheckBox_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3488 PyObject *resultobj;
3489 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3490 bool result;
3491 PyObject * obj0 = 0 ;
3492 char *kwnames[] = {
3493 (char *) "self", NULL
3494 };
3495
3496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_GetValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
3497 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3498 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3499 {
3500 PyThreadState* __tstate = wxPyBeginAllowThreads();
3501 result = (bool)(arg1)->GetValue();
3502
3503 wxPyEndAllowThreads(__tstate);
3504 if (PyErr_Occurred()) SWIG_fail;
3505 }
4f89f6a3
RD
3506 {
3507 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3508 }
d14a1e28
RD
3509 return resultobj;
3510 fail:
3511 return NULL;
3512}
3513
3514
c32bde28 3515static PyObject *_wrap_CheckBox_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3516 PyObject *resultobj;
3517 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3518 bool result;
3519 PyObject * obj0 = 0 ;
3520 char *kwnames[] = {
3521 (char *) "self", NULL
3522 };
3523
3524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_IsChecked",kwnames,&obj0)) goto fail;
093d3ff1
RD
3525 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3526 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3527 {
3528 PyThreadState* __tstate = wxPyBeginAllowThreads();
3529 result = (bool)(arg1)->IsChecked();
3530
3531 wxPyEndAllowThreads(__tstate);
3532 if (PyErr_Occurred()) SWIG_fail;
3533 }
4f89f6a3
RD
3534 {
3535 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3536 }
d14a1e28
RD
3537 return resultobj;
3538 fail:
3539 return NULL;
3540}
3541
3542
c32bde28 3543static PyObject *_wrap_CheckBox_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3544 PyObject *resultobj;
3545 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3546 bool arg2 ;
3547 PyObject * obj0 = 0 ;
3548 PyObject * obj1 = 0 ;
3549 char *kwnames[] = {
3550 (char *) "self",(char *) "state", NULL
3551 };
3552
3553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3554 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3555 if (SWIG_arg_fail(1)) SWIG_fail;
3556 {
3557 arg2 = (bool const)(SWIG_As_bool(obj1));
3558 if (SWIG_arg_fail(2)) SWIG_fail;
3559 }
d14a1e28
RD
3560 {
3561 PyThreadState* __tstate = wxPyBeginAllowThreads();
3562 (arg1)->SetValue(arg2);
3563
3564 wxPyEndAllowThreads(__tstate);
3565 if (PyErr_Occurred()) SWIG_fail;
3566 }
3567 Py_INCREF(Py_None); resultobj = Py_None;
3568 return resultobj;
3569 fail:
3570 return NULL;
3571}
3572
3573
c32bde28 3574static PyObject *_wrap_CheckBox_Get3StateValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3575 PyObject *resultobj;
3576 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
093d3ff1 3577 wxCheckBoxState result;
d14a1e28
RD
3578 PyObject * obj0 = 0 ;
3579 char *kwnames[] = {
3580 (char *) "self", NULL
3581 };
3582
3583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Get3StateValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
3584 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3585 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3586 {
3587 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3588 result = (wxCheckBoxState)((wxCheckBox const *)arg1)->Get3StateValue();
d14a1e28
RD
3589
3590 wxPyEndAllowThreads(__tstate);
3591 if (PyErr_Occurred()) SWIG_fail;
3592 }
093d3ff1 3593 resultobj = SWIG_From_int((result));
d14a1e28
RD
3594 return resultobj;
3595 fail:
3596 return NULL;
3597}
3598
3599
c32bde28 3600static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3601 PyObject *resultobj;
3602 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
093d3ff1 3603 wxCheckBoxState arg2 ;
d14a1e28 3604 PyObject * obj0 = 0 ;
994141e6 3605 PyObject * obj1 = 0 ;
d14a1e28
RD
3606 char *kwnames[] = {
3607 (char *) "self",(char *) "state", NULL
3608 };
3609
994141e6 3610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_Set3StateValue",kwnames,&obj0,&obj1)) 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;
3613 {
3614 arg2 = (wxCheckBoxState)(SWIG_As_int(obj1));
3615 if (SWIG_arg_fail(2)) SWIG_fail;
3616 }
d14a1e28
RD
3617 {
3618 PyThreadState* __tstate = wxPyBeginAllowThreads();
3619 (arg1)->Set3StateValue((wxCheckBoxState )arg2);
3620
3621 wxPyEndAllowThreads(__tstate);
3622 if (PyErr_Occurred()) SWIG_fail;
3623 }
3624 Py_INCREF(Py_None); resultobj = Py_None;
3625 return resultobj;
3626 fail:
3627 return NULL;
3628}
3629
3630
c32bde28 3631static PyObject *_wrap_CheckBox_Is3State(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3632 PyObject *resultobj;
3633 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3634 bool result;
3635 PyObject * obj0 = 0 ;
3636 char *kwnames[] = {
3637 (char *) "self", NULL
3638 };
3639
3640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3State",kwnames,&obj0)) goto fail;
093d3ff1
RD
3641 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3642 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3643 {
3644 PyThreadState* __tstate = wxPyBeginAllowThreads();
3645 result = (bool)((wxCheckBox const *)arg1)->Is3State();
3646
3647 wxPyEndAllowThreads(__tstate);
3648 if (PyErr_Occurred()) SWIG_fail;
3649 }
4f89f6a3
RD
3650 {
3651 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3652 }
d14a1e28
RD
3653 return resultobj;
3654 fail:
3655 return NULL;
3656}
3657
3658
c32bde28 3659static PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3660 PyObject *resultobj;
3661 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3662 bool result;
3663 PyObject * obj0 = 0 ;
3664 char *kwnames[] = {
3665 (char *) "self", NULL
3666 };
3667
3668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames,&obj0)) goto fail;
093d3ff1
RD
3669 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3670 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3671 {
3672 PyThreadState* __tstate = wxPyBeginAllowThreads();
3673 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
3674
3675 wxPyEndAllowThreads(__tstate);
3676 if (PyErr_Occurred()) SWIG_fail;
3677 }
4f89f6a3
RD
3678 {
3679 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3680 }
d14a1e28
RD
3681 return resultobj;
3682 fail:
3683 return NULL;
3684}
3685
3686
c32bde28 3687static PyObject *_wrap_CheckBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c 3688 PyObject *resultobj;
093d3ff1 3689 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
3690 wxVisualAttributes result;
3691 PyObject * obj0 = 0 ;
3692 char *kwnames[] = {
3693 (char *) "variant", NULL
3694 };
3695
3696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
3697 if (obj0) {
093d3ff1
RD
3698 {
3699 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
3700 if (SWIG_arg_fail(1)) SWIG_fail;
3701 }
22bfe96c
RD
3702 }
3703 {
110da5b0 3704 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
3705 PyThreadState* __tstate = wxPyBeginAllowThreads();
3706 result = wxCheckBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
3707
3708 wxPyEndAllowThreads(__tstate);
dfbb5885 3709 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
3710 }
3711 {
3712 wxVisualAttributes * resultptr;
093d3ff1 3713 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
22bfe96c
RD
3714 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
3715 }
3716 return resultobj;
3717 fail:
3718 return NULL;
3719}
3720
3721
c32bde28 3722static PyObject * CheckBox_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
3723 PyObject *obj;
3724 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3725 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox, obj);
3726 Py_INCREF(obj);
3727 return Py_BuildValue((char *)"");
3728}
c32bde28 3729static int _wrap_ChoiceNameStr_set(PyObject *) {
b2dc1044
RD
3730 PyErr_SetString(PyExc_TypeError,"Variable ChoiceNameStr is read-only.");
3731 return 1;
3732}
3733
3734
093d3ff1 3735static PyObject *_wrap_ChoiceNameStr_get(void) {
b2dc1044
RD
3736 PyObject *pyobj;
3737
3738 {
3739#if wxUSE_UNICODE
3740 pyobj = PyUnicode_FromWideChar((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
3741#else
3742 pyobj = PyString_FromStringAndSize((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
3743#endif
3744 }
3745 return pyobj;
3746}
3747
3748
c32bde28 3749static PyObject *_wrap_new_Choice(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3750 PyObject *resultobj;
3751 wxWindow *arg1 = (wxWindow *) 0 ;
a95a7133 3752 int arg2 = (int) -1 ;
d14a1e28
RD
3753 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3754 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3755 wxSize const &arg4_defvalue = wxDefaultSize ;
3756 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4d5c3d91
RD
3757 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
3758 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
3759 long arg6 = (long) 0 ;
3760 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3761 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3762 wxString const &arg8_defvalue = wxPyChoiceNameStr ;
3763 wxString *arg8 = (wxString *) &arg8_defvalue ;
d14a1e28
RD
3764 wxChoice *result;
3765 wxPoint temp3 ;
3766 wxSize temp4 ;
ae8162c8
RD
3767 bool temp5 = false ;
3768 bool temp8 = false ;
d14a1e28 3769 PyObject * obj0 = 0 ;
994141e6 3770 PyObject * obj1 = 0 ;
d14a1e28
RD
3771 PyObject * obj2 = 0 ;
3772 PyObject * obj3 = 0 ;
3773 PyObject * obj4 = 0 ;
994141e6 3774 PyObject * obj5 = 0 ;
d14a1e28
RD
3775 PyObject * obj6 = 0 ;
3776 PyObject * obj7 = 0 ;
3777 char *kwnames[] = {
3778 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3779 };
3780
a95a7133 3781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Choice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
3782 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3783 if (SWIG_arg_fail(1)) SWIG_fail;
a95a7133 3784 if (obj1) {
093d3ff1
RD
3785 {
3786 arg2 = (int)(SWIG_As_int(obj1));
3787 if (SWIG_arg_fail(2)) SWIG_fail;
3788 }
a95a7133 3789 }
d14a1e28
RD
3790 if (obj2) {
3791 {
3792 arg3 = &temp3;
3793 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3794 }
3795 }
3796 if (obj3) {
3797 {
3798 arg4 = &temp4;
3799 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3800 }
3801 }
3802 if (obj4) {
3803 {
4d5c3d91
RD
3804 if (! PySequence_Check(obj4)) {
3805 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
3806 SWIG_fail;
3807 }
3808 arg5 = new wxArrayString;
ae8162c8 3809 temp5 = true;
4d5c3d91
RD
3810 int i, len=PySequence_Length(obj4);
3811 for (i=0; i<len; i++) {
3812 PyObject* item = PySequence_GetItem(obj4, i);
3813#if wxUSE_UNICODE
3814 PyObject* str = PyObject_Unicode(item);
3815#else
3816 PyObject* str = PyObject_Str(item);
3817#endif
74a57fcd 3818 if (PyErr_Occurred()) SWIG_fail;
4d5c3d91
RD
3819 arg5->Add(Py2wxString(str));
3820 Py_DECREF(item);
3821 Py_DECREF(str);
3822 }
d14a1e28
RD
3823 }
3824 }
994141e6 3825 if (obj5) {
093d3ff1
RD
3826 {
3827 arg6 = (long)(SWIG_As_long(obj5));
3828 if (SWIG_arg_fail(6)) SWIG_fail;
3829 }
994141e6 3830 }
d14a1e28 3831 if (obj6) {
093d3ff1
RD
3832 {
3833 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
3834 if (SWIG_arg_fail(7)) SWIG_fail;
3835 if (arg7 == NULL) {
3836 SWIG_null_ref("wxValidator");
3837 }
3838 if (SWIG_arg_fail(7)) SWIG_fail;
d14a1e28
RD
3839 }
3840 }
3841 if (obj7) {
3842 {
4d5c3d91
RD
3843 arg8 = wxString_in_helper(obj7);
3844 if (arg8 == NULL) SWIG_fail;
ae8162c8 3845 temp8 = true;
d14a1e28
RD
3846 }
3847 }
3848 {
e3b71cb8 3849 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 3850 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 3851 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
d14a1e28
RD
3852
3853 wxPyEndAllowThreads(__tstate);
110da5b0 3854 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 3855 }
15afbcd0 3856 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
d14a1e28 3857 {
3adfb63b 3858 if (temp5) delete arg5;
d14a1e28
RD
3859 }
3860 {
3861 if (temp8)
4d5c3d91 3862 delete arg8;
d14a1e28
RD
3863 }
3864 return resultobj;
3865 fail:
3866 {
3adfb63b 3867 if (temp5) delete arg5;
d14a1e28
RD
3868 }
3869 {
3870 if (temp8)
4d5c3d91 3871 delete arg8;
d14a1e28
RD
3872 }
3873 return NULL;
3874}
3875
3876
c32bde28 3877static PyObject *_wrap_new_PreChoice(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3878 PyObject *resultobj;
3879 wxChoice *result;
3880 char *kwnames[] = {
3881 NULL
3882 };
3883
3884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoice",kwnames)) goto fail;
3885 {
e3b71cb8 3886 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
3887 PyThreadState* __tstate = wxPyBeginAllowThreads();
3888 result = (wxChoice *)new wxChoice();
3889
3890 wxPyEndAllowThreads(__tstate);
110da5b0 3891 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 3892 }
15afbcd0 3893 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
d14a1e28
RD
3894 return resultobj;
3895 fail:
3896 return NULL;
3897}
3898
3899
c32bde28 3900static PyObject *_wrap_Choice_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3901 PyObject *resultobj;
3902 wxChoice *arg1 = (wxChoice *) 0 ;
3903 wxWindow *arg2 = (wxWindow *) 0 ;
a95a7133 3904 int arg3 = (int) -1 ;
d14a1e28
RD
3905 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3906 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3907 wxSize const &arg5_defvalue = wxDefaultSize ;
3908 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4d5c3d91
RD
3909 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
3910 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
3911 long arg7 = (long) 0 ;
3912 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3913 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3914 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
3915 wxString *arg9 = (wxString *) &arg9_defvalue ;
d14a1e28
RD
3916 bool result;
3917 wxPoint temp4 ;
3918 wxSize temp5 ;
ae8162c8
RD
3919 bool temp6 = false ;
3920 bool temp9 = false ;
d14a1e28
RD
3921 PyObject * obj0 = 0 ;
3922 PyObject * obj1 = 0 ;
994141e6 3923 PyObject * obj2 = 0 ;
d14a1e28
RD
3924 PyObject * obj3 = 0 ;
3925 PyObject * obj4 = 0 ;
3926 PyObject * obj5 = 0 ;
994141e6 3927 PyObject * obj6 = 0 ;
d14a1e28
RD
3928 PyObject * obj7 = 0 ;
3929 PyObject * obj8 = 0 ;
3930 char *kwnames[] = {
3931 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3932 };
3933
a95a7133 3934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Choice_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
3935 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoice, SWIG_POINTER_EXCEPTION | 0);
3936 if (SWIG_arg_fail(1)) SWIG_fail;
3937 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3938 if (SWIG_arg_fail(2)) SWIG_fail;
a95a7133 3939 if (obj2) {
093d3ff1
RD
3940 {
3941 arg3 = (int)(SWIG_As_int(obj2));
3942 if (SWIG_arg_fail(3)) SWIG_fail;
3943 }
a95a7133 3944 }
d14a1e28
RD
3945 if (obj3) {
3946 {
3947 arg4 = &temp4;
3948 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3949 }
3950 }
3951 if (obj4) {
3952 {
3953 arg5 = &temp5;
3954 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3955 }
3956 }
3957 if (obj5) {
3958 {
4d5c3d91
RD
3959 if (! PySequence_Check(obj5)) {
3960 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
3961 SWIG_fail;
3962 }
3963 arg6 = new wxArrayString;
ae8162c8 3964 temp6 = true;
4d5c3d91
RD
3965 int i, len=PySequence_Length(obj5);
3966 for (i=0; i<len; i++) {
3967 PyObject* item = PySequence_GetItem(obj5, i);
3968#if wxUSE_UNICODE
3969 PyObject* str = PyObject_Unicode(item);
3970#else
3971 PyObject* str = PyObject_Str(item);
3972#endif
74a57fcd 3973 if (PyErr_Occurred()) SWIG_fail;
4d5c3d91
RD
3974 arg6->Add(Py2wxString(str));
3975 Py_DECREF(item);
3976 Py_DECREF(str);
3977 }
d14a1e28
RD
3978 }
3979 }
994141e6 3980 if (obj6) {
093d3ff1
RD
3981 {
3982 arg7 = (long)(SWIG_As_long(obj6));
3983 if (SWIG_arg_fail(7)) SWIG_fail;
3984 }
994141e6 3985 }
d14a1e28 3986 if (obj7) {
093d3ff1
RD
3987 {
3988 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
3989 if (SWIG_arg_fail(8)) SWIG_fail;
3990 if (arg8 == NULL) {
3991 SWIG_null_ref("wxValidator");
3992 }
3993 if (SWIG_arg_fail(8)) SWIG_fail;
d14a1e28
RD
3994 }
3995 }
3996 if (obj8) {
3997 {
4d5c3d91
RD
3998 arg9 = wxString_in_helper(obj8);
3999 if (arg9 == NULL) SWIG_fail;
ae8162c8 4000 temp9 = true;
d14a1e28
RD
4001 }
4002 }
4003 {
4004 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 4005 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
d14a1e28
RD
4006
4007 wxPyEndAllowThreads(__tstate);
4008 if (PyErr_Occurred()) SWIG_fail;
4009 }
4f89f6a3
RD
4010 {
4011 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4012 }
d14a1e28 4013 {
3adfb63b 4014 if (temp6) delete arg6;
d14a1e28
RD
4015 }
4016 {
4017 if (temp9)
4d5c3d91 4018 delete arg9;
d14a1e28
RD
4019 }
4020 return resultobj;
4021 fail:
4022 {
3adfb63b 4023 if (temp6) delete arg6;
d14a1e28
RD
4024 }
4025 {
4026 if (temp9)
4d5c3d91 4027 delete arg9;
d14a1e28
RD
4028 }
4029 return NULL;
4030}
4031
4032
c32bde28 4033static PyObject *_wrap_Choice_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4034 PyObject *resultobj;
4035 wxChoice *arg1 = (wxChoice *) 0 ;
4036 int arg2 ;
4037 PyObject * obj0 = 0 ;
994141e6 4038 PyObject * obj1 = 0 ;
d14a1e28
RD
4039 char *kwnames[] = {
4040 (char *) "self",(char *) "n", NULL
4041 };
4042
994141e6 4043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4044 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoice, SWIG_POINTER_EXCEPTION | 0);
4045 if (SWIG_arg_fail(1)) SWIG_fail;
4046 {
4047 arg2 = (int const)(SWIG_As_int(obj1));
4048 if (SWIG_arg_fail(2)) SWIG_fail;
4049 }
d14a1e28
RD
4050 {
4051 PyThreadState* __tstate = wxPyBeginAllowThreads();
4052 (arg1)->SetSelection(arg2);
4053
4054 wxPyEndAllowThreads(__tstate);
4055 if (PyErr_Occurred()) SWIG_fail;
4056 }
4057 Py_INCREF(Py_None); resultobj = Py_None;
4058 return resultobj;
4059 fail:
4060 return NULL;
4061}
4062
4063
c32bde28 4064static PyObject *_wrap_Choice_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4065 PyObject *resultobj;
4066 wxChoice *arg1 = (wxChoice *) 0 ;
4067 wxString *arg2 = 0 ;
121b9a67 4068 bool result;
ae8162c8 4069 bool temp2 = false ;
d14a1e28
RD
4070 PyObject * obj0 = 0 ;
4071 PyObject * obj1 = 0 ;
4072 char *kwnames[] = {
4073 (char *) "self",(char *) "string", NULL
4074 };
4075
4076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4077 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoice, SWIG_POINTER_EXCEPTION | 0);
4078 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4079 {
4080 arg2 = wxString_in_helper(obj1);
4081 if (arg2 == NULL) SWIG_fail;
ae8162c8 4082 temp2 = true;
d14a1e28
RD
4083 }
4084 {
4085 PyThreadState* __tstate = wxPyBeginAllowThreads();
121b9a67 4086 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
d14a1e28
RD
4087
4088 wxPyEndAllowThreads(__tstate);
4089 if (PyErr_Occurred()) SWIG_fail;
4090 }
121b9a67
RD
4091 {
4092 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4093 }
d14a1e28
RD
4094 {
4095 if (temp2)
4096 delete arg2;
4097 }
4098 return resultobj;
4099 fail:
4100 {
4101 if (temp2)
4102 delete arg2;
4103 }
4104 return NULL;
4105}
4106
4107
c32bde28 4108static PyObject *_wrap_Choice_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4109 PyObject *resultobj;
4110 wxChoice *arg1 = (wxChoice *) 0 ;
4111 int arg2 ;
4112 wxString *arg3 = 0 ;
ae8162c8 4113 bool temp3 = false ;
d14a1e28 4114 PyObject * obj0 = 0 ;
994141e6 4115 PyObject * obj1 = 0 ;
d14a1e28
RD
4116 PyObject * obj2 = 0 ;
4117 char *kwnames[] = {
fcafa8a9 4118 (char *) "self",(char *) "n",(char *) "string", NULL
d14a1e28
RD
4119 };
4120
994141e6 4121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Choice_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
4122 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoice, SWIG_POINTER_EXCEPTION | 0);
4123 if (SWIG_arg_fail(1)) SWIG_fail;
4124 {
4125 arg2 = (int)(SWIG_As_int(obj1));
4126 if (SWIG_arg_fail(2)) SWIG_fail;
4127 }
d14a1e28
RD
4128 {
4129 arg3 = wxString_in_helper(obj2);
4130 if (arg3 == NULL) SWIG_fail;
ae8162c8 4131 temp3 = true;
d14a1e28
RD
4132 }
4133 {
4134 PyThreadState* __tstate = wxPyBeginAllowThreads();
4135 (arg1)->SetString(arg2,(wxString const &)*arg3);
4136
4137 wxPyEndAllowThreads(__tstate);
4138 if (PyErr_Occurred()) SWIG_fail;
4139 }
4140 Py_INCREF(Py_None); resultobj = Py_None;
4141 {
4142 if (temp3)
4143 delete arg3;
4144 }
4145 return resultobj;
4146 fail:
4147 {
4148 if (temp3)
4149 delete arg3;
4150 }
4151 return NULL;
4152}
4153
4154
c32bde28 4155static PyObject *_wrap_Choice_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c 4156 PyObject *resultobj;
093d3ff1 4157 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
4158 wxVisualAttributes result;
4159 PyObject * obj0 = 0 ;
4160 char *kwnames[] = {
4161 (char *) "variant", NULL
4162 };
4163
4164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4165 if (obj0) {
093d3ff1
RD
4166 {
4167 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
4168 if (SWIG_arg_fail(1)) SWIG_fail;
4169 }
22bfe96c
RD
4170 }
4171 {
110da5b0 4172 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
4173 PyThreadState* __tstate = wxPyBeginAllowThreads();
4174 result = wxChoice::GetClassDefaultAttributes((wxWindowVariant )arg1);
4175
4176 wxPyEndAllowThreads(__tstate);
dfbb5885 4177 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
4178 }
4179 {
4180 wxVisualAttributes * resultptr;
093d3ff1 4181 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
22bfe96c
RD
4182 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4183 }
4184 return resultobj;
4185 fail:
4186 return NULL;
4187}
4188
4189
c32bde28 4190static PyObject * Choice_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
4191 PyObject *obj;
4192 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4193 SWIG_TypeClientData(SWIGTYPE_p_wxChoice, obj);
4194 Py_INCREF(obj);
4195 return Py_BuildValue((char *)"");
4196}
c32bde28 4197static int _wrap_ComboBoxNameStr_set(PyObject *) {
b2dc1044
RD
4198 PyErr_SetString(PyExc_TypeError,"Variable ComboBoxNameStr is read-only.");
4199 return 1;
4200}
4201
4202
093d3ff1 4203static PyObject *_wrap_ComboBoxNameStr_get(void) {
b2dc1044
RD
4204 PyObject *pyobj;
4205
4206 {
4207#if wxUSE_UNICODE
4208 pyobj = PyUnicode_FromWideChar((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
4209#else
4210 pyobj = PyString_FromStringAndSize((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
4211#endif
4212 }
4213 return pyobj;
4214}
4215
4216
c32bde28 4217static PyObject *_wrap_new_ComboBox(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4218 PyObject *resultobj;
4219 wxWindow *arg1 = (wxWindow *) 0 ;
a95a7133 4220 int arg2 = (int) -1 ;
d14a1e28
RD
4221 wxString const &arg3_defvalue = wxPyEmptyString ;
4222 wxString *arg3 = (wxString *) &arg3_defvalue ;
4223 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4224 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4225 wxSize const &arg5_defvalue = wxDefaultSize ;
4226 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4d5c3d91
RD
4227 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
4228 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
4229 long arg7 = (long) 0 ;
4230 wxValidator const &arg8_defvalue = wxDefaultValidator ;
4231 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
4232 wxString const &arg9_defvalue = wxPyComboBoxNameStr ;
4233 wxString *arg9 = (wxString *) &arg9_defvalue ;
d14a1e28 4234 wxComboBox *result;
ae8162c8 4235 bool temp3 = false ;
d14a1e28
RD
4236 wxPoint temp4 ;
4237 wxSize temp5 ;
ae8162c8
RD
4238 bool temp6 = false ;
4239 bool temp9 = false ;
d14a1e28 4240 PyObject * obj0 = 0 ;
994141e6 4241 PyObject * obj1 = 0 ;
d14a1e28
RD
4242 PyObject * obj2 = 0 ;
4243 PyObject * obj3 = 0 ;
4244 PyObject * obj4 = 0 ;
4245 PyObject * obj5 = 0 ;
994141e6 4246 PyObject * obj6 = 0 ;
d14a1e28
RD
4247 PyObject * obj7 = 0 ;
4248 PyObject * obj8 = 0 ;
4249 char *kwnames[] = {
4250 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4251 };
4252
a95a7133 4253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_ComboBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
4254 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4255 if (SWIG_arg_fail(1)) SWIG_fail;
a95a7133 4256 if (obj1) {
093d3ff1
RD
4257 {
4258 arg2 = (int)(SWIG_As_int(obj1));
4259 if (SWIG_arg_fail(2)) SWIG_fail;
4260 }
a95a7133 4261 }
d14a1e28
RD
4262 if (obj2) {
4263 {
4264 arg3 = wxString_in_helper(obj2);
4265 if (arg3 == NULL) SWIG_fail;
ae8162c8 4266 temp3 = true;
d14a1e28
RD
4267 }
4268 }
4269 if (obj3) {
4270 {
4271 arg4 = &temp4;
4272 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4273 }
4274 }
4275 if (obj4) {
4276 {
4277 arg5 = &temp5;
4278 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4279 }
4280 }
4281 if (obj5) {
4282 {
4d5c3d91
RD
4283 if (! PySequence_Check(obj5)) {
4284 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4285 SWIG_fail;
4286 }
4287 arg6 = new wxArrayString;
ae8162c8 4288 temp6 = true;
4d5c3d91
RD
4289 int i, len=PySequence_Length(obj5);
4290 for (i=0; i<len; i++) {
4291 PyObject* item = PySequence_GetItem(obj5, i);
4292#if wxUSE_UNICODE
4293 PyObject* str = PyObject_Unicode(item);
4294#else
4295 PyObject* str = PyObject_Str(item);
4296#endif
74a57fcd 4297 if (PyErr_Occurred()) SWIG_fail;
4d5c3d91
RD
4298 arg6->Add(Py2wxString(str));
4299 Py_DECREF(item);
4300 Py_DECREF(str);
4301 }
d14a1e28
RD
4302 }
4303 }
994141e6 4304 if (obj6) {
093d3ff1
RD
4305 {
4306 arg7 = (long)(SWIG_As_long(obj6));
4307 if (SWIG_arg_fail(7)) SWIG_fail;
4308 }
994141e6 4309 }
d14a1e28 4310 if (obj7) {
093d3ff1
RD
4311 {
4312 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
4313 if (SWIG_arg_fail(8)) SWIG_fail;
4314 if (arg8 == NULL) {
4315 SWIG_null_ref("wxValidator");
4316 }
4317 if (SWIG_arg_fail(8)) SWIG_fail;
d14a1e28
RD
4318 }
4319 }
4320 if (obj8) {
4321 {
4d5c3d91
RD
4322 arg9 = wxString_in_helper(obj8);
4323 if (arg9 == NULL) SWIG_fail;
ae8162c8 4324 temp9 = true;
d14a1e28
RD
4325 }
4326 }
4327 {
e3b71cb8 4328 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 4329 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 4330 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);
d14a1e28
RD
4331
4332 wxPyEndAllowThreads(__tstate);
110da5b0 4333 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 4334 }
15afbcd0 4335 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
d14a1e28
RD
4336 {
4337 if (temp3)
4338 delete arg3;
4339 }
4340 {
3adfb63b 4341 if (temp6) delete arg6;
d14a1e28
RD
4342 }
4343 {
4344 if (temp9)
4d5c3d91 4345 delete arg9;
d14a1e28
RD
4346 }
4347 return resultobj;
4348 fail:
4349 {
4350 if (temp3)
4351 delete arg3;
4352 }
4353 {
3adfb63b 4354 if (temp6) delete arg6;
d14a1e28
RD
4355 }
4356 {
4357 if (temp9)
4d5c3d91 4358 delete arg9;
d14a1e28
RD
4359 }
4360 return NULL;
4361}
4362
4363
c32bde28 4364static PyObject *_wrap_new_PreComboBox(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4365 PyObject *resultobj;
4366 wxComboBox *result;
4367 char *kwnames[] = {
4368 NULL
4369 };
4370
4371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreComboBox",kwnames)) goto fail;
4372 {
e3b71cb8 4373 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
4374 PyThreadState* __tstate = wxPyBeginAllowThreads();
4375 result = (wxComboBox *)new wxComboBox();
4376
4377 wxPyEndAllowThreads(__tstate);
110da5b0 4378 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 4379 }
15afbcd0 4380 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
d14a1e28
RD
4381 return resultobj;
4382 fail:
4383 return NULL;
4384}
4385
4386
c32bde28 4387static PyObject *_wrap_ComboBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4388 PyObject *resultobj;
4389 wxComboBox *arg1 = (wxComboBox *) 0 ;
4390 wxWindow *arg2 = (wxWindow *) 0 ;
a95a7133 4391 int arg3 = (int) -1 ;
d14a1e28
RD
4392 wxString const &arg4_defvalue = wxPyEmptyString ;
4393 wxString *arg4 = (wxString *) &arg4_defvalue ;
4394 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4395 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4396 wxSize const &arg6_defvalue = wxDefaultSize ;
4397 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4d5c3d91
RD
4398 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
4399 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
4400 long arg8 = (long) 0 ;
4401 wxValidator const &arg9_defvalue = wxDefaultValidator ;
4402 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
b88bce5f 4403 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
4d5c3d91 4404 wxString *arg10 = (wxString *) &arg10_defvalue ;
d14a1e28 4405 bool result;
ae8162c8 4406 bool temp4 = false ;
d14a1e28
RD
4407 wxPoint temp5 ;
4408 wxSize temp6 ;
ae8162c8
RD
4409 bool temp7 = false ;
4410 bool temp10 = false ;
d14a1e28
RD
4411 PyObject * obj0 = 0 ;
4412 PyObject * obj1 = 0 ;
994141e6 4413 PyObject * obj2 = 0 ;
d14a1e28
RD
4414 PyObject * obj3 = 0 ;
4415 PyObject * obj4 = 0 ;
4416 PyObject * obj5 = 0 ;
4417 PyObject * obj6 = 0 ;
994141e6 4418 PyObject * obj7 = 0 ;
d14a1e28
RD
4419 PyObject * obj8 = 0 ;
4420 PyObject * obj9 = 0 ;
4421 char *kwnames[] = {
4422 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4423 };
4424
a95a7133 4425 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
4426 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4427 if (SWIG_arg_fail(1)) SWIG_fail;
4428 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4429 if (SWIG_arg_fail(2)) SWIG_fail;
a95a7133 4430 if (obj2) {
093d3ff1
RD
4431 {
4432 arg3 = (int)(SWIG_As_int(obj2));
4433 if (SWIG_arg_fail(3)) SWIG_fail;
4434 }
a95a7133 4435 }
d14a1e28
RD
4436 if (obj3) {
4437 {
4438 arg4 = wxString_in_helper(obj3);
4439 if (arg4 == NULL) SWIG_fail;
ae8162c8 4440 temp4 = true;
d14a1e28
RD
4441 }
4442 }
4443 if (obj4) {
4444 {
4445 arg5 = &temp5;
4446 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4447 }
4448 }
4449 if (obj5) {
4450 {
4451 arg6 = &temp6;
4452 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4453 }
4454 }
4455 if (obj6) {
4456 {
4d5c3d91
RD
4457 if (! PySequence_Check(obj6)) {
4458 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4459 SWIG_fail;
4460 }
4461 arg7 = new wxArrayString;
ae8162c8 4462 temp7 = true;
4d5c3d91
RD
4463 int i, len=PySequence_Length(obj6);
4464 for (i=0; i<len; i++) {
4465 PyObject* item = PySequence_GetItem(obj6, i);
4466#if wxUSE_UNICODE
4467 PyObject* str = PyObject_Unicode(item);
4468#else
4469 PyObject* str = PyObject_Str(item);
4470#endif
74a57fcd 4471 if (PyErr_Occurred()) SWIG_fail;
4d5c3d91
RD
4472 arg7->Add(Py2wxString(str));
4473 Py_DECREF(item);
4474 Py_DECREF(str);
4475 }
d14a1e28
RD
4476 }
4477 }
994141e6 4478 if (obj7) {
093d3ff1
RD
4479 {
4480 arg8 = (long)(SWIG_As_long(obj7));
4481 if (SWIG_arg_fail(8)) SWIG_fail;
4482 }
994141e6 4483 }
d14a1e28 4484 if (obj8) {
093d3ff1
RD
4485 {
4486 SWIG_Python_ConvertPtr(obj8, (void **)&arg9, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
4487 if (SWIG_arg_fail(9)) SWIG_fail;
4488 if (arg9 == NULL) {
4489 SWIG_null_ref("wxValidator");
4490 }
4491 if (SWIG_arg_fail(9)) SWIG_fail;
d14a1e28
RD
4492 }
4493 }
4494 if (obj9) {
4495 {
4d5c3d91
RD
4496 arg10 = wxString_in_helper(obj9);
4497 if (arg10 == NULL) SWIG_fail;
ae8162c8 4498 temp10 = true;
d14a1e28
RD
4499 }
4500 }
4501 {
4502 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 4503 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);
d14a1e28
RD
4504
4505 wxPyEndAllowThreads(__tstate);
4506 if (PyErr_Occurred()) SWIG_fail;
4507 }
4f89f6a3
RD
4508 {
4509 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4510 }
d14a1e28
RD
4511 {
4512 if (temp4)
4513 delete arg4;
4514 }
4515 {
3adfb63b 4516 if (temp7) delete arg7;
d14a1e28
RD
4517 }
4518 {
4519 if (temp10)
4d5c3d91 4520 delete arg10;
d14a1e28
RD
4521 }
4522 return resultobj;
4523 fail:
4524 {
4525 if (temp4)
4526 delete arg4;
4527 }
4528 {
3adfb63b 4529 if (temp7) delete arg7;
d14a1e28
RD
4530 }
4531 {
4532 if (temp10)
4d5c3d91 4533 delete arg10;
d14a1e28
RD
4534 }
4535 return NULL;
4536}
4537
4538
c32bde28 4539static PyObject *_wrap_ComboBox_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4540 PyObject *resultobj;
4541 wxComboBox *arg1 = (wxComboBox *) 0 ;
4542 wxString result;
4543 PyObject * obj0 = 0 ;
4544 char *kwnames[] = {
4545 (char *) "self", NULL
4546 };
4547
4548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
4549 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4550 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4551 {
4552 PyThreadState* __tstate = wxPyBeginAllowThreads();
4553 result = ((wxComboBox const *)arg1)->GetValue();
4554
4555 wxPyEndAllowThreads(__tstate);
4556 if (PyErr_Occurred()) SWIG_fail;
4557 }
4558 {
4559#if wxUSE_UNICODE
4560 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4561#else
4562 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4563#endif
4564 }
4565 return resultobj;
4566 fail:
4567 return NULL;
4568}
4569
4570
c32bde28 4571static PyObject *_wrap_ComboBox_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4572 PyObject *resultobj;
4573 wxComboBox *arg1 = (wxComboBox *) 0 ;
4574 wxString *arg2 = 0 ;
ae8162c8 4575 bool temp2 = false ;
d14a1e28
RD
4576 PyObject * obj0 = 0 ;
4577 PyObject * obj1 = 0 ;
4578 char *kwnames[] = {
4579 (char *) "self",(char *) "value", NULL
4580 };
4581
4582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4583 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4584 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4585 {
4586 arg2 = wxString_in_helper(obj1);
4587 if (arg2 == NULL) SWIG_fail;
ae8162c8 4588 temp2 = true;
d14a1e28
RD
4589 }
4590 {
4591 PyThreadState* __tstate = wxPyBeginAllowThreads();
4592 (arg1)->SetValue((wxString const &)*arg2);
4593
4594 wxPyEndAllowThreads(__tstate);
4595 if (PyErr_Occurred()) SWIG_fail;
4596 }
4597 Py_INCREF(Py_None); resultobj = Py_None;
4598 {
4599 if (temp2)
4600 delete arg2;
4601 }
4602 return resultobj;
4603 fail:
4604 {
4605 if (temp2)
4606 delete arg2;
4607 }
4608 return NULL;
4609}
4610
4611
c32bde28 4612static PyObject *_wrap_ComboBox_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4613 PyObject *resultobj;
4614 wxComboBox *arg1 = (wxComboBox *) 0 ;
4615 PyObject * obj0 = 0 ;
4616 char *kwnames[] = {
4617 (char *) "self", NULL
4618 };
4619
4620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Copy",kwnames,&obj0)) goto fail;
093d3ff1
RD
4621 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4622 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4623 {
4624 PyThreadState* __tstate = wxPyBeginAllowThreads();
4625 (arg1)->Copy();
4626
4627 wxPyEndAllowThreads(__tstate);
4628 if (PyErr_Occurred()) SWIG_fail;
4629 }
4630 Py_INCREF(Py_None); resultobj = Py_None;
4631 return resultobj;
4632 fail:
4633 return NULL;
4634}
4635
4636
c32bde28 4637static PyObject *_wrap_ComboBox_Cut(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4638 PyObject *resultobj;
4639 wxComboBox *arg1 = (wxComboBox *) 0 ;
4640 PyObject * obj0 = 0 ;
4641 char *kwnames[] = {
4642 (char *) "self", NULL
4643 };
4644
4645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Cut",kwnames,&obj0)) goto fail;
093d3ff1
RD
4646 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4647 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4648 {
4649 PyThreadState* __tstate = wxPyBeginAllowThreads();
4650 (arg1)->Cut();
4651
4652 wxPyEndAllowThreads(__tstate);
4653 if (PyErr_Occurred()) SWIG_fail;
4654 }
4655 Py_INCREF(Py_None); resultobj = Py_None;
4656 return resultobj;
4657 fail:
4658 return NULL;
4659}
4660
4661
c32bde28 4662static PyObject *_wrap_ComboBox_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4663 PyObject *resultobj;
4664 wxComboBox *arg1 = (wxComboBox *) 0 ;
4665 PyObject * obj0 = 0 ;
4666 char *kwnames[] = {
4667 (char *) "self", NULL
4668 };
4669
4670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Paste",kwnames,&obj0)) goto fail;
093d3ff1
RD
4671 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4672 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4673 {
4674 PyThreadState* __tstate = wxPyBeginAllowThreads();
4675 (arg1)->Paste();
4676
4677 wxPyEndAllowThreads(__tstate);
4678 if (PyErr_Occurred()) SWIG_fail;
4679 }
4680 Py_INCREF(Py_None); resultobj = Py_None;
4681 return resultobj;
4682 fail:
4683 return NULL;
4684}
4685
4686
c32bde28 4687static PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4688 PyObject *resultobj;
4689 wxComboBox *arg1 = (wxComboBox *) 0 ;
4690 long arg2 ;
4691 PyObject * obj0 = 0 ;
994141e6 4692 PyObject * obj1 = 0 ;
d14a1e28
RD
4693 char *kwnames[] = {
4694 (char *) "self",(char *) "pos", NULL
4695 };
4696
994141e6 4697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4698 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4699 if (SWIG_arg_fail(1)) SWIG_fail;
4700 {
4701 arg2 = (long)(SWIG_As_long(obj1));
4702 if (SWIG_arg_fail(2)) SWIG_fail;
4703 }
d14a1e28
RD
4704 {
4705 PyThreadState* __tstate = wxPyBeginAllowThreads();
4706 (arg1)->SetInsertionPoint(arg2);
4707
4708 wxPyEndAllowThreads(__tstate);
4709 if (PyErr_Occurred()) SWIG_fail;
4710 }
4711 Py_INCREF(Py_None); resultobj = Py_None;
4712 return resultobj;
4713 fail:
4714 return NULL;
4715}
4716
4717
c32bde28 4718static PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4719 PyObject *resultobj;
4720 wxComboBox *arg1 = (wxComboBox *) 0 ;
4721 long result;
4722 PyObject * obj0 = 0 ;
4723 char *kwnames[] = {
4724 (char *) "self", NULL
4725 };
4726
4727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetInsertionPoint",kwnames,&obj0)) goto fail;
093d3ff1
RD
4728 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4729 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4730 {
4731 PyThreadState* __tstate = wxPyBeginAllowThreads();
4732 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
4733
4734 wxPyEndAllowThreads(__tstate);
4735 if (PyErr_Occurred()) SWIG_fail;
4736 }
093d3ff1
RD
4737 {
4738 resultobj = SWIG_From_long((long)(result));
4739 }
d14a1e28
RD
4740 return resultobj;
4741 fail:
4742 return NULL;
4743}
4744
4745
c32bde28 4746static PyObject *_wrap_ComboBox_GetLastPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4747 PyObject *resultobj;
4748 wxComboBox *arg1 = (wxComboBox *) 0 ;
4749 long result;
4750 PyObject * obj0 = 0 ;
4751 char *kwnames[] = {
4752 (char *) "self", NULL
4753 };
4754
4755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetLastPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
4756 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4757 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4758 {
4759 PyThreadState* __tstate = wxPyBeginAllowThreads();
4760 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
4761
4762 wxPyEndAllowThreads(__tstate);
4763 if (PyErr_Occurred()) SWIG_fail;
4764 }
093d3ff1
RD
4765 {
4766 resultobj = SWIG_From_long((long)(result));
4767 }
d14a1e28
RD
4768 return resultobj;
4769 fail:
4770 return NULL;
4771}
4772
4773
c32bde28 4774static PyObject *_wrap_ComboBox_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4775 PyObject *resultobj;
4776 wxComboBox *arg1 = (wxComboBox *) 0 ;
4777 long arg2 ;
4778 long arg3 ;
4779 wxString *arg4 = 0 ;
ae8162c8 4780 bool temp4 = false ;
d14a1e28 4781 PyObject * obj0 = 0 ;
994141e6
RD
4782 PyObject * obj1 = 0 ;
4783 PyObject * obj2 = 0 ;
d14a1e28
RD
4784 PyObject * obj3 = 0 ;
4785 char *kwnames[] = {
4786 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
4787 };
4788
994141e6 4789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ComboBox_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
4790 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4791 if (SWIG_arg_fail(1)) SWIG_fail;
4792 {
4793 arg2 = (long)(SWIG_As_long(obj1));
4794 if (SWIG_arg_fail(2)) SWIG_fail;
4795 }
4796 {
4797 arg3 = (long)(SWIG_As_long(obj2));
4798 if (SWIG_arg_fail(3)) SWIG_fail;
4799 }
d14a1e28
RD
4800 {
4801 arg4 = wxString_in_helper(obj3);
4802 if (arg4 == NULL) SWIG_fail;
ae8162c8 4803 temp4 = true;
d14a1e28
RD
4804 }
4805 {
4806 PyThreadState* __tstate = wxPyBeginAllowThreads();
4807 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
4808
4809 wxPyEndAllowThreads(__tstate);
4810 if (PyErr_Occurred()) SWIG_fail;
4811 }
4812 Py_INCREF(Py_None); resultobj = Py_None;
4813 {
4814 if (temp4)
4815 delete arg4;
4816 }
4817 return resultobj;
4818 fail:
4819 {
4820 if (temp4)
4821 delete arg4;
4822 }
4823 return NULL;
4824}
4825
4826
c32bde28 4827static PyObject *_wrap_ComboBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
fd3f2efe
RD
4828 PyObject *resultobj;
4829 wxComboBox *arg1 = (wxComboBox *) 0 ;
4830 int arg2 ;
4831 PyObject * obj0 = 0 ;
994141e6 4832 PyObject * obj1 = 0 ;
fd3f2efe
RD
4833 char *kwnames[] = {
4834 (char *) "self",(char *) "n", NULL
4835 };
4836
994141e6 4837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4838 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4839 if (SWIG_arg_fail(1)) SWIG_fail;
4840 {
4841 arg2 = (int)(SWIG_As_int(obj1));
4842 if (SWIG_arg_fail(2)) SWIG_fail;
4843 }
fd3f2efe
RD
4844 {
4845 PyThreadState* __tstate = wxPyBeginAllowThreads();
4846 (arg1)->SetSelection(arg2);
4847
4848 wxPyEndAllowThreads(__tstate);
4849 if (PyErr_Occurred()) SWIG_fail;
4850 }
4851 Py_INCREF(Py_None); resultobj = Py_None;
4852 return resultobj;
4853 fail:
4854 return NULL;
4855}
4856
4857
c32bde28 4858static PyObject *_wrap_ComboBox_SetMark(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4859 PyObject *resultobj;
4860 wxComboBox *arg1 = (wxComboBox *) 0 ;
4861 long arg2 ;
4862 long arg3 ;
4863 PyObject * obj0 = 0 ;
994141e6
RD
4864 PyObject * obj1 = 0 ;
4865 PyObject * obj2 = 0 ;
d14a1e28
RD
4866 char *kwnames[] = {
4867 (char *) "self",(char *) "from",(char *) "to", NULL
4868 };
4869
994141e6 4870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetMark",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
4871 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4872 if (SWIG_arg_fail(1)) SWIG_fail;
4873 {
4874 arg2 = (long)(SWIG_As_long(obj1));
4875 if (SWIG_arg_fail(2)) SWIG_fail;
4876 }
4877 {
4878 arg3 = (long)(SWIG_As_long(obj2));
4879 if (SWIG_arg_fail(3)) SWIG_fail;
4880 }
d14a1e28
RD
4881 {
4882 PyThreadState* __tstate = wxPyBeginAllowThreads();
4883 (arg1)->SetSelection(arg2,arg3);
4884
4885 wxPyEndAllowThreads(__tstate);
4886 if (PyErr_Occurred()) SWIG_fail;
4887 }
4888 Py_INCREF(Py_None); resultobj = Py_None;
4889 return resultobj;
4890 fail:
4891 return NULL;
4892}
4893
4894
c32bde28 4895static PyObject *_wrap_ComboBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
121b9a67
RD
4896 PyObject *resultobj;
4897 wxComboBox *arg1 = (wxComboBox *) 0 ;
4898 wxString *arg2 = 0 ;
4899 bool result;
ae8162c8 4900 bool temp2 = false ;
121b9a67
RD
4901 PyObject * obj0 = 0 ;
4902 PyObject * obj1 = 0 ;
4903 char *kwnames[] = {
4904 (char *) "self",(char *) "string", NULL
4905 };
4906
4907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4908 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4909 if (SWIG_arg_fail(1)) SWIG_fail;
121b9a67
RD
4910 {
4911 arg2 = wxString_in_helper(obj1);
4912 if (arg2 == NULL) SWIG_fail;
ae8162c8 4913 temp2 = true;
121b9a67
RD
4914 }
4915 {
4916 PyThreadState* __tstate = wxPyBeginAllowThreads();
4917 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
4918
4919 wxPyEndAllowThreads(__tstate);
4920 if (PyErr_Occurred()) SWIG_fail;
4921 }
4922 {
4923 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4924 }
4925 {
4926 if (temp2)
4927 delete arg2;
4928 }
4929 return resultobj;
4930 fail:
4931 {
4932 if (temp2)
4933 delete arg2;
4934 }
4935 return NULL;
4936}
4937
4938
c32bde28 4939static PyObject *_wrap_ComboBox_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
121b9a67
RD
4940 PyObject *resultobj;
4941 wxComboBox *arg1 = (wxComboBox *) 0 ;
4942 int arg2 ;
4943 wxString *arg3 = 0 ;
ae8162c8 4944 bool temp3 = false ;
121b9a67
RD
4945 PyObject * obj0 = 0 ;
4946 PyObject * obj1 = 0 ;
4947 PyObject * obj2 = 0 ;
4948 char *kwnames[] = {
4949 (char *) "self",(char *) "n",(char *) "string", NULL
4950 };
4951
4952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
4953 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4954 if (SWIG_arg_fail(1)) SWIG_fail;
4955 {
4956 arg2 = (int)(SWIG_As_int(obj1));
4957 if (SWIG_arg_fail(2)) SWIG_fail;
4958 }
121b9a67
RD
4959 {
4960 arg3 = wxString_in_helper(obj2);
4961 if (arg3 == NULL) SWIG_fail;
ae8162c8 4962 temp3 = true;
121b9a67
RD
4963 }
4964 {
4965 PyThreadState* __tstate = wxPyBeginAllowThreads();
4966 (arg1)->SetString(arg2,(wxString const &)*arg3);
4967
4968 wxPyEndAllowThreads(__tstate);
4969 if (PyErr_Occurred()) SWIG_fail;
4970 }
4971 Py_INCREF(Py_None); resultobj = Py_None;
4972 {
4973 if (temp3)
4974 delete arg3;
4975 }
4976 return resultobj;
4977 fail:
4978 {
4979 if (temp3)
4980 delete arg3;
4981 }
4982 return NULL;
4983}
4984
4985
c32bde28 4986static PyObject *_wrap_ComboBox_SetEditable(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4987 PyObject *resultobj;
4988 wxComboBox *arg1 = (wxComboBox *) 0 ;
4989 bool arg2 ;
4990 PyObject * obj0 = 0 ;
4991 PyObject * obj1 = 0 ;
4992 char *kwnames[] = {
4993 (char *) "self",(char *) "editable", NULL
4994 };
4995
4996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4997 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4998 if (SWIG_arg_fail(1)) SWIG_fail;
4999 {
5000 arg2 = (bool)(SWIG_As_bool(obj1));
5001 if (SWIG_arg_fail(2)) SWIG_fail;
5002 }
d14a1e28
RD
5003 {
5004 PyThreadState* __tstate = wxPyBeginAllowThreads();
5005 (arg1)->SetEditable(arg2);
5006
5007 wxPyEndAllowThreads(__tstate);
5008 if (PyErr_Occurred()) SWIG_fail;
5009 }
5010 Py_INCREF(Py_None); resultobj = Py_None;
5011 return resultobj;
5012 fail:
5013 return NULL;
5014}
5015
5016
c32bde28 5017static PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5018 PyObject *resultobj;
5019 wxComboBox *arg1 = (wxComboBox *) 0 ;
5020 PyObject * obj0 = 0 ;
5021 char *kwnames[] = {
5022 (char *) "self", NULL
5023 };
5024
5025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
093d3ff1
RD
5026 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5027 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5028 {
5029 PyThreadState* __tstate = wxPyBeginAllowThreads();
5030 (arg1)->SetInsertionPointEnd();
5031
5032 wxPyEndAllowThreads(__tstate);
5033 if (PyErr_Occurred()) SWIG_fail;
5034 }
5035 Py_INCREF(Py_None); resultobj = Py_None;
5036 return resultobj;
5037 fail:
5038 return NULL;
5039}
5040
5041
c32bde28 5042static PyObject *_wrap_ComboBox_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5043 PyObject *resultobj;
5044 wxComboBox *arg1 = (wxComboBox *) 0 ;
5045 long arg2 ;
5046 long arg3 ;
5047 PyObject * obj0 = 0 ;
994141e6
RD
5048 PyObject * obj1 = 0 ;
5049 PyObject * obj2 = 0 ;
d14a1e28
RD
5050 char *kwnames[] = {
5051 (char *) "self",(char *) "from",(char *) "to", NULL
5052 };
5053
994141e6 5054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
5055 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5056 if (SWIG_arg_fail(1)) SWIG_fail;
5057 {
5058 arg2 = (long)(SWIG_As_long(obj1));
5059 if (SWIG_arg_fail(2)) SWIG_fail;
5060 }
5061 {
5062 arg3 = (long)(SWIG_As_long(obj2));
5063 if (SWIG_arg_fail(3)) SWIG_fail;
5064 }
d14a1e28
RD
5065 {
5066 PyThreadState* __tstate = wxPyBeginAllowThreads();
5067 (arg1)->Remove(arg2,arg3);
5068
5069 wxPyEndAllowThreads(__tstate);
5070 if (PyErr_Occurred()) SWIG_fail;
5071 }
5072 Py_INCREF(Py_None); resultobj = Py_None;
5073 return resultobj;
5074 fail:
5075 return NULL;
5076}
5077
5078
5cbf236d
RD
5079static PyObject *_wrap_ComboBox_IsEditable(PyObject *, PyObject *args, PyObject *kwargs) {
5080 PyObject *resultobj;
5081 wxComboBox *arg1 = (wxComboBox *) 0 ;
5082 bool result;
5083 PyObject * obj0 = 0 ;
5084 char *kwnames[] = {
5085 (char *) "self", NULL
5086 };
5087
5088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_IsEditable",kwnames,&obj0)) goto fail;
093d3ff1
RD
5089 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5090 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
5091 {
5092 PyThreadState* __tstate = wxPyBeginAllowThreads();
5093 result = (bool)((wxComboBox const *)arg1)->IsEditable();
5094
5095 wxPyEndAllowThreads(__tstate);
5096 if (PyErr_Occurred()) SWIG_fail;
5097 }
5098 {
5099 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5100 }
5101 return resultobj;
5102 fail:
5103 return NULL;
5104}
5105
5106
5107static PyObject *_wrap_ComboBox_Undo(PyObject *, PyObject *args, PyObject *kwargs) {
5108 PyObject *resultobj;
5109 wxComboBox *arg1 = (wxComboBox *) 0 ;
5110 PyObject * obj0 = 0 ;
5111 char *kwnames[] = {
5112 (char *) "self", NULL
5113 };
5114
5115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Undo",kwnames,&obj0)) goto fail;
093d3ff1
RD
5116 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5117 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
5118 {
5119 PyThreadState* __tstate = wxPyBeginAllowThreads();
5120 (arg1)->Undo();
5121
5122 wxPyEndAllowThreads(__tstate);
5123 if (PyErr_Occurred()) SWIG_fail;
5124 }
5125 Py_INCREF(Py_None); resultobj = Py_None;
5126 return resultobj;
5127 fail:
5128 return NULL;
5129}
5130
5131
5132static PyObject *_wrap_ComboBox_Redo(PyObject *, PyObject *args, PyObject *kwargs) {
5133 PyObject *resultobj;
5134 wxComboBox *arg1 = (wxComboBox *) 0 ;
5135 PyObject * obj0 = 0 ;
5136 char *kwnames[] = {
5137 (char *) "self", NULL
5138 };
5139
5140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Redo",kwnames,&obj0)) goto fail;
093d3ff1
RD
5141 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5142 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
5143 {
5144 PyThreadState* __tstate = wxPyBeginAllowThreads();
5145 (arg1)->Redo();
5146
5147 wxPyEndAllowThreads(__tstate);
5148 if (PyErr_Occurred()) SWIG_fail;
5149 }
5150 Py_INCREF(Py_None); resultobj = Py_None;
5151 return resultobj;
5152 fail:
5153 return NULL;
5154}
5155
5156
5157static PyObject *_wrap_ComboBox_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
5158 PyObject *resultobj;
5159 wxComboBox *arg1 = (wxComboBox *) 0 ;
5160 PyObject * obj0 = 0 ;
5161 char *kwnames[] = {
5162 (char *) "self", NULL
5163 };
5164
5165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SelectAll",kwnames,&obj0)) goto fail;
093d3ff1
RD
5166 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5167 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
5168 {
5169 PyThreadState* __tstate = wxPyBeginAllowThreads();
5170 (arg1)->SelectAll();
5171
5172 wxPyEndAllowThreads(__tstate);
5173 if (PyErr_Occurred()) SWIG_fail;
5174 }
5175 Py_INCREF(Py_None); resultobj = Py_None;
5176 return resultobj;
5177 fail:
5178 return NULL;
5179}
5180
5181
5182static PyObject *_wrap_ComboBox_CanCopy(PyObject *, PyObject *args, PyObject *kwargs) {
5183 PyObject *resultobj;
5184 wxComboBox *arg1 = (wxComboBox *) 0 ;
5185 bool result;
5186 PyObject * obj0 = 0 ;
5187 char *kwnames[] = {
5188 (char *) "self", NULL
5189 };
5190
5191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanCopy",kwnames,&obj0)) goto fail;
093d3ff1
RD
5192 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5193 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
5194 {
5195 PyThreadState* __tstate = wxPyBeginAllowThreads();
5196 result = (bool)((wxComboBox const *)arg1)->CanCopy();
5197
5198 wxPyEndAllowThreads(__tstate);
5199 if (PyErr_Occurred()) SWIG_fail;
5200 }
5201 {
5202 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5203 }
5204 return resultobj;
5205 fail:
5206 return NULL;
5207}
5208
5209
5210static PyObject *_wrap_ComboBox_CanCut(PyObject *, PyObject *args, PyObject *kwargs) {
5211 PyObject *resultobj;
5212 wxComboBox *arg1 = (wxComboBox *) 0 ;
5213 bool result;
5214 PyObject * obj0 = 0 ;
5215 char *kwnames[] = {
5216 (char *) "self", NULL
5217 };
5218
5219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanCut",kwnames,&obj0)) goto fail;
093d3ff1
RD
5220 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5221 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
5222 {
5223 PyThreadState* __tstate = wxPyBeginAllowThreads();
5224 result = (bool)((wxComboBox const *)arg1)->CanCut();
5225
5226 wxPyEndAllowThreads(__tstate);
5227 if (PyErr_Occurred()) SWIG_fail;
5228 }
5229 {
5230 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5231 }
5232 return resultobj;
5233 fail:
5234 return NULL;
5235}
5236
5237
5238static PyObject *_wrap_ComboBox_CanPaste(PyObject *, PyObject *args, PyObject *kwargs) {
5239 PyObject *resultobj;
5240 wxComboBox *arg1 = (wxComboBox *) 0 ;
5241 bool result;
5242 PyObject * obj0 = 0 ;
5243 char *kwnames[] = {
5244 (char *) "self", NULL
5245 };
5246
5247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanPaste",kwnames,&obj0)) goto fail;
093d3ff1
RD
5248 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5249 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
5250 {
5251 PyThreadState* __tstate = wxPyBeginAllowThreads();
5252 result = (bool)((wxComboBox const *)arg1)->CanPaste();
5253
5254 wxPyEndAllowThreads(__tstate);
5255 if (PyErr_Occurred()) SWIG_fail;
5256 }
5257 {
5258 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5259 }
5260 return resultobj;
5261 fail:
5262 return NULL;
5263}
5264
5265
5266static PyObject *_wrap_ComboBox_CanUndo(PyObject *, PyObject *args, PyObject *kwargs) {
5267 PyObject *resultobj;
5268 wxComboBox *arg1 = (wxComboBox *) 0 ;
5269 bool result;
5270 PyObject * obj0 = 0 ;
5271 char *kwnames[] = {
5272 (char *) "self", NULL
5273 };
5274
5275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanUndo",kwnames,&obj0)) goto fail;
093d3ff1
RD
5276 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5277 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
5278 {
5279 PyThreadState* __tstate = wxPyBeginAllowThreads();
5280 result = (bool)((wxComboBox const *)arg1)->CanUndo();
5281
5282 wxPyEndAllowThreads(__tstate);
5283 if (PyErr_Occurred()) SWIG_fail;
5284 }
5285 {
5286 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5287 }
5288 return resultobj;
5289 fail:
5290 return NULL;
5291}
5292
5293
5294static PyObject *_wrap_ComboBox_CanRedo(PyObject *, PyObject *args, PyObject *kwargs) {
5295 PyObject *resultobj;
5296 wxComboBox *arg1 = (wxComboBox *) 0 ;
5297 bool result;
5298 PyObject * obj0 = 0 ;
5299 char *kwnames[] = {
5300 (char *) "self", NULL
5301 };
5302
5303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanRedo",kwnames,&obj0)) goto fail;
093d3ff1
RD
5304 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5305 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
5306 {
5307 PyThreadState* __tstate = wxPyBeginAllowThreads();
5308 result = (bool)((wxComboBox const *)arg1)->CanRedo();
5309
5310 wxPyEndAllowThreads(__tstate);
5311 if (PyErr_Occurred()) SWIG_fail;
5312 }
5313 {
5314 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5315 }
5316 return resultobj;
5317 fail:
5318 return NULL;
5319}
5320
5321
c32bde28 5322static PyObject *_wrap_ComboBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c 5323 PyObject *resultobj;
093d3ff1 5324 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
5325 wxVisualAttributes result;
5326 PyObject * obj0 = 0 ;
5327 char *kwnames[] = {
5328 (char *) "variant", NULL
5329 };
5330
5331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5332 if (obj0) {
093d3ff1
RD
5333 {
5334 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
5335 if (SWIG_arg_fail(1)) SWIG_fail;
5336 }
22bfe96c
RD
5337 }
5338 {
110da5b0 5339 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
5340 PyThreadState* __tstate = wxPyBeginAllowThreads();
5341 result = wxComboBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
5342
5343 wxPyEndAllowThreads(__tstate);
dfbb5885 5344 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
5345 }
5346 {
5347 wxVisualAttributes * resultptr;
093d3ff1 5348 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
22bfe96c
RD
5349 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5350 }
5351 return resultobj;
5352 fail:
5353 return NULL;
5354}
5355
5356
c32bde28 5357static PyObject * ComboBox_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
5358 PyObject *obj;
5359 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5360 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox, obj);
5361 Py_INCREF(obj);
5362 return Py_BuildValue((char *)"");
5363}
c32bde28 5364static int _wrap_GaugeNameStr_set(PyObject *) {
b2dc1044
RD
5365 PyErr_SetString(PyExc_TypeError,"Variable GaugeNameStr is read-only.");
5366 return 1;
5367}
5368
5369
093d3ff1 5370static PyObject *_wrap_GaugeNameStr_get(void) {
b2dc1044
RD
5371 PyObject *pyobj;
5372
5373 {
5374#if wxUSE_UNICODE
5375 pyobj = PyUnicode_FromWideChar((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
5376#else
5377 pyobj = PyString_FromStringAndSize((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
5378#endif
5379 }
5380 return pyobj;
5381}
5382
5383
c32bde28 5384static PyObject *_wrap_new_Gauge(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5385 PyObject *resultobj;
5386 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
5387 int arg2 = (int) -1 ;
5388 int arg3 = (int) 100 ;
d14a1e28
RD
5389 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5390 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5391 wxSize const &arg5_defvalue = wxDefaultSize ;
5392 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5393 long arg6 = (long) wxGA_HORIZONTAL ;
5394 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5395 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5396 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
5397 wxString *arg8 = (wxString *) &arg8_defvalue ;
5398 wxGauge *result;
5399 wxPoint temp4 ;
5400 wxSize temp5 ;
ae8162c8 5401 bool temp8 = false ;
d14a1e28 5402 PyObject * obj0 = 0 ;
994141e6
RD
5403 PyObject * obj1 = 0 ;
5404 PyObject * obj2 = 0 ;
d14a1e28
RD
5405 PyObject * obj3 = 0 ;
5406 PyObject * obj4 = 0 ;
994141e6 5407 PyObject * obj5 = 0 ;
d14a1e28
RD
5408 PyObject * obj6 = 0 ;
5409 PyObject * obj7 = 0 ;
5410 char *kwnames[] = {
5411 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5412 };
5413
248ed943 5414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Gauge",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
5415 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5416 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 5417 if (obj1) {
093d3ff1
RD
5418 {
5419 arg2 = (int)(SWIG_As_int(obj1));
5420 if (SWIG_arg_fail(2)) SWIG_fail;
5421 }
248ed943
RD
5422 }
5423 if (obj2) {
093d3ff1
RD
5424 {
5425 arg3 = (int)(SWIG_As_int(obj2));
5426 if (SWIG_arg_fail(3)) SWIG_fail;
5427 }
248ed943 5428 }
d14a1e28
RD
5429 if (obj3) {
5430 {
5431 arg4 = &temp4;
5432 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5433 }
5434 }
5435 if (obj4) {
5436 {
5437 arg5 = &temp5;
5438 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5439 }
5440 }
994141e6 5441 if (obj5) {
093d3ff1
RD
5442 {
5443 arg6 = (long)(SWIG_As_long(obj5));
5444 if (SWIG_arg_fail(6)) SWIG_fail;
5445 }
994141e6 5446 }
d14a1e28 5447 if (obj6) {
093d3ff1
RD
5448 {
5449 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
5450 if (SWIG_arg_fail(7)) SWIG_fail;
5451 if (arg7 == NULL) {
5452 SWIG_null_ref("wxValidator");
5453 }
5454 if (SWIG_arg_fail(7)) SWIG_fail;
d14a1e28
RD
5455 }
5456 }
5457 if (obj7) {
5458 {
5459 arg8 = wxString_in_helper(obj7);
5460 if (arg8 == NULL) SWIG_fail;
ae8162c8 5461 temp8 = true;
d14a1e28
RD
5462 }
5463 }
5464 {
e3b71cb8 5465 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
5466 PyThreadState* __tstate = wxPyBeginAllowThreads();
5467 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
5468
5469 wxPyEndAllowThreads(__tstate);
110da5b0 5470 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 5471 }
15afbcd0 5472 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
d14a1e28
RD
5473 {
5474 if (temp8)
5475 delete arg8;
5476 }
5477 return resultobj;
5478 fail:
5479 {
5480 if (temp8)
5481 delete arg8;
5482 }
5483 return NULL;
5484}
5485
5486
c32bde28 5487static PyObject *_wrap_new_PreGauge(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5488 PyObject *resultobj;
5489 wxGauge *result;
5490 char *kwnames[] = {
5491 NULL
5492 };
5493
5494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGauge",kwnames)) goto fail;
5495 {
e3b71cb8 5496 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
5497 PyThreadState* __tstate = wxPyBeginAllowThreads();
5498 result = (wxGauge *)new wxGauge();
5499
5500 wxPyEndAllowThreads(__tstate);
110da5b0 5501 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 5502 }
15afbcd0 5503 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
d14a1e28
RD
5504 return resultobj;
5505 fail:
5506 return NULL;
5507}
5508
5509
c32bde28 5510static PyObject *_wrap_Gauge_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5511 PyObject *resultobj;
5512 wxGauge *arg1 = (wxGauge *) 0 ;
5513 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
5514 int arg3 = (int) -1 ;
5515 int arg4 = (int) 100 ;
d14a1e28
RD
5516 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5517 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5518 wxSize const &arg6_defvalue = wxDefaultSize ;
5519 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5520 long arg7 = (long) wxGA_HORIZONTAL ;
5521 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5522 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5523 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
5524 wxString *arg9 = (wxString *) &arg9_defvalue ;
5525 bool result;
5526 wxPoint temp5 ;
5527 wxSize temp6 ;
ae8162c8 5528 bool temp9 = false ;
d14a1e28
RD
5529 PyObject * obj0 = 0 ;
5530 PyObject * obj1 = 0 ;
994141e6
RD
5531 PyObject * obj2 = 0 ;
5532 PyObject * obj3 = 0 ;
d14a1e28
RD
5533 PyObject * obj4 = 0 ;
5534 PyObject * obj5 = 0 ;
994141e6 5535 PyObject * obj6 = 0 ;
d14a1e28
RD
5536 PyObject * obj7 = 0 ;
5537 PyObject * obj8 = 0 ;
5538 char *kwnames[] = {
5539 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5540 };
5541
248ed943 5542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Gauge_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
5543 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5544 if (SWIG_arg_fail(1)) SWIG_fail;
5545 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5546 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 5547 if (obj2) {
093d3ff1
RD
5548 {
5549 arg3 = (int)(SWIG_As_int(obj2));
5550 if (SWIG_arg_fail(3)) SWIG_fail;
5551 }
248ed943
RD
5552 }
5553 if (obj3) {
093d3ff1
RD
5554 {
5555 arg4 = (int)(SWIG_As_int(obj3));
5556 if (SWIG_arg_fail(4)) SWIG_fail;
5557 }
248ed943 5558 }
d14a1e28
RD
5559 if (obj4) {
5560 {
5561 arg5 = &temp5;
5562 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5563 }
5564 }
5565 if (obj5) {
5566 {
5567 arg6 = &temp6;
5568 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5569 }
5570 }
994141e6 5571 if (obj6) {
093d3ff1
RD
5572 {
5573 arg7 = (long)(SWIG_As_long(obj6));
5574 if (SWIG_arg_fail(7)) SWIG_fail;
5575 }
994141e6 5576 }
d14a1e28 5577 if (obj7) {
093d3ff1
RD
5578 {
5579 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
5580 if (SWIG_arg_fail(8)) SWIG_fail;
5581 if (arg8 == NULL) {
5582 SWIG_null_ref("wxValidator");
5583 }
5584 if (SWIG_arg_fail(8)) SWIG_fail;
d14a1e28
RD
5585 }
5586 }
5587 if (obj8) {
5588 {
5589 arg9 = wxString_in_helper(obj8);
5590 if (arg9 == NULL) SWIG_fail;
ae8162c8 5591 temp9 = true;
d14a1e28
RD
5592 }
5593 }
5594 {
5595 PyThreadState* __tstate = wxPyBeginAllowThreads();
5596 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5597
5598 wxPyEndAllowThreads(__tstate);
5599 if (PyErr_Occurred()) SWIG_fail;
5600 }
4f89f6a3
RD
5601 {
5602 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5603 }
d14a1e28
RD
5604 {
5605 if (temp9)
5606 delete arg9;
5607 }
5608 return resultobj;
5609 fail:
5610 {
5611 if (temp9)
5612 delete arg9;
5613 }
5614 return NULL;
5615}
5616
5617
c32bde28 5618static PyObject *_wrap_Gauge_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5619 PyObject *resultobj;
5620 wxGauge *arg1 = (wxGauge *) 0 ;
5621 int arg2 ;
5622 PyObject * obj0 = 0 ;
994141e6 5623 PyObject * obj1 = 0 ;
d14a1e28
RD
5624 char *kwnames[] = {
5625 (char *) "self",(char *) "range", NULL
5626 };
5627
994141e6 5628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetRange",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5629 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5630 if (SWIG_arg_fail(1)) SWIG_fail;
5631 {
5632 arg2 = (int)(SWIG_As_int(obj1));
5633 if (SWIG_arg_fail(2)) SWIG_fail;
5634 }
d14a1e28
RD
5635 {
5636 PyThreadState* __tstate = wxPyBeginAllowThreads();
5637 (arg1)->SetRange(arg2);
5638
5639 wxPyEndAllowThreads(__tstate);
5640 if (PyErr_Occurred()) SWIG_fail;
5641 }
5642 Py_INCREF(Py_None); resultobj = Py_None;
5643 return resultobj;
5644 fail:
5645 return NULL;
5646}
5647
5648
c32bde28 5649static PyObject *_wrap_Gauge_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5650 PyObject *resultobj;
5651 wxGauge *arg1 = (wxGauge *) 0 ;
5652 int result;
5653 PyObject * obj0 = 0 ;
5654 char *kwnames[] = {
5655 (char *) "self", NULL
5656 };
5657
5658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetRange",kwnames,&obj0)) goto fail;
093d3ff1
RD
5659 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5660 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5661 {
5662 PyThreadState* __tstate = wxPyBeginAllowThreads();
5663 result = (int)((wxGauge const *)arg1)->GetRange();
5664
5665 wxPyEndAllowThreads(__tstate);
5666 if (PyErr_Occurred()) SWIG_fail;
5667 }
093d3ff1
RD
5668 {
5669 resultobj = SWIG_From_int((int)(result));
5670 }
d14a1e28
RD
5671 return resultobj;
5672 fail:
5673 return NULL;
5674}
5675
5676
c32bde28 5677static PyObject *_wrap_Gauge_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5678 PyObject *resultobj;
5679 wxGauge *arg1 = (wxGauge *) 0 ;
5680 int arg2 ;
5681 PyObject * obj0 = 0 ;
994141e6 5682 PyObject * obj1 = 0 ;
d14a1e28
RD
5683 char *kwnames[] = {
5684 (char *) "self",(char *) "pos", NULL
5685 };
5686
994141e6 5687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetValue",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5688 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5689 if (SWIG_arg_fail(1)) SWIG_fail;
5690 {
5691 arg2 = (int)(SWIG_As_int(obj1));
5692 if (SWIG_arg_fail(2)) SWIG_fail;
5693 }
d14a1e28
RD
5694 {
5695 PyThreadState* __tstate = wxPyBeginAllowThreads();
5696 (arg1)->SetValue(arg2);
5697
5698 wxPyEndAllowThreads(__tstate);
5699 if (PyErr_Occurred()) SWIG_fail;
5700 }
5701 Py_INCREF(Py_None); resultobj = Py_None;
5702 return resultobj;
5703 fail:
5704 return NULL;
5705}
5706
5707
c32bde28 5708static PyObject *_wrap_Gauge_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5709 PyObject *resultobj;
5710 wxGauge *arg1 = (wxGauge *) 0 ;
5711 int result;
5712 PyObject * obj0 = 0 ;
5713 char *kwnames[] = {
5714 (char *) "self", NULL
5715 };
5716
5717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
5718 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5719 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5720 {
5721 PyThreadState* __tstate = wxPyBeginAllowThreads();
5722 result = (int)((wxGauge const *)arg1)->GetValue();
5723
5724 wxPyEndAllowThreads(__tstate);
5725 if (PyErr_Occurred()) SWIG_fail;
5726 }
093d3ff1
RD
5727 {
5728 resultobj = SWIG_From_int((int)(result));
5729 }
d14a1e28
RD
5730 return resultobj;
5731 fail:
5732 return NULL;
5733}
5734
5735
c32bde28 5736static PyObject *_wrap_Gauge_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5737 PyObject *resultobj;
5738 wxGauge *arg1 = (wxGauge *) 0 ;
5739 bool result;
5740 PyObject * obj0 = 0 ;
5741 char *kwnames[] = {
5742 (char *) "self", NULL
5743 };
5744
5745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_IsVertical",kwnames,&obj0)) goto fail;
093d3ff1
RD
5746 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5747 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5748 {
5749 PyThreadState* __tstate = wxPyBeginAllowThreads();
5750 result = (bool)((wxGauge const *)arg1)->IsVertical();
5751
5752 wxPyEndAllowThreads(__tstate);
5753 if (PyErr_Occurred()) SWIG_fail;
5754 }
4f89f6a3
RD
5755 {
5756 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5757 }
d14a1e28
RD
5758 return resultobj;
5759 fail:
5760 return NULL;
5761}
5762
5763
c32bde28 5764static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5765 PyObject *resultobj;
5766 wxGauge *arg1 = (wxGauge *) 0 ;
5767 int arg2 ;
5768 PyObject * obj0 = 0 ;
994141e6 5769 PyObject * obj1 = 0 ;
d14a1e28
RD
5770 char *kwnames[] = {
5771 (char *) "self",(char *) "w", NULL
5772 };
5773
994141e6 5774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetShadowWidth",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5775 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5776 if (SWIG_arg_fail(1)) SWIG_fail;
5777 {
5778 arg2 = (int)(SWIG_As_int(obj1));
5779 if (SWIG_arg_fail(2)) SWIG_fail;
5780 }
d14a1e28
RD
5781 {
5782 PyThreadState* __tstate = wxPyBeginAllowThreads();
5783 (arg1)->SetShadowWidth(arg2);
5784
5785 wxPyEndAllowThreads(__tstate);
5786 if (PyErr_Occurred()) SWIG_fail;
5787 }
5788 Py_INCREF(Py_None); resultobj = Py_None;
5789 return resultobj;
5790 fail:
5791 return NULL;
5792}
5793
5794
c32bde28 5795static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5796 PyObject *resultobj;
5797 wxGauge *arg1 = (wxGauge *) 0 ;
5798 int result;
5799 PyObject * obj0 = 0 ;
5800 char *kwnames[] = {
5801 (char *) "self", NULL
5802 };
5803
5804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetShadowWidth",kwnames,&obj0)) goto fail;
093d3ff1
RD
5805 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5806 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5807 {
5808 PyThreadState* __tstate = wxPyBeginAllowThreads();
5809 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
5810
5811 wxPyEndAllowThreads(__tstate);
5812 if (PyErr_Occurred()) SWIG_fail;
5813 }
093d3ff1
RD
5814 {
5815 resultobj = SWIG_From_int((int)(result));
5816 }
d14a1e28
RD
5817 return resultobj;
5818 fail:
5819 return NULL;
5820}
5821
5822
c32bde28 5823static PyObject *_wrap_Gauge_SetBezelFace(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5824 PyObject *resultobj;
5825 wxGauge *arg1 = (wxGauge *) 0 ;
5826 int arg2 ;
5827 PyObject * obj0 = 0 ;
994141e6 5828 PyObject * obj1 = 0 ;
d14a1e28
RD
5829 char *kwnames[] = {
5830 (char *) "self",(char *) "w", NULL
5831 };
5832
994141e6 5833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetBezelFace",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5834 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5835 if (SWIG_arg_fail(1)) SWIG_fail;
5836 {
5837 arg2 = (int)(SWIG_As_int(obj1));
5838 if (SWIG_arg_fail(2)) SWIG_fail;
5839 }
d14a1e28
RD
5840 {
5841 PyThreadState* __tstate = wxPyBeginAllowThreads();
5842 (arg1)->SetBezelFace(arg2);
5843
5844 wxPyEndAllowThreads(__tstate);
5845 if (PyErr_Occurred()) SWIG_fail;
5846 }
5847 Py_INCREF(Py_None); resultobj = Py_None;
5848 return resultobj;
5849 fail:
5850 return NULL;
5851}
5852
5853
c32bde28 5854static PyObject *_wrap_Gauge_GetBezelFace(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5855 PyObject *resultobj;
5856 wxGauge *arg1 = (wxGauge *) 0 ;
5857 int result;
5858 PyObject * obj0 = 0 ;
5859 char *kwnames[] = {
5860 (char *) "self", NULL
5861 };
5862
5863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetBezelFace",kwnames,&obj0)) goto fail;
093d3ff1
RD
5864 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5865 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5866 {
5867 PyThreadState* __tstate = wxPyBeginAllowThreads();
5868 result = (int)((wxGauge const *)arg1)->GetBezelFace();
5869
5870 wxPyEndAllowThreads(__tstate);
5871 if (PyErr_Occurred()) SWIG_fail;
5872 }
093d3ff1
RD
5873 {
5874 resultobj = SWIG_From_int((int)(result));
5875 }
d14a1e28
RD
5876 return resultobj;
5877 fail:
5878 return NULL;
5879}
5880
5881
c32bde28 5882static PyObject *_wrap_Gauge_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c 5883 PyObject *resultobj;
093d3ff1 5884 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
5885 wxVisualAttributes result;
5886 PyObject * obj0 = 0 ;
5887 char *kwnames[] = {
5888 (char *) "variant", NULL
5889 };
5890
5891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5892 if (obj0) {
093d3ff1
RD
5893 {
5894 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
5895 if (SWIG_arg_fail(1)) SWIG_fail;
5896 }
22bfe96c
RD
5897 }
5898 {
110da5b0 5899 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
5900 PyThreadState* __tstate = wxPyBeginAllowThreads();
5901 result = wxGauge::GetClassDefaultAttributes((wxWindowVariant )arg1);
5902
5903 wxPyEndAllowThreads(__tstate);
dfbb5885 5904 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
5905 }
5906 {
5907 wxVisualAttributes * resultptr;
093d3ff1 5908 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
22bfe96c
RD
5909 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5910 }
5911 return resultobj;
5912 fail:
5913 return NULL;
5914}
5915
5916
c32bde28 5917static PyObject * Gauge_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
5918 PyObject *obj;
5919 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5920 SWIG_TypeClientData(SWIGTYPE_p_wxGauge, obj);
5921 Py_INCREF(obj);
5922 return Py_BuildValue((char *)"");
5923}
c32bde28 5924static int _wrap_StaticBitmapNameStr_set(PyObject *) {
b2dc1044
RD
5925 PyErr_SetString(PyExc_TypeError,"Variable StaticBitmapNameStr is read-only.");
5926 return 1;
5927}
5928
5929
093d3ff1 5930static PyObject *_wrap_StaticBitmapNameStr_get(void) {
b2dc1044
RD
5931 PyObject *pyobj;
5932
5933 {
5934#if wxUSE_UNICODE
5935 pyobj = PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
5936#else
5937 pyobj = PyString_FromStringAndSize((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
5938#endif
5939 }
5940 return pyobj;
5941}
5942
5943
c32bde28 5944static int _wrap_StaticBoxNameStr_set(PyObject *) {
b2dc1044
RD
5945 PyErr_SetString(PyExc_TypeError,"Variable StaticBoxNameStr is read-only.");
5946 return 1;
5947}
5948
5949
093d3ff1 5950static PyObject *_wrap_StaticBoxNameStr_get(void) {
b2dc1044
RD
5951 PyObject *pyobj;
5952
5953 {
5954#if wxUSE_UNICODE
5955 pyobj = PyUnicode_FromWideChar((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
5956#else
5957 pyobj = PyString_FromStringAndSize((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
5958#endif
5959 }
5960 return pyobj;
5961}
5962
5963
c32bde28 5964static int _wrap_StaticTextNameStr_set(PyObject *) {
b2dc1044
RD
5965 PyErr_SetString(PyExc_TypeError,"Variable StaticTextNameStr is read-only.");
5966 return 1;
5967}
5968
5969
093d3ff1 5970static PyObject *_wrap_StaticTextNameStr_get(void) {
b2dc1044
RD
5971 PyObject *pyobj;
5972
5973 {
5974#if wxUSE_UNICODE
5975 pyobj = PyUnicode_FromWideChar((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
5976#else
5977 pyobj = PyString_FromStringAndSize((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
5978#endif
5979 }
5980 return pyobj;
5981}
5982
5983
c32bde28 5984static PyObject *_wrap_new_StaticBox(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5985 PyObject *resultobj;
5986 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
5987 int arg2 = (int) -1 ;
5988 wxString const &arg3_defvalue = wxPyEmptyString ;
5989 wxString *arg3 = (wxString *) &arg3_defvalue ;
d14a1e28
RD
5990 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5991 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5992 wxSize const &arg5_defvalue = wxDefaultSize ;
5993 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5994 long arg6 = (long) 0 ;
5995 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
5996 wxString *arg7 = (wxString *) &arg7_defvalue ;
5997 wxStaticBox *result;
ae8162c8 5998 bool temp3 = false ;
d14a1e28
RD
5999 wxPoint temp4 ;
6000 wxSize temp5 ;
ae8162c8 6001 bool temp7 = false ;
d14a1e28 6002 PyObject * obj0 = 0 ;
994141e6 6003 PyObject * obj1 = 0 ;
d14a1e28
RD
6004 PyObject * obj2 = 0 ;
6005 PyObject * obj3 = 0 ;
6006 PyObject * obj4 = 0 ;
994141e6 6007 PyObject * obj5 = 0 ;
d14a1e28
RD
6008 PyObject * obj6 = 0 ;
6009 char *kwnames[] = {
6010 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6011 };
6012
248ed943 6013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
6014 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6015 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 6016 if (obj1) {
093d3ff1
RD
6017 {
6018 arg2 = (int)(SWIG_As_int(obj1));
6019 if (SWIG_arg_fail(2)) SWIG_fail;
6020 }
248ed943
RD
6021 }
6022 if (obj2) {
6023 {
6024 arg3 = wxString_in_helper(obj2);
6025 if (arg3 == NULL) SWIG_fail;
ae8162c8 6026 temp3 = true;
248ed943 6027 }
d14a1e28
RD
6028 }
6029 if (obj3) {
6030 {
6031 arg4 = &temp4;
6032 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6033 }
6034 }
6035 if (obj4) {
6036 {
6037 arg5 = &temp5;
6038 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6039 }
6040 }
994141e6 6041 if (obj5) {
093d3ff1
RD
6042 {
6043 arg6 = (long)(SWIG_As_long(obj5));
6044 if (SWIG_arg_fail(6)) SWIG_fail;
6045 }
994141e6 6046 }
d14a1e28
RD
6047 if (obj6) {
6048 {
6049 arg7 = wxString_in_helper(obj6);
6050 if (arg7 == NULL) SWIG_fail;
ae8162c8 6051 temp7 = true;
d14a1e28
RD
6052 }
6053 }
6054 {
e3b71cb8 6055 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
6056 PyThreadState* __tstate = wxPyBeginAllowThreads();
6057 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6058
6059 wxPyEndAllowThreads(__tstate);
110da5b0 6060 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 6061 }
b0f7404b 6062 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBox, 1);
d14a1e28
RD
6063 {
6064 if (temp3)
6065 delete arg3;
6066 }
6067 {
6068 if (temp7)
6069 delete arg7;
6070 }
6071 return resultobj;
6072 fail:
6073 {
6074 if (temp3)
6075 delete arg3;
6076 }
6077 {
6078 if (temp7)
6079 delete arg7;
6080 }
6081 return NULL;
6082}
6083
6084
c32bde28 6085static PyObject *_wrap_new_PreStaticBox(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6086 PyObject *resultobj;
6087 wxStaticBox *result;
6088 char *kwnames[] = {
6089 NULL
6090 };
6091
6092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBox",kwnames)) goto fail;
6093 {
e3b71cb8 6094 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
6095 PyThreadState* __tstate = wxPyBeginAllowThreads();
6096 result = (wxStaticBox *)new wxStaticBox();
6097
6098 wxPyEndAllowThreads(__tstate);
110da5b0 6099 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 6100 }
b0f7404b 6101 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBox, 1);
d14a1e28
RD
6102 return resultobj;
6103 fail:
6104 return NULL;
6105}
6106
6107
c32bde28 6108static PyObject *_wrap_StaticBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6109 PyObject *resultobj;
6110 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
6111 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
6112 int arg3 = (int) -1 ;
6113 wxString const &arg4_defvalue = wxPyEmptyString ;
6114 wxString *arg4 = (wxString *) &arg4_defvalue ;
d14a1e28
RD
6115 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6116 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6117 wxSize const &arg6_defvalue = wxDefaultSize ;
6118 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6119 long arg7 = (long) 0 ;
6120 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
6121 wxString *arg8 = (wxString *) &arg8_defvalue ;
6122 bool result;
ae8162c8 6123 bool temp4 = false ;
d14a1e28
RD
6124 wxPoint temp5 ;
6125 wxSize temp6 ;
ae8162c8 6126 bool temp8 = false ;
d14a1e28
RD
6127 PyObject * obj0 = 0 ;
6128 PyObject * obj1 = 0 ;
994141e6 6129 PyObject * obj2 = 0 ;
d14a1e28
RD
6130 PyObject * obj3 = 0 ;
6131 PyObject * obj4 = 0 ;
6132 PyObject * obj5 = 0 ;
994141e6 6133 PyObject * obj6 = 0 ;
d14a1e28
RD
6134 PyObject * obj7 = 0 ;
6135 char *kwnames[] = {
6136 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6137 };
6138
248ed943 6139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
6140 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBox, SWIG_POINTER_EXCEPTION | 0);
6141 if (SWIG_arg_fail(1)) SWIG_fail;
6142 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6143 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 6144 if (obj2) {
093d3ff1
RD
6145 {
6146 arg3 = (int)(SWIG_As_int(obj2));
6147 if (SWIG_arg_fail(3)) SWIG_fail;
6148 }
248ed943
RD
6149 }
6150 if (obj3) {
6151 {
6152 arg4 = wxString_in_helper(obj3);
6153 if (arg4 == NULL) SWIG_fail;
ae8162c8 6154 temp4 = true;
248ed943 6155 }
d14a1e28
RD
6156 }
6157 if (obj4) {
6158 {
6159 arg5 = &temp5;
6160 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6161 }
6162 }
6163 if (obj5) {
6164 {
6165 arg6 = &temp6;
6166 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6167 }
6168 }
994141e6 6169 if (obj6) {
093d3ff1
RD
6170 {
6171 arg7 = (long)(SWIG_As_long(obj6));
6172 if (SWIG_arg_fail(7)) SWIG_fail;
6173 }
994141e6 6174 }
d14a1e28
RD
6175 if (obj7) {
6176 {
6177 arg8 = wxString_in_helper(obj7);
6178 if (arg8 == NULL) SWIG_fail;
ae8162c8 6179 temp8 = true;
d14a1e28
RD
6180 }
6181 }
6182 {
6183 PyThreadState* __tstate = wxPyBeginAllowThreads();
6184 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6185
6186 wxPyEndAllowThreads(__tstate);
6187 if (PyErr_Occurred()) SWIG_fail;
6188 }
4f89f6a3
RD
6189 {
6190 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6191 }
d14a1e28
RD
6192 {
6193 if (temp4)
6194 delete arg4;
6195 }
6196 {
6197 if (temp8)
6198 delete arg8;
6199 }
6200 return resultobj;
6201 fail:
6202 {
6203 if (temp4)
6204 delete arg4;
6205 }
6206 {
6207 if (temp8)
6208 delete arg8;
6209 }
6210 return NULL;
6211}
6212
6213
c32bde28 6214static PyObject *_wrap_StaticBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c 6215 PyObject *resultobj;
093d3ff1 6216 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
6217 wxVisualAttributes result;
6218 PyObject * obj0 = 0 ;
6219 char *kwnames[] = {
6220 (char *) "variant", NULL
6221 };
6222
6223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6224 if (obj0) {
093d3ff1
RD
6225 {
6226 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
6227 if (SWIG_arg_fail(1)) SWIG_fail;
6228 }
22bfe96c
RD
6229 }
6230 {
110da5b0 6231 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
6232 PyThreadState* __tstate = wxPyBeginAllowThreads();
6233 result = wxStaticBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
6234
6235 wxPyEndAllowThreads(__tstate);
dfbb5885 6236 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
6237 }
6238 {
6239 wxVisualAttributes * resultptr;
093d3ff1 6240 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
22bfe96c
RD
6241 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6242 }
6243 return resultobj;
6244 fail:
6245 return NULL;
6246}
6247
6248
c32bde28 6249static PyObject * StaticBox_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
6250 PyObject *obj;
6251 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6252 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox, obj);
6253 Py_INCREF(obj);
6254 return Py_BuildValue((char *)"");
6255}
c32bde28 6256static PyObject *_wrap_new_StaticLine(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6257 PyObject *resultobj;
6258 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 6259 int arg2 = (int) -1 ;
d14a1e28
RD
6260 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6261 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6262 wxSize const &arg4_defvalue = wxDefaultSize ;
6263 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6264 long arg5 = (long) wxLI_HORIZONTAL ;
6265 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
6266 wxString *arg6 = (wxString *) &arg6_defvalue ;
6267 wxStaticLine *result;
6268 wxPoint temp3 ;
6269 wxSize temp4 ;
ae8162c8 6270 bool temp6 = false ;
d14a1e28 6271 PyObject * obj0 = 0 ;
994141e6 6272 PyObject * obj1 = 0 ;
d14a1e28
RD
6273 PyObject * obj2 = 0 ;
6274 PyObject * obj3 = 0 ;
994141e6 6275 PyObject * obj4 = 0 ;
d14a1e28
RD
6276 PyObject * obj5 = 0 ;
6277 char *kwnames[] = {
6278 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6279 };
6280
248ed943 6281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_StaticLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
6282 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6283 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 6284 if (obj1) {
093d3ff1
RD
6285 {
6286 arg2 = (int)(SWIG_As_int(obj1));
6287 if (SWIG_arg_fail(2)) SWIG_fail;
6288 }
248ed943 6289 }
d14a1e28
RD
6290 if (obj2) {
6291 {
6292 arg3 = &temp3;
6293 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6294 }
6295 }
6296 if (obj3) {
6297 {
6298 arg4 = &temp4;
6299 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6300 }
6301 }
994141e6 6302 if (obj4) {
093d3ff1
RD
6303 {
6304 arg5 = (long)(SWIG_As_long(obj4));
6305 if (SWIG_arg_fail(5)) SWIG_fail;
6306 }
994141e6 6307 }
d14a1e28
RD
6308 if (obj5) {
6309 {
6310 arg6 = wxString_in_helper(obj5);
6311 if (arg6 == NULL) SWIG_fail;
ae8162c8 6312 temp6 = true;
d14a1e28
RD
6313 }
6314 }
6315 {
e3b71cb8 6316 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
6317 PyThreadState* __tstate = wxPyBeginAllowThreads();
6318 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
6319
6320 wxPyEndAllowThreads(__tstate);
110da5b0 6321 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 6322 }
15afbcd0 6323 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
d14a1e28
RD
6324 {
6325 if (temp6)
6326 delete arg6;
6327 }
6328 return resultobj;
6329 fail:
6330 {
6331 if (temp6)
6332 delete arg6;
6333 }
6334 return NULL;
6335}
6336
6337
c32bde28 6338static PyObject *_wrap_new_PreStaticLine(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6339 PyObject *resultobj;
6340 wxStaticLine *result;
6341 char *kwnames[] = {
6342 NULL
6343 };
6344
6345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticLine",kwnames)) goto fail;
6346 {
e3b71cb8 6347 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
6348 PyThreadState* __tstate = wxPyBeginAllowThreads();
6349 result = (wxStaticLine *)new wxStaticLine();
6350
6351 wxPyEndAllowThreads(__tstate);
110da5b0 6352 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 6353 }
15afbcd0 6354 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
d14a1e28
RD
6355 return resultobj;
6356 fail:
6357 return NULL;
6358}
6359
6360
c32bde28 6361static PyObject *_wrap_StaticLine_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6362 PyObject *resultobj;
6363 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
6364 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 6365 int arg3 = (int) -1 ;
d14a1e28
RD
6366 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6367 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6368 wxSize const &arg5_defvalue = wxDefaultSize ;
6369 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6370 long arg6 = (long) wxLI_HORIZONTAL ;
6371 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
6372 wxString *arg7 = (wxString *) &arg7_defvalue ;
6373 bool result;
6374 wxPoint temp4 ;
6375 wxSize temp5 ;
ae8162c8 6376 bool temp7 = false ;
d14a1e28
RD
6377 PyObject * obj0 = 0 ;
6378 PyObject * obj1 = 0 ;
994141e6 6379 PyObject * obj2 = 0 ;
d14a1e28
RD
6380 PyObject * obj3 = 0 ;
6381 PyObject * obj4 = 0 ;
994141e6 6382 PyObject * obj5 = 0 ;
d14a1e28
RD
6383 PyObject * obj6 = 0 ;
6384 char *kwnames[] = {
6385 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6386 };
6387
248ed943 6388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:StaticLine_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
6389 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticLine, SWIG_POINTER_EXCEPTION | 0);
6390 if (SWIG_arg_fail(1)) SWIG_fail;
6391 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6392 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 6393 if (obj2) {
093d3ff1
RD
6394 {
6395 arg3 = (int)(SWIG_As_int(obj2));
6396 if (SWIG_arg_fail(3)) SWIG_fail;
6397 }
248ed943 6398 }
d14a1e28
RD
6399 if (obj3) {
6400 {
6401 arg4 = &temp4;
6402 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6403 }
6404 }
6405 if (obj4) {
6406 {
6407 arg5 = &temp5;
6408 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6409 }
6410 }
994141e6 6411 if (obj5) {
093d3ff1
RD
6412 {
6413 arg6 = (long)(SWIG_As_long(obj5));
6414 if (SWIG_arg_fail(6)) SWIG_fail;
6415 }
994141e6 6416 }
d14a1e28
RD
6417 if (obj6) {
6418 {
6419 arg7 = wxString_in_helper(obj6);
6420 if (arg7 == NULL) SWIG_fail;
ae8162c8 6421 temp7 = true;
d14a1e28
RD
6422 }
6423 }
6424 {
6425 PyThreadState* __tstate = wxPyBeginAllowThreads();
6426 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6427
6428 wxPyEndAllowThreads(__tstate);
6429 if (PyErr_Occurred()) SWIG_fail;
6430 }
4f89f6a3
RD
6431 {
6432 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6433 }
d14a1e28
RD
6434 {
6435 if (temp7)
6436 delete arg7;
6437 }
6438 return resultobj;
6439 fail:
6440 {
6441 if (temp7)
6442 delete arg7;
6443 }
6444 return NULL;
6445}
6446
6447
c32bde28 6448static PyObject *_wrap_StaticLine_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6449 PyObject *resultobj;
6450 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
6451 bool result;
6452 PyObject * obj0 = 0 ;
6453 char *kwnames[] = {
6454 (char *) "self", NULL
6455 };
6456
6457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticLine_IsVertical",kwnames,&obj0)) goto fail;
093d3ff1
RD
6458 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticLine, SWIG_POINTER_EXCEPTION | 0);
6459 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6460 {
6461 PyThreadState* __tstate = wxPyBeginAllowThreads();
6462 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
6463
6464 wxPyEndAllowThreads(__tstate);
6465 if (PyErr_Occurred()) SWIG_fail;
6466 }
4f89f6a3
RD
6467 {
6468 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6469 }
d14a1e28
RD
6470 return resultobj;
6471 fail:
6472 return NULL;
6473}
6474
6475
c32bde28 6476static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6477 PyObject *resultobj;
6478 int result;
6479 char *kwnames[] = {
6480 NULL
6481 };
6482
6483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StaticLine_GetDefaultSize",kwnames)) goto fail;
6484 {
6485 PyThreadState* __tstate = wxPyBeginAllowThreads();
6486 result = (int)wxStaticLine::GetDefaultSize();
6487
6488 wxPyEndAllowThreads(__tstate);
6489 if (PyErr_Occurred()) SWIG_fail;
6490 }
093d3ff1
RD
6491 {
6492 resultobj = SWIG_From_int((int)(result));
6493 }
d14a1e28
RD
6494 return resultobj;
6495 fail:
6496 return NULL;
6497}
6498
6499
c32bde28 6500static PyObject *_wrap_StaticLine_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c 6501 PyObject *resultobj;
093d3ff1 6502 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
6503 wxVisualAttributes result;
6504 PyObject * obj0 = 0 ;
6505 char *kwnames[] = {
6506 (char *) "variant", NULL
6507 };
6508
6509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6510 if (obj0) {
093d3ff1
RD
6511 {
6512 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
6513 if (SWIG_arg_fail(1)) SWIG_fail;
6514 }
22bfe96c
RD
6515 }
6516 {
110da5b0 6517 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
6518 PyThreadState* __tstate = wxPyBeginAllowThreads();
6519 result = wxStaticLine::GetClassDefaultAttributes((wxWindowVariant )arg1);
6520
6521 wxPyEndAllowThreads(__tstate);
dfbb5885 6522 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
6523 }
6524 {
6525 wxVisualAttributes * resultptr;
093d3ff1 6526 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
22bfe96c
RD
6527 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6528 }
6529 return resultobj;
6530 fail:
6531 return NULL;
6532}
6533
6534
c32bde28 6535static PyObject * StaticLine_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
6536 PyObject *obj;
6537 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6538 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine, obj);
6539 Py_INCREF(obj);
6540 return Py_BuildValue((char *)"");
6541}
c32bde28 6542static PyObject *_wrap_new_StaticText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6543 PyObject *resultobj;
6544 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
6545 int arg2 = (int) -1 ;
6546 wxString const &arg3_defvalue = wxPyEmptyString ;
6547 wxString *arg3 = (wxString *) &arg3_defvalue ;
d14a1e28
RD
6548 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6549 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6550 wxSize const &arg5_defvalue = wxDefaultSize ;
6551 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6552 long arg6 = (long) 0 ;
6553 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
6554 wxString *arg7 = (wxString *) &arg7_defvalue ;
6555 wxStaticText *result;
ae8162c8 6556 bool temp3 = false ;
d14a1e28
RD
6557 wxPoint temp4 ;
6558 wxSize temp5 ;
ae8162c8 6559 bool temp7 = false ;
d14a1e28 6560 PyObject * obj0 = 0 ;
994141e6 6561 PyObject * obj1 = 0 ;
d14a1e28
RD
6562 PyObject * obj2 = 0 ;
6563 PyObject * obj3 = 0 ;
6564 PyObject * obj4 = 0 ;
994141e6 6565 PyObject * obj5 = 0 ;
d14a1e28
RD
6566 PyObject * obj6 = 0 ;
6567 char *kwnames[] = {
6568 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6569 };
6570
248ed943 6571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
6572 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6573 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 6574 if (obj1) {
093d3ff1
RD
6575 {
6576 arg2 = (int)(SWIG_As_int(obj1));
6577 if (SWIG_arg_fail(2)) SWIG_fail;
6578 }
248ed943
RD
6579 }
6580 if (obj2) {
6581 {
6582 arg3 = wxString_in_helper(obj2);
6583 if (arg3 == NULL) SWIG_fail;
ae8162c8 6584 temp3 = true;
248ed943 6585 }
d14a1e28
RD
6586 }
6587 if (obj3) {
6588 {
6589 arg4 = &temp4;
6590 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6591 }
6592 }
6593 if (obj4) {
6594 {
6595 arg5 = &temp5;
6596 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6597 }
6598 }
994141e6 6599 if (obj5) {
093d3ff1
RD
6600 {
6601 arg6 = (long)(SWIG_As_long(obj5));
6602 if (SWIG_arg_fail(6)) SWIG_fail;
6603 }
994141e6 6604 }
d14a1e28
RD
6605 if (obj6) {
6606 {
6607 arg7 = wxString_in_helper(obj6);
6608 if (arg7 == NULL) SWIG_fail;
ae8162c8 6609 temp7 = true;
d14a1e28
RD
6610 }
6611 }
6612 {
e3b71cb8 6613 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
6614 PyThreadState* __tstate = wxPyBeginAllowThreads();
6615 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6616
6617 wxPyEndAllowThreads(__tstate);
110da5b0 6618 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 6619 }
15afbcd0 6620 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
d14a1e28
RD
6621 {
6622 if (temp3)
6623 delete arg3;
6624 }
6625 {
6626 if (temp7)
6627 delete arg7;
6628 }
6629 return resultobj;
6630 fail:
6631 {
6632 if (temp3)
6633 delete arg3;
6634 }
6635 {
6636 if (temp7)
6637 delete arg7;
6638 }
6639 return NULL;
6640}
6641
6642
c32bde28 6643static PyObject *_wrap_new_PreStaticText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6644 PyObject *resultobj;
6645 wxStaticText *result;
6646 char *kwnames[] = {
6647 NULL
6648 };
6649
6650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticText",kwnames)) goto fail;
6651 {
e3b71cb8 6652 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
6653 PyThreadState* __tstate = wxPyBeginAllowThreads();
6654 result = (wxStaticText *)new wxStaticText();
6655
6656 wxPyEndAllowThreads(__tstate);
110da5b0 6657 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 6658 }
15afbcd0 6659 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
d14a1e28
RD
6660 return resultobj;
6661 fail:
6662 return NULL;
6663}
6664
6665
c32bde28 6666static PyObject *_wrap_StaticText_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6667 PyObject *resultobj;
6668 wxStaticText *arg1 = (wxStaticText *) 0 ;
6669 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
6670 int arg3 = (int) -1 ;
6671 wxString const &arg4_defvalue = wxPyEmptyString ;
6672 wxString *arg4 = (wxString *) &arg4_defvalue ;
d14a1e28
RD
6673 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6674 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6675 wxSize const &arg6_defvalue = wxDefaultSize ;
6676 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6677 long arg7 = (long) 0 ;
6678 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
6679 wxString *arg8 = (wxString *) &arg8_defvalue ;
6680 bool result;
ae8162c8 6681 bool temp4 = false ;
d14a1e28
RD
6682 wxPoint temp5 ;
6683 wxSize temp6 ;
ae8162c8 6684 bool temp8 = false ;
d14a1e28
RD
6685 PyObject * obj0 = 0 ;
6686 PyObject * obj1 = 0 ;
994141e6 6687 PyObject * obj2 = 0 ;
d14a1e28
RD
6688 PyObject * obj3 = 0 ;
6689 PyObject * obj4 = 0 ;
6690 PyObject * obj5 = 0 ;
994141e6 6691 PyObject * obj6 = 0 ;
d14a1e28
RD
6692 PyObject * obj7 = 0 ;
6693 char *kwnames[] = {
6694 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6695 };
6696
248ed943 6697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticText_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
6698 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticText, SWIG_POINTER_EXCEPTION | 0);
6699 if (SWIG_arg_fail(1)) SWIG_fail;
6700 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6701 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 6702 if (obj2) {
093d3ff1
RD
6703 {
6704 arg3 = (int)(SWIG_As_int(obj2));
6705 if (SWIG_arg_fail(3)) SWIG_fail;
6706 }
248ed943
RD
6707 }
6708 if (obj3) {
6709 {
6710 arg4 = wxString_in_helper(obj3);
6711 if (arg4 == NULL) SWIG_fail;
ae8162c8 6712 temp4 = true;
248ed943 6713 }
d14a1e28
RD
6714 }
6715 if (obj4) {
6716 {
6717 arg5 = &temp5;
6718 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6719 }
6720 }
6721 if (obj5) {
6722 {
6723 arg6 = &temp6;
6724 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6725 }
6726 }
994141e6 6727 if (obj6) {
093d3ff1
RD
6728 {
6729 arg7 = (long)(SWIG_As_long(obj6));
6730 if (SWIG_arg_fail(7)) SWIG_fail;
6731 }
994141e6 6732 }
d14a1e28
RD
6733 if (obj7) {
6734 {
6735 arg8 = wxString_in_helper(obj7);
6736 if (arg8 == NULL) SWIG_fail;
ae8162c8 6737 temp8 = true;
d14a1e28
RD
6738 }
6739 }
6740 {
6741 PyThreadState* __tstate = wxPyBeginAllowThreads();
6742 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6743
6744 wxPyEndAllowThreads(__tstate);
6745 if (PyErr_Occurred()) SWIG_fail;
6746 }
4f89f6a3
RD
6747 {
6748 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6749 }
d14a1e28
RD
6750 {
6751 if (temp4)
6752 delete arg4;
6753 }
6754 {
6755 if (temp8)
6756 delete arg8;
6757 }
6758 return resultobj;
6759 fail:
6760 {
6761 if (temp4)
6762 delete arg4;
6763 }
6764 {
6765 if (temp8)
6766 delete arg8;
6767 }
6768 return NULL;
6769}
6770
6771
c32bde28 6772static PyObject *_wrap_StaticText_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c 6773 PyObject *resultobj;
093d3ff1 6774 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
6775 wxVisualAttributes result;
6776 PyObject * obj0 = 0 ;
6777 char *kwnames[] = {
6778 (char *) "variant", NULL
6779 };
6780
6781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6782 if (obj0) {
093d3ff1
RD
6783 {
6784 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
6785 if (SWIG_arg_fail(1)) SWIG_fail;
6786 }
22bfe96c
RD
6787 }
6788 {
110da5b0 6789 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
6790 PyThreadState* __tstate = wxPyBeginAllowThreads();
6791 result = wxStaticText::GetClassDefaultAttributes((wxWindowVariant )arg1);
6792
6793 wxPyEndAllowThreads(__tstate);
dfbb5885 6794 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
6795 }
6796 {
6797 wxVisualAttributes * resultptr;
093d3ff1 6798 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
22bfe96c
RD
6799 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6800 }
6801 return resultobj;
6802 fail:
6803 return NULL;
6804}
6805
6806
c32bde28 6807static PyObject * StaticText_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
6808 PyObject *obj;
6809 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6810 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText, obj);
6811 Py_INCREF(obj);
6812 return Py_BuildValue((char *)"");
6813}
c32bde28 6814static PyObject *_wrap_new_StaticBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6815 PyObject *resultobj;
6816 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
6817 int arg2 = (int) -1 ;
6818 wxBitmap const &arg3_defvalue = wxNullBitmap ;
6819 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
d14a1e28
RD
6820 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6821 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6822 wxSize const &arg5_defvalue = wxDefaultSize ;
6823 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6824 long arg6 = (long) 0 ;
6825 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
6826 wxString *arg7 = (wxString *) &arg7_defvalue ;
6827 wxStaticBitmap *result;
6828 wxPoint temp4 ;
6829 wxSize temp5 ;
ae8162c8 6830 bool temp7 = false ;
d14a1e28 6831 PyObject * obj0 = 0 ;
994141e6 6832 PyObject * obj1 = 0 ;
d14a1e28
RD
6833 PyObject * obj2 = 0 ;
6834 PyObject * obj3 = 0 ;
6835 PyObject * obj4 = 0 ;
994141e6 6836 PyObject * obj5 = 0 ;
d14a1e28
RD
6837 PyObject * obj6 = 0 ;
6838 char *kwnames[] = {
6839 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6840 };
6841
248ed943 6842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBitmap",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
6843 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6844 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 6845 if (obj1) {
093d3ff1
RD
6846 {
6847 arg2 = (int)(SWIG_As_int(obj1));
6848 if (SWIG_arg_fail(2)) SWIG_fail;
6849 }
248ed943
RD
6850 }
6851 if (obj2) {
093d3ff1
RD
6852 {
6853 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6854 if (SWIG_arg_fail(3)) SWIG_fail;
6855 if (arg3 == NULL) {
6856 SWIG_null_ref("wxBitmap");
6857 }
6858 if (SWIG_arg_fail(3)) SWIG_fail;
248ed943 6859 }
d14a1e28
RD
6860 }
6861 if (obj3) {
6862 {
6863 arg4 = &temp4;
6864 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6865 }
6866 }
6867 if (obj4) {
6868 {
6869 arg5 = &temp5;
6870 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6871 }
6872 }
994141e6 6873 if (obj5) {
093d3ff1
RD
6874 {
6875 arg6 = (long)(SWIG_As_long(obj5));
6876 if (SWIG_arg_fail(6)) SWIG_fail;
6877 }
994141e6 6878 }
d14a1e28
RD
6879 if (obj6) {
6880 {
6881 arg7 = wxString_in_helper(obj6);
6882 if (arg7 == NULL) SWIG_fail;
ae8162c8 6883 temp7 = true;
d14a1e28
RD
6884 }
6885 }
6886 {
e3b71cb8 6887 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
6888 PyThreadState* __tstate = wxPyBeginAllowThreads();
6889 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6890
6891 wxPyEndAllowThreads(__tstate);
110da5b0 6892 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 6893 }
15afbcd0 6894 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
d14a1e28
RD
6895 {
6896 if (temp7)
6897 delete arg7;
6898 }
6899 return resultobj;
6900 fail:
6901 {
6902 if (temp7)
6903 delete arg7;
6904 }
6905 return NULL;
6906}
6907
6908
c32bde28 6909static PyObject *_wrap_new_PreStaticBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6910 PyObject *resultobj;
6911 wxStaticBitmap *result;
6912 char *kwnames[] = {
6913 NULL
6914 };
6915
6916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBitmap",kwnames)) goto fail;
6917 {
e3b71cb8 6918 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
6919 PyThreadState* __tstate = wxPyBeginAllowThreads();
6920 result = (wxStaticBitmap *)new wxStaticBitmap();
6921
6922 wxPyEndAllowThreads(__tstate);
110da5b0 6923 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 6924 }
15afbcd0 6925 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
d14a1e28
RD
6926 return resultobj;
6927 fail:
6928 return NULL;
6929}
6930
6931
c32bde28 6932static PyObject *_wrap_StaticBitmap_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6933 PyObject *resultobj;
6934 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
6935 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
6936 int arg3 = (int) -1 ;
6937 wxBitmap const &arg4_defvalue = wxNullBitmap ;
6938 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
d14a1e28
RD
6939 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6940 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6941 wxSize const &arg6_defvalue = wxDefaultSize ;
6942 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6943 long arg7 = (long) 0 ;
6944 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
6945 wxString *arg8 = (wxString *) &arg8_defvalue ;
6946 bool result;
6947 wxPoint temp5 ;
6948 wxSize temp6 ;
ae8162c8 6949 bool temp8 = false ;
d14a1e28
RD
6950 PyObject * obj0 = 0 ;
6951 PyObject * obj1 = 0 ;
994141e6 6952 PyObject * obj2 = 0 ;
d14a1e28
RD
6953 PyObject * obj3 = 0 ;
6954 PyObject * obj4 = 0 ;
6955 PyObject * obj5 = 0 ;
994141e6 6956 PyObject * obj6 = 0 ;
d14a1e28
RD
6957 PyObject * obj7 = 0 ;
6958 char *kwnames[] = {
6959 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6960 };
6961
248ed943 6962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
6963 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
6964 if (SWIG_arg_fail(1)) SWIG_fail;
6965 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6966 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 6967 if (obj2) {
093d3ff1
RD
6968 {
6969 arg3 = (int)(SWIG_As_int(obj2));
6970 if (SWIG_arg_fail(3)) SWIG_fail;
6971 }
248ed943
RD
6972 }
6973 if (obj3) {
093d3ff1
RD
6974 {
6975 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6976 if (SWIG_arg_fail(4)) SWIG_fail;
6977 if (arg4 == NULL) {
6978 SWIG_null_ref("wxBitmap");
6979 }
6980 if (SWIG_arg_fail(4)) SWIG_fail;
248ed943 6981 }
d14a1e28
RD
6982 }
6983 if (obj4) {
6984 {
6985 arg5 = &temp5;
6986 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6987 }
6988 }
6989 if (obj5) {
6990 {
6991 arg6 = &temp6;
6992 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6993 }
6994 }
994141e6 6995 if (obj6) {
093d3ff1
RD
6996 {
6997 arg7 = (long)(SWIG_As_long(obj6));
6998 if (SWIG_arg_fail(7)) SWIG_fail;
6999 }
994141e6 7000 }
d14a1e28
RD
7001 if (obj7) {
7002 {
7003 arg8 = wxString_in_helper(obj7);
7004 if (arg8 == NULL) SWIG_fail;
ae8162c8 7005 temp8 = true;
d14a1e28
RD
7006 }
7007 }
7008 {
7009 PyThreadState* __tstate = wxPyBeginAllowThreads();
7010 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
7011
7012 wxPyEndAllowThreads(__tstate);
7013 if (PyErr_Occurred()) SWIG_fail;
7014 }
4f89f6a3
RD
7015 {
7016 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7017 }
d14a1e28
RD
7018 {
7019 if (temp8)
7020 delete arg8;
7021 }
7022 return resultobj;
7023 fail:
7024 {
7025 if (temp8)
7026 delete arg8;
7027 }
7028 return NULL;
7029}
7030
7031
c32bde28 7032static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7033 PyObject *resultobj;
7034 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
7035 wxBitmap result;
7036 PyObject * obj0 = 0 ;
7037 char *kwnames[] = {
7038 (char *) "self", NULL
7039 };
7040
7041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBitmap_GetBitmap",kwnames,&obj0)) goto fail;
093d3ff1
RD
7042 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
7043 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7044 {
7045 PyThreadState* __tstate = wxPyBeginAllowThreads();
7046 result = (arg1)->GetBitmap();
7047
7048 wxPyEndAllowThreads(__tstate);
7049 if (PyErr_Occurred()) SWIG_fail;
7050 }
7051 {
7052 wxBitmap * resultptr;
093d3ff1 7053 resultptr = new wxBitmap((wxBitmap &)(result));
15afbcd0 7054 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
7055 }
7056 return resultobj;
7057 fail:
7058 return NULL;
7059}
7060
7061
c32bde28 7062static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7063 PyObject *resultobj;
7064 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
7065 wxBitmap *arg2 = 0 ;
7066 PyObject * obj0 = 0 ;
7067 PyObject * obj1 = 0 ;
7068 char *kwnames[] = {
7069 (char *) "self",(char *) "bitmap", NULL
7070 };
7071
7072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7073 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
7074 if (SWIG_arg_fail(1)) SWIG_fail;
7075 {
7076 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
7077 if (SWIG_arg_fail(2)) SWIG_fail;
7078 if (arg2 == NULL) {
7079 SWIG_null_ref("wxBitmap");
7080 }
7081 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
7082 }
7083 {
7084 PyThreadState* __tstate = wxPyBeginAllowThreads();
7085 (arg1)->SetBitmap((wxBitmap const &)*arg2);
7086
7087 wxPyEndAllowThreads(__tstate);
7088 if (PyErr_Occurred()) SWIG_fail;
7089 }
7090 Py_INCREF(Py_None); resultobj = Py_None;
7091 return resultobj;
7092 fail:
7093 return NULL;
7094}
7095
7096
c32bde28 7097static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7098 PyObject *resultobj;
7099 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
7100 wxIcon *arg2 = 0 ;
7101 PyObject * obj0 = 0 ;
7102 PyObject * obj1 = 0 ;
7103 char *kwnames[] = {
7104 (char *) "self",(char *) "icon", NULL
7105 };
7106
7107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7108 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
7109 if (SWIG_arg_fail(1)) SWIG_fail;
7110 {
7111 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
7112 if (SWIG_arg_fail(2)) SWIG_fail;
7113 if (arg2 == NULL) {
7114 SWIG_null_ref("wxIcon");
7115 }
7116 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
7117 }
7118 {
7119 PyThreadState* __tstate = wxPyBeginAllowThreads();
7120 (arg1)->SetIcon((wxIcon const &)*arg2);
7121
7122 wxPyEndAllowThreads(__tstate);
7123 if (PyErr_Occurred()) SWIG_fail;
7124 }
7125 Py_INCREF(Py_None); resultobj = Py_None;
7126 return resultobj;
7127 fail:
7128 return NULL;
7129}
7130
7131
c32bde28 7132static PyObject *_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c 7133 PyObject *resultobj;
093d3ff1 7134 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
7135 wxVisualAttributes result;
7136 PyObject * obj0 = 0 ;
7137 char *kwnames[] = {
7138 (char *) "variant", NULL
7139 };
7140
7141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
7142 if (obj0) {
093d3ff1
RD
7143 {
7144 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
7145 if (SWIG_arg_fail(1)) SWIG_fail;
7146 }
22bfe96c
RD
7147 }
7148 {
110da5b0 7149 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
7150 PyThreadState* __tstate = wxPyBeginAllowThreads();
7151 result = wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant )arg1);
7152
7153 wxPyEndAllowThreads(__tstate);
dfbb5885 7154 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
7155 }
7156 {
7157 wxVisualAttributes * resultptr;
093d3ff1 7158 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
22bfe96c
RD
7159 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
7160 }
7161 return resultobj;
7162 fail:
7163 return NULL;
7164}
7165
7166
c32bde28 7167static PyObject * StaticBitmap_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
7168 PyObject *obj;
7169 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7170 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap, obj);
7171 Py_INCREF(obj);
7172 return Py_BuildValue((char *)"");
7173}
c32bde28 7174static int _wrap_ListBoxNameStr_set(PyObject *) {
b2dc1044
RD
7175 PyErr_SetString(PyExc_TypeError,"Variable ListBoxNameStr is read-only.");
7176 return 1;
7177}
7178
7179
093d3ff1 7180static PyObject *_wrap_ListBoxNameStr_get(void) {
b2dc1044
RD
7181 PyObject *pyobj;
7182
7183 {
7184#if wxUSE_UNICODE
7185 pyobj = PyUnicode_FromWideChar((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
7186#else
7187 pyobj = PyString_FromStringAndSize((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
7188#endif
7189 }
7190 return pyobj;
7191}
7192
7193
c32bde28 7194static PyObject *_wrap_new_ListBox(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7195 PyObject *resultobj;
7196 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 7197 int arg2 = (int) -1 ;
d14a1e28
RD
7198 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7199 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7200 wxSize const &arg4_defvalue = wxDefaultSize ;
7201 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4d5c3d91
RD
7202 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
7203 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
7204 long arg6 = (long) 0 ;
7205 wxValidator const &arg7_defvalue = wxDefaultValidator ;
7206 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
7207 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
7208 wxString *arg8 = (wxString *) &arg8_defvalue ;
d14a1e28
RD
7209 wxListBox *result;
7210 wxPoint temp3 ;
7211 wxSize temp4 ;
ae8162c8
RD
7212 bool temp5 = false ;
7213 bool temp8 = false ;
d14a1e28 7214 PyObject * obj0 = 0 ;
994141e6 7215 PyObject * obj1 = 0 ;
d14a1e28
RD
7216 PyObject * obj2 = 0 ;
7217 PyObject * obj3 = 0 ;
7218 PyObject * obj4 = 0 ;
994141e6 7219 PyObject * obj5 = 0 ;
d14a1e28
RD
7220 PyObject * obj6 = 0 ;
7221 PyObject * obj7 = 0 ;
7222 char *kwnames[] = {
7223 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7224 };
7225
248ed943 7226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
7227 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7228 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 7229 if (obj1) {
093d3ff1
RD
7230 {
7231 arg2 = (int)(SWIG_As_int(obj1));
7232 if (SWIG_arg_fail(2)) SWIG_fail;
7233 }
248ed943 7234 }
d14a1e28
RD
7235 if (obj2) {
7236 {
7237 arg3 = &temp3;
7238 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7239 }
7240 }
7241 if (obj3) {
7242 {
7243 arg4 = &temp4;
7244 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7245 }
7246 }
7247 if (obj4) {
7248 {
4d5c3d91
RD
7249 if (! PySequence_Check(obj4)) {
7250 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7251 SWIG_fail;
7252 }
7253 arg5 = new wxArrayString;
ae8162c8 7254 temp5 = true;
4d5c3d91
RD
7255 int i, len=PySequence_Length(obj4);
7256 for (i=0; i<len; i++) {
7257 PyObject* item = PySequence_GetItem(obj4, i);
7258#if wxUSE_UNICODE
7259 PyObject* str = PyObject_Unicode(item);
7260#else
7261 PyObject* str = PyObject_Str(item);
7262#endif
74a57fcd 7263 if (PyErr_Occurred()) SWIG_fail;
4d5c3d91
RD
7264 arg5->Add(Py2wxString(str));
7265 Py_DECREF(item);
7266 Py_DECREF(str);
7267 }
d14a1e28
RD
7268 }
7269 }
994141e6 7270 if (obj5) {
093d3ff1
RD
7271 {
7272 arg6 = (long)(SWIG_As_long(obj5));
7273 if (SWIG_arg_fail(6)) SWIG_fail;
7274 }
994141e6 7275 }
d14a1e28 7276 if (obj6) {
093d3ff1
RD
7277 {
7278 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
7279 if (SWIG_arg_fail(7)) SWIG_fail;
7280 if (arg7 == NULL) {
7281 SWIG_null_ref("wxValidator");
7282 }
7283 if (SWIG_arg_fail(7)) SWIG_fail;
d14a1e28
RD
7284 }
7285 }
7286 if (obj7) {
7287 {
4d5c3d91
RD
7288 arg8 = wxString_in_helper(obj7);
7289 if (arg8 == NULL) SWIG_fail;
ae8162c8 7290 temp8 = true;
d14a1e28
RD
7291 }
7292 }
7293 {
e3b71cb8 7294 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 7295 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 7296 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
d14a1e28
RD
7297
7298 wxPyEndAllowThreads(__tstate);
110da5b0 7299 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 7300 }
15afbcd0 7301 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
d14a1e28 7302 {
3adfb63b 7303 if (temp5) delete arg5;
d14a1e28
RD
7304 }
7305 {
7306 if (temp8)
4d5c3d91 7307 delete arg8;
d14a1e28
RD
7308 }
7309 return resultobj;
7310 fail:
7311 {
3adfb63b 7312 if (temp5) delete arg5;
d14a1e28
RD
7313 }
7314 {
7315 if (temp8)
4d5c3d91 7316 delete arg8;
d14a1e28
RD
7317 }
7318 return NULL;
7319}
7320
7321
c32bde28 7322static PyObject *_wrap_new_PreListBox(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7323 PyObject *resultobj;
7324 wxListBox *result;
7325 char *kwnames[] = {
7326 NULL
7327 };
7328
7329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListBox",kwnames)) goto fail;
7330 {
e3b71cb8 7331 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
7332 PyThreadState* __tstate = wxPyBeginAllowThreads();
7333 result = (wxListBox *)new wxListBox();
7334
7335 wxPyEndAllowThreads(__tstate);
110da5b0 7336 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 7337 }
15afbcd0 7338 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
d14a1e28
RD
7339 return resultobj;
7340 fail:
7341 return NULL;
7342}
7343
7344
c32bde28 7345static PyObject *_wrap_ListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7346 PyObject *resultobj;
7347 wxListBox *arg1 = (wxListBox *) 0 ;
7348 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 7349 int arg3 = (int) -1 ;
d14a1e28
RD
7350 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7351 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7352 wxSize const &arg5_defvalue = wxDefaultSize ;
7353 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4d5c3d91
RD
7354 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
7355 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
7356 long arg7 = (long) 0 ;
7357 wxValidator const &arg8_defvalue = wxDefaultValidator ;
7358 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
7359 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
7360 wxString *arg9 = (wxString *) &arg9_defvalue ;
d14a1e28
RD
7361 bool result;
7362 wxPoint temp4 ;
7363 wxSize temp5 ;
ae8162c8
RD
7364 bool temp6 = false ;
7365 bool temp9 = false ;
d14a1e28
RD
7366 PyObject * obj0 = 0 ;
7367 PyObject * obj1 = 0 ;
994141e6 7368 PyObject * obj2 = 0 ;
d14a1e28
RD
7369 PyObject * obj3 = 0 ;
7370 PyObject * obj4 = 0 ;
7371 PyObject * obj5 = 0 ;
994141e6 7372 PyObject * obj6 = 0 ;
d14a1e28
RD
7373 PyObject * obj7 = 0 ;
7374 PyObject * obj8 = 0 ;
7375 char *kwnames[] = {
7376 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7377 };
7378
248ed943 7379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
7380 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7381 if (SWIG_arg_fail(1)) SWIG_fail;
7382 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7383 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 7384 if (obj2) {
093d3ff1
RD
7385 {
7386 arg3 = (int)(SWIG_As_int(obj2));
7387 if (SWIG_arg_fail(3)) SWIG_fail;
7388 }
248ed943 7389 }
d14a1e28
RD
7390 if (obj3) {
7391 {
7392 arg4 = &temp4;
7393 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7394 }
7395 }
7396 if (obj4) {
7397 {
7398 arg5 = &temp5;
7399 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7400 }
7401 }
7402 if (obj5) {
7403 {
4d5c3d91
RD
7404 if (! PySequence_Check(obj5)) {
7405 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7406 SWIG_fail;
7407 }
7408 arg6 = new wxArrayString;
ae8162c8 7409 temp6 = true;
4d5c3d91
RD
7410 int i, len=PySequence_Length(obj5);
7411 for (i=0; i<len; i++) {
7412 PyObject* item = PySequence_GetItem(obj5, i);
7413#if wxUSE_UNICODE
7414 PyObject* str = PyObject_Unicode(item);
7415#else
7416 PyObject* str = PyObject_Str(item);
7417#endif
74a57fcd 7418 if (PyErr_Occurred()) SWIG_fail;
4d5c3d91
RD
7419 arg6->Add(Py2wxString(str));
7420 Py_DECREF(item);
7421 Py_DECREF(str);
7422 }
d14a1e28
RD
7423 }
7424 }
994141e6 7425 if (obj6) {
093d3ff1
RD
7426 {
7427 arg7 = (long)(SWIG_As_long(obj6));
7428 if (SWIG_arg_fail(7)) SWIG_fail;
7429 }
994141e6 7430 }
d14a1e28 7431 if (obj7) {
093d3ff1
RD
7432 {
7433 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
7434 if (SWIG_arg_fail(8)) SWIG_fail;
7435 if (arg8 == NULL) {
7436 SWIG_null_ref("wxValidator");
7437 }
7438 if (SWIG_arg_fail(8)) SWIG_fail;
d14a1e28
RD
7439 }
7440 }
7441 if (obj8) {
7442 {
4d5c3d91
RD
7443 arg9 = wxString_in_helper(obj8);
7444 if (arg9 == NULL) SWIG_fail;
ae8162c8 7445 temp9 = true;
d14a1e28
RD
7446 }
7447 }
7448 {
7449 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 7450 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
d14a1e28
RD
7451
7452 wxPyEndAllowThreads(__tstate);
7453 if (PyErr_Occurred()) SWIG_fail;
7454 }
4f89f6a3
RD
7455 {
7456 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7457 }
d14a1e28 7458 {
3adfb63b 7459 if (temp6) delete arg6;
d14a1e28
RD
7460 }
7461 {
7462 if (temp9)
4d5c3d91 7463 delete arg9;
d14a1e28
RD
7464 }
7465 return resultobj;
7466 fail:
7467 {
3adfb63b 7468 if (temp6) delete arg6;
d14a1e28
RD
7469 }
7470 {
7471 if (temp9)
4d5c3d91 7472 delete arg9;
d14a1e28
RD
7473 }
7474 return NULL;
7475}
7476
7477
c32bde28 7478static PyObject *_wrap_ListBox_Insert(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7479 PyObject *resultobj;
7480 wxListBox *arg1 = (wxListBox *) 0 ;
7481 wxString *arg2 = 0 ;
7482 int arg3 ;
7483 PyObject *arg4 = (PyObject *) NULL ;
ae8162c8 7484 bool temp2 = false ;
d14a1e28
RD
7485 PyObject * obj0 = 0 ;
7486 PyObject * obj1 = 0 ;
994141e6 7487 PyObject * obj2 = 0 ;
d14a1e28
RD
7488 PyObject * obj3 = 0 ;
7489 char *kwnames[] = {
7490 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
7491 };
7492
994141e6 7493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListBox_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
7494 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7495 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7496 {
7497 arg2 = wxString_in_helper(obj1);
7498 if (arg2 == NULL) SWIG_fail;
ae8162c8 7499 temp2 = true;
d14a1e28 7500 }
093d3ff1
RD
7501 {
7502 arg3 = (int)(SWIG_As_int(obj2));
7503 if (SWIG_arg_fail(3)) SWIG_fail;
7504 }
d14a1e28
RD
7505 if (obj3) {
7506 arg4 = obj3;
7507 }
7508 {
7509 PyThreadState* __tstate = wxPyBeginAllowThreads();
7510 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
7511
7512 wxPyEndAllowThreads(__tstate);
7513 if (PyErr_Occurred()) SWIG_fail;
7514 }
7515 Py_INCREF(Py_None); resultobj = Py_None;
7516 {
7517 if (temp2)
7518 delete arg2;
7519 }
7520 return resultobj;
7521 fail:
7522 {
7523 if (temp2)
7524 delete arg2;
7525 }
7526 return NULL;
7527}
7528
7529
c32bde28 7530static PyObject *_wrap_ListBox_InsertItems(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7531 PyObject *resultobj;
7532 wxListBox *arg1 = (wxListBox *) 0 ;
7533 wxArrayString *arg2 = 0 ;
7534 int arg3 ;
ae8162c8 7535 bool temp2 = false ;
d14a1e28
RD
7536 PyObject * obj0 = 0 ;
7537 PyObject * obj1 = 0 ;
994141e6 7538 PyObject * obj2 = 0 ;
d14a1e28
RD
7539 char *kwnames[] = {
7540 (char *) "self",(char *) "items",(char *) "pos", NULL
7541 };
7542
994141e6 7543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_InsertItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
7544 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7545 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7546 {
7547 if (! PySequence_Check(obj1)) {
7548 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7549 SWIG_fail;
7550 }
7551 arg2 = new wxArrayString;
ae8162c8 7552 temp2 = true;
d14a1e28
RD
7553 int i, len=PySequence_Length(obj1);
7554 for (i=0; i<len; i++) {
7555 PyObject* item = PySequence_GetItem(obj1, i);
7556#if wxUSE_UNICODE
7557 PyObject* str = PyObject_Unicode(item);
7558#else
7559 PyObject* str = PyObject_Str(item);
7560#endif
74a57fcd 7561 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7562 arg2->Add(Py2wxString(str));
7563 Py_DECREF(item);
7564 Py_DECREF(str);
7565 }
7566 }
093d3ff1
RD
7567 {
7568 arg3 = (int)(SWIG_As_int(obj2));
7569 if (SWIG_arg_fail(3)) SWIG_fail;
7570 }
d14a1e28
RD
7571 {
7572 PyThreadState* __tstate = wxPyBeginAllowThreads();
7573 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
7574
7575 wxPyEndAllowThreads(__tstate);
7576 if (PyErr_Occurred()) SWIG_fail;
7577 }
7578 Py_INCREF(Py_None); resultobj = Py_None;
7579 {
3adfb63b 7580 if (temp2) delete arg2;
d14a1e28
RD
7581 }
7582 return resultobj;
7583 fail:
7584 {
3adfb63b 7585 if (temp2) delete arg2;
d14a1e28
RD
7586 }
7587 return NULL;
7588}
7589
7590
c32bde28 7591static PyObject *_wrap_ListBox_Set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7592 PyObject *resultobj;
7593 wxListBox *arg1 = (wxListBox *) 0 ;
7594 wxArrayString *arg2 = 0 ;
ae8162c8 7595 bool temp2 = false ;
d14a1e28
RD
7596 PyObject * obj0 = 0 ;
7597 PyObject * obj1 = 0 ;
7598 char *kwnames[] = {
7599 (char *) "self",(char *) "items", NULL
7600 };
7601
7602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) 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;
d14a1e28
RD
7605 {
7606 if (! PySequence_Check(obj1)) {
7607 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7608 SWIG_fail;
7609 }
7610 arg2 = new wxArrayString;
ae8162c8 7611 temp2 = true;
d14a1e28
RD
7612 int i, len=PySequence_Length(obj1);
7613 for (i=0; i<len; i++) {
7614 PyObject* item = PySequence_GetItem(obj1, i);
7615#if wxUSE_UNICODE
7616 PyObject* str = PyObject_Unicode(item);
7617#else
7618 PyObject* str = PyObject_Str(item);
7619#endif
74a57fcd 7620 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7621 arg2->Add(Py2wxString(str));
7622 Py_DECREF(item);
7623 Py_DECREF(str);
7624 }
7625 }
7626 {
7627 PyThreadState* __tstate = wxPyBeginAllowThreads();
7628 (arg1)->Set((wxArrayString const &)*arg2);
7629
7630 wxPyEndAllowThreads(__tstate);
7631 if (PyErr_Occurred()) SWIG_fail;
7632 }
7633 Py_INCREF(Py_None); resultobj = Py_None;
7634 {
3adfb63b 7635 if (temp2) delete arg2;
d14a1e28
RD
7636 }
7637 return resultobj;
7638 fail:
7639 {
3adfb63b 7640 if (temp2) delete arg2;
d14a1e28
RD
7641 }
7642 return NULL;
7643}
7644
7645
c32bde28 7646static PyObject *_wrap_ListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7647 PyObject *resultobj;
7648 wxListBox *arg1 = (wxListBox *) 0 ;
7649 int arg2 ;
7650 bool result;
7651 PyObject * obj0 = 0 ;
994141e6 7652 PyObject * obj1 = 0 ;
d14a1e28
RD
7653 char *kwnames[] = {
7654 (char *) "self",(char *) "n", NULL
7655 };
7656
994141e6 7657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7658 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7659 if (SWIG_arg_fail(1)) SWIG_fail;
7660 {
7661 arg2 = (int)(SWIG_As_int(obj1));
7662 if (SWIG_arg_fail(2)) SWIG_fail;
7663 }
d14a1e28
RD
7664 {
7665 PyThreadState* __tstate = wxPyBeginAllowThreads();
7666 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
7667
7668 wxPyEndAllowThreads(__tstate);
7669 if (PyErr_Occurred()) SWIG_fail;
7670 }
4f89f6a3
RD
7671 {
7672 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7673 }
d14a1e28
RD
7674 return resultobj;
7675 fail:
7676 return NULL;
7677}
7678
7679
c32bde28 7680static PyObject *_wrap_ListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7681 PyObject *resultobj;
7682 wxListBox *arg1 = (wxListBox *) 0 ;
7683 int arg2 ;
ae8162c8 7684 bool arg3 = (bool) true ;
d14a1e28 7685 PyObject * obj0 = 0 ;
994141e6 7686 PyObject * obj1 = 0 ;
d14a1e28
RD
7687 PyObject * obj2 = 0 ;
7688 char *kwnames[] = {
7689 (char *) "self",(char *) "n",(char *) "select", NULL
7690 };
7691
994141e6 7692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
7693 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7694 if (SWIG_arg_fail(1)) SWIG_fail;
7695 {
7696 arg2 = (int)(SWIG_As_int(obj1));
7697 if (SWIG_arg_fail(2)) SWIG_fail;
7698 }
d14a1e28 7699 if (obj2) {
093d3ff1
RD
7700 {
7701 arg3 = (bool)(SWIG_As_bool(obj2));
7702 if (SWIG_arg_fail(3)) SWIG_fail;
7703 }
d14a1e28
RD
7704 }
7705 {
7706 PyThreadState* __tstate = wxPyBeginAllowThreads();
7707 (arg1)->SetSelection(arg2,arg3);
7708
7709 wxPyEndAllowThreads(__tstate);
7710 if (PyErr_Occurred()) SWIG_fail;
7711 }
7712 Py_INCREF(Py_None); resultobj = Py_None;
7713 return resultobj;
7714 fail:
7715 return NULL;
7716}
7717
7718
c32bde28 7719static PyObject *_wrap_ListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7720 PyObject *resultobj;
7721 wxListBox *arg1 = (wxListBox *) 0 ;
7722 int arg2 ;
7723 PyObject * obj0 = 0 ;
994141e6 7724 PyObject * obj1 = 0 ;
d14a1e28
RD
7725 char *kwnames[] = {
7726 (char *) "self",(char *) "n", NULL
7727 };
7728
994141e6 7729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Select",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7730 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7731 if (SWIG_arg_fail(1)) SWIG_fail;
7732 {
7733 arg2 = (int)(SWIG_As_int(obj1));
7734 if (SWIG_arg_fail(2)) SWIG_fail;
7735 }
d14a1e28
RD
7736 {
7737 PyThreadState* __tstate = wxPyBeginAllowThreads();
7738 (arg1)->Select(arg2);
7739
7740 wxPyEndAllowThreads(__tstate);
7741 if (PyErr_Occurred()) SWIG_fail;
7742 }
7743 Py_INCREF(Py_None); resultobj = Py_None;
7744 return resultobj;
7745 fail:
7746 return NULL;
7747}
7748
7749
c32bde28 7750static PyObject *_wrap_ListBox_Deselect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7751 PyObject *resultobj;
7752 wxListBox *arg1 = (wxListBox *) 0 ;
7753 int arg2 ;
7754 PyObject * obj0 = 0 ;
994141e6 7755 PyObject * obj1 = 0 ;
d14a1e28
RD
7756 char *kwnames[] = {
7757 (char *) "self",(char *) "n", NULL
7758 };
7759
994141e6 7760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Deselect",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7761 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7762 if (SWIG_arg_fail(1)) SWIG_fail;
7763 {
7764 arg2 = (int)(SWIG_As_int(obj1));
7765 if (SWIG_arg_fail(2)) SWIG_fail;
7766 }
d14a1e28
RD
7767 {
7768 PyThreadState* __tstate = wxPyBeginAllowThreads();
7769 (arg1)->Deselect(arg2);
7770
7771 wxPyEndAllowThreads(__tstate);
7772 if (PyErr_Occurred()) SWIG_fail;
7773 }
7774 Py_INCREF(Py_None); resultobj = Py_None;
7775 return resultobj;
7776 fail:
7777 return NULL;
7778}
7779
7780
c32bde28 7781static PyObject *_wrap_ListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7782 PyObject *resultobj;
7783 wxListBox *arg1 = (wxListBox *) 0 ;
7784 int arg2 = (int) -1 ;
7785 PyObject * obj0 = 0 ;
994141e6 7786 PyObject * obj1 = 0 ;
d14a1e28
RD
7787 char *kwnames[] = {
7788 (char *) "self",(char *) "itemToLeaveSelected", NULL
7789 };
7790
994141e6 7791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListBox_DeselectAll",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7792 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7793 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 7794 if (obj1) {
093d3ff1
RD
7795 {
7796 arg2 = (int)(SWIG_As_int(obj1));
7797 if (SWIG_arg_fail(2)) SWIG_fail;
7798 }
994141e6 7799 }
d14a1e28
RD
7800 {
7801 PyThreadState* __tstate = wxPyBeginAllowThreads();
7802 (arg1)->DeselectAll(arg2);
7803
7804 wxPyEndAllowThreads(__tstate);
7805 if (PyErr_Occurred()) SWIG_fail;
7806 }
7807 Py_INCREF(Py_None); resultobj = Py_None;
7808 return resultobj;
7809 fail:
7810 return NULL;
7811}
7812
7813
c32bde28 7814static PyObject *_wrap_ListBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7815 PyObject *resultobj;
7816 wxListBox *arg1 = (wxListBox *) 0 ;
7817 wxString *arg2 = 0 ;
ae8162c8 7818 bool arg3 = (bool) true ;
d14a1e28 7819 bool result;
ae8162c8 7820 bool temp2 = false ;
d14a1e28
RD
7821 PyObject * obj0 = 0 ;
7822 PyObject * obj1 = 0 ;
7823 PyObject * obj2 = 0 ;
7824 char *kwnames[] = {
7825 (char *) "self",(char *) "s",(char *) "select", NULL
7826 };
7827
7828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
7829 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7830 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7831 {
7832 arg2 = wxString_in_helper(obj1);
7833 if (arg2 == NULL) SWIG_fail;
ae8162c8 7834 temp2 = true;
d14a1e28
RD
7835 }
7836 if (obj2) {
093d3ff1
RD
7837 {
7838 arg3 = (bool)(SWIG_As_bool(obj2));
7839 if (SWIG_arg_fail(3)) SWIG_fail;
7840 }
d14a1e28
RD
7841 }
7842 {
7843 PyThreadState* __tstate = wxPyBeginAllowThreads();
7844 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
7845
7846 wxPyEndAllowThreads(__tstate);
7847 if (PyErr_Occurred()) SWIG_fail;
7848 }
4f89f6a3
RD
7849 {
7850 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7851 }
d14a1e28
RD
7852 {
7853 if (temp2)
7854 delete arg2;
7855 }
7856 return resultobj;
7857 fail:
7858 {
7859 if (temp2)
7860 delete arg2;
7861 }
7862 return NULL;
7863}
7864
7865
c32bde28 7866static PyObject *_wrap_ListBox_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7867 PyObject *resultobj;
7868 wxListBox *arg1 = (wxListBox *) 0 ;
7869 PyObject *result;
7870 PyObject * obj0 = 0 ;
7871 char *kwnames[] = {
7872 (char *) "self", NULL
7873 };
7874
7875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_GetSelections",kwnames,&obj0)) goto fail;
093d3ff1
RD
7876 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7877 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7878 {
7879 PyThreadState* __tstate = wxPyBeginAllowThreads();
7880 result = (PyObject *)wxListBox_GetSelections(arg1);
7881
7882 wxPyEndAllowThreads(__tstate);
7883 if (PyErr_Occurred()) SWIG_fail;
7884 }
7885 resultobj = result;
7886 return resultobj;
7887 fail:
7888 return NULL;
7889}
7890
7891
c32bde28 7892static PyObject *_wrap_ListBox_SetFirstItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7893 PyObject *resultobj;
7894 wxListBox *arg1 = (wxListBox *) 0 ;
7895 int arg2 ;
7896 PyObject * obj0 = 0 ;
994141e6 7897 PyObject * obj1 = 0 ;
d14a1e28
RD
7898 char *kwnames[] = {
7899 (char *) "self",(char *) "n", NULL
7900 };
7901
994141e6 7902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7903 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7904 if (SWIG_arg_fail(1)) SWIG_fail;
7905 {
7906 arg2 = (int)(SWIG_As_int(obj1));
7907 if (SWIG_arg_fail(2)) SWIG_fail;
7908 }
d14a1e28
RD
7909 {
7910 PyThreadState* __tstate = wxPyBeginAllowThreads();
7911 (arg1)->SetFirstItem(arg2);
7912
7913 wxPyEndAllowThreads(__tstate);
7914 if (PyErr_Occurred()) SWIG_fail;
7915 }
7916 Py_INCREF(Py_None); resultobj = Py_None;
7917 return resultobj;
7918 fail:
7919 return NULL;
7920}
7921
7922
c32bde28 7923static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7924 PyObject *resultobj;
7925 wxListBox *arg1 = (wxListBox *) 0 ;
7926 wxString *arg2 = 0 ;
ae8162c8 7927 bool temp2 = false ;
d14a1e28
RD
7928 PyObject * obj0 = 0 ;
7929 PyObject * obj1 = 0 ;
7930 char *kwnames[] = {
7931 (char *) "self",(char *) "s", NULL
7932 };
7933
7934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7935 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7936 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7937 {
7938 arg2 = wxString_in_helper(obj1);
7939 if (arg2 == NULL) SWIG_fail;
ae8162c8 7940 temp2 = true;
d14a1e28
RD
7941 }
7942 {
7943 PyThreadState* __tstate = wxPyBeginAllowThreads();
7944 (arg1)->SetFirstItem((wxString const &)*arg2);
7945
7946 wxPyEndAllowThreads(__tstate);
7947 if (PyErr_Occurred()) SWIG_fail;
7948 }
7949 Py_INCREF(Py_None); resultobj = Py_None;
7950 {
7951 if (temp2)
7952 delete arg2;
7953 }
7954 return resultobj;
7955 fail:
7956 {
7957 if (temp2)
7958 delete arg2;
7959 }
7960 return NULL;
7961}
7962
7963
c32bde28 7964static PyObject *_wrap_ListBox_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7965 PyObject *resultobj;
7966 wxListBox *arg1 = (wxListBox *) 0 ;
7967 int arg2 ;
7968 PyObject * obj0 = 0 ;
994141e6 7969 PyObject * obj1 = 0 ;
d14a1e28
RD
7970 char *kwnames[] = {
7971 (char *) "self",(char *) "n", NULL
7972 };
7973
994141e6 7974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7975 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7976 if (SWIG_arg_fail(1)) SWIG_fail;
7977 {
7978 arg2 = (int)(SWIG_As_int(obj1));
7979 if (SWIG_arg_fail(2)) SWIG_fail;
7980 }
d14a1e28
RD
7981 {
7982 PyThreadState* __tstate = wxPyBeginAllowThreads();
7983 (arg1)->EnsureVisible(arg2);
7984
7985 wxPyEndAllowThreads(__tstate);
7986 if (PyErr_Occurred()) SWIG_fail;
7987 }
7988 Py_INCREF(Py_None); resultobj = Py_None;
7989 return resultobj;
7990 fail:
7991 return NULL;
7992}
7993
7994
c32bde28 7995static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7996 PyObject *resultobj;
7997 wxListBox *arg1 = (wxListBox *) 0 ;
7998 wxString *arg2 = 0 ;
ae8162c8 7999 bool temp2 = false ;
d14a1e28
RD
8000 PyObject * obj0 = 0 ;
8001 PyObject * obj1 = 0 ;
8002 char *kwnames[] = {
8003 (char *) "self",(char *) "s", NULL
8004 };
8005
8006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8007 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8008 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8009 {
8010 arg2 = wxString_in_helper(obj1);
8011 if (arg2 == NULL) SWIG_fail;
ae8162c8 8012 temp2 = true;
d14a1e28
RD
8013 }
8014 {
8015 PyThreadState* __tstate = wxPyBeginAllowThreads();
8016 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
8017
8018 wxPyEndAllowThreads(__tstate);
8019 if (PyErr_Occurred()) SWIG_fail;
8020 }
8021 Py_INCREF(Py_None); resultobj = Py_None;
8022 {
8023 if (temp2)
8024 delete arg2;
8025 }
8026 return resultobj;
8027 fail:
8028 {
8029 if (temp2)
8030 delete arg2;
8031 }
8032 return NULL;
8033}
8034
8035
c32bde28 8036static PyObject *_wrap_ListBox_IsSorted(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8037 PyObject *resultobj;
8038 wxListBox *arg1 = (wxListBox *) 0 ;
8039 bool result;
8040 PyObject * obj0 = 0 ;
8041 char *kwnames[] = {
8042 (char *) "self", NULL
8043 };
8044
8045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_IsSorted",kwnames,&obj0)) goto fail;
093d3ff1
RD
8046 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8047 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8048 {
8049 PyThreadState* __tstate = wxPyBeginAllowThreads();
8050 result = (bool)((wxListBox const *)arg1)->IsSorted();
8051
8052 wxPyEndAllowThreads(__tstate);
8053 if (PyErr_Occurred()) SWIG_fail;
8054 }
4f89f6a3
RD
8055 {
8056 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8057 }
d14a1e28
RD
8058 return resultobj;
8059 fail:
8060 return NULL;
8061}
8062
8063
c32bde28 8064static PyObject *_wrap_ListBox_SetItemForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
c3eb6258
RD
8065 PyObject *resultobj;
8066 wxListBox *arg1 = (wxListBox *) 0 ;
8067 int arg2 ;
8068 wxColour *arg3 = 0 ;
8069 wxColour temp3 ;
8070 PyObject * obj0 = 0 ;
8071 PyObject * obj1 = 0 ;
8072 PyObject * obj2 = 0 ;
8073 char *kwnames[] = {
8074 (char *) "self",(char *) "item",(char *) "c", NULL
8075 };
8076
8077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8078 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8079 if (SWIG_arg_fail(1)) SWIG_fail;
8080 {
8081 arg2 = (int)(SWIG_As_int(obj1));
8082 if (SWIG_arg_fail(2)) SWIG_fail;
8083 }
c3eb6258
RD
8084 {
8085 arg3 = &temp3;
8086 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
8087 }
8088 {
8089 PyThreadState* __tstate = wxPyBeginAllowThreads();
8090 wxListBox_SetItemForegroundColour(arg1,arg2,(wxColour const &)*arg3);
8091
8092 wxPyEndAllowThreads(__tstate);
8093 if (PyErr_Occurred()) SWIG_fail;
8094 }
8095 Py_INCREF(Py_None); resultobj = Py_None;
8096 return resultobj;
8097 fail:
8098 return NULL;
8099}
8100
8101
c32bde28 8102static PyObject *_wrap_ListBox_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
c3eb6258
RD
8103 PyObject *resultobj;
8104 wxListBox *arg1 = (wxListBox *) 0 ;
8105 int arg2 ;
8106 wxColour *arg3 = 0 ;
8107 wxColour temp3 ;
8108 PyObject * obj0 = 0 ;
8109 PyObject * obj1 = 0 ;
8110 PyObject * obj2 = 0 ;
8111 char *kwnames[] = {
8112 (char *) "self",(char *) "item",(char *) "c", NULL
8113 };
8114
8115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8116 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8117 if (SWIG_arg_fail(1)) SWIG_fail;
8118 {
8119 arg2 = (int)(SWIG_As_int(obj1));
8120 if (SWIG_arg_fail(2)) SWIG_fail;
8121 }
c3eb6258
RD
8122 {
8123 arg3 = &temp3;
8124 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
8125 }
8126 {
8127 PyThreadState* __tstate = wxPyBeginAllowThreads();
8128 wxListBox_SetItemBackgroundColour(arg1,arg2,(wxColour const &)*arg3);
8129
8130 wxPyEndAllowThreads(__tstate);
8131 if (PyErr_Occurred()) SWIG_fail;
8132 }
8133 Py_INCREF(Py_None); resultobj = Py_None;
8134 return resultobj;
8135 fail:
8136 return NULL;
8137}
8138
8139
c32bde28 8140static PyObject *_wrap_ListBox_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
c3eb6258
RD
8141 PyObject *resultobj;
8142 wxListBox *arg1 = (wxListBox *) 0 ;
8143 int arg2 ;
8144 wxFont *arg3 = 0 ;
8145 PyObject * obj0 = 0 ;
8146 PyObject * obj1 = 0 ;
8147 PyObject * obj2 = 0 ;
8148 char *kwnames[] = {
8149 (char *) "self",(char *) "item",(char *) "f", NULL
8150 };
8151
8152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8153 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8154 if (SWIG_arg_fail(1)) SWIG_fail;
8155 {
8156 arg2 = (int)(SWIG_As_int(obj1));
8157 if (SWIG_arg_fail(2)) SWIG_fail;
8158 }
8159 {
8160 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
8161 if (SWIG_arg_fail(3)) SWIG_fail;
8162 if (arg3 == NULL) {
8163 SWIG_null_ref("wxFont");
8164 }
8165 if (SWIG_arg_fail(3)) SWIG_fail;
c3eb6258
RD
8166 }
8167 {
8168 PyThreadState* __tstate = wxPyBeginAllowThreads();
8169 wxListBox_SetItemFont(arg1,arg2,(wxFont const &)*arg3);
8170
8171 wxPyEndAllowThreads(__tstate);
8172 if (PyErr_Occurred()) SWIG_fail;
8173 }
8174 Py_INCREF(Py_None); resultobj = Py_None;
8175 return resultobj;
8176 fail:
8177 return NULL;
8178}
8179
8180
c32bde28 8181static PyObject *_wrap_ListBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
74a57fcd 8182 PyObject *resultobj;
093d3ff1 8183 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
74a57fcd
RD
8184 wxVisualAttributes result;
8185 PyObject * obj0 = 0 ;
8186 char *kwnames[] = {
8187 (char *) "variant", NULL
8188 };
8189
8190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
8191 if (obj0) {
093d3ff1
RD
8192 {
8193 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
8194 if (SWIG_arg_fail(1)) SWIG_fail;
8195 }
74a57fcd
RD
8196 }
8197 {
110da5b0 8198 if (!wxPyCheckForApp()) SWIG_fail;
74a57fcd
RD
8199 PyThreadState* __tstate = wxPyBeginAllowThreads();
8200 result = wxListBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
8201
8202 wxPyEndAllowThreads(__tstate);
dfbb5885 8203 if (PyErr_Occurred()) SWIG_fail;
74a57fcd
RD
8204 }
8205 {
8206 wxVisualAttributes * resultptr;
093d3ff1 8207 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
74a57fcd
RD
8208 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
8209 }
8210 return resultobj;
8211 fail:
8212 return NULL;
8213}
8214
8215
c32bde28 8216static PyObject * ListBox_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
8217 PyObject *obj;
8218 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8219 SWIG_TypeClientData(SWIGTYPE_p_wxListBox, obj);
8220 Py_INCREF(obj);
8221 return Py_BuildValue((char *)"");
8222}
c32bde28 8223static PyObject *_wrap_new_CheckListBox(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8224 PyObject *resultobj;
8225 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 8226 int arg2 = (int) -1 ;
d14a1e28
RD
8227 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8228 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8229 wxSize const &arg4_defvalue = wxDefaultSize ;
8230 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4d5c3d91
RD
8231 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
8232 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
8233 long arg6 = (long) 0 ;
8234 wxValidator const &arg7_defvalue = wxDefaultValidator ;
8235 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
8236 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
8237 wxString *arg8 = (wxString *) &arg8_defvalue ;
d14a1e28
RD
8238 wxCheckListBox *result;
8239 wxPoint temp3 ;
8240 wxSize temp4 ;
ae8162c8
RD
8241 bool temp5 = false ;
8242 bool temp8 = false ;
d14a1e28 8243 PyObject * obj0 = 0 ;
994141e6 8244 PyObject * obj1 = 0 ;
d14a1e28
RD
8245 PyObject * obj2 = 0 ;
8246 PyObject * obj3 = 0 ;
8247 PyObject * obj4 = 0 ;
994141e6 8248 PyObject * obj5 = 0 ;
d14a1e28
RD
8249 PyObject * obj6 = 0 ;
8250 PyObject * obj7 = 0 ;
8251 char *kwnames[] = {
8252 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8253 };
8254
248ed943 8255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
8256 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8257 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 8258 if (obj1) {
093d3ff1
RD
8259 {
8260 arg2 = (int)(SWIG_As_int(obj1));
8261 if (SWIG_arg_fail(2)) SWIG_fail;
8262 }
248ed943 8263 }
d14a1e28
RD
8264 if (obj2) {
8265 {
8266 arg3 = &temp3;
8267 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8268 }
8269 }
8270 if (obj3) {
8271 {
8272 arg4 = &temp4;
8273 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8274 }
8275 }
8276 if (obj4) {
8277 {
4d5c3d91
RD
8278 if (! PySequence_Check(obj4)) {
8279 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
8280 SWIG_fail;
8281 }
8282 arg5 = new wxArrayString;
ae8162c8 8283 temp5 = true;
4d5c3d91
RD
8284 int i, len=PySequence_Length(obj4);
8285 for (i=0; i<len; i++) {
8286 PyObject* item = PySequence_GetItem(obj4, i);
8287#if wxUSE_UNICODE
8288 PyObject* str = PyObject_Unicode(item);
8289#else
8290 PyObject* str = PyObject_Str(item);
8291#endif
74a57fcd 8292 if (PyErr_Occurred()) SWIG_fail;
4d5c3d91
RD
8293 arg5->Add(Py2wxString(str));
8294 Py_DECREF(item);
8295 Py_DECREF(str);
8296 }
d14a1e28
RD
8297 }
8298 }
994141e6 8299 if (obj5) {
093d3ff1
RD
8300 {
8301 arg6 = (long)(SWIG_As_long(obj5));
8302 if (SWIG_arg_fail(6)) SWIG_fail;
8303 }
994141e6 8304 }
d14a1e28 8305 if (obj6) {
093d3ff1
RD
8306 {
8307 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
8308 if (SWIG_arg_fail(7)) SWIG_fail;
8309 if (arg7 == NULL) {
8310 SWIG_null_ref("wxValidator");
8311 }
8312 if (SWIG_arg_fail(7)) SWIG_fail;
d14a1e28
RD
8313 }
8314 }
8315 if (obj7) {
8316 {
4d5c3d91
RD
8317 arg8 = wxString_in_helper(obj7);
8318 if (arg8 == NULL) SWIG_fail;
ae8162c8 8319 temp8 = true;
d14a1e28
RD
8320 }
8321 }
8322 {
e3b71cb8 8323 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 8324 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 8325 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
d14a1e28
RD
8326
8327 wxPyEndAllowThreads(__tstate);
110da5b0 8328 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 8329 }
15afbcd0 8330 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
d14a1e28 8331 {
3adfb63b 8332 if (temp5) delete arg5;
d14a1e28
RD
8333 }
8334 {
8335 if (temp8)
4d5c3d91 8336 delete arg8;
d14a1e28
RD
8337 }
8338 return resultobj;
8339 fail:
8340 {
3adfb63b 8341 if (temp5) delete arg5;
d14a1e28
RD
8342 }
8343 {
8344 if (temp8)
4d5c3d91 8345 delete arg8;
d14a1e28
RD
8346 }
8347 return NULL;
8348}
8349
8350
c32bde28 8351static PyObject *_wrap_new_PreCheckListBox(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8352 PyObject *resultobj;
8353 wxCheckListBox *result;
8354 char *kwnames[] = {
8355 NULL
8356 };
8357
8358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckListBox",kwnames)) goto fail;
8359 {
e3b71cb8 8360 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
8361 PyThreadState* __tstate = wxPyBeginAllowThreads();
8362 result = (wxCheckListBox *)new wxCheckListBox();
8363
8364 wxPyEndAllowThreads(__tstate);
110da5b0 8365 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 8366 }
15afbcd0 8367 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
d14a1e28
RD
8368 return resultobj;
8369 fail:
8370 return NULL;
8371}
8372
8373
c32bde28 8374static PyObject *_wrap_CheckListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8375 PyObject *resultobj;
8376 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8377 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 8378 int arg3 = (int) -1 ;
d14a1e28
RD
8379 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8380 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8381 wxSize const &arg5_defvalue = wxDefaultSize ;
8382 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4d5c3d91
RD
8383 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
8384 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
8385 long arg7 = (long) 0 ;
8386 wxValidator const &arg8_defvalue = wxDefaultValidator ;
8387 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
8388 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
8389 wxString *arg9 = (wxString *) &arg9_defvalue ;
d14a1e28
RD
8390 bool result;
8391 wxPoint temp4 ;
8392 wxSize temp5 ;
ae8162c8
RD
8393 bool temp6 = false ;
8394 bool temp9 = false ;
d14a1e28
RD
8395 PyObject * obj0 = 0 ;
8396 PyObject * obj1 = 0 ;
994141e6 8397 PyObject * obj2 = 0 ;
d14a1e28
RD
8398 PyObject * obj3 = 0 ;
8399 PyObject * obj4 = 0 ;
8400 PyObject * obj5 = 0 ;
994141e6 8401 PyObject * obj6 = 0 ;
d14a1e28
RD
8402 PyObject * obj7 = 0 ;
8403 PyObject * obj8 = 0 ;
8404 char *kwnames[] = {
8405 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8406 };
8407
248ed943 8408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
8409 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8410 if (SWIG_arg_fail(1)) SWIG_fail;
8411 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8412 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 8413 if (obj2) {
093d3ff1
RD
8414 {
8415 arg3 = (int)(SWIG_As_int(obj2));
8416 if (SWIG_arg_fail(3)) SWIG_fail;
8417 }
248ed943 8418 }
d14a1e28
RD
8419 if (obj3) {
8420 {
8421 arg4 = &temp4;
8422 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8423 }
8424 }
8425 if (obj4) {
8426 {
8427 arg5 = &temp5;
8428 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8429 }
8430 }
8431 if (obj5) {
8432 {
4d5c3d91
RD
8433 if (! PySequence_Check(obj5)) {
8434 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
8435 SWIG_fail;
8436 }
8437 arg6 = new wxArrayString;
ae8162c8 8438 temp6 = true;
4d5c3d91
RD
8439 int i, len=PySequence_Length(obj5);
8440 for (i=0; i<len; i++) {
8441 PyObject* item = PySequence_GetItem(obj5, i);
8442#if wxUSE_UNICODE
8443 PyObject* str = PyObject_Unicode(item);
8444#else
8445 PyObject* str = PyObject_Str(item);
8446#endif
74a57fcd 8447 if (PyErr_Occurred()) SWIG_fail;
4d5c3d91
RD
8448 arg6->Add(Py2wxString(str));
8449 Py_DECREF(item);
8450 Py_DECREF(str);
8451 }
d14a1e28
RD
8452 }
8453 }
994141e6 8454 if (obj6) {
093d3ff1
RD
8455 {
8456 arg7 = (long)(SWIG_As_long(obj6));
8457 if (SWIG_arg_fail(7)) SWIG_fail;
8458 }
994141e6 8459 }
d14a1e28 8460 if (obj7) {
093d3ff1
RD
8461 {
8462 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
8463 if (SWIG_arg_fail(8)) SWIG_fail;
8464 if (arg8 == NULL) {
8465 SWIG_null_ref("wxValidator");
8466 }
8467 if (SWIG_arg_fail(8)) SWIG_fail;
d14a1e28
RD
8468 }
8469 }
8470 if (obj8) {
8471 {
4d5c3d91
RD
8472 arg9 = wxString_in_helper(obj8);
8473 if (arg9 == NULL) SWIG_fail;
ae8162c8 8474 temp9 = true;
d14a1e28
RD
8475 }
8476 }
8477 {
8478 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 8479 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
d14a1e28
RD
8480
8481 wxPyEndAllowThreads(__tstate);
8482 if (PyErr_Occurred()) SWIG_fail;
8483 }
4f89f6a3
RD
8484 {
8485 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8486 }
d14a1e28 8487 {
3adfb63b 8488 if (temp6) delete arg6;
d14a1e28
RD
8489 }
8490 {
8491 if (temp9)
4d5c3d91 8492 delete arg9;
d14a1e28
RD
8493 }
8494 return resultobj;
8495 fail:
8496 {
3adfb63b 8497 if (temp6) delete arg6;
d14a1e28
RD
8498 }
8499 {
8500 if (temp9)
4d5c3d91 8501 delete arg9;
d14a1e28
RD
8502 }
8503 return NULL;
8504}
8505
8506
c32bde28 8507static PyObject *_wrap_CheckListBox_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8508 PyObject *resultobj;
8509 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8510 int arg2 ;
8511 bool result;
8512 PyObject * obj0 = 0 ;
994141e6 8513 PyObject * obj1 = 0 ;
d14a1e28
RD
8514 char *kwnames[] = {
8515 (char *) "self",(char *) "index", NULL
8516 };
8517
994141e6 8518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_IsChecked",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8519 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8520 if (SWIG_arg_fail(1)) SWIG_fail;
8521 {
8522 arg2 = (int)(SWIG_As_int(obj1));
8523 if (SWIG_arg_fail(2)) SWIG_fail;
8524 }
d14a1e28
RD
8525 {
8526 PyThreadState* __tstate = wxPyBeginAllowThreads();
8527 result = (bool)(arg1)->IsChecked(arg2);
8528
8529 wxPyEndAllowThreads(__tstate);
8530 if (PyErr_Occurred()) SWIG_fail;
8531 }
4f89f6a3
RD
8532 {
8533 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8534 }
d14a1e28
RD
8535 return resultobj;
8536 fail:
8537 return NULL;
8538}
8539
8540
c32bde28 8541static PyObject *_wrap_CheckListBox_Check(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8542 PyObject *resultobj;
8543 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8544 int arg2 ;
ae8162c8 8545 int arg3 = (int) true ;
d14a1e28 8546 PyObject * obj0 = 0 ;
994141e6
RD
8547 PyObject * obj1 = 0 ;
8548 PyObject * obj2 = 0 ;
d14a1e28
RD
8549 char *kwnames[] = {
8550 (char *) "self",(char *) "index",(char *) "check", NULL
8551 };
8552
994141e6 8553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:CheckListBox_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8554 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8555 if (SWIG_arg_fail(1)) SWIG_fail;
8556 {
8557 arg2 = (int)(SWIG_As_int(obj1));
8558 if (SWIG_arg_fail(2)) SWIG_fail;
8559 }
994141e6 8560 if (obj2) {
093d3ff1
RD
8561 {
8562 arg3 = (int)(SWIG_As_int(obj2));
8563 if (SWIG_arg_fail(3)) SWIG_fail;
8564 }
994141e6 8565 }
d14a1e28
RD
8566 {
8567 PyThreadState* __tstate = wxPyBeginAllowThreads();
8568 (arg1)->Check(arg2,arg3);
8569
8570 wxPyEndAllowThreads(__tstate);
8571 if (PyErr_Occurred()) SWIG_fail;
8572 }
8573 Py_INCREF(Py_None); resultobj = Py_None;
8574 return resultobj;
8575 fail:
8576 return NULL;
8577}
8578
8579
c32bde28 8580static PyObject *_wrap_CheckListBox_GetItemHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8581 PyObject *resultobj;
8582 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8583 int result;
8584 PyObject * obj0 = 0 ;
8585 char *kwnames[] = {
8586 (char *) "self", NULL
8587 };
8588
8589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckListBox_GetItemHeight",kwnames,&obj0)) goto fail;
093d3ff1
RD
8590 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8591 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8592 {
8593 PyThreadState* __tstate = wxPyBeginAllowThreads();
8594 result = (int)(arg1)->GetItemHeight();
8595
8596 wxPyEndAllowThreads(__tstate);
8597 if (PyErr_Occurred()) SWIG_fail;
8598 }
093d3ff1
RD
8599 {
8600 resultobj = SWIG_From_int((int)(result));
8601 }
d14a1e28
RD
8602 return resultobj;
8603 fail:
8604 return NULL;
8605}
8606
8607
c32bde28 8608static PyObject *_wrap_CheckListBox_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8609 PyObject *resultobj;
8610 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8611 wxPoint *arg2 = 0 ;
8612 int result;
8613 wxPoint temp2 ;
8614 PyObject * obj0 = 0 ;
8615 PyObject * obj1 = 0 ;
8616 char *kwnames[] = {
8617 (char *) "self",(char *) "pt", NULL
8618 };
8619
8620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_HitTest",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8621 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8622 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8623 {
8624 arg2 = &temp2;
8625 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8626 }
8627 {
8628 PyThreadState* __tstate = wxPyBeginAllowThreads();
8629 result = (int)((wxCheckListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
8630
8631 wxPyEndAllowThreads(__tstate);
8632 if (PyErr_Occurred()) SWIG_fail;
8633 }
093d3ff1
RD
8634 {
8635 resultobj = SWIG_From_int((int)(result));
8636 }
d14a1e28
RD
8637 return resultobj;
8638 fail:
8639 return NULL;
8640}
8641
8642
c32bde28 8643static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8644 PyObject *resultobj;
8645 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
e811c8ce
RD
8646 int arg2 ;
8647 int arg3 ;
d14a1e28
RD
8648 int result;
8649 PyObject * obj0 = 0 ;
994141e6
RD
8650 PyObject * obj1 = 0 ;
8651 PyObject * obj2 = 0 ;
d14a1e28
RD
8652 char *kwnames[] = {
8653 (char *) "self",(char *) "x",(char *) "y", NULL
8654 };
8655
994141e6 8656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:CheckListBox_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8657 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8658 if (SWIG_arg_fail(1)) SWIG_fail;
8659 {
8660 arg2 = (int)(SWIG_As_int(obj1));
8661 if (SWIG_arg_fail(2)) SWIG_fail;
8662 }
8663 {
8664 arg3 = (int)(SWIG_As_int(obj2));
8665 if (SWIG_arg_fail(3)) SWIG_fail;
8666 }
d14a1e28
RD
8667 {
8668 PyThreadState* __tstate = wxPyBeginAllowThreads();
8669 result = (int)((wxCheckListBox const *)arg1)->HitTest(arg2,arg3);
8670
8671 wxPyEndAllowThreads(__tstate);
8672 if (PyErr_Occurred()) SWIG_fail;
8673 }
093d3ff1
RD
8674 {
8675 resultobj = SWIG_From_int((int)(result));
8676 }
d14a1e28
RD
8677 return resultobj;
8678 fail:
8679 return NULL;
8680}
8681
8682
c32bde28 8683static PyObject * CheckListBox_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
8684 PyObject *obj;
8685 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8686 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox, obj);
8687 Py_INCREF(obj);
8688 return Py_BuildValue((char *)"");
8689}
c32bde28 8690static int _wrap_TextCtrlNameStr_set(PyObject *) {
b2dc1044
RD
8691 PyErr_SetString(PyExc_TypeError,"Variable TextCtrlNameStr is read-only.");
8692 return 1;
8693}
8694
8695
093d3ff1 8696static PyObject *_wrap_TextCtrlNameStr_get(void) {
b2dc1044
RD
8697 PyObject *pyobj;
8698
8699 {
8700#if wxUSE_UNICODE
8701 pyobj = PyUnicode_FromWideChar((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
8702#else
8703 pyobj = PyString_FromStringAndSize((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
8704#endif
8705 }
8706 return pyobj;
8707}
8708
8709
c32bde28 8710static PyObject *_wrap_new_TextAttr(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 8711 PyObject *resultobj;
908b74cd
RD
8712 wxColour const &arg1_defvalue = wxNullColour ;
8713 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
d14a1e28
RD
8714 wxColour const &arg2_defvalue = wxNullColour ;
8715 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
8716 wxFont const &arg3_defvalue = wxNullFont ;
8717 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
093d3ff1 8718 wxTextAttrAlignment arg4 = (wxTextAttrAlignment) wxTEXT_ALIGNMENT_DEFAULT ;
d14a1e28
RD
8719 wxTextAttr *result;
8720 wxColour temp1 ;
8721 wxColour temp2 ;
8722 PyObject * obj0 = 0 ;
8723 PyObject * obj1 = 0 ;
8724 PyObject * obj2 = 0 ;
994141e6 8725 PyObject * obj3 = 0 ;
908b74cd
RD
8726 char *kwnames[] = {
8727 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
8728 };
d14a1e28 8729
908b74cd
RD
8730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TextAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8731 if (obj0) {
8732 {
8733 arg1 = &temp1;
8734 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
8735 }
d14a1e28
RD
8736 }
8737 if (obj1) {
8738 {
8739 arg2 = &temp2;
8740 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8741 }
8742 }
8743 if (obj2) {
093d3ff1
RD
8744 {
8745 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
8746 if (SWIG_arg_fail(3)) SWIG_fail;
8747 if (arg3 == NULL) {
8748 SWIG_null_ref("wxFont");
8749 }
8750 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
8751 }
8752 }
994141e6 8753 if (obj3) {
093d3ff1
RD
8754 {
8755 arg4 = (wxTextAttrAlignment)(SWIG_As_int(obj3));
8756 if (SWIG_arg_fail(4)) SWIG_fail;
8757 }
994141e6 8758 }
d14a1e28
RD
8759 {
8760 PyThreadState* __tstate = wxPyBeginAllowThreads();
8761 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,(wxTextAttrAlignment )arg4);
8762
8763 wxPyEndAllowThreads(__tstate);
8764 if (PyErr_Occurred()) SWIG_fail;
8765 }
15afbcd0 8766 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 1);
d14a1e28
RD
8767 return resultobj;
8768 fail:
8769 return NULL;
8770}
8771
8772
c32bde28 8773static PyObject *_wrap_delete_TextAttr(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8774 PyObject *resultobj;
8775 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8776 PyObject * obj0 = 0 ;
8777 char *kwnames[] = {
8778 (char *) "self", NULL
8779 };
8780
994141e6 8781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TextAttr",kwnames,&obj0)) goto fail;
093d3ff1
RD
8782 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8783 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8784 {
8785 PyThreadState* __tstate = wxPyBeginAllowThreads();
994141e6 8786 delete arg1;
d14a1e28
RD
8787
8788 wxPyEndAllowThreads(__tstate);
8789 if (PyErr_Occurred()) SWIG_fail;
8790 }
8791 Py_INCREF(Py_None); resultobj = Py_None;
8792 return resultobj;
8793 fail:
8794 return NULL;
8795}
8796
8797
c32bde28 8798static PyObject *_wrap_TextAttr_Init(PyObject *, PyObject *args, PyObject *kwargs) {
994141e6
RD
8799 PyObject *resultobj;
8800 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8801 PyObject * obj0 = 0 ;
8802 char *kwnames[] = {
8803 (char *) "self", NULL
8804 };
8805
8806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_Init",kwnames,&obj0)) goto fail;
093d3ff1
RD
8807 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8808 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6
RD
8809 {
8810 PyThreadState* __tstate = wxPyBeginAllowThreads();
8811 (arg1)->Init();
8812
8813 wxPyEndAllowThreads(__tstate);
8814 if (PyErr_Occurred()) SWIG_fail;
8815 }
8816 Py_INCREF(Py_None); resultobj = Py_None;
8817 return resultobj;
8818 fail:
8819 return NULL;
8820}
8821
8822
c32bde28 8823static PyObject *_wrap_TextAttr_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8824 PyObject *resultobj;
8825 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8826 wxColour *arg2 = 0 ;
8827 wxColour temp2 ;
8828 PyObject * obj0 = 0 ;
8829 PyObject * obj1 = 0 ;
8830 char *kwnames[] = {
8831 (char *) "self",(char *) "colText", NULL
8832 };
8833
8834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8835 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8836 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8837 {
8838 arg2 = &temp2;
8839 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8840 }
8841 {
8842 PyThreadState* __tstate = wxPyBeginAllowThreads();
8843 (arg1)->SetTextColour((wxColour const &)*arg2);
8844
8845 wxPyEndAllowThreads(__tstate);
8846 if (PyErr_Occurred()) SWIG_fail;
8847 }
8848 Py_INCREF(Py_None); resultobj = Py_None;
8849 return resultobj;
8850 fail:
8851 return NULL;
8852}
8853
8854
c32bde28 8855static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8856 PyObject *resultobj;
8857 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8858 wxColour *arg2 = 0 ;
8859 wxColour temp2 ;
8860 PyObject * obj0 = 0 ;
8861 PyObject * obj1 = 0 ;
8862 char *kwnames[] = {
8863 (char *) "self",(char *) "colBack", NULL
8864 };
8865
8866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8867 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8868 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8869 {
8870 arg2 = &temp2;
8871 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8872 }
8873 {
8874 PyThreadState* __tstate = wxPyBeginAllowThreads();
8875 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
8876
8877 wxPyEndAllowThreads(__tstate);
8878 if (PyErr_Occurred()) SWIG_fail;
8879 }
8880 Py_INCREF(Py_None); resultobj = Py_None;
8881 return resultobj;
8882 fail:
8883 return NULL;
8884}
8885
8886
c32bde28 8887static PyObject *_wrap_TextAttr_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8888 PyObject *resultobj;
8889 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8890 wxFont *arg2 = 0 ;
8891 long arg3 = (long) wxTEXT_ATTR_FONT ;
8892 PyObject * obj0 = 0 ;
8893 PyObject * obj1 = 0 ;
994141e6 8894 PyObject * obj2 = 0 ;
d14a1e28
RD
8895 char *kwnames[] = {
8896 (char *) "self",(char *) "font",(char *) "flags", NULL
8897 };
8898
994141e6 8899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8900 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8901 if (SWIG_arg_fail(1)) SWIG_fail;
8902 {
8903 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
8904 if (SWIG_arg_fail(2)) SWIG_fail;
8905 if (arg2 == NULL) {
8906 SWIG_null_ref("wxFont");
8907 }
8908 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 8909 }
994141e6 8910 if (obj2) {
093d3ff1
RD
8911 {
8912 arg3 = (long)(SWIG_As_long(obj2));
8913 if (SWIG_arg_fail(3)) SWIG_fail;
8914 }
994141e6 8915 }
d14a1e28
RD
8916 {
8917 PyThreadState* __tstate = wxPyBeginAllowThreads();
8918 (arg1)->SetFont((wxFont const &)*arg2,arg3);
8919
8920 wxPyEndAllowThreads(__tstate);
8921 if (PyErr_Occurred()) SWIG_fail;
8922 }
8923 Py_INCREF(Py_None); resultobj = Py_None;
8924 return resultobj;
8925 fail:
8926 return NULL;
8927}
8928
8929
c32bde28 8930static PyObject *_wrap_TextAttr_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8931 PyObject *resultobj;
8932 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
093d3ff1 8933 wxTextAttrAlignment arg2 ;
d14a1e28 8934 PyObject * obj0 = 0 ;
994141e6 8935 PyObject * obj1 = 0 ;
d14a1e28
RD
8936 char *kwnames[] = {
8937 (char *) "self",(char *) "alignment", NULL
8938 };
8939
994141e6 8940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8941 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8942 if (SWIG_arg_fail(1)) SWIG_fail;
8943 {
8944 arg2 = (wxTextAttrAlignment)(SWIG_As_int(obj1));
8945 if (SWIG_arg_fail(2)) SWIG_fail;
8946 }
d14a1e28
RD
8947 {
8948 PyThreadState* __tstate = wxPyBeginAllowThreads();
8949 (arg1)->SetAlignment((wxTextAttrAlignment )arg2);
8950
8951 wxPyEndAllowThreads(__tstate);
8952 if (PyErr_Occurred()) SWIG_fail;
8953 }
8954 Py_INCREF(Py_None); resultobj = Py_None;
8955 return resultobj;
8956 fail:
8957 return NULL;
8958}
8959
8960
c32bde28 8961static PyObject *_wrap_TextAttr_SetTabs(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8962 PyObject *resultobj;
8963 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8964 wxArrayInt *arg2 = 0 ;
ae8162c8 8965 bool temp2 = false ;
d14a1e28
RD
8966 PyObject * obj0 = 0 ;
8967 PyObject * obj1 = 0 ;
8968 char *kwnames[] = {
8969 (char *) "self",(char *) "tabs", NULL
8970 };
8971
8972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8973 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8974 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8975 {
8976 if (! PySequence_Check(obj1)) {
8977 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
8978 SWIG_fail;
8979 }
8980 arg2 = new wxArrayInt;
ae8162c8 8981 temp2 = true;
d14a1e28
RD
8982 int i, len=PySequence_Length(obj1);
8983 for (i=0; i<len; i++) {
8984 PyObject* item = PySequence_GetItem(obj1, i);
8985 PyObject* number = PyNumber_Int(item);
8986 arg2->Add(PyInt_AS_LONG(number));
8987 Py_DECREF(item);
8988 Py_DECREF(number);
8989 }
8990 }
8991 {
8992 PyThreadState* __tstate = wxPyBeginAllowThreads();
8993 (arg1)->SetTabs((wxArrayInt const &)*arg2);
8994
8995 wxPyEndAllowThreads(__tstate);
8996 if (PyErr_Occurred()) SWIG_fail;
8997 }
8998 Py_INCREF(Py_None); resultobj = Py_None;
8999 {
3adfb63b 9000 if (temp2) delete arg2;
d14a1e28
RD
9001 }
9002 return resultobj;
9003 fail:
9004 {
3adfb63b 9005 if (temp2) delete arg2;
d14a1e28
RD
9006 }
9007 return NULL;
9008}
9009
9010
c32bde28 9011static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9012 PyObject *resultobj;
9013 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9014 int arg2 ;
5e4ca4a8 9015 int arg3 = (int) 0 ;
d14a1e28 9016 PyObject * obj0 = 0 ;
994141e6 9017 PyObject * obj1 = 0 ;
5e4ca4a8 9018 PyObject * obj2 = 0 ;
d14a1e28 9019 char *kwnames[] = {
5e4ca4a8 9020 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
d14a1e28
RD
9021 };
9022
5e4ca4a8 9023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames,&obj0,&obj1,&obj2)) 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;
9026 {
9027 arg2 = (int)(SWIG_As_int(obj1));
9028 if (SWIG_arg_fail(2)) SWIG_fail;
9029 }
5e4ca4a8 9030 if (obj2) {
093d3ff1
RD
9031 {
9032 arg3 = (int)(SWIG_As_int(obj2));
9033 if (SWIG_arg_fail(3)) SWIG_fail;
9034 }
5e4ca4a8 9035 }
d14a1e28
RD
9036 {
9037 PyThreadState* __tstate = wxPyBeginAllowThreads();
5e4ca4a8 9038 (arg1)->SetLeftIndent(arg2,arg3);
d14a1e28
RD
9039
9040 wxPyEndAllowThreads(__tstate);
9041 if (PyErr_Occurred()) SWIG_fail;
9042 }
9043 Py_INCREF(Py_None); resultobj = Py_None;
9044 return resultobj;
9045 fail:
9046 return NULL;
9047}
9048
9049
c32bde28 9050static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9051 PyObject *resultobj;
9052 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9053 int arg2 ;
9054 PyObject * obj0 = 0 ;
994141e6 9055 PyObject * obj1 = 0 ;
d14a1e28
RD
9056 char *kwnames[] = {
9057 (char *) "self",(char *) "indent", NULL
9058 };
9059
994141e6 9060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetRightIndent",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9061 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9062 if (SWIG_arg_fail(1)) SWIG_fail;
9063 {
9064 arg2 = (int)(SWIG_As_int(obj1));
9065 if (SWIG_arg_fail(2)) SWIG_fail;
9066 }
d14a1e28
RD
9067 {
9068 PyThreadState* __tstate = wxPyBeginAllowThreads();
9069 (arg1)->SetRightIndent(arg2);
9070
9071 wxPyEndAllowThreads(__tstate);
9072 if (PyErr_Occurred()) SWIG_fail;
9073 }
9074 Py_INCREF(Py_None); resultobj = Py_None;
9075 return resultobj;
9076 fail:
9077 return NULL;
9078}
9079
9080
c32bde28 9081static PyObject *_wrap_TextAttr_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9082 PyObject *resultobj;
9083 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9084 long arg2 ;
9085 PyObject * obj0 = 0 ;
994141e6 9086 PyObject * obj1 = 0 ;
d14a1e28
RD
9087 char *kwnames[] = {
9088 (char *) "self",(char *) "flags", NULL
9089 };
9090
994141e6 9091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetFlags",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9092 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9093 if (SWIG_arg_fail(1)) SWIG_fail;
9094 {
9095 arg2 = (long)(SWIG_As_long(obj1));
9096 if (SWIG_arg_fail(2)) SWIG_fail;
9097 }
d14a1e28
RD
9098 {
9099 PyThreadState* __tstate = wxPyBeginAllowThreads();
9100 (arg1)->SetFlags(arg2);
9101
9102 wxPyEndAllowThreads(__tstate);
9103 if (PyErr_Occurred()) SWIG_fail;
9104 }
9105 Py_INCREF(Py_None); resultobj = Py_None;
9106 return resultobj;
9107 fail:
9108 return NULL;
9109}
9110
9111
c32bde28 9112static PyObject *_wrap_TextAttr_HasTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9113 PyObject *resultobj;
9114 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9115 bool result;
9116 PyObject * obj0 = 0 ;
9117 char *kwnames[] = {
9118 (char *) "self", NULL
9119 };
9120
9121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTextColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
9122 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9123 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9124 {
9125 PyThreadState* __tstate = wxPyBeginAllowThreads();
9126 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
9127
9128 wxPyEndAllowThreads(__tstate);
9129 if (PyErr_Occurred()) SWIG_fail;
9130 }
4f89f6a3
RD
9131 {
9132 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9133 }
d14a1e28
RD
9134 return resultobj;
9135 fail:
9136 return NULL;
9137}
9138
9139
c32bde28 9140static PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9141 PyObject *resultobj;
9142 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9143 bool result;
9144 PyObject * obj0 = 0 ;
9145 char *kwnames[] = {
9146 (char *) "self", NULL
9147 };
9148
9149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
9150 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9151 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9152 {
9153 PyThreadState* __tstate = wxPyBeginAllowThreads();
9154 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
9155
9156 wxPyEndAllowThreads(__tstate);
9157 if (PyErr_Occurred()) SWIG_fail;
9158 }
4f89f6a3
RD
9159 {
9160 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9161 }
d14a1e28
RD
9162 return resultobj;
9163 fail:
9164 return NULL;
9165}
9166
9167
c32bde28 9168static PyObject *_wrap_TextAttr_HasFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9169 PyObject *resultobj;
9170 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9171 bool result;
9172 PyObject * obj0 = 0 ;
9173 char *kwnames[] = {
9174 (char *) "self", NULL
9175 };
9176
9177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasFont",kwnames,&obj0)) goto fail;
093d3ff1
RD
9178 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9179 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9180 {
9181 PyThreadState* __tstate = wxPyBeginAllowThreads();
9182 result = (bool)((wxTextAttr const *)arg1)->HasFont();
9183
9184 wxPyEndAllowThreads(__tstate);
9185 if (PyErr_Occurred()) SWIG_fail;
9186 }
4f89f6a3
RD
9187 {
9188 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9189 }
d14a1e28
RD
9190 return resultobj;
9191 fail:
9192 return NULL;
9193}
9194
9195
c32bde28 9196static PyObject *_wrap_TextAttr_HasAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9197 PyObject *resultobj;
9198 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9199 bool result;
9200 PyObject * obj0 = 0 ;
9201 char *kwnames[] = {
9202 (char *) "self", NULL
9203 };
9204
9205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasAlignment",kwnames,&obj0)) goto fail;
093d3ff1
RD
9206 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9207 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9208 {
9209 PyThreadState* __tstate = wxPyBeginAllowThreads();
9210 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
9211
9212 wxPyEndAllowThreads(__tstate);
9213 if (PyErr_Occurred()) SWIG_fail;
9214 }
4f89f6a3
RD
9215 {
9216 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9217 }
d14a1e28
RD
9218 return resultobj;
9219 fail:
9220 return NULL;
9221}
9222
9223
c32bde28 9224static PyObject *_wrap_TextAttr_HasTabs(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9225 PyObject *resultobj;
9226 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9227 bool result;
9228 PyObject * obj0 = 0 ;
9229 char *kwnames[] = {
9230 (char *) "self", NULL
9231 };
9232
9233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTabs",kwnames,&obj0)) goto fail;
093d3ff1
RD
9234 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9235 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9236 {
9237 PyThreadState* __tstate = wxPyBeginAllowThreads();
9238 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
9239
9240 wxPyEndAllowThreads(__tstate);
9241 if (PyErr_Occurred()) SWIG_fail;
9242 }
4f89f6a3
RD
9243 {
9244 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9245 }
d14a1e28
RD
9246 return resultobj;
9247 fail:
9248 return NULL;
9249}
9250
9251
c32bde28 9252static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9253 PyObject *resultobj;
9254 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9255 bool result;
9256 PyObject * obj0 = 0 ;
9257 char *kwnames[] = {
9258 (char *) "self", NULL
9259 };
9260
9261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasLeftIndent",kwnames,&obj0)) goto fail;
093d3ff1
RD
9262 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9263 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9264 {
9265 PyThreadState* __tstate = wxPyBeginAllowThreads();
9266 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
9267
9268 wxPyEndAllowThreads(__tstate);
9269 if (PyErr_Occurred()) SWIG_fail;
9270 }
4f89f6a3
RD
9271 {
9272 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9273 }
d14a1e28
RD
9274 return resultobj;
9275 fail:
9276 return NULL;
9277}
9278
9279
c32bde28 9280static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9281 PyObject *resultobj;
9282 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9283 bool result;
9284 PyObject * obj0 = 0 ;
9285 char *kwnames[] = {
9286 (char *) "self", NULL
9287 };
9288
9289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasRightIndent",kwnames,&obj0)) goto fail;
093d3ff1
RD
9290 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9291 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9292 {
9293 PyThreadState* __tstate = wxPyBeginAllowThreads();
9294 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
9295
9296 wxPyEndAllowThreads(__tstate);
9297 if (PyErr_Occurred()) SWIG_fail;
9298 }
4f89f6a3
RD
9299 {
9300 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9301 }
d14a1e28
RD
9302 return resultobj;
9303 fail:
9304 return NULL;
9305}
9306
9307
c32bde28 9308static PyObject *_wrap_TextAttr_HasFlag(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9309 PyObject *resultobj;
9310 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9311 long arg2 ;
9312 bool result;
9313 PyObject * obj0 = 0 ;
994141e6 9314 PyObject * obj1 = 0 ;
d14a1e28
RD
9315 char *kwnames[] = {
9316 (char *) "self",(char *) "flag", NULL
9317 };
9318
994141e6 9319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_HasFlag",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9320 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9321 if (SWIG_arg_fail(1)) SWIG_fail;
9322 {
9323 arg2 = (long)(SWIG_As_long(obj1));
9324 if (SWIG_arg_fail(2)) SWIG_fail;
9325 }
d14a1e28
RD
9326 {
9327 PyThreadState* __tstate = wxPyBeginAllowThreads();
9328 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
9329
9330 wxPyEndAllowThreads(__tstate);
9331 if (PyErr_Occurred()) SWIG_fail;
9332 }
4f89f6a3
RD
9333 {
9334 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9335 }
d14a1e28
RD
9336 return resultobj;
9337 fail:
9338 return NULL;
9339}
9340
9341
c32bde28 9342static PyObject *_wrap_TextAttr_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9343 PyObject *resultobj;
9344 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9345 wxColour *result;
9346 PyObject * obj0 = 0 ;
9347 char *kwnames[] = {
9348 (char *) "self", NULL
9349 };
9350
9351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTextColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
9352 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9353 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9354 {
9355 PyThreadState* __tstate = wxPyBeginAllowThreads();
9356 {
9357 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
9358 result = (wxColour *) &_result_ref;
9359 }
9360
9361 wxPyEndAllowThreads(__tstate);
9362 if (PyErr_Occurred()) SWIG_fail;
9363 }
15afbcd0 9364 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
9365 return resultobj;
9366 fail:
9367 return NULL;
9368}
9369
9370
c32bde28 9371static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9372 PyObject *resultobj;
9373 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9374 wxColour *result;
9375 PyObject * obj0 = 0 ;
9376 char *kwnames[] = {
9377 (char *) "self", NULL
9378 };
9379
9380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
9381 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9382 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9383 {
9384 PyThreadState* __tstate = wxPyBeginAllowThreads();
9385 {
9386 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
9387 result = (wxColour *) &_result_ref;
9388 }
9389
9390 wxPyEndAllowThreads(__tstate);
9391 if (PyErr_Occurred()) SWIG_fail;
9392 }
15afbcd0 9393 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
9394 return resultobj;
9395 fail:
9396 return NULL;
9397}
9398
9399
c32bde28 9400static PyObject *_wrap_TextAttr_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9401 PyObject *resultobj;
9402 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9403 wxFont *result;
9404 PyObject * obj0 = 0 ;
9405 char *kwnames[] = {
9406 (char *) "self", NULL
9407 };
9408
9409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFont",kwnames,&obj0)) goto fail;
093d3ff1
RD
9410 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9411 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9412 {
9413 PyThreadState* __tstate = wxPyBeginAllowThreads();
9414 {
9415 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
9416 result = (wxFont *) &_result_ref;
9417 }
9418
9419 wxPyEndAllowThreads(__tstate);
9420 if (PyErr_Occurred()) SWIG_fail;
9421 }
4276dc52
RD
9422 {
9423 wxFont* resultptr = new wxFont(*result);
9424 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxFont, 1);
9425 }
d14a1e28
RD
9426 return resultobj;
9427 fail:
9428 return NULL;
9429}
9430
9431
c32bde28 9432static PyObject *_wrap_TextAttr_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9433 PyObject *resultobj;
9434 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
093d3ff1 9435 wxTextAttrAlignment result;
d14a1e28
RD
9436 PyObject * obj0 = 0 ;
9437 char *kwnames[] = {
9438 (char *) "self", NULL
9439 };
9440
9441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetAlignment",kwnames,&obj0)) goto fail;
093d3ff1
RD
9442 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9443 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9444 {
9445 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 9446 result = (wxTextAttrAlignment)((wxTextAttr const *)arg1)->GetAlignment();
d14a1e28
RD
9447
9448 wxPyEndAllowThreads(__tstate);
9449 if (PyErr_Occurred()) SWIG_fail;
9450 }
093d3ff1 9451 resultobj = SWIG_From_int((result));
d14a1e28
RD
9452 return resultobj;
9453 fail:
9454 return NULL;
9455}
9456
9457
c32bde28 9458static PyObject *_wrap_TextAttr_GetTabs(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9459 PyObject *resultobj;
9460 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9461 wxArrayInt *result;
9462 PyObject * obj0 = 0 ;
9463 char *kwnames[] = {
9464 (char *) "self", NULL
9465 };
9466
9467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTabs",kwnames,&obj0)) goto fail;
093d3ff1
RD
9468 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9469 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9470 {
9471 PyThreadState* __tstate = wxPyBeginAllowThreads();
9472 {
9473 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
9474 result = (wxArrayInt *) &_result_ref;
9475 }
9476
9477 wxPyEndAllowThreads(__tstate);
9478 if (PyErr_Occurred()) SWIG_fail;
9479 }
9480 {
9481 resultobj = PyList_New(0);
9482 size_t idx;
9483 for (idx = 0; idx < result->GetCount(); idx += 1) {
9484 PyObject* val = PyInt_FromLong( result->Item(idx) );
9485 PyList_Append(resultobj, val);
9486 Py_DECREF(val);
9487 }
9488 }
9489 return resultobj;
9490 fail:
9491 return NULL;
9492}
9493
9494
c32bde28 9495static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9496 PyObject *resultobj;
9497 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9498 long result;
9499 PyObject * obj0 = 0 ;
9500 char *kwnames[] = {
9501 (char *) "self", NULL
9502 };
9503
9504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftIndent",kwnames,&obj0)) goto fail;
093d3ff1
RD
9505 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9506 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9507 {
9508 PyThreadState* __tstate = wxPyBeginAllowThreads();
9509 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
9510
9511 wxPyEndAllowThreads(__tstate);
9512 if (PyErr_Occurred()) SWIG_fail;
9513 }
093d3ff1
RD
9514 {
9515 resultobj = SWIG_From_long((long)(result));
9516 }
d14a1e28
RD
9517 return resultobj;
9518 fail:
9519 return NULL;
9520}
9521
9522
c32bde28 9523static PyObject *_wrap_TextAttr_GetLeftSubIndent(PyObject *, PyObject *args, PyObject *kwargs) {
5e4ca4a8
RD
9524 PyObject *resultobj;
9525 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9526 long result;
9527 PyObject * obj0 = 0 ;
9528 char *kwnames[] = {
9529 (char *) "self", NULL
9530 };
9531
9532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftSubIndent",kwnames,&obj0)) goto fail;
093d3ff1
RD
9533 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9534 if (SWIG_arg_fail(1)) SWIG_fail;
5e4ca4a8
RD
9535 {
9536 PyThreadState* __tstate = wxPyBeginAllowThreads();
9537 result = (long)((wxTextAttr const *)arg1)->GetLeftSubIndent();
9538
9539 wxPyEndAllowThreads(__tstate);
9540 if (PyErr_Occurred()) SWIG_fail;
9541 }
093d3ff1
RD
9542 {
9543 resultobj = SWIG_From_long((long)(result));
9544 }
5e4ca4a8
RD
9545 return resultobj;
9546 fail:
9547 return NULL;
9548}
9549
9550
c32bde28 9551static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9552 PyObject *resultobj;
9553 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9554 long result;
9555 PyObject * obj0 = 0 ;
9556 char *kwnames[] = {
9557 (char *) "self", NULL
9558 };
9559
9560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetRightIndent",kwnames,&obj0)) goto fail;
093d3ff1
RD
9561 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9562 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9563 {
9564 PyThreadState* __tstate = wxPyBeginAllowThreads();
9565 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
9566
9567 wxPyEndAllowThreads(__tstate);
9568 if (PyErr_Occurred()) SWIG_fail;
9569 }
093d3ff1
RD
9570 {
9571 resultobj = SWIG_From_long((long)(result));
9572 }
d14a1e28
RD
9573 return resultobj;
9574 fail:
9575 return NULL;
9576}
9577
9578
c32bde28 9579static PyObject *_wrap_TextAttr_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9580 PyObject *resultobj;
9581 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9582 long result;
9583 PyObject * obj0 = 0 ;
9584 char *kwnames[] = {
9585 (char *) "self", NULL
9586 };
9587
9588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFlags",kwnames,&obj0)) goto fail;
093d3ff1
RD
9589 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9590 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9591 {
9592 PyThreadState* __tstate = wxPyBeginAllowThreads();
9593 result = (long)((wxTextAttr const *)arg1)->GetFlags();
9594
9595 wxPyEndAllowThreads(__tstate);
9596 if (PyErr_Occurred()) SWIG_fail;
9597 }
093d3ff1
RD
9598 {
9599 resultobj = SWIG_From_long((long)(result));
9600 }
d14a1e28
RD
9601 return resultobj;
9602 fail:
9603 return NULL;
9604}
9605
9606
c32bde28 9607static PyObject *_wrap_TextAttr_IsDefault(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9608 PyObject *resultobj;
9609 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9610 bool result;
9611 PyObject * obj0 = 0 ;
9612 char *kwnames[] = {
9613 (char *) "self", NULL
9614 };
9615
9616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_IsDefault",kwnames,&obj0)) goto fail;
093d3ff1
RD
9617 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9618 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9619 {
9620 PyThreadState* __tstate = wxPyBeginAllowThreads();
9621 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
9622
9623 wxPyEndAllowThreads(__tstate);
9624 if (PyErr_Occurred()) SWIG_fail;
9625 }
4f89f6a3
RD
9626 {
9627 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9628 }
d14a1e28
RD
9629 return resultobj;
9630 fail:
9631 return NULL;
9632}
9633
9634
c32bde28 9635static PyObject *_wrap_TextAttr_Combine(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9636 PyObject *resultobj;
9637 wxTextAttr *arg1 = 0 ;
9638 wxTextAttr *arg2 = 0 ;
9639 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
9640 wxTextAttr result;
9641 PyObject * obj0 = 0 ;
9642 PyObject * obj1 = 0 ;
9643 PyObject * obj2 = 0 ;
9644 char *kwnames[] = {
9645 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
9646 };
9647
9648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
9649 {
9650 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9651 if (SWIG_arg_fail(1)) SWIG_fail;
9652 if (arg1 == NULL) {
9653 SWIG_null_ref("wxTextAttr");
9654 }
9655 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 9656 }
093d3ff1
RD
9657 {
9658 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9659 if (SWIG_arg_fail(2)) SWIG_fail;
9660 if (arg2 == NULL) {
9661 SWIG_null_ref("wxTextAttr");
9662 }
9663 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 9664 }
093d3ff1
RD
9665 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9666 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
9667 {
9668 PyThreadState* __tstate = wxPyBeginAllowThreads();
9669 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
9670
9671 wxPyEndAllowThreads(__tstate);
9672 if (PyErr_Occurred()) SWIG_fail;
9673 }
9674 {
9675 wxTextAttr * resultptr;
093d3ff1 9676 resultptr = new wxTextAttr((wxTextAttr &)(result));
15afbcd0 9677 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTextAttr, 1);
d14a1e28
RD
9678 }
9679 return resultobj;
9680 fail:
9681 return NULL;
9682}
9683
9684
c32bde28 9685static PyObject * TextAttr_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
9686 PyObject *obj;
9687 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9688 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr, obj);
9689 Py_INCREF(obj);
9690 return Py_BuildValue((char *)"");
9691}
c32bde28 9692static PyObject *_wrap_new_TextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9693 PyObject *resultobj;
9694 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 9695 int arg2 = (int) -1 ;
d14a1e28
RD
9696 wxString const &arg3_defvalue = wxPyEmptyString ;
9697 wxString *arg3 = (wxString *) &arg3_defvalue ;
9698 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9699 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9700 wxSize const &arg5_defvalue = wxDefaultSize ;
9701 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9702 long arg6 = (long) 0 ;
9703 wxValidator const &arg7_defvalue = wxDefaultValidator ;
9704 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
9705 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
9706 wxString *arg8 = (wxString *) &arg8_defvalue ;
9707 wxTextCtrl *result;
ae8162c8 9708 bool temp3 = false ;
d14a1e28
RD
9709 wxPoint temp4 ;
9710 wxSize temp5 ;
ae8162c8 9711 bool temp8 = false ;
d14a1e28 9712 PyObject * obj0 = 0 ;
994141e6 9713 PyObject * obj1 = 0 ;
d14a1e28
RD
9714 PyObject * obj2 = 0 ;
9715 PyObject * obj3 = 0 ;
9716 PyObject * obj4 = 0 ;
994141e6 9717 PyObject * obj5 = 0 ;
d14a1e28
RD
9718 PyObject * obj6 = 0 ;
9719 PyObject * obj7 = 0 ;
9720 char *kwnames[] = {
9721 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9722 };
9723
248ed943 9724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_TextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
9725 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
9726 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 9727 if (obj1) {
093d3ff1
RD
9728 {
9729 arg2 = (int)(SWIG_As_int(obj1));
9730 if (SWIG_arg_fail(2)) SWIG_fail;
9731 }
248ed943 9732 }
d14a1e28
RD
9733 if (obj2) {
9734 {
9735 arg3 = wxString_in_helper(obj2);
9736 if (arg3 == NULL) SWIG_fail;
ae8162c8 9737 temp3 = true;
d14a1e28
RD
9738 }
9739 }
9740 if (obj3) {
9741 {
9742 arg4 = &temp4;
9743 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9744 }
9745 }
9746 if (obj4) {
9747 {
9748 arg5 = &temp5;
9749 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9750 }
9751 }
994141e6 9752 if (obj5) {
093d3ff1
RD
9753 {
9754 arg6 = (long)(SWIG_As_long(obj5));
9755 if (SWIG_arg_fail(6)) SWIG_fail;
9756 }
994141e6 9757 }
d14a1e28 9758 if (obj6) {
093d3ff1
RD
9759 {
9760 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
9761 if (SWIG_arg_fail(7)) SWIG_fail;
9762 if (arg7 == NULL) {
9763 SWIG_null_ref("wxValidator");
9764 }
9765 if (SWIG_arg_fail(7)) SWIG_fail;
d14a1e28
RD
9766 }
9767 }
9768 if (obj7) {
9769 {
9770 arg8 = wxString_in_helper(obj7);
9771 if (arg8 == NULL) SWIG_fail;
ae8162c8 9772 temp8 = true;
d14a1e28
RD
9773 }
9774 }
9775 {
e3b71cb8 9776 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
9777 PyThreadState* __tstate = wxPyBeginAllowThreads();
9778 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
9779
9780 wxPyEndAllowThreads(__tstate);
110da5b0 9781 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 9782 }
b0f7404b 9783 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextCtrl, 1);
d14a1e28
RD
9784 {
9785 if (temp3)
9786 delete arg3;
9787 }
9788 {
9789 if (temp8)
9790 delete arg8;
9791 }
9792 return resultobj;
9793 fail:
9794 {
9795 if (temp3)
9796 delete arg3;
9797 }
9798 {
9799 if (temp8)
9800 delete arg8;
9801 }
9802 return NULL;
9803}
9804
9805
c32bde28 9806static PyObject *_wrap_new_PreTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9807 PyObject *resultobj;
9808 wxTextCtrl *result;
9809 char *kwnames[] = {
9810 NULL
9811 };
9812
9813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTextCtrl",kwnames)) goto fail;
9814 {
e3b71cb8 9815 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
9816 PyThreadState* __tstate = wxPyBeginAllowThreads();
9817 result = (wxTextCtrl *)new wxTextCtrl();
9818
9819 wxPyEndAllowThreads(__tstate);
110da5b0 9820 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 9821 }
b0f7404b 9822 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextCtrl, 1);
d14a1e28
RD
9823 return resultobj;
9824 fail:
9825 return NULL;
9826}
9827
9828
c32bde28 9829static PyObject *_wrap_TextCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9830 PyObject *resultobj;
9831 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9832 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 9833 int arg3 = (int) -1 ;
d14a1e28
RD
9834 wxString const &arg4_defvalue = wxPyEmptyString ;
9835 wxString *arg4 = (wxString *) &arg4_defvalue ;
9836 wxPoint const &arg5_defvalue = wxDefaultPosition ;
9837 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
9838 wxSize const &arg6_defvalue = wxDefaultSize ;
9839 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
9840 long arg7 = (long) 0 ;
9841 wxValidator const &arg8_defvalue = wxDefaultValidator ;
9842 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
9843 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
9844 wxString *arg9 = (wxString *) &arg9_defvalue ;
9845 bool result;
ae8162c8 9846 bool temp4 = false ;
d14a1e28
RD
9847 wxPoint temp5 ;
9848 wxSize temp6 ;
ae8162c8 9849 bool temp9 = false ;
d14a1e28
RD
9850 PyObject * obj0 = 0 ;
9851 PyObject * obj1 = 0 ;
994141e6 9852 PyObject * obj2 = 0 ;
d14a1e28
RD
9853 PyObject * obj3 = 0 ;
9854 PyObject * obj4 = 0 ;
9855 PyObject * obj5 = 0 ;
994141e6 9856 PyObject * obj6 = 0 ;
d14a1e28
RD
9857 PyObject * obj7 = 0 ;
9858 PyObject * obj8 = 0 ;
9859 char *kwnames[] = {
9860 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9861 };
9862
248ed943 9863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
9864 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9865 if (SWIG_arg_fail(1)) SWIG_fail;
9866 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
9867 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 9868 if (obj2) {
093d3ff1
RD
9869 {
9870 arg3 = (int)(SWIG_As_int(obj2));
9871 if (SWIG_arg_fail(3)) SWIG_fail;
9872 }
248ed943 9873 }
d14a1e28
RD
9874 if (obj3) {
9875 {
9876 arg4 = wxString_in_helper(obj3);
9877 if (arg4 == NULL) SWIG_fail;
ae8162c8 9878 temp4 = true;
d14a1e28
RD
9879 }
9880 }
9881 if (obj4) {
9882 {
9883 arg5 = &temp5;
9884 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
9885 }
9886 }
9887 if (obj5) {
9888 {
9889 arg6 = &temp6;
9890 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
9891 }
9892 }
994141e6 9893 if (obj6) {
093d3ff1
RD
9894 {
9895 arg7 = (long)(SWIG_As_long(obj6));
9896 if (SWIG_arg_fail(7)) SWIG_fail;
9897 }
994141e6 9898 }
d14a1e28 9899 if (obj7) {
093d3ff1
RD
9900 {
9901 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
9902 if (SWIG_arg_fail(8)) SWIG_fail;
9903 if (arg8 == NULL) {
9904 SWIG_null_ref("wxValidator");
9905 }
9906 if (SWIG_arg_fail(8)) SWIG_fail;
d14a1e28
RD
9907 }
9908 }
9909 if (obj8) {
9910 {
9911 arg9 = wxString_in_helper(obj8);
9912 if (arg9 == NULL) SWIG_fail;
ae8162c8 9913 temp9 = true;
d14a1e28
RD
9914 }
9915 }
9916 {
9917 PyThreadState* __tstate = wxPyBeginAllowThreads();
9918 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
9919
9920 wxPyEndAllowThreads(__tstate);
9921 if (PyErr_Occurred()) SWIG_fail;
9922 }
4f89f6a3
RD
9923 {
9924 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9925 }
d14a1e28
RD
9926 {
9927 if (temp4)
9928 delete arg4;
9929 }
9930 {
9931 if (temp9)
9932 delete arg9;
9933 }
9934 return resultobj;
9935 fail:
9936 {
9937 if (temp4)
9938 delete arg4;
9939 }
9940 {
9941 if (temp9)
9942 delete arg9;
9943 }
9944 return NULL;
9945}
9946
9947
c32bde28 9948static PyObject *_wrap_TextCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9949 PyObject *resultobj;
9950 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9951 wxString result;
9952 PyObject * obj0 = 0 ;
9953 char *kwnames[] = {
9954 (char *) "self", NULL
9955 };
9956
9957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
9958 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9959 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9960 {
9961 PyThreadState* __tstate = wxPyBeginAllowThreads();
9962 result = ((wxTextCtrl const *)arg1)->GetValue();
9963
9964 wxPyEndAllowThreads(__tstate);
9965 if (PyErr_Occurred()) SWIG_fail;
9966 }
9967 {
9968#if wxUSE_UNICODE
9969 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9970#else
9971 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9972#endif
9973 }
9974 return resultobj;
9975 fail:
9976 return NULL;
9977}
9978
9979
c32bde28 9980static PyObject *_wrap_TextCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9981 PyObject *resultobj;
9982 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9983 wxString *arg2 = 0 ;
ae8162c8 9984 bool temp2 = false ;
d14a1e28
RD
9985 PyObject * obj0 = 0 ;
9986 PyObject * obj1 = 0 ;
9987 char *kwnames[] = {
9988 (char *) "self",(char *) "value", NULL
9989 };
9990
9991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9992 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9993 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9994 {
9995 arg2 = wxString_in_helper(obj1);
9996 if (arg2 == NULL) SWIG_fail;
ae8162c8 9997 temp2 = true;
d14a1e28
RD
9998 }
9999 {
10000 PyThreadState* __tstate = wxPyBeginAllowThreads();
10001 (arg1)->SetValue((wxString const &)*arg2);
10002
10003 wxPyEndAllowThreads(__tstate);
10004 if (PyErr_Occurred()) SWIG_fail;
10005 }
10006 Py_INCREF(Py_None); resultobj = Py_None;
10007 {
10008 if (temp2)
10009 delete arg2;
10010 }
10011 return resultobj;
10012 fail:
10013 {
10014 if (temp2)
10015 delete arg2;
10016 }
10017 return NULL;
10018}
10019
10020
c32bde28 10021static PyObject *_wrap_TextCtrl_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10022 PyObject *resultobj;
10023 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10024 long arg2 ;
10025 long arg3 ;
10026 wxString result;
10027 PyObject * obj0 = 0 ;
994141e6
RD
10028 PyObject * obj1 = 0 ;
10029 PyObject * obj2 = 0 ;
d14a1e28
RD
10030 char *kwnames[] = {
10031 (char *) "self",(char *) "from",(char *) "to", NULL
10032 };
10033
994141e6 10034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10035 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10036 if (SWIG_arg_fail(1)) SWIG_fail;
10037 {
10038 arg2 = (long)(SWIG_As_long(obj1));
10039 if (SWIG_arg_fail(2)) SWIG_fail;
10040 }
10041 {
10042 arg3 = (long)(SWIG_As_long(obj2));
10043 if (SWIG_arg_fail(3)) SWIG_fail;
10044 }
d14a1e28
RD
10045 {
10046 PyThreadState* __tstate = wxPyBeginAllowThreads();
10047 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
10048
10049 wxPyEndAllowThreads(__tstate);
10050 if (PyErr_Occurred()) SWIG_fail;
10051 }
10052 {
10053#if wxUSE_UNICODE
10054 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10055#else
10056 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10057#endif
10058 }
10059 return resultobj;
10060 fail:
10061 return NULL;
10062}
10063
10064
c32bde28 10065static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10066 PyObject *resultobj;
10067 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10068 long arg2 ;
10069 int result;
10070 PyObject * obj0 = 0 ;
994141e6 10071 PyObject * obj1 = 0 ;
d14a1e28
RD
10072 char *kwnames[] = {
10073 (char *) "self",(char *) "lineNo", NULL
10074 };
10075
994141e6 10076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineLength",kwnames,&obj0,&obj1)) 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;
10079 {
10080 arg2 = (long)(SWIG_As_long(obj1));
10081 if (SWIG_arg_fail(2)) SWIG_fail;
10082 }
d14a1e28
RD
10083 {
10084 PyThreadState* __tstate = wxPyBeginAllowThreads();
10085 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
10086
10087 wxPyEndAllowThreads(__tstate);
10088 if (PyErr_Occurred()) SWIG_fail;
10089 }
093d3ff1
RD
10090 {
10091 resultobj = SWIG_From_int((int)(result));
10092 }
d14a1e28
RD
10093 return resultobj;
10094 fail:
10095 return NULL;
10096}
10097
10098
c32bde28 10099static PyObject *_wrap_TextCtrl_GetLineText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10100 PyObject *resultobj;
10101 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10102 long arg2 ;
10103 wxString result;
10104 PyObject * obj0 = 0 ;
994141e6 10105 PyObject * obj1 = 0 ;
d14a1e28
RD
10106 char *kwnames[] = {
10107 (char *) "self",(char *) "lineNo", NULL
10108 };
10109
994141e6 10110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10111 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10112 if (SWIG_arg_fail(1)) SWIG_fail;
10113 {
10114 arg2 = (long)(SWIG_As_long(obj1));
10115 if (SWIG_arg_fail(2)) SWIG_fail;
10116 }
d14a1e28
RD
10117 {
10118 PyThreadState* __tstate = wxPyBeginAllowThreads();
10119 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
10120
10121 wxPyEndAllowThreads(__tstate);
10122 if (PyErr_Occurred()) SWIG_fail;
10123 }
10124 {
10125#if wxUSE_UNICODE
10126 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10127#else
10128 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10129#endif
10130 }
10131 return resultobj;
10132 fail:
10133 return NULL;
10134}
10135
10136
c32bde28 10137static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10138 PyObject *resultobj;
10139 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10140 int result;
10141 PyObject * obj0 = 0 ;
10142 char *kwnames[] = {
10143 (char *) "self", NULL
10144 };
10145
10146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetNumberOfLines",kwnames,&obj0)) goto fail;
093d3ff1
RD
10147 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10148 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10149 {
10150 PyThreadState* __tstate = wxPyBeginAllowThreads();
10151 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
10152
10153 wxPyEndAllowThreads(__tstate);
10154 if (PyErr_Occurred()) SWIG_fail;
10155 }
093d3ff1
RD
10156 {
10157 resultobj = SWIG_From_int((int)(result));
10158 }
d14a1e28
RD
10159 return resultobj;
10160 fail:
10161 return NULL;
10162}
10163
10164
c32bde28 10165static PyObject *_wrap_TextCtrl_IsModified(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10166 PyObject *resultobj;
10167 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10168 bool result;
10169 PyObject * obj0 = 0 ;
10170 char *kwnames[] = {
10171 (char *) "self", NULL
10172 };
10173
10174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsModified",kwnames,&obj0)) goto fail;
093d3ff1
RD
10175 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10176 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10177 {
10178 PyThreadState* __tstate = wxPyBeginAllowThreads();
10179 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
10180
10181 wxPyEndAllowThreads(__tstate);
10182 if (PyErr_Occurred()) SWIG_fail;
10183 }
4f89f6a3
RD
10184 {
10185 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10186 }
d14a1e28
RD
10187 return resultobj;
10188 fail:
10189 return NULL;
10190}
10191
10192
c32bde28 10193static PyObject *_wrap_TextCtrl_IsEditable(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10194 PyObject *resultobj;
10195 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10196 bool result;
10197 PyObject * obj0 = 0 ;
10198 char *kwnames[] = {
10199 (char *) "self", NULL
10200 };
10201
10202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsEditable",kwnames,&obj0)) goto fail;
093d3ff1
RD
10203 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10204 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10205 {
10206 PyThreadState* __tstate = wxPyBeginAllowThreads();
10207 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
10208
10209 wxPyEndAllowThreads(__tstate);
10210 if (PyErr_Occurred()) SWIG_fail;
10211 }
4f89f6a3
RD
10212 {
10213 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10214 }
d14a1e28
RD
10215 return resultobj;
10216 fail:
10217 return NULL;
10218}
10219
10220
c32bde28 10221static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10222 PyObject *resultobj;
10223 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10224 bool result;
10225 PyObject * obj0 = 0 ;
10226 char *kwnames[] = {
10227 (char *) "self", NULL
10228 };
10229
10230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsSingleLine",kwnames,&obj0)) goto fail;
093d3ff1
RD
10231 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10232 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10233 {
10234 PyThreadState* __tstate = wxPyBeginAllowThreads();
10235 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
10236
10237 wxPyEndAllowThreads(__tstate);
10238 if (PyErr_Occurred()) SWIG_fail;
10239 }
4f89f6a3
RD
10240 {
10241 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10242 }
d14a1e28
RD
10243 return resultobj;
10244 fail:
10245 return NULL;
10246}
10247
10248
c32bde28 10249static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10250 PyObject *resultobj;
10251 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10252 bool result;
10253 PyObject * obj0 = 0 ;
10254 char *kwnames[] = {
10255 (char *) "self", NULL
10256 };
10257
10258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsMultiLine",kwnames,&obj0)) goto fail;
093d3ff1
RD
10259 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10260 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10261 {
10262 PyThreadState* __tstate = wxPyBeginAllowThreads();
10263 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
10264
10265 wxPyEndAllowThreads(__tstate);
10266 if (PyErr_Occurred()) SWIG_fail;
10267 }
4f89f6a3
RD
10268 {
10269 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10270 }
d14a1e28
RD
10271 return resultobj;
10272 fail:
10273 return NULL;
10274}
10275
10276
c32bde28 10277static PyObject *_wrap_TextCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10278 PyObject *resultobj;
10279 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10280 long *arg2 = (long *) 0 ;
10281 long *arg3 = (long *) 0 ;
10282 long temp2 ;
c32bde28 10283 int res2 = 0 ;
d14a1e28 10284 long temp3 ;
c32bde28 10285 int res3 = 0 ;
d14a1e28
RD
10286 PyObject * obj0 = 0 ;
10287 char *kwnames[] = {
10288 (char *) "self", NULL
10289 };
10290
c32bde28
RD
10291 arg2 = &temp2; res2 = SWIG_NEWOBJ;
10292 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 10293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
10294 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10295 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10296 {
10297 PyThreadState* __tstate = wxPyBeginAllowThreads();
10298 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
10299
10300 wxPyEndAllowThreads(__tstate);
10301 if (PyErr_Occurred()) SWIG_fail;
10302 }
10303 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
10304 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
10305 SWIG_From_long((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, 0)));
10306 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
10307 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
d14a1e28
RD
10308 return resultobj;
10309 fail:
10310 return NULL;
10311}
10312
10313
c32bde28 10314static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10315 PyObject *resultobj;
10316 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10317 wxString result;
10318 PyObject * obj0 = 0 ;
10319 char *kwnames[] = {
10320 (char *) "self", NULL
10321 };
10322
10323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetStringSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
10324 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10325 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10326 {
10327 PyThreadState* __tstate = wxPyBeginAllowThreads();
10328 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
10329
10330 wxPyEndAllowThreads(__tstate);
10331 if (PyErr_Occurred()) SWIG_fail;
10332 }
10333 {
10334#if wxUSE_UNICODE
10335 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10336#else
10337 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10338#endif
10339 }
10340 return resultobj;
10341 fail:
10342 return NULL;
10343}
10344
10345
c32bde28 10346static PyObject *_wrap_TextCtrl_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10347 PyObject *resultobj;
10348 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10349 PyObject * obj0 = 0 ;
10350 char *kwnames[] = {
10351 (char *) "self", NULL
10352 };
10353
10354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Clear",kwnames,&obj0)) goto fail;
093d3ff1
RD
10355 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10356 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10357 {
10358 PyThreadState* __tstate = wxPyBeginAllowThreads();
10359 (arg1)->Clear();
10360
10361 wxPyEndAllowThreads(__tstate);
10362 if (PyErr_Occurred()) SWIG_fail;
10363 }
10364 Py_INCREF(Py_None); resultobj = Py_None;
10365 return resultobj;
10366 fail:
10367 return NULL;
10368}
10369
10370
c32bde28 10371static PyObject *_wrap_TextCtrl_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10372 PyObject *resultobj;
10373 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10374 long arg2 ;
10375 long arg3 ;
10376 wxString *arg4 = 0 ;
ae8162c8 10377 bool temp4 = false ;
d14a1e28 10378 PyObject * obj0 = 0 ;
994141e6
RD
10379 PyObject * obj1 = 0 ;
10380 PyObject * obj2 = 0 ;
d14a1e28
RD
10381 PyObject * obj3 = 0 ;
10382 char *kwnames[] = {
10383 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
10384 };
10385
994141e6 10386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
10387 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10388 if (SWIG_arg_fail(1)) SWIG_fail;
10389 {
10390 arg2 = (long)(SWIG_As_long(obj1));
10391 if (SWIG_arg_fail(2)) SWIG_fail;
10392 }
10393 {
10394 arg3 = (long)(SWIG_As_long(obj2));
10395 if (SWIG_arg_fail(3)) SWIG_fail;
10396 }
d14a1e28
RD
10397 {
10398 arg4 = wxString_in_helper(obj3);
10399 if (arg4 == NULL) SWIG_fail;
ae8162c8 10400 temp4 = true;
d14a1e28
RD
10401 }
10402 {
10403 PyThreadState* __tstate = wxPyBeginAllowThreads();
10404 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
10405
10406 wxPyEndAllowThreads(__tstate);
10407 if (PyErr_Occurred()) SWIG_fail;
10408 }
10409 Py_INCREF(Py_None); resultobj = Py_None;
10410 {
10411 if (temp4)
10412 delete arg4;
10413 }
10414 return resultobj;
10415 fail:
10416 {
10417 if (temp4)
10418 delete arg4;
10419 }
10420 return NULL;
10421}
10422
10423
c32bde28 10424static PyObject *_wrap_TextCtrl_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10425 PyObject *resultobj;
10426 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10427 long arg2 ;
10428 long arg3 ;
10429 PyObject * obj0 = 0 ;
994141e6
RD
10430 PyObject * obj1 = 0 ;
10431 PyObject * obj2 = 0 ;
d14a1e28
RD
10432 char *kwnames[] = {
10433 (char *) "self",(char *) "from",(char *) "to", NULL
10434 };
10435
994141e6 10436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10437 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10438 if (SWIG_arg_fail(1)) SWIG_fail;
10439 {
10440 arg2 = (long)(SWIG_As_long(obj1));
10441 if (SWIG_arg_fail(2)) SWIG_fail;
10442 }
10443 {
10444 arg3 = (long)(SWIG_As_long(obj2));
10445 if (SWIG_arg_fail(3)) SWIG_fail;
10446 }
d14a1e28
RD
10447 {
10448 PyThreadState* __tstate = wxPyBeginAllowThreads();
10449 (arg1)->Remove(arg2,arg3);
10450
10451 wxPyEndAllowThreads(__tstate);
10452 if (PyErr_Occurred()) SWIG_fail;
10453 }
10454 Py_INCREF(Py_None); resultobj = Py_None;
10455 return resultobj;
10456 fail:
10457 return NULL;
10458}
10459
10460
c32bde28 10461static PyObject *_wrap_TextCtrl_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10462 PyObject *resultobj;
10463 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10464 wxString *arg2 = 0 ;
10465 bool result;
ae8162c8 10466 bool temp2 = false ;
d14a1e28
RD
10467 PyObject * obj0 = 0 ;
10468 PyObject * obj1 = 0 ;
10469 char *kwnames[] = {
10470 (char *) "self",(char *) "file", NULL
10471 };
10472
10473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10474 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10475 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10476 {
10477 arg2 = wxString_in_helper(obj1);
10478 if (arg2 == NULL) SWIG_fail;
ae8162c8 10479 temp2 = true;
d14a1e28
RD
10480 }
10481 {
10482 PyThreadState* __tstate = wxPyBeginAllowThreads();
10483 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
10484
10485 wxPyEndAllowThreads(__tstate);
10486 if (PyErr_Occurred()) SWIG_fail;
10487 }
4f89f6a3
RD
10488 {
10489 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10490 }
d14a1e28
RD
10491 {
10492 if (temp2)
10493 delete arg2;
10494 }
10495 return resultobj;
10496 fail:
10497 {
10498 if (temp2)
10499 delete arg2;
10500 }
10501 return NULL;
10502}
10503
10504
c32bde28 10505static PyObject *_wrap_TextCtrl_SaveFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10506 PyObject *resultobj;
10507 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10508 wxString const &arg2_defvalue = wxPyEmptyString ;
10509 wxString *arg2 = (wxString *) &arg2_defvalue ;
10510 bool result;
ae8162c8 10511 bool temp2 = false ;
d14a1e28
RD
10512 PyObject * obj0 = 0 ;
10513 PyObject * obj1 = 0 ;
10514 char *kwnames[] = {
10515 (char *) "self",(char *) "file", NULL
10516 };
10517
10518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10519 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10520 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10521 if (obj1) {
10522 {
10523 arg2 = wxString_in_helper(obj1);
10524 if (arg2 == NULL) SWIG_fail;
ae8162c8 10525 temp2 = true;
d14a1e28
RD
10526 }
10527 }
10528 {
10529 PyThreadState* __tstate = wxPyBeginAllowThreads();
10530 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
10531
10532 wxPyEndAllowThreads(__tstate);
10533 if (PyErr_Occurred()) SWIG_fail;
10534 }
4f89f6a3
RD
10535 {
10536 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10537 }
d14a1e28
RD
10538 {
10539 if (temp2)
10540 delete arg2;
10541 }
10542 return resultobj;
10543 fail:
10544 {
10545 if (temp2)
10546 delete arg2;
10547 }
10548 return NULL;
10549}
10550
10551
c32bde28 10552static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10553 PyObject *resultobj;
10554 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10555 PyObject * obj0 = 0 ;
10556 char *kwnames[] = {
10557 (char *) "self", NULL
10558 };
10559
10560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_MarkDirty",kwnames,&obj0)) goto fail;
093d3ff1
RD
10561 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10562 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10563 {
10564 PyThreadState* __tstate = wxPyBeginAllowThreads();
10565 (arg1)->MarkDirty();
10566
10567 wxPyEndAllowThreads(__tstate);
10568 if (PyErr_Occurred()) SWIG_fail;
10569 }
10570 Py_INCREF(Py_None); resultobj = Py_None;
10571 return resultobj;
10572 fail:
10573 return NULL;
10574}
10575
10576
c32bde28 10577static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10578 PyObject *resultobj;
10579 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10580 PyObject * obj0 = 0 ;
10581 char *kwnames[] = {
10582 (char *) "self", NULL
10583 };
10584
10585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_DiscardEdits",kwnames,&obj0)) goto fail;
093d3ff1
RD
10586 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10587 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10588 {
10589 PyThreadState* __tstate = wxPyBeginAllowThreads();
10590 (arg1)->DiscardEdits();
10591
10592 wxPyEndAllowThreads(__tstate);
10593 if (PyErr_Occurred()) SWIG_fail;
10594 }
10595 Py_INCREF(Py_None); resultobj = Py_None;
10596 return resultobj;
10597 fail:
10598 return NULL;
10599}
10600
10601
c32bde28 10602static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10603 PyObject *resultobj;
10604 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10605 unsigned long arg2 ;
10606 PyObject * obj0 = 0 ;
10607 PyObject * obj1 = 0 ;
10608 char *kwnames[] = {
10609 (char *) "self",(char *) "len", NULL
10610 };
10611
10612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10613 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10614 if (SWIG_arg_fail(1)) SWIG_fail;
10615 {
10616 arg2 = (unsigned long)(SWIG_As_unsigned_SS_long(obj1));
10617 if (SWIG_arg_fail(2)) SWIG_fail;
10618 }
d14a1e28
RD
10619 {
10620 PyThreadState* __tstate = wxPyBeginAllowThreads();
10621 (arg1)->SetMaxLength(arg2);
10622
10623 wxPyEndAllowThreads(__tstate);
10624 if (PyErr_Occurred()) SWIG_fail;
10625 }
10626 Py_INCREF(Py_None); resultobj = Py_None;
10627 return resultobj;
10628 fail:
10629 return NULL;
10630}
10631
10632
c32bde28 10633static PyObject *_wrap_TextCtrl_WriteText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10634 PyObject *resultobj;
10635 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10636 wxString *arg2 = 0 ;
ae8162c8 10637 bool temp2 = false ;
d14a1e28
RD
10638 PyObject * obj0 = 0 ;
10639 PyObject * obj1 = 0 ;
10640 char *kwnames[] = {
10641 (char *) "self",(char *) "text", NULL
10642 };
10643
10644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10645 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10646 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10647 {
10648 arg2 = wxString_in_helper(obj1);
10649 if (arg2 == NULL) SWIG_fail;
ae8162c8 10650 temp2 = true;
d14a1e28
RD
10651 }
10652 {
10653 PyThreadState* __tstate = wxPyBeginAllowThreads();
10654 (arg1)->WriteText((wxString const &)*arg2);
10655
10656 wxPyEndAllowThreads(__tstate);
10657 if (PyErr_Occurred()) SWIG_fail;
10658 }
10659 Py_INCREF(Py_None); resultobj = Py_None;
10660 {
10661 if (temp2)
10662 delete arg2;
10663 }
10664 return resultobj;
10665 fail:
10666 {
10667 if (temp2)
10668 delete arg2;
10669 }
10670 return NULL;
10671}
10672
10673
c32bde28 10674static PyObject *_wrap_TextCtrl_AppendText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10675 PyObject *resultobj;
10676 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10677 wxString *arg2 = 0 ;
ae8162c8 10678 bool temp2 = false ;
d14a1e28
RD
10679 PyObject * obj0 = 0 ;
10680 PyObject * obj1 = 0 ;
10681 char *kwnames[] = {
10682 (char *) "self",(char *) "text", NULL
10683 };
10684
10685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10686 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10687 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10688 {
10689 arg2 = wxString_in_helper(obj1);
10690 if (arg2 == NULL) SWIG_fail;
ae8162c8 10691 temp2 = true;
d14a1e28
RD
10692 }
10693 {
10694 PyThreadState* __tstate = wxPyBeginAllowThreads();
10695 (arg1)->AppendText((wxString const &)*arg2);
10696
10697 wxPyEndAllowThreads(__tstate);
10698 if (PyErr_Occurred()) SWIG_fail;
10699 }
10700 Py_INCREF(Py_None); resultobj = Py_None;
10701 {
10702 if (temp2)
10703 delete arg2;
10704 }
10705 return resultobj;
10706 fail:
10707 {
10708 if (temp2)
10709 delete arg2;
10710 }
10711 return NULL;
10712}
10713
10714
c32bde28 10715static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10716 PyObject *resultobj;
10717 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10718 wxKeyEvent *arg2 = 0 ;
10719 bool result;
10720 PyObject * obj0 = 0 ;
10721 PyObject * obj1 = 0 ;
10722 char *kwnames[] = {
10723 (char *) "self",(char *) "event", NULL
10724 };
10725
10726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10727 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10728 if (SWIG_arg_fail(1)) SWIG_fail;
10729 {
10730 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
10731 if (SWIG_arg_fail(2)) SWIG_fail;
10732 if (arg2 == NULL) {
10733 SWIG_null_ref("wxKeyEvent");
10734 }
10735 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
10736 }
10737 {
10738 PyThreadState* __tstate = wxPyBeginAllowThreads();
10739 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
10740
10741 wxPyEndAllowThreads(__tstate);
10742 if (PyErr_Occurred()) SWIG_fail;
10743 }
4f89f6a3
RD
10744 {
10745 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10746 }
d14a1e28
RD
10747 return resultobj;
10748 fail:
10749 return NULL;
10750}
10751
10752
c32bde28 10753static PyObject *_wrap_TextCtrl_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10754 PyObject *resultobj;
10755 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10756 long arg2 ;
10757 long arg3 ;
10758 wxTextAttr *arg4 = 0 ;
10759 bool result;
10760 PyObject * obj0 = 0 ;
994141e6
RD
10761 PyObject * obj1 = 0 ;
10762 PyObject * obj2 = 0 ;
d14a1e28
RD
10763 PyObject * obj3 = 0 ;
10764 char *kwnames[] = {
10765 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
10766 };
10767
994141e6 10768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_SetStyle",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
10769 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10770 if (SWIG_arg_fail(1)) SWIG_fail;
10771 {
10772 arg2 = (long)(SWIG_As_long(obj1));
10773 if (SWIG_arg_fail(2)) SWIG_fail;
10774 }
10775 {
10776 arg3 = (long)(SWIG_As_long(obj2));
10777 if (SWIG_arg_fail(3)) SWIG_fail;
10778 }
10779 {
10780 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
10781 if (SWIG_arg_fail(4)) SWIG_fail;
10782 if (arg4 == NULL) {
10783 SWIG_null_ref("wxTextAttr");
10784 }
10785 if (SWIG_arg_fail(4)) SWIG_fail;
d14a1e28
RD
10786 }
10787 {
10788 PyThreadState* __tstate = wxPyBeginAllowThreads();
10789 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
10790
10791 wxPyEndAllowThreads(__tstate);
10792 if (PyErr_Occurred()) SWIG_fail;
10793 }
4f89f6a3
RD
10794 {
10795 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10796 }
d14a1e28
RD
10797 return resultobj;
10798 fail:
10799 return NULL;
10800}
10801
10802
c32bde28 10803static PyObject *_wrap_TextCtrl_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10804 PyObject *resultobj;
10805 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10806 long arg2 ;
10807 wxTextAttr *arg3 = 0 ;
10808 bool result;
10809 PyObject * obj0 = 0 ;
994141e6 10810 PyObject * obj1 = 0 ;
d14a1e28
RD
10811 PyObject * obj2 = 0 ;
10812 char *kwnames[] = {
10813 (char *) "self",(char *) "position",(char *) "style", NULL
10814 };
10815
994141e6 10816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10817 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10818 if (SWIG_arg_fail(1)) SWIG_fail;
10819 {
10820 arg2 = (long)(SWIG_As_long(obj1));
10821 if (SWIG_arg_fail(2)) SWIG_fail;
10822 }
10823 {
10824 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
10825 if (SWIG_arg_fail(3)) SWIG_fail;
10826 if (arg3 == NULL) {
10827 SWIG_null_ref("wxTextAttr");
10828 }
10829 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
10830 }
10831 {
10832 PyThreadState* __tstate = wxPyBeginAllowThreads();
10833 result = (bool)(arg1)->GetStyle(arg2,*arg3);
10834
10835 wxPyEndAllowThreads(__tstate);
10836 if (PyErr_Occurred()) SWIG_fail;
10837 }
4f89f6a3
RD
10838 {
10839 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10840 }
d14a1e28
RD
10841 return resultobj;
10842 fail:
10843 return NULL;
10844}
10845
10846
c32bde28 10847static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10848 PyObject *resultobj;
10849 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10850 wxTextAttr *arg2 = 0 ;
10851 bool result;
10852 PyObject * obj0 = 0 ;
10853 PyObject * obj1 = 0 ;
10854 char *kwnames[] = {
10855 (char *) "self",(char *) "style", NULL
10856 };
10857
10858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10859 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10860 if (SWIG_arg_fail(1)) SWIG_fail;
10861 {
10862 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
10863 if (SWIG_arg_fail(2)) SWIG_fail;
10864 if (arg2 == NULL) {
10865 SWIG_null_ref("wxTextAttr");
10866 }
10867 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
10868 }
10869 {
10870 PyThreadState* __tstate = wxPyBeginAllowThreads();
10871 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
10872
10873 wxPyEndAllowThreads(__tstate);
10874 if (PyErr_Occurred()) SWIG_fail;
10875 }
4f89f6a3
RD
10876 {
10877 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10878 }
d14a1e28
RD
10879 return resultobj;
10880 fail:
10881 return NULL;
10882}
10883
10884
c32bde28 10885static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10886 PyObject *resultobj;
10887 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10888 wxTextAttr *result;
10889 PyObject * obj0 = 0 ;
10890 char *kwnames[] = {
10891 (char *) "self", NULL
10892 };
10893
10894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetDefaultStyle",kwnames,&obj0)) goto fail;
093d3ff1
RD
10895 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10896 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10897 {
10898 PyThreadState* __tstate = wxPyBeginAllowThreads();
10899 {
10900 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
10901 result = (wxTextAttr *) &_result_ref;
10902 }
10903
10904 wxPyEndAllowThreads(__tstate);
10905 if (PyErr_Occurred()) SWIG_fail;
10906 }
15afbcd0 10907 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 0);
d14a1e28
RD
10908 return resultobj;
10909 fail:
10910 return NULL;
10911}
10912
10913
c32bde28 10914static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10915 PyObject *resultobj;
10916 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10917 long arg2 ;
10918 long arg3 ;
10919 long result;
10920 PyObject * obj0 = 0 ;
994141e6
RD
10921 PyObject * obj1 = 0 ;
10922 PyObject * obj2 = 0 ;
d14a1e28
RD
10923 char *kwnames[] = {
10924 (char *) "self",(char *) "x",(char *) "y", NULL
10925 };
10926
994141e6 10927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_XYToPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10928 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10929 if (SWIG_arg_fail(1)) SWIG_fail;
10930 {
10931 arg2 = (long)(SWIG_As_long(obj1));
10932 if (SWIG_arg_fail(2)) SWIG_fail;
10933 }
10934 {
10935 arg3 = (long)(SWIG_As_long(obj2));
10936 if (SWIG_arg_fail(3)) SWIG_fail;
10937 }
d14a1e28
RD
10938 {
10939 PyThreadState* __tstate = wxPyBeginAllowThreads();
10940 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
10941
10942 wxPyEndAllowThreads(__tstate);
10943 if (PyErr_Occurred()) SWIG_fail;
10944 }
093d3ff1
RD
10945 {
10946 resultobj = SWIG_From_long((long)(result));
10947 }
d14a1e28
RD
10948 return resultobj;
10949 fail:
10950 return NULL;
10951}
10952
10953
c32bde28 10954static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10955 PyObject *resultobj;
10956 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10957 long arg2 ;
10958 long *arg3 = (long *) 0 ;
10959 long *arg4 = (long *) 0 ;
10960 long temp3 ;
c32bde28 10961 int res3 = 0 ;
d14a1e28 10962 long temp4 ;
c32bde28 10963 int res4 = 0 ;
d14a1e28 10964 PyObject * obj0 = 0 ;
994141e6 10965 PyObject * obj1 = 0 ;
d14a1e28
RD
10966 char *kwnames[] = {
10967 (char *) "self",(char *) "pos", NULL
10968 };
10969
c32bde28
RD
10970 arg3 = &temp3; res3 = SWIG_NEWOBJ;
10971 arg4 = &temp4; res4 = SWIG_NEWOBJ;
994141e6 10972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_PositionToXY",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10973 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10974 if (SWIG_arg_fail(1)) SWIG_fail;
10975 {
10976 arg2 = (long)(SWIG_As_long(obj1));
10977 if (SWIG_arg_fail(2)) SWIG_fail;
10978 }
d14a1e28
RD
10979 {
10980 PyThreadState* __tstate = wxPyBeginAllowThreads();
10981 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
10982
10983 wxPyEndAllowThreads(__tstate);
10984 if (PyErr_Occurred()) SWIG_fail;
10985 }
10986 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
10987 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
10988 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
10989 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
10990 SWIG_From_long((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, 0)));
d14a1e28
RD
10991 return resultobj;
10992 fail:
10993 return NULL;
10994}
10995
10996
c32bde28 10997static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10998 PyObject *resultobj;
10999 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11000 long arg2 ;
11001 PyObject * obj0 = 0 ;
994141e6 11002 PyObject * obj1 = 0 ;
d14a1e28
RD
11003 char *kwnames[] = {
11004 (char *) "self",(char *) "pos", NULL
11005 };
11006
994141e6 11007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ShowPosition",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11008 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11009 if (SWIG_arg_fail(1)) SWIG_fail;
11010 {
11011 arg2 = (long)(SWIG_As_long(obj1));
11012 if (SWIG_arg_fail(2)) SWIG_fail;
11013 }
d14a1e28
RD
11014 {
11015 PyThreadState* __tstate = wxPyBeginAllowThreads();
11016 (arg1)->ShowPosition(arg2);
11017
11018 wxPyEndAllowThreads(__tstate);
11019 if (PyErr_Occurred()) SWIG_fail;
11020 }
11021 Py_INCREF(Py_None); resultobj = Py_None;
11022 return resultobj;
11023 fail:
11024 return NULL;
11025}
11026
11027
c32bde28 11028static PyObject *_wrap_TextCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
4d5c3d91
RD
11029 PyObject *resultobj;
11030 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11031 wxPoint *arg2 = 0 ;
11032 long *arg3 = (long *) 0 ;
11033 long *arg4 = (long *) 0 ;
093d3ff1 11034 wxTextCtrlHitTestResult result;
4d5c3d91
RD
11035 wxPoint temp2 ;
11036 long temp3 ;
c32bde28 11037 int res3 = 0 ;
4d5c3d91 11038 long temp4 ;
c32bde28 11039 int res4 = 0 ;
4d5c3d91
RD
11040 PyObject * obj0 = 0 ;
11041 PyObject * obj1 = 0 ;
11042 char *kwnames[] = {
11043 (char *) "self",(char *) "pt", NULL
11044 };
11045
c32bde28
RD
11046 arg3 = &temp3; res3 = SWIG_NEWOBJ;
11047 arg4 = &temp4; res4 = SWIG_NEWOBJ;
4d5c3d91 11048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11049 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11050 if (SWIG_arg_fail(1)) SWIG_fail;
4d5c3d91
RD
11051 {
11052 arg2 = &temp2;
11053 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11054 }
11055 {
11056 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 11057 result = (wxTextCtrlHitTestResult)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3,arg4);
4d5c3d91
RD
11058
11059 wxPyEndAllowThreads(__tstate);
11060 if (PyErr_Occurred()) SWIG_fail;
11061 }
093d3ff1 11062 resultobj = SWIG_From_int((result));
c32bde28
RD
11063 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
11064 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
11065 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
11066 SWIG_From_long((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, 0)));
4d5c3d91
RD
11067 return resultobj;
11068 fail:
11069 return NULL;
11070}
11071
11072
c32bde28 11073static PyObject *_wrap_TextCtrl_HitTestPos(PyObject *, PyObject *args, PyObject *kwargs) {
4896ac9e
RD
11074 PyObject *resultobj;
11075 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11076 wxPoint *arg2 = 0 ;
11077 long *arg3 = (long *) 0 ;
093d3ff1 11078 wxTextCtrlHitTestResult result;
4896ac9e
RD
11079 wxPoint temp2 ;
11080 long temp3 ;
c32bde28 11081 int res3 = 0 ;
4896ac9e
RD
11082 PyObject * obj0 = 0 ;
11083 PyObject * obj1 = 0 ;
11084 char *kwnames[] = {
11085 (char *) "self",(char *) "pt", NULL
11086 };
11087
c32bde28 11088 arg3 = &temp3; res3 = SWIG_NEWOBJ;
4896ac9e 11089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTestPos",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11090 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11091 if (SWIG_arg_fail(1)) SWIG_fail;
4896ac9e
RD
11092 {
11093 arg2 = &temp2;
11094 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11095 }
11096 {
11097 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 11098 result = (wxTextCtrlHitTestResult)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
4896ac9e
RD
11099
11100 wxPyEndAllowThreads(__tstate);
11101 if (PyErr_Occurred()) SWIG_fail;
11102 }
093d3ff1 11103 resultobj = SWIG_From_int((result));
c32bde28
RD
11104 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
11105 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
4896ac9e
RD
11106 return resultobj;
11107 fail:
11108 return NULL;
11109}
11110
11111
c32bde28 11112static PyObject *_wrap_TextCtrl_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11113 PyObject *resultobj;
11114 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11115 PyObject * obj0 = 0 ;
11116 char *kwnames[] = {
11117 (char *) "self", NULL
11118 };
11119
11120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Copy",kwnames,&obj0)) goto fail;
093d3ff1
RD
11121 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11122 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11123 {
11124 PyThreadState* __tstate = wxPyBeginAllowThreads();
11125 (arg1)->Copy();
11126
11127 wxPyEndAllowThreads(__tstate);
11128 if (PyErr_Occurred()) SWIG_fail;
11129 }
11130 Py_INCREF(Py_None); resultobj = Py_None;
11131 return resultobj;
11132 fail:
11133 return NULL;
11134}
11135
11136
c32bde28 11137static PyObject *_wrap_TextCtrl_Cut(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11138 PyObject *resultobj;
11139 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11140 PyObject * obj0 = 0 ;
11141 char *kwnames[] = {
11142 (char *) "self", NULL
11143 };
11144
11145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Cut",kwnames,&obj0)) goto fail;
093d3ff1
RD
11146 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11147 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11148 {
11149 PyThreadState* __tstate = wxPyBeginAllowThreads();
11150 (arg1)->Cut();
11151
11152 wxPyEndAllowThreads(__tstate);
11153 if (PyErr_Occurred()) SWIG_fail;
11154 }
11155 Py_INCREF(Py_None); resultobj = Py_None;
11156 return resultobj;
11157 fail:
11158 return NULL;
11159}
11160
11161
c32bde28 11162static PyObject *_wrap_TextCtrl_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11163 PyObject *resultobj;
11164 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11165 PyObject * obj0 = 0 ;
11166 char *kwnames[] = {
11167 (char *) "self", NULL
11168 };
11169
11170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Paste",kwnames,&obj0)) goto fail;
093d3ff1
RD
11171 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11172 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11173 {
11174 PyThreadState* __tstate = wxPyBeginAllowThreads();
11175 (arg1)->Paste();
11176
11177 wxPyEndAllowThreads(__tstate);
11178 if (PyErr_Occurred()) SWIG_fail;
11179 }
11180 Py_INCREF(Py_None); resultobj = Py_None;
11181 return resultobj;
11182 fail:
11183 return NULL;
11184}
11185
11186
c32bde28 11187static PyObject *_wrap_TextCtrl_CanCopy(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11188 PyObject *resultobj;
11189 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11190 bool result;
11191 PyObject * obj0 = 0 ;
11192 char *kwnames[] = {
11193 (char *) "self", NULL
11194 };
11195
11196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCopy",kwnames,&obj0)) goto fail;
093d3ff1
RD
11197 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11198 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11199 {
11200 PyThreadState* __tstate = wxPyBeginAllowThreads();
11201 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
11202
11203 wxPyEndAllowThreads(__tstate);
11204 if (PyErr_Occurred()) SWIG_fail;
11205 }
4f89f6a3
RD
11206 {
11207 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11208 }
d14a1e28
RD
11209 return resultobj;
11210 fail:
11211 return NULL;
11212}
11213
11214
c32bde28 11215static PyObject *_wrap_TextCtrl_CanCut(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11216 PyObject *resultobj;
11217 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11218 bool result;
11219 PyObject * obj0 = 0 ;
11220 char *kwnames[] = {
11221 (char *) "self", NULL
11222 };
11223
11224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCut",kwnames,&obj0)) goto fail;
093d3ff1
RD
11225 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11226 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11227 {
11228 PyThreadState* __tstate = wxPyBeginAllowThreads();
11229 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
11230
11231 wxPyEndAllowThreads(__tstate);
11232 if (PyErr_Occurred()) SWIG_fail;
11233 }
4f89f6a3
RD
11234 {
11235 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11236 }
d14a1e28
RD
11237 return resultobj;
11238 fail:
11239 return NULL;
11240}
11241
11242
c32bde28 11243static PyObject *_wrap_TextCtrl_CanPaste(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11244 PyObject *resultobj;
11245 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11246 bool result;
11247 PyObject * obj0 = 0 ;
11248 char *kwnames[] = {
11249 (char *) "self", NULL
11250 };
11251
11252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanPaste",kwnames,&obj0)) goto fail;
093d3ff1
RD
11253 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11254 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11255 {
11256 PyThreadState* __tstate = wxPyBeginAllowThreads();
11257 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
11258
11259 wxPyEndAllowThreads(__tstate);
11260 if (PyErr_Occurred()) SWIG_fail;
11261 }
4f89f6a3
RD
11262 {
11263 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11264 }
d14a1e28
RD
11265 return resultobj;
11266 fail:
11267 return NULL;
11268}
11269
11270
c32bde28 11271static PyObject *_wrap_TextCtrl_Undo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11272 PyObject *resultobj;
11273 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11274 PyObject * obj0 = 0 ;
11275 char *kwnames[] = {
11276 (char *) "self", NULL
11277 };
11278
11279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Undo",kwnames,&obj0)) goto fail;
093d3ff1
RD
11280 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11281 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11282 {
11283 PyThreadState* __tstate = wxPyBeginAllowThreads();
11284 (arg1)->Undo();
11285
11286 wxPyEndAllowThreads(__tstate);
11287 if (PyErr_Occurred()) SWIG_fail;
11288 }
11289 Py_INCREF(Py_None); resultobj = Py_None;
11290 return resultobj;
11291 fail:
11292 return NULL;
11293}
11294
11295
c32bde28 11296static PyObject *_wrap_TextCtrl_Redo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11297 PyObject *resultobj;
11298 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11299 PyObject * obj0 = 0 ;
11300 char *kwnames[] = {
11301 (char *) "self", NULL
11302 };
11303
11304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Redo",kwnames,&obj0)) goto fail;
093d3ff1
RD
11305 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11306 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11307 {
11308 PyThreadState* __tstate = wxPyBeginAllowThreads();
11309 (arg1)->Redo();
11310
11311 wxPyEndAllowThreads(__tstate);
11312 if (PyErr_Occurred()) SWIG_fail;
11313 }
11314 Py_INCREF(Py_None); resultobj = Py_None;
11315 return resultobj;
11316 fail:
11317 return NULL;
11318}
11319
11320
c32bde28 11321static PyObject *_wrap_TextCtrl_CanUndo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11322 PyObject *resultobj;
11323 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11324 bool result;
11325 PyObject * obj0 = 0 ;
11326 char *kwnames[] = {
11327 (char *) "self", NULL
11328 };
11329
11330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanUndo",kwnames,&obj0)) goto fail;
093d3ff1
RD
11331 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11332 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11333 {
11334 PyThreadState* __tstate = wxPyBeginAllowThreads();
11335 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
11336
11337 wxPyEndAllowThreads(__tstate);
11338 if (PyErr_Occurred()) SWIG_fail;
11339 }
4f89f6a3
RD
11340 {
11341 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11342 }
d14a1e28
RD
11343 return resultobj;
11344 fail:
11345 return NULL;
11346}
11347
11348
c32bde28 11349static PyObject *_wrap_TextCtrl_CanRedo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11350 PyObject *resultobj;
11351 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11352 bool result;
11353 PyObject * obj0 = 0 ;
11354 char *kwnames[] = {
11355 (char *) "self", NULL
11356 };
11357
11358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanRedo",kwnames,&obj0)) goto fail;
093d3ff1
RD
11359 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11360 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11361 {
11362 PyThreadState* __tstate = wxPyBeginAllowThreads();
11363 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
11364
11365 wxPyEndAllowThreads(__tstate);
11366 if (PyErr_Occurred()) SWIG_fail;
11367 }
4f89f6a3
RD
11368 {
11369 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11370 }
d14a1e28
RD
11371 return resultobj;
11372 fail:
11373 return NULL;
11374}
11375
11376
c32bde28 11377static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11378 PyObject *resultobj;
11379 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11380 long arg2 ;
11381 PyObject * obj0 = 0 ;
994141e6 11382 PyObject * obj1 = 0 ;
d14a1e28
RD
11383 char *kwnames[] = {
11384 (char *) "self",(char *) "pos", NULL
11385 };
11386
994141e6 11387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11388 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11389 if (SWIG_arg_fail(1)) SWIG_fail;
11390 {
11391 arg2 = (long)(SWIG_As_long(obj1));
11392 if (SWIG_arg_fail(2)) SWIG_fail;
11393 }
d14a1e28
RD
11394 {
11395 PyThreadState* __tstate = wxPyBeginAllowThreads();
11396 (arg1)->SetInsertionPoint(arg2);
11397
11398 wxPyEndAllowThreads(__tstate);
11399 if (PyErr_Occurred()) SWIG_fail;
11400 }
11401 Py_INCREF(Py_None); resultobj = Py_None;
11402 return resultobj;
11403 fail:
11404 return NULL;
11405}
11406
11407
c32bde28 11408static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11409 PyObject *resultobj;
11410 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11411 PyObject * obj0 = 0 ;
11412 char *kwnames[] = {
11413 (char *) "self", NULL
11414 };
11415
11416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
093d3ff1
RD
11417 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11418 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11419 {
11420 PyThreadState* __tstate = wxPyBeginAllowThreads();
11421 (arg1)->SetInsertionPointEnd();
11422
11423 wxPyEndAllowThreads(__tstate);
11424 if (PyErr_Occurred()) SWIG_fail;
11425 }
11426 Py_INCREF(Py_None); resultobj = Py_None;
11427 return resultobj;
11428 fail:
11429 return NULL;
11430}
11431
11432
c32bde28 11433static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11434 PyObject *resultobj;
11435 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11436 long result;
11437 PyObject * obj0 = 0 ;
11438 char *kwnames[] = {
11439 (char *) "self", NULL
11440 };
11441
11442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetInsertionPoint",kwnames,&obj0)) goto fail;
093d3ff1
RD
11443 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11444 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11445 {
11446 PyThreadState* __tstate = wxPyBeginAllowThreads();
11447 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
11448
11449 wxPyEndAllowThreads(__tstate);
11450 if (PyErr_Occurred()) SWIG_fail;
11451 }
093d3ff1
RD
11452 {
11453 resultobj = SWIG_From_long((long)(result));
11454 }
d14a1e28
RD
11455 return resultobj;
11456 fail:
11457 return NULL;
11458}
11459
11460
c32bde28 11461static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11462 PyObject *resultobj;
11463 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11464 long result;
11465 PyObject * obj0 = 0 ;
11466 char *kwnames[] = {
11467 (char *) "self", NULL
11468 };
11469
11470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetLastPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
11471 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11472 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11473 {
11474 PyThreadState* __tstate = wxPyBeginAllowThreads();
11475 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
11476
11477 wxPyEndAllowThreads(__tstate);
11478 if (PyErr_Occurred()) SWIG_fail;
11479 }
093d3ff1
RD
11480 {
11481 resultobj = SWIG_From_long((long)(result));
11482 }
d14a1e28
RD
11483 return resultobj;
11484 fail:
11485 return NULL;
11486}
11487
11488
c32bde28 11489static PyObject *_wrap_TextCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11490 PyObject *resultobj;
11491 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11492 long arg2 ;
11493 long arg3 ;
11494 PyObject * obj0 = 0 ;
994141e6
RD
11495 PyObject * obj1 = 0 ;
11496 PyObject * obj2 = 0 ;
d14a1e28
RD
11497 char *kwnames[] = {
11498 (char *) "self",(char *) "from",(char *) "to", NULL
11499 };
11500
994141e6 11501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
11502 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11503 if (SWIG_arg_fail(1)) SWIG_fail;
11504 {
11505 arg2 = (long)(SWIG_As_long(obj1));
11506 if (SWIG_arg_fail(2)) SWIG_fail;
11507 }
11508 {
11509 arg3 = (long)(SWIG_As_long(obj2));
11510 if (SWIG_arg_fail(3)) SWIG_fail;
11511 }
d14a1e28
RD
11512 {
11513 PyThreadState* __tstate = wxPyBeginAllowThreads();
11514 (arg1)->SetSelection(arg2,arg3);
11515
11516 wxPyEndAllowThreads(__tstate);
11517 if (PyErr_Occurred()) SWIG_fail;
11518 }
11519 Py_INCREF(Py_None); resultobj = Py_None;
11520 return resultobj;
11521 fail:
11522 return NULL;
11523}
11524
11525
c32bde28 11526static PyObject *_wrap_TextCtrl_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11527 PyObject *resultobj;
11528 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11529 PyObject * obj0 = 0 ;
11530 char *kwnames[] = {
11531 (char *) "self", NULL
11532 };
11533
11534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SelectAll",kwnames,&obj0)) goto fail;
093d3ff1
RD
11535 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11536 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11537 {
11538 PyThreadState* __tstate = wxPyBeginAllowThreads();
11539 (arg1)->SelectAll();
11540
11541 wxPyEndAllowThreads(__tstate);
11542 if (PyErr_Occurred()) SWIG_fail;
11543 }
11544 Py_INCREF(Py_None); resultobj = Py_None;
11545 return resultobj;
11546 fail:
11547 return NULL;
11548}
11549
11550
c32bde28 11551static PyObject *_wrap_TextCtrl_SetEditable(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11552 PyObject *resultobj;
11553 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11554 bool arg2 ;
11555 PyObject * obj0 = 0 ;
11556 PyObject * obj1 = 0 ;
11557 char *kwnames[] = {
11558 (char *) "self",(char *) "editable", NULL
11559 };
11560
11561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11562 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11563 if (SWIG_arg_fail(1)) SWIG_fail;
11564 {
11565 arg2 = (bool)(SWIG_As_bool(obj1));
11566 if (SWIG_arg_fail(2)) SWIG_fail;
11567 }
d14a1e28
RD
11568 {
11569 PyThreadState* __tstate = wxPyBeginAllowThreads();
11570 (arg1)->SetEditable(arg2);
11571
11572 wxPyEndAllowThreads(__tstate);
11573 if (PyErr_Occurred()) SWIG_fail;
11574 }
11575 Py_INCREF(Py_None); resultobj = Py_None;
11576 return resultobj;
11577 fail:
11578 return NULL;
11579}
11580
11581
c32bde28 11582static PyObject *_wrap_TextCtrl_write(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11583 PyObject *resultobj;
11584 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11585 wxString *arg2 = 0 ;
ae8162c8 11586 bool temp2 = false ;
d14a1e28
RD
11587 PyObject * obj0 = 0 ;
11588 PyObject * obj1 = 0 ;
11589 char *kwnames[] = {
11590 (char *) "self",(char *) "text", NULL
11591 };
11592
11593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11594 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11595 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11596 {
11597 arg2 = wxString_in_helper(obj1);
11598 if (arg2 == NULL) SWIG_fail;
ae8162c8 11599 temp2 = true;
d14a1e28
RD
11600 }
11601 {
11602 PyThreadState* __tstate = wxPyBeginAllowThreads();
11603 wxTextCtrl_write(arg1,(wxString const &)*arg2);
11604
11605 wxPyEndAllowThreads(__tstate);
11606 if (PyErr_Occurred()) SWIG_fail;
11607 }
11608 Py_INCREF(Py_None); resultobj = Py_None;
11609 {
11610 if (temp2)
11611 delete arg2;
11612 }
11613 return resultobj;
11614 fail:
11615 {
11616 if (temp2)
11617 delete arg2;
11618 }
11619 return NULL;
11620}
11621
11622
c32bde28 11623static PyObject *_wrap_TextCtrl_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11624 PyObject *resultobj;
11625 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11626 long arg2 ;
11627 long arg3 ;
11628 wxString result;
11629 PyObject * obj0 = 0 ;
994141e6
RD
11630 PyObject * obj1 = 0 ;
11631 PyObject * obj2 = 0 ;
d14a1e28
RD
11632 char *kwnames[] = {
11633 (char *) "self",(char *) "from",(char *) "to", NULL
11634 };
11635
994141e6 11636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
11637 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11638 if (SWIG_arg_fail(1)) SWIG_fail;
11639 {
11640 arg2 = (long)(SWIG_As_long(obj1));
11641 if (SWIG_arg_fail(2)) SWIG_fail;
11642 }
11643 {
11644 arg3 = (long)(SWIG_As_long(obj2));
11645 if (SWIG_arg_fail(3)) SWIG_fail;
11646 }
d14a1e28
RD
11647 {
11648 PyThreadState* __tstate = wxPyBeginAllowThreads();
11649 result = wxTextCtrl_GetString(arg1,arg2,arg3);
11650
11651 wxPyEndAllowThreads(__tstate);
11652 if (PyErr_Occurred()) SWIG_fail;
11653 }
11654 {
11655#if wxUSE_UNICODE
11656 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11657#else
11658 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11659#endif
11660 }
11661 return resultobj;
11662 fail:
11663 return NULL;
11664}
11665
11666
c32bde28 11667static PyObject *_wrap_TextCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c 11668 PyObject *resultobj;
093d3ff1 11669 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
11670 wxVisualAttributes result;
11671 PyObject * obj0 = 0 ;
11672 char *kwnames[] = {
11673 (char *) "variant", NULL
11674 };
11675
11676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
11677 if (obj0) {
093d3ff1
RD
11678 {
11679 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
11680 if (SWIG_arg_fail(1)) SWIG_fail;
11681 }
22bfe96c
RD
11682 }
11683 {
110da5b0 11684 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
11685 PyThreadState* __tstate = wxPyBeginAllowThreads();
11686 result = wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
11687
11688 wxPyEndAllowThreads(__tstate);
dfbb5885 11689 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
11690 }
11691 {
11692 wxVisualAttributes * resultptr;
093d3ff1 11693 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
22bfe96c
RD
11694 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
11695 }
11696 return resultobj;
11697 fail:
11698 return NULL;
11699}
11700
11701
c32bde28 11702static PyObject * TextCtrl_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
11703 PyObject *obj;
11704 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11705 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl, obj);
11706 Py_INCREF(obj);
11707 return Py_BuildValue((char *)"");
11708}
c32bde28 11709static PyObject *_wrap_new_TextUrlEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11710 PyObject *resultobj;
11711 int arg1 ;
11712 wxMouseEvent *arg2 = 0 ;
11713 long arg3 ;
11714 long arg4 ;
11715 wxTextUrlEvent *result;
994141e6 11716 PyObject * obj0 = 0 ;
d14a1e28 11717 PyObject * obj1 = 0 ;
994141e6
RD
11718 PyObject * obj2 = 0 ;
11719 PyObject * obj3 = 0 ;
d14a1e28
RD
11720 char *kwnames[] = {
11721 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
11722 };
11723
994141e6 11724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_TextUrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
11725 {
11726 arg1 = (int)(SWIG_As_int(obj0));
11727 if (SWIG_arg_fail(1)) SWIG_fail;
11728 }
11729 {
11730 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
11731 if (SWIG_arg_fail(2)) SWIG_fail;
11732 if (arg2 == NULL) {
11733 SWIG_null_ref("wxMouseEvent");
11734 }
11735 if (SWIG_arg_fail(2)) SWIG_fail;
11736 }
11737 {
11738 arg3 = (long)(SWIG_As_long(obj2));
11739 if (SWIG_arg_fail(3)) SWIG_fail;
11740 }
11741 {
11742 arg4 = (long)(SWIG_As_long(obj3));
11743 if (SWIG_arg_fail(4)) SWIG_fail;
994141e6 11744 }
d14a1e28
RD
11745 {
11746 PyThreadState* __tstate = wxPyBeginAllowThreads();
11747 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
11748
11749 wxPyEndAllowThreads(__tstate);
11750 if (PyErr_Occurred()) SWIG_fail;
11751 }
15afbcd0 11752 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextUrlEvent, 1);
d14a1e28
RD
11753 return resultobj;
11754 fail:
11755 return NULL;
11756}
11757
11758
c32bde28 11759static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11760 PyObject *resultobj;
11761 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
11762 wxMouseEvent *result;
11763 PyObject * obj0 = 0 ;
11764 char *kwnames[] = {
11765 (char *) "self", NULL
11766 };
11767
11768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames,&obj0)) goto fail;
093d3ff1
RD
11769 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_EXCEPTION | 0);
11770 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11771 {
11772 PyThreadState* __tstate = wxPyBeginAllowThreads();
11773 {
11774 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
11775 result = (wxMouseEvent *) &_result_ref;
11776 }
11777
11778 wxPyEndAllowThreads(__tstate);
11779 if (PyErr_Occurred()) SWIG_fail;
11780 }
15afbcd0 11781 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMouseEvent, 0);
d14a1e28
RD
11782 return resultobj;
11783 fail:
11784 return NULL;
11785}
11786
11787
c32bde28 11788static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11789 PyObject *resultobj;
11790 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
11791 long result;
11792 PyObject * obj0 = 0 ;
11793 char *kwnames[] = {
11794 (char *) "self", NULL
11795 };
11796
11797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLStart",kwnames,&obj0)) goto fail;
093d3ff1
RD
11798 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_EXCEPTION | 0);
11799 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11800 {
11801 PyThreadState* __tstate = wxPyBeginAllowThreads();
11802 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
11803
11804 wxPyEndAllowThreads(__tstate);
11805 if (PyErr_Occurred()) SWIG_fail;
11806 }
093d3ff1
RD
11807 {
11808 resultobj = SWIG_From_long((long)(result));
11809 }
d14a1e28
RD
11810 return resultobj;
11811 fail:
11812 return NULL;
11813}
11814
11815
c32bde28 11816static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11817 PyObject *resultobj;
11818 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
11819 long result;
11820 PyObject * obj0 = 0 ;
11821 char *kwnames[] = {
11822 (char *) "self", NULL
11823 };
11824
11825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLEnd",kwnames,&obj0)) goto fail;
093d3ff1
RD
11826 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_EXCEPTION | 0);
11827 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11828 {
11829 PyThreadState* __tstate = wxPyBeginAllowThreads();
11830 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
11831
11832 wxPyEndAllowThreads(__tstate);
11833 if (PyErr_Occurred()) SWIG_fail;
11834 }
093d3ff1
RD
11835 {
11836 resultobj = SWIG_From_long((long)(result));
11837 }
d14a1e28
RD
11838 return resultobj;
11839 fail:
11840 return NULL;
11841}
11842
11843
c32bde28 11844static PyObject * TextUrlEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
11845 PyObject *obj;
11846 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11847 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent, obj);
11848 Py_INCREF(obj);
11849 return Py_BuildValue((char *)"");
11850}
c32bde28 11851static int _wrap_ScrollBarNameStr_set(PyObject *) {
b2dc1044
RD
11852 PyErr_SetString(PyExc_TypeError,"Variable ScrollBarNameStr is read-only.");
11853 return 1;
11854}
11855
11856
093d3ff1 11857static PyObject *_wrap_ScrollBarNameStr_get(void) {
b2dc1044
RD
11858 PyObject *pyobj;
11859
11860 {
11861#if wxUSE_UNICODE
11862 pyobj = PyUnicode_FromWideChar((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
11863#else
11864 pyobj = PyString_FromStringAndSize((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
11865#endif
11866 }
11867 return pyobj;
11868}
11869
11870
c32bde28 11871static PyObject *_wrap_new_ScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11872 PyObject *resultobj;
11873 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 11874 int arg2 = (int) -1 ;
d14a1e28
RD
11875 wxPoint const &arg3_defvalue = wxDefaultPosition ;
11876 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
11877 wxSize const &arg4_defvalue = wxDefaultSize ;
11878 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
11879 long arg5 = (long) wxSB_HORIZONTAL ;
11880 wxValidator const &arg6_defvalue = wxDefaultValidator ;
11881 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
11882 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
11883 wxString *arg7 = (wxString *) &arg7_defvalue ;
11884 wxScrollBar *result;
11885 wxPoint temp3 ;
11886 wxSize temp4 ;
ae8162c8 11887 bool temp7 = false ;
d14a1e28 11888 PyObject * obj0 = 0 ;
994141e6 11889 PyObject * obj1 = 0 ;
d14a1e28
RD
11890 PyObject * obj2 = 0 ;
11891 PyObject * obj3 = 0 ;
994141e6 11892 PyObject * obj4 = 0 ;
d14a1e28
RD
11893 PyObject * obj5 = 0 ;
11894 PyObject * obj6 = 0 ;
11895 char *kwnames[] = {
11896 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11897 };
11898
994141e6 11899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ScrollBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
11900 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11901 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 11902 if (obj1) {
093d3ff1
RD
11903 {
11904 arg2 = (int)(SWIG_As_int(obj1));
11905 if (SWIG_arg_fail(2)) SWIG_fail;
11906 }
994141e6 11907 }
d14a1e28
RD
11908 if (obj2) {
11909 {
11910 arg3 = &temp3;
11911 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11912 }
11913 }
11914 if (obj3) {
11915 {
11916 arg4 = &temp4;
11917 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
11918 }
11919 }
994141e6 11920 if (obj4) {
093d3ff1
RD
11921 {
11922 arg5 = (long)(SWIG_As_long(obj4));
11923 if (SWIG_arg_fail(5)) SWIG_fail;
11924 }
994141e6 11925 }
d14a1e28 11926 if (obj5) {
093d3ff1
RD
11927 {
11928 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
11929 if (SWIG_arg_fail(6)) SWIG_fail;
11930 if (arg6 == NULL) {
11931 SWIG_null_ref("wxValidator");
11932 }
11933 if (SWIG_arg_fail(6)) SWIG_fail;
d14a1e28
RD
11934 }
11935 }
11936 if (obj6) {
11937 {
11938 arg7 = wxString_in_helper(obj6);
11939 if (arg7 == NULL) SWIG_fail;
ae8162c8 11940 temp7 = true;
d14a1e28
RD
11941 }
11942 }
11943 {
e3b71cb8 11944 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
11945 PyThreadState* __tstate = wxPyBeginAllowThreads();
11946 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
11947
11948 wxPyEndAllowThreads(__tstate);
110da5b0 11949 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 11950 }
15afbcd0 11951 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
d14a1e28
RD
11952 {
11953 if (temp7)
11954 delete arg7;
11955 }
11956 return resultobj;
11957 fail:
11958 {
11959 if (temp7)
11960 delete arg7;
11961 }
11962 return NULL;
11963}
11964
11965
c32bde28 11966static PyObject *_wrap_new_PreScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11967 PyObject *resultobj;
11968 wxScrollBar *result;
11969 char *kwnames[] = {
11970 NULL
11971 };
11972
11973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrollBar",kwnames)) goto fail;
11974 {
e3b71cb8 11975 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
11976 PyThreadState* __tstate = wxPyBeginAllowThreads();
11977 result = (wxScrollBar *)new wxScrollBar();
11978
11979 wxPyEndAllowThreads(__tstate);
110da5b0 11980 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 11981 }
15afbcd0 11982 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
d14a1e28
RD
11983 return resultobj;
11984 fail:
11985 return NULL;
11986}
11987
11988
c32bde28 11989static PyObject *_wrap_ScrollBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11990 PyObject *resultobj;
11991 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
11992 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 11993 int arg3 = (int) -1 ;
d14a1e28
RD
11994 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11995 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11996 wxSize const &arg5_defvalue = wxDefaultSize ;
11997 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11998 long arg6 = (long) wxSB_HORIZONTAL ;
11999 wxValidator const &arg7_defvalue = wxDefaultValidator ;
12000 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
12001 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
12002 wxString *arg8 = (wxString *) &arg8_defvalue ;
12003 bool result;
12004 wxPoint temp4 ;
12005 wxSize temp5 ;
ae8162c8 12006 bool temp8 = false ;
d14a1e28
RD
12007 PyObject * obj0 = 0 ;
12008 PyObject * obj1 = 0 ;
994141e6 12009 PyObject * obj2 = 0 ;
d14a1e28
RD
12010 PyObject * obj3 = 0 ;
12011 PyObject * obj4 = 0 ;
994141e6 12012 PyObject * obj5 = 0 ;
d14a1e28
RD
12013 PyObject * obj6 = 0 ;
12014 PyObject * obj7 = 0 ;
12015 char *kwnames[] = {
12016 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12017 };
12018
994141e6 12019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
12020 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12021 if (SWIG_arg_fail(1)) SWIG_fail;
12022 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12023 if (SWIG_arg_fail(2)) SWIG_fail;
994141e6 12024 if (obj2) {
093d3ff1
RD
12025 {
12026 arg3 = (int)(SWIG_As_int(obj2));
12027 if (SWIG_arg_fail(3)) SWIG_fail;
12028 }
994141e6 12029 }
d14a1e28
RD
12030 if (obj3) {
12031 {
12032 arg4 = &temp4;
12033 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12034 }
12035 }
12036 if (obj4) {
12037 {
12038 arg5 = &temp5;
12039 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12040 }
12041 }
994141e6 12042 if (obj5) {
093d3ff1
RD
12043 {
12044 arg6 = (long)(SWIG_As_long(obj5));
12045 if (SWIG_arg_fail(6)) SWIG_fail;
12046 }
994141e6 12047 }
d14a1e28 12048 if (obj6) {
093d3ff1
RD
12049 {
12050 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
12051 if (SWIG_arg_fail(7)) SWIG_fail;
12052 if (arg7 == NULL) {
12053 SWIG_null_ref("wxValidator");
12054 }
12055 if (SWIG_arg_fail(7)) SWIG_fail;
d14a1e28
RD
12056 }
12057 }
12058 if (obj7) {
12059 {
12060 arg8 = wxString_in_helper(obj7);
12061 if (arg8 == NULL) SWIG_fail;
ae8162c8 12062 temp8 = true;
d14a1e28
RD
12063 }
12064 }
12065 {
12066 PyThreadState* __tstate = wxPyBeginAllowThreads();
12067 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
12068
12069 wxPyEndAllowThreads(__tstate);
12070 if (PyErr_Occurred()) SWIG_fail;
12071 }
4f89f6a3
RD
12072 {
12073 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12074 }
d14a1e28
RD
12075 {
12076 if (temp8)
12077 delete arg8;
12078 }
12079 return resultobj;
12080 fail:
12081 {
12082 if (temp8)
12083 delete arg8;
12084 }
12085 return NULL;
12086}
12087
12088
c32bde28 12089static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12090 PyObject *resultobj;
12091 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12092 int result;
12093 PyObject * obj0 = 0 ;
12094 char *kwnames[] = {
12095 (char *) "self", NULL
12096 };
12097
12098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
12099 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12100 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12101 {
12102 PyThreadState* __tstate = wxPyBeginAllowThreads();
12103 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
12104
12105 wxPyEndAllowThreads(__tstate);
12106 if (PyErr_Occurred()) SWIG_fail;
12107 }
093d3ff1
RD
12108 {
12109 resultobj = SWIG_From_int((int)(result));
12110 }
d14a1e28
RD
12111 return resultobj;
12112 fail:
12113 return NULL;
12114}
12115
12116
c32bde28 12117static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12118 PyObject *resultobj;
12119 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12120 int result;
12121 PyObject * obj0 = 0 ;
12122 char *kwnames[] = {
12123 (char *) "self", NULL
12124 };
12125
12126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
12127 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12128 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12129 {
12130 PyThreadState* __tstate = wxPyBeginAllowThreads();
12131 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
12132
12133 wxPyEndAllowThreads(__tstate);
12134 if (PyErr_Occurred()) SWIG_fail;
12135 }
093d3ff1
RD
12136 {
12137 resultobj = SWIG_From_int((int)(result));
12138 }
d14a1e28
RD
12139 return resultobj;
12140 fail:
12141 return NULL;
12142}
12143
12144
c32bde28 12145static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12146 PyObject *resultobj;
12147 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12148 int result;
12149 PyObject * obj0 = 0 ;
12150 char *kwnames[] = {
12151 (char *) "self", NULL
12152 };
12153
12154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetPageSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
12155 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12156 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12157 {
12158 PyThreadState* __tstate = wxPyBeginAllowThreads();
12159 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
12160
12161 wxPyEndAllowThreads(__tstate);
12162 if (PyErr_Occurred()) SWIG_fail;
12163 }
093d3ff1
RD
12164 {
12165 resultobj = SWIG_From_int((int)(result));
12166 }
d14a1e28
RD
12167 return resultobj;
12168 fail:
12169 return NULL;
12170}
12171
12172
c32bde28 12173static PyObject *_wrap_ScrollBar_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12174 PyObject *resultobj;
12175 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12176 int result;
12177 PyObject * obj0 = 0 ;
12178 char *kwnames[] = {
12179 (char *) "self", NULL
12180 };
12181
12182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetRange",kwnames,&obj0)) goto fail;
093d3ff1
RD
12183 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12184 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12185 {
12186 PyThreadState* __tstate = wxPyBeginAllowThreads();
12187 result = (int)((wxScrollBar const *)arg1)->GetRange();
12188
12189 wxPyEndAllowThreads(__tstate);
12190 if (PyErr_Occurred()) SWIG_fail;
12191 }
093d3ff1
RD
12192 {
12193 resultobj = SWIG_From_int((int)(result));
12194 }
d14a1e28
RD
12195 return resultobj;
12196 fail:
12197 return NULL;
12198}
12199
12200
c32bde28 12201static PyObject *_wrap_ScrollBar_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12202 PyObject *resultobj;
12203 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12204 bool result;
12205 PyObject * obj0 = 0 ;
12206 char *kwnames[] = {
12207 (char *) "self", NULL
12208 };
12209
12210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_IsVertical",kwnames,&obj0)) goto fail;
093d3ff1
RD
12211 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12212 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12213 {
12214 PyThreadState* __tstate = wxPyBeginAllowThreads();
12215 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
12216
12217 wxPyEndAllowThreads(__tstate);
12218 if (PyErr_Occurred()) SWIG_fail;
12219 }
4f89f6a3
RD
12220 {
12221 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12222 }
d14a1e28
RD
12223 return resultobj;
12224 fail:
12225 return NULL;
12226}
12227
12228
c32bde28 12229static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12230 PyObject *resultobj;
12231 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12232 int arg2 ;
12233 PyObject * obj0 = 0 ;
994141e6 12234 PyObject * obj1 = 0 ;
d14a1e28
RD
12235 char *kwnames[] = {
12236 (char *) "self",(char *) "viewStart", NULL
12237 };
12238
994141e6 12239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollBar_SetThumbPosition",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12240 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12241 if (SWIG_arg_fail(1)) SWIG_fail;
12242 {
12243 arg2 = (int)(SWIG_As_int(obj1));
12244 if (SWIG_arg_fail(2)) SWIG_fail;
12245 }
d14a1e28
RD
12246 {
12247 PyThreadState* __tstate = wxPyBeginAllowThreads();
12248 (arg1)->SetThumbPosition(arg2);
12249
12250 wxPyEndAllowThreads(__tstate);
12251 if (PyErr_Occurred()) SWIG_fail;
12252 }
12253 Py_INCREF(Py_None); resultobj = Py_None;
12254 return resultobj;
12255 fail:
12256 return NULL;
12257}
12258
12259
c32bde28 12260static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12261 PyObject *resultobj;
12262 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12263 int arg2 ;
12264 int arg3 ;
12265 int arg4 ;
12266 int arg5 ;
ae8162c8 12267 bool arg6 = (bool) true ;
d14a1e28 12268 PyObject * obj0 = 0 ;
994141e6
RD
12269 PyObject * obj1 = 0 ;
12270 PyObject * obj2 = 0 ;
12271 PyObject * obj3 = 0 ;
12272 PyObject * obj4 = 0 ;
d14a1e28
RD
12273 PyObject * obj5 = 0 ;
12274 char *kwnames[] = {
12275 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
12276 };
12277
994141e6 12278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
12279 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12280 if (SWIG_arg_fail(1)) SWIG_fail;
12281 {
12282 arg2 = (int)(SWIG_As_int(obj1));
12283 if (SWIG_arg_fail(2)) SWIG_fail;
12284 }
12285 {
12286 arg3 = (int)(SWIG_As_int(obj2));
12287 if (SWIG_arg_fail(3)) SWIG_fail;
12288 }
12289 {
12290 arg4 = (int)(SWIG_As_int(obj3));
12291 if (SWIG_arg_fail(4)) SWIG_fail;
12292 }
12293 {
12294 arg5 = (int)(SWIG_As_int(obj4));
12295 if (SWIG_arg_fail(5)) SWIG_fail;
12296 }
d14a1e28 12297 if (obj5) {
093d3ff1
RD
12298 {
12299 arg6 = (bool)(SWIG_As_bool(obj5));
12300 if (SWIG_arg_fail(6)) SWIG_fail;
12301 }
d14a1e28
RD
12302 }
12303 {
12304 PyThreadState* __tstate = wxPyBeginAllowThreads();
12305 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
12306
12307 wxPyEndAllowThreads(__tstate);
12308 if (PyErr_Occurred()) SWIG_fail;
12309 }
12310 Py_INCREF(Py_None); resultobj = Py_None;
12311 return resultobj;
12312 fail:
12313 return NULL;
12314}
12315
12316
c32bde28 12317static PyObject *_wrap_ScrollBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c 12318 PyObject *resultobj;
093d3ff1 12319 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
12320 wxVisualAttributes result;
12321 PyObject * obj0 = 0 ;
12322 char *kwnames[] = {
12323 (char *) "variant", NULL
12324 };
12325
12326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
12327 if (obj0) {
093d3ff1
RD
12328 {
12329 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
12330 if (SWIG_arg_fail(1)) SWIG_fail;
12331 }
22bfe96c
RD
12332 }
12333 {
110da5b0 12334 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
12335 PyThreadState* __tstate = wxPyBeginAllowThreads();
12336 result = wxScrollBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
12337
12338 wxPyEndAllowThreads(__tstate);
dfbb5885 12339 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
12340 }
12341 {
12342 wxVisualAttributes * resultptr;
093d3ff1 12343 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
22bfe96c
RD
12344 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
12345 }
12346 return resultobj;
12347 fail:
12348 return NULL;
12349}
12350
12351
c32bde28 12352static PyObject * ScrollBar_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
12353 PyObject *obj;
12354 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12355 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar, obj);
12356 Py_INCREF(obj);
12357 return Py_BuildValue((char *)"");
12358}
c32bde28 12359static int _wrap_SPIN_BUTTON_NAME_set(PyObject *) {
b2dc1044
RD
12360 PyErr_SetString(PyExc_TypeError,"Variable SPIN_BUTTON_NAME is read-only.");
12361 return 1;
12362}
12363
12364
093d3ff1 12365static PyObject *_wrap_SPIN_BUTTON_NAME_get(void) {
b2dc1044
RD
12366 PyObject *pyobj;
12367
12368 {
12369#if wxUSE_UNICODE
12370 pyobj = PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
12371#else
12372 pyobj = PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
12373#endif
12374 }
12375 return pyobj;
12376}
12377
12378
c32bde28 12379static int _wrap_SpinCtrlNameStr_set(PyObject *) {
b2dc1044
RD
12380 PyErr_SetString(PyExc_TypeError,"Variable SpinCtrlNameStr is read-only.");
12381 return 1;
12382}
12383
12384
093d3ff1 12385static PyObject *_wrap_SpinCtrlNameStr_get(void) {
b2dc1044
RD
12386 PyObject *pyobj;
12387
12388 {
12389#if wxUSE_UNICODE
12390 pyobj = PyUnicode_FromWideChar((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
12391#else
12392 pyobj = PyString_FromStringAndSize((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
12393#endif
12394 }
12395 return pyobj;
12396}
12397
12398
c32bde28 12399static PyObject *_wrap_new_SpinButton(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12400 PyObject *resultobj;
12401 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 12402 int arg2 = (int) -1 ;
d14a1e28
RD
12403 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12404 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12405 wxSize const &arg4_defvalue = wxDefaultSize ;
12406 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12407 long arg5 = (long) wxSP_HORIZONTAL ;
12408 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
12409 wxString *arg6 = (wxString *) &arg6_defvalue ;
12410 wxSpinButton *result;
12411 wxPoint temp3 ;
12412 wxSize temp4 ;
ae8162c8 12413 bool temp6 = false ;
d14a1e28 12414 PyObject * obj0 = 0 ;
994141e6 12415 PyObject * obj1 = 0 ;
d14a1e28
RD
12416 PyObject * obj2 = 0 ;
12417 PyObject * obj3 = 0 ;
994141e6 12418 PyObject * obj4 = 0 ;
d14a1e28
RD
12419 PyObject * obj5 = 0 ;
12420 char *kwnames[] = {
12421 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12422 };
12423
994141e6 12424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SpinButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
12425 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12426 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 12427 if (obj1) {
093d3ff1
RD
12428 {
12429 arg2 = (int)(SWIG_As_int(obj1));
12430 if (SWIG_arg_fail(2)) SWIG_fail;
12431 }
994141e6 12432 }
d14a1e28
RD
12433 if (obj2) {
12434 {
12435 arg3 = &temp3;
12436 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12437 }
12438 }
12439 if (obj3) {
12440 {
12441 arg4 = &temp4;
12442 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12443 }
12444 }
994141e6 12445 if (obj4) {
093d3ff1
RD
12446 {
12447 arg5 = (long)(SWIG_As_long(obj4));
12448 if (SWIG_arg_fail(5)) SWIG_fail;
12449 }
994141e6 12450 }
d14a1e28
RD
12451 if (obj5) {
12452 {
12453 arg6 = wxString_in_helper(obj5);
12454 if (arg6 == NULL) SWIG_fail;
ae8162c8 12455 temp6 = true;
d14a1e28
RD
12456 }
12457 }
12458 {
e3b71cb8 12459 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
12460 PyThreadState* __tstate = wxPyBeginAllowThreads();
12461 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12462
12463 wxPyEndAllowThreads(__tstate);
110da5b0 12464 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 12465 }
15afbcd0 12466 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
d14a1e28
RD
12467 {
12468 if (temp6)
12469 delete arg6;
12470 }
12471 return resultobj;
12472 fail:
12473 {
12474 if (temp6)
12475 delete arg6;
12476 }
12477 return NULL;
12478}
12479
12480
c32bde28 12481static PyObject *_wrap_new_PreSpinButton(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12482 PyObject *resultobj;
12483 wxSpinButton *result;
12484 char *kwnames[] = {
12485 NULL
12486 };
12487
12488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinButton",kwnames)) goto fail;
12489 {
e3b71cb8 12490 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
12491 PyThreadState* __tstate = wxPyBeginAllowThreads();
12492 result = (wxSpinButton *)new wxSpinButton();
12493
12494 wxPyEndAllowThreads(__tstate);
110da5b0 12495 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 12496 }
15afbcd0 12497 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
d14a1e28
RD
12498 return resultobj;
12499 fail:
12500 return NULL;
12501}
12502
12503
c32bde28 12504static PyObject *_wrap_SpinButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12505 PyObject *resultobj;
12506 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12507 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 12508 int arg3 = (int) -1 ;
d14a1e28
RD
12509 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12510 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12511 wxSize const &arg5_defvalue = wxDefaultSize ;
12512 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12513 long arg6 = (long) wxSP_HORIZONTAL ;
12514 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
12515 wxString *arg7 = (wxString *) &arg7_defvalue ;
12516 bool result;
12517 wxPoint temp4 ;
12518 wxSize temp5 ;
ae8162c8 12519 bool temp7 = false ;
d14a1e28
RD
12520 PyObject * obj0 = 0 ;
12521 PyObject * obj1 = 0 ;
994141e6 12522 PyObject * obj2 = 0 ;
d14a1e28
RD
12523 PyObject * obj3 = 0 ;
12524 PyObject * obj4 = 0 ;
994141e6 12525 PyObject * obj5 = 0 ;
d14a1e28
RD
12526 PyObject * obj6 = 0 ;
12527 char *kwnames[] = {
12528 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12529 };
12530
994141e6 12531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SpinButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
12532 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12533 if (SWIG_arg_fail(1)) SWIG_fail;
12534 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12535 if (SWIG_arg_fail(2)) SWIG_fail;
994141e6 12536 if (obj2) {
093d3ff1
RD
12537 {
12538 arg3 = (int)(SWIG_As_int(obj2));
12539 if (SWIG_arg_fail(3)) SWIG_fail;
12540 }
994141e6 12541 }
d14a1e28
RD
12542 if (obj3) {
12543 {
12544 arg4 = &temp4;
12545 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12546 }
12547 }
12548 if (obj4) {
12549 {
12550 arg5 = &temp5;
12551 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12552 }
12553 }
994141e6 12554 if (obj5) {
093d3ff1
RD
12555 {
12556 arg6 = (long)(SWIG_As_long(obj5));
12557 if (SWIG_arg_fail(6)) SWIG_fail;
12558 }
994141e6 12559 }
d14a1e28
RD
12560 if (obj6) {
12561 {
12562 arg7 = wxString_in_helper(obj6);
12563 if (arg7 == NULL) SWIG_fail;
ae8162c8 12564 temp7 = true;
d14a1e28
RD
12565 }
12566 }
12567 {
12568 PyThreadState* __tstate = wxPyBeginAllowThreads();
12569 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12570
12571 wxPyEndAllowThreads(__tstate);
12572 if (PyErr_Occurred()) SWIG_fail;
12573 }
4f89f6a3
RD
12574 {
12575 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12576 }
d14a1e28
RD
12577 {
12578 if (temp7)
12579 delete arg7;
12580 }
12581 return resultobj;
12582 fail:
12583 {
12584 if (temp7)
12585 delete arg7;
12586 }
12587 return NULL;
12588}
12589
12590
c32bde28 12591static PyObject *_wrap_SpinButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12592 PyObject *resultobj;
12593 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12594 int result;
12595 PyObject * obj0 = 0 ;
12596 char *kwnames[] = {
12597 (char *) "self", NULL
12598 };
12599
12600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
12601 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12602 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12603 {
12604 PyThreadState* __tstate = wxPyBeginAllowThreads();
12605 result = (int)((wxSpinButton const *)arg1)->GetValue();
12606
12607 wxPyEndAllowThreads(__tstate);
12608 if (PyErr_Occurred()) SWIG_fail;
12609 }
093d3ff1
RD
12610 {
12611 resultobj = SWIG_From_int((int)(result));
12612 }
d14a1e28
RD
12613 return resultobj;
12614 fail:
12615 return NULL;
12616}
12617
12618
c32bde28 12619static PyObject *_wrap_SpinButton_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12620 PyObject *resultobj;
12621 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12622 int result;
12623 PyObject * obj0 = 0 ;
12624 char *kwnames[] = {
12625 (char *) "self", NULL
12626 };
12627
12628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMin",kwnames,&obj0)) goto fail;
093d3ff1
RD
12629 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12630 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12631 {
12632 PyThreadState* __tstate = wxPyBeginAllowThreads();
12633 result = (int)((wxSpinButton const *)arg1)->GetMin();
12634
12635 wxPyEndAllowThreads(__tstate);
12636 if (PyErr_Occurred()) SWIG_fail;
12637 }
093d3ff1
RD
12638 {
12639 resultobj = SWIG_From_int((int)(result));
12640 }
d14a1e28
RD
12641 return resultobj;
12642 fail:
12643 return NULL;
12644}
12645
12646
c32bde28 12647static PyObject *_wrap_SpinButton_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12648 PyObject *resultobj;
12649 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12650 int result;
12651 PyObject * obj0 = 0 ;
12652 char *kwnames[] = {
12653 (char *) "self", NULL
12654 };
12655
12656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMax",kwnames,&obj0)) goto fail;
093d3ff1
RD
12657 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12658 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12659 {
12660 PyThreadState* __tstate = wxPyBeginAllowThreads();
12661 result = (int)((wxSpinButton const *)arg1)->GetMax();
12662
12663 wxPyEndAllowThreads(__tstate);
12664 if (PyErr_Occurred()) SWIG_fail;
12665 }
093d3ff1
RD
12666 {
12667 resultobj = SWIG_From_int((int)(result));
12668 }
d14a1e28
RD
12669 return resultobj;
12670 fail:
12671 return NULL;
12672}
12673
12674
c32bde28 12675static PyObject *_wrap_SpinButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12676 PyObject *resultobj;
12677 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12678 int arg2 ;
12679 PyObject * obj0 = 0 ;
994141e6 12680 PyObject * obj1 = 0 ;
d14a1e28
RD
12681 char *kwnames[] = {
12682 (char *) "self",(char *) "val", NULL
12683 };
12684
994141e6 12685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12686 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12687 if (SWIG_arg_fail(1)) SWIG_fail;
12688 {
12689 arg2 = (int)(SWIG_As_int(obj1));
12690 if (SWIG_arg_fail(2)) SWIG_fail;
12691 }
d14a1e28
RD
12692 {
12693 PyThreadState* __tstate = wxPyBeginAllowThreads();
12694 (arg1)->SetValue(arg2);
12695
12696 wxPyEndAllowThreads(__tstate);
12697 if (PyErr_Occurred()) SWIG_fail;
12698 }
12699 Py_INCREF(Py_None); resultobj = Py_None;
12700 return resultobj;
12701 fail:
12702 return NULL;
12703}
12704
12705
c32bde28 12706static PyObject *_wrap_SpinButton_SetMin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12707 PyObject *resultobj;
12708 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12709 int arg2 ;
12710 PyObject * obj0 = 0 ;
994141e6 12711 PyObject * obj1 = 0 ;
d14a1e28
RD
12712 char *kwnames[] = {
12713 (char *) "self",(char *) "minVal", NULL
12714 };
12715
994141e6 12716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMin",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12717 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12718 if (SWIG_arg_fail(1)) SWIG_fail;
12719 {
12720 arg2 = (int)(SWIG_As_int(obj1));
12721 if (SWIG_arg_fail(2)) SWIG_fail;
12722 }
d14a1e28
RD
12723 {
12724 PyThreadState* __tstate = wxPyBeginAllowThreads();
12725 (arg1)->SetMin(arg2);
12726
12727 wxPyEndAllowThreads(__tstate);
12728 if (PyErr_Occurred()) SWIG_fail;
12729 }
12730 Py_INCREF(Py_None); resultobj = Py_None;
12731 return resultobj;
12732 fail:
12733 return NULL;
12734}
12735
12736
c32bde28 12737static PyObject *_wrap_SpinButton_SetMax(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12738 PyObject *resultobj;
12739 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12740 int arg2 ;
12741 PyObject * obj0 = 0 ;
994141e6 12742 PyObject * obj1 = 0 ;
d14a1e28
RD
12743 char *kwnames[] = {
12744 (char *) "self",(char *) "maxVal", NULL
12745 };
12746
994141e6 12747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMax",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12748 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12749 if (SWIG_arg_fail(1)) SWIG_fail;
12750 {
12751 arg2 = (int)(SWIG_As_int(obj1));
12752 if (SWIG_arg_fail(2)) SWIG_fail;
12753 }
d14a1e28
RD
12754 {
12755 PyThreadState* __tstate = wxPyBeginAllowThreads();
12756 (arg1)->SetMax(arg2);
12757
12758 wxPyEndAllowThreads(__tstate);
12759 if (PyErr_Occurred()) SWIG_fail;
12760 }
12761 Py_INCREF(Py_None); resultobj = Py_None;
12762 return resultobj;
12763 fail:
12764 return NULL;
12765}
12766
12767
c32bde28 12768static PyObject *_wrap_SpinButton_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12769 PyObject *resultobj;
12770 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12771 int arg2 ;
12772 int arg3 ;
12773 PyObject * obj0 = 0 ;
994141e6
RD
12774 PyObject * obj1 = 0 ;
12775 PyObject * obj2 = 0 ;
d14a1e28
RD
12776 char *kwnames[] = {
12777 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
12778 };
12779
994141e6 12780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinButton_SetRange",kwnames,&obj0,&obj1,&obj2)) 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;
12783 {
12784 arg2 = (int)(SWIG_As_int(obj1));
12785 if (SWIG_arg_fail(2)) SWIG_fail;
12786 }
12787 {
12788 arg3 = (int)(SWIG_As_int(obj2));
12789 if (SWIG_arg_fail(3)) SWIG_fail;
12790 }
994141e6 12791 {
15afbcd0
RD
12792 PyThreadState* __tstate = wxPyBeginAllowThreads();
12793 (arg1)->SetRange(arg2,arg3);
12794
12795 wxPyEndAllowThreads(__tstate);
d14a1e28
RD
12796 if (PyErr_Occurred()) SWIG_fail;
12797 }
22bfe96c
RD
12798 Py_INCREF(Py_None); resultobj = Py_None;
12799 return resultobj;
12800 fail:
12801 return NULL;
12802}
12803
12804
c32bde28 12805static PyObject *_wrap_SpinButton_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c
RD
12806 PyObject *resultobj;
12807 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12808 bool result;
12809 PyObject * obj0 = 0 ;
12810 char *kwnames[] = {
12811 (char *) "self", NULL
12812 };
12813
12814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_IsVertical",kwnames,&obj0)) goto fail;
093d3ff1
RD
12815 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12816 if (SWIG_arg_fail(1)) SWIG_fail;
22bfe96c
RD
12817 {
12818 PyThreadState* __tstate = wxPyBeginAllowThreads();
12819 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
12820
12821 wxPyEndAllowThreads(__tstate);
12822 if (PyErr_Occurred()) SWIG_fail;
12823 }
12824 {
12825 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12826 }
d14a1e28
RD
12827 return resultobj;
12828 fail:
12829 return NULL;
12830}
12831
12832
c32bde28 12833static PyObject *_wrap_SpinButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 12834 PyObject *resultobj;
093d3ff1 12835 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c 12836 wxVisualAttributes result;
d14a1e28
RD
12837 PyObject * obj0 = 0 ;
12838 char *kwnames[] = {
22bfe96c 12839 (char *) "variant", NULL
d14a1e28
RD
12840 };
12841
22bfe96c
RD
12842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
12843 if (obj0) {
093d3ff1
RD
12844 {
12845 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
12846 if (SWIG_arg_fail(1)) SWIG_fail;
12847 }
22bfe96c 12848 }
d14a1e28 12849 {
110da5b0 12850 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 12851 PyThreadState* __tstate = wxPyBeginAllowThreads();
22bfe96c 12852 result = wxSpinButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
d14a1e28
RD
12853
12854 wxPyEndAllowThreads(__tstate);
dfbb5885 12855 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 12856 }
4f89f6a3 12857 {
22bfe96c 12858 wxVisualAttributes * resultptr;
093d3ff1 12859 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
22bfe96c 12860 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4f89f6a3 12861 }
d14a1e28
RD
12862 return resultobj;
12863 fail:
12864 return NULL;
12865}
12866
12867
c32bde28 12868static PyObject * SpinButton_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
12869 PyObject *obj;
12870 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12871 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton, obj);
12872 Py_INCREF(obj);
12873 return Py_BuildValue((char *)"");
12874}
c32bde28 12875static PyObject *_wrap_new_SpinCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12876 PyObject *resultobj;
12877 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 12878 int arg2 = (int) -1 ;
d14a1e28
RD
12879 wxString const &arg3_defvalue = wxPyEmptyString ;
12880 wxString *arg3 = (wxString *) &arg3_defvalue ;
12881 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12882 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12883 wxSize const &arg5_defvalue = wxDefaultSize ;
12884 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12885 long arg6 = (long) wxSP_ARROW_KEYS ;
12886 int arg7 = (int) 0 ;
12887 int arg8 = (int) 100 ;
12888 int arg9 = (int) 0 ;
12889 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
12890 wxString *arg10 = (wxString *) &arg10_defvalue ;
12891 wxSpinCtrl *result;
ae8162c8 12892 bool temp3 = false ;
d14a1e28
RD
12893 wxPoint temp4 ;
12894 wxSize temp5 ;
ae8162c8 12895 bool temp10 = false ;
d14a1e28 12896 PyObject * obj0 = 0 ;
994141e6 12897 PyObject * obj1 = 0 ;
d14a1e28
RD
12898 PyObject * obj2 = 0 ;
12899 PyObject * obj3 = 0 ;
12900 PyObject * obj4 = 0 ;
994141e6
RD
12901 PyObject * obj5 = 0 ;
12902 PyObject * obj6 = 0 ;
12903 PyObject * obj7 = 0 ;
12904 PyObject * obj8 = 0 ;
d14a1e28
RD
12905 PyObject * obj9 = 0 ;
12906 char *kwnames[] = {
12907 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
12908 };
12909
994141e6 12910 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
12911 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12912 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 12913 if (obj1) {
093d3ff1
RD
12914 {
12915 arg2 = (int)(SWIG_As_int(obj1));
12916 if (SWIG_arg_fail(2)) SWIG_fail;
12917 }
994141e6
RD
12918 }
12919 if (obj2) {
d14a1e28
RD
12920 {
12921 arg3 = wxString_in_helper(obj2);
12922 if (arg3 == NULL) SWIG_fail;
ae8162c8 12923 temp3 = true;
d14a1e28
RD
12924 }
12925 }
12926 if (obj3) {
12927 {
12928 arg4 = &temp4;
12929 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12930 }
12931 }
12932 if (obj4) {
12933 {
12934 arg5 = &temp5;
12935 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12936 }
12937 }
994141e6 12938 if (obj5) {
093d3ff1
RD
12939 {
12940 arg6 = (long)(SWIG_As_long(obj5));
12941 if (SWIG_arg_fail(6)) SWIG_fail;
12942 }
994141e6
RD
12943 }
12944 if (obj6) {
093d3ff1
RD
12945 {
12946 arg7 = (int)(SWIG_As_int(obj6));
12947 if (SWIG_arg_fail(7)) SWIG_fail;
12948 }
994141e6
RD
12949 }
12950 if (obj7) {
093d3ff1
RD
12951 {
12952 arg8 = (int)(SWIG_As_int(obj7));
12953 if (SWIG_arg_fail(8)) SWIG_fail;
12954 }
994141e6
RD
12955 }
12956 if (obj8) {
093d3ff1
RD
12957 {
12958 arg9 = (int)(SWIG_As_int(obj8));
12959 if (SWIG_arg_fail(9)) SWIG_fail;
12960 }
994141e6 12961 }
d14a1e28
RD
12962 if (obj9) {
12963 {
12964 arg10 = wxString_in_helper(obj9);
12965 if (arg10 == NULL) SWIG_fail;
ae8162c8 12966 temp10 = true;
d14a1e28
RD
12967 }
12968 }
12969 {
e3b71cb8 12970 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
12971 PyThreadState* __tstate = wxPyBeginAllowThreads();
12972 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
12973
12974 wxPyEndAllowThreads(__tstate);
110da5b0 12975 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 12976 }
15afbcd0 12977 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
d14a1e28
RD
12978 {
12979 if (temp3)
12980 delete arg3;
12981 }
12982 {
12983 if (temp10)
12984 delete arg10;
12985 }
12986 return resultobj;
12987 fail:
12988 {
12989 if (temp3)
12990 delete arg3;
12991 }
12992 {
12993 if (temp10)
12994 delete arg10;
12995 }
12996 return NULL;
12997}
12998
12999
c32bde28 13000static PyObject *_wrap_new_PreSpinCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13001 PyObject *resultobj;
13002 wxSpinCtrl *result;
13003 char *kwnames[] = {
13004 NULL
13005 };
13006
13007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinCtrl",kwnames)) goto fail;
13008 {
e3b71cb8 13009 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
13010 PyThreadState* __tstate = wxPyBeginAllowThreads();
13011 result = (wxSpinCtrl *)new wxSpinCtrl();
13012
13013 wxPyEndAllowThreads(__tstate);
110da5b0 13014 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 13015 }
15afbcd0 13016 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
d14a1e28
RD
13017 return resultobj;
13018 fail:
13019 return NULL;
13020}
13021
13022
c32bde28 13023static PyObject *_wrap_SpinCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13024 PyObject *resultobj;
13025 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13026 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 13027 int arg3 = (int) -1 ;
d14a1e28
RD
13028 wxString const &arg4_defvalue = wxPyEmptyString ;
13029 wxString *arg4 = (wxString *) &arg4_defvalue ;
13030 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13031 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13032 wxSize const &arg6_defvalue = wxDefaultSize ;
13033 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13034 long arg7 = (long) wxSP_ARROW_KEYS ;
13035 int arg8 = (int) 0 ;
13036 int arg9 = (int) 100 ;
13037 int arg10 = (int) 0 ;
13038 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
13039 wxString *arg11 = (wxString *) &arg11_defvalue ;
13040 bool result;
ae8162c8 13041 bool temp4 = false ;
d14a1e28
RD
13042 wxPoint temp5 ;
13043 wxSize temp6 ;
ae8162c8 13044 bool temp11 = false ;
d14a1e28
RD
13045 PyObject * obj0 = 0 ;
13046 PyObject * obj1 = 0 ;
994141e6 13047 PyObject * obj2 = 0 ;
d14a1e28
RD
13048 PyObject * obj3 = 0 ;
13049 PyObject * obj4 = 0 ;
13050 PyObject * obj5 = 0 ;
994141e6
RD
13051 PyObject * obj6 = 0 ;
13052 PyObject * obj7 = 0 ;
13053 PyObject * obj8 = 0 ;
13054 PyObject * obj9 = 0 ;
d14a1e28
RD
13055 PyObject * obj10 = 0 ;
13056 char *kwnames[] = {
13057 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
13058 };
13059
994141e6 13060 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
13061 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13062 if (SWIG_arg_fail(1)) SWIG_fail;
13063 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13064 if (SWIG_arg_fail(2)) SWIG_fail;
994141e6 13065 if (obj2) {
093d3ff1
RD
13066 {
13067 arg3 = (int)(SWIG_As_int(obj2));
13068 if (SWIG_arg_fail(3)) SWIG_fail;
13069 }
994141e6 13070 }
d14a1e28
RD
13071 if (obj3) {
13072 {
13073 arg4 = wxString_in_helper(obj3);
13074 if (arg4 == NULL) SWIG_fail;
ae8162c8 13075 temp4 = true;
d14a1e28
RD
13076 }
13077 }
13078 if (obj4) {
13079 {
13080 arg5 = &temp5;
13081 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13082 }
13083 }
13084 if (obj5) {
13085 {
13086 arg6 = &temp6;
13087 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13088 }
13089 }
994141e6 13090 if (obj6) {
093d3ff1
RD
13091 {
13092 arg7 = (long)(SWIG_As_long(obj6));
13093 if (SWIG_arg_fail(7)) SWIG_fail;
13094 }
994141e6
RD
13095 }
13096 if (obj7) {
093d3ff1
RD
13097 {
13098 arg8 = (int)(SWIG_As_int(obj7));
13099 if (SWIG_arg_fail(8)) SWIG_fail;
13100 }
994141e6
RD
13101 }
13102 if (obj8) {
093d3ff1
RD
13103 {
13104 arg9 = (int)(SWIG_As_int(obj8));
13105 if (SWIG_arg_fail(9)) SWIG_fail;
13106 }
994141e6
RD
13107 }
13108 if (obj9) {
093d3ff1
RD
13109 {
13110 arg10 = (int)(SWIG_As_int(obj9));
13111 if (SWIG_arg_fail(10)) SWIG_fail;
13112 }
994141e6 13113 }
d14a1e28
RD
13114 if (obj10) {
13115 {
13116 arg11 = wxString_in_helper(obj10);
13117 if (arg11 == NULL) SWIG_fail;
ae8162c8 13118 temp11 = true;
d14a1e28
RD
13119 }
13120 }
13121 {
13122 PyThreadState* __tstate = wxPyBeginAllowThreads();
13123 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
13124
13125 wxPyEndAllowThreads(__tstate);
13126 if (PyErr_Occurred()) SWIG_fail;
13127 }
4f89f6a3
RD
13128 {
13129 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13130 }
d14a1e28
RD
13131 {
13132 if (temp4)
13133 delete arg4;
13134 }
13135 {
13136 if (temp11)
13137 delete arg11;
13138 }
13139 return resultobj;
13140 fail:
13141 {
13142 if (temp4)
13143 delete arg4;
13144 }
13145 {
13146 if (temp11)
13147 delete arg11;
13148 }
13149 return NULL;
13150}
13151
13152
c32bde28 13153static PyObject *_wrap_SpinCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13154 PyObject *resultobj;
13155 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13156 int result;
13157 PyObject * obj0 = 0 ;
13158 char *kwnames[] = {
13159 (char *) "self", NULL
13160 };
13161
13162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
13163 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13164 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13165 {
13166 PyThreadState* __tstate = wxPyBeginAllowThreads();
13167 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
13168
13169 wxPyEndAllowThreads(__tstate);
13170 if (PyErr_Occurred()) SWIG_fail;
13171 }
093d3ff1
RD
13172 {
13173 resultobj = SWIG_From_int((int)(result));
13174 }
d14a1e28
RD
13175 return resultobj;
13176 fail:
13177 return NULL;
13178}
13179
13180
c32bde28 13181static PyObject *_wrap_SpinCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13182 PyObject *resultobj;
13183 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13184 int arg2 ;
13185 PyObject * obj0 = 0 ;
994141e6 13186 PyObject * obj1 = 0 ;
d14a1e28
RD
13187 char *kwnames[] = {
13188 (char *) "self",(char *) "value", NULL
13189 };
13190
994141e6 13191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13192 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13193 if (SWIG_arg_fail(1)) SWIG_fail;
13194 {
13195 arg2 = (int)(SWIG_As_int(obj1));
13196 if (SWIG_arg_fail(2)) SWIG_fail;
13197 }
d14a1e28
RD
13198 {
13199 PyThreadState* __tstate = wxPyBeginAllowThreads();
13200 (arg1)->SetValue(arg2);
13201
13202 wxPyEndAllowThreads(__tstate);
13203 if (PyErr_Occurred()) SWIG_fail;
13204 }
13205 Py_INCREF(Py_None); resultobj = Py_None;
13206 return resultobj;
13207 fail:
13208 return NULL;
13209}
13210
13211
c32bde28 13212static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13213 PyObject *resultobj;
13214 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13215 wxString *arg2 = 0 ;
ae8162c8 13216 bool temp2 = false ;
d14a1e28
RD
13217 PyObject * obj0 = 0 ;
13218 PyObject * obj1 = 0 ;
13219 char *kwnames[] = {
13220 (char *) "self",(char *) "text", NULL
13221 };
13222
13223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13224 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13225 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13226 {
13227 arg2 = wxString_in_helper(obj1);
13228 if (arg2 == NULL) SWIG_fail;
ae8162c8 13229 temp2 = true;
d14a1e28
RD
13230 }
13231 {
13232 PyThreadState* __tstate = wxPyBeginAllowThreads();
13233 (arg1)->SetValue((wxString const &)*arg2);
13234
13235 wxPyEndAllowThreads(__tstate);
13236 if (PyErr_Occurred()) SWIG_fail;
13237 }
13238 Py_INCREF(Py_None); resultobj = Py_None;
13239 {
13240 if (temp2)
13241 delete arg2;
13242 }
13243 return resultobj;
13244 fail:
13245 {
13246 if (temp2)
13247 delete arg2;
13248 }
13249 return NULL;
13250}
13251
13252
c32bde28 13253static PyObject *_wrap_SpinCtrl_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13254 PyObject *resultobj;
13255 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13256 int arg2 ;
13257 int arg3 ;
13258 PyObject * obj0 = 0 ;
994141e6
RD
13259 PyObject * obj1 = 0 ;
13260 PyObject * obj2 = 0 ;
d14a1e28
RD
13261 char *kwnames[] = {
13262 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
13263 };
13264
994141e6 13265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) 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;
13268 {
13269 arg2 = (int)(SWIG_As_int(obj1));
13270 if (SWIG_arg_fail(2)) SWIG_fail;
13271 }
13272 {
13273 arg3 = (int)(SWIG_As_int(obj2));
13274 if (SWIG_arg_fail(3)) SWIG_fail;
13275 }
d14a1e28
RD
13276 {
13277 PyThreadState* __tstate = wxPyBeginAllowThreads();
13278 (arg1)->SetRange(arg2,arg3);
13279
13280 wxPyEndAllowThreads(__tstate);
13281 if (PyErr_Occurred()) SWIG_fail;
13282 }
13283 Py_INCREF(Py_None); resultobj = Py_None;
13284 return resultobj;
13285 fail:
13286 return NULL;
13287}
13288
13289
c32bde28 13290static PyObject *_wrap_SpinCtrl_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13291 PyObject *resultobj;
13292 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13293 int result;
13294 PyObject * obj0 = 0 ;
13295 char *kwnames[] = {
13296 (char *) "self", NULL
13297 };
13298
13299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMin",kwnames,&obj0)) goto fail;
093d3ff1
RD
13300 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13301 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13302 {
13303 PyThreadState* __tstate = wxPyBeginAllowThreads();
13304 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
13305
13306 wxPyEndAllowThreads(__tstate);
13307 if (PyErr_Occurred()) SWIG_fail;
13308 }
093d3ff1
RD
13309 {
13310 resultobj = SWIG_From_int((int)(result));
13311 }
d14a1e28
RD
13312 return resultobj;
13313 fail:
13314 return NULL;
13315}
13316
13317
c32bde28 13318static PyObject *_wrap_SpinCtrl_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13319 PyObject *resultobj;
13320 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13321 int result;
13322 PyObject * obj0 = 0 ;
13323 char *kwnames[] = {
13324 (char *) "self", NULL
13325 };
13326
13327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMax",kwnames,&obj0)) goto fail;
093d3ff1
RD
13328 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13329 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13330 {
13331 PyThreadState* __tstate = wxPyBeginAllowThreads();
13332 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
13333
13334 wxPyEndAllowThreads(__tstate);
13335 if (PyErr_Occurred()) SWIG_fail;
13336 }
093d3ff1
RD
13337 {
13338 resultobj = SWIG_From_int((int)(result));
13339 }
d14a1e28
RD
13340 return resultobj;
13341 fail:
13342 return NULL;
13343}
13344
13345
c32bde28 13346static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13347 PyObject *resultobj;
13348 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13349 long arg2 ;
13350 long arg3 ;
13351 PyObject * obj0 = 0 ;
994141e6
RD
13352 PyObject * obj1 = 0 ;
13353 PyObject * obj2 = 0 ;
d14a1e28
RD
13354 char *kwnames[] = {
13355 (char *) "self",(char *) "from",(char *) "to", NULL
13356 };
13357
994141e6 13358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
13359 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13360 if (SWIG_arg_fail(1)) SWIG_fail;
13361 {
13362 arg2 = (long)(SWIG_As_long(obj1));
13363 if (SWIG_arg_fail(2)) SWIG_fail;
13364 }
13365 {
13366 arg3 = (long)(SWIG_As_long(obj2));
13367 if (SWIG_arg_fail(3)) SWIG_fail;
13368 }
d14a1e28
RD
13369 {
13370 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 13371 (arg1)->SetSelection(arg2,arg3);
d14a1e28
RD
13372
13373 wxPyEndAllowThreads(__tstate);
13374 if (PyErr_Occurred()) SWIG_fail;
13375 }
13376 Py_INCREF(Py_None); resultobj = Py_None;
13377 return resultobj;
13378 fail:
13379 return NULL;
13380}
13381
13382
c32bde28 13383static PyObject *_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c 13384 PyObject *resultobj;
093d3ff1 13385 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
13386 wxVisualAttributes result;
13387 PyObject * obj0 = 0 ;
13388 char *kwnames[] = {
13389 (char *) "variant", NULL
13390 };
13391
13392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
13393 if (obj0) {
093d3ff1
RD
13394 {
13395 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
13396 if (SWIG_arg_fail(1)) SWIG_fail;
13397 }
22bfe96c
RD
13398 }
13399 {
110da5b0 13400 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
13401 PyThreadState* __tstate = wxPyBeginAllowThreads();
13402 result = wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
13403
13404 wxPyEndAllowThreads(__tstate);
dfbb5885 13405 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
13406 }
13407 {
13408 wxVisualAttributes * resultptr;
093d3ff1 13409 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
22bfe96c
RD
13410 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
13411 }
13412 return resultobj;
13413 fail:
13414 return NULL;
13415}
13416
13417
c32bde28 13418static PyObject * SpinCtrl_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
13419 PyObject *obj;
13420 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13421 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl, obj);
13422 Py_INCREF(obj);
13423 return Py_BuildValue((char *)"");
13424}
c32bde28 13425static PyObject *_wrap_new_SpinEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d1e20054
RD
13426 PyObject *resultobj;
13427 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13428 int arg2 = (int) 0 ;
13429 wxSpinEvent *result;
994141e6
RD
13430 PyObject * obj0 = 0 ;
13431 PyObject * obj1 = 0 ;
d1e20054
RD
13432 char *kwnames[] = {
13433 (char *) "commandType",(char *) "winid", NULL
13434 };
13435
994141e6
RD
13436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SpinEvent",kwnames,&obj0,&obj1)) goto fail;
13437 if (obj0) {
093d3ff1
RD
13438 {
13439 arg1 = (wxEventType)(SWIG_As_int(obj0));
13440 if (SWIG_arg_fail(1)) SWIG_fail;
13441 }
994141e6
RD
13442 }
13443 if (obj1) {
093d3ff1
RD
13444 {
13445 arg2 = (int)(SWIG_As_int(obj1));
13446 if (SWIG_arg_fail(2)) SWIG_fail;
13447 }
994141e6 13448 }
d1e20054
RD
13449 {
13450 PyThreadState* __tstate = wxPyBeginAllowThreads();
13451 result = (wxSpinEvent *)new wxSpinEvent(arg1,arg2);
13452
13453 wxPyEndAllowThreads(__tstate);
13454 if (PyErr_Occurred()) SWIG_fail;
13455 }
15afbcd0 13456 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinEvent, 1);
d1e20054
RD
13457 return resultobj;
13458 fail:
13459 return NULL;
13460}
13461
13462
c32bde28 13463static PyObject *_wrap_SpinEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d1e20054
RD
13464 PyObject *resultobj;
13465 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
13466 int result;
13467 PyObject * obj0 = 0 ;
13468 char *kwnames[] = {
13469 (char *) "self", NULL
13470 };
13471
13472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinEvent_GetPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
13473 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinEvent, SWIG_POINTER_EXCEPTION | 0);
13474 if (SWIG_arg_fail(1)) SWIG_fail;
d1e20054
RD
13475 {
13476 PyThreadState* __tstate = wxPyBeginAllowThreads();
13477 result = (int)((wxSpinEvent const *)arg1)->GetPosition();
13478
13479 wxPyEndAllowThreads(__tstate);
13480 if (PyErr_Occurred()) SWIG_fail;
13481 }
093d3ff1
RD
13482 {
13483 resultobj = SWIG_From_int((int)(result));
13484 }
d1e20054
RD
13485 return resultobj;
13486 fail:
13487 return NULL;
13488}
13489
13490
c32bde28 13491static PyObject *_wrap_SpinEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d1e20054
RD
13492 PyObject *resultobj;
13493 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
13494 int arg2 ;
13495 PyObject * obj0 = 0 ;
994141e6 13496 PyObject * obj1 = 0 ;
d1e20054
RD
13497 char *kwnames[] = {
13498 (char *) "self",(char *) "pos", NULL
13499 };
13500
994141e6 13501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13502 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinEvent, SWIG_POINTER_EXCEPTION | 0);
13503 if (SWIG_arg_fail(1)) SWIG_fail;
13504 {
13505 arg2 = (int)(SWIG_As_int(obj1));
13506 if (SWIG_arg_fail(2)) SWIG_fail;
13507 }
d1e20054
RD
13508 {
13509 PyThreadState* __tstate = wxPyBeginAllowThreads();
13510 (arg1)->SetPosition(arg2);
13511
13512 wxPyEndAllowThreads(__tstate);
13513 if (PyErr_Occurred()) SWIG_fail;
13514 }
13515 Py_INCREF(Py_None); resultobj = Py_None;
13516 return resultobj;
13517 fail:
13518 return NULL;
13519}
13520
13521
c32bde28 13522static PyObject * SpinEvent_swigregister(PyObject *, PyObject *args) {
d1e20054
RD
13523 PyObject *obj;
13524 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13525 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent, obj);
13526 Py_INCREF(obj);
13527 return Py_BuildValue((char *)"");
13528}
c32bde28 13529static int _wrap_RadioBoxNameStr_set(PyObject *) {
b2dc1044
RD
13530 PyErr_SetString(PyExc_TypeError,"Variable RadioBoxNameStr is read-only.");
13531 return 1;
13532}
13533
13534
093d3ff1 13535static PyObject *_wrap_RadioBoxNameStr_get(void) {
b2dc1044
RD
13536 PyObject *pyobj;
13537
13538 {
13539#if wxUSE_UNICODE
13540 pyobj = PyUnicode_FromWideChar((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
13541#else
13542 pyobj = PyString_FromStringAndSize((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
13543#endif
13544 }
13545 return pyobj;
13546}
13547
13548
c32bde28 13549static int _wrap_RadioButtonNameStr_set(PyObject *) {
b2dc1044
RD
13550 PyErr_SetString(PyExc_TypeError,"Variable RadioButtonNameStr is read-only.");
13551 return 1;
13552}
13553
13554
093d3ff1 13555static PyObject *_wrap_RadioButtonNameStr_get(void) {
b2dc1044
RD
13556 PyObject *pyobj;
13557
13558 {
13559#if wxUSE_UNICODE
13560 pyobj = PyUnicode_FromWideChar((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
13561#else
13562 pyobj = PyString_FromStringAndSize((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
13563#endif
13564 }
13565 return pyobj;
13566}
13567
13568
c32bde28 13569static PyObject *_wrap_new_RadioBox(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13570 PyObject *resultobj;
13571 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
13572 int arg2 = (int) -1 ;
13573 wxString const &arg3_defvalue = wxPyEmptyString ;
13574 wxString *arg3 = (wxString *) &arg3_defvalue ;
d14a1e28
RD
13575 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13576 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13577 wxSize const &arg5_defvalue = wxDefaultSize ;
13578 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4d5c3d91
RD
13579 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
13580 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
13581 int arg7 = (int) 0 ;
13582 long arg8 = (long) wxRA_HORIZONTAL ;
13583 wxValidator const &arg9_defvalue = wxDefaultValidator ;
13584 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
13585 wxString const &arg10_defvalue = wxPyRadioBoxNameStr ;
13586 wxString *arg10 = (wxString *) &arg10_defvalue ;
d14a1e28 13587 wxRadioBox *result;
ae8162c8 13588 bool temp3 = false ;
d14a1e28
RD
13589 wxPoint temp4 ;
13590 wxSize temp5 ;
ae8162c8
RD
13591 bool temp6 = false ;
13592 bool temp10 = false ;
d14a1e28 13593 PyObject * obj0 = 0 ;
994141e6 13594 PyObject * obj1 = 0 ;
d14a1e28
RD
13595 PyObject * obj2 = 0 ;
13596 PyObject * obj3 = 0 ;
13597 PyObject * obj4 = 0 ;
13598 PyObject * obj5 = 0 ;
994141e6
RD
13599 PyObject * obj6 = 0 ;
13600 PyObject * obj7 = 0 ;
d14a1e28
RD
13601 PyObject * obj8 = 0 ;
13602 PyObject * obj9 = 0 ;
13603 char *kwnames[] = {
994141e6 13604 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
d14a1e28
RD
13605 };
13606
248ed943 13607 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
13608 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13609 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 13610 if (obj1) {
093d3ff1
RD
13611 {
13612 arg2 = (int)(SWIG_As_int(obj1));
13613 if (SWIG_arg_fail(2)) SWIG_fail;
13614 }
248ed943
RD
13615 }
13616 if (obj2) {
13617 {
13618 arg3 = wxString_in_helper(obj2);
13619 if (arg3 == NULL) SWIG_fail;
ae8162c8 13620 temp3 = true;
248ed943 13621 }
d14a1e28
RD
13622 }
13623 if (obj3) {
13624 {
13625 arg4 = &temp4;
13626 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13627 }
13628 }
13629 if (obj4) {
13630 {
13631 arg5 = &temp5;
13632 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13633 }
13634 }
13635 if (obj5) {
13636 {
4d5c3d91
RD
13637 if (! PySequence_Check(obj5)) {
13638 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
13639 SWIG_fail;
13640 }
13641 arg6 = new wxArrayString;
ae8162c8 13642 temp6 = true;
4d5c3d91
RD
13643 int i, len=PySequence_Length(obj5);
13644 for (i=0; i<len; i++) {
13645 PyObject* item = PySequence_GetItem(obj5, i);
13646#if wxUSE_UNICODE
13647 PyObject* str = PyObject_Unicode(item);
13648#else
13649 PyObject* str = PyObject_Str(item);
13650#endif
74a57fcd 13651 if (PyErr_Occurred()) SWIG_fail;
4d5c3d91
RD
13652 arg6->Add(Py2wxString(str));
13653 Py_DECREF(item);
13654 Py_DECREF(str);
13655 }
d14a1e28
RD
13656 }
13657 }
994141e6 13658 if (obj6) {
093d3ff1
RD
13659 {
13660 arg7 = (int)(SWIG_As_int(obj6));
13661 if (SWIG_arg_fail(7)) SWIG_fail;
13662 }
994141e6
RD
13663 }
13664 if (obj7) {
093d3ff1
RD
13665 {
13666 arg8 = (long)(SWIG_As_long(obj7));
13667 if (SWIG_arg_fail(8)) SWIG_fail;
13668 }
994141e6 13669 }
d14a1e28 13670 if (obj8) {
093d3ff1
RD
13671 {
13672 SWIG_Python_ConvertPtr(obj8, (void **)&arg9, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
13673 if (SWIG_arg_fail(9)) SWIG_fail;
13674 if (arg9 == NULL) {
13675 SWIG_null_ref("wxValidator");
13676 }
13677 if (SWIG_arg_fail(9)) SWIG_fail;
d14a1e28
RD
13678 }
13679 }
13680 if (obj9) {
13681 {
4d5c3d91
RD
13682 arg10 = wxString_in_helper(obj9);
13683 if (arg10 == NULL) SWIG_fail;
ae8162c8 13684 temp10 = true;
d14a1e28
RD
13685 }
13686 }
13687 {
e3b71cb8 13688 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 13689 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 13690 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);
d14a1e28
RD
13691
13692 wxPyEndAllowThreads(__tstate);
110da5b0 13693 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 13694 }
15afbcd0 13695 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
d14a1e28
RD
13696 {
13697 if (temp3)
13698 delete arg3;
13699 }
13700 {
3adfb63b 13701 if (temp6) delete arg6;
d14a1e28
RD
13702 }
13703 {
13704 if (temp10)
4d5c3d91 13705 delete arg10;
d14a1e28
RD
13706 }
13707 return resultobj;
13708 fail:
13709 {
13710 if (temp3)
13711 delete arg3;
13712 }
13713 {
3adfb63b 13714 if (temp6) delete arg6;
d14a1e28
RD
13715 }
13716 {
13717 if (temp10)
4d5c3d91 13718 delete arg10;
d14a1e28
RD
13719 }
13720 return NULL;
13721}
13722
13723
c32bde28 13724static PyObject *_wrap_new_PreRadioBox(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13725 PyObject *resultobj;
13726 wxRadioBox *result;
13727 char *kwnames[] = {
13728 NULL
13729 };
13730
13731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioBox",kwnames)) goto fail;
13732 {
e3b71cb8 13733 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
13734 PyThreadState* __tstate = wxPyBeginAllowThreads();
13735 result = (wxRadioBox *)new wxRadioBox();
13736
13737 wxPyEndAllowThreads(__tstate);
110da5b0 13738 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 13739 }
15afbcd0 13740 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
d14a1e28
RD
13741 return resultobj;
13742 fail:
13743 return NULL;
13744}
13745
13746
c32bde28 13747static PyObject *_wrap_RadioBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13748 PyObject *resultobj;
13749 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13750 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
13751 int arg3 = (int) -1 ;
13752 wxString const &arg4_defvalue = wxPyEmptyString ;
13753 wxString *arg4 = (wxString *) &arg4_defvalue ;
d14a1e28
RD
13754 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13755 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13756 wxSize const &arg6_defvalue = wxDefaultSize ;
13757 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4d5c3d91
RD
13758 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
13759 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
13760 int arg8 = (int) 0 ;
13761 long arg9 = (long) wxRA_HORIZONTAL ;
13762 wxValidator const &arg10_defvalue = wxDefaultValidator ;
13763 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
13764 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
13765 wxString *arg11 = (wxString *) &arg11_defvalue ;
d14a1e28 13766 bool result;
ae8162c8 13767 bool temp4 = false ;
d14a1e28
RD
13768 wxPoint temp5 ;
13769 wxSize temp6 ;
ae8162c8
RD
13770 bool temp7 = false ;
13771 bool temp11 = false ;
d14a1e28
RD
13772 PyObject * obj0 = 0 ;
13773 PyObject * obj1 = 0 ;
994141e6 13774 PyObject * obj2 = 0 ;
d14a1e28
RD
13775 PyObject * obj3 = 0 ;
13776 PyObject * obj4 = 0 ;
13777 PyObject * obj5 = 0 ;
13778 PyObject * obj6 = 0 ;
994141e6
RD
13779 PyObject * obj7 = 0 ;
13780 PyObject * obj8 = 0 ;
d14a1e28
RD
13781 PyObject * obj9 = 0 ;
13782 PyObject * obj10 = 0 ;
13783 char *kwnames[] = {
994141e6 13784 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
d14a1e28
RD
13785 };
13786
248ed943 13787 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
13788 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13789 if (SWIG_arg_fail(1)) SWIG_fail;
13790 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13791 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 13792 if (obj2) {
093d3ff1
RD
13793 {
13794 arg3 = (int)(SWIG_As_int(obj2));
13795 if (SWIG_arg_fail(3)) SWIG_fail;
13796 }
248ed943
RD
13797 }
13798 if (obj3) {
13799 {
13800 arg4 = wxString_in_helper(obj3);
13801 if (arg4 == NULL) SWIG_fail;
ae8162c8 13802 temp4 = true;
248ed943 13803 }
d14a1e28
RD
13804 }
13805 if (obj4) {
13806 {
13807 arg5 = &temp5;
13808 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13809 }
13810 }
13811 if (obj5) {
13812 {
13813 arg6 = &temp6;
13814 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13815 }
13816 }
13817 if (obj6) {
13818 {
4d5c3d91
RD
13819 if (! PySequence_Check(obj6)) {
13820 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
13821 SWIG_fail;
13822 }
13823 arg7 = new wxArrayString;
ae8162c8 13824 temp7 = true;
4d5c3d91
RD
13825 int i, len=PySequence_Length(obj6);
13826 for (i=0; i<len; i++) {
13827 PyObject* item = PySequence_GetItem(obj6, i);
13828#if wxUSE_UNICODE
13829 PyObject* str = PyObject_Unicode(item);
13830#else
13831 PyObject* str = PyObject_Str(item);
13832#endif
74a57fcd 13833 if (PyErr_Occurred()) SWIG_fail;
4d5c3d91
RD
13834 arg7->Add(Py2wxString(str));
13835 Py_DECREF(item);
13836 Py_DECREF(str);
13837 }
d14a1e28
RD
13838 }
13839 }
994141e6 13840 if (obj7) {
093d3ff1
RD
13841 {
13842 arg8 = (int)(SWIG_As_int(obj7));
13843 if (SWIG_arg_fail(8)) SWIG_fail;
13844 }
994141e6
RD
13845 }
13846 if (obj8) {
093d3ff1
RD
13847 {
13848 arg9 = (long)(SWIG_As_long(obj8));
13849 if (SWIG_arg_fail(9)) SWIG_fail;
13850 }
994141e6 13851 }
d14a1e28 13852 if (obj9) {
093d3ff1
RD
13853 {
13854 SWIG_Python_ConvertPtr(obj9, (void **)&arg10, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
13855 if (SWIG_arg_fail(10)) SWIG_fail;
13856 if (arg10 == NULL) {
13857 SWIG_null_ref("wxValidator");
13858 }
13859 if (SWIG_arg_fail(10)) SWIG_fail;
d14a1e28
RD
13860 }
13861 }
13862 if (obj10) {
13863 {
4d5c3d91
RD
13864 arg11 = wxString_in_helper(obj10);
13865 if (arg11 == NULL) SWIG_fail;
ae8162c8 13866 temp11 = true;
d14a1e28
RD
13867 }
13868 }
13869 {
13870 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 13871 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);
d14a1e28
RD
13872
13873 wxPyEndAllowThreads(__tstate);
13874 if (PyErr_Occurred()) SWIG_fail;
13875 }
4f89f6a3
RD
13876 {
13877 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13878 }
d14a1e28
RD
13879 {
13880 if (temp4)
13881 delete arg4;
13882 }
13883 {
3adfb63b 13884 if (temp7) delete arg7;
d14a1e28
RD
13885 }
13886 {
13887 if (temp11)
4d5c3d91 13888 delete arg11;
d14a1e28
RD
13889 }
13890 return resultobj;
13891 fail:
13892 {
13893 if (temp4)
13894 delete arg4;
13895 }
13896 {
3adfb63b 13897 if (temp7) delete arg7;
d14a1e28
RD
13898 }
13899 {
13900 if (temp11)
4d5c3d91 13901 delete arg11;
d14a1e28
RD
13902 }
13903 return NULL;
13904}
13905
13906
c32bde28 13907static PyObject *_wrap_RadioBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13908 PyObject *resultobj;
13909 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13910 int arg2 ;
13911 PyObject * obj0 = 0 ;
994141e6 13912 PyObject * obj1 = 0 ;
d14a1e28
RD
13913 char *kwnames[] = {
13914 (char *) "self",(char *) "n", NULL
13915 };
13916
994141e6 13917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13918 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13919 if (SWIG_arg_fail(1)) SWIG_fail;
13920 {
13921 arg2 = (int)(SWIG_As_int(obj1));
13922 if (SWIG_arg_fail(2)) SWIG_fail;
13923 }
d14a1e28
RD
13924 {
13925 PyThreadState* __tstate = wxPyBeginAllowThreads();
13926 (arg1)->SetSelection(arg2);
13927
13928 wxPyEndAllowThreads(__tstate);
13929 if (PyErr_Occurred()) SWIG_fail;
13930 }
13931 Py_INCREF(Py_None); resultobj = Py_None;
13932 return resultobj;
13933 fail:
13934 return NULL;
13935}
13936
13937
c32bde28 13938static PyObject *_wrap_RadioBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13939 PyObject *resultobj;
13940 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13941 int result;
13942 PyObject * obj0 = 0 ;
13943 char *kwnames[] = {
13944 (char *) "self", NULL
13945 };
13946
13947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
13948 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13949 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13950 {
13951 PyThreadState* __tstate = wxPyBeginAllowThreads();
13952 result = (int)((wxRadioBox const *)arg1)->GetSelection();
13953
13954 wxPyEndAllowThreads(__tstate);
13955 if (PyErr_Occurred()) SWIG_fail;
13956 }
093d3ff1
RD
13957 {
13958 resultobj = SWIG_From_int((int)(result));
13959 }
d14a1e28
RD
13960 return resultobj;
13961 fail:
13962 return NULL;
13963}
13964
13965
c32bde28 13966static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13967 PyObject *resultobj;
13968 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13969 wxString result;
13970 PyObject * obj0 = 0 ;
13971 char *kwnames[] = {
13972 (char *) "self", NULL
13973 };
13974
13975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetStringSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
13976 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13977 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13978 {
13979 PyThreadState* __tstate = wxPyBeginAllowThreads();
13980 result = ((wxRadioBox const *)arg1)->GetStringSelection();
13981
13982 wxPyEndAllowThreads(__tstate);
13983 if (PyErr_Occurred()) SWIG_fail;
13984 }
13985 {
13986#if wxUSE_UNICODE
13987 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13988#else
13989 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13990#endif
13991 }
13992 return resultobj;
13993 fail:
13994 return NULL;
13995}
13996
13997
c32bde28 13998static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13999 PyObject *resultobj;
14000 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14001 wxString *arg2 = 0 ;
14002 bool result;
ae8162c8 14003 bool temp2 = false ;
d14a1e28
RD
14004 PyObject * obj0 = 0 ;
14005 PyObject * obj1 = 0 ;
14006 char *kwnames[] = {
14007 (char *) "self",(char *) "s", NULL
14008 };
14009
14010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14011 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14012 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14013 {
14014 arg2 = wxString_in_helper(obj1);
14015 if (arg2 == NULL) SWIG_fail;
ae8162c8 14016 temp2 = true;
d14a1e28
RD
14017 }
14018 {
14019 PyThreadState* __tstate = wxPyBeginAllowThreads();
14020 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
14021
14022 wxPyEndAllowThreads(__tstate);
14023 if (PyErr_Occurred()) SWIG_fail;
14024 }
4f89f6a3
RD
14025 {
14026 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14027 }
d14a1e28
RD
14028 {
14029 if (temp2)
14030 delete arg2;
14031 }
14032 return resultobj;
14033 fail:
14034 {
14035 if (temp2)
14036 delete arg2;
14037 }
14038 return NULL;
14039}
14040
14041
c32bde28 14042static PyObject *_wrap_RadioBox_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14043 PyObject *resultobj;
14044 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14045 int result;
14046 PyObject * obj0 = 0 ;
14047 char *kwnames[] = {
14048 (char *) "self", NULL
14049 };
14050
14051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
14052 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14053 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14054 {
14055 PyThreadState* __tstate = wxPyBeginAllowThreads();
14056 result = (int)((wxRadioBox const *)arg1)->GetCount();
14057
14058 wxPyEndAllowThreads(__tstate);
14059 if (PyErr_Occurred()) SWIG_fail;
14060 }
093d3ff1
RD
14061 {
14062 resultobj = SWIG_From_int((int)(result));
14063 }
d14a1e28
RD
14064 return resultobj;
14065 fail:
14066 return NULL;
14067}
14068
14069
c32bde28 14070static PyObject *_wrap_RadioBox_FindString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14071 PyObject *resultobj;
14072 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14073 wxString *arg2 = 0 ;
14074 int result;
ae8162c8 14075 bool temp2 = false ;
d14a1e28
RD
14076 PyObject * obj0 = 0 ;
14077 PyObject * obj1 = 0 ;
14078 char *kwnames[] = {
14079 (char *) "self",(char *) "s", NULL
14080 };
14081
14082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14083 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14084 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14085 {
14086 arg2 = wxString_in_helper(obj1);
14087 if (arg2 == NULL) SWIG_fail;
ae8162c8 14088 temp2 = true;
d14a1e28
RD
14089 }
14090 {
14091 PyThreadState* __tstate = wxPyBeginAllowThreads();
14092 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
14093
14094 wxPyEndAllowThreads(__tstate);
14095 if (PyErr_Occurred()) SWIG_fail;
14096 }
093d3ff1
RD
14097 {
14098 resultobj = SWIG_From_int((int)(result));
14099 }
d14a1e28
RD
14100 {
14101 if (temp2)
14102 delete arg2;
14103 }
14104 return resultobj;
14105 fail:
14106 {
14107 if (temp2)
14108 delete arg2;
14109 }
14110 return NULL;
14111}
14112
14113
c32bde28 14114static PyObject *_wrap_RadioBox_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14115 PyObject *resultobj;
14116 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14117 int arg2 ;
14118 wxString result;
14119 PyObject * obj0 = 0 ;
994141e6 14120 PyObject * obj1 = 0 ;
d14a1e28
RD
14121 char *kwnames[] = {
14122 (char *) "self",(char *) "n", NULL
14123 };
14124
994141e6 14125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetString",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14126 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14127 if (SWIG_arg_fail(1)) SWIG_fail;
14128 {
14129 arg2 = (int)(SWIG_As_int(obj1));
14130 if (SWIG_arg_fail(2)) SWIG_fail;
14131 }
d14a1e28
RD
14132 {
14133 PyThreadState* __tstate = wxPyBeginAllowThreads();
14134 result = ((wxRadioBox const *)arg1)->GetString(arg2);
14135
14136 wxPyEndAllowThreads(__tstate);
14137 if (PyErr_Occurred()) SWIG_fail;
14138 }
14139 {
14140#if wxUSE_UNICODE
14141 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14142#else
14143 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14144#endif
14145 }
14146 return resultobj;
14147 fail:
14148 return NULL;
14149}
14150
14151
c32bde28 14152static PyObject *_wrap_RadioBox_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14153 PyObject *resultobj;
14154 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14155 int arg2 ;
14156 wxString *arg3 = 0 ;
ae8162c8 14157 bool temp3 = false ;
d14a1e28 14158 PyObject * obj0 = 0 ;
994141e6 14159 PyObject * obj1 = 0 ;
d14a1e28
RD
14160 PyObject * obj2 = 0 ;
14161 char *kwnames[] = {
14162 (char *) "self",(char *) "n",(char *) "label", NULL
14163 };
14164
994141e6 14165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
14166 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14167 if (SWIG_arg_fail(1)) SWIG_fail;
14168 {
14169 arg2 = (int)(SWIG_As_int(obj1));
14170 if (SWIG_arg_fail(2)) SWIG_fail;
14171 }
d14a1e28
RD
14172 {
14173 arg3 = wxString_in_helper(obj2);
14174 if (arg3 == NULL) SWIG_fail;
ae8162c8 14175 temp3 = true;
d14a1e28
RD
14176 }
14177 {
14178 PyThreadState* __tstate = wxPyBeginAllowThreads();
14179 (arg1)->SetString(arg2,(wxString const &)*arg3);
14180
14181 wxPyEndAllowThreads(__tstate);
14182 if (PyErr_Occurred()) SWIG_fail;
14183 }
14184 Py_INCREF(Py_None); resultobj = Py_None;
14185 {
14186 if (temp3)
14187 delete arg3;
14188 }
14189 return resultobj;
14190 fail:
14191 {
14192 if (temp3)
14193 delete arg3;
14194 }
14195 return NULL;
14196}
14197
14198
c32bde28 14199static PyObject *_wrap_RadioBox_EnableItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14200 PyObject *resultobj;
14201 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14202 int arg2 ;
ae8162c8 14203 bool arg3 = (bool) true ;
d14a1e28 14204 PyObject * obj0 = 0 ;
994141e6 14205 PyObject * obj1 = 0 ;
d14a1e28
RD
14206 PyObject * obj2 = 0 ;
14207 char *kwnames[] = {
14208 (char *) "self",(char *) "n",(char *) "enable", NULL
14209 };
14210
994141e6 14211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_EnableItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
14212 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14213 if (SWIG_arg_fail(1)) SWIG_fail;
14214 {
14215 arg2 = (int)(SWIG_As_int(obj1));
14216 if (SWIG_arg_fail(2)) SWIG_fail;
14217 }
d14a1e28 14218 if (obj2) {
093d3ff1
RD
14219 {
14220 arg3 = (bool)(SWIG_As_bool(obj2));
14221 if (SWIG_arg_fail(3)) SWIG_fail;
14222 }
d14a1e28
RD
14223 }
14224 {
14225 PyThreadState* __tstate = wxPyBeginAllowThreads();
14226 (arg1)->Enable(arg2,arg3);
14227
14228 wxPyEndAllowThreads(__tstate);
14229 if (PyErr_Occurred()) SWIG_fail;
14230 }
14231 Py_INCREF(Py_None); resultobj = Py_None;
14232 return resultobj;
14233 fail:
14234 return NULL;
14235}
14236
14237
c32bde28 14238static PyObject *_wrap_RadioBox_ShowItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14239 PyObject *resultobj;
14240 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14241 int arg2 ;
ae8162c8 14242 bool arg3 = (bool) true ;
d14a1e28 14243 PyObject * obj0 = 0 ;
994141e6 14244 PyObject * obj1 = 0 ;
d14a1e28
RD
14245 PyObject * obj2 = 0 ;
14246 char *kwnames[] = {
14247 (char *) "self",(char *) "n",(char *) "show", NULL
14248 };
14249
994141e6 14250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_ShowItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
14251 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14252 if (SWIG_arg_fail(1)) SWIG_fail;
14253 {
14254 arg2 = (int)(SWIG_As_int(obj1));
14255 if (SWIG_arg_fail(2)) SWIG_fail;
14256 }
d14a1e28 14257 if (obj2) {
093d3ff1
RD
14258 {
14259 arg3 = (bool)(SWIG_As_bool(obj2));
14260 if (SWIG_arg_fail(3)) SWIG_fail;
14261 }
d14a1e28
RD
14262 }
14263 {
14264 PyThreadState* __tstate = wxPyBeginAllowThreads();
14265 (arg1)->Show(arg2,arg3);
14266
14267 wxPyEndAllowThreads(__tstate);
14268 if (PyErr_Occurred()) SWIG_fail;
14269 }
14270 Py_INCREF(Py_None); resultobj = Py_None;
14271 return resultobj;
14272 fail:
14273 return NULL;
14274}
14275
14276
c32bde28 14277static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14278 PyObject *resultobj;
14279 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14280 int result;
14281 PyObject * obj0 = 0 ;
14282 char *kwnames[] = {
14283 (char *) "self", NULL
14284 };
14285
14286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetColumnCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
14287 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14288 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14289 {
14290 PyThreadState* __tstate = wxPyBeginAllowThreads();
14291 result = (int)wxRadioBox_GetColumnCount((wxRadioBox const *)arg1);
14292
14293 wxPyEndAllowThreads(__tstate);
14294 if (PyErr_Occurred()) SWIG_fail;
14295 }
093d3ff1
RD
14296 {
14297 resultobj = SWIG_From_int((int)(result));
14298 }
d14a1e28
RD
14299 return resultobj;
14300 fail:
14301 return NULL;
14302}
14303
14304
c32bde28 14305static PyObject *_wrap_RadioBox_GetRowCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14306 PyObject *resultobj;
14307 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14308 int result;
14309 PyObject * obj0 = 0 ;
14310 char *kwnames[] = {
14311 (char *) "self", NULL
14312 };
14313
14314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetRowCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
14315 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14316 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14317 {
14318 PyThreadState* __tstate = wxPyBeginAllowThreads();
14319 result = (int)wxRadioBox_GetRowCount((wxRadioBox const *)arg1);
14320
14321 wxPyEndAllowThreads(__tstate);
14322 if (PyErr_Occurred()) SWIG_fail;
14323 }
093d3ff1
RD
14324 {
14325 resultobj = SWIG_From_int((int)(result));
14326 }
d14a1e28
RD
14327 return resultobj;
14328 fail:
14329 return NULL;
14330}
14331
14332
c32bde28 14333static PyObject *_wrap_RadioBox_GetNextItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14334 PyObject *resultobj;
14335 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14336 int arg2 ;
093d3ff1 14337 wxDirection arg3 ;
d14a1e28
RD
14338 long arg4 ;
14339 int result;
14340 PyObject * obj0 = 0 ;
994141e6
RD
14341 PyObject * obj1 = 0 ;
14342 PyObject * obj2 = 0 ;
14343 PyObject * obj3 = 0 ;
d14a1e28
RD
14344 char *kwnames[] = {
14345 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
14346 };
14347
994141e6 14348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RadioBox_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
14349 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14350 if (SWIG_arg_fail(1)) SWIG_fail;
14351 {
14352 arg2 = (int)(SWIG_As_int(obj1));
14353 if (SWIG_arg_fail(2)) SWIG_fail;
14354 }
14355 {
14356 arg3 = (wxDirection)(SWIG_As_int(obj2));
14357 if (SWIG_arg_fail(3)) SWIG_fail;
14358 }
14359 {
14360 arg4 = (long)(SWIG_As_long(obj3));
14361 if (SWIG_arg_fail(4)) SWIG_fail;
14362 }
d14a1e28
RD
14363 {
14364 PyThreadState* __tstate = wxPyBeginAllowThreads();
14365 result = (int)wxRadioBox_GetNextItem((wxRadioBox const *)arg1,arg2,(wxDirection )arg3,arg4);
14366
14367 wxPyEndAllowThreads(__tstate);
14368 if (PyErr_Occurred()) SWIG_fail;
14369 }
093d3ff1
RD
14370 {
14371 resultobj = SWIG_From_int((int)(result));
14372 }
d14a1e28
RD
14373 return resultobj;
14374 fail:
14375 return NULL;
14376}
14377
14378
c32bde28 14379static PyObject *_wrap_RadioBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c 14380 PyObject *resultobj;
093d3ff1 14381 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
14382 wxVisualAttributes result;
14383 PyObject * obj0 = 0 ;
14384 char *kwnames[] = {
14385 (char *) "variant", NULL
14386 };
14387
14388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
14389 if (obj0) {
093d3ff1
RD
14390 {
14391 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
14392 if (SWIG_arg_fail(1)) SWIG_fail;
14393 }
22bfe96c
RD
14394 }
14395 {
110da5b0 14396 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
14397 PyThreadState* __tstate = wxPyBeginAllowThreads();
14398 result = wxRadioBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
14399
14400 wxPyEndAllowThreads(__tstate);
dfbb5885 14401 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
14402 }
14403 {
14404 wxVisualAttributes * resultptr;
093d3ff1 14405 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
22bfe96c
RD
14406 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
14407 }
14408 return resultobj;
14409 fail:
14410 return NULL;
14411}
14412
14413
c32bde28 14414static PyObject * RadioBox_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
14415 PyObject *obj;
14416 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14417 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox, obj);
14418 Py_INCREF(obj);
14419 return Py_BuildValue((char *)"");
14420}
c32bde28 14421static PyObject *_wrap_new_RadioButton(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14422 PyObject *resultobj;
14423 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
14424 int arg2 = (int) -1 ;
14425 wxString const &arg3_defvalue = wxPyEmptyString ;
14426 wxString *arg3 = (wxString *) &arg3_defvalue ;
d14a1e28
RD
14427 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14428 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14429 wxSize const &arg5_defvalue = wxDefaultSize ;
14430 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14431 long arg6 = (long) 0 ;
14432 wxValidator const &arg7_defvalue = wxDefaultValidator ;
14433 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
14434 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
14435 wxString *arg8 = (wxString *) &arg8_defvalue ;
14436 wxRadioButton *result;
ae8162c8 14437 bool temp3 = false ;
d14a1e28
RD
14438 wxPoint temp4 ;
14439 wxSize temp5 ;
ae8162c8 14440 bool temp8 = false ;
d14a1e28 14441 PyObject * obj0 = 0 ;
994141e6 14442 PyObject * obj1 = 0 ;
d14a1e28
RD
14443 PyObject * obj2 = 0 ;
14444 PyObject * obj3 = 0 ;
14445 PyObject * obj4 = 0 ;
994141e6 14446 PyObject * obj5 = 0 ;
d14a1e28
RD
14447 PyObject * obj6 = 0 ;
14448 PyObject * obj7 = 0 ;
14449 char *kwnames[] = {
14450 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14451 };
14452
248ed943 14453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_RadioButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
14454 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14455 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 14456 if (obj1) {
093d3ff1
RD
14457 {
14458 arg2 = (int)(SWIG_As_int(obj1));
14459 if (SWIG_arg_fail(2)) SWIG_fail;
14460 }
248ed943
RD
14461 }
14462 if (obj2) {
14463 {
14464 arg3 = wxString_in_helper(obj2);
14465 if (arg3 == NULL) SWIG_fail;
ae8162c8 14466 temp3 = true;
248ed943 14467 }
d14a1e28
RD
14468 }
14469 if (obj3) {
14470 {
14471 arg4 = &temp4;
14472 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14473 }
14474 }
14475 if (obj4) {
14476 {
14477 arg5 = &temp5;
14478 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14479 }
14480 }
994141e6 14481 if (obj5) {
093d3ff1
RD
14482 {
14483 arg6 = (long)(SWIG_As_long(obj5));
14484 if (SWIG_arg_fail(6)) SWIG_fail;
14485 }
994141e6 14486 }
d14a1e28 14487 if (obj6) {
093d3ff1
RD
14488 {
14489 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14490 if (SWIG_arg_fail(7)) SWIG_fail;
14491 if (arg7 == NULL) {
14492 SWIG_null_ref("wxValidator");
14493 }
14494 if (SWIG_arg_fail(7)) SWIG_fail;
d14a1e28
RD
14495 }
14496 }
14497 if (obj7) {
14498 {
14499 arg8 = wxString_in_helper(obj7);
14500 if (arg8 == NULL) SWIG_fail;
ae8162c8 14501 temp8 = true;
d14a1e28
RD
14502 }
14503 }
14504 {
e3b71cb8 14505 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
14506 PyThreadState* __tstate = wxPyBeginAllowThreads();
14507 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
14508
14509 wxPyEndAllowThreads(__tstate);
110da5b0 14510 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 14511 }
15afbcd0 14512 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
d14a1e28
RD
14513 {
14514 if (temp3)
14515 delete arg3;
14516 }
14517 {
14518 if (temp8)
14519 delete arg8;
14520 }
14521 return resultobj;
14522 fail:
14523 {
14524 if (temp3)
14525 delete arg3;
14526 }
14527 {
14528 if (temp8)
14529 delete arg8;
14530 }
14531 return NULL;
14532}
14533
14534
c32bde28 14535static PyObject *_wrap_new_PreRadioButton(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14536 PyObject *resultobj;
14537 wxRadioButton *result;
14538 char *kwnames[] = {
14539 NULL
14540 };
14541
14542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioButton",kwnames)) goto fail;
14543 {
e3b71cb8 14544 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
14545 PyThreadState* __tstate = wxPyBeginAllowThreads();
14546 result = (wxRadioButton *)new wxRadioButton();
14547
14548 wxPyEndAllowThreads(__tstate);
110da5b0 14549 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 14550 }
15afbcd0 14551 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
d14a1e28
RD
14552 return resultobj;
14553 fail:
14554 return NULL;
14555}
14556
14557
c32bde28 14558static PyObject *_wrap_RadioButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14559 PyObject *resultobj;
14560 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
14561 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
14562 int arg3 = (int) -1 ;
14563 wxString const &arg4_defvalue = wxPyEmptyString ;
14564 wxString *arg4 = (wxString *) &arg4_defvalue ;
d14a1e28
RD
14565 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14566 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14567 wxSize const &arg6_defvalue = wxDefaultSize ;
14568 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14569 long arg7 = (long) 0 ;
14570 wxValidator const &arg8_defvalue = wxDefaultValidator ;
14571 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
14572 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
14573 wxString *arg9 = (wxString *) &arg9_defvalue ;
14574 bool result;
ae8162c8 14575 bool temp4 = false ;
d14a1e28
RD
14576 wxPoint temp5 ;
14577 wxSize temp6 ;
ae8162c8 14578 bool temp9 = false ;
d14a1e28
RD
14579 PyObject * obj0 = 0 ;
14580 PyObject * obj1 = 0 ;
994141e6 14581 PyObject * obj2 = 0 ;
d14a1e28
RD
14582 PyObject * obj3 = 0 ;
14583 PyObject * obj4 = 0 ;
14584 PyObject * obj5 = 0 ;
994141e6 14585 PyObject * obj6 = 0 ;
d14a1e28
RD
14586 PyObject * obj7 = 0 ;
14587 PyObject * obj8 = 0 ;
14588 char *kwnames[] = {
14589 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14590 };
14591
248ed943 14592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
14593 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioButton, SWIG_POINTER_EXCEPTION | 0);
14594 if (SWIG_arg_fail(1)) SWIG_fail;
14595 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14596 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 14597 if (obj2) {
093d3ff1
RD
14598 {
14599 arg3 = (int)(SWIG_As_int(obj2));
14600 if (SWIG_arg_fail(3)) SWIG_fail;
14601 }
248ed943
RD
14602 }
14603 if (obj3) {
14604 {
14605 arg4 = wxString_in_helper(obj3);
14606 if (arg4 == NULL) SWIG_fail;
ae8162c8 14607 temp4 = true;
248ed943 14608 }
d14a1e28
RD
14609 }
14610 if (obj4) {
14611 {
14612 arg5 = &temp5;
14613 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14614 }
14615 }
14616 if (obj5) {
14617 {
14618 arg6 = &temp6;
14619 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14620 }
14621 }
994141e6 14622 if (obj6) {
093d3ff1
RD
14623 {
14624 arg7 = (long)(SWIG_As_long(obj6));
14625 if (SWIG_arg_fail(7)) SWIG_fail;
14626 }
994141e6 14627 }
d14a1e28 14628 if (obj7) {
093d3ff1
RD
14629 {
14630 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14631 if (SWIG_arg_fail(8)) SWIG_fail;
14632 if (arg8 == NULL) {
14633 SWIG_null_ref("wxValidator");
14634 }
14635 if (SWIG_arg_fail(8)) SWIG_fail;
d14a1e28
RD
14636 }
14637 }
14638 if (obj8) {
14639 {
14640 arg9 = wxString_in_helper(obj8);
14641 if (arg9 == NULL) SWIG_fail;
ae8162c8 14642 temp9 = true;
d14a1e28
RD
14643 }
14644 }
14645 {
14646 PyThreadState* __tstate = wxPyBeginAllowThreads();
14647 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
14648
14649 wxPyEndAllowThreads(__tstate);
14650 if (PyErr_Occurred()) SWIG_fail;
14651 }
4f89f6a3
RD
14652 {
14653 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14654 }
d14a1e28
RD
14655 {
14656 if (temp4)
14657 delete arg4;
14658 }
14659 {
14660 if (temp9)
14661 delete arg9;
14662 }
14663 return resultobj;
14664 fail:
14665 {
14666 if (temp4)
14667 delete arg4;
14668 }
14669 {
14670 if (temp9)
14671 delete arg9;
14672 }
14673 return NULL;
14674}
14675
14676
c32bde28 14677static PyObject *_wrap_RadioButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14678 PyObject *resultobj;
14679 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
14680 bool result;
14681 PyObject * obj0 = 0 ;
14682 char *kwnames[] = {
14683 (char *) "self", NULL
14684 };
14685
14686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioButton_GetValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
14687 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioButton, SWIG_POINTER_EXCEPTION | 0);
14688 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14689 {
14690 PyThreadState* __tstate = wxPyBeginAllowThreads();
14691 result = (bool)(arg1)->GetValue();
14692
14693 wxPyEndAllowThreads(__tstate);
14694 if (PyErr_Occurred()) SWIG_fail;
14695 }
4f89f6a3
RD
14696 {
14697 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14698 }
d14a1e28
RD
14699 return resultobj;
14700 fail:
14701 return NULL;
14702}
14703
14704
c32bde28 14705static PyObject *_wrap_RadioButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14706 PyObject *resultobj;
14707 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
14708 bool arg2 ;
14709 PyObject * obj0 = 0 ;
14710 PyObject * obj1 = 0 ;
14711 char *kwnames[] = {
14712 (char *) "self",(char *) "value", NULL
14713 };
14714
14715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14716 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioButton, SWIG_POINTER_EXCEPTION | 0);
14717 if (SWIG_arg_fail(1)) SWIG_fail;
14718 {
14719 arg2 = (bool)(SWIG_As_bool(obj1));
14720 if (SWIG_arg_fail(2)) SWIG_fail;
14721 }
d14a1e28
RD
14722 {
14723 PyThreadState* __tstate = wxPyBeginAllowThreads();
14724 (arg1)->SetValue(arg2);
14725
14726 wxPyEndAllowThreads(__tstate);
14727 if (PyErr_Occurred()) SWIG_fail;
14728 }
14729 Py_INCREF(Py_None); resultobj = Py_None;
14730 return resultobj;
14731 fail:
14732 return NULL;
14733}
14734
14735
c32bde28 14736static PyObject *_wrap_RadioButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c 14737 PyObject *resultobj;
093d3ff1 14738 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
14739 wxVisualAttributes result;
14740 PyObject * obj0 = 0 ;
14741 char *kwnames[] = {
14742 (char *) "variant", NULL
14743 };
14744
14745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
14746 if (obj0) {
093d3ff1
RD
14747 {
14748 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
14749 if (SWIG_arg_fail(1)) SWIG_fail;
14750 }
22bfe96c
RD
14751 }
14752 {
110da5b0 14753 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
14754 PyThreadState* __tstate = wxPyBeginAllowThreads();
14755 result = wxRadioButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
14756
14757 wxPyEndAllowThreads(__tstate);
dfbb5885 14758 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
14759 }
14760 {
14761 wxVisualAttributes * resultptr;
093d3ff1 14762 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
22bfe96c
RD
14763 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
14764 }
14765 return resultobj;
14766 fail:
14767 return NULL;
14768}
14769
14770
c32bde28 14771static PyObject * RadioButton_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
14772 PyObject *obj;
14773 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14774 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton, obj);
14775 Py_INCREF(obj);
14776 return Py_BuildValue((char *)"");
14777}
c32bde28 14778static int _wrap_SliderNameStr_set(PyObject *) {
b2dc1044
RD
14779 PyErr_SetString(PyExc_TypeError,"Variable SliderNameStr is read-only.");
14780 return 1;
14781}
14782
14783
093d3ff1 14784static PyObject *_wrap_SliderNameStr_get(void) {
b2dc1044
RD
14785 PyObject *pyobj;
14786
14787 {
14788#if wxUSE_UNICODE
14789 pyobj = PyUnicode_FromWideChar((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
14790#else
14791 pyobj = PyString_FromStringAndSize((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
14792#endif
14793 }
14794 return pyobj;
14795}
14796
14797
c32bde28 14798static PyObject *_wrap_new_Slider(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14799 PyObject *resultobj;
14800 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
14801 int arg2 = (int) -1 ;
14802 int arg3 = (int) 0 ;
14803 int arg4 = (int) 0 ;
14804 int arg5 = (int) 100 ;
d14a1e28
RD
14805 wxPoint const &arg6_defvalue = wxDefaultPosition ;
14806 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
14807 wxSize const &arg7_defvalue = wxDefaultSize ;
14808 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
14809 long arg8 = (long) wxSL_HORIZONTAL ;
14810 wxValidator const &arg9_defvalue = wxDefaultValidator ;
14811 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
14812 wxString const &arg10_defvalue = wxPySliderNameStr ;
14813 wxString *arg10 = (wxString *) &arg10_defvalue ;
14814 wxSlider *result;
14815 wxPoint temp6 ;
14816 wxSize temp7 ;
ae8162c8 14817 bool temp10 = false ;
d14a1e28 14818 PyObject * obj0 = 0 ;
994141e6
RD
14819 PyObject * obj1 = 0 ;
14820 PyObject * obj2 = 0 ;
14821 PyObject * obj3 = 0 ;
14822 PyObject * obj4 = 0 ;
d14a1e28
RD
14823 PyObject * obj5 = 0 ;
14824 PyObject * obj6 = 0 ;
994141e6 14825 PyObject * obj7 = 0 ;
d14a1e28
RD
14826 PyObject * obj8 = 0 ;
14827 PyObject * obj9 = 0 ;
14828 char *kwnames[] = {
994141e6 14829 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
d14a1e28
RD
14830 };
14831
248ed943 14832 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
14833 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14834 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 14835 if (obj1) {
093d3ff1
RD
14836 {
14837 arg2 = (int)(SWIG_As_int(obj1));
14838 if (SWIG_arg_fail(2)) SWIG_fail;
14839 }
248ed943
RD
14840 }
14841 if (obj2) {
093d3ff1
RD
14842 {
14843 arg3 = (int)(SWIG_As_int(obj2));
14844 if (SWIG_arg_fail(3)) SWIG_fail;
14845 }
248ed943
RD
14846 }
14847 if (obj3) {
093d3ff1
RD
14848 {
14849 arg4 = (int)(SWIG_As_int(obj3));
14850 if (SWIG_arg_fail(4)) SWIG_fail;
14851 }
248ed943
RD
14852 }
14853 if (obj4) {
093d3ff1
RD
14854 {
14855 arg5 = (int)(SWIG_As_int(obj4));
14856 if (SWIG_arg_fail(5)) SWIG_fail;
14857 }
248ed943 14858 }
d14a1e28
RD
14859 if (obj5) {
14860 {
14861 arg6 = &temp6;
14862 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
14863 }
14864 }
14865 if (obj6) {
14866 {
14867 arg7 = &temp7;
14868 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
14869 }
14870 }
994141e6 14871 if (obj7) {
093d3ff1
RD
14872 {
14873 arg8 = (long)(SWIG_As_long(obj7));
14874 if (SWIG_arg_fail(8)) SWIG_fail;
14875 }
994141e6 14876 }
d14a1e28 14877 if (obj8) {
093d3ff1
RD
14878 {
14879 SWIG_Python_ConvertPtr(obj8, (void **)&arg9, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14880 if (SWIG_arg_fail(9)) SWIG_fail;
14881 if (arg9 == NULL) {
14882 SWIG_null_ref("wxValidator");
14883 }
14884 if (SWIG_arg_fail(9)) SWIG_fail;
d14a1e28
RD
14885 }
14886 }
14887 if (obj9) {
14888 {
14889 arg10 = wxString_in_helper(obj9);
14890 if (arg10 == NULL) SWIG_fail;
ae8162c8 14891 temp10 = true;
d14a1e28
RD
14892 }
14893 }
14894 {
e3b71cb8 14895 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
14896 PyThreadState* __tstate = wxPyBeginAllowThreads();
14897 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
14898
14899 wxPyEndAllowThreads(__tstate);
110da5b0 14900 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 14901 }
15afbcd0 14902 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
d14a1e28
RD
14903 {
14904 if (temp10)
14905 delete arg10;
14906 }
14907 return resultobj;
14908 fail:
14909 {
14910 if (temp10)
14911 delete arg10;
14912 }
14913 return NULL;
14914}
14915
14916
c32bde28 14917static PyObject *_wrap_new_PreSlider(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14918 PyObject *resultobj;
14919 wxSlider *result;
14920 char *kwnames[] = {
14921 NULL
14922 };
14923
14924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSlider",kwnames)) goto fail;
14925 {
e3b71cb8 14926 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
14927 PyThreadState* __tstate = wxPyBeginAllowThreads();
14928 result = (wxSlider *)new wxSlider();
14929
14930 wxPyEndAllowThreads(__tstate);
110da5b0 14931 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 14932 }
15afbcd0 14933 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
d14a1e28
RD
14934 return resultobj;
14935 fail:
14936 return NULL;
14937}
14938
14939
c32bde28 14940static PyObject *_wrap_Slider_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14941 PyObject *resultobj;
14942 wxSlider *arg1 = (wxSlider *) 0 ;
14943 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
14944 int arg3 = (int) -1 ;
14945 int arg4 = (int) 0 ;
14946 int arg5 = (int) 0 ;
14947 int arg6 = (int) 100 ;
d14a1e28
RD
14948 wxPoint const &arg7_defvalue = wxDefaultPosition ;
14949 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
14950 wxSize const &arg8_defvalue = wxDefaultSize ;
14951 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
14952 long arg9 = (long) wxSL_HORIZONTAL ;
14953 wxValidator const &arg10_defvalue = wxDefaultValidator ;
14954 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
14955 wxString const &arg11_defvalue = wxPySliderNameStr ;
14956 wxString *arg11 = (wxString *) &arg11_defvalue ;
14957 bool result;
14958 wxPoint temp7 ;
14959 wxSize temp8 ;
ae8162c8 14960 bool temp11 = false ;
d14a1e28
RD
14961 PyObject * obj0 = 0 ;
14962 PyObject * obj1 = 0 ;
994141e6
RD
14963 PyObject * obj2 = 0 ;
14964 PyObject * obj3 = 0 ;
14965 PyObject * obj4 = 0 ;
14966 PyObject * obj5 = 0 ;
d14a1e28
RD
14967 PyObject * obj6 = 0 ;
14968 PyObject * obj7 = 0 ;
994141e6 14969 PyObject * obj8 = 0 ;
d14a1e28
RD
14970 PyObject * obj9 = 0 ;
14971 PyObject * obj10 = 0 ;
14972 char *kwnames[] = {
994141e6 14973 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
d14a1e28
RD
14974 };
14975
248ed943 14976 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
14977 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
14978 if (SWIG_arg_fail(1)) SWIG_fail;
14979 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14980 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 14981 if (obj2) {
093d3ff1
RD
14982 {
14983 arg3 = (int)(SWIG_As_int(obj2));
14984 if (SWIG_arg_fail(3)) SWIG_fail;
14985 }
248ed943
RD
14986 }
14987 if (obj3) {
093d3ff1
RD
14988 {
14989 arg4 = (int)(SWIG_As_int(obj3));
14990 if (SWIG_arg_fail(4)) SWIG_fail;
14991 }
248ed943
RD
14992 }
14993 if (obj4) {
093d3ff1
RD
14994 {
14995 arg5 = (int)(SWIG_As_int(obj4));
14996 if (SWIG_arg_fail(5)) SWIG_fail;
14997 }
248ed943
RD
14998 }
14999 if (obj5) {
093d3ff1
RD
15000 {
15001 arg6 = (int)(SWIG_As_int(obj5));
15002 if (SWIG_arg_fail(6)) SWIG_fail;
15003 }
248ed943 15004 }
d14a1e28
RD
15005 if (obj6) {
15006 {
15007 arg7 = &temp7;
15008 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
15009 }
15010 }
15011 if (obj7) {
15012 {
15013 arg8 = &temp8;
15014 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
15015 }
15016 }
994141e6 15017 if (obj8) {
093d3ff1
RD
15018 {
15019 arg9 = (long)(SWIG_As_long(obj8));
15020 if (SWIG_arg_fail(9)) SWIG_fail;
15021 }
994141e6 15022 }
d14a1e28 15023 if (obj9) {
093d3ff1
RD
15024 {
15025 SWIG_Python_ConvertPtr(obj9, (void **)&arg10, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
15026 if (SWIG_arg_fail(10)) SWIG_fail;
15027 if (arg10 == NULL) {
15028 SWIG_null_ref("wxValidator");
15029 }
15030 if (SWIG_arg_fail(10)) SWIG_fail;
d14a1e28
RD
15031 }
15032 }
15033 if (obj10) {
15034 {
15035 arg11 = wxString_in_helper(obj10);
15036 if (arg11 == NULL) SWIG_fail;
ae8162c8 15037 temp11 = true;
d14a1e28
RD
15038 }
15039 }
15040 {
15041 PyThreadState* __tstate = wxPyBeginAllowThreads();
15042 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
15043
15044 wxPyEndAllowThreads(__tstate);
15045 if (PyErr_Occurred()) SWIG_fail;
15046 }
4f89f6a3
RD
15047 {
15048 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15049 }
d14a1e28
RD
15050 {
15051 if (temp11)
15052 delete arg11;
15053 }
15054 return resultobj;
15055 fail:
15056 {
15057 if (temp11)
15058 delete arg11;
15059 }
15060 return NULL;
15061}
15062
15063
c32bde28 15064static PyObject *_wrap_Slider_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15065 PyObject *resultobj;
15066 wxSlider *arg1 = (wxSlider *) 0 ;
15067 int result;
15068 PyObject * obj0 = 0 ;
15069 char *kwnames[] = {
15070 (char *) "self", NULL
15071 };
15072
15073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
15074 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15075 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15076 {
15077 PyThreadState* __tstate = wxPyBeginAllowThreads();
15078 result = (int)((wxSlider const *)arg1)->GetValue();
15079
15080 wxPyEndAllowThreads(__tstate);
15081 if (PyErr_Occurred()) SWIG_fail;
15082 }
093d3ff1
RD
15083 {
15084 resultobj = SWIG_From_int((int)(result));
15085 }
d14a1e28
RD
15086 return resultobj;
15087 fail:
15088 return NULL;
15089}
15090
15091
c32bde28 15092static PyObject *_wrap_Slider_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15093 PyObject *resultobj;
15094 wxSlider *arg1 = (wxSlider *) 0 ;
15095 int arg2 ;
15096 PyObject * obj0 = 0 ;
994141e6 15097 PyObject * obj1 = 0 ;
d14a1e28
RD
15098 char *kwnames[] = {
15099 (char *) "self",(char *) "value", NULL
15100 };
15101
994141e6 15102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetValue",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15103 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15104 if (SWIG_arg_fail(1)) SWIG_fail;
15105 {
15106 arg2 = (int)(SWIG_As_int(obj1));
15107 if (SWIG_arg_fail(2)) SWIG_fail;
15108 }
d14a1e28
RD
15109 {
15110 PyThreadState* __tstate = wxPyBeginAllowThreads();
15111 (arg1)->SetValue(arg2);
15112
15113 wxPyEndAllowThreads(__tstate);
15114 if (PyErr_Occurred()) SWIG_fail;
15115 }
15116 Py_INCREF(Py_None); resultobj = Py_None;
15117 return resultobj;
15118 fail:
15119 return NULL;
15120}
15121
15122
c32bde28 15123static PyObject *_wrap_Slider_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15124 PyObject *resultobj;
15125 wxSlider *arg1 = (wxSlider *) 0 ;
15126 int arg2 ;
15127 int arg3 ;
15128 PyObject * obj0 = 0 ;
994141e6
RD
15129 PyObject * obj1 = 0 ;
15130 PyObject * obj2 = 0 ;
d14a1e28
RD
15131 char *kwnames[] = {
15132 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
15133 };
15134
994141e6 15135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
15136 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15137 if (SWIG_arg_fail(1)) SWIG_fail;
15138 {
15139 arg2 = (int)(SWIG_As_int(obj1));
15140 if (SWIG_arg_fail(2)) SWIG_fail;
15141 }
15142 {
15143 arg3 = (int)(SWIG_As_int(obj2));
15144 if (SWIG_arg_fail(3)) SWIG_fail;
15145 }
d14a1e28
RD
15146 {
15147 PyThreadState* __tstate = wxPyBeginAllowThreads();
15148 (arg1)->SetRange(arg2,arg3);
15149
15150 wxPyEndAllowThreads(__tstate);
15151 if (PyErr_Occurred()) SWIG_fail;
15152 }
15153 Py_INCREF(Py_None); resultobj = Py_None;
15154 return resultobj;
15155 fail:
15156 return NULL;
15157}
15158
15159
c32bde28 15160static PyObject *_wrap_Slider_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15161 PyObject *resultobj;
15162 wxSlider *arg1 = (wxSlider *) 0 ;
15163 int result;
15164 PyObject * obj0 = 0 ;
15165 char *kwnames[] = {
15166 (char *) "self", NULL
15167 };
15168
15169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMin",kwnames,&obj0)) goto fail;
093d3ff1
RD
15170 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15171 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15172 {
15173 PyThreadState* __tstate = wxPyBeginAllowThreads();
15174 result = (int)((wxSlider const *)arg1)->GetMin();
15175
15176 wxPyEndAllowThreads(__tstate);
15177 if (PyErr_Occurred()) SWIG_fail;
15178 }
093d3ff1
RD
15179 {
15180 resultobj = SWIG_From_int((int)(result));
15181 }
d14a1e28
RD
15182 return resultobj;
15183 fail:
15184 return NULL;
15185}
15186
15187
c32bde28 15188static PyObject *_wrap_Slider_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15189 PyObject *resultobj;
15190 wxSlider *arg1 = (wxSlider *) 0 ;
15191 int result;
15192 PyObject * obj0 = 0 ;
15193 char *kwnames[] = {
15194 (char *) "self", NULL
15195 };
15196
15197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMax",kwnames,&obj0)) goto fail;
093d3ff1
RD
15198 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15199 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15200 {
15201 PyThreadState* __tstate = wxPyBeginAllowThreads();
15202 result = (int)((wxSlider const *)arg1)->GetMax();
15203
15204 wxPyEndAllowThreads(__tstate);
15205 if (PyErr_Occurred()) SWIG_fail;
15206 }
093d3ff1
RD
15207 {
15208 resultobj = SWIG_From_int((int)(result));
15209 }
d14a1e28
RD
15210 return resultobj;
15211 fail:
15212 return NULL;
15213}
15214
15215
c32bde28 15216static PyObject *_wrap_Slider_SetMin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15217 PyObject *resultobj;
15218 wxSlider *arg1 = (wxSlider *) 0 ;
15219 int arg2 ;
15220 PyObject * obj0 = 0 ;
994141e6 15221 PyObject * obj1 = 0 ;
d14a1e28
RD
15222 char *kwnames[] = {
15223 (char *) "self",(char *) "minValue", NULL
15224 };
15225
994141e6 15226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMin",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15227 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15228 if (SWIG_arg_fail(1)) SWIG_fail;
15229 {
15230 arg2 = (int)(SWIG_As_int(obj1));
15231 if (SWIG_arg_fail(2)) SWIG_fail;
15232 }
d14a1e28
RD
15233 {
15234 PyThreadState* __tstate = wxPyBeginAllowThreads();
15235 (arg1)->SetMin(arg2);
15236
15237 wxPyEndAllowThreads(__tstate);
15238 if (PyErr_Occurred()) SWIG_fail;
15239 }
15240 Py_INCREF(Py_None); resultobj = Py_None;
15241 return resultobj;
15242 fail:
15243 return NULL;
15244}
15245
15246
c32bde28 15247static PyObject *_wrap_Slider_SetMax(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15248 PyObject *resultobj;
15249 wxSlider *arg1 = (wxSlider *) 0 ;
15250 int arg2 ;
15251 PyObject * obj0 = 0 ;
994141e6 15252 PyObject * obj1 = 0 ;
d14a1e28
RD
15253 char *kwnames[] = {
15254 (char *) "self",(char *) "maxValue", NULL
15255 };
15256
994141e6 15257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMax",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15258 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15259 if (SWIG_arg_fail(1)) SWIG_fail;
15260 {
15261 arg2 = (int)(SWIG_As_int(obj1));
15262 if (SWIG_arg_fail(2)) SWIG_fail;
15263 }
d14a1e28
RD
15264 {
15265 PyThreadState* __tstate = wxPyBeginAllowThreads();
15266 (arg1)->SetMax(arg2);
15267
15268 wxPyEndAllowThreads(__tstate);
15269 if (PyErr_Occurred()) SWIG_fail;
15270 }
15271 Py_INCREF(Py_None); resultobj = Py_None;
15272 return resultobj;
15273 fail:
15274 return NULL;
15275}
15276
15277
c32bde28 15278static PyObject *_wrap_Slider_SetLineSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15279 PyObject *resultobj;
15280 wxSlider *arg1 = (wxSlider *) 0 ;
15281 int arg2 ;
15282 PyObject * obj0 = 0 ;
994141e6 15283 PyObject * obj1 = 0 ;
d14a1e28
RD
15284 char *kwnames[] = {
15285 (char *) "self",(char *) "lineSize", NULL
15286 };
15287
994141e6 15288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetLineSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15289 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15290 if (SWIG_arg_fail(1)) SWIG_fail;
15291 {
15292 arg2 = (int)(SWIG_As_int(obj1));
15293 if (SWIG_arg_fail(2)) SWIG_fail;
15294 }
d14a1e28
RD
15295 {
15296 PyThreadState* __tstate = wxPyBeginAllowThreads();
15297 (arg1)->SetLineSize(arg2);
15298
15299 wxPyEndAllowThreads(__tstate);
15300 if (PyErr_Occurred()) SWIG_fail;
15301 }
15302 Py_INCREF(Py_None); resultobj = Py_None;
15303 return resultobj;
15304 fail:
15305 return NULL;
15306}
15307
15308
c32bde28 15309static PyObject *_wrap_Slider_SetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15310 PyObject *resultobj;
15311 wxSlider *arg1 = (wxSlider *) 0 ;
15312 int arg2 ;
15313 PyObject * obj0 = 0 ;
994141e6 15314 PyObject * obj1 = 0 ;
d14a1e28
RD
15315 char *kwnames[] = {
15316 (char *) "self",(char *) "pageSize", NULL
15317 };
15318
994141e6 15319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15320 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15321 if (SWIG_arg_fail(1)) SWIG_fail;
15322 {
15323 arg2 = (int)(SWIG_As_int(obj1));
15324 if (SWIG_arg_fail(2)) SWIG_fail;
15325 }
d14a1e28
RD
15326 {
15327 PyThreadState* __tstate = wxPyBeginAllowThreads();
15328 (arg1)->SetPageSize(arg2);
15329
15330 wxPyEndAllowThreads(__tstate);
15331 if (PyErr_Occurred()) SWIG_fail;
15332 }
15333 Py_INCREF(Py_None); resultobj = Py_None;
15334 return resultobj;
15335 fail:
15336 return NULL;
15337}
15338
15339
c32bde28 15340static PyObject *_wrap_Slider_GetLineSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15341 PyObject *resultobj;
15342 wxSlider *arg1 = (wxSlider *) 0 ;
15343 int result;
15344 PyObject * obj0 = 0 ;
15345 char *kwnames[] = {
15346 (char *) "self", NULL
15347 };
15348
15349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetLineSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
15350 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15351 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15352 {
15353 PyThreadState* __tstate = wxPyBeginAllowThreads();
15354 result = (int)((wxSlider const *)arg1)->GetLineSize();
15355
15356 wxPyEndAllowThreads(__tstate);
15357 if (PyErr_Occurred()) SWIG_fail;
15358 }
093d3ff1
RD
15359 {
15360 resultobj = SWIG_From_int((int)(result));
15361 }
d14a1e28
RD
15362 return resultobj;
15363 fail:
15364 return NULL;
15365}
15366
15367
c32bde28 15368static PyObject *_wrap_Slider_GetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15369 PyObject *resultobj;
15370 wxSlider *arg1 = (wxSlider *) 0 ;
15371 int result;
15372 PyObject * obj0 = 0 ;
15373 char *kwnames[] = {
15374 (char *) "self", NULL
15375 };
15376
15377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetPageSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
15378 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15379 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15380 {
15381 PyThreadState* __tstate = wxPyBeginAllowThreads();
15382 result = (int)((wxSlider const *)arg1)->GetPageSize();
15383
15384 wxPyEndAllowThreads(__tstate);
15385 if (PyErr_Occurred()) SWIG_fail;
15386 }
093d3ff1
RD
15387 {
15388 resultobj = SWIG_From_int((int)(result));
15389 }
d14a1e28
RD
15390 return resultobj;
15391 fail:
15392 return NULL;
15393}
15394
15395
c32bde28 15396static PyObject *_wrap_Slider_SetThumbLength(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15397 PyObject *resultobj;
15398 wxSlider *arg1 = (wxSlider *) 0 ;
15399 int arg2 ;
15400 PyObject * obj0 = 0 ;
994141e6 15401 PyObject * obj1 = 0 ;
d14a1e28
RD
15402 char *kwnames[] = {
15403 (char *) "self",(char *) "lenPixels", NULL
15404 };
15405
994141e6 15406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetThumbLength",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15407 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15408 if (SWIG_arg_fail(1)) SWIG_fail;
15409 {
15410 arg2 = (int)(SWIG_As_int(obj1));
15411 if (SWIG_arg_fail(2)) SWIG_fail;
15412 }
d14a1e28
RD
15413 {
15414 PyThreadState* __tstate = wxPyBeginAllowThreads();
15415 (arg1)->SetThumbLength(arg2);
15416
15417 wxPyEndAllowThreads(__tstate);
15418 if (PyErr_Occurred()) SWIG_fail;
15419 }
15420 Py_INCREF(Py_None); resultobj = Py_None;
15421 return resultobj;
15422 fail:
15423 return NULL;
15424}
15425
15426
c32bde28 15427static PyObject *_wrap_Slider_GetThumbLength(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15428 PyObject *resultobj;
15429 wxSlider *arg1 = (wxSlider *) 0 ;
15430 int result;
15431 PyObject * obj0 = 0 ;
15432 char *kwnames[] = {
15433 (char *) "self", NULL
15434 };
15435
15436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetThumbLength",kwnames,&obj0)) goto fail;
093d3ff1
RD
15437 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15438 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15439 {
15440 PyThreadState* __tstate = wxPyBeginAllowThreads();
15441 result = (int)((wxSlider const *)arg1)->GetThumbLength();
15442
15443 wxPyEndAllowThreads(__tstate);
15444 if (PyErr_Occurred()) SWIG_fail;
15445 }
093d3ff1
RD
15446 {
15447 resultobj = SWIG_From_int((int)(result));
15448 }
d14a1e28
RD
15449 return resultobj;
15450 fail:
15451 return NULL;
15452}
15453
15454
c32bde28 15455static PyObject *_wrap_Slider_SetTickFreq(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15456 PyObject *resultobj;
15457 wxSlider *arg1 = (wxSlider *) 0 ;
15458 int arg2 ;
994141e6 15459 int arg3 = (int) 1 ;
d14a1e28 15460 PyObject * obj0 = 0 ;
994141e6
RD
15461 PyObject * obj1 = 0 ;
15462 PyObject * obj2 = 0 ;
d14a1e28
RD
15463 char *kwnames[] = {
15464 (char *) "self",(char *) "n",(char *) "pos", NULL
15465 };
15466
994141e6 15467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Slider_SetTickFreq",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
15468 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15469 if (SWIG_arg_fail(1)) SWIG_fail;
15470 {
15471 arg2 = (int)(SWIG_As_int(obj1));
15472 if (SWIG_arg_fail(2)) SWIG_fail;
15473 }
994141e6 15474 if (obj2) {
093d3ff1
RD
15475 {
15476 arg3 = (int)(SWIG_As_int(obj2));
15477 if (SWIG_arg_fail(3)) SWIG_fail;
15478 }
994141e6 15479 }
d14a1e28
RD
15480 {
15481 PyThreadState* __tstate = wxPyBeginAllowThreads();
15482 (arg1)->SetTickFreq(arg2,arg3);
15483
15484 wxPyEndAllowThreads(__tstate);
15485 if (PyErr_Occurred()) SWIG_fail;
15486 }
15487 Py_INCREF(Py_None); resultobj = Py_None;
15488 return resultobj;
15489 fail:
15490 return NULL;
15491}
15492
15493
c32bde28 15494static PyObject *_wrap_Slider_GetTickFreq(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15495 PyObject *resultobj;
15496 wxSlider *arg1 = (wxSlider *) 0 ;
15497 int result;
15498 PyObject * obj0 = 0 ;
15499 char *kwnames[] = {
15500 (char *) "self", NULL
15501 };
15502
15503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetTickFreq",kwnames,&obj0)) goto fail;
093d3ff1
RD
15504 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15505 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15506 {
15507 PyThreadState* __tstate = wxPyBeginAllowThreads();
15508 result = (int)((wxSlider const *)arg1)->GetTickFreq();
15509
15510 wxPyEndAllowThreads(__tstate);
15511 if (PyErr_Occurred()) SWIG_fail;
15512 }
093d3ff1
RD
15513 {
15514 resultobj = SWIG_From_int((int)(result));
15515 }
d14a1e28
RD
15516 return resultobj;
15517 fail:
15518 return NULL;
15519}
15520
15521
c32bde28 15522static PyObject *_wrap_Slider_ClearTicks(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15523 PyObject *resultobj;
15524 wxSlider *arg1 = (wxSlider *) 0 ;
15525 PyObject * obj0 = 0 ;
15526 char *kwnames[] = {
15527 (char *) "self", NULL
15528 };
15529
15530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearTicks",kwnames,&obj0)) goto fail;
093d3ff1
RD
15531 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15532 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15533 {
15534 PyThreadState* __tstate = wxPyBeginAllowThreads();
15535 (arg1)->ClearTicks();
15536
15537 wxPyEndAllowThreads(__tstate);
15538 if (PyErr_Occurred()) SWIG_fail;
15539 }
15540 Py_INCREF(Py_None); resultobj = Py_None;
15541 return resultobj;
15542 fail:
15543 return NULL;
15544}
15545
15546
c32bde28 15547static PyObject *_wrap_Slider_SetTick(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15548 PyObject *resultobj;
15549 wxSlider *arg1 = (wxSlider *) 0 ;
15550 int arg2 ;
15551 PyObject * obj0 = 0 ;
994141e6 15552 PyObject * obj1 = 0 ;
d14a1e28
RD
15553 char *kwnames[] = {
15554 (char *) "self",(char *) "tickPos", NULL
15555 };
15556
994141e6 15557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetTick",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15558 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15559 if (SWIG_arg_fail(1)) SWIG_fail;
15560 {
15561 arg2 = (int)(SWIG_As_int(obj1));
15562 if (SWIG_arg_fail(2)) SWIG_fail;
15563 }
d14a1e28
RD
15564 {
15565 PyThreadState* __tstate = wxPyBeginAllowThreads();
15566 (arg1)->SetTick(arg2);
15567
15568 wxPyEndAllowThreads(__tstate);
15569 if (PyErr_Occurred()) SWIG_fail;
15570 }
15571 Py_INCREF(Py_None); resultobj = Py_None;
15572 return resultobj;
15573 fail:
15574 return NULL;
15575}
15576
15577
c32bde28 15578static PyObject *_wrap_Slider_ClearSel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15579 PyObject *resultobj;
15580 wxSlider *arg1 = (wxSlider *) 0 ;
15581 PyObject * obj0 = 0 ;
15582 char *kwnames[] = {
15583 (char *) "self", NULL
15584 };
15585
15586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearSel",kwnames,&obj0)) goto fail;
093d3ff1
RD
15587 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15588 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15589 {
15590 PyThreadState* __tstate = wxPyBeginAllowThreads();
15591 (arg1)->ClearSel();
15592
15593 wxPyEndAllowThreads(__tstate);
15594 if (PyErr_Occurred()) SWIG_fail;
15595 }
15596 Py_INCREF(Py_None); resultobj = Py_None;
15597 return resultobj;
15598 fail:
15599 return NULL;
15600}
15601
15602
c32bde28 15603static PyObject *_wrap_Slider_GetSelEnd(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15604 PyObject *resultobj;
15605 wxSlider *arg1 = (wxSlider *) 0 ;
15606 int result;
15607 PyObject * obj0 = 0 ;
15608 char *kwnames[] = {
15609 (char *) "self", NULL
15610 };
15611
15612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelEnd",kwnames,&obj0)) goto fail;
093d3ff1
RD
15613 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15614 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15615 {
15616 PyThreadState* __tstate = wxPyBeginAllowThreads();
15617 result = (int)((wxSlider const *)arg1)->GetSelEnd();
15618
15619 wxPyEndAllowThreads(__tstate);
15620 if (PyErr_Occurred()) SWIG_fail;
15621 }
093d3ff1
RD
15622 {
15623 resultobj = SWIG_From_int((int)(result));
15624 }
d14a1e28
RD
15625 return resultobj;
15626 fail:
15627 return NULL;
15628}
15629
15630
c32bde28 15631static PyObject *_wrap_Slider_GetSelStart(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15632 PyObject *resultobj;
15633 wxSlider *arg1 = (wxSlider *) 0 ;
15634 int result;
15635 PyObject * obj0 = 0 ;
15636 char *kwnames[] = {
15637 (char *) "self", NULL
15638 };
15639
15640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelStart",kwnames,&obj0)) goto fail;
093d3ff1
RD
15641 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15642 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15643 {
15644 PyThreadState* __tstate = wxPyBeginAllowThreads();
15645 result = (int)((wxSlider const *)arg1)->GetSelStart();
15646
15647 wxPyEndAllowThreads(__tstate);
15648 if (PyErr_Occurred()) SWIG_fail;
15649 }
093d3ff1
RD
15650 {
15651 resultobj = SWIG_From_int((int)(result));
15652 }
d14a1e28
RD
15653 return resultobj;
15654 fail:
15655 return NULL;
15656}
15657
15658
c32bde28 15659static PyObject *_wrap_Slider_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15660 PyObject *resultobj;
15661 wxSlider *arg1 = (wxSlider *) 0 ;
15662 int arg2 ;
15663 int arg3 ;
15664 PyObject * obj0 = 0 ;
994141e6
RD
15665 PyObject * obj1 = 0 ;
15666 PyObject * obj2 = 0 ;
d14a1e28
RD
15667 char *kwnames[] = {
15668 (char *) "self",(char *) "min",(char *) "max", NULL
15669 };
15670
994141e6 15671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
15672 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15673 if (SWIG_arg_fail(1)) SWIG_fail;
15674 {
15675 arg2 = (int)(SWIG_As_int(obj1));
15676 if (SWIG_arg_fail(2)) SWIG_fail;
15677 }
15678 {
15679 arg3 = (int)(SWIG_As_int(obj2));
15680 if (SWIG_arg_fail(3)) SWIG_fail;
15681 }
d14a1e28
RD
15682 {
15683 PyThreadState* __tstate = wxPyBeginAllowThreads();
15684 (arg1)->SetSelection(arg2,arg3);
15685
15686 wxPyEndAllowThreads(__tstate);
15687 if (PyErr_Occurred()) SWIG_fail;
15688 }
15689 Py_INCREF(Py_None); resultobj = Py_None;
15690 return resultobj;
15691 fail:
15692 return NULL;
15693}
15694
15695
c32bde28 15696static PyObject *_wrap_Slider_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c 15697 PyObject *resultobj;
093d3ff1 15698 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
15699 wxVisualAttributes result;
15700 PyObject * obj0 = 0 ;
15701 char *kwnames[] = {
15702 (char *) "variant", NULL
15703 };
15704
15705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
15706 if (obj0) {
093d3ff1
RD
15707 {
15708 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
15709 if (SWIG_arg_fail(1)) SWIG_fail;
15710 }
22bfe96c
RD
15711 }
15712 {
110da5b0 15713 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
15714 PyThreadState* __tstate = wxPyBeginAllowThreads();
15715 result = wxSlider::GetClassDefaultAttributes((wxWindowVariant )arg1);
15716
15717 wxPyEndAllowThreads(__tstate);
dfbb5885 15718 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
15719 }
15720 {
15721 wxVisualAttributes * resultptr;
093d3ff1 15722 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
22bfe96c
RD
15723 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
15724 }
15725 return resultobj;
15726 fail:
15727 return NULL;
15728}
15729
15730
c32bde28 15731static PyObject * Slider_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
15732 PyObject *obj;
15733 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15734 SWIG_TypeClientData(SWIGTYPE_p_wxSlider, obj);
15735 Py_INCREF(obj);
15736 return Py_BuildValue((char *)"");
15737}
c32bde28 15738static int _wrap_ToggleButtonNameStr_set(PyObject *) {
b2dc1044
RD
15739 PyErr_SetString(PyExc_TypeError,"Variable ToggleButtonNameStr is read-only.");
15740 return 1;
15741}
15742
15743
093d3ff1 15744static PyObject *_wrap_ToggleButtonNameStr_get(void) {
b2dc1044
RD
15745 PyObject *pyobj;
15746
15747 {
15748#if wxUSE_UNICODE
15749 pyobj = PyUnicode_FromWideChar((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
15750#else
15751 pyobj = PyString_FromStringAndSize((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
15752#endif
15753 }
15754 return pyobj;
15755}
15756
15757
c32bde28 15758static PyObject *_wrap_new_ToggleButton(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15759 PyObject *resultobj;
15760 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
15761 int arg2 = (int) -1 ;
15762 wxString const &arg3_defvalue = wxPyEmptyString ;
15763 wxString *arg3 = (wxString *) &arg3_defvalue ;
d14a1e28
RD
15764 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15765 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15766 wxSize const &arg5_defvalue = wxDefaultSize ;
15767 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15768 long arg6 = (long) 0 ;
15769 wxValidator const &arg7_defvalue = wxDefaultValidator ;
15770 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
15771 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
15772 wxString *arg8 = (wxString *) &arg8_defvalue ;
15773 wxToggleButton *result;
ae8162c8 15774 bool temp3 = false ;
d14a1e28
RD
15775 wxPoint temp4 ;
15776 wxSize temp5 ;
ae8162c8 15777 bool temp8 = false ;
d14a1e28 15778 PyObject * obj0 = 0 ;
994141e6 15779 PyObject * obj1 = 0 ;
d14a1e28
RD
15780 PyObject * obj2 = 0 ;
15781 PyObject * obj3 = 0 ;
15782 PyObject * obj4 = 0 ;
994141e6 15783 PyObject * obj5 = 0 ;
d14a1e28
RD
15784 PyObject * obj6 = 0 ;
15785 PyObject * obj7 = 0 ;
15786 char *kwnames[] = {
15787 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15788 };
15789
248ed943 15790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ToggleButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
15791 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15792 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 15793 if (obj1) {
093d3ff1
RD
15794 {
15795 arg2 = (int)(SWIG_As_int(obj1));
15796 if (SWIG_arg_fail(2)) SWIG_fail;
15797 }
248ed943
RD
15798 }
15799 if (obj2) {
15800 {
15801 arg3 = wxString_in_helper(obj2);
15802 if (arg3 == NULL) SWIG_fail;
ae8162c8 15803 temp3 = true;
248ed943 15804 }
d14a1e28
RD
15805 }
15806 if (obj3) {
15807 {
15808 arg4 = &temp4;
15809 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15810 }
15811 }
15812 if (obj4) {
15813 {
15814 arg5 = &temp5;
15815 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15816 }
15817 }
994141e6 15818 if (obj5) {
093d3ff1
RD
15819 {
15820 arg6 = (long)(SWIG_As_long(obj5));
15821 if (SWIG_arg_fail(6)) SWIG_fail;
15822 }
994141e6 15823 }
d14a1e28 15824 if (obj6) {
093d3ff1
RD
15825 {
15826 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
15827 if (SWIG_arg_fail(7)) SWIG_fail;
15828 if (arg7 == NULL) {
15829 SWIG_null_ref("wxValidator");
15830 }
15831 if (SWIG_arg_fail(7)) SWIG_fail;
d14a1e28
RD
15832 }
15833 }
15834 if (obj7) {
15835 {
15836 arg8 = wxString_in_helper(obj7);
15837 if (arg8 == NULL) SWIG_fail;
ae8162c8 15838 temp8 = true;
d14a1e28
RD
15839 }
15840 }
15841 {
e3b71cb8 15842 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
15843 PyThreadState* __tstate = wxPyBeginAllowThreads();
15844 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
15845
15846 wxPyEndAllowThreads(__tstate);
110da5b0 15847 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 15848 }
15afbcd0 15849 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
d14a1e28
RD
15850 {
15851 if (temp3)
15852 delete arg3;
15853 }
15854 {
15855 if (temp8)
15856 delete arg8;
15857 }
15858 return resultobj;
15859 fail:
15860 {
15861 if (temp3)
15862 delete arg3;
15863 }
15864 {
15865 if (temp8)
15866 delete arg8;
15867 }
15868 return NULL;
15869}
15870
15871
c32bde28 15872static PyObject *_wrap_new_PreToggleButton(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15873 PyObject *resultobj;
15874 wxToggleButton *result;
15875 char *kwnames[] = {
15876 NULL
15877 };
15878
15879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToggleButton",kwnames)) goto fail;
15880 {
e3b71cb8 15881 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
15882 PyThreadState* __tstate = wxPyBeginAllowThreads();
15883 result = (wxToggleButton *)new wxToggleButton();
15884
15885 wxPyEndAllowThreads(__tstate);
110da5b0 15886 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 15887 }
15afbcd0 15888 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
d14a1e28
RD
15889 return resultobj;
15890 fail:
15891 return NULL;
15892}
15893
15894
c32bde28 15895static PyObject *_wrap_ToggleButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15896 PyObject *resultobj;
15897 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
15898 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
15899 int arg3 = (int) -1 ;
15900 wxString const &arg4_defvalue = wxPyEmptyString ;
15901 wxString *arg4 = (wxString *) &arg4_defvalue ;
d14a1e28
RD
15902 wxPoint const &arg5_defvalue = wxDefaultPosition ;
15903 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
15904 wxSize const &arg6_defvalue = wxDefaultSize ;
15905 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
15906 long arg7 = (long) 0 ;
15907 wxValidator const &arg8_defvalue = wxDefaultValidator ;
15908 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
15909 wxString const &arg9_defvalue = wxPyToggleButtonNameStr ;
15910 wxString *arg9 = (wxString *) &arg9_defvalue ;
15911 bool result;
ae8162c8 15912 bool temp4 = false ;
d14a1e28
RD
15913 wxPoint temp5 ;
15914 wxSize temp6 ;
ae8162c8 15915 bool temp9 = false ;
d14a1e28
RD
15916 PyObject * obj0 = 0 ;
15917 PyObject * obj1 = 0 ;
994141e6 15918 PyObject * obj2 = 0 ;
d14a1e28
RD
15919 PyObject * obj3 = 0 ;
15920 PyObject * obj4 = 0 ;
15921 PyObject * obj5 = 0 ;
994141e6 15922 PyObject * obj6 = 0 ;
d14a1e28
RD
15923 PyObject * obj7 = 0 ;
15924 PyObject * obj8 = 0 ;
15925 char *kwnames[] = {
15926 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15927 };
15928
248ed943 15929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
15930 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
15931 if (SWIG_arg_fail(1)) SWIG_fail;
15932 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15933 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 15934 if (obj2) {
093d3ff1
RD
15935 {
15936 arg3 = (int)(SWIG_As_int(obj2));
15937 if (SWIG_arg_fail(3)) SWIG_fail;
15938 }
248ed943
RD
15939 }
15940 if (obj3) {
15941 {
15942 arg4 = wxString_in_helper(obj3);
15943 if (arg4 == NULL) SWIG_fail;
ae8162c8 15944 temp4 = true;
248ed943 15945 }
d14a1e28
RD
15946 }
15947 if (obj4) {
15948 {
15949 arg5 = &temp5;
15950 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
15951 }
15952 }
15953 if (obj5) {
15954 {
15955 arg6 = &temp6;
15956 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
15957 }
15958 }
994141e6 15959 if (obj6) {
093d3ff1
RD
15960 {
15961 arg7 = (long)(SWIG_As_long(obj6));
15962 if (SWIG_arg_fail(7)) SWIG_fail;
15963 }
994141e6 15964 }
d14a1e28 15965 if (obj7) {
093d3ff1
RD
15966 {
15967 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
15968 if (SWIG_arg_fail(8)) SWIG_fail;
15969 if (arg8 == NULL) {
15970 SWIG_null_ref("wxValidator");
15971 }
15972 if (SWIG_arg_fail(8)) SWIG_fail;
d14a1e28
RD
15973 }
15974 }
15975 if (obj8) {
15976 {
15977 arg9 = wxString_in_helper(obj8);
15978 if (arg9 == NULL) SWIG_fail;
ae8162c8 15979 temp9 = true;
d14a1e28
RD
15980 }
15981 }
15982 {
15983 PyThreadState* __tstate = wxPyBeginAllowThreads();
15984 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
15985
15986 wxPyEndAllowThreads(__tstate);
15987 if (PyErr_Occurred()) SWIG_fail;
15988 }
4f89f6a3
RD
15989 {
15990 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15991 }
d14a1e28
RD
15992 {
15993 if (temp4)
15994 delete arg4;
15995 }
15996 {
15997 if (temp9)
15998 delete arg9;
15999 }
16000 return resultobj;
16001 fail:
16002 {
16003 if (temp4)
16004 delete arg4;
16005 }
16006 {
16007 if (temp9)
16008 delete arg9;
16009 }
16010 return NULL;
16011}
16012
16013
c32bde28 16014static PyObject *_wrap_ToggleButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16015 PyObject *resultobj;
16016 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
16017 bool arg2 ;
16018 PyObject * obj0 = 0 ;
16019 PyObject * obj1 = 0 ;
16020 char *kwnames[] = {
16021 (char *) "self",(char *) "value", NULL
16022 };
16023
16024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16025 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
16026 if (SWIG_arg_fail(1)) SWIG_fail;
16027 {
16028 arg2 = (bool)(SWIG_As_bool(obj1));
16029 if (SWIG_arg_fail(2)) SWIG_fail;
16030 }
d14a1e28
RD
16031 {
16032 PyThreadState* __tstate = wxPyBeginAllowThreads();
16033 (arg1)->SetValue(arg2);
16034
16035 wxPyEndAllowThreads(__tstate);
16036 if (PyErr_Occurred()) SWIG_fail;
16037 }
16038 Py_INCREF(Py_None); resultobj = Py_None;
16039 return resultobj;
16040 fail:
16041 return NULL;
16042}
16043
16044
c32bde28 16045static PyObject *_wrap_ToggleButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16046 PyObject *resultobj;
16047 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
16048 bool result;
16049 PyObject * obj0 = 0 ;
16050 char *kwnames[] = {
16051 (char *) "self", NULL
16052 };
16053
16054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToggleButton_GetValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
16055 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
16056 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16057 {
16058 PyThreadState* __tstate = wxPyBeginAllowThreads();
16059 result = (bool)((wxToggleButton const *)arg1)->GetValue();
16060
16061 wxPyEndAllowThreads(__tstate);
16062 if (PyErr_Occurred()) SWIG_fail;
16063 }
4f89f6a3
RD
16064 {
16065 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16066 }
d14a1e28
RD
16067 return resultobj;
16068 fail:
16069 return NULL;
16070}
16071
16072
c32bde28 16073static PyObject *_wrap_ToggleButton_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16074 PyObject *resultobj;
16075 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
16076 wxString *arg2 = 0 ;
ae8162c8 16077 bool temp2 = false ;
d14a1e28
RD
16078 PyObject * obj0 = 0 ;
16079 PyObject * obj1 = 0 ;
16080 char *kwnames[] = {
16081 (char *) "self",(char *) "label", NULL
16082 };
16083
16084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetLabel",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16085 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
16086 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16087 {
16088 arg2 = wxString_in_helper(obj1);
16089 if (arg2 == NULL) SWIG_fail;
ae8162c8 16090 temp2 = true;
d14a1e28
RD
16091 }
16092 {
16093 PyThreadState* __tstate = wxPyBeginAllowThreads();
16094 (arg1)->SetLabel((wxString const &)*arg2);
16095
16096 wxPyEndAllowThreads(__tstate);
16097 if (PyErr_Occurred()) SWIG_fail;
16098 }
16099 Py_INCREF(Py_None); resultobj = Py_None;
16100 {
16101 if (temp2)
16102 delete arg2;
16103 }
16104 return resultobj;
16105 fail:
16106 {
16107 if (temp2)
16108 delete arg2;
16109 }
16110 return NULL;
16111}
16112
16113
c32bde28 16114static PyObject *_wrap_ToggleButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c 16115 PyObject *resultobj;
093d3ff1 16116 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
16117 wxVisualAttributes result;
16118 PyObject * obj0 = 0 ;
16119 char *kwnames[] = {
16120 (char *) "variant", NULL
16121 };
16122
16123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
16124 if (obj0) {
093d3ff1
RD
16125 {
16126 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
16127 if (SWIG_arg_fail(1)) SWIG_fail;
16128 }
22bfe96c
RD
16129 }
16130 {
110da5b0 16131 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
16132 PyThreadState* __tstate = wxPyBeginAllowThreads();
16133 result = wxToggleButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
16134
16135 wxPyEndAllowThreads(__tstate);
dfbb5885 16136 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
16137 }
16138 {
16139 wxVisualAttributes * resultptr;
093d3ff1 16140 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
22bfe96c
RD
16141 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
16142 }
16143 return resultobj;
16144 fail:
16145 return NULL;
16146}
16147
16148
c32bde28 16149static PyObject * ToggleButton_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
16150 PyObject *obj;
16151 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16152 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton, obj);
16153 Py_INCREF(obj);
16154 return Py_BuildValue((char *)"");
16155}
c32bde28 16156static int _wrap_NOTEBOOK_NAME_set(PyObject *) {
b2dc1044
RD
16157 PyErr_SetString(PyExc_TypeError,"Variable NOTEBOOK_NAME is read-only.");
16158 return 1;
16159}
16160
16161
093d3ff1 16162static PyObject *_wrap_NOTEBOOK_NAME_get(void) {
b2dc1044
RD
16163 PyObject *pyobj;
16164
16165 {
16166#if wxUSE_UNICODE
16167 pyobj = PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
16168#else
16169 pyobj = PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
16170#endif
16171 }
16172 return pyobj;
16173}
16174
16175
8ac8dba0 16176static PyObject *_wrap_BookCtrlBase_GetPageCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 16177 PyObject *resultobj;
8ac8dba0 16178 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d14a1e28
RD
16179 size_t result;
16180 PyObject * obj0 = 0 ;
16181 char *kwnames[] = {
16182 (char *) "self", NULL
16183 };
16184
8ac8dba0 16185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetPageCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
16186 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16187 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16188 {
16189 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 16190 result = (size_t)((wxBookCtrlBase const *)arg1)->GetPageCount();
d14a1e28
RD
16191
16192 wxPyEndAllowThreads(__tstate);
16193 if (PyErr_Occurred()) SWIG_fail;
16194 }
093d3ff1
RD
16195 {
16196 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
16197 }
d14a1e28
RD
16198 return resultobj;
16199 fail:
16200 return NULL;
16201}
16202
16203
8ac8dba0 16204static PyObject *_wrap_BookCtrlBase_GetPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 16205 PyObject *resultobj;
8ac8dba0 16206 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d14a1e28
RD
16207 size_t arg2 ;
16208 wxWindow *result;
16209 PyObject * obj0 = 0 ;
16210 PyObject * obj1 = 0 ;
16211 char *kwnames[] = {
16212 (char *) "self",(char *) "n", NULL
16213 };
16214
8ac8dba0 16215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16216 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16217 if (SWIG_arg_fail(1)) SWIG_fail;
16218 {
16219 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16220 if (SWIG_arg_fail(2)) SWIG_fail;
16221 }
d14a1e28
RD
16222 {
16223 PyThreadState* __tstate = wxPyBeginAllowThreads();
16224 result = (wxWindow *)(arg1)->GetPage(arg2);
16225
16226 wxPyEndAllowThreads(__tstate);
16227 if (PyErr_Occurred()) SWIG_fail;
16228 }
16229 {
412d302d 16230 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
16231 }
16232 return resultobj;
16233 fail:
16234 return NULL;
16235}
16236
16237
8ac8dba0 16238static PyObject *_wrap_BookCtrlBase_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
8fb0e70a 16239 PyObject *resultobj;
8ac8dba0 16240 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
8fb0e70a
RD
16241 wxWindow *result;
16242 PyObject * obj0 = 0 ;
16243 char *kwnames[] = {
16244 (char *) "self", NULL
16245 };
16246
8ac8dba0 16247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetCurrentPage",kwnames,&obj0)) goto fail;
093d3ff1
RD
16248 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16249 if (SWIG_arg_fail(1)) SWIG_fail;
8fb0e70a
RD
16250 {
16251 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 16252 result = (wxWindow *)((wxBookCtrlBase const *)arg1)->GetCurrentPage();
8fb0e70a
RD
16253
16254 wxPyEndAllowThreads(__tstate);
16255 if (PyErr_Occurred()) SWIG_fail;
16256 }
16257 {
16258 resultobj = wxPyMake_wxObject(result, 0);
16259 }
16260 return resultobj;
16261 fail:
16262 return NULL;
16263}
16264
16265
8ac8dba0 16266static PyObject *_wrap_BookCtrlBase_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 16267 PyObject *resultobj;
8ac8dba0 16268 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d14a1e28
RD
16269 int result;
16270 PyObject * obj0 = 0 ;
16271 char *kwnames[] = {
16272 (char *) "self", NULL
16273 };
16274
8ac8dba0 16275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
16276 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16277 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16278 {
16279 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 16280 result = (int)((wxBookCtrlBase const *)arg1)->GetSelection();
d14a1e28
RD
16281
16282 wxPyEndAllowThreads(__tstate);
16283 if (PyErr_Occurred()) SWIG_fail;
16284 }
093d3ff1
RD
16285 {
16286 resultobj = SWIG_From_int((int)(result));
16287 }
d14a1e28
RD
16288 return resultobj;
16289 fail:
16290 return NULL;
16291}
16292
16293
8ac8dba0 16294static PyObject *_wrap_BookCtrlBase_SetPageText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 16295 PyObject *resultobj;
8ac8dba0 16296 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d14a1e28
RD
16297 size_t arg2 ;
16298 wxString *arg3 = 0 ;
16299 bool result;
ae8162c8 16300 bool temp3 = false ;
d14a1e28
RD
16301 PyObject * obj0 = 0 ;
16302 PyObject * obj1 = 0 ;
16303 PyObject * obj2 = 0 ;
16304 char *kwnames[] = {
16305 (char *) "self",(char *) "n",(char *) "strText", NULL
16306 };
16307
8ac8dba0 16308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageText",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
16309 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16310 if (SWIG_arg_fail(1)) SWIG_fail;
16311 {
16312 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16313 if (SWIG_arg_fail(2)) SWIG_fail;
16314 }
d14a1e28
RD
16315 {
16316 arg3 = wxString_in_helper(obj2);
16317 if (arg3 == NULL) SWIG_fail;
ae8162c8 16318 temp3 = true;
d14a1e28
RD
16319 }
16320 {
16321 PyThreadState* __tstate = wxPyBeginAllowThreads();
16322 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
16323
16324 wxPyEndAllowThreads(__tstate);
16325 if (PyErr_Occurred()) SWIG_fail;
16326 }
4f89f6a3
RD
16327 {
16328 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16329 }
d14a1e28
RD
16330 {
16331 if (temp3)
16332 delete arg3;
16333 }
16334 return resultobj;
16335 fail:
16336 {
16337 if (temp3)
16338 delete arg3;
16339 }
16340 return NULL;
16341}
16342
16343
8ac8dba0 16344static PyObject *_wrap_BookCtrlBase_GetPageText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 16345 PyObject *resultobj;
8ac8dba0 16346 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d14a1e28
RD
16347 size_t arg2 ;
16348 wxString result;
16349 PyObject * obj0 = 0 ;
16350 PyObject * obj1 = 0 ;
16351 char *kwnames[] = {
16352 (char *) "self",(char *) "n", NULL
16353 };
16354
8ac8dba0 16355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16356 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16357 if (SWIG_arg_fail(1)) SWIG_fail;
16358 {
16359 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16360 if (SWIG_arg_fail(2)) SWIG_fail;
16361 }
d14a1e28
RD
16362 {
16363 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 16364 result = ((wxBookCtrlBase const *)arg1)->GetPageText(arg2);
d14a1e28
RD
16365
16366 wxPyEndAllowThreads(__tstate);
16367 if (PyErr_Occurred()) SWIG_fail;
16368 }
16369 {
16370#if wxUSE_UNICODE
16371 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16372#else
16373 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16374#endif
16375 }
16376 return resultobj;
16377 fail:
16378 return NULL;
16379}
16380
16381
8ac8dba0 16382static PyObject *_wrap_BookCtrlBase_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 16383 PyObject *resultobj;
8ac8dba0 16384 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d14a1e28
RD
16385 wxImageList *arg2 = (wxImageList *) 0 ;
16386 PyObject * obj0 = 0 ;
16387 PyObject * obj1 = 0 ;
16388 char *kwnames[] = {
16389 (char *) "self",(char *) "imageList", NULL
16390 };
16391
8ac8dba0 16392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetImageList",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16393 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16394 if (SWIG_arg_fail(1)) SWIG_fail;
16395 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
16396 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
16397 {
16398 PyThreadState* __tstate = wxPyBeginAllowThreads();
16399 (arg1)->SetImageList(arg2);
16400
16401 wxPyEndAllowThreads(__tstate);
16402 if (PyErr_Occurred()) SWIG_fail;
16403 }
16404 Py_INCREF(Py_None); resultobj = Py_None;
16405 return resultobj;
16406 fail:
16407 return NULL;
16408}
16409
16410
8ac8dba0 16411static PyObject *_wrap_BookCtrlBase_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 16412 PyObject *resultobj;
8ac8dba0 16413 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d14a1e28
RD
16414 wxImageList *arg2 = (wxImageList *) 0 ;
16415 PyObject * obj0 = 0 ;
16416 PyObject * obj1 = 0 ;
16417 char *kwnames[] = {
16418 (char *) "self",(char *) "imageList", NULL
16419 };
16420
8ac8dba0 16421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16422 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16423 if (SWIG_arg_fail(1)) SWIG_fail;
16424 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
16425 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
16426 {
16427 PyThreadState* __tstate = wxPyBeginAllowThreads();
16428 (arg1)->AssignImageList(arg2);
16429
16430 wxPyEndAllowThreads(__tstate);
16431 if (PyErr_Occurred()) SWIG_fail;
16432 }
16433 Py_INCREF(Py_None); resultobj = Py_None;
16434 return resultobj;
16435 fail:
16436 return NULL;
16437}
16438
16439
8ac8dba0 16440static PyObject *_wrap_BookCtrlBase_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 16441 PyObject *resultobj;
8ac8dba0 16442 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d14a1e28
RD
16443 wxImageList *result;
16444 PyObject * obj0 = 0 ;
16445 char *kwnames[] = {
16446 (char *) "self", NULL
16447 };
16448
8ac8dba0 16449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetImageList",kwnames,&obj0)) goto fail;
093d3ff1
RD
16450 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16451 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16452 {
16453 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 16454 result = (wxImageList *)((wxBookCtrlBase const *)arg1)->GetImageList();
d14a1e28
RD
16455
16456 wxPyEndAllowThreads(__tstate);
16457 if (PyErr_Occurred()) SWIG_fail;
16458 }
16459 {
412d302d 16460 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
16461 }
16462 return resultobj;
16463 fail:
16464 return NULL;
16465}
16466
16467
8ac8dba0 16468static PyObject *_wrap_BookCtrlBase_GetPageImage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 16469 PyObject *resultobj;
8ac8dba0 16470 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d14a1e28
RD
16471 size_t arg2 ;
16472 int result;
16473 PyObject * obj0 = 0 ;
16474 PyObject * obj1 = 0 ;
16475 char *kwnames[] = {
16476 (char *) "self",(char *) "n", NULL
16477 };
16478
8ac8dba0 16479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageImage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16480 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16481 if (SWIG_arg_fail(1)) SWIG_fail;
16482 {
16483 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16484 if (SWIG_arg_fail(2)) SWIG_fail;
16485 }
d14a1e28
RD
16486 {
16487 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 16488 result = (int)((wxBookCtrlBase const *)arg1)->GetPageImage(arg2);
d14a1e28
RD
16489
16490 wxPyEndAllowThreads(__tstate);
16491 if (PyErr_Occurred()) SWIG_fail;
16492 }
093d3ff1
RD
16493 {
16494 resultobj = SWIG_From_int((int)(result));
16495 }
d14a1e28
RD
16496 return resultobj;
16497 fail:
16498 return NULL;
16499}
16500
16501
8ac8dba0 16502static PyObject *_wrap_BookCtrlBase_SetPageImage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 16503 PyObject *resultobj;
8ac8dba0 16504 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d14a1e28
RD
16505 size_t arg2 ;
16506 int arg3 ;
16507 bool result;
16508 PyObject * obj0 = 0 ;
16509 PyObject * obj1 = 0 ;
994141e6 16510 PyObject * obj2 = 0 ;
d14a1e28
RD
16511 char *kwnames[] = {
16512 (char *) "self",(char *) "n",(char *) "imageId", NULL
16513 };
16514
8ac8dba0 16515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
16516 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16517 if (SWIG_arg_fail(1)) SWIG_fail;
16518 {
16519 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16520 if (SWIG_arg_fail(2)) SWIG_fail;
16521 }
16522 {
16523 arg3 = (int)(SWIG_As_int(obj2));
16524 if (SWIG_arg_fail(3)) SWIG_fail;
16525 }
d14a1e28
RD
16526 {
16527 PyThreadState* __tstate = wxPyBeginAllowThreads();
16528 result = (bool)(arg1)->SetPageImage(arg2,arg3);
16529
16530 wxPyEndAllowThreads(__tstate);
16531 if (PyErr_Occurred()) SWIG_fail;
16532 }
4f89f6a3
RD
16533 {
16534 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16535 }
d14a1e28
RD
16536 return resultobj;
16537 fail:
16538 return NULL;
16539}
16540
16541
8ac8dba0 16542static PyObject *_wrap_BookCtrlBase_SetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 16543 PyObject *resultobj;
8ac8dba0 16544 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d14a1e28
RD
16545 wxSize *arg2 = 0 ;
16546 wxSize temp2 ;
16547 PyObject * obj0 = 0 ;
16548 PyObject * obj1 = 0 ;
16549 char *kwnames[] = {
16550 (char *) "self",(char *) "size", NULL
16551 };
16552
8ac8dba0 16553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16554 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16555 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16556 {
16557 arg2 = &temp2;
16558 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16559 }
16560 {
16561 PyThreadState* __tstate = wxPyBeginAllowThreads();
16562 (arg1)->SetPageSize((wxSize const &)*arg2);
16563
16564 wxPyEndAllowThreads(__tstate);
16565 if (PyErr_Occurred()) SWIG_fail;
16566 }
16567 Py_INCREF(Py_None); resultobj = Py_None;
16568 return resultobj;
16569 fail:
16570 return NULL;
16571}
16572
16573
8ac8dba0 16574static PyObject *_wrap_BookCtrlBase_CalcSizeFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 16575 PyObject *resultobj;
8ac8dba0 16576 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d14a1e28
RD
16577 wxSize *arg2 = 0 ;
16578 wxSize result;
16579 wxSize temp2 ;
16580 PyObject * obj0 = 0 ;
16581 PyObject * obj1 = 0 ;
16582 char *kwnames[] = {
16583 (char *) "self",(char *) "sizePage", NULL
16584 };
16585
8ac8dba0 16586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16587 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16588 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16589 {
16590 arg2 = &temp2;
16591 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16592 }
16593 {
16594 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 16595 result = ((wxBookCtrlBase const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
d14a1e28
RD
16596
16597 wxPyEndAllowThreads(__tstate);
16598 if (PyErr_Occurred()) SWIG_fail;
16599 }
16600 {
16601 wxSize * resultptr;
093d3ff1 16602 resultptr = new wxSize((wxSize &)(result));
15afbcd0 16603 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
16604 }
16605 return resultobj;
16606 fail:
16607 return NULL;
16608}
16609
16610
8ac8dba0 16611static PyObject *_wrap_BookCtrlBase_DeletePage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 16612 PyObject *resultobj;
8ac8dba0 16613 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d14a1e28
RD
16614 size_t arg2 ;
16615 bool result;
16616 PyObject * obj0 = 0 ;
16617 PyObject * obj1 = 0 ;
16618 char *kwnames[] = {
16619 (char *) "self",(char *) "n", NULL
16620 };
16621
8ac8dba0 16622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_DeletePage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16623 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16624 if (SWIG_arg_fail(1)) SWIG_fail;
16625 {
16626 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16627 if (SWIG_arg_fail(2)) SWIG_fail;
16628 }
d14a1e28
RD
16629 {
16630 PyThreadState* __tstate = wxPyBeginAllowThreads();
16631 result = (bool)(arg1)->DeletePage(arg2);
16632
16633 wxPyEndAllowThreads(__tstate);
16634 if (PyErr_Occurred()) SWIG_fail;
16635 }
4f89f6a3
RD
16636 {
16637 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16638 }
d14a1e28
RD
16639 return resultobj;
16640 fail:
16641 return NULL;
16642}
16643
16644
8ac8dba0 16645static PyObject *_wrap_BookCtrlBase_RemovePage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 16646 PyObject *resultobj;
8ac8dba0 16647 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d14a1e28
RD
16648 size_t arg2 ;
16649 bool result;
16650 PyObject * obj0 = 0 ;
16651 PyObject * obj1 = 0 ;
16652 char *kwnames[] = {
16653 (char *) "self",(char *) "n", NULL
16654 };
16655
8ac8dba0 16656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_RemovePage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16657 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16658 if (SWIG_arg_fail(1)) SWIG_fail;
16659 {
16660 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16661 if (SWIG_arg_fail(2)) SWIG_fail;
16662 }
d14a1e28
RD
16663 {
16664 PyThreadState* __tstate = wxPyBeginAllowThreads();
16665 result = (bool)(arg1)->RemovePage(arg2);
16666
16667 wxPyEndAllowThreads(__tstate);
16668 if (PyErr_Occurred()) SWIG_fail;
16669 }
4f89f6a3
RD
16670 {
16671 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16672 }
d14a1e28
RD
16673 return resultobj;
16674 fail:
16675 return NULL;
16676}
16677
16678
8ac8dba0 16679static PyObject *_wrap_BookCtrlBase_DeleteAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 16680 PyObject *resultobj;
8ac8dba0 16681 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d14a1e28
RD
16682 bool result;
16683 PyObject * obj0 = 0 ;
16684 char *kwnames[] = {
16685 (char *) "self", NULL
16686 };
16687
8ac8dba0 16688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_DeleteAllPages",kwnames,&obj0)) goto fail;
093d3ff1
RD
16689 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16690 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16691 {
16692 PyThreadState* __tstate = wxPyBeginAllowThreads();
16693 result = (bool)(arg1)->DeleteAllPages();
16694
16695 wxPyEndAllowThreads(__tstate);
16696 if (PyErr_Occurred()) SWIG_fail;
16697 }
4f89f6a3
RD
16698 {
16699 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16700 }
d14a1e28
RD
16701 return resultobj;
16702 fail:
16703 return NULL;
16704}
16705
16706
8ac8dba0 16707static PyObject *_wrap_BookCtrlBase_AddPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 16708 PyObject *resultobj;
8ac8dba0 16709 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d14a1e28
RD
16710 wxWindow *arg2 = (wxWindow *) 0 ;
16711 wxString *arg3 = 0 ;
ae8162c8 16712 bool arg4 = (bool) false ;
d14a1e28
RD
16713 int arg5 = (int) -1 ;
16714 bool result;
ae8162c8 16715 bool temp3 = false ;
d14a1e28
RD
16716 PyObject * obj0 = 0 ;
16717 PyObject * obj1 = 0 ;
16718 PyObject * obj2 = 0 ;
16719 PyObject * obj3 = 0 ;
994141e6 16720 PyObject * obj4 = 0 ;
d14a1e28
RD
16721 char *kwnames[] = {
16722 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16723 };
16724
8ac8dba0 16725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
16726 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16727 if (SWIG_arg_fail(1)) SWIG_fail;
16728 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16729 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
16730 {
16731 arg3 = wxString_in_helper(obj2);
16732 if (arg3 == NULL) SWIG_fail;
ae8162c8 16733 temp3 = true;
d14a1e28
RD
16734 }
16735 if (obj3) {
093d3ff1
RD
16736 {
16737 arg4 = (bool)(SWIG_As_bool(obj3));
16738 if (SWIG_arg_fail(4)) SWIG_fail;
16739 }
994141e6
RD
16740 }
16741 if (obj4) {
093d3ff1
RD
16742 {
16743 arg5 = (int)(SWIG_As_int(obj4));
16744 if (SWIG_arg_fail(5)) SWIG_fail;
16745 }
d14a1e28
RD
16746 }
16747 {
16748 PyThreadState* __tstate = wxPyBeginAllowThreads();
16749 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
16750
16751 wxPyEndAllowThreads(__tstate);
16752 if (PyErr_Occurred()) SWIG_fail;
16753 }
4f89f6a3
RD
16754 {
16755 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16756 }
d14a1e28
RD
16757 {
16758 if (temp3)
16759 delete arg3;
16760 }
16761 return resultobj;
16762 fail:
16763 {
16764 if (temp3)
16765 delete arg3;
16766 }
16767 return NULL;
16768}
16769
16770
8ac8dba0 16771static PyObject *_wrap_BookCtrlBase_InsertPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 16772 PyObject *resultobj;
8ac8dba0 16773 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d14a1e28
RD
16774 size_t arg2 ;
16775 wxWindow *arg3 = (wxWindow *) 0 ;
16776 wxString *arg4 = 0 ;
ae8162c8 16777 bool arg5 = (bool) false ;
d14a1e28
RD
16778 int arg6 = (int) -1 ;
16779 bool result;
ae8162c8 16780 bool temp4 = false ;
d14a1e28
RD
16781 PyObject * obj0 = 0 ;
16782 PyObject * obj1 = 0 ;
16783 PyObject * obj2 = 0 ;
16784 PyObject * obj3 = 0 ;
16785 PyObject * obj4 = 0 ;
994141e6 16786 PyObject * obj5 = 0 ;
d14a1e28
RD
16787 char *kwnames[] = {
16788 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16789 };
16790
8ac8dba0 16791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
16792 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16793 if (SWIG_arg_fail(1)) SWIG_fail;
16794 {
16795 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16796 if (SWIG_arg_fail(2)) SWIG_fail;
16797 }
16798 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16799 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
16800 {
16801 arg4 = wxString_in_helper(obj3);
16802 if (arg4 == NULL) SWIG_fail;
ae8162c8 16803 temp4 = true;
d14a1e28
RD
16804 }
16805 if (obj4) {
093d3ff1
RD
16806 {
16807 arg5 = (bool)(SWIG_As_bool(obj4));
16808 if (SWIG_arg_fail(5)) SWIG_fail;
16809 }
994141e6
RD
16810 }
16811 if (obj5) {
093d3ff1
RD
16812 {
16813 arg6 = (int)(SWIG_As_int(obj5));
16814 if (SWIG_arg_fail(6)) SWIG_fail;
16815 }
d14a1e28
RD
16816 }
16817 {
16818 PyThreadState* __tstate = wxPyBeginAllowThreads();
16819 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
16820
16821 wxPyEndAllowThreads(__tstate);
16822 if (PyErr_Occurred()) SWIG_fail;
16823 }
4f89f6a3
RD
16824 {
16825 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16826 }
d14a1e28
RD
16827 {
16828 if (temp4)
16829 delete arg4;
16830 }
16831 return resultobj;
16832 fail:
16833 {
16834 if (temp4)
16835 delete arg4;
16836 }
16837 return NULL;
16838}
16839
16840
8ac8dba0 16841static PyObject *_wrap_BookCtrlBase_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 16842 PyObject *resultobj;
8ac8dba0 16843 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d14a1e28
RD
16844 size_t arg2 ;
16845 int result;
16846 PyObject * obj0 = 0 ;
16847 PyObject * obj1 = 0 ;
16848 char *kwnames[] = {
16849 (char *) "self",(char *) "n", NULL
16850 };
16851
8ac8dba0 16852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16853 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16854 if (SWIG_arg_fail(1)) SWIG_fail;
16855 {
16856 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16857 if (SWIG_arg_fail(2)) SWIG_fail;
16858 }
d14a1e28
RD
16859 {
16860 PyThreadState* __tstate = wxPyBeginAllowThreads();
16861 result = (int)(arg1)->SetSelection(arg2);
16862
16863 wxPyEndAllowThreads(__tstate);
16864 if (PyErr_Occurred()) SWIG_fail;
16865 }
093d3ff1
RD
16866 {
16867 resultobj = SWIG_From_int((int)(result));
16868 }
d14a1e28
RD
16869 return resultobj;
16870 fail:
16871 return NULL;
16872}
16873
16874
8ac8dba0 16875static PyObject *_wrap_BookCtrlBase_AdvanceSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 16876 PyObject *resultobj;
8ac8dba0 16877 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
ae8162c8 16878 bool arg2 = (bool) true ;
d14a1e28
RD
16879 PyObject * obj0 = 0 ;
16880 PyObject * obj1 = 0 ;
16881 char *kwnames[] = {
16882 (char *) "self",(char *) "forward", NULL
16883 };
16884
8ac8dba0 16885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16886 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16887 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 16888 if (obj1) {
093d3ff1
RD
16889 {
16890 arg2 = (bool)(SWIG_As_bool(obj1));
16891 if (SWIG_arg_fail(2)) SWIG_fail;
16892 }
d14a1e28
RD
16893 }
16894 {
16895 PyThreadState* __tstate = wxPyBeginAllowThreads();
16896 (arg1)->AdvanceSelection(arg2);
16897
16898 wxPyEndAllowThreads(__tstate);
16899 if (PyErr_Occurred()) SWIG_fail;
16900 }
16901 Py_INCREF(Py_None); resultobj = Py_None;
16902 return resultobj;
16903 fail:
16904 return NULL;
16905}
16906
16907
8ac8dba0 16908static PyObject *_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c 16909 PyObject *resultobj;
093d3ff1 16910 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
16911 wxVisualAttributes result;
16912 PyObject * obj0 = 0 ;
16913 char *kwnames[] = {
16914 (char *) "variant", NULL
16915 };
16916
8ac8dba0 16917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
22bfe96c 16918 if (obj0) {
093d3ff1
RD
16919 {
16920 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
16921 if (SWIG_arg_fail(1)) SWIG_fail;
16922 }
22bfe96c
RD
16923 }
16924 {
110da5b0 16925 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c 16926 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 16927 result = wxBookCtrlBase::GetClassDefaultAttributes((wxWindowVariant )arg1);
22bfe96c
RD
16928
16929 wxPyEndAllowThreads(__tstate);
dfbb5885 16930 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
16931 }
16932 {
16933 wxVisualAttributes * resultptr;
093d3ff1 16934 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
22bfe96c
RD
16935 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
16936 }
16937 return resultobj;
16938 fail:
16939 return NULL;
16940}
16941
16942
8ac8dba0 16943static PyObject * BookCtrlBase_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
16944 PyObject *obj;
16945 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8ac8dba0 16946 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBase, obj);
d14a1e28
RD
16947 Py_INCREF(obj);
16948 return Py_BuildValue((char *)"");
16949}
8ac8dba0 16950static PyObject *_wrap_new_BookCtrlBaseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16951 PyObject *resultobj;
16952 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16953 int arg2 = (int) 0 ;
16954 int arg3 = (int) -1 ;
16955 int arg4 = (int) -1 ;
8ac8dba0 16956 wxBookCtrlBaseEvent *result;
994141e6
RD
16957 PyObject * obj0 = 0 ;
16958 PyObject * obj1 = 0 ;
16959 PyObject * obj2 = 0 ;
16960 PyObject * obj3 = 0 ;
d14a1e28
RD
16961 char *kwnames[] = {
16962 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
16963 };
16964
8ac8dba0 16965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
994141e6 16966 if (obj0) {
093d3ff1
RD
16967 {
16968 arg1 = (wxEventType)(SWIG_As_int(obj0));
16969 if (SWIG_arg_fail(1)) SWIG_fail;
16970 }
994141e6
RD
16971 }
16972 if (obj1) {
093d3ff1
RD
16973 {
16974 arg2 = (int)(SWIG_As_int(obj1));
16975 if (SWIG_arg_fail(2)) SWIG_fail;
16976 }
994141e6
RD
16977 }
16978 if (obj2) {
093d3ff1
RD
16979 {
16980 arg3 = (int)(SWIG_As_int(obj2));
16981 if (SWIG_arg_fail(3)) SWIG_fail;
16982 }
994141e6
RD
16983 }
16984 if (obj3) {
093d3ff1
RD
16985 {
16986 arg4 = (int)(SWIG_As_int(obj3));
16987 if (SWIG_arg_fail(4)) SWIG_fail;
16988 }
994141e6 16989 }
d14a1e28
RD
16990 {
16991 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 16992 result = (wxBookCtrlBaseEvent *)new wxBookCtrlBaseEvent(arg1,arg2,arg3,arg4);
d14a1e28
RD
16993
16994 wxPyEndAllowThreads(__tstate);
16995 if (PyErr_Occurred()) SWIG_fail;
16996 }
8ac8dba0 16997 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlBaseEvent, 1);
d14a1e28
RD
16998 return resultobj;
16999 fail:
17000 return NULL;
17001}
17002
17003
8ac8dba0 17004static PyObject *_wrap_BookCtrlBaseEvent_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 17005 PyObject *resultobj;
8ac8dba0 17006 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
d14a1e28
RD
17007 int result;
17008 PyObject * obj0 = 0 ;
17009 char *kwnames[] = {
17010 (char *) "self", NULL
17011 };
17012
8ac8dba0 17013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBaseEvent_GetSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
17014 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
17015 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17016 {
17017 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 17018 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetSelection();
d14a1e28
RD
17019
17020 wxPyEndAllowThreads(__tstate);
17021 if (PyErr_Occurred()) SWIG_fail;
17022 }
093d3ff1
RD
17023 {
17024 resultobj = SWIG_From_int((int)(result));
17025 }
d14a1e28
RD
17026 return resultobj;
17027 fail:
17028 return NULL;
17029}
17030
17031
8ac8dba0 17032static PyObject *_wrap_BookCtrlBaseEvent_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 17033 PyObject *resultobj;
8ac8dba0 17034 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
d14a1e28
RD
17035 int arg2 ;
17036 PyObject * obj0 = 0 ;
994141e6 17037 PyObject * obj1 = 0 ;
d14a1e28
RD
17038 char *kwnames[] = {
17039 (char *) "self",(char *) "nSel", NULL
17040 };
17041
8ac8dba0 17042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17043 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
17044 if (SWIG_arg_fail(1)) SWIG_fail;
17045 {
17046 arg2 = (int)(SWIG_As_int(obj1));
17047 if (SWIG_arg_fail(2)) SWIG_fail;
17048 }
d14a1e28
RD
17049 {
17050 PyThreadState* __tstate = wxPyBeginAllowThreads();
17051 (arg1)->SetSelection(arg2);
17052
17053 wxPyEndAllowThreads(__tstate);
17054 if (PyErr_Occurred()) SWIG_fail;
17055 }
17056 Py_INCREF(Py_None); resultobj = Py_None;
17057 return resultobj;
17058 fail:
17059 return NULL;
17060}
17061
17062
8ac8dba0 17063static PyObject *_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 17064 PyObject *resultobj;
8ac8dba0 17065 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
d14a1e28
RD
17066 int result;
17067 PyObject * obj0 = 0 ;
17068 char *kwnames[] = {
17069 (char *) "self", NULL
17070 };
17071
8ac8dba0 17072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBaseEvent_GetOldSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
17073 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
17074 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17075 {
17076 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 17077 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetOldSelection();
d14a1e28
RD
17078
17079 wxPyEndAllowThreads(__tstate);
17080 if (PyErr_Occurred()) SWIG_fail;
17081 }
093d3ff1
RD
17082 {
17083 resultobj = SWIG_From_int((int)(result));
17084 }
d14a1e28
RD
17085 return resultobj;
17086 fail:
17087 return NULL;
17088}
17089
17090
8ac8dba0 17091static PyObject *_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 17092 PyObject *resultobj;
8ac8dba0 17093 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
d14a1e28
RD
17094 int arg2 ;
17095 PyObject * obj0 = 0 ;
994141e6 17096 PyObject * obj1 = 0 ;
d14a1e28
RD
17097 char *kwnames[] = {
17098 (char *) "self",(char *) "nOldSel", NULL
17099 };
17100
8ac8dba0 17101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17102 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
17103 if (SWIG_arg_fail(1)) SWIG_fail;
17104 {
17105 arg2 = (int)(SWIG_As_int(obj1));
17106 if (SWIG_arg_fail(2)) SWIG_fail;
17107 }
d14a1e28
RD
17108 {
17109 PyThreadState* __tstate = wxPyBeginAllowThreads();
17110 (arg1)->SetOldSelection(arg2);
17111
17112 wxPyEndAllowThreads(__tstate);
17113 if (PyErr_Occurred()) SWIG_fail;
17114 }
17115 Py_INCREF(Py_None); resultobj = Py_None;
17116 return resultobj;
17117 fail:
17118 return NULL;
17119}
17120
17121
8ac8dba0 17122static PyObject * BookCtrlBaseEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
17123 PyObject *obj;
17124 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8ac8dba0 17125 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBaseEvent, obj);
d14a1e28
RD
17126 Py_INCREF(obj);
17127 return Py_BuildValue((char *)"");
17128}
c32bde28 17129static PyObject *_wrap_new_Notebook(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17130 PyObject *resultobj;
17131 wxWindow *arg1 = (wxWindow *) 0 ;
4f89f6a3 17132 int arg2 = (int) -1 ;
d14a1e28
RD
17133 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17134 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17135 wxSize const &arg4_defvalue = wxDefaultSize ;
17136 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17137 long arg5 = (long) 0 ;
17138 wxString const &arg6_defvalue = wxPyNOTEBOOK_NAME ;
17139 wxString *arg6 = (wxString *) &arg6_defvalue ;
17140 wxNotebook *result;
17141 wxPoint temp3 ;
17142 wxSize temp4 ;
ae8162c8 17143 bool temp6 = false ;
d14a1e28 17144 PyObject * obj0 = 0 ;
994141e6 17145 PyObject * obj1 = 0 ;
d14a1e28
RD
17146 PyObject * obj2 = 0 ;
17147 PyObject * obj3 = 0 ;
994141e6 17148 PyObject * obj4 = 0 ;
d14a1e28
RD
17149 PyObject * obj5 = 0 ;
17150 char *kwnames[] = {
17151 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17152 };
17153
4f89f6a3 17154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Notebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
17155 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17156 if (SWIG_arg_fail(1)) SWIG_fail;
4f89f6a3 17157 if (obj1) {
093d3ff1
RD
17158 {
17159 arg2 = (int)(SWIG_As_int(obj1));
17160 if (SWIG_arg_fail(2)) SWIG_fail;
17161 }
4f89f6a3 17162 }
d14a1e28
RD
17163 if (obj2) {
17164 {
17165 arg3 = &temp3;
17166 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17167 }
17168 }
17169 if (obj3) {
17170 {
17171 arg4 = &temp4;
17172 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17173 }
17174 }
994141e6 17175 if (obj4) {
093d3ff1
RD
17176 {
17177 arg5 = (long)(SWIG_As_long(obj4));
17178 if (SWIG_arg_fail(5)) SWIG_fail;
17179 }
994141e6 17180 }
d14a1e28
RD
17181 if (obj5) {
17182 {
17183 arg6 = wxString_in_helper(obj5);
17184 if (arg6 == NULL) SWIG_fail;
ae8162c8 17185 temp6 = true;
d14a1e28
RD
17186 }
17187 }
17188 {
e3b71cb8 17189 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
17190 PyThreadState* __tstate = wxPyBeginAllowThreads();
17191 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17192
17193 wxPyEndAllowThreads(__tstate);
110da5b0 17194 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 17195 }
b0f7404b 17196 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebook, 1);
d14a1e28
RD
17197 {
17198 if (temp6)
17199 delete arg6;
17200 }
17201 return resultobj;
17202 fail:
17203 {
17204 if (temp6)
17205 delete arg6;
17206 }
17207 return NULL;
17208}
17209
17210
c32bde28 17211static PyObject *_wrap_new_PreNotebook(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17212 PyObject *resultobj;
17213 wxNotebook *result;
17214 char *kwnames[] = {
17215 NULL
17216 };
17217
17218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreNotebook",kwnames)) goto fail;
17219 {
e3b71cb8 17220 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
17221 PyThreadState* __tstate = wxPyBeginAllowThreads();
17222 result = (wxNotebook *)new wxNotebook();
17223
17224 wxPyEndAllowThreads(__tstate);
110da5b0 17225 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 17226 }
b0f7404b 17227 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebook, 1);
d14a1e28
RD
17228 return resultobj;
17229 fail:
17230 return NULL;
17231}
17232
17233
c32bde28 17234static PyObject *_wrap_Notebook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17235 PyObject *resultobj;
17236 wxNotebook *arg1 = (wxNotebook *) 0 ;
17237 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 17238 int arg3 = (int) -1 ;
d14a1e28
RD
17239 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17240 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17241 wxSize const &arg5_defvalue = wxDefaultSize ;
17242 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17243 long arg6 = (long) 0 ;
17244 wxString const &arg7_defvalue = wxPyNOTEBOOK_NAME ;
17245 wxString *arg7 = (wxString *) &arg7_defvalue ;
17246 bool result;
17247 wxPoint temp4 ;
17248 wxSize temp5 ;
ae8162c8 17249 bool temp7 = false ;
d14a1e28
RD
17250 PyObject * obj0 = 0 ;
17251 PyObject * obj1 = 0 ;
994141e6 17252 PyObject * obj2 = 0 ;
d14a1e28
RD
17253 PyObject * obj3 = 0 ;
17254 PyObject * obj4 = 0 ;
994141e6 17255 PyObject * obj5 = 0 ;
d14a1e28
RD
17256 PyObject * obj6 = 0 ;
17257 char *kwnames[] = {
17258 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17259 };
17260
248ed943 17261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Notebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
17262 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17263 if (SWIG_arg_fail(1)) SWIG_fail;
17264 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17265 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 17266 if (obj2) {
093d3ff1
RD
17267 {
17268 arg3 = (int)(SWIG_As_int(obj2));
17269 if (SWIG_arg_fail(3)) SWIG_fail;
17270 }
248ed943 17271 }
d14a1e28
RD
17272 if (obj3) {
17273 {
17274 arg4 = &temp4;
17275 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17276 }
17277 }
17278 if (obj4) {
17279 {
17280 arg5 = &temp5;
17281 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17282 }
17283 }
994141e6 17284 if (obj5) {
093d3ff1
RD
17285 {
17286 arg6 = (long)(SWIG_As_long(obj5));
17287 if (SWIG_arg_fail(6)) SWIG_fail;
17288 }
994141e6 17289 }
d14a1e28
RD
17290 if (obj6) {
17291 {
17292 arg7 = wxString_in_helper(obj6);
17293 if (arg7 == NULL) SWIG_fail;
ae8162c8 17294 temp7 = true;
d14a1e28
RD
17295 }
17296 }
17297 {
17298 PyThreadState* __tstate = wxPyBeginAllowThreads();
17299 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17300
17301 wxPyEndAllowThreads(__tstate);
17302 if (PyErr_Occurred()) SWIG_fail;
17303 }
4f89f6a3
RD
17304 {
17305 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17306 }
d14a1e28
RD
17307 {
17308 if (temp7)
17309 delete arg7;
17310 }
17311 return resultobj;
17312 fail:
17313 {
17314 if (temp7)
17315 delete arg7;
17316 }
17317 return NULL;
17318}
17319
17320
c32bde28 17321static PyObject *_wrap_Notebook_GetRowCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17322 PyObject *resultobj;
17323 wxNotebook *arg1 = (wxNotebook *) 0 ;
17324 int result;
17325 PyObject * obj0 = 0 ;
17326 char *kwnames[] = {
17327 (char *) "self", NULL
17328 };
17329
17330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetRowCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
17331 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17332 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17333 {
17334 PyThreadState* __tstate = wxPyBeginAllowThreads();
17335 result = (int)((wxNotebook const *)arg1)->GetRowCount();
17336
17337 wxPyEndAllowThreads(__tstate);
17338 if (PyErr_Occurred()) SWIG_fail;
17339 }
093d3ff1
RD
17340 {
17341 resultobj = SWIG_From_int((int)(result));
17342 }
d14a1e28
RD
17343 return resultobj;
17344 fail:
17345 return NULL;
17346}
17347
17348
c32bde28 17349static PyObject *_wrap_Notebook_SetPadding(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17350 PyObject *resultobj;
17351 wxNotebook *arg1 = (wxNotebook *) 0 ;
17352 wxSize *arg2 = 0 ;
17353 wxSize temp2 ;
17354 PyObject * obj0 = 0 ;
17355 PyObject * obj1 = 0 ;
17356 char *kwnames[] = {
17357 (char *) "self",(char *) "padding", NULL
17358 };
17359
17360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17361 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17362 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17363 {
17364 arg2 = &temp2;
17365 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17366 }
17367 {
17368 PyThreadState* __tstate = wxPyBeginAllowThreads();
17369 (arg1)->SetPadding((wxSize const &)*arg2);
17370
17371 wxPyEndAllowThreads(__tstate);
17372 if (PyErr_Occurred()) SWIG_fail;
17373 }
17374 Py_INCREF(Py_None); resultobj = Py_None;
17375 return resultobj;
17376 fail:
17377 return NULL;
17378}
17379
17380
c32bde28 17381static PyObject *_wrap_Notebook_SetTabSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17382 PyObject *resultobj;
17383 wxNotebook *arg1 = (wxNotebook *) 0 ;
17384 wxSize *arg2 = 0 ;
17385 wxSize temp2 ;
17386 PyObject * obj0 = 0 ;
17387 PyObject * obj1 = 0 ;
17388 char *kwnames[] = {
17389 (char *) "self",(char *) "sz", NULL
17390 };
17391
17392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17393 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17394 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17395 {
17396 arg2 = &temp2;
17397 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17398 }
17399 {
17400 PyThreadState* __tstate = wxPyBeginAllowThreads();
17401 (arg1)->SetTabSize((wxSize const &)*arg2);
17402
17403 wxPyEndAllowThreads(__tstate);
17404 if (PyErr_Occurred()) SWIG_fail;
17405 }
17406 Py_INCREF(Py_None); resultobj = Py_None;
17407 return resultobj;
17408 fail:
17409 return NULL;
17410}
17411
17412
c32bde28 17413static PyObject *_wrap_Notebook_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17414 PyObject *resultobj;
17415 wxNotebook *arg1 = (wxNotebook *) 0 ;
17416 wxPoint *arg2 = 0 ;
17417 long *arg3 = (long *) 0 ;
17418 int result;
17419 wxPoint temp2 ;
17420 long temp3 ;
c32bde28 17421 int res3 = 0 ;
d14a1e28
RD
17422 PyObject * obj0 = 0 ;
17423 PyObject * obj1 = 0 ;
17424 char *kwnames[] = {
17425 (char *) "self",(char *) "pt", NULL
17426 };
17427
c32bde28 17428 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 17429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_HitTest",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17430 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17431 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17432 {
17433 arg2 = &temp2;
17434 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
17435 }
17436 {
17437 PyThreadState* __tstate = wxPyBeginAllowThreads();
17438 result = (int)((wxNotebook const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
17439
17440 wxPyEndAllowThreads(__tstate);
17441 if (PyErr_Occurred()) SWIG_fail;
17442 }
093d3ff1
RD
17443 {
17444 resultobj = SWIG_From_int((int)(result));
17445 }
c32bde28
RD
17446 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17447 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
d14a1e28
RD
17448 return resultobj;
17449 fail:
17450 return NULL;
17451}
17452
17453
c32bde28 17454static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17455 PyObject *resultobj;
17456 wxNotebook *arg1 = (wxNotebook *) 0 ;
17457 wxSize *arg2 = 0 ;
17458 wxSize result;
17459 wxSize temp2 ;
17460 PyObject * obj0 = 0 ;
17461 PyObject * obj1 = 0 ;
17462 char *kwnames[] = {
17463 (char *) "self",(char *) "sizePage", NULL
17464 };
17465
17466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17467 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17468 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17469 {
17470 arg2 = &temp2;
17471 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17472 }
17473 {
17474 PyThreadState* __tstate = wxPyBeginAllowThreads();
17475 result = ((wxNotebook const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
17476
17477 wxPyEndAllowThreads(__tstate);
17478 if (PyErr_Occurred()) SWIG_fail;
17479 }
17480 {
17481 wxSize * resultptr;
093d3ff1 17482 resultptr = new wxSize((wxSize &)(result));
15afbcd0 17483 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
17484 }
17485 return resultobj;
17486 fail:
17487 return NULL;
17488}
17489
17490
c32bde28 17491static PyObject *_wrap_Notebook_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c 17492 PyObject *resultobj;
093d3ff1 17493 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
17494 wxVisualAttributes result;
17495 PyObject * obj0 = 0 ;
17496 char *kwnames[] = {
17497 (char *) "variant", NULL
17498 };
17499
17500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
17501 if (obj0) {
093d3ff1
RD
17502 {
17503 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
17504 if (SWIG_arg_fail(1)) SWIG_fail;
17505 }
22bfe96c
RD
17506 }
17507 {
110da5b0 17508 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
17509 PyThreadState* __tstate = wxPyBeginAllowThreads();
17510 result = wxNotebook::GetClassDefaultAttributes((wxWindowVariant )arg1);
17511
17512 wxPyEndAllowThreads(__tstate);
dfbb5885 17513 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
17514 }
17515 {
17516 wxVisualAttributes * resultptr;
093d3ff1 17517 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
22bfe96c
RD
17518 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
17519 }
17520 return resultobj;
17521 fail:
17522 return NULL;
17523}
17524
17525
c32bde28 17526static PyObject * Notebook_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
17527 PyObject *obj;
17528 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17529 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook, obj);
17530 Py_INCREF(obj);
17531 return Py_BuildValue((char *)"");
17532}
c32bde28 17533static PyObject *_wrap_new_NotebookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17534 PyObject *resultobj;
17535 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17536 int arg2 = (int) 0 ;
17537 int arg3 = (int) -1 ;
17538 int arg4 = (int) -1 ;
17539 wxNotebookEvent *result;
994141e6
RD
17540 PyObject * obj0 = 0 ;
17541 PyObject * obj1 = 0 ;
17542 PyObject * obj2 = 0 ;
17543 PyObject * obj3 = 0 ;
d14a1e28
RD
17544 char *kwnames[] = {
17545 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17546 };
17547
994141e6
RD
17548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_NotebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17549 if (obj0) {
093d3ff1
RD
17550 {
17551 arg1 = (wxEventType)(SWIG_As_int(obj0));
17552 if (SWIG_arg_fail(1)) SWIG_fail;
17553 }
994141e6
RD
17554 }
17555 if (obj1) {
093d3ff1
RD
17556 {
17557 arg2 = (int)(SWIG_As_int(obj1));
17558 if (SWIG_arg_fail(2)) SWIG_fail;
17559 }
994141e6
RD
17560 }
17561 if (obj2) {
093d3ff1
RD
17562 {
17563 arg3 = (int)(SWIG_As_int(obj2));
17564 if (SWIG_arg_fail(3)) SWIG_fail;
17565 }
994141e6
RD
17566 }
17567 if (obj3) {
093d3ff1
RD
17568 {
17569 arg4 = (int)(SWIG_As_int(obj3));
17570 if (SWIG_arg_fail(4)) SWIG_fail;
17571 }
994141e6 17572 }
d14a1e28
RD
17573 {
17574 PyThreadState* __tstate = wxPyBeginAllowThreads();
17575 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
17576
17577 wxPyEndAllowThreads(__tstate);
17578 if (PyErr_Occurred()) SWIG_fail;
17579 }
15afbcd0 17580 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookEvent, 1);
d14a1e28
RD
17581 return resultobj;
17582 fail:
17583 return NULL;
17584}
17585
17586
c32bde28 17587static PyObject * NotebookEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
17588 PyObject *obj;
17589 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17590 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj);
17591 Py_INCREF(obj);
17592 return Py_BuildValue((char *)"");
17593}
c32bde28 17594static PyObject *_wrap_new_Listbook(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17595 PyObject *resultobj;
17596 wxWindow *arg1 = (wxWindow *) 0 ;
4f89f6a3 17597 int arg2 = (int) -1 ;
d14a1e28
RD
17598 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17599 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17600 wxSize const &arg4_defvalue = wxDefaultSize ;
17601 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17602 long arg5 = (long) 0 ;
17603 wxString const &arg6_defvalue = wxPyEmptyString ;
17604 wxString *arg6 = (wxString *) &arg6_defvalue ;
17605 wxListbook *result;
17606 wxPoint temp3 ;
17607 wxSize temp4 ;
ae8162c8 17608 bool temp6 = false ;
d14a1e28 17609 PyObject * obj0 = 0 ;
994141e6 17610 PyObject * obj1 = 0 ;
d14a1e28
RD
17611 PyObject * obj2 = 0 ;
17612 PyObject * obj3 = 0 ;
994141e6 17613 PyObject * obj4 = 0 ;
d14a1e28
RD
17614 PyObject * obj5 = 0 ;
17615 char *kwnames[] = {
17616 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17617 };
17618
4f89f6a3 17619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Listbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
17620 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17621 if (SWIG_arg_fail(1)) SWIG_fail;
4f89f6a3 17622 if (obj1) {
093d3ff1
RD
17623 {
17624 arg2 = (int)(SWIG_As_int(obj1));
17625 if (SWIG_arg_fail(2)) SWIG_fail;
17626 }
4f89f6a3 17627 }
d14a1e28
RD
17628 if (obj2) {
17629 {
17630 arg3 = &temp3;
17631 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17632 }
17633 }
17634 if (obj3) {
17635 {
17636 arg4 = &temp4;
17637 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17638 }
17639 }
994141e6 17640 if (obj4) {
093d3ff1
RD
17641 {
17642 arg5 = (long)(SWIG_As_long(obj4));
17643 if (SWIG_arg_fail(5)) SWIG_fail;
17644 }
994141e6 17645 }
d14a1e28
RD
17646 if (obj5) {
17647 {
17648 arg6 = wxString_in_helper(obj5);
17649 if (arg6 == NULL) SWIG_fail;
ae8162c8 17650 temp6 = true;
d14a1e28
RD
17651 }
17652 }
17653 {
e3b71cb8 17654 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
17655 PyThreadState* __tstate = wxPyBeginAllowThreads();
17656 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17657
17658 wxPyEndAllowThreads(__tstate);
110da5b0 17659 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 17660 }
15afbcd0 17661 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
d14a1e28
RD
17662 {
17663 if (temp6)
17664 delete arg6;
17665 }
17666 return resultobj;
17667 fail:
17668 {
17669 if (temp6)
17670 delete arg6;
17671 }
17672 return NULL;
17673}
17674
17675
c32bde28 17676static PyObject *_wrap_new_PreListbook(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17677 PyObject *resultobj;
17678 wxListbook *result;
17679 char *kwnames[] = {
17680 NULL
17681 };
17682
17683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail;
17684 {
e3b71cb8 17685 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
17686 PyThreadState* __tstate = wxPyBeginAllowThreads();
17687 result = (wxListbook *)new wxListbook();
17688
17689 wxPyEndAllowThreads(__tstate);
110da5b0 17690 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 17691 }
15afbcd0 17692 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
d14a1e28
RD
17693 return resultobj;
17694 fail:
17695 return NULL;
17696}
17697
17698
c32bde28 17699static PyObject *_wrap_Listbook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17700 PyObject *resultobj;
17701 wxListbook *arg1 = (wxListbook *) 0 ;
17702 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 17703 int arg3 = (int) -1 ;
d14a1e28
RD
17704 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17705 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17706 wxSize const &arg5_defvalue = wxDefaultSize ;
17707 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17708 long arg6 = (long) 0 ;
17709 wxString const &arg7_defvalue = wxPyEmptyString ;
17710 wxString *arg7 = (wxString *) &arg7_defvalue ;
17711 bool result;
17712 wxPoint temp4 ;
17713 wxSize temp5 ;
ae8162c8 17714 bool temp7 = false ;
d14a1e28
RD
17715 PyObject * obj0 = 0 ;
17716 PyObject * obj1 = 0 ;
994141e6 17717 PyObject * obj2 = 0 ;
d14a1e28
RD
17718 PyObject * obj3 = 0 ;
17719 PyObject * obj4 = 0 ;
994141e6 17720 PyObject * obj5 = 0 ;
d14a1e28
RD
17721 PyObject * obj6 = 0 ;
17722 char *kwnames[] = {
17723 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17724 };
17725
248ed943 17726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Listbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
17727 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListbook, SWIG_POINTER_EXCEPTION | 0);
17728 if (SWIG_arg_fail(1)) SWIG_fail;
17729 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17730 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 17731 if (obj2) {
093d3ff1
RD
17732 {
17733 arg3 = (int)(SWIG_As_int(obj2));
17734 if (SWIG_arg_fail(3)) SWIG_fail;
17735 }
248ed943 17736 }
d14a1e28
RD
17737 if (obj3) {
17738 {
17739 arg4 = &temp4;
17740 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17741 }
17742 }
17743 if (obj4) {
17744 {
17745 arg5 = &temp5;
17746 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17747 }
17748 }
994141e6 17749 if (obj5) {
093d3ff1
RD
17750 {
17751 arg6 = (long)(SWIG_As_long(obj5));
17752 if (SWIG_arg_fail(6)) SWIG_fail;
17753 }
994141e6 17754 }
d14a1e28
RD
17755 if (obj6) {
17756 {
17757 arg7 = wxString_in_helper(obj6);
17758 if (arg7 == NULL) SWIG_fail;
ae8162c8 17759 temp7 = true;
d14a1e28
RD
17760 }
17761 }
17762 {
17763 PyThreadState* __tstate = wxPyBeginAllowThreads();
17764 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17765
17766 wxPyEndAllowThreads(__tstate);
17767 if (PyErr_Occurred()) SWIG_fail;
17768 }
4f89f6a3
RD
17769 {
17770 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17771 }
d14a1e28
RD
17772 {
17773 if (temp7)
17774 delete arg7;
17775 }
17776 return resultobj;
17777 fail:
17778 {
17779 if (temp7)
17780 delete arg7;
17781 }
17782 return NULL;
17783}
17784
17785
c32bde28 17786static PyObject *_wrap_Listbook_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17787 PyObject *resultobj;
17788 wxListbook *arg1 = (wxListbook *) 0 ;
17789 bool result;
17790 PyObject * obj0 = 0 ;
17791 char *kwnames[] = {
17792 (char *) "self", NULL
17793 };
17794
17795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_IsVertical",kwnames,&obj0)) goto fail;
093d3ff1
RD
17796 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListbook, SWIG_POINTER_EXCEPTION | 0);
17797 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17798 {
17799 PyThreadState* __tstate = wxPyBeginAllowThreads();
17800 result = (bool)((wxListbook const *)arg1)->IsVertical();
17801
17802 wxPyEndAllowThreads(__tstate);
17803 if (PyErr_Occurred()) SWIG_fail;
17804 }
4f89f6a3
RD
17805 {
17806 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17807 }
d14a1e28
RD
17808 return resultobj;
17809 fail:
17810 return NULL;
17811}
17812
17813
1fbf26be
RD
17814static PyObject *_wrap_Listbook_GetListView(PyObject *, PyObject *args, PyObject *kwargs) {
17815 PyObject *resultobj;
17816 wxListbook *arg1 = (wxListbook *) 0 ;
17817 wxListView *result;
17818 PyObject * obj0 = 0 ;
17819 char *kwnames[] = {
17820 (char *) "self", NULL
17821 };
17822
17823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_GetListView",kwnames,&obj0)) goto fail;
093d3ff1
RD
17824 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListbook, SWIG_POINTER_EXCEPTION | 0);
17825 if (SWIG_arg_fail(1)) SWIG_fail;
1fbf26be
RD
17826 {
17827 PyThreadState* __tstate = wxPyBeginAllowThreads();
17828 result = (wxListView *)(arg1)->GetListView();
17829
17830 wxPyEndAllowThreads(__tstate);
17831 if (PyErr_Occurred()) SWIG_fail;
17832 }
17833 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 0);
17834 return resultobj;
17835 fail:
17836 return NULL;
17837}
17838
17839
c32bde28 17840static PyObject * Listbook_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
17841 PyObject *obj;
17842 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17843 SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
17844 Py_INCREF(obj);
17845 return Py_BuildValue((char *)"");
17846}
c32bde28 17847static PyObject *_wrap_new_ListbookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17848 PyObject *resultobj;
17849 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17850 int arg2 = (int) 0 ;
17851 int arg3 = (int) -1 ;
17852 int arg4 = (int) -1 ;
17853 wxListbookEvent *result;
994141e6
RD
17854 PyObject * obj0 = 0 ;
17855 PyObject * obj1 = 0 ;
17856 PyObject * obj2 = 0 ;
17857 PyObject * obj3 = 0 ;
d14a1e28
RD
17858 char *kwnames[] = {
17859 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17860 };
17861
994141e6
RD
17862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ListbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17863 if (obj0) {
093d3ff1
RD
17864 {
17865 arg1 = (wxEventType)(SWIG_As_int(obj0));
17866 if (SWIG_arg_fail(1)) SWIG_fail;
17867 }
994141e6
RD
17868 }
17869 if (obj1) {
093d3ff1
RD
17870 {
17871 arg2 = (int)(SWIG_As_int(obj1));
17872 if (SWIG_arg_fail(2)) SWIG_fail;
17873 }
994141e6
RD
17874 }
17875 if (obj2) {
093d3ff1
RD
17876 {
17877 arg3 = (int)(SWIG_As_int(obj2));
17878 if (SWIG_arg_fail(3)) SWIG_fail;
17879 }
994141e6
RD
17880 }
17881 if (obj3) {
093d3ff1
RD
17882 {
17883 arg4 = (int)(SWIG_As_int(obj3));
17884 if (SWIG_arg_fail(4)) SWIG_fail;
17885 }
994141e6 17886 }
d14a1e28
RD
17887 {
17888 PyThreadState* __tstate = wxPyBeginAllowThreads();
17889 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
17890
17891 wxPyEndAllowThreads(__tstate);
17892 if (PyErr_Occurred()) SWIG_fail;
17893 }
15afbcd0 17894 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbookEvent, 1);
d14a1e28
RD
17895 return resultobj;
17896 fail:
17897 return NULL;
17898}
17899
17900
c32bde28 17901static PyObject * ListbookEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
17902 PyObject *obj;
17903 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17904 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
17905 Py_INCREF(obj);
17906 return Py_BuildValue((char *)"");
17907}
2ef75293
RD
17908static PyObject *_wrap_new_Choicebook(PyObject *, PyObject *args, PyObject *kwargs) {
17909 PyObject *resultobj;
17910 wxWindow *arg1 = (wxWindow *) 0 ;
17911 int arg2 ;
17912 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17913 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17914 wxSize const &arg4_defvalue = wxDefaultSize ;
17915 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17916 long arg5 = (long) 0 ;
17917 wxString const &arg6_defvalue = wxPyEmptyString ;
17918 wxString *arg6 = (wxString *) &arg6_defvalue ;
17919 wxChoicebook *result;
17920 wxPoint temp3 ;
17921 wxSize temp4 ;
ae8162c8 17922 bool temp6 = false ;
2ef75293
RD
17923 PyObject * obj0 = 0 ;
17924 PyObject * obj1 = 0 ;
17925 PyObject * obj2 = 0 ;
17926 PyObject * obj3 = 0 ;
17927 PyObject * obj4 = 0 ;
17928 PyObject * obj5 = 0 ;
17929 char *kwnames[] = {
17930 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17931 };
17932
17933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Choicebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
17934 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17935 if (SWIG_arg_fail(1)) SWIG_fail;
17936 {
17937 arg2 = (int)(SWIG_As_int(obj1));
17938 if (SWIG_arg_fail(2)) SWIG_fail;
17939 }
2ef75293
RD
17940 if (obj2) {
17941 {
17942 arg3 = &temp3;
17943 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17944 }
17945 }
17946 if (obj3) {
17947 {
17948 arg4 = &temp4;
17949 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17950 }
17951 }
17952 if (obj4) {
093d3ff1
RD
17953 {
17954 arg5 = (long)(SWIG_As_long(obj4));
17955 if (SWIG_arg_fail(5)) SWIG_fail;
17956 }
2ef75293
RD
17957 }
17958 if (obj5) {
17959 {
17960 arg6 = wxString_in_helper(obj5);
17961 if (arg6 == NULL) SWIG_fail;
ae8162c8 17962 temp6 = true;
2ef75293
RD
17963 }
17964 }
17965 {
17966 if (!wxPyCheckForApp()) SWIG_fail;
17967 PyThreadState* __tstate = wxPyBeginAllowThreads();
17968 result = (wxChoicebook *)new wxChoicebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17969
17970 wxPyEndAllowThreads(__tstate);
17971 if (PyErr_Occurred()) SWIG_fail;
17972 }
17973 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebook, 1);
17974 {
17975 if (temp6)
17976 delete arg6;
17977 }
17978 return resultobj;
17979 fail:
17980 {
17981 if (temp6)
17982 delete arg6;
17983 }
17984 return NULL;
17985}
17986
17987
17988static PyObject *_wrap_new_PreChoicebook(PyObject *, PyObject *args, PyObject *kwargs) {
17989 PyObject *resultobj;
17990 wxChoicebook *result;
17991 char *kwnames[] = {
17992 NULL
17993 };
17994
17995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoicebook",kwnames)) goto fail;
17996 {
17997 if (!wxPyCheckForApp()) SWIG_fail;
17998 PyThreadState* __tstate = wxPyBeginAllowThreads();
17999 result = (wxChoicebook *)new wxChoicebook();
18000
18001 wxPyEndAllowThreads(__tstate);
18002 if (PyErr_Occurred()) SWIG_fail;
18003 }
18004 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebook, 1);
18005 return resultobj;
18006 fail:
18007 return NULL;
18008}
18009
18010
18011static PyObject *_wrap_Choicebook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
18012 PyObject *resultobj;
18013 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
18014 wxWindow *arg2 = (wxWindow *) 0 ;
18015 int arg3 ;
18016 wxPoint const &arg4_defvalue = wxDefaultPosition ;
18017 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
18018 wxSize const &arg5_defvalue = wxDefaultSize ;
18019 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
18020 long arg6 = (long) 0 ;
18021 wxString const &arg7_defvalue = wxPyEmptyString ;
18022 wxString *arg7 = (wxString *) &arg7_defvalue ;
18023 bool result;
18024 wxPoint temp4 ;
18025 wxSize temp5 ;
ae8162c8 18026 bool temp7 = false ;
2ef75293
RD
18027 PyObject * obj0 = 0 ;
18028 PyObject * obj1 = 0 ;
18029 PyObject * obj2 = 0 ;
18030 PyObject * obj3 = 0 ;
18031 PyObject * obj4 = 0 ;
18032 PyObject * obj5 = 0 ;
18033 PyObject * obj6 = 0 ;
18034 char *kwnames[] = {
18035 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18036 };
18037
18038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Choicebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
18039 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
18040 if (SWIG_arg_fail(1)) SWIG_fail;
18041 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18042 if (SWIG_arg_fail(2)) SWIG_fail;
18043 {
18044 arg3 = (int)(SWIG_As_int(obj2));
18045 if (SWIG_arg_fail(3)) SWIG_fail;
18046 }
2ef75293
RD
18047 if (obj3) {
18048 {
18049 arg4 = &temp4;
18050 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
18051 }
18052 }
18053 if (obj4) {
18054 {
18055 arg5 = &temp5;
18056 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
18057 }
18058 }
18059 if (obj5) {
093d3ff1
RD
18060 {
18061 arg6 = (long)(SWIG_As_long(obj5));
18062 if (SWIG_arg_fail(6)) SWIG_fail;
18063 }
2ef75293
RD
18064 }
18065 if (obj6) {
18066 {
18067 arg7 = wxString_in_helper(obj6);
18068 if (arg7 == NULL) SWIG_fail;
ae8162c8 18069 temp7 = true;
2ef75293
RD
18070 }
18071 }
18072 {
18073 PyThreadState* __tstate = wxPyBeginAllowThreads();
18074 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
18075
18076 wxPyEndAllowThreads(__tstate);
18077 if (PyErr_Occurred()) SWIG_fail;
18078 }
18079 {
18080 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18081 }
18082 {
18083 if (temp7)
18084 delete arg7;
18085 }
18086 return resultobj;
18087 fail:
18088 {
18089 if (temp7)
18090 delete arg7;
18091 }
18092 return NULL;
18093}
18094
18095
18096static PyObject *_wrap_Choicebook_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
18097 PyObject *resultobj;
18098 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
18099 bool result;
18100 PyObject * obj0 = 0 ;
18101 char *kwnames[] = {
18102 (char *) "self", NULL
18103 };
18104
18105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_IsVertical",kwnames,&obj0)) goto fail;
093d3ff1
RD
18106 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
18107 if (SWIG_arg_fail(1)) SWIG_fail;
2ef75293
RD
18108 {
18109 PyThreadState* __tstate = wxPyBeginAllowThreads();
18110 result = (bool)((wxChoicebook const *)arg1)->IsVertical();
18111
18112 wxPyEndAllowThreads(__tstate);
18113 if (PyErr_Occurred()) SWIG_fail;
18114 }
18115 {
18116 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18117 }
18118 return resultobj;
18119 fail:
18120 return NULL;
18121}
18122
18123
18124static PyObject *_wrap_Choicebook_DeleteAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
18125 PyObject *resultobj;
18126 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
18127 bool result;
18128 PyObject * obj0 = 0 ;
18129 char *kwnames[] = {
18130 (char *) "self", NULL
18131 };
18132
18133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_DeleteAllPages",kwnames,&obj0)) goto fail;
093d3ff1
RD
18134 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
18135 if (SWIG_arg_fail(1)) SWIG_fail;
2ef75293
RD
18136 {
18137 PyThreadState* __tstate = wxPyBeginAllowThreads();
18138 result = (bool)(arg1)->DeleteAllPages();
18139
18140 wxPyEndAllowThreads(__tstate);
18141 if (PyErr_Occurred()) SWIG_fail;
18142 }
18143 {
18144 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18145 }
18146 return resultobj;
18147 fail:
18148 return NULL;
18149}
18150
18151
18152static PyObject * Choicebook_swigregister(PyObject *, PyObject *args) {
18153 PyObject *obj;
18154 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18155 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebook, obj);
18156 Py_INCREF(obj);
18157 return Py_BuildValue((char *)"");
18158}
18159static PyObject *_wrap_new_ChoicebookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
18160 PyObject *resultobj;
18161 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
18162 int arg2 = (int) 0 ;
18163 int arg3 = (int) -1 ;
18164 int arg4 = (int) -1 ;
18165 wxChoicebookEvent *result;
18166 PyObject * obj0 = 0 ;
18167 PyObject * obj1 = 0 ;
18168 PyObject * obj2 = 0 ;
18169 PyObject * obj3 = 0 ;
18170 char *kwnames[] = {
18171 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
18172 };
18173
18174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ChoicebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18175 if (obj0) {
093d3ff1
RD
18176 {
18177 arg1 = (wxEventType)(SWIG_As_int(obj0));
18178 if (SWIG_arg_fail(1)) SWIG_fail;
18179 }
2ef75293
RD
18180 }
18181 if (obj1) {
093d3ff1
RD
18182 {
18183 arg2 = (int)(SWIG_As_int(obj1));
18184 if (SWIG_arg_fail(2)) SWIG_fail;
18185 }
2ef75293
RD
18186 }
18187 if (obj2) {
093d3ff1
RD
18188 {
18189 arg3 = (int)(SWIG_As_int(obj2));
18190 if (SWIG_arg_fail(3)) SWIG_fail;
18191 }
2ef75293
RD
18192 }
18193 if (obj3) {
093d3ff1
RD
18194 {
18195 arg4 = (int)(SWIG_As_int(obj3));
18196 if (SWIG_arg_fail(4)) SWIG_fail;
18197 }
2ef75293
RD
18198 }
18199 {
18200 PyThreadState* __tstate = wxPyBeginAllowThreads();
18201 result = (wxChoicebookEvent *)new wxChoicebookEvent(arg1,arg2,arg3,arg4);
18202
18203 wxPyEndAllowThreads(__tstate);
18204 if (PyErr_Occurred()) SWIG_fail;
18205 }
18206 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebookEvent, 1);
18207 return resultobj;
18208 fail:
18209 return NULL;
18210}
18211
18212
18213static PyObject * ChoicebookEvent_swigregister(PyObject *, PyObject *args) {
18214 PyObject *obj;
18215 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18216 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebookEvent, obj);
18217 Py_INCREF(obj);
18218 return Py_BuildValue((char *)"");
18219}
c32bde28 18220static PyObject *_wrap_new_BookCtrlSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 18221 PyObject *resultobj;
8ac8dba0 18222 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d14a1e28
RD
18223 wxBookCtrlSizer *result;
18224 PyObject * obj0 = 0 ;
18225 char *kwnames[] = {
18226 (char *) "nb", NULL
18227 };
18228
18229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BookCtrlSizer",kwnames,&obj0)) goto fail;
093d3ff1
RD
18230 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
18231 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18232 {
18233 PyThreadState* __tstate = wxPyBeginAllowThreads();
18234 result = (wxBookCtrlSizer *)new wxBookCtrlSizer(arg1);
18235
18236 wxPyEndAllowThreads(__tstate);
18237 if (PyErr_Occurred()) SWIG_fail;
18238 }
15afbcd0 18239 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlSizer, 1);
d14a1e28
RD
18240 return resultobj;
18241 fail:
18242 return NULL;
18243}
18244
18245
c32bde28 18246static PyObject *_wrap_BookCtrlSizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18247 PyObject *resultobj;
18248 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
18249 PyObject * obj0 = 0 ;
18250 char *kwnames[] = {
18251 (char *) "self", NULL
18252 };
18253
18254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames,&obj0)) goto fail;
093d3ff1
RD
18255 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlSizer, SWIG_POINTER_EXCEPTION | 0);
18256 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18257 {
18258 PyThreadState* __tstate = wxPyBeginAllowThreads();
18259 (arg1)->RecalcSizes();
18260
18261 wxPyEndAllowThreads(__tstate);
18262 if (PyErr_Occurred()) SWIG_fail;
18263 }
18264 Py_INCREF(Py_None); resultobj = Py_None;
18265 return resultobj;
18266 fail:
18267 return NULL;
18268}
18269
18270
c32bde28 18271static PyObject *_wrap_BookCtrlSizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18272 PyObject *resultobj;
18273 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
18274 wxSize result;
18275 PyObject * obj0 = 0 ;
18276 char *kwnames[] = {
18277 (char *) "self", NULL
18278 };
18279
18280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_CalcMin",kwnames,&obj0)) goto fail;
093d3ff1
RD
18281 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlSizer, SWIG_POINTER_EXCEPTION | 0);
18282 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18283 {
18284 PyThreadState* __tstate = wxPyBeginAllowThreads();
18285 result = (arg1)->CalcMin();
18286
18287 wxPyEndAllowThreads(__tstate);
18288 if (PyErr_Occurred()) SWIG_fail;
18289 }
18290 {
18291 wxSize * resultptr;
093d3ff1 18292 resultptr = new wxSize((wxSize &)(result));
15afbcd0 18293 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
18294 }
18295 return resultobj;
18296 fail:
18297 return NULL;
18298}
18299
18300
c32bde28 18301static PyObject *_wrap_BookCtrlSizer_GetControl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18302 PyObject *resultobj;
18303 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
8ac8dba0 18304 wxBookCtrlBase *result;
d14a1e28
RD
18305 PyObject * obj0 = 0 ;
18306 char *kwnames[] = {
18307 (char *) "self", NULL
18308 };
18309
18310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_GetControl",kwnames,&obj0)) goto fail;
093d3ff1
RD
18311 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlSizer, SWIG_POINTER_EXCEPTION | 0);
18312 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18313 {
18314 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 18315 result = (wxBookCtrlBase *)(arg1)->GetControl();
d14a1e28
RD
18316
18317 wxPyEndAllowThreads(__tstate);
18318 if (PyErr_Occurred()) SWIG_fail;
18319 }
8ac8dba0 18320 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlBase, 0);
d14a1e28
RD
18321 return resultobj;
18322 fail:
18323 return NULL;
18324}
18325
18326
c32bde28 18327static PyObject * BookCtrlSizer_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
18328 PyObject *obj;
18329 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18330 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer, obj);
18331 Py_INCREF(obj);
18332 return Py_BuildValue((char *)"");
18333}
c32bde28 18334static PyObject *_wrap_new_NotebookSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18335 PyObject *resultobj;
18336 wxNotebook *arg1 = (wxNotebook *) 0 ;
18337 wxNotebookSizer *result;
18338 PyObject * obj0 = 0 ;
18339 char *kwnames[] = {
18340 (char *) "nb", NULL
18341 };
18342
18343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_NotebookSizer",kwnames,&obj0)) goto fail;
093d3ff1
RD
18344 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
18345 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18346 {
18347 PyThreadState* __tstate = wxPyBeginAllowThreads();
18348 result = (wxNotebookSizer *)new wxNotebookSizer(arg1);
18349
18350 wxPyEndAllowThreads(__tstate);
18351 if (PyErr_Occurred()) SWIG_fail;
18352 }
15afbcd0 18353 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookSizer, 1);
d14a1e28
RD
18354 return resultobj;
18355 fail:
18356 return NULL;
18357}
18358
18359
c32bde28 18360static PyObject *_wrap_NotebookSizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18361 PyObject *resultobj;
18362 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
18363 PyObject * obj0 = 0 ;
18364 char *kwnames[] = {
18365 (char *) "self", NULL
18366 };
18367
18368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_RecalcSizes",kwnames,&obj0)) goto fail;
093d3ff1
RD
18369 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebookSizer, SWIG_POINTER_EXCEPTION | 0);
18370 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18371 {
18372 PyThreadState* __tstate = wxPyBeginAllowThreads();
18373 (arg1)->RecalcSizes();
18374
18375 wxPyEndAllowThreads(__tstate);
18376 if (PyErr_Occurred()) SWIG_fail;
18377 }
18378 Py_INCREF(Py_None); resultobj = Py_None;
18379 return resultobj;
18380 fail:
18381 return NULL;
18382}
18383
18384
c32bde28 18385static PyObject *_wrap_NotebookSizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18386 PyObject *resultobj;
18387 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
18388 wxSize result;
18389 PyObject * obj0 = 0 ;
18390 char *kwnames[] = {
18391 (char *) "self", NULL
18392 };
18393
18394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_CalcMin",kwnames,&obj0)) goto fail;
093d3ff1
RD
18395 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebookSizer, SWIG_POINTER_EXCEPTION | 0);
18396 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18397 {
18398 PyThreadState* __tstate = wxPyBeginAllowThreads();
18399 result = (arg1)->CalcMin();
18400
18401 wxPyEndAllowThreads(__tstate);
18402 if (PyErr_Occurred()) SWIG_fail;
18403 }
18404 {
18405 wxSize * resultptr;
093d3ff1 18406 resultptr = new wxSize((wxSize &)(result));
15afbcd0 18407 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
18408 }
18409 return resultobj;
18410 fail:
18411 return NULL;
18412}
18413
18414
c32bde28 18415static PyObject *_wrap_NotebookSizer_GetNotebook(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18416 PyObject *resultobj;
18417 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
18418 wxNotebook *result;
18419 PyObject * obj0 = 0 ;
18420 char *kwnames[] = {
18421 (char *) "self", NULL
18422 };
18423
18424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_GetNotebook",kwnames,&obj0)) goto fail;
093d3ff1
RD
18425 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebookSizer, SWIG_POINTER_EXCEPTION | 0);
18426 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18427 {
18428 PyThreadState* __tstate = wxPyBeginAllowThreads();
18429 result = (wxNotebook *)(arg1)->GetNotebook();
18430
18431 wxPyEndAllowThreads(__tstate);
18432 if (PyErr_Occurred()) SWIG_fail;
18433 }
18434 {
412d302d 18435 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
18436 }
18437 return resultobj;
18438 fail:
18439 return NULL;
18440}
18441
18442
c32bde28 18443static PyObject * NotebookSizer_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
18444 PyObject *obj;
18445 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18446 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer, obj);
18447 Py_INCREF(obj);
18448 return Py_BuildValue((char *)"");
18449}
c32bde28 18450static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18451 PyObject *resultobj;
18452 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18453 int result;
18454 PyObject * obj0 = 0 ;
18455 char *kwnames[] = {
18456 (char *) "self", NULL
18457 };
18458
18459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetId",kwnames,&obj0)) goto fail;
093d3ff1
RD
18460 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18461 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18462 {
18463 PyThreadState* __tstate = wxPyBeginAllowThreads();
18464 result = (int)(arg1)->GetId();
18465
18466 wxPyEndAllowThreads(__tstate);
18467 if (PyErr_Occurred()) SWIG_fail;
18468 }
093d3ff1
RD
18469 {
18470 resultobj = SWIG_From_int((int)(result));
18471 }
d14a1e28
RD
18472 return resultobj;
18473 fail:
18474 return NULL;
18475}
18476
18477
c32bde28 18478static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18479 PyObject *resultobj;
18480 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18481 wxControl *result;
18482 PyObject * obj0 = 0 ;
18483 char *kwnames[] = {
18484 (char *) "self", NULL
18485 };
18486
18487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetControl",kwnames,&obj0)) goto fail;
093d3ff1
RD
18488 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18489 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18490 {
18491 PyThreadState* __tstate = wxPyBeginAllowThreads();
18492 result = (wxControl *)(arg1)->GetControl();
18493
18494 wxPyEndAllowThreads(__tstate);
18495 if (PyErr_Occurred()) SWIG_fail;
18496 }
18497 {
412d302d 18498 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
18499 }
18500 return resultobj;
18501 fail:
18502 return NULL;
18503}
18504
18505
c32bde28 18506static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18507 PyObject *resultobj;
18508 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18509 wxToolBarBase *result;
18510 PyObject * obj0 = 0 ;
18511 char *kwnames[] = {
18512 (char *) "self", NULL
18513 };
18514
18515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetToolBar",kwnames,&obj0)) goto fail;
093d3ff1
RD
18516 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18517 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18518 {
18519 PyThreadState* __tstate = wxPyBeginAllowThreads();
18520 result = (wxToolBarBase *)(arg1)->GetToolBar();
18521
18522 wxPyEndAllowThreads(__tstate);
18523 if (PyErr_Occurred()) SWIG_fail;
18524 }
18525 {
412d302d 18526 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
18527 }
18528 return resultobj;
18529 fail:
18530 return NULL;
18531}
18532
18533
c32bde28 18534static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18535 PyObject *resultobj;
18536 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18537 int result;
18538 PyObject * obj0 = 0 ;
18539 char *kwnames[] = {
18540 (char *) "self", NULL
18541 };
18542
18543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsButton",kwnames,&obj0)) goto fail;
093d3ff1
RD
18544 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18545 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18546 {
18547 PyThreadState* __tstate = wxPyBeginAllowThreads();
18548 result = (int)(arg1)->IsButton();
18549
18550 wxPyEndAllowThreads(__tstate);
18551 if (PyErr_Occurred()) SWIG_fail;
18552 }
093d3ff1
RD
18553 {
18554 resultobj = SWIG_From_int((int)(result));
18555 }
d14a1e28
RD
18556 return resultobj;
18557 fail:
18558 return NULL;
18559}
18560
18561
c32bde28 18562static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18563 PyObject *resultobj;
18564 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18565 int result;
18566 PyObject * obj0 = 0 ;
18567 char *kwnames[] = {
18568 (char *) "self", NULL
18569 };
18570
18571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsControl",kwnames,&obj0)) goto fail;
093d3ff1
RD
18572 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18573 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18574 {
18575 PyThreadState* __tstate = wxPyBeginAllowThreads();
18576 result = (int)(arg1)->IsControl();
18577
18578 wxPyEndAllowThreads(__tstate);
18579 if (PyErr_Occurred()) SWIG_fail;
18580 }
093d3ff1
RD
18581 {
18582 resultobj = SWIG_From_int((int)(result));
18583 }
d14a1e28
RD
18584 return resultobj;
18585 fail:
18586 return NULL;
18587}
18588
18589
c32bde28 18590static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18591 PyObject *resultobj;
18592 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18593 int result;
18594 PyObject * obj0 = 0 ;
18595 char *kwnames[] = {
18596 (char *) "self", NULL
18597 };
18598
18599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsSeparator",kwnames,&obj0)) goto fail;
093d3ff1
RD
18600 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18601 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18602 {
18603 PyThreadState* __tstate = wxPyBeginAllowThreads();
18604 result = (int)(arg1)->IsSeparator();
18605
18606 wxPyEndAllowThreads(__tstate);
18607 if (PyErr_Occurred()) SWIG_fail;
18608 }
093d3ff1
RD
18609 {
18610 resultobj = SWIG_From_int((int)(result));
18611 }
d14a1e28
RD
18612 return resultobj;
18613 fail:
18614 return NULL;
18615}
18616
18617
c32bde28 18618static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18619 PyObject *resultobj;
18620 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18621 int result;
18622 PyObject * obj0 = 0 ;
18623 char *kwnames[] = {
18624 (char *) "self", NULL
18625 };
18626
18627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetStyle",kwnames,&obj0)) goto fail;
093d3ff1
RD
18628 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18629 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18630 {
18631 PyThreadState* __tstate = wxPyBeginAllowThreads();
18632 result = (int)(arg1)->GetStyle();
18633
18634 wxPyEndAllowThreads(__tstate);
18635 if (PyErr_Occurred()) SWIG_fail;
18636 }
093d3ff1
RD
18637 {
18638 resultobj = SWIG_From_int((int)(result));
18639 }
d14a1e28
RD
18640 return resultobj;
18641 fail:
18642 return NULL;
18643}
18644
18645
c32bde28 18646static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18647 PyObject *resultobj;
18648 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
093d3ff1 18649 wxItemKind result;
d14a1e28
RD
18650 PyObject * obj0 = 0 ;
18651 char *kwnames[] = {
18652 (char *) "self", NULL
18653 };
18654
18655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetKind",kwnames,&obj0)) goto fail;
093d3ff1
RD
18656 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18657 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18658 {
18659 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 18660 result = (wxItemKind)(arg1)->GetKind();
d14a1e28
RD
18661
18662 wxPyEndAllowThreads(__tstate);
18663 if (PyErr_Occurred()) SWIG_fail;
18664 }
093d3ff1 18665 resultobj = SWIG_From_int((result));
d14a1e28
RD
18666 return resultobj;
18667 fail:
18668 return NULL;
18669}
18670
18671
c32bde28 18672static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18673 PyObject *resultobj;
18674 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18675 bool result;
18676 PyObject * obj0 = 0 ;
18677 char *kwnames[] = {
18678 (char *) "self", NULL
18679 };
18680
18681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsEnabled",kwnames,&obj0)) goto fail;
093d3ff1
RD
18682 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18683 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18684 {
18685 PyThreadState* __tstate = wxPyBeginAllowThreads();
18686 result = (bool)(arg1)->IsEnabled();
18687
18688 wxPyEndAllowThreads(__tstate);
18689 if (PyErr_Occurred()) SWIG_fail;
18690 }
4f89f6a3
RD
18691 {
18692 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18693 }
d14a1e28
RD
18694 return resultobj;
18695 fail:
18696 return NULL;
18697}
18698
18699
c32bde28 18700static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18701 PyObject *resultobj;
18702 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18703 bool result;
18704 PyObject * obj0 = 0 ;
18705 char *kwnames[] = {
18706 (char *) "self", NULL
18707 };
18708
18709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsToggled",kwnames,&obj0)) goto fail;
093d3ff1
RD
18710 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18711 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18712 {
18713 PyThreadState* __tstate = wxPyBeginAllowThreads();
18714 result = (bool)(arg1)->IsToggled();
18715
18716 wxPyEndAllowThreads(__tstate);
18717 if (PyErr_Occurred()) SWIG_fail;
18718 }
4f89f6a3
RD
18719 {
18720 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18721 }
d14a1e28
RD
18722 return resultobj;
18723 fail:
18724 return NULL;
18725}
18726
18727
c32bde28 18728static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18729 PyObject *resultobj;
18730 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18731 bool result;
18732 PyObject * obj0 = 0 ;
18733 char *kwnames[] = {
18734 (char *) "self", NULL
18735 };
18736
18737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames,&obj0)) goto fail;
093d3ff1
RD
18738 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18739 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18740 {
18741 PyThreadState* __tstate = wxPyBeginAllowThreads();
18742 result = (bool)(arg1)->CanBeToggled();
18743
18744 wxPyEndAllowThreads(__tstate);
18745 if (PyErr_Occurred()) SWIG_fail;
18746 }
4f89f6a3
RD
18747 {
18748 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18749 }
d14a1e28
RD
18750 return resultobj;
18751 fail:
18752 return NULL;
18753}
18754
18755
c32bde28 18756static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18757 PyObject *resultobj;
18758 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18759 wxBitmap *result;
18760 PyObject * obj0 = 0 ;
18761 char *kwnames[] = {
18762 (char *) "self", NULL
18763 };
18764
18765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames,&obj0)) goto fail;
093d3ff1
RD
18766 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18767 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18768 {
18769 PyThreadState* __tstate = wxPyBeginAllowThreads();
18770 {
18771 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
18772 result = (wxBitmap *) &_result_ref;
18773 }
18774
18775 wxPyEndAllowThreads(__tstate);
18776 if (PyErr_Occurred()) SWIG_fail;
18777 }
4276dc52
RD
18778 {
18779 wxBitmap* resultptr = new wxBitmap(*result);
18780 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
18781 }
d14a1e28
RD
18782 return resultobj;
18783 fail:
18784 return NULL;
18785}
18786
18787
c32bde28 18788static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18789 PyObject *resultobj;
18790 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18791 wxBitmap *result;
18792 PyObject * obj0 = 0 ;
18793 char *kwnames[] = {
18794 (char *) "self", NULL
18795 };
18796
18797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames,&obj0)) goto fail;
093d3ff1
RD
18798 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18799 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18800 {
18801 PyThreadState* __tstate = wxPyBeginAllowThreads();
18802 {
18803 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
18804 result = (wxBitmap *) &_result_ref;
18805 }
18806
18807 wxPyEndAllowThreads(__tstate);
18808 if (PyErr_Occurred()) SWIG_fail;
18809 }
4276dc52
RD
18810 {
18811 wxBitmap* resultptr = new wxBitmap(*result);
18812 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
18813 }
d14a1e28
RD
18814 return resultobj;
18815 fail:
18816 return NULL;
18817}
18818
18819
c32bde28 18820static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18821 PyObject *resultobj;
18822 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18823 wxBitmap result;
18824 PyObject * obj0 = 0 ;
18825 char *kwnames[] = {
18826 (char *) "self", NULL
18827 };
18828
18829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetBitmap",kwnames,&obj0)) goto fail;
093d3ff1
RD
18830 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18831 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18832 {
18833 PyThreadState* __tstate = wxPyBeginAllowThreads();
18834 result = (arg1)->GetBitmap();
18835
18836 wxPyEndAllowThreads(__tstate);
18837 if (PyErr_Occurred()) SWIG_fail;
18838 }
18839 {
18840 wxBitmap * resultptr;
093d3ff1 18841 resultptr = new wxBitmap((wxBitmap &)(result));
15afbcd0 18842 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
18843 }
18844 return resultobj;
18845 fail:
18846 return NULL;
18847}
18848
18849
c32bde28 18850static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18851 PyObject *resultobj;
18852 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18853 wxString result;
18854 PyObject * obj0 = 0 ;
18855 char *kwnames[] = {
18856 (char *) "self", NULL
18857 };
18858
18859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLabel",kwnames,&obj0)) goto fail;
093d3ff1
RD
18860 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18861 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18862 {
18863 PyThreadState* __tstate = wxPyBeginAllowThreads();
18864 result = (arg1)->GetLabel();
18865
18866 wxPyEndAllowThreads(__tstate);
18867 if (PyErr_Occurred()) SWIG_fail;
18868 }
18869 {
18870#if wxUSE_UNICODE
18871 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18872#else
18873 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18874#endif
18875 }
18876 return resultobj;
18877 fail:
18878 return NULL;
18879}
18880
18881
c32bde28 18882static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18883 PyObject *resultobj;
18884 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18885 wxString result;
18886 PyObject * obj0 = 0 ;
18887 char *kwnames[] = {
18888 (char *) "self", NULL
18889 };
18890
18891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames,&obj0)) goto fail;
093d3ff1
RD
18892 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18893 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18894 {
18895 PyThreadState* __tstate = wxPyBeginAllowThreads();
18896 result = (arg1)->GetShortHelp();
18897
18898 wxPyEndAllowThreads(__tstate);
18899 if (PyErr_Occurred()) SWIG_fail;
18900 }
18901 {
18902#if wxUSE_UNICODE
18903 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18904#else
18905 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18906#endif
18907 }
18908 return resultobj;
18909 fail:
18910 return NULL;
18911}
18912
18913
c32bde28 18914static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18915 PyObject *resultobj;
18916 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18917 wxString result;
18918 PyObject * obj0 = 0 ;
18919 char *kwnames[] = {
18920 (char *) "self", NULL
18921 };
18922
18923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames,&obj0)) goto fail;
093d3ff1
RD
18924 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18925 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18926 {
18927 PyThreadState* __tstate = wxPyBeginAllowThreads();
18928 result = (arg1)->GetLongHelp();
18929
18930 wxPyEndAllowThreads(__tstate);
18931 if (PyErr_Occurred()) SWIG_fail;
18932 }
18933 {
18934#if wxUSE_UNICODE
18935 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18936#else
18937 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18938#endif
18939 }
18940 return resultobj;
18941 fail:
18942 return NULL;
18943}
18944
18945
c32bde28 18946static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18947 PyObject *resultobj;
18948 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18949 bool arg2 ;
18950 bool result;
18951 PyObject * obj0 = 0 ;
18952 PyObject * obj1 = 0 ;
18953 char *kwnames[] = {
18954 (char *) "self",(char *) "enable", NULL
18955 };
18956
18957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18958 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18959 if (SWIG_arg_fail(1)) SWIG_fail;
18960 {
18961 arg2 = (bool)(SWIG_As_bool(obj1));
18962 if (SWIG_arg_fail(2)) SWIG_fail;
18963 }
d14a1e28
RD
18964 {
18965 PyThreadState* __tstate = wxPyBeginAllowThreads();
18966 result = (bool)(arg1)->Enable(arg2);
18967
18968 wxPyEndAllowThreads(__tstate);
18969 if (PyErr_Occurred()) SWIG_fail;
18970 }
4f89f6a3
RD
18971 {
18972 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18973 }
d14a1e28
RD
18974 return resultobj;
18975 fail:
18976 return NULL;
18977}
18978
18979
c32bde28 18980static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18981 PyObject *resultobj;
18982 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18983 PyObject * obj0 = 0 ;
18984 char *kwnames[] = {
18985 (char *) "self", NULL
18986 };
18987
18988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Toggle",kwnames,&obj0)) goto fail;
093d3ff1
RD
18989 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18990 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18991 {
18992 PyThreadState* __tstate = wxPyBeginAllowThreads();
18993 (arg1)->Toggle();
18994
18995 wxPyEndAllowThreads(__tstate);
18996 if (PyErr_Occurred()) SWIG_fail;
18997 }
18998 Py_INCREF(Py_None); resultobj = Py_None;
18999 return resultobj;
19000 fail:
19001 return NULL;
19002}
19003
19004
c32bde28 19005static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19006 PyObject *resultobj;
19007 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19008 bool arg2 ;
19009 bool result;
19010 PyObject * obj0 = 0 ;
19011 PyObject * obj1 = 0 ;
19012 char *kwnames[] = {
19013 (char *) "self",(char *) "toggle", NULL
19014 };
19015
19016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19017 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19018 if (SWIG_arg_fail(1)) SWIG_fail;
19019 {
19020 arg2 = (bool)(SWIG_As_bool(obj1));
19021 if (SWIG_arg_fail(2)) SWIG_fail;
19022 }
d14a1e28
RD
19023 {
19024 PyThreadState* __tstate = wxPyBeginAllowThreads();
19025 result = (bool)(arg1)->SetToggle(arg2);
19026
19027 wxPyEndAllowThreads(__tstate);
19028 if (PyErr_Occurred()) SWIG_fail;
19029 }
4f89f6a3
RD
19030 {
19031 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19032 }
d14a1e28
RD
19033 return resultobj;
19034 fail:
19035 return NULL;
19036}
19037
19038
c32bde28 19039static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19040 PyObject *resultobj;
19041 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19042 wxString *arg2 = 0 ;
19043 bool result;
ae8162c8 19044 bool temp2 = false ;
d14a1e28
RD
19045 PyObject * obj0 = 0 ;
19046 PyObject * obj1 = 0 ;
19047 char *kwnames[] = {
19048 (char *) "self",(char *) "help", NULL
19049 };
19050
19051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19052 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19053 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19054 {
19055 arg2 = wxString_in_helper(obj1);
19056 if (arg2 == NULL) SWIG_fail;
ae8162c8 19057 temp2 = true;
d14a1e28
RD
19058 }
19059 {
19060 PyThreadState* __tstate = wxPyBeginAllowThreads();
19061 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
19062
19063 wxPyEndAllowThreads(__tstate);
19064 if (PyErr_Occurred()) SWIG_fail;
19065 }
4f89f6a3
RD
19066 {
19067 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19068 }
d14a1e28
RD
19069 {
19070 if (temp2)
19071 delete arg2;
19072 }
19073 return resultobj;
19074 fail:
19075 {
19076 if (temp2)
19077 delete arg2;
19078 }
19079 return NULL;
19080}
19081
19082
c32bde28 19083static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19084 PyObject *resultobj;
19085 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19086 wxString *arg2 = 0 ;
19087 bool result;
ae8162c8 19088 bool temp2 = false ;
d14a1e28
RD
19089 PyObject * obj0 = 0 ;
19090 PyObject * obj1 = 0 ;
19091 char *kwnames[] = {
19092 (char *) "self",(char *) "help", NULL
19093 };
19094
19095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19096 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19097 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19098 {
19099 arg2 = wxString_in_helper(obj1);
19100 if (arg2 == NULL) SWIG_fail;
ae8162c8 19101 temp2 = true;
d14a1e28
RD
19102 }
19103 {
19104 PyThreadState* __tstate = wxPyBeginAllowThreads();
19105 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
19106
19107 wxPyEndAllowThreads(__tstate);
19108 if (PyErr_Occurred()) SWIG_fail;
19109 }
4f89f6a3
RD
19110 {
19111 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19112 }
d14a1e28
RD
19113 {
19114 if (temp2)
19115 delete arg2;
19116 }
19117 return resultobj;
19118 fail:
19119 {
19120 if (temp2)
19121 delete arg2;
19122 }
19123 return NULL;
19124}
19125
19126
c32bde28 19127static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19128 PyObject *resultobj;
19129 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19130 wxBitmap *arg2 = 0 ;
19131 PyObject * obj0 = 0 ;
19132 PyObject * obj1 = 0 ;
19133 char *kwnames[] = {
19134 (char *) "self",(char *) "bmp", NULL
19135 };
19136
19137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19138 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19139 if (SWIG_arg_fail(1)) SWIG_fail;
19140 {
19141 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19142 if (SWIG_arg_fail(2)) SWIG_fail;
19143 if (arg2 == NULL) {
19144 SWIG_null_ref("wxBitmap");
19145 }
19146 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
19147 }
19148 {
19149 PyThreadState* __tstate = wxPyBeginAllowThreads();
19150 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
19151
19152 wxPyEndAllowThreads(__tstate);
19153 if (PyErr_Occurred()) SWIG_fail;
19154 }
19155 Py_INCREF(Py_None); resultobj = Py_None;
19156 return resultobj;
19157 fail:
19158 return NULL;
19159}
19160
19161
c32bde28 19162static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19163 PyObject *resultobj;
19164 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19165 wxBitmap *arg2 = 0 ;
19166 PyObject * obj0 = 0 ;
19167 PyObject * obj1 = 0 ;
19168 char *kwnames[] = {
19169 (char *) "self",(char *) "bmp", NULL
19170 };
19171
19172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19173 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19174 if (SWIG_arg_fail(1)) SWIG_fail;
19175 {
19176 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19177 if (SWIG_arg_fail(2)) SWIG_fail;
19178 if (arg2 == NULL) {
19179 SWIG_null_ref("wxBitmap");
19180 }
19181 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
19182 }
19183 {
19184 PyThreadState* __tstate = wxPyBeginAllowThreads();
19185 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
19186
19187 wxPyEndAllowThreads(__tstate);
19188 if (PyErr_Occurred()) SWIG_fail;
19189 }
19190 Py_INCREF(Py_None); resultobj = Py_None;
19191 return resultobj;
19192 fail:
19193 return NULL;
19194}
19195
19196
c32bde28 19197static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19198 PyObject *resultobj;
19199 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19200 wxString *arg2 = 0 ;
ae8162c8 19201 bool temp2 = false ;
d14a1e28
RD
19202 PyObject * obj0 = 0 ;
19203 PyObject * obj1 = 0 ;
19204 char *kwnames[] = {
19205 (char *) "self",(char *) "label", NULL
19206 };
19207
19208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19209 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19210 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19211 {
19212 arg2 = wxString_in_helper(obj1);
19213 if (arg2 == NULL) SWIG_fail;
ae8162c8 19214 temp2 = true;
d14a1e28
RD
19215 }
19216 {
19217 PyThreadState* __tstate = wxPyBeginAllowThreads();
19218 (arg1)->SetLabel((wxString const &)*arg2);
19219
19220 wxPyEndAllowThreads(__tstate);
19221 if (PyErr_Occurred()) SWIG_fail;
19222 }
19223 Py_INCREF(Py_None); resultobj = Py_None;
19224 {
19225 if (temp2)
19226 delete arg2;
19227 }
19228 return resultobj;
19229 fail:
19230 {
19231 if (temp2)
19232 delete arg2;
19233 }
19234 return NULL;
19235}
19236
19237
c32bde28 19238static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19239 PyObject *resultobj;
19240 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19241 PyObject * obj0 = 0 ;
19242 char *kwnames[] = {
19243 (char *) "self", NULL
19244 };
19245
19246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Detach",kwnames,&obj0)) goto fail;
093d3ff1
RD
19247 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19248 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19249 {
19250 PyThreadState* __tstate = wxPyBeginAllowThreads();
19251 (arg1)->Detach();
19252
19253 wxPyEndAllowThreads(__tstate);
19254 if (PyErr_Occurred()) SWIG_fail;
19255 }
19256 Py_INCREF(Py_None); resultobj = Py_None;
19257 return resultobj;
19258 fail:
19259 return NULL;
19260}
19261
19262
c32bde28 19263static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19264 PyObject *resultobj;
19265 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19266 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
19267 PyObject * obj0 = 0 ;
19268 PyObject * obj1 = 0 ;
19269 char *kwnames[] = {
19270 (char *) "self",(char *) "tbar", NULL
19271 };
19272
19273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19274 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19275 if (SWIG_arg_fail(1)) SWIG_fail;
19276 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19277 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
19278 {
19279 PyThreadState* __tstate = wxPyBeginAllowThreads();
19280 (arg1)->Attach(arg2);
19281
19282 wxPyEndAllowThreads(__tstate);
19283 if (PyErr_Occurred()) SWIG_fail;
19284 }
19285 Py_INCREF(Py_None); resultobj = Py_None;
19286 return resultobj;
19287 fail:
19288 return NULL;
19289}
19290
19291
c32bde28 19292static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19293 PyObject *resultobj;
19294 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19295 PyObject *result;
19296 PyObject * obj0 = 0 ;
19297 char *kwnames[] = {
19298 (char *) "self", NULL
19299 };
19300
19301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetClientData",kwnames,&obj0)) goto fail;
093d3ff1
RD
19302 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19303 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19304 {
19305 PyThreadState* __tstate = wxPyBeginAllowThreads();
19306 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
19307
19308 wxPyEndAllowThreads(__tstate);
19309 if (PyErr_Occurred()) SWIG_fail;
19310 }
19311 resultobj = result;
19312 return resultobj;
19313 fail:
19314 return NULL;
19315}
19316
19317
c32bde28 19318static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19319 PyObject *resultobj;
19320 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19321 PyObject *arg2 = (PyObject *) 0 ;
19322 PyObject * obj0 = 0 ;
19323 PyObject * obj1 = 0 ;
19324 char *kwnames[] = {
19325 (char *) "self",(char *) "clientData", NULL
19326 };
19327
19328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19329 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19330 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19331 arg2 = obj1;
19332 {
19333 PyThreadState* __tstate = wxPyBeginAllowThreads();
19334 wxToolBarToolBase_SetClientData(arg1,arg2);
19335
19336 wxPyEndAllowThreads(__tstate);
19337 if (PyErr_Occurred()) SWIG_fail;
19338 }
19339 Py_INCREF(Py_None); resultobj = Py_None;
19340 return resultobj;
19341 fail:
19342 return NULL;
19343}
19344
19345
c32bde28 19346static PyObject * ToolBarToolBase_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
19347 PyObject *obj;
19348 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19349 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase, obj);
19350 Py_INCREF(obj);
19351 return Py_BuildValue((char *)"");
19352}
c32bde28 19353static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19354 PyObject *resultobj;
19355 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19356 int arg2 ;
19357 wxString *arg3 = 0 ;
19358 wxBitmap *arg4 = 0 ;
19359 wxBitmap const &arg5_defvalue = wxNullBitmap ;
19360 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
093d3ff1 19361 wxItemKind arg6 = (wxItemKind) wxITEM_NORMAL ;
d14a1e28
RD
19362 wxString const &arg7_defvalue = wxPyEmptyString ;
19363 wxString *arg7 = (wxString *) &arg7_defvalue ;
19364 wxString const &arg8_defvalue = wxPyEmptyString ;
19365 wxString *arg8 = (wxString *) &arg8_defvalue ;
19366 PyObject *arg9 = (PyObject *) NULL ;
19367 wxToolBarToolBase *result;
ae8162c8
RD
19368 bool temp3 = false ;
19369 bool temp7 = false ;
19370 bool temp8 = false ;
d14a1e28 19371 PyObject * obj0 = 0 ;
994141e6 19372 PyObject * obj1 = 0 ;
d14a1e28
RD
19373 PyObject * obj2 = 0 ;
19374 PyObject * obj3 = 0 ;
19375 PyObject * obj4 = 0 ;
994141e6 19376 PyObject * obj5 = 0 ;
d14a1e28
RD
19377 PyObject * obj6 = 0 ;
19378 PyObject * obj7 = 0 ;
19379 PyObject * obj8 = 0 ;
19380 char *kwnames[] = {
19381 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19382 };
19383
994141e6 19384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
19385 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19386 if (SWIG_arg_fail(1)) SWIG_fail;
19387 {
19388 arg2 = (int)(SWIG_As_int(obj1));
19389 if (SWIG_arg_fail(2)) SWIG_fail;
19390 }
d14a1e28
RD
19391 {
19392 arg3 = wxString_in_helper(obj2);
19393 if (arg3 == NULL) SWIG_fail;
ae8162c8 19394 temp3 = true;
d14a1e28 19395 }
093d3ff1
RD
19396 {
19397 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19398 if (SWIG_arg_fail(4)) SWIG_fail;
19399 if (arg4 == NULL) {
19400 SWIG_null_ref("wxBitmap");
19401 }
19402 if (SWIG_arg_fail(4)) SWIG_fail;
d14a1e28
RD
19403 }
19404 if (obj4) {
093d3ff1
RD
19405 {
19406 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19407 if (SWIG_arg_fail(5)) SWIG_fail;
19408 if (arg5 == NULL) {
19409 SWIG_null_ref("wxBitmap");
19410 }
19411 if (SWIG_arg_fail(5)) SWIG_fail;
d14a1e28
RD
19412 }
19413 }
994141e6 19414 if (obj5) {
093d3ff1
RD
19415 {
19416 arg6 = (wxItemKind)(SWIG_As_int(obj5));
19417 if (SWIG_arg_fail(6)) SWIG_fail;
19418 }
994141e6 19419 }
d14a1e28
RD
19420 if (obj6) {
19421 {
19422 arg7 = wxString_in_helper(obj6);
19423 if (arg7 == NULL) SWIG_fail;
ae8162c8 19424 temp7 = true;
d14a1e28
RD
19425 }
19426 }
19427 if (obj7) {
19428 {
19429 arg8 = wxString_in_helper(obj7);
19430 if (arg8 == NULL) SWIG_fail;
ae8162c8 19431 temp8 = true;
d14a1e28
RD
19432 }
19433 }
19434 if (obj8) {
19435 arg9 = obj8;
19436 }
19437 {
19438 PyThreadState* __tstate = wxPyBeginAllowThreads();
19439 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,(wxItemKind )arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
19440
19441 wxPyEndAllowThreads(__tstate);
19442 if (PyErr_Occurred()) SWIG_fail;
19443 }
19444 {
412d302d 19445 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
19446 }
19447 {
19448 if (temp3)
19449 delete arg3;
19450 }
19451 {
19452 if (temp7)
19453 delete arg7;
19454 }
19455 {
19456 if (temp8)
19457 delete arg8;
19458 }
19459 return resultobj;
19460 fail:
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 NULL;
19474}
19475
19476
c32bde28 19477static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19478 PyObject *resultobj;
19479 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19480 size_t arg2 ;
19481 int arg3 ;
19482 wxString *arg4 = 0 ;
19483 wxBitmap *arg5 = 0 ;
19484 wxBitmap const &arg6_defvalue = wxNullBitmap ;
19485 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
093d3ff1 19486 wxItemKind arg7 = (wxItemKind) wxITEM_NORMAL ;
d14a1e28
RD
19487 wxString const &arg8_defvalue = wxPyEmptyString ;
19488 wxString *arg8 = (wxString *) &arg8_defvalue ;
19489 wxString const &arg9_defvalue = wxPyEmptyString ;
19490 wxString *arg9 = (wxString *) &arg9_defvalue ;
19491 PyObject *arg10 = (PyObject *) NULL ;
19492 wxToolBarToolBase *result;
ae8162c8
RD
19493 bool temp4 = false ;
19494 bool temp8 = false ;
19495 bool temp9 = false ;
d14a1e28
RD
19496 PyObject * obj0 = 0 ;
19497 PyObject * obj1 = 0 ;
994141e6 19498 PyObject * obj2 = 0 ;
d14a1e28
RD
19499 PyObject * obj3 = 0 ;
19500 PyObject * obj4 = 0 ;
19501 PyObject * obj5 = 0 ;
994141e6 19502 PyObject * obj6 = 0 ;
d14a1e28
RD
19503 PyObject * obj7 = 0 ;
19504 PyObject * obj8 = 0 ;
19505 PyObject * obj9 = 0 ;
19506 char *kwnames[] = {
19507 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19508 };
19509
994141e6 19510 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
19511 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19512 if (SWIG_arg_fail(1)) SWIG_fail;
19513 {
19514 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19515 if (SWIG_arg_fail(2)) SWIG_fail;
19516 }
19517 {
19518 arg3 = (int)(SWIG_As_int(obj2));
19519 if (SWIG_arg_fail(3)) SWIG_fail;
19520 }
d14a1e28
RD
19521 {
19522 arg4 = wxString_in_helper(obj3);
19523 if (arg4 == NULL) SWIG_fail;
ae8162c8 19524 temp4 = true;
d14a1e28 19525 }
093d3ff1
RD
19526 {
19527 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19528 if (SWIG_arg_fail(5)) SWIG_fail;
19529 if (arg5 == NULL) {
19530 SWIG_null_ref("wxBitmap");
19531 }
19532 if (SWIG_arg_fail(5)) SWIG_fail;
d14a1e28
RD
19533 }
19534 if (obj5) {
093d3ff1
RD
19535 {
19536 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19537 if (SWIG_arg_fail(6)) SWIG_fail;
19538 if (arg6 == NULL) {
19539 SWIG_null_ref("wxBitmap");
19540 }
19541 if (SWIG_arg_fail(6)) SWIG_fail;
d14a1e28
RD
19542 }
19543 }
994141e6 19544 if (obj6) {
093d3ff1
RD
19545 {
19546 arg7 = (wxItemKind)(SWIG_As_int(obj6));
19547 if (SWIG_arg_fail(7)) SWIG_fail;
19548 }
994141e6 19549 }
d14a1e28
RD
19550 if (obj7) {
19551 {
19552 arg8 = wxString_in_helper(obj7);
19553 if (arg8 == NULL) SWIG_fail;
ae8162c8 19554 temp8 = true;
d14a1e28
RD
19555 }
19556 }
19557 if (obj8) {
19558 {
19559 arg9 = wxString_in_helper(obj8);
19560 if (arg9 == NULL) SWIG_fail;
ae8162c8 19561 temp9 = true;
d14a1e28
RD
19562 }
19563 }
19564 if (obj9) {
19565 arg10 = obj9;
19566 }
19567 {
19568 PyThreadState* __tstate = wxPyBeginAllowThreads();
19569 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);
19570
19571 wxPyEndAllowThreads(__tstate);
19572 if (PyErr_Occurred()) SWIG_fail;
19573 }
19574 {
412d302d 19575 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
19576 }
19577 {
19578 if (temp4)
19579 delete arg4;
19580 }
19581 {
19582 if (temp8)
19583 delete arg8;
19584 }
19585 {
19586 if (temp9)
19587 delete arg9;
19588 }
19589 return resultobj;
19590 fail:
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 NULL;
19604}
19605
19606
c32bde28 19607static PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *, PyObject *args, PyObject *kwargs) {
3a04f143
RD
19608 PyObject *resultobj;
19609 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19610 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
19611 wxToolBarToolBase *result;
19612 PyObject * obj0 = 0 ;
19613 PyObject * obj1 = 0 ;
19614 char *kwnames[] = {
19615 (char *) "self",(char *) "tool", NULL
19616 };
19617
19618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19619 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19620 if (SWIG_arg_fail(1)) SWIG_fail;
19621 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19622 if (SWIG_arg_fail(2)) SWIG_fail;
3a04f143
RD
19623 {
19624 PyThreadState* __tstate = wxPyBeginAllowThreads();
19625 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
19626
19627 wxPyEndAllowThreads(__tstate);
19628 if (PyErr_Occurred()) SWIG_fail;
19629 }
19630 {
412d302d 19631 resultobj = wxPyMake_wxObject(result, 0);
3a04f143
RD
19632 }
19633 return resultobj;
19634 fail:
19635 return NULL;
19636}
19637
19638
c32bde28 19639static PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *, PyObject *args, PyObject *kwargs) {
3a04f143
RD
19640 PyObject *resultobj;
19641 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19642 size_t arg2 ;
19643 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
19644 wxToolBarToolBase *result;
19645 PyObject * obj0 = 0 ;
19646 PyObject * obj1 = 0 ;
19647 PyObject * obj2 = 0 ;
19648 char *kwnames[] = {
19649 (char *) "self",(char *) "pos",(char *) "tool", NULL
19650 };
19651
19652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
19653 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19654 if (SWIG_arg_fail(1)) SWIG_fail;
19655 {
19656 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19657 if (SWIG_arg_fail(2)) SWIG_fail;
19658 }
19659 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19660 if (SWIG_arg_fail(3)) SWIG_fail;
3a04f143
RD
19661 {
19662 PyThreadState* __tstate = wxPyBeginAllowThreads();
19663 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
19664
19665 wxPyEndAllowThreads(__tstate);
19666 if (PyErr_Occurred()) SWIG_fail;
19667 }
19668 {
412d302d 19669 resultobj = wxPyMake_wxObject(result, 0);
3a04f143
RD
19670 }
19671 return resultobj;
19672 fail:
19673 return NULL;
19674}
19675
19676
c32bde28 19677static PyObject *_wrap_ToolBarBase_AddControl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19678 PyObject *resultobj;
19679 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19680 wxControl *arg2 = (wxControl *) 0 ;
19681 wxToolBarToolBase *result;
19682 PyObject * obj0 = 0 ;
19683 PyObject * obj1 = 0 ;
19684 char *kwnames[] = {
19685 (char *) "self",(char *) "control", NULL
19686 };
19687
19688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19689 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19690 if (SWIG_arg_fail(1)) SWIG_fail;
19691 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxControl, SWIG_POINTER_EXCEPTION | 0);
19692 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
19693 {
19694 PyThreadState* __tstate = wxPyBeginAllowThreads();
19695 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
19696
19697 wxPyEndAllowThreads(__tstate);
19698 if (PyErr_Occurred()) SWIG_fail;
19699 }
19700 {
412d302d 19701 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
19702 }
19703 return resultobj;
19704 fail:
19705 return NULL;
19706}
19707
19708
c32bde28 19709static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19710 PyObject *resultobj;
19711 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19712 size_t arg2 ;
19713 wxControl *arg3 = (wxControl *) 0 ;
19714 wxToolBarToolBase *result;
19715 PyObject * obj0 = 0 ;
19716 PyObject * obj1 = 0 ;
19717 PyObject * obj2 = 0 ;
19718 char *kwnames[] = {
19719 (char *) "self",(char *) "pos",(char *) "control", NULL
19720 };
19721
19722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
19723 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19724 if (SWIG_arg_fail(1)) SWIG_fail;
19725 {
19726 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19727 if (SWIG_arg_fail(2)) SWIG_fail;
19728 }
19729 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxControl, SWIG_POINTER_EXCEPTION | 0);
19730 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
19731 {
19732 PyThreadState* __tstate = wxPyBeginAllowThreads();
19733 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
19734
19735 wxPyEndAllowThreads(__tstate);
19736 if (PyErr_Occurred()) SWIG_fail;
19737 }
19738 {
412d302d 19739 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
19740 }
19741 return resultobj;
19742 fail:
19743 return NULL;
19744}
19745
19746
c32bde28 19747static PyObject *_wrap_ToolBarBase_FindControl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19748 PyObject *resultobj;
19749 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19750 int arg2 ;
19751 wxControl *result;
19752 PyObject * obj0 = 0 ;
994141e6 19753 PyObject * obj1 = 0 ;
d14a1e28
RD
19754 char *kwnames[] = {
19755 (char *) "self",(char *) "id", NULL
19756 };
19757
994141e6 19758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindControl",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19759 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19760 if (SWIG_arg_fail(1)) SWIG_fail;
19761 {
19762 arg2 = (int)(SWIG_As_int(obj1));
19763 if (SWIG_arg_fail(2)) SWIG_fail;
19764 }
d14a1e28
RD
19765 {
19766 PyThreadState* __tstate = wxPyBeginAllowThreads();
19767 result = (wxControl *)(arg1)->FindControl(arg2);
19768
19769 wxPyEndAllowThreads(__tstate);
19770 if (PyErr_Occurred()) SWIG_fail;
19771 }
19772 {
412d302d 19773 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
19774 }
19775 return resultobj;
19776 fail:
19777 return NULL;
19778}
19779
19780
c32bde28 19781static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19782 PyObject *resultobj;
19783 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19784 wxToolBarToolBase *result;
19785 PyObject * obj0 = 0 ;
19786 char *kwnames[] = {
19787 (char *) "self", NULL
19788 };
19789
19790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_AddSeparator",kwnames,&obj0)) goto fail;
093d3ff1
RD
19791 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19792 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19793 {
19794 PyThreadState* __tstate = wxPyBeginAllowThreads();
19795 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
19796
19797 wxPyEndAllowThreads(__tstate);
19798 if (PyErr_Occurred()) SWIG_fail;
19799 }
19800 {
412d302d 19801 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
19802 }
19803 return resultobj;
19804 fail:
19805 return NULL;
19806}
19807
19808
c32bde28 19809static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19810 PyObject *resultobj;
19811 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19812 size_t arg2 ;
19813 wxToolBarToolBase *result;
19814 PyObject * obj0 = 0 ;
19815 PyObject * obj1 = 0 ;
19816 char *kwnames[] = {
19817 (char *) "self",(char *) "pos", NULL
19818 };
19819
19820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19821 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19822 if (SWIG_arg_fail(1)) SWIG_fail;
19823 {
19824 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19825 if (SWIG_arg_fail(2)) SWIG_fail;
19826 }
d14a1e28
RD
19827 {
19828 PyThreadState* __tstate = wxPyBeginAllowThreads();
19829 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
19830
19831 wxPyEndAllowThreads(__tstate);
19832 if (PyErr_Occurred()) SWIG_fail;
19833 }
19834 {
412d302d 19835 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
19836 }
19837 return resultobj;
19838 fail:
19839 return NULL;
19840}
19841
19842
c32bde28 19843static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19844 PyObject *resultobj;
19845 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19846 int arg2 ;
19847 wxToolBarToolBase *result;
19848 PyObject * obj0 = 0 ;
994141e6 19849 PyObject * obj1 = 0 ;
d14a1e28
RD
19850 char *kwnames[] = {
19851 (char *) "self",(char *) "id", NULL
19852 };
19853
994141e6 19854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_RemoveTool",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19855 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19856 if (SWIG_arg_fail(1)) SWIG_fail;
19857 {
19858 arg2 = (int)(SWIG_As_int(obj1));
19859 if (SWIG_arg_fail(2)) SWIG_fail;
19860 }
d14a1e28
RD
19861 {
19862 PyThreadState* __tstate = wxPyBeginAllowThreads();
19863 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
19864
19865 wxPyEndAllowThreads(__tstate);
19866 if (PyErr_Occurred()) SWIG_fail;
19867 }
19868 {
412d302d 19869 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
19870 }
19871 return resultobj;
19872 fail:
19873 return NULL;
19874}
19875
19876
c32bde28 19877static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19878 PyObject *resultobj;
19879 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19880 size_t arg2 ;
19881 bool result;
19882 PyObject * obj0 = 0 ;
19883 PyObject * obj1 = 0 ;
19884 char *kwnames[] = {
19885 (char *) "self",(char *) "pos", NULL
19886 };
19887
19888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19889 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19890 if (SWIG_arg_fail(1)) SWIG_fail;
19891 {
19892 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19893 if (SWIG_arg_fail(2)) SWIG_fail;
19894 }
d14a1e28
RD
19895 {
19896 PyThreadState* __tstate = wxPyBeginAllowThreads();
19897 result = (bool)(arg1)->DeleteToolByPos(arg2);
19898
19899 wxPyEndAllowThreads(__tstate);
19900 if (PyErr_Occurred()) SWIG_fail;
19901 }
4f89f6a3
RD
19902 {
19903 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19904 }
d14a1e28
RD
19905 return resultobj;
19906 fail:
19907 return NULL;
19908}
19909
19910
c32bde28 19911static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19912 PyObject *resultobj;
19913 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19914 int arg2 ;
19915 bool result;
19916 PyObject * obj0 = 0 ;
994141e6 19917 PyObject * obj1 = 0 ;
d14a1e28
RD
19918 char *kwnames[] = {
19919 (char *) "self",(char *) "id", NULL
19920 };
19921
994141e6 19922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteTool",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19923 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19924 if (SWIG_arg_fail(1)) SWIG_fail;
19925 {
19926 arg2 = (int)(SWIG_As_int(obj1));
19927 if (SWIG_arg_fail(2)) SWIG_fail;
19928 }
d14a1e28
RD
19929 {
19930 PyThreadState* __tstate = wxPyBeginAllowThreads();
19931 result = (bool)(arg1)->DeleteTool(arg2);
19932
19933 wxPyEndAllowThreads(__tstate);
19934 if (PyErr_Occurred()) SWIG_fail;
19935 }
4f89f6a3
RD
19936 {
19937 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19938 }
d14a1e28
RD
19939 return resultobj;
19940 fail:
19941 return NULL;
19942}
19943
19944
c32bde28 19945static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19946 PyObject *resultobj;
19947 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19948 PyObject * obj0 = 0 ;
19949 char *kwnames[] = {
19950 (char *) "self", NULL
19951 };
19952
19953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_ClearTools",kwnames,&obj0)) goto fail;
093d3ff1
RD
19954 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19955 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19956 {
19957 PyThreadState* __tstate = wxPyBeginAllowThreads();
19958 (arg1)->ClearTools();
19959
19960 wxPyEndAllowThreads(__tstate);
19961 if (PyErr_Occurred()) SWIG_fail;
19962 }
19963 Py_INCREF(Py_None); resultobj = Py_None;
19964 return resultobj;
19965 fail:
19966 return NULL;
19967}
19968
19969
c32bde28 19970static PyObject *_wrap_ToolBarBase_Realize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19971 PyObject *resultobj;
19972 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19973 bool result;
19974 PyObject * obj0 = 0 ;
19975 char *kwnames[] = {
19976 (char *) "self", NULL
19977 };
19978
19979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_Realize",kwnames,&obj0)) goto fail;
093d3ff1
RD
19980 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19981 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19982 {
19983 PyThreadState* __tstate = wxPyBeginAllowThreads();
19984 result = (bool)(arg1)->Realize();
19985
19986 wxPyEndAllowThreads(__tstate);
19987 if (PyErr_Occurred()) SWIG_fail;
19988 }
4f89f6a3
RD
19989 {
19990 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19991 }
d14a1e28
RD
19992 return resultobj;
19993 fail:
19994 return NULL;
19995}
19996
19997
c32bde28 19998static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19999 PyObject *resultobj;
20000 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20001 int arg2 ;
20002 bool arg3 ;
20003 PyObject * obj0 = 0 ;
994141e6 20004 PyObject * obj1 = 0 ;
d14a1e28
RD
20005 PyObject * obj2 = 0 ;
20006 char *kwnames[] = {
20007 (char *) "self",(char *) "id",(char *) "enable", NULL
20008 };
20009
994141e6 20010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_EnableTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
20011 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20012 if (SWIG_arg_fail(1)) SWIG_fail;
20013 {
20014 arg2 = (int)(SWIG_As_int(obj1));
20015 if (SWIG_arg_fail(2)) SWIG_fail;
20016 }
20017 {
20018 arg3 = (bool)(SWIG_As_bool(obj2));
20019 if (SWIG_arg_fail(3)) SWIG_fail;
20020 }
d14a1e28
RD
20021 {
20022 PyThreadState* __tstate = wxPyBeginAllowThreads();
20023 (arg1)->EnableTool(arg2,arg3);
20024
20025 wxPyEndAllowThreads(__tstate);
20026 if (PyErr_Occurred()) SWIG_fail;
20027 }
20028 Py_INCREF(Py_None); resultobj = Py_None;
20029 return resultobj;
20030 fail:
20031 return NULL;
20032}
20033
20034
c32bde28 20035static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20036 PyObject *resultobj;
20037 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20038 int arg2 ;
20039 bool arg3 ;
20040 PyObject * obj0 = 0 ;
994141e6 20041 PyObject * obj1 = 0 ;
d14a1e28
RD
20042 PyObject * obj2 = 0 ;
20043 char *kwnames[] = {
20044 (char *) "self",(char *) "id",(char *) "toggle", NULL
20045 };
20046
994141e6 20047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_ToggleTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
20048 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20049 if (SWIG_arg_fail(1)) SWIG_fail;
20050 {
20051 arg2 = (int)(SWIG_As_int(obj1));
20052 if (SWIG_arg_fail(2)) SWIG_fail;
20053 }
20054 {
20055 arg3 = (bool)(SWIG_As_bool(obj2));
20056 if (SWIG_arg_fail(3)) SWIG_fail;
20057 }
d14a1e28
RD
20058 {
20059 PyThreadState* __tstate = wxPyBeginAllowThreads();
20060 (arg1)->ToggleTool(arg2,arg3);
20061
20062 wxPyEndAllowThreads(__tstate);
20063 if (PyErr_Occurred()) SWIG_fail;
20064 }
20065 Py_INCREF(Py_None); resultobj = Py_None;
20066 return resultobj;
20067 fail:
20068 return NULL;
20069}
20070
20071
c32bde28 20072static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20073 PyObject *resultobj;
20074 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20075 int arg2 ;
20076 bool arg3 ;
20077 PyObject * obj0 = 0 ;
994141e6 20078 PyObject * obj1 = 0 ;
d14a1e28
RD
20079 PyObject * obj2 = 0 ;
20080 char *kwnames[] = {
20081 (char *) "self",(char *) "id",(char *) "toggle", NULL
20082 };
20083
994141e6 20084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToggle",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
20085 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20086 if (SWIG_arg_fail(1)) SWIG_fail;
20087 {
20088 arg2 = (int)(SWIG_As_int(obj1));
20089 if (SWIG_arg_fail(2)) SWIG_fail;
20090 }
20091 {
20092 arg3 = (bool)(SWIG_As_bool(obj2));
20093 if (SWIG_arg_fail(3)) SWIG_fail;
20094 }
d14a1e28
RD
20095 {
20096 PyThreadState* __tstate = wxPyBeginAllowThreads();
20097 (arg1)->SetToggle(arg2,arg3);
20098
20099 wxPyEndAllowThreads(__tstate);
20100 if (PyErr_Occurred()) SWIG_fail;
20101 }
20102 Py_INCREF(Py_None); resultobj = Py_None;
20103 return resultobj;
20104 fail:
20105 return NULL;
20106}
20107
20108
c32bde28 20109static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20110 PyObject *resultobj;
20111 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20112 int arg2 ;
20113 PyObject *result;
20114 PyObject * obj0 = 0 ;
994141e6 20115 PyObject * obj1 = 0 ;
d14a1e28
RD
20116 char *kwnames[] = {
20117 (char *) "self",(char *) "id", NULL
20118 };
20119
994141e6 20120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolClientData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20121 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20122 if (SWIG_arg_fail(1)) SWIG_fail;
20123 {
20124 arg2 = (int)(SWIG_As_int(obj1));
20125 if (SWIG_arg_fail(2)) SWIG_fail;
20126 }
d14a1e28
RD
20127 {
20128 PyThreadState* __tstate = wxPyBeginAllowThreads();
20129 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
20130
20131 wxPyEndAllowThreads(__tstate);
20132 if (PyErr_Occurred()) SWIG_fail;
20133 }
20134 resultobj = result;
20135 return resultobj;
20136 fail:
20137 return NULL;
20138}
20139
20140
c32bde28 20141static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20142 PyObject *resultobj;
20143 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20144 int arg2 ;
20145 PyObject *arg3 = (PyObject *) 0 ;
20146 PyObject * obj0 = 0 ;
994141e6 20147 PyObject * obj1 = 0 ;
d14a1e28
RD
20148 PyObject * obj2 = 0 ;
20149 char *kwnames[] = {
20150 (char *) "self",(char *) "id",(char *) "clientData", NULL
20151 };
20152
994141e6 20153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
20154 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20155 if (SWIG_arg_fail(1)) SWIG_fail;
20156 {
20157 arg2 = (int)(SWIG_As_int(obj1));
20158 if (SWIG_arg_fail(2)) SWIG_fail;
20159 }
d14a1e28
RD
20160 arg3 = obj2;
20161 {
20162 PyThreadState* __tstate = wxPyBeginAllowThreads();
20163 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
20164
20165 wxPyEndAllowThreads(__tstate);
20166 if (PyErr_Occurred()) SWIG_fail;
20167 }
20168 Py_INCREF(Py_None); resultobj = Py_None;
20169 return resultobj;
20170 fail:
20171 return NULL;
20172}
20173
20174
c32bde28 20175static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20176 PyObject *resultobj;
20177 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20178 int arg2 ;
20179 int result;
20180 PyObject * obj0 = 0 ;
994141e6 20181 PyObject * obj1 = 0 ;
d14a1e28
RD
20182 char *kwnames[] = {
20183 (char *) "self",(char *) "id", NULL
20184 };
20185
994141e6 20186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolPos",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20187 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20188 if (SWIG_arg_fail(1)) SWIG_fail;
20189 {
20190 arg2 = (int)(SWIG_As_int(obj1));
20191 if (SWIG_arg_fail(2)) SWIG_fail;
20192 }
d14a1e28
RD
20193 {
20194 PyThreadState* __tstate = wxPyBeginAllowThreads();
20195 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
20196
20197 wxPyEndAllowThreads(__tstate);
20198 if (PyErr_Occurred()) SWIG_fail;
20199 }
093d3ff1
RD
20200 {
20201 resultobj = SWIG_From_int((int)(result));
20202 }
d14a1e28
RD
20203 return resultobj;
20204 fail:
20205 return NULL;
20206}
20207
20208
c32bde28 20209static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20210 PyObject *resultobj;
20211 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20212 int arg2 ;
20213 bool result;
20214 PyObject * obj0 = 0 ;
994141e6 20215 PyObject * obj1 = 0 ;
d14a1e28
RD
20216 char *kwnames[] = {
20217 (char *) "self",(char *) "id", NULL
20218 };
20219
994141e6 20220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolState",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20221 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20222 if (SWIG_arg_fail(1)) SWIG_fail;
20223 {
20224 arg2 = (int)(SWIG_As_int(obj1));
20225 if (SWIG_arg_fail(2)) SWIG_fail;
20226 }
d14a1e28
RD
20227 {
20228 PyThreadState* __tstate = wxPyBeginAllowThreads();
20229 result = (bool)(arg1)->GetToolState(arg2);
20230
20231 wxPyEndAllowThreads(__tstate);
20232 if (PyErr_Occurred()) SWIG_fail;
20233 }
4f89f6a3
RD
20234 {
20235 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20236 }
d14a1e28
RD
20237 return resultobj;
20238 fail:
20239 return NULL;
20240}
20241
20242
c32bde28 20243static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20244 PyObject *resultobj;
20245 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20246 int arg2 ;
20247 bool result;
20248 PyObject * obj0 = 0 ;
994141e6 20249 PyObject * obj1 = 0 ;
d14a1e28
RD
20250 char *kwnames[] = {
20251 (char *) "self",(char *) "id", NULL
20252 };
20253
994141e6 20254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20255 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20256 if (SWIG_arg_fail(1)) SWIG_fail;
20257 {
20258 arg2 = (int)(SWIG_As_int(obj1));
20259 if (SWIG_arg_fail(2)) SWIG_fail;
20260 }
d14a1e28
RD
20261 {
20262 PyThreadState* __tstate = wxPyBeginAllowThreads();
20263 result = (bool)(arg1)->GetToolEnabled(arg2);
20264
20265 wxPyEndAllowThreads(__tstate);
20266 if (PyErr_Occurred()) SWIG_fail;
20267 }
4f89f6a3
RD
20268 {
20269 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20270 }
d14a1e28
RD
20271 return resultobj;
20272 fail:
20273 return NULL;
20274}
20275
20276
c32bde28 20277static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20278 PyObject *resultobj;
20279 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20280 int arg2 ;
20281 wxString *arg3 = 0 ;
ae8162c8 20282 bool temp3 = false ;
d14a1e28 20283 PyObject * obj0 = 0 ;
994141e6 20284 PyObject * obj1 = 0 ;
d14a1e28
RD
20285 PyObject * obj2 = 0 ;
20286 char *kwnames[] = {
20287 (char *) "self",(char *) "id",(char *) "helpString", NULL
20288 };
20289
994141e6 20290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
20291 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20292 if (SWIG_arg_fail(1)) SWIG_fail;
20293 {
20294 arg2 = (int)(SWIG_As_int(obj1));
20295 if (SWIG_arg_fail(2)) SWIG_fail;
20296 }
d14a1e28
RD
20297 {
20298 arg3 = wxString_in_helper(obj2);
20299 if (arg3 == NULL) SWIG_fail;
ae8162c8 20300 temp3 = true;
d14a1e28
RD
20301 }
20302 {
20303 PyThreadState* __tstate = wxPyBeginAllowThreads();
20304 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
20305
20306 wxPyEndAllowThreads(__tstate);
20307 if (PyErr_Occurred()) SWIG_fail;
20308 }
20309 Py_INCREF(Py_None); resultobj = Py_None;
20310 {
20311 if (temp3)
20312 delete arg3;
20313 }
20314 return resultobj;
20315 fail:
20316 {
20317 if (temp3)
20318 delete arg3;
20319 }
20320 return NULL;
20321}
20322
20323
c32bde28 20324static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20325 PyObject *resultobj;
20326 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20327 int arg2 ;
20328 wxString result;
20329 PyObject * obj0 = 0 ;
994141e6 20330 PyObject * obj1 = 0 ;
d14a1e28
RD
20331 char *kwnames[] = {
20332 (char *) "self",(char *) "id", NULL
20333 };
20334
994141e6 20335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20336 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20337 if (SWIG_arg_fail(1)) SWIG_fail;
20338 {
20339 arg2 = (int)(SWIG_As_int(obj1));
20340 if (SWIG_arg_fail(2)) SWIG_fail;
20341 }
d14a1e28
RD
20342 {
20343 PyThreadState* __tstate = wxPyBeginAllowThreads();
20344 result = (arg1)->GetToolShortHelp(arg2);
20345
20346 wxPyEndAllowThreads(__tstate);
20347 if (PyErr_Occurred()) SWIG_fail;
20348 }
20349 {
20350#if wxUSE_UNICODE
20351 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20352#else
20353 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20354#endif
20355 }
20356 return resultobj;
20357 fail:
20358 return NULL;
20359}
20360
20361
c32bde28 20362static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20363 PyObject *resultobj;
20364 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20365 int arg2 ;
20366 wxString *arg3 = 0 ;
ae8162c8 20367 bool temp3 = false ;
d14a1e28 20368 PyObject * obj0 = 0 ;
994141e6 20369 PyObject * obj1 = 0 ;
d14a1e28
RD
20370 PyObject * obj2 = 0 ;
20371 char *kwnames[] = {
20372 (char *) "self",(char *) "id",(char *) "helpString", NULL
20373 };
20374
994141e6 20375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
20376 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20377 if (SWIG_arg_fail(1)) SWIG_fail;
20378 {
20379 arg2 = (int)(SWIG_As_int(obj1));
20380 if (SWIG_arg_fail(2)) SWIG_fail;
20381 }
d14a1e28
RD
20382 {
20383 arg3 = wxString_in_helper(obj2);
20384 if (arg3 == NULL) SWIG_fail;
ae8162c8 20385 temp3 = true;
d14a1e28
RD
20386 }
20387 {
20388 PyThreadState* __tstate = wxPyBeginAllowThreads();
20389 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
20390
20391 wxPyEndAllowThreads(__tstate);
20392 if (PyErr_Occurred()) SWIG_fail;
20393 }
20394 Py_INCREF(Py_None); resultobj = Py_None;
20395 {
20396 if (temp3)
20397 delete arg3;
20398 }
20399 return resultobj;
20400 fail:
20401 {
20402 if (temp3)
20403 delete arg3;
20404 }
20405 return NULL;
20406}
20407
20408
c32bde28 20409static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20410 PyObject *resultobj;
20411 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20412 int arg2 ;
20413 wxString result;
20414 PyObject * obj0 = 0 ;
994141e6 20415 PyObject * obj1 = 0 ;
d14a1e28
RD
20416 char *kwnames[] = {
20417 (char *) "self",(char *) "id", NULL
20418 };
20419
994141e6 20420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20421 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20422 if (SWIG_arg_fail(1)) SWIG_fail;
20423 {
20424 arg2 = (int)(SWIG_As_int(obj1));
20425 if (SWIG_arg_fail(2)) SWIG_fail;
20426 }
d14a1e28
RD
20427 {
20428 PyThreadState* __tstate = wxPyBeginAllowThreads();
20429 result = (arg1)->GetToolLongHelp(arg2);
20430
20431 wxPyEndAllowThreads(__tstate);
20432 if (PyErr_Occurred()) SWIG_fail;
20433 }
20434 {
20435#if wxUSE_UNICODE
20436 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20437#else
20438 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20439#endif
20440 }
20441 return resultobj;
20442 fail:
20443 return NULL;
20444}
20445
20446
c32bde28 20447static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20448 PyObject *resultobj;
20449 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20450 int arg2 ;
20451 int arg3 ;
20452 PyObject * obj0 = 0 ;
994141e6
RD
20453 PyObject * obj1 = 0 ;
20454 PyObject * obj2 = 0 ;
d14a1e28
RD
20455 char *kwnames[] = {
20456 (char *) "self",(char *) "x",(char *) "y", NULL
20457 };
20458
994141e6 20459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
20460 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20461 if (SWIG_arg_fail(1)) SWIG_fail;
20462 {
20463 arg2 = (int)(SWIG_As_int(obj1));
20464 if (SWIG_arg_fail(2)) SWIG_fail;
20465 }
20466 {
20467 arg3 = (int)(SWIG_As_int(obj2));
20468 if (SWIG_arg_fail(3)) SWIG_fail;
20469 }
d14a1e28
RD
20470 {
20471 PyThreadState* __tstate = wxPyBeginAllowThreads();
20472 (arg1)->SetMargins(arg2,arg3);
20473
20474 wxPyEndAllowThreads(__tstate);
20475 if (PyErr_Occurred()) SWIG_fail;
20476 }
20477 Py_INCREF(Py_None); resultobj = Py_None;
20478 return resultobj;
20479 fail:
20480 return NULL;
20481}
20482
20483
c32bde28 20484static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20485 PyObject *resultobj;
20486 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20487 wxSize *arg2 = 0 ;
20488 wxSize temp2 ;
20489 PyObject * obj0 = 0 ;
20490 PyObject * obj1 = 0 ;
20491 char *kwnames[] = {
20492 (char *) "self",(char *) "size", NULL
20493 };
20494
20495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20496 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20497 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20498 {
20499 arg2 = &temp2;
20500 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20501 }
20502 {
20503 PyThreadState* __tstate = wxPyBeginAllowThreads();
20504 (arg1)->SetMargins((wxSize const &)*arg2);
20505
20506 wxPyEndAllowThreads(__tstate);
20507 if (PyErr_Occurred()) SWIG_fail;
20508 }
20509 Py_INCREF(Py_None); resultobj = Py_None;
20510 return resultobj;
20511 fail:
20512 return NULL;
20513}
20514
20515
c32bde28 20516static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20517 PyObject *resultobj;
20518 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20519 int arg2 ;
20520 PyObject * obj0 = 0 ;
994141e6 20521 PyObject * obj1 = 0 ;
d14a1e28
RD
20522 char *kwnames[] = {
20523 (char *) "self",(char *) "packing", NULL
20524 };
20525
994141e6 20526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolPacking",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20527 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20528 if (SWIG_arg_fail(1)) SWIG_fail;
20529 {
20530 arg2 = (int)(SWIG_As_int(obj1));
20531 if (SWIG_arg_fail(2)) SWIG_fail;
20532 }
d14a1e28
RD
20533 {
20534 PyThreadState* __tstate = wxPyBeginAllowThreads();
20535 (arg1)->SetToolPacking(arg2);
20536
20537 wxPyEndAllowThreads(__tstate);
20538 if (PyErr_Occurred()) SWIG_fail;
20539 }
20540 Py_INCREF(Py_None); resultobj = Py_None;
20541 return resultobj;
20542 fail:
20543 return NULL;
20544}
20545
20546
c32bde28 20547static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20548 PyObject *resultobj;
20549 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20550 int arg2 ;
20551 PyObject * obj0 = 0 ;
994141e6 20552 PyObject * obj1 = 0 ;
d14a1e28
RD
20553 char *kwnames[] = {
20554 (char *) "self",(char *) "separation", NULL
20555 };
20556
994141e6 20557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20558 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20559 if (SWIG_arg_fail(1)) SWIG_fail;
20560 {
20561 arg2 = (int)(SWIG_As_int(obj1));
20562 if (SWIG_arg_fail(2)) SWIG_fail;
20563 }
d14a1e28
RD
20564 {
20565 PyThreadState* __tstate = wxPyBeginAllowThreads();
20566 (arg1)->SetToolSeparation(arg2);
20567
20568 wxPyEndAllowThreads(__tstate);
20569 if (PyErr_Occurred()) SWIG_fail;
20570 }
20571 Py_INCREF(Py_None); resultobj = Py_None;
20572 return resultobj;
20573 fail:
20574 return NULL;
20575}
20576
20577
c32bde28 20578static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20579 PyObject *resultobj;
20580 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20581 wxSize result;
20582 PyObject * obj0 = 0 ;
20583 char *kwnames[] = {
20584 (char *) "self", NULL
20585 };
20586
20587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolMargins",kwnames,&obj0)) goto fail;
093d3ff1
RD
20588 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20589 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20590 {
20591 PyThreadState* __tstate = wxPyBeginAllowThreads();
20592 result = (arg1)->GetToolMargins();
20593
20594 wxPyEndAllowThreads(__tstate);
20595 if (PyErr_Occurred()) SWIG_fail;
20596 }
20597 {
20598 wxSize * resultptr;
093d3ff1 20599 resultptr = new wxSize((wxSize &)(result));
15afbcd0 20600 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
20601 }
20602 return resultobj;
20603 fail:
20604 return NULL;
20605}
20606
20607
c32bde28 20608static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20609 PyObject *resultobj;
20610 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20611 wxSize result;
20612 PyObject * obj0 = 0 ;
20613 char *kwnames[] = {
20614 (char *) "self", NULL
20615 };
20616
20617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMargins",kwnames,&obj0)) goto fail;
093d3ff1
RD
20618 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20619 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20620 {
20621 PyThreadState* __tstate = wxPyBeginAllowThreads();
20622 result = (arg1)->GetMargins();
20623
20624 wxPyEndAllowThreads(__tstate);
20625 if (PyErr_Occurred()) SWIG_fail;
20626 }
20627 {
20628 wxSize * resultptr;
093d3ff1 20629 resultptr = new wxSize((wxSize &)(result));
15afbcd0 20630 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
20631 }
20632 return resultobj;
20633 fail:
20634 return NULL;
20635}
20636
20637
c32bde28 20638static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20639 PyObject *resultobj;
20640 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20641 int result;
20642 PyObject * obj0 = 0 ;
20643 char *kwnames[] = {
20644 (char *) "self", NULL
20645 };
20646
20647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolPacking",kwnames,&obj0)) goto fail;
093d3ff1
RD
20648 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20649 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20650 {
20651 PyThreadState* __tstate = wxPyBeginAllowThreads();
20652 result = (int)(arg1)->GetToolPacking();
20653
20654 wxPyEndAllowThreads(__tstate);
20655 if (PyErr_Occurred()) SWIG_fail;
20656 }
093d3ff1
RD
20657 {
20658 resultobj = SWIG_From_int((int)(result));
20659 }
d14a1e28
RD
20660 return resultobj;
20661 fail:
20662 return NULL;
20663}
20664
20665
c32bde28 20666static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20667 PyObject *resultobj;
20668 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20669 int result;
20670 PyObject * obj0 = 0 ;
20671 char *kwnames[] = {
20672 (char *) "self", NULL
20673 };
20674
20675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSeparation",kwnames,&obj0)) goto fail;
093d3ff1
RD
20676 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20677 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20678 {
20679 PyThreadState* __tstate = wxPyBeginAllowThreads();
20680 result = (int)(arg1)->GetToolSeparation();
20681
20682 wxPyEndAllowThreads(__tstate);
20683 if (PyErr_Occurred()) SWIG_fail;
20684 }
093d3ff1
RD
20685 {
20686 resultobj = SWIG_From_int((int)(result));
20687 }
d14a1e28
RD
20688 return resultobj;
20689 fail:
20690 return NULL;
20691}
20692
20693
c32bde28 20694static PyObject *_wrap_ToolBarBase_SetRows(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20695 PyObject *resultobj;
20696 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20697 int arg2 ;
20698 PyObject * obj0 = 0 ;
994141e6 20699 PyObject * obj1 = 0 ;
d14a1e28
RD
20700 char *kwnames[] = {
20701 (char *) "self",(char *) "nRows", NULL
20702 };
20703
994141e6 20704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetRows",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20705 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20706 if (SWIG_arg_fail(1)) SWIG_fail;
20707 {
20708 arg2 = (int)(SWIG_As_int(obj1));
20709 if (SWIG_arg_fail(2)) SWIG_fail;
20710 }
d14a1e28
RD
20711 {
20712 PyThreadState* __tstate = wxPyBeginAllowThreads();
20713 (arg1)->SetRows(arg2);
20714
20715 wxPyEndAllowThreads(__tstate);
20716 if (PyErr_Occurred()) SWIG_fail;
20717 }
20718 Py_INCREF(Py_None); resultobj = Py_None;
20719 return resultobj;
20720 fail:
20721 return NULL;
20722}
20723
20724
c32bde28 20725static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20726 PyObject *resultobj;
20727 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20728 int arg2 ;
20729 int arg3 ;
20730 PyObject * obj0 = 0 ;
994141e6
RD
20731 PyObject * obj1 = 0 ;
20732 PyObject * obj2 = 0 ;
d14a1e28
RD
20733 char *kwnames[] = {
20734 (char *) "self",(char *) "rows",(char *) "cols", NULL
20735 };
20736
994141e6 20737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
20738 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20739 if (SWIG_arg_fail(1)) SWIG_fail;
20740 {
20741 arg2 = (int)(SWIG_As_int(obj1));
20742 if (SWIG_arg_fail(2)) SWIG_fail;
20743 }
20744 {
20745 arg3 = (int)(SWIG_As_int(obj2));
20746 if (SWIG_arg_fail(3)) SWIG_fail;
20747 }
d14a1e28
RD
20748 {
20749 PyThreadState* __tstate = wxPyBeginAllowThreads();
20750 (arg1)->SetMaxRowsCols(arg2,arg3);
20751
20752 wxPyEndAllowThreads(__tstate);
20753 if (PyErr_Occurred()) SWIG_fail;
20754 }
20755 Py_INCREF(Py_None); resultobj = Py_None;
20756 return resultobj;
20757 fail:
20758 return NULL;
20759}
20760
20761
c32bde28 20762static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20763 PyObject *resultobj;
20764 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20765 int result;
20766 PyObject * obj0 = 0 ;
20767 char *kwnames[] = {
20768 (char *) "self", NULL
20769 };
20770
20771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxRows",kwnames,&obj0)) goto fail;
093d3ff1
RD
20772 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20773 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20774 {
20775 PyThreadState* __tstate = wxPyBeginAllowThreads();
20776 result = (int)(arg1)->GetMaxRows();
20777
20778 wxPyEndAllowThreads(__tstate);
20779 if (PyErr_Occurred()) SWIG_fail;
20780 }
093d3ff1
RD
20781 {
20782 resultobj = SWIG_From_int((int)(result));
20783 }
d14a1e28
RD
20784 return resultobj;
20785 fail:
20786 return NULL;
20787}
20788
20789
c32bde28 20790static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20791 PyObject *resultobj;
20792 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20793 int result;
20794 PyObject * obj0 = 0 ;
20795 char *kwnames[] = {
20796 (char *) "self", NULL
20797 };
20798
20799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxCols",kwnames,&obj0)) goto fail;
093d3ff1
RD
20800 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20801 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20802 {
20803 PyThreadState* __tstate = wxPyBeginAllowThreads();
20804 result = (int)(arg1)->GetMaxCols();
20805
20806 wxPyEndAllowThreads(__tstate);
20807 if (PyErr_Occurred()) SWIG_fail;
20808 }
093d3ff1
RD
20809 {
20810 resultobj = SWIG_From_int((int)(result));
20811 }
d14a1e28
RD
20812 return resultobj;
20813 fail:
20814 return NULL;
20815}
20816
20817
c32bde28 20818static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20819 PyObject *resultobj;
20820 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20821 wxSize *arg2 = 0 ;
20822 wxSize temp2 ;
20823 PyObject * obj0 = 0 ;
20824 PyObject * obj1 = 0 ;
20825 char *kwnames[] = {
20826 (char *) "self",(char *) "size", NULL
20827 };
20828
20829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20830 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20831 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20832 {
20833 arg2 = &temp2;
20834 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20835 }
20836 {
20837 PyThreadState* __tstate = wxPyBeginAllowThreads();
20838 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
20839
20840 wxPyEndAllowThreads(__tstate);
20841 if (PyErr_Occurred()) SWIG_fail;
20842 }
20843 Py_INCREF(Py_None); resultobj = Py_None;
20844 return resultobj;
20845 fail:
20846 return NULL;
20847}
20848
20849
c32bde28 20850static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20851 PyObject *resultobj;
20852 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20853 wxSize result;
20854 PyObject * obj0 = 0 ;
20855 char *kwnames[] = {
20856 (char *) "self", NULL
20857 };
20858
20859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
20860 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20861 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20862 {
20863 PyThreadState* __tstate = wxPyBeginAllowThreads();
20864 result = (arg1)->GetToolBitmapSize();
20865
20866 wxPyEndAllowThreads(__tstate);
20867 if (PyErr_Occurred()) SWIG_fail;
20868 }
20869 {
20870 wxSize * resultptr;
093d3ff1 20871 resultptr = new wxSize((wxSize &)(result));
15afbcd0 20872 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
20873 }
20874 return resultobj;
20875 fail:
20876 return NULL;
20877}
20878
20879
c32bde28 20880static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20881 PyObject *resultobj;
20882 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20883 wxSize result;
20884 PyObject * obj0 = 0 ;
20885 char *kwnames[] = {
20886 (char *) "self", NULL
20887 };
20888
20889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
20890 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20891 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20892 {
20893 PyThreadState* __tstate = wxPyBeginAllowThreads();
20894 result = (arg1)->GetToolSize();
20895
20896 wxPyEndAllowThreads(__tstate);
20897 if (PyErr_Occurred()) SWIG_fail;
20898 }
20899 {
20900 wxSize * resultptr;
093d3ff1 20901 resultptr = new wxSize((wxSize &)(result));
15afbcd0 20902 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
20903 }
20904 return resultobj;
20905 fail:
20906 return NULL;
20907}
20908
20909
c32bde28 20910static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20911 PyObject *resultobj;
20912 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
e811c8ce
RD
20913 int arg2 ;
20914 int arg3 ;
d14a1e28
RD
20915 wxToolBarToolBase *result;
20916 PyObject * obj0 = 0 ;
994141e6
RD
20917 PyObject * obj1 = 0 ;
20918 PyObject * obj2 = 0 ;
d14a1e28
RD
20919 char *kwnames[] = {
20920 (char *) "self",(char *) "x",(char *) "y", NULL
20921 };
20922
994141e6 20923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
20924 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20925 if (SWIG_arg_fail(1)) SWIG_fail;
20926 {
20927 arg2 = (int)(SWIG_As_int(obj1));
20928 if (SWIG_arg_fail(2)) SWIG_fail;
20929 }
20930 {
20931 arg3 = (int)(SWIG_As_int(obj2));
20932 if (SWIG_arg_fail(3)) SWIG_fail;
20933 }
d14a1e28
RD
20934 {
20935 PyThreadState* __tstate = wxPyBeginAllowThreads();
20936 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
20937
20938 wxPyEndAllowThreads(__tstate);
20939 if (PyErr_Occurred()) SWIG_fail;
20940 }
20941 {
412d302d 20942 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
20943 }
20944 return resultobj;
20945 fail:
20946 return NULL;
20947}
20948
20949
c32bde28 20950static PyObject *_wrap_ToolBarBase_FindById(PyObject *, PyObject *args, PyObject *kwargs) {
3a04f143
RD
20951 PyObject *resultobj;
20952 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20953 int arg2 ;
20954 wxToolBarToolBase *result;
20955 PyObject * obj0 = 0 ;
994141e6 20956 PyObject * obj1 = 0 ;
3a04f143
RD
20957 char *kwnames[] = {
20958 (char *) "self",(char *) "toolid", NULL
20959 };
20960
994141e6 20961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindById",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20962 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20963 if (SWIG_arg_fail(1)) SWIG_fail;
20964 {
20965 arg2 = (int)(SWIG_As_int(obj1));
20966 if (SWIG_arg_fail(2)) SWIG_fail;
20967 }
3a04f143
RD
20968 {
20969 PyThreadState* __tstate = wxPyBeginAllowThreads();
20970 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
20971
20972 wxPyEndAllowThreads(__tstate);
20973 if (PyErr_Occurred()) SWIG_fail;
20974 }
20975 {
412d302d 20976 resultobj = wxPyMake_wxObject(result, 0);
3a04f143
RD
20977 }
20978 return resultobj;
20979 fail:
20980 return NULL;
20981}
20982
20983
c32bde28 20984static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20985 PyObject *resultobj;
20986 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20987 bool result;
20988 PyObject * obj0 = 0 ;
20989 char *kwnames[] = {
20990 (char *) "self", NULL
20991 };
20992
20993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_IsVertical",kwnames,&obj0)) goto fail;
093d3ff1
RD
20994 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20995 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20996 {
20997 PyThreadState* __tstate = wxPyBeginAllowThreads();
20998 result = (bool)(arg1)->IsVertical();
20999
21000 wxPyEndAllowThreads(__tstate);
21001 if (PyErr_Occurred()) SWIG_fail;
21002 }
4f89f6a3
RD
21003 {
21004 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21005 }
d14a1e28
RD
21006 return resultobj;
21007 fail:
21008 return NULL;
21009}
21010
21011
c32bde28 21012static PyObject * ToolBarBase_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
21013 PyObject *obj;
21014 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21015 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase, obj);
21016 Py_INCREF(obj);
21017 return Py_BuildValue((char *)"");
21018}
c32bde28 21019static PyObject *_wrap_new_ToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21020 PyObject *resultobj;
21021 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 21022 int arg2 = (int) -1 ;
d14a1e28
RD
21023 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21024 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21025 wxSize const &arg4_defvalue = wxDefaultSize ;
21026 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21027 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
21028 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
21029 wxString *arg6 = (wxString *) &arg6_defvalue ;
21030 wxToolBar *result;
21031 wxPoint temp3 ;
21032 wxSize temp4 ;
ae8162c8 21033 bool temp6 = false ;
d14a1e28 21034 PyObject * obj0 = 0 ;
994141e6 21035 PyObject * obj1 = 0 ;
d14a1e28
RD
21036 PyObject * obj2 = 0 ;
21037 PyObject * obj3 = 0 ;
994141e6 21038 PyObject * obj4 = 0 ;
d14a1e28
RD
21039 PyObject * obj5 = 0 ;
21040 char *kwnames[] = {
21041 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21042 };
21043
248ed943 21044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ToolBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
21045 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
21046 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 21047 if (obj1) {
093d3ff1
RD
21048 {
21049 arg2 = (int)(SWIG_As_int(obj1));
21050 if (SWIG_arg_fail(2)) SWIG_fail;
21051 }
248ed943 21052 }
d14a1e28
RD
21053 if (obj2) {
21054 {
21055 arg3 = &temp3;
21056 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21057 }
21058 }
21059 if (obj3) {
21060 {
21061 arg4 = &temp4;
21062 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21063 }
21064 }
994141e6 21065 if (obj4) {
093d3ff1
RD
21066 {
21067 arg5 = (long)(SWIG_As_long(obj4));
21068 if (SWIG_arg_fail(5)) SWIG_fail;
21069 }
994141e6 21070 }
d14a1e28
RD
21071 if (obj5) {
21072 {
21073 arg6 = wxString_in_helper(obj5);
21074 if (arg6 == NULL) SWIG_fail;
ae8162c8 21075 temp6 = true;
d14a1e28
RD
21076 }
21077 }
21078 {
e3b71cb8 21079 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
21080 PyThreadState* __tstate = wxPyBeginAllowThreads();
21081 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21082
21083 wxPyEndAllowThreads(__tstate);
110da5b0 21084 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 21085 }
b0f7404b 21086 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolBar, 1);
d14a1e28
RD
21087 {
21088 if (temp6)
21089 delete arg6;
21090 }
21091 return resultobj;
21092 fail:
21093 {
21094 if (temp6)
21095 delete arg6;
21096 }
21097 return NULL;
21098}
21099
21100
c32bde28 21101static PyObject *_wrap_new_PreToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21102 PyObject *resultobj;
21103 wxToolBar *result;
21104 char *kwnames[] = {
21105 NULL
21106 };
21107
21108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolBar",kwnames)) goto fail;
21109 {
e3b71cb8 21110 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
21111 PyThreadState* __tstate = wxPyBeginAllowThreads();
21112 result = (wxToolBar *)new wxToolBar();
21113
21114 wxPyEndAllowThreads(__tstate);
110da5b0 21115 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 21116 }
b0f7404b 21117 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolBar, 1);
d14a1e28
RD
21118 return resultobj;
21119 fail:
21120 return NULL;
21121}
21122
21123
c32bde28 21124static PyObject *_wrap_ToolBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21125 PyObject *resultobj;
21126 wxToolBar *arg1 = (wxToolBar *) 0 ;
21127 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 21128 int arg3 = (int) -1 ;
d14a1e28
RD
21129 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21130 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21131 wxSize const &arg5_defvalue = wxDefaultSize ;
21132 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21133 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
21134 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
21135 wxString *arg7 = (wxString *) &arg7_defvalue ;
21136 bool result;
21137 wxPoint temp4 ;
21138 wxSize temp5 ;
ae8162c8 21139 bool temp7 = false ;
d14a1e28
RD
21140 PyObject * obj0 = 0 ;
21141 PyObject * obj1 = 0 ;
994141e6 21142 PyObject * obj2 = 0 ;
d14a1e28
RD
21143 PyObject * obj3 = 0 ;
21144 PyObject * obj4 = 0 ;
994141e6 21145 PyObject * obj5 = 0 ;
d14a1e28
RD
21146 PyObject * obj6 = 0 ;
21147 char *kwnames[] = {
21148 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21149 };
21150
248ed943 21151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ToolBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
21152 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0);
21153 if (SWIG_arg_fail(1)) SWIG_fail;
21154 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
21155 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 21156 if (obj2) {
093d3ff1
RD
21157 {
21158 arg3 = (int)(SWIG_As_int(obj2));
21159 if (SWIG_arg_fail(3)) SWIG_fail;
21160 }
248ed943 21161 }
d14a1e28
RD
21162 if (obj3) {
21163 {
21164 arg4 = &temp4;
21165 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21166 }
21167 }
21168 if (obj4) {
21169 {
21170 arg5 = &temp5;
21171 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21172 }
21173 }
994141e6 21174 if (obj5) {
093d3ff1
RD
21175 {
21176 arg6 = (long)(SWIG_As_long(obj5));
21177 if (SWIG_arg_fail(6)) SWIG_fail;
21178 }
994141e6 21179 }
d14a1e28
RD
21180 if (obj6) {
21181 {
21182 arg7 = wxString_in_helper(obj6);
21183 if (arg7 == NULL) SWIG_fail;
ae8162c8 21184 temp7 = true;
d14a1e28
RD
21185 }
21186 }
21187 {
21188 PyThreadState* __tstate = wxPyBeginAllowThreads();
21189 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21190
21191 wxPyEndAllowThreads(__tstate);
21192 if (PyErr_Occurred()) SWIG_fail;
21193 }
4f89f6a3
RD
21194 {
21195 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21196 }
d14a1e28
RD
21197 {
21198 if (temp7)
21199 delete arg7;
21200 }
21201 return resultobj;
21202 fail:
21203 {
21204 if (temp7)
21205 delete arg7;
21206 }
21207 return NULL;
21208}
21209
21210
c32bde28 21211static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21212 PyObject *resultobj;
21213 wxToolBar *arg1 = (wxToolBar *) 0 ;
e811c8ce
RD
21214 int arg2 ;
21215 int arg3 ;
d14a1e28
RD
21216 wxToolBarToolBase *result;
21217 PyObject * obj0 = 0 ;
994141e6
RD
21218 PyObject * obj1 = 0 ;
21219 PyObject * obj2 = 0 ;
d14a1e28
RD
21220 char *kwnames[] = {
21221 (char *) "self",(char *) "x",(char *) "y", NULL
21222 };
21223
994141e6 21224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBar_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
21225 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0);
21226 if (SWIG_arg_fail(1)) SWIG_fail;
21227 {
21228 arg2 = (int)(SWIG_As_int(obj1));
21229 if (SWIG_arg_fail(2)) SWIG_fail;
21230 }
21231 {
21232 arg3 = (int)(SWIG_As_int(obj2));
21233 if (SWIG_arg_fail(3)) SWIG_fail;
21234 }
d14a1e28
RD
21235 {
21236 PyThreadState* __tstate = wxPyBeginAllowThreads();
21237 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
21238
21239 wxPyEndAllowThreads(__tstate);
21240 if (PyErr_Occurred()) SWIG_fail;
21241 }
21242 {
412d302d 21243 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
21244 }
21245 return resultobj;
21246 fail:
21247 return NULL;
21248}
21249
21250
c32bde28 21251static PyObject *_wrap_ToolBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c 21252 PyObject *resultobj;
093d3ff1 21253 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
21254 wxVisualAttributes result;
21255 PyObject * obj0 = 0 ;
21256 char *kwnames[] = {
21257 (char *) "variant", NULL
21258 };
21259
21260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
21261 if (obj0) {
093d3ff1
RD
21262 {
21263 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
21264 if (SWIG_arg_fail(1)) SWIG_fail;
21265 }
22bfe96c
RD
21266 }
21267 {
110da5b0 21268 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
21269 PyThreadState* __tstate = wxPyBeginAllowThreads();
21270 result = wxToolBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
21271
21272 wxPyEndAllowThreads(__tstate);
dfbb5885 21273 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
21274 }
21275 {
21276 wxVisualAttributes * resultptr;
093d3ff1 21277 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
22bfe96c
RD
21278 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
21279 }
21280 return resultobj;
21281 fail:
21282 return NULL;
21283}
21284
21285
c32bde28 21286static PyObject * ToolBar_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
21287 PyObject *obj;
21288 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21289 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar, obj);
21290 Py_INCREF(obj);
21291 return Py_BuildValue((char *)"");
21292}
c32bde28 21293static int _wrap_ListCtrlNameStr_set(PyObject *) {
b2dc1044
RD
21294 PyErr_SetString(PyExc_TypeError,"Variable ListCtrlNameStr is read-only.");
21295 return 1;
21296}
21297
21298
093d3ff1 21299static PyObject *_wrap_ListCtrlNameStr_get(void) {
b2dc1044
RD
21300 PyObject *pyobj;
21301
21302 {
21303#if wxUSE_UNICODE
21304 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
21305#else
21306 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
21307#endif
21308 }
21309 return pyobj;
21310}
21311
21312
c32bde28 21313static PyObject *_wrap_new_ListItemAttr(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21314 PyObject *resultobj;
21315 wxColour const &arg1_defvalue = wxNullColour ;
21316 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
21317 wxColour const &arg2_defvalue = wxNullColour ;
21318 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
21319 wxFont const &arg3_defvalue = wxNullFont ;
21320 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
21321 wxListItemAttr *result;
21322 wxColour temp1 ;
21323 wxColour temp2 ;
21324 PyObject * obj0 = 0 ;
21325 PyObject * obj1 = 0 ;
21326 PyObject * obj2 = 0 ;
21327 char *kwnames[] = {
21328 (char *) "colText",(char *) "colBack",(char *) "font", NULL
21329 };
21330
21331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
21332 if (obj0) {
21333 {
21334 arg1 = &temp1;
21335 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
21336 }
21337 }
21338 if (obj1) {
21339 {
21340 arg2 = &temp2;
21341 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21342 }
21343 }
21344 if (obj2) {
093d3ff1
RD
21345 {
21346 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
21347 if (SWIG_arg_fail(3)) SWIG_fail;
21348 if (arg3 == NULL) {
21349 SWIG_null_ref("wxFont");
21350 }
21351 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
21352 }
21353 }
21354 {
21355 PyThreadState* __tstate = wxPyBeginAllowThreads();
21356 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
21357
21358 wxPyEndAllowThreads(__tstate);
21359 if (PyErr_Occurred()) SWIG_fail;
21360 }
15afbcd0 21361 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 1);
d14a1e28
RD
21362 return resultobj;
21363 fail:
21364 return NULL;
21365}
21366
21367
c32bde28 21368static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21369 PyObject *resultobj;
21370 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21371 wxColour *arg2 = 0 ;
21372 wxColour temp2 ;
21373 PyObject * obj0 = 0 ;
21374 PyObject * obj1 = 0 ;
21375 char *kwnames[] = {
21376 (char *) "self",(char *) "colText", NULL
21377 };
21378
21379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21380 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21381 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21382 {
21383 arg2 = &temp2;
21384 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21385 }
21386 {
21387 PyThreadState* __tstate = wxPyBeginAllowThreads();
21388 (arg1)->SetTextColour((wxColour const &)*arg2);
21389
21390 wxPyEndAllowThreads(__tstate);
21391 if (PyErr_Occurred()) SWIG_fail;
21392 }
21393 Py_INCREF(Py_None); resultobj = Py_None;
21394 return resultobj;
21395 fail:
21396 return NULL;
21397}
21398
21399
c32bde28 21400static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21401 PyObject *resultobj;
21402 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21403 wxColour *arg2 = 0 ;
21404 wxColour temp2 ;
21405 PyObject * obj0 = 0 ;
21406 PyObject * obj1 = 0 ;
21407 char *kwnames[] = {
21408 (char *) "self",(char *) "colBack", NULL
21409 };
21410
21411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21412 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21413 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21414 {
21415 arg2 = &temp2;
21416 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21417 }
21418 {
21419 PyThreadState* __tstate = wxPyBeginAllowThreads();
21420 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
21421
21422 wxPyEndAllowThreads(__tstate);
21423 if (PyErr_Occurred()) SWIG_fail;
21424 }
21425 Py_INCREF(Py_None); resultobj = Py_None;
21426 return resultobj;
21427 fail:
21428 return NULL;
21429}
21430
21431
c32bde28 21432static PyObject *_wrap_ListItemAttr_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21433 PyObject *resultobj;
21434 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21435 wxFont *arg2 = 0 ;
21436 PyObject * obj0 = 0 ;
21437 PyObject * obj1 = 0 ;
21438 char *kwnames[] = {
21439 (char *) "self",(char *) "font", NULL
21440 };
21441
21442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21443 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21444 if (SWIG_arg_fail(1)) SWIG_fail;
21445 {
21446 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
21447 if (SWIG_arg_fail(2)) SWIG_fail;
21448 if (arg2 == NULL) {
21449 SWIG_null_ref("wxFont");
21450 }
21451 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
21452 }
21453 {
21454 PyThreadState* __tstate = wxPyBeginAllowThreads();
21455 (arg1)->SetFont((wxFont const &)*arg2);
21456
21457 wxPyEndAllowThreads(__tstate);
21458 if (PyErr_Occurred()) SWIG_fail;
21459 }
21460 Py_INCREF(Py_None); resultobj = Py_None;
21461 return resultobj;
21462 fail:
21463 return NULL;
21464}
21465
21466
c32bde28 21467static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21468 PyObject *resultobj;
21469 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21470 bool result;
21471 PyObject * obj0 = 0 ;
21472 char *kwnames[] = {
21473 (char *) "self", NULL
21474 };
21475
21476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasTextColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
21477 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21478 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21479 {
21480 PyThreadState* __tstate = wxPyBeginAllowThreads();
21481 result = (bool)(arg1)->HasTextColour();
21482
21483 wxPyEndAllowThreads(__tstate);
21484 if (PyErr_Occurred()) SWIG_fail;
21485 }
4f89f6a3
RD
21486 {
21487 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21488 }
d14a1e28
RD
21489 return resultobj;
21490 fail:
21491 return NULL;
21492}
21493
21494
c32bde28 21495static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21496 PyObject *resultobj;
21497 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21498 bool result;
21499 PyObject * obj0 = 0 ;
21500 char *kwnames[] = {
21501 (char *) "self", NULL
21502 };
21503
21504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
21505 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21506 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21507 {
21508 PyThreadState* __tstate = wxPyBeginAllowThreads();
21509 result = (bool)(arg1)->HasBackgroundColour();
21510
21511 wxPyEndAllowThreads(__tstate);
21512 if (PyErr_Occurred()) SWIG_fail;
21513 }
4f89f6a3
RD
21514 {
21515 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21516 }
d14a1e28
RD
21517 return resultobj;
21518 fail:
21519 return NULL;
21520}
21521
21522
c32bde28 21523static PyObject *_wrap_ListItemAttr_HasFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21524 PyObject *resultobj;
21525 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21526 bool result;
21527 PyObject * obj0 = 0 ;
21528 char *kwnames[] = {
21529 (char *) "self", NULL
21530 };
21531
21532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasFont",kwnames,&obj0)) goto fail;
093d3ff1
RD
21533 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21534 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21535 {
21536 PyThreadState* __tstate = wxPyBeginAllowThreads();
21537 result = (bool)(arg1)->HasFont();
21538
21539 wxPyEndAllowThreads(__tstate);
21540 if (PyErr_Occurred()) SWIG_fail;
21541 }
4f89f6a3
RD
21542 {
21543 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21544 }
d14a1e28
RD
21545 return resultobj;
21546 fail:
21547 return NULL;
21548}
21549
21550
c32bde28 21551static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21552 PyObject *resultobj;
21553 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21554 wxColour result;
21555 PyObject * obj0 = 0 ;
21556 char *kwnames[] = {
21557 (char *) "self", NULL
21558 };
21559
21560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetTextColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
21561 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21562 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21563 {
21564 PyThreadState* __tstate = wxPyBeginAllowThreads();
21565 result = (arg1)->GetTextColour();
21566
21567 wxPyEndAllowThreads(__tstate);
21568 if (PyErr_Occurred()) SWIG_fail;
21569 }
21570 {
21571 wxColour * resultptr;
093d3ff1 21572 resultptr = new wxColour((wxColour &)(result));
15afbcd0 21573 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
21574 }
21575 return resultobj;
21576 fail:
21577 return NULL;
21578}
21579
21580
c32bde28 21581static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21582 PyObject *resultobj;
21583 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21584 wxColour result;
21585 PyObject * obj0 = 0 ;
21586 char *kwnames[] = {
21587 (char *) "self", NULL
21588 };
21589
21590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
21591 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21592 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21593 {
21594 PyThreadState* __tstate = wxPyBeginAllowThreads();
21595 result = (arg1)->GetBackgroundColour();
21596
21597 wxPyEndAllowThreads(__tstate);
21598 if (PyErr_Occurred()) SWIG_fail;
21599 }
21600 {
21601 wxColour * resultptr;
093d3ff1 21602 resultptr = new wxColour((wxColour &)(result));
15afbcd0 21603 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
21604 }
21605 return resultobj;
21606 fail:
21607 return NULL;
21608}
21609
21610
c32bde28 21611static PyObject *_wrap_ListItemAttr_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21612 PyObject *resultobj;
21613 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21614 wxFont result;
21615 PyObject * obj0 = 0 ;
21616 char *kwnames[] = {
21617 (char *) "self", NULL
21618 };
21619
21620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetFont",kwnames,&obj0)) goto fail;
093d3ff1
RD
21621 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21622 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21623 {
21624 PyThreadState* __tstate = wxPyBeginAllowThreads();
21625 result = (arg1)->GetFont();
21626
21627 wxPyEndAllowThreads(__tstate);
21628 if (PyErr_Occurred()) SWIG_fail;
21629 }
21630 {
21631 wxFont * resultptr;
093d3ff1 21632 resultptr = new wxFont((wxFont &)(result));
15afbcd0 21633 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
21634 }
21635 return resultobj;
21636 fail:
21637 return NULL;
21638}
21639
21640
c32bde28 21641static PyObject *_wrap_ListItemAttr_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21642 PyObject *resultobj;
21643 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21644 PyObject * obj0 = 0 ;
21645 char *kwnames[] = {
21646 (char *) "self", NULL
21647 };
21648
21649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_Destroy",kwnames,&obj0)) goto fail;
093d3ff1
RD
21650 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21651 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21652 {
21653 PyThreadState* __tstate = wxPyBeginAllowThreads();
21654 wxListItemAttr_Destroy(arg1);
21655
21656 wxPyEndAllowThreads(__tstate);
21657 if (PyErr_Occurred()) SWIG_fail;
21658 }
21659 Py_INCREF(Py_None); resultobj = Py_None;
21660 return resultobj;
21661 fail:
21662 return NULL;
21663}
21664
21665
c32bde28 21666static PyObject * ListItemAttr_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
21667 PyObject *obj;
21668 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21669 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr, obj);
21670 Py_INCREF(obj);
21671 return Py_BuildValue((char *)"");
21672}
c32bde28 21673static PyObject *_wrap_new_ListItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21674 PyObject *resultobj;
21675 wxListItem *result;
21676 char *kwnames[] = {
21677 NULL
21678 };
21679
21680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ListItem",kwnames)) goto fail;
21681 {
21682 PyThreadState* __tstate = wxPyBeginAllowThreads();
21683 result = (wxListItem *)new wxListItem();
21684
21685 wxPyEndAllowThreads(__tstate);
21686 if (PyErr_Occurred()) SWIG_fail;
21687 }
21688 {
412d302d 21689 resultobj = wxPyMake_wxObject(result, 1);
d14a1e28
RD
21690 }
21691 return resultobj;
21692 fail:
21693 return NULL;
21694}
21695
21696
c32bde28 21697static PyObject *_wrap_delete_ListItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21698 PyObject *resultobj;
21699 wxListItem *arg1 = (wxListItem *) 0 ;
21700 PyObject * obj0 = 0 ;
21701 char *kwnames[] = {
21702 (char *) "self", NULL
21703 };
21704
21705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItem",kwnames,&obj0)) goto fail;
093d3ff1
RD
21706 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21707 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21708 {
21709 PyThreadState* __tstate = wxPyBeginAllowThreads();
21710 delete arg1;
21711
21712 wxPyEndAllowThreads(__tstate);
21713 if (PyErr_Occurred()) SWIG_fail;
21714 }
21715 Py_INCREF(Py_None); resultobj = Py_None;
21716 return resultobj;
21717 fail:
21718 return NULL;
21719}
21720
21721
c32bde28 21722static PyObject *_wrap_ListItem_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21723 PyObject *resultobj;
21724 wxListItem *arg1 = (wxListItem *) 0 ;
21725 PyObject * obj0 = 0 ;
21726 char *kwnames[] = {
21727 (char *) "self", NULL
21728 };
21729
21730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_Clear",kwnames,&obj0)) goto fail;
093d3ff1
RD
21731 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21732 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21733 {
21734 PyThreadState* __tstate = wxPyBeginAllowThreads();
21735 (arg1)->Clear();
21736
21737 wxPyEndAllowThreads(__tstate);
21738 if (PyErr_Occurred()) SWIG_fail;
21739 }
21740 Py_INCREF(Py_None); resultobj = Py_None;
21741 return resultobj;
21742 fail:
21743 return NULL;
21744}
21745
21746
c32bde28 21747static PyObject *_wrap_ListItem_ClearAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21748 PyObject *resultobj;
21749 wxListItem *arg1 = (wxListItem *) 0 ;
21750 PyObject * obj0 = 0 ;
21751 char *kwnames[] = {
21752 (char *) "self", NULL
21753 };
21754
21755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_ClearAttributes",kwnames,&obj0)) goto fail;
093d3ff1
RD
21756 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21757 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21758 {
21759 PyThreadState* __tstate = wxPyBeginAllowThreads();
21760 (arg1)->ClearAttributes();
21761
21762 wxPyEndAllowThreads(__tstate);
21763 if (PyErr_Occurred()) SWIG_fail;
21764 }
21765 Py_INCREF(Py_None); resultobj = Py_None;
21766 return resultobj;
21767 fail:
21768 return NULL;
21769}
21770
21771
c32bde28 21772static PyObject *_wrap_ListItem_SetMask(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21773 PyObject *resultobj;
21774 wxListItem *arg1 = (wxListItem *) 0 ;
21775 long arg2 ;
21776 PyObject * obj0 = 0 ;
994141e6 21777 PyObject * obj1 = 0 ;
d14a1e28
RD
21778 char *kwnames[] = {
21779 (char *) "self",(char *) "mask", NULL
21780 };
21781
994141e6 21782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetMask",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21783 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21784 if (SWIG_arg_fail(1)) SWIG_fail;
21785 {
21786 arg2 = (long)(SWIG_As_long(obj1));
21787 if (SWIG_arg_fail(2)) SWIG_fail;
21788 }
d14a1e28
RD
21789 {
21790 PyThreadState* __tstate = wxPyBeginAllowThreads();
21791 (arg1)->SetMask(arg2);
21792
21793 wxPyEndAllowThreads(__tstate);
21794 if (PyErr_Occurred()) SWIG_fail;
21795 }
21796 Py_INCREF(Py_None); resultobj = Py_None;
21797 return resultobj;
21798 fail:
21799 return NULL;
21800}
21801
21802
c32bde28 21803static PyObject *_wrap_ListItem_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21804 PyObject *resultobj;
21805 wxListItem *arg1 = (wxListItem *) 0 ;
21806 long arg2 ;
21807 PyObject * obj0 = 0 ;
994141e6 21808 PyObject * obj1 = 0 ;
d14a1e28
RD
21809 char *kwnames[] = {
21810 (char *) "self",(char *) "id", NULL
21811 };
21812
994141e6 21813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetId",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21814 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21815 if (SWIG_arg_fail(1)) SWIG_fail;
21816 {
21817 arg2 = (long)(SWIG_As_long(obj1));
21818 if (SWIG_arg_fail(2)) SWIG_fail;
21819 }
d14a1e28
RD
21820 {
21821 PyThreadState* __tstate = wxPyBeginAllowThreads();
21822 (arg1)->SetId(arg2);
21823
21824 wxPyEndAllowThreads(__tstate);
21825 if (PyErr_Occurred()) SWIG_fail;
21826 }
21827 Py_INCREF(Py_None); resultobj = Py_None;
21828 return resultobj;
21829 fail:
21830 return NULL;
21831}
21832
21833
c32bde28 21834static PyObject *_wrap_ListItem_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21835 PyObject *resultobj;
21836 wxListItem *arg1 = (wxListItem *) 0 ;
21837 int arg2 ;
21838 PyObject * obj0 = 0 ;
994141e6 21839 PyObject * obj1 = 0 ;
d14a1e28
RD
21840 char *kwnames[] = {
21841 (char *) "self",(char *) "col", NULL
21842 };
21843
994141e6 21844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetColumn",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21845 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21846 if (SWIG_arg_fail(1)) SWIG_fail;
21847 {
21848 arg2 = (int)(SWIG_As_int(obj1));
21849 if (SWIG_arg_fail(2)) SWIG_fail;
21850 }
d14a1e28
RD
21851 {
21852 PyThreadState* __tstate = wxPyBeginAllowThreads();
21853 (arg1)->SetColumn(arg2);
21854
21855 wxPyEndAllowThreads(__tstate);
21856 if (PyErr_Occurred()) SWIG_fail;
21857 }
21858 Py_INCREF(Py_None); resultobj = Py_None;
21859 return resultobj;
21860 fail:
21861 return NULL;
21862}
21863
21864
c32bde28 21865static PyObject *_wrap_ListItem_SetState(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21866 PyObject *resultobj;
21867 wxListItem *arg1 = (wxListItem *) 0 ;
21868 long arg2 ;
21869 PyObject * obj0 = 0 ;
994141e6 21870 PyObject * obj1 = 0 ;
d14a1e28
RD
21871 char *kwnames[] = {
21872 (char *) "self",(char *) "state", NULL
21873 };
21874
994141e6 21875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetState",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21876 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21877 if (SWIG_arg_fail(1)) SWIG_fail;
21878 {
21879 arg2 = (long)(SWIG_As_long(obj1));
21880 if (SWIG_arg_fail(2)) SWIG_fail;
21881 }
d14a1e28
RD
21882 {
21883 PyThreadState* __tstate = wxPyBeginAllowThreads();
21884 (arg1)->SetState(arg2);
21885
21886 wxPyEndAllowThreads(__tstate);
21887 if (PyErr_Occurred()) SWIG_fail;
21888 }
21889 Py_INCREF(Py_None); resultobj = Py_None;
21890 return resultobj;
21891 fail:
21892 return NULL;
21893}
21894
21895
c32bde28 21896static PyObject *_wrap_ListItem_SetStateMask(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21897 PyObject *resultobj;
21898 wxListItem *arg1 = (wxListItem *) 0 ;
21899 long arg2 ;
21900 PyObject * obj0 = 0 ;
994141e6 21901 PyObject * obj1 = 0 ;
d14a1e28
RD
21902 char *kwnames[] = {
21903 (char *) "self",(char *) "stateMask", NULL
21904 };
21905
994141e6 21906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetStateMask",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21907 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21908 if (SWIG_arg_fail(1)) SWIG_fail;
21909 {
21910 arg2 = (long)(SWIG_As_long(obj1));
21911 if (SWIG_arg_fail(2)) SWIG_fail;
21912 }
d14a1e28
RD
21913 {
21914 PyThreadState* __tstate = wxPyBeginAllowThreads();
21915 (arg1)->SetStateMask(arg2);
21916
21917 wxPyEndAllowThreads(__tstate);
21918 if (PyErr_Occurred()) SWIG_fail;
21919 }
21920 Py_INCREF(Py_None); resultobj = Py_None;
21921 return resultobj;
21922 fail:
21923 return NULL;
21924}
21925
21926
c32bde28 21927static PyObject *_wrap_ListItem_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21928 PyObject *resultobj;
21929 wxListItem *arg1 = (wxListItem *) 0 ;
21930 wxString *arg2 = 0 ;
ae8162c8 21931 bool temp2 = false ;
d14a1e28
RD
21932 PyObject * obj0 = 0 ;
21933 PyObject * obj1 = 0 ;
21934 char *kwnames[] = {
21935 (char *) "self",(char *) "text", NULL
21936 };
21937
21938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21939 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21940 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21941 {
21942 arg2 = wxString_in_helper(obj1);
21943 if (arg2 == NULL) SWIG_fail;
ae8162c8 21944 temp2 = true;
d14a1e28
RD
21945 }
21946 {
21947 PyThreadState* __tstate = wxPyBeginAllowThreads();
21948 (arg1)->SetText((wxString const &)*arg2);
21949
21950 wxPyEndAllowThreads(__tstate);
21951 if (PyErr_Occurred()) SWIG_fail;
21952 }
21953 Py_INCREF(Py_None); resultobj = Py_None;
21954 {
21955 if (temp2)
21956 delete arg2;
21957 }
21958 return resultobj;
21959 fail:
21960 {
21961 if (temp2)
21962 delete arg2;
21963 }
21964 return NULL;
21965}
21966
21967
c32bde28 21968static PyObject *_wrap_ListItem_SetImage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21969 PyObject *resultobj;
21970 wxListItem *arg1 = (wxListItem *) 0 ;
21971 int arg2 ;
21972 PyObject * obj0 = 0 ;
994141e6 21973 PyObject * obj1 = 0 ;
d14a1e28
RD
21974 char *kwnames[] = {
21975 (char *) "self",(char *) "image", NULL
21976 };
21977
994141e6 21978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetImage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21979 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21980 if (SWIG_arg_fail(1)) SWIG_fail;
21981 {
21982 arg2 = (int)(SWIG_As_int(obj1));
21983 if (SWIG_arg_fail(2)) SWIG_fail;
21984 }
d14a1e28
RD
21985 {
21986 PyThreadState* __tstate = wxPyBeginAllowThreads();
21987 (arg1)->SetImage(arg2);
21988
21989 wxPyEndAllowThreads(__tstate);
21990 if (PyErr_Occurred()) SWIG_fail;
21991 }
21992 Py_INCREF(Py_None); resultobj = Py_None;
21993 return resultobj;
21994 fail:
21995 return NULL;
21996}
21997
21998
c32bde28 21999static PyObject *_wrap_ListItem_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22000 PyObject *resultobj;
22001 wxListItem *arg1 = (wxListItem *) 0 ;
22002 long arg2 ;
22003 PyObject * obj0 = 0 ;
994141e6 22004 PyObject * obj1 = 0 ;
d14a1e28
RD
22005 char *kwnames[] = {
22006 (char *) "self",(char *) "data", NULL
22007 };
22008
994141e6 22009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22010 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22011 if (SWIG_arg_fail(1)) SWIG_fail;
22012 {
22013 arg2 = (long)(SWIG_As_long(obj1));
22014 if (SWIG_arg_fail(2)) SWIG_fail;
22015 }
d14a1e28
RD
22016 {
22017 PyThreadState* __tstate = wxPyBeginAllowThreads();
22018 (arg1)->SetData(arg2);
22019
22020 wxPyEndAllowThreads(__tstate);
22021 if (PyErr_Occurred()) SWIG_fail;
22022 }
22023 Py_INCREF(Py_None); resultobj = Py_None;
22024 return resultobj;
22025 fail:
22026 return NULL;
22027}
22028
22029
c32bde28 22030static PyObject *_wrap_ListItem_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22031 PyObject *resultobj;
22032 wxListItem *arg1 = (wxListItem *) 0 ;
22033 int arg2 ;
22034 PyObject * obj0 = 0 ;
994141e6 22035 PyObject * obj1 = 0 ;
d14a1e28
RD
22036 char *kwnames[] = {
22037 (char *) "self",(char *) "width", NULL
22038 };
22039
994141e6 22040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetWidth",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22041 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22042 if (SWIG_arg_fail(1)) SWIG_fail;
22043 {
22044 arg2 = (int)(SWIG_As_int(obj1));
22045 if (SWIG_arg_fail(2)) SWIG_fail;
22046 }
d14a1e28
RD
22047 {
22048 PyThreadState* __tstate = wxPyBeginAllowThreads();
22049 (arg1)->SetWidth(arg2);
22050
22051 wxPyEndAllowThreads(__tstate);
22052 if (PyErr_Occurred()) SWIG_fail;
22053 }
22054 Py_INCREF(Py_None); resultobj = Py_None;
22055 return resultobj;
22056 fail:
22057 return NULL;
22058}
22059
22060
c32bde28 22061static PyObject *_wrap_ListItem_SetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22062 PyObject *resultobj;
22063 wxListItem *arg1 = (wxListItem *) 0 ;
093d3ff1 22064 wxListColumnFormat arg2 ;
d14a1e28 22065 PyObject * obj0 = 0 ;
994141e6 22066 PyObject * obj1 = 0 ;
d14a1e28
RD
22067 char *kwnames[] = {
22068 (char *) "self",(char *) "align", NULL
22069 };
22070
994141e6 22071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetAlign",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22072 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22073 if (SWIG_arg_fail(1)) SWIG_fail;
22074 {
22075 arg2 = (wxListColumnFormat)(SWIG_As_int(obj1));
22076 if (SWIG_arg_fail(2)) SWIG_fail;
22077 }
d14a1e28
RD
22078 {
22079 PyThreadState* __tstate = wxPyBeginAllowThreads();
22080 (arg1)->SetAlign((wxListColumnFormat )arg2);
22081
22082 wxPyEndAllowThreads(__tstate);
22083 if (PyErr_Occurred()) SWIG_fail;
22084 }
22085 Py_INCREF(Py_None); resultobj = Py_None;
22086 return resultobj;
22087 fail:
22088 return NULL;
22089}
22090
22091
c32bde28 22092static PyObject *_wrap_ListItem_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22093 PyObject *resultobj;
22094 wxListItem *arg1 = (wxListItem *) 0 ;
22095 wxColour *arg2 = 0 ;
22096 wxColour temp2 ;
22097 PyObject * obj0 = 0 ;
22098 PyObject * obj1 = 0 ;
22099 char *kwnames[] = {
22100 (char *) "self",(char *) "colText", NULL
22101 };
22102
22103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22104 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22105 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22106 {
22107 arg2 = &temp2;
22108 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22109 }
22110 {
22111 PyThreadState* __tstate = wxPyBeginAllowThreads();
22112 (arg1)->SetTextColour((wxColour const &)*arg2);
22113
22114 wxPyEndAllowThreads(__tstate);
22115 if (PyErr_Occurred()) SWIG_fail;
22116 }
22117 Py_INCREF(Py_None); resultobj = Py_None;
22118 return resultobj;
22119 fail:
22120 return NULL;
22121}
22122
22123
c32bde28 22124static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22125 PyObject *resultobj;
22126 wxListItem *arg1 = (wxListItem *) 0 ;
22127 wxColour *arg2 = 0 ;
22128 wxColour temp2 ;
22129 PyObject * obj0 = 0 ;
22130 PyObject * obj1 = 0 ;
22131 char *kwnames[] = {
22132 (char *) "self",(char *) "colBack", NULL
22133 };
22134
22135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22136 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22137 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22138 {
22139 arg2 = &temp2;
22140 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22141 }
22142 {
22143 PyThreadState* __tstate = wxPyBeginAllowThreads();
22144 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
22145
22146 wxPyEndAllowThreads(__tstate);
22147 if (PyErr_Occurred()) SWIG_fail;
22148 }
22149 Py_INCREF(Py_None); resultobj = Py_None;
22150 return resultobj;
22151 fail:
22152 return NULL;
22153}
22154
22155
c32bde28 22156static PyObject *_wrap_ListItem_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22157 PyObject *resultobj;
22158 wxListItem *arg1 = (wxListItem *) 0 ;
22159 wxFont *arg2 = 0 ;
22160 PyObject * obj0 = 0 ;
22161 PyObject * obj1 = 0 ;
22162 char *kwnames[] = {
22163 (char *) "self",(char *) "font", NULL
22164 };
22165
22166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22167 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22168 if (SWIG_arg_fail(1)) SWIG_fail;
22169 {
22170 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
22171 if (SWIG_arg_fail(2)) SWIG_fail;
22172 if (arg2 == NULL) {
22173 SWIG_null_ref("wxFont");
22174 }
22175 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
22176 }
22177 {
22178 PyThreadState* __tstate = wxPyBeginAllowThreads();
22179 (arg1)->SetFont((wxFont const &)*arg2);
22180
22181 wxPyEndAllowThreads(__tstate);
22182 if (PyErr_Occurred()) SWIG_fail;
22183 }
22184 Py_INCREF(Py_None); resultobj = Py_None;
22185 return resultobj;
22186 fail:
22187 return NULL;
22188}
22189
22190
c32bde28 22191static PyObject *_wrap_ListItem_GetMask(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22192 PyObject *resultobj;
22193 wxListItem *arg1 = (wxListItem *) 0 ;
22194 long result;
22195 PyObject * obj0 = 0 ;
22196 char *kwnames[] = {
22197 (char *) "self", NULL
22198 };
22199
22200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetMask",kwnames,&obj0)) goto fail;
093d3ff1
RD
22201 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22202 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22203 {
22204 PyThreadState* __tstate = wxPyBeginAllowThreads();
22205 result = (long)(arg1)->GetMask();
22206
22207 wxPyEndAllowThreads(__tstate);
22208 if (PyErr_Occurred()) SWIG_fail;
22209 }
093d3ff1
RD
22210 {
22211 resultobj = SWIG_From_long((long)(result));
22212 }
d14a1e28
RD
22213 return resultobj;
22214 fail:
22215 return NULL;
22216}
22217
22218
c32bde28 22219static PyObject *_wrap_ListItem_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22220 PyObject *resultobj;
22221 wxListItem *arg1 = (wxListItem *) 0 ;
22222 long result;
22223 PyObject * obj0 = 0 ;
22224 char *kwnames[] = {
22225 (char *) "self", NULL
22226 };
22227
22228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetId",kwnames,&obj0)) goto fail;
093d3ff1
RD
22229 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22230 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22231 {
22232 PyThreadState* __tstate = wxPyBeginAllowThreads();
22233 result = (long)(arg1)->GetId();
22234
22235 wxPyEndAllowThreads(__tstate);
22236 if (PyErr_Occurred()) SWIG_fail;
22237 }
093d3ff1
RD
22238 {
22239 resultobj = SWIG_From_long((long)(result));
22240 }
d14a1e28
RD
22241 return resultobj;
22242 fail:
22243 return NULL;
22244}
22245
22246
c32bde28 22247static PyObject *_wrap_ListItem_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22248 PyObject *resultobj;
22249 wxListItem *arg1 = (wxListItem *) 0 ;
22250 int result;
22251 PyObject * obj0 = 0 ;
22252 char *kwnames[] = {
22253 (char *) "self", NULL
22254 };
22255
22256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetColumn",kwnames,&obj0)) goto fail;
093d3ff1
RD
22257 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22258 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22259 {
22260 PyThreadState* __tstate = wxPyBeginAllowThreads();
22261 result = (int)(arg1)->GetColumn();
22262
22263 wxPyEndAllowThreads(__tstate);
22264 if (PyErr_Occurred()) SWIG_fail;
22265 }
093d3ff1
RD
22266 {
22267 resultobj = SWIG_From_int((int)(result));
22268 }
d14a1e28
RD
22269 return resultobj;
22270 fail:
22271 return NULL;
22272}
22273
22274
c32bde28 22275static PyObject *_wrap_ListItem_GetState(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22276 PyObject *resultobj;
22277 wxListItem *arg1 = (wxListItem *) 0 ;
22278 long result;
22279 PyObject * obj0 = 0 ;
22280 char *kwnames[] = {
22281 (char *) "self", NULL
22282 };
22283
22284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetState",kwnames,&obj0)) goto fail;
093d3ff1
RD
22285 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22286 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22287 {
22288 PyThreadState* __tstate = wxPyBeginAllowThreads();
22289 result = (long)(arg1)->GetState();
22290
22291 wxPyEndAllowThreads(__tstate);
22292 if (PyErr_Occurred()) SWIG_fail;
22293 }
093d3ff1
RD
22294 {
22295 resultobj = SWIG_From_long((long)(result));
22296 }
d14a1e28
RD
22297 return resultobj;
22298 fail:
22299 return NULL;
22300}
22301
22302
c32bde28 22303static PyObject *_wrap_ListItem_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22304 PyObject *resultobj;
22305 wxListItem *arg1 = (wxListItem *) 0 ;
22306 wxString *result;
22307 PyObject * obj0 = 0 ;
22308 char *kwnames[] = {
22309 (char *) "self", NULL
22310 };
22311
22312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetText",kwnames,&obj0)) goto fail;
093d3ff1
RD
22313 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22314 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22315 {
22316 PyThreadState* __tstate = wxPyBeginAllowThreads();
22317 {
22318 wxString const &_result_ref = (arg1)->GetText();
22319 result = (wxString *) &_result_ref;
22320 }
22321
22322 wxPyEndAllowThreads(__tstate);
22323 if (PyErr_Occurred()) SWIG_fail;
22324 }
cc6dd355
RD
22325 {
22326#if wxUSE_UNICODE
22327 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
22328#else
22329 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
22330#endif
22331 }
d14a1e28
RD
22332 return resultobj;
22333 fail:
22334 return NULL;
22335}
22336
22337
c32bde28 22338static PyObject *_wrap_ListItem_GetImage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22339 PyObject *resultobj;
22340 wxListItem *arg1 = (wxListItem *) 0 ;
22341 int result;
22342 PyObject * obj0 = 0 ;
22343 char *kwnames[] = {
22344 (char *) "self", NULL
22345 };
22346
22347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetImage",kwnames,&obj0)) goto fail;
093d3ff1
RD
22348 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22349 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22350 {
22351 PyThreadState* __tstate = wxPyBeginAllowThreads();
22352 result = (int)(arg1)->GetImage();
22353
22354 wxPyEndAllowThreads(__tstate);
22355 if (PyErr_Occurred()) SWIG_fail;
22356 }
093d3ff1
RD
22357 {
22358 resultobj = SWIG_From_int((int)(result));
22359 }
d14a1e28
RD
22360 return resultobj;
22361 fail:
22362 return NULL;
22363}
22364
22365
c32bde28 22366static PyObject *_wrap_ListItem_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22367 PyObject *resultobj;
22368 wxListItem *arg1 = (wxListItem *) 0 ;
22369 long result;
22370 PyObject * obj0 = 0 ;
22371 char *kwnames[] = {
22372 (char *) "self", NULL
22373 };
22374
22375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetData",kwnames,&obj0)) goto fail;
093d3ff1
RD
22376 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22377 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22378 {
22379 PyThreadState* __tstate = wxPyBeginAllowThreads();
22380 result = (long)(arg1)->GetData();
22381
22382 wxPyEndAllowThreads(__tstate);
22383 if (PyErr_Occurred()) SWIG_fail;
22384 }
093d3ff1
RD
22385 {
22386 resultobj = SWIG_From_long((long)(result));
22387 }
d14a1e28
RD
22388 return resultobj;
22389 fail:
22390 return NULL;
22391}
22392
22393
c32bde28 22394static PyObject *_wrap_ListItem_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22395 PyObject *resultobj;
22396 wxListItem *arg1 = (wxListItem *) 0 ;
22397 int result;
22398 PyObject * obj0 = 0 ;
22399 char *kwnames[] = {
22400 (char *) "self", NULL
22401 };
22402
22403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetWidth",kwnames,&obj0)) goto fail;
093d3ff1
RD
22404 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22405 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22406 {
22407 PyThreadState* __tstate = wxPyBeginAllowThreads();
22408 result = (int)(arg1)->GetWidth();
22409
22410 wxPyEndAllowThreads(__tstate);
22411 if (PyErr_Occurred()) SWIG_fail;
22412 }
093d3ff1
RD
22413 {
22414 resultobj = SWIG_From_int((int)(result));
22415 }
d14a1e28
RD
22416 return resultobj;
22417 fail:
22418 return NULL;
22419}
22420
22421
c32bde28 22422static PyObject *_wrap_ListItem_GetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22423 PyObject *resultobj;
22424 wxListItem *arg1 = (wxListItem *) 0 ;
093d3ff1 22425 wxListColumnFormat result;
d14a1e28
RD
22426 PyObject * obj0 = 0 ;
22427 char *kwnames[] = {
22428 (char *) "self", NULL
22429 };
22430
22431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAlign",kwnames,&obj0)) goto fail;
093d3ff1
RD
22432 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22433 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22434 {
22435 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 22436 result = (wxListColumnFormat)(arg1)->GetAlign();
d14a1e28
RD
22437
22438 wxPyEndAllowThreads(__tstate);
22439 if (PyErr_Occurred()) SWIG_fail;
22440 }
093d3ff1 22441 resultobj = SWIG_From_int((result));
d14a1e28
RD
22442 return resultobj;
22443 fail:
22444 return NULL;
22445}
22446
22447
c32bde28 22448static PyObject *_wrap_ListItem_GetAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22449 PyObject *resultobj;
22450 wxListItem *arg1 = (wxListItem *) 0 ;
22451 wxListItemAttr *result;
22452 PyObject * obj0 = 0 ;
22453 char *kwnames[] = {
22454 (char *) "self", NULL
22455 };
22456
22457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAttributes",kwnames,&obj0)) goto fail;
093d3ff1
RD
22458 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22459 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22460 {
22461 PyThreadState* __tstate = wxPyBeginAllowThreads();
22462 result = (wxListItemAttr *)(arg1)->GetAttributes();
22463
22464 wxPyEndAllowThreads(__tstate);
22465 if (PyErr_Occurred()) SWIG_fail;
22466 }
15afbcd0 22467 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 0);
d14a1e28
RD
22468 return resultobj;
22469 fail:
22470 return NULL;
22471}
22472
22473
c32bde28 22474static PyObject *_wrap_ListItem_HasAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22475 PyObject *resultobj;
22476 wxListItem *arg1 = (wxListItem *) 0 ;
22477 bool result;
22478 PyObject * obj0 = 0 ;
22479 char *kwnames[] = {
22480 (char *) "self", NULL
22481 };
22482
22483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_HasAttributes",kwnames,&obj0)) goto fail;
093d3ff1
RD
22484 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22485 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22486 {
22487 PyThreadState* __tstate = wxPyBeginAllowThreads();
22488 result = (bool)(arg1)->HasAttributes();
22489
22490 wxPyEndAllowThreads(__tstate);
22491 if (PyErr_Occurred()) SWIG_fail;
22492 }
4f89f6a3
RD
22493 {
22494 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22495 }
d14a1e28
RD
22496 return resultobj;
22497 fail:
22498 return NULL;
22499}
22500
22501
c32bde28 22502static PyObject *_wrap_ListItem_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22503 PyObject *resultobj;
22504 wxListItem *arg1 = (wxListItem *) 0 ;
22505 wxColour result;
22506 PyObject * obj0 = 0 ;
22507 char *kwnames[] = {
22508 (char *) "self", NULL
22509 };
22510
22511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetTextColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
22512 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22513 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22514 {
22515 PyThreadState* __tstate = wxPyBeginAllowThreads();
22516 result = ((wxListItem const *)arg1)->GetTextColour();
22517
22518 wxPyEndAllowThreads(__tstate);
22519 if (PyErr_Occurred()) SWIG_fail;
22520 }
22521 {
22522 wxColour * resultptr;
093d3ff1 22523 resultptr = new wxColour((wxColour &)(result));
15afbcd0 22524 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
22525 }
22526 return resultobj;
22527 fail:
22528 return NULL;
22529}
22530
22531
c32bde28 22532static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22533 PyObject *resultobj;
22534 wxListItem *arg1 = (wxListItem *) 0 ;
22535 wxColour result;
22536 PyObject * obj0 = 0 ;
22537 char *kwnames[] = {
22538 (char *) "self", NULL
22539 };
22540
22541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
22542 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22543 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22544 {
22545 PyThreadState* __tstate = wxPyBeginAllowThreads();
22546 result = ((wxListItem const *)arg1)->GetBackgroundColour();
22547
22548 wxPyEndAllowThreads(__tstate);
22549 if (PyErr_Occurred()) SWIG_fail;
22550 }
22551 {
22552 wxColour * resultptr;
093d3ff1 22553 resultptr = new wxColour((wxColour &)(result));
15afbcd0 22554 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
22555 }
22556 return resultobj;
22557 fail:
22558 return NULL;
22559}
22560
22561
c32bde28 22562static PyObject *_wrap_ListItem_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22563 PyObject *resultobj;
22564 wxListItem *arg1 = (wxListItem *) 0 ;
22565 wxFont result;
22566 PyObject * obj0 = 0 ;
22567 char *kwnames[] = {
22568 (char *) "self", NULL
22569 };
22570
22571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetFont",kwnames,&obj0)) goto fail;
093d3ff1
RD
22572 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22573 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22574 {
22575 PyThreadState* __tstate = wxPyBeginAllowThreads();
22576 result = ((wxListItem const *)arg1)->GetFont();
22577
22578 wxPyEndAllowThreads(__tstate);
22579 if (PyErr_Occurred()) SWIG_fail;
22580 }
22581 {
22582 wxFont * resultptr;
093d3ff1 22583 resultptr = new wxFont((wxFont &)(result));
15afbcd0 22584 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
22585 }
22586 return resultobj;
22587 fail:
22588 return NULL;
22589}
22590
22591
c32bde28 22592static PyObject *_wrap_ListItem_m_mask_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22593 PyObject *resultobj;
22594 wxListItem *arg1 = (wxListItem *) 0 ;
22595 long arg2 ;
22596 PyObject * obj0 = 0 ;
994141e6 22597 PyObject * obj1 = 0 ;
d14a1e28
RD
22598 char *kwnames[] = {
22599 (char *) "self",(char *) "m_mask", NULL
22600 };
22601
994141e6 22602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_mask_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22603 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22604 if (SWIG_arg_fail(1)) SWIG_fail;
22605 {
22606 arg2 = (long)(SWIG_As_long(obj1));
22607 if (SWIG_arg_fail(2)) SWIG_fail;
22608 }
d14a1e28
RD
22609 if (arg1) (arg1)->m_mask = arg2;
22610
22611 Py_INCREF(Py_None); resultobj = Py_None;
22612 return resultobj;
22613 fail:
22614 return NULL;
22615}
22616
22617
c32bde28 22618static PyObject *_wrap_ListItem_m_mask_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22619 PyObject *resultobj;
22620 wxListItem *arg1 = (wxListItem *) 0 ;
22621 long result;
22622 PyObject * obj0 = 0 ;
22623 char *kwnames[] = {
22624 (char *) "self", NULL
22625 };
22626
22627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_mask_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
22628 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22629 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22630 result = (long) ((arg1)->m_mask);
22631
093d3ff1
RD
22632 {
22633 resultobj = SWIG_From_long((long)(result));
22634 }
d14a1e28
RD
22635 return resultobj;
22636 fail:
22637 return NULL;
22638}
22639
22640
c32bde28 22641static PyObject *_wrap_ListItem_m_itemId_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22642 PyObject *resultobj;
22643 wxListItem *arg1 = (wxListItem *) 0 ;
22644 long arg2 ;
22645 PyObject * obj0 = 0 ;
994141e6 22646 PyObject * obj1 = 0 ;
d14a1e28
RD
22647 char *kwnames[] = {
22648 (char *) "self",(char *) "m_itemId", NULL
22649 };
22650
994141e6 22651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_itemId_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22652 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22653 if (SWIG_arg_fail(1)) SWIG_fail;
22654 {
22655 arg2 = (long)(SWIG_As_long(obj1));
22656 if (SWIG_arg_fail(2)) SWIG_fail;
22657 }
d14a1e28
RD
22658 if (arg1) (arg1)->m_itemId = arg2;
22659
22660 Py_INCREF(Py_None); resultobj = Py_None;
22661 return resultobj;
22662 fail:
22663 return NULL;
22664}
22665
22666
c32bde28 22667static PyObject *_wrap_ListItem_m_itemId_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22668 PyObject *resultobj;
22669 wxListItem *arg1 = (wxListItem *) 0 ;
22670 long result;
22671 PyObject * obj0 = 0 ;
22672 char *kwnames[] = {
22673 (char *) "self", NULL
22674 };
22675
22676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_itemId_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
22677 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22678 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22679 result = (long) ((arg1)->m_itemId);
22680
093d3ff1
RD
22681 {
22682 resultobj = SWIG_From_long((long)(result));
22683 }
d14a1e28
RD
22684 return resultobj;
22685 fail:
22686 return NULL;
22687}
22688
22689
c32bde28 22690static PyObject *_wrap_ListItem_m_col_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22691 PyObject *resultobj;
22692 wxListItem *arg1 = (wxListItem *) 0 ;
22693 int arg2 ;
22694 PyObject * obj0 = 0 ;
994141e6 22695 PyObject * obj1 = 0 ;
d14a1e28
RD
22696 char *kwnames[] = {
22697 (char *) "self",(char *) "m_col", NULL
22698 };
22699
994141e6 22700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_col_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22701 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22702 if (SWIG_arg_fail(1)) SWIG_fail;
22703 {
22704 arg2 = (int)(SWIG_As_int(obj1));
22705 if (SWIG_arg_fail(2)) SWIG_fail;
22706 }
d14a1e28
RD
22707 if (arg1) (arg1)->m_col = arg2;
22708
22709 Py_INCREF(Py_None); resultobj = Py_None;
22710 return resultobj;
22711 fail:
22712 return NULL;
22713}
22714
22715
c32bde28 22716static PyObject *_wrap_ListItem_m_col_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22717 PyObject *resultobj;
22718 wxListItem *arg1 = (wxListItem *) 0 ;
22719 int result;
22720 PyObject * obj0 = 0 ;
22721 char *kwnames[] = {
22722 (char *) "self", NULL
22723 };
22724
22725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_col_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
22726 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22727 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22728 result = (int) ((arg1)->m_col);
22729
093d3ff1
RD
22730 {
22731 resultobj = SWIG_From_int((int)(result));
22732 }
d14a1e28
RD
22733 return resultobj;
22734 fail:
22735 return NULL;
22736}
22737
22738
c32bde28 22739static PyObject *_wrap_ListItem_m_state_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22740 PyObject *resultobj;
22741 wxListItem *arg1 = (wxListItem *) 0 ;
22742 long arg2 ;
22743 PyObject * obj0 = 0 ;
994141e6 22744 PyObject * obj1 = 0 ;
d14a1e28
RD
22745 char *kwnames[] = {
22746 (char *) "self",(char *) "m_state", NULL
22747 };
22748
994141e6 22749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_state_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22750 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22751 if (SWIG_arg_fail(1)) SWIG_fail;
22752 {
22753 arg2 = (long)(SWIG_As_long(obj1));
22754 if (SWIG_arg_fail(2)) SWIG_fail;
22755 }
d14a1e28
RD
22756 if (arg1) (arg1)->m_state = arg2;
22757
22758 Py_INCREF(Py_None); resultobj = Py_None;
22759 return resultobj;
22760 fail:
22761 return NULL;
22762}
22763
22764
c32bde28 22765static PyObject *_wrap_ListItem_m_state_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22766 PyObject *resultobj;
22767 wxListItem *arg1 = (wxListItem *) 0 ;
22768 long result;
22769 PyObject * obj0 = 0 ;
22770 char *kwnames[] = {
22771 (char *) "self", NULL
22772 };
22773
22774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_state_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
22775 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22776 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22777 result = (long) ((arg1)->m_state);
22778
093d3ff1
RD
22779 {
22780 resultobj = SWIG_From_long((long)(result));
22781 }
d14a1e28
RD
22782 return resultobj;
22783 fail:
22784 return NULL;
22785}
22786
22787
c32bde28 22788static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22789 PyObject *resultobj;
22790 wxListItem *arg1 = (wxListItem *) 0 ;
22791 long arg2 ;
22792 PyObject * obj0 = 0 ;
994141e6 22793 PyObject * obj1 = 0 ;
d14a1e28
RD
22794 char *kwnames[] = {
22795 (char *) "self",(char *) "m_stateMask", NULL
22796 };
22797
994141e6 22798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_stateMask_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22799 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22800 if (SWIG_arg_fail(1)) SWIG_fail;
22801 {
22802 arg2 = (long)(SWIG_As_long(obj1));
22803 if (SWIG_arg_fail(2)) SWIG_fail;
22804 }
d14a1e28
RD
22805 if (arg1) (arg1)->m_stateMask = arg2;
22806
22807 Py_INCREF(Py_None); resultobj = Py_None;
22808 return resultobj;
22809 fail:
22810 return NULL;
22811}
22812
22813
c32bde28 22814static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22815 PyObject *resultobj;
22816 wxListItem *arg1 = (wxListItem *) 0 ;
22817 long result;
22818 PyObject * obj0 = 0 ;
22819 char *kwnames[] = {
22820 (char *) "self", NULL
22821 };
22822
22823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_stateMask_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
22824 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22825 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22826 result = (long) ((arg1)->m_stateMask);
22827
093d3ff1
RD
22828 {
22829 resultobj = SWIG_From_long((long)(result));
22830 }
d14a1e28
RD
22831 return resultobj;
22832 fail:
22833 return NULL;
22834}
22835
22836
c32bde28 22837static PyObject *_wrap_ListItem_m_text_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22838 PyObject *resultobj;
22839 wxListItem *arg1 = (wxListItem *) 0 ;
196addbf 22840 wxString *arg2 = (wxString *) 0 ;
ae8162c8 22841 bool temp2 = false ;
d14a1e28
RD
22842 PyObject * obj0 = 0 ;
22843 PyObject * obj1 = 0 ;
22844 char *kwnames[] = {
22845 (char *) "self",(char *) "m_text", NULL
22846 };
22847
22848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22849 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22850 if (SWIG_arg_fail(1)) SWIG_fail;
7eae615b
RD
22851 {
22852 arg2 = wxString_in_helper(obj1);
22853 if (arg2 == NULL) SWIG_fail;
ae8162c8 22854 temp2 = true;
7eae615b 22855 }
196addbf 22856 if (arg1) (arg1)->m_text = *arg2;
d14a1e28
RD
22857
22858 Py_INCREF(Py_None); resultobj = Py_None;
7eae615b
RD
22859 {
22860 if (temp2)
22861 delete arg2;
22862 }
d14a1e28
RD
22863 return resultobj;
22864 fail:
7eae615b
RD
22865 {
22866 if (temp2)
22867 delete arg2;
22868 }
d14a1e28
RD
22869 return NULL;
22870}
22871
22872
c32bde28 22873static PyObject *_wrap_ListItem_m_text_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22874 PyObject *resultobj;
22875 wxListItem *arg1 = (wxListItem *) 0 ;
196addbf 22876 wxString *result;
d14a1e28
RD
22877 PyObject * obj0 = 0 ;
22878 char *kwnames[] = {
22879 (char *) "self", NULL
22880 };
22881
22882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
22883 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22884 if (SWIG_arg_fail(1)) SWIG_fail;
196addbf 22885 result = (wxString *)& ((arg1)->m_text);
d14a1e28
RD
22886
22887 {
22888#if wxUSE_UNICODE
196addbf 22889 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
d14a1e28 22890#else
196addbf 22891 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
d14a1e28
RD
22892#endif
22893 }
22894 return resultobj;
22895 fail:
22896 return NULL;
22897}
22898
22899
c32bde28 22900static PyObject *_wrap_ListItem_m_image_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22901 PyObject *resultobj;
22902 wxListItem *arg1 = (wxListItem *) 0 ;
22903 int arg2 ;
22904 PyObject * obj0 = 0 ;
994141e6 22905 PyObject * obj1 = 0 ;
d14a1e28
RD
22906 char *kwnames[] = {
22907 (char *) "self",(char *) "m_image", NULL
22908 };
22909
994141e6 22910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_image_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22911 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22912 if (SWIG_arg_fail(1)) SWIG_fail;
22913 {
22914 arg2 = (int)(SWIG_As_int(obj1));
22915 if (SWIG_arg_fail(2)) SWIG_fail;
22916 }
d14a1e28
RD
22917 if (arg1) (arg1)->m_image = arg2;
22918
22919 Py_INCREF(Py_None); resultobj = Py_None;
22920 return resultobj;
22921 fail:
22922 return NULL;
22923}
22924
22925
c32bde28 22926static PyObject *_wrap_ListItem_m_image_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22927 PyObject *resultobj;
22928 wxListItem *arg1 = (wxListItem *) 0 ;
22929 int result;
22930 PyObject * obj0 = 0 ;
22931 char *kwnames[] = {
22932 (char *) "self", NULL
22933 };
22934
22935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
22936 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22937 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22938 result = (int) ((arg1)->m_image);
22939
093d3ff1
RD
22940 {
22941 resultobj = SWIG_From_int((int)(result));
22942 }
d14a1e28
RD
22943 return resultobj;
22944 fail:
22945 return NULL;
22946}
22947
22948
c32bde28 22949static PyObject *_wrap_ListItem_m_data_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22950 PyObject *resultobj;
22951 wxListItem *arg1 = (wxListItem *) 0 ;
22952 long arg2 ;
22953 PyObject * obj0 = 0 ;
994141e6 22954 PyObject * obj1 = 0 ;
d14a1e28
RD
22955 char *kwnames[] = {
22956 (char *) "self",(char *) "m_data", NULL
22957 };
22958
994141e6 22959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_data_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22960 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22961 if (SWIG_arg_fail(1)) SWIG_fail;
22962 {
22963 arg2 = (long)(SWIG_As_long(obj1));
22964 if (SWIG_arg_fail(2)) SWIG_fail;
22965 }
d14a1e28
RD
22966 if (arg1) (arg1)->m_data = arg2;
22967
22968 Py_INCREF(Py_None); resultobj = Py_None;
22969 return resultobj;
22970 fail:
22971 return NULL;
22972}
22973
22974
c32bde28 22975static PyObject *_wrap_ListItem_m_data_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22976 PyObject *resultobj;
22977 wxListItem *arg1 = (wxListItem *) 0 ;
22978 long result;
22979 PyObject * obj0 = 0 ;
22980 char *kwnames[] = {
22981 (char *) "self", NULL
22982 };
22983
22984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_data_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
22985 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22986 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22987 result = (long) ((arg1)->m_data);
22988
093d3ff1
RD
22989 {
22990 resultobj = SWIG_From_long((long)(result));
22991 }
d14a1e28
RD
22992 return resultobj;
22993 fail:
22994 return NULL;
22995}
22996
22997
c32bde28 22998static PyObject *_wrap_ListItem_m_format_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22999 PyObject *resultobj;
23000 wxListItem *arg1 = (wxListItem *) 0 ;
23001 int arg2 ;
23002 PyObject * obj0 = 0 ;
994141e6 23003 PyObject * obj1 = 0 ;
d14a1e28
RD
23004 char *kwnames[] = {
23005 (char *) "self",(char *) "m_format", NULL
23006 };
23007
994141e6 23008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_format_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23009 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23010 if (SWIG_arg_fail(1)) SWIG_fail;
23011 {
23012 arg2 = (int)(SWIG_As_int(obj1));
23013 if (SWIG_arg_fail(2)) SWIG_fail;
23014 }
d14a1e28
RD
23015 if (arg1) (arg1)->m_format = arg2;
23016
23017 Py_INCREF(Py_None); resultobj = Py_None;
23018 return resultobj;
23019 fail:
23020 return NULL;
23021}
23022
23023
c32bde28 23024static PyObject *_wrap_ListItem_m_format_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23025 PyObject *resultobj;
23026 wxListItem *arg1 = (wxListItem *) 0 ;
23027 int result;
23028 PyObject * obj0 = 0 ;
23029 char *kwnames[] = {
23030 (char *) "self", NULL
23031 };
23032
23033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_format_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
23034 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23035 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23036 result = (int) ((arg1)->m_format);
23037
093d3ff1
RD
23038 {
23039 resultobj = SWIG_From_int((int)(result));
23040 }
d14a1e28
RD
23041 return resultobj;
23042 fail:
23043 return NULL;
23044}
23045
23046
c32bde28 23047static PyObject *_wrap_ListItem_m_width_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23048 PyObject *resultobj;
23049 wxListItem *arg1 = (wxListItem *) 0 ;
23050 int arg2 ;
23051 PyObject * obj0 = 0 ;
994141e6 23052 PyObject * obj1 = 0 ;
d14a1e28
RD
23053 char *kwnames[] = {
23054 (char *) "self",(char *) "m_width", NULL
23055 };
23056
994141e6 23057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_width_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23058 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23059 if (SWIG_arg_fail(1)) SWIG_fail;
23060 {
23061 arg2 = (int)(SWIG_As_int(obj1));
23062 if (SWIG_arg_fail(2)) SWIG_fail;
23063 }
d14a1e28
RD
23064 if (arg1) (arg1)->m_width = arg2;
23065
23066 Py_INCREF(Py_None); resultobj = Py_None;
23067 return resultobj;
23068 fail:
23069 return NULL;
23070}
23071
23072
c32bde28 23073static PyObject *_wrap_ListItem_m_width_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23074 PyObject *resultobj;
23075 wxListItem *arg1 = (wxListItem *) 0 ;
23076 int result;
23077 PyObject * obj0 = 0 ;
23078 char *kwnames[] = {
23079 (char *) "self", NULL
23080 };
23081
23082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
23083 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23084 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23085 result = (int) ((arg1)->m_width);
23086
093d3ff1
RD
23087 {
23088 resultobj = SWIG_From_int((int)(result));
23089 }
d14a1e28
RD
23090 return resultobj;
23091 fail:
23092 return NULL;
23093}
23094
23095
c32bde28 23096static PyObject * ListItem_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
23097 PyObject *obj;
23098 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23099 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
23100 Py_INCREF(obj);
23101 return Py_BuildValue((char *)"");
23102}
c32bde28 23103static PyObject *_wrap_new_ListEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23104 PyObject *resultobj;
23105 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
23106 int arg2 = (int) 0 ;
23107 wxListEvent *result;
994141e6
RD
23108 PyObject * obj0 = 0 ;
23109 PyObject * obj1 = 0 ;
d14a1e28
RD
23110 char *kwnames[] = {
23111 (char *) "commandType",(char *) "id", NULL
23112 };
23113
994141e6
RD
23114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ListEvent",kwnames,&obj0,&obj1)) goto fail;
23115 if (obj0) {
093d3ff1
RD
23116 {
23117 arg1 = (wxEventType)(SWIG_As_int(obj0));
23118 if (SWIG_arg_fail(1)) SWIG_fail;
23119 }
994141e6
RD
23120 }
23121 if (obj1) {
093d3ff1
RD
23122 {
23123 arg2 = (int)(SWIG_As_int(obj1));
23124 if (SWIG_arg_fail(2)) SWIG_fail;
23125 }
994141e6 23126 }
d14a1e28
RD
23127 {
23128 PyThreadState* __tstate = wxPyBeginAllowThreads();
23129 result = (wxListEvent *)new wxListEvent(arg1,arg2);
23130
23131 wxPyEndAllowThreads(__tstate);
23132 if (PyErr_Occurred()) SWIG_fail;
23133 }
15afbcd0 23134 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListEvent, 1);
d14a1e28
RD
23135 return resultobj;
23136 fail:
23137 return NULL;
23138}
23139
23140
c32bde28 23141static PyObject *_wrap_ListEvent_m_code_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23142 PyObject *resultobj;
23143 wxListEvent *arg1 = (wxListEvent *) 0 ;
23144 int arg2 ;
23145 PyObject * obj0 = 0 ;
994141e6 23146 PyObject * obj1 = 0 ;
d14a1e28
RD
23147 char *kwnames[] = {
23148 (char *) "self",(char *) "m_code", NULL
23149 };
23150
994141e6 23151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_code_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23152 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23153 if (SWIG_arg_fail(1)) SWIG_fail;
23154 {
23155 arg2 = (int)(SWIG_As_int(obj1));
23156 if (SWIG_arg_fail(2)) SWIG_fail;
23157 }
d14a1e28
RD
23158 if (arg1) (arg1)->m_code = arg2;
23159
23160 Py_INCREF(Py_None); resultobj = Py_None;
23161 return resultobj;
23162 fail:
23163 return NULL;
23164}
23165
23166
c32bde28 23167static PyObject *_wrap_ListEvent_m_code_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23168 PyObject *resultobj;
23169 wxListEvent *arg1 = (wxListEvent *) 0 ;
23170 int result;
23171 PyObject * obj0 = 0 ;
23172 char *kwnames[] = {
23173 (char *) "self", NULL
23174 };
23175
23176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
23177 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23178 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23179 result = (int) ((arg1)->m_code);
23180
093d3ff1
RD
23181 {
23182 resultobj = SWIG_From_int((int)(result));
23183 }
d14a1e28
RD
23184 return resultobj;
23185 fail:
23186 return NULL;
23187}
23188
23189
c32bde28 23190static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23191 PyObject *resultobj;
23192 wxListEvent *arg1 = (wxListEvent *) 0 ;
23193 long arg2 ;
23194 PyObject * obj0 = 0 ;
994141e6 23195 PyObject * obj1 = 0 ;
d14a1e28
RD
23196 char *kwnames[] = {
23197 (char *) "self",(char *) "m_oldItemIndex", NULL
23198 };
23199
994141e6 23200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23201 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23202 if (SWIG_arg_fail(1)) SWIG_fail;
23203 {
23204 arg2 = (long)(SWIG_As_long(obj1));
23205 if (SWIG_arg_fail(2)) SWIG_fail;
23206 }
d14a1e28
RD
23207 if (arg1) (arg1)->m_oldItemIndex = arg2;
23208
23209 Py_INCREF(Py_None); resultobj = Py_None;
23210 return resultobj;
23211 fail:
23212 return NULL;
23213}
23214
23215
c32bde28 23216static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23217 PyObject *resultobj;
23218 wxListEvent *arg1 = (wxListEvent *) 0 ;
23219 long result;
23220 PyObject * obj0 = 0 ;
23221 char *kwnames[] = {
23222 (char *) "self", NULL
23223 };
23224
23225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
23226 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23227 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23228 result = (long) ((arg1)->m_oldItemIndex);
23229
093d3ff1
RD
23230 {
23231 resultobj = SWIG_From_long((long)(result));
23232 }
d14a1e28
RD
23233 return resultobj;
23234 fail:
23235 return NULL;
23236}
23237
23238
c32bde28 23239static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23240 PyObject *resultobj;
23241 wxListEvent *arg1 = (wxListEvent *) 0 ;
23242 long arg2 ;
23243 PyObject * obj0 = 0 ;
994141e6 23244 PyObject * obj1 = 0 ;
d14a1e28
RD
23245 char *kwnames[] = {
23246 (char *) "self",(char *) "m_itemIndex", NULL
23247 };
23248
994141e6 23249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_itemIndex_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23250 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23251 if (SWIG_arg_fail(1)) SWIG_fail;
23252 {
23253 arg2 = (long)(SWIG_As_long(obj1));
23254 if (SWIG_arg_fail(2)) SWIG_fail;
23255 }
d14a1e28
RD
23256 if (arg1) (arg1)->m_itemIndex = arg2;
23257
23258 Py_INCREF(Py_None); resultobj = Py_None;
23259 return resultobj;
23260 fail:
23261 return NULL;
23262}
23263
23264
c32bde28 23265static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23266 PyObject *resultobj;
23267 wxListEvent *arg1 = (wxListEvent *) 0 ;
23268 long result;
23269 PyObject * obj0 = 0 ;
23270 char *kwnames[] = {
23271 (char *) "self", NULL
23272 };
23273
23274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
23275 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23276 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23277 result = (long) ((arg1)->m_itemIndex);
23278
093d3ff1
RD
23279 {
23280 resultobj = SWIG_From_long((long)(result));
23281 }
d14a1e28
RD
23282 return resultobj;
23283 fail:
23284 return NULL;
23285}
23286
23287
c32bde28 23288static PyObject *_wrap_ListEvent_m_col_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23289 PyObject *resultobj;
23290 wxListEvent *arg1 = (wxListEvent *) 0 ;
23291 int arg2 ;
23292 PyObject * obj0 = 0 ;
994141e6 23293 PyObject * obj1 = 0 ;
d14a1e28
RD
23294 char *kwnames[] = {
23295 (char *) "self",(char *) "m_col", NULL
23296 };
23297
994141e6 23298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_col_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23299 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23300 if (SWIG_arg_fail(1)) SWIG_fail;
23301 {
23302 arg2 = (int)(SWIG_As_int(obj1));
23303 if (SWIG_arg_fail(2)) SWIG_fail;
23304 }
d14a1e28
RD
23305 if (arg1) (arg1)->m_col = arg2;
23306
23307 Py_INCREF(Py_None); resultobj = Py_None;
23308 return resultobj;
23309 fail:
23310 return NULL;
23311}
23312
23313
c32bde28 23314static PyObject *_wrap_ListEvent_m_col_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23315 PyObject *resultobj;
23316 wxListEvent *arg1 = (wxListEvent *) 0 ;
23317 int result;
23318 PyObject * obj0 = 0 ;
23319 char *kwnames[] = {
23320 (char *) "self", NULL
23321 };
23322
23323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_col_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
23324 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23325 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23326 result = (int) ((arg1)->m_col);
23327
093d3ff1
RD
23328 {
23329 resultobj = SWIG_From_int((int)(result));
23330 }
d14a1e28
RD
23331 return resultobj;
23332 fail:
23333 return NULL;
23334}
23335
23336
c32bde28 23337static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23338 PyObject *resultobj;
23339 wxListEvent *arg1 = (wxListEvent *) 0 ;
23340 wxPoint *arg2 = (wxPoint *) 0 ;
23341 PyObject * obj0 = 0 ;
23342 PyObject * obj1 = 0 ;
23343 char *kwnames[] = {
23344 (char *) "self",(char *) "m_pointDrag", NULL
23345 };
23346
23347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23348 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23349 if (SWIG_arg_fail(1)) SWIG_fail;
23350 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | 0);
23351 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
23352 if (arg1) (arg1)->m_pointDrag = *arg2;
23353
23354 Py_INCREF(Py_None); resultobj = Py_None;
23355 return resultobj;
23356 fail:
23357 return NULL;
23358}
23359
23360
c32bde28 23361static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23362 PyObject *resultobj;
23363 wxListEvent *arg1 = (wxListEvent *) 0 ;
23364 wxPoint *result;
23365 PyObject * obj0 = 0 ;
23366 char *kwnames[] = {
23367 (char *) "self", NULL
23368 };
23369
23370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
23371 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23372 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23373 result = (wxPoint *)& ((arg1)->m_pointDrag);
23374
15afbcd0 23375 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
23376 return resultobj;
23377 fail:
23378 return NULL;
23379}
23380
23381
c32bde28 23382static PyObject *_wrap_ListEvent_m_item_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23383 PyObject *resultobj;
23384 wxListEvent *arg1 = (wxListEvent *) 0 ;
23385 wxListItem *result;
23386 PyObject * obj0 = 0 ;
23387 char *kwnames[] = {
23388 (char *) "self", NULL
23389 };
23390
23391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
23392 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23393 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23394 result = (wxListItem *)& ((arg1)->m_item);
23395
23396 {
412d302d 23397 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
23398 }
23399 return resultobj;
23400 fail:
23401 return NULL;
23402}
23403
23404
c32bde28 23405static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23406 PyObject *resultobj;
23407 wxListEvent *arg1 = (wxListEvent *) 0 ;
23408 int result;
23409 PyObject * obj0 = 0 ;
23410 char *kwnames[] = {
23411 (char *) "self", NULL
23412 };
23413
23414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetKeyCode",kwnames,&obj0)) goto fail;
093d3ff1
RD
23415 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23416 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23417 {
23418 PyThreadState* __tstate = wxPyBeginAllowThreads();
23419 result = (int)(arg1)->GetKeyCode();
23420
23421 wxPyEndAllowThreads(__tstate);
23422 if (PyErr_Occurred()) SWIG_fail;
23423 }
093d3ff1
RD
23424 {
23425 resultobj = SWIG_From_int((int)(result));
23426 }
d14a1e28
RD
23427 return resultobj;
23428 fail:
23429 return NULL;
23430}
23431
23432
c32bde28 23433static PyObject *_wrap_ListEvent_GetIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23434 PyObject *resultobj;
23435 wxListEvent *arg1 = (wxListEvent *) 0 ;
23436 long result;
23437 PyObject * obj0 = 0 ;
23438 char *kwnames[] = {
23439 (char *) "self", NULL
23440 };
23441
23442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetIndex",kwnames,&obj0)) goto fail;
093d3ff1
RD
23443 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23444 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23445 {
23446 PyThreadState* __tstate = wxPyBeginAllowThreads();
23447 result = (long)(arg1)->GetIndex();
23448
23449 wxPyEndAllowThreads(__tstate);
23450 if (PyErr_Occurred()) SWIG_fail;
23451 }
093d3ff1
RD
23452 {
23453 resultobj = SWIG_From_long((long)(result));
23454 }
d14a1e28
RD
23455 return resultobj;
23456 fail:
23457 return NULL;
23458}
23459
23460
c32bde28 23461static PyObject *_wrap_ListEvent_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23462 PyObject *resultobj;
23463 wxListEvent *arg1 = (wxListEvent *) 0 ;
23464 int result;
23465 PyObject * obj0 = 0 ;
23466 char *kwnames[] = {
23467 (char *) "self", NULL
23468 };
23469
23470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",kwnames,&obj0)) goto fail;
093d3ff1
RD
23471 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23472 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23473 {
23474 PyThreadState* __tstate = wxPyBeginAllowThreads();
23475 result = (int)(arg1)->GetColumn();
23476
23477 wxPyEndAllowThreads(__tstate);
23478 if (PyErr_Occurred()) SWIG_fail;
23479 }
093d3ff1
RD
23480 {
23481 resultobj = SWIG_From_int((int)(result));
23482 }
d14a1e28
RD
23483 return resultobj;
23484 fail:
23485 return NULL;
23486}
23487
23488
c32bde28 23489static PyObject *_wrap_ListEvent_GetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23490 PyObject *resultobj;
23491 wxListEvent *arg1 = (wxListEvent *) 0 ;
23492 wxPoint result;
23493 PyObject * obj0 = 0 ;
23494 char *kwnames[] = {
23495 (char *) "self", NULL
23496 };
23497
23498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",kwnames,&obj0)) goto fail;
093d3ff1
RD
23499 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23500 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23501 {
23502 PyThreadState* __tstate = wxPyBeginAllowThreads();
23503 result = (arg1)->GetPoint();
23504
23505 wxPyEndAllowThreads(__tstate);
23506 if (PyErr_Occurred()) SWIG_fail;
23507 }
23508 {
23509 wxPoint * resultptr;
093d3ff1 23510 resultptr = new wxPoint((wxPoint &)(result));
15afbcd0 23511 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
23512 }
23513 return resultobj;
23514 fail:
23515 return NULL;
23516}
23517
23518
c32bde28 23519static PyObject *_wrap_ListEvent_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23520 PyObject *resultobj;
23521 wxListEvent *arg1 = (wxListEvent *) 0 ;
23522 wxString *result;
23523 PyObject * obj0 = 0 ;
23524 char *kwnames[] = {
23525 (char *) "self", NULL
23526 };
23527
23528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",kwnames,&obj0)) goto fail;
093d3ff1
RD
23529 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23530 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23531 {
23532 PyThreadState* __tstate = wxPyBeginAllowThreads();
23533 {
23534 wxString const &_result_ref = (arg1)->GetLabel();
23535 result = (wxString *) &_result_ref;
23536 }
23537
23538 wxPyEndAllowThreads(__tstate);
23539 if (PyErr_Occurred()) SWIG_fail;
23540 }
cc6dd355
RD
23541 {
23542#if wxUSE_UNICODE
23543 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23544#else
23545 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23546#endif
23547 }
d14a1e28
RD
23548 return resultobj;
23549 fail:
23550 return NULL;
23551}
23552
23553
c32bde28 23554static PyObject *_wrap_ListEvent_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23555 PyObject *resultobj;
23556 wxListEvent *arg1 = (wxListEvent *) 0 ;
23557 wxString *result;
23558 PyObject * obj0 = 0 ;
23559 char *kwnames[] = {
23560 (char *) "self", NULL
23561 };
23562
23563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
093d3ff1
RD
23564 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23565 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23566 {
23567 PyThreadState* __tstate = wxPyBeginAllowThreads();
23568 {
23569 wxString const &_result_ref = (arg1)->GetText();
23570 result = (wxString *) &_result_ref;
23571 }
23572
23573 wxPyEndAllowThreads(__tstate);
23574 if (PyErr_Occurred()) SWIG_fail;
23575 }
cc6dd355
RD
23576 {
23577#if wxUSE_UNICODE
23578 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23579#else
23580 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23581#endif
23582 }
d14a1e28
RD
23583 return resultobj;
23584 fail:
23585 return NULL;
23586}
23587
23588
c32bde28 23589static PyObject *_wrap_ListEvent_GetImage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23590 PyObject *resultobj;
23591 wxListEvent *arg1 = (wxListEvent *) 0 ;
23592 int result;
23593 PyObject * obj0 = 0 ;
23594 char *kwnames[] = {
23595 (char *) "self", NULL
23596 };
23597
23598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetImage",kwnames,&obj0)) goto fail;
093d3ff1
RD
23599 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23600 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23601 {
23602 PyThreadState* __tstate = wxPyBeginAllowThreads();
23603 result = (int)(arg1)->GetImage();
23604
23605 wxPyEndAllowThreads(__tstate);
23606 if (PyErr_Occurred()) SWIG_fail;
23607 }
093d3ff1
RD
23608 {
23609 resultobj = SWIG_From_int((int)(result));
23610 }
d14a1e28
RD
23611 return resultobj;
23612 fail:
23613 return NULL;
23614}
23615
23616
c32bde28 23617static PyObject *_wrap_ListEvent_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23618 PyObject *resultobj;
23619 wxListEvent *arg1 = (wxListEvent *) 0 ;
23620 long result;
23621 PyObject * obj0 = 0 ;
23622 char *kwnames[] = {
23623 (char *) "self", NULL
23624 };
23625
23626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetData",kwnames,&obj0)) goto fail;
093d3ff1
RD
23627 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23628 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23629 {
23630 PyThreadState* __tstate = wxPyBeginAllowThreads();
23631 result = (long)(arg1)->GetData();
23632
23633 wxPyEndAllowThreads(__tstate);
23634 if (PyErr_Occurred()) SWIG_fail;
23635 }
093d3ff1
RD
23636 {
23637 resultobj = SWIG_From_long((long)(result));
23638 }
d14a1e28
RD
23639 return resultobj;
23640 fail:
23641 return NULL;
23642}
23643
23644
c32bde28 23645static PyObject *_wrap_ListEvent_GetMask(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23646 PyObject *resultobj;
23647 wxListEvent *arg1 = (wxListEvent *) 0 ;
23648 long result;
23649 PyObject * obj0 = 0 ;
23650 char *kwnames[] = {
23651 (char *) "self", NULL
23652 };
23653
23654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",kwnames,&obj0)) goto fail;
093d3ff1
RD
23655 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23656 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23657 {
23658 PyThreadState* __tstate = wxPyBeginAllowThreads();
23659 result = (long)(arg1)->GetMask();
23660
23661 wxPyEndAllowThreads(__tstate);
23662 if (PyErr_Occurred()) SWIG_fail;
23663 }
093d3ff1
RD
23664 {
23665 resultobj = SWIG_From_long((long)(result));
23666 }
d14a1e28
RD
23667 return resultobj;
23668 fail:
23669 return NULL;
23670}
23671
23672
c32bde28 23673static PyObject *_wrap_ListEvent_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23674 PyObject *resultobj;
23675 wxListEvent *arg1 = (wxListEvent *) 0 ;
23676 wxListItem *result;
23677 PyObject * obj0 = 0 ;
23678 char *kwnames[] = {
23679 (char *) "self", NULL
23680 };
23681
23682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",kwnames,&obj0)) goto fail;
093d3ff1
RD
23683 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23684 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23685 {
23686 PyThreadState* __tstate = wxPyBeginAllowThreads();
23687 {
23688 wxListItem const &_result_ref = (arg1)->GetItem();
23689 result = (wxListItem *) &_result_ref;
23690 }
23691
23692 wxPyEndAllowThreads(__tstate);
23693 if (PyErr_Occurred()) SWIG_fail;
23694 }
15afbcd0 23695 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItem, 0);
d14a1e28
RD
23696 return resultobj;
23697 fail:
23698 return NULL;
23699}
23700
23701
c32bde28 23702static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23703 PyObject *resultobj;
23704 wxListEvent *arg1 = (wxListEvent *) 0 ;
23705 long result;
23706 PyObject * obj0 = 0 ;
23707 char *kwnames[] = {
23708 (char *) "self", NULL
23709 };
23710
23711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheFrom",kwnames,&obj0)) goto fail;
093d3ff1
RD
23712 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23713 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23714 {
23715 PyThreadState* __tstate = wxPyBeginAllowThreads();
23716 result = (long)(arg1)->GetCacheFrom();
23717
23718 wxPyEndAllowThreads(__tstate);
23719 if (PyErr_Occurred()) SWIG_fail;
23720 }
093d3ff1
RD
23721 {
23722 resultobj = SWIG_From_long((long)(result));
23723 }
d14a1e28
RD
23724 return resultobj;
23725 fail:
23726 return NULL;
23727}
23728
23729
c32bde28 23730static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23731 PyObject *resultobj;
23732 wxListEvent *arg1 = (wxListEvent *) 0 ;
23733 long result;
23734 PyObject * obj0 = 0 ;
23735 char *kwnames[] = {
23736 (char *) "self", NULL
23737 };
23738
23739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",kwnames,&obj0)) goto fail;
093d3ff1
RD
23740 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23741 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23742 {
23743 PyThreadState* __tstate = wxPyBeginAllowThreads();
23744 result = (long)(arg1)->GetCacheTo();
23745
23746 wxPyEndAllowThreads(__tstate);
23747 if (PyErr_Occurred()) SWIG_fail;
23748 }
093d3ff1
RD
23749 {
23750 resultobj = SWIG_From_long((long)(result));
23751 }
d14a1e28
RD
23752 return resultobj;
23753 fail:
23754 return NULL;
23755}
23756
23757
c32bde28 23758static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23759 PyObject *resultobj;
23760 wxListEvent *arg1 = (wxListEvent *) 0 ;
23761 bool result;
23762 PyObject * obj0 = 0 ;
23763 char *kwnames[] = {
23764 (char *) "self", NULL
23765 };
23766
23767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
093d3ff1
RD
23768 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23769 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23770 {
23771 PyThreadState* __tstate = wxPyBeginAllowThreads();
23772 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
23773
23774 wxPyEndAllowThreads(__tstate);
23775 if (PyErr_Occurred()) SWIG_fail;
23776 }
4f89f6a3
RD
23777 {
23778 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23779 }
d14a1e28
RD
23780 return resultobj;
23781 fail:
23782 return NULL;
23783}
23784
23785
c32bde28 23786static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23787 PyObject *resultobj;
23788 wxListEvent *arg1 = (wxListEvent *) 0 ;
23789 bool arg2 ;
23790 PyObject * obj0 = 0 ;
23791 PyObject * obj1 = 0 ;
23792 char *kwnames[] = {
23793 (char *) "self",(char *) "editCancelled", NULL
23794 };
23795
23796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23797 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23798 if (SWIG_arg_fail(1)) SWIG_fail;
23799 {
23800 arg2 = (bool)(SWIG_As_bool(obj1));
23801 if (SWIG_arg_fail(2)) SWIG_fail;
23802 }
d14a1e28
RD
23803 {
23804 PyThreadState* __tstate = wxPyBeginAllowThreads();
23805 (arg1)->SetEditCanceled(arg2);
23806
23807 wxPyEndAllowThreads(__tstate);
23808 if (PyErr_Occurred()) SWIG_fail;
23809 }
23810 Py_INCREF(Py_None); resultobj = Py_None;
23811 return resultobj;
23812 fail:
23813 return NULL;
23814}
23815
23816
c32bde28 23817static PyObject * ListEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
23818 PyObject *obj;
23819 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23820 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
23821 Py_INCREF(obj);
23822 return Py_BuildValue((char *)"");
23823}
c32bde28 23824static PyObject *_wrap_new_ListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23825 PyObject *resultobj;
23826 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 23827 int arg2 = (int) -1 ;
d14a1e28
RD
23828 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23829 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23830 wxSize const &arg4_defvalue = wxDefaultSize ;
23831 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23832 long arg5 = (long) wxLC_ICON ;
23833 wxValidator const &arg6_defvalue = wxDefaultValidator ;
23834 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
23835 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
23836 wxString *arg7 = (wxString *) &arg7_defvalue ;
23837 wxPyListCtrl *result;
23838 wxPoint temp3 ;
23839 wxSize temp4 ;
ae8162c8 23840 bool temp7 = false ;
d14a1e28 23841 PyObject * obj0 = 0 ;
994141e6 23842 PyObject * obj1 = 0 ;
d14a1e28
RD
23843 PyObject * obj2 = 0 ;
23844 PyObject * obj3 = 0 ;
994141e6 23845 PyObject * obj4 = 0 ;
d14a1e28
RD
23846 PyObject * obj5 = 0 ;
23847 PyObject * obj6 = 0 ;
23848 char *kwnames[] = {
23849 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23850 };
23851
994141e6 23852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
23853 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
23854 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 23855 if (obj1) {
093d3ff1
RD
23856 {
23857 arg2 = (int)(SWIG_As_int(obj1));
23858 if (SWIG_arg_fail(2)) SWIG_fail;
23859 }
994141e6 23860 }
d14a1e28
RD
23861 if (obj2) {
23862 {
23863 arg3 = &temp3;
23864 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23865 }
23866 }
23867 if (obj3) {
23868 {
23869 arg4 = &temp4;
23870 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23871 }
23872 }
994141e6 23873 if (obj4) {
093d3ff1
RD
23874 {
23875 arg5 = (long)(SWIG_As_long(obj4));
23876 if (SWIG_arg_fail(5)) SWIG_fail;
23877 }
994141e6 23878 }
d14a1e28 23879 if (obj5) {
093d3ff1
RD
23880 {
23881 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
23882 if (SWIG_arg_fail(6)) SWIG_fail;
23883 if (arg6 == NULL) {
23884 SWIG_null_ref("wxValidator");
23885 }
23886 if (SWIG_arg_fail(6)) SWIG_fail;
d14a1e28
RD
23887 }
23888 }
23889 if (obj6) {
23890 {
23891 arg7 = wxString_in_helper(obj6);
23892 if (arg7 == NULL) SWIG_fail;
ae8162c8 23893 temp7 = true;
d14a1e28
RD
23894 }
23895 }
23896 {
e3b71cb8 23897 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
23898 PyThreadState* __tstate = wxPyBeginAllowThreads();
23899 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
23900
23901 wxPyEndAllowThreads(__tstate);
110da5b0 23902 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 23903 }
15afbcd0 23904 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
d14a1e28
RD
23905 {
23906 if (temp7)
23907 delete arg7;
23908 }
23909 return resultobj;
23910 fail:
23911 {
23912 if (temp7)
23913 delete arg7;
23914 }
23915 return NULL;
23916}
23917
23918
c32bde28 23919static PyObject *_wrap_new_PreListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23920 PyObject *resultobj;
23921 wxPyListCtrl *result;
23922 char *kwnames[] = {
23923 NULL
23924 };
23925
23926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
23927 {
e3b71cb8 23928 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
23929 PyThreadState* __tstate = wxPyBeginAllowThreads();
23930 result = (wxPyListCtrl *)new wxPyListCtrl();
23931
23932 wxPyEndAllowThreads(__tstate);
110da5b0 23933 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 23934 }
15afbcd0 23935 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
d14a1e28
RD
23936 return resultobj;
23937 fail:
23938 return NULL;
23939}
23940
23941
c32bde28 23942static PyObject *_wrap_ListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23943 PyObject *resultobj;
23944 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23945 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 23946 int arg3 = (int) -1 ;
d14a1e28
RD
23947 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23948 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23949 wxSize const &arg5_defvalue = wxDefaultSize ;
23950 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23951 long arg6 = (long) wxLC_ICON ;
23952 wxValidator const &arg7_defvalue = wxDefaultValidator ;
23953 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
23954 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
23955 wxString *arg8 = (wxString *) &arg8_defvalue ;
23956 bool result;
23957 wxPoint temp4 ;
23958 wxSize temp5 ;
ae8162c8 23959 bool temp8 = false ;
d14a1e28
RD
23960 PyObject * obj0 = 0 ;
23961 PyObject * obj1 = 0 ;
994141e6 23962 PyObject * obj2 = 0 ;
d14a1e28
RD
23963 PyObject * obj3 = 0 ;
23964 PyObject * obj4 = 0 ;
994141e6 23965 PyObject * obj5 = 0 ;
d14a1e28
RD
23966 PyObject * obj6 = 0 ;
23967 PyObject * obj7 = 0 ;
23968 char *kwnames[] = {
23969 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23970 };
23971
994141e6 23972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
23973 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
23974 if (SWIG_arg_fail(1)) SWIG_fail;
23975 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
23976 if (SWIG_arg_fail(2)) SWIG_fail;
994141e6 23977 if (obj2) {
093d3ff1
RD
23978 {
23979 arg3 = (int)(SWIG_As_int(obj2));
23980 if (SWIG_arg_fail(3)) SWIG_fail;
23981 }
994141e6 23982 }
d14a1e28
RD
23983 if (obj3) {
23984 {
23985 arg4 = &temp4;
23986 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23987 }
23988 }
23989 if (obj4) {
23990 {
23991 arg5 = &temp5;
23992 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23993 }
23994 }
994141e6 23995 if (obj5) {
093d3ff1
RD
23996 {
23997 arg6 = (long)(SWIG_As_long(obj5));
23998 if (SWIG_arg_fail(6)) SWIG_fail;
23999 }
994141e6 24000 }
d14a1e28 24001 if (obj6) {
093d3ff1
RD
24002 {
24003 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
24004 if (SWIG_arg_fail(7)) SWIG_fail;
24005 if (arg7 == NULL) {
24006 SWIG_null_ref("wxValidator");
24007 }
24008 if (SWIG_arg_fail(7)) SWIG_fail;
d14a1e28
RD
24009 }
24010 }
24011 if (obj7) {
24012 {
24013 arg8 = wxString_in_helper(obj7);
24014 if (arg8 == NULL) SWIG_fail;
ae8162c8 24015 temp8 = true;
d14a1e28
RD
24016 }
24017 }
24018 {
24019 PyThreadState* __tstate = wxPyBeginAllowThreads();
24020 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
24021
24022 wxPyEndAllowThreads(__tstate);
24023 if (PyErr_Occurred()) SWIG_fail;
24024 }
4f89f6a3
RD
24025 {
24026 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24027 }
d14a1e28
RD
24028 {
24029 if (temp8)
24030 delete arg8;
24031 }
24032 return resultobj;
24033 fail:
24034 {
24035 if (temp8)
24036 delete arg8;
24037 }
24038 return NULL;
24039}
24040
24041
c32bde28 24042static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24043 PyObject *resultobj;
24044 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24045 PyObject *arg2 = (PyObject *) 0 ;
24046 PyObject *arg3 = (PyObject *) 0 ;
24047 PyObject * obj0 = 0 ;
24048 PyObject * obj1 = 0 ;
24049 PyObject * obj2 = 0 ;
24050 char *kwnames[] = {
24051 (char *) "self",(char *) "self",(char *) "_class", NULL
24052 };
24053
24054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24055 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24056 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24057 arg2 = obj1;
24058 arg3 = obj2;
24059 {
24060 PyThreadState* __tstate = wxPyBeginAllowThreads();
24061 (arg1)->_setCallbackInfo(arg2,arg3);
24062
24063 wxPyEndAllowThreads(__tstate);
24064 if (PyErr_Occurred()) SWIG_fail;
24065 }
24066 Py_INCREF(Py_None); resultobj = Py_None;
24067 return resultobj;
24068 fail:
24069 return NULL;
24070}
24071
24072
c32bde28 24073static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24074 PyObject *resultobj;
24075 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24076 wxColour *arg2 = 0 ;
24077 bool result;
24078 wxColour temp2 ;
24079 PyObject * obj0 = 0 ;
24080 PyObject * obj1 = 0 ;
24081 char *kwnames[] = {
24082 (char *) "self",(char *) "col", NULL
24083 };
24084
24085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24086 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24087 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24088 {
24089 arg2 = &temp2;
24090 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
24091 }
24092 {
24093 PyThreadState* __tstate = wxPyBeginAllowThreads();
24094 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
24095
24096 wxPyEndAllowThreads(__tstate);
24097 if (PyErr_Occurred()) SWIG_fail;
24098 }
4f89f6a3
RD
24099 {
24100 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24101 }
d14a1e28
RD
24102 return resultobj;
24103 fail:
24104 return NULL;
24105}
24106
24107
c32bde28 24108static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24109 PyObject *resultobj;
24110 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24111 wxColour *arg2 = 0 ;
24112 bool result;
24113 wxColour temp2 ;
24114 PyObject * obj0 = 0 ;
24115 PyObject * obj1 = 0 ;
24116 char *kwnames[] = {
24117 (char *) "self",(char *) "col", NULL
24118 };
24119
24120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24121 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24122 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24123 {
24124 arg2 = &temp2;
24125 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
24126 }
24127 {
24128 PyThreadState* __tstate = wxPyBeginAllowThreads();
24129 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
24130
24131 wxPyEndAllowThreads(__tstate);
24132 if (PyErr_Occurred()) SWIG_fail;
24133 }
4f89f6a3
RD
24134 {
24135 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24136 }
d14a1e28
RD
24137 return resultobj;
24138 fail:
24139 return NULL;
24140}
24141
24142
c32bde28 24143static PyObject *_wrap_ListCtrl_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24144 PyObject *resultobj;
24145 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24146 int arg2 ;
24147 wxListItem *result;
24148 PyObject * obj0 = 0 ;
994141e6 24149 PyObject * obj1 = 0 ;
d14a1e28
RD
24150 char *kwnames[] = {
24151 (char *) "self",(char *) "col", NULL
24152 };
24153
994141e6 24154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24155 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24156 if (SWIG_arg_fail(1)) SWIG_fail;
24157 {
24158 arg2 = (int)(SWIG_As_int(obj1));
24159 if (SWIG_arg_fail(2)) SWIG_fail;
24160 }
d14a1e28
RD
24161 {
24162 PyThreadState* __tstate = wxPyBeginAllowThreads();
24163 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
24164
24165 wxPyEndAllowThreads(__tstate);
24166 if (PyErr_Occurred()) SWIG_fail;
24167 }
24168 {
412d302d 24169 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
24170 }
24171 return resultobj;
24172 fail:
24173 return NULL;
24174}
24175
24176
c32bde28 24177static PyObject *_wrap_ListCtrl_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24178 PyObject *resultobj;
24179 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24180 int arg2 ;
24181 wxListItem *arg3 = 0 ;
24182 bool result;
24183 PyObject * obj0 = 0 ;
994141e6 24184 PyObject * obj1 = 0 ;
d14a1e28
RD
24185 PyObject * obj2 = 0 ;
24186 char *kwnames[] = {
24187 (char *) "self",(char *) "col",(char *) "item", NULL
24188 };
24189
994141e6 24190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24191 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24192 if (SWIG_arg_fail(1)) SWIG_fail;
24193 {
24194 arg2 = (int)(SWIG_As_int(obj1));
24195 if (SWIG_arg_fail(2)) SWIG_fail;
24196 }
24197 {
24198 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24199 if (SWIG_arg_fail(3)) SWIG_fail;
24200 if (arg3 == NULL) {
24201 SWIG_null_ref("wxListItem");
24202 }
24203 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
24204 }
24205 {
24206 PyThreadState* __tstate = wxPyBeginAllowThreads();
24207 result = (bool)(arg1)->SetColumn(arg2,*arg3);
24208
24209 wxPyEndAllowThreads(__tstate);
24210 if (PyErr_Occurred()) SWIG_fail;
24211 }
4f89f6a3
RD
24212 {
24213 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24214 }
d14a1e28
RD
24215 return resultobj;
24216 fail:
24217 return NULL;
24218}
24219
24220
c32bde28 24221static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24222 PyObject *resultobj;
24223 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24224 int arg2 ;
24225 int result;
24226 PyObject * obj0 = 0 ;
994141e6 24227 PyObject * obj1 = 0 ;
d14a1e28
RD
24228 char *kwnames[] = {
24229 (char *) "self",(char *) "col", NULL
24230 };
24231
994141e6 24232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24233 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24234 if (SWIG_arg_fail(1)) SWIG_fail;
24235 {
24236 arg2 = (int)(SWIG_As_int(obj1));
24237 if (SWIG_arg_fail(2)) SWIG_fail;
24238 }
d14a1e28
RD
24239 {
24240 PyThreadState* __tstate = wxPyBeginAllowThreads();
24241 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
24242
24243 wxPyEndAllowThreads(__tstate);
24244 if (PyErr_Occurred()) SWIG_fail;
24245 }
093d3ff1
RD
24246 {
24247 resultobj = SWIG_From_int((int)(result));
24248 }
d14a1e28
RD
24249 return resultobj;
24250 fail:
24251 return NULL;
24252}
24253
24254
c32bde28 24255static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24256 PyObject *resultobj;
24257 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24258 int arg2 ;
24259 int arg3 ;
24260 bool result;
24261 PyObject * obj0 = 0 ;
994141e6
RD
24262 PyObject * obj1 = 0 ;
24263 PyObject * obj2 = 0 ;
d14a1e28
RD
24264 char *kwnames[] = {
24265 (char *) "self",(char *) "col",(char *) "width", NULL
24266 };
24267
994141e6 24268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24269 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24270 if (SWIG_arg_fail(1)) SWIG_fail;
24271 {
24272 arg2 = (int)(SWIG_As_int(obj1));
24273 if (SWIG_arg_fail(2)) SWIG_fail;
24274 }
24275 {
24276 arg3 = (int)(SWIG_As_int(obj2));
24277 if (SWIG_arg_fail(3)) SWIG_fail;
24278 }
d14a1e28
RD
24279 {
24280 PyThreadState* __tstate = wxPyBeginAllowThreads();
24281 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
24282
24283 wxPyEndAllowThreads(__tstate);
24284 if (PyErr_Occurred()) SWIG_fail;
24285 }
4f89f6a3
RD
24286 {
24287 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24288 }
d14a1e28
RD
24289 return resultobj;
24290 fail:
24291 return NULL;
24292}
24293
24294
c32bde28 24295static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24296 PyObject *resultobj;
24297 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24298 int result;
24299 PyObject * obj0 = 0 ;
24300 char *kwnames[] = {
24301 (char *) "self", NULL
24302 };
24303
24304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",kwnames,&obj0)) goto fail;
093d3ff1
RD
24305 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24306 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24307 {
24308 PyThreadState* __tstate = wxPyBeginAllowThreads();
24309 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
24310
24311 wxPyEndAllowThreads(__tstate);
24312 if (PyErr_Occurred()) SWIG_fail;
24313 }
093d3ff1
RD
24314 {
24315 resultobj = SWIG_From_int((int)(result));
24316 }
d14a1e28
RD
24317 return resultobj;
24318 fail:
24319 return NULL;
24320}
24321
24322
c32bde28 24323static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24324 PyObject *resultobj;
24325 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24326 wxRect result;
24327 PyObject * obj0 = 0 ;
24328 char *kwnames[] = {
24329 (char *) "self", NULL
24330 };
24331
24332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) goto fail;
093d3ff1
RD
24333 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24334 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24335 {
24336 PyThreadState* __tstate = wxPyBeginAllowThreads();
24337 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
24338
24339 wxPyEndAllowThreads(__tstate);
24340 if (PyErr_Occurred()) SWIG_fail;
24341 }
24342 {
24343 wxRect * resultptr;
093d3ff1 24344 resultptr = new wxRect((wxRect &)(result));
15afbcd0 24345 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
24346 }
24347 return resultobj;
24348 fail:
24349 return NULL;
24350}
24351
24352
c32bde28 24353static PyObject *_wrap_ListCtrl_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24354 PyObject *resultobj;
24355 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24356 long arg2 ;
24357 int arg3 = (int) 0 ;
24358 wxListItem *result;
24359 PyObject * obj0 = 0 ;
994141e6
RD
24360 PyObject * obj1 = 0 ;
24361 PyObject * obj2 = 0 ;
d14a1e28
RD
24362 char *kwnames[] = {
24363 (char *) "self",(char *) "itemId",(char *) "col", NULL
24364 };
24365
994141e6 24366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24367 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24368 if (SWIG_arg_fail(1)) SWIG_fail;
24369 {
24370 arg2 = (long)(SWIG_As_long(obj1));
24371 if (SWIG_arg_fail(2)) SWIG_fail;
24372 }
994141e6 24373 if (obj2) {
093d3ff1
RD
24374 {
24375 arg3 = (int)(SWIG_As_int(obj2));
24376 if (SWIG_arg_fail(3)) SWIG_fail;
24377 }
994141e6 24378 }
d14a1e28
RD
24379 {
24380 PyThreadState* __tstate = wxPyBeginAllowThreads();
24381 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
24382
24383 wxPyEndAllowThreads(__tstate);
24384 if (PyErr_Occurred()) SWIG_fail;
24385 }
24386 {
412d302d 24387 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
24388 }
24389 return resultobj;
24390 fail:
24391 return NULL;
24392}
24393
24394
c32bde28 24395static PyObject *_wrap_ListCtrl_SetItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24396 PyObject *resultobj;
24397 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24398 wxListItem *arg2 = 0 ;
24399 bool result;
24400 PyObject * obj0 = 0 ;
24401 PyObject * obj1 = 0 ;
24402 char *kwnames[] = {
24403 (char *) "self",(char *) "info", NULL
24404 };
24405
24406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24407 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24408 if (SWIG_arg_fail(1)) SWIG_fail;
24409 {
24410 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24411 if (SWIG_arg_fail(2)) SWIG_fail;
24412 if (arg2 == NULL) {
24413 SWIG_null_ref("wxListItem");
24414 }
24415 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
24416 }
24417 {
24418 PyThreadState* __tstate = wxPyBeginAllowThreads();
24419 result = (bool)(arg1)->SetItem(*arg2);
24420
24421 wxPyEndAllowThreads(__tstate);
24422 if (PyErr_Occurred()) SWIG_fail;
24423 }
4f89f6a3
RD
24424 {
24425 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24426 }
d14a1e28
RD
24427 return resultobj;
24428 fail:
24429 return NULL;
24430}
24431
24432
c32bde28 24433static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24434 PyObject *resultobj;
24435 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24436 long arg2 ;
24437 int arg3 ;
24438 wxString *arg4 = 0 ;
24439 int arg5 = (int) -1 ;
24440 long result;
ae8162c8 24441 bool temp4 = false ;
d14a1e28 24442 PyObject * obj0 = 0 ;
994141e6
RD
24443 PyObject * obj1 = 0 ;
24444 PyObject * obj2 = 0 ;
d14a1e28 24445 PyObject * obj3 = 0 ;
994141e6 24446 PyObject * obj4 = 0 ;
d14a1e28
RD
24447 char *kwnames[] = {
24448 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
24449 };
24450
994141e6 24451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
24452 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24453 if (SWIG_arg_fail(1)) SWIG_fail;
24454 {
24455 arg2 = (long)(SWIG_As_long(obj1));
24456 if (SWIG_arg_fail(2)) SWIG_fail;
24457 }
24458 {
24459 arg3 = (int)(SWIG_As_int(obj2));
24460 if (SWIG_arg_fail(3)) SWIG_fail;
24461 }
d14a1e28
RD
24462 {
24463 arg4 = wxString_in_helper(obj3);
24464 if (arg4 == NULL) SWIG_fail;
ae8162c8 24465 temp4 = true;
d14a1e28 24466 }
994141e6 24467 if (obj4) {
093d3ff1
RD
24468 {
24469 arg5 = (int)(SWIG_As_int(obj4));
24470 if (SWIG_arg_fail(5)) SWIG_fail;
24471 }
994141e6 24472 }
d14a1e28
RD
24473 {
24474 PyThreadState* __tstate = wxPyBeginAllowThreads();
24475 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
24476
24477 wxPyEndAllowThreads(__tstate);
24478 if (PyErr_Occurred()) SWIG_fail;
24479 }
093d3ff1
RD
24480 {
24481 resultobj = SWIG_From_long((long)(result));
24482 }
d14a1e28
RD
24483 {
24484 if (temp4)
24485 delete arg4;
24486 }
24487 return resultobj;
24488 fail:
24489 {
24490 if (temp4)
24491 delete arg4;
24492 }
24493 return NULL;
24494}
24495
24496
c32bde28 24497static PyObject *_wrap_ListCtrl_GetItemState(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24498 PyObject *resultobj;
24499 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24500 long arg2 ;
24501 long arg3 ;
24502 int result;
24503 PyObject * obj0 = 0 ;
994141e6
RD
24504 PyObject * obj1 = 0 ;
24505 PyObject * obj2 = 0 ;
d14a1e28
RD
24506 char *kwnames[] = {
24507 (char *) "self",(char *) "item",(char *) "stateMask", NULL
24508 };
24509
994141e6 24510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_GetItemState",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24511 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24512 if (SWIG_arg_fail(1)) SWIG_fail;
24513 {
24514 arg2 = (long)(SWIG_As_long(obj1));
24515 if (SWIG_arg_fail(2)) SWIG_fail;
24516 }
24517 {
24518 arg3 = (long)(SWIG_As_long(obj2));
24519 if (SWIG_arg_fail(3)) SWIG_fail;
24520 }
d14a1e28
RD
24521 {
24522 PyThreadState* __tstate = wxPyBeginAllowThreads();
24523 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
24524
24525 wxPyEndAllowThreads(__tstate);
24526 if (PyErr_Occurred()) SWIG_fail;
24527 }
093d3ff1
RD
24528 {
24529 resultobj = SWIG_From_int((int)(result));
24530 }
d14a1e28
RD
24531 return resultobj;
24532 fail:
24533 return NULL;
24534}
24535
24536
c32bde28 24537static PyObject *_wrap_ListCtrl_SetItemState(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24538 PyObject *resultobj;
24539 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24540 long arg2 ;
24541 long arg3 ;
24542 long arg4 ;
24543 bool result;
24544 PyObject * obj0 = 0 ;
994141e6
RD
24545 PyObject * obj1 = 0 ;
24546 PyObject * obj2 = 0 ;
24547 PyObject * obj3 = 0 ;
d14a1e28
RD
24548 char *kwnames[] = {
24549 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
24550 };
24551
994141e6 24552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemState",kwnames,&obj0,&obj1,&obj2,&obj3)) 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 }
24563 {
24564 arg4 = (long)(SWIG_As_long(obj3));
24565 if (SWIG_arg_fail(4)) SWIG_fail;
24566 }
d14a1e28
RD
24567 {
24568 PyThreadState* __tstate = wxPyBeginAllowThreads();
24569 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
24570
24571 wxPyEndAllowThreads(__tstate);
24572 if (PyErr_Occurred()) SWIG_fail;
24573 }
4f89f6a3
RD
24574 {
24575 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24576 }
d14a1e28
RD
24577 return resultobj;
24578 fail:
24579 return NULL;
24580}
24581
24582
c32bde28 24583static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24584 PyObject *resultobj;
24585 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24586 long arg2 ;
24587 int arg3 ;
1fc3b23a 24588 int arg4 = (int) -1 ;
d14a1e28
RD
24589 bool result;
24590 PyObject * obj0 = 0 ;
994141e6
RD
24591 PyObject * obj1 = 0 ;
24592 PyObject * obj2 = 0 ;
24593 PyObject * obj3 = 0 ;
d14a1e28
RD
24594 char *kwnames[] = {
24595 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
24596 };
24597
1fc3b23a 24598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
24599 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24600 if (SWIG_arg_fail(1)) SWIG_fail;
24601 {
24602 arg2 = (long)(SWIG_As_long(obj1));
24603 if (SWIG_arg_fail(2)) SWIG_fail;
24604 }
24605 {
24606 arg3 = (int)(SWIG_As_int(obj2));
24607 if (SWIG_arg_fail(3)) SWIG_fail;
24608 }
1fc3b23a 24609 if (obj3) {
093d3ff1
RD
24610 {
24611 arg4 = (int)(SWIG_As_int(obj3));
24612 if (SWIG_arg_fail(4)) SWIG_fail;
24613 }
1fc3b23a 24614 }
d14a1e28
RD
24615 {
24616 PyThreadState* __tstate = wxPyBeginAllowThreads();
24617 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
24618
24619 wxPyEndAllowThreads(__tstate);
24620 if (PyErr_Occurred()) SWIG_fail;
24621 }
4f89f6a3
RD
24622 {
24623 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24624 }
d14a1e28
RD
24625 return resultobj;
24626 fail:
24627 return NULL;
24628}
24629
24630
c32bde28 24631static PyObject *_wrap_ListCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24632 PyObject *resultobj;
24633 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24634 long arg2 ;
24635 wxString result;
24636 PyObject * obj0 = 0 ;
994141e6 24637 PyObject * obj1 = 0 ;
d14a1e28
RD
24638 char *kwnames[] = {
24639 (char *) "self",(char *) "item", NULL
24640 };
24641
994141e6 24642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24643 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24644 if (SWIG_arg_fail(1)) SWIG_fail;
24645 {
24646 arg2 = (long)(SWIG_As_long(obj1));
24647 if (SWIG_arg_fail(2)) SWIG_fail;
24648 }
d14a1e28
RD
24649 {
24650 PyThreadState* __tstate = wxPyBeginAllowThreads();
24651 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
24652
24653 wxPyEndAllowThreads(__tstate);
24654 if (PyErr_Occurred()) SWIG_fail;
24655 }
24656 {
24657#if wxUSE_UNICODE
24658 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24659#else
24660 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24661#endif
24662 }
24663 return resultobj;
24664 fail:
24665 return NULL;
24666}
24667
24668
c32bde28 24669static PyObject *_wrap_ListCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24670 PyObject *resultobj;
24671 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24672 long arg2 ;
24673 wxString *arg3 = 0 ;
ae8162c8 24674 bool temp3 = false ;
d14a1e28 24675 PyObject * obj0 = 0 ;
994141e6 24676 PyObject * obj1 = 0 ;
d14a1e28
RD
24677 PyObject * obj2 = 0 ;
24678 char *kwnames[] = {
24679 (char *) "self",(char *) "item",(char *) "str", NULL
24680 };
24681
994141e6 24682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24683 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24684 if (SWIG_arg_fail(1)) SWIG_fail;
24685 {
24686 arg2 = (long)(SWIG_As_long(obj1));
24687 if (SWIG_arg_fail(2)) SWIG_fail;
24688 }
d14a1e28
RD
24689 {
24690 arg3 = wxString_in_helper(obj2);
24691 if (arg3 == NULL) SWIG_fail;
ae8162c8 24692 temp3 = true;
d14a1e28
RD
24693 }
24694 {
24695 PyThreadState* __tstate = wxPyBeginAllowThreads();
24696 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
24697
24698 wxPyEndAllowThreads(__tstate);
24699 if (PyErr_Occurred()) SWIG_fail;
24700 }
24701 Py_INCREF(Py_None); resultobj = Py_None;
24702 {
24703 if (temp3)
24704 delete arg3;
24705 }
24706 return resultobj;
24707 fail:
24708 {
24709 if (temp3)
24710 delete arg3;
24711 }
24712 return NULL;
24713}
24714
24715
c32bde28 24716static PyObject *_wrap_ListCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24717 PyObject *resultobj;
24718 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24719 long arg2 ;
24720 long result;
24721 PyObject * obj0 = 0 ;
994141e6 24722 PyObject * obj1 = 0 ;
d14a1e28
RD
24723 char *kwnames[] = {
24724 (char *) "self",(char *) "item", NULL
24725 };
24726
994141e6 24727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24728 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24729 if (SWIG_arg_fail(1)) SWIG_fail;
24730 {
24731 arg2 = (long)(SWIG_As_long(obj1));
24732 if (SWIG_arg_fail(2)) SWIG_fail;
24733 }
d14a1e28
RD
24734 {
24735 PyThreadState* __tstate = wxPyBeginAllowThreads();
24736 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
24737
24738 wxPyEndAllowThreads(__tstate);
24739 if (PyErr_Occurred()) SWIG_fail;
24740 }
093d3ff1
RD
24741 {
24742 resultobj = SWIG_From_long((long)(result));
24743 }
d14a1e28
RD
24744 return resultobj;
24745 fail:
24746 return NULL;
24747}
24748
24749
c32bde28 24750static PyObject *_wrap_ListCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24751 PyObject *resultobj;
24752 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24753 long arg2 ;
24754 long arg3 ;
24755 bool result;
24756 PyObject * obj0 = 0 ;
994141e6
RD
24757 PyObject * obj1 = 0 ;
24758 PyObject * obj2 = 0 ;
d14a1e28
RD
24759 char *kwnames[] = {
24760 (char *) "self",(char *) "item",(char *) "data", NULL
24761 };
24762
994141e6 24763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24764 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24765 if (SWIG_arg_fail(1)) SWIG_fail;
24766 {
24767 arg2 = (long)(SWIG_As_long(obj1));
24768 if (SWIG_arg_fail(2)) SWIG_fail;
24769 }
24770 {
24771 arg3 = (long)(SWIG_As_long(obj2));
24772 if (SWIG_arg_fail(3)) SWIG_fail;
24773 }
d14a1e28
RD
24774 {
24775 PyThreadState* __tstate = wxPyBeginAllowThreads();
24776 result = (bool)(arg1)->SetItemData(arg2,arg3);
24777
24778 wxPyEndAllowThreads(__tstate);
24779 if (PyErr_Occurred()) SWIG_fail;
24780 }
4f89f6a3
RD
24781 {
24782 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24783 }
d14a1e28
RD
24784 return resultobj;
24785 fail:
24786 return NULL;
24787}
24788
24789
c32bde28 24790static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24791 PyObject *resultobj;
24792 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24793 long arg2 ;
24794 wxPoint result;
24795 PyObject * obj0 = 0 ;
994141e6 24796 PyObject * obj1 = 0 ;
d14a1e28
RD
24797 char *kwnames[] = {
24798 (char *) "self",(char *) "item", NULL
24799 };
24800
994141e6 24801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemPosition",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24802 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24803 if (SWIG_arg_fail(1)) SWIG_fail;
24804 {
24805 arg2 = (long)(SWIG_As_long(obj1));
24806 if (SWIG_arg_fail(2)) SWIG_fail;
24807 }
d14a1e28
RD
24808 {
24809 PyThreadState* __tstate = wxPyBeginAllowThreads();
24810 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
24811
24812 wxPyEndAllowThreads(__tstate);
24813 if (PyErr_Occurred()) SWIG_fail;
24814 }
24815 {
24816 wxPoint * resultptr;
093d3ff1 24817 resultptr = new wxPoint((wxPoint &)(result));
15afbcd0 24818 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
24819 }
24820 return resultobj;
24821 fail:
24822 return NULL;
24823}
24824
24825
c32bde28 24826static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24827 PyObject *resultobj;
24828 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24829 long arg2 ;
24830 int arg3 = (int) wxLIST_RECT_BOUNDS ;
24831 wxRect result;
24832 PyObject * obj0 = 0 ;
994141e6
RD
24833 PyObject * obj1 = 0 ;
24834 PyObject * obj2 = 0 ;
d14a1e28
RD
24835 char *kwnames[] = {
24836 (char *) "self",(char *) "item",(char *) "code", NULL
24837 };
24838
994141e6 24839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItemRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24840 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24841 if (SWIG_arg_fail(1)) SWIG_fail;
24842 {
24843 arg2 = (long)(SWIG_As_long(obj1));
24844 if (SWIG_arg_fail(2)) SWIG_fail;
24845 }
994141e6 24846 if (obj2) {
093d3ff1
RD
24847 {
24848 arg3 = (int)(SWIG_As_int(obj2));
24849 if (SWIG_arg_fail(3)) SWIG_fail;
24850 }
994141e6 24851 }
d14a1e28
RD
24852 {
24853 PyThreadState* __tstate = wxPyBeginAllowThreads();
24854 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
24855
24856 wxPyEndAllowThreads(__tstate);
24857 if (PyErr_Occurred()) SWIG_fail;
24858 }
24859 {
24860 wxRect * resultptr;
093d3ff1 24861 resultptr = new wxRect((wxRect &)(result));
15afbcd0 24862 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
24863 }
24864 return resultobj;
24865 fail:
24866 return NULL;
24867}
24868
24869
c32bde28 24870static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24871 PyObject *resultobj;
24872 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24873 long arg2 ;
24874 wxPoint *arg3 = 0 ;
24875 bool result;
24876 wxPoint temp3 ;
24877 PyObject * obj0 = 0 ;
994141e6 24878 PyObject * obj1 = 0 ;
d14a1e28
RD
24879 PyObject * obj2 = 0 ;
24880 char *kwnames[] = {
24881 (char *) "self",(char *) "item",(char *) "pos", NULL
24882 };
24883
994141e6 24884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24885 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24886 if (SWIG_arg_fail(1)) SWIG_fail;
24887 {
24888 arg2 = (long)(SWIG_As_long(obj1));
24889 if (SWIG_arg_fail(2)) SWIG_fail;
24890 }
d14a1e28
RD
24891 {
24892 arg3 = &temp3;
24893 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24894 }
24895 {
24896 PyThreadState* __tstate = wxPyBeginAllowThreads();
24897 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
24898
24899 wxPyEndAllowThreads(__tstate);
24900 if (PyErr_Occurred()) SWIG_fail;
24901 }
4f89f6a3
RD
24902 {
24903 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24904 }
d14a1e28
RD
24905 return resultobj;
24906 fail:
24907 return NULL;
24908}
24909
24910
c32bde28 24911static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24912 PyObject *resultobj;
24913 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24914 int result;
24915 PyObject * obj0 = 0 ;
24916 char *kwnames[] = {
24917 (char *) "self", NULL
24918 };
24919
24920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
24921 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24922 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24923 {
24924 PyThreadState* __tstate = wxPyBeginAllowThreads();
24925 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
24926
24927 wxPyEndAllowThreads(__tstate);
24928 if (PyErr_Occurred()) SWIG_fail;
24929 }
093d3ff1
RD
24930 {
24931 resultobj = SWIG_From_int((int)(result));
24932 }
d14a1e28
RD
24933 return resultobj;
24934 fail:
24935 return NULL;
24936}
24937
24938
c32bde28 24939static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24940 PyObject *resultobj;
24941 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24942 int result;
24943 PyObject * obj0 = 0 ;
24944 char *kwnames[] = {
24945 (char *) "self", NULL
24946 };
24947
24948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
24949 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24950 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24951 {
24952 PyThreadState* __tstate = wxPyBeginAllowThreads();
24953 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
24954
24955 wxPyEndAllowThreads(__tstate);
24956 if (PyErr_Occurred()) SWIG_fail;
24957 }
093d3ff1
RD
24958 {
24959 resultobj = SWIG_From_int((int)(result));
24960 }
d14a1e28
RD
24961 return resultobj;
24962 fail:
24963 return NULL;
24964}
24965
24966
c32bde28 24967static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24968 PyObject *resultobj;
24969 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24970 wxSize result;
24971 PyObject * obj0 = 0 ;
24972 char *kwnames[] = {
24973 (char *) "self", NULL
24974 };
24975
24976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
093d3ff1
RD
24977 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24978 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24979 {
24980 PyThreadState* __tstate = wxPyBeginAllowThreads();
24981 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
24982
24983 wxPyEndAllowThreads(__tstate);
24984 if (PyErr_Occurred()) SWIG_fail;
24985 }
24986 {
24987 wxSize * resultptr;
093d3ff1 24988 resultptr = new wxSize((wxSize &)(result));
15afbcd0 24989 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
24990 }
24991 return resultobj;
24992 fail:
24993 return NULL;
24994}
24995
24996
c32bde28 24997static PyObject *_wrap_ListCtrl_SetItemSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24998 PyObject *resultobj;
24999 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25000 int arg2 ;
ae8162c8 25001 bool arg3 = (bool) false ;
d14a1e28 25002 PyObject * obj0 = 0 ;
994141e6 25003 PyObject * obj1 = 0 ;
d14a1e28
RD
25004 PyObject * obj2 = 0 ;
25005 char *kwnames[] = {
25006 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
25007 };
25008
994141e6 25009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
25010 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25011 if (SWIG_arg_fail(1)) SWIG_fail;
25012 {
25013 arg2 = (int)(SWIG_As_int(obj1));
25014 if (SWIG_arg_fail(2)) SWIG_fail;
25015 }
d14a1e28 25016 if (obj2) {
093d3ff1
RD
25017 {
25018 arg3 = (bool)(SWIG_As_bool(obj2));
25019 if (SWIG_arg_fail(3)) SWIG_fail;
25020 }
d14a1e28
RD
25021 }
25022 {
25023 PyThreadState* __tstate = wxPyBeginAllowThreads();
25024 (arg1)->SetItemSpacing(arg2,arg3);
25025
25026 wxPyEndAllowThreads(__tstate);
25027 if (PyErr_Occurred()) SWIG_fail;
25028 }
25029 Py_INCREF(Py_None); resultobj = Py_None;
25030 return resultobj;
25031 fail:
25032 return NULL;
25033}
25034
25035
c32bde28 25036static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25037 PyObject *resultobj;
25038 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25039 int result;
25040 PyObject * obj0 = 0 ;
25041 char *kwnames[] = {
25042 (char *) "self", NULL
25043 };
25044
25045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
25046 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25047 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25048 {
25049 PyThreadState* __tstate = wxPyBeginAllowThreads();
25050 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
25051
25052 wxPyEndAllowThreads(__tstate);
25053 if (PyErr_Occurred()) SWIG_fail;
25054 }
093d3ff1
RD
25055 {
25056 resultobj = SWIG_From_int((int)(result));
25057 }
d14a1e28
RD
25058 return resultobj;
25059 fail:
25060 return NULL;
25061}
25062
25063
c32bde28 25064static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25065 PyObject *resultobj;
25066 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25067 wxColour result;
25068 PyObject * obj0 = 0 ;
25069 char *kwnames[] = {
25070 (char *) "self", NULL
25071 };
25072
25073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
25074 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25075 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25076 {
25077 PyThreadState* __tstate = wxPyBeginAllowThreads();
25078 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
25079
25080 wxPyEndAllowThreads(__tstate);
25081 if (PyErr_Occurred()) SWIG_fail;
25082 }
25083 {
25084 wxColour * resultptr;
093d3ff1 25085 resultptr = new wxColour((wxColour &)(result));
15afbcd0 25086 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
25087 }
25088 return resultobj;
25089 fail:
25090 return NULL;
25091}
25092
25093
c32bde28 25094static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25095 PyObject *resultobj;
25096 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25097 wxColour *arg2 = 0 ;
25098 wxColour temp2 ;
25099 PyObject * obj0 = 0 ;
25100 PyObject * obj1 = 0 ;
25101 char *kwnames[] = {
25102 (char *) "self",(char *) "col", NULL
25103 };
25104
25105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25106 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25107 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25108 {
25109 arg2 = &temp2;
25110 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
25111 }
25112 {
25113 PyThreadState* __tstate = wxPyBeginAllowThreads();
25114 (arg1)->SetTextColour((wxColour const &)*arg2);
25115
25116 wxPyEndAllowThreads(__tstate);
25117 if (PyErr_Occurred()) SWIG_fail;
25118 }
25119 Py_INCREF(Py_None); resultobj = Py_None;
25120 return resultobj;
25121 fail:
25122 return NULL;
25123}
25124
25125
c32bde28 25126static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25127 PyObject *resultobj;
25128 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25129 long result;
25130 PyObject * obj0 = 0 ;
25131 char *kwnames[] = {
25132 (char *) "self", NULL
25133 };
25134
25135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
093d3ff1
RD
25136 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25137 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25138 {
25139 PyThreadState* __tstate = wxPyBeginAllowThreads();
25140 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
25141
25142 wxPyEndAllowThreads(__tstate);
25143 if (PyErr_Occurred()) SWIG_fail;
25144 }
093d3ff1
RD
25145 {
25146 resultobj = SWIG_From_long((long)(result));
25147 }
d14a1e28
RD
25148 return resultobj;
25149 fail:
25150 return NULL;
25151}
25152
25153
c32bde28 25154static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25155 PyObject *resultobj;
25156 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25157 long arg2 ;
ae8162c8 25158 bool arg3 = (bool) true ;
d14a1e28 25159 PyObject * obj0 = 0 ;
994141e6 25160 PyObject * obj1 = 0 ;
d14a1e28
RD
25161 PyObject * obj2 = 0 ;
25162 char *kwnames[] = {
25163 (char *) "self",(char *) "style",(char *) "add", NULL
25164 };
25165
994141e6 25166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
25167 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25168 if (SWIG_arg_fail(1)) SWIG_fail;
25169 {
25170 arg2 = (long)(SWIG_As_long(obj1));
25171 if (SWIG_arg_fail(2)) SWIG_fail;
25172 }
d14a1e28 25173 if (obj2) {
093d3ff1
RD
25174 {
25175 arg3 = (bool)(SWIG_As_bool(obj2));
25176 if (SWIG_arg_fail(3)) SWIG_fail;
25177 }
d14a1e28
RD
25178 }
25179 {
25180 PyThreadState* __tstate = wxPyBeginAllowThreads();
25181 (arg1)->SetSingleStyle(arg2,arg3);
25182
25183 wxPyEndAllowThreads(__tstate);
25184 if (PyErr_Occurred()) SWIG_fail;
25185 }
25186 Py_INCREF(Py_None); resultobj = Py_None;
25187 return resultobj;
25188 fail:
25189 return NULL;
25190}
25191
25192
c32bde28 25193static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25194 PyObject *resultobj;
25195 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25196 long arg2 ;
25197 PyObject * obj0 = 0 ;
994141e6 25198 PyObject * obj1 = 0 ;
d14a1e28
RD
25199 char *kwnames[] = {
25200 (char *) "self",(char *) "style", NULL
25201 };
25202
994141e6 25203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25204 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25205 if (SWIG_arg_fail(1)) SWIG_fail;
25206 {
25207 arg2 = (long)(SWIG_As_long(obj1));
25208 if (SWIG_arg_fail(2)) SWIG_fail;
25209 }
d14a1e28
RD
25210 {
25211 PyThreadState* __tstate = wxPyBeginAllowThreads();
25212 (arg1)->SetWindowStyleFlag(arg2);
25213
25214 wxPyEndAllowThreads(__tstate);
25215 if (PyErr_Occurred()) SWIG_fail;
25216 }
25217 Py_INCREF(Py_None); resultobj = Py_None;
25218 return resultobj;
25219 fail:
25220 return NULL;
25221}
25222
25223
c32bde28 25224static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25225 PyObject *resultobj;
25226 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25227 long arg2 ;
25228 int arg3 = (int) wxLIST_NEXT_ALL ;
25229 int arg4 = (int) wxLIST_STATE_DONTCARE ;
25230 long result;
25231 PyObject * obj0 = 0 ;
994141e6
RD
25232 PyObject * obj1 = 0 ;
25233 PyObject * obj2 = 0 ;
25234 PyObject * obj3 = 0 ;
d14a1e28
RD
25235 char *kwnames[] = {
25236 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
25237 };
25238
994141e6 25239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
25240 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25241 if (SWIG_arg_fail(1)) SWIG_fail;
25242 {
25243 arg2 = (long)(SWIG_As_long(obj1));
25244 if (SWIG_arg_fail(2)) SWIG_fail;
25245 }
994141e6 25246 if (obj2) {
093d3ff1
RD
25247 {
25248 arg3 = (int)(SWIG_As_int(obj2));
25249 if (SWIG_arg_fail(3)) SWIG_fail;
25250 }
994141e6
RD
25251 }
25252 if (obj3) {
093d3ff1
RD
25253 {
25254 arg4 = (int)(SWIG_As_int(obj3));
25255 if (SWIG_arg_fail(4)) SWIG_fail;
25256 }
994141e6 25257 }
d14a1e28
RD
25258 {
25259 PyThreadState* __tstate = wxPyBeginAllowThreads();
25260 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
25261
25262 wxPyEndAllowThreads(__tstate);
25263 if (PyErr_Occurred()) SWIG_fail;
25264 }
093d3ff1
RD
25265 {
25266 resultobj = SWIG_From_long((long)(result));
25267 }
d14a1e28
RD
25268 return resultobj;
25269 fail:
25270 return NULL;
25271}
25272
25273
c32bde28 25274static PyObject *_wrap_ListCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25275 PyObject *resultobj;
25276 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25277 int arg2 ;
25278 wxImageList *result;
25279 PyObject * obj0 = 0 ;
994141e6 25280 PyObject * obj1 = 0 ;
d14a1e28
RD
25281 char *kwnames[] = {
25282 (char *) "self",(char *) "which", NULL
25283 };
25284
994141e6 25285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetImageList",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25286 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25287 if (SWIG_arg_fail(1)) SWIG_fail;
25288 {
25289 arg2 = (int)(SWIG_As_int(obj1));
25290 if (SWIG_arg_fail(2)) SWIG_fail;
25291 }
d14a1e28
RD
25292 {
25293 PyThreadState* __tstate = wxPyBeginAllowThreads();
25294 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
25295
25296 wxPyEndAllowThreads(__tstate);
25297 if (PyErr_Occurred()) SWIG_fail;
25298 }
25299 {
412d302d 25300 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
25301 }
25302 return resultobj;
25303 fail:
25304 return NULL;
25305}
25306
25307
c32bde28 25308static PyObject *_wrap_ListCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25309 PyObject *resultobj;
25310 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25311 wxImageList *arg2 = (wxImageList *) 0 ;
25312 int arg3 ;
25313 PyObject * obj0 = 0 ;
25314 PyObject * obj1 = 0 ;
994141e6 25315 PyObject * obj2 = 0 ;
d14a1e28
RD
25316 char *kwnames[] = {
25317 (char *) "self",(char *) "imageList",(char *) "which", NULL
25318 };
25319
994141e6 25320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
25321 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25322 if (SWIG_arg_fail(1)) SWIG_fail;
25323 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
25324 if (SWIG_arg_fail(2)) SWIG_fail;
25325 {
25326 arg3 = (int)(SWIG_As_int(obj2));
25327 if (SWIG_arg_fail(3)) SWIG_fail;
25328 }
d14a1e28
RD
25329 {
25330 PyThreadState* __tstate = wxPyBeginAllowThreads();
25331 (arg1)->SetImageList(arg2,arg3);
25332
25333 wxPyEndAllowThreads(__tstate);
25334 if (PyErr_Occurred()) SWIG_fail;
25335 }
25336 Py_INCREF(Py_None); resultobj = Py_None;
25337 return resultobj;
25338 fail:
25339 return NULL;
25340}
25341
25342
c32bde28 25343static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25344 PyObject *resultobj;
25345 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25346 wxImageList *arg2 = (wxImageList *) 0 ;
25347 int arg3 ;
25348 PyObject * obj0 = 0 ;
25349 PyObject * obj1 = 0 ;
994141e6 25350 PyObject * obj2 = 0 ;
d14a1e28
RD
25351 char *kwnames[] = {
25352 (char *) "self",(char *) "imageList",(char *) "which", NULL
25353 };
25354
994141e6 25355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
25356 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25357 if (SWIG_arg_fail(1)) SWIG_fail;
25358 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
25359 if (SWIG_arg_fail(2)) SWIG_fail;
25360 {
25361 arg3 = (int)(SWIG_As_int(obj2));
25362 if (SWIG_arg_fail(3)) SWIG_fail;
25363 }
d14a1e28
RD
25364 {
25365 PyThreadState* __tstate = wxPyBeginAllowThreads();
25366 (arg1)->AssignImageList(arg2,arg3);
25367
25368 wxPyEndAllowThreads(__tstate);
25369 if (PyErr_Occurred()) SWIG_fail;
25370 }
25371 Py_INCREF(Py_None); resultobj = Py_None;
25372 return resultobj;
25373 fail:
25374 return NULL;
25375}
25376
25377
c32bde28 25378static PyObject *_wrap_ListCtrl_InReportView(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
25379 PyObject *resultobj;
25380 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25381 bool result;
25382 PyObject * obj0 = 0 ;
25383 char *kwnames[] = {
25384 (char *) "self", NULL
25385 };
25386
25387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_InReportView",kwnames,&obj0)) goto fail;
093d3ff1
RD
25388 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25389 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52
RD
25390 {
25391 PyThreadState* __tstate = wxPyBeginAllowThreads();
25392 result = (bool)((wxPyListCtrl const *)arg1)->InReportView();
25393
25394 wxPyEndAllowThreads(__tstate);
25395 if (PyErr_Occurred()) SWIG_fail;
25396 }
4f89f6a3
RD
25397 {
25398 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25399 }
4276dc52
RD
25400 return resultobj;
25401 fail:
25402 return NULL;
25403}
25404
25405
c32bde28 25406static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25407 PyObject *resultobj;
25408 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25409 bool result;
25410 PyObject * obj0 = 0 ;
25411 char *kwnames[] = {
25412 (char *) "self", NULL
25413 };
25414
25415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_IsVirtual",kwnames,&obj0)) goto fail;
093d3ff1
RD
25416 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25417 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25418 {
25419 PyThreadState* __tstate = wxPyBeginAllowThreads();
25420 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
25421
25422 wxPyEndAllowThreads(__tstate);
25423 if (PyErr_Occurred()) SWIG_fail;
25424 }
4f89f6a3
RD
25425 {
25426 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25427 }
d14a1e28
RD
25428 return resultobj;
25429 fail:
25430 return NULL;
25431}
25432
25433
c32bde28 25434static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25435 PyObject *resultobj;
25436 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25437 long arg2 ;
25438 PyObject * obj0 = 0 ;
994141e6 25439 PyObject * obj1 = 0 ;
d14a1e28
RD
25440 char *kwnames[] = {
25441 (char *) "self",(char *) "item", NULL
25442 };
25443
994141e6 25444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_RefreshItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25445 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25446 if (SWIG_arg_fail(1)) SWIG_fail;
25447 {
25448 arg2 = (long)(SWIG_As_long(obj1));
25449 if (SWIG_arg_fail(2)) SWIG_fail;
25450 }
d14a1e28
RD
25451 {
25452 PyThreadState* __tstate = wxPyBeginAllowThreads();
25453 (arg1)->RefreshItem(arg2);
25454
25455 wxPyEndAllowThreads(__tstate);
25456 if (PyErr_Occurred()) SWIG_fail;
25457 }
25458 Py_INCREF(Py_None); resultobj = Py_None;
25459 return resultobj;
25460 fail:
25461 return NULL;
25462}
25463
25464
c32bde28 25465static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25466 PyObject *resultobj;
25467 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25468 long arg2 ;
25469 long arg3 ;
25470 PyObject * obj0 = 0 ;
994141e6
RD
25471 PyObject * obj1 = 0 ;
25472 PyObject * obj2 = 0 ;
d14a1e28
RD
25473 char *kwnames[] = {
25474 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
25475 };
25476
994141e6 25477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_RefreshItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
25478 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25479 if (SWIG_arg_fail(1)) SWIG_fail;
25480 {
25481 arg2 = (long)(SWIG_As_long(obj1));
25482 if (SWIG_arg_fail(2)) SWIG_fail;
25483 }
25484 {
25485 arg3 = (long)(SWIG_As_long(obj2));
25486 if (SWIG_arg_fail(3)) SWIG_fail;
25487 }
d14a1e28
RD
25488 {
25489 PyThreadState* __tstate = wxPyBeginAllowThreads();
25490 (arg1)->RefreshItems(arg2,arg3);
25491
25492 wxPyEndAllowThreads(__tstate);
25493 if (PyErr_Occurred()) SWIG_fail;
25494 }
25495 Py_INCREF(Py_None); resultobj = Py_None;
25496 return resultobj;
25497 fail:
25498 return NULL;
25499}
25500
25501
c32bde28 25502static PyObject *_wrap_ListCtrl_Arrange(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25503 PyObject *resultobj;
25504 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25505 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
25506 bool result;
25507 PyObject * obj0 = 0 ;
994141e6 25508 PyObject * obj1 = 0 ;
d14a1e28
RD
25509 char *kwnames[] = {
25510 (char *) "self",(char *) "flag", NULL
25511 };
25512
994141e6 25513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListCtrl_Arrange",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25514 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25515 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 25516 if (obj1) {
093d3ff1
RD
25517 {
25518 arg2 = (int)(SWIG_As_int(obj1));
25519 if (SWIG_arg_fail(2)) SWIG_fail;
25520 }
994141e6 25521 }
d14a1e28
RD
25522 {
25523 PyThreadState* __tstate = wxPyBeginAllowThreads();
25524 result = (bool)(arg1)->Arrange(arg2);
25525
25526 wxPyEndAllowThreads(__tstate);
25527 if (PyErr_Occurred()) SWIG_fail;
25528 }
4f89f6a3
RD
25529 {
25530 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25531 }
d14a1e28
RD
25532 return resultobj;
25533 fail:
25534 return NULL;
25535}
25536
25537
c32bde28 25538static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25539 PyObject *resultobj;
25540 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25541 long arg2 ;
25542 bool result;
25543 PyObject * obj0 = 0 ;
994141e6 25544 PyObject * obj1 = 0 ;
d14a1e28
RD
25545 char *kwnames[] = {
25546 (char *) "self",(char *) "item", NULL
25547 };
25548
994141e6 25549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25550 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25551 if (SWIG_arg_fail(1)) SWIG_fail;
25552 {
25553 arg2 = (long)(SWIG_As_long(obj1));
25554 if (SWIG_arg_fail(2)) SWIG_fail;
25555 }
d14a1e28
RD
25556 {
25557 PyThreadState* __tstate = wxPyBeginAllowThreads();
25558 result = (bool)(arg1)->DeleteItem(arg2);
25559
25560 wxPyEndAllowThreads(__tstate);
25561 if (PyErr_Occurred()) SWIG_fail;
25562 }
4f89f6a3
RD
25563 {
25564 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25565 }
d14a1e28
RD
25566 return resultobj;
25567 fail:
25568 return NULL;
25569}
25570
25571
c32bde28 25572static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25573 PyObject *resultobj;
25574 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25575 bool result;
25576 PyObject * obj0 = 0 ;
25577 char *kwnames[] = {
25578 (char *) "self", NULL
25579 };
25580
25581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
093d3ff1
RD
25582 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25583 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25584 {
25585 PyThreadState* __tstate = wxPyBeginAllowThreads();
25586 result = (bool)(arg1)->DeleteAllItems();
25587
25588 wxPyEndAllowThreads(__tstate);
25589 if (PyErr_Occurred()) SWIG_fail;
25590 }
4f89f6a3
RD
25591 {
25592 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25593 }
d14a1e28
RD
25594 return resultobj;
25595 fail:
25596 return NULL;
25597}
25598
25599
c32bde28 25600static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25601 PyObject *resultobj;
25602 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25603 int arg2 ;
25604 bool result;
25605 PyObject * obj0 = 0 ;
994141e6 25606 PyObject * obj1 = 0 ;
d14a1e28
RD
25607 char *kwnames[] = {
25608 (char *) "self",(char *) "col", NULL
25609 };
25610
994141e6 25611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteColumn",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25612 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25613 if (SWIG_arg_fail(1)) SWIG_fail;
25614 {
25615 arg2 = (int)(SWIG_As_int(obj1));
25616 if (SWIG_arg_fail(2)) SWIG_fail;
25617 }
d14a1e28
RD
25618 {
25619 PyThreadState* __tstate = wxPyBeginAllowThreads();
25620 result = (bool)(arg1)->DeleteColumn(arg2);
25621
25622 wxPyEndAllowThreads(__tstate);
25623 if (PyErr_Occurred()) SWIG_fail;
25624 }
4f89f6a3
RD
25625 {
25626 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25627 }
d14a1e28
RD
25628 return resultobj;
25629 fail:
25630 return NULL;
25631}
25632
25633
c32bde28 25634static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25635 PyObject *resultobj;
25636 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25637 bool result;
25638 PyObject * obj0 = 0 ;
25639 char *kwnames[] = {
25640 (char *) "self", NULL
25641 };
25642
25643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
093d3ff1
RD
25644 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25645 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25646 {
25647 PyThreadState* __tstate = wxPyBeginAllowThreads();
25648 result = (bool)(arg1)->DeleteAllColumns();
25649
25650 wxPyEndAllowThreads(__tstate);
25651 if (PyErr_Occurred()) SWIG_fail;
25652 }
4f89f6a3
RD
25653 {
25654 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25655 }
d14a1e28
RD
25656 return resultobj;
25657 fail:
25658 return NULL;
25659}
25660
25661
c32bde28 25662static PyObject *_wrap_ListCtrl_ClearAll(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25663 PyObject *resultobj;
25664 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25665 PyObject * obj0 = 0 ;
25666 char *kwnames[] = {
25667 (char *) "self", NULL
25668 };
25669
25670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) goto fail;
093d3ff1
RD
25671 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25672 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25673 {
25674 PyThreadState* __tstate = wxPyBeginAllowThreads();
25675 (arg1)->ClearAll();
25676
25677 wxPyEndAllowThreads(__tstate);
25678 if (PyErr_Occurred()) SWIG_fail;
25679 }
25680 Py_INCREF(Py_None); resultobj = Py_None;
25681 return resultobj;
25682 fail:
25683 return NULL;
25684}
25685
25686
c32bde28 25687static PyObject *_wrap_ListCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25688 PyObject *resultobj;
25689 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25690 long arg2 ;
25691 PyObject * obj0 = 0 ;
994141e6 25692 PyObject * obj1 = 0 ;
d14a1e28
RD
25693 char *kwnames[] = {
25694 (char *) "self",(char *) "item", NULL
25695 };
25696
994141e6 25697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25698 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25699 if (SWIG_arg_fail(1)) SWIG_fail;
25700 {
25701 arg2 = (long)(SWIG_As_long(obj1));
25702 if (SWIG_arg_fail(2)) SWIG_fail;
25703 }
d14a1e28
RD
25704 {
25705 PyThreadState* __tstate = wxPyBeginAllowThreads();
25706 (arg1)->EditLabel(arg2);
25707
25708 wxPyEndAllowThreads(__tstate);
25709 if (PyErr_Occurred()) SWIG_fail;
25710 }
25711 Py_INCREF(Py_None); resultobj = Py_None;
25712 return resultobj;
25713 fail:
25714 return NULL;
25715}
25716
25717
c32bde28 25718static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25719 PyObject *resultobj;
25720 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25721 long arg2 ;
25722 bool result;
25723 PyObject * obj0 = 0 ;
994141e6 25724 PyObject * obj1 = 0 ;
d14a1e28
RD
25725 char *kwnames[] = {
25726 (char *) "self",(char *) "item", NULL
25727 };
25728
994141e6 25729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25730 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25731 if (SWIG_arg_fail(1)) SWIG_fail;
25732 {
25733 arg2 = (long)(SWIG_As_long(obj1));
25734 if (SWIG_arg_fail(2)) SWIG_fail;
25735 }
d14a1e28
RD
25736 {
25737 PyThreadState* __tstate = wxPyBeginAllowThreads();
25738 result = (bool)(arg1)->EnsureVisible(arg2);
25739
25740 wxPyEndAllowThreads(__tstate);
25741 if (PyErr_Occurred()) SWIG_fail;
25742 }
4f89f6a3
RD
25743 {
25744 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25745 }
d14a1e28
RD
25746 return resultobj;
25747 fail:
25748 return NULL;
25749}
25750
25751
c32bde28 25752static PyObject *_wrap_ListCtrl_FindItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25753 PyObject *resultobj;
25754 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25755 long arg2 ;
25756 wxString *arg3 = 0 ;
ae8162c8 25757 bool arg4 = (bool) false ;
d14a1e28 25758 long result;
ae8162c8 25759 bool temp3 = false ;
d14a1e28 25760 PyObject * obj0 = 0 ;
994141e6 25761 PyObject * obj1 = 0 ;
d14a1e28
RD
25762 PyObject * obj2 = 0 ;
25763 PyObject * obj3 = 0 ;
25764 char *kwnames[] = {
25765 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
25766 };
25767
994141e6 25768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
25769 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25770 if (SWIG_arg_fail(1)) SWIG_fail;
25771 {
25772 arg2 = (long)(SWIG_As_long(obj1));
25773 if (SWIG_arg_fail(2)) SWIG_fail;
25774 }
d14a1e28
RD
25775 {
25776 arg3 = wxString_in_helper(obj2);
25777 if (arg3 == NULL) SWIG_fail;
ae8162c8 25778 temp3 = true;
d14a1e28
RD
25779 }
25780 if (obj3) {
093d3ff1
RD
25781 {
25782 arg4 = (bool)(SWIG_As_bool(obj3));
25783 if (SWIG_arg_fail(4)) SWIG_fail;
25784 }
d14a1e28
RD
25785 }
25786 {
25787 PyThreadState* __tstate = wxPyBeginAllowThreads();
25788 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
25789
25790 wxPyEndAllowThreads(__tstate);
25791 if (PyErr_Occurred()) SWIG_fail;
25792 }
093d3ff1
RD
25793 {
25794 resultobj = SWIG_From_long((long)(result));
25795 }
d14a1e28
RD
25796 {
25797 if (temp3)
25798 delete arg3;
25799 }
25800 return resultobj;
25801 fail:
25802 {
25803 if (temp3)
25804 delete arg3;
25805 }
25806 return NULL;
25807}
25808
25809
c32bde28 25810static PyObject *_wrap_ListCtrl_FindItemData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25811 PyObject *resultobj;
25812 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25813 long arg2 ;
25814 long arg3 ;
25815 long result;
25816 PyObject * obj0 = 0 ;
994141e6
RD
25817 PyObject * obj1 = 0 ;
25818 PyObject * obj2 = 0 ;
d14a1e28
RD
25819 char *kwnames[] = {
25820 (char *) "self",(char *) "start",(char *) "data", NULL
25821 };
25822
994141e6 25823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_FindItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
25824 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25825 if (SWIG_arg_fail(1)) SWIG_fail;
25826 {
25827 arg2 = (long)(SWIG_As_long(obj1));
25828 if (SWIG_arg_fail(2)) SWIG_fail;
25829 }
25830 {
25831 arg3 = (long)(SWIG_As_long(obj2));
25832 if (SWIG_arg_fail(3)) SWIG_fail;
25833 }
d14a1e28
RD
25834 {
25835 PyThreadState* __tstate = wxPyBeginAllowThreads();
25836 result = (long)(arg1)->FindItem(arg2,arg3);
25837
25838 wxPyEndAllowThreads(__tstate);
25839 if (PyErr_Occurred()) SWIG_fail;
25840 }
093d3ff1
RD
25841 {
25842 resultobj = SWIG_From_long((long)(result));
25843 }
d14a1e28
RD
25844 return resultobj;
25845 fail:
25846 return NULL;
25847}
25848
25849
c32bde28 25850static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25851 PyObject *resultobj;
25852 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25853 long arg2 ;
25854 wxPoint *arg3 = 0 ;
25855 int arg4 ;
25856 long result;
25857 wxPoint temp3 ;
25858 PyObject * obj0 = 0 ;
994141e6 25859 PyObject * obj1 = 0 ;
d14a1e28 25860 PyObject * obj2 = 0 ;
994141e6 25861 PyObject * obj3 = 0 ;
d14a1e28
RD
25862 char *kwnames[] = {
25863 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
25864 };
25865
994141e6 25866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
25867 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25868 if (SWIG_arg_fail(1)) SWIG_fail;
25869 {
25870 arg2 = (long)(SWIG_As_long(obj1));
25871 if (SWIG_arg_fail(2)) SWIG_fail;
25872 }
d14a1e28
RD
25873 {
25874 arg3 = &temp3;
25875 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25876 }
093d3ff1
RD
25877 {
25878 arg4 = (int)(SWIG_As_int(obj3));
25879 if (SWIG_arg_fail(4)) SWIG_fail;
25880 }
d14a1e28
RD
25881 {
25882 PyThreadState* __tstate = wxPyBeginAllowThreads();
25883 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
25884
25885 wxPyEndAllowThreads(__tstate);
25886 if (PyErr_Occurred()) SWIG_fail;
25887 }
093d3ff1
RD
25888 {
25889 resultobj = SWIG_From_long((long)(result));
25890 }
d14a1e28
RD
25891 return resultobj;
25892 fail:
25893 return NULL;
25894}
25895
25896
c32bde28 25897static PyObject *_wrap_ListCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25898 PyObject *resultobj;
25899 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25900 wxPoint *arg2 = 0 ;
25901 int *arg3 = 0 ;
25902 long result;
25903 wxPoint temp2 ;
25904 int temp3 ;
c32bde28 25905 int res3 = 0 ;
d14a1e28
RD
25906 PyObject * obj0 = 0 ;
25907 PyObject * obj1 = 0 ;
25908 char *kwnames[] = {
25909 (char *) "self",(char *) "point", NULL
25910 };
25911
c32bde28 25912 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 25913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25914 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25915 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25916 {
25917 arg2 = &temp2;
25918 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25919 }
25920 {
25921 PyThreadState* __tstate = wxPyBeginAllowThreads();
25922 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
25923
25924 wxPyEndAllowThreads(__tstate);
25925 if (PyErr_Occurred()) SWIG_fail;
25926 }
093d3ff1
RD
25927 {
25928 resultobj = SWIG_From_long((long)(result));
25929 }
c32bde28
RD
25930 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
25931 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
25932 return resultobj;
25933 fail:
25934 return NULL;
25935}
25936
25937
c32bde28 25938static PyObject *_wrap_ListCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25939 PyObject *resultobj;
25940 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25941 wxListItem *arg2 = 0 ;
25942 long result;
25943 PyObject * obj0 = 0 ;
25944 PyObject * obj1 = 0 ;
25945 char *kwnames[] = {
25946 (char *) "self",(char *) "info", NULL
25947 };
25948
25949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25950 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25951 if (SWIG_arg_fail(1)) SWIG_fail;
25952 {
25953 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
25954 if (SWIG_arg_fail(2)) SWIG_fail;
25955 if (arg2 == NULL) {
25956 SWIG_null_ref("wxListItem");
25957 }
25958 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
25959 }
25960 {
25961 PyThreadState* __tstate = wxPyBeginAllowThreads();
25962 result = (long)(arg1)->InsertItem(*arg2);
25963
25964 wxPyEndAllowThreads(__tstate);
25965 if (PyErr_Occurred()) SWIG_fail;
25966 }
093d3ff1
RD
25967 {
25968 resultobj = SWIG_From_long((long)(result));
25969 }
d14a1e28
RD
25970 return resultobj;
25971 fail:
25972 return NULL;
25973}
25974
25975
c32bde28 25976static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25977 PyObject *resultobj;
25978 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25979 long arg2 ;
25980 wxString *arg3 = 0 ;
25981 long result;
ae8162c8 25982 bool temp3 = false ;
d14a1e28 25983 PyObject * obj0 = 0 ;
994141e6 25984 PyObject * obj1 = 0 ;
d14a1e28
RD
25985 PyObject * obj2 = 0 ;
25986 char *kwnames[] = {
25987 (char *) "self",(char *) "index",(char *) "label", NULL
25988 };
25989
994141e6 25990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertStringItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
25991 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25992 if (SWIG_arg_fail(1)) SWIG_fail;
25993 {
25994 arg2 = (long)(SWIG_As_long(obj1));
25995 if (SWIG_arg_fail(2)) SWIG_fail;
25996 }
d14a1e28
RD
25997 {
25998 arg3 = wxString_in_helper(obj2);
25999 if (arg3 == NULL) SWIG_fail;
ae8162c8 26000 temp3 = true;
d14a1e28
RD
26001 }
26002 {
26003 PyThreadState* __tstate = wxPyBeginAllowThreads();
26004 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3);
26005
26006 wxPyEndAllowThreads(__tstate);
26007 if (PyErr_Occurred()) SWIG_fail;
26008 }
093d3ff1
RD
26009 {
26010 resultobj = SWIG_From_long((long)(result));
26011 }
d14a1e28
RD
26012 {
26013 if (temp3)
26014 delete arg3;
26015 }
26016 return resultobj;
26017 fail:
26018 {
26019 if (temp3)
26020 delete arg3;
26021 }
26022 return NULL;
26023}
26024
26025
c32bde28 26026static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26027 PyObject *resultobj;
26028 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26029 long arg2 ;
26030 int arg3 ;
26031 long result;
26032 PyObject * obj0 = 0 ;
994141e6
RD
26033 PyObject * obj1 = 0 ;
26034 PyObject * obj2 = 0 ;
d14a1e28
RD
26035 char *kwnames[] = {
26036 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
26037 };
26038
994141e6 26039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertImageItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26040 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26041 if (SWIG_arg_fail(1)) SWIG_fail;
26042 {
26043 arg2 = (long)(SWIG_As_long(obj1));
26044 if (SWIG_arg_fail(2)) SWIG_fail;
26045 }
26046 {
26047 arg3 = (int)(SWIG_As_int(obj2));
26048 if (SWIG_arg_fail(3)) SWIG_fail;
26049 }
d14a1e28
RD
26050 {
26051 PyThreadState* __tstate = wxPyBeginAllowThreads();
26052 result = (long)(arg1)->InsertItem(arg2,arg3);
26053
26054 wxPyEndAllowThreads(__tstate);
26055 if (PyErr_Occurred()) SWIG_fail;
26056 }
093d3ff1
RD
26057 {
26058 resultobj = SWIG_From_long((long)(result));
26059 }
d14a1e28
RD
26060 return resultobj;
26061 fail:
26062 return NULL;
26063}
26064
26065
c32bde28 26066static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26067 PyObject *resultobj;
26068 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26069 long arg2 ;
26070 wxString *arg3 = 0 ;
26071 int arg4 ;
26072 long result;
ae8162c8 26073 bool temp3 = false ;
d14a1e28 26074 PyObject * obj0 = 0 ;
994141e6 26075 PyObject * obj1 = 0 ;
d14a1e28 26076 PyObject * obj2 = 0 ;
994141e6 26077 PyObject * obj3 = 0 ;
d14a1e28
RD
26078 char *kwnames[] = {
26079 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
26080 };
26081
994141e6 26082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
26083 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26084 if (SWIG_arg_fail(1)) SWIG_fail;
26085 {
26086 arg2 = (long)(SWIG_As_long(obj1));
26087 if (SWIG_arg_fail(2)) SWIG_fail;
26088 }
d14a1e28
RD
26089 {
26090 arg3 = wxString_in_helper(obj2);
26091 if (arg3 == NULL) SWIG_fail;
ae8162c8 26092 temp3 = true;
d14a1e28 26093 }
093d3ff1
RD
26094 {
26095 arg4 = (int)(SWIG_As_int(obj3));
26096 if (SWIG_arg_fail(4)) SWIG_fail;
26097 }
d14a1e28
RD
26098 {
26099 PyThreadState* __tstate = wxPyBeginAllowThreads();
26100 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
26101
26102 wxPyEndAllowThreads(__tstate);
26103 if (PyErr_Occurred()) SWIG_fail;
26104 }
093d3ff1
RD
26105 {
26106 resultobj = SWIG_From_long((long)(result));
26107 }
d14a1e28
RD
26108 {
26109 if (temp3)
26110 delete arg3;
26111 }
26112 return resultobj;
26113 fail:
26114 {
26115 if (temp3)
26116 delete arg3;
26117 }
26118 return NULL;
26119}
26120
26121
c32bde28 26122static PyObject *_wrap_ListCtrl_InsertColumnInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26123 PyObject *resultobj;
26124 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26125 long arg2 ;
26126 wxListItem *arg3 = 0 ;
26127 long result;
26128 PyObject * obj0 = 0 ;
994141e6 26129 PyObject * obj1 = 0 ;
d14a1e28
RD
26130 PyObject * obj2 = 0 ;
26131 char *kwnames[] = {
26132 (char *) "self",(char *) "col",(char *) "info", NULL
26133 };
26134
994141e6 26135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26136 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26137 if (SWIG_arg_fail(1)) SWIG_fail;
26138 {
26139 arg2 = (long)(SWIG_As_long(obj1));
26140 if (SWIG_arg_fail(2)) SWIG_fail;
26141 }
26142 {
26143 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
26144 if (SWIG_arg_fail(3)) SWIG_fail;
26145 if (arg3 == NULL) {
26146 SWIG_null_ref("wxListItem");
26147 }
26148 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
26149 }
26150 {
26151 PyThreadState* __tstate = wxPyBeginAllowThreads();
26152 result = (long)(arg1)->InsertColumn(arg2,*arg3);
26153
26154 wxPyEndAllowThreads(__tstate);
26155 if (PyErr_Occurred()) SWIG_fail;
26156 }
093d3ff1
RD
26157 {
26158 resultobj = SWIG_From_long((long)(result));
26159 }
d14a1e28
RD
26160 return resultobj;
26161 fail:
26162 return NULL;
26163}
26164
26165
c32bde28 26166static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26167 PyObject *resultobj;
26168 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26169 long arg2 ;
26170 wxString *arg3 = 0 ;
26171 int arg4 = (int) wxLIST_FORMAT_LEFT ;
26172 int arg5 = (int) -1 ;
26173 long result;
ae8162c8 26174 bool temp3 = false ;
d14a1e28 26175 PyObject * obj0 = 0 ;
994141e6 26176 PyObject * obj1 = 0 ;
d14a1e28 26177 PyObject * obj2 = 0 ;
994141e6
RD
26178 PyObject * obj3 = 0 ;
26179 PyObject * obj4 = 0 ;
d14a1e28
RD
26180 char *kwnames[] = {
26181 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
26182 };
26183
994141e6 26184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
26185 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26186 if (SWIG_arg_fail(1)) SWIG_fail;
26187 {
26188 arg2 = (long)(SWIG_As_long(obj1));
26189 if (SWIG_arg_fail(2)) SWIG_fail;
26190 }
d14a1e28
RD
26191 {
26192 arg3 = wxString_in_helper(obj2);
26193 if (arg3 == NULL) SWIG_fail;
ae8162c8 26194 temp3 = true;
d14a1e28 26195 }
994141e6 26196 if (obj3) {
093d3ff1
RD
26197 {
26198 arg4 = (int)(SWIG_As_int(obj3));
26199 if (SWIG_arg_fail(4)) SWIG_fail;
26200 }
994141e6
RD
26201 }
26202 if (obj4) {
093d3ff1
RD
26203 {
26204 arg5 = (int)(SWIG_As_int(obj4));
26205 if (SWIG_arg_fail(5)) SWIG_fail;
26206 }
994141e6 26207 }
d14a1e28
RD
26208 {
26209 PyThreadState* __tstate = wxPyBeginAllowThreads();
26210 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
26211
26212 wxPyEndAllowThreads(__tstate);
26213 if (PyErr_Occurred()) SWIG_fail;
26214 }
093d3ff1
RD
26215 {
26216 resultobj = SWIG_From_long((long)(result));
26217 }
d14a1e28
RD
26218 {
26219 if (temp3)
26220 delete arg3;
26221 }
26222 return resultobj;
26223 fail:
26224 {
26225 if (temp3)
26226 delete arg3;
26227 }
26228 return NULL;
26229}
26230
26231
c32bde28 26232static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26233 PyObject *resultobj;
26234 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26235 long arg2 ;
26236 PyObject * obj0 = 0 ;
994141e6 26237 PyObject * obj1 = 0 ;
d14a1e28
RD
26238 char *kwnames[] = {
26239 (char *) "self",(char *) "count", NULL
26240 };
26241
994141e6 26242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26243 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26244 if (SWIG_arg_fail(1)) SWIG_fail;
26245 {
26246 arg2 = (long)(SWIG_As_long(obj1));
26247 if (SWIG_arg_fail(2)) SWIG_fail;
26248 }
d14a1e28
RD
26249 {
26250 PyThreadState* __tstate = wxPyBeginAllowThreads();
26251 (arg1)->SetItemCount(arg2);
26252
26253 wxPyEndAllowThreads(__tstate);
26254 if (PyErr_Occurred()) SWIG_fail;
26255 }
26256 Py_INCREF(Py_None); resultobj = Py_None;
26257 return resultobj;
26258 fail:
26259 return NULL;
26260}
26261
26262
c32bde28 26263static PyObject *_wrap_ListCtrl_ScrollList(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26264 PyObject *resultobj;
26265 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26266 int arg2 ;
26267 int arg3 ;
26268 bool result;
26269 PyObject * obj0 = 0 ;
994141e6
RD
26270 PyObject * obj1 = 0 ;
26271 PyObject * obj2 = 0 ;
d14a1e28
RD
26272 char *kwnames[] = {
26273 (char *) "self",(char *) "dx",(char *) "dy", NULL
26274 };
26275
994141e6 26276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_ScrollList",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26277 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26278 if (SWIG_arg_fail(1)) SWIG_fail;
26279 {
26280 arg2 = (int)(SWIG_As_int(obj1));
26281 if (SWIG_arg_fail(2)) SWIG_fail;
26282 }
26283 {
26284 arg3 = (int)(SWIG_As_int(obj2));
26285 if (SWIG_arg_fail(3)) SWIG_fail;
26286 }
d14a1e28
RD
26287 {
26288 PyThreadState* __tstate = wxPyBeginAllowThreads();
26289 result = (bool)(arg1)->ScrollList(arg2,arg3);
26290
26291 wxPyEndAllowThreads(__tstate);
26292 if (PyErr_Occurred()) SWIG_fail;
26293 }
4f89f6a3
RD
26294 {
26295 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26296 }
d14a1e28
RD
26297 return resultobj;
26298 fail:
26299 return NULL;
26300}
26301
26302
c32bde28 26303static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26304 PyObject *resultobj;
26305 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26306 long arg2 ;
26307 wxColour *arg3 = 0 ;
26308 wxColour temp3 ;
26309 PyObject * obj0 = 0 ;
994141e6 26310 PyObject * obj1 = 0 ;
d14a1e28
RD
26311 PyObject * obj2 = 0 ;
26312 char *kwnames[] = {
26313 (char *) "self",(char *) "item",(char *) "col", NULL
26314 };
26315
994141e6 26316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemTextColour",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 = (long)(SWIG_As_long(obj1));
26321 if (SWIG_arg_fail(2)) SWIG_fail;
26322 }
d14a1e28
RD
26323 {
26324 arg3 = &temp3;
26325 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
26326 }
26327 {
26328 PyThreadState* __tstate = wxPyBeginAllowThreads();
26329 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
26330
26331 wxPyEndAllowThreads(__tstate);
26332 if (PyErr_Occurred()) SWIG_fail;
26333 }
26334 Py_INCREF(Py_None); resultobj = Py_None;
26335 return resultobj;
26336 fail:
26337 return NULL;
26338}
26339
26340
c32bde28 26341static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26342 PyObject *resultobj;
26343 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26344 long arg2 ;
26345 wxColour result;
26346 PyObject * obj0 = 0 ;
994141e6 26347 PyObject * obj1 = 0 ;
d14a1e28
RD
26348 char *kwnames[] = {
26349 (char *) "self",(char *) "item", NULL
26350 };
26351
994141e6 26352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26353 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26354 if (SWIG_arg_fail(1)) SWIG_fail;
26355 {
26356 arg2 = (long)(SWIG_As_long(obj1));
26357 if (SWIG_arg_fail(2)) SWIG_fail;
26358 }
d14a1e28
RD
26359 {
26360 PyThreadState* __tstate = wxPyBeginAllowThreads();
26361 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
26362
26363 wxPyEndAllowThreads(__tstate);
26364 if (PyErr_Occurred()) SWIG_fail;
26365 }
26366 {
26367 wxColour * resultptr;
093d3ff1 26368 resultptr = new wxColour((wxColour &)(result));
15afbcd0 26369 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
26370 }
26371 return resultobj;
26372 fail:
26373 return NULL;
26374}
26375
26376
c32bde28 26377static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26378 PyObject *resultobj;
26379 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26380 long arg2 ;
26381 wxColour *arg3 = 0 ;
26382 wxColour temp3 ;
26383 PyObject * obj0 = 0 ;
994141e6 26384 PyObject * obj1 = 0 ;
d14a1e28
RD
26385 PyObject * obj2 = 0 ;
26386 char *kwnames[] = {
26387 (char *) "self",(char *) "item",(char *) "col", NULL
26388 };
26389
994141e6 26390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26391 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26392 if (SWIG_arg_fail(1)) SWIG_fail;
26393 {
26394 arg2 = (long)(SWIG_As_long(obj1));
26395 if (SWIG_arg_fail(2)) SWIG_fail;
26396 }
d14a1e28
RD
26397 {
26398 arg3 = &temp3;
26399 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
26400 }
26401 {
26402 PyThreadState* __tstate = wxPyBeginAllowThreads();
26403 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
26404
26405 wxPyEndAllowThreads(__tstate);
26406 if (PyErr_Occurred()) SWIG_fail;
26407 }
26408 Py_INCREF(Py_None); resultobj = Py_None;
26409 return resultobj;
26410 fail:
26411 return NULL;
26412}
26413
26414
c32bde28 26415static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26416 PyObject *resultobj;
26417 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26418 long arg2 ;
26419 wxColour result;
26420 PyObject * obj0 = 0 ;
994141e6 26421 PyObject * obj1 = 0 ;
d14a1e28
RD
26422 char *kwnames[] = {
26423 (char *) "self",(char *) "item", NULL
26424 };
26425
994141e6 26426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26427 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26428 if (SWIG_arg_fail(1)) SWIG_fail;
26429 {
26430 arg2 = (long)(SWIG_As_long(obj1));
26431 if (SWIG_arg_fail(2)) SWIG_fail;
26432 }
d14a1e28
RD
26433 {
26434 PyThreadState* __tstate = wxPyBeginAllowThreads();
26435 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
26436
26437 wxPyEndAllowThreads(__tstate);
26438 if (PyErr_Occurred()) SWIG_fail;
26439 }
26440 {
26441 wxColour * resultptr;
093d3ff1 26442 resultptr = new wxColour((wxColour &)(result));
15afbcd0 26443 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
26444 }
26445 return resultobj;
26446 fail:
26447 return NULL;
26448}
26449
26450
c32bde28 26451static PyObject *_wrap_ListCtrl_SortItems(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26452 PyObject *resultobj;
26453 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26454 PyObject *arg2 = (PyObject *) 0 ;
26455 bool result;
26456 PyObject * obj0 = 0 ;
26457 PyObject * obj1 = 0 ;
26458 char *kwnames[] = {
26459 (char *) "self",(char *) "func", NULL
26460 };
26461
26462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26463 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26464 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
26465 arg2 = obj1;
26466 {
26467 PyThreadState* __tstate = wxPyBeginAllowThreads();
26468 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
26469
26470 wxPyEndAllowThreads(__tstate);
26471 if (PyErr_Occurred()) SWIG_fail;
26472 }
4f89f6a3
RD
26473 {
26474 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26475 }
d14a1e28
RD
26476 return resultobj;
26477 fail:
26478 return NULL;
26479}
26480
26481
c32bde28 26482static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26483 PyObject *resultobj;
26484 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26485 wxWindow *result;
26486 PyObject * obj0 = 0 ;
26487 char *kwnames[] = {
26488 (char *) "self", NULL
26489 };
26490
26491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
26492 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26493 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
26494 {
26495 PyThreadState* __tstate = wxPyBeginAllowThreads();
26496 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
26497
26498 wxPyEndAllowThreads(__tstate);
26499 if (PyErr_Occurred()) SWIG_fail;
26500 }
26501 {
412d302d 26502 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
26503 }
26504 return resultobj;
26505 fail:
26506 return NULL;
26507}
26508
26509
c32bde28 26510static PyObject *_wrap_ListCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
74a57fcd 26511 PyObject *resultobj;
093d3ff1 26512 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
74a57fcd
RD
26513 wxVisualAttributes result;
26514 PyObject * obj0 = 0 ;
26515 char *kwnames[] = {
26516 (char *) "variant", NULL
26517 };
26518
26519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
26520 if (obj0) {
093d3ff1
RD
26521 {
26522 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
26523 if (SWIG_arg_fail(1)) SWIG_fail;
26524 }
74a57fcd
RD
26525 }
26526 {
110da5b0 26527 if (!wxPyCheckForApp()) SWIG_fail;
74a57fcd
RD
26528 PyThreadState* __tstate = wxPyBeginAllowThreads();
26529 result = wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
26530
26531 wxPyEndAllowThreads(__tstate);
dfbb5885 26532 if (PyErr_Occurred()) SWIG_fail;
74a57fcd
RD
26533 }
26534 {
26535 wxVisualAttributes * resultptr;
093d3ff1 26536 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
74a57fcd
RD
26537 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
26538 }
26539 return resultobj;
26540 fail:
26541 return NULL;
26542}
26543
26544
c32bde28 26545static PyObject * ListCtrl_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
26546 PyObject *obj;
26547 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26548 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
26549 Py_INCREF(obj);
26550 return Py_BuildValue((char *)"");
26551}
c32bde28 26552static PyObject *_wrap_new_ListView(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26553 PyObject *resultobj;
26554 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 26555 int arg2 = (int) -1 ;
d14a1e28
RD
26556 wxPoint const &arg3_defvalue = wxDefaultPosition ;
26557 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
26558 wxSize const &arg4_defvalue = wxDefaultSize ;
26559 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
26560 long arg5 = (long) wxLC_REPORT ;
26561 wxValidator const &arg6_defvalue = wxDefaultValidator ;
26562 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
26563 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
26564 wxString *arg7 = (wxString *) &arg7_defvalue ;
26565 wxListView *result;
26566 wxPoint temp3 ;
26567 wxSize temp4 ;
ae8162c8 26568 bool temp7 = false ;
d14a1e28 26569 PyObject * obj0 = 0 ;
994141e6 26570 PyObject * obj1 = 0 ;
d14a1e28
RD
26571 PyObject * obj2 = 0 ;
26572 PyObject * obj3 = 0 ;
994141e6 26573 PyObject * obj4 = 0 ;
d14a1e28
RD
26574 PyObject * obj5 = 0 ;
26575 PyObject * obj6 = 0 ;
26576 char *kwnames[] = {
26577 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26578 };
26579
994141e6 26580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListView",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
26581 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26582 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 26583 if (obj1) {
093d3ff1
RD
26584 {
26585 arg2 = (int)(SWIG_As_int(obj1));
26586 if (SWIG_arg_fail(2)) SWIG_fail;
26587 }
994141e6 26588 }
d14a1e28
RD
26589 if (obj2) {
26590 {
26591 arg3 = &temp3;
26592 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
26593 }
26594 }
26595 if (obj3) {
26596 {
26597 arg4 = &temp4;
26598 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
26599 }
26600 }
994141e6 26601 if (obj4) {
093d3ff1
RD
26602 {
26603 arg5 = (long)(SWIG_As_long(obj4));
26604 if (SWIG_arg_fail(5)) SWIG_fail;
26605 }
994141e6 26606 }
d14a1e28 26607 if (obj5) {
093d3ff1
RD
26608 {
26609 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
26610 if (SWIG_arg_fail(6)) SWIG_fail;
26611 if (arg6 == NULL) {
26612 SWIG_null_ref("wxValidator");
26613 }
26614 if (SWIG_arg_fail(6)) SWIG_fail;
d14a1e28
RD
26615 }
26616 }
26617 if (obj6) {
26618 {
26619 arg7 = wxString_in_helper(obj6);
26620 if (arg7 == NULL) SWIG_fail;
ae8162c8 26621 temp7 = true;
d14a1e28
RD
26622 }
26623 }
26624 {
e3b71cb8 26625 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
26626 PyThreadState* __tstate = wxPyBeginAllowThreads();
26627 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
26628
26629 wxPyEndAllowThreads(__tstate);
110da5b0 26630 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 26631 }
15afbcd0 26632 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
d14a1e28
RD
26633 {
26634 if (temp7)
26635 delete arg7;
26636 }
26637 return resultobj;
26638 fail:
26639 {
26640 if (temp7)
26641 delete arg7;
26642 }
26643 return NULL;
26644}
26645
26646
c32bde28 26647static PyObject *_wrap_new_PreListView(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26648 PyObject *resultobj;
26649 wxListView *result;
26650 char *kwnames[] = {
26651 NULL
26652 };
26653
26654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
26655 {
e3b71cb8 26656 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
26657 PyThreadState* __tstate = wxPyBeginAllowThreads();
26658 result = (wxListView *)new wxListView();
26659
26660 wxPyEndAllowThreads(__tstate);
110da5b0 26661 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 26662 }
15afbcd0 26663 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
d14a1e28
RD
26664 return resultobj;
26665 fail:
26666 return NULL;
26667}
26668
26669
c32bde28 26670static PyObject *_wrap_ListView_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26671 PyObject *resultobj;
26672 wxListView *arg1 = (wxListView *) 0 ;
26673 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 26674 int arg3 = (int) -1 ;
d14a1e28
RD
26675 wxPoint const &arg4_defvalue = wxDefaultPosition ;
26676 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
26677 wxSize const &arg5_defvalue = wxDefaultSize ;
26678 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
26679 long arg6 = (long) wxLC_REPORT ;
26680 wxValidator const &arg7_defvalue = wxDefaultValidator ;
26681 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
26682 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
26683 wxString *arg8 = (wxString *) &arg8_defvalue ;
26684 bool result;
26685 wxPoint temp4 ;
26686 wxSize temp5 ;
ae8162c8 26687 bool temp8 = false ;
d14a1e28
RD
26688 PyObject * obj0 = 0 ;
26689 PyObject * obj1 = 0 ;
994141e6 26690 PyObject * obj2 = 0 ;
d14a1e28
RD
26691 PyObject * obj3 = 0 ;
26692 PyObject * obj4 = 0 ;
994141e6 26693 PyObject * obj5 = 0 ;
d14a1e28
RD
26694 PyObject * obj6 = 0 ;
26695 PyObject * obj7 = 0 ;
26696 char *kwnames[] = {
26697 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26698 };
26699
994141e6 26700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListView_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
26701 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26702 if (SWIG_arg_fail(1)) SWIG_fail;
26703 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26704 if (SWIG_arg_fail(2)) SWIG_fail;
994141e6 26705 if (obj2) {
093d3ff1
RD
26706 {
26707 arg3 = (int)(SWIG_As_int(obj2));
26708 if (SWIG_arg_fail(3)) SWIG_fail;
26709 }
994141e6 26710 }
d14a1e28
RD
26711 if (obj3) {
26712 {
26713 arg4 = &temp4;
26714 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
26715 }
26716 }
26717 if (obj4) {
26718 {
26719 arg5 = &temp5;
26720 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
26721 }
26722 }
994141e6 26723 if (obj5) {
093d3ff1
RD
26724 {
26725 arg6 = (long)(SWIG_As_long(obj5));
26726 if (SWIG_arg_fail(6)) SWIG_fail;
26727 }
994141e6 26728 }
d14a1e28 26729 if (obj6) {
093d3ff1
RD
26730 {
26731 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
26732 if (SWIG_arg_fail(7)) SWIG_fail;
26733 if (arg7 == NULL) {
26734 SWIG_null_ref("wxValidator");
26735 }
26736 if (SWIG_arg_fail(7)) SWIG_fail;
d14a1e28
RD
26737 }
26738 }
26739 if (obj7) {
26740 {
26741 arg8 = wxString_in_helper(obj7);
26742 if (arg8 == NULL) SWIG_fail;
ae8162c8 26743 temp8 = true;
d14a1e28
RD
26744 }
26745 }
26746 {
26747 PyThreadState* __tstate = wxPyBeginAllowThreads();
26748 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
26749
26750 wxPyEndAllowThreads(__tstate);
26751 if (PyErr_Occurred()) SWIG_fail;
26752 }
4f89f6a3
RD
26753 {
26754 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26755 }
d14a1e28
RD
26756 {
26757 if (temp8)
26758 delete arg8;
26759 }
26760 return resultobj;
26761 fail:
26762 {
26763 if (temp8)
26764 delete arg8;
26765 }
26766 return NULL;
26767}
26768
26769
c32bde28 26770static PyObject *_wrap_ListView_Select(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26771 PyObject *resultobj;
26772 wxListView *arg1 = (wxListView *) 0 ;
26773 long arg2 ;
ae8162c8 26774 bool arg3 = (bool) true ;
d14a1e28 26775 PyObject * obj0 = 0 ;
994141e6 26776 PyObject * obj1 = 0 ;
d14a1e28
RD
26777 PyObject * obj2 = 0 ;
26778 char *kwnames[] = {
26779 (char *) "self",(char *) "n",(char *) "on", NULL
26780 };
26781
15afbcd0 26782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListView_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26783 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26784 if (SWIG_arg_fail(1)) SWIG_fail;
26785 {
26786 arg2 = (long)(SWIG_As_long(obj1));
26787 if (SWIG_arg_fail(2)) SWIG_fail;
26788 }
d14a1e28 26789 if (obj2) {
093d3ff1
RD
26790 {
26791 arg3 = (bool)(SWIG_As_bool(obj2));
26792 if (SWIG_arg_fail(3)) SWIG_fail;
26793 }
d14a1e28
RD
26794 }
26795 {
26796 PyThreadState* __tstate = wxPyBeginAllowThreads();
26797 (arg1)->Select(arg2,arg3);
26798
26799 wxPyEndAllowThreads(__tstate);
26800 if (PyErr_Occurred()) SWIG_fail;
26801 }
26802 Py_INCREF(Py_None); resultobj = Py_None;
26803 return resultobj;
26804 fail:
26805 return NULL;
26806}
26807
26808
c32bde28 26809static PyObject *_wrap_ListView_Focus(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26810 PyObject *resultobj;
26811 wxListView *arg1 = (wxListView *) 0 ;
26812 long arg2 ;
26813 PyObject * obj0 = 0 ;
994141e6 26814 PyObject * obj1 = 0 ;
d14a1e28
RD
26815 char *kwnames[] = {
26816 (char *) "self",(char *) "index", NULL
26817 };
26818
994141e6 26819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_Focus",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26820 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26821 if (SWIG_arg_fail(1)) SWIG_fail;
26822 {
26823 arg2 = (long)(SWIG_As_long(obj1));
26824 if (SWIG_arg_fail(2)) SWIG_fail;
26825 }
d14a1e28
RD
26826 {
26827 PyThreadState* __tstate = wxPyBeginAllowThreads();
26828 (arg1)->Focus(arg2);
26829
26830 wxPyEndAllowThreads(__tstate);
26831 if (PyErr_Occurred()) SWIG_fail;
26832 }
26833 Py_INCREF(Py_None); resultobj = Py_None;
26834 return resultobj;
26835 fail:
26836 return NULL;
26837}
26838
26839
c32bde28 26840static PyObject *_wrap_ListView_GetFocusedItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26841 PyObject *resultobj;
26842 wxListView *arg1 = (wxListView *) 0 ;
26843 long result;
26844 PyObject * obj0 = 0 ;
26845 char *kwnames[] = {
26846 (char *) "self", NULL
26847 };
26848
26849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
093d3ff1
RD
26850 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26851 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
26852 {
26853 PyThreadState* __tstate = wxPyBeginAllowThreads();
26854 result = (long)((wxListView const *)arg1)->GetFocusedItem();
26855
26856 wxPyEndAllowThreads(__tstate);
26857 if (PyErr_Occurred()) SWIG_fail;
26858 }
093d3ff1
RD
26859 {
26860 resultobj = SWIG_From_long((long)(result));
26861 }
d14a1e28
RD
26862 return resultobj;
26863 fail:
26864 return NULL;
26865}
26866
26867
c32bde28 26868static PyObject *_wrap_ListView_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26869 PyObject *resultobj;
26870 wxListView *arg1 = (wxListView *) 0 ;
26871 long arg2 ;
26872 long result;
26873 PyObject * obj0 = 0 ;
994141e6 26874 PyObject * obj1 = 0 ;
d14a1e28
RD
26875 char *kwnames[] = {
26876 (char *) "self",(char *) "item", NULL
26877 };
26878
994141e6 26879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26880 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26881 if (SWIG_arg_fail(1)) SWIG_fail;
26882 {
26883 arg2 = (long)(SWIG_As_long(obj1));
26884 if (SWIG_arg_fail(2)) SWIG_fail;
26885 }
d14a1e28
RD
26886 {
26887 PyThreadState* __tstate = wxPyBeginAllowThreads();
26888 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
26889
26890 wxPyEndAllowThreads(__tstate);
26891 if (PyErr_Occurred()) SWIG_fail;
26892 }
093d3ff1
RD
26893 {
26894 resultobj = SWIG_From_long((long)(result));
26895 }
d14a1e28
RD
26896 return resultobj;
26897 fail:
26898 return NULL;
26899}
26900
26901
c32bde28 26902static PyObject *_wrap_ListView_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26903 PyObject *resultobj;
26904 wxListView *arg1 = (wxListView *) 0 ;
26905 long result;
26906 PyObject * obj0 = 0 ;
26907 char *kwnames[] = {
26908 (char *) "self", NULL
26909 };
26910
26911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
093d3ff1
RD
26912 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26913 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
26914 {
26915 PyThreadState* __tstate = wxPyBeginAllowThreads();
26916 result = (long)((wxListView const *)arg1)->GetFirstSelected();
26917
26918 wxPyEndAllowThreads(__tstate);
26919 if (PyErr_Occurred()) SWIG_fail;
26920 }
093d3ff1
RD
26921 {
26922 resultobj = SWIG_From_long((long)(result));
26923 }
d14a1e28
RD
26924 return resultobj;
26925 fail:
26926 return NULL;
26927}
26928
26929
c32bde28 26930static PyObject *_wrap_ListView_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26931 PyObject *resultobj;
26932 wxListView *arg1 = (wxListView *) 0 ;
26933 long arg2 ;
26934 bool result;
26935 PyObject * obj0 = 0 ;
994141e6 26936 PyObject * obj1 = 0 ;
d14a1e28
RD
26937 char *kwnames[] = {
26938 (char *) "self",(char *) "index", NULL
26939 };
26940
994141e6 26941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_IsSelected",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26942 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26943 if (SWIG_arg_fail(1)) SWIG_fail;
26944 {
26945 arg2 = (long)(SWIG_As_long(obj1));
26946 if (SWIG_arg_fail(2)) SWIG_fail;
26947 }
d14a1e28
RD
26948 {
26949 PyThreadState* __tstate = wxPyBeginAllowThreads();
26950 result = (bool)(arg1)->IsSelected(arg2);
26951
26952 wxPyEndAllowThreads(__tstate);
26953 if (PyErr_Occurred()) SWIG_fail;
26954 }
4f89f6a3
RD
26955 {
26956 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26957 }
d14a1e28
RD
26958 return resultobj;
26959 fail:
26960 return NULL;
26961}
26962
26963
c32bde28 26964static PyObject *_wrap_ListView_SetColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26965 PyObject *resultobj;
26966 wxListView *arg1 = (wxListView *) 0 ;
26967 int arg2 ;
26968 int arg3 ;
26969 PyObject * obj0 = 0 ;
994141e6
RD
26970 PyObject * obj1 = 0 ;
26971 PyObject * obj2 = 0 ;
d14a1e28
RD
26972 char *kwnames[] = {
26973 (char *) "self",(char *) "col",(char *) "image", NULL
26974 };
26975
994141e6 26976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListView_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26977 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26978 if (SWIG_arg_fail(1)) SWIG_fail;
26979 {
26980 arg2 = (int)(SWIG_As_int(obj1));
26981 if (SWIG_arg_fail(2)) SWIG_fail;
26982 }
26983 {
26984 arg3 = (int)(SWIG_As_int(obj2));
26985 if (SWIG_arg_fail(3)) SWIG_fail;
26986 }
d14a1e28
RD
26987 {
26988 PyThreadState* __tstate = wxPyBeginAllowThreads();
26989 (arg1)->SetColumnImage(arg2,arg3);
26990
26991 wxPyEndAllowThreads(__tstate);
26992 if (PyErr_Occurred()) SWIG_fail;
26993 }
26994 Py_INCREF(Py_None); resultobj = Py_None;
26995 return resultobj;
26996 fail:
26997 return NULL;
26998}
26999
27000
c32bde28 27001static PyObject *_wrap_ListView_ClearColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27002 PyObject *resultobj;
27003 wxListView *arg1 = (wxListView *) 0 ;
27004 int arg2 ;
27005 PyObject * obj0 = 0 ;
994141e6 27006 PyObject * obj1 = 0 ;
d14a1e28
RD
27007 char *kwnames[] = {
27008 (char *) "self",(char *) "col", NULL
27009 };
27010
994141e6 27011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_ClearColumnImage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27012 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
27013 if (SWIG_arg_fail(1)) SWIG_fail;
27014 {
27015 arg2 = (int)(SWIG_As_int(obj1));
27016 if (SWIG_arg_fail(2)) SWIG_fail;
27017 }
d14a1e28
RD
27018 {
27019 PyThreadState* __tstate = wxPyBeginAllowThreads();
27020 (arg1)->ClearColumnImage(arg2);
27021
27022 wxPyEndAllowThreads(__tstate);
27023 if (PyErr_Occurred()) SWIG_fail;
27024 }
27025 Py_INCREF(Py_None); resultobj = Py_None;
27026 return resultobj;
27027 fail:
27028 return NULL;
27029}
27030
27031
c32bde28 27032static PyObject * ListView_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
27033 PyObject *obj;
27034 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27035 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
27036 Py_INCREF(obj);
27037 return Py_BuildValue((char *)"");
27038}
c32bde28 27039static int _wrap_TreeCtrlNameStr_set(PyObject *) {
b2dc1044
RD
27040 PyErr_SetString(PyExc_TypeError,"Variable TreeCtrlNameStr is read-only.");
27041 return 1;
27042}
27043
27044
093d3ff1 27045static PyObject *_wrap_TreeCtrlNameStr_get(void) {
b2dc1044
RD
27046 PyObject *pyobj;
27047
27048 {
27049#if wxUSE_UNICODE
27050 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
27051#else
27052 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
27053#endif
27054 }
27055 return pyobj;
27056}
27057
27058
c32bde28 27059static PyObject *_wrap_new_TreeItemId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27060 PyObject *resultobj;
27061 wxTreeItemId *result;
27062 char *kwnames[] = {
27063 NULL
27064 };
27065
27066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
27067 {
27068 PyThreadState* __tstate = wxPyBeginAllowThreads();
27069 result = (wxTreeItemId *)new wxTreeItemId();
27070
27071 wxPyEndAllowThreads(__tstate);
27072 if (PyErr_Occurred()) SWIG_fail;
27073 }
15afbcd0 27074 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
27075 return resultobj;
27076 fail:
27077 return NULL;
27078}
27079
27080
c32bde28 27081static PyObject *_wrap_delete_TreeItemId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27082 PyObject *resultobj;
27083 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27084 PyObject * obj0 = 0 ;
27085 char *kwnames[] = {
27086 (char *) "self", NULL
27087 };
27088
27089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",kwnames,&obj0)) goto fail;
093d3ff1
RD
27090 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27091 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27092 {
27093 PyThreadState* __tstate = wxPyBeginAllowThreads();
27094 delete arg1;
27095
27096 wxPyEndAllowThreads(__tstate);
27097 if (PyErr_Occurred()) SWIG_fail;
27098 }
27099 Py_INCREF(Py_None); resultobj = Py_None;
27100 return resultobj;
27101 fail:
27102 return NULL;
27103}
27104
27105
c32bde28 27106static PyObject *_wrap_TreeItemId_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27107 PyObject *resultobj;
27108 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27109 bool result;
27110 PyObject * obj0 = 0 ;
27111 char *kwnames[] = {
27112 (char *) "self", NULL
27113 };
27114
27115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
093d3ff1
RD
27116 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27117 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27118 {
27119 PyThreadState* __tstate = wxPyBeginAllowThreads();
27120 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
27121
27122 wxPyEndAllowThreads(__tstate);
27123 if (PyErr_Occurred()) SWIG_fail;
27124 }
4f89f6a3
RD
27125 {
27126 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27127 }
d14a1e28
RD
27128 return resultobj;
27129 fail:
27130 return NULL;
27131}
27132
27133
c32bde28 27134static PyObject *_wrap_TreeItemId___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27135 PyObject *resultobj;
27136 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27137 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
27138 bool result;
27139 PyObject * obj0 = 0 ;
27140 PyObject * obj1 = 0 ;
27141 char *kwnames[] = {
27142 (char *) "self",(char *) "other", NULL
27143 };
27144
27145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27146 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27147 if (SWIG_arg_fail(1)) SWIG_fail;
27148 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27149 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
27150 {
27151 PyThreadState* __tstate = wxPyBeginAllowThreads();
22faec7d 27152 result = (bool)wxTreeItemId___eq__(arg1,(wxTreeItemId const *)arg2);
d14a1e28
RD
27153
27154 wxPyEndAllowThreads(__tstate);
27155 if (PyErr_Occurred()) SWIG_fail;
27156 }
4f89f6a3
RD
27157 {
27158 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27159 }
d14a1e28
RD
27160 return resultobj;
27161 fail:
27162 return NULL;
27163}
27164
27165
c32bde28 27166static PyObject *_wrap_TreeItemId___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27167 PyObject *resultobj;
27168 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27169 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
27170 bool result;
27171 PyObject * obj0 = 0 ;
27172 PyObject * obj1 = 0 ;
27173 char *kwnames[] = {
27174 (char *) "self",(char *) "other", NULL
27175 };
27176
27177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27178 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27179 if (SWIG_arg_fail(1)) SWIG_fail;
27180 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27181 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
27182 {
27183 PyThreadState* __tstate = wxPyBeginAllowThreads();
22faec7d 27184 result = (bool)wxTreeItemId___ne__(arg1,(wxTreeItemId const *)arg2);
d14a1e28
RD
27185
27186 wxPyEndAllowThreads(__tstate);
27187 if (PyErr_Occurred()) SWIG_fail;
27188 }
4f89f6a3
RD
27189 {
27190 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27191 }
d14a1e28
RD
27192 return resultobj;
27193 fail:
27194 return NULL;
27195}
27196
27197
c32bde28 27198static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27199 PyObject *resultobj;
27200 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
58203fa6 27201 void *arg2 = (void *) 0 ;
d14a1e28
RD
27202 PyObject * obj0 = 0 ;
27203 PyObject * obj1 = 0 ;
27204 char *kwnames[] = {
27205 (char *) "self",(char *) "m_pItem", NULL
27206 };
27207
27208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27209 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27210 if (SWIG_arg_fail(1)) SWIG_fail;
27211 {
27212 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),0,SWIG_POINTER_EXCEPTION|SWIG_POINTER_DISOWN))== -1) {
27213 SWIG_arg_fail(2);SWIG_fail;
27214 }
27215 }
d14a1e28
RD
27216 if (arg1) (arg1)->m_pItem = arg2;
27217
27218 Py_INCREF(Py_None); resultobj = Py_None;
27219 return resultobj;
27220 fail:
27221 return NULL;
27222}
27223
27224
c32bde28 27225static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27226 PyObject *resultobj;
27227 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
58203fa6 27228 void *result;
d14a1e28
RD
27229 PyObject * obj0 = 0 ;
27230 char *kwnames[] = {
27231 (char *) "self", NULL
27232 };
27233
27234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
27235 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27236 if (SWIG_arg_fail(1)) SWIG_fail;
58203fa6 27237 result = (void *) ((arg1)->m_pItem);
d14a1e28 27238
15afbcd0 27239 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0);
d14a1e28
RD
27240 return resultobj;
27241 fail:
27242 return NULL;
27243}
27244
27245
c32bde28 27246static PyObject * TreeItemId_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
27247 PyObject *obj;
27248 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27249 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
27250 Py_INCREF(obj);
27251 return Py_BuildValue((char *)"");
27252}
c32bde28 27253static PyObject *_wrap_new_TreeItemData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27254 PyObject *resultobj;
27255 PyObject *arg1 = (PyObject *) NULL ;
27256 wxPyTreeItemData *result;
27257 PyObject * obj0 = 0 ;
27258 char *kwnames[] = {
27259 (char *) "obj", NULL
27260 };
27261
27262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
27263 if (obj0) {
27264 arg1 = obj0;
27265 }
27266 {
27267 PyThreadState* __tstate = wxPyBeginAllowThreads();
27268 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
27269
27270 wxPyEndAllowThreads(__tstate);
27271 if (PyErr_Occurred()) SWIG_fail;
27272 }
15afbcd0 27273 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 1);
d14a1e28
RD
27274 return resultobj;
27275 fail:
27276 return NULL;
27277}
27278
27279
c32bde28 27280static PyObject *_wrap_TreeItemData_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27281 PyObject *resultobj;
27282 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27283 PyObject *result;
27284 PyObject * obj0 = 0 ;
27285 char *kwnames[] = {
27286 (char *) "self", NULL
27287 };
27288
27289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) goto fail;
093d3ff1
RD
27290 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27291 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27292 {
27293 PyThreadState* __tstate = wxPyBeginAllowThreads();
27294 result = (PyObject *)(arg1)->GetData();
27295
27296 wxPyEndAllowThreads(__tstate);
27297 if (PyErr_Occurred()) SWIG_fail;
27298 }
27299 resultobj = result;
27300 return resultobj;
27301 fail:
27302 return NULL;
27303}
27304
27305
c32bde28 27306static PyObject *_wrap_TreeItemData_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27307 PyObject *resultobj;
27308 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27309 PyObject *arg2 = (PyObject *) 0 ;
27310 PyObject * obj0 = 0 ;
27311 PyObject * obj1 = 0 ;
27312 char *kwnames[] = {
27313 (char *) "self",(char *) "obj", NULL
27314 };
27315
27316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27317 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27318 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27319 arg2 = obj1;
27320 {
27321 PyThreadState* __tstate = wxPyBeginAllowThreads();
27322 (arg1)->SetData(arg2);
27323
27324 wxPyEndAllowThreads(__tstate);
27325 if (PyErr_Occurred()) SWIG_fail;
27326 }
27327 Py_INCREF(Py_None); resultobj = Py_None;
27328 return resultobj;
27329 fail:
27330 return NULL;
27331}
27332
27333
c32bde28 27334static PyObject *_wrap_TreeItemData_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27335 PyObject *resultobj;
27336 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27337 wxTreeItemId *result;
27338 PyObject * obj0 = 0 ;
27339 char *kwnames[] = {
27340 (char *) "self", NULL
27341 };
27342
27343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
093d3ff1
RD
27344 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27345 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27346 {
27347 PyThreadState* __tstate = wxPyBeginAllowThreads();
27348 {
27349 wxTreeItemId const &_result_ref = (arg1)->GetId();
27350 result = (wxTreeItemId *) &_result_ref;
27351 }
27352
27353 wxPyEndAllowThreads(__tstate);
27354 if (PyErr_Occurred()) SWIG_fail;
27355 }
15afbcd0 27356 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 0);
d14a1e28
RD
27357 return resultobj;
27358 fail:
27359 return NULL;
27360}
27361
27362
c32bde28 27363static PyObject *_wrap_TreeItemData_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27364 PyObject *resultobj;
27365 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27366 wxTreeItemId *arg2 = 0 ;
27367 PyObject * obj0 = 0 ;
27368 PyObject * obj1 = 0 ;
27369 char *kwnames[] = {
27370 (char *) "self",(char *) "id", NULL
27371 };
27372
27373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27374 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27375 if (SWIG_arg_fail(1)) SWIG_fail;
27376 {
27377 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27378 if (SWIG_arg_fail(2)) SWIG_fail;
27379 if (arg2 == NULL) {
27380 SWIG_null_ref("wxTreeItemId");
27381 }
27382 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
27383 }
27384 {
27385 PyThreadState* __tstate = wxPyBeginAllowThreads();
27386 (arg1)->SetId((wxTreeItemId const &)*arg2);
27387
27388 wxPyEndAllowThreads(__tstate);
27389 if (PyErr_Occurred()) SWIG_fail;
27390 }
27391 Py_INCREF(Py_None); resultobj = Py_None;
27392 return resultobj;
27393 fail:
27394 return NULL;
27395}
27396
27397
c32bde28 27398static PyObject *_wrap_TreeItemData_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27399 PyObject *resultobj;
27400 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27401 PyObject * obj0 = 0 ;
27402 char *kwnames[] = {
27403 (char *) "self", NULL
27404 };
27405
27406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
093d3ff1
RD
27407 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27408 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27409 {
27410 PyThreadState* __tstate = wxPyBeginAllowThreads();
27411 wxPyTreeItemData_Destroy(arg1);
27412
27413 wxPyEndAllowThreads(__tstate);
27414 if (PyErr_Occurred()) SWIG_fail;
27415 }
27416 Py_INCREF(Py_None); resultobj = Py_None;
27417 return resultobj;
27418 fail:
27419 return NULL;
27420}
27421
27422
c32bde28 27423static PyObject * TreeItemData_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
27424 PyObject *obj;
27425 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27426 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
27427 Py_INCREF(obj);
27428 return Py_BuildValue((char *)"");
27429}
c32bde28 27430static PyObject *_wrap_new_TreeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27431 PyObject *resultobj;
27432 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
27433 int arg2 = (int) 0 ;
27434 wxTreeEvent *result;
994141e6
RD
27435 PyObject * obj0 = 0 ;
27436 PyObject * obj1 = 0 ;
d14a1e28
RD
27437 char *kwnames[] = {
27438 (char *) "commandType",(char *) "id", NULL
27439 };
27440
994141e6
RD
27441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TreeEvent",kwnames,&obj0,&obj1)) goto fail;
27442 if (obj0) {
093d3ff1
RD
27443 {
27444 arg1 = (wxEventType)(SWIG_As_int(obj0));
27445 if (SWIG_arg_fail(1)) SWIG_fail;
27446 }
994141e6
RD
27447 }
27448 if (obj1) {
093d3ff1
RD
27449 {
27450 arg2 = (int)(SWIG_As_int(obj1));
27451 if (SWIG_arg_fail(2)) SWIG_fail;
27452 }
994141e6 27453 }
d14a1e28
RD
27454 {
27455 PyThreadState* __tstate = wxPyBeginAllowThreads();
27456 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
27457
27458 wxPyEndAllowThreads(__tstate);
27459 if (PyErr_Occurred()) SWIG_fail;
27460 }
15afbcd0 27461 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeEvent, 1);
d14a1e28
RD
27462 return resultobj;
27463 fail:
27464 return NULL;
27465}
27466
27467
c32bde28 27468static PyObject *_wrap_TreeEvent_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27469 PyObject *resultobj;
27470 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27471 wxTreeItemId result;
27472 PyObject * obj0 = 0 ;
27473 char *kwnames[] = {
27474 (char *) "self", NULL
27475 };
27476
27477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
093d3ff1
RD
27478 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27479 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27480 {
27481 PyThreadState* __tstate = wxPyBeginAllowThreads();
27482 result = ((wxTreeEvent const *)arg1)->GetItem();
27483
27484 wxPyEndAllowThreads(__tstate);
27485 if (PyErr_Occurred()) SWIG_fail;
27486 }
27487 {
27488 wxTreeItemId * resultptr;
093d3ff1 27489 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
15afbcd0 27490 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
27491 }
27492 return resultobj;
27493 fail:
27494 return NULL;
27495}
27496
27497
c32bde28 27498static PyObject *_wrap_TreeEvent_SetItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27499 PyObject *resultobj;
27500 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27501 wxTreeItemId *arg2 = 0 ;
27502 PyObject * obj0 = 0 ;
27503 PyObject * obj1 = 0 ;
27504 char *kwnames[] = {
27505 (char *) "self",(char *) "item", NULL
27506 };
27507
27508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27509 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27510 if (SWIG_arg_fail(1)) SWIG_fail;
27511 {
27512 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27513 if (SWIG_arg_fail(2)) SWIG_fail;
27514 if (arg2 == NULL) {
27515 SWIG_null_ref("wxTreeItemId");
27516 }
27517 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
27518 }
27519 {
27520 PyThreadState* __tstate = wxPyBeginAllowThreads();
27521 (arg1)->SetItem((wxTreeItemId const &)*arg2);
27522
27523 wxPyEndAllowThreads(__tstate);
27524 if (PyErr_Occurred()) SWIG_fail;
27525 }
27526 Py_INCREF(Py_None); resultobj = Py_None;
27527 return resultobj;
27528 fail:
27529 return NULL;
27530}
27531
27532
c32bde28 27533static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27534 PyObject *resultobj;
27535 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27536 wxTreeItemId result;
27537 PyObject * obj0 = 0 ;
27538 char *kwnames[] = {
27539 (char *) "self", NULL
27540 };
27541
27542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
093d3ff1
RD
27543 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27544 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27545 {
27546 PyThreadState* __tstate = wxPyBeginAllowThreads();
27547 result = ((wxTreeEvent const *)arg1)->GetOldItem();
27548
27549 wxPyEndAllowThreads(__tstate);
27550 if (PyErr_Occurred()) SWIG_fail;
27551 }
27552 {
27553 wxTreeItemId * resultptr;
093d3ff1 27554 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
15afbcd0 27555 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
27556 }
27557 return resultobj;
27558 fail:
27559 return NULL;
27560}
27561
27562
c32bde28 27563static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27564 PyObject *resultobj;
27565 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27566 wxTreeItemId *arg2 = 0 ;
27567 PyObject * obj0 = 0 ;
27568 PyObject * obj1 = 0 ;
27569 char *kwnames[] = {
27570 (char *) "self",(char *) "item", NULL
27571 };
27572
27573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27574 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27575 if (SWIG_arg_fail(1)) SWIG_fail;
27576 {
27577 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27578 if (SWIG_arg_fail(2)) SWIG_fail;
27579 if (arg2 == NULL) {
27580 SWIG_null_ref("wxTreeItemId");
27581 }
27582 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
27583 }
27584 {
27585 PyThreadState* __tstate = wxPyBeginAllowThreads();
27586 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
27587
27588 wxPyEndAllowThreads(__tstate);
27589 if (PyErr_Occurred()) SWIG_fail;
27590 }
27591 Py_INCREF(Py_None); resultobj = Py_None;
27592 return resultobj;
27593 fail:
27594 return NULL;
27595}
27596
27597
c32bde28 27598static PyObject *_wrap_TreeEvent_GetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27599 PyObject *resultobj;
27600 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27601 wxPoint result;
27602 PyObject * obj0 = 0 ;
27603 char *kwnames[] = {
27604 (char *) "self", NULL
27605 };
27606
27607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",kwnames,&obj0)) goto fail;
093d3ff1
RD
27608 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27609 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27610 {
27611 PyThreadState* __tstate = wxPyBeginAllowThreads();
27612 result = ((wxTreeEvent const *)arg1)->GetPoint();
27613
27614 wxPyEndAllowThreads(__tstate);
27615 if (PyErr_Occurred()) SWIG_fail;
27616 }
27617 {
27618 wxPoint * resultptr;
093d3ff1 27619 resultptr = new wxPoint((wxPoint &)(result));
15afbcd0 27620 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
27621 }
27622 return resultobj;
27623 fail:
27624 return NULL;
27625}
27626
27627
c32bde28 27628static PyObject *_wrap_TreeEvent_SetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27629 PyObject *resultobj;
27630 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27631 wxPoint *arg2 = 0 ;
27632 wxPoint temp2 ;
27633 PyObject * obj0 = 0 ;
27634 PyObject * obj1 = 0 ;
27635 char *kwnames[] = {
27636 (char *) "self",(char *) "pt", NULL
27637 };
27638
27639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27640 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27641 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27642 {
27643 arg2 = &temp2;
27644 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
27645 }
27646 {
27647 PyThreadState* __tstate = wxPyBeginAllowThreads();
27648 (arg1)->SetPoint((wxPoint const &)*arg2);
27649
27650 wxPyEndAllowThreads(__tstate);
27651 if (PyErr_Occurred()) SWIG_fail;
27652 }
27653 Py_INCREF(Py_None); resultobj = Py_None;
27654 return resultobj;
27655 fail:
27656 return NULL;
27657}
27658
27659
c32bde28 27660static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27661 PyObject *resultobj;
27662 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27663 wxKeyEvent *result;
27664 PyObject * obj0 = 0 ;
27665 char *kwnames[] = {
27666 (char *) "self", NULL
27667 };
27668
27669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",kwnames,&obj0)) goto fail;
093d3ff1
RD
27670 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27671 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27672 {
27673 PyThreadState* __tstate = wxPyBeginAllowThreads();
27674 {
27675 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
27676 result = (wxKeyEvent *) &_result_ref;
27677 }
27678
27679 wxPyEndAllowThreads(__tstate);
27680 if (PyErr_Occurred()) SWIG_fail;
27681 }
15afbcd0 27682 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxKeyEvent, 0);
d14a1e28
RD
27683 return resultobj;
27684 fail:
27685 return NULL;
27686}
27687
27688
c32bde28 27689static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27690 PyObject *resultobj;
27691 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27692 int result;
27693 PyObject * obj0 = 0 ;
27694 char *kwnames[] = {
27695 (char *) "self", NULL
27696 };
27697
27698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",kwnames,&obj0)) goto fail;
093d3ff1
RD
27699 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27700 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27701 {
27702 PyThreadState* __tstate = wxPyBeginAllowThreads();
27703 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
27704
27705 wxPyEndAllowThreads(__tstate);
27706 if (PyErr_Occurred()) SWIG_fail;
27707 }
093d3ff1
RD
27708 {
27709 resultobj = SWIG_From_int((int)(result));
27710 }
d14a1e28
RD
27711 return resultobj;
27712 fail:
27713 return NULL;
27714}
27715
27716
c32bde28 27717static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27718 PyObject *resultobj;
27719 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27720 wxKeyEvent *arg2 = 0 ;
27721 PyObject * obj0 = 0 ;
27722 PyObject * obj1 = 0 ;
27723 char *kwnames[] = {
27724 (char *) "self",(char *) "evt", NULL
27725 };
27726
27727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27728 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27729 if (SWIG_arg_fail(1)) SWIG_fail;
27730 {
27731 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
27732 if (SWIG_arg_fail(2)) SWIG_fail;
27733 if (arg2 == NULL) {
27734 SWIG_null_ref("wxKeyEvent");
27735 }
27736 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
27737 }
27738 {
27739 PyThreadState* __tstate = wxPyBeginAllowThreads();
27740 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
27741
27742 wxPyEndAllowThreads(__tstate);
27743 if (PyErr_Occurred()) SWIG_fail;
27744 }
27745 Py_INCREF(Py_None); resultobj = Py_None;
27746 return resultobj;
27747 fail:
27748 return NULL;
27749}
27750
27751
c32bde28 27752static PyObject *_wrap_TreeEvent_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27753 PyObject *resultobj;
27754 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27755 wxString *result;
27756 PyObject * obj0 = 0 ;
27757 char *kwnames[] = {
27758 (char *) "self", NULL
27759 };
27760
27761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",kwnames,&obj0)) goto fail;
093d3ff1
RD
27762 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27763 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27764 {
27765 PyThreadState* __tstate = wxPyBeginAllowThreads();
27766 {
27767 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
27768 result = (wxString *) &_result_ref;
27769 }
27770
27771 wxPyEndAllowThreads(__tstate);
27772 if (PyErr_Occurred()) SWIG_fail;
27773 }
cc6dd355
RD
27774 {
27775#if wxUSE_UNICODE
27776 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
27777#else
27778 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
27779#endif
27780 }
d14a1e28
RD
27781 return resultobj;
27782 fail:
27783 return NULL;
27784}
27785
27786
c32bde28 27787static PyObject *_wrap_TreeEvent_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27788 PyObject *resultobj;
27789 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27790 wxString *arg2 = 0 ;
ae8162c8 27791 bool temp2 = false ;
d14a1e28
RD
27792 PyObject * obj0 = 0 ;
27793 PyObject * obj1 = 0 ;
27794 char *kwnames[] = {
27795 (char *) "self",(char *) "label", NULL
27796 };
27797
27798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27799 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27800 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27801 {
27802 arg2 = wxString_in_helper(obj1);
27803 if (arg2 == NULL) SWIG_fail;
ae8162c8 27804 temp2 = true;
d14a1e28
RD
27805 }
27806 {
27807 PyThreadState* __tstate = wxPyBeginAllowThreads();
27808 (arg1)->SetLabel((wxString const &)*arg2);
27809
27810 wxPyEndAllowThreads(__tstate);
27811 if (PyErr_Occurred()) SWIG_fail;
27812 }
27813 Py_INCREF(Py_None); resultobj = Py_None;
27814 {
27815 if (temp2)
27816 delete arg2;
27817 }
27818 return resultobj;
27819 fail:
27820 {
27821 if (temp2)
27822 delete arg2;
27823 }
27824 return NULL;
27825}
27826
27827
c32bde28 27828static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27829 PyObject *resultobj;
27830 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27831 bool result;
27832 PyObject * obj0 = 0 ;
27833 char *kwnames[] = {
27834 (char *) "self", NULL
27835 };
27836
27837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
093d3ff1
RD
27838 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27839 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27840 {
27841 PyThreadState* __tstate = wxPyBeginAllowThreads();
27842 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
27843
27844 wxPyEndAllowThreads(__tstate);
27845 if (PyErr_Occurred()) SWIG_fail;
27846 }
4f89f6a3
RD
27847 {
27848 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27849 }
d14a1e28
RD
27850 return resultobj;
27851 fail:
27852 return NULL;
27853}
27854
27855
c32bde28 27856static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27857 PyObject *resultobj;
27858 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27859 bool arg2 ;
27860 PyObject * obj0 = 0 ;
27861 PyObject * obj1 = 0 ;
27862 char *kwnames[] = {
27863 (char *) "self",(char *) "editCancelled", NULL
27864 };
27865
27866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27867 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27868 if (SWIG_arg_fail(1)) SWIG_fail;
27869 {
27870 arg2 = (bool)(SWIG_As_bool(obj1));
27871 if (SWIG_arg_fail(2)) SWIG_fail;
27872 }
d14a1e28
RD
27873 {
27874 PyThreadState* __tstate = wxPyBeginAllowThreads();
27875 (arg1)->SetEditCanceled(arg2);
27876
27877 wxPyEndAllowThreads(__tstate);
27878 if (PyErr_Occurred()) SWIG_fail;
27879 }
27880 Py_INCREF(Py_None); resultobj = Py_None;
27881 return resultobj;
27882 fail:
27883 return NULL;
27884}
27885
27886
c32bde28 27887static PyObject *_wrap_TreeEvent_SetToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
c9c7117a
RD
27888 PyObject *resultobj;
27889 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27890 wxString *arg2 = 0 ;
ae8162c8 27891 bool temp2 = false ;
c9c7117a
RD
27892 PyObject * obj0 = 0 ;
27893 PyObject * obj1 = 0 ;
27894 char *kwnames[] = {
27895 (char *) "self",(char *) "toolTip", NULL
27896 };
27897
27898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27899 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27900 if (SWIG_arg_fail(1)) SWIG_fail;
c9c7117a
RD
27901 {
27902 arg2 = wxString_in_helper(obj1);
27903 if (arg2 == NULL) SWIG_fail;
ae8162c8 27904 temp2 = true;
c9c7117a
RD
27905 }
27906 {
27907 PyThreadState* __tstate = wxPyBeginAllowThreads();
27908 (arg1)->SetToolTip((wxString const &)*arg2);
27909
27910 wxPyEndAllowThreads(__tstate);
27911 if (PyErr_Occurred()) SWIG_fail;
27912 }
27913 Py_INCREF(Py_None); resultobj = Py_None;
27914 {
27915 if (temp2)
27916 delete arg2;
27917 }
27918 return resultobj;
27919 fail:
27920 {
27921 if (temp2)
27922 delete arg2;
27923 }
27924 return NULL;
27925}
27926
27927
c32bde28 27928static PyObject * TreeEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
27929 PyObject *obj;
27930 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27931 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
27932 Py_INCREF(obj);
27933 return Py_BuildValue((char *)"");
27934}
c32bde28 27935static PyObject *_wrap_new_TreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27936 PyObject *resultobj;
27937 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 27938 int arg2 = (int) -1 ;
d14a1e28
RD
27939 wxPoint const &arg3_defvalue = wxDefaultPosition ;
27940 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
27941 wxSize const &arg4_defvalue = wxDefaultSize ;
27942 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
27943 long arg5 = (long) wxTR_DEFAULT_STYLE ;
27944 wxValidator const &arg6_defvalue = wxDefaultValidator ;
27945 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
b2dc1044 27946 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
d14a1e28
RD
27947 wxString *arg7 = (wxString *) &arg7_defvalue ;
27948 wxPyTreeCtrl *result;
27949 wxPoint temp3 ;
27950 wxSize temp4 ;
ae8162c8 27951 bool temp7 = false ;
d14a1e28 27952 PyObject * obj0 = 0 ;
994141e6 27953 PyObject * obj1 = 0 ;
d14a1e28
RD
27954 PyObject * obj2 = 0 ;
27955 PyObject * obj3 = 0 ;
994141e6 27956 PyObject * obj4 = 0 ;
d14a1e28
RD
27957 PyObject * obj5 = 0 ;
27958 PyObject * obj6 = 0 ;
27959 char *kwnames[] = {
27960 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27961 };
27962
994141e6 27963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
27964 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27965 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 27966 if (obj1) {
093d3ff1
RD
27967 {
27968 arg2 = (int)(SWIG_As_int(obj1));
27969 if (SWIG_arg_fail(2)) SWIG_fail;
27970 }
994141e6 27971 }
d14a1e28
RD
27972 if (obj2) {
27973 {
27974 arg3 = &temp3;
27975 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
27976 }
27977 }
27978 if (obj3) {
27979 {
994141e6
RD
27980 arg4 = &temp4;
27981 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
27982 }
27983 }
27984 if (obj4) {
093d3ff1
RD
27985 {
27986 arg5 = (long)(SWIG_As_long(obj4));
27987 if (SWIG_arg_fail(5)) SWIG_fail;
27988 }
d14a1e28
RD
27989 }
27990 if (obj5) {
093d3ff1
RD
27991 {
27992 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
27993 if (SWIG_arg_fail(6)) SWIG_fail;
27994 if (arg6 == NULL) {
27995 SWIG_null_ref("wxValidator");
27996 }
27997 if (SWIG_arg_fail(6)) SWIG_fail;
d14a1e28
RD
27998 }
27999 }
28000 if (obj6) {
28001 {
28002 arg7 = wxString_in_helper(obj6);
28003 if (arg7 == NULL) SWIG_fail;
ae8162c8 28004 temp7 = true;
d14a1e28
RD
28005 }
28006 }
28007 {
e3b71cb8 28008 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
28009 PyThreadState* __tstate = wxPyBeginAllowThreads();
28010 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
28011
28012 wxPyEndAllowThreads(__tstate);
110da5b0 28013 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 28014 }
b0f7404b 28015 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeCtrl, 1);
d14a1e28
RD
28016 {
28017 if (temp7)
28018 delete arg7;
28019 }
28020 return resultobj;
28021 fail:
28022 {
28023 if (temp7)
28024 delete arg7;
28025 }
28026 return NULL;
28027}
28028
28029
c32bde28 28030static PyObject *_wrap_new_PreTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28031 PyObject *resultobj;
28032 wxPyTreeCtrl *result;
28033 char *kwnames[] = {
28034 NULL
28035 };
28036
28037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
28038 {
e3b71cb8 28039 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
28040 PyThreadState* __tstate = wxPyBeginAllowThreads();
28041 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
28042
28043 wxPyEndAllowThreads(__tstate);
110da5b0 28044 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 28045 }
b0f7404b 28046 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeCtrl, 1);
d14a1e28
RD
28047 return resultobj;
28048 fail:
28049 return NULL;
28050}
28051
28052
c32bde28 28053static PyObject *_wrap_TreeCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28054 PyObject *resultobj;
28055 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28056 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 28057 int arg3 = (int) -1 ;
d14a1e28
RD
28058 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28059 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28060 wxSize const &arg5_defvalue = wxDefaultSize ;
28061 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28062 long arg6 = (long) wxTR_DEFAULT_STYLE ;
28063 wxValidator const &arg7_defvalue = wxDefaultValidator ;
28064 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
b2dc1044 28065 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
d14a1e28
RD
28066 wxString *arg8 = (wxString *) &arg8_defvalue ;
28067 bool result;
28068 wxPoint temp4 ;
28069 wxSize temp5 ;
ae8162c8 28070 bool temp8 = false ;
d14a1e28
RD
28071 PyObject * obj0 = 0 ;
28072 PyObject * obj1 = 0 ;
994141e6 28073 PyObject * obj2 = 0 ;
d14a1e28
RD
28074 PyObject * obj3 = 0 ;
28075 PyObject * obj4 = 0 ;
994141e6 28076 PyObject * obj5 = 0 ;
d14a1e28
RD
28077 PyObject * obj6 = 0 ;
28078 PyObject * obj7 = 0 ;
28079 char *kwnames[] = {
28080 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28081 };
28082
994141e6 28083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
28084 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28085 if (SWIG_arg_fail(1)) SWIG_fail;
28086 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28087 if (SWIG_arg_fail(2)) SWIG_fail;
994141e6 28088 if (obj2) {
093d3ff1
RD
28089 {
28090 arg3 = (int)(SWIG_As_int(obj2));
28091 if (SWIG_arg_fail(3)) SWIG_fail;
28092 }
994141e6 28093 }
d14a1e28
RD
28094 if (obj3) {
28095 {
28096 arg4 = &temp4;
28097 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28098 }
28099 }
28100 if (obj4) {
28101 {
28102 arg5 = &temp5;
28103 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28104 }
28105 }
994141e6 28106 if (obj5) {
093d3ff1
RD
28107 {
28108 arg6 = (long)(SWIG_As_long(obj5));
28109 if (SWIG_arg_fail(6)) SWIG_fail;
28110 }
994141e6 28111 }
d14a1e28 28112 if (obj6) {
093d3ff1
RD
28113 {
28114 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
28115 if (SWIG_arg_fail(7)) SWIG_fail;
28116 if (arg7 == NULL) {
28117 SWIG_null_ref("wxValidator");
28118 }
28119 if (SWIG_arg_fail(7)) SWIG_fail;
d14a1e28
RD
28120 }
28121 }
28122 if (obj7) {
28123 {
28124 arg8 = wxString_in_helper(obj7);
28125 if (arg8 == NULL) SWIG_fail;
ae8162c8 28126 temp8 = true;
d14a1e28
RD
28127 }
28128 }
28129 {
28130 PyThreadState* __tstate = wxPyBeginAllowThreads();
28131 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
28132
28133 wxPyEndAllowThreads(__tstate);
28134 if (PyErr_Occurred()) SWIG_fail;
28135 }
4f89f6a3
RD
28136 {
28137 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28138 }
d14a1e28
RD
28139 {
28140 if (temp8)
28141 delete arg8;
28142 }
28143 return resultobj;
28144 fail:
28145 {
28146 if (temp8)
28147 delete arg8;
28148 }
28149 return NULL;
28150}
28151
28152
c32bde28 28153static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28154 PyObject *resultobj;
28155 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28156 PyObject *arg2 = (PyObject *) 0 ;
28157 PyObject *arg3 = (PyObject *) 0 ;
28158 PyObject * obj0 = 0 ;
28159 PyObject * obj1 = 0 ;
28160 PyObject * obj2 = 0 ;
28161 char *kwnames[] = {
28162 (char *) "self",(char *) "self",(char *) "_class", NULL
28163 };
28164
28165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
28166 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28167 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
28168 arg2 = obj1;
28169 arg3 = obj2;
28170 {
28171 PyThreadState* __tstate = wxPyBeginAllowThreads();
28172 (arg1)->_setCallbackInfo(arg2,arg3);
28173
28174 wxPyEndAllowThreads(__tstate);
28175 if (PyErr_Occurred()) SWIG_fail;
28176 }
28177 Py_INCREF(Py_None); resultobj = Py_None;
28178 return resultobj;
28179 fail:
28180 return NULL;
28181}
28182
28183
c32bde28 28184static PyObject *_wrap_TreeCtrl_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28185 PyObject *resultobj;
28186 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28187 size_t result;
28188 PyObject * obj0 = 0 ;
28189 char *kwnames[] = {
28190 (char *) "self", NULL
28191 };
28192
28193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
28194 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28195 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
28196 {
28197 PyThreadState* __tstate = wxPyBeginAllowThreads();
28198 result = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
28199
28200 wxPyEndAllowThreads(__tstate);
28201 if (PyErr_Occurred()) SWIG_fail;
28202 }
093d3ff1
RD
28203 {
28204 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
28205 }
d14a1e28
RD
28206 return resultobj;
28207 fail:
28208 return NULL;
28209}
28210
28211
c32bde28 28212static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28213 PyObject *resultobj;
28214 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28215 unsigned int result;
28216 PyObject * obj0 = 0 ;
28217 char *kwnames[] = {
28218 (char *) "self", NULL
28219 };
28220
28221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
093d3ff1
RD
28222 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28223 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
28224 {
28225 PyThreadState* __tstate = wxPyBeginAllowThreads();
28226 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
28227
28228 wxPyEndAllowThreads(__tstate);
28229 if (PyErr_Occurred()) SWIG_fail;
28230 }
093d3ff1
RD
28231 {
28232 resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result));
28233 }
d14a1e28
RD
28234 return resultobj;
28235 fail:
28236 return NULL;
28237}
28238
28239
c32bde28 28240static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28241 PyObject *resultobj;
28242 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28243 unsigned int arg2 ;
28244 PyObject * obj0 = 0 ;
28245 PyObject * obj1 = 0 ;
28246 char *kwnames[] = {
28247 (char *) "self",(char *) "indent", NULL
28248 };
28249
28250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28251 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28252 if (SWIG_arg_fail(1)) SWIG_fail;
28253 {
28254 arg2 = (unsigned int)(SWIG_As_unsigned_SS_int(obj1));
28255 if (SWIG_arg_fail(2)) SWIG_fail;
28256 }
d14a1e28
RD
28257 {
28258 PyThreadState* __tstate = wxPyBeginAllowThreads();
28259 (arg1)->SetIndent(arg2);
28260
28261 wxPyEndAllowThreads(__tstate);
28262 if (PyErr_Occurred()) SWIG_fail;
28263 }
28264 Py_INCREF(Py_None); resultobj = Py_None;
28265 return resultobj;
28266 fail:
28267 return NULL;
28268}
28269
28270
c32bde28 28271static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28272 PyObject *resultobj;
28273 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28274 unsigned int result;
28275 PyObject * obj0 = 0 ;
28276 char *kwnames[] = {
28277 (char *) "self", NULL
28278 };
28279
28280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",kwnames,&obj0)) goto fail;
093d3ff1
RD
28281 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28282 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
28283 {
28284 PyThreadState* __tstate = wxPyBeginAllowThreads();
28285 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
28286
28287 wxPyEndAllowThreads(__tstate);
28288 if (PyErr_Occurred()) SWIG_fail;
28289 }
093d3ff1
RD
28290 {
28291 resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result));
28292 }
d14a1e28
RD
28293 return resultobj;
28294 fail:
28295 return NULL;
28296}
28297
28298
c32bde28 28299static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28300 PyObject *resultobj;
28301 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28302 unsigned int arg2 ;
28303 PyObject * obj0 = 0 ;
28304 PyObject * obj1 = 0 ;
28305 char *kwnames[] = {
28306 (char *) "self",(char *) "spacing", NULL
28307 };
28308
28309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28310 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28311 if (SWIG_arg_fail(1)) SWIG_fail;
28312 {
28313 arg2 = (unsigned int)(SWIG_As_unsigned_SS_int(obj1));
28314 if (SWIG_arg_fail(2)) SWIG_fail;
28315 }
d14a1e28
RD
28316 {
28317 PyThreadState* __tstate = wxPyBeginAllowThreads();
28318 (arg1)->SetSpacing(arg2);
28319
28320 wxPyEndAllowThreads(__tstate);
28321 if (PyErr_Occurred()) SWIG_fail;
28322 }
28323 Py_INCREF(Py_None); resultobj = Py_None;
28324 return resultobj;
28325 fail:
28326 return NULL;
28327}
28328
28329
c32bde28 28330static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28331 PyObject *resultobj;
28332 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28333 wxImageList *result;
28334 PyObject * obj0 = 0 ;
28335 char *kwnames[] = {
28336 (char *) "self", NULL
28337 };
28338
28339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) goto fail;
093d3ff1
RD
28340 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28341 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
28342 {
28343 PyThreadState* __tstate = wxPyBeginAllowThreads();
28344 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
28345
28346 wxPyEndAllowThreads(__tstate);
28347 if (PyErr_Occurred()) SWIG_fail;
28348 }
28349 {
412d302d 28350 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
28351 }
28352 return resultobj;
28353 fail:
28354 return NULL;
28355}
28356
28357
c32bde28 28358static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28359 PyObject *resultobj;
28360 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28361 wxImageList *result;
28362 PyObject * obj0 = 0 ;
28363 char *kwnames[] = {
28364 (char *) "self", NULL
28365 };
28366
28367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
093d3ff1
RD
28368 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28369 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
28370 {
28371 PyThreadState* __tstate = wxPyBeginAllowThreads();
28372 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
28373
28374 wxPyEndAllowThreads(__tstate);
28375 if (PyErr_Occurred()) SWIG_fail;
28376 }
28377 {
412d302d 28378 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
28379 }
28380 return resultobj;
28381 fail:
28382 return NULL;
28383}
28384
28385
c32bde28 28386static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28387 PyObject *resultobj;
28388 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28389 wxImageList *arg2 = (wxImageList *) 0 ;
28390 PyObject * obj0 = 0 ;
28391 PyObject * obj1 = 0 ;
28392 char *kwnames[] = {
28393 (char *) "self",(char *) "imageList", NULL
28394 };
28395
28396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28397 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28398 if (SWIG_arg_fail(1)) SWIG_fail;
28399 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
28400 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
28401 {
28402 PyThreadState* __tstate = wxPyBeginAllowThreads();
28403 (arg1)->SetImageList(arg2);
28404
28405 wxPyEndAllowThreads(__tstate);
28406 if (PyErr_Occurred()) SWIG_fail;
28407 }
28408 Py_INCREF(Py_None); resultobj = Py_None;
28409 return resultobj;
28410 fail:
28411 return NULL;
28412}
28413
28414
c32bde28 28415static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28416 PyObject *resultobj;
28417 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28418 wxImageList *arg2 = (wxImageList *) 0 ;
28419 PyObject * obj0 = 0 ;
28420 PyObject * obj1 = 0 ;
28421 char *kwnames[] = {
28422 (char *) "self",(char *) "imageList", NULL
28423 };
28424
28425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28426 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28427 if (SWIG_arg_fail(1)) SWIG_fail;
28428 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
28429 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
28430 {
28431 PyThreadState* __tstate = wxPyBeginAllowThreads();
28432 (arg1)->SetStateImageList(arg2);
28433
28434 wxPyEndAllowThreads(__tstate);
28435 if (PyErr_Occurred()) SWIG_fail;
28436 }
28437 Py_INCREF(Py_None); resultobj = Py_None;
28438 return resultobj;
28439 fail:
28440 return NULL;
28441}
28442
28443
c32bde28 28444static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28445 PyObject *resultobj;
28446 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28447 wxImageList *arg2 = (wxImageList *) 0 ;
28448 PyObject * obj0 = 0 ;
28449 PyObject * obj1 = 0 ;
28450 char *kwnames[] = {
28451 (char *) "self",(char *) "imageList", NULL
28452 };
28453
28454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28455 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28456 if (SWIG_arg_fail(1)) SWIG_fail;
28457 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
28458 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
28459 {
28460 PyThreadState* __tstate = wxPyBeginAllowThreads();
28461 (arg1)->AssignImageList(arg2);
28462
28463 wxPyEndAllowThreads(__tstate);
28464 if (PyErr_Occurred()) SWIG_fail;
28465 }
28466 Py_INCREF(Py_None); resultobj = Py_None;
28467 return resultobj;
28468 fail:
28469 return NULL;
28470}
28471
28472
c32bde28 28473static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28474 PyObject *resultobj;
28475 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28476 wxImageList *arg2 = (wxImageList *) 0 ;
28477 PyObject * obj0 = 0 ;
28478 PyObject * obj1 = 0 ;
28479 char *kwnames[] = {
28480 (char *) "self",(char *) "imageList", NULL
28481 };
28482
28483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28484 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28485 if (SWIG_arg_fail(1)) SWIG_fail;
28486 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
28487 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
28488 {
28489 PyThreadState* __tstate = wxPyBeginAllowThreads();
28490 (arg1)->AssignStateImageList(arg2);
28491
28492 wxPyEndAllowThreads(__tstate);
28493 if (PyErr_Occurred()) SWIG_fail;
28494 }
28495 Py_INCREF(Py_None); resultobj = Py_None;
28496 return resultobj;
28497 fail:
28498 return NULL;
28499}
28500
28501
c32bde28 28502static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28503 PyObject *resultobj;
28504 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28505 wxTreeItemId *arg2 = 0 ;
28506 wxString result;
28507 PyObject * obj0 = 0 ;
28508 PyObject * obj1 = 0 ;
28509 char *kwnames[] = {
28510 (char *) "self",(char *) "item", NULL
28511 };
28512
28513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28514 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28515 if (SWIG_arg_fail(1)) SWIG_fail;
28516 {
28517 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28518 if (SWIG_arg_fail(2)) SWIG_fail;
28519 if (arg2 == NULL) {
28520 SWIG_null_ref("wxTreeItemId");
28521 }
28522 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
28523 }
28524 {
28525 PyThreadState* __tstate = wxPyBeginAllowThreads();
28526 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
28527
28528 wxPyEndAllowThreads(__tstate);
28529 if (PyErr_Occurred()) SWIG_fail;
28530 }
28531 {
28532#if wxUSE_UNICODE
28533 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28534#else
28535 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28536#endif
28537 }
28538 return resultobj;
28539 fail:
28540 return NULL;
28541}
28542
28543
c32bde28 28544static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28545 PyObject *resultobj;
28546 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28547 wxTreeItemId *arg2 = 0 ;
093d3ff1 28548 wxTreeItemIcon arg3 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
d14a1e28
RD
28549 int result;
28550 PyObject * obj0 = 0 ;
28551 PyObject * obj1 = 0 ;
994141e6 28552 PyObject * obj2 = 0 ;
d14a1e28
RD
28553 char *kwnames[] = {
28554 (char *) "self",(char *) "item",(char *) "which", NULL
28555 };
28556
994141e6 28557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
28558 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28559 if (SWIG_arg_fail(1)) SWIG_fail;
28560 {
28561 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28562 if (SWIG_arg_fail(2)) SWIG_fail;
28563 if (arg2 == NULL) {
28564 SWIG_null_ref("wxTreeItemId");
28565 }
28566 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 28567 }
994141e6 28568 if (obj2) {
093d3ff1
RD
28569 {
28570 arg3 = (wxTreeItemIcon)(SWIG_As_int(obj2));
28571 if (SWIG_arg_fail(3)) SWIG_fail;
28572 }
994141e6 28573 }
d14a1e28
RD
28574 {
28575 PyThreadState* __tstate = wxPyBeginAllowThreads();
28576 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,(wxTreeItemIcon )arg3);
28577
28578 wxPyEndAllowThreads(__tstate);
28579 if (PyErr_Occurred()) SWIG_fail;
28580 }
093d3ff1
RD
28581 {
28582 resultobj = SWIG_From_int((int)(result));
28583 }
d14a1e28
RD
28584 return resultobj;
28585 fail:
28586 return NULL;
28587}
28588
28589
c32bde28 28590static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28591 PyObject *resultobj;
28592 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28593 wxTreeItemId *arg2 = 0 ;
28594 wxPyTreeItemData *result;
28595 PyObject * obj0 = 0 ;
28596 PyObject * obj1 = 0 ;
28597 char *kwnames[] = {
28598 (char *) "self",(char *) "item", NULL
28599 };
28600
28601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28602 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28603 if (SWIG_arg_fail(1)) SWIG_fail;
28604 {
28605 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28606 if (SWIG_arg_fail(2)) SWIG_fail;
28607 if (arg2 == NULL) {
28608 SWIG_null_ref("wxTreeItemId");
28609 }
28610 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
28611 }
28612 {
28613 PyThreadState* __tstate = wxPyBeginAllowThreads();
28614 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
28615
28616 wxPyEndAllowThreads(__tstate);
28617 if (PyErr_Occurred()) SWIG_fail;
28618 }
15afbcd0 28619 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 0);
d14a1e28
RD
28620 return resultobj;
28621 fail:
28622 return NULL;
28623}
28624
28625
c32bde28 28626static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28627 PyObject *resultobj;
28628 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28629 wxTreeItemId *arg2 = 0 ;
28630 PyObject *result;
28631 PyObject * obj0 = 0 ;
28632 PyObject * obj1 = 0 ;
28633 char *kwnames[] = {
28634 (char *) "self",(char *) "item", NULL
28635 };
28636
28637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28638 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28639 if (SWIG_arg_fail(1)) SWIG_fail;
28640 {
28641 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28642 if (SWIG_arg_fail(2)) SWIG_fail;
28643 if (arg2 == NULL) {
28644 SWIG_null_ref("wxTreeItemId");
28645 }
28646 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
28647 }
28648 {
28649 PyThreadState* __tstate = wxPyBeginAllowThreads();
28650 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
28651
28652 wxPyEndAllowThreads(__tstate);
28653 if (PyErr_Occurred()) SWIG_fail;
28654 }
28655 resultobj = result;
28656 return resultobj;
28657 fail:
28658 return NULL;
28659}
28660
28661
c32bde28 28662static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28663 PyObject *resultobj;
28664 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28665 wxTreeItemId *arg2 = 0 ;
28666 wxColour 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_GetItemTextColour",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;
d14a1e28
RD
28683 }
28684 {
28685 PyThreadState* __tstate = wxPyBeginAllowThreads();
28686 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
28687
28688 wxPyEndAllowThreads(__tstate);
28689 if (PyErr_Occurred()) SWIG_fail;
28690 }
28691 {
28692 wxColour * resultptr;
093d3ff1 28693 resultptr = new wxColour((wxColour &)(result));
15afbcd0 28694 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
28695 }
28696 return resultobj;
28697 fail:
28698 return NULL;
28699}
28700
28701
c32bde28 28702static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28703 PyObject *resultobj;
28704 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28705 wxTreeItemId *arg2 = 0 ;
28706 wxColour result;
28707 PyObject * obj0 = 0 ;
28708 PyObject * obj1 = 0 ;
28709 char *kwnames[] = {
28710 (char *) "self",(char *) "item", NULL
28711 };
28712
28713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28714 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28715 if (SWIG_arg_fail(1)) SWIG_fail;
28716 {
28717 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28718 if (SWIG_arg_fail(2)) SWIG_fail;
28719 if (arg2 == NULL) {
28720 SWIG_null_ref("wxTreeItemId");
28721 }
28722 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
28723 }
28724 {
28725 PyThreadState* __tstate = wxPyBeginAllowThreads();
28726 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
28727
28728 wxPyEndAllowThreads(__tstate);
28729 if (PyErr_Occurred()) SWIG_fail;
28730 }
28731 {
28732 wxColour * resultptr;
093d3ff1 28733 resultptr = new wxColour((wxColour &)(result));
15afbcd0 28734 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
28735 }
28736 return resultobj;
28737 fail:
28738 return NULL;
28739}
28740
28741
c32bde28 28742static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28743 PyObject *resultobj;
28744 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28745 wxTreeItemId *arg2 = 0 ;
28746 wxFont result;
28747 PyObject * obj0 = 0 ;
28748 PyObject * obj1 = 0 ;
28749 char *kwnames[] = {
28750 (char *) "self",(char *) "item", NULL
28751 };
28752
28753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28754 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28755 if (SWIG_arg_fail(1)) SWIG_fail;
28756 {
28757 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28758 if (SWIG_arg_fail(2)) SWIG_fail;
28759 if (arg2 == NULL) {
28760 SWIG_null_ref("wxTreeItemId");
28761 }
28762 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
28763 }
28764 {
28765 PyThreadState* __tstate = wxPyBeginAllowThreads();
28766 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
28767
28768 wxPyEndAllowThreads(__tstate);
28769 if (PyErr_Occurred()) SWIG_fail;
28770 }
28771 {
28772 wxFont * resultptr;
093d3ff1 28773 resultptr = new wxFont((wxFont &)(result));
15afbcd0 28774 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
28775 }
28776 return resultobj;
28777 fail:
28778 return NULL;
28779}
28780
28781
c32bde28 28782static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28783 PyObject *resultobj;
28784 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28785 wxTreeItemId *arg2 = 0 ;
28786 wxString *arg3 = 0 ;
ae8162c8 28787 bool temp3 = false ;
d14a1e28
RD
28788 PyObject * obj0 = 0 ;
28789 PyObject * obj1 = 0 ;
28790 PyObject * obj2 = 0 ;
28791 char *kwnames[] = {
28792 (char *) "self",(char *) "item",(char *) "text", NULL
28793 };
28794
28795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
28796 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28797 if (SWIG_arg_fail(1)) SWIG_fail;
28798 {
28799 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28800 if (SWIG_arg_fail(2)) SWIG_fail;
28801 if (arg2 == NULL) {
28802 SWIG_null_ref("wxTreeItemId");
28803 }
28804 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
28805 }
28806 {
28807 arg3 = wxString_in_helper(obj2);
28808 if (arg3 == NULL) SWIG_fail;
ae8162c8 28809 temp3 = true;
d14a1e28
RD
28810 }
28811 {
28812 PyThreadState* __tstate = wxPyBeginAllowThreads();
28813 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
28814
28815 wxPyEndAllowThreads(__tstate);
28816 if (PyErr_Occurred()) SWIG_fail;
28817 }
28818 Py_INCREF(Py_None); resultobj = Py_None;
28819 {
28820 if (temp3)
28821 delete arg3;
28822 }
28823 return resultobj;
28824 fail:
28825 {
28826 if (temp3)
28827 delete arg3;
28828 }
28829 return NULL;
28830}
28831
28832
c32bde28 28833static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28834 PyObject *resultobj;
28835 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28836 wxTreeItemId *arg2 = 0 ;
28837 int arg3 ;
093d3ff1 28838 wxTreeItemIcon arg4 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
d14a1e28
RD
28839 PyObject * obj0 = 0 ;
28840 PyObject * obj1 = 0 ;
994141e6
RD
28841 PyObject * obj2 = 0 ;
28842 PyObject * obj3 = 0 ;
d14a1e28
RD
28843 char *kwnames[] = {
28844 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
28845 };
28846
994141e6 28847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
28848 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28849 if (SWIG_arg_fail(1)) SWIG_fail;
28850 {
28851 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28852 if (SWIG_arg_fail(2)) SWIG_fail;
28853 if (arg2 == NULL) {
28854 SWIG_null_ref("wxTreeItemId");
28855 }
28856 if (SWIG_arg_fail(2)) SWIG_fail;
28857 }
28858 {
28859 arg3 = (int)(SWIG_As_int(obj2));
28860 if (SWIG_arg_fail(3)) SWIG_fail;
28861 }
994141e6 28862 if (obj3) {
093d3ff1
RD
28863 {
28864 arg4 = (wxTreeItemIcon)(SWIG_As_int(obj3));
28865 if (SWIG_arg_fail(4)) SWIG_fail;
28866 }
994141e6 28867 }
d14a1e28
RD
28868 {
28869 PyThreadState* __tstate = wxPyBeginAllowThreads();
28870 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4);
28871
28872 wxPyEndAllowThreads(__tstate);
28873 if (PyErr_Occurred()) SWIG_fail;
28874 }
28875 Py_INCREF(Py_None); resultobj = Py_None;
28876 return resultobj;
28877 fail:
28878 return NULL;
28879}
28880
28881
c32bde28 28882static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28883 PyObject *resultobj;
28884 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28885 wxTreeItemId *arg2 = 0 ;
28886 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
28887 PyObject * obj0 = 0 ;
28888 PyObject * obj1 = 0 ;
28889 PyObject * obj2 = 0 ;
28890 char *kwnames[] = {
28891 (char *) "self",(char *) "item",(char *) "data", NULL
28892 };
28893
28894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
28895 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28896 if (SWIG_arg_fail(1)) SWIG_fail;
28897 {
28898 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28899 if (SWIG_arg_fail(2)) SWIG_fail;
28900 if (arg2 == NULL) {
28901 SWIG_null_ref("wxTreeItemId");
28902 }
28903 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 28904 }
093d3ff1
RD
28905 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
28906 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
28907 {
28908 PyThreadState* __tstate = wxPyBeginAllowThreads();
28909 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
28910
28911 wxPyEndAllowThreads(__tstate);
28912 if (PyErr_Occurred()) SWIG_fail;
28913 }
28914 Py_INCREF(Py_None); resultobj = Py_None;
28915 return resultobj;
28916 fail:
28917 return NULL;
28918}
28919
28920
c32bde28 28921static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28922 PyObject *resultobj;
28923 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28924 wxTreeItemId *arg2 = 0 ;
28925 PyObject *arg3 = (PyObject *) 0 ;
28926 PyObject * obj0 = 0 ;
28927 PyObject * obj1 = 0 ;
28928 PyObject * obj2 = 0 ;
28929 char *kwnames[] = {
28930 (char *) "self",(char *) "item",(char *) "obj", NULL
28931 };
28932
28933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
28934 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28935 if (SWIG_arg_fail(1)) SWIG_fail;
28936 {
28937 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28938 if (SWIG_arg_fail(2)) SWIG_fail;
28939 if (arg2 == NULL) {
28940 SWIG_null_ref("wxTreeItemId");
28941 }
28942 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
28943 }
28944 arg3 = obj2;
28945 {
28946 PyThreadState* __tstate = wxPyBeginAllowThreads();
28947 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
28948
28949 wxPyEndAllowThreads(__tstate);
28950 if (PyErr_Occurred()) SWIG_fail;
28951 }
28952 Py_INCREF(Py_None); resultobj = Py_None;
28953 return resultobj;
28954 fail:
28955 return NULL;
28956}
28957
28958
c32bde28 28959static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28960 PyObject *resultobj;
28961 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28962 wxTreeItemId *arg2 = 0 ;
ae8162c8 28963 bool arg3 = (bool) true ;
d14a1e28
RD
28964 PyObject * obj0 = 0 ;
28965 PyObject * obj1 = 0 ;
28966 PyObject * obj2 = 0 ;
28967 char *kwnames[] = {
28968 (char *) "self",(char *) "item",(char *) "has", NULL
28969 };
28970
28971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
28972 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28973 if (SWIG_arg_fail(1)) SWIG_fail;
28974 {
28975 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28976 if (SWIG_arg_fail(2)) SWIG_fail;
28977 if (arg2 == NULL) {
28978 SWIG_null_ref("wxTreeItemId");
28979 }
28980 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
28981 }
28982 if (obj2) {
093d3ff1
RD
28983 {
28984 arg3 = (bool)(SWIG_As_bool(obj2));
28985 if (SWIG_arg_fail(3)) SWIG_fail;
28986 }
d14a1e28
RD
28987 }
28988 {
28989 PyThreadState* __tstate = wxPyBeginAllowThreads();
28990 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
28991
28992 wxPyEndAllowThreads(__tstate);
28993 if (PyErr_Occurred()) SWIG_fail;
28994 }
28995 Py_INCREF(Py_None); resultobj = Py_None;
28996 return resultobj;
28997 fail:
28998 return NULL;
28999}
29000
29001
c32bde28 29002static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29003 PyObject *resultobj;
29004 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29005 wxTreeItemId *arg2 = 0 ;
ae8162c8 29006 bool arg3 = (bool) true ;
d14a1e28
RD
29007 PyObject * obj0 = 0 ;
29008 PyObject * obj1 = 0 ;
29009 PyObject * obj2 = 0 ;
29010 char *kwnames[] = {
29011 (char *) "self",(char *) "item",(char *) "bold", NULL
29012 };
29013
29014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
29015 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29016 if (SWIG_arg_fail(1)) SWIG_fail;
29017 {
29018 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29019 if (SWIG_arg_fail(2)) SWIG_fail;
29020 if (arg2 == NULL) {
29021 SWIG_null_ref("wxTreeItemId");
29022 }
29023 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
29024 }
29025 if (obj2) {
093d3ff1
RD
29026 {
29027 arg3 = (bool)(SWIG_As_bool(obj2));
29028 if (SWIG_arg_fail(3)) SWIG_fail;
29029 }
d14a1e28
RD
29030 }
29031 {
29032 PyThreadState* __tstate = wxPyBeginAllowThreads();
29033 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
29034
29035 wxPyEndAllowThreads(__tstate);
29036 if (PyErr_Occurred()) SWIG_fail;
29037 }
29038 Py_INCREF(Py_None); resultobj = Py_None;
29039 return resultobj;
29040 fail:
29041 return NULL;
29042}
29043
29044
c32bde28 29045static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29046 PyObject *resultobj;
29047 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29048 wxTreeItemId *arg2 = 0 ;
29049 wxColour *arg3 = 0 ;
29050 wxColour temp3 ;
29051 PyObject * obj0 = 0 ;
29052 PyObject * obj1 = 0 ;
29053 PyObject * obj2 = 0 ;
29054 char *kwnames[] = {
29055 (char *) "self",(char *) "item",(char *) "col", NULL
29056 };
29057
29058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
29059 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29060 if (SWIG_arg_fail(1)) SWIG_fail;
29061 {
29062 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29063 if (SWIG_arg_fail(2)) SWIG_fail;
29064 if (arg2 == NULL) {
29065 SWIG_null_ref("wxTreeItemId");
29066 }
29067 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
29068 }
29069 {
29070 arg3 = &temp3;
29071 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
29072 }
29073 {
29074 PyThreadState* __tstate = wxPyBeginAllowThreads();
29075 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
29076
29077 wxPyEndAllowThreads(__tstate);
29078 if (PyErr_Occurred()) SWIG_fail;
29079 }
29080 Py_INCREF(Py_None); resultobj = Py_None;
29081 return resultobj;
29082 fail:
29083 return NULL;
29084}
29085
29086
c32bde28 29087static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29088 PyObject *resultobj;
29089 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29090 wxTreeItemId *arg2 = 0 ;
29091 wxColour *arg3 = 0 ;
29092 wxColour temp3 ;
29093 PyObject * obj0 = 0 ;
29094 PyObject * obj1 = 0 ;
29095 PyObject * obj2 = 0 ;
29096 char *kwnames[] = {
29097 (char *) "self",(char *) "item",(char *) "col", NULL
29098 };
29099
29100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
29101 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29102 if (SWIG_arg_fail(1)) SWIG_fail;
29103 {
29104 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29105 if (SWIG_arg_fail(2)) SWIG_fail;
29106 if (arg2 == NULL) {
29107 SWIG_null_ref("wxTreeItemId");
29108 }
29109 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
29110 }
29111 {
29112 arg3 = &temp3;
29113 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
29114 }
29115 {
29116 PyThreadState* __tstate = wxPyBeginAllowThreads();
29117 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
29118
29119 wxPyEndAllowThreads(__tstate);
29120 if (PyErr_Occurred()) SWIG_fail;
29121 }
29122 Py_INCREF(Py_None); resultobj = Py_None;
29123 return resultobj;
29124 fail:
29125 return NULL;
29126}
29127
29128
c32bde28 29129static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29130 PyObject *resultobj;
29131 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29132 wxTreeItemId *arg2 = 0 ;
29133 wxFont *arg3 = 0 ;
29134 PyObject * obj0 = 0 ;
29135 PyObject * obj1 = 0 ;
29136 PyObject * obj2 = 0 ;
29137 char *kwnames[] = {
29138 (char *) "self",(char *) "item",(char *) "font", NULL
29139 };
29140
29141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
29142 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29143 if (SWIG_arg_fail(1)) SWIG_fail;
29144 {
29145 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29146 if (SWIG_arg_fail(2)) SWIG_fail;
29147 if (arg2 == NULL) {
29148 SWIG_null_ref("wxTreeItemId");
29149 }
29150 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 29151 }
093d3ff1
RD
29152 {
29153 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
29154 if (SWIG_arg_fail(3)) SWIG_fail;
29155 if (arg3 == NULL) {
29156 SWIG_null_ref("wxFont");
29157 }
29158 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
29159 }
29160 {
29161 PyThreadState* __tstate = wxPyBeginAllowThreads();
29162 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
29163
29164 wxPyEndAllowThreads(__tstate);
29165 if (PyErr_Occurred()) SWIG_fail;
29166 }
29167 Py_INCREF(Py_None); resultobj = Py_None;
29168 return resultobj;
29169 fail:
29170 return NULL;
29171}
29172
29173
c32bde28 29174static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29175 PyObject *resultobj;
29176 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29177 wxTreeItemId *arg2 = 0 ;
29178 bool result;
29179 PyObject * obj0 = 0 ;
29180 PyObject * obj1 = 0 ;
29181 char *kwnames[] = {
29182 (char *) "self",(char *) "item", NULL
29183 };
29184
29185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29186 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29187 if (SWIG_arg_fail(1)) SWIG_fail;
29188 {
29189 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29190 if (SWIG_arg_fail(2)) SWIG_fail;
29191 if (arg2 == NULL) {
29192 SWIG_null_ref("wxTreeItemId");
29193 }
29194 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
29195 }
29196 {
29197 PyThreadState* __tstate = wxPyBeginAllowThreads();
29198 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
29199
29200 wxPyEndAllowThreads(__tstate);
29201 if (PyErr_Occurred()) SWIG_fail;
29202 }
4f89f6a3
RD
29203 {
29204 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29205 }
d14a1e28
RD
29206 return resultobj;
29207 fail:
29208 return NULL;
29209}
29210
29211
c32bde28 29212static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29213 PyObject *resultobj;
29214 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29215 wxTreeItemId *arg2 = 0 ;
29216 bool result;
29217 PyObject * obj0 = 0 ;
29218 PyObject * obj1 = 0 ;
29219 char *kwnames[] = {
29220 (char *) "self",(char *) "item", NULL
29221 };
29222
29223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29224 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29225 if (SWIG_arg_fail(1)) SWIG_fail;
29226 {
29227 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29228 if (SWIG_arg_fail(2)) SWIG_fail;
29229 if (arg2 == NULL) {
29230 SWIG_null_ref("wxTreeItemId");
29231 }
29232 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
29233 }
29234 {
29235 PyThreadState* __tstate = wxPyBeginAllowThreads();
29236 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
29237
29238 wxPyEndAllowThreads(__tstate);
29239 if (PyErr_Occurred()) SWIG_fail;
29240 }
4f89f6a3
RD
29241 {
29242 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29243 }
d14a1e28
RD
29244 return resultobj;
29245 fail:
29246 return NULL;
29247}
29248
29249
c32bde28 29250static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29251 PyObject *resultobj;
29252 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29253 wxTreeItemId *arg2 = 0 ;
29254 bool result;
29255 PyObject * obj0 = 0 ;
29256 PyObject * obj1 = 0 ;
29257 char *kwnames[] = {
29258 (char *) "self",(char *) "item", NULL
29259 };
29260
29261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29262 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29263 if (SWIG_arg_fail(1)) SWIG_fail;
29264 {
29265 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29266 if (SWIG_arg_fail(2)) SWIG_fail;
29267 if (arg2 == NULL) {
29268 SWIG_null_ref("wxTreeItemId");
29269 }
29270 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
29271 }
29272 {
29273 PyThreadState* __tstate = wxPyBeginAllowThreads();
29274 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
29275
29276 wxPyEndAllowThreads(__tstate);
29277 if (PyErr_Occurred()) SWIG_fail;
29278 }
4f89f6a3
RD
29279 {
29280 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29281 }
d14a1e28
RD
29282 return resultobj;
29283 fail:
29284 return NULL;
29285}
29286
29287
c32bde28 29288static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29289 PyObject *resultobj;
29290 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29291 wxTreeItemId *arg2 = 0 ;
29292 bool result;
29293 PyObject * obj0 = 0 ;
29294 PyObject * obj1 = 0 ;
29295 char *kwnames[] = {
29296 (char *) "self",(char *) "item", NULL
29297 };
29298
29299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29300 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29301 if (SWIG_arg_fail(1)) SWIG_fail;
29302 {
29303 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29304 if (SWIG_arg_fail(2)) SWIG_fail;
29305 if (arg2 == NULL) {
29306 SWIG_null_ref("wxTreeItemId");
29307 }
29308 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
29309 }
29310 {
29311 PyThreadState* __tstate = wxPyBeginAllowThreads();
29312 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
29313
29314 wxPyEndAllowThreads(__tstate);
29315 if (PyErr_Occurred()) SWIG_fail;
29316 }
4f89f6a3
RD
29317 {
29318 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29319 }
d14a1e28
RD
29320 return resultobj;
29321 fail:
29322 return NULL;
29323}
29324
29325
c32bde28 29326static PyObject *_wrap_TreeCtrl_IsBold(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29327 PyObject *resultobj;
29328 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29329 wxTreeItemId *arg2 = 0 ;
29330 bool result;
29331 PyObject * obj0 = 0 ;
29332 PyObject * obj1 = 0 ;
29333 char *kwnames[] = {
29334 (char *) "self",(char *) "item", NULL
29335 };
29336
29337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29338 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29339 if (SWIG_arg_fail(1)) SWIG_fail;
29340 {
29341 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29342 if (SWIG_arg_fail(2)) SWIG_fail;
29343 if (arg2 == NULL) {
29344 SWIG_null_ref("wxTreeItemId");
29345 }
29346 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
29347 }
29348 {
29349 PyThreadState* __tstate = wxPyBeginAllowThreads();
29350 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
29351
29352 wxPyEndAllowThreads(__tstate);
29353 if (PyErr_Occurred()) SWIG_fail;
29354 }
4f89f6a3
RD
29355 {
29356 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29357 }
d14a1e28
RD
29358 return resultobj;
29359 fail:
29360 return NULL;
29361}
29362
29363
c32bde28 29364static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29365 PyObject *resultobj;
29366 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29367 wxTreeItemId *arg2 = 0 ;
ae8162c8 29368 bool arg3 = (bool) true ;
d14a1e28
RD
29369 size_t result;
29370 PyObject * obj0 = 0 ;
29371 PyObject * obj1 = 0 ;
29372 PyObject * obj2 = 0 ;
29373 char *kwnames[] = {
29374 (char *) "self",(char *) "item",(char *) "recursively", NULL
29375 };
29376
29377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
29378 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29379 if (SWIG_arg_fail(1)) SWIG_fail;
29380 {
29381 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29382 if (SWIG_arg_fail(2)) SWIG_fail;
29383 if (arg2 == NULL) {
29384 SWIG_null_ref("wxTreeItemId");
29385 }
29386 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
29387 }
29388 if (obj2) {
093d3ff1
RD
29389 {
29390 arg3 = (bool)(SWIG_As_bool(obj2));
29391 if (SWIG_arg_fail(3)) SWIG_fail;
29392 }
d14a1e28
RD
29393 }
29394 {
29395 PyThreadState* __tstate = wxPyBeginAllowThreads();
29396 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
29397
29398 wxPyEndAllowThreads(__tstate);
29399 if (PyErr_Occurred()) SWIG_fail;
29400 }
093d3ff1
RD
29401 {
29402 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
29403 }
d14a1e28
RD
29404 return resultobj;
29405 fail:
29406 return NULL;
29407}
29408
29409
c32bde28 29410static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29411 PyObject *resultobj;
29412 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29413 wxTreeItemId result;
29414 PyObject * obj0 = 0 ;
29415 char *kwnames[] = {
29416 (char *) "self", NULL
29417 };
29418
29419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
093d3ff1
RD
29420 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29421 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
29422 {
29423 PyThreadState* __tstate = wxPyBeginAllowThreads();
29424 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
29425
29426 wxPyEndAllowThreads(__tstate);
29427 if (PyErr_Occurred()) SWIG_fail;
29428 }
29429 {
29430 wxTreeItemId * resultptr;
093d3ff1 29431 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
15afbcd0 29432 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
29433 }
29434 return resultobj;
29435 fail:
29436 return NULL;
29437}
29438
29439
c32bde28 29440static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29441 PyObject *resultobj;
29442 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29443 wxTreeItemId result;
29444 PyObject * obj0 = 0 ;
29445 char *kwnames[] = {
29446 (char *) "self", NULL
29447 };
29448
29449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
29450 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29451 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
29452 {
29453 PyThreadState* __tstate = wxPyBeginAllowThreads();
29454 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
29455
29456 wxPyEndAllowThreads(__tstate);
29457 if (PyErr_Occurred()) SWIG_fail;
29458 }
29459 {
29460 wxTreeItemId * resultptr;
093d3ff1 29461 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
15afbcd0 29462 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
29463 }
29464 return resultobj;
29465 fail:
29466 return NULL;
29467}
29468
29469
c32bde28 29470static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29471 PyObject *resultobj;
29472 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29473 PyObject *result;
29474 PyObject * obj0 = 0 ;
29475 char *kwnames[] = {
29476 (char *) "self", NULL
29477 };
29478
29479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
093d3ff1
RD
29480 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29481 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
29482 {
29483 PyThreadState* __tstate = wxPyBeginAllowThreads();
29484 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
29485
29486 wxPyEndAllowThreads(__tstate);
29487 if (PyErr_Occurred()) SWIG_fail;
29488 }
29489 resultobj = result;
29490 return resultobj;
29491 fail:
29492 return NULL;
29493}
29494
29495
c32bde28 29496static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29497 PyObject *resultobj;
29498 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29499 wxTreeItemId *arg2 = 0 ;
29500 wxTreeItemId result;
29501 PyObject * obj0 = 0 ;
29502 PyObject * obj1 = 0 ;
29503 char *kwnames[] = {
29504 (char *) "self",(char *) "item", NULL
29505 };
29506
29507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29508 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29509 if (SWIG_arg_fail(1)) SWIG_fail;
29510 {
29511 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29512 if (SWIG_arg_fail(2)) SWIG_fail;
29513 if (arg2 == NULL) {
29514 SWIG_null_ref("wxTreeItemId");
29515 }
29516 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
29517 }
29518 {
29519 PyThreadState* __tstate = wxPyBeginAllowThreads();
29520 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
29521
29522 wxPyEndAllowThreads(__tstate);
29523 if (PyErr_Occurred()) SWIG_fail;
29524 }
29525 {
29526 wxTreeItemId * resultptr;
093d3ff1 29527 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
15afbcd0 29528 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
29529 }
29530 return resultobj;
29531 fail:
29532 return NULL;
29533}
29534
29535
c32bde28 29536static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29537 PyObject *resultobj;
29538 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29539 wxTreeItemId *arg2 = 0 ;
29540 PyObject *result;
29541 PyObject * obj0 = 0 ;
29542 PyObject * obj1 = 0 ;
29543 char *kwnames[] = {
29544 (char *) "self",(char *) "item", NULL
29545 };
29546
29547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29548 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29549 if (SWIG_arg_fail(1)) SWIG_fail;
29550 {
29551 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29552 if (SWIG_arg_fail(2)) SWIG_fail;
29553 if (arg2 == NULL) {
29554 SWIG_null_ref("wxTreeItemId");
29555 }
29556 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
29557 }
29558 {
29559 PyThreadState* __tstate = wxPyBeginAllowThreads();
29560 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
29561
29562 wxPyEndAllowThreads(__tstate);
29563 if (PyErr_Occurred()) SWIG_fail;
29564 }
29565 resultobj = result;
29566 return resultobj;
29567 fail:
29568 return NULL;
29569}
29570
29571
c32bde28 29572static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29573 PyObject *resultobj;
29574 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29575 wxTreeItemId *arg2 = 0 ;
58203fa6 29576 void *arg3 = (void *) 0 ;
d14a1e28
RD
29577 PyObject *result;
29578 PyObject * obj0 = 0 ;
29579 PyObject * obj1 = 0 ;
29580 PyObject * obj2 = 0 ;
29581 char *kwnames[] = {
29582 (char *) "self",(char *) "item",(char *) "cookie", NULL
29583 };
29584
29585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
29586 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29587 if (SWIG_arg_fail(1)) SWIG_fail;
29588 {
29589 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29590 if (SWIG_arg_fail(2)) SWIG_fail;
29591 if (arg2 == NULL) {
29592 SWIG_null_ref("wxTreeItemId");
29593 }
29594 if (SWIG_arg_fail(2)) SWIG_fail;
29595 }
29596 {
29597 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),0,SWIG_POINTER_EXCEPTION|0))== -1) {
29598 SWIG_arg_fail(3);SWIG_fail;
29599 }
d14a1e28 29600 }
d14a1e28
RD
29601 {
29602 PyThreadState* __tstate = wxPyBeginAllowThreads();
58203fa6 29603 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
d14a1e28
RD
29604
29605 wxPyEndAllowThreads(__tstate);
29606 if (PyErr_Occurred()) SWIG_fail;
29607 }
29608 resultobj = result;
29609 return resultobj;
29610 fail:
29611 return NULL;
29612}
29613
29614
c32bde28 29615static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29616 PyObject *resultobj;
29617 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29618 wxTreeItemId *arg2 = 0 ;
29619 wxTreeItemId result;
29620 PyObject * obj0 = 0 ;
29621 PyObject * obj1 = 0 ;
29622 char *kwnames[] = {
29623 (char *) "self",(char *) "item", NULL
29624 };
29625
29626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29627 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29628 if (SWIG_arg_fail(1)) SWIG_fail;
29629 {
29630 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29631 if (SWIG_arg_fail(2)) SWIG_fail;
29632 if (arg2 == NULL) {
29633 SWIG_null_ref("wxTreeItemId");
29634 }
29635 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
29636 }
29637 {
29638 PyThreadState* __tstate = wxPyBeginAllowThreads();
29639 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
29640
29641 wxPyEndAllowThreads(__tstate);
29642 if (PyErr_Occurred()) SWIG_fail;
29643 }
29644 {
29645 wxTreeItemId * resultptr;
093d3ff1 29646 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
15afbcd0 29647 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
29648 }
29649 return resultobj;
29650 fail:
29651 return NULL;
29652}
29653
29654
c32bde28 29655static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29656 PyObject *resultobj;
29657 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29658 wxTreeItemId *arg2 = 0 ;
29659 wxTreeItemId result;
29660 PyObject * obj0 = 0 ;
29661 PyObject * obj1 = 0 ;
29662 char *kwnames[] = {
29663 (char *) "self",(char *) "item", NULL
29664 };
29665
29666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29667 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29668 if (SWIG_arg_fail(1)) SWIG_fail;
29669 {
29670 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29671 if (SWIG_arg_fail(2)) SWIG_fail;
29672 if (arg2 == NULL) {
29673 SWIG_null_ref("wxTreeItemId");
29674 }
29675 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
29676 }
29677 {
29678 PyThreadState* __tstate = wxPyBeginAllowThreads();
29679 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
29680
29681 wxPyEndAllowThreads(__tstate);
29682 if (PyErr_Occurred()) SWIG_fail;
29683 }
29684 {
29685 wxTreeItemId * resultptr;
093d3ff1 29686 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
15afbcd0 29687 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
29688 }
29689 return resultobj;
29690 fail:
29691 return NULL;
29692}
29693
29694
c32bde28 29695static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29696 PyObject *resultobj;
29697 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29698 wxTreeItemId *arg2 = 0 ;
29699 wxTreeItemId result;
29700 PyObject * obj0 = 0 ;
29701 PyObject * obj1 = 0 ;
29702 char *kwnames[] = {
29703 (char *) "self",(char *) "item", NULL
29704 };
29705
29706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29707 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29708 if (SWIG_arg_fail(1)) SWIG_fail;
29709 {
29710 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29711 if (SWIG_arg_fail(2)) SWIG_fail;
29712 if (arg2 == NULL) {
29713 SWIG_null_ref("wxTreeItemId");
29714 }
29715 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
29716 }
29717 {
29718 PyThreadState* __tstate = wxPyBeginAllowThreads();
29719 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
29720
29721 wxPyEndAllowThreads(__tstate);
29722 if (PyErr_Occurred()) SWIG_fail;
29723 }
29724 {
29725 wxTreeItemId * resultptr;
093d3ff1 29726 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
15afbcd0 29727 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
29728 }
29729 return resultobj;
29730 fail:
29731 return NULL;
29732}
29733
29734
c32bde28 29735static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29736 PyObject *resultobj;
29737 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29738 wxTreeItemId result;
29739 PyObject * obj0 = 0 ;
29740 char *kwnames[] = {
29741 (char *) "self", NULL
29742 };
29743
29744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
093d3ff1
RD
29745 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29746 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
29747 {
29748 PyThreadState* __tstate = wxPyBeginAllowThreads();
29749 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
29750
29751 wxPyEndAllowThreads(__tstate);
29752 if (PyErr_Occurred()) SWIG_fail;
29753 }
29754 {
29755 wxTreeItemId * resultptr;
093d3ff1 29756 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
15afbcd0 29757 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
29758 }
29759 return resultobj;
29760 fail:
29761 return NULL;
29762}
29763
29764
c32bde28 29765static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29766 PyObject *resultobj;
29767 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29768 wxTreeItemId *arg2 = 0 ;
29769 wxTreeItemId result;
29770 PyObject * obj0 = 0 ;
29771 PyObject * obj1 = 0 ;
29772 char *kwnames[] = {
29773 (char *) "self",(char *) "item", NULL
29774 };
29775
29776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29777 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29778 if (SWIG_arg_fail(1)) SWIG_fail;
29779 {
29780 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29781 if (SWIG_arg_fail(2)) SWIG_fail;
29782 if (arg2 == NULL) {
29783 SWIG_null_ref("wxTreeItemId");
29784 }
29785 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
29786 }
29787 {
29788 PyThreadState* __tstate = wxPyBeginAllowThreads();
29789 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
29790
29791 wxPyEndAllowThreads(__tstate);
29792 if (PyErr_Occurred()) SWIG_fail;
29793 }
29794 {
29795 wxTreeItemId * resultptr;
093d3ff1 29796 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
15afbcd0 29797 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
29798 }
29799 return resultobj;
29800 fail:
29801 return NULL;
29802}
29803
29804
c32bde28 29805static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29806 PyObject *resultobj;
29807 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29808 wxTreeItemId *arg2 = 0 ;
29809 wxTreeItemId result;
29810 PyObject * obj0 = 0 ;
29811 PyObject * obj1 = 0 ;
29812 char *kwnames[] = {
29813 (char *) "self",(char *) "item", NULL
29814 };
29815
29816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29817 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29818 if (SWIG_arg_fail(1)) SWIG_fail;
29819 {
29820 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29821 if (SWIG_arg_fail(2)) SWIG_fail;
29822 if (arg2 == NULL) {
29823 SWIG_null_ref("wxTreeItemId");
29824 }
29825 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
29826 }
29827 {
29828 PyThreadState* __tstate = wxPyBeginAllowThreads();
29829 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
29830
29831 wxPyEndAllowThreads(__tstate);
29832 if (PyErr_Occurred()) SWIG_fail;
29833 }
29834 {
29835 wxTreeItemId * resultptr;
093d3ff1 29836 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
15afbcd0 29837 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
29838 }
29839 return resultobj;
29840 fail:
29841 return NULL;
29842}
29843
29844
c32bde28 29845static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29846 PyObject *resultobj;
29847 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29848 wxString *arg2 = 0 ;
29849 int arg3 = (int) -1 ;
29850 int arg4 = (int) -1 ;
29851 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
29852 wxTreeItemId result;
ae8162c8 29853 bool temp2 = false ;
d14a1e28
RD
29854 PyObject * obj0 = 0 ;
29855 PyObject * obj1 = 0 ;
994141e6
RD
29856 PyObject * obj2 = 0 ;
29857 PyObject * obj3 = 0 ;
d14a1e28
RD
29858 PyObject * obj4 = 0 ;
29859 char *kwnames[] = {
29860 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29861 };
29862
994141e6 29863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
29864 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29865 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
29866 {
29867 arg2 = wxString_in_helper(obj1);
29868 if (arg2 == NULL) SWIG_fail;
ae8162c8 29869 temp2 = true;
d14a1e28 29870 }
994141e6 29871 if (obj2) {
093d3ff1
RD
29872 {
29873 arg3 = (int)(SWIG_As_int(obj2));
29874 if (SWIG_arg_fail(3)) SWIG_fail;
29875 }
994141e6
RD
29876 }
29877 if (obj3) {
093d3ff1
RD
29878 {
29879 arg4 = (int)(SWIG_As_int(obj3));
29880 if (SWIG_arg_fail(4)) SWIG_fail;
29881 }
994141e6 29882 }
d14a1e28 29883 if (obj4) {
093d3ff1
RD
29884 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
29885 if (SWIG_arg_fail(5)) SWIG_fail;
d14a1e28
RD
29886 }
29887 {
29888 PyThreadState* __tstate = wxPyBeginAllowThreads();
29889 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
29890
29891 wxPyEndAllowThreads(__tstate);
29892 if (PyErr_Occurred()) SWIG_fail;
29893 }
29894 {
29895 wxTreeItemId * resultptr;
093d3ff1 29896 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
15afbcd0 29897 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
29898 }
29899 {
29900 if (temp2)
29901 delete arg2;
29902 }
29903 return resultobj;
29904 fail:
29905 {
29906 if (temp2)
29907 delete arg2;
29908 }
29909 return NULL;
29910}
29911
29912
c32bde28 29913static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29914 PyObject *resultobj;
29915 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29916 wxTreeItemId *arg2 = 0 ;
29917 wxString *arg3 = 0 ;
29918 int arg4 = (int) -1 ;
29919 int arg5 = (int) -1 ;
29920 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
29921 wxTreeItemId result;
ae8162c8 29922 bool temp3 = false ;
d14a1e28
RD
29923 PyObject * obj0 = 0 ;
29924 PyObject * obj1 = 0 ;
29925 PyObject * obj2 = 0 ;
994141e6
RD
29926 PyObject * obj3 = 0 ;
29927 PyObject * obj4 = 0 ;
d14a1e28
RD
29928 PyObject * obj5 = 0 ;
29929 char *kwnames[] = {
29930 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29931 };
29932
994141e6 29933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
29934 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29935 if (SWIG_arg_fail(1)) SWIG_fail;
29936 {
29937 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29938 if (SWIG_arg_fail(2)) SWIG_fail;
29939 if (arg2 == NULL) {
29940 SWIG_null_ref("wxTreeItemId");
29941 }
29942 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
29943 }
29944 {
29945 arg3 = wxString_in_helper(obj2);
29946 if (arg3 == NULL) SWIG_fail;
ae8162c8 29947 temp3 = true;
d14a1e28 29948 }
994141e6 29949 if (obj3) {
093d3ff1
RD
29950 {
29951 arg4 = (int)(SWIG_As_int(obj3));
29952 if (SWIG_arg_fail(4)) SWIG_fail;
29953 }
994141e6
RD
29954 }
29955 if (obj4) {
093d3ff1
RD
29956 {
29957 arg5 = (int)(SWIG_As_int(obj4));
29958 if (SWIG_arg_fail(5)) SWIG_fail;
29959 }
994141e6 29960 }
d14a1e28 29961 if (obj5) {
093d3ff1
RD
29962 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
29963 if (SWIG_arg_fail(6)) SWIG_fail;
d14a1e28
RD
29964 }
29965 {
29966 PyThreadState* __tstate = wxPyBeginAllowThreads();
29967 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
29968
29969 wxPyEndAllowThreads(__tstate);
29970 if (PyErr_Occurred()) SWIG_fail;
29971 }
29972 {
29973 wxTreeItemId * resultptr;
093d3ff1 29974 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
15afbcd0 29975 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
29976 }
29977 {
29978 if (temp3)
29979 delete arg3;
29980 }
29981 return resultobj;
29982 fail:
29983 {
29984 if (temp3)
29985 delete arg3;
29986 }
29987 return NULL;
29988}
29989
29990
c32bde28 29991static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29992 PyObject *resultobj;
29993 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29994 wxTreeItemId *arg2 = 0 ;
29995 wxTreeItemId *arg3 = 0 ;
29996 wxString *arg4 = 0 ;
29997 int arg5 = (int) -1 ;
29998 int arg6 = (int) -1 ;
29999 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
30000 wxTreeItemId result;
ae8162c8 30001 bool temp4 = false ;
d14a1e28
RD
30002 PyObject * obj0 = 0 ;
30003 PyObject * obj1 = 0 ;
30004 PyObject * obj2 = 0 ;
30005 PyObject * obj3 = 0 ;
994141e6
RD
30006 PyObject * obj4 = 0 ;
30007 PyObject * obj5 = 0 ;
d14a1e28
RD
30008 PyObject * obj6 = 0 ;
30009 char *kwnames[] = {
30010 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30011 };
30012
994141e6 30013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
30014 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30015 if (SWIG_arg_fail(1)) SWIG_fail;
30016 {
30017 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30018 if (SWIG_arg_fail(2)) SWIG_fail;
30019 if (arg2 == NULL) {
30020 SWIG_null_ref("wxTreeItemId");
30021 }
30022 if (SWIG_arg_fail(2)) SWIG_fail;
30023 }
30024 {
30025 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30026 if (SWIG_arg_fail(3)) SWIG_fail;
30027 if (arg3 == NULL) {
30028 SWIG_null_ref("wxTreeItemId");
30029 }
30030 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
30031 }
30032 {
30033 arg4 = wxString_in_helper(obj3);
30034 if (arg4 == NULL) SWIG_fail;
ae8162c8 30035 temp4 = true;
d14a1e28 30036 }
994141e6 30037 if (obj4) {
093d3ff1
RD
30038 {
30039 arg5 = (int)(SWIG_As_int(obj4));
30040 if (SWIG_arg_fail(5)) SWIG_fail;
30041 }
994141e6
RD
30042 }
30043 if (obj5) {
093d3ff1
RD
30044 {
30045 arg6 = (int)(SWIG_As_int(obj5));
30046 if (SWIG_arg_fail(6)) SWIG_fail;
30047 }
994141e6 30048 }
d14a1e28 30049 if (obj6) {
093d3ff1
RD
30050 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
30051 if (SWIG_arg_fail(7)) SWIG_fail;
d14a1e28
RD
30052 }
30053 {
30054 PyThreadState* __tstate = wxPyBeginAllowThreads();
30055 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
30056
30057 wxPyEndAllowThreads(__tstate);
30058 if (PyErr_Occurred()) SWIG_fail;
30059 }
30060 {
30061 wxTreeItemId * resultptr;
093d3ff1 30062 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
15afbcd0 30063 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
30064 }
30065 {
30066 if (temp4)
30067 delete arg4;
30068 }
30069 return resultobj;
30070 fail:
30071 {
30072 if (temp4)
30073 delete arg4;
30074 }
30075 return NULL;
30076}
30077
30078
c32bde28 30079static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30080 PyObject *resultobj;
30081 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30082 wxTreeItemId *arg2 = 0 ;
30083 size_t arg3 ;
30084 wxString *arg4 = 0 ;
30085 int arg5 = (int) -1 ;
30086 int arg6 = (int) -1 ;
30087 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
30088 wxTreeItemId result;
ae8162c8 30089 bool temp4 = false ;
d14a1e28
RD
30090 PyObject * obj0 = 0 ;
30091 PyObject * obj1 = 0 ;
30092 PyObject * obj2 = 0 ;
30093 PyObject * obj3 = 0 ;
994141e6
RD
30094 PyObject * obj4 = 0 ;
30095 PyObject * obj5 = 0 ;
d14a1e28
RD
30096 PyObject * obj6 = 0 ;
30097 char *kwnames[] = {
30098 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30099 };
30100
994141e6 30101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
30102 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30103 if (SWIG_arg_fail(1)) SWIG_fail;
30104 {
30105 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30106 if (SWIG_arg_fail(2)) SWIG_fail;
30107 if (arg2 == NULL) {
30108 SWIG_null_ref("wxTreeItemId");
30109 }
30110 if (SWIG_arg_fail(2)) SWIG_fail;
30111 }
30112 {
30113 arg3 = (size_t)(SWIG_As_unsigned_SS_long(obj2));
30114 if (SWIG_arg_fail(3)) SWIG_fail;
30115 }
d14a1e28
RD
30116 {
30117 arg4 = wxString_in_helper(obj3);
30118 if (arg4 == NULL) SWIG_fail;
ae8162c8 30119 temp4 = true;
d14a1e28 30120 }
994141e6 30121 if (obj4) {
093d3ff1
RD
30122 {
30123 arg5 = (int)(SWIG_As_int(obj4));
30124 if (SWIG_arg_fail(5)) SWIG_fail;
30125 }
994141e6
RD
30126 }
30127 if (obj5) {
093d3ff1
RD
30128 {
30129 arg6 = (int)(SWIG_As_int(obj5));
30130 if (SWIG_arg_fail(6)) SWIG_fail;
30131 }
994141e6 30132 }
d14a1e28 30133 if (obj6) {
093d3ff1
RD
30134 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
30135 if (SWIG_arg_fail(7)) SWIG_fail;
d14a1e28
RD
30136 }
30137 {
30138 PyThreadState* __tstate = wxPyBeginAllowThreads();
30139 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
30140
30141 wxPyEndAllowThreads(__tstate);
30142 if (PyErr_Occurred()) SWIG_fail;
30143 }
30144 {
30145 wxTreeItemId * resultptr;
093d3ff1 30146 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
15afbcd0 30147 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
30148 }
30149 {
30150 if (temp4)
30151 delete arg4;
30152 }
30153 return resultobj;
30154 fail:
30155 {
30156 if (temp4)
30157 delete arg4;
30158 }
30159 return NULL;
30160}
30161
30162
c32bde28 30163static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30164 PyObject *resultobj;
30165 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30166 wxTreeItemId *arg2 = 0 ;
30167 wxString *arg3 = 0 ;
30168 int arg4 = (int) -1 ;
30169 int arg5 = (int) -1 ;
30170 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
30171 wxTreeItemId result;
ae8162c8 30172 bool temp3 = false ;
d14a1e28
RD
30173 PyObject * obj0 = 0 ;
30174 PyObject * obj1 = 0 ;
30175 PyObject * obj2 = 0 ;
994141e6
RD
30176 PyObject * obj3 = 0 ;
30177 PyObject * obj4 = 0 ;
d14a1e28
RD
30178 PyObject * obj5 = 0 ;
30179 char *kwnames[] = {
30180 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30181 };
30182
994141e6 30183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
30184 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30185 if (SWIG_arg_fail(1)) SWIG_fail;
30186 {
30187 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30188 if (SWIG_arg_fail(2)) SWIG_fail;
30189 if (arg2 == NULL) {
30190 SWIG_null_ref("wxTreeItemId");
30191 }
30192 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
30193 }
30194 {
30195 arg3 = wxString_in_helper(obj2);
30196 if (arg3 == NULL) SWIG_fail;
ae8162c8 30197 temp3 = true;
d14a1e28 30198 }
994141e6 30199 if (obj3) {
093d3ff1
RD
30200 {
30201 arg4 = (int)(SWIG_As_int(obj3));
30202 if (SWIG_arg_fail(4)) SWIG_fail;
30203 }
994141e6
RD
30204 }
30205 if (obj4) {
093d3ff1
RD
30206 {
30207 arg5 = (int)(SWIG_As_int(obj4));
30208 if (SWIG_arg_fail(5)) SWIG_fail;
30209 }
994141e6 30210 }
d14a1e28 30211 if (obj5) {
093d3ff1
RD
30212 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
30213 if (SWIG_arg_fail(6)) SWIG_fail;
d14a1e28
RD
30214 }
30215 {
30216 PyThreadState* __tstate = wxPyBeginAllowThreads();
30217 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
30218
30219 wxPyEndAllowThreads(__tstate);
30220 if (PyErr_Occurred()) SWIG_fail;
30221 }
30222 {
30223 wxTreeItemId * resultptr;
093d3ff1 30224 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
15afbcd0 30225 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
30226 }
30227 {
30228 if (temp3)
30229 delete arg3;
30230 }
30231 return resultobj;
30232 fail:
30233 {
30234 if (temp3)
30235 delete arg3;
30236 }
30237 return NULL;
30238}
30239
30240
c32bde28 30241static PyObject *_wrap_TreeCtrl_Delete(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30242 PyObject *resultobj;
30243 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30244 wxTreeItemId *arg2 = 0 ;
30245 PyObject * obj0 = 0 ;
30246 PyObject * obj1 = 0 ;
30247 char *kwnames[] = {
30248 (char *) "self",(char *) "item", NULL
30249 };
30250
30251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30252 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30253 if (SWIG_arg_fail(1)) SWIG_fail;
30254 {
30255 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30256 if (SWIG_arg_fail(2)) SWIG_fail;
30257 if (arg2 == NULL) {
30258 SWIG_null_ref("wxTreeItemId");
30259 }
30260 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
30261 }
30262 {
30263 PyThreadState* __tstate = wxPyBeginAllowThreads();
30264 (arg1)->Delete((wxTreeItemId const &)*arg2);
30265
30266 wxPyEndAllowThreads(__tstate);
30267 if (PyErr_Occurred()) SWIG_fail;
30268 }
30269 Py_INCREF(Py_None); resultobj = Py_None;
30270 return resultobj;
30271 fail:
30272 return NULL;
30273}
30274
30275
c32bde28 30276static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30277 PyObject *resultobj;
30278 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30279 wxTreeItemId *arg2 = 0 ;
30280 PyObject * obj0 = 0 ;
30281 PyObject * obj1 = 0 ;
30282 char *kwnames[] = {
30283 (char *) "self",(char *) "item", NULL
30284 };
30285
30286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30287 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30288 if (SWIG_arg_fail(1)) SWIG_fail;
30289 {
30290 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30291 if (SWIG_arg_fail(2)) SWIG_fail;
30292 if (arg2 == NULL) {
30293 SWIG_null_ref("wxTreeItemId");
30294 }
30295 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
30296 }
30297 {
30298 PyThreadState* __tstate = wxPyBeginAllowThreads();
30299 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
30300
30301 wxPyEndAllowThreads(__tstate);
30302 if (PyErr_Occurred()) SWIG_fail;
30303 }
30304 Py_INCREF(Py_None); resultobj = Py_None;
30305 return resultobj;
30306 fail:
30307 return NULL;
30308}
30309
30310
c32bde28 30311static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30312 PyObject *resultobj;
30313 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30314 PyObject * obj0 = 0 ;
30315 char *kwnames[] = {
30316 (char *) "self", NULL
30317 };
30318
30319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
093d3ff1
RD
30320 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30321 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
30322 {
30323 PyThreadState* __tstate = wxPyBeginAllowThreads();
30324 (arg1)->DeleteAllItems();
30325
30326 wxPyEndAllowThreads(__tstate);
30327 if (PyErr_Occurred()) SWIG_fail;
30328 }
30329 Py_INCREF(Py_None); resultobj = Py_None;
30330 return resultobj;
30331 fail:
30332 return NULL;
30333}
30334
30335
c32bde28 30336static PyObject *_wrap_TreeCtrl_Expand(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30337 PyObject *resultobj;
30338 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30339 wxTreeItemId *arg2 = 0 ;
30340 PyObject * obj0 = 0 ;
30341 PyObject * obj1 = 0 ;
30342 char *kwnames[] = {
30343 (char *) "self",(char *) "item", NULL
30344 };
30345
30346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30347 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30348 if (SWIG_arg_fail(1)) SWIG_fail;
30349 {
30350 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30351 if (SWIG_arg_fail(2)) SWIG_fail;
30352 if (arg2 == NULL) {
30353 SWIG_null_ref("wxTreeItemId");
30354 }
30355 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
30356 }
30357 {
30358 PyThreadState* __tstate = wxPyBeginAllowThreads();
30359 (arg1)->Expand((wxTreeItemId const &)*arg2);
30360
30361 wxPyEndAllowThreads(__tstate);
30362 if (PyErr_Occurred()) SWIG_fail;
30363 }
30364 Py_INCREF(Py_None); resultobj = Py_None;
30365 return resultobj;
30366 fail:
30367 return NULL;
30368}
30369
30370
c32bde28 30371static PyObject *_wrap_TreeCtrl_Collapse(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30372 PyObject *resultobj;
30373 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30374 wxTreeItemId *arg2 = 0 ;
30375 PyObject * obj0 = 0 ;
30376 PyObject * obj1 = 0 ;
30377 char *kwnames[] = {
30378 (char *) "self",(char *) "item", NULL
30379 };
30380
30381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30382 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30383 if (SWIG_arg_fail(1)) SWIG_fail;
30384 {
30385 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30386 if (SWIG_arg_fail(2)) SWIG_fail;
30387 if (arg2 == NULL) {
30388 SWIG_null_ref("wxTreeItemId");
30389 }
30390 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
30391 }
30392 {
30393 PyThreadState* __tstate = wxPyBeginAllowThreads();
30394 (arg1)->Collapse((wxTreeItemId const &)*arg2);
30395
30396 wxPyEndAllowThreads(__tstate);
30397 if (PyErr_Occurred()) SWIG_fail;
30398 }
30399 Py_INCREF(Py_None); resultobj = Py_None;
30400 return resultobj;
30401 fail:
30402 return NULL;
30403}
30404
30405
c32bde28 30406static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30407 PyObject *resultobj;
30408 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30409 wxTreeItemId *arg2 = 0 ;
30410 PyObject * obj0 = 0 ;
30411 PyObject * obj1 = 0 ;
30412 char *kwnames[] = {
30413 (char *) "self",(char *) "item", NULL
30414 };
30415
30416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30417 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30418 if (SWIG_arg_fail(1)) SWIG_fail;
30419 {
30420 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30421 if (SWIG_arg_fail(2)) SWIG_fail;
30422 if (arg2 == NULL) {
30423 SWIG_null_ref("wxTreeItemId");
30424 }
30425 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
30426 }
30427 {
30428 PyThreadState* __tstate = wxPyBeginAllowThreads();
30429 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
30430
30431 wxPyEndAllowThreads(__tstate);
30432 if (PyErr_Occurred()) SWIG_fail;
30433 }
30434 Py_INCREF(Py_None); resultobj = Py_None;
30435 return resultobj;
30436 fail:
30437 return NULL;
30438}
30439
30440
c32bde28 30441static PyObject *_wrap_TreeCtrl_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30442 PyObject *resultobj;
30443 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30444 wxTreeItemId *arg2 = 0 ;
30445 PyObject * obj0 = 0 ;
30446 PyObject * obj1 = 0 ;
30447 char *kwnames[] = {
30448 (char *) "self",(char *) "item", NULL
30449 };
30450
30451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30452 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30453 if (SWIG_arg_fail(1)) SWIG_fail;
30454 {
30455 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30456 if (SWIG_arg_fail(2)) SWIG_fail;
30457 if (arg2 == NULL) {
30458 SWIG_null_ref("wxTreeItemId");
30459 }
30460 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
30461 }
30462 {
30463 PyThreadState* __tstate = wxPyBeginAllowThreads();
30464 (arg1)->Toggle((wxTreeItemId const &)*arg2);
30465
30466 wxPyEndAllowThreads(__tstate);
30467 if (PyErr_Occurred()) SWIG_fail;
30468 }
30469 Py_INCREF(Py_None); resultobj = Py_None;
30470 return resultobj;
30471 fail:
30472 return NULL;
30473}
30474
30475
c32bde28 30476static PyObject *_wrap_TreeCtrl_Unselect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30477 PyObject *resultobj;
30478 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30479 PyObject * obj0 = 0 ;
30480 char *kwnames[] = {
30481 (char *) "self", NULL
30482 };
30483
30484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
093d3ff1
RD
30485 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30486 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
30487 {
30488 PyThreadState* __tstate = wxPyBeginAllowThreads();
30489 (arg1)->Unselect();
30490
30491 wxPyEndAllowThreads(__tstate);
30492 if (PyErr_Occurred()) SWIG_fail;
30493 }
30494 Py_INCREF(Py_None); resultobj = Py_None;
30495 return resultobj;
30496 fail:
30497 return NULL;
30498}
30499
30500
c32bde28 30501static PyObject *_wrap_TreeCtrl_UnselectItem(PyObject *, PyObject *args, PyObject *kwargs) {
3adfb63b
RD
30502 PyObject *resultobj;
30503 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30504 wxTreeItemId *arg2 = 0 ;
30505 PyObject * obj0 = 0 ;
30506 PyObject * obj1 = 0 ;
30507 char *kwnames[] = {
30508 (char *) "self",(char *) "item", NULL
30509 };
30510
30511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_UnselectItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30512 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30513 if (SWIG_arg_fail(1)) SWIG_fail;
30514 {
30515 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30516 if (SWIG_arg_fail(2)) SWIG_fail;
30517 if (arg2 == NULL) {
30518 SWIG_null_ref("wxTreeItemId");
30519 }
30520 if (SWIG_arg_fail(2)) SWIG_fail;
3adfb63b
RD
30521 }
30522 {
30523 PyThreadState* __tstate = wxPyBeginAllowThreads();
30524 (arg1)->UnselectItem((wxTreeItemId const &)*arg2);
30525
30526 wxPyEndAllowThreads(__tstate);
30527 if (PyErr_Occurred()) SWIG_fail;
30528 }
30529 Py_INCREF(Py_None); resultobj = Py_None;
30530 return resultobj;
30531 fail:
30532 return NULL;
30533}
30534
30535
c32bde28 30536static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30537 PyObject *resultobj;
30538 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30539 PyObject * obj0 = 0 ;
30540 char *kwnames[] = {
30541 (char *) "self", NULL
30542 };
30543
30544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_UnselectAll",kwnames,&obj0)) goto fail;
093d3ff1
RD
30545 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30546 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
30547 {
30548 PyThreadState* __tstate = wxPyBeginAllowThreads();
30549 (arg1)->UnselectAll();
30550
30551 wxPyEndAllowThreads(__tstate);
30552 if (PyErr_Occurred()) SWIG_fail;
30553 }
30554 Py_INCREF(Py_None); resultobj = Py_None;
30555 return resultobj;
30556 fail:
30557 return NULL;
30558}
30559
30560
c32bde28 30561static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *, PyObject *args, PyObject *kwargs) {
3adfb63b
RD
30562 PyObject *resultobj;
30563 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30564 wxTreeItemId *arg2 = 0 ;
ae8162c8 30565 bool arg3 = (bool) true ;
3adfb63b
RD
30566 PyObject * obj0 = 0 ;
30567 PyObject * obj1 = 0 ;
30568 PyObject * obj2 = 0 ;
30569 char *kwnames[] = {
30570 (char *) "self",(char *) "item",(char *) "select", NULL
30571 };
30572
30573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
30574 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30575 if (SWIG_arg_fail(1)) SWIG_fail;
30576 {
30577 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30578 if (SWIG_arg_fail(2)) SWIG_fail;
30579 if (arg2 == NULL) {
30580 SWIG_null_ref("wxTreeItemId");
30581 }
30582 if (SWIG_arg_fail(2)) SWIG_fail;
3adfb63b
RD
30583 }
30584 if (obj2) {
093d3ff1
RD
30585 {
30586 arg3 = (bool)(SWIG_As_bool(obj2));
30587 if (SWIG_arg_fail(3)) SWIG_fail;
30588 }
3adfb63b
RD
30589 }
30590 {
30591 PyThreadState* __tstate = wxPyBeginAllowThreads();
30592 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3);
30593
30594 wxPyEndAllowThreads(__tstate);
30595 if (PyErr_Occurred()) SWIG_fail;
30596 }
30597 Py_INCREF(Py_None); resultobj = Py_None;
30598 return resultobj;
30599 fail:
30600 return NULL;
30601}
30602
30603
c32bde28 30604static PyObject *_wrap_TreeCtrl_ToggleItemSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30605 PyObject *resultobj;
30606 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30607 wxTreeItemId *arg2 = 0 ;
30608 PyObject * obj0 = 0 ;
30609 PyObject * obj1 = 0 ;
30610 char *kwnames[] = {
30611 (char *) "self",(char *) "item", NULL
30612 };
30613
3adfb63b 30614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30615 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30616 if (SWIG_arg_fail(1)) SWIG_fail;
30617 {
30618 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30619 if (SWIG_arg_fail(2)) SWIG_fail;
30620 if (arg2 == NULL) {
30621 SWIG_null_ref("wxTreeItemId");
30622 }
30623 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
30624 }
30625 {
30626 PyThreadState* __tstate = wxPyBeginAllowThreads();
3adfb63b 30627 (arg1)->ToggleItemSelection((wxTreeItemId const &)*arg2);
d14a1e28
RD
30628
30629 wxPyEndAllowThreads(__tstate);
30630 if (PyErr_Occurred()) SWIG_fail;
30631 }
30632 Py_INCREF(Py_None); resultobj = Py_None;
30633 return resultobj;
30634 fail:
30635 return NULL;
30636}
30637
30638
c32bde28 30639static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30640 PyObject *resultobj;
30641 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30642 wxTreeItemId *arg2 = 0 ;
30643 PyObject * obj0 = 0 ;
30644 PyObject * obj1 = 0 ;
30645 char *kwnames[] = {
30646 (char *) "self",(char *) "item", NULL
30647 };
30648
30649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30650 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30651 if (SWIG_arg_fail(1)) SWIG_fail;
30652 {
30653 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30654 if (SWIG_arg_fail(2)) SWIG_fail;
30655 if (arg2 == NULL) {
30656 SWIG_null_ref("wxTreeItemId");
30657 }
30658 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
30659 }
30660 {
30661 PyThreadState* __tstate = wxPyBeginAllowThreads();
30662 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
30663
30664 wxPyEndAllowThreads(__tstate);
30665 if (PyErr_Occurred()) SWIG_fail;
30666 }
30667 Py_INCREF(Py_None); resultobj = Py_None;
30668 return resultobj;
30669 fail:
30670 return NULL;
30671}
30672
30673
c32bde28 30674static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30675 PyObject *resultobj;
30676 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30677 wxTreeItemId *arg2 = 0 ;
30678 PyObject * obj0 = 0 ;
30679 PyObject * obj1 = 0 ;
30680 char *kwnames[] = {
30681 (char *) "self",(char *) "item", NULL
30682 };
30683
30684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30685 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30686 if (SWIG_arg_fail(1)) SWIG_fail;
30687 {
30688 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30689 if (SWIG_arg_fail(2)) SWIG_fail;
30690 if (arg2 == NULL) {
30691 SWIG_null_ref("wxTreeItemId");
30692 }
30693 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
30694 }
30695 {
30696 PyThreadState* __tstate = wxPyBeginAllowThreads();
30697 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
30698
30699 wxPyEndAllowThreads(__tstate);
30700 if (PyErr_Occurred()) SWIG_fail;
30701 }
30702 Py_INCREF(Py_None); resultobj = Py_None;
30703 return resultobj;
30704 fail:
30705 return NULL;
30706}
30707
30708
c32bde28 30709static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30710 PyObject *resultobj;
30711 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30712 wxTreeItemId *arg2 = 0 ;
30713 PyObject * obj0 = 0 ;
30714 PyObject * obj1 = 0 ;
30715 char *kwnames[] = {
30716 (char *) "self",(char *) "item", NULL
30717 };
30718
30719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30720 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30721 if (SWIG_arg_fail(1)) SWIG_fail;
30722 {
30723 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30724 if (SWIG_arg_fail(2)) SWIG_fail;
30725 if (arg2 == NULL) {
30726 SWIG_null_ref("wxTreeItemId");
30727 }
30728 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
30729 }
30730 {
30731 PyThreadState* __tstate = wxPyBeginAllowThreads();
30732 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
30733
30734 wxPyEndAllowThreads(__tstate);
30735 if (PyErr_Occurred()) SWIG_fail;
30736 }
30737 Py_INCREF(Py_None); resultobj = Py_None;
30738 return resultobj;
30739 fail:
30740 return NULL;
30741}
30742
30743
c32bde28 30744static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30745 PyObject *resultobj;
30746 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30747 wxTextCtrl *result;
30748 PyObject * obj0 = 0 ;
30749 char *kwnames[] = {
30750 (char *) "self", NULL
30751 };
30752
30753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
093d3ff1
RD
30754 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30755 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
30756 {
30757 PyThreadState* __tstate = wxPyBeginAllowThreads();
30758 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
30759
30760 wxPyEndAllowThreads(__tstate);
30761 if (PyErr_Occurred()) SWIG_fail;
30762 }
30763 {
412d302d 30764 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
30765 }
30766 return resultobj;
30767 fail:
30768 return NULL;
30769}
30770
30771
c32bde28 30772static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30773 PyObject *resultobj;
30774 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30775 wxTreeItemId *arg2 = 0 ;
30776 PyObject * obj0 = 0 ;
30777 PyObject * obj1 = 0 ;
30778 char *kwnames[] = {
30779 (char *) "self",(char *) "item", NULL
30780 };
30781
30782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30783 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30784 if (SWIG_arg_fail(1)) SWIG_fail;
30785 {
30786 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30787 if (SWIG_arg_fail(2)) SWIG_fail;
30788 if (arg2 == NULL) {
30789 SWIG_null_ref("wxTreeItemId");
30790 }
30791 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
30792 }
30793 {
30794 PyThreadState* __tstate = wxPyBeginAllowThreads();
30795 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
30796
30797 wxPyEndAllowThreads(__tstate);
30798 if (PyErr_Occurred()) SWIG_fail;
30799 }
30800 Py_INCREF(Py_None); resultobj = Py_None;
30801 return resultobj;
30802 fail:
30803 return NULL;
30804}
30805
30806
c32bde28 30807static PyObject *_wrap_TreeCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30808 PyObject *resultobj;
30809 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30810 wxPoint *arg2 = 0 ;
30811 int *arg3 = 0 ;
30812 wxTreeItemId result;
30813 wxPoint temp2 ;
30814 int temp3 ;
c32bde28 30815 int res3 = 0 ;
d14a1e28
RD
30816 PyObject * obj0 = 0 ;
30817 PyObject * obj1 = 0 ;
30818 char *kwnames[] = {
30819 (char *) "self",(char *) "point", NULL
30820 };
30821
c32bde28 30822 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 30823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30824 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30825 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
30826 {
30827 arg2 = &temp2;
30828 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
30829 }
30830 {
30831 PyThreadState* __tstate = wxPyBeginAllowThreads();
30832 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
30833
30834 wxPyEndAllowThreads(__tstate);
30835 if (PyErr_Occurred()) SWIG_fail;
30836 }
30837 {
30838 wxTreeItemId * resultptr;
093d3ff1 30839 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
15afbcd0 30840 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28 30841 }
c32bde28
RD
30842 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
30843 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
30844 return resultobj;
30845 fail:
30846 return NULL;
30847}
30848
30849
c32bde28 30850static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30851 PyObject *resultobj;
30852 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30853 wxTreeItemId *arg2 = 0 ;
ae8162c8 30854 bool arg3 = (bool) false ;
d14a1e28
RD
30855 PyObject *result;
30856 PyObject * obj0 = 0 ;
30857 PyObject * obj1 = 0 ;
30858 PyObject * obj2 = 0 ;
30859 char *kwnames[] = {
30860 (char *) "self",(char *) "item",(char *) "textOnly", NULL
30861 };
30862
30863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
30864 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30865 if (SWIG_arg_fail(1)) SWIG_fail;
30866 {
30867 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30868 if (SWIG_arg_fail(2)) SWIG_fail;
30869 if (arg2 == NULL) {
30870 SWIG_null_ref("wxTreeItemId");
30871 }
30872 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
30873 }
30874 if (obj2) {
093d3ff1
RD
30875 {
30876 arg3 = (bool)(SWIG_As_bool(obj2));
30877 if (SWIG_arg_fail(3)) SWIG_fail;
30878 }
d14a1e28
RD
30879 }
30880 {
30881 PyThreadState* __tstate = wxPyBeginAllowThreads();
30882 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
30883
30884 wxPyEndAllowThreads(__tstate);
30885 if (PyErr_Occurred()) SWIG_fail;
30886 }
30887 resultobj = result;
30888 return resultobj;
30889 fail:
30890 return NULL;
30891}
30892
30893
c32bde28 30894static PyObject *_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
74a57fcd 30895 PyObject *resultobj;
093d3ff1 30896 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
74a57fcd
RD
30897 wxVisualAttributes result;
30898 PyObject * obj0 = 0 ;
30899 char *kwnames[] = {
30900 (char *) "variant", NULL
30901 };
30902
30903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
30904 if (obj0) {
093d3ff1
RD
30905 {
30906 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
30907 if (SWIG_arg_fail(1)) SWIG_fail;
30908 }
74a57fcd
RD
30909 }
30910 {
110da5b0 30911 if (!wxPyCheckForApp()) SWIG_fail;
74a57fcd
RD
30912 PyThreadState* __tstate = wxPyBeginAllowThreads();
30913 result = wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
30914
30915 wxPyEndAllowThreads(__tstate);
dfbb5885 30916 if (PyErr_Occurred()) SWIG_fail;
74a57fcd
RD
30917 }
30918 {
30919 wxVisualAttributes * resultptr;
093d3ff1 30920 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
74a57fcd
RD
30921 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
30922 }
30923 return resultobj;
30924 fail:
30925 return NULL;
30926}
30927
30928
c32bde28 30929static PyObject * TreeCtrl_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
30930 PyObject *obj;
30931 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30932 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
30933 Py_INCREF(obj);
30934 return Py_BuildValue((char *)"");
30935}
c32bde28 30936static int _wrap_DirDialogDefaultFolderStr_set(PyObject *) {
b2dc1044
RD
30937 PyErr_SetString(PyExc_TypeError,"Variable DirDialogDefaultFolderStr is read-only.");
30938 return 1;
30939}
30940
30941
093d3ff1 30942static PyObject *_wrap_DirDialogDefaultFolderStr_get(void) {
b2dc1044
RD
30943 PyObject *pyobj;
30944
30945 {
30946#if wxUSE_UNICODE
30947 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
30948#else
30949 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
30950#endif
30951 }
30952 return pyobj;
30953}
30954
30955
c32bde28 30956static PyObject *_wrap_new_GenericDirCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30957 PyObject *resultobj;
30958 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 30959 int arg2 = (int) (int)-1 ;
d14a1e28
RD
30960 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
30961 wxString *arg3 = (wxString *) &arg3_defvalue ;
30962 wxPoint const &arg4_defvalue = wxDefaultPosition ;
30963 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
30964 wxSize const &arg5_defvalue = wxDefaultSize ;
30965 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
30966 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
30967 wxString const &arg7_defvalue = wxPyEmptyString ;
30968 wxString *arg7 = (wxString *) &arg7_defvalue ;
30969 int arg8 = (int) 0 ;
b2dc1044 30970 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
d14a1e28
RD
30971 wxString *arg9 = (wxString *) &arg9_defvalue ;
30972 wxGenericDirCtrl *result;
ae8162c8 30973 bool temp3 = false ;
d14a1e28
RD
30974 wxPoint temp4 ;
30975 wxSize temp5 ;
ae8162c8
RD
30976 bool temp7 = false ;
30977 bool temp9 = false ;
d14a1e28 30978 PyObject * obj0 = 0 ;
994141e6 30979 PyObject * obj1 = 0 ;
d14a1e28
RD
30980 PyObject * obj2 = 0 ;
30981 PyObject * obj3 = 0 ;
30982 PyObject * obj4 = 0 ;
994141e6 30983 PyObject * obj5 = 0 ;
d14a1e28 30984 PyObject * obj6 = 0 ;
994141e6 30985 PyObject * obj7 = 0 ;
d14a1e28
RD
30986 PyObject * obj8 = 0 ;
30987 char *kwnames[] = {
30988 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
30989 };
30990
994141e6 30991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
30992 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
30993 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 30994 if (obj1) {
093d3ff1
RD
30995 {
30996 arg2 = (int const)(SWIG_As_int(obj1));
30997 if (SWIG_arg_fail(2)) SWIG_fail;
30998 }
994141e6 30999 }
d14a1e28
RD
31000 if (obj2) {
31001 {
31002 arg3 = wxString_in_helper(obj2);
31003 if (arg3 == NULL) SWIG_fail;
ae8162c8 31004 temp3 = true;
d14a1e28
RD
31005 }
31006 }
31007 if (obj3) {
31008 {
31009 arg4 = &temp4;
31010 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
31011 }
31012 }
31013 if (obj4) {
31014 {
31015 arg5 = &temp5;
31016 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
31017 }
31018 }
994141e6 31019 if (obj5) {
093d3ff1
RD
31020 {
31021 arg6 = (long)(SWIG_As_long(obj5));
31022 if (SWIG_arg_fail(6)) SWIG_fail;
31023 }
994141e6 31024 }
d14a1e28
RD
31025 if (obj6) {
31026 {
31027 arg7 = wxString_in_helper(obj6);
31028 if (arg7 == NULL) SWIG_fail;
ae8162c8 31029 temp7 = true;
d14a1e28
RD
31030 }
31031 }
994141e6 31032 if (obj7) {
093d3ff1
RD
31033 {
31034 arg8 = (int)(SWIG_As_int(obj7));
31035 if (SWIG_arg_fail(8)) SWIG_fail;
31036 }
994141e6 31037 }
d14a1e28
RD
31038 if (obj8) {
31039 {
31040 arg9 = wxString_in_helper(obj8);
31041 if (arg9 == NULL) SWIG_fail;
ae8162c8 31042 temp9 = true;
d14a1e28
RD
31043 }
31044 }
31045 {
e3b71cb8 31046 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
31047 PyThreadState* __tstate = wxPyBeginAllowThreads();
31048 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
31049
31050 wxPyEndAllowThreads(__tstate);
110da5b0 31051 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 31052 }
15afbcd0 31053 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
d14a1e28
RD
31054 {
31055 if (temp3)
31056 delete arg3;
31057 }
31058 {
31059 if (temp7)
31060 delete arg7;
31061 }
31062 {
31063 if (temp9)
31064 delete arg9;
31065 }
31066 return resultobj;
31067 fail:
31068 {
31069 if (temp3)
31070 delete arg3;
31071 }
31072 {
31073 if (temp7)
31074 delete arg7;
31075 }
31076 {
31077 if (temp9)
31078 delete arg9;
31079 }
31080 return NULL;
31081}
31082
31083
c32bde28 31084static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31085 PyObject *resultobj;
31086 wxGenericDirCtrl *result;
31087 char *kwnames[] = {
31088 NULL
31089 };
31090
31091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
31092 {
e3b71cb8 31093 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
31094 PyThreadState* __tstate = wxPyBeginAllowThreads();
31095 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
31096
31097 wxPyEndAllowThreads(__tstate);
110da5b0 31098 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 31099 }
15afbcd0 31100 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
d14a1e28
RD
31101 return resultobj;
31102 fail:
31103 return NULL;
31104}
31105
31106
c32bde28 31107static PyObject *_wrap_GenericDirCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31108 PyObject *resultobj;
31109 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31110 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 31111 int arg3 = (int) (int)-1 ;
d14a1e28
RD
31112 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
31113 wxString *arg4 = (wxString *) &arg4_defvalue ;
31114 wxPoint const &arg5_defvalue = wxDefaultPosition ;
31115 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
31116 wxSize const &arg6_defvalue = wxDefaultSize ;
31117 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
31118 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
31119 wxString const &arg8_defvalue = wxPyEmptyString ;
31120 wxString *arg8 = (wxString *) &arg8_defvalue ;
31121 int arg9 = (int) 0 ;
b2dc1044 31122 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
d14a1e28
RD
31123 wxString *arg10 = (wxString *) &arg10_defvalue ;
31124 bool result;
ae8162c8 31125 bool temp4 = false ;
d14a1e28
RD
31126 wxPoint temp5 ;
31127 wxSize temp6 ;
ae8162c8
RD
31128 bool temp8 = false ;
31129 bool temp10 = false ;
d14a1e28
RD
31130 PyObject * obj0 = 0 ;
31131 PyObject * obj1 = 0 ;
994141e6 31132 PyObject * obj2 = 0 ;
d14a1e28
RD
31133 PyObject * obj3 = 0 ;
31134 PyObject * obj4 = 0 ;
31135 PyObject * obj5 = 0 ;
994141e6 31136 PyObject * obj6 = 0 ;
d14a1e28 31137 PyObject * obj7 = 0 ;
994141e6 31138 PyObject * obj8 = 0 ;
d14a1e28
RD
31139 PyObject * obj9 = 0 ;
31140 char *kwnames[] = {
31141 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
31142 };
31143
994141e6 31144 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
31145 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31146 if (SWIG_arg_fail(1)) SWIG_fail;
31147 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31148 if (SWIG_arg_fail(2)) SWIG_fail;
994141e6 31149 if (obj2) {
093d3ff1
RD
31150 {
31151 arg3 = (int const)(SWIG_As_int(obj2));
31152 if (SWIG_arg_fail(3)) SWIG_fail;
31153 }
994141e6 31154 }
d14a1e28
RD
31155 if (obj3) {
31156 {
31157 arg4 = wxString_in_helper(obj3);
31158 if (arg4 == NULL) SWIG_fail;
ae8162c8 31159 temp4 = true;
d14a1e28
RD
31160 }
31161 }
31162 if (obj4) {
31163 {
31164 arg5 = &temp5;
31165 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
31166 }
31167 }
31168 if (obj5) {
31169 {
31170 arg6 = &temp6;
31171 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
31172 }
31173 }
994141e6 31174 if (obj6) {
093d3ff1
RD
31175 {
31176 arg7 = (long)(SWIG_As_long(obj6));
31177 if (SWIG_arg_fail(7)) SWIG_fail;
31178 }
994141e6 31179 }
d14a1e28
RD
31180 if (obj7) {
31181 {
31182 arg8 = wxString_in_helper(obj7);
31183 if (arg8 == NULL) SWIG_fail;
ae8162c8 31184 temp8 = true;
d14a1e28
RD
31185 }
31186 }
994141e6 31187 if (obj8) {
093d3ff1
RD
31188 {
31189 arg9 = (int)(SWIG_As_int(obj8));
31190 if (SWIG_arg_fail(9)) SWIG_fail;
31191 }
994141e6 31192 }
d14a1e28
RD
31193 if (obj9) {
31194 {
31195 arg10 = wxString_in_helper(obj9);
31196 if (arg10 == NULL) SWIG_fail;
ae8162c8 31197 temp10 = true;
d14a1e28
RD
31198 }
31199 }
31200 {
31201 PyThreadState* __tstate = wxPyBeginAllowThreads();
31202 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
31203
31204 wxPyEndAllowThreads(__tstate);
31205 if (PyErr_Occurred()) SWIG_fail;
31206 }
4f89f6a3
RD
31207 {
31208 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31209 }
d14a1e28
RD
31210 {
31211 if (temp4)
31212 delete arg4;
31213 }
31214 {
31215 if (temp8)
31216 delete arg8;
31217 }
31218 {
31219 if (temp10)
31220 delete arg10;
31221 }
31222 return resultobj;
31223 fail:
31224 {
31225 if (temp4)
31226 delete arg4;
31227 }
31228 {
31229 if (temp8)
31230 delete arg8;
31231 }
31232 {
31233 if (temp10)
31234 delete arg10;
31235 }
31236 return NULL;
31237}
31238
31239
c32bde28 31240static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31241 PyObject *resultobj;
31242 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31243 wxString *arg2 = 0 ;
31244 bool result;
ae8162c8 31245 bool temp2 = false ;
d14a1e28
RD
31246 PyObject * obj0 = 0 ;
31247 PyObject * obj1 = 0 ;
31248 char *kwnames[] = {
31249 (char *) "self",(char *) "path", NULL
31250 };
31251
31252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31253 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31254 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
31255 {
31256 arg2 = wxString_in_helper(obj1);
31257 if (arg2 == NULL) SWIG_fail;
ae8162c8 31258 temp2 = true;
d14a1e28
RD
31259 }
31260 {
31261 PyThreadState* __tstate = wxPyBeginAllowThreads();
31262 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
31263
31264 wxPyEndAllowThreads(__tstate);
31265 if (PyErr_Occurred()) SWIG_fail;
31266 }
4f89f6a3
RD
31267 {
31268 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31269 }
d14a1e28
RD
31270 {
31271 if (temp2)
31272 delete arg2;
31273 }
31274 return resultobj;
31275 fail:
31276 {
31277 if (temp2)
31278 delete arg2;
31279 }
31280 return NULL;
31281}
31282
31283
c32bde28 31284static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31285 PyObject *resultobj;
31286 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31287 wxString result;
31288 PyObject * obj0 = 0 ;
31289 char *kwnames[] = {
31290 (char *) "self", NULL
31291 };
31292
31293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames,&obj0)) goto fail;
093d3ff1
RD
31294 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31295 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
31296 {
31297 PyThreadState* __tstate = wxPyBeginAllowThreads();
31298 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
31299
31300 wxPyEndAllowThreads(__tstate);
31301 if (PyErr_Occurred()) SWIG_fail;
31302 }
31303 {
31304#if wxUSE_UNICODE
31305 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31306#else
31307 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31308#endif
31309 }
31310 return resultobj;
31311 fail:
31312 return NULL;
31313}
31314
31315
c32bde28 31316static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31317 PyObject *resultobj;
31318 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31319 wxString *arg2 = 0 ;
ae8162c8 31320 bool temp2 = false ;
d14a1e28
RD
31321 PyObject * obj0 = 0 ;
31322 PyObject * obj1 = 0 ;
31323 char *kwnames[] = {
31324 (char *) "self",(char *) "path", NULL
31325 };
31326
31327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31328 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31329 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
31330 {
31331 arg2 = wxString_in_helper(obj1);
31332 if (arg2 == NULL) SWIG_fail;
ae8162c8 31333 temp2 = true;
d14a1e28
RD
31334 }
31335 {
31336 PyThreadState* __tstate = wxPyBeginAllowThreads();
31337 (arg1)->SetDefaultPath((wxString const &)*arg2);
31338
31339 wxPyEndAllowThreads(__tstate);
31340 if (PyErr_Occurred()) SWIG_fail;
31341 }
31342 Py_INCREF(Py_None); resultobj = Py_None;
31343 {
31344 if (temp2)
31345 delete arg2;
31346 }
31347 return resultobj;
31348 fail:
31349 {
31350 if (temp2)
31351 delete arg2;
31352 }
31353 return NULL;
31354}
31355
31356
c32bde28 31357static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31358 PyObject *resultobj;
31359 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31360 wxString result;
31361 PyObject * obj0 = 0 ;
31362 char *kwnames[] = {
31363 (char *) "self", NULL
31364 };
31365
31366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
093d3ff1
RD
31367 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31368 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
31369 {
31370 PyThreadState* __tstate = wxPyBeginAllowThreads();
31371 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
31372
31373 wxPyEndAllowThreads(__tstate);
31374 if (PyErr_Occurred()) SWIG_fail;
31375 }
31376 {
31377#if wxUSE_UNICODE
31378 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31379#else
31380 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31381#endif
31382 }
31383 return resultobj;
31384 fail:
31385 return NULL;
31386}
31387
31388
c32bde28 31389static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31390 PyObject *resultobj;
31391 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31392 wxString result;
31393 PyObject * obj0 = 0 ;
31394 char *kwnames[] = {
31395 (char *) "self", NULL
31396 };
31397
31398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
093d3ff1
RD
31399 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31400 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
31401 {
31402 PyThreadState* __tstate = wxPyBeginAllowThreads();
31403 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
31404
31405 wxPyEndAllowThreads(__tstate);
31406 if (PyErr_Occurred()) SWIG_fail;
31407 }
31408 {
31409#if wxUSE_UNICODE
31410 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31411#else
31412 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31413#endif
31414 }
31415 return resultobj;
31416 fail:
31417 return NULL;
31418}
31419
31420
c32bde28 31421static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31422 PyObject *resultobj;
31423 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31424 wxString *arg2 = 0 ;
ae8162c8 31425 bool temp2 = false ;
d14a1e28
RD
31426 PyObject * obj0 = 0 ;
31427 PyObject * obj1 = 0 ;
31428 char *kwnames[] = {
31429 (char *) "self",(char *) "path", NULL
31430 };
31431
31432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31433 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31434 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
31435 {
31436 arg2 = wxString_in_helper(obj1);
31437 if (arg2 == NULL) SWIG_fail;
ae8162c8 31438 temp2 = true;
d14a1e28
RD
31439 }
31440 {
31441 PyThreadState* __tstate = wxPyBeginAllowThreads();
31442 (arg1)->SetPath((wxString const &)*arg2);
31443
31444 wxPyEndAllowThreads(__tstate);
31445 if (PyErr_Occurred()) SWIG_fail;
31446 }
31447 Py_INCREF(Py_None); resultobj = Py_None;
31448 {
31449 if (temp2)
31450 delete arg2;
31451 }
31452 return resultobj;
31453 fail:
31454 {
31455 if (temp2)
31456 delete arg2;
31457 }
31458 return NULL;
31459}
31460
31461
c32bde28 31462static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31463 PyObject *resultobj;
31464 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31465 bool arg2 ;
31466 PyObject * obj0 = 0 ;
31467 PyObject * obj1 = 0 ;
31468 char *kwnames[] = {
31469 (char *) "self",(char *) "show", NULL
31470 };
31471
31472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31473 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31474 if (SWIG_arg_fail(1)) SWIG_fail;
31475 {
31476 arg2 = (bool)(SWIG_As_bool(obj1));
31477 if (SWIG_arg_fail(2)) SWIG_fail;
31478 }
d14a1e28
RD
31479 {
31480 PyThreadState* __tstate = wxPyBeginAllowThreads();
31481 (arg1)->ShowHidden(arg2);
31482
31483 wxPyEndAllowThreads(__tstate);
31484 if (PyErr_Occurred()) SWIG_fail;
31485 }
31486 Py_INCREF(Py_None); resultobj = Py_None;
31487 return resultobj;
31488 fail:
31489 return NULL;
31490}
31491
31492
c32bde28 31493static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31494 PyObject *resultobj;
31495 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31496 bool result;
31497 PyObject * obj0 = 0 ;
31498 char *kwnames[] = {
31499 (char *) "self", NULL
31500 };
31501
31502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames,&obj0)) goto fail;
093d3ff1
RD
31503 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31504 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
31505 {
31506 PyThreadState* __tstate = wxPyBeginAllowThreads();
31507 result = (bool)(arg1)->GetShowHidden();
31508
31509 wxPyEndAllowThreads(__tstate);
31510 if (PyErr_Occurred()) SWIG_fail;
31511 }
4f89f6a3
RD
31512 {
31513 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31514 }
d14a1e28
RD
31515 return resultobj;
31516 fail:
31517 return NULL;
31518}
31519
31520
c32bde28 31521static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
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_GetFilter",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;
d14a1e28
RD
31533 {
31534 PyThreadState* __tstate = wxPyBeginAllowThreads();
31535 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
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_SetFilter(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31554 PyObject *resultobj;
31555 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31556 wxString *arg2 = 0 ;
ae8162c8 31557 bool temp2 = false ;
d14a1e28
RD
31558 PyObject * obj0 = 0 ;
31559 PyObject * obj1 = 0 ;
31560 char *kwnames[] = {
31561 (char *) "self",(char *) "filter", NULL
31562 };
31563
31564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",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;
d14a1e28
RD
31567 {
31568 arg2 = wxString_in_helper(obj1);
31569 if (arg2 == NULL) SWIG_fail;
ae8162c8 31570 temp2 = true;
d14a1e28
RD
31571 }
31572 {
31573 PyThreadState* __tstate = wxPyBeginAllowThreads();
31574 (arg1)->SetFilter((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_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31595 PyObject *resultobj;
31596 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31597 int result;
31598 PyObject * obj0 = 0 ;
31599 char *kwnames[] = {
31600 (char *) "self", NULL
31601 };
31602
31603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",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;
d14a1e28
RD
31606 {
31607 PyThreadState* __tstate = wxPyBeginAllowThreads();
31608 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
31609
31610 wxPyEndAllowThreads(__tstate);
31611 if (PyErr_Occurred()) SWIG_fail;
31612 }
093d3ff1
RD
31613 {
31614 resultobj = SWIG_From_int((int)(result));
31615 }
d14a1e28
RD
31616 return resultobj;
31617 fail:
31618 return NULL;
31619}
31620
31621
c32bde28 31622static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31623 PyObject *resultobj;
31624 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31625 int arg2 ;
31626 PyObject * obj0 = 0 ;
994141e6 31627 PyObject * obj1 = 0 ;
d14a1e28
RD
31628 char *kwnames[] = {
31629 (char *) "self",(char *) "n", NULL
31630 };
31631
994141e6 31632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31633 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31634 if (SWIG_arg_fail(1)) SWIG_fail;
31635 {
31636 arg2 = (int)(SWIG_As_int(obj1));
31637 if (SWIG_arg_fail(2)) SWIG_fail;
31638 }
d14a1e28
RD
31639 {
31640 PyThreadState* __tstate = wxPyBeginAllowThreads();
31641 (arg1)->SetFilterIndex(arg2);
31642
31643 wxPyEndAllowThreads(__tstate);
31644 if (PyErr_Occurred()) SWIG_fail;
31645 }
31646 Py_INCREF(Py_None); resultobj = Py_None;
31647 return resultobj;
31648 fail:
31649 return NULL;
31650}
31651
31652
c32bde28 31653static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31654 PyObject *resultobj;
31655 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31656 wxTreeItemId result;
31657 PyObject * obj0 = 0 ;
31658 char *kwnames[] = {
31659 (char *) "self", NULL
31660 };
31661
31662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
093d3ff1
RD
31663 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31664 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
31665 {
31666 PyThreadState* __tstate = wxPyBeginAllowThreads();
31667 result = (arg1)->GetRootId();
31668
31669 wxPyEndAllowThreads(__tstate);
31670 if (PyErr_Occurred()) SWIG_fail;
31671 }
31672 {
31673 wxTreeItemId * resultptr;
093d3ff1 31674 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
15afbcd0 31675 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
31676 }
31677 return resultobj;
31678 fail:
31679 return NULL;
31680}
31681
31682
c32bde28 31683static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31684 PyObject *resultobj;
31685 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
b2dc1044 31686 wxPyTreeCtrl *result;
d14a1e28
RD
31687 PyObject * obj0 = 0 ;
31688 char *kwnames[] = {
31689 (char *) "self", NULL
31690 };
31691
31692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
093d3ff1
RD
31693 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31694 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
31695 {
31696 PyThreadState* __tstate = wxPyBeginAllowThreads();
b2dc1044 31697 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
d14a1e28
RD
31698
31699 wxPyEndAllowThreads(__tstate);
31700 if (PyErr_Occurred()) SWIG_fail;
31701 }
31702 {
412d302d 31703 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
31704 }
31705 return resultobj;
31706 fail:
31707 return NULL;
31708}
31709
31710
c32bde28 31711static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31712 PyObject *resultobj;
31713 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31714 wxDirFilterListCtrl *result;
31715 PyObject * obj0 = 0 ;
31716 char *kwnames[] = {
31717 (char *) "self", NULL
31718 };
31719
31720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames,&obj0)) goto fail;
093d3ff1
RD
31721 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31722 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
31723 {
31724 PyThreadState* __tstate = wxPyBeginAllowThreads();
31725 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
31726
31727 wxPyEndAllowThreads(__tstate);
31728 if (PyErr_Occurred()) SWIG_fail;
31729 }
15afbcd0 31730 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 0);
d14a1e28
RD
31731 return resultobj;
31732 fail:
31733 return NULL;
31734}
31735
31736
c32bde28 31737static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31738 PyObject *resultobj;
31739 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31740 wxTreeItemId arg2 ;
31741 wxString *arg3 = 0 ;
31742 bool *arg4 = 0 ;
31743 wxTreeItemId result;
ae8162c8 31744 bool temp3 = false ;
d14a1e28 31745 bool temp4 ;
c32bde28 31746 int res4 = 0 ;
d14a1e28
RD
31747 PyObject * obj0 = 0 ;
31748 PyObject * obj1 = 0 ;
31749 PyObject * obj2 = 0 ;
31750 char *kwnames[] = {
31751 (char *) "self",(char *) "parentId",(char *) "path", NULL
31752 };
31753
c32bde28 31754 arg4 = &temp4; res4 = SWIG_NEWOBJ;
d14a1e28 31755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
31756 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31757 if (SWIG_arg_fail(1)) SWIG_fail;
31758 {
31759 wxTreeItemId * argp;
31760 SWIG_Python_ConvertPtr(obj1, (void **)&argp, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION);
31761 if (SWIG_arg_fail(2)) SWIG_fail;
31762 if (argp == NULL) {
31763 SWIG_null_ref("wxTreeItemId");
31764 }
31765 if (SWIG_arg_fail(2)) SWIG_fail;
31766 arg2 = *argp;
31767 }
d14a1e28
RD
31768 {
31769 arg3 = wxString_in_helper(obj2);
31770 if (arg3 == NULL) SWIG_fail;
ae8162c8 31771 temp3 = true;
d14a1e28
RD
31772 }
31773 {
31774 PyThreadState* __tstate = wxPyBeginAllowThreads();
31775 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
31776
31777 wxPyEndAllowThreads(__tstate);
31778 if (PyErr_Occurred()) SWIG_fail;
31779 }
31780 {
31781 wxTreeItemId * resultptr;
093d3ff1 31782 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
15afbcd0 31783 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28 31784 }
c32bde28
RD
31785 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
31786 SWIG_From_bool((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, 0)));
d14a1e28
RD
31787 {
31788 if (temp3)
31789 delete arg3;
31790 }
31791 return resultobj;
31792 fail:
31793 {
31794 if (temp3)
31795 delete arg3;
31796 }
31797 return NULL;
31798}
31799
31800
c32bde28 31801static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31802 PyObject *resultobj;
31803 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31804 PyObject * obj0 = 0 ;
31805 char *kwnames[] = {
31806 (char *) "self", NULL
31807 };
31808
31809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
093d3ff1
RD
31810 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31811 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
31812 {
31813 PyThreadState* __tstate = wxPyBeginAllowThreads();
31814 (arg1)->DoResize();
31815
31816 wxPyEndAllowThreads(__tstate);
31817 if (PyErr_Occurred()) SWIG_fail;
31818 }
31819 Py_INCREF(Py_None); resultobj = Py_None;
31820 return resultobj;
31821 fail:
31822 return NULL;
31823}
31824
31825
c32bde28 31826static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31827 PyObject *resultobj;
31828 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31829 PyObject * obj0 = 0 ;
31830 char *kwnames[] = {
31831 (char *) "self", NULL
31832 };
31833
31834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
093d3ff1
RD
31835 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31836 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
31837 {
31838 PyThreadState* __tstate = wxPyBeginAllowThreads();
31839 (arg1)->ReCreateTree();
31840
31841 wxPyEndAllowThreads(__tstate);
31842 if (PyErr_Occurred()) SWIG_fail;
31843 }
31844 Py_INCREF(Py_None); resultobj = Py_None;
31845 return resultobj;
31846 fail:
31847 return NULL;
31848}
31849
31850
c32bde28 31851static PyObject * GenericDirCtrl_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
31852 PyObject *obj;
31853 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31854 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
31855 Py_INCREF(obj);
31856 return Py_BuildValue((char *)"");
31857}
c32bde28 31858static PyObject *_wrap_new_DirFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31859 PyObject *resultobj;
31860 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
e811c8ce 31861 int arg2 = (int) (int)-1 ;
d14a1e28
RD
31862 wxPoint const &arg3_defvalue = wxDefaultPosition ;
31863 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
31864 wxSize const &arg4_defvalue = wxDefaultSize ;
31865 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
31866 long arg5 = (long) 0 ;
31867 wxDirFilterListCtrl *result;
31868 wxPoint temp3 ;
31869 wxSize temp4 ;
31870 PyObject * obj0 = 0 ;
994141e6 31871 PyObject * obj1 = 0 ;
d14a1e28
RD
31872 PyObject * obj2 = 0 ;
31873 PyObject * obj3 = 0 ;
994141e6 31874 PyObject * obj4 = 0 ;
d14a1e28
RD
31875 char *kwnames[] = {
31876 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
31877 };
31878
994141e6 31879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
31880 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31881 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 31882 if (obj1) {
093d3ff1
RD
31883 {
31884 arg2 = (int const)(SWIG_As_int(obj1));
31885 if (SWIG_arg_fail(2)) SWIG_fail;
31886 }
994141e6 31887 }
d14a1e28
RD
31888 if (obj2) {
31889 {
31890 arg3 = &temp3;
31891 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
31892 }
31893 }
31894 if (obj3) {
31895 {
31896 arg4 = &temp4;
31897 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
31898 }
31899 }
994141e6 31900 if (obj4) {
093d3ff1
RD
31901 {
31902 arg5 = (long)(SWIG_As_long(obj4));
31903 if (SWIG_arg_fail(5)) SWIG_fail;
31904 }
994141e6 31905 }
d14a1e28 31906 {
e3b71cb8 31907 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
31908 PyThreadState* __tstate = wxPyBeginAllowThreads();
31909 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
31910
31911 wxPyEndAllowThreads(__tstate);
110da5b0 31912 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 31913 }
15afbcd0 31914 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
d14a1e28
RD
31915 return resultobj;
31916 fail:
31917 return NULL;
31918}
31919
31920
c32bde28 31921static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31922 PyObject *resultobj;
31923 wxDirFilterListCtrl *result;
31924 char *kwnames[] = {
31925 NULL
31926 };
31927
31928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
31929 {
e3b71cb8 31930 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
31931 PyThreadState* __tstate = wxPyBeginAllowThreads();
31932 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
31933
31934 wxPyEndAllowThreads(__tstate);
110da5b0 31935 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 31936 }
15afbcd0 31937 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
d14a1e28
RD
31938 return resultobj;
31939 fail:
31940 return NULL;
31941}
31942
31943
c32bde28 31944static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31945 PyObject *resultobj;
31946 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
31947 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
e811c8ce 31948 int arg3 = (int) (int)-1 ;
d14a1e28
RD
31949 wxPoint const &arg4_defvalue = wxDefaultPosition ;
31950 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
31951 wxSize const &arg5_defvalue = wxDefaultSize ;
31952 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
31953 long arg6 = (long) 0 ;
31954 bool result;
31955 wxPoint temp4 ;
31956 wxSize temp5 ;
31957 PyObject * obj0 = 0 ;
31958 PyObject * obj1 = 0 ;
994141e6 31959 PyObject * obj2 = 0 ;
d14a1e28
RD
31960 PyObject * obj3 = 0 ;
31961 PyObject * obj4 = 0 ;
994141e6 31962 PyObject * obj5 = 0 ;
d14a1e28
RD
31963 char *kwnames[] = {
31964 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
31965 };
31966
994141e6 31967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
31968 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirFilterListCtrl, SWIG_POINTER_EXCEPTION | 0);
31969 if (SWIG_arg_fail(1)) SWIG_fail;
31970 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31971 if (SWIG_arg_fail(2)) SWIG_fail;
994141e6 31972 if (obj2) {
093d3ff1
RD
31973 {
31974 arg3 = (int const)(SWIG_As_int(obj2));
31975 if (SWIG_arg_fail(3)) SWIG_fail;
31976 }
994141e6 31977 }
d14a1e28
RD
31978 if (obj3) {
31979 {
31980 arg4 = &temp4;
31981 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
31982 }
31983 }
31984 if (obj4) {
31985 {
31986 arg5 = &temp5;
31987 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
31988 }
31989 }
994141e6 31990 if (obj5) {
093d3ff1
RD
31991 {
31992 arg6 = (long)(SWIG_As_long(obj5));
31993 if (SWIG_arg_fail(6)) SWIG_fail;
31994 }
994141e6 31995 }
d14a1e28
RD
31996 {
31997 PyThreadState* __tstate = wxPyBeginAllowThreads();
31998 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
31999
32000 wxPyEndAllowThreads(__tstate);
32001 if (PyErr_Occurred()) SWIG_fail;
32002 }
4f89f6a3
RD
32003 {
32004 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32005 }
d14a1e28
RD
32006 return resultobj;
32007 fail:
32008 return NULL;
32009}
32010
32011
c32bde28 32012static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32013 PyObject *resultobj;
32014 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
32015 wxString *arg2 = 0 ;
32016 int arg3 ;
ae8162c8 32017 bool temp2 = false ;
d14a1e28
RD
32018 PyObject * obj0 = 0 ;
32019 PyObject * obj1 = 0 ;
994141e6 32020 PyObject * obj2 = 0 ;
d14a1e28
RD
32021 char *kwnames[] = {
32022 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
32023 };
32024
994141e6 32025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
32026 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirFilterListCtrl, SWIG_POINTER_EXCEPTION | 0);
32027 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
32028 {
32029 arg2 = wxString_in_helper(obj1);
32030 if (arg2 == NULL) SWIG_fail;
ae8162c8 32031 temp2 = true;
d14a1e28 32032 }
093d3ff1
RD
32033 {
32034 arg3 = (int)(SWIG_As_int(obj2));
32035 if (SWIG_arg_fail(3)) SWIG_fail;
32036 }
d14a1e28
RD
32037 {
32038 PyThreadState* __tstate = wxPyBeginAllowThreads();
32039 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
32040
32041 wxPyEndAllowThreads(__tstate);
32042 if (PyErr_Occurred()) SWIG_fail;
32043 }
32044 Py_INCREF(Py_None); resultobj = Py_None;
32045 {
32046 if (temp2)
32047 delete arg2;
32048 }
32049 return resultobj;
32050 fail:
32051 {
32052 if (temp2)
32053 delete arg2;
32054 }
32055 return NULL;
32056}
32057
32058
c32bde28 32059static PyObject * DirFilterListCtrl_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
32060 PyObject *obj;
32061 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32062 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
32063 Py_INCREF(obj);
32064 return Py_BuildValue((char *)"");
32065}
c32bde28 32066static PyObject *_wrap_new_PyControl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32067 PyObject *resultobj;
32068 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 32069 int arg2 = (int) (int)-1 ;
d14a1e28
RD
32070 wxPoint const &arg3_defvalue = wxDefaultPosition ;
32071 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
32072 wxSize const &arg4_defvalue = wxDefaultSize ;
32073 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
32074 long arg5 = (long) 0 ;
32075 wxValidator const &arg6_defvalue = wxDefaultValidator ;
32076 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
32077 wxString const &arg7_defvalue = wxPyControlNameStr ;
32078 wxString *arg7 = (wxString *) &arg7_defvalue ;
32079 wxPyControl *result;
32080 wxPoint temp3 ;
32081 wxSize temp4 ;
ae8162c8 32082 bool temp7 = false ;
d14a1e28 32083 PyObject * obj0 = 0 ;
994141e6 32084 PyObject * obj1 = 0 ;
d14a1e28
RD
32085 PyObject * obj2 = 0 ;
32086 PyObject * obj3 = 0 ;
994141e6 32087 PyObject * obj4 = 0 ;
d14a1e28
RD
32088 PyObject * obj5 = 0 ;
32089 PyObject * obj6 = 0 ;
32090 char *kwnames[] = {
32091 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32092 };
32093
248ed943 32094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_PyControl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
32095 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32096 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 32097 if (obj1) {
093d3ff1
RD
32098 {
32099 arg2 = (int const)(SWIG_As_int(obj1));
32100 if (SWIG_arg_fail(2)) SWIG_fail;
32101 }
248ed943 32102 }
d14a1e28
RD
32103 if (obj2) {
32104 {
32105 arg3 = &temp3;
32106 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
32107 }
32108 }
32109 if (obj3) {
32110 {
32111 arg4 = &temp4;
32112 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
32113 }
32114 }
994141e6 32115 if (obj4) {
093d3ff1
RD
32116 {
32117 arg5 = (long)(SWIG_As_long(obj4));
32118 if (SWIG_arg_fail(5)) SWIG_fail;
32119 }
994141e6 32120 }
d14a1e28 32121 if (obj5) {
093d3ff1
RD
32122 {
32123 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
32124 if (SWIG_arg_fail(6)) SWIG_fail;
32125 if (arg6 == NULL) {
32126 SWIG_null_ref("wxValidator");
32127 }
32128 if (SWIG_arg_fail(6)) SWIG_fail;
d14a1e28
RD
32129 }
32130 }
32131 if (obj6) {
32132 {
32133 arg7 = wxString_in_helper(obj6);
32134 if (arg7 == NULL) SWIG_fail;
ae8162c8 32135 temp7 = true;
d14a1e28
RD
32136 }
32137 }
32138 {
e3b71cb8 32139 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
32140 PyThreadState* __tstate = wxPyBeginAllowThreads();
32141 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
32142
32143 wxPyEndAllowThreads(__tstate);
110da5b0 32144 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 32145 }
15afbcd0 32146 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
d14a1e28
RD
32147 {
32148 if (temp7)
32149 delete arg7;
32150 }
32151 return resultobj;
32152 fail:
32153 {
32154 if (temp7)
32155 delete arg7;
32156 }
32157 return NULL;
32158}
32159
32160
c32bde28 32161static PyObject *_wrap_new_PrePyControl(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
32162 PyObject *resultobj;
32163 wxPyControl *result;
32164 char *kwnames[] = {
32165 NULL
32166 };
32167
32168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyControl",kwnames)) goto fail;
32169 {
e3b71cb8 32170 if (!wxPyCheckForApp()) SWIG_fail;
1cb4a8aa
RD
32171 PyThreadState* __tstate = wxPyBeginAllowThreads();
32172 result = (wxPyControl *)new wxPyControl();
32173
32174 wxPyEndAllowThreads(__tstate);
110da5b0 32175 if (PyErr_Occurred()) SWIG_fail;
1cb4a8aa
RD
32176 }
32177 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
32178 return resultobj;
32179 fail:
32180 return NULL;
32181}
32182
32183
c32bde28 32184static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32185 PyObject *resultobj;
32186 wxPyControl *arg1 = (wxPyControl *) 0 ;
32187 PyObject *arg2 = (PyObject *) 0 ;
32188 PyObject *arg3 = (PyObject *) 0 ;
32189 PyObject * obj0 = 0 ;
32190 PyObject * obj1 = 0 ;
32191 PyObject * obj2 = 0 ;
32192 char *kwnames[] = {
32193 (char *) "self",(char *) "self",(char *) "_class", NULL
32194 };
32195
32196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
32197 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32198 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
32199 arg2 = obj1;
32200 arg3 = obj2;
32201 {
32202 PyThreadState* __tstate = wxPyBeginAllowThreads();
32203 (arg1)->_setCallbackInfo(arg2,arg3);
32204
32205 wxPyEndAllowThreads(__tstate);
32206 if (PyErr_Occurred()) SWIG_fail;
32207 }
32208 Py_INCREF(Py_None); resultobj = Py_None;
32209 return resultobj;
32210 fail:
32211 return NULL;
32212}
32213
32214
c32bde28 32215static PyObject *_wrap_PyControl_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
db3e571a
RD
32216 PyObject *resultobj;
32217 wxPyControl *arg1 = (wxPyControl *) 0 ;
32218 wxSize *arg2 = 0 ;
32219 wxSize temp2 ;
32220 PyObject * obj0 = 0 ;
32221 PyObject * obj1 = 0 ;
32222 char *kwnames[] = {
32223 (char *) "self",(char *) "size", NULL
32224 };
32225
32226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
32227 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32228 if (SWIG_arg_fail(1)) SWIG_fail;
db3e571a
RD
32229 {
32230 arg2 = &temp2;
32231 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
32232 }
32233 {
32234 PyThreadState* __tstate = wxPyBeginAllowThreads();
32235 (arg1)->SetBestSize((wxSize const &)*arg2);
32236
32237 wxPyEndAllowThreads(__tstate);
32238 if (PyErr_Occurred()) SWIG_fail;
32239 }
32240 Py_INCREF(Py_None); resultobj = Py_None;
32241 return resultobj;
32242 fail:
32243 return NULL;
32244}
32245
32246
c32bde28 32247static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32248 PyObject *resultobj;
32249 wxPyControl *arg1 = (wxPyControl *) 0 ;
32250 int arg2 ;
32251 int arg3 ;
32252 int arg4 ;
32253 int arg5 ;
32254 PyObject * obj0 = 0 ;
994141e6
RD
32255 PyObject * obj1 = 0 ;
32256 PyObject * obj2 = 0 ;
32257 PyObject * obj3 = 0 ;
32258 PyObject * obj4 = 0 ;
d14a1e28
RD
32259 char *kwnames[] = {
32260 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
32261 };
32262
994141e6 32263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
32264 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32265 if (SWIG_arg_fail(1)) SWIG_fail;
32266 {
32267 arg2 = (int)(SWIG_As_int(obj1));
32268 if (SWIG_arg_fail(2)) SWIG_fail;
32269 }
32270 {
32271 arg3 = (int)(SWIG_As_int(obj2));
32272 if (SWIG_arg_fail(3)) SWIG_fail;
32273 }
32274 {
32275 arg4 = (int)(SWIG_As_int(obj3));
32276 if (SWIG_arg_fail(4)) SWIG_fail;
32277 }
32278 {
32279 arg5 = (int)(SWIG_As_int(obj4));
32280 if (SWIG_arg_fail(5)) SWIG_fail;
32281 }
d14a1e28
RD
32282 {
32283 PyThreadState* __tstate = wxPyBeginAllowThreads();
32284 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
32285
32286 wxPyEndAllowThreads(__tstate);
32287 if (PyErr_Occurred()) SWIG_fail;
32288 }
32289 Py_INCREF(Py_None); resultobj = Py_None;
32290 return resultobj;
32291 fail:
32292 return NULL;
32293}
32294
32295
c32bde28 32296static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32297 PyObject *resultobj;
32298 wxPyControl *arg1 = (wxPyControl *) 0 ;
32299 int arg2 ;
32300 int arg3 ;
32301 int arg4 ;
32302 int arg5 ;
32303 int arg6 = (int) wxSIZE_AUTO ;
32304 PyObject * obj0 = 0 ;
994141e6
RD
32305 PyObject * obj1 = 0 ;
32306 PyObject * obj2 = 0 ;
32307 PyObject * obj3 = 0 ;
32308 PyObject * obj4 = 0 ;
32309 PyObject * obj5 = 0 ;
d14a1e28
RD
32310 char *kwnames[] = {
32311 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
32312 };
32313
994141e6 32314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
32315 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32316 if (SWIG_arg_fail(1)) SWIG_fail;
32317 {
32318 arg2 = (int)(SWIG_As_int(obj1));
32319 if (SWIG_arg_fail(2)) SWIG_fail;
32320 }
32321 {
32322 arg3 = (int)(SWIG_As_int(obj2));
32323 if (SWIG_arg_fail(3)) SWIG_fail;
32324 }
32325 {
32326 arg4 = (int)(SWIG_As_int(obj3));
32327 if (SWIG_arg_fail(4)) SWIG_fail;
32328 }
32329 {
32330 arg5 = (int)(SWIG_As_int(obj4));
32331 if (SWIG_arg_fail(5)) SWIG_fail;
32332 }
994141e6 32333 if (obj5) {
093d3ff1
RD
32334 {
32335 arg6 = (int)(SWIG_As_int(obj5));
32336 if (SWIG_arg_fail(6)) SWIG_fail;
32337 }
994141e6 32338 }
d14a1e28
RD
32339 {
32340 PyThreadState* __tstate = wxPyBeginAllowThreads();
32341 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
32342
32343 wxPyEndAllowThreads(__tstate);
32344 if (PyErr_Occurred()) SWIG_fail;
32345 }
32346 Py_INCREF(Py_None); resultobj = Py_None;
32347 return resultobj;
32348 fail:
32349 return NULL;
32350}
32351
32352
c32bde28 32353static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32354 PyObject *resultobj;
32355 wxPyControl *arg1 = (wxPyControl *) 0 ;
32356 int arg2 ;
32357 int arg3 ;
32358 PyObject * obj0 = 0 ;
994141e6
RD
32359 PyObject * obj1 = 0 ;
32360 PyObject * obj2 = 0 ;
d14a1e28
RD
32361 char *kwnames[] = {
32362 (char *) "self",(char *) "width",(char *) "height", NULL
32363 };
32364
994141e6 32365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
32366 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32367 if (SWIG_arg_fail(1)) SWIG_fail;
32368 {
32369 arg2 = (int)(SWIG_As_int(obj1));
32370 if (SWIG_arg_fail(2)) SWIG_fail;
32371 }
32372 {
32373 arg3 = (int)(SWIG_As_int(obj2));
32374 if (SWIG_arg_fail(3)) SWIG_fail;
32375 }
d14a1e28
RD
32376 {
32377 PyThreadState* __tstate = wxPyBeginAllowThreads();
32378 (arg1)->base_DoSetClientSize(arg2,arg3);
32379
32380 wxPyEndAllowThreads(__tstate);
32381 if (PyErr_Occurred()) SWIG_fail;
32382 }
32383 Py_INCREF(Py_None); resultobj = Py_None;
32384 return resultobj;
32385 fail:
32386 return NULL;
32387}
32388
32389
c32bde28 32390static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32391 PyObject *resultobj;
32392 wxPyControl *arg1 = (wxPyControl *) 0 ;
32393 int arg2 ;
32394 int arg3 ;
32395 PyObject * obj0 = 0 ;
994141e6
RD
32396 PyObject * obj1 = 0 ;
32397 PyObject * obj2 = 0 ;
d14a1e28
RD
32398 char *kwnames[] = {
32399 (char *) "self",(char *) "x",(char *) "y", NULL
32400 };
32401
994141e6 32402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
32403 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32404 if (SWIG_arg_fail(1)) SWIG_fail;
32405 {
32406 arg2 = (int)(SWIG_As_int(obj1));
32407 if (SWIG_arg_fail(2)) SWIG_fail;
32408 }
32409 {
32410 arg3 = (int)(SWIG_As_int(obj2));
32411 if (SWIG_arg_fail(3)) SWIG_fail;
32412 }
d14a1e28
RD
32413 {
32414 PyThreadState* __tstate = wxPyBeginAllowThreads();
32415 (arg1)->base_DoSetVirtualSize(arg2,arg3);
32416
32417 wxPyEndAllowThreads(__tstate);
32418 if (PyErr_Occurred()) SWIG_fail;
32419 }
32420 Py_INCREF(Py_None); resultobj = Py_None;
32421 return resultobj;
32422 fail:
32423 return NULL;
32424}
32425
32426
c32bde28 32427static PyObject *_wrap_PyControl_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32428 PyObject *resultobj;
32429 wxPyControl *arg1 = (wxPyControl *) 0 ;
32430 int *arg2 = (int *) 0 ;
32431 int *arg3 = (int *) 0 ;
32432 int temp2 ;
c32bde28 32433 int res2 = 0 ;
d14a1e28 32434 int temp3 ;
c32bde28 32435 int res3 = 0 ;
d14a1e28
RD
32436 PyObject * obj0 = 0 ;
32437 char *kwnames[] = {
32438 (char *) "self", NULL
32439 };
32440
c32bde28
RD
32441 arg2 = &temp2; res2 = SWIG_NEWOBJ;
32442 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 32443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
32444 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32445 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
32446 {
32447 PyThreadState* __tstate = wxPyBeginAllowThreads();
32448 ((wxPyControl const *)arg1)->base_DoGetSize(arg2,arg3);
32449
32450 wxPyEndAllowThreads(__tstate);
32451 if (PyErr_Occurred()) SWIG_fail;
32452 }
32453 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
32454 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
32455 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
32456 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
32457 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
32458 return resultobj;
32459 fail:
32460 return NULL;
32461}
32462
32463
c32bde28 32464static PyObject *_wrap_PyControl_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32465 PyObject *resultobj;
32466 wxPyControl *arg1 = (wxPyControl *) 0 ;
32467 int *arg2 = (int *) 0 ;
32468 int *arg3 = (int *) 0 ;
32469 int temp2 ;
c32bde28 32470 int res2 = 0 ;
d14a1e28 32471 int temp3 ;
c32bde28 32472 int res3 = 0 ;
d14a1e28
RD
32473 PyObject * obj0 = 0 ;
32474 char *kwnames[] = {
32475 (char *) "self", NULL
32476 };
32477
c32bde28
RD
32478 arg2 = &temp2; res2 = SWIG_NEWOBJ;
32479 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 32480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetClientSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
32481 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32482 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
32483 {
32484 PyThreadState* __tstate = wxPyBeginAllowThreads();
32485 ((wxPyControl const *)arg1)->base_DoGetClientSize(arg2,arg3);
32486
32487 wxPyEndAllowThreads(__tstate);
32488 if (PyErr_Occurred()) SWIG_fail;
32489 }
32490 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
32491 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
32492 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
32493 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
32494 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
32495 return resultobj;
32496 fail:
32497 return NULL;
32498}
32499
32500
c32bde28 32501static PyObject *_wrap_PyControl_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32502 PyObject *resultobj;
32503 wxPyControl *arg1 = (wxPyControl *) 0 ;
32504 int *arg2 = (int *) 0 ;
32505 int *arg3 = (int *) 0 ;
32506 int temp2 ;
c32bde28 32507 int res2 = 0 ;
d14a1e28 32508 int temp3 ;
c32bde28 32509 int res3 = 0 ;
d14a1e28
RD
32510 PyObject * obj0 = 0 ;
32511 char *kwnames[] = {
32512 (char *) "self", NULL
32513 };
32514
c32bde28
RD
32515 arg2 = &temp2; res2 = SWIG_NEWOBJ;
32516 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 32517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
32518 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32519 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
32520 {
32521 PyThreadState* __tstate = wxPyBeginAllowThreads();
32522 ((wxPyControl const *)arg1)->base_DoGetPosition(arg2,arg3);
32523
32524 wxPyEndAllowThreads(__tstate);
32525 if (PyErr_Occurred()) SWIG_fail;
32526 }
32527 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
32528 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
32529 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
32530 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
32531 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
32532 return resultobj;
32533 fail:
32534 return NULL;
32535}
32536
32537
c32bde28 32538static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32539 PyObject *resultobj;
32540 wxPyControl *arg1 = (wxPyControl *) 0 ;
32541 wxSize result;
32542 PyObject * obj0 = 0 ;
32543 char *kwnames[] = {
32544 (char *) "self", NULL
32545 };
32546
32547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
32548 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32549 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
32550 {
32551 PyThreadState* __tstate = wxPyBeginAllowThreads();
32552 result = ((wxPyControl const *)arg1)->base_DoGetVirtualSize();
32553
32554 wxPyEndAllowThreads(__tstate);
32555 if (PyErr_Occurred()) SWIG_fail;
32556 }
32557 {
32558 wxSize * resultptr;
093d3ff1 32559 resultptr = new wxSize((wxSize &)(result));
15afbcd0 32560 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
32561 }
32562 return resultobj;
32563 fail:
32564 return NULL;
32565}
32566
32567
c32bde28 32568static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32569 PyObject *resultobj;
32570 wxPyControl *arg1 = (wxPyControl *) 0 ;
32571 wxSize result;
32572 PyObject * obj0 = 0 ;
32573 char *kwnames[] = {
32574 (char *) "self", NULL
32575 };
32576
32577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetBestSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
32578 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32579 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
32580 {
32581 PyThreadState* __tstate = wxPyBeginAllowThreads();
32582 result = ((wxPyControl const *)arg1)->base_DoGetBestSize();
32583
32584 wxPyEndAllowThreads(__tstate);
32585 if (PyErr_Occurred()) SWIG_fail;
32586 }
32587 {
32588 wxSize * resultptr;
093d3ff1 32589 resultptr = new wxSize((wxSize &)(result));
15afbcd0 32590 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
32591 }
32592 return resultobj;
32593 fail:
32594 return NULL;
32595}
32596
32597
c32bde28 32598static PyObject *_wrap_PyControl_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32599 PyObject *resultobj;
32600 wxPyControl *arg1 = (wxPyControl *) 0 ;
32601 PyObject * obj0 = 0 ;
32602 char *kwnames[] = {
32603 (char *) "self", NULL
32604 };
32605
32606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_InitDialog",kwnames,&obj0)) goto fail;
093d3ff1
RD
32607 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32608 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
32609 {
32610 PyThreadState* __tstate = wxPyBeginAllowThreads();
32611 (arg1)->base_InitDialog();
32612
32613 wxPyEndAllowThreads(__tstate);
32614 if (PyErr_Occurred()) SWIG_fail;
32615 }
32616 Py_INCREF(Py_None); resultobj = Py_None;
32617 return resultobj;
32618 fail:
32619 return NULL;
32620}
32621
32622
c32bde28 32623static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32624 PyObject *resultobj;
32625 wxPyControl *arg1 = (wxPyControl *) 0 ;
32626 bool result;
32627 PyObject * obj0 = 0 ;
32628 char *kwnames[] = {
32629 (char *) "self", NULL
32630 };
32631
32632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
32633 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32634 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
32635 {
32636 PyThreadState* __tstate = wxPyBeginAllowThreads();
32637 result = (bool)(arg1)->base_TransferDataToWindow();
32638
32639 wxPyEndAllowThreads(__tstate);
32640 if (PyErr_Occurred()) SWIG_fail;
32641 }
4f89f6a3
RD
32642 {
32643 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32644 }
d14a1e28
RD
32645 return resultobj;
32646 fail:
32647 return NULL;
32648}
32649
32650
c32bde28 32651static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32652 PyObject *resultobj;
32653 wxPyControl *arg1 = (wxPyControl *) 0 ;
32654 bool result;
32655 PyObject * obj0 = 0 ;
32656 char *kwnames[] = {
32657 (char *) "self", NULL
32658 };
32659
32660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
32661 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32662 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
32663 {
32664 PyThreadState* __tstate = wxPyBeginAllowThreads();
32665 result = (bool)(arg1)->base_TransferDataFromWindow();
32666
32667 wxPyEndAllowThreads(__tstate);
32668 if (PyErr_Occurred()) SWIG_fail;
32669 }
4f89f6a3
RD
32670 {
32671 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32672 }
d14a1e28
RD
32673 return resultobj;
32674 fail:
32675 return NULL;
32676}
32677
32678
c32bde28 32679static PyObject *_wrap_PyControl_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32680 PyObject *resultobj;
32681 wxPyControl *arg1 = (wxPyControl *) 0 ;
32682 bool result;
32683 PyObject * obj0 = 0 ;
32684 char *kwnames[] = {
32685 (char *) "self", NULL
32686 };
32687
32688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_Validate",kwnames,&obj0)) goto fail;
093d3ff1
RD
32689 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32690 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
32691 {
32692 PyThreadState* __tstate = wxPyBeginAllowThreads();
32693 result = (bool)(arg1)->base_Validate();
32694
32695 wxPyEndAllowThreads(__tstate);
32696 if (PyErr_Occurred()) SWIG_fail;
32697 }
4f89f6a3
RD
32698 {
32699 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32700 }
d14a1e28
RD
32701 return resultobj;
32702 fail:
32703 return NULL;
32704}
32705
32706
c32bde28 32707static PyObject *_wrap_PyControl_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32708 PyObject *resultobj;
32709 wxPyControl *arg1 = (wxPyControl *) 0 ;
32710 bool result;
32711 PyObject * obj0 = 0 ;
32712 char *kwnames[] = {
32713 (char *) "self", NULL
32714 };
32715
32716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocus",kwnames,&obj0)) goto fail;
093d3ff1
RD
32717 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32718 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
32719 {
32720 PyThreadState* __tstate = wxPyBeginAllowThreads();
32721 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocus();
32722
32723 wxPyEndAllowThreads(__tstate);
32724 if (PyErr_Occurred()) SWIG_fail;
32725 }
4f89f6a3
RD
32726 {
32727 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32728 }
d14a1e28
RD
32729 return resultobj;
32730 fail:
32731 return NULL;
32732}
32733
32734
c32bde28 32735static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32736 PyObject *resultobj;
32737 wxPyControl *arg1 = (wxPyControl *) 0 ;
32738 bool result;
32739 PyObject * obj0 = 0 ;
32740 char *kwnames[] = {
32741 (char *) "self", NULL
32742 };
32743
32744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
093d3ff1
RD
32745 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32746 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
32747 {
32748 PyThreadState* __tstate = wxPyBeginAllowThreads();
32749 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocusFromKeyboard();
32750
32751 wxPyEndAllowThreads(__tstate);
32752 if (PyErr_Occurred()) SWIG_fail;
32753 }
4f89f6a3
RD
32754 {
32755 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32756 }
d14a1e28
RD
32757 return resultobj;
32758 fail:
32759 return NULL;
32760}
32761
32762
c32bde28 32763static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32764 PyObject *resultobj;
32765 wxPyControl *arg1 = (wxPyControl *) 0 ;
32766 wxSize result;
32767 PyObject * obj0 = 0 ;
32768 char *kwnames[] = {
32769 (char *) "self", NULL
32770 };
32771
32772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetMaxSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
32773 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32774 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
32775 {
32776 PyThreadState* __tstate = wxPyBeginAllowThreads();
32777 result = ((wxPyControl const *)arg1)->base_GetMaxSize();
32778
32779 wxPyEndAllowThreads(__tstate);
32780 if (PyErr_Occurred()) SWIG_fail;
32781 }
32782 {
32783 wxSize * resultptr;
093d3ff1 32784 resultptr = new wxSize((wxSize &)(result));
15afbcd0 32785 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
32786 }
32787 return resultobj;
32788 fail:
32789 return NULL;
32790}
32791
32792
c32bde28 32793static PyObject *_wrap_PyControl_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32794 PyObject *resultobj;
32795 wxPyControl *arg1 = (wxPyControl *) 0 ;
32796 wxWindow *arg2 = (wxWindow *) 0 ;
32797 PyObject * obj0 = 0 ;
32798 PyObject * obj1 = 0 ;
32799 char *kwnames[] = {
32800 (char *) "self",(char *) "child", NULL
32801 };
32802
32803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
32804 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32805 if (SWIG_arg_fail(1)) SWIG_fail;
32806 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32807 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
32808 {
32809 PyThreadState* __tstate = wxPyBeginAllowThreads();
32810 (arg1)->base_AddChild(arg2);
32811
32812 wxPyEndAllowThreads(__tstate);
32813 if (PyErr_Occurred()) SWIG_fail;
32814 }
32815 Py_INCREF(Py_None); resultobj = Py_None;
32816 return resultobj;
32817 fail:
32818 return NULL;
32819}
32820
32821
c32bde28 32822static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32823 PyObject *resultobj;
32824 wxPyControl *arg1 = (wxPyControl *) 0 ;
32825 wxWindow *arg2 = (wxWindow *) 0 ;
32826 PyObject * obj0 = 0 ;
32827 PyObject * obj1 = 0 ;
32828 char *kwnames[] = {
32829 (char *) "self",(char *) "child", NULL
32830 };
32831
32832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
32833 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32834 if (SWIG_arg_fail(1)) SWIG_fail;
32835 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32836 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
32837 {
32838 PyThreadState* __tstate = wxPyBeginAllowThreads();
32839 (arg1)->base_RemoveChild(arg2);
32840
32841 wxPyEndAllowThreads(__tstate);
32842 if (PyErr_Occurred()) SWIG_fail;
32843 }
32844 Py_INCREF(Py_None); resultobj = Py_None;
32845 return resultobj;
32846 fail:
32847 return NULL;
32848}
32849
32850
c32bde28 32851static PyObject *_wrap_PyControl_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
32852 PyObject *resultobj;
32853 wxPyControl *arg1 = (wxPyControl *) 0 ;
32854 bool result;
32855 PyObject * obj0 = 0 ;
32856 char *kwnames[] = {
32857 (char *) "self", NULL
32858 };
32859
32860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
093d3ff1
RD
32861 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32862 if (SWIG_arg_fail(1)) SWIG_fail;
1cb4a8aa
RD
32863 {
32864 PyThreadState* __tstate = wxPyBeginAllowThreads();
db3e571a 32865 result = (bool)((wxPyControl const *)arg1)->base_ShouldInheritColours();
1cb4a8aa
RD
32866
32867 wxPyEndAllowThreads(__tstate);
32868 if (PyErr_Occurred()) SWIG_fail;
32869 }
32870 {
32871 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32872 }
32873 return resultobj;
32874 fail:
32875 return NULL;
32876}
32877
32878
c32bde28 32879static PyObject *_wrap_PyControl_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
32880 PyObject *resultobj;
32881 wxPyControl *arg1 = (wxPyControl *) 0 ;
32882 wxColour *arg2 = 0 ;
32883 wxColour temp2 ;
32884 PyObject * obj0 = 0 ;
32885 PyObject * obj1 = 0 ;
32886 char *kwnames[] = {
32887 (char *) "self",(char *) "c", NULL
32888 };
32889
32890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
32891 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32892 if (SWIG_arg_fail(1)) SWIG_fail;
1cb4a8aa
RD
32893 {
32894 arg2 = &temp2;
32895 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
32896 }
32897 {
32898 PyThreadState* __tstate = wxPyBeginAllowThreads();
32899 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
32900
32901 wxPyEndAllowThreads(__tstate);
32902 if (PyErr_Occurred()) SWIG_fail;
32903 }
32904 Py_INCREF(Py_None); resultobj = Py_None;
32905 return resultobj;
32906 fail:
32907 return NULL;
32908}
32909
32910
c32bde28 32911static PyObject *_wrap_PyControl_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
db3e571a
RD
32912 PyObject *resultobj;
32913 wxPyControl *arg1 = (wxPyControl *) 0 ;
32914 wxVisualAttributes result;
32915 PyObject * obj0 = 0 ;
32916 char *kwnames[] = {
32917 (char *) "self", NULL
32918 };
32919
32920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
093d3ff1
RD
32921 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32922 if (SWIG_arg_fail(1)) SWIG_fail;
db3e571a
RD
32923 {
32924 PyThreadState* __tstate = wxPyBeginAllowThreads();
32925 result = (arg1)->base_GetDefaultAttributes();
32926
32927 wxPyEndAllowThreads(__tstate);
32928 if (PyErr_Occurred()) SWIG_fail;
32929 }
32930 {
32931 wxVisualAttributes * resultptr;
093d3ff1 32932 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
db3e571a
RD
32933 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
32934 }
32935 return resultobj;
32936 fail:
32937 return NULL;
32938}
32939
32940
c32bde28 32941static PyObject * PyControl_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
32942 PyObject *obj;
32943 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32944 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
32945 Py_INCREF(obj);
32946 return Py_BuildValue((char *)"");
32947}
c32bde28 32948static PyObject *_wrap_new_HelpEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32949 PyObject *resultobj;
32950 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
e811c8ce 32951 int arg2 = (int) 0 ;
d14a1e28
RD
32952 wxPoint const &arg3_defvalue = wxDefaultPosition ;
32953 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
32954 wxHelpEvent *result;
32955 wxPoint temp3 ;
994141e6
RD
32956 PyObject * obj0 = 0 ;
32957 PyObject * obj1 = 0 ;
d14a1e28
RD
32958 PyObject * obj2 = 0 ;
32959 char *kwnames[] = {
32960 (char *) "type",(char *) "winid",(char *) "pt", NULL
32961 };
32962
994141e6
RD
32963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_HelpEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
32964 if (obj0) {
093d3ff1
RD
32965 {
32966 arg1 = (wxEventType)(SWIG_As_int(obj0));
32967 if (SWIG_arg_fail(1)) SWIG_fail;
32968 }
994141e6
RD
32969 }
32970 if (obj1) {
093d3ff1
RD
32971 {
32972 arg2 = (int)(SWIG_As_int(obj1));
32973 if (SWIG_arg_fail(2)) SWIG_fail;
32974 }
994141e6 32975 }
d14a1e28
RD
32976 if (obj2) {
32977 {
32978 arg3 = &temp3;
32979 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
32980 }
32981 }
32982 {
32983 PyThreadState* __tstate = wxPyBeginAllowThreads();
32984 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
32985
32986 wxPyEndAllowThreads(__tstate);
32987 if (PyErr_Occurred()) SWIG_fail;
32988 }
15afbcd0 32989 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpEvent, 1);
d14a1e28
RD
32990 return resultobj;
32991 fail:
32992 return NULL;
32993}
32994
32995
c32bde28 32996static PyObject *_wrap_HelpEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32997 PyObject *resultobj;
32998 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
15afbcd0 32999 wxPoint result;
d14a1e28
RD
33000 PyObject * obj0 = 0 ;
33001 char *kwnames[] = {
33002 (char *) "self", NULL
33003 };
33004
33005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
33006 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33007 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
33008 {
33009 PyThreadState* __tstate = wxPyBeginAllowThreads();
15afbcd0 33010 result = ((wxHelpEvent const *)arg1)->GetPosition();
d14a1e28
RD
33011
33012 wxPyEndAllowThreads(__tstate);
33013 if (PyErr_Occurred()) SWIG_fail;
33014 }
15afbcd0
RD
33015 {
33016 wxPoint * resultptr;
093d3ff1 33017 resultptr = new wxPoint((wxPoint const &)(result));
15afbcd0
RD
33018 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
33019 }
d14a1e28
RD
33020 return resultobj;
33021 fail:
33022 return NULL;
33023}
33024
33025
c32bde28 33026static PyObject *_wrap_HelpEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33027 PyObject *resultobj;
33028 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33029 wxPoint *arg2 = 0 ;
33030 wxPoint temp2 ;
33031 PyObject * obj0 = 0 ;
33032 PyObject * obj1 = 0 ;
33033 char *kwnames[] = {
33034 (char *) "self",(char *) "pos", NULL
33035 };
33036
33037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
33038 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33039 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
33040 {
33041 arg2 = &temp2;
33042 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
33043 }
33044 {
33045 PyThreadState* __tstate = wxPyBeginAllowThreads();
33046 (arg1)->SetPosition((wxPoint const &)*arg2);
33047
33048 wxPyEndAllowThreads(__tstate);
33049 if (PyErr_Occurred()) SWIG_fail;
33050 }
33051 Py_INCREF(Py_None); resultobj = Py_None;
33052 return resultobj;
33053 fail:
33054 return NULL;
33055}
33056
33057
c32bde28 33058static PyObject *_wrap_HelpEvent_GetLink(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33059 PyObject *resultobj;
33060 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33061 wxString *result;
33062 PyObject * obj0 = 0 ;
33063 char *kwnames[] = {
33064 (char *) "self", NULL
33065 };
33066
33067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) goto fail;
093d3ff1
RD
33068 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33069 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
33070 {
33071 PyThreadState* __tstate = wxPyBeginAllowThreads();
33072 {
33073 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
33074 result = (wxString *) &_result_ref;
33075 }
33076
33077 wxPyEndAllowThreads(__tstate);
33078 if (PyErr_Occurred()) SWIG_fail;
33079 }
cc6dd355
RD
33080 {
33081#if wxUSE_UNICODE
33082 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
33083#else
33084 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
33085#endif
33086 }
d14a1e28
RD
33087 return resultobj;
33088 fail:
33089 return NULL;
33090}
33091
33092
c32bde28 33093static PyObject *_wrap_HelpEvent_SetLink(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33094 PyObject *resultobj;
33095 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33096 wxString *arg2 = 0 ;
ae8162c8 33097 bool temp2 = false ;
d14a1e28
RD
33098 PyObject * obj0 = 0 ;
33099 PyObject * obj1 = 0 ;
33100 char *kwnames[] = {
33101 (char *) "self",(char *) "link", NULL
33102 };
33103
33104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
33105 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33106 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
33107 {
33108 arg2 = wxString_in_helper(obj1);
33109 if (arg2 == NULL) SWIG_fail;
ae8162c8 33110 temp2 = true;
d14a1e28
RD
33111 }
33112 {
33113 PyThreadState* __tstate = wxPyBeginAllowThreads();
33114 (arg1)->SetLink((wxString const &)*arg2);
33115
33116 wxPyEndAllowThreads(__tstate);
33117 if (PyErr_Occurred()) SWIG_fail;
33118 }
33119 Py_INCREF(Py_None); resultobj = Py_None;
33120 {
33121 if (temp2)
33122 delete arg2;
33123 }
33124 return resultobj;
33125 fail:
33126 {
33127 if (temp2)
33128 delete arg2;
33129 }
33130 return NULL;
33131}
33132
33133
c32bde28 33134static PyObject *_wrap_HelpEvent_GetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33135 PyObject *resultobj;
33136 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33137 wxString *result;
33138 PyObject * obj0 = 0 ;
33139 char *kwnames[] = {
33140 (char *) "self", NULL
33141 };
33142
33143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) goto fail;
093d3ff1
RD
33144 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33145 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
33146 {
33147 PyThreadState* __tstate = wxPyBeginAllowThreads();
33148 {
33149 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
33150 result = (wxString *) &_result_ref;
33151 }
33152
33153 wxPyEndAllowThreads(__tstate);
33154 if (PyErr_Occurred()) SWIG_fail;
33155 }
cc6dd355
RD
33156 {
33157#if wxUSE_UNICODE
33158 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
33159#else
33160 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
33161#endif
33162 }
d14a1e28
RD
33163 return resultobj;
33164 fail:
33165 return NULL;
33166}
33167
33168
c32bde28 33169static PyObject *_wrap_HelpEvent_SetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33170 PyObject *resultobj;
33171 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33172 wxString *arg2 = 0 ;
ae8162c8 33173 bool temp2 = false ;
d14a1e28
RD
33174 PyObject * obj0 = 0 ;
33175 PyObject * obj1 = 0 ;
33176 char *kwnames[] = {
33177 (char *) "self",(char *) "target", NULL
33178 };
33179
33180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
33181 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33182 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
33183 {
33184 arg2 = wxString_in_helper(obj1);
33185 if (arg2 == NULL) SWIG_fail;
ae8162c8 33186 temp2 = true;
d14a1e28
RD
33187 }
33188 {
33189 PyThreadState* __tstate = wxPyBeginAllowThreads();
33190 (arg1)->SetTarget((wxString const &)*arg2);
33191
33192 wxPyEndAllowThreads(__tstate);
33193 if (PyErr_Occurred()) SWIG_fail;
33194 }
33195 Py_INCREF(Py_None); resultobj = Py_None;
33196 {
33197 if (temp2)
33198 delete arg2;
33199 }
33200 return resultobj;
33201 fail:
33202 {
33203 if (temp2)
33204 delete arg2;
33205 }
33206 return NULL;
33207}
33208
33209
c32bde28 33210static PyObject * HelpEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
33211 PyObject *obj;
33212 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33213 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
33214 Py_INCREF(obj);
33215 return Py_BuildValue((char *)"");
33216}
c32bde28 33217static PyObject *_wrap_new_ContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33218 PyObject *resultobj;
33219 wxWindow *arg1 = (wxWindow *) NULL ;
ae8162c8 33220 bool arg2 = (bool) true ;
d14a1e28
RD
33221 wxContextHelp *result;
33222 PyObject * obj0 = 0 ;
33223 PyObject * obj1 = 0 ;
33224 char *kwnames[] = {
33225 (char *) "window",(char *) "doNow", NULL
33226 };
33227
33228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
33229 if (obj0) {
093d3ff1
RD
33230 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33231 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
33232 }
33233 if (obj1) {
093d3ff1
RD
33234 {
33235 arg2 = (bool)(SWIG_As_bool(obj1));
33236 if (SWIG_arg_fail(2)) SWIG_fail;
33237 }
d14a1e28
RD
33238 }
33239 {
e3b71cb8 33240 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
33241 PyThreadState* __tstate = wxPyBeginAllowThreads();
33242 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
33243
33244 wxPyEndAllowThreads(__tstate);
110da5b0 33245 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 33246 }
15afbcd0 33247 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelp, 1);
d14a1e28
RD
33248 return resultobj;
33249 fail:
33250 return NULL;
33251}
33252
33253
c32bde28 33254static PyObject *_wrap_delete_ContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33255 PyObject *resultobj;
33256 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
33257 PyObject * obj0 = 0 ;
33258 char *kwnames[] = {
33259 (char *) "self", NULL
33260 };
33261
33262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
093d3ff1
RD
33263 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextHelp, SWIG_POINTER_EXCEPTION | 0);
33264 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
33265 {
33266 PyThreadState* __tstate = wxPyBeginAllowThreads();
33267 delete arg1;
33268
33269 wxPyEndAllowThreads(__tstate);
33270 if (PyErr_Occurred()) SWIG_fail;
33271 }
33272 Py_INCREF(Py_None); resultobj = Py_None;
33273 return resultobj;
33274 fail:
33275 return NULL;
33276}
33277
33278
c32bde28 33279static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33280 PyObject *resultobj;
33281 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
33282 wxWindow *arg2 = (wxWindow *) NULL ;
33283 bool result;
33284 PyObject * obj0 = 0 ;
33285 PyObject * obj1 = 0 ;
33286 char *kwnames[] = {
33287 (char *) "self",(char *) "window", NULL
33288 };
33289
33290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
33291 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextHelp, SWIG_POINTER_EXCEPTION | 0);
33292 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 33293 if (obj1) {
093d3ff1
RD
33294 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33295 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
33296 }
33297 {
33298 PyThreadState* __tstate = wxPyBeginAllowThreads();
33299 result = (bool)(arg1)->BeginContextHelp(arg2);
33300
33301 wxPyEndAllowThreads(__tstate);
33302 if (PyErr_Occurred()) SWIG_fail;
33303 }
4f89f6a3
RD
33304 {
33305 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33306 }
d14a1e28
RD
33307 return resultobj;
33308 fail:
33309 return NULL;
33310}
33311
33312
c32bde28 33313static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33314 PyObject *resultobj;
33315 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
33316 bool result;
33317 PyObject * obj0 = 0 ;
33318 char *kwnames[] = {
33319 (char *) "self", NULL
33320 };
33321
33322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
093d3ff1
RD
33323 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextHelp, SWIG_POINTER_EXCEPTION | 0);
33324 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
33325 {
33326 PyThreadState* __tstate = wxPyBeginAllowThreads();
33327 result = (bool)(arg1)->EndContextHelp();
33328
33329 wxPyEndAllowThreads(__tstate);
33330 if (PyErr_Occurred()) SWIG_fail;
33331 }
4f89f6a3
RD
33332 {
33333 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33334 }
d14a1e28
RD
33335 return resultobj;
33336 fail:
33337 return NULL;
33338}
33339
33340
c32bde28 33341static PyObject * ContextHelp_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
33342 PyObject *obj;
33343 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33344 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
33345 Py_INCREF(obj);
33346 return Py_BuildValue((char *)"");
33347}
c32bde28 33348static PyObject *_wrap_new_ContextHelpButton(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33349 PyObject *resultobj;
33350 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 33351 int arg2 = (int) wxID_CONTEXT_HELP ;
d14a1e28
RD
33352 wxPoint const &arg3_defvalue = wxDefaultPosition ;
33353 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
33354 wxSize const &arg4_defvalue = wxDefaultSize ;
33355 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
33356 long arg5 = (long) wxBU_AUTODRAW ;
33357 wxContextHelpButton *result;
33358 wxPoint temp3 ;
33359 wxSize temp4 ;
33360 PyObject * obj0 = 0 ;
994141e6 33361 PyObject * obj1 = 0 ;
d14a1e28
RD
33362 PyObject * obj2 = 0 ;
33363 PyObject * obj3 = 0 ;
994141e6 33364 PyObject * obj4 = 0 ;
d14a1e28
RD
33365 char *kwnames[] = {
33366 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
33367 };
33368
994141e6 33369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ContextHelpButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
33370 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33371 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 33372 if (obj1) {
093d3ff1
RD
33373 {
33374 arg2 = (int)(SWIG_As_int(obj1));
33375 if (SWIG_arg_fail(2)) SWIG_fail;
33376 }
994141e6 33377 }
d14a1e28
RD
33378 if (obj2) {
33379 {
33380 arg3 = &temp3;
33381 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
33382 }
33383 }
33384 if (obj3) {
33385 {
33386 arg4 = &temp4;
33387 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
33388 }
33389 }
994141e6 33390 if (obj4) {
093d3ff1
RD
33391 {
33392 arg5 = (long)(SWIG_As_long(obj4));
33393 if (SWIG_arg_fail(5)) SWIG_fail;
33394 }
994141e6 33395 }
d14a1e28 33396 {
e3b71cb8 33397 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
33398 PyThreadState* __tstate = wxPyBeginAllowThreads();
33399 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
33400
33401 wxPyEndAllowThreads(__tstate);
110da5b0 33402 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 33403 }
15afbcd0 33404 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelpButton, 1);
d14a1e28
RD
33405 return resultobj;
33406 fail:
33407 return NULL;
33408}
33409
33410
c32bde28 33411static PyObject * ContextHelpButton_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
33412 PyObject *obj;
33413 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33414 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
33415 Py_INCREF(obj);
33416 return Py_BuildValue((char *)"");
33417}
c32bde28 33418static PyObject *_wrap_HelpProvider_Set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33419 PyObject *resultobj;
33420 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33421 wxHelpProvider *result;
33422 PyObject * obj0 = 0 ;
33423 char *kwnames[] = {
33424 (char *) "helpProvider", NULL
33425 };
33426
33427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
093d3ff1
RD
33428 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33429 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
33430 {
33431 PyThreadState* __tstate = wxPyBeginAllowThreads();
33432 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
33433
33434 wxPyEndAllowThreads(__tstate);
33435 if (PyErr_Occurred()) SWIG_fail;
33436 }
15afbcd0 33437 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
d14a1e28
RD
33438 return resultobj;
33439 fail:
33440 return NULL;
33441}
33442
33443
c32bde28 33444static PyObject *_wrap_HelpProvider_Get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33445 PyObject *resultobj;
33446 wxHelpProvider *result;
33447 char *kwnames[] = {
33448 NULL
33449 };
33450
33451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
33452 {
33453 PyThreadState* __tstate = wxPyBeginAllowThreads();
33454 result = (wxHelpProvider *)wxHelpProvider::Get();
33455
33456 wxPyEndAllowThreads(__tstate);
33457 if (PyErr_Occurred()) SWIG_fail;
33458 }
15afbcd0 33459 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
d14a1e28
RD
33460 return resultobj;
33461 fail:
33462 return NULL;
33463}
33464
33465
c32bde28 33466static PyObject *_wrap_HelpProvider_GetHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33467 PyObject *resultobj;
33468 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33469 wxWindow *arg2 = (wxWindow *) 0 ;
33470 wxString result;
33471 PyObject * obj0 = 0 ;
33472 PyObject * obj1 = 0 ;
33473 char *kwnames[] = {
33474 (char *) "self",(char *) "window", NULL
33475 };
33476
33477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
33478 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33479 if (SWIG_arg_fail(1)) SWIG_fail;
33480 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33481 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
33482 {
33483 PyThreadState* __tstate = wxPyBeginAllowThreads();
33484 result = (arg1)->GetHelp((wxWindow const *)arg2);
33485
33486 wxPyEndAllowThreads(__tstate);
33487 if (PyErr_Occurred()) SWIG_fail;
33488 }
33489 {
33490#if wxUSE_UNICODE
33491 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
33492#else
33493 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
33494#endif
33495 }
33496 return resultobj;
33497 fail:
33498 return NULL;
33499}
33500
33501
c32bde28 33502static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33503 PyObject *resultobj;
33504 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33505 wxWindow *arg2 = (wxWindow *) 0 ;
33506 bool result;
33507 PyObject * obj0 = 0 ;
33508 PyObject * obj1 = 0 ;
33509 char *kwnames[] = {
33510 (char *) "self",(char *) "window", NULL
33511 };
33512
33513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
33514 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33515 if (SWIG_arg_fail(1)) SWIG_fail;
33516 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33517 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
33518 {
33519 PyThreadState* __tstate = wxPyBeginAllowThreads();
33520 result = (bool)(arg1)->ShowHelp(arg2);
33521
33522 wxPyEndAllowThreads(__tstate);
33523 if (PyErr_Occurred()) SWIG_fail;
33524 }
4f89f6a3
RD
33525 {
33526 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33527 }
d14a1e28
RD
33528 return resultobj;
33529 fail:
33530 return NULL;
33531}
33532
33533
c32bde28 33534static PyObject *_wrap_HelpProvider_AddHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33535 PyObject *resultobj;
33536 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33537 wxWindow *arg2 = (wxWindow *) 0 ;
33538 wxString *arg3 = 0 ;
ae8162c8 33539 bool temp3 = false ;
d14a1e28
RD
33540 PyObject * obj0 = 0 ;
33541 PyObject * obj1 = 0 ;
33542 PyObject * obj2 = 0 ;
33543 char *kwnames[] = {
33544 (char *) "self",(char *) "window",(char *) "text", NULL
33545 };
33546
33547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
33548 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33549 if (SWIG_arg_fail(1)) SWIG_fail;
33550 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33551 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
33552 {
33553 arg3 = wxString_in_helper(obj2);
33554 if (arg3 == NULL) SWIG_fail;
ae8162c8 33555 temp3 = true;
d14a1e28
RD
33556 }
33557 {
33558 PyThreadState* __tstate = wxPyBeginAllowThreads();
33559 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
33560
33561 wxPyEndAllowThreads(__tstate);
33562 if (PyErr_Occurred()) SWIG_fail;
33563 }
33564 Py_INCREF(Py_None); resultobj = Py_None;
33565 {
33566 if (temp3)
33567 delete arg3;
33568 }
33569 return resultobj;
33570 fail:
33571 {
33572 if (temp3)
33573 delete arg3;
33574 }
33575 return NULL;
33576}
33577
33578
c32bde28 33579static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33580 PyObject *resultobj;
33581 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
e811c8ce 33582 int arg2 ;
d14a1e28 33583 wxString *arg3 = 0 ;
ae8162c8 33584 bool temp3 = false ;
d14a1e28 33585 PyObject * obj0 = 0 ;
994141e6 33586 PyObject * obj1 = 0 ;
d14a1e28
RD
33587 PyObject * obj2 = 0 ;
33588 char *kwnames[] = {
33589 (char *) "self",(char *) "id",(char *) "text", NULL
33590 };
33591
994141e6 33592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelpById",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
33593 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33594 if (SWIG_arg_fail(1)) SWIG_fail;
33595 {
33596 arg2 = (int)(SWIG_As_int(obj1));
33597 if (SWIG_arg_fail(2)) SWIG_fail;
33598 }
d14a1e28
RD
33599 {
33600 arg3 = wxString_in_helper(obj2);
33601 if (arg3 == NULL) SWIG_fail;
ae8162c8 33602 temp3 = true;
d14a1e28
RD
33603 }
33604 {
33605 PyThreadState* __tstate = wxPyBeginAllowThreads();
33606 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
33607
33608 wxPyEndAllowThreads(__tstate);
33609 if (PyErr_Occurred()) SWIG_fail;
33610 }
33611 Py_INCREF(Py_None); resultobj = Py_None;
33612 {
33613 if (temp3)
33614 delete arg3;
33615 }
33616 return resultobj;
33617 fail:
33618 {
33619 if (temp3)
33620 delete arg3;
33621 }
33622 return NULL;
33623}
33624
33625
c32bde28 33626static PyObject *_wrap_HelpProvider_RemoveHelp(PyObject *, PyObject *args, PyObject *kwargs) {
15afbcd0
RD
33627 PyObject *resultobj;
33628 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33629 wxWindow *arg2 = (wxWindow *) 0 ;
33630 PyObject * obj0 = 0 ;
33631 PyObject * obj1 = 0 ;
33632 char *kwnames[] = {
33633 (char *) "self",(char *) "window", NULL
33634 };
33635
33636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_RemoveHelp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
33637 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33638 if (SWIG_arg_fail(1)) SWIG_fail;
33639 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33640 if (SWIG_arg_fail(2)) SWIG_fail;
15afbcd0
RD
33641 {
33642 PyThreadState* __tstate = wxPyBeginAllowThreads();
33643 (arg1)->RemoveHelp(arg2);
33644
33645 wxPyEndAllowThreads(__tstate);
33646 if (PyErr_Occurred()) SWIG_fail;
33647 }
33648 Py_INCREF(Py_None); resultobj = Py_None;
33649 return resultobj;
33650 fail:
33651 return NULL;
33652}
33653
33654
c32bde28 33655static PyObject *_wrap_HelpProvider_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33656 PyObject *resultobj;
33657 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33658 PyObject * obj0 = 0 ;
33659 char *kwnames[] = {
33660 (char *) "self", NULL
33661 };
33662
33663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
093d3ff1
RD
33664 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33665 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
33666 {
33667 PyThreadState* __tstate = wxPyBeginAllowThreads();
33668 wxHelpProvider_Destroy(arg1);
33669
33670 wxPyEndAllowThreads(__tstate);
33671 if (PyErr_Occurred()) SWIG_fail;
33672 }
33673 Py_INCREF(Py_None); resultobj = Py_None;
33674 return resultobj;
33675 fail:
33676 return NULL;
33677}
33678
33679
c32bde28 33680static PyObject * HelpProvider_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
33681 PyObject *obj;
33682 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33683 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
33684 Py_INCREF(obj);
33685 return Py_BuildValue((char *)"");
33686}
c32bde28 33687static PyObject *_wrap_new_SimpleHelpProvider(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33688 PyObject *resultobj;
33689 wxSimpleHelpProvider *result;
33690 char *kwnames[] = {
33691 NULL
33692 };
33693
33694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
33695 {
33696 PyThreadState* __tstate = wxPyBeginAllowThreads();
33697 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
33698
33699 wxPyEndAllowThreads(__tstate);
33700 if (PyErr_Occurred()) SWIG_fail;
33701 }
15afbcd0 33702 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSimpleHelpProvider, 1);
d14a1e28
RD
33703 return resultobj;
33704 fail:
33705 return NULL;
33706}
33707
33708
c32bde28 33709static PyObject * SimpleHelpProvider_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
33710 PyObject *obj;
33711 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33712 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
33713 Py_INCREF(obj);
33714 return Py_BuildValue((char *)"");
33715}
c32bde28 33716static PyObject *_wrap_new_DragImage(PyObject *, PyObject *args, PyObject *kwargs) {
e811c8ce
RD
33717 PyObject *resultobj;
33718 wxBitmap *arg1 = 0 ;
33719 wxCursor const &arg2_defvalue = wxNullCursor ;
33720 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
33721 wxGenericDragImage *result;
33722 PyObject * obj0 = 0 ;
33723 PyObject * obj1 = 0 ;
33724 char *kwnames[] = {
33725 (char *) "image",(char *) "cursor", NULL
33726 };
33727
33728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
33729 {
33730 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
33731 if (SWIG_arg_fail(1)) SWIG_fail;
33732 if (arg1 == NULL) {
33733 SWIG_null_ref("wxBitmap");
33734 }
33735 if (SWIG_arg_fail(1)) SWIG_fail;
e811c8ce
RD
33736 }
33737 if (obj1) {
093d3ff1
RD
33738 {
33739 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
33740 if (SWIG_arg_fail(2)) SWIG_fail;
33741 if (arg2 == NULL) {
33742 SWIG_null_ref("wxCursor");
33743 }
33744 if (SWIG_arg_fail(2)) SWIG_fail;
e811c8ce
RD
33745 }
33746 }
33747 {
e3b71cb8 33748 if (!wxPyCheckForApp()) SWIG_fail;
e811c8ce
RD
33749 PyThreadState* __tstate = wxPyBeginAllowThreads();
33750 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
33751
33752 wxPyEndAllowThreads(__tstate);
110da5b0 33753 if (PyErr_Occurred()) SWIG_fail;
e811c8ce 33754 }
15afbcd0 33755 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
e811c8ce
RD
33756 return resultobj;
33757 fail:
33758 return NULL;
33759}
33760
33761
c32bde28 33762static PyObject *_wrap_new_DragIcon(PyObject *, PyObject *args, PyObject *kwargs) {
e811c8ce
RD
33763 PyObject *resultobj;
33764 wxIcon *arg1 = 0 ;
33765 wxCursor const &arg2_defvalue = wxNullCursor ;
33766 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
33767 wxGenericDragImage *result;
33768 PyObject * obj0 = 0 ;
33769 PyObject * obj1 = 0 ;
33770 char *kwnames[] = {
33771 (char *) "image",(char *) "cursor", NULL
33772 };
33773
33774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
33775 {
33776 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
33777 if (SWIG_arg_fail(1)) SWIG_fail;
33778 if (arg1 == NULL) {
33779 SWIG_null_ref("wxIcon");
33780 }
33781 if (SWIG_arg_fail(1)) SWIG_fail;
e811c8ce
RD
33782 }
33783 if (obj1) {
093d3ff1
RD
33784 {
33785 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
33786 if (SWIG_arg_fail(2)) SWIG_fail;
33787 if (arg2 == NULL) {
33788 SWIG_null_ref("wxCursor");
33789 }
33790 if (SWIG_arg_fail(2)) SWIG_fail;
e811c8ce
RD
33791 }
33792 }
33793 {
e3b71cb8 33794 if (!wxPyCheckForApp()) SWIG_fail;
e811c8ce
RD
33795 PyThreadState* __tstate = wxPyBeginAllowThreads();
33796 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
33797
33798 wxPyEndAllowThreads(__tstate);
110da5b0 33799 if (PyErr_Occurred()) SWIG_fail;
e811c8ce 33800 }
15afbcd0 33801 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
e811c8ce
RD
33802 return resultobj;
33803 fail:
33804 return NULL;
33805}
33806
33807
c32bde28 33808static PyObject *_wrap_new_DragString(PyObject *, PyObject *args, PyObject *kwargs) {
e811c8ce
RD
33809 PyObject *resultobj;
33810 wxString *arg1 = 0 ;
33811 wxCursor const &arg2_defvalue = wxNullCursor ;
33812 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
33813 wxGenericDragImage *result;
ae8162c8 33814 bool temp1 = false ;
e811c8ce
RD
33815 PyObject * obj0 = 0 ;
33816 PyObject * obj1 = 0 ;
33817 char *kwnames[] = {
33818 (char *) "str",(char *) "cursor", NULL
33819 };
33820
33821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail;
33822 {
33823 arg1 = wxString_in_helper(obj0);
33824 if (arg1 == NULL) SWIG_fail;
ae8162c8 33825 temp1 = true;
e811c8ce
RD
33826 }
33827 if (obj1) {
093d3ff1
RD
33828 {
33829 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
33830 if (SWIG_arg_fail(2)) SWIG_fail;
33831 if (arg2 == NULL) {
33832 SWIG_null_ref("wxCursor");
33833 }
33834 if (SWIG_arg_fail(2)) SWIG_fail;
e811c8ce
RD
33835 }
33836 }
33837 {
e3b71cb8 33838 if (!wxPyCheckForApp()) SWIG_fail;
e811c8ce
RD
33839 PyThreadState* __tstate = wxPyBeginAllowThreads();
33840 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
33841
33842 wxPyEndAllowThreads(__tstate);
110da5b0 33843 if (PyErr_Occurred()) SWIG_fail;
e811c8ce 33844 }
15afbcd0 33845 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
e811c8ce
RD
33846 {
33847 if (temp1)
33848 delete arg1;
33849 }
33850 return resultobj;
33851 fail:
33852 {
33853 if (temp1)
33854 delete arg1;
33855 }
33856 return NULL;
33857}
33858
33859
c32bde28 33860static PyObject *_wrap_new_DragTreeItem(PyObject *, PyObject *args, PyObject *kwargs) {
e811c8ce
RD
33861 PyObject *resultobj;
33862 wxPyTreeCtrl *arg1 = 0 ;
33863 wxTreeItemId *arg2 = 0 ;
33864 wxGenericDragImage *result;
33865 PyObject * obj0 = 0 ;
33866 PyObject * obj1 = 0 ;
33867 char *kwnames[] = {
33868 (char *) "treeCtrl",(char *) "id", NULL
33869 };
33870
33871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
33872 {
33873 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
33874 if (SWIG_arg_fail(1)) SWIG_fail;
33875 if (arg1 == NULL) {
33876 SWIG_null_ref("wxPyTreeCtrl");
33877 }
33878 if (SWIG_arg_fail(1)) SWIG_fail;
e811c8ce 33879 }
093d3ff1
RD
33880 {
33881 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
33882 if (SWIG_arg_fail(2)) SWIG_fail;
33883 if (arg2 == NULL) {
33884 SWIG_null_ref("wxTreeItemId");
33885 }
33886 if (SWIG_arg_fail(2)) SWIG_fail;
e811c8ce
RD
33887 }
33888 {
e3b71cb8 33889 if (!wxPyCheckForApp()) SWIG_fail;
e811c8ce
RD
33890 PyThreadState* __tstate = wxPyBeginAllowThreads();
33891 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
33892
33893 wxPyEndAllowThreads(__tstate);
110da5b0 33894 if (PyErr_Occurred()) SWIG_fail;
e811c8ce 33895 }
15afbcd0 33896 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
e811c8ce
RD
33897 return resultobj;
33898 fail:
33899 return NULL;
33900}
33901
33902
c32bde28 33903static PyObject *_wrap_new_DragListItem(PyObject *, PyObject *args, PyObject *kwargs) {
e811c8ce
RD
33904 PyObject *resultobj;
33905 wxPyListCtrl *arg1 = 0 ;
33906 long arg2 ;
33907 wxGenericDragImage *result;
33908 PyObject * obj0 = 0 ;
994141e6 33909 PyObject * obj1 = 0 ;
e811c8ce
RD
33910 char *kwnames[] = {
33911 (char *) "listCtrl",(char *) "id", NULL
33912 };
33913
994141e6 33914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragListItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
33915 {
33916 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
33917 if (SWIG_arg_fail(1)) SWIG_fail;
33918 if (arg1 == NULL) {
33919 SWIG_null_ref("wxPyListCtrl");
33920 }
33921 if (SWIG_arg_fail(1)) SWIG_fail;
33922 }
33923 {
33924 arg2 = (long)(SWIG_As_long(obj1));
33925 if (SWIG_arg_fail(2)) SWIG_fail;
994141e6 33926 }
e811c8ce 33927 {
e3b71cb8 33928 if (!wxPyCheckForApp()) SWIG_fail;
e811c8ce
RD
33929 PyThreadState* __tstate = wxPyBeginAllowThreads();
33930 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
33931
33932 wxPyEndAllowThreads(__tstate);
110da5b0 33933 if (PyErr_Occurred()) SWIG_fail;
e811c8ce 33934 }
15afbcd0 33935 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
e811c8ce
RD
33936 return resultobj;
33937 fail:
33938 return NULL;
33939}
33940
33941
c32bde28 33942static PyObject *_wrap_delete_DragImage(PyObject *, PyObject *args, PyObject *kwargs) {
e811c8ce
RD
33943 PyObject *resultobj;
33944 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
33945 PyObject * obj0 = 0 ;
33946 char *kwnames[] = {
33947 (char *) "self", NULL
33948 };
33949
33950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail;
093d3ff1
RD
33951 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
33952 if (SWIG_arg_fail(1)) SWIG_fail;
e811c8ce
RD
33953 {
33954 PyThreadState* __tstate = wxPyBeginAllowThreads();
33955 delete arg1;
33956
33957 wxPyEndAllowThreads(__tstate);
33958 if (PyErr_Occurred()) SWIG_fail;
33959 }
33960 Py_INCREF(Py_None); resultobj = Py_None;
33961 return resultobj;
33962 fail:
33963 return NULL;
33964}
33965
33966
c32bde28 33967static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
e811c8ce
RD
33968 PyObject *resultobj;
33969 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
33970 wxBitmap *arg2 = (wxBitmap *) 0 ;
33971 PyObject * obj0 = 0 ;
33972 PyObject * obj1 = 0 ;
33973 char *kwnames[] = {
33974 (char *) "self",(char *) "bitmap", NULL
33975 };
33976
33977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
33978 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
33979 if (SWIG_arg_fail(1)) SWIG_fail;
33980 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
33981 if (SWIG_arg_fail(2)) SWIG_fail;
e811c8ce
RD
33982 {
33983 PyThreadState* __tstate = wxPyBeginAllowThreads();
33984 (arg1)->SetBackingBitmap(arg2);
33985
33986 wxPyEndAllowThreads(__tstate);
33987 if (PyErr_Occurred()) SWIG_fail;
33988 }
33989 Py_INCREF(Py_None); resultobj = Py_None;
33990 return resultobj;
33991 fail:
33992 return NULL;
33993}
33994
33995
c32bde28 33996static PyObject *_wrap_DragImage_BeginDrag(PyObject *, PyObject *args, PyObject *kwargs) {
e811c8ce
RD
33997 PyObject *resultobj;
33998 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
33999 wxPoint *arg2 = 0 ;
34000 wxWindow *arg3 = (wxWindow *) 0 ;
ae8162c8 34001 bool arg4 = (bool) false ;
e811c8ce
RD
34002 wxRect *arg5 = (wxRect *) NULL ;
34003 bool result;
34004 wxPoint temp2 ;
34005 PyObject * obj0 = 0 ;
34006 PyObject * obj1 = 0 ;
34007 PyObject * obj2 = 0 ;
34008 PyObject * obj3 = 0 ;
34009 PyObject * obj4 = 0 ;
34010 char *kwnames[] = {
34011 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
34012 };
34013
34014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
34015 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34016 if (SWIG_arg_fail(1)) SWIG_fail;
e811c8ce
RD
34017 {
34018 arg2 = &temp2;
34019 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34020 }
093d3ff1
RD
34021 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34022 if (SWIG_arg_fail(3)) SWIG_fail;
e811c8ce 34023 if (obj3) {
093d3ff1
RD
34024 {
34025 arg4 = (bool)(SWIG_As_bool(obj3));
34026 if (SWIG_arg_fail(4)) SWIG_fail;
34027 }
e811c8ce
RD
34028 }
34029 if (obj4) {
093d3ff1
RD
34030 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
34031 if (SWIG_arg_fail(5)) SWIG_fail;
e811c8ce
RD
34032 }
34033 {
34034 PyThreadState* __tstate = wxPyBeginAllowThreads();
34035 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
34036
34037 wxPyEndAllowThreads(__tstate);
34038 if (PyErr_Occurred()) SWIG_fail;
34039 }
4f89f6a3
RD
34040 {
34041 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34042 }
e811c8ce
RD
34043 return resultobj;
34044 fail:
34045 return NULL;
34046}
34047
34048
c32bde28 34049static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *, PyObject *args, PyObject *kwargs) {
e811c8ce
RD
34050 PyObject *resultobj;
34051 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34052 wxPoint *arg2 = 0 ;
34053 wxWindow *arg3 = (wxWindow *) 0 ;
34054 wxWindow *arg4 = (wxWindow *) 0 ;
34055 bool result;
34056 wxPoint temp2 ;
34057 PyObject * obj0 = 0 ;
34058 PyObject * obj1 = 0 ;
34059 PyObject * obj2 = 0 ;
34060 PyObject * obj3 = 0 ;
34061 char *kwnames[] = {
34062 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
34063 };
34064
34065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
34066 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34067 if (SWIG_arg_fail(1)) SWIG_fail;
e811c8ce
RD
34068 {
34069 arg2 = &temp2;
34070 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34071 }
093d3ff1
RD
34072 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34073 if (SWIG_arg_fail(3)) SWIG_fail;
34074 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34075 if (SWIG_arg_fail(4)) SWIG_fail;
e811c8ce
RD
34076 {
34077 PyThreadState* __tstate = wxPyBeginAllowThreads();
34078 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
34079
34080 wxPyEndAllowThreads(__tstate);
34081 if (PyErr_Occurred()) SWIG_fail;
34082 }
4f89f6a3
RD
34083 {
34084 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34085 }
e811c8ce
RD
34086 return resultobj;
34087 fail:
34088 return NULL;
34089}
34090
34091
c32bde28 34092static PyObject *_wrap_DragImage_EndDrag(PyObject *, PyObject *args, PyObject *kwargs) {
e811c8ce
RD
34093 PyObject *resultobj;
34094 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34095 bool result;
34096 PyObject * obj0 = 0 ;
34097 char *kwnames[] = {
34098 (char *) "self", NULL
34099 };
34100
34101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail;
093d3ff1
RD
34102 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34103 if (SWIG_arg_fail(1)) SWIG_fail;
e811c8ce
RD
34104 {
34105 PyThreadState* __tstate = wxPyBeginAllowThreads();
34106 result = (bool)(arg1)->EndDrag();
34107
34108 wxPyEndAllowThreads(__tstate);
34109 if (PyErr_Occurred()) SWIG_fail;
34110 }
4f89f6a3
RD
34111 {
34112 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34113 }
e811c8ce
RD
34114 return resultobj;
34115 fail:
34116 return NULL;
34117}
34118
34119
c32bde28 34120static PyObject *_wrap_DragImage_Move(PyObject *, PyObject *args, PyObject *kwargs) {
e811c8ce
RD
34121 PyObject *resultobj;
34122 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34123 wxPoint *arg2 = 0 ;
34124 bool result;
34125 wxPoint temp2 ;
34126 PyObject * obj0 = 0 ;
34127 PyObject * obj1 = 0 ;
34128 char *kwnames[] = {
34129 (char *) "self",(char *) "pt", NULL
34130 };
34131
34132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
34133 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34134 if (SWIG_arg_fail(1)) SWIG_fail;
e811c8ce
RD
34135 {
34136 arg2 = &temp2;
34137 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34138 }
34139 {
34140 PyThreadState* __tstate = wxPyBeginAllowThreads();
34141 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
34142
34143 wxPyEndAllowThreads(__tstate);
34144 if (PyErr_Occurred()) SWIG_fail;
34145 }
4f89f6a3
RD
34146 {
34147 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34148 }
e811c8ce
RD
34149 return resultobj;
34150 fail:
34151 return NULL;
34152}
34153
34154
c32bde28 34155static PyObject *_wrap_DragImage_Show(PyObject *, PyObject *args, PyObject *kwargs) {
e811c8ce
RD
34156 PyObject *resultobj;
34157 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34158 bool result;
34159 PyObject * obj0 = 0 ;
34160 char *kwnames[] = {
34161 (char *) "self", NULL
34162 };
34163
34164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail;
093d3ff1
RD
34165 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34166 if (SWIG_arg_fail(1)) SWIG_fail;
e811c8ce
RD
34167 {
34168 PyThreadState* __tstate = wxPyBeginAllowThreads();
34169 result = (bool)(arg1)->Show();
34170
34171 wxPyEndAllowThreads(__tstate);
34172 if (PyErr_Occurred()) SWIG_fail;
34173 }
4f89f6a3
RD
34174 {
34175 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34176 }
e811c8ce
RD
34177 return resultobj;
34178 fail:
34179 return NULL;
34180}
34181
34182
c32bde28 34183static PyObject *_wrap_DragImage_Hide(PyObject *, PyObject *args, PyObject *kwargs) {
e811c8ce
RD
34184 PyObject *resultobj;
34185 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34186 bool result;
34187 PyObject * obj0 = 0 ;
34188 char *kwnames[] = {
34189 (char *) "self", NULL
34190 };
34191
34192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail;
093d3ff1
RD
34193 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34194 if (SWIG_arg_fail(1)) SWIG_fail;
e811c8ce
RD
34195 {
34196 PyThreadState* __tstate = wxPyBeginAllowThreads();
34197 result = (bool)(arg1)->Hide();
34198
34199 wxPyEndAllowThreads(__tstate);
34200 if (PyErr_Occurred()) SWIG_fail;
34201 }
4f89f6a3
RD
34202 {
34203 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34204 }
e811c8ce
RD
34205 return resultobj;
34206 fail:
34207 return NULL;
34208}
34209
34210
c32bde28 34211static PyObject *_wrap_DragImage_GetImageRect(PyObject *, PyObject *args, PyObject *kwargs) {
e811c8ce
RD
34212 PyObject *resultobj;
34213 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34214 wxPoint *arg2 = 0 ;
34215 wxRect result;
34216 wxPoint temp2 ;
34217 PyObject * obj0 = 0 ;
34218 PyObject * obj1 = 0 ;
34219 char *kwnames[] = {
34220 (char *) "self",(char *) "pos", NULL
34221 };
34222
34223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
34224 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34225 if (SWIG_arg_fail(1)) SWIG_fail;
e811c8ce
RD
34226 {
34227 arg2 = &temp2;
34228 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34229 }
34230 {
34231 PyThreadState* __tstate = wxPyBeginAllowThreads();
34232 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
34233
34234 wxPyEndAllowThreads(__tstate);
34235 if (PyErr_Occurred()) SWIG_fail;
34236 }
34237 {
34238 wxRect * resultptr;
093d3ff1 34239 resultptr = new wxRect((wxRect &)(result));
15afbcd0 34240 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
e811c8ce
RD
34241 }
34242 return resultobj;
34243 fail:
34244 return NULL;
34245}
34246
34247
c32bde28 34248static PyObject *_wrap_DragImage_DoDrawImage(PyObject *, PyObject *args, PyObject *kwargs) {
e811c8ce
RD
34249 PyObject *resultobj;
34250 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34251 wxDC *arg2 = 0 ;
34252 wxPoint *arg3 = 0 ;
34253 bool result;
34254 wxPoint temp3 ;
34255 PyObject * obj0 = 0 ;
34256 PyObject * obj1 = 0 ;
34257 PyObject * obj2 = 0 ;
34258 char *kwnames[] = {
34259 (char *) "self",(char *) "dc",(char *) "pos", NULL
34260 };
34261
34262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
34263 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34264 if (SWIG_arg_fail(1)) SWIG_fail;
34265 {
34266 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
34267 if (SWIG_arg_fail(2)) SWIG_fail;
34268 if (arg2 == NULL) {
34269 SWIG_null_ref("wxDC");
34270 }
34271 if (SWIG_arg_fail(2)) SWIG_fail;
e811c8ce
RD
34272 }
34273 {
34274 arg3 = &temp3;
34275 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
34276 }
34277 {
34278 PyThreadState* __tstate = wxPyBeginAllowThreads();
34279 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
34280
34281 wxPyEndAllowThreads(__tstate);
34282 if (PyErr_Occurred()) SWIG_fail;
34283 }
4f89f6a3
RD
34284 {
34285 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34286 }
e811c8ce
RD
34287 return resultobj;
34288 fail:
34289 return NULL;
34290}
34291
34292
c32bde28 34293static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
e811c8ce
RD
34294 PyObject *resultobj;
34295 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34296 wxDC *arg2 = 0 ;
34297 wxMemoryDC *arg3 = 0 ;
34298 wxRect *arg4 = 0 ;
34299 wxRect *arg5 = 0 ;
34300 bool result;
34301 wxRect temp4 ;
34302 wxRect temp5 ;
34303 PyObject * obj0 = 0 ;
34304 PyObject * obj1 = 0 ;
34305 PyObject * obj2 = 0 ;
34306 PyObject * obj3 = 0 ;
34307 PyObject * obj4 = 0 ;
34308 char *kwnames[] = {
34309 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
34310 };
34311
34312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
34313 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34314 if (SWIG_arg_fail(1)) SWIG_fail;
34315 {
34316 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
34317 if (SWIG_arg_fail(2)) SWIG_fail;
34318 if (arg2 == NULL) {
34319 SWIG_null_ref("wxDC");
34320 }
34321 if (SWIG_arg_fail(2)) SWIG_fail;
34322 }
34323 {
34324 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxMemoryDC, SWIG_POINTER_EXCEPTION | 0);
34325 if (SWIG_arg_fail(3)) SWIG_fail;
34326 if (arg3 == NULL) {
34327 SWIG_null_ref("wxMemoryDC");
34328 }
34329 if (SWIG_arg_fail(3)) SWIG_fail;
e811c8ce
RD
34330 }
34331 {
34332 arg4 = &temp4;
34333 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
34334 }
34335 {
34336 arg5 = &temp5;
34337 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
34338 }
34339 {
34340 PyThreadState* __tstate = wxPyBeginAllowThreads();
34341 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
34342
34343 wxPyEndAllowThreads(__tstate);
34344 if (PyErr_Occurred()) SWIG_fail;
34345 }
4f89f6a3
RD
34346 {
34347 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34348 }
e811c8ce
RD
34349 return resultobj;
34350 fail:
34351 return NULL;
34352}
34353
34354
c32bde28 34355static PyObject *_wrap_DragImage_RedrawImage(PyObject *, PyObject *args, PyObject *kwargs) {
e811c8ce
RD
34356 PyObject *resultobj;
34357 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34358 wxPoint *arg2 = 0 ;
34359 wxPoint *arg3 = 0 ;
34360 bool arg4 ;
34361 bool arg5 ;
34362 bool result;
34363 wxPoint temp2 ;
34364 wxPoint temp3 ;
34365 PyObject * obj0 = 0 ;
34366 PyObject * obj1 = 0 ;
34367 PyObject * obj2 = 0 ;
34368 PyObject * obj3 = 0 ;
34369 PyObject * obj4 = 0 ;
34370 char *kwnames[] = {
34371 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
34372 };
34373
34374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
34375 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34376 if (SWIG_arg_fail(1)) SWIG_fail;
e811c8ce
RD
34377 {
34378 arg2 = &temp2;
34379 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34380 }
34381 {
34382 arg3 = &temp3;
34383 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
34384 }
093d3ff1
RD
34385 {
34386 arg4 = (bool)(SWIG_As_bool(obj3));
34387 if (SWIG_arg_fail(4)) SWIG_fail;
34388 }
34389 {
34390 arg5 = (bool)(SWIG_As_bool(obj4));
34391 if (SWIG_arg_fail(5)) SWIG_fail;
34392 }
e811c8ce
RD
34393 {
34394 PyThreadState* __tstate = wxPyBeginAllowThreads();
34395 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
34396
34397 wxPyEndAllowThreads(__tstate);
34398 if (PyErr_Occurred()) SWIG_fail;
34399 }
4f89f6a3
RD
34400 {
34401 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34402 }
e811c8ce
RD
34403 return resultobj;
34404 fail:
34405 return NULL;
34406}
34407
34408
c32bde28 34409static PyObject * DragImage_swigregister(PyObject *, PyObject *args) {
e811c8ce
RD
34410 PyObject *obj;
34411 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34412 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj);
34413 Py_INCREF(obj);
34414 return Py_BuildValue((char *)"");
34415}
34416static PyMethodDef SwigMethods[] = {
093d3ff1
RD
34417 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS, NULL},
34418 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS, NULL},
34419 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34420 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS, NULL},
34421 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
34422 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction) _wrap_Button_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34423 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS, NULL},
34424 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS, NULL},
34425 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS, NULL},
34426 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34427 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL},
34428 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL},
34429 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL},
34430 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL},
34431 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL},
34432 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL},
34433 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL},
34434 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL},
34435 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
34436 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS, NULL},
34437 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS, NULL},
34438 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS, NULL},
34439 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS, NULL},
34440 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS, NULL},
34441 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34442 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34443 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL},
34444 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34445 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS, NULL},
34446 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS, NULL},
34447 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS, NULL},
34448 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS, NULL},
34449 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction) _wrap_CheckBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34450 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS, NULL},
34451 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS, NULL},
34452 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS, NULL},
34453 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34454 { (char *)"Choice_SetSelection", (PyCFunction) _wrap_Choice_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34455 { (char *)"Choice_SetStringSelection", (PyCFunction) _wrap_Choice_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34456 { (char *)"Choice_SetString", (PyCFunction) _wrap_Choice_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
34457 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction) _wrap_Choice_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34458 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS, NULL},
34459 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS, NULL},
34460 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS, NULL},
34461 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34462 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34463 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34464 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
34465 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS, NULL},
34466 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS, NULL},
34467 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
34468 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
34469 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS, NULL},
34470 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
34471 { (char *)"ComboBox_SetSelection", (PyCFunction) _wrap_ComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34472 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS, NULL},
34473 { (char *)"ComboBox_SetStringSelection", (PyCFunction) _wrap_ComboBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34474 { (char *)"ComboBox_SetString", (PyCFunction) _wrap_ComboBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
34475 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
34476 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS, NULL},
34477 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
34478 { (char *)"ComboBox_IsEditable", (PyCFunction) _wrap_ComboBox_IsEditable, METH_VARARGS | METH_KEYWORDS, NULL},
34479 { (char *)"ComboBox_Undo", (PyCFunction) _wrap_ComboBox_Undo, METH_VARARGS | METH_KEYWORDS, NULL},
34480 { (char *)"ComboBox_Redo", (PyCFunction) _wrap_ComboBox_Redo, METH_VARARGS | METH_KEYWORDS, NULL},
34481 { (char *)"ComboBox_SelectAll", (PyCFunction) _wrap_ComboBox_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
34482 { (char *)"ComboBox_CanCopy", (PyCFunction) _wrap_ComboBox_CanCopy, METH_VARARGS | METH_KEYWORDS, NULL},
34483 { (char *)"ComboBox_CanCut", (PyCFunction) _wrap_ComboBox_CanCut, METH_VARARGS | METH_KEYWORDS, NULL},
34484 { (char *)"ComboBox_CanPaste", (PyCFunction) _wrap_ComboBox_CanPaste, METH_VARARGS | METH_KEYWORDS, NULL},
34485 { (char *)"ComboBox_CanUndo", (PyCFunction) _wrap_ComboBox_CanUndo, METH_VARARGS | METH_KEYWORDS, NULL},
34486 { (char *)"ComboBox_CanRedo", (PyCFunction) _wrap_ComboBox_CanRedo, METH_VARARGS | METH_KEYWORDS, NULL},
34487 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ComboBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34488 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS, NULL},
34489 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS, NULL},
34490 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS, NULL},
34491 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34492 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
34493 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
34494 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34495 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34496 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
34497 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL},
34498 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL},
34499 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL},
34500 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL},
34501 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction) _wrap_Gauge_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34502 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS, NULL},
34503 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS, NULL},
34504 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS, NULL},
34505 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34506 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34507 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS, NULL},
34508 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS, NULL},
34509 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS, NULL},
34510 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34511 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
34512 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
34513 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticLine_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34514 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS, NULL},
34515 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS, NULL},
34516 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS, NULL},
34517 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34518 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticText_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34519 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS, NULL},
34520 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
34521 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
34522 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34523 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
34524 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
34525 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
34526 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBitmap_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34527 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS, NULL},
34528 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS, NULL},
34529 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS, NULL},
34530 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34531 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS, NULL},
34532 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS, NULL},
34533 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS, NULL},
34534 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
34535 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34536 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
34537 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS, NULL},
34538 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
34539 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34540 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
34541 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS, NULL},
34542 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS, NULL},
34543 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
34544 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
34545 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS, NULL},
34546 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction) _wrap_ListBox_SetItemForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
34547 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction) _wrap_ListBox_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
34548 { (char *)"ListBox_SetItemFont", (PyCFunction) _wrap_ListBox_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
34549 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ListBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34550 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS, NULL},
34551 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS, NULL},
34552 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS, NULL},
34553 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34554 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL},
34555 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS, NULL},
34556 { (char *)"CheckListBox_GetItemHeight", (PyCFunction) _wrap_CheckListBox_GetItemHeight, METH_VARARGS | METH_KEYWORDS, NULL},
34557 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
34558 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
34559 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS, NULL},
34560 { (char *)"new_TextAttr", (PyCFunction) _wrap_new_TextAttr, METH_VARARGS | METH_KEYWORDS, NULL},
34561 { (char *)"delete_TextAttr", (PyCFunction) _wrap_delete_TextAttr, METH_VARARGS | METH_KEYWORDS, NULL},
34562 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS, NULL},
34563 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
34564 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
34565 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
34566 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
34567 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS, NULL},
34568 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
34569 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
34570 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
34571 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
34572 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
34573 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS, NULL},
34574 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
34575 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS, NULL},
34576 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
34577 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
34578 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL},
34579 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
34580 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
34581 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
34582 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
34583 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS, NULL},
34584 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
34585 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction) _wrap_TextAttr_GetLeftSubIndent, METH_VARARGS | METH_KEYWORDS, NULL},
34586 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
34587 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
34588 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS, NULL},
34589 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS, NULL},
34590 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS, NULL},
34591 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
34592 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
34593 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34594 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34595 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34596 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
34597 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS, NULL},
34598 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS, NULL},
34599 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS, NULL},
34600 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS, NULL},
34601 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS, NULL},
34602 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS, NULL},
34603 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS, NULL},
34604 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34605 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34606 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
34607 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
34608 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
34609 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
34610 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL},
34611 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS, NULL},
34612 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS, NULL},
34613 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS, NULL},
34614 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS, NULL},
34615 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS, NULL},
34616 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS, NULL},
34617 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
34618 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
34619 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL},
34620 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL},
34621 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS, NULL},
34622 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS, NULL},
34623 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS, NULL},
34624 { (char *)"TextCtrl_HitTest", (PyCFunction) _wrap_TextCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
34625 { (char *)"TextCtrl_HitTestPos", (PyCFunction) _wrap_TextCtrl_HitTestPos, METH_VARARGS | METH_KEYWORDS, NULL},
34626 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
34627 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS, NULL},
34628 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS, NULL},
34629 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS, NULL},
34630 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS, NULL},
34631 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS, NULL},
34632 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS, NULL},
34633 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS, NULL},
34634 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS, NULL},
34635 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS, NULL},
34636 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
34637 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS, NULL},
34638 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
34639 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS, NULL},
34640 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34641 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
34642 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
34643 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS, NULL},
34644 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
34645 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TextCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34646 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS, NULL},
34647 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS, NULL},
34648 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS, NULL},
34649 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS, NULL},
34650 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS, NULL},
34651 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS, NULL},
34652 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
34653 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
34654 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34655 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL},
34656 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS, NULL},
34657 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
34658 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
34659 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
34660 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL},
34661 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS, NULL},
34662 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrollBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34663 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS, NULL},
34664 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS, NULL},
34665 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS, NULL},
34666 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34667 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34668 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS, NULL},
34669 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS, NULL},
34670 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34671 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS, NULL},
34672 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS, NULL},
34673 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
34674 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
34675 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34676 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS, NULL},
34677 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
34678 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
34679 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34680 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34681 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34682 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS, NULL},
34683 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
34684 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS, NULL},
34685 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS, NULL},
34686 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34687 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34688 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS, NULL},
34689 { (char *)"new_SpinEvent", (PyCFunction) _wrap_new_SpinEvent, METH_VARARGS | METH_KEYWORDS, NULL},
34690 { (char *)"SpinEvent_GetPosition", (PyCFunction) _wrap_SpinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
34691 { (char *)"SpinEvent_SetPosition", (PyCFunction) _wrap_SpinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
34692 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister, METH_VARARGS, NULL},
34693 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS, NULL},
34694 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS, NULL},
34695 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34696 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34697 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34698 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34699 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34700 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS, NULL},
34701 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS, NULL},
34702 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
34703 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
34704 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS, NULL},
34705 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS, NULL},
34706 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL},
34707 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS, NULL},
34708 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
34709 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34710 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS, NULL},
34711 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS, NULL},
34712 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS, NULL},
34713 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34714 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34715 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34716 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34717 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS, NULL},
34718 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS, NULL},
34719 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS, NULL},
34720 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34721 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34722 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34723 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
34724 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS, NULL},
34725 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS, NULL},
34726 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS, NULL},
34727 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS, NULL},
34728 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS, NULL},
34729 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
34730 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS, NULL},
34731 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
34732 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL},
34733 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL},
34734 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL},
34735 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL},
34736 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS, NULL},
34737 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS, NULL},
34738 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS, NULL},
34739 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS, NULL},
34740 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS, NULL},
34741 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34742 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction) _wrap_Slider_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34743 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS, NULL},
34744 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS, NULL},
34745 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS, NULL},
34746 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34747 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34748 { (char *)"ToggleButton_GetValue", (PyCFunction) _wrap_ToggleButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34749 { (char *)"ToggleButton_SetLabel", (PyCFunction) _wrap_ToggleButton_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
34750 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction) _wrap_ToggleButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34751 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS, NULL},
34752 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction) _wrap_BookCtrlBase_GetPageCount, METH_VARARGS | METH_KEYWORDS, NULL},
34753 { (char *)"BookCtrlBase_GetPage", (PyCFunction) _wrap_BookCtrlBase_GetPage, METH_VARARGS | METH_KEYWORDS, NULL},
34754 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction) _wrap_BookCtrlBase_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
34755 { (char *)"BookCtrlBase_GetSelection", (PyCFunction) _wrap_BookCtrlBase_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34756 { (char *)"BookCtrlBase_SetPageText", (PyCFunction) _wrap_BookCtrlBase_SetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
34757 { (char *)"BookCtrlBase_GetPageText", (PyCFunction) _wrap_BookCtrlBase_GetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
34758 { (char *)"BookCtrlBase_SetImageList", (PyCFunction) _wrap_BookCtrlBase_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
34759 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction) _wrap_BookCtrlBase_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
34760 { (char *)"BookCtrlBase_GetImageList", (PyCFunction) _wrap_BookCtrlBase_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
34761 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction) _wrap_BookCtrlBase_GetPageImage, METH_VARARGS | METH_KEYWORDS, NULL},
34762 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction) _wrap_BookCtrlBase_SetPageImage, METH_VARARGS | METH_KEYWORDS, NULL},
34763 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction) _wrap_BookCtrlBase_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
34764 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrlBase_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
34765 { (char *)"BookCtrlBase_DeletePage", (PyCFunction) _wrap_BookCtrlBase_DeletePage, METH_VARARGS | METH_KEYWORDS, NULL},
34766 { (char *)"BookCtrlBase_RemovePage", (PyCFunction) _wrap_BookCtrlBase_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL},
34767 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction) _wrap_BookCtrlBase_DeleteAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
34768 { (char *)"BookCtrlBase_AddPage", (PyCFunction) _wrap_BookCtrlBase_AddPage, METH_VARARGS | METH_KEYWORDS, NULL},
34769 { (char *)"BookCtrlBase_InsertPage", (PyCFunction) _wrap_BookCtrlBase_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL},
34770 { (char *)"BookCtrlBase_SetSelection", (PyCFunction) _wrap_BookCtrlBase_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34771 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction) _wrap_BookCtrlBase_AdvanceSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34772 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction) _wrap_BookCtrlBase_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34773 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister, METH_VARARGS, NULL},
34774 { (char *)"new_BookCtrlBaseEvent", (PyCFunction) _wrap_new_BookCtrlBaseEvent, METH_VARARGS | METH_KEYWORDS, NULL},
34775 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34776 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34777 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34778 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34779 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister, METH_VARARGS, NULL},
34780 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS, NULL},
34781 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS, NULL},
34782 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34783 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS, NULL},
34784 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS, NULL},
34785 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS, NULL},
34786 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
34787 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
34788 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction) _wrap_Notebook_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34789 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS, NULL},
34790 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
34791 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS, NULL},
34792 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS, NULL},
34793 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS, NULL},
34794 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34795 { (char *)"Listbook_IsVertical", (PyCFunction) _wrap_Listbook_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
34796 { (char *)"Listbook_GetListView", (PyCFunction) _wrap_Listbook_GetListView, METH_VARARGS | METH_KEYWORDS, NULL},
34797 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS, NULL},
34798 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
34799 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS, NULL},
34800 { (char *)"new_Choicebook", (PyCFunction) _wrap_new_Choicebook, METH_VARARGS | METH_KEYWORDS, NULL},
34801 { (char *)"new_PreChoicebook", (PyCFunction) _wrap_new_PreChoicebook, METH_VARARGS | METH_KEYWORDS, NULL},
34802 { (char *)"Choicebook_Create", (PyCFunction) _wrap_Choicebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34803 { (char *)"Choicebook_IsVertical", (PyCFunction) _wrap_Choicebook_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
34804 { (char *)"Choicebook_DeleteAllPages", (PyCFunction) _wrap_Choicebook_DeleteAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
34805 { (char *)"Choicebook_swigregister", Choicebook_swigregister, METH_VARARGS, NULL},
34806 { (char *)"new_ChoicebookEvent", (PyCFunction) _wrap_new_ChoicebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
34807 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister, METH_VARARGS, NULL},
34808 { (char *)"new_BookCtrlSizer", (PyCFunction) _wrap_new_BookCtrlSizer, METH_VARARGS | METH_KEYWORDS, NULL},
34809 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction) _wrap_BookCtrlSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS, NULL},
34810 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction) _wrap_BookCtrlSizer_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL},
34811 { (char *)"BookCtrlSizer_GetControl", (PyCFunction) _wrap_BookCtrlSizer_GetControl, METH_VARARGS | METH_KEYWORDS, NULL},
34812 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister, METH_VARARGS, NULL},
34813 { (char *)"new_NotebookSizer", (PyCFunction) _wrap_new_NotebookSizer, METH_VARARGS | METH_KEYWORDS, NULL},
34814 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction) _wrap_NotebookSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS, NULL},
34815 { (char *)"NotebookSizer_CalcMin", (PyCFunction) _wrap_NotebookSizer_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL},
34816 { (char *)"NotebookSizer_GetNotebook", (PyCFunction) _wrap_NotebookSizer_GetNotebook, METH_VARARGS | METH_KEYWORDS, NULL},
34817 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister, METH_VARARGS, NULL},
34818 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
34819 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS, NULL},
34820 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
34821 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS, NULL},
34822 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS, NULL},
34823 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
34824 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
34825 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS, NULL},
34826 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
34827 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS, NULL},
34828 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS, NULL},
34829 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
34830 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
34831 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
34832 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
34833 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
34834 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
34835 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS, NULL},
34836 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
34837 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL},
34838 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
34839 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
34840 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
34841 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
34842 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
34843 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS, NULL},
34844 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS, NULL},
34845 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS, NULL},
34846 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS, NULL},
34847 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS, NULL},
34848 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS, NULL},
34849 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS, NULL},
34850 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS, NULL},
34851 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS, NULL},
34852 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS, NULL},
34853 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS, NULL},
34854 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS, NULL},
34855 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
34856 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
34857 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS, NULL},
34858 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS, NULL},
34859 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS, NULL},
34860 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS, NULL},
34861 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS, NULL},
34862 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS, NULL},
34863 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS, NULL},
34864 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL},
34865 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL},
34866 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL},
34867 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS, NULL},
34868 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS, NULL},
34869 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
34870 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
34871 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
34872 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
34873 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
34874 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
34875 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
34876 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL},
34877 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL},
34878 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS, NULL},
34879 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
34880 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL},
34881 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL},
34882 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS, NULL},
34883 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS, NULL},
34884 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS, NULL},
34885 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS, NULL},
34886 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL},
34887 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL},
34888 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS, NULL},
34889 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL},
34890 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS, NULL},
34891 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
34892 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS, NULL},
34893 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
34894 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
34895 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34896 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL},
34897 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ToolBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34898 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS, NULL},
34899 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS, NULL},
34900 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
34901 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
34902 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
34903 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
34904 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
34905 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS, NULL},
34906 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
34907 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
34908 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
34909 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
34910 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS, NULL},
34911 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS, NULL},
34912 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS, NULL},
34913 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
34914 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34915 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS, NULL},
34916 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
34917 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
34918 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS, NULL},
34919 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS, NULL},
34920 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
34921 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS, NULL},
34922 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
34923 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
34924 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
34925 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
34926 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
34927 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
34928 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS, NULL},
34929 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
34930 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
34931 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS, NULL},
34932 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS, NULL},
34933 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS, NULL},
34934 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
34935 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
34936 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
34937 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34938 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34939 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
34940 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
34941 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
34942 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS, NULL},
34943 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS, NULL},
34944 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS, NULL},
34945 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS, NULL},
34946 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS, NULL},
34947 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS, NULL},
34948 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS, NULL},
34949 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS, NULL},
34950 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS, NULL},
34951 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS, NULL},
34952 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS, NULL},
34953 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS, NULL},
34954 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS, NULL},
34955 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS, NULL},
34956 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS, NULL},
34957 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS, NULL},
34958 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS, NULL},
34959 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS, NULL},
34960 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS, NULL},
34961 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS, NULL},
34962 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS, NULL},
34963 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS, NULL},
34964 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS, NULL},
34965 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS, NULL},
34966 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS, NULL},
34967 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS, NULL},
34968 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS, NULL},
34969 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS, NULL},
34970 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS, NULL},
34971 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS, NULL},
34972 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS, NULL},
34973 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS, NULL},
34974 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS, NULL},
34975 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL},
34976 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS, NULL},
34977 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
34978 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
34979 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
34980 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS, NULL},
34981 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS, NULL},
34982 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
34983 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS, NULL},
34984 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
34985 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS, NULL},
34986 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS, NULL},
34987 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS, NULL},
34988 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
34989 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS, NULL},
34990 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
34991 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
34992 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34993 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
34994 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
34995 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
34996 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
34997 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
34998 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
34999 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
35000 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS, NULL},
35001 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS, NULL},
35002 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35003 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35004 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
35005 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS, NULL},
35006 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS, NULL},
35007 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
35008 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
35009 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
35010 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35011 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35012 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35013 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS, NULL},
35014 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35015 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
35016 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL},
35017 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
35018 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction) _wrap_ListCtrl_SetItemSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
35019 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
35020 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35021 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35022 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS, NULL},
35023 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35024 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS, NULL},
35025 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
35026 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35027 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35028 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35029 { (char *)"ListCtrl_InReportView", (PyCFunction) _wrap_ListCtrl_InReportView, METH_VARARGS | METH_KEYWORDS, NULL},
35030 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS, NULL},
35031 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS, NULL},
35032 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS, NULL},
35033 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS, NULL},
35034 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS, NULL},
35035 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS, NULL},
35036 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35037 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS, NULL},
35038 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS, NULL},
35039 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35040 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35041 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS, NULL},
35042 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35043 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS, NULL},
35044 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
35045 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
35046 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
35047 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS, NULL},
35048 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
35049 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction) _wrap_ListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL},
35050 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35051 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
35052 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS, NULL},
35053 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35054 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35055 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35056 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35057 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS, NULL},
35058 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35059 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_ListCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35060 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS, NULL},
35061 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS, NULL},
35062 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS, NULL},
35063 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35064 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS, NULL},
35065 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS, NULL},
35066 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS, NULL},
35067 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35068 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35069 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35070 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
35071 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
35072 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS, NULL},
35073 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS, NULL},
35074 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS, NULL},
35075 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
35076 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
35077 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
35078 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS, NULL},
35079 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS, NULL},
35080 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS, NULL},
35081 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35082 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
35083 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
35084 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
35085 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
35086 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
35087 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS, NULL},
35088 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35089 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35090 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35091 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS, NULL},
35092 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS, NULL},
35093 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35094 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35095 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35096 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL},
35097 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35098 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35099 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35100 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS, NULL},
35101 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
35102 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
35103 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS, NULL},
35104 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35105 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35106 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35107 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
35108 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS, NULL},
35109 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35110 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35111 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
35112 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
35113 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35114 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35115 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35116 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35117 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35118 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35119 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
35120 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
35121 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35122 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
35123 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35124 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35125 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
35126 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
35127 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
35128 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35129 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
35130 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
35131 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS, NULL},
35132 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35133 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35134 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
35135 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35136 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
35137 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
35138 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35139 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS, NULL},
35140 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS, NULL},
35141 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS, NULL},
35142 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35143 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
35144 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS, NULL},
35145 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL},
35146 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS, NULL},
35147 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL},
35148 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS, NULL},
35149 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS, NULL},
35150 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS, NULL},
35151 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35152 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35153 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS, NULL},
35154 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL},
35155 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
35156 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS, NULL},
35157 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL},
35158 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS, NULL},
35159 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS, NULL},
35160 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS, NULL},
35161 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS, NULL},
35162 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS, NULL},
35163 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS, NULL},
35164 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
35165 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS, NULL},
35166 { (char *)"TreeCtrl_UnselectItem", (PyCFunction) _wrap_TreeCtrl_UnselectItem, METH_VARARGS | METH_KEYWORDS, NULL},
35167 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
35168 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS, NULL},
35169 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction) _wrap_TreeCtrl_ToggleItemSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35170 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35171 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS, NULL},
35172 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35173 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS, NULL},
35174 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS, NULL},
35175 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
35176 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
35177 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TreeCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35178 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS, NULL},
35179 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35180 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35181 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35182 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS, NULL},
35183 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL},
35184 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL},
35185 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS, NULL},
35186 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS, NULL},
35187 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
35188 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS, NULL},
35189 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS, NULL},
35190 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS, NULL},
35191 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS, NULL},
35192 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
35193 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
35194 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS, NULL},
35195 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35196 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35197 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS, NULL},
35198 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS, NULL},
35199 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS, NULL},
35200 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS, NULL},
35201 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35202 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35203 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35204 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS, NULL},
35205 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS, NULL},
35206 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS, NULL},
35207 { (char *)"new_PrePyControl", (PyCFunction) _wrap_new_PrePyControl, METH_VARARGS | METH_KEYWORDS, NULL},
35208 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
35209 { (char *)"PyControl_SetBestSize", (PyCFunction) _wrap_PyControl_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
35210 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction) _wrap_PyControl_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35211 { (char *)"PyControl_base_DoSetSize", (PyCFunction) _wrap_PyControl_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
35212 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction) _wrap_PyControl_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
35213 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
35214 { (char *)"PyControl_base_DoGetSize", (PyCFunction) _wrap_PyControl_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
35215 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction) _wrap_PyControl_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
35216 { (char *)"PyControl_base_DoGetPosition", (PyCFunction) _wrap_PyControl_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35217 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
35218 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction) _wrap_PyControl_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
35219 { (char *)"PyControl_base_InitDialog", (PyCFunction) _wrap_PyControl_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
35220 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction) _wrap_PyControl_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35221 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35222 { (char *)"PyControl_base_Validate", (PyCFunction) _wrap_PyControl_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
35223 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction) _wrap_PyControl_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
35224 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
35225 { (char *)"PyControl_base_GetMaxSize", (PyCFunction) _wrap_PyControl_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
35226 { (char *)"PyControl_base_AddChild", (PyCFunction) _wrap_PyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
35227 { (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
35228 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction) _wrap_PyControl_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
35229 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyControl_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL},
35230 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction) _wrap_PyControl_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35231 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS, NULL},
35232 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35233 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35234 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35235 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS, NULL},
35236 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS, NULL},
35237 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS, NULL},
35238 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS, NULL},
35239 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS, NULL},
35240 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35241 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35242 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35243 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35244 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS, NULL},
35245 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS, NULL},
35246 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS, NULL},
35247 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS, NULL},
35248 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS, NULL},
35249 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35250 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35251 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35252 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS, NULL},
35253 { (char *)"HelpProvider_RemoveHelp", (PyCFunction) _wrap_HelpProvider_RemoveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35254 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
35255 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS, NULL},
35256 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS, NULL},
35257 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS, NULL},
35258 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS, NULL},
35259 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS, NULL},
35260 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS, NULL},
35261 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS, NULL},
35262 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS, NULL},
35263 { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS, NULL},
35264 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35265 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS, NULL},
35266 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS, NULL},
35267 { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS, NULL},
35268 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS, NULL},
35269 { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS, NULL},
35270 { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS, NULL},
35271 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS, NULL},
35272 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS, NULL},
35273 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35274 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS, NULL},
35275 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS, NULL},
c32bde28 35276 { NULL, NULL, 0, NULL }
d14a1e28
RD
35277};
35278
35279
35280/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
35281
d14a1e28
RD
35282static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
35283 return (void *)((wxSizer *) ((wxBoxSizer *) x));
35284}
35285static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
35286 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
35287}
e505d15e
RD
35288static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x) {
35289 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
35290}
d14a1e28
RD
35291static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
35292 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
35293}
35294static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
35295 return (void *)((wxSizer *) ((wxGridSizer *) x));
35296}
35297static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
35298 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
35299}
35300static void *_p_wxNotebookSizerTo_p_wxSizer(void *x) {
35301 return (void *)((wxSizer *) ((wxNotebookSizer *) x));
35302}
35303static void *_p_wxPySizerTo_p_wxSizer(void *x) {
35304 return (void *)((wxSizer *) ((wxPySizer *) x));
35305}
35306static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x) {
35307 return (void *)((wxSizer *) ((wxBookCtrlSizer *) x));
35308}
35309static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
35310 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
35311}
35312static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
35313 return (void *)((wxEvent *) ((wxMenuEvent *) x));
35314}
35315static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
35316 return (void *)((wxEvent *) ((wxCloseEvent *) x));
35317}
35318static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
35319 return (void *)((wxEvent *) ((wxMouseEvent *) x));
35320}
35321static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
35322 return (void *)((wxEvent *) ((wxEraseEvent *) x));
35323}
8ac8dba0
RD
35324static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x) {
35325 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
35326}
d14a1e28
RD
35327static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
35328 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
35329}
35330static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
35331 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
35332}
35333static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
35334 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
35335}
35336static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
35337 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
35338}
35339static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
35340 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
35341}
d14a1e28
RD
35342static void *_p_wxPyEventTo_p_wxEvent(void *x) {
35343 return (void *)((wxEvent *) ((wxPyEvent *) x));
35344}
35345static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
35346 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
35347}
35348static void *_p_wxListEventTo_p_wxEvent(void *x) {
35349 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
35350}
35351static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
8ac8dba0 35352 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
d14a1e28
RD
35353}
35354static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
8ac8dba0 35355 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
d14a1e28 35356}
2ef75293 35357static void *_p_wxChoicebookEventTo_p_wxEvent(void *x) {
8ac8dba0 35358 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
2ef75293 35359}
d14a1e28
RD
35360static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
35361 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
35362}
35363static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
35364 return (void *)((wxEvent *) ((wxIdleEvent *) x));
35365}
35366static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
35367 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
35368}
35369static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
35370 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
35371}
35372static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
35373 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
35374}
35375static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
35376 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
35377}
35378static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
35379 return (void *)((wxEvent *) ((wxActivateEvent *) x));
35380}
35381static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
35382 return (void *)((wxEvent *) ((wxSizeEvent *) x));
35383}
35384static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
35385 return (void *)((wxEvent *) ((wxMoveEvent *) x));
35386}
35387static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
35388 return (void *)((wxEvent *) ((wxPaintEvent *) x));
35389}
35390static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
35391 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
35392}
35393static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
35394 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
35395}
35396static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
35397 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
35398}
35399static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
35400 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
35401}
35402static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
35403 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
35404}
35405static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
35406 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
35407}
35408static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
35409 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
35410}
35411static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
35412 return (void *)((wxEvent *) ((wxFocusEvent *) x));
35413}
35414static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
35415 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
35416}
35417static void *_p_wxShowEventTo_p_wxEvent(void *x) {
35418 return (void *)((wxEvent *) ((wxShowEvent *) x));
35419}
35420static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
35421 return (void *)((wxEvent *) ((wxCommandEvent *) x));
35422}
35423static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
35424 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
35425}
35426static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
35427 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
35428}
35429static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
35430 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
35431}
35432static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
35433 return (void *)((wxEvent *) ((wxKeyEvent *) x));
35434}
35435static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
35436 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
35437}
d1e20054
RD
35438static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
35439 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
35440}
d14a1e28
RD
35441static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
35442 return (void *)((wxItemContainer *) ((wxComboBox *) x));
35443}
35444static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
35445 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
35446}
35447static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
35448 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
35449}
35450static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
35451 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
35452}
35453static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
35454 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
35455}
35456static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
35457 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
35458}
35459static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
35460 return (void *)((wxPyListCtrl *) ((wxListView *) x));
35461}
8ac8dba0
RD
35462static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x) {
35463 return (void *)((wxControl *) ((wxBookCtrlBase *) x));
d14a1e28
RD
35464}
35465static void *_p_wxToolBarTo_p_wxControl(void *x) {
35466 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
35467}
2ef75293
RD
35468static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
35469 return (void *)((wxControl *) ((wxToggleButton *) x));
d14a1e28 35470}
2ef75293
RD
35471static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
35472 return (void *)((wxControl *) ((wxRadioButton *) x));
d14a1e28 35473}
2ef75293
RD
35474static void *_p_wxPyControlTo_p_wxControl(void *x) {
35475 return (void *)((wxControl *) ((wxPyControl *) x));
d14a1e28 35476}
2ef75293
RD
35477static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
35478 return (void *)((wxControl *) ((wxToolBarBase *) x));
35479}
35480static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
35481 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
d14a1e28
RD
35482}
35483static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
35484 return (void *)((wxControl *) ((wxPyListCtrl *) x));
35485}
2ef75293
RD
35486static void *_p_wxComboBoxTo_p_wxControl(void *x) {
35487 return (void *)((wxControl *) ((wxComboBox *) x));
d14a1e28 35488}
2ef75293
RD
35489static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
35490 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
d14a1e28
RD
35491}
35492static void *_p_wxScrollBarTo_p_wxControl(void *x) {
35493 return (void *)((wxControl *) ((wxScrollBar *) x));
35494}
2ef75293
RD
35495static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
35496 return (void *)((wxControl *) ((wxControlWithItems *) x));
d14a1e28
RD
35497}
35498static void *_p_wxGaugeTo_p_wxControl(void *x) {
35499 return (void *)((wxControl *) ((wxGauge *) x));
35500}
2ef75293
RD
35501static void *_p_wxStaticLineTo_p_wxControl(void *x) {
35502 return (void *)((wxControl *) ((wxStaticLine *) x));
d14a1e28 35503}
2ef75293 35504static void *_p_wxChoicebookTo_p_wxControl(void *x) {
8ac8dba0 35505 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxChoicebook *) x));
d14a1e28 35506}
2ef75293 35507static void *_p_wxListbookTo_p_wxControl(void *x) {
8ac8dba0 35508 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxListbook *) x));
d14a1e28 35509}
2ef75293
RD
35510static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
35511 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
d14a1e28 35512}
2ef75293
RD
35513static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
35514 return (void *)((wxControl *) ((wxCheckBox *) x));
d14a1e28
RD
35515}
35516static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
35517 return (void *)((wxControl *) ((wxRadioBox *) x));
35518}
2ef75293
RD
35519static void *_p_wxChoiceTo_p_wxControl(void *x) {
35520 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
35521}
35522static void *_p_wxListBoxTo_p_wxControl(void *x) {
35523 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
35524}
35525static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
35526 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
35527}
35528static void *_p_wxListViewTo_p_wxControl(void *x) {
35529 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
35530}
d14a1e28 35531static void *_p_wxNotebookTo_p_wxControl(void *x) {
8ac8dba0 35532 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxNotebook *) x));
d14a1e28 35533}
2ef75293
RD
35534static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
35535 return (void *)((wxControl *) ((wxStaticBitmap *) x));
d14a1e28 35536}
2ef75293
RD
35537static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
35538 return (void *)((wxControl *) ((wxSpinCtrl *) x));
d14a1e28 35539}
2ef75293
RD
35540static void *_p_wxStaticTextTo_p_wxControl(void *x) {
35541 return (void *)((wxControl *) ((wxStaticText *) x));
d14a1e28 35542}
2ef75293
RD
35543static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
35544 return (void *)((wxControl *) ((wxStaticBox *) x));
d14a1e28
RD
35545}
35546static void *_p_wxSliderTo_p_wxControl(void *x) {
35547 return (void *)((wxControl *) ((wxSlider *) x));
35548}
2ef75293
RD
35549static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
35550 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
d14a1e28 35551}
2ef75293
RD
35552static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
35553 return (void *)((wxControl *) ((wxSpinButton *) x));
d14a1e28 35554}
2ef75293
RD
35555static void *_p_wxButtonTo_p_wxControl(void *x) {
35556 return (void *)((wxControl *) ((wxButton *) x));
d14a1e28 35557}
2ef75293
RD
35558static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
35559 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
35560}
35561static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
35562 return (void *)((wxControl *) ((wxTextCtrl *) x));
d14a1e28
RD
35563}
35564static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
35565 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
35566}
35567static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
35568 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
35569}
8ac8dba0
RD
35570static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x) {
35571 return (void *)((wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
35572}
d14a1e28
RD
35573static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
35574 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
35575}
d14a1e28
RD
35576static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
35577 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
35578}
d1e20054
RD
35579static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x) {
35580 return (void *)((wxNotifyEvent *) ((wxSpinEvent *) x));
35581}
d14a1e28 35582static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
8ac8dba0 35583 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
d14a1e28
RD
35584}
35585static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
8ac8dba0 35586 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
d14a1e28 35587}
2ef75293 35588static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x) {
8ac8dba0
RD
35589 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
35590}
35591static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x) {
35592 return (void *)((wxBookCtrlBase *) ((wxChoicebook *) x));
35593}
35594static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x) {
35595 return (void *)((wxBookCtrlBase *) ((wxListbook *) x));
2ef75293 35596}
8ac8dba0
RD
35597static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x) {
35598 return (void *)((wxBookCtrlBase *) ((wxNotebook *) x));
d14a1e28
RD
35599}
35600static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
35601 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
35602}
8ac8dba0
RD
35603static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x) {
35604 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
35605}
d14a1e28
RD
35606static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
35607 return (void *)((wxEvtHandler *) ((wxValidator *) x));
35608}
35609static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
35610 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
35611}
35612static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
35613 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
35614}
35615static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
35616 return (void *)((wxEvtHandler *) ((wxMenu *) x));
35617}
35618static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
35619 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
35620}
35621static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
35622 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
35623}
35624static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
35625 return (void *)((wxEvtHandler *) ((wxWindow *) x));
35626}
35627static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
35628 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
35629}
35630static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
35631 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
35632}
d14a1e28
RD
35633static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
35634 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxComboBox *) x));
35635}
2ef75293
RD
35636static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
35637 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
35638}
d14a1e28
RD
35639static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
35640 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
35641}
35642static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
35643 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
35644}
35645static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
35646 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
35647}
35648static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
35649 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
35650}
35651static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
35652 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
35653}
35654static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
35655 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
35656}
35657static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
35658 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
35659}
35660static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
35661 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
35662}
2ef75293 35663static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x) {
8ac8dba0 35664 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
2ef75293 35665}
d14a1e28 35666static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
8ac8dba0 35667 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
d14a1e28
RD
35668}
35669static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
35670 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
35671}
35672static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
35673 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
35674}
35675static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
35676 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
35677}
35678static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
35679 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
35680}
35681static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
35682 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
35683}
35684static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
35685 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
35686}
35687static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
8ac8dba0 35688 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
d14a1e28
RD
35689}
35690static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
35691 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
35692}
35693static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
35694 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
35695}
35696static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
35697 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
35698}
35699static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
35700 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
35701}
35702static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
35703 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
35704}
35705static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
35706 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
35707}
35708static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
35709 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
35710}
35711static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
35712 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
35713}
35714static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
35715 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
35716}
35717static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
35718 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
35719}
35720static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
35721 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
35722}
35723static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
35724 return (void *)((wxListBox *) ((wxCheckListBox *) x));
35725}
d14a1e28
RD
35726static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
35727 return (void *)((wxButton *) ((wxBitmapButton *) x));
35728}
35729static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
35730 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
35731}
35732static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
35733 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
35734}
35735static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
35736 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
35737}
35738static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
35739 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
35740}
35741static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
35742 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
35743}
35744static void *_p_wxSizerItemTo_p_wxObject(void *x) {
35745 return (void *)((wxObject *) ((wxSizerItem *) x));
35746}
35747static void *_p_wxScrollEventTo_p_wxObject(void *x) {
35748 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
35749}
35750static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
35751 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
35752}
35753static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
35754 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
35755}
d14a1e28
RD
35756static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
35757 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
35758}
35759static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
35760 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
35761}
35762static void *_p_wxSizerTo_p_wxObject(void *x) {
35763 return (void *)((wxObject *) ((wxSizer *) x));
35764}
35765static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
35766 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
35767}
35768static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
35769 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
35770}
35771static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
35772 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
35773}
35774static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
35775 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
35776}
35777static void *_p_wxEventTo_p_wxObject(void *x) {
35778 return (void *)((wxObject *) ((wxEvent *) x));
35779}
35780static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
35781 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
35782}
35783static void *_p_wxGridSizerTo_p_wxObject(void *x) {
35784 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
35785}
35786static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
35787 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
35788}
35789static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
35790 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
35791}
35792static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
35793 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
35794}
35795static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
35796 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
35797}
35798static void *_p_wxPaintEventTo_p_wxObject(void *x) {
35799 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
35800}
35801static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
35802 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
35803}
35804static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
35805 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
35806}
35807static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
35808 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
35809}
35810static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
35811 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
35812}
35813static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
35814 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
35815}
35816static void *_p_wxStaticLineTo_p_wxObject(void *x) {
35817 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
35818}
35819static void *_p_wxControlTo_p_wxObject(void *x) {
35820 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
35821}
35822static void *_p_wxPyControlTo_p_wxObject(void *x) {
35823 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
35824}
35825static void *_p_wxGaugeTo_p_wxObject(void *x) {
35826 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
35827}
35828static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
35829 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
35830}
35831static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
35832 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
35833}
35834static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
35835 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
35836}
35837static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
35838 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
35839}
35840static void *_p_wxChoiceTo_p_wxObject(void *x) {
35841 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
35842}
35843static void *_p_wxFSFileTo_p_wxObject(void *x) {
35844 return (void *)((wxObject *) ((wxFSFile *) x));
35845}
35846static void *_p_wxPySizerTo_p_wxObject(void *x) {
35847 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
35848}
35849static void *_p_wxListViewTo_p_wxObject(void *x) {
35850 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
35851}
35852static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
35853 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
35854}
35855static void *_p_wxNotebookTo_p_wxObject(void *x) {
8ac8dba0 35856 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
d14a1e28
RD
35857}
35858static void *_p_wxPyEventTo_p_wxObject(void *x) {
35859 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
35860}
35861static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
35862 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
35863}
2ef75293 35864static void *_p_wxChoicebookTo_p_wxObject(void *x) {
8ac8dba0 35865 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
2ef75293 35866}
d14a1e28 35867static void *_p_wxListbookTo_p_wxObject(void *x) {
8ac8dba0 35868 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
d14a1e28
RD
35869}
35870static void *_p_wxShowEventTo_p_wxObject(void *x) {
35871 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
35872}
35873static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
35874 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
35875}
35876static void *_p_wxSliderTo_p_wxObject(void *x) {
35877 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
35878}
35879static void *_p_wxMenuItemTo_p_wxObject(void *x) {
35880 return (void *)((wxObject *) ((wxMenuItem *) x));
35881}
35882static void *_p_wxIdleEventTo_p_wxObject(void *x) {
35883 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
35884}
35885static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
35886 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
35887}
35888static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
35889 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
35890}
35891static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
35892 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
35893}
35894static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
35895 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
35896}
35897static void *_p_wxSizeEventTo_p_wxObject(void *x) {
35898 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
35899}
35900static void *_p_wxMoveEventTo_p_wxObject(void *x) {
35901 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
35902}
35903static void *_p_wxActivateEventTo_p_wxObject(void *x) {
35904 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
35905}
35906static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
35907 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
35908}
35909static void *_p_wxContextHelpTo_p_wxObject(void *x) {
35910 return (void *)((wxObject *) ((wxContextHelp *) x));
35911}
8ac8dba0
RD
35912static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x) {
35913 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
35914}
d14a1e28
RD
35915static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
35916 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
35917}
35918static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
35919 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
35920}
35921static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
35922 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
35923}
35924static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
35925 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
35926}
35927static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
35928 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
35929}
35930static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
35931 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
35932}
35933static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
35934 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
35935}
35936static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
35937 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
35938}
35939static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
35940 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
35941}
35942static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
35943 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
35944}
35945static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
35946 return (void *)((wxObject *) ((wxImageHandler *) x));
35947}
35948static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
35949 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
35950}
35951static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
35952 return (void *)((wxObject *) ((wxEvtHandler *) x));
35953}
35954static void *_p_wxListEventTo_p_wxObject(void *x) {
35955 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
35956}
35957static void *_p_wxListBoxTo_p_wxObject(void *x) {
35958 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
35959}
35960static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
35961 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
35962}
d14a1e28
RD
35963static void *_p_wxButtonTo_p_wxObject(void *x) {
35964 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
35965}
1e0c8722
RD
35966static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
35967 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
35968}
d14a1e28
RD
35969static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
35970 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
35971}
35972static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
35973 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
35974}
e505d15e
RD
35975static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
35976 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
35977}
1e0c8722
RD
35978static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
35979 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
35980}
d14a1e28
RD
35981static void *_p_wxScrollBarTo_p_wxObject(void *x) {
35982 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
35983}
35984static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
35985 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
35986}
35987static void *_p_wxComboBoxTo_p_wxObject(void *x) {
35988 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxComboBox *) x));
35989}
35990static void *_p_wxHelpEventTo_p_wxObject(void *x) {
35991 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
35992}
35993static void *_p_wxListItemTo_p_wxObject(void *x) {
35994 return (void *)((wxObject *) ((wxListItem *) x));
35995}
35996static void *_p_wxImageTo_p_wxObject(void *x) {
35997 return (void *)((wxObject *) ((wxImage *) x));
35998}
35999static void *_p_wxNotebookSizerTo_p_wxObject(void *x) {
36000 return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x));
36001}
36002static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
36003 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
36004}
d1e20054
RD
36005static void *_p_wxSpinEventTo_p_wxObject(void *x) {
36006 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
36007}
e811c8ce
RD
36008static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
36009 return (void *)((wxObject *) ((wxGenericDragImage *) x));
36010}
d14a1e28
RD
36011static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
36012 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
36013}
36014static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
8ac8dba0 36015 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
d14a1e28
RD
36016}
36017static void *_p_wxListbookEventTo_p_wxObject(void *x) {
8ac8dba0 36018 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
d14a1e28 36019}
2ef75293 36020static void *_p_wxChoicebookEventTo_p_wxObject(void *x) {
8ac8dba0 36021 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
2ef75293 36022}
d14a1e28
RD
36023static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
36024 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
36025}
36026static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
36027 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
36028}
36029static void *_p_wxKeyEventTo_p_wxObject(void *x) {
36030 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
36031}
36032static void *_p_wxWindowTo_p_wxObject(void *x) {
36033 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
36034}
36035static void *_p_wxMenuTo_p_wxObject(void *x) {
36036 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
36037}
36038static void *_p_wxMenuBarTo_p_wxObject(void *x) {
36039 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
36040}
36041static void *_p_wxFileSystemTo_p_wxObject(void *x) {
36042 return (void *)((wxObject *) ((wxFileSystem *) x));
36043}
36044static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
36045 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
36046}
36047static void *_p_wxMenuEventTo_p_wxObject(void *x) {
36048 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
36049}
36050static void *_p_wxPyAppTo_p_wxObject(void *x) {
36051 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
36052}
36053static void *_p_wxCloseEventTo_p_wxObject(void *x) {
36054 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
36055}
36056static void *_p_wxMouseEventTo_p_wxObject(void *x) {
36057 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
36058}
36059static void *_p_wxEraseEventTo_p_wxObject(void *x) {
36060 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
36061}
8ac8dba0
RD
36062static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x) {
36063 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
36064}
d14a1e28
RD
36065static void *_p_wxTreeEventTo_p_wxObject(void *x) {
36066 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
36067}
36068static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
36069 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
36070}
36071static void *_p_wxCommandEventTo_p_wxObject(void *x) {
36072 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
36073}
36074static void *_p_wxStaticTextTo_p_wxObject(void *x) {
36075 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
36076}
36077static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
36078 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
36079}
36080static void *_p_wxFocusEventTo_p_wxObject(void *x) {
36081 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
36082}
36083static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
36084 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
36085}
36086static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
36087 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
36088}
36089static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
36090 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
36091}
36092static void *_p_wxToolBarTo_p_wxObject(void *x) {
36093 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
36094}
36095static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
36096 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
36097}
36098static void *_p_wxValidatorTo_p_wxObject(void *x) {
36099 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
36100}
36101static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) {
36102 return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x));
36103}
d14a1e28
RD
36104static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
36105 return (void *)((wxWindow *) ((wxMenuBar *) x));
36106}
8ac8dba0
RD
36107static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x) {
36108 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrlBase *) x));
36109}
d14a1e28
RD
36110static void *_p_wxToolBarTo_p_wxWindow(void *x) {
36111 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
36112}
36113static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
36114 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
36115}
36116static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
36117 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
36118}
d14a1e28
RD
36119static void *_p_wxControlTo_p_wxWindow(void *x) {
36120 return (void *)((wxWindow *) ((wxControl *) x));
36121}
36122static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
36123 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
36124}
36125static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
36126 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
36127}
36128static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
36129 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
36130}
36131static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
36132 return (void *)((wxWindow *) (wxControl *) ((wxComboBox *) x));
36133}
2ef75293
RD
36134static void *_p_wxPyControlTo_p_wxWindow(void *x) {
36135 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
36136}
d14a1e28
RD
36137static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
36138 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
36139}
36140static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
36141 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
36142}
36143static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
36144 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
36145}
36146static void *_p_wxGaugeTo_p_wxWindow(void *x) {
36147 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
36148}
36149static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
36150 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
36151}
2ef75293 36152static void *_p_wxChoicebookTo_p_wxWindow(void *x) {
8ac8dba0 36153 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
2ef75293 36154}
d14a1e28 36155static void *_p_wxListbookTo_p_wxWindow(void *x) {
8ac8dba0 36156 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
d14a1e28
RD
36157}
36158static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
36159 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
36160}
36161static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
36162 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
36163}
36164static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
36165 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
36166}
36167static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
36168 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
36169}
36170static void *_p_wxChoiceTo_p_wxWindow(void *x) {
36171 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
36172}
36173static void *_p_wxListBoxTo_p_wxWindow(void *x) {
36174 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
36175}
36176static void *_p_wxListViewTo_p_wxWindow(void *x) {
36177 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
36178}
36179static void *_p_wxNotebookTo_p_wxWindow(void *x) {
8ac8dba0 36180 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
d14a1e28
RD
36181}
36182static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
36183 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
36184}
36185static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
36186 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
36187}
36188static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
36189 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
36190}
36191static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
36192 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
36193}
36194static void *_p_wxSliderTo_p_wxWindow(void *x) {
36195 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
36196}
36197static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
36198 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
36199}
36200static void *_p_wxButtonTo_p_wxWindow(void *x) {
36201 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
36202}
36203static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
36204 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
36205}
36206static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
36207 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
36208}
36209static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
36210 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
36211}
8ac8dba0
RD
36212static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
36213 return (void *)((wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
36214}
36215static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x) {
36216 return (void *)((wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
36217}
36218static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
36219 return (void *)((wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
36220}
d14a1e28
RD
36221static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
36222 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
36223}
d14a1e28
RD
36224static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
36225 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
36226}
36227static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
36228 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
36229}
36230static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
36231 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
36232}
36233static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
36234 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
36235}
36236static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
36237 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
36238}
2ef75293 36239static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x) {
8ac8dba0 36240 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
2ef75293 36241}
d14a1e28 36242static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
8ac8dba0 36243 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
d14a1e28
RD
36244}
36245static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
8ac8dba0 36246 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
d14a1e28 36247}
d14a1e28
RD
36248static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
36249 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
36250}
2ef75293
RD
36251static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
36252 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
36253}
8ac8dba0
RD
36254static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x) {
36255 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
36256}
d14a1e28
RD
36257static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
36258 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
36259}
d1e20054
RD
36260static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
36261 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
36262}
d14a1e28
RD
36263static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
36264 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
36265}
36266static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
36267 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
36268}
36269static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
36270 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
36271}
36272static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
36273 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
36274}
36275static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
36276 return (void *)((wxControlWithItems *) ((wxChoice *) x));
36277}
36278static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
36279 return (void *)((wxControlWithItems *) ((wxListBox *) x));
36280}
36281static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
36282 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
36283}
36284static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
36285 return (void *)((wxValidator *) ((wxPyValidator *) x));
36286}
15afbcd0 36287static 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}};
e505d15e 36288static 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}};
15afbcd0
RD
36289static 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}};
36290static swig_type_info _swigt__p_wxPyTreeCtrl[] = {{"_p_wxPyTreeCtrl", 0, "wxPyTreeCtrl *", 0, 0, 0, 0},{"_p_wxPyTreeCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
8ac8dba0 36291static swig_type_info _swigt__p_wxEvent[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBaseEvent", _p_wxBookCtrlBaseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15afbcd0
RD
36292static 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}};
36293static 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}};
15afbcd0 36294static 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}};
15afbcd0 36295static 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 36296static 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}};
74a57fcd 36297static 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}};
15afbcd0 36298static swig_type_info _swigt__p_wxStaticLine[] = {{"_p_wxStaticLine", 0, "wxStaticLine *", 0, 0, 0, 0},{"_p_wxStaticLine", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
8ac8dba0 36299static swig_type_info _swigt__p_wxControl[] = {{"_p_wxControl", 0, "wxControl *", 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxControl", 0, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15afbcd0
RD
36300static 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}};
36301static 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}};
36302static 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}};
36303static 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}};
36304static 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}};
36305static 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}};
36306static swig_type_info _swigt__p_wxChoice[] = {{"_p_wxChoice", 0, "wxChoice *", 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice, 0, 0, 0, 0, 0},{"_p_wxChoice", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36307static 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
36308static 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}};
36309static 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}};
15afbcd0
RD
36310static 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}};
36311static 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}};
36312static 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}};
36313static 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}};
36314static 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}};
36315static 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}};
36316static 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}};
74a57fcd 36317static 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}};
15afbcd0
RD
36318static 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}};
36319static 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}};
2ef75293 36320static 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 36321static 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}};
15afbcd0 36322static 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 36323static 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}};
15afbcd0
RD
36324static 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}};
36325static 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}};
36326static 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}};
36327static 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}};
36328static 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}};
36329static 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}};
36330static 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 36331static swig_type_info _swigt__p_wxDuplexMode[] = {{"_p_wxDuplexMode", 0, "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0, 0},{"_p_wxDuplexMode", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
8ac8dba0
RD
36332static 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}};
36333static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15afbcd0 36334static 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}};
15afbcd0 36335static 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}};
74a57fcd 36336static 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}};
15afbcd0
RD
36337static 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}};
36338static 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}};
36339static 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}};
36340static 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}};
36341static 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}};
36342static 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}};
36343static 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}};
36344static 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}};
15afbcd0 36345static 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 36346static 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}};
15afbcd0
RD
36347static 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}};
36348static 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}};
36349static 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}};
36350static 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}};
36351static 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}};
36352static 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 36353static 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}};
15afbcd0
RD
36354static 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}};
36355static 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}};
36356static 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}};
36357static 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}};
2ef75293 36358static 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}};
15afbcd0
RD
36359static 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}};
36360static 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 36361static 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}};
e505d15e 36362static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextHelp", _p_wxContextHelpTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListItem", _p_wxListItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotebookSizer", _p_wxNotebookSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGenericDragImage", _p_wxGenericDragImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBaseEvent", _p_wxBookCtrlBaseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToolBarToolBase", _p_wxToolBarToolBaseTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBookCtrlSizer", _p_wxBookCtrlSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15afbcd0
RD
36363static 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}};
36364static 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 36365static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *|wxUIntPtr *", 0, 0, 0, 0},{"_p_unsigned_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
8ac8dba0 36366static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15afbcd0
RD
36367static 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}};
36368static 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
36369static 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}};
36370static 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}};
36371static 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}};
15afbcd0 36372static 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 36373static 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 36374static swig_type_info _swigt__p_wxTreeEvent[] = {{"_p_wxTreeEvent", 0, "wxTreeEvent *", 0, 0, 0, 0},{"_p_wxTreeEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
8ac8dba0 36375static swig_type_info _swigt__p_wxCommandEvent[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBaseEvent", _p_wxBookCtrlBaseEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15afbcd0
RD
36376static 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}};
36377static swig_type_info _swigt__p_wxControlWithItems[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControlWithItems, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxControlWithItems, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", 0, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxControlWithItems, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControlWithItems, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36378static 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}};
36379static 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}};
36380static 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}};
36381static 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}};
36382static 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}};
d14a1e28
RD
36383
36384static swig_type_info *swig_types_initial[] = {
36385_swigt__p_wxTextUrlEvent,
d14a1e28 36386_swigt__p_wxSizer,
d14a1e28
RD
36387_swigt__p_wxCheckBox,
36388_swigt__p_wxPyTreeCtrl,
36389_swigt__p_wxEvent,
36390_swigt__p_wxGenericDirCtrl,
36391_swigt__p_bool,
d14a1e28 36392_swigt__p_wxItemContainer,
d14a1e28 36393_swigt__p_wxPyListCtrl,
093d3ff1 36394_swigt__p_wxPyTreeItemData,
74a57fcd 36395_swigt__p_wxDirFilterListCtrl,
d14a1e28
RD
36396_swigt__p_wxStaticLine,
36397_swigt__p_wxControl,
36398_swigt__p_wxPyControl,
36399_swigt__p_wxGauge,
36400_swigt__p_wxToolBarBase,
36401_swigt__p_wxFont,
36402_swigt__p_wxToggleButton,
36403_swigt__p_wxRadioButton,
36404_swigt__p_wxChoice,
e811c8ce 36405_swigt__p_wxMemoryDC,
093d3ff1
RD
36406_swigt__ptrdiff_t,
36407_swigt__std__ptrdiff_t,
d14a1e28 36408_swigt__p_wxListItemAttr,
58203fa6 36409_swigt__p_void,
d14a1e28
RD
36410_swigt__p_int,
36411_swigt__p_wxSize,
e811c8ce 36412_swigt__p_wxDC,
d14a1e28
RD
36413_swigt__p_wxListView,
36414_swigt__p_wxIcon,
74a57fcd 36415_swigt__p_wxVisualAttributes,
d14a1e28
RD
36416_swigt__p_wxTextCtrl,
36417_swigt__p_wxNotebook,
2ef75293 36418_swigt__p_wxChoicebook,
d14a1e28
RD
36419_swigt__p_wxNotifyEvent,
36420_swigt__p_wxArrayString,
093d3ff1 36421_swigt__p_form_ops_t,
d14a1e28
RD
36422_swigt__p_wxListbook,
36423_swigt__p_wxStaticBitmap,
36424_swigt__p_wxSlider,
36425_swigt__p_wxStaticBox,
36426_swigt__p_wxArrayInt,
36427_swigt__p_wxContextHelp,
36428_swigt__p_long,
093d3ff1 36429_swigt__p_wxDuplexMode,
8ac8dba0 36430_swigt__p_wxBookCtrlBase,
d14a1e28
RD
36431_swigt__p_wxEvtHandler,
36432_swigt__p_wxListEvent,
d14a1e28 36433_swigt__p_wxCheckListBox,
74a57fcd 36434_swigt__p_wxListBox,
d14a1e28
RD
36435_swigt__p_wxSpinButton,
36436_swigt__p_wxButton,
36437_swigt__p_wxBitmapButton,
36438_swigt__p_wxRect,
36439_swigt__p_wxContextHelpButton,
36440_swigt__p_wxRadioBox,
36441_swigt__p_wxScrollBar,
994141e6 36442_swigt__p_char,
d14a1e28 36443_swigt__p_wxComboBox,
093d3ff1 36444_swigt__p_wxTreeItemId,
d14a1e28
RD
36445_swigt__p_wxHelpEvent,
36446_swigt__p_wxListItem,
36447_swigt__p_wxNotebookSizer,
d1e20054 36448_swigt__p_wxSpinEvent,
e811c8ce 36449_swigt__p_wxGenericDragImage,
d14a1e28 36450_swigt__p_wxSpinCtrl,
093d3ff1 36451_swigt__p_wxPaperSize,
d14a1e28
RD
36452_swigt__p_wxImageList,
36453_swigt__p_wxHelpProvider,
36454_swigt__p_wxTextAttr,
36455_swigt__p_wxSimpleHelpProvider,
2ef75293 36456_swigt__p_wxChoicebookEvent,
d14a1e28
RD
36457_swigt__p_wxListbookEvent,
36458_swigt__p_wxNotebookEvent,
093d3ff1 36459_swigt__p_wxPoint,
d14a1e28 36460_swigt__p_wxObject,
e811c8ce 36461_swigt__p_wxCursor,
d14a1e28 36462_swigt__p_wxKeyEvent,
093d3ff1 36463_swigt__p_unsigned_long,
d14a1e28
RD
36464_swigt__p_wxWindow,
36465_swigt__p_wxString,
36466_swigt__p_wxBitmap,
093d3ff1
RD
36467_swigt__unsigned_int,
36468_swigt__p_unsigned_int,
36469_swigt__p_unsigned_char,
d14a1e28 36470_swigt__p_wxMouseEvent,
8ac8dba0 36471_swigt__p_wxBookCtrlBaseEvent,
093d3ff1 36472_swigt__p_wxTreeEvent,
d14a1e28
RD
36473_swigt__p_wxCommandEvent,
36474_swigt__p_wxStaticText,
36475_swigt__p_wxControlWithItems,
36476_swigt__p_wxToolBarToolBase,
36477_swigt__p_wxColour,
36478_swigt__p_wxToolBar,
36479_swigt__p_wxBookCtrlSizer,
36480_swigt__p_wxValidator,
364810
36482};
36483
36484
36485/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
36486
36487static swig_const_info swig_const_table[] = {
c32bde28 36488{0, 0, 0, 0.0, 0, 0}};
d14a1e28
RD
36489
36490#ifdef __cplusplus
36491}
36492#endif
36493
093d3ff1
RD
36494
36495#ifdef __cplusplus
36496extern "C" {
36497#endif
36498
36499 /* Python-specific SWIG API */
36500#define SWIG_newvarlink() SWIG_Python_newvarlink()
36501#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
36502#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
36503
36504 /* -----------------------------------------------------------------------------
36505 * global variable support code.
36506 * ----------------------------------------------------------------------------- */
36507
36508 typedef struct swig_globalvar {
36509 char *name; /* Name of global variable */
36510 PyObject *(*get_attr)(); /* Return the current value */
36511 int (*set_attr)(PyObject *); /* Set the value */
36512 struct swig_globalvar *next;
36513 } swig_globalvar;
36514
36515 typedef struct swig_varlinkobject {
36516 PyObject_HEAD
36517 swig_globalvar *vars;
36518 } swig_varlinkobject;
36519
36520 static PyObject *
36521 swig_varlink_repr(swig_varlinkobject *v) {
36522 v = v;
36523 return PyString_FromString("<Swig global variables>");
36524 }
36525
36526 static int
36527 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
36528 swig_globalvar *var;
36529 flags = flags;
36530 fprintf(fp,"Swig global variables { ");
36531 for (var = v->vars; var; var=var->next) {
36532 fprintf(fp,"%s", var->name);
36533 if (var->next) fprintf(fp,", ");
36534 }
36535 fprintf(fp," }\n");
36536 return 0;
36537 }
36538
36539 static PyObject *
36540 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
36541 swig_globalvar *var = v->vars;
36542 while (var) {
36543 if (strcmp(var->name,n) == 0) {
36544 return (*var->get_attr)();
36545 }
36546 var = var->next;
36547 }
36548 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
36549 return NULL;
36550 }
36551
36552 static int
36553 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
36554 swig_globalvar *var = v->vars;
36555 while (var) {
36556 if (strcmp(var->name,n) == 0) {
36557 return (*var->set_attr)(p);
36558 }
36559 var = var->next;
36560 }
36561 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
36562 return 1;
36563 }
36564
36565 static PyTypeObject varlinktype = {
36566 PyObject_HEAD_INIT(0)
36567 0, /* Number of items in variable part (ob_size) */
36568 (char *)"swigvarlink", /* Type name (tp_name) */
36569 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
36570 0, /* Itemsize (tp_itemsize) */
36571 0, /* Deallocator (tp_dealloc) */
36572 (printfunc) swig_varlink_print, /* Print (tp_print) */
36573 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
36574 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
36575 0, /* tp_compare */
36576 (reprfunc) swig_varlink_repr, /* tp_repr */
36577 0, /* tp_as_number */
36578 0, /* tp_as_sequence */
36579 0, /* tp_as_mapping */
36580 0, /* tp_hash */
36581 0, /* tp_call */
36582 0, /* tp_str */
36583 0, /* tp_getattro */
36584 0, /* tp_setattro */
36585 0, /* tp_as_buffer */
36586 0, /* tp_flags */
36587 0, /* tp_doc */
36588#if PY_VERSION_HEX >= 0x02000000
36589 0, /* tp_traverse */
36590 0, /* tp_clear */
36591#endif
36592#if PY_VERSION_HEX >= 0x02010000
36593 0, /* tp_richcompare */
36594 0, /* tp_weaklistoffset */
36595#endif
36596#if PY_VERSION_HEX >= 0x02020000
36597 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
36598#endif
36599#if PY_VERSION_HEX >= 0x02030000
36600 0, /* tp_del */
36601#endif
36602#ifdef COUNT_ALLOCS
36603 0,0,0,0 /* tp_alloc -> tp_next */
36604#endif
36605 };
36606
36607 /* Create a variable linking object for use later */
36608 static PyObject *
36609 SWIG_Python_newvarlink(void) {
36610 swig_varlinkobject *result = 0;
36611 result = PyMem_NEW(swig_varlinkobject,1);
36612 varlinktype.ob_type = &PyType_Type; /* Patch varlinktype into a PyType */
36613 result->ob_type = &varlinktype;
36614 result->vars = 0;
36615 result->ob_refcnt = 0;
36616 Py_XINCREF((PyObject *) result);
36617 return ((PyObject*) result);
36618 }
36619
36620 static void
36621 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
36622 swig_varlinkobject *v;
36623 swig_globalvar *gv;
36624 v= (swig_varlinkobject *) p;
36625 gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
36626 gv->name = (char *) malloc(strlen(name)+1);
36627 strcpy(gv->name,name);
36628 gv->get_attr = get_attr;
36629 gv->set_attr = set_attr;
36630 gv->next = v->vars;
36631 v->vars = gv;
36632 }
36633
36634 /* -----------------------------------------------------------------------------
36635 * constants/methods manipulation
36636 * ----------------------------------------------------------------------------- */
36637
36638 /* Install Constants */
36639 static void
36640 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
36641 PyObject *obj = 0;
36642 size_t i;
36643 for (i = 0; constants[i].type; i++) {
36644 switch(constants[i].type) {
36645 case SWIG_PY_INT:
36646 obj = PyInt_FromLong(constants[i].lvalue);
36647 break;
36648 case SWIG_PY_FLOAT:
36649 obj = PyFloat_FromDouble(constants[i].dvalue);
36650 break;
36651 case SWIG_PY_STRING:
36652 if (constants[i].pvalue) {
36653 obj = PyString_FromString((char *) constants[i].pvalue);
36654 } else {
36655 Py_INCREF(Py_None);
36656 obj = Py_None;
36657 }
36658 break;
36659 case SWIG_PY_POINTER:
36660 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
36661 break;
36662 case SWIG_PY_BINARY:
36663 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
36664 break;
36665 default:
36666 obj = 0;
36667 break;
36668 }
36669 if (obj) {
36670 PyDict_SetItemString(d,constants[i].name,obj);
36671 Py_DECREF(obj);
36672 }
36673 }
36674 }
36675
36676 /* -----------------------------------------------------------------------------*/
36677 /* Fix SwigMethods to carry the callback ptrs when needed */
36678 /* -----------------------------------------------------------------------------*/
36679
36680 static void
36681 SWIG_Python_FixMethods(PyMethodDef *methods,
36682 swig_const_info *const_table,
36683 swig_type_info **types,
36684 swig_type_info **types_initial) {
36685 size_t i;
36686 for (i = 0; methods[i].ml_name; ++i) {
36687 char *c = methods[i].ml_doc;
36688 if (c && (c = strstr(c, "swig_ptr: "))) {
36689 int j;
36690 swig_const_info *ci = 0;
36691 char *name = c + 10;
36692 for (j = 0; const_table[j].type; j++) {
36693 if (strncmp(const_table[j].name, name,
36694 strlen(const_table[j].name)) == 0) {
36695 ci = &(const_table[j]);
36696 break;
36697 }
36698 }
36699 if (ci) {
36700 size_t shift = (ci->ptype) - types;
36701 swig_type_info *ty = types_initial[shift];
36702 size_t ldoc = (c - methods[i].ml_doc);
36703 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
36704 char *ndoc = (char*)malloc(ldoc + lptr + 10);
36705 char *buff = ndoc;
36706 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue: (void *)(ci->lvalue);
36707 strncpy(buff, methods[i].ml_doc, ldoc);
36708 buff += ldoc;
36709 strncpy(buff, "swig_ptr: ", 10);
36710 buff += 10;
36711 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
36712 methods[i].ml_doc = ndoc;
36713 }
36714 }
36715 }
36716 }
36717
36718 /* -----------------------------------------------------------------------------*
36719 * Initialize type list
36720 * -----------------------------------------------------------------------------*/
36721
36722#if PY_MAJOR_VERSION < 2
36723 /* PyModule_AddObject function was introduced in Python 2.0. The following function
36724 is copied out of Python/modsupport.c in python version 2.3.4 */
36725 static int
36726 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
36727 {
36728 PyObject *dict;
36729 if (!PyModule_Check(m)) {
36730 PyErr_SetString(PyExc_TypeError,
36731 "PyModule_AddObject() needs module as first arg");
36732 return -1;
36733 }
36734 if (!o) {
36735 PyErr_SetString(PyExc_TypeError,
36736 "PyModule_AddObject() needs non-NULL value");
36737 return -1;
36738 }
36739
36740 dict = PyModule_GetDict(m);
36741 if (dict == NULL) {
36742 /* Internal error -- modules must have a dict! */
36743 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
36744 PyModule_GetName(m));
36745 return -1;
36746 }
36747 if (PyDict_SetItemString(dict, name, o))
36748 return -1;
36749 Py_DECREF(o);
36750 return 0;
36751 }
36752#endif
36753
36754 static swig_type_info **
36755 SWIG_Python_SetTypeListHandle(swig_type_info **type_list_handle) {
36756 static PyMethodDef swig_empty_runtime_method_table[] = {
36757 {
36758 NULL, NULL, 0, NULL
36759 }
36760 };/* Sentinel */
36761
36762 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
36763 swig_empty_runtime_method_table);
36764 PyObject *pointer = PyCObject_FromVoidPtr((void *) type_list_handle, NULL);
36765 if (pointer && module) {
36766 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
36767 }
36768 return type_list_handle;
36769 }
36770
36771 static swig_type_info **
36772 SWIG_Python_LookupTypePointer(swig_type_info **type_list_handle) {
36773 swig_type_info **type_pointer;
36774
36775 /* first check if module already created */
36776 type_pointer = SWIG_Python_GetTypeListHandle();
36777 if (type_pointer) {
36778 return type_pointer;
36779 } else {
36780 /* create a new module and variable */
36781 return SWIG_Python_SetTypeListHandle(type_list_handle);
36782 }
36783 }
36784
36785#ifdef __cplusplus
36786}
36787#endif
36788
36789/* -----------------------------------------------------------------------------*
36790 * Partial Init method
36791 * -----------------------------------------------------------------------------*/
36792
36793#ifdef SWIG_LINK_RUNTIME
36794#ifdef __cplusplus
36795extern "C"
36796#endif
36797SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
36798#endif
36799
d14a1e28
RD
36800#ifdef __cplusplus
36801extern "C"
36802#endif
36803SWIGEXPORT(void) SWIG_init(void) {
36804 static PyObject *SWIG_globals = 0;
36805 static int typeinit = 0;
36806 PyObject *m, *d;
36807 int i;
36808 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
093d3ff1
RD
36809
36810 /* Fix SwigMethods to carry the callback ptrs when needed */
36811 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_types_initial);
36812
d14a1e28
RD
36813 m = Py_InitModule((char *) SWIG_name, SwigMethods);
36814 d = PyModule_GetDict(m);
36815
36816 if (!typeinit) {
093d3ff1
RD
36817#ifdef SWIG_LINK_RUNTIME
36818 swig_type_list_handle = (swig_type_info **) SWIG_ReturnGlobalTypeList(swig_type_list_handle);
36819#else
36820# ifndef SWIG_STATIC_RUNTIME
36821 swig_type_list_handle = SWIG_Python_LookupTypePointer(swig_type_list_handle);
36822# endif
36823#endif
d14a1e28
RD
36824 for (i = 0; swig_types_initial[i]; i++) {
36825 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
36826 }
36827 typeinit = 1;
36828 }
36829 SWIG_InstallConstants(d,swig_const_table);
36830
b2dc1044
RD
36831 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
36832 SWIG_addvarlink(SWIG_globals,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get, _wrap_ButtonNameStr_set);
093d3ff1
RD
36833 {
36834 PyDict_SetItemString(d,"BU_LEFT", SWIG_From_int((int)(wxBU_LEFT)));
36835 }
36836 {
36837 PyDict_SetItemString(d,"BU_TOP", SWIG_From_int((int)(wxBU_TOP)));
36838 }
36839 {
36840 PyDict_SetItemString(d,"BU_RIGHT", SWIG_From_int((int)(wxBU_RIGHT)));
36841 }
36842 {
36843 PyDict_SetItemString(d,"BU_BOTTOM", SWIG_From_int((int)(wxBU_BOTTOM)));
36844 }
36845 {
36846 PyDict_SetItemString(d,"BU_ALIGN_MASK", SWIG_From_int((int)(wxBU_ALIGN_MASK)));
36847 }
36848 {
36849 PyDict_SetItemString(d,"BU_EXACTFIT", SWIG_From_int((int)(wxBU_EXACTFIT)));
36850 }
36851 {
36852 PyDict_SetItemString(d,"BU_AUTODRAW", SWIG_From_int((int)(wxBU_AUTODRAW)));
36853 }
b2dc1044 36854 SWIG_addvarlink(SWIG_globals,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get, _wrap_CheckBoxNameStr_set);
093d3ff1
RD
36855 {
36856 PyDict_SetItemString(d,"CHK_2STATE", SWIG_From_int((int)(wxCHK_2STATE)));
36857 }
36858 {
36859 PyDict_SetItemString(d,"CHK_3STATE", SWIG_From_int((int)(wxCHK_3STATE)));
36860 }
36861 {
36862 PyDict_SetItemString(d,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_From_int((int)(wxCHK_ALLOW_3RD_STATE_FOR_USER)));
36863 }
36864 {
36865 PyDict_SetItemString(d,"CHK_UNCHECKED", SWIG_From_int((int)(wxCHK_UNCHECKED)));
36866 }
36867 {
36868 PyDict_SetItemString(d,"CHK_CHECKED", SWIG_From_int((int)(wxCHK_CHECKED)));
36869 }
36870 {
36871 PyDict_SetItemString(d,"CHK_UNDETERMINED", SWIG_From_int((int)(wxCHK_UNDETERMINED)));
36872 }
b2dc1044
RD
36873 SWIG_addvarlink(SWIG_globals,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get, _wrap_ChoiceNameStr_set);
36874 SWIG_addvarlink(SWIG_globals,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get, _wrap_ComboBoxNameStr_set);
36875 SWIG_addvarlink(SWIG_globals,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get, _wrap_GaugeNameStr_set);
093d3ff1
RD
36876 {
36877 PyDict_SetItemString(d,"GA_HORIZONTAL", SWIG_From_int((int)(wxGA_HORIZONTAL)));
36878 }
36879 {
36880 PyDict_SetItemString(d,"GA_VERTICAL", SWIG_From_int((int)(wxGA_VERTICAL)));
36881 }
36882 {
36883 PyDict_SetItemString(d,"GA_SMOOTH", SWIG_From_int((int)(wxGA_SMOOTH)));
36884 }
36885 {
36886 PyDict_SetItemString(d,"GA_PROGRESSBAR", SWIG_From_int((int)(wxGA_PROGRESSBAR)));
36887 }
b2dc1044
RD
36888 SWIG_addvarlink(SWIG_globals,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get, _wrap_StaticBitmapNameStr_set);
36889 SWIG_addvarlink(SWIG_globals,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get, _wrap_StaticBoxNameStr_set);
36890 SWIG_addvarlink(SWIG_globals,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get, _wrap_StaticTextNameStr_set);
36891 SWIG_addvarlink(SWIG_globals,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get, _wrap_ListBoxNameStr_set);
36892 SWIG_addvarlink(SWIG_globals,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get, _wrap_TextCtrlNameStr_set);
093d3ff1
RD
36893 {
36894 PyDict_SetItemString(d,"TE_NO_VSCROLL", SWIG_From_int((int)(wxTE_NO_VSCROLL)));
36895 }
36896 {
36897 PyDict_SetItemString(d,"TE_AUTO_SCROLL", SWIG_From_int((int)(wxTE_AUTO_SCROLL)));
36898 }
36899 {
36900 PyDict_SetItemString(d,"TE_READONLY", SWIG_From_int((int)(wxTE_READONLY)));
36901 }
36902 {
36903 PyDict_SetItemString(d,"TE_MULTILINE", SWIG_From_int((int)(wxTE_MULTILINE)));
36904 }
36905 {
36906 PyDict_SetItemString(d,"TE_PROCESS_TAB", SWIG_From_int((int)(wxTE_PROCESS_TAB)));
36907 }
36908 {
36909 PyDict_SetItemString(d,"TE_LEFT", SWIG_From_int((int)(wxTE_LEFT)));
36910 }
36911 {
36912 PyDict_SetItemString(d,"TE_CENTER", SWIG_From_int((int)(wxTE_CENTER)));
36913 }
36914 {
36915 PyDict_SetItemString(d,"TE_RIGHT", SWIG_From_int((int)(wxTE_RIGHT)));
36916 }
36917 {
36918 PyDict_SetItemString(d,"TE_CENTRE", SWIG_From_int((int)(wxTE_CENTRE)));
36919 }
36920 {
36921 PyDict_SetItemString(d,"TE_RICH", SWIG_From_int((int)(wxTE_RICH)));
36922 }
36923 {
36924 PyDict_SetItemString(d,"TE_PROCESS_ENTER", SWIG_From_int((int)(wxTE_PROCESS_ENTER)));
36925 }
36926 {
36927 PyDict_SetItemString(d,"TE_PASSWORD", SWIG_From_int((int)(wxTE_PASSWORD)));
36928 }
36929 {
36930 PyDict_SetItemString(d,"TE_AUTO_URL", SWIG_From_int((int)(wxTE_AUTO_URL)));
36931 }
36932 {
36933 PyDict_SetItemString(d,"TE_NOHIDESEL", SWIG_From_int((int)(wxTE_NOHIDESEL)));
36934 }
36935 {
36936 PyDict_SetItemString(d,"TE_DONTWRAP", SWIG_From_int((int)(wxTE_DONTWRAP)));
36937 }
36938 {
36939 PyDict_SetItemString(d,"TE_LINEWRAP", SWIG_From_int((int)(wxTE_LINEWRAP)));
36940 }
36941 {
36942 PyDict_SetItemString(d,"TE_WORDWRAP", SWIG_From_int((int)(wxTE_WORDWRAP)));
36943 }
36944 {
36945 PyDict_SetItemString(d,"TE_RICH2", SWIG_From_int((int)(wxTE_RICH2)));
36946 }
36947 {
36948 PyDict_SetItemString(d,"TEXT_ALIGNMENT_DEFAULT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_DEFAULT)));
36949 }
36950 {
36951 PyDict_SetItemString(d,"TEXT_ALIGNMENT_LEFT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_LEFT)));
36952 }
36953 {
36954 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTRE", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTRE)));
36955 }
36956 {
36957 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTER", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTER)));
36958 }
36959 {
36960 PyDict_SetItemString(d,"TEXT_ALIGNMENT_RIGHT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_RIGHT)));
36961 }
36962 {
36963 PyDict_SetItemString(d,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_From_int((int)(wxTEXT_ALIGNMENT_JUSTIFIED)));
36964 }
36965 {
36966 PyDict_SetItemString(d,"TEXT_ATTR_TEXT_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_TEXT_COLOUR)));
36967 }
36968 {
36969 PyDict_SetItemString(d,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_BACKGROUND_COLOUR)));
36970 }
36971 {
36972 PyDict_SetItemString(d,"TEXT_ATTR_FONT_FACE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_FACE)));
36973 }
36974 {
36975 PyDict_SetItemString(d,"TEXT_ATTR_FONT_SIZE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_SIZE)));
36976 }
36977 {
36978 PyDict_SetItemString(d,"TEXT_ATTR_FONT_WEIGHT", SWIG_From_int((int)(wxTEXT_ATTR_FONT_WEIGHT)));
36979 }
36980 {
36981 PyDict_SetItemString(d,"TEXT_ATTR_FONT_ITALIC", SWIG_From_int((int)(wxTEXT_ATTR_FONT_ITALIC)));
36982 }
36983 {
36984 PyDict_SetItemString(d,"TEXT_ATTR_FONT_UNDERLINE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_UNDERLINE)));
36985 }
36986 {
36987 PyDict_SetItemString(d,"TEXT_ATTR_FONT", SWIG_From_int((int)(wxTEXT_ATTR_FONT)));
36988 }
36989 {
36990 PyDict_SetItemString(d,"TEXT_ATTR_ALIGNMENT", SWIG_From_int((int)(wxTEXT_ATTR_ALIGNMENT)));
36991 }
36992 {
36993 PyDict_SetItemString(d,"TEXT_ATTR_LEFT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_LEFT_INDENT)));
36994 }
36995 {
36996 PyDict_SetItemString(d,"TEXT_ATTR_RIGHT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_RIGHT_INDENT)));
36997 }
36998 {
36999 PyDict_SetItemString(d,"TEXT_ATTR_TABS", SWIG_From_int((int)(wxTEXT_ATTR_TABS)));
37000 }
37001 {
37002 PyDict_SetItemString(d,"TE_HT_UNKNOWN", SWIG_From_int((int)(wxTE_HT_UNKNOWN)));
37003 }
37004 {
37005 PyDict_SetItemString(d,"TE_HT_BEFORE", SWIG_From_int((int)(wxTE_HT_BEFORE)));
37006 }
37007 {
37008 PyDict_SetItemString(d,"TE_HT_ON_TEXT", SWIG_From_int((int)(wxTE_HT_ON_TEXT)));
37009 }
37010 {
37011 PyDict_SetItemString(d,"TE_HT_BELOW", SWIG_From_int((int)(wxTE_HT_BELOW)));
37012 }
37013 {
37014 PyDict_SetItemString(d,"TE_HT_BEYOND", SWIG_From_int((int)(wxTE_HT_BEYOND)));
37015 }
d14a1e28
RD
37016 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
37017 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
37018 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
37019 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
b2dc1044
RD
37020 SWIG_addvarlink(SWIG_globals,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get, _wrap_ScrollBarNameStr_set);
37021 SWIG_addvarlink(SWIG_globals,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get, _wrap_SPIN_BUTTON_NAME_set);
37022 SWIG_addvarlink(SWIG_globals,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get, _wrap_SpinCtrlNameStr_set);
093d3ff1
RD
37023 {
37024 PyDict_SetItemString(d,"SP_HORIZONTAL", SWIG_From_int((int)(wxSP_HORIZONTAL)));
37025 }
37026 {
37027 PyDict_SetItemString(d,"SP_VERTICAL", SWIG_From_int((int)(wxSP_VERTICAL)));
37028 }
37029 {
37030 PyDict_SetItemString(d,"SP_ARROW_KEYS", SWIG_From_int((int)(wxSP_ARROW_KEYS)));
37031 }
37032 {
37033 PyDict_SetItemString(d,"SP_WRAP", SWIG_From_int((int)(wxSP_WRAP)));
37034 }
d14a1e28 37035 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
b2dc1044
RD
37036 SWIG_addvarlink(SWIG_globals,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get, _wrap_RadioBoxNameStr_set);
37037 SWIG_addvarlink(SWIG_globals,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get, _wrap_RadioButtonNameStr_set);
37038 SWIG_addvarlink(SWIG_globals,(char*)"SliderNameStr",_wrap_SliderNameStr_get, _wrap_SliderNameStr_set);
37039 SWIG_addvarlink(SWIG_globals,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get, _wrap_ToggleButtonNameStr_set);
d14a1e28 37040 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
b2dc1044 37041 SWIG_addvarlink(SWIG_globals,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get, _wrap_NOTEBOOK_NAME_set);
093d3ff1
RD
37042 {
37043 PyDict_SetItemString(d,"NB_FIXEDWIDTH", SWIG_From_int((int)(wxNB_FIXEDWIDTH)));
37044 }
37045 {
37046 PyDict_SetItemString(d,"NB_TOP", SWIG_From_int((int)(wxNB_TOP)));
37047 }
37048 {
37049 PyDict_SetItemString(d,"NB_LEFT", SWIG_From_int((int)(wxNB_LEFT)));
37050 }
37051 {
37052 PyDict_SetItemString(d,"NB_RIGHT", SWIG_From_int((int)(wxNB_RIGHT)));
37053 }
37054 {
37055 PyDict_SetItemString(d,"NB_BOTTOM", SWIG_From_int((int)(wxNB_BOTTOM)));
37056 }
37057 {
37058 PyDict_SetItemString(d,"NB_MULTILINE", SWIG_From_int((int)(wxNB_MULTILINE)));
37059 }
37060 {
37061 PyDict_SetItemString(d,"NB_HITTEST_NOWHERE", SWIG_From_int((int)(wxNB_HITTEST_NOWHERE)));
37062 }
37063 {
37064 PyDict_SetItemString(d,"NB_HITTEST_ONICON", SWIG_From_int((int)(wxNB_HITTEST_ONICON)));
37065 }
37066 {
37067 PyDict_SetItemString(d,"NB_HITTEST_ONLABEL", SWIG_From_int((int)(wxNB_HITTEST_ONLABEL)));
37068 }
37069 {
37070 PyDict_SetItemString(d,"NB_HITTEST_ONITEM", SWIG_From_int((int)(wxNB_HITTEST_ONITEM)));
37071 }
d14a1e28
RD
37072 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
37073 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
093d3ff1
RD
37074 {
37075 PyDict_SetItemString(d,"LB_DEFAULT", SWIG_From_int((int)(wxLB_DEFAULT)));
37076 }
37077 {
37078 PyDict_SetItemString(d,"LB_TOP", SWIG_From_int((int)(wxLB_TOP)));
37079 }
37080 {
37081 PyDict_SetItemString(d,"LB_BOTTOM", SWIG_From_int((int)(wxLB_BOTTOM)));
37082 }
37083 {
37084 PyDict_SetItemString(d,"LB_LEFT", SWIG_From_int((int)(wxLB_LEFT)));
37085 }
37086 {
37087 PyDict_SetItemString(d,"LB_RIGHT", SWIG_From_int((int)(wxLB_RIGHT)));
37088 }
37089 {
37090 PyDict_SetItemString(d,"LB_ALIGN_MASK", SWIG_From_int((int)(wxLB_ALIGN_MASK)));
37091 }
d14a1e28
RD
37092 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
37093 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
093d3ff1
RD
37094 {
37095 PyDict_SetItemString(d,"CHB_DEFAULT", SWIG_From_int((int)(wxCHB_DEFAULT)));
37096 }
37097 {
37098 PyDict_SetItemString(d,"CHB_TOP", SWIG_From_int((int)(wxCHB_TOP)));
37099 }
37100 {
37101 PyDict_SetItemString(d,"CHB_BOTTOM", SWIG_From_int((int)(wxCHB_BOTTOM)));
37102 }
37103 {
37104 PyDict_SetItemString(d,"CHB_LEFT", SWIG_From_int((int)(wxCHB_LEFT)));
37105 }
37106 {
37107 PyDict_SetItemString(d,"CHB_RIGHT", SWIG_From_int((int)(wxCHB_RIGHT)));
37108 }
37109 {
37110 PyDict_SetItemString(d,"CHB_ALIGN_MASK", SWIG_From_int((int)(wxCHB_ALIGN_MASK)));
37111 }
2ef75293
RD
37112 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED));
37113 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING));
093d3ff1
RD
37114 {
37115 PyDict_SetItemString(d,"TOOL_STYLE_BUTTON", SWIG_From_int((int)(wxTOOL_STYLE_BUTTON)));
37116 }
37117 {
37118 PyDict_SetItemString(d,"TOOL_STYLE_SEPARATOR", SWIG_From_int((int)(wxTOOL_STYLE_SEPARATOR)));
37119 }
37120 {
37121 PyDict_SetItemString(d,"TOOL_STYLE_CONTROL", SWIG_From_int((int)(wxTOOL_STYLE_CONTROL)));
37122 }
37123 {
37124 PyDict_SetItemString(d,"TB_HORIZONTAL", SWIG_From_int((int)(wxTB_HORIZONTAL)));
37125 }
37126 {
37127 PyDict_SetItemString(d,"TB_VERTICAL", SWIG_From_int((int)(wxTB_VERTICAL)));
37128 }
37129 {
37130 PyDict_SetItemString(d,"TB_3DBUTTONS", SWIG_From_int((int)(wxTB_3DBUTTONS)));
37131 }
37132 {
37133 PyDict_SetItemString(d,"TB_FLAT", SWIG_From_int((int)(wxTB_FLAT)));
37134 }
37135 {
37136 PyDict_SetItemString(d,"TB_DOCKABLE", SWIG_From_int((int)(wxTB_DOCKABLE)));
37137 }
37138 {
37139 PyDict_SetItemString(d,"TB_NOICONS", SWIG_From_int((int)(wxTB_NOICONS)));
37140 }
37141 {
37142 PyDict_SetItemString(d,"TB_TEXT", SWIG_From_int((int)(wxTB_TEXT)));
37143 }
37144 {
37145 PyDict_SetItemString(d,"TB_NODIVIDER", SWIG_From_int((int)(wxTB_NODIVIDER)));
37146 }
37147 {
37148 PyDict_SetItemString(d,"TB_NOALIGN", SWIG_From_int((int)(wxTB_NOALIGN)));
37149 }
37150 {
37151 PyDict_SetItemString(d,"TB_HORZ_LAYOUT", SWIG_From_int((int)(wxTB_HORZ_LAYOUT)));
37152 }
37153 {
37154 PyDict_SetItemString(d,"TB_HORZ_TEXT", SWIG_From_int((int)(wxTB_HORZ_TEXT)));
37155 }
b2dc1044 37156 SWIG_addvarlink(SWIG_globals,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get, _wrap_ListCtrlNameStr_set);
093d3ff1
RD
37157 {
37158 PyDict_SetItemString(d,"LC_VRULES", SWIG_From_int((int)(wxLC_VRULES)));
37159 }
37160 {
37161 PyDict_SetItemString(d,"LC_HRULES", SWIG_From_int((int)(wxLC_HRULES)));
37162 }
37163 {
37164 PyDict_SetItemString(d,"LC_ICON", SWIG_From_int((int)(wxLC_ICON)));
37165 }
37166 {
37167 PyDict_SetItemString(d,"LC_SMALL_ICON", SWIG_From_int((int)(wxLC_SMALL_ICON)));
37168 }
37169 {
37170 PyDict_SetItemString(d,"LC_LIST", SWIG_From_int((int)(wxLC_LIST)));
37171 }
37172 {
37173 PyDict_SetItemString(d,"LC_REPORT", SWIG_From_int((int)(wxLC_REPORT)));
37174 }
37175 {
37176 PyDict_SetItemString(d,"LC_ALIGN_TOP", SWIG_From_int((int)(wxLC_ALIGN_TOP)));
37177 }
37178 {
37179 PyDict_SetItemString(d,"LC_ALIGN_LEFT", SWIG_From_int((int)(wxLC_ALIGN_LEFT)));
37180 }
37181 {
37182 PyDict_SetItemString(d,"LC_AUTOARRANGE", SWIG_From_int((int)(wxLC_AUTOARRANGE)));
37183 }
37184 {
37185 PyDict_SetItemString(d,"LC_VIRTUAL", SWIG_From_int((int)(wxLC_VIRTUAL)));
37186 }
37187 {
37188 PyDict_SetItemString(d,"LC_EDIT_LABELS", SWIG_From_int((int)(wxLC_EDIT_LABELS)));
37189 }
37190 {
37191 PyDict_SetItemString(d,"LC_NO_HEADER", SWIG_From_int((int)(wxLC_NO_HEADER)));
37192 }
37193 {
37194 PyDict_SetItemString(d,"LC_NO_SORT_HEADER", SWIG_From_int((int)(wxLC_NO_SORT_HEADER)));
37195 }
37196 {
37197 PyDict_SetItemString(d,"LC_SINGLE_SEL", SWIG_From_int((int)(wxLC_SINGLE_SEL)));
37198 }
37199 {
37200 PyDict_SetItemString(d,"LC_SORT_ASCENDING", SWIG_From_int((int)(wxLC_SORT_ASCENDING)));
37201 }
37202 {
37203 PyDict_SetItemString(d,"LC_SORT_DESCENDING", SWIG_From_int((int)(wxLC_SORT_DESCENDING)));
37204 }
37205 {
37206 PyDict_SetItemString(d,"LC_MASK_TYPE", SWIG_From_int((int)(wxLC_MASK_TYPE)));
37207 }
37208 {
37209 PyDict_SetItemString(d,"LC_MASK_ALIGN", SWIG_From_int((int)(wxLC_MASK_ALIGN)));
37210 }
37211 {
37212 PyDict_SetItemString(d,"LC_MASK_SORT", SWIG_From_int((int)(wxLC_MASK_SORT)));
37213 }
37214 {
37215 PyDict_SetItemString(d,"LIST_MASK_STATE", SWIG_From_int((int)(wxLIST_MASK_STATE)));
37216 }
37217 {
37218 PyDict_SetItemString(d,"LIST_MASK_TEXT", SWIG_From_int((int)(wxLIST_MASK_TEXT)));
37219 }
37220 {
37221 PyDict_SetItemString(d,"LIST_MASK_IMAGE", SWIG_From_int((int)(wxLIST_MASK_IMAGE)));
37222 }
37223 {
37224 PyDict_SetItemString(d,"LIST_MASK_DATA", SWIG_From_int((int)(wxLIST_MASK_DATA)));
37225 }
37226 {
37227 PyDict_SetItemString(d,"LIST_SET_ITEM", SWIG_From_int((int)(wxLIST_SET_ITEM)));
37228 }
37229 {
37230 PyDict_SetItemString(d,"LIST_MASK_WIDTH", SWIG_From_int((int)(wxLIST_MASK_WIDTH)));
37231 }
37232 {
37233 PyDict_SetItemString(d,"LIST_MASK_FORMAT", SWIG_From_int((int)(wxLIST_MASK_FORMAT)));
37234 }
37235 {
37236 PyDict_SetItemString(d,"LIST_STATE_DONTCARE", SWIG_From_int((int)(wxLIST_STATE_DONTCARE)));
37237 }
37238 {
37239 PyDict_SetItemString(d,"LIST_STATE_DROPHILITED", SWIG_From_int((int)(wxLIST_STATE_DROPHILITED)));
37240 }
37241 {
37242 PyDict_SetItemString(d,"LIST_STATE_FOCUSED", SWIG_From_int((int)(wxLIST_STATE_FOCUSED)));
37243 }
37244 {
37245 PyDict_SetItemString(d,"LIST_STATE_SELECTED", SWIG_From_int((int)(wxLIST_STATE_SELECTED)));
37246 }
37247 {
37248 PyDict_SetItemString(d,"LIST_STATE_CUT", SWIG_From_int((int)(wxLIST_STATE_CUT)));
37249 }
37250 {
37251 PyDict_SetItemString(d,"LIST_STATE_DISABLED", SWIG_From_int((int)(wxLIST_STATE_DISABLED)));
37252 }
37253 {
37254 PyDict_SetItemString(d,"LIST_STATE_FILTERED", SWIG_From_int((int)(wxLIST_STATE_FILTERED)));
37255 }
37256 {
37257 PyDict_SetItemString(d,"LIST_STATE_INUSE", SWIG_From_int((int)(wxLIST_STATE_INUSE)));
37258 }
37259 {
37260 PyDict_SetItemString(d,"LIST_STATE_PICKED", SWIG_From_int((int)(wxLIST_STATE_PICKED)));
37261 }
37262 {
37263 PyDict_SetItemString(d,"LIST_STATE_SOURCE", SWIG_From_int((int)(wxLIST_STATE_SOURCE)));
37264 }
37265 {
37266 PyDict_SetItemString(d,"LIST_HITTEST_ABOVE", SWIG_From_int((int)(wxLIST_HITTEST_ABOVE)));
37267 }
37268 {
37269 PyDict_SetItemString(d,"LIST_HITTEST_BELOW", SWIG_From_int((int)(wxLIST_HITTEST_BELOW)));
37270 }
37271 {
37272 PyDict_SetItemString(d,"LIST_HITTEST_NOWHERE", SWIG_From_int((int)(wxLIST_HITTEST_NOWHERE)));
37273 }
37274 {
37275 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMICON)));
37276 }
37277 {
37278 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMLABEL)));
37279 }
37280 {
37281 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMRIGHT)));
37282 }
37283 {
37284 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMSTATEICON)));
37285 }
37286 {
37287 PyDict_SetItemString(d,"LIST_HITTEST_TOLEFT", SWIG_From_int((int)(wxLIST_HITTEST_TOLEFT)));
37288 }
37289 {
37290 PyDict_SetItemString(d,"LIST_HITTEST_TORIGHT", SWIG_From_int((int)(wxLIST_HITTEST_TORIGHT)));
37291 }
37292 {
37293 PyDict_SetItemString(d,"LIST_HITTEST_ONITEM", SWIG_From_int((int)(wxLIST_HITTEST_ONITEM)));
37294 }
37295 {
37296 PyDict_SetItemString(d,"LIST_NEXT_ABOVE", SWIG_From_int((int)(wxLIST_NEXT_ABOVE)));
37297 }
37298 {
37299 PyDict_SetItemString(d,"LIST_NEXT_ALL", SWIG_From_int((int)(wxLIST_NEXT_ALL)));
37300 }
37301 {
37302 PyDict_SetItemString(d,"LIST_NEXT_BELOW", SWIG_From_int((int)(wxLIST_NEXT_BELOW)));
37303 }
37304 {
37305 PyDict_SetItemString(d,"LIST_NEXT_LEFT", SWIG_From_int((int)(wxLIST_NEXT_LEFT)));
37306 }
37307 {
37308 PyDict_SetItemString(d,"LIST_NEXT_RIGHT", SWIG_From_int((int)(wxLIST_NEXT_RIGHT)));
37309 }
37310 {
37311 PyDict_SetItemString(d,"LIST_ALIGN_DEFAULT", SWIG_From_int((int)(wxLIST_ALIGN_DEFAULT)));
37312 }
37313 {
37314 PyDict_SetItemString(d,"LIST_ALIGN_LEFT", SWIG_From_int((int)(wxLIST_ALIGN_LEFT)));
37315 }
37316 {
37317 PyDict_SetItemString(d,"LIST_ALIGN_TOP", SWIG_From_int((int)(wxLIST_ALIGN_TOP)));
37318 }
37319 {
37320 PyDict_SetItemString(d,"LIST_ALIGN_SNAP_TO_GRID", SWIG_From_int((int)(wxLIST_ALIGN_SNAP_TO_GRID)));
37321 }
37322 {
37323 PyDict_SetItemString(d,"LIST_FORMAT_LEFT", SWIG_From_int((int)(wxLIST_FORMAT_LEFT)));
37324 }
37325 {
37326 PyDict_SetItemString(d,"LIST_FORMAT_RIGHT", SWIG_From_int((int)(wxLIST_FORMAT_RIGHT)));
37327 }
37328 {
37329 PyDict_SetItemString(d,"LIST_FORMAT_CENTRE", SWIG_From_int((int)(wxLIST_FORMAT_CENTRE)));
37330 }
37331 {
37332 PyDict_SetItemString(d,"LIST_FORMAT_CENTER", SWIG_From_int((int)(wxLIST_FORMAT_CENTER)));
37333 }
37334 {
37335 PyDict_SetItemString(d,"LIST_AUTOSIZE", SWIG_From_int((int)(wxLIST_AUTOSIZE)));
37336 }
37337 {
37338 PyDict_SetItemString(d,"LIST_AUTOSIZE_USEHEADER", SWIG_From_int((int)(wxLIST_AUTOSIZE_USEHEADER)));
37339 }
37340 {
37341 PyDict_SetItemString(d,"LIST_RECT_BOUNDS", SWIG_From_int((int)(wxLIST_RECT_BOUNDS)));
37342 }
37343 {
37344 PyDict_SetItemString(d,"LIST_RECT_ICON", SWIG_From_int((int)(wxLIST_RECT_ICON)));
37345 }
37346 {
37347 PyDict_SetItemString(d,"LIST_RECT_LABEL", SWIG_From_int((int)(wxLIST_RECT_LABEL)));
37348 }
37349 {
37350 PyDict_SetItemString(d,"LIST_FIND_UP", SWIG_From_int((int)(wxLIST_FIND_UP)));
37351 }
37352 {
37353 PyDict_SetItemString(d,"LIST_FIND_DOWN", SWIG_From_int((int)(wxLIST_FIND_DOWN)));
37354 }
37355 {
37356 PyDict_SetItemString(d,"LIST_FIND_LEFT", SWIG_From_int((int)(wxLIST_FIND_LEFT)));
37357 }
37358 {
37359 PyDict_SetItemString(d,"LIST_FIND_RIGHT", SWIG_From_int((int)(wxLIST_FIND_RIGHT)));
37360 }
d14a1e28
RD
37361 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
37362 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
37363 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
37364 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
37365 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
37366 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
37367 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO));
37368 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO));
37369 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
37370 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
37371 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
37372 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
37373 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
37374 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
37375 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
37376 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
37377 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
37378 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
37379 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
37380 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
37381 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
37382 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
37383
37384 // Map renamed classes back to their common name for OOR
37385 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
37386
b2dc1044 37387 SWIG_addvarlink(SWIG_globals,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get, _wrap_TreeCtrlNameStr_set);
093d3ff1
RD
37388 {
37389 PyDict_SetItemString(d,"TR_NO_BUTTONS", SWIG_From_int((int)(wxTR_NO_BUTTONS)));
37390 }
37391 {
37392 PyDict_SetItemString(d,"TR_HAS_BUTTONS", SWIG_From_int((int)(wxTR_HAS_BUTTONS)));
37393 }
37394 {
37395 PyDict_SetItemString(d,"TR_NO_LINES", SWIG_From_int((int)(wxTR_NO_LINES)));
37396 }
37397 {
37398 PyDict_SetItemString(d,"TR_LINES_AT_ROOT", SWIG_From_int((int)(wxTR_LINES_AT_ROOT)));
37399 }
37400 {
37401 PyDict_SetItemString(d,"TR_SINGLE", SWIG_From_int((int)(wxTR_SINGLE)));
37402 }
37403 {
37404 PyDict_SetItemString(d,"TR_MULTIPLE", SWIG_From_int((int)(wxTR_MULTIPLE)));
37405 }
37406 {
37407 PyDict_SetItemString(d,"TR_EXTENDED", SWIG_From_int((int)(wxTR_EXTENDED)));
37408 }
37409 {
37410 PyDict_SetItemString(d,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_From_int((int)(wxTR_HAS_VARIABLE_ROW_HEIGHT)));
37411 }
37412 {
37413 PyDict_SetItemString(d,"TR_EDIT_LABELS", SWIG_From_int((int)(wxTR_EDIT_LABELS)));
37414 }
37415 {
37416 PyDict_SetItemString(d,"TR_HIDE_ROOT", SWIG_From_int((int)(wxTR_HIDE_ROOT)));
37417 }
37418 {
37419 PyDict_SetItemString(d,"TR_ROW_LINES", SWIG_From_int((int)(wxTR_ROW_LINES)));
37420 }
37421 {
37422 PyDict_SetItemString(d,"TR_FULL_ROW_HIGHLIGHT", SWIG_From_int((int)(wxTR_FULL_ROW_HIGHLIGHT)));
37423 }
37424 {
37425 PyDict_SetItemString(d,"TR_DEFAULT_STYLE", SWIG_From_int((int)(wxTR_DEFAULT_STYLE)));
37426 }
37427 {
37428 PyDict_SetItemString(d,"TR_TWIST_BUTTONS", SWIG_From_int((int)(wxTR_TWIST_BUTTONS)));
37429 }
37430 {
37431 PyDict_SetItemString(d,"TR_MAC_BUTTONS", SWIG_From_int((int)(wxTR_MAC_BUTTONS)));
37432 }
37433 {
37434 PyDict_SetItemString(d,"TR_AQUA_BUTTONS", SWIG_From_int((int)(wxTR_AQUA_BUTTONS)));
37435 }
37436 {
37437 PyDict_SetItemString(d,"TreeItemIcon_Normal", SWIG_From_int((int)(wxTreeItemIcon_Normal)));
37438 }
37439 {
37440 PyDict_SetItemString(d,"TreeItemIcon_Selected", SWIG_From_int((int)(wxTreeItemIcon_Selected)));
37441 }
37442 {
37443 PyDict_SetItemString(d,"TreeItemIcon_Expanded", SWIG_From_int((int)(wxTreeItemIcon_Expanded)));
37444 }
37445 {
37446 PyDict_SetItemString(d,"TreeItemIcon_SelectedExpanded", SWIG_From_int((int)(wxTreeItemIcon_SelectedExpanded)));
37447 }
37448 {
37449 PyDict_SetItemString(d,"TreeItemIcon_Max", SWIG_From_int((int)(wxTreeItemIcon_Max)));
37450 }
37451 {
37452 PyDict_SetItemString(d,"TREE_HITTEST_ABOVE", SWIG_From_int((int)(wxTREE_HITTEST_ABOVE)));
37453 }
37454 {
37455 PyDict_SetItemString(d,"TREE_HITTEST_BELOW", SWIG_From_int((int)(wxTREE_HITTEST_BELOW)));
37456 }
37457 {
37458 PyDict_SetItemString(d,"TREE_HITTEST_NOWHERE", SWIG_From_int((int)(wxTREE_HITTEST_NOWHERE)));
37459 }
37460 {
37461 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMBUTTON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMBUTTON)));
37462 }
37463 {
37464 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMICON)));
37465 }
37466 {
37467 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMINDENT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMINDENT)));
37468 }
37469 {
37470 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLABEL)));
37471 }
37472 {
37473 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMRIGHT)));
37474 }
37475 {
37476 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMSTATEICON)));
37477 }
37478 {
37479 PyDict_SetItemString(d,"TREE_HITTEST_TOLEFT", SWIG_From_int((int)(wxTREE_HITTEST_TOLEFT)));
37480 }
37481 {
37482 PyDict_SetItemString(d,"TREE_HITTEST_TORIGHT", SWIG_From_int((int)(wxTREE_HITTEST_TORIGHT)));
37483 }
37484 {
37485 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMUPPERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMUPPERPART)));
37486 }
37487 {
37488 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLOWERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLOWERPART)));
37489 }
37490 {
37491 PyDict_SetItemString(d,"TREE_HITTEST_ONITEM", SWIG_From_int((int)(wxTREE_HITTEST_ONITEM)));
37492 }
d14a1e28
RD
37493 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
37494 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
37495 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
37496 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
37497 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
37498 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
37499 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
37500 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
37501 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
37502 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
37503 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
37504 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
37505 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
37506 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
37507 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
37508 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
37509 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
37510 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
37511 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
c9c7117a 37512 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
e505d15e 37513 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU));
d14a1e28
RD
37514
37515 // Map renamed classes back to their common name for OOR
37516 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
37517 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
37518
b2dc1044 37519 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get, _wrap_DirDialogDefaultFolderStr_set);
093d3ff1
RD
37520 {
37521 PyDict_SetItemString(d,"DIRCTRL_DIR_ONLY", SWIG_From_int((int)(wxDIRCTRL_DIR_ONLY)));
37522 }
37523 {
37524 PyDict_SetItemString(d,"DIRCTRL_SELECT_FIRST", SWIG_From_int((int)(wxDIRCTRL_SELECT_FIRST)));
37525 }
37526 {
37527 PyDict_SetItemString(d,"DIRCTRL_SHOW_FILTERS", SWIG_From_int((int)(wxDIRCTRL_SHOW_FILTERS)));
37528 }
37529 {
37530 PyDict_SetItemString(d,"DIRCTRL_3D_INTERNAL", SWIG_From_int((int)(wxDIRCTRL_3D_INTERNAL)));
37531 }
37532 {
37533 PyDict_SetItemString(d,"DIRCTRL_EDIT_LABELS", SWIG_From_int((int)(wxDIRCTRL_EDIT_LABELS)));
37534 }
37535 {
37536 PyDict_SetItemString(d,"FRAME_EX_CONTEXTHELP", SWIG_From_int((int)(wxFRAME_EX_CONTEXTHELP)));
37537 }
37538 {
37539 PyDict_SetItemString(d,"DIALOG_EX_CONTEXTHELP", SWIG_From_int((int)(wxDIALOG_EX_CONTEXTHELP)));
37540 }
d14a1e28
RD
37541 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
37542 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
e811c8ce
RD
37543
37544 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
37545
d14a1e28
RD
37546}
37547