]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/_controls_wrap.cpp
Tests for UTF-8 and PUA characters and octal escapes
[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]
53aa7709
RD
1418#define SWIGTYPE_p_wxDateTime swig_types[77]
1419#define SWIGTYPE_p_wxKeyEvent swig_types[78]
1420#define SWIGTYPE_p_unsigned_long swig_types[79]
1421#define SWIGTYPE_p_wxWindow swig_types[80]
1422#define SWIGTYPE_p_wxString swig_types[81]
1423#define SWIGTYPE_p_wxBitmap swig_types[82]
1424#define SWIGTYPE_unsigned_int swig_types[83]
1425#define SWIGTYPE_p_unsigned_int swig_types[84]
1426#define SWIGTYPE_p_unsigned_char swig_types[85]
1427#define SWIGTYPE_p_wxMouseEvent swig_types[86]
1428#define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[87]
1429#define SWIGTYPE_p_wxTreeEvent swig_types[88]
1430#define SWIGTYPE_p_wxCommandEvent swig_types[89]
1431#define SWIGTYPE_p_wxStaticText swig_types[90]
1432#define SWIGTYPE_p_wxDatePickerCtrl swig_types[91]
1433#define SWIGTYPE_p_wxControlWithItems swig_types[92]
1434#define SWIGTYPE_p_wxToolBarToolBase swig_types[93]
1435#define SWIGTYPE_p_wxColour swig_types[94]
1436#define SWIGTYPE_p_wxToolBar swig_types[95]
1437#define SWIGTYPE_p_wxBookCtrlSizer swig_types[96]
1438#define SWIGTYPE_p_wxValidator swig_types[97]
1439static swig_type_info *swig_types[99];
093d3ff1
RD
1440
1441/* -------- TYPES TABLE (END) -------- */
1442
1443
1444/*-----------------------------------------------
1445 @(target):= _controls_.so
1446 ------------------------------------------------*/
1447#define SWIG_init init_controls_
1448
1449#define SWIG_name "_controls_"
1450
1451#include "wx/wxPython/wxPython.h"
1452#include "wx/wxPython/pyclasses.h"
1453
1454 static const wxString wxPyPanelNameStr(wxPanelNameStr);
1455 static const wxString wxPyEmptyString(wxEmptyString);
1456 static const wxString wxPyControlNameStr(wxControlNameStr);
1457
1458 const wxArrayString wxPyEmptyStringArray;
1459
1460 static const wxString wxPyButtonNameStr(wxButtonNameStr);
1461
1462 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1463#define SWIG_From_int PyInt_FromLong
1464/*@@*/
1465
1466
1467#include <limits.h>
1468
1469
1470SWIGINTERN int
1471 SWIG_CheckLongInRange(long value, long min_value, long max_value,
1472 const char *errmsg)
1473{
1474 if (value < min_value) {
1475 if (errmsg) {
1476 PyErr_Format(PyExc_OverflowError,
1477 "value %ld is less than '%s' minimum %ld",
1478 value, errmsg, min_value);
1479 }
1480 return 0;
1481 } else if (value > max_value) {
1482 if (errmsg) {
1483 PyErr_Format(PyExc_OverflowError,
1484 "value %ld is greater than '%s' maximum %ld",
1485 value, errmsg, max_value);
1486 }
1487 return 0;
1488 }
1489 return 1;
1490}
1491
1492
1493SWIGINTERN int
1494SWIG_AsVal_long(PyObject* obj, long* val)
1495{
1496 if (PyNumber_Check(obj)) {
1497 if (val) *val = PyInt_AsLong(obj);
1498 return 1;
1499 }
1500 else {
1501 SWIG_type_error("number", obj);
1502 }
1503 return 0;
1504}
1505
1506
1507#if INT_MAX != LONG_MAX
1508SWIGINTERN int
1509 SWIG_AsVal_int(PyObject *obj, int *val)
1510{
1511 const char* errmsg = val ? "int" : (char*)0;
1512 long v;
1513 if (SWIG_AsVal_long(obj, &v)) {
1514 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
1515 if (val) *val = (int)(v);
1516 return 1;
1517 } else {
1518 return 0;
1519 }
1520 } else {
1521 PyErr_Clear();
1522 }
1523 if (val) {
1524 SWIG_type_error(errmsg, obj);
1525 }
1526 return 0;
1527}
1528#else
1529SWIGINTERNSHORT int
1530 SWIG_AsVal_int(PyObject *obj, int *val)
1531{
1532 return SWIG_AsVal_long(obj,(long*)val);
1533}
1534#endif
1535
1536
1537SWIGINTERNSHORT int
c32bde28 1538SWIG_As_int(PyObject* obj)
994141e6 1539{
c32bde28
RD
1540 int v;
1541 if (!SWIG_AsVal_int(obj, &v)) {
1542 /*
093d3ff1 1543 this is needed to make valgrind/purify happier.
c32bde28
RD
1544 */
1545 memset((void*)&v, 0, sizeof(int));
15afbcd0 1546 }
c32bde28 1547 return v;
15afbcd0
RD
1548}
1549
1550
093d3ff1 1551SWIGINTERNSHORT long
c32bde28 1552SWIG_As_long(PyObject* obj)
15afbcd0 1553{
c32bde28
RD
1554 long v;
1555 if (!SWIG_AsVal_long(obj, &v)) {
1556 /*
093d3ff1 1557 this is needed to make valgrind/purify happier.
c32bde28
RD
1558 */
1559 memset((void*)&v, 0, sizeof(long));
15afbcd0 1560 }
c32bde28 1561 return v;
994141e6
RD
1562}
1563
c32bde28 1564
093d3ff1 1565SWIGINTERNSHORT int
c32bde28
RD
1566SWIG_Check_int(PyObject* obj)
1567{
1568 return SWIG_AsVal_int(obj, (int*)0);
1569}
994141e6 1570
c32bde28 1571
093d3ff1 1572SWIGINTERNSHORT int
c32bde28 1573SWIG_Check_long(PyObject* obj)
994141e6 1574{
c32bde28 1575 return SWIG_AsVal_long(obj, (long*)0);
994141e6
RD
1576}
1577
c32bde28 1578 static const wxString wxPyCheckBoxNameStr(wxCheckBoxNameStr);
15afbcd0 1579
093d3ff1 1580SWIGINTERN int
c32bde28 1581 SWIG_AsVal_bool(PyObject *obj, bool *val)
15afbcd0 1582{
c32bde28
RD
1583 if (obj == Py_True) {
1584 if (val) *val = true;
1585 return 1;
1586 }
1587 if (obj == Py_False) {
1588 if (val) *val = false;
15afbcd0
RD
1589 return 1;
1590 }
c32bde28
RD
1591 int res = 0;
1592 if (SWIG_AsVal_int(obj, &res)) {
093d3ff1 1593 if (val) *val = res ? true : false;
c32bde28 1594 return 1;
093d3ff1
RD
1595 } else {
1596 PyErr_Clear();
1597 }
c32bde28 1598 if (val) {
093d3ff1 1599 SWIG_type_error("bool", obj);
c32bde28
RD
1600 }
1601 return 0;
1602}
1603
1604
093d3ff1 1605SWIGINTERNSHORT bool
c32bde28
RD
1606SWIG_As_bool(PyObject* obj)
1607{
1608 bool v;
1609 if (!SWIG_AsVal_bool(obj, &v)) {
1610 /*
093d3ff1 1611 this is needed to make valgrind/purify happier.
c32bde28
RD
1612 */
1613 memset((void*)&v, 0, sizeof(bool));
1614 }
1615 return v;
1616}
1617
1618
093d3ff1 1619SWIGINTERNSHORT int
c32bde28
RD
1620SWIG_Check_bool(PyObject* obj)
1621{
1622 return SWIG_AsVal_bool(obj, (bool*)0);
15afbcd0
RD
1623}
1624
b2dc1044
RD
1625 static const wxString wxPyChoiceNameStr(wxChoiceNameStr);
1626 static const wxString wxPyComboBoxNameStr(wxComboBoxNameStr);
093d3ff1
RD
1627
1628 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1629#define SWIG_From_long PyInt_FromLong
1630/*@@*/
1631
b9d6a5f3
RD
1632
1633 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
1634 PyObject* o2;
1635 PyObject* o3;
1636
1637 if (!target) {
1638 target = o;
1639 } else if (target == Py_None) {
1640 Py_DECREF(Py_None);
1641 target = o;
1642 } else {
1643 if (!PyTuple_Check(target)) {
1644 o2 = target;
1645 target = PyTuple_New(1);
1646 PyTuple_SetItem(target, 0, o2);
1647 }
1648 o3 = PyTuple_New(1);
1649 PyTuple_SetItem(o3, 0, o);
1650
1651 o2 = target;
1652 target = PySequence_Concat(o2, o3);
1653 Py_DECREF(o2);
1654 Py_DECREF(o3);
1655 }
1656 return target;
1657 }
1658
1659
b2dc1044
RD
1660 static const wxString wxPyGaugeNameStr(wxGaugeNameStr);
1661 static const wxString wxPyStaticBitmapNameStr(wxStaticBitmapNameStr);
1662 static const wxString wxPyStaticBoxNameStr(wxStaticBoxNameStr);
1663 static const wxString wxPyStaticTextNameStr(wxStaticTextNameStr);
d14a1e28
RD
1664
1665#include <wx/checklst.h>
1666
d14a1e28 1667
b2dc1044 1668 static const wxString wxPyListBoxNameStr(wxListBoxNameStr);
093d3ff1 1669static void wxListBox_Insert(wxListBox *self,wxString const &item,int pos,PyObject *clientData=NULL){
d14a1e28
RD
1670 if (clientData) {
1671 wxPyClientData* data = new wxPyClientData(clientData);
1672 self->Insert(item, pos, data);
1673 } else
1674 self->Insert(item, pos);
1675 }
093d3ff1 1676static PyObject *wxListBox_GetSelections(wxListBox *self){
d14a1e28
RD
1677 wxArrayInt lst;
1678 self->GetSelections(lst);
1679 PyObject *tup = PyTuple_New(lst.GetCount());
1680 for(size_t i=0; i<lst.GetCount(); i++) {
1681 PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
1682 }
1683 return tup;
1684 }
093d3ff1 1685static void wxListBox_SetItemForegroundColour(wxListBox *self,int item,wxColour const &c){
c3eb6258
RD
1686 #ifdef __WXMSW__
1687 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
1688 self->GetItem(item)->SetTextColour(c);
1689 #endif
1690 }
093d3ff1 1691static void wxListBox_SetItemBackgroundColour(wxListBox *self,int item,wxColour const &c){
c3eb6258
RD
1692 #ifdef __WXMSW__
1693 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
1694 self->GetItem(item)->SetBackgroundColour(c);
1695 #endif
1696 }
093d3ff1 1697static void wxListBox_SetItemFont(wxListBox *self,int item,wxFont const &f){
c3eb6258
RD
1698 #ifdef __WXMSW__
1699 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
1700 self->GetItem(item)->SetFont(f);
1701 #endif
1702 }
b2dc1044 1703 static const wxString wxPyTextCtrlNameStr(wxTextCtrlNameStr);
d14a1e28 1704
093d3ff1 1705SWIGINTERN int
c32bde28 1706SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
15afbcd0 1707{
c32bde28
RD
1708 long v = 0;
1709 if (SWIG_AsVal_long(obj, &v) && v < 0) {
093d3ff1 1710 SWIG_type_error("unsigned number", obj);
15afbcd0 1711 }
c32bde28
RD
1712 else if (val)
1713 *val = (unsigned long)v;
1714 return 1;
15afbcd0
RD
1715}
1716
1717
093d3ff1 1718SWIGINTERNSHORT unsigned long
c32bde28 1719SWIG_As_unsigned_SS_long(PyObject* obj)
15afbcd0 1720{
c32bde28
RD
1721 unsigned long v;
1722 if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) {
1723 /*
093d3ff1 1724 this is needed to make valgrind/purify happier.
c32bde28
RD
1725 */
1726 memset((void*)&v, 0, sizeof(unsigned long));
15afbcd0 1727 }
c32bde28
RD
1728 return v;
1729}
1730
1731
093d3ff1 1732SWIGINTERNSHORT int
c32bde28
RD
1733SWIG_Check_unsigned_SS_long(PyObject* obj)
1734{
1735 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
15afbcd0
RD
1736}
1737
093d3ff1 1738static void wxTextCtrl_write(wxTextCtrl *self,wxString const &text){
d14a1e28
RD
1739 self->AppendText(text);
1740 }
093d3ff1 1741static wxString wxTextCtrl_GetString(wxTextCtrl *self,long from,long to){
d14a1e28
RD
1742 return self->GetValue().Mid(from, to - from);
1743 }
b2dc1044
RD
1744 static const wxString wxPyScrollBarNameStr(wxScrollBarNameStr);
1745 static const wxString wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME);
33b885b9 1746 static const wxString wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
b2dc1044
RD
1747 static const wxString wxPyRadioBoxNameStr(wxRadioBoxNameStr);
1748 static const wxString wxPyRadioButtonNameStr(wxRadioButtonNameStr);
093d3ff1
RD
1749static int wxRadioBox_GetColumnCount(wxRadioBox const *self){ return -1; }
1750static int wxRadioBox_GetRowCount(wxRadioBox const *self){ return -1; }
1751static int wxRadioBox_GetNextItem(wxRadioBox const *self,int item,wxDirection dir,long style){ return -1; }
d14a1e28
RD
1752
1753#include <wx/slider.h>
1754
d14a1e28 1755
b2dc1044 1756 static const wxString wxPySliderNameStr(wxSliderNameStr);
33b885b9 1757 static const wxString wxPyToggleButtonNameStr(_T("wxToggleButton"));
d14a1e28 1758
15afbcd0
RD
1759#if !wxUSE_TOGGLEBTN
1760// implement dummy items for platforms that don't have this class
d14a1e28
RD
1761
1762#define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
1763
1764class wxToggleButton : public wxControl
1765{
1766public:
1767 wxToggleButton(wxWindow *, wxWindowID, const wxString&,
1768 const wxPoint&, const wxSize&, long,
1769 const wxValidator&, const wxString&)
39f61e25 1770 { wxPyRaiseNotImplemented(); }
d14a1e28
RD
1771
1772 wxToggleButton()
39f61e25 1773 { wxPyRaiseNotImplemented(); }
d14a1e28
RD
1774};
1775#endif
1776
51b83b37 1777 static const wxString wxPyNotebookNameStr(wxNotebookNameStr);
994141e6 1778
093d3ff1 1779SWIGINTERNSHORT PyObject*
c32bde28 1780 SWIG_From_unsigned_SS_long(unsigned long value)
994141e6 1781{
15afbcd0
RD
1782 return (value > LONG_MAX) ?
1783 PyLong_FromUnsignedLong(value)
093d3ff1 1784 : PyInt_FromLong((long)(value));
994141e6
RD
1785}
1786
b2dc1044 1787 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
093d3ff1 1788static PyObject *wxToolBarToolBase_GetClientData(wxToolBarToolBase *self){
d14a1e28
RD
1789 wxPyUserData* udata = (wxPyUserData*)self->GetClientData();
1790 if (udata) {
1791 Py_INCREF(udata->m_obj);
1792 return udata->m_obj;
1793 } else {
1794 Py_INCREF(Py_None);
1795 return Py_None;
1796 }
1797 }
093d3ff1 1798static void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject *clientData){
d14a1e28
RD
1799 self->SetClientData(new wxPyUserData(clientData));
1800 }
093d3ff1 1801static 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
1802 wxPyUserData* udata = NULL;
1803 if (clientData && clientData != Py_None)
1804 udata = new wxPyUserData(clientData);
1805 return self->AddTool(id, label, bitmap, bmpDisabled, kind,
1806 shortHelp, longHelp, udata);
1807 }
093d3ff1 1808static 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
1809 wxPyUserData* udata = NULL;
1810 if (clientData && clientData != Py_None)
1811 udata = new wxPyUserData(clientData);
1812 return self->InsertTool(pos, id, label, bitmap, bmpDisabled, kind,
1813 shortHelp, longHelp, udata);
1814 }
093d3ff1 1815static PyObject *wxToolBarBase_GetToolClientData(wxToolBarBase *self,int id){
d14a1e28
RD
1816 wxPyUserData* udata = (wxPyUserData*)self->GetToolClientData(id);
1817 if (udata) {
1818 Py_INCREF(udata->m_obj);
1819 return udata->m_obj;
1820 } else {
1821 Py_INCREF(Py_None);
1822 return Py_None;
1823 }
1824 }
093d3ff1 1825static void wxToolBarBase_SetToolClientData(wxToolBarBase *self,int id,PyObject *clientData){
d14a1e28
RD
1826 self->SetToolClientData(id, new wxPyUserData(clientData));
1827 }
1828
1829#include <wx/listctrl.h>
1830
7557b9b5 1831 static const wxString wxPyListCtrlNameStr(wxListCtrlNameStr);
093d3ff1 1832static void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; }
d14a1e28
RD
1833 // Python aware sorting function for wxPyListCtrl
1834 static int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
1835 int retval = 0;
1836 PyObject* func = (PyObject*)funcPtr;
5a446332 1837 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1838
1839 PyObject* args = Py_BuildValue("(ii)", item1, item2);
1840 PyObject* result = PyEval_CallObject(func, args);
1841 Py_DECREF(args);
1842 if (result) {
1843 retval = PyInt_AsLong(result);
1844 Py_DECREF(result);
1845 }
1846
4f89f6a3 1847 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1848 return retval;
1849 }
1850
1851 // C++ Version of a Python aware class
1852class wxPyListCtrl : public wxListCtrl {
1853 DECLARE_ABSTRACT_CLASS(wxPyListCtrl);
1854public:
1855 wxPyListCtrl() : wxListCtrl() {}
1856 wxPyListCtrl(wxWindow* parent, wxWindowID id,
1857 const wxPoint& pos,
1858 const wxSize& size,
1859 long style,
1860 const wxValidator& validator,
1861 const wxString& name) :
1862 wxListCtrl(parent, id, pos, size, style, validator, name) {}
1863
1864 bool Create(wxWindow* parent, wxWindowID id,
1865 const wxPoint& pos,
1866 const wxSize& size,
1867 long style,
1868 const wxValidator& validator,
1869 const wxString& name) {
1870 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
1871 }
1872
1873 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
d14a1e28
RD
1874 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
1875
84f85550
RD
1876 // use the virtual version to avoid a confusing assert in the base class
1877 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage);
1878
d14a1e28
RD
1879 PYPRIVATE;
1880};
1881
1882IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
1883
1884IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
d14a1e28 1885IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
84f85550
RD
1886IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl, wxListCtrl, OnGetItemImage);
1887
d14a1e28 1888
093d3ff1 1889static wxListItem *wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col){
d14a1e28
RD
1890 wxListItem item;
1891 item.SetMask( wxLIST_MASK_STATE |
1892 wxLIST_MASK_TEXT |
1893 wxLIST_MASK_IMAGE |
1894 wxLIST_MASK_DATA |
1895 wxLIST_SET_ITEM |
1896 wxLIST_MASK_WIDTH |
1897 wxLIST_MASK_FORMAT
1898 );
1899 if (self->GetColumn(col, item))
1900 return new wxListItem(item);
1901 else
1902 return NULL;
1903 }
093d3ff1 1904static wxListItem *wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col=0){
d14a1e28
RD
1905 wxListItem* info = new wxListItem;
1906 info->m_itemId = itemId;
1907 info->m_col = col;
1908 info->m_mask = 0xFFFF;
1909 self->GetItem(*info);
1910 return info;
1911 }
093d3ff1 1912static wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
d14a1e28
RD
1913 wxPoint pos;
1914 self->GetItemPosition(item, pos);
1915 return pos;
1916 }
093d3ff1 1917static wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code=wxLIST_RECT_BOUNDS){
d14a1e28
RD
1918 wxRect rect;
1919 self->GetItemRect(item, rect, code);
1920 return rect;
1921 }
c32bde28 1922
093d3ff1 1923static bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
d14a1e28 1924 if (!PyCallable_Check(func))
ae8162c8 1925 return false;
d14a1e28
RD
1926 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
1927 }
093d3ff1 1928static wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
d14a1e28
RD
1929
1930
1931
1932 return (wxWindow*)self->m_mainWin;
1933
1934 }
1935
1936#include <wx/treectrl.h>
1937#include "wx/wxPython/pytree.h"
d14a1e28 1938
33b885b9 1939 static const wxString wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
093d3ff1
RD
1940static bool wxTreeItemId___eq__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self == *other) : false; }
1941static bool wxTreeItemId___ne__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self != *other) : true; }
1942static void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; }
d14a1e28
RD
1943 // C++ version of Python aware wxTreeCtrl
1944class wxPyTreeCtrl : public wxTreeCtrl {
1945 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl);
1946public:
1947 wxPyTreeCtrl() : wxTreeCtrl() {}
1948 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
1949 const wxPoint& pos,
1950 const wxSize& size,
1951 long style,
1952 const wxValidator& validator,
1953 const wxString& name) :
1954 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
1955
1956 bool Create(wxWindow *parent, wxWindowID id,
1957 const wxPoint& pos,
1958 const wxSize& size,
1959 long style,
1960 const wxValidator& validator,
1961 const wxString& name) {
1962 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
1963 }
1964
1965
1966 int OnCompareItems(const wxTreeItemId& item1,
1967 const wxTreeItemId& item2) {
1968 int rval = 0;
1969 bool found;
5a446332 1970 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d14a1e28 1971 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
ae8162c8
RD
1972 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), false);
1973 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), false);
d14a1e28
RD
1974 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
1975 Py_DECREF(o1);
1976 Py_DECREF(o2);
1977 }
4f89f6a3 1978 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1979 if (! found)
1980 rval = wxTreeCtrl::OnCompareItems(item1, item2);
1981 return rval;
1982 }
1983 PYPRIVATE;
1984};
1985
1986IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
1987
1988
994141e6 1989
15afbcd0 1990#if UINT_MAX < LONG_MAX
093d3ff1 1991/*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
c32bde28
RD
1992#define SWIG_From_unsigned_SS_int SWIG_From_long
1993/*@@*/
15afbcd0 1994#else
093d3ff1 1995/*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
c32bde28
RD
1996#define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
1997/*@@*/
15afbcd0
RD
1998#endif
1999
2000
093d3ff1 2001SWIGINTERNSHORT int
c32bde28
RD
2002 SWIG_CheckUnsignedLongInRange(unsigned long value,
2003 unsigned long max_value,
2004 const char *errmsg)
15afbcd0 2005{
c32bde28
RD
2006 if (value > max_value) {
2007 if (errmsg) {
2008 PyErr_Format(PyExc_OverflowError,
093d3ff1 2009 "value %lu is greater than '%s' minimum %lu",
c32bde28 2010 value, errmsg, max_value);
15afbcd0 2011 }
c32bde28 2012 return 0;
15afbcd0 2013 }
c32bde28
RD
2014 return 1;
2015 }
994141e6
RD
2016
2017
15afbcd0 2018#if UINT_MAX != ULONG_MAX
093d3ff1 2019SWIGINTERN int
c32bde28 2020 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
994141e6 2021{
093d3ff1 2022 const char* errmsg = val ? "unsigned int" : (char*)0;
c32bde28
RD
2023 unsigned long v;
2024 if (SWIG_AsVal_unsigned_SS_long(obj, &v)) {
2025 if (SWIG_CheckUnsignedLongInRange(v, INT_MAX, errmsg)) {
093d3ff1 2026 if (val) *val = (unsigned int)(v);
c32bde28
RD
2027 return 1;
2028 }
2029 } else {
2030 PyErr_Clear();
2031 }
2032 if (val) {
093d3ff1 2033 SWIG_type_error(errmsg, obj);
c32bde28
RD
2034 }
2035 return 0;
15afbcd0
RD
2036}
2037#else
093d3ff1 2038SWIGINTERNSHORT unsigned int
c32bde28
RD
2039 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
2040{
2041 return SWIG_AsVal_unsigned_SS_long(obj,(unsigned long *)val);
2042}
15afbcd0
RD
2043#endif
2044
2045
093d3ff1 2046SWIGINTERNSHORT unsigned int
c32bde28 2047SWIG_As_unsigned_SS_int(PyObject* obj)
15afbcd0 2048{
c32bde28
RD
2049 unsigned int v;
2050 if (!SWIG_AsVal_unsigned_SS_int(obj, &v)) {
2051 /*
093d3ff1 2052 this is needed to make valgrind/purify happier.
c32bde28
RD
2053 */
2054 memset((void*)&v, 0, sizeof(unsigned int));
15afbcd0 2055 }
c32bde28
RD
2056 return v;
2057}
2058
2059
093d3ff1 2060SWIGINTERNSHORT int
c32bde28
RD
2061SWIG_Check_unsigned_SS_int(PyObject* obj)
2062{
2063 return SWIG_AsVal_unsigned_SS_int(obj, (unsigned int*)0);
994141e6
RD
2064}
2065
093d3ff1 2066static wxPyTreeItemData *wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item){
d14a1e28
RD
2067 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
2068 if (data == NULL) {
2069 data = new wxPyTreeItemData();
2070 data->SetId(item); // set the id
2071 self->SetItemData(item, data);
2072 }
2073 return data;
2074 }
093d3ff1 2075static PyObject *wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item){
d14a1e28
RD
2076 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
2077 if (data == NULL) {
2078 data = new wxPyTreeItemData();
2079 data->SetId(item); // set the id
2080 self->SetItemData(item, data);
2081 }
2082 return data->GetData();
2083 }
093d3ff1 2084static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
d14a1e28
RD
2085 data->SetId(item); // set the id
2086 self->SetItemData(item, data);
2087 }
093d3ff1 2088static void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item,PyObject *obj){
d14a1e28
RD
2089 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
2090 if (data == NULL) {
2091 data = new wxPyTreeItemData(obj);
2092 data->SetId(item); // set the id
2093 self->SetItemData(item, data);
2094 } else
2095 data->SetData(obj);
2096 }
093d3ff1 2097static PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){
5a446332 2098 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d14a1e28
RD
2099 PyObject* rval = PyList_New(0);
2100 wxArrayTreeItemIds array;
2101 size_t num, x;
2102 num = self->GetSelections(array);
2103 for (x=0; x < num; x++) {
2104 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
ae8162c8 2105 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), true);
d14a1e28 2106 PyList_Append(rval, item);
1a10c483 2107 Py_DECREF(item);
d14a1e28 2108 }
4f89f6a3 2109 wxPyEndBlockThreads(blocked);
d14a1e28
RD
2110 return rval;
2111 }
093d3ff1 2112static PyObject *wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl *self,wxTreeItemId const &item){
58203fa6
RD
2113 void* cookie = 0;
2114 wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie));
5a446332 2115 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d14a1e28 2116 PyObject* tup = PyTuple_New(2);
ae8162c8 2117 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
58203fa6 2118 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
4f89f6a3 2119 wxPyEndBlockThreads(blocked);
d14a1e28
RD
2120 return tup;
2121 }
093d3ff1 2122static PyObject *wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl *self,wxTreeItemId const &item,void *cookie){
58203fa6 2123 wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie));
5a446332 2124 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d14a1e28 2125 PyObject* tup = PyTuple_New(2);
ae8162c8 2126 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
58203fa6 2127 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
4f89f6a3 2128 wxPyEndBlockThreads(blocked);
d14a1e28
RD
2129 return tup;
2130 }
093d3ff1 2131static PyObject *wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,wxTreeItemId const &item,bool textOnly=false){
d14a1e28
RD
2132 wxRect rect;
2133 if (self->GetBoundingRect(item, rect, textOnly)) {
5a446332 2134 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d14a1e28 2135 wxRect* r = new wxRect(rect);
ae8162c8 2136 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), true);
4f89f6a3 2137 wxPyEndBlockThreads(blocked);
d14a1e28
RD
2138 return val;
2139 }
2140 else
2141 RETURN_NONE();
2142 }
b2dc1044 2143 static const wxString wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr);
c32bde28 2144
093d3ff1 2145SWIGINTERNSHORT PyObject*
c32bde28
RD
2146 SWIG_From_bool(bool value)
2147{
2148 PyObject *obj = value ? Py_True : Py_False;
2149 Py_INCREF(obj);
2150 return obj;
2151}
2152
2153
d14a1e28
RD
2154 // C++ version of Python aware wxControl
2155class wxPyControl : public wxControl
2156{
2157 DECLARE_DYNAMIC_CLASS(wxPyControl)
2158public:
2159 wxPyControl() : wxControl() {}
2160 wxPyControl(wxWindow* parent, const wxWindowID id,
2161 const wxPoint& pos = wxDefaultPosition,
2162 const wxSize& size = wxDefaultSize,
2163 long style = 0,
2164 const wxValidator& validator=wxDefaultValidator,
2165 const wxString& name = wxPyControlNameStr)
2166 : wxControl(parent, id, pos, size, style, validator, name) {}
2167
db3e571a 2168 void SetBestSize(const wxSize& size) { wxControl::SetBestSize(size); }
d14a1e28
RD
2169
2170 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
2171 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
2172 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
2173 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
2174
2175 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
2176 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
2177 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
2178
2179 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
2180 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
2181
2182 DEC_PYCALLBACK__(InitDialog);
2183 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
2184 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
2185 DEC_PYCALLBACK_BOOL_(Validate);
2186
2187 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
2188 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
2189 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
2190
2191 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
2192 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
2193
db3e571a 2194 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
1cb4a8aa 2195 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
db3e571a 2196 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
4276dc52 2197
51b83b37
RD
2198 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
2199
d14a1e28
RD
2200 PYPRIVATE;
2201};
2202
2203IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
2204
2205IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
2206IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
2207IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
2208IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
2209
2210IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
2211IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
2212IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
2213
2214IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
2215IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
2216
2217IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
2218IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
2219IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
2220IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
2221
2222IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
2223IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
2224IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
2225
2226IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
2227IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
2228
db3e571a 2229IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, ShouldInheritColours);
1cb4a8aa 2230IMP_PYCALLBACK__COLOUR(wxPyControl, wxControl, ApplyParentThemeBackground);
db3e571a 2231IMP_PYCALLBACK_VIZATTR_(wxPyControl, wxControl, GetDefaultAttributes);
d14a1e28 2232
51b83b37
RD
2233IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, HasTransparentBackground);
2234
d14a1e28
RD
2235
2236
093d3ff1 2237static void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
e811c8ce
RD
2238
2239#include <wx/generic/dragimgg.h>
2240
53aa7709
RD
2241 static const wxString wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr);
2242static wxDateTime wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl *self){
2243 wxDateTime rv;
2244 self->GetRange(&rv, NULL);
2245 return rv;
2246 }
2247static wxDateTime wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl *self){
2248 wxDateTime rv;
2249 self->GetRange(NULL, &rv);
2250 return rv;
2251 }
d14a1e28
RD
2252#ifdef __cplusplus
2253extern "C" {
2254#endif
c32bde28 2255static int _wrap_ButtonNameStr_set(PyObject *) {
b2dc1044
RD
2256 PyErr_SetString(PyExc_TypeError,"Variable ButtonNameStr is read-only.");
2257 return 1;
2258}
2259
2260
093d3ff1 2261static PyObject *_wrap_ButtonNameStr_get(void) {
b2dc1044
RD
2262 PyObject *pyobj;
2263
2264 {
2265#if wxUSE_UNICODE
2266 pyobj = PyUnicode_FromWideChar((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
2267#else
2268 pyobj = PyString_FromStringAndSize((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
2269#endif
2270 }
2271 return pyobj;
2272}
2273
2274
c32bde28 2275static PyObject *_wrap_new_Button(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2276 PyObject *resultobj;
2277 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
2278 int arg2 = (int) -1 ;
2279 wxString const &arg3_defvalue = wxPyEmptyString ;
2280 wxString *arg3 = (wxString *) &arg3_defvalue ;
d14a1e28
RD
2281 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2282 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2283 wxSize const &arg5_defvalue = wxDefaultSize ;
2284 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2285 long arg6 = (long) 0 ;
2286 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2287 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2288 wxString const &arg8_defvalue = wxPyButtonNameStr ;
2289 wxString *arg8 = (wxString *) &arg8_defvalue ;
2290 wxButton *result;
ae8162c8 2291 bool temp3 = false ;
d14a1e28
RD
2292 wxPoint temp4 ;
2293 wxSize temp5 ;
ae8162c8 2294 bool temp8 = false ;
d14a1e28 2295 PyObject * obj0 = 0 ;
994141e6 2296 PyObject * obj1 = 0 ;
d14a1e28
RD
2297 PyObject * obj2 = 0 ;
2298 PyObject * obj3 = 0 ;
2299 PyObject * obj4 = 0 ;
994141e6 2300 PyObject * obj5 = 0 ;
d14a1e28
RD
2301 PyObject * obj6 = 0 ;
2302 PyObject * obj7 = 0 ;
2303 char *kwnames[] = {
2304 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2305 };
2306
248ed943 2307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Button",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
2308 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2309 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 2310 if (obj1) {
093d3ff1
RD
2311 {
2312 arg2 = (int)(SWIG_As_int(obj1));
2313 if (SWIG_arg_fail(2)) SWIG_fail;
2314 }
248ed943
RD
2315 }
2316 if (obj2) {
2317 {
2318 arg3 = wxString_in_helper(obj2);
2319 if (arg3 == NULL) SWIG_fail;
ae8162c8 2320 temp3 = true;
248ed943 2321 }
d14a1e28
RD
2322 }
2323 if (obj3) {
2324 {
2325 arg4 = &temp4;
2326 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2327 }
2328 }
2329 if (obj4) {
2330 {
2331 arg5 = &temp5;
2332 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2333 }
2334 }
994141e6 2335 if (obj5) {
093d3ff1
RD
2336 {
2337 arg6 = (long)(SWIG_As_long(obj5));
2338 if (SWIG_arg_fail(6)) SWIG_fail;
2339 }
994141e6 2340 }
d14a1e28 2341 if (obj6) {
093d3ff1
RD
2342 {
2343 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2344 if (SWIG_arg_fail(7)) SWIG_fail;
2345 if (arg7 == NULL) {
2346 SWIG_null_ref("wxValidator");
2347 }
2348 if (SWIG_arg_fail(7)) SWIG_fail;
d14a1e28
RD
2349 }
2350 }
2351 if (obj7) {
2352 {
2353 arg8 = wxString_in_helper(obj7);
2354 if (arg8 == NULL) SWIG_fail;
ae8162c8 2355 temp8 = true;
d14a1e28
RD
2356 }
2357 }
2358 {
e3b71cb8 2359 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
2360 PyThreadState* __tstate = wxPyBeginAllowThreads();
2361 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2362
2363 wxPyEndAllowThreads(__tstate);
110da5b0 2364 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 2365 }
b0f7404b 2366 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxButton, 1);
d14a1e28
RD
2367 {
2368 if (temp3)
2369 delete arg3;
2370 }
2371 {
2372 if (temp8)
2373 delete arg8;
2374 }
2375 return resultobj;
2376 fail:
2377 {
2378 if (temp3)
2379 delete arg3;
2380 }
2381 {
2382 if (temp8)
2383 delete arg8;
2384 }
2385 return NULL;
2386}
2387
2388
c32bde28 2389static PyObject *_wrap_new_PreButton(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2390 PyObject *resultobj;
2391 wxButton *result;
2392 char *kwnames[] = {
2393 NULL
2394 };
2395
2396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreButton",kwnames)) goto fail;
2397 {
e3b71cb8 2398 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
2399 PyThreadState* __tstate = wxPyBeginAllowThreads();
2400 result = (wxButton *)new wxButton();
2401
2402 wxPyEndAllowThreads(__tstate);
110da5b0 2403 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 2404 }
b0f7404b 2405 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxButton, 1);
d14a1e28
RD
2406 return resultobj;
2407 fail:
2408 return NULL;
2409}
2410
2411
c32bde28 2412static PyObject *_wrap_Button_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2413 PyObject *resultobj;
2414 wxButton *arg1 = (wxButton *) 0 ;
2415 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
2416 int arg3 = (int) -1 ;
2417 wxString const &arg4_defvalue = wxPyEmptyString ;
2418 wxString *arg4 = (wxString *) &arg4_defvalue ;
d14a1e28
RD
2419 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2420 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2421 wxSize const &arg6_defvalue = wxDefaultSize ;
2422 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2423 long arg7 = (long) 0 ;
2424 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2425 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2426 wxString const &arg9_defvalue = wxPyButtonNameStr ;
2427 wxString *arg9 = (wxString *) &arg9_defvalue ;
2428 bool result;
ae8162c8 2429 bool temp4 = false ;
d14a1e28
RD
2430 wxPoint temp5 ;
2431 wxSize temp6 ;
ae8162c8 2432 bool temp9 = false ;
d14a1e28
RD
2433 PyObject * obj0 = 0 ;
2434 PyObject * obj1 = 0 ;
994141e6 2435 PyObject * obj2 = 0 ;
d14a1e28
RD
2436 PyObject * obj3 = 0 ;
2437 PyObject * obj4 = 0 ;
2438 PyObject * obj5 = 0 ;
994141e6 2439 PyObject * obj6 = 0 ;
d14a1e28
RD
2440 PyObject * obj7 = 0 ;
2441 PyObject * obj8 = 0 ;
2442 char *kwnames[] = {
2443 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2444 };
2445
248ed943 2446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Button_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
2447 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxButton, SWIG_POINTER_EXCEPTION | 0);
2448 if (SWIG_arg_fail(1)) SWIG_fail;
2449 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2450 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 2451 if (obj2) {
093d3ff1
RD
2452 {
2453 arg3 = (int)(SWIG_As_int(obj2));
2454 if (SWIG_arg_fail(3)) SWIG_fail;
2455 }
248ed943
RD
2456 }
2457 if (obj3) {
2458 {
2459 arg4 = wxString_in_helper(obj3);
2460 if (arg4 == NULL) SWIG_fail;
ae8162c8 2461 temp4 = true;
248ed943 2462 }
d14a1e28
RD
2463 }
2464 if (obj4) {
2465 {
2466 arg5 = &temp5;
2467 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2468 }
2469 }
2470 if (obj5) {
2471 {
2472 arg6 = &temp6;
2473 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2474 }
2475 }
994141e6 2476 if (obj6) {
093d3ff1
RD
2477 {
2478 arg7 = (long)(SWIG_As_long(obj6));
2479 if (SWIG_arg_fail(7)) SWIG_fail;
2480 }
994141e6 2481 }
d14a1e28 2482 if (obj7) {
093d3ff1
RD
2483 {
2484 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2485 if (SWIG_arg_fail(8)) SWIG_fail;
2486 if (arg8 == NULL) {
2487 SWIG_null_ref("wxValidator");
2488 }
2489 if (SWIG_arg_fail(8)) SWIG_fail;
d14a1e28
RD
2490 }
2491 }
2492 if (obj8) {
2493 {
2494 arg9 = wxString_in_helper(obj8);
2495 if (arg9 == NULL) SWIG_fail;
ae8162c8 2496 temp9 = true;
d14a1e28
RD
2497 }
2498 }
2499 {
2500 PyThreadState* __tstate = wxPyBeginAllowThreads();
2501 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2502
2503 wxPyEndAllowThreads(__tstate);
2504 if (PyErr_Occurred()) SWIG_fail;
2505 }
4f89f6a3
RD
2506 {
2507 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2508 }
d14a1e28
RD
2509 {
2510 if (temp4)
2511 delete arg4;
2512 }
2513 {
2514 if (temp9)
2515 delete arg9;
2516 }
2517 return resultobj;
2518 fail:
2519 {
2520 if (temp4)
2521 delete arg4;
2522 }
2523 {
2524 if (temp9)
2525 delete arg9;
2526 }
2527 return NULL;
2528}
2529
2530
c32bde28 2531static PyObject *_wrap_Button_SetDefault(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2532 PyObject *resultobj;
2533 wxButton *arg1 = (wxButton *) 0 ;
2534 PyObject * obj0 = 0 ;
2535 char *kwnames[] = {
2536 (char *) "self", NULL
2537 };
2538
2539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Button_SetDefault",kwnames,&obj0)) goto fail;
093d3ff1
RD
2540 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxButton, SWIG_POINTER_EXCEPTION | 0);
2541 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2542 {
2543 PyThreadState* __tstate = wxPyBeginAllowThreads();
2544 (arg1)->SetDefault();
2545
2546 wxPyEndAllowThreads(__tstate);
2547 if (PyErr_Occurred()) SWIG_fail;
2548 }
2549 Py_INCREF(Py_None); resultobj = Py_None;
2550 return resultobj;
2551 fail:
2552 return NULL;
2553}
2554
2555
c32bde28 2556static PyObject *_wrap_Button_GetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2557 PyObject *resultobj;
2558 wxSize result;
2559 char *kwnames[] = {
2560 NULL
2561 };
2562
2563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Button_GetDefaultSize",kwnames)) goto fail;
2564 {
2565 PyThreadState* __tstate = wxPyBeginAllowThreads();
2566 result = wxButton::GetDefaultSize();
2567
2568 wxPyEndAllowThreads(__tstate);
2569 if (PyErr_Occurred()) SWIG_fail;
2570 }
2571 {
2572 wxSize * resultptr;
093d3ff1 2573 resultptr = new wxSize((wxSize &)(result));
15afbcd0 2574 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
2575 }
2576 return resultobj;
2577 fail:
2578 return NULL;
2579}
2580
2581
c32bde28 2582static PyObject *_wrap_Button_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c 2583 PyObject *resultobj;
093d3ff1 2584 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
2585 wxVisualAttributes result;
2586 PyObject * obj0 = 0 ;
2587 char *kwnames[] = {
2588 (char *) "variant", NULL
2589 };
2590
2591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Button_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
2592 if (obj0) {
093d3ff1
RD
2593 {
2594 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
2595 if (SWIG_arg_fail(1)) SWIG_fail;
2596 }
22bfe96c
RD
2597 }
2598 {
110da5b0 2599 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
2600 PyThreadState* __tstate = wxPyBeginAllowThreads();
2601 result = wxButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
2602
2603 wxPyEndAllowThreads(__tstate);
dfbb5885 2604 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
2605 }
2606 {
2607 wxVisualAttributes * resultptr;
093d3ff1 2608 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
22bfe96c
RD
2609 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
2610 }
2611 return resultobj;
2612 fail:
2613 return NULL;
2614}
2615
2616
c32bde28 2617static PyObject * Button_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
2618 PyObject *obj;
2619 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2620 SWIG_TypeClientData(SWIGTYPE_p_wxButton, obj);
2621 Py_INCREF(obj);
2622 return Py_BuildValue((char *)"");
2623}
c32bde28 2624static PyObject *_wrap_new_BitmapButton(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2625 PyObject *resultobj;
2626 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
2627 int arg2 = (int) -1 ;
2628 wxBitmap const &arg3_defvalue = wxNullBitmap ;
2629 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
d14a1e28
RD
2630 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2631 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2632 wxSize const &arg5_defvalue = wxDefaultSize ;
2633 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2634 long arg6 = (long) wxBU_AUTODRAW ;
2635 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2636 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2637 wxString const &arg8_defvalue = wxPyButtonNameStr ;
2638 wxString *arg8 = (wxString *) &arg8_defvalue ;
2639 wxBitmapButton *result;
2640 wxPoint temp4 ;
2641 wxSize temp5 ;
ae8162c8 2642 bool temp8 = false ;
d14a1e28 2643 PyObject * obj0 = 0 ;
994141e6 2644 PyObject * obj1 = 0 ;
d14a1e28
RD
2645 PyObject * obj2 = 0 ;
2646 PyObject * obj3 = 0 ;
2647 PyObject * obj4 = 0 ;
994141e6 2648 PyObject * obj5 = 0 ;
d14a1e28
RD
2649 PyObject * obj6 = 0 ;
2650 PyObject * obj7 = 0 ;
2651 char *kwnames[] = {
2652 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2653 };
2654
248ed943 2655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_BitmapButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
2656 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2657 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 2658 if (obj1) {
093d3ff1
RD
2659 {
2660 arg2 = (int)(SWIG_As_int(obj1));
2661 if (SWIG_arg_fail(2)) SWIG_fail;
2662 }
248ed943
RD
2663 }
2664 if (obj2) {
093d3ff1
RD
2665 {
2666 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
2667 if (SWIG_arg_fail(3)) SWIG_fail;
2668 if (arg3 == NULL) {
2669 SWIG_null_ref("wxBitmap");
2670 }
2671 if (SWIG_arg_fail(3)) SWIG_fail;
248ed943 2672 }
d14a1e28
RD
2673 }
2674 if (obj3) {
2675 {
2676 arg4 = &temp4;
2677 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2678 }
2679 }
2680 if (obj4) {
2681 {
2682 arg5 = &temp5;
2683 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2684 }
2685 }
994141e6 2686 if (obj5) {
093d3ff1
RD
2687 {
2688 arg6 = (long)(SWIG_As_long(obj5));
2689 if (SWIG_arg_fail(6)) SWIG_fail;
2690 }
994141e6 2691 }
d14a1e28 2692 if (obj6) {
093d3ff1
RD
2693 {
2694 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2695 if (SWIG_arg_fail(7)) SWIG_fail;
2696 if (arg7 == NULL) {
2697 SWIG_null_ref("wxValidator");
2698 }
2699 if (SWIG_arg_fail(7)) SWIG_fail;
d14a1e28
RD
2700 }
2701 }
2702 if (obj7) {
2703 {
2704 arg8 = wxString_in_helper(obj7);
2705 if (arg8 == NULL) SWIG_fail;
ae8162c8 2706 temp8 = true;
d14a1e28
RD
2707 }
2708 }
2709 {
e3b71cb8 2710 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
2711 PyThreadState* __tstate = wxPyBeginAllowThreads();
2712 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2713
2714 wxPyEndAllowThreads(__tstate);
110da5b0 2715 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 2716 }
b0f7404b 2717 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmapButton, 1);
d14a1e28
RD
2718 {
2719 if (temp8)
2720 delete arg8;
2721 }
2722 return resultobj;
2723 fail:
2724 {
2725 if (temp8)
2726 delete arg8;
2727 }
2728 return NULL;
2729}
2730
2731
c32bde28 2732static PyObject *_wrap_new_PreBitmapButton(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2733 PyObject *resultobj;
2734 wxBitmapButton *result;
2735 char *kwnames[] = {
2736 NULL
2737 };
2738
2739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreBitmapButton",kwnames)) goto fail;
2740 {
e3b71cb8 2741 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
2742 PyThreadState* __tstate = wxPyBeginAllowThreads();
2743 result = (wxBitmapButton *)new wxBitmapButton();
2744
2745 wxPyEndAllowThreads(__tstate);
110da5b0 2746 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 2747 }
b0f7404b 2748 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmapButton, 1);
d14a1e28
RD
2749 return resultobj;
2750 fail:
2751 return NULL;
2752}
2753
2754
c32bde28 2755static PyObject *_wrap_BitmapButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2756 PyObject *resultobj;
2757 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2758 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
2759 int arg3 = (int) -1 ;
2760 wxBitmap const &arg4_defvalue = wxNullBitmap ;
2761 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
d14a1e28
RD
2762 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2763 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2764 wxSize const &arg6_defvalue = wxDefaultSize ;
2765 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2766 long arg7 = (long) wxBU_AUTODRAW ;
2767 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2768 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2769 wxString const &arg9_defvalue = wxPyButtonNameStr ;
2770 wxString *arg9 = (wxString *) &arg9_defvalue ;
2771 bool result;
2772 wxPoint temp5 ;
2773 wxSize temp6 ;
ae8162c8 2774 bool temp9 = false ;
d14a1e28
RD
2775 PyObject * obj0 = 0 ;
2776 PyObject * obj1 = 0 ;
994141e6 2777 PyObject * obj2 = 0 ;
d14a1e28
RD
2778 PyObject * obj3 = 0 ;
2779 PyObject * obj4 = 0 ;
2780 PyObject * obj5 = 0 ;
994141e6 2781 PyObject * obj6 = 0 ;
d14a1e28
RD
2782 PyObject * obj7 = 0 ;
2783 PyObject * obj8 = 0 ;
2784 char *kwnames[] = {
2785 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2786 };
2787
248ed943 2788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
2789 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2790 if (SWIG_arg_fail(1)) SWIG_fail;
2791 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2792 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 2793 if (obj2) {
093d3ff1
RD
2794 {
2795 arg3 = (int)(SWIG_As_int(obj2));
2796 if (SWIG_arg_fail(3)) SWIG_fail;
2797 }
248ed943
RD
2798 }
2799 if (obj3) {
093d3ff1
RD
2800 {
2801 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
2802 if (SWIG_arg_fail(4)) SWIG_fail;
2803 if (arg4 == NULL) {
2804 SWIG_null_ref("wxBitmap");
2805 }
2806 if (SWIG_arg_fail(4)) SWIG_fail;
248ed943 2807 }
d14a1e28
RD
2808 }
2809 if (obj4) {
2810 {
2811 arg5 = &temp5;
2812 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2813 }
2814 }
2815 if (obj5) {
2816 {
2817 arg6 = &temp6;
2818 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2819 }
2820 }
994141e6 2821 if (obj6) {
093d3ff1
RD
2822 {
2823 arg7 = (long)(SWIG_As_long(obj6));
2824 if (SWIG_arg_fail(7)) SWIG_fail;
2825 }
994141e6 2826 }
d14a1e28 2827 if (obj7) {
093d3ff1
RD
2828 {
2829 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2830 if (SWIG_arg_fail(8)) SWIG_fail;
2831 if (arg8 == NULL) {
2832 SWIG_null_ref("wxValidator");
2833 }
2834 if (SWIG_arg_fail(8)) SWIG_fail;
d14a1e28
RD
2835 }
2836 }
2837 if (obj8) {
2838 {
2839 arg9 = wxString_in_helper(obj8);
2840 if (arg9 == NULL) SWIG_fail;
ae8162c8 2841 temp9 = true;
d14a1e28
RD
2842 }
2843 }
2844 {
2845 PyThreadState* __tstate = wxPyBeginAllowThreads();
2846 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2847
2848 wxPyEndAllowThreads(__tstate);
2849 if (PyErr_Occurred()) SWIG_fail;
2850 }
4f89f6a3
RD
2851 {
2852 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2853 }
d14a1e28
RD
2854 {
2855 if (temp9)
2856 delete arg9;
2857 }
2858 return resultobj;
2859 fail:
2860 {
2861 if (temp9)
2862 delete arg9;
2863 }
2864 return NULL;
2865}
2866
2867
c32bde28 2868static PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2869 PyObject *resultobj;
2870 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2871 wxBitmap result;
2872 PyObject * obj0 = 0 ;
2873 char *kwnames[] = {
2874 (char *) "self", NULL
2875 };
2876
2877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapLabel",kwnames,&obj0)) goto fail;
093d3ff1
RD
2878 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2879 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2880 {
2881 PyThreadState* __tstate = wxPyBeginAllowThreads();
2882 result = (arg1)->GetBitmapLabel();
2883
2884 wxPyEndAllowThreads(__tstate);
2885 if (PyErr_Occurred()) SWIG_fail;
2886 }
2887 {
2888 wxBitmap * resultptr;
093d3ff1 2889 resultptr = new wxBitmap((wxBitmap &)(result));
15afbcd0 2890 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
2891 }
2892 return resultobj;
2893 fail:
2894 return NULL;
2895}
2896
2897
c32bde28 2898static PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2899 PyObject *resultobj;
2900 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2901 wxBitmap result;
2902 PyObject * obj0 = 0 ;
2903 char *kwnames[] = {
2904 (char *) "self", NULL
2905 };
2906
2907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames,&obj0)) goto fail;
093d3ff1
RD
2908 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2909 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2910 {
2911 PyThreadState* __tstate = wxPyBeginAllowThreads();
2912 result = (arg1)->GetBitmapDisabled();
2913
2914 wxPyEndAllowThreads(__tstate);
2915 if (PyErr_Occurred()) SWIG_fail;
2916 }
2917 {
2918 wxBitmap * resultptr;
093d3ff1 2919 resultptr = new wxBitmap((wxBitmap &)(result));
15afbcd0 2920 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
2921 }
2922 return resultobj;
2923 fail:
2924 return NULL;
2925}
2926
2927
c32bde28 2928static PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2929 PyObject *resultobj;
2930 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2931 wxBitmap result;
2932 PyObject * obj0 = 0 ;
2933 char *kwnames[] = {
2934 (char *) "self", NULL
2935 };
2936
2937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapFocus",kwnames,&obj0)) goto fail;
093d3ff1
RD
2938 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2939 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2940 {
2941 PyThreadState* __tstate = wxPyBeginAllowThreads();
2942 result = (arg1)->GetBitmapFocus();
2943
2944 wxPyEndAllowThreads(__tstate);
2945 if (PyErr_Occurred()) SWIG_fail;
2946 }
2947 {
2948 wxBitmap * resultptr;
093d3ff1 2949 resultptr = new wxBitmap((wxBitmap &)(result));
15afbcd0 2950 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
2951 }
2952 return resultobj;
2953 fail:
2954 return NULL;
2955}
2956
2957
c32bde28 2958static PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2959 PyObject *resultobj;
2960 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2961 wxBitmap result;
2962 PyObject * obj0 = 0 ;
2963 char *kwnames[] = {
2964 (char *) "self", NULL
2965 };
2966
2967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapSelected",kwnames,&obj0)) goto fail;
093d3ff1
RD
2968 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2969 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2970 {
2971 PyThreadState* __tstate = wxPyBeginAllowThreads();
2972 result = (arg1)->GetBitmapSelected();
2973
2974 wxPyEndAllowThreads(__tstate);
2975 if (PyErr_Occurred()) SWIG_fail;
2976 }
2977 {
2978 wxBitmap * resultptr;
093d3ff1 2979 resultptr = new wxBitmap((wxBitmap &)(result));
15afbcd0 2980 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
2981 }
2982 return resultobj;
2983 fail:
2984 return NULL;
2985}
2986
2987
c32bde28 2988static PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2989 PyObject *resultobj;
2990 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2991 wxBitmap *arg2 = 0 ;
2992 PyObject * obj0 = 0 ;
2993 PyObject * obj1 = 0 ;
2994 char *kwnames[] = {
2995 (char *) "self",(char *) "bitmap", NULL
2996 };
2997
2998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
2999 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3000 if (SWIG_arg_fail(1)) SWIG_fail;
3001 {
3002 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3003 if (SWIG_arg_fail(2)) SWIG_fail;
3004 if (arg2 == NULL) {
3005 SWIG_null_ref("wxBitmap");
3006 }
3007 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
3008 }
3009 {
3010 PyThreadState* __tstate = wxPyBeginAllowThreads();
3011 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
3012
3013 wxPyEndAllowThreads(__tstate);
3014 if (PyErr_Occurred()) SWIG_fail;
3015 }
3016 Py_INCREF(Py_None); resultobj = Py_None;
3017 return resultobj;
3018 fail:
3019 return NULL;
3020}
3021
3022
c32bde28 3023static PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3024 PyObject *resultobj;
3025 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3026 wxBitmap *arg2 = 0 ;
3027 PyObject * obj0 = 0 ;
3028 PyObject * obj1 = 0 ;
3029 char *kwnames[] = {
3030 (char *) "self",(char *) "bitmap", NULL
3031 };
3032
3033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3034 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3035 if (SWIG_arg_fail(1)) SWIG_fail;
3036 {
3037 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3038 if (SWIG_arg_fail(2)) SWIG_fail;
3039 if (arg2 == NULL) {
3040 SWIG_null_ref("wxBitmap");
3041 }
3042 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
3043 }
3044 {
3045 PyThreadState* __tstate = wxPyBeginAllowThreads();
3046 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
3047
3048 wxPyEndAllowThreads(__tstate);
3049 if (PyErr_Occurred()) SWIG_fail;
3050 }
3051 Py_INCREF(Py_None); resultobj = Py_None;
3052 return resultobj;
3053 fail:
3054 return NULL;
3055}
3056
3057
c32bde28 3058static PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3059 PyObject *resultobj;
3060 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3061 wxBitmap *arg2 = 0 ;
3062 PyObject * obj0 = 0 ;
3063 PyObject * obj1 = 0 ;
3064 char *kwnames[] = {
3065 (char *) "self",(char *) "bitmap", NULL
3066 };
3067
3068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3069 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3070 if (SWIG_arg_fail(1)) SWIG_fail;
3071 {
3072 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3073 if (SWIG_arg_fail(2)) SWIG_fail;
3074 if (arg2 == NULL) {
3075 SWIG_null_ref("wxBitmap");
3076 }
3077 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
3078 }
3079 {
3080 PyThreadState* __tstate = wxPyBeginAllowThreads();
3081 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
3082
3083 wxPyEndAllowThreads(__tstate);
3084 if (PyErr_Occurred()) SWIG_fail;
3085 }
3086 Py_INCREF(Py_None); resultobj = Py_None;
3087 return resultobj;
3088 fail:
3089 return NULL;
3090}
3091
3092
c32bde28 3093static PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3094 PyObject *resultobj;
3095 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3096 wxBitmap *arg2 = 0 ;
3097 PyObject * obj0 = 0 ;
3098 PyObject * obj1 = 0 ;
3099 char *kwnames[] = {
3100 (char *) "self",(char *) "bitmap", NULL
3101 };
3102
3103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3104 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3105 if (SWIG_arg_fail(1)) SWIG_fail;
3106 {
3107 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3108 if (SWIG_arg_fail(2)) SWIG_fail;
3109 if (arg2 == NULL) {
3110 SWIG_null_ref("wxBitmap");
3111 }
3112 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
3113 }
3114 {
3115 PyThreadState* __tstate = wxPyBeginAllowThreads();
3116 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
3117
3118 wxPyEndAllowThreads(__tstate);
3119 if (PyErr_Occurred()) SWIG_fail;
3120 }
3121 Py_INCREF(Py_None); resultobj = Py_None;
3122 return resultobj;
3123 fail:
3124 return NULL;
3125}
3126
3127
c32bde28 3128static PyObject *_wrap_BitmapButton_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3129 PyObject *resultobj;
3130 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3131 int arg2 ;
3132 int arg3 ;
3133 PyObject * obj0 = 0 ;
994141e6
RD
3134 PyObject * obj1 = 0 ;
3135 PyObject * obj2 = 0 ;
d14a1e28
RD
3136 char *kwnames[] = {
3137 (char *) "self",(char *) "x",(char *) "y", NULL
3138 };
3139
994141e6 3140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BitmapButton_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
3141 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3142 if (SWIG_arg_fail(1)) SWIG_fail;
3143 {
3144 arg2 = (int)(SWIG_As_int(obj1));
3145 if (SWIG_arg_fail(2)) SWIG_fail;
3146 }
3147 {
3148 arg3 = (int)(SWIG_As_int(obj2));
3149 if (SWIG_arg_fail(3)) SWIG_fail;
3150 }
d14a1e28
RD
3151 {
3152 PyThreadState* __tstate = wxPyBeginAllowThreads();
3153 (arg1)->SetMargins(arg2,arg3);
3154
3155 wxPyEndAllowThreads(__tstate);
3156 if (PyErr_Occurred()) SWIG_fail;
3157 }
3158 Py_INCREF(Py_None); resultobj = Py_None;
3159 return resultobj;
3160 fail:
3161 return NULL;
3162}
3163
3164
c32bde28 3165static PyObject *_wrap_BitmapButton_GetMarginX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3166 PyObject *resultobj;
3167 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3168 int result;
3169 PyObject * obj0 = 0 ;
3170 char *kwnames[] = {
3171 (char *) "self", NULL
3172 };
3173
3174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginX",kwnames,&obj0)) goto fail;
093d3ff1
RD
3175 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3176 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3177 {
3178 PyThreadState* __tstate = wxPyBeginAllowThreads();
3179 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
3180
3181 wxPyEndAllowThreads(__tstate);
3182 if (PyErr_Occurred()) SWIG_fail;
3183 }
093d3ff1
RD
3184 {
3185 resultobj = SWIG_From_int((int)(result));
3186 }
d14a1e28
RD
3187 return resultobj;
3188 fail:
3189 return NULL;
3190}
3191
3192
c32bde28 3193static PyObject *_wrap_BitmapButton_GetMarginY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3194 PyObject *resultobj;
3195 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3196 int result;
3197 PyObject * obj0 = 0 ;
3198 char *kwnames[] = {
3199 (char *) "self", NULL
3200 };
3201
3202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginY",kwnames,&obj0)) goto fail;
093d3ff1
RD
3203 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3204 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3205 {
3206 PyThreadState* __tstate = wxPyBeginAllowThreads();
3207 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
3208
3209 wxPyEndAllowThreads(__tstate);
3210 if (PyErr_Occurred()) SWIG_fail;
3211 }
093d3ff1
RD
3212 {
3213 resultobj = SWIG_From_int((int)(result));
3214 }
d14a1e28
RD
3215 return resultobj;
3216 fail:
3217 return NULL;
3218}
3219
3220
c32bde28 3221static PyObject * BitmapButton_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
3222 PyObject *obj;
3223 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3224 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton, obj);
3225 Py_INCREF(obj);
3226 return Py_BuildValue((char *)"");
3227}
c32bde28 3228static int _wrap_CheckBoxNameStr_set(PyObject *) {
b2dc1044
RD
3229 PyErr_SetString(PyExc_TypeError,"Variable CheckBoxNameStr is read-only.");
3230 return 1;
3231}
3232
3233
093d3ff1 3234static PyObject *_wrap_CheckBoxNameStr_get(void) {
b2dc1044
RD
3235 PyObject *pyobj;
3236
3237 {
3238#if wxUSE_UNICODE
3239 pyobj = PyUnicode_FromWideChar((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
3240#else
3241 pyobj = PyString_FromStringAndSize((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
3242#endif
3243 }
3244 return pyobj;
3245}
3246
3247
c32bde28 3248static PyObject *_wrap_new_CheckBox(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3249 PyObject *resultobj;
3250 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
3251 int arg2 = (int) -1 ;
3252 wxString const &arg3_defvalue = wxPyEmptyString ;
3253 wxString *arg3 = (wxString *) &arg3_defvalue ;
d14a1e28
RD
3254 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3255 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3256 wxSize const &arg5_defvalue = wxDefaultSize ;
3257 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3258 long arg6 = (long) 0 ;
3259 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3260 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3261 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
3262 wxString *arg8 = (wxString *) &arg8_defvalue ;
3263 wxCheckBox *result;
ae8162c8 3264 bool temp3 = false ;
d14a1e28
RD
3265 wxPoint temp4 ;
3266 wxSize temp5 ;
ae8162c8 3267 bool temp8 = false ;
d14a1e28 3268 PyObject * obj0 = 0 ;
994141e6 3269 PyObject * obj1 = 0 ;
d14a1e28
RD
3270 PyObject * obj2 = 0 ;
3271 PyObject * obj3 = 0 ;
3272 PyObject * obj4 = 0 ;
994141e6 3273 PyObject * obj5 = 0 ;
d14a1e28
RD
3274 PyObject * obj6 = 0 ;
3275 PyObject * obj7 = 0 ;
3276 char *kwnames[] = {
3277 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3278 };
3279
248ed943 3280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
3281 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3282 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 3283 if (obj1) {
093d3ff1
RD
3284 {
3285 arg2 = (int)(SWIG_As_int(obj1));
3286 if (SWIG_arg_fail(2)) SWIG_fail;
3287 }
248ed943
RD
3288 }
3289 if (obj2) {
3290 {
3291 arg3 = wxString_in_helper(obj2);
3292 if (arg3 == NULL) SWIG_fail;
ae8162c8 3293 temp3 = true;
248ed943 3294 }
d14a1e28
RD
3295 }
3296 if (obj3) {
3297 {
3298 arg4 = &temp4;
3299 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3300 }
3301 }
3302 if (obj4) {
3303 {
3304 arg5 = &temp5;
3305 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3306 }
3307 }
994141e6 3308 if (obj5) {
093d3ff1
RD
3309 {
3310 arg6 = (long)(SWIG_As_long(obj5));
3311 if (SWIG_arg_fail(6)) SWIG_fail;
3312 }
994141e6 3313 }
d14a1e28 3314 if (obj6) {
093d3ff1
RD
3315 {
3316 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
3317 if (SWIG_arg_fail(7)) SWIG_fail;
3318 if (arg7 == NULL) {
3319 SWIG_null_ref("wxValidator");
3320 }
3321 if (SWIG_arg_fail(7)) SWIG_fail;
d14a1e28
RD
3322 }
3323 }
3324 if (obj7) {
3325 {
3326 arg8 = wxString_in_helper(obj7);
3327 if (arg8 == NULL) SWIG_fail;
ae8162c8 3328 temp8 = true;
d14a1e28
RD
3329 }
3330 }
3331 {
e3b71cb8 3332 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
3333 PyThreadState* __tstate = wxPyBeginAllowThreads();
3334 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3335
3336 wxPyEndAllowThreads(__tstate);
110da5b0 3337 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 3338 }
15afbcd0 3339 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
d14a1e28
RD
3340 {
3341 if (temp3)
3342 delete arg3;
3343 }
3344 {
3345 if (temp8)
3346 delete arg8;
3347 }
3348 return resultobj;
3349 fail:
3350 {
3351 if (temp3)
3352 delete arg3;
3353 }
3354 {
3355 if (temp8)
3356 delete arg8;
3357 }
3358 return NULL;
3359}
3360
3361
c32bde28 3362static PyObject *_wrap_new_PreCheckBox(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3363 PyObject *resultobj;
3364 wxCheckBox *result;
3365 char *kwnames[] = {
3366 NULL
3367 };
3368
3369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckBox",kwnames)) goto fail;
3370 {
e3b71cb8 3371 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
3372 PyThreadState* __tstate = wxPyBeginAllowThreads();
3373 result = (wxCheckBox *)new wxCheckBox();
3374
3375 wxPyEndAllowThreads(__tstate);
110da5b0 3376 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 3377 }
15afbcd0 3378 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
d14a1e28
RD
3379 return resultobj;
3380 fail:
3381 return NULL;
3382}
3383
3384
c32bde28 3385static PyObject *_wrap_CheckBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3386 PyObject *resultobj;
3387 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3388 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
3389 int arg3 = (int) -1 ;
3390 wxString const &arg4_defvalue = wxPyEmptyString ;
3391 wxString *arg4 = (wxString *) &arg4_defvalue ;
d14a1e28
RD
3392 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3393 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3394 wxSize const &arg6_defvalue = wxDefaultSize ;
3395 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3396 long arg7 = (long) 0 ;
3397 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3398 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3399 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
3400 wxString *arg9 = (wxString *) &arg9_defvalue ;
3401 bool result;
ae8162c8 3402 bool temp4 = false ;
d14a1e28
RD
3403 wxPoint temp5 ;
3404 wxSize temp6 ;
ae8162c8 3405 bool temp9 = false ;
d14a1e28
RD
3406 PyObject * obj0 = 0 ;
3407 PyObject * obj1 = 0 ;
994141e6 3408 PyObject * obj2 = 0 ;
d14a1e28
RD
3409 PyObject * obj3 = 0 ;
3410 PyObject * obj4 = 0 ;
3411 PyObject * obj5 = 0 ;
994141e6 3412 PyObject * obj6 = 0 ;
d14a1e28
RD
3413 PyObject * obj7 = 0 ;
3414 PyObject * obj8 = 0 ;
3415 char *kwnames[] = {
3416 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3417 };
3418
248ed943 3419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
3420 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3421 if (SWIG_arg_fail(1)) SWIG_fail;
3422 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3423 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 3424 if (obj2) {
093d3ff1
RD
3425 {
3426 arg3 = (int)(SWIG_As_int(obj2));
3427 if (SWIG_arg_fail(3)) SWIG_fail;
3428 }
248ed943
RD
3429 }
3430 if (obj3) {
3431 {
3432 arg4 = wxString_in_helper(obj3);
3433 if (arg4 == NULL) SWIG_fail;
ae8162c8 3434 temp4 = true;
248ed943 3435 }
d14a1e28
RD
3436 }
3437 if (obj4) {
3438 {
3439 arg5 = &temp5;
3440 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3441 }
3442 }
3443 if (obj5) {
3444 {
3445 arg6 = &temp6;
3446 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3447 }
3448 }
994141e6 3449 if (obj6) {
093d3ff1
RD
3450 {
3451 arg7 = (long)(SWIG_As_long(obj6));
3452 if (SWIG_arg_fail(7)) SWIG_fail;
3453 }
994141e6 3454 }
d14a1e28 3455 if (obj7) {
093d3ff1
RD
3456 {
3457 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
3458 if (SWIG_arg_fail(8)) SWIG_fail;
3459 if (arg8 == NULL) {
3460 SWIG_null_ref("wxValidator");
3461 }
3462 if (SWIG_arg_fail(8)) SWIG_fail;
d14a1e28
RD
3463 }
3464 }
3465 if (obj8) {
3466 {
3467 arg9 = wxString_in_helper(obj8);
3468 if (arg9 == NULL) SWIG_fail;
ae8162c8 3469 temp9 = true;
d14a1e28
RD
3470 }
3471 }
3472 {
3473 PyThreadState* __tstate = wxPyBeginAllowThreads();
3474 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3475
3476 wxPyEndAllowThreads(__tstate);
3477 if (PyErr_Occurred()) SWIG_fail;
3478 }
4f89f6a3
RD
3479 {
3480 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3481 }
d14a1e28
RD
3482 {
3483 if (temp4)
3484 delete arg4;
3485 }
3486 {
3487 if (temp9)
3488 delete arg9;
3489 }
3490 return resultobj;
3491 fail:
3492 {
3493 if (temp4)
3494 delete arg4;
3495 }
3496 {
3497 if (temp9)
3498 delete arg9;
3499 }
3500 return NULL;
3501}
3502
3503
c32bde28 3504static PyObject *_wrap_CheckBox_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3505 PyObject *resultobj;
3506 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3507 bool result;
3508 PyObject * obj0 = 0 ;
3509 char *kwnames[] = {
3510 (char *) "self", NULL
3511 };
3512
3513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_GetValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
3514 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3515 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3516 {
3517 PyThreadState* __tstate = wxPyBeginAllowThreads();
3518 result = (bool)(arg1)->GetValue();
3519
3520 wxPyEndAllowThreads(__tstate);
3521 if (PyErr_Occurred()) SWIG_fail;
3522 }
4f89f6a3
RD
3523 {
3524 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3525 }
d14a1e28
RD
3526 return resultobj;
3527 fail:
3528 return NULL;
3529}
3530
3531
c32bde28 3532static PyObject *_wrap_CheckBox_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3533 PyObject *resultobj;
3534 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3535 bool result;
3536 PyObject * obj0 = 0 ;
3537 char *kwnames[] = {
3538 (char *) "self", NULL
3539 };
3540
3541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_IsChecked",kwnames,&obj0)) goto fail;
093d3ff1
RD
3542 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3543 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3544 {
3545 PyThreadState* __tstate = wxPyBeginAllowThreads();
3546 result = (bool)(arg1)->IsChecked();
3547
3548 wxPyEndAllowThreads(__tstate);
3549 if (PyErr_Occurred()) SWIG_fail;
3550 }
4f89f6a3
RD
3551 {
3552 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3553 }
d14a1e28
RD
3554 return resultobj;
3555 fail:
3556 return NULL;
3557}
3558
3559
c32bde28 3560static PyObject *_wrap_CheckBox_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3561 PyObject *resultobj;
3562 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3563 bool arg2 ;
3564 PyObject * obj0 = 0 ;
3565 PyObject * obj1 = 0 ;
3566 char *kwnames[] = {
3567 (char *) "self",(char *) "state", NULL
3568 };
3569
3570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3571 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3572 if (SWIG_arg_fail(1)) SWIG_fail;
3573 {
3574 arg2 = (bool const)(SWIG_As_bool(obj1));
3575 if (SWIG_arg_fail(2)) SWIG_fail;
3576 }
d14a1e28
RD
3577 {
3578 PyThreadState* __tstate = wxPyBeginAllowThreads();
3579 (arg1)->SetValue(arg2);
3580
3581 wxPyEndAllowThreads(__tstate);
3582 if (PyErr_Occurred()) SWIG_fail;
3583 }
3584 Py_INCREF(Py_None); resultobj = Py_None;
3585 return resultobj;
3586 fail:
3587 return NULL;
3588}
3589
3590
c32bde28 3591static PyObject *_wrap_CheckBox_Get3StateValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3592 PyObject *resultobj;
3593 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
093d3ff1 3594 wxCheckBoxState result;
d14a1e28
RD
3595 PyObject * obj0 = 0 ;
3596 char *kwnames[] = {
3597 (char *) "self", NULL
3598 };
3599
3600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Get3StateValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
3601 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3602 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3603 {
3604 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3605 result = (wxCheckBoxState)((wxCheckBox const *)arg1)->Get3StateValue();
d14a1e28
RD
3606
3607 wxPyEndAllowThreads(__tstate);
3608 if (PyErr_Occurred()) SWIG_fail;
3609 }
093d3ff1 3610 resultobj = SWIG_From_int((result));
d14a1e28
RD
3611 return resultobj;
3612 fail:
3613 return NULL;
3614}
3615
3616
c32bde28 3617static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3618 PyObject *resultobj;
3619 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
093d3ff1 3620 wxCheckBoxState arg2 ;
d14a1e28 3621 PyObject * obj0 = 0 ;
994141e6 3622 PyObject * obj1 = 0 ;
d14a1e28
RD
3623 char *kwnames[] = {
3624 (char *) "self",(char *) "state", NULL
3625 };
3626
994141e6 3627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_Set3StateValue",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3628 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3629 if (SWIG_arg_fail(1)) SWIG_fail;
3630 {
3631 arg2 = (wxCheckBoxState)(SWIG_As_int(obj1));
3632 if (SWIG_arg_fail(2)) SWIG_fail;
3633 }
d14a1e28
RD
3634 {
3635 PyThreadState* __tstate = wxPyBeginAllowThreads();
3636 (arg1)->Set3StateValue((wxCheckBoxState )arg2);
3637
3638 wxPyEndAllowThreads(__tstate);
3639 if (PyErr_Occurred()) SWIG_fail;
3640 }
3641 Py_INCREF(Py_None); resultobj = Py_None;
3642 return resultobj;
3643 fail:
3644 return NULL;
3645}
3646
3647
c32bde28 3648static PyObject *_wrap_CheckBox_Is3State(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3649 PyObject *resultobj;
3650 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3651 bool result;
3652 PyObject * obj0 = 0 ;
3653 char *kwnames[] = {
3654 (char *) "self", NULL
3655 };
3656
3657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3State",kwnames,&obj0)) goto fail;
093d3ff1
RD
3658 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3659 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3660 {
3661 PyThreadState* __tstate = wxPyBeginAllowThreads();
3662 result = (bool)((wxCheckBox const *)arg1)->Is3State();
3663
3664 wxPyEndAllowThreads(__tstate);
3665 if (PyErr_Occurred()) SWIG_fail;
3666 }
4f89f6a3
RD
3667 {
3668 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3669 }
d14a1e28
RD
3670 return resultobj;
3671 fail:
3672 return NULL;
3673}
3674
3675
c32bde28 3676static PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3677 PyObject *resultobj;
3678 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3679 bool result;
3680 PyObject * obj0 = 0 ;
3681 char *kwnames[] = {
3682 (char *) "self", NULL
3683 };
3684
3685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames,&obj0)) goto fail;
093d3ff1
RD
3686 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3687 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3688 {
3689 PyThreadState* __tstate = wxPyBeginAllowThreads();
3690 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
3691
3692 wxPyEndAllowThreads(__tstate);
3693 if (PyErr_Occurred()) SWIG_fail;
3694 }
4f89f6a3
RD
3695 {
3696 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3697 }
d14a1e28
RD
3698 return resultobj;
3699 fail:
3700 return NULL;
3701}
3702
3703
c32bde28 3704static PyObject *_wrap_CheckBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c 3705 PyObject *resultobj;
093d3ff1 3706 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
3707 wxVisualAttributes result;
3708 PyObject * obj0 = 0 ;
3709 char *kwnames[] = {
3710 (char *) "variant", NULL
3711 };
3712
3713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
3714 if (obj0) {
093d3ff1
RD
3715 {
3716 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
3717 if (SWIG_arg_fail(1)) SWIG_fail;
3718 }
22bfe96c
RD
3719 }
3720 {
110da5b0 3721 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
3722 PyThreadState* __tstate = wxPyBeginAllowThreads();
3723 result = wxCheckBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
3724
3725 wxPyEndAllowThreads(__tstate);
dfbb5885 3726 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
3727 }
3728 {
3729 wxVisualAttributes * resultptr;
093d3ff1 3730 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
22bfe96c
RD
3731 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
3732 }
3733 return resultobj;
3734 fail:
3735 return NULL;
3736}
3737
3738
c32bde28 3739static PyObject * CheckBox_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
3740 PyObject *obj;
3741 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3742 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox, obj);
3743 Py_INCREF(obj);
3744 return Py_BuildValue((char *)"");
3745}
c32bde28 3746static int _wrap_ChoiceNameStr_set(PyObject *) {
b2dc1044
RD
3747 PyErr_SetString(PyExc_TypeError,"Variable ChoiceNameStr is read-only.");
3748 return 1;
3749}
3750
3751
093d3ff1 3752static PyObject *_wrap_ChoiceNameStr_get(void) {
b2dc1044
RD
3753 PyObject *pyobj;
3754
3755 {
3756#if wxUSE_UNICODE
3757 pyobj = PyUnicode_FromWideChar((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
3758#else
3759 pyobj = PyString_FromStringAndSize((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
3760#endif
3761 }
3762 return pyobj;
3763}
3764
3765
c32bde28 3766static PyObject *_wrap_new_Choice(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3767 PyObject *resultobj;
3768 wxWindow *arg1 = (wxWindow *) 0 ;
a95a7133 3769 int arg2 = (int) -1 ;
d14a1e28
RD
3770 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3771 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3772 wxSize const &arg4_defvalue = wxDefaultSize ;
3773 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4d5c3d91
RD
3774 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
3775 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
3776 long arg6 = (long) 0 ;
3777 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3778 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3779 wxString const &arg8_defvalue = wxPyChoiceNameStr ;
3780 wxString *arg8 = (wxString *) &arg8_defvalue ;
d14a1e28
RD
3781 wxChoice *result;
3782 wxPoint temp3 ;
3783 wxSize temp4 ;
ae8162c8
RD
3784 bool temp5 = false ;
3785 bool temp8 = false ;
d14a1e28 3786 PyObject * obj0 = 0 ;
994141e6 3787 PyObject * obj1 = 0 ;
d14a1e28
RD
3788 PyObject * obj2 = 0 ;
3789 PyObject * obj3 = 0 ;
3790 PyObject * obj4 = 0 ;
994141e6 3791 PyObject * obj5 = 0 ;
d14a1e28
RD
3792 PyObject * obj6 = 0 ;
3793 PyObject * obj7 = 0 ;
3794 char *kwnames[] = {
3795 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3796 };
3797
a95a7133 3798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Choice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
3799 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3800 if (SWIG_arg_fail(1)) SWIG_fail;
a95a7133 3801 if (obj1) {
093d3ff1
RD
3802 {
3803 arg2 = (int)(SWIG_As_int(obj1));
3804 if (SWIG_arg_fail(2)) SWIG_fail;
3805 }
a95a7133 3806 }
d14a1e28
RD
3807 if (obj2) {
3808 {
3809 arg3 = &temp3;
3810 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3811 }
3812 }
3813 if (obj3) {
3814 {
3815 arg4 = &temp4;
3816 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3817 }
3818 }
3819 if (obj4) {
3820 {
4d5c3d91
RD
3821 if (! PySequence_Check(obj4)) {
3822 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
3823 SWIG_fail;
3824 }
3825 arg5 = new wxArrayString;
ae8162c8 3826 temp5 = true;
4d5c3d91
RD
3827 int i, len=PySequence_Length(obj4);
3828 for (i=0; i<len; i++) {
3829 PyObject* item = PySequence_GetItem(obj4, i);
3830#if wxUSE_UNICODE
3831 PyObject* str = PyObject_Unicode(item);
3832#else
3833 PyObject* str = PyObject_Str(item);
3834#endif
74a57fcd 3835 if (PyErr_Occurred()) SWIG_fail;
4d5c3d91
RD
3836 arg5->Add(Py2wxString(str));
3837 Py_DECREF(item);
3838 Py_DECREF(str);
3839 }
d14a1e28
RD
3840 }
3841 }
994141e6 3842 if (obj5) {
093d3ff1
RD
3843 {
3844 arg6 = (long)(SWIG_As_long(obj5));
3845 if (SWIG_arg_fail(6)) SWIG_fail;
3846 }
994141e6 3847 }
d14a1e28 3848 if (obj6) {
093d3ff1
RD
3849 {
3850 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
3851 if (SWIG_arg_fail(7)) SWIG_fail;
3852 if (arg7 == NULL) {
3853 SWIG_null_ref("wxValidator");
3854 }
3855 if (SWIG_arg_fail(7)) SWIG_fail;
d14a1e28
RD
3856 }
3857 }
3858 if (obj7) {
3859 {
4d5c3d91
RD
3860 arg8 = wxString_in_helper(obj7);
3861 if (arg8 == NULL) SWIG_fail;
ae8162c8 3862 temp8 = true;
d14a1e28
RD
3863 }
3864 }
3865 {
e3b71cb8 3866 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 3867 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 3868 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
d14a1e28
RD
3869
3870 wxPyEndAllowThreads(__tstate);
110da5b0 3871 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 3872 }
15afbcd0 3873 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
d14a1e28 3874 {
3adfb63b 3875 if (temp5) delete arg5;
d14a1e28
RD
3876 }
3877 {
3878 if (temp8)
4d5c3d91 3879 delete arg8;
d14a1e28
RD
3880 }
3881 return resultobj;
3882 fail:
3883 {
3adfb63b 3884 if (temp5) delete arg5;
d14a1e28
RD
3885 }
3886 {
3887 if (temp8)
4d5c3d91 3888 delete arg8;
d14a1e28
RD
3889 }
3890 return NULL;
3891}
3892
3893
c32bde28 3894static PyObject *_wrap_new_PreChoice(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3895 PyObject *resultobj;
3896 wxChoice *result;
3897 char *kwnames[] = {
3898 NULL
3899 };
3900
3901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoice",kwnames)) goto fail;
3902 {
e3b71cb8 3903 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
3904 PyThreadState* __tstate = wxPyBeginAllowThreads();
3905 result = (wxChoice *)new wxChoice();
3906
3907 wxPyEndAllowThreads(__tstate);
110da5b0 3908 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 3909 }
15afbcd0 3910 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
d14a1e28
RD
3911 return resultobj;
3912 fail:
3913 return NULL;
3914}
3915
3916
c32bde28 3917static PyObject *_wrap_Choice_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3918 PyObject *resultobj;
3919 wxChoice *arg1 = (wxChoice *) 0 ;
3920 wxWindow *arg2 = (wxWindow *) 0 ;
a95a7133 3921 int arg3 = (int) -1 ;
d14a1e28
RD
3922 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3923 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3924 wxSize const &arg5_defvalue = wxDefaultSize ;
3925 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4d5c3d91
RD
3926 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
3927 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
3928 long arg7 = (long) 0 ;
3929 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3930 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3931 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
3932 wxString *arg9 = (wxString *) &arg9_defvalue ;
d14a1e28
RD
3933 bool result;
3934 wxPoint temp4 ;
3935 wxSize temp5 ;
ae8162c8
RD
3936 bool temp6 = false ;
3937 bool temp9 = false ;
d14a1e28
RD
3938 PyObject * obj0 = 0 ;
3939 PyObject * obj1 = 0 ;
994141e6 3940 PyObject * obj2 = 0 ;
d14a1e28
RD
3941 PyObject * obj3 = 0 ;
3942 PyObject * obj4 = 0 ;
3943 PyObject * obj5 = 0 ;
994141e6 3944 PyObject * obj6 = 0 ;
d14a1e28
RD
3945 PyObject * obj7 = 0 ;
3946 PyObject * obj8 = 0 ;
3947 char *kwnames[] = {
3948 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3949 };
3950
a95a7133 3951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Choice_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
3952 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoice, SWIG_POINTER_EXCEPTION | 0);
3953 if (SWIG_arg_fail(1)) SWIG_fail;
3954 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3955 if (SWIG_arg_fail(2)) SWIG_fail;
a95a7133 3956 if (obj2) {
093d3ff1
RD
3957 {
3958 arg3 = (int)(SWIG_As_int(obj2));
3959 if (SWIG_arg_fail(3)) SWIG_fail;
3960 }
a95a7133 3961 }
d14a1e28
RD
3962 if (obj3) {
3963 {
3964 arg4 = &temp4;
3965 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3966 }
3967 }
3968 if (obj4) {
3969 {
3970 arg5 = &temp5;
3971 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3972 }
3973 }
3974 if (obj5) {
3975 {
4d5c3d91
RD
3976 if (! PySequence_Check(obj5)) {
3977 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
3978 SWIG_fail;
3979 }
3980 arg6 = new wxArrayString;
ae8162c8 3981 temp6 = true;
4d5c3d91
RD
3982 int i, len=PySequence_Length(obj5);
3983 for (i=0; i<len; i++) {
3984 PyObject* item = PySequence_GetItem(obj5, i);
3985#if wxUSE_UNICODE
3986 PyObject* str = PyObject_Unicode(item);
3987#else
3988 PyObject* str = PyObject_Str(item);
3989#endif
74a57fcd 3990 if (PyErr_Occurred()) SWIG_fail;
4d5c3d91
RD
3991 arg6->Add(Py2wxString(str));
3992 Py_DECREF(item);
3993 Py_DECREF(str);
3994 }
d14a1e28
RD
3995 }
3996 }
994141e6 3997 if (obj6) {
093d3ff1
RD
3998 {
3999 arg7 = (long)(SWIG_As_long(obj6));
4000 if (SWIG_arg_fail(7)) SWIG_fail;
4001 }
994141e6 4002 }
d14a1e28 4003 if (obj7) {
093d3ff1
RD
4004 {
4005 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
4006 if (SWIG_arg_fail(8)) SWIG_fail;
4007 if (arg8 == NULL) {
4008 SWIG_null_ref("wxValidator");
4009 }
4010 if (SWIG_arg_fail(8)) SWIG_fail;
d14a1e28
RD
4011 }
4012 }
4013 if (obj8) {
4014 {
4d5c3d91
RD
4015 arg9 = wxString_in_helper(obj8);
4016 if (arg9 == NULL) SWIG_fail;
ae8162c8 4017 temp9 = true;
d14a1e28
RD
4018 }
4019 }
4020 {
4021 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 4022 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
d14a1e28
RD
4023
4024 wxPyEndAllowThreads(__tstate);
4025 if (PyErr_Occurred()) SWIG_fail;
4026 }
4f89f6a3
RD
4027 {
4028 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4029 }
d14a1e28 4030 {
3adfb63b 4031 if (temp6) delete arg6;
d14a1e28
RD
4032 }
4033 {
4034 if (temp9)
4d5c3d91 4035 delete arg9;
d14a1e28
RD
4036 }
4037 return resultobj;
4038 fail:
4039 {
3adfb63b 4040 if (temp6) delete arg6;
d14a1e28
RD
4041 }
4042 {
4043 if (temp9)
4d5c3d91 4044 delete arg9;
d14a1e28
RD
4045 }
4046 return NULL;
4047}
4048
4049
c32bde28 4050static PyObject *_wrap_Choice_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c 4051 PyObject *resultobj;
093d3ff1 4052 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
4053 wxVisualAttributes result;
4054 PyObject * obj0 = 0 ;
4055 char *kwnames[] = {
4056 (char *) "variant", NULL
4057 };
4058
4059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4060 if (obj0) {
093d3ff1
RD
4061 {
4062 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
4063 if (SWIG_arg_fail(1)) SWIG_fail;
4064 }
22bfe96c
RD
4065 }
4066 {
110da5b0 4067 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
4068 PyThreadState* __tstate = wxPyBeginAllowThreads();
4069 result = wxChoice::GetClassDefaultAttributes((wxWindowVariant )arg1);
4070
4071 wxPyEndAllowThreads(__tstate);
dfbb5885 4072 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
4073 }
4074 {
4075 wxVisualAttributes * resultptr;
093d3ff1 4076 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
22bfe96c
RD
4077 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4078 }
4079 return resultobj;
4080 fail:
4081 return NULL;
4082}
4083
4084
c32bde28 4085static PyObject * Choice_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
4086 PyObject *obj;
4087 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4088 SWIG_TypeClientData(SWIGTYPE_p_wxChoice, obj);
4089 Py_INCREF(obj);
4090 return Py_BuildValue((char *)"");
4091}
c32bde28 4092static int _wrap_ComboBoxNameStr_set(PyObject *) {
b2dc1044
RD
4093 PyErr_SetString(PyExc_TypeError,"Variable ComboBoxNameStr is read-only.");
4094 return 1;
4095}
4096
4097
093d3ff1 4098static PyObject *_wrap_ComboBoxNameStr_get(void) {
b2dc1044
RD
4099 PyObject *pyobj;
4100
4101 {
4102#if wxUSE_UNICODE
4103 pyobj = PyUnicode_FromWideChar((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
4104#else
4105 pyobj = PyString_FromStringAndSize((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
4106#endif
4107 }
4108 return pyobj;
4109}
4110
4111
c32bde28 4112static PyObject *_wrap_new_ComboBox(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4113 PyObject *resultobj;
4114 wxWindow *arg1 = (wxWindow *) 0 ;
a95a7133 4115 int arg2 = (int) -1 ;
d14a1e28
RD
4116 wxString const &arg3_defvalue = wxPyEmptyString ;
4117 wxString *arg3 = (wxString *) &arg3_defvalue ;
4118 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4119 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4120 wxSize const &arg5_defvalue = wxDefaultSize ;
4121 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4d5c3d91
RD
4122 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
4123 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
4124 long arg7 = (long) 0 ;
4125 wxValidator const &arg8_defvalue = wxDefaultValidator ;
4126 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
4127 wxString const &arg9_defvalue = wxPyComboBoxNameStr ;
4128 wxString *arg9 = (wxString *) &arg9_defvalue ;
d14a1e28 4129 wxComboBox *result;
ae8162c8 4130 bool temp3 = false ;
d14a1e28
RD
4131 wxPoint temp4 ;
4132 wxSize temp5 ;
ae8162c8
RD
4133 bool temp6 = false ;
4134 bool temp9 = false ;
d14a1e28 4135 PyObject * obj0 = 0 ;
994141e6 4136 PyObject * obj1 = 0 ;
d14a1e28
RD
4137 PyObject * obj2 = 0 ;
4138 PyObject * obj3 = 0 ;
4139 PyObject * obj4 = 0 ;
4140 PyObject * obj5 = 0 ;
994141e6 4141 PyObject * obj6 = 0 ;
d14a1e28
RD
4142 PyObject * obj7 = 0 ;
4143 PyObject * obj8 = 0 ;
4144 char *kwnames[] = {
4145 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4146 };
4147
a95a7133 4148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_ComboBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
4149 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4150 if (SWIG_arg_fail(1)) SWIG_fail;
a95a7133 4151 if (obj1) {
093d3ff1
RD
4152 {
4153 arg2 = (int)(SWIG_As_int(obj1));
4154 if (SWIG_arg_fail(2)) SWIG_fail;
4155 }
a95a7133 4156 }
d14a1e28
RD
4157 if (obj2) {
4158 {
4159 arg3 = wxString_in_helper(obj2);
4160 if (arg3 == NULL) SWIG_fail;
ae8162c8 4161 temp3 = true;
d14a1e28
RD
4162 }
4163 }
4164 if (obj3) {
4165 {
4166 arg4 = &temp4;
4167 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4168 }
4169 }
4170 if (obj4) {
4171 {
4172 arg5 = &temp5;
4173 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4174 }
4175 }
4176 if (obj5) {
4177 {
4d5c3d91
RD
4178 if (! PySequence_Check(obj5)) {
4179 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4180 SWIG_fail;
4181 }
4182 arg6 = new wxArrayString;
ae8162c8 4183 temp6 = true;
4d5c3d91
RD
4184 int i, len=PySequence_Length(obj5);
4185 for (i=0; i<len; i++) {
4186 PyObject* item = PySequence_GetItem(obj5, i);
4187#if wxUSE_UNICODE
4188 PyObject* str = PyObject_Unicode(item);
4189#else
4190 PyObject* str = PyObject_Str(item);
4191#endif
74a57fcd 4192 if (PyErr_Occurred()) SWIG_fail;
4d5c3d91
RD
4193 arg6->Add(Py2wxString(str));
4194 Py_DECREF(item);
4195 Py_DECREF(str);
4196 }
d14a1e28
RD
4197 }
4198 }
994141e6 4199 if (obj6) {
093d3ff1
RD
4200 {
4201 arg7 = (long)(SWIG_As_long(obj6));
4202 if (SWIG_arg_fail(7)) SWIG_fail;
4203 }
994141e6 4204 }
d14a1e28 4205 if (obj7) {
093d3ff1
RD
4206 {
4207 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
4208 if (SWIG_arg_fail(8)) SWIG_fail;
4209 if (arg8 == NULL) {
4210 SWIG_null_ref("wxValidator");
4211 }
4212 if (SWIG_arg_fail(8)) SWIG_fail;
d14a1e28
RD
4213 }
4214 }
4215 if (obj8) {
4216 {
4d5c3d91
RD
4217 arg9 = wxString_in_helper(obj8);
4218 if (arg9 == NULL) SWIG_fail;
ae8162c8 4219 temp9 = true;
d14a1e28
RD
4220 }
4221 }
4222 {
e3b71cb8 4223 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 4224 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 4225 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
4226
4227 wxPyEndAllowThreads(__tstate);
110da5b0 4228 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 4229 }
15afbcd0 4230 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
d14a1e28
RD
4231 {
4232 if (temp3)
4233 delete arg3;
4234 }
4235 {
3adfb63b 4236 if (temp6) delete arg6;
d14a1e28
RD
4237 }
4238 {
4239 if (temp9)
4d5c3d91 4240 delete arg9;
d14a1e28
RD
4241 }
4242 return resultobj;
4243 fail:
4244 {
4245 if (temp3)
4246 delete arg3;
4247 }
4248 {
3adfb63b 4249 if (temp6) delete arg6;
d14a1e28
RD
4250 }
4251 {
4252 if (temp9)
4d5c3d91 4253 delete arg9;
d14a1e28
RD
4254 }
4255 return NULL;
4256}
4257
4258
c32bde28 4259static PyObject *_wrap_new_PreComboBox(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4260 PyObject *resultobj;
4261 wxComboBox *result;
4262 char *kwnames[] = {
4263 NULL
4264 };
4265
4266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreComboBox",kwnames)) goto fail;
4267 {
e3b71cb8 4268 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
4269 PyThreadState* __tstate = wxPyBeginAllowThreads();
4270 result = (wxComboBox *)new wxComboBox();
4271
4272 wxPyEndAllowThreads(__tstate);
110da5b0 4273 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 4274 }
15afbcd0 4275 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
d14a1e28
RD
4276 return resultobj;
4277 fail:
4278 return NULL;
4279}
4280
4281
c32bde28 4282static PyObject *_wrap_ComboBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4283 PyObject *resultobj;
4284 wxComboBox *arg1 = (wxComboBox *) 0 ;
4285 wxWindow *arg2 = (wxWindow *) 0 ;
a95a7133 4286 int arg3 = (int) -1 ;
d14a1e28
RD
4287 wxString const &arg4_defvalue = wxPyEmptyString ;
4288 wxString *arg4 = (wxString *) &arg4_defvalue ;
4289 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4290 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4291 wxSize const &arg6_defvalue = wxDefaultSize ;
4292 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4d5c3d91
RD
4293 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
4294 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
4295 long arg8 = (long) 0 ;
4296 wxValidator const &arg9_defvalue = wxDefaultValidator ;
4297 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
b88bce5f 4298 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
4d5c3d91 4299 wxString *arg10 = (wxString *) &arg10_defvalue ;
d14a1e28 4300 bool result;
ae8162c8 4301 bool temp4 = false ;
d14a1e28
RD
4302 wxPoint temp5 ;
4303 wxSize temp6 ;
ae8162c8
RD
4304 bool temp7 = false ;
4305 bool temp10 = false ;
d14a1e28
RD
4306 PyObject * obj0 = 0 ;
4307 PyObject * obj1 = 0 ;
994141e6 4308 PyObject * obj2 = 0 ;
d14a1e28
RD
4309 PyObject * obj3 = 0 ;
4310 PyObject * obj4 = 0 ;
4311 PyObject * obj5 = 0 ;
4312 PyObject * obj6 = 0 ;
994141e6 4313 PyObject * obj7 = 0 ;
d14a1e28
RD
4314 PyObject * obj8 = 0 ;
4315 PyObject * obj9 = 0 ;
4316 char *kwnames[] = {
4317 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4318 };
4319
a95a7133 4320 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
4321 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4322 if (SWIG_arg_fail(1)) SWIG_fail;
4323 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4324 if (SWIG_arg_fail(2)) SWIG_fail;
a95a7133 4325 if (obj2) {
093d3ff1
RD
4326 {
4327 arg3 = (int)(SWIG_As_int(obj2));
4328 if (SWIG_arg_fail(3)) SWIG_fail;
4329 }
a95a7133 4330 }
d14a1e28
RD
4331 if (obj3) {
4332 {
4333 arg4 = wxString_in_helper(obj3);
4334 if (arg4 == NULL) SWIG_fail;
ae8162c8 4335 temp4 = true;
d14a1e28
RD
4336 }
4337 }
4338 if (obj4) {
4339 {
4340 arg5 = &temp5;
4341 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4342 }
4343 }
4344 if (obj5) {
4345 {
4346 arg6 = &temp6;
4347 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4348 }
4349 }
4350 if (obj6) {
4351 {
4d5c3d91
RD
4352 if (! PySequence_Check(obj6)) {
4353 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4354 SWIG_fail;
4355 }
4356 arg7 = new wxArrayString;
ae8162c8 4357 temp7 = true;
4d5c3d91
RD
4358 int i, len=PySequence_Length(obj6);
4359 for (i=0; i<len; i++) {
4360 PyObject* item = PySequence_GetItem(obj6, i);
4361#if wxUSE_UNICODE
4362 PyObject* str = PyObject_Unicode(item);
4363#else
4364 PyObject* str = PyObject_Str(item);
4365#endif
74a57fcd 4366 if (PyErr_Occurred()) SWIG_fail;
4d5c3d91
RD
4367 arg7->Add(Py2wxString(str));
4368 Py_DECREF(item);
4369 Py_DECREF(str);
4370 }
d14a1e28
RD
4371 }
4372 }
994141e6 4373 if (obj7) {
093d3ff1
RD
4374 {
4375 arg8 = (long)(SWIG_As_long(obj7));
4376 if (SWIG_arg_fail(8)) SWIG_fail;
4377 }
994141e6 4378 }
d14a1e28 4379 if (obj8) {
093d3ff1
RD
4380 {
4381 SWIG_Python_ConvertPtr(obj8, (void **)&arg9, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
4382 if (SWIG_arg_fail(9)) SWIG_fail;
4383 if (arg9 == NULL) {
4384 SWIG_null_ref("wxValidator");
4385 }
4386 if (SWIG_arg_fail(9)) SWIG_fail;
d14a1e28
RD
4387 }
4388 }
4389 if (obj9) {
4390 {
4d5c3d91
RD
4391 arg10 = wxString_in_helper(obj9);
4392 if (arg10 == NULL) SWIG_fail;
ae8162c8 4393 temp10 = true;
d14a1e28
RD
4394 }
4395 }
4396 {
4397 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 4398 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
4399
4400 wxPyEndAllowThreads(__tstate);
4401 if (PyErr_Occurred()) SWIG_fail;
4402 }
4f89f6a3
RD
4403 {
4404 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4405 }
d14a1e28
RD
4406 {
4407 if (temp4)
4408 delete arg4;
4409 }
4410 {
3adfb63b 4411 if (temp7) delete arg7;
d14a1e28
RD
4412 }
4413 {
4414 if (temp10)
4d5c3d91 4415 delete arg10;
d14a1e28
RD
4416 }
4417 return resultobj;
4418 fail:
4419 {
4420 if (temp4)
4421 delete arg4;
4422 }
4423 {
3adfb63b 4424 if (temp7) delete arg7;
d14a1e28
RD
4425 }
4426 {
4427 if (temp10)
4d5c3d91 4428 delete arg10;
d14a1e28
RD
4429 }
4430 return NULL;
4431}
4432
4433
c32bde28 4434static PyObject *_wrap_ComboBox_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4435 PyObject *resultobj;
4436 wxComboBox *arg1 = (wxComboBox *) 0 ;
4437 wxString result;
4438 PyObject * obj0 = 0 ;
4439 char *kwnames[] = {
4440 (char *) "self", NULL
4441 };
4442
4443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
4444 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4445 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4446 {
4447 PyThreadState* __tstate = wxPyBeginAllowThreads();
4448 result = ((wxComboBox const *)arg1)->GetValue();
4449
4450 wxPyEndAllowThreads(__tstate);
4451 if (PyErr_Occurred()) SWIG_fail;
4452 }
4453 {
4454#if wxUSE_UNICODE
4455 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4456#else
4457 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4458#endif
4459 }
4460 return resultobj;
4461 fail:
4462 return NULL;
4463}
4464
4465
c32bde28 4466static PyObject *_wrap_ComboBox_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4467 PyObject *resultobj;
4468 wxComboBox *arg1 = (wxComboBox *) 0 ;
4469 wxString *arg2 = 0 ;
ae8162c8 4470 bool temp2 = false ;
d14a1e28
RD
4471 PyObject * obj0 = 0 ;
4472 PyObject * obj1 = 0 ;
4473 char *kwnames[] = {
4474 (char *) "self",(char *) "value", NULL
4475 };
4476
4477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4478 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4479 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4480 {
4481 arg2 = wxString_in_helper(obj1);
4482 if (arg2 == NULL) SWIG_fail;
ae8162c8 4483 temp2 = true;
d14a1e28
RD
4484 }
4485 {
4486 PyThreadState* __tstate = wxPyBeginAllowThreads();
4487 (arg1)->SetValue((wxString const &)*arg2);
4488
4489 wxPyEndAllowThreads(__tstate);
4490 if (PyErr_Occurred()) SWIG_fail;
4491 }
4492 Py_INCREF(Py_None); resultobj = Py_None;
4493 {
4494 if (temp2)
4495 delete arg2;
4496 }
4497 return resultobj;
4498 fail:
4499 {
4500 if (temp2)
4501 delete arg2;
4502 }
4503 return NULL;
4504}
4505
4506
c32bde28 4507static PyObject *_wrap_ComboBox_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4508 PyObject *resultobj;
4509 wxComboBox *arg1 = (wxComboBox *) 0 ;
4510 PyObject * obj0 = 0 ;
4511 char *kwnames[] = {
4512 (char *) "self", NULL
4513 };
4514
4515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Copy",kwnames,&obj0)) goto fail;
093d3ff1
RD
4516 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4517 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4518 {
4519 PyThreadState* __tstate = wxPyBeginAllowThreads();
4520 (arg1)->Copy();
4521
4522 wxPyEndAllowThreads(__tstate);
4523 if (PyErr_Occurred()) SWIG_fail;
4524 }
4525 Py_INCREF(Py_None); resultobj = Py_None;
4526 return resultobj;
4527 fail:
4528 return NULL;
4529}
4530
4531
c32bde28 4532static PyObject *_wrap_ComboBox_Cut(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4533 PyObject *resultobj;
4534 wxComboBox *arg1 = (wxComboBox *) 0 ;
4535 PyObject * obj0 = 0 ;
4536 char *kwnames[] = {
4537 (char *) "self", NULL
4538 };
4539
4540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Cut",kwnames,&obj0)) goto fail;
093d3ff1
RD
4541 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4542 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4543 {
4544 PyThreadState* __tstate = wxPyBeginAllowThreads();
4545 (arg1)->Cut();
4546
4547 wxPyEndAllowThreads(__tstate);
4548 if (PyErr_Occurred()) SWIG_fail;
4549 }
4550 Py_INCREF(Py_None); resultobj = Py_None;
4551 return resultobj;
4552 fail:
4553 return NULL;
4554}
4555
4556
c32bde28 4557static PyObject *_wrap_ComboBox_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4558 PyObject *resultobj;
4559 wxComboBox *arg1 = (wxComboBox *) 0 ;
4560 PyObject * obj0 = 0 ;
4561 char *kwnames[] = {
4562 (char *) "self", NULL
4563 };
4564
4565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Paste",kwnames,&obj0)) goto fail;
093d3ff1
RD
4566 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4567 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4568 {
4569 PyThreadState* __tstate = wxPyBeginAllowThreads();
4570 (arg1)->Paste();
4571
4572 wxPyEndAllowThreads(__tstate);
4573 if (PyErr_Occurred()) SWIG_fail;
4574 }
4575 Py_INCREF(Py_None); resultobj = Py_None;
4576 return resultobj;
4577 fail:
4578 return NULL;
4579}
4580
4581
c32bde28 4582static PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4583 PyObject *resultobj;
4584 wxComboBox *arg1 = (wxComboBox *) 0 ;
4585 long arg2 ;
4586 PyObject * obj0 = 0 ;
994141e6 4587 PyObject * obj1 = 0 ;
d14a1e28
RD
4588 char *kwnames[] = {
4589 (char *) "self",(char *) "pos", NULL
4590 };
4591
994141e6 4592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4593 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4594 if (SWIG_arg_fail(1)) SWIG_fail;
4595 {
4596 arg2 = (long)(SWIG_As_long(obj1));
4597 if (SWIG_arg_fail(2)) SWIG_fail;
4598 }
d14a1e28
RD
4599 {
4600 PyThreadState* __tstate = wxPyBeginAllowThreads();
4601 (arg1)->SetInsertionPoint(arg2);
4602
4603 wxPyEndAllowThreads(__tstate);
4604 if (PyErr_Occurred()) SWIG_fail;
4605 }
4606 Py_INCREF(Py_None); resultobj = Py_None;
4607 return resultobj;
4608 fail:
4609 return NULL;
4610}
4611
4612
c32bde28 4613static PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4614 PyObject *resultobj;
4615 wxComboBox *arg1 = (wxComboBox *) 0 ;
4616 long result;
4617 PyObject * obj0 = 0 ;
4618 char *kwnames[] = {
4619 (char *) "self", NULL
4620 };
4621
4622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetInsertionPoint",kwnames,&obj0)) goto fail;
093d3ff1
RD
4623 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4624 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4625 {
4626 PyThreadState* __tstate = wxPyBeginAllowThreads();
4627 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
4628
4629 wxPyEndAllowThreads(__tstate);
4630 if (PyErr_Occurred()) SWIG_fail;
4631 }
093d3ff1
RD
4632 {
4633 resultobj = SWIG_From_long((long)(result));
4634 }
d14a1e28
RD
4635 return resultobj;
4636 fail:
4637 return NULL;
4638}
4639
4640
c32bde28 4641static PyObject *_wrap_ComboBox_GetLastPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4642 PyObject *resultobj;
4643 wxComboBox *arg1 = (wxComboBox *) 0 ;
4644 long result;
4645 PyObject * obj0 = 0 ;
4646 char *kwnames[] = {
4647 (char *) "self", NULL
4648 };
4649
4650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetLastPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
4651 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4652 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4653 {
4654 PyThreadState* __tstate = wxPyBeginAllowThreads();
4655 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
4656
4657 wxPyEndAllowThreads(__tstate);
4658 if (PyErr_Occurred()) SWIG_fail;
4659 }
093d3ff1
RD
4660 {
4661 resultobj = SWIG_From_long((long)(result));
4662 }
d14a1e28
RD
4663 return resultobj;
4664 fail:
4665 return NULL;
4666}
4667
4668
c32bde28 4669static PyObject *_wrap_ComboBox_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4670 PyObject *resultobj;
4671 wxComboBox *arg1 = (wxComboBox *) 0 ;
4672 long arg2 ;
4673 long arg3 ;
4674 wxString *arg4 = 0 ;
ae8162c8 4675 bool temp4 = false ;
d14a1e28 4676 PyObject * obj0 = 0 ;
994141e6
RD
4677 PyObject * obj1 = 0 ;
4678 PyObject * obj2 = 0 ;
d14a1e28
RD
4679 PyObject * obj3 = 0 ;
4680 char *kwnames[] = {
4681 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
4682 };
4683
994141e6 4684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ComboBox_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
4685 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4686 if (SWIG_arg_fail(1)) SWIG_fail;
4687 {
4688 arg2 = (long)(SWIG_As_long(obj1));
4689 if (SWIG_arg_fail(2)) SWIG_fail;
4690 }
4691 {
4692 arg3 = (long)(SWIG_As_long(obj2));
4693 if (SWIG_arg_fail(3)) SWIG_fail;
4694 }
d14a1e28
RD
4695 {
4696 arg4 = wxString_in_helper(obj3);
4697 if (arg4 == NULL) SWIG_fail;
ae8162c8 4698 temp4 = true;
d14a1e28
RD
4699 }
4700 {
4701 PyThreadState* __tstate = wxPyBeginAllowThreads();
4702 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
4703
4704 wxPyEndAllowThreads(__tstate);
4705 if (PyErr_Occurred()) SWIG_fail;
4706 }
4707 Py_INCREF(Py_None); resultobj = Py_None;
4708 {
4709 if (temp4)
4710 delete arg4;
4711 }
4712 return resultobj;
4713 fail:
4714 {
4715 if (temp4)
4716 delete arg4;
4717 }
4718 return NULL;
4719}
4720
4721
c32bde28 4722static PyObject *_wrap_ComboBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
fd3f2efe
RD
4723 PyObject *resultobj;
4724 wxComboBox *arg1 = (wxComboBox *) 0 ;
4725 int arg2 ;
4726 PyObject * obj0 = 0 ;
994141e6 4727 PyObject * obj1 = 0 ;
fd3f2efe
RD
4728 char *kwnames[] = {
4729 (char *) "self",(char *) "n", NULL
4730 };
4731
994141e6 4732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4733 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4734 if (SWIG_arg_fail(1)) SWIG_fail;
4735 {
4736 arg2 = (int)(SWIG_As_int(obj1));
4737 if (SWIG_arg_fail(2)) SWIG_fail;
4738 }
fd3f2efe
RD
4739 {
4740 PyThreadState* __tstate = wxPyBeginAllowThreads();
4741 (arg1)->SetSelection(arg2);
4742
4743 wxPyEndAllowThreads(__tstate);
4744 if (PyErr_Occurred()) SWIG_fail;
4745 }
4746 Py_INCREF(Py_None); resultobj = Py_None;
4747 return resultobj;
4748 fail:
4749 return NULL;
4750}
4751
4752
c32bde28 4753static PyObject *_wrap_ComboBox_SetMark(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4754 PyObject *resultobj;
4755 wxComboBox *arg1 = (wxComboBox *) 0 ;
4756 long arg2 ;
4757 long arg3 ;
4758 PyObject * obj0 = 0 ;
994141e6
RD
4759 PyObject * obj1 = 0 ;
4760 PyObject * obj2 = 0 ;
d14a1e28
RD
4761 char *kwnames[] = {
4762 (char *) "self",(char *) "from",(char *) "to", NULL
4763 };
4764
994141e6 4765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetMark",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
4766 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4767 if (SWIG_arg_fail(1)) SWIG_fail;
4768 {
4769 arg2 = (long)(SWIG_As_long(obj1));
4770 if (SWIG_arg_fail(2)) SWIG_fail;
4771 }
4772 {
4773 arg3 = (long)(SWIG_As_long(obj2));
4774 if (SWIG_arg_fail(3)) SWIG_fail;
4775 }
d14a1e28
RD
4776 {
4777 PyThreadState* __tstate = wxPyBeginAllowThreads();
4778 (arg1)->SetSelection(arg2,arg3);
4779
4780 wxPyEndAllowThreads(__tstate);
4781 if (PyErr_Occurred()) SWIG_fail;
4782 }
4783 Py_INCREF(Py_None); resultobj = Py_None;
4784 return resultobj;
4785 fail:
4786 return NULL;
4787}
4788
4789
b9d6a5f3
RD
4790static PyObject *_wrap_ComboBox_GetMark(PyObject *, PyObject *args, PyObject *kwargs) {
4791 PyObject *resultobj;
4792 wxComboBox *arg1 = (wxComboBox *) 0 ;
4793 long *arg2 = (long *) 0 ;
4794 long *arg3 = (long *) 0 ;
4795 long temp2 ;
4796 int res2 = 0 ;
4797 long temp3 ;
4798 int res3 = 0 ;
4799 PyObject * obj0 = 0 ;
4800 char *kwnames[] = {
4801 (char *) "self", NULL
4802 };
4803
4804 arg2 = &temp2; res2 = SWIG_NEWOBJ;
4805 arg3 = &temp3; res3 = SWIG_NEWOBJ;
4806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetMark",kwnames,&obj0)) goto fail;
4807 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4808 if (SWIG_arg_fail(1)) SWIG_fail;
4809 {
4810 PyThreadState* __tstate = wxPyBeginAllowThreads();
4811 (arg1)->GetSelection(arg2,arg3);
4812
4813 wxPyEndAllowThreads(__tstate);
4814 if (PyErr_Occurred()) SWIG_fail;
4815 }
4816 Py_INCREF(Py_None); resultobj = Py_None;
4817 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
4818 SWIG_From_long((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, 0)));
4819 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
4820 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
4821 return resultobj;
4822 fail:
4823 return NULL;
4824}
4825
4826
c32bde28 4827static PyObject *_wrap_ComboBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
121b9a67
RD
4828 PyObject *resultobj;
4829 wxComboBox *arg1 = (wxComboBox *) 0 ;
4830 wxString *arg2 = 0 ;
4831 bool result;
ae8162c8 4832 bool temp2 = false ;
121b9a67
RD
4833 PyObject * obj0 = 0 ;
4834 PyObject * obj1 = 0 ;
4835 char *kwnames[] = {
4836 (char *) "self",(char *) "string", NULL
4837 };
4838
4839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4840 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4841 if (SWIG_arg_fail(1)) SWIG_fail;
121b9a67
RD
4842 {
4843 arg2 = wxString_in_helper(obj1);
4844 if (arg2 == NULL) SWIG_fail;
ae8162c8 4845 temp2 = true;
121b9a67
RD
4846 }
4847 {
4848 PyThreadState* __tstate = wxPyBeginAllowThreads();
4849 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
4850
4851 wxPyEndAllowThreads(__tstate);
4852 if (PyErr_Occurred()) SWIG_fail;
4853 }
4854 {
4855 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4856 }
4857 {
4858 if (temp2)
4859 delete arg2;
4860 }
4861 return resultobj;
4862 fail:
4863 {
4864 if (temp2)
4865 delete arg2;
4866 }
4867 return NULL;
4868}
4869
4870
c32bde28 4871static PyObject *_wrap_ComboBox_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
121b9a67
RD
4872 PyObject *resultobj;
4873 wxComboBox *arg1 = (wxComboBox *) 0 ;
4874 int arg2 ;
4875 wxString *arg3 = 0 ;
ae8162c8 4876 bool temp3 = false ;
121b9a67
RD
4877 PyObject * obj0 = 0 ;
4878 PyObject * obj1 = 0 ;
4879 PyObject * obj2 = 0 ;
4880 char *kwnames[] = {
4881 (char *) "self",(char *) "n",(char *) "string", NULL
4882 };
4883
4884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
4885 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4886 if (SWIG_arg_fail(1)) SWIG_fail;
4887 {
4888 arg2 = (int)(SWIG_As_int(obj1));
4889 if (SWIG_arg_fail(2)) SWIG_fail;
4890 }
121b9a67
RD
4891 {
4892 arg3 = wxString_in_helper(obj2);
4893 if (arg3 == NULL) SWIG_fail;
ae8162c8 4894 temp3 = true;
121b9a67
RD
4895 }
4896 {
4897 PyThreadState* __tstate = wxPyBeginAllowThreads();
4898 (arg1)->SetString(arg2,(wxString const &)*arg3);
4899
4900 wxPyEndAllowThreads(__tstate);
4901 if (PyErr_Occurred()) SWIG_fail;
4902 }
4903 Py_INCREF(Py_None); resultobj = Py_None;
4904 {
4905 if (temp3)
4906 delete arg3;
4907 }
4908 return resultobj;
4909 fail:
4910 {
4911 if (temp3)
4912 delete arg3;
4913 }
4914 return NULL;
4915}
4916
4917
c32bde28 4918static PyObject *_wrap_ComboBox_SetEditable(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4919 PyObject *resultobj;
4920 wxComboBox *arg1 = (wxComboBox *) 0 ;
4921 bool arg2 ;
4922 PyObject * obj0 = 0 ;
4923 PyObject * obj1 = 0 ;
4924 char *kwnames[] = {
4925 (char *) "self",(char *) "editable", NULL
4926 };
4927
4928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4929 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4930 if (SWIG_arg_fail(1)) SWIG_fail;
4931 {
4932 arg2 = (bool)(SWIG_As_bool(obj1));
4933 if (SWIG_arg_fail(2)) SWIG_fail;
4934 }
d14a1e28
RD
4935 {
4936 PyThreadState* __tstate = wxPyBeginAllowThreads();
4937 (arg1)->SetEditable(arg2);
4938
4939 wxPyEndAllowThreads(__tstate);
4940 if (PyErr_Occurred()) SWIG_fail;
4941 }
4942 Py_INCREF(Py_None); resultobj = Py_None;
4943 return resultobj;
4944 fail:
4945 return NULL;
4946}
4947
4948
c32bde28 4949static PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4950 PyObject *resultobj;
4951 wxComboBox *arg1 = (wxComboBox *) 0 ;
4952 PyObject * obj0 = 0 ;
4953 char *kwnames[] = {
4954 (char *) "self", NULL
4955 };
4956
4957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
093d3ff1
RD
4958 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4959 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4960 {
4961 PyThreadState* __tstate = wxPyBeginAllowThreads();
4962 (arg1)->SetInsertionPointEnd();
4963
4964 wxPyEndAllowThreads(__tstate);
4965 if (PyErr_Occurred()) SWIG_fail;
4966 }
4967 Py_INCREF(Py_None); resultobj = Py_None;
4968 return resultobj;
4969 fail:
4970 return NULL;
4971}
4972
4973
c32bde28 4974static PyObject *_wrap_ComboBox_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4975 PyObject *resultobj;
4976 wxComboBox *arg1 = (wxComboBox *) 0 ;
4977 long arg2 ;
4978 long arg3 ;
4979 PyObject * obj0 = 0 ;
994141e6
RD
4980 PyObject * obj1 = 0 ;
4981 PyObject * obj2 = 0 ;
d14a1e28
RD
4982 char *kwnames[] = {
4983 (char *) "self",(char *) "from",(char *) "to", NULL
4984 };
4985
994141e6 4986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
4987 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4988 if (SWIG_arg_fail(1)) SWIG_fail;
4989 {
4990 arg2 = (long)(SWIG_As_long(obj1));
4991 if (SWIG_arg_fail(2)) SWIG_fail;
4992 }
4993 {
4994 arg3 = (long)(SWIG_As_long(obj2));
4995 if (SWIG_arg_fail(3)) SWIG_fail;
4996 }
d14a1e28
RD
4997 {
4998 PyThreadState* __tstate = wxPyBeginAllowThreads();
4999 (arg1)->Remove(arg2,arg3);
5000
5001 wxPyEndAllowThreads(__tstate);
5002 if (PyErr_Occurred()) SWIG_fail;
5003 }
5004 Py_INCREF(Py_None); resultobj = Py_None;
5005 return resultobj;
5006 fail:
5007 return NULL;
5008}
5009
5010
5cbf236d
RD
5011static PyObject *_wrap_ComboBox_IsEditable(PyObject *, PyObject *args, PyObject *kwargs) {
5012 PyObject *resultobj;
5013 wxComboBox *arg1 = (wxComboBox *) 0 ;
5014 bool result;
5015 PyObject * obj0 = 0 ;
5016 char *kwnames[] = {
5017 (char *) "self", NULL
5018 };
5019
5020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_IsEditable",kwnames,&obj0)) goto fail;
093d3ff1
RD
5021 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5022 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
5023 {
5024 PyThreadState* __tstate = wxPyBeginAllowThreads();
5025 result = (bool)((wxComboBox const *)arg1)->IsEditable();
5026
5027 wxPyEndAllowThreads(__tstate);
5028 if (PyErr_Occurred()) SWIG_fail;
5029 }
5030 {
5031 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5032 }
5033 return resultobj;
5034 fail:
5035 return NULL;
5036}
5037
5038
5039static PyObject *_wrap_ComboBox_Undo(PyObject *, PyObject *args, PyObject *kwargs) {
5040 PyObject *resultobj;
5041 wxComboBox *arg1 = (wxComboBox *) 0 ;
5042 PyObject * obj0 = 0 ;
5043 char *kwnames[] = {
5044 (char *) "self", NULL
5045 };
5046
5047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Undo",kwnames,&obj0)) goto fail;
093d3ff1
RD
5048 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5049 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
5050 {
5051 PyThreadState* __tstate = wxPyBeginAllowThreads();
5052 (arg1)->Undo();
5053
5054 wxPyEndAllowThreads(__tstate);
5055 if (PyErr_Occurred()) SWIG_fail;
5056 }
5057 Py_INCREF(Py_None); resultobj = Py_None;
5058 return resultobj;
5059 fail:
5060 return NULL;
5061}
5062
5063
5064static PyObject *_wrap_ComboBox_Redo(PyObject *, PyObject *args, PyObject *kwargs) {
5065 PyObject *resultobj;
5066 wxComboBox *arg1 = (wxComboBox *) 0 ;
5067 PyObject * obj0 = 0 ;
5068 char *kwnames[] = {
5069 (char *) "self", NULL
5070 };
5071
5072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Redo",kwnames,&obj0)) goto fail;
093d3ff1
RD
5073 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5074 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
5075 {
5076 PyThreadState* __tstate = wxPyBeginAllowThreads();
5077 (arg1)->Redo();
5078
5079 wxPyEndAllowThreads(__tstate);
5080 if (PyErr_Occurred()) SWIG_fail;
5081 }
5082 Py_INCREF(Py_None); resultobj = Py_None;
5083 return resultobj;
5084 fail:
5085 return NULL;
5086}
5087
5088
5089static PyObject *_wrap_ComboBox_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
5090 PyObject *resultobj;
5091 wxComboBox *arg1 = (wxComboBox *) 0 ;
5092 PyObject * obj0 = 0 ;
5093 char *kwnames[] = {
5094 (char *) "self", NULL
5095 };
5096
5097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SelectAll",kwnames,&obj0)) goto fail;
093d3ff1
RD
5098 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5099 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
5100 {
5101 PyThreadState* __tstate = wxPyBeginAllowThreads();
5102 (arg1)->SelectAll();
5103
5104 wxPyEndAllowThreads(__tstate);
5105 if (PyErr_Occurred()) SWIG_fail;
5106 }
5107 Py_INCREF(Py_None); resultobj = Py_None;
5108 return resultobj;
5109 fail:
5110 return NULL;
5111}
5112
5113
5114static PyObject *_wrap_ComboBox_CanCopy(PyObject *, PyObject *args, PyObject *kwargs) {
5115 PyObject *resultobj;
5116 wxComboBox *arg1 = (wxComboBox *) 0 ;
5117 bool result;
5118 PyObject * obj0 = 0 ;
5119 char *kwnames[] = {
5120 (char *) "self", NULL
5121 };
5122
5123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanCopy",kwnames,&obj0)) goto fail;
093d3ff1
RD
5124 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5125 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
5126 {
5127 PyThreadState* __tstate = wxPyBeginAllowThreads();
5128 result = (bool)((wxComboBox const *)arg1)->CanCopy();
5129
5130 wxPyEndAllowThreads(__tstate);
5131 if (PyErr_Occurred()) SWIG_fail;
5132 }
5133 {
5134 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5135 }
5136 return resultobj;
5137 fail:
5138 return NULL;
5139}
5140
5141
5142static PyObject *_wrap_ComboBox_CanCut(PyObject *, PyObject *args, PyObject *kwargs) {
5143 PyObject *resultobj;
5144 wxComboBox *arg1 = (wxComboBox *) 0 ;
5145 bool result;
5146 PyObject * obj0 = 0 ;
5147 char *kwnames[] = {
5148 (char *) "self", NULL
5149 };
5150
5151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanCut",kwnames,&obj0)) goto fail;
093d3ff1
RD
5152 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5153 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
5154 {
5155 PyThreadState* __tstate = wxPyBeginAllowThreads();
5156 result = (bool)((wxComboBox const *)arg1)->CanCut();
5157
5158 wxPyEndAllowThreads(__tstate);
5159 if (PyErr_Occurred()) SWIG_fail;
5160 }
5161 {
5162 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5163 }
5164 return resultobj;
5165 fail:
5166 return NULL;
5167}
5168
5169
5170static PyObject *_wrap_ComboBox_CanPaste(PyObject *, PyObject *args, PyObject *kwargs) {
5171 PyObject *resultobj;
5172 wxComboBox *arg1 = (wxComboBox *) 0 ;
5173 bool result;
5174 PyObject * obj0 = 0 ;
5175 char *kwnames[] = {
5176 (char *) "self", NULL
5177 };
5178
5179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanPaste",kwnames,&obj0)) goto fail;
093d3ff1
RD
5180 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5181 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
5182 {
5183 PyThreadState* __tstate = wxPyBeginAllowThreads();
5184 result = (bool)((wxComboBox const *)arg1)->CanPaste();
5185
5186 wxPyEndAllowThreads(__tstate);
5187 if (PyErr_Occurred()) SWIG_fail;
5188 }
5189 {
5190 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5191 }
5192 return resultobj;
5193 fail:
5194 return NULL;
5195}
5196
5197
5198static PyObject *_wrap_ComboBox_CanUndo(PyObject *, PyObject *args, PyObject *kwargs) {
5199 PyObject *resultobj;
5200 wxComboBox *arg1 = (wxComboBox *) 0 ;
5201 bool result;
5202 PyObject * obj0 = 0 ;
5203 char *kwnames[] = {
5204 (char *) "self", NULL
5205 };
5206
5207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanUndo",kwnames,&obj0)) goto fail;
093d3ff1
RD
5208 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5209 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
5210 {
5211 PyThreadState* __tstate = wxPyBeginAllowThreads();
5212 result = (bool)((wxComboBox const *)arg1)->CanUndo();
5213
5214 wxPyEndAllowThreads(__tstate);
5215 if (PyErr_Occurred()) SWIG_fail;
5216 }
5217 {
5218 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5219 }
5220 return resultobj;
5221 fail:
5222 return NULL;
5223}
5224
5225
5226static PyObject *_wrap_ComboBox_CanRedo(PyObject *, PyObject *args, PyObject *kwargs) {
5227 PyObject *resultobj;
5228 wxComboBox *arg1 = (wxComboBox *) 0 ;
5229 bool result;
5230 PyObject * obj0 = 0 ;
5231 char *kwnames[] = {
5232 (char *) "self", NULL
5233 };
5234
5235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanRedo",kwnames,&obj0)) goto fail;
093d3ff1
RD
5236 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5237 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
5238 {
5239 PyThreadState* __tstate = wxPyBeginAllowThreads();
5240 result = (bool)((wxComboBox const *)arg1)->CanRedo();
5241
5242 wxPyEndAllowThreads(__tstate);
5243 if (PyErr_Occurred()) SWIG_fail;
5244 }
5245 {
5246 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5247 }
5248 return resultobj;
5249 fail:
5250 return NULL;
5251}
5252
5253
c32bde28 5254static PyObject *_wrap_ComboBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c 5255 PyObject *resultobj;
093d3ff1 5256 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
5257 wxVisualAttributes result;
5258 PyObject * obj0 = 0 ;
5259 char *kwnames[] = {
5260 (char *) "variant", NULL
5261 };
5262
5263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5264 if (obj0) {
093d3ff1
RD
5265 {
5266 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
5267 if (SWIG_arg_fail(1)) SWIG_fail;
5268 }
22bfe96c
RD
5269 }
5270 {
110da5b0 5271 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
5272 PyThreadState* __tstate = wxPyBeginAllowThreads();
5273 result = wxComboBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
5274
5275 wxPyEndAllowThreads(__tstate);
dfbb5885 5276 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
5277 }
5278 {
5279 wxVisualAttributes * resultptr;
093d3ff1 5280 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
22bfe96c
RD
5281 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5282 }
5283 return resultobj;
5284 fail:
5285 return NULL;
5286}
5287
5288
c32bde28 5289static PyObject * ComboBox_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
5290 PyObject *obj;
5291 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5292 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox, obj);
5293 Py_INCREF(obj);
5294 return Py_BuildValue((char *)"");
5295}
c32bde28 5296static int _wrap_GaugeNameStr_set(PyObject *) {
b2dc1044
RD
5297 PyErr_SetString(PyExc_TypeError,"Variable GaugeNameStr is read-only.");
5298 return 1;
5299}
5300
5301
093d3ff1 5302static PyObject *_wrap_GaugeNameStr_get(void) {
b2dc1044
RD
5303 PyObject *pyobj;
5304
5305 {
5306#if wxUSE_UNICODE
5307 pyobj = PyUnicode_FromWideChar((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
5308#else
5309 pyobj = PyString_FromStringAndSize((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
5310#endif
5311 }
5312 return pyobj;
5313}
5314
5315
c32bde28 5316static PyObject *_wrap_new_Gauge(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5317 PyObject *resultobj;
5318 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
5319 int arg2 = (int) -1 ;
5320 int arg3 = (int) 100 ;
d14a1e28
RD
5321 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5322 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5323 wxSize const &arg5_defvalue = wxDefaultSize ;
5324 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5325 long arg6 = (long) wxGA_HORIZONTAL ;
5326 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5327 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5328 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
5329 wxString *arg8 = (wxString *) &arg8_defvalue ;
5330 wxGauge *result;
5331 wxPoint temp4 ;
5332 wxSize temp5 ;
ae8162c8 5333 bool temp8 = false ;
d14a1e28 5334 PyObject * obj0 = 0 ;
994141e6
RD
5335 PyObject * obj1 = 0 ;
5336 PyObject * obj2 = 0 ;
d14a1e28
RD
5337 PyObject * obj3 = 0 ;
5338 PyObject * obj4 = 0 ;
994141e6 5339 PyObject * obj5 = 0 ;
d14a1e28
RD
5340 PyObject * obj6 = 0 ;
5341 PyObject * obj7 = 0 ;
5342 char *kwnames[] = {
5343 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5344 };
5345
248ed943 5346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Gauge",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
5347 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5348 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 5349 if (obj1) {
093d3ff1
RD
5350 {
5351 arg2 = (int)(SWIG_As_int(obj1));
5352 if (SWIG_arg_fail(2)) SWIG_fail;
5353 }
248ed943
RD
5354 }
5355 if (obj2) {
093d3ff1
RD
5356 {
5357 arg3 = (int)(SWIG_As_int(obj2));
5358 if (SWIG_arg_fail(3)) SWIG_fail;
5359 }
248ed943 5360 }
d14a1e28
RD
5361 if (obj3) {
5362 {
5363 arg4 = &temp4;
5364 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5365 }
5366 }
5367 if (obj4) {
5368 {
5369 arg5 = &temp5;
5370 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5371 }
5372 }
994141e6 5373 if (obj5) {
093d3ff1
RD
5374 {
5375 arg6 = (long)(SWIG_As_long(obj5));
5376 if (SWIG_arg_fail(6)) SWIG_fail;
5377 }
994141e6 5378 }
d14a1e28 5379 if (obj6) {
093d3ff1
RD
5380 {
5381 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
5382 if (SWIG_arg_fail(7)) SWIG_fail;
5383 if (arg7 == NULL) {
5384 SWIG_null_ref("wxValidator");
5385 }
5386 if (SWIG_arg_fail(7)) SWIG_fail;
d14a1e28
RD
5387 }
5388 }
5389 if (obj7) {
5390 {
5391 arg8 = wxString_in_helper(obj7);
5392 if (arg8 == NULL) SWIG_fail;
ae8162c8 5393 temp8 = true;
d14a1e28
RD
5394 }
5395 }
5396 {
e3b71cb8 5397 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
5398 PyThreadState* __tstate = wxPyBeginAllowThreads();
5399 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
5400
5401 wxPyEndAllowThreads(__tstate);
110da5b0 5402 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 5403 }
15afbcd0 5404 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
d14a1e28
RD
5405 {
5406 if (temp8)
5407 delete arg8;
5408 }
5409 return resultobj;
5410 fail:
5411 {
5412 if (temp8)
5413 delete arg8;
5414 }
5415 return NULL;
5416}
5417
5418
c32bde28 5419static PyObject *_wrap_new_PreGauge(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5420 PyObject *resultobj;
5421 wxGauge *result;
5422 char *kwnames[] = {
5423 NULL
5424 };
5425
5426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGauge",kwnames)) goto fail;
5427 {
e3b71cb8 5428 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
5429 PyThreadState* __tstate = wxPyBeginAllowThreads();
5430 result = (wxGauge *)new wxGauge();
5431
5432 wxPyEndAllowThreads(__tstate);
110da5b0 5433 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 5434 }
15afbcd0 5435 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
d14a1e28
RD
5436 return resultobj;
5437 fail:
5438 return NULL;
5439}
5440
5441
c32bde28 5442static PyObject *_wrap_Gauge_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5443 PyObject *resultobj;
5444 wxGauge *arg1 = (wxGauge *) 0 ;
5445 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
5446 int arg3 = (int) -1 ;
5447 int arg4 = (int) 100 ;
d14a1e28
RD
5448 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5449 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5450 wxSize const &arg6_defvalue = wxDefaultSize ;
5451 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5452 long arg7 = (long) wxGA_HORIZONTAL ;
5453 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5454 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5455 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
5456 wxString *arg9 = (wxString *) &arg9_defvalue ;
5457 bool result;
5458 wxPoint temp5 ;
5459 wxSize temp6 ;
ae8162c8 5460 bool temp9 = false ;
d14a1e28
RD
5461 PyObject * obj0 = 0 ;
5462 PyObject * obj1 = 0 ;
994141e6
RD
5463 PyObject * obj2 = 0 ;
5464 PyObject * obj3 = 0 ;
d14a1e28
RD
5465 PyObject * obj4 = 0 ;
5466 PyObject * obj5 = 0 ;
994141e6 5467 PyObject * obj6 = 0 ;
d14a1e28
RD
5468 PyObject * obj7 = 0 ;
5469 PyObject * obj8 = 0 ;
5470 char *kwnames[] = {
5471 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5472 };
5473
248ed943 5474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Gauge_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
5475 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5476 if (SWIG_arg_fail(1)) SWIG_fail;
5477 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5478 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 5479 if (obj2) {
093d3ff1
RD
5480 {
5481 arg3 = (int)(SWIG_As_int(obj2));
5482 if (SWIG_arg_fail(3)) SWIG_fail;
5483 }
248ed943
RD
5484 }
5485 if (obj3) {
093d3ff1
RD
5486 {
5487 arg4 = (int)(SWIG_As_int(obj3));
5488 if (SWIG_arg_fail(4)) SWIG_fail;
5489 }
248ed943 5490 }
d14a1e28
RD
5491 if (obj4) {
5492 {
5493 arg5 = &temp5;
5494 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5495 }
5496 }
5497 if (obj5) {
5498 {
5499 arg6 = &temp6;
5500 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5501 }
5502 }
994141e6 5503 if (obj6) {
093d3ff1
RD
5504 {
5505 arg7 = (long)(SWIG_As_long(obj6));
5506 if (SWIG_arg_fail(7)) SWIG_fail;
5507 }
994141e6 5508 }
d14a1e28 5509 if (obj7) {
093d3ff1
RD
5510 {
5511 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
5512 if (SWIG_arg_fail(8)) SWIG_fail;
5513 if (arg8 == NULL) {
5514 SWIG_null_ref("wxValidator");
5515 }
5516 if (SWIG_arg_fail(8)) SWIG_fail;
d14a1e28
RD
5517 }
5518 }
5519 if (obj8) {
5520 {
5521 arg9 = wxString_in_helper(obj8);
5522 if (arg9 == NULL) SWIG_fail;
ae8162c8 5523 temp9 = true;
d14a1e28
RD
5524 }
5525 }
5526 {
5527 PyThreadState* __tstate = wxPyBeginAllowThreads();
5528 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5529
5530 wxPyEndAllowThreads(__tstate);
5531 if (PyErr_Occurred()) SWIG_fail;
5532 }
4f89f6a3
RD
5533 {
5534 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5535 }
d14a1e28
RD
5536 {
5537 if (temp9)
5538 delete arg9;
5539 }
5540 return resultobj;
5541 fail:
5542 {
5543 if (temp9)
5544 delete arg9;
5545 }
5546 return NULL;
5547}
5548
5549
c32bde28 5550static PyObject *_wrap_Gauge_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5551 PyObject *resultobj;
5552 wxGauge *arg1 = (wxGauge *) 0 ;
5553 int arg2 ;
5554 PyObject * obj0 = 0 ;
994141e6 5555 PyObject * obj1 = 0 ;
d14a1e28
RD
5556 char *kwnames[] = {
5557 (char *) "self",(char *) "range", NULL
5558 };
5559
994141e6 5560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetRange",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5561 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5562 if (SWIG_arg_fail(1)) SWIG_fail;
5563 {
5564 arg2 = (int)(SWIG_As_int(obj1));
5565 if (SWIG_arg_fail(2)) SWIG_fail;
5566 }
d14a1e28
RD
5567 {
5568 PyThreadState* __tstate = wxPyBeginAllowThreads();
5569 (arg1)->SetRange(arg2);
5570
5571 wxPyEndAllowThreads(__tstate);
5572 if (PyErr_Occurred()) SWIG_fail;
5573 }
5574 Py_INCREF(Py_None); resultobj = Py_None;
5575 return resultobj;
5576 fail:
5577 return NULL;
5578}
5579
5580
c32bde28 5581static PyObject *_wrap_Gauge_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5582 PyObject *resultobj;
5583 wxGauge *arg1 = (wxGauge *) 0 ;
5584 int result;
5585 PyObject * obj0 = 0 ;
5586 char *kwnames[] = {
5587 (char *) "self", NULL
5588 };
5589
5590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetRange",kwnames,&obj0)) goto fail;
093d3ff1
RD
5591 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5592 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5593 {
5594 PyThreadState* __tstate = wxPyBeginAllowThreads();
5595 result = (int)((wxGauge const *)arg1)->GetRange();
5596
5597 wxPyEndAllowThreads(__tstate);
5598 if (PyErr_Occurred()) SWIG_fail;
5599 }
093d3ff1
RD
5600 {
5601 resultobj = SWIG_From_int((int)(result));
5602 }
d14a1e28
RD
5603 return resultobj;
5604 fail:
5605 return NULL;
5606}
5607
5608
c32bde28 5609static PyObject *_wrap_Gauge_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5610 PyObject *resultobj;
5611 wxGauge *arg1 = (wxGauge *) 0 ;
5612 int arg2 ;
5613 PyObject * obj0 = 0 ;
994141e6 5614 PyObject * obj1 = 0 ;
d14a1e28
RD
5615 char *kwnames[] = {
5616 (char *) "self",(char *) "pos", NULL
5617 };
5618
994141e6 5619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetValue",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5620 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5621 if (SWIG_arg_fail(1)) SWIG_fail;
5622 {
5623 arg2 = (int)(SWIG_As_int(obj1));
5624 if (SWIG_arg_fail(2)) SWIG_fail;
5625 }
d14a1e28
RD
5626 {
5627 PyThreadState* __tstate = wxPyBeginAllowThreads();
5628 (arg1)->SetValue(arg2);
5629
5630 wxPyEndAllowThreads(__tstate);
5631 if (PyErr_Occurred()) SWIG_fail;
5632 }
5633 Py_INCREF(Py_None); resultobj = Py_None;
5634 return resultobj;
5635 fail:
5636 return NULL;
5637}
5638
5639
c32bde28 5640static PyObject *_wrap_Gauge_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5641 PyObject *resultobj;
5642 wxGauge *arg1 = (wxGauge *) 0 ;
5643 int result;
5644 PyObject * obj0 = 0 ;
5645 char *kwnames[] = {
5646 (char *) "self", NULL
5647 };
5648
5649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
5650 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5651 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5652 {
5653 PyThreadState* __tstate = wxPyBeginAllowThreads();
5654 result = (int)((wxGauge const *)arg1)->GetValue();
5655
5656 wxPyEndAllowThreads(__tstate);
5657 if (PyErr_Occurred()) SWIG_fail;
5658 }
093d3ff1
RD
5659 {
5660 resultobj = SWIG_From_int((int)(result));
5661 }
d14a1e28
RD
5662 return resultobj;
5663 fail:
5664 return NULL;
5665}
5666
5667
c32bde28 5668static PyObject *_wrap_Gauge_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5669 PyObject *resultobj;
5670 wxGauge *arg1 = (wxGauge *) 0 ;
5671 bool result;
5672 PyObject * obj0 = 0 ;
5673 char *kwnames[] = {
5674 (char *) "self", NULL
5675 };
5676
5677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_IsVertical",kwnames,&obj0)) goto fail;
093d3ff1
RD
5678 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5679 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5680 {
5681 PyThreadState* __tstate = wxPyBeginAllowThreads();
5682 result = (bool)((wxGauge const *)arg1)->IsVertical();
5683
5684 wxPyEndAllowThreads(__tstate);
5685 if (PyErr_Occurred()) SWIG_fail;
5686 }
4f89f6a3
RD
5687 {
5688 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5689 }
d14a1e28
RD
5690 return resultobj;
5691 fail:
5692 return NULL;
5693}
5694
5695
c32bde28 5696static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5697 PyObject *resultobj;
5698 wxGauge *arg1 = (wxGauge *) 0 ;
5699 int arg2 ;
5700 PyObject * obj0 = 0 ;
994141e6 5701 PyObject * obj1 = 0 ;
d14a1e28
RD
5702 char *kwnames[] = {
5703 (char *) "self",(char *) "w", NULL
5704 };
5705
994141e6 5706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetShadowWidth",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5707 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5708 if (SWIG_arg_fail(1)) SWIG_fail;
5709 {
5710 arg2 = (int)(SWIG_As_int(obj1));
5711 if (SWIG_arg_fail(2)) SWIG_fail;
5712 }
d14a1e28
RD
5713 {
5714 PyThreadState* __tstate = wxPyBeginAllowThreads();
5715 (arg1)->SetShadowWidth(arg2);
5716
5717 wxPyEndAllowThreads(__tstate);
5718 if (PyErr_Occurred()) SWIG_fail;
5719 }
5720 Py_INCREF(Py_None); resultobj = Py_None;
5721 return resultobj;
5722 fail:
5723 return NULL;
5724}
5725
5726
c32bde28 5727static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5728 PyObject *resultobj;
5729 wxGauge *arg1 = (wxGauge *) 0 ;
5730 int result;
5731 PyObject * obj0 = 0 ;
5732 char *kwnames[] = {
5733 (char *) "self", NULL
5734 };
5735
5736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetShadowWidth",kwnames,&obj0)) goto fail;
093d3ff1
RD
5737 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5738 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5739 {
5740 PyThreadState* __tstate = wxPyBeginAllowThreads();
5741 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
5742
5743 wxPyEndAllowThreads(__tstate);
5744 if (PyErr_Occurred()) SWIG_fail;
5745 }
093d3ff1
RD
5746 {
5747 resultobj = SWIG_From_int((int)(result));
5748 }
d14a1e28
RD
5749 return resultobj;
5750 fail:
5751 return NULL;
5752}
5753
5754
c32bde28 5755static PyObject *_wrap_Gauge_SetBezelFace(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5756 PyObject *resultobj;
5757 wxGauge *arg1 = (wxGauge *) 0 ;
5758 int arg2 ;
5759 PyObject * obj0 = 0 ;
994141e6 5760 PyObject * obj1 = 0 ;
d14a1e28
RD
5761 char *kwnames[] = {
5762 (char *) "self",(char *) "w", NULL
5763 };
5764
994141e6 5765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetBezelFace",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5766 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5767 if (SWIG_arg_fail(1)) SWIG_fail;
5768 {
5769 arg2 = (int)(SWIG_As_int(obj1));
5770 if (SWIG_arg_fail(2)) SWIG_fail;
5771 }
d14a1e28
RD
5772 {
5773 PyThreadState* __tstate = wxPyBeginAllowThreads();
5774 (arg1)->SetBezelFace(arg2);
5775
5776 wxPyEndAllowThreads(__tstate);
5777 if (PyErr_Occurred()) SWIG_fail;
5778 }
5779 Py_INCREF(Py_None); resultobj = Py_None;
5780 return resultobj;
5781 fail:
5782 return NULL;
5783}
5784
5785
c32bde28 5786static PyObject *_wrap_Gauge_GetBezelFace(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5787 PyObject *resultobj;
5788 wxGauge *arg1 = (wxGauge *) 0 ;
5789 int result;
5790 PyObject * obj0 = 0 ;
5791 char *kwnames[] = {
5792 (char *) "self", NULL
5793 };
5794
5795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetBezelFace",kwnames,&obj0)) goto fail;
093d3ff1
RD
5796 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5797 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5798 {
5799 PyThreadState* __tstate = wxPyBeginAllowThreads();
5800 result = (int)((wxGauge const *)arg1)->GetBezelFace();
5801
5802 wxPyEndAllowThreads(__tstate);
5803 if (PyErr_Occurred()) SWIG_fail;
5804 }
093d3ff1
RD
5805 {
5806 resultobj = SWIG_From_int((int)(result));
5807 }
d14a1e28
RD
5808 return resultobj;
5809 fail:
5810 return NULL;
5811}
5812
5813
c32bde28 5814static PyObject *_wrap_Gauge_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c 5815 PyObject *resultobj;
093d3ff1 5816 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
5817 wxVisualAttributes result;
5818 PyObject * obj0 = 0 ;
5819 char *kwnames[] = {
5820 (char *) "variant", NULL
5821 };
5822
5823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5824 if (obj0) {
093d3ff1
RD
5825 {
5826 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
5827 if (SWIG_arg_fail(1)) SWIG_fail;
5828 }
22bfe96c
RD
5829 }
5830 {
110da5b0 5831 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
5832 PyThreadState* __tstate = wxPyBeginAllowThreads();
5833 result = wxGauge::GetClassDefaultAttributes((wxWindowVariant )arg1);
5834
5835 wxPyEndAllowThreads(__tstate);
dfbb5885 5836 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
5837 }
5838 {
5839 wxVisualAttributes * resultptr;
093d3ff1 5840 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
22bfe96c
RD
5841 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5842 }
5843 return resultobj;
5844 fail:
5845 return NULL;
5846}
5847
5848
c32bde28 5849static PyObject * Gauge_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
5850 PyObject *obj;
5851 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5852 SWIG_TypeClientData(SWIGTYPE_p_wxGauge, obj);
5853 Py_INCREF(obj);
5854 return Py_BuildValue((char *)"");
5855}
c32bde28 5856static int _wrap_StaticBitmapNameStr_set(PyObject *) {
b2dc1044
RD
5857 PyErr_SetString(PyExc_TypeError,"Variable StaticBitmapNameStr is read-only.");
5858 return 1;
5859}
5860
5861
093d3ff1 5862static PyObject *_wrap_StaticBitmapNameStr_get(void) {
b2dc1044
RD
5863 PyObject *pyobj;
5864
5865 {
5866#if wxUSE_UNICODE
5867 pyobj = PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
5868#else
5869 pyobj = PyString_FromStringAndSize((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
5870#endif
5871 }
5872 return pyobj;
5873}
5874
5875
c32bde28 5876static int _wrap_StaticBoxNameStr_set(PyObject *) {
b2dc1044
RD
5877 PyErr_SetString(PyExc_TypeError,"Variable StaticBoxNameStr is read-only.");
5878 return 1;
5879}
5880
5881
093d3ff1 5882static PyObject *_wrap_StaticBoxNameStr_get(void) {
b2dc1044
RD
5883 PyObject *pyobj;
5884
5885 {
5886#if wxUSE_UNICODE
5887 pyobj = PyUnicode_FromWideChar((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
5888#else
5889 pyobj = PyString_FromStringAndSize((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
5890#endif
5891 }
5892 return pyobj;
5893}
5894
5895
c32bde28 5896static int _wrap_StaticTextNameStr_set(PyObject *) {
b2dc1044
RD
5897 PyErr_SetString(PyExc_TypeError,"Variable StaticTextNameStr is read-only.");
5898 return 1;
5899}
5900
5901
093d3ff1 5902static PyObject *_wrap_StaticTextNameStr_get(void) {
b2dc1044
RD
5903 PyObject *pyobj;
5904
5905 {
5906#if wxUSE_UNICODE
5907 pyobj = PyUnicode_FromWideChar((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
5908#else
5909 pyobj = PyString_FromStringAndSize((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
5910#endif
5911 }
5912 return pyobj;
5913}
5914
5915
c32bde28 5916static PyObject *_wrap_new_StaticBox(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5917 PyObject *resultobj;
5918 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
5919 int arg2 = (int) -1 ;
5920 wxString const &arg3_defvalue = wxPyEmptyString ;
5921 wxString *arg3 = (wxString *) &arg3_defvalue ;
d14a1e28
RD
5922 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5923 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5924 wxSize const &arg5_defvalue = wxDefaultSize ;
5925 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5926 long arg6 = (long) 0 ;
5927 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
5928 wxString *arg7 = (wxString *) &arg7_defvalue ;
5929 wxStaticBox *result;
ae8162c8 5930 bool temp3 = false ;
d14a1e28
RD
5931 wxPoint temp4 ;
5932 wxSize temp5 ;
ae8162c8 5933 bool temp7 = false ;
d14a1e28 5934 PyObject * obj0 = 0 ;
994141e6 5935 PyObject * obj1 = 0 ;
d14a1e28
RD
5936 PyObject * obj2 = 0 ;
5937 PyObject * obj3 = 0 ;
5938 PyObject * obj4 = 0 ;
994141e6 5939 PyObject * obj5 = 0 ;
d14a1e28
RD
5940 PyObject * obj6 = 0 ;
5941 char *kwnames[] = {
5942 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5943 };
5944
248ed943 5945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
5946 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5947 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 5948 if (obj1) {
093d3ff1
RD
5949 {
5950 arg2 = (int)(SWIG_As_int(obj1));
5951 if (SWIG_arg_fail(2)) SWIG_fail;
5952 }
248ed943
RD
5953 }
5954 if (obj2) {
5955 {
5956 arg3 = wxString_in_helper(obj2);
5957 if (arg3 == NULL) SWIG_fail;
ae8162c8 5958 temp3 = true;
248ed943 5959 }
d14a1e28
RD
5960 }
5961 if (obj3) {
5962 {
5963 arg4 = &temp4;
5964 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5965 }
5966 }
5967 if (obj4) {
5968 {
5969 arg5 = &temp5;
5970 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5971 }
5972 }
994141e6 5973 if (obj5) {
093d3ff1
RD
5974 {
5975 arg6 = (long)(SWIG_As_long(obj5));
5976 if (SWIG_arg_fail(6)) SWIG_fail;
5977 }
994141e6 5978 }
d14a1e28
RD
5979 if (obj6) {
5980 {
5981 arg7 = wxString_in_helper(obj6);
5982 if (arg7 == NULL) SWIG_fail;
ae8162c8 5983 temp7 = true;
d14a1e28
RD
5984 }
5985 }
5986 {
e3b71cb8 5987 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
5988 PyThreadState* __tstate = wxPyBeginAllowThreads();
5989 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5990
5991 wxPyEndAllowThreads(__tstate);
110da5b0 5992 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 5993 }
b0f7404b 5994 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBox, 1);
d14a1e28
RD
5995 {
5996 if (temp3)
5997 delete arg3;
5998 }
5999 {
6000 if (temp7)
6001 delete arg7;
6002 }
6003 return resultobj;
6004 fail:
6005 {
6006 if (temp3)
6007 delete arg3;
6008 }
6009 {
6010 if (temp7)
6011 delete arg7;
6012 }
6013 return NULL;
6014}
6015
6016
c32bde28 6017static PyObject *_wrap_new_PreStaticBox(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6018 PyObject *resultobj;
6019 wxStaticBox *result;
6020 char *kwnames[] = {
6021 NULL
6022 };
6023
6024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBox",kwnames)) goto fail;
6025 {
e3b71cb8 6026 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
6027 PyThreadState* __tstate = wxPyBeginAllowThreads();
6028 result = (wxStaticBox *)new wxStaticBox();
6029
6030 wxPyEndAllowThreads(__tstate);
110da5b0 6031 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 6032 }
b0f7404b 6033 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBox, 1);
d14a1e28
RD
6034 return resultobj;
6035 fail:
6036 return NULL;
6037}
6038
6039
c32bde28 6040static PyObject *_wrap_StaticBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6041 PyObject *resultobj;
6042 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
6043 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
6044 int arg3 = (int) -1 ;
6045 wxString const &arg4_defvalue = wxPyEmptyString ;
6046 wxString *arg4 = (wxString *) &arg4_defvalue ;
d14a1e28
RD
6047 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6048 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6049 wxSize const &arg6_defvalue = wxDefaultSize ;
6050 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6051 long arg7 = (long) 0 ;
6052 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
6053 wxString *arg8 = (wxString *) &arg8_defvalue ;
6054 bool result;
ae8162c8 6055 bool temp4 = false ;
d14a1e28
RD
6056 wxPoint temp5 ;
6057 wxSize temp6 ;
ae8162c8 6058 bool temp8 = false ;
d14a1e28
RD
6059 PyObject * obj0 = 0 ;
6060 PyObject * obj1 = 0 ;
994141e6 6061 PyObject * obj2 = 0 ;
d14a1e28
RD
6062 PyObject * obj3 = 0 ;
6063 PyObject * obj4 = 0 ;
6064 PyObject * obj5 = 0 ;
994141e6 6065 PyObject * obj6 = 0 ;
d14a1e28
RD
6066 PyObject * obj7 = 0 ;
6067 char *kwnames[] = {
6068 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6069 };
6070
248ed943 6071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
6072 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBox, SWIG_POINTER_EXCEPTION | 0);
6073 if (SWIG_arg_fail(1)) SWIG_fail;
6074 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6075 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 6076 if (obj2) {
093d3ff1
RD
6077 {
6078 arg3 = (int)(SWIG_As_int(obj2));
6079 if (SWIG_arg_fail(3)) SWIG_fail;
6080 }
248ed943
RD
6081 }
6082 if (obj3) {
6083 {
6084 arg4 = wxString_in_helper(obj3);
6085 if (arg4 == NULL) SWIG_fail;
ae8162c8 6086 temp4 = true;
248ed943 6087 }
d14a1e28
RD
6088 }
6089 if (obj4) {
6090 {
6091 arg5 = &temp5;
6092 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6093 }
6094 }
6095 if (obj5) {
6096 {
6097 arg6 = &temp6;
6098 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6099 }
6100 }
994141e6 6101 if (obj6) {
093d3ff1
RD
6102 {
6103 arg7 = (long)(SWIG_As_long(obj6));
6104 if (SWIG_arg_fail(7)) SWIG_fail;
6105 }
994141e6 6106 }
d14a1e28
RD
6107 if (obj7) {
6108 {
6109 arg8 = wxString_in_helper(obj7);
6110 if (arg8 == NULL) SWIG_fail;
ae8162c8 6111 temp8 = true;
d14a1e28
RD
6112 }
6113 }
6114 {
6115 PyThreadState* __tstate = wxPyBeginAllowThreads();
6116 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6117
6118 wxPyEndAllowThreads(__tstate);
6119 if (PyErr_Occurred()) SWIG_fail;
6120 }
4f89f6a3
RD
6121 {
6122 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6123 }
d14a1e28
RD
6124 {
6125 if (temp4)
6126 delete arg4;
6127 }
6128 {
6129 if (temp8)
6130 delete arg8;
6131 }
6132 return resultobj;
6133 fail:
6134 {
6135 if (temp4)
6136 delete arg4;
6137 }
6138 {
6139 if (temp8)
6140 delete arg8;
6141 }
6142 return NULL;
6143}
6144
6145
c32bde28 6146static PyObject *_wrap_StaticBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c 6147 PyObject *resultobj;
093d3ff1 6148 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
6149 wxVisualAttributes result;
6150 PyObject * obj0 = 0 ;
6151 char *kwnames[] = {
6152 (char *) "variant", NULL
6153 };
6154
6155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6156 if (obj0) {
093d3ff1
RD
6157 {
6158 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
6159 if (SWIG_arg_fail(1)) SWIG_fail;
6160 }
22bfe96c
RD
6161 }
6162 {
110da5b0 6163 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
6164 PyThreadState* __tstate = wxPyBeginAllowThreads();
6165 result = wxStaticBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
6166
6167 wxPyEndAllowThreads(__tstate);
dfbb5885 6168 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
6169 }
6170 {
6171 wxVisualAttributes * resultptr;
093d3ff1 6172 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
22bfe96c
RD
6173 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6174 }
6175 return resultobj;
6176 fail:
6177 return NULL;
6178}
6179
6180
c32bde28 6181static PyObject * StaticBox_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
6182 PyObject *obj;
6183 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6184 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox, obj);
6185 Py_INCREF(obj);
6186 return Py_BuildValue((char *)"");
6187}
c32bde28 6188static PyObject *_wrap_new_StaticLine(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6189 PyObject *resultobj;
6190 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 6191 int arg2 = (int) -1 ;
d14a1e28
RD
6192 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6193 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6194 wxSize const &arg4_defvalue = wxDefaultSize ;
6195 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6196 long arg5 = (long) wxLI_HORIZONTAL ;
6197 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
6198 wxString *arg6 = (wxString *) &arg6_defvalue ;
6199 wxStaticLine *result;
6200 wxPoint temp3 ;
6201 wxSize temp4 ;
ae8162c8 6202 bool temp6 = false ;
d14a1e28 6203 PyObject * obj0 = 0 ;
994141e6 6204 PyObject * obj1 = 0 ;
d14a1e28
RD
6205 PyObject * obj2 = 0 ;
6206 PyObject * obj3 = 0 ;
994141e6 6207 PyObject * obj4 = 0 ;
d14a1e28
RD
6208 PyObject * obj5 = 0 ;
6209 char *kwnames[] = {
6210 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6211 };
6212
248ed943 6213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_StaticLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
6214 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6215 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 6216 if (obj1) {
093d3ff1
RD
6217 {
6218 arg2 = (int)(SWIG_As_int(obj1));
6219 if (SWIG_arg_fail(2)) SWIG_fail;
6220 }
248ed943 6221 }
d14a1e28
RD
6222 if (obj2) {
6223 {
6224 arg3 = &temp3;
6225 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6226 }
6227 }
6228 if (obj3) {
6229 {
6230 arg4 = &temp4;
6231 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6232 }
6233 }
994141e6 6234 if (obj4) {
093d3ff1
RD
6235 {
6236 arg5 = (long)(SWIG_As_long(obj4));
6237 if (SWIG_arg_fail(5)) SWIG_fail;
6238 }
994141e6 6239 }
d14a1e28
RD
6240 if (obj5) {
6241 {
6242 arg6 = wxString_in_helper(obj5);
6243 if (arg6 == NULL) SWIG_fail;
ae8162c8 6244 temp6 = true;
d14a1e28
RD
6245 }
6246 }
6247 {
e3b71cb8 6248 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
6249 PyThreadState* __tstate = wxPyBeginAllowThreads();
6250 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
6251
6252 wxPyEndAllowThreads(__tstate);
110da5b0 6253 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 6254 }
15afbcd0 6255 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
d14a1e28
RD
6256 {
6257 if (temp6)
6258 delete arg6;
6259 }
6260 return resultobj;
6261 fail:
6262 {
6263 if (temp6)
6264 delete arg6;
6265 }
6266 return NULL;
6267}
6268
6269
c32bde28 6270static PyObject *_wrap_new_PreStaticLine(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6271 PyObject *resultobj;
6272 wxStaticLine *result;
6273 char *kwnames[] = {
6274 NULL
6275 };
6276
6277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticLine",kwnames)) goto fail;
6278 {
e3b71cb8 6279 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
6280 PyThreadState* __tstate = wxPyBeginAllowThreads();
6281 result = (wxStaticLine *)new wxStaticLine();
6282
6283 wxPyEndAllowThreads(__tstate);
110da5b0 6284 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 6285 }
15afbcd0 6286 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
d14a1e28
RD
6287 return resultobj;
6288 fail:
6289 return NULL;
6290}
6291
6292
c32bde28 6293static PyObject *_wrap_StaticLine_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6294 PyObject *resultobj;
6295 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
6296 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 6297 int arg3 = (int) -1 ;
d14a1e28
RD
6298 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6299 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6300 wxSize const &arg5_defvalue = wxDefaultSize ;
6301 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6302 long arg6 = (long) wxLI_HORIZONTAL ;
6303 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
6304 wxString *arg7 = (wxString *) &arg7_defvalue ;
6305 bool result;
6306 wxPoint temp4 ;
6307 wxSize temp5 ;
ae8162c8 6308 bool temp7 = false ;
d14a1e28
RD
6309 PyObject * obj0 = 0 ;
6310 PyObject * obj1 = 0 ;
994141e6 6311 PyObject * obj2 = 0 ;
d14a1e28
RD
6312 PyObject * obj3 = 0 ;
6313 PyObject * obj4 = 0 ;
994141e6 6314 PyObject * obj5 = 0 ;
d14a1e28
RD
6315 PyObject * obj6 = 0 ;
6316 char *kwnames[] = {
6317 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6318 };
6319
248ed943 6320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:StaticLine_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
6321 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticLine, SWIG_POINTER_EXCEPTION | 0);
6322 if (SWIG_arg_fail(1)) SWIG_fail;
6323 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6324 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 6325 if (obj2) {
093d3ff1
RD
6326 {
6327 arg3 = (int)(SWIG_As_int(obj2));
6328 if (SWIG_arg_fail(3)) SWIG_fail;
6329 }
248ed943 6330 }
d14a1e28
RD
6331 if (obj3) {
6332 {
6333 arg4 = &temp4;
6334 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6335 }
6336 }
6337 if (obj4) {
6338 {
6339 arg5 = &temp5;
6340 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6341 }
6342 }
994141e6 6343 if (obj5) {
093d3ff1
RD
6344 {
6345 arg6 = (long)(SWIG_As_long(obj5));
6346 if (SWIG_arg_fail(6)) SWIG_fail;
6347 }
994141e6 6348 }
d14a1e28
RD
6349 if (obj6) {
6350 {
6351 arg7 = wxString_in_helper(obj6);
6352 if (arg7 == NULL) SWIG_fail;
ae8162c8 6353 temp7 = true;
d14a1e28
RD
6354 }
6355 }
6356 {
6357 PyThreadState* __tstate = wxPyBeginAllowThreads();
6358 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6359
6360 wxPyEndAllowThreads(__tstate);
6361 if (PyErr_Occurred()) SWIG_fail;
6362 }
4f89f6a3
RD
6363 {
6364 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6365 }
d14a1e28
RD
6366 {
6367 if (temp7)
6368 delete arg7;
6369 }
6370 return resultobj;
6371 fail:
6372 {
6373 if (temp7)
6374 delete arg7;
6375 }
6376 return NULL;
6377}
6378
6379
c32bde28 6380static PyObject *_wrap_StaticLine_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6381 PyObject *resultobj;
6382 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
6383 bool result;
6384 PyObject * obj0 = 0 ;
6385 char *kwnames[] = {
6386 (char *) "self", NULL
6387 };
6388
6389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticLine_IsVertical",kwnames,&obj0)) goto fail;
093d3ff1
RD
6390 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticLine, SWIG_POINTER_EXCEPTION | 0);
6391 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6392 {
6393 PyThreadState* __tstate = wxPyBeginAllowThreads();
6394 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
6395
6396 wxPyEndAllowThreads(__tstate);
6397 if (PyErr_Occurred()) SWIG_fail;
6398 }
4f89f6a3
RD
6399 {
6400 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6401 }
d14a1e28
RD
6402 return resultobj;
6403 fail:
6404 return NULL;
6405}
6406
6407
c32bde28 6408static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6409 PyObject *resultobj;
6410 int result;
6411 char *kwnames[] = {
6412 NULL
6413 };
6414
6415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StaticLine_GetDefaultSize",kwnames)) goto fail;
6416 {
6417 PyThreadState* __tstate = wxPyBeginAllowThreads();
6418 result = (int)wxStaticLine::GetDefaultSize();
6419
6420 wxPyEndAllowThreads(__tstate);
6421 if (PyErr_Occurred()) SWIG_fail;
6422 }
093d3ff1
RD
6423 {
6424 resultobj = SWIG_From_int((int)(result));
6425 }
d14a1e28
RD
6426 return resultobj;
6427 fail:
6428 return NULL;
6429}
6430
6431
c32bde28 6432static PyObject *_wrap_StaticLine_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c 6433 PyObject *resultobj;
093d3ff1 6434 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
6435 wxVisualAttributes result;
6436 PyObject * obj0 = 0 ;
6437 char *kwnames[] = {
6438 (char *) "variant", NULL
6439 };
6440
6441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6442 if (obj0) {
093d3ff1
RD
6443 {
6444 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
6445 if (SWIG_arg_fail(1)) SWIG_fail;
6446 }
22bfe96c
RD
6447 }
6448 {
110da5b0 6449 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
6450 PyThreadState* __tstate = wxPyBeginAllowThreads();
6451 result = wxStaticLine::GetClassDefaultAttributes((wxWindowVariant )arg1);
6452
6453 wxPyEndAllowThreads(__tstate);
dfbb5885 6454 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
6455 }
6456 {
6457 wxVisualAttributes * resultptr;
093d3ff1 6458 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
22bfe96c
RD
6459 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6460 }
6461 return resultobj;
6462 fail:
6463 return NULL;
6464}
6465
6466
c32bde28 6467static PyObject * StaticLine_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
6468 PyObject *obj;
6469 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6470 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine, obj);
6471 Py_INCREF(obj);
6472 return Py_BuildValue((char *)"");
6473}
c32bde28 6474static PyObject *_wrap_new_StaticText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6475 PyObject *resultobj;
6476 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
6477 int arg2 = (int) -1 ;
6478 wxString const &arg3_defvalue = wxPyEmptyString ;
6479 wxString *arg3 = (wxString *) &arg3_defvalue ;
d14a1e28
RD
6480 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6481 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6482 wxSize const &arg5_defvalue = wxDefaultSize ;
6483 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6484 long arg6 = (long) 0 ;
6485 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
6486 wxString *arg7 = (wxString *) &arg7_defvalue ;
6487 wxStaticText *result;
ae8162c8 6488 bool temp3 = false ;
d14a1e28
RD
6489 wxPoint temp4 ;
6490 wxSize temp5 ;
ae8162c8 6491 bool temp7 = false ;
d14a1e28 6492 PyObject * obj0 = 0 ;
994141e6 6493 PyObject * obj1 = 0 ;
d14a1e28
RD
6494 PyObject * obj2 = 0 ;
6495 PyObject * obj3 = 0 ;
6496 PyObject * obj4 = 0 ;
994141e6 6497 PyObject * obj5 = 0 ;
d14a1e28
RD
6498 PyObject * obj6 = 0 ;
6499 char *kwnames[] = {
6500 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6501 };
6502
248ed943 6503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
6504 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6505 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 6506 if (obj1) {
093d3ff1
RD
6507 {
6508 arg2 = (int)(SWIG_As_int(obj1));
6509 if (SWIG_arg_fail(2)) SWIG_fail;
6510 }
248ed943
RD
6511 }
6512 if (obj2) {
6513 {
6514 arg3 = wxString_in_helper(obj2);
6515 if (arg3 == NULL) SWIG_fail;
ae8162c8 6516 temp3 = true;
248ed943 6517 }
d14a1e28
RD
6518 }
6519 if (obj3) {
6520 {
6521 arg4 = &temp4;
6522 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6523 }
6524 }
6525 if (obj4) {
6526 {
6527 arg5 = &temp5;
6528 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6529 }
6530 }
994141e6 6531 if (obj5) {
093d3ff1
RD
6532 {
6533 arg6 = (long)(SWIG_As_long(obj5));
6534 if (SWIG_arg_fail(6)) SWIG_fail;
6535 }
994141e6 6536 }
d14a1e28
RD
6537 if (obj6) {
6538 {
6539 arg7 = wxString_in_helper(obj6);
6540 if (arg7 == NULL) SWIG_fail;
ae8162c8 6541 temp7 = true;
d14a1e28
RD
6542 }
6543 }
6544 {
e3b71cb8 6545 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
6546 PyThreadState* __tstate = wxPyBeginAllowThreads();
6547 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6548
6549 wxPyEndAllowThreads(__tstate);
110da5b0 6550 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 6551 }
15afbcd0 6552 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
d14a1e28
RD
6553 {
6554 if (temp3)
6555 delete arg3;
6556 }
6557 {
6558 if (temp7)
6559 delete arg7;
6560 }
6561 return resultobj;
6562 fail:
6563 {
6564 if (temp3)
6565 delete arg3;
6566 }
6567 {
6568 if (temp7)
6569 delete arg7;
6570 }
6571 return NULL;
6572}
6573
6574
c32bde28 6575static PyObject *_wrap_new_PreStaticText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6576 PyObject *resultobj;
6577 wxStaticText *result;
6578 char *kwnames[] = {
6579 NULL
6580 };
6581
6582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticText",kwnames)) goto fail;
6583 {
e3b71cb8 6584 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
6585 PyThreadState* __tstate = wxPyBeginAllowThreads();
6586 result = (wxStaticText *)new wxStaticText();
6587
6588 wxPyEndAllowThreads(__tstate);
110da5b0 6589 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 6590 }
15afbcd0 6591 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
d14a1e28
RD
6592 return resultobj;
6593 fail:
6594 return NULL;
6595}
6596
6597
c32bde28 6598static PyObject *_wrap_StaticText_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6599 PyObject *resultobj;
6600 wxStaticText *arg1 = (wxStaticText *) 0 ;
6601 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
6602 int arg3 = (int) -1 ;
6603 wxString const &arg4_defvalue = wxPyEmptyString ;
6604 wxString *arg4 = (wxString *) &arg4_defvalue ;
d14a1e28
RD
6605 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6606 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6607 wxSize const &arg6_defvalue = wxDefaultSize ;
6608 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6609 long arg7 = (long) 0 ;
6610 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
6611 wxString *arg8 = (wxString *) &arg8_defvalue ;
6612 bool result;
ae8162c8 6613 bool temp4 = false ;
d14a1e28
RD
6614 wxPoint temp5 ;
6615 wxSize temp6 ;
ae8162c8 6616 bool temp8 = false ;
d14a1e28
RD
6617 PyObject * obj0 = 0 ;
6618 PyObject * obj1 = 0 ;
994141e6 6619 PyObject * obj2 = 0 ;
d14a1e28
RD
6620 PyObject * obj3 = 0 ;
6621 PyObject * obj4 = 0 ;
6622 PyObject * obj5 = 0 ;
994141e6 6623 PyObject * obj6 = 0 ;
d14a1e28
RD
6624 PyObject * obj7 = 0 ;
6625 char *kwnames[] = {
6626 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6627 };
6628
248ed943 6629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticText_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
6630 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticText, SWIG_POINTER_EXCEPTION | 0);
6631 if (SWIG_arg_fail(1)) SWIG_fail;
6632 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6633 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 6634 if (obj2) {
093d3ff1
RD
6635 {
6636 arg3 = (int)(SWIG_As_int(obj2));
6637 if (SWIG_arg_fail(3)) SWIG_fail;
6638 }
248ed943
RD
6639 }
6640 if (obj3) {
6641 {
6642 arg4 = wxString_in_helper(obj3);
6643 if (arg4 == NULL) SWIG_fail;
ae8162c8 6644 temp4 = true;
248ed943 6645 }
d14a1e28
RD
6646 }
6647 if (obj4) {
6648 {
6649 arg5 = &temp5;
6650 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6651 }
6652 }
6653 if (obj5) {
6654 {
6655 arg6 = &temp6;
6656 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6657 }
6658 }
994141e6 6659 if (obj6) {
093d3ff1
RD
6660 {
6661 arg7 = (long)(SWIG_As_long(obj6));
6662 if (SWIG_arg_fail(7)) SWIG_fail;
6663 }
994141e6 6664 }
d14a1e28
RD
6665 if (obj7) {
6666 {
6667 arg8 = wxString_in_helper(obj7);
6668 if (arg8 == NULL) SWIG_fail;
ae8162c8 6669 temp8 = true;
d14a1e28
RD
6670 }
6671 }
6672 {
6673 PyThreadState* __tstate = wxPyBeginAllowThreads();
6674 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6675
6676 wxPyEndAllowThreads(__tstate);
6677 if (PyErr_Occurred()) SWIG_fail;
6678 }
4f89f6a3
RD
6679 {
6680 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6681 }
d14a1e28
RD
6682 {
6683 if (temp4)
6684 delete arg4;
6685 }
6686 {
6687 if (temp8)
6688 delete arg8;
6689 }
6690 return resultobj;
6691 fail:
6692 {
6693 if (temp4)
6694 delete arg4;
6695 }
6696 {
6697 if (temp8)
6698 delete arg8;
6699 }
6700 return NULL;
6701}
6702
6703
c32bde28 6704static PyObject *_wrap_StaticText_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c 6705 PyObject *resultobj;
093d3ff1 6706 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
6707 wxVisualAttributes result;
6708 PyObject * obj0 = 0 ;
6709 char *kwnames[] = {
6710 (char *) "variant", NULL
6711 };
6712
6713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6714 if (obj0) {
093d3ff1
RD
6715 {
6716 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
6717 if (SWIG_arg_fail(1)) SWIG_fail;
6718 }
22bfe96c
RD
6719 }
6720 {
110da5b0 6721 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
6722 PyThreadState* __tstate = wxPyBeginAllowThreads();
6723 result = wxStaticText::GetClassDefaultAttributes((wxWindowVariant )arg1);
6724
6725 wxPyEndAllowThreads(__tstate);
dfbb5885 6726 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
6727 }
6728 {
6729 wxVisualAttributes * resultptr;
093d3ff1 6730 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
22bfe96c
RD
6731 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6732 }
6733 return resultobj;
6734 fail:
6735 return NULL;
6736}
6737
6738
c32bde28 6739static PyObject * StaticText_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
6740 PyObject *obj;
6741 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6742 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText, obj);
6743 Py_INCREF(obj);
6744 return Py_BuildValue((char *)"");
6745}
c32bde28 6746static PyObject *_wrap_new_StaticBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6747 PyObject *resultobj;
6748 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
6749 int arg2 = (int) -1 ;
6750 wxBitmap const &arg3_defvalue = wxNullBitmap ;
6751 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
d14a1e28
RD
6752 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6753 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6754 wxSize const &arg5_defvalue = wxDefaultSize ;
6755 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6756 long arg6 = (long) 0 ;
6757 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
6758 wxString *arg7 = (wxString *) &arg7_defvalue ;
6759 wxStaticBitmap *result;
6760 wxPoint temp4 ;
6761 wxSize temp5 ;
ae8162c8 6762 bool temp7 = false ;
d14a1e28 6763 PyObject * obj0 = 0 ;
994141e6 6764 PyObject * obj1 = 0 ;
d14a1e28
RD
6765 PyObject * obj2 = 0 ;
6766 PyObject * obj3 = 0 ;
6767 PyObject * obj4 = 0 ;
994141e6 6768 PyObject * obj5 = 0 ;
d14a1e28
RD
6769 PyObject * obj6 = 0 ;
6770 char *kwnames[] = {
6771 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6772 };
6773
248ed943 6774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBitmap",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
6775 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6776 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 6777 if (obj1) {
093d3ff1
RD
6778 {
6779 arg2 = (int)(SWIG_As_int(obj1));
6780 if (SWIG_arg_fail(2)) SWIG_fail;
6781 }
248ed943
RD
6782 }
6783 if (obj2) {
093d3ff1
RD
6784 {
6785 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6786 if (SWIG_arg_fail(3)) SWIG_fail;
6787 if (arg3 == NULL) {
6788 SWIG_null_ref("wxBitmap");
6789 }
6790 if (SWIG_arg_fail(3)) SWIG_fail;
248ed943 6791 }
d14a1e28
RD
6792 }
6793 if (obj3) {
6794 {
6795 arg4 = &temp4;
6796 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6797 }
6798 }
6799 if (obj4) {
6800 {
6801 arg5 = &temp5;
6802 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6803 }
6804 }
994141e6 6805 if (obj5) {
093d3ff1
RD
6806 {
6807 arg6 = (long)(SWIG_As_long(obj5));
6808 if (SWIG_arg_fail(6)) SWIG_fail;
6809 }
994141e6 6810 }
d14a1e28
RD
6811 if (obj6) {
6812 {
6813 arg7 = wxString_in_helper(obj6);
6814 if (arg7 == NULL) SWIG_fail;
ae8162c8 6815 temp7 = true;
d14a1e28
RD
6816 }
6817 }
6818 {
e3b71cb8 6819 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
6820 PyThreadState* __tstate = wxPyBeginAllowThreads();
6821 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6822
6823 wxPyEndAllowThreads(__tstate);
110da5b0 6824 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 6825 }
15afbcd0 6826 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
d14a1e28
RD
6827 {
6828 if (temp7)
6829 delete arg7;
6830 }
6831 return resultobj;
6832 fail:
6833 {
6834 if (temp7)
6835 delete arg7;
6836 }
6837 return NULL;
6838}
6839
6840
c32bde28 6841static PyObject *_wrap_new_PreStaticBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6842 PyObject *resultobj;
6843 wxStaticBitmap *result;
6844 char *kwnames[] = {
6845 NULL
6846 };
6847
6848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBitmap",kwnames)) goto fail;
6849 {
e3b71cb8 6850 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
6851 PyThreadState* __tstate = wxPyBeginAllowThreads();
6852 result = (wxStaticBitmap *)new wxStaticBitmap();
6853
6854 wxPyEndAllowThreads(__tstate);
110da5b0 6855 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 6856 }
15afbcd0 6857 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
d14a1e28
RD
6858 return resultobj;
6859 fail:
6860 return NULL;
6861}
6862
6863
c32bde28 6864static PyObject *_wrap_StaticBitmap_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6865 PyObject *resultobj;
6866 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
6867 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
6868 int arg3 = (int) -1 ;
6869 wxBitmap const &arg4_defvalue = wxNullBitmap ;
6870 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
d14a1e28
RD
6871 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6872 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6873 wxSize const &arg6_defvalue = wxDefaultSize ;
6874 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6875 long arg7 = (long) 0 ;
6876 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
6877 wxString *arg8 = (wxString *) &arg8_defvalue ;
6878 bool result;
6879 wxPoint temp5 ;
6880 wxSize temp6 ;
ae8162c8 6881 bool temp8 = false ;
d14a1e28
RD
6882 PyObject * obj0 = 0 ;
6883 PyObject * obj1 = 0 ;
994141e6 6884 PyObject * obj2 = 0 ;
d14a1e28
RD
6885 PyObject * obj3 = 0 ;
6886 PyObject * obj4 = 0 ;
6887 PyObject * obj5 = 0 ;
994141e6 6888 PyObject * obj6 = 0 ;
d14a1e28
RD
6889 PyObject * obj7 = 0 ;
6890 char *kwnames[] = {
6891 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6892 };
6893
248ed943 6894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
6895 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
6896 if (SWIG_arg_fail(1)) SWIG_fail;
6897 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6898 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 6899 if (obj2) {
093d3ff1
RD
6900 {
6901 arg3 = (int)(SWIG_As_int(obj2));
6902 if (SWIG_arg_fail(3)) SWIG_fail;
6903 }
248ed943
RD
6904 }
6905 if (obj3) {
093d3ff1
RD
6906 {
6907 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6908 if (SWIG_arg_fail(4)) SWIG_fail;
6909 if (arg4 == NULL) {
6910 SWIG_null_ref("wxBitmap");
6911 }
6912 if (SWIG_arg_fail(4)) SWIG_fail;
248ed943 6913 }
d14a1e28
RD
6914 }
6915 if (obj4) {
6916 {
6917 arg5 = &temp5;
6918 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6919 }
6920 }
6921 if (obj5) {
6922 {
6923 arg6 = &temp6;
6924 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6925 }
6926 }
994141e6 6927 if (obj6) {
093d3ff1
RD
6928 {
6929 arg7 = (long)(SWIG_As_long(obj6));
6930 if (SWIG_arg_fail(7)) SWIG_fail;
6931 }
994141e6 6932 }
d14a1e28
RD
6933 if (obj7) {
6934 {
6935 arg8 = wxString_in_helper(obj7);
6936 if (arg8 == NULL) SWIG_fail;
ae8162c8 6937 temp8 = true;
d14a1e28
RD
6938 }
6939 }
6940 {
6941 PyThreadState* __tstate = wxPyBeginAllowThreads();
6942 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6943
6944 wxPyEndAllowThreads(__tstate);
6945 if (PyErr_Occurred()) SWIG_fail;
6946 }
4f89f6a3
RD
6947 {
6948 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6949 }
d14a1e28
RD
6950 {
6951 if (temp8)
6952 delete arg8;
6953 }
6954 return resultobj;
6955 fail:
6956 {
6957 if (temp8)
6958 delete arg8;
6959 }
6960 return NULL;
6961}
6962
6963
c32bde28 6964static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6965 PyObject *resultobj;
6966 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
6967 wxBitmap result;
6968 PyObject * obj0 = 0 ;
6969 char *kwnames[] = {
6970 (char *) "self", NULL
6971 };
6972
6973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBitmap_GetBitmap",kwnames,&obj0)) goto fail;
093d3ff1
RD
6974 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
6975 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6976 {
6977 PyThreadState* __tstate = wxPyBeginAllowThreads();
6978 result = (arg1)->GetBitmap();
6979
6980 wxPyEndAllowThreads(__tstate);
6981 if (PyErr_Occurred()) SWIG_fail;
6982 }
6983 {
6984 wxBitmap * resultptr;
093d3ff1 6985 resultptr = new wxBitmap((wxBitmap &)(result));
15afbcd0 6986 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
6987 }
6988 return resultobj;
6989 fail:
6990 return NULL;
6991}
6992
6993
c32bde28 6994static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6995 PyObject *resultobj;
6996 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
6997 wxBitmap *arg2 = 0 ;
6998 PyObject * obj0 = 0 ;
6999 PyObject * obj1 = 0 ;
7000 char *kwnames[] = {
7001 (char *) "self",(char *) "bitmap", NULL
7002 };
7003
7004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7005 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
7006 if (SWIG_arg_fail(1)) SWIG_fail;
7007 {
7008 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
7009 if (SWIG_arg_fail(2)) SWIG_fail;
7010 if (arg2 == NULL) {
7011 SWIG_null_ref("wxBitmap");
7012 }
7013 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
7014 }
7015 {
7016 PyThreadState* __tstate = wxPyBeginAllowThreads();
7017 (arg1)->SetBitmap((wxBitmap const &)*arg2);
7018
7019 wxPyEndAllowThreads(__tstate);
7020 if (PyErr_Occurred()) SWIG_fail;
7021 }
7022 Py_INCREF(Py_None); resultobj = Py_None;
7023 return resultobj;
7024 fail:
7025 return NULL;
7026}
7027
7028
c32bde28 7029static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7030 PyObject *resultobj;
7031 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
7032 wxIcon *arg2 = 0 ;
7033 PyObject * obj0 = 0 ;
7034 PyObject * obj1 = 0 ;
7035 char *kwnames[] = {
7036 (char *) "self",(char *) "icon", NULL
7037 };
7038
7039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7040 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
7041 if (SWIG_arg_fail(1)) SWIG_fail;
7042 {
7043 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
7044 if (SWIG_arg_fail(2)) SWIG_fail;
7045 if (arg2 == NULL) {
7046 SWIG_null_ref("wxIcon");
7047 }
7048 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
7049 }
7050 {
7051 PyThreadState* __tstate = wxPyBeginAllowThreads();
7052 (arg1)->SetIcon((wxIcon const &)*arg2);
7053
7054 wxPyEndAllowThreads(__tstate);
7055 if (PyErr_Occurred()) SWIG_fail;
7056 }
7057 Py_INCREF(Py_None); resultobj = Py_None;
7058 return resultobj;
7059 fail:
7060 return NULL;
7061}
7062
7063
c32bde28 7064static PyObject *_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c 7065 PyObject *resultobj;
093d3ff1 7066 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
7067 wxVisualAttributes result;
7068 PyObject * obj0 = 0 ;
7069 char *kwnames[] = {
7070 (char *) "variant", NULL
7071 };
7072
7073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
7074 if (obj0) {
093d3ff1
RD
7075 {
7076 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
7077 if (SWIG_arg_fail(1)) SWIG_fail;
7078 }
22bfe96c
RD
7079 }
7080 {
110da5b0 7081 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
7082 PyThreadState* __tstate = wxPyBeginAllowThreads();
7083 result = wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant )arg1);
7084
7085 wxPyEndAllowThreads(__tstate);
dfbb5885 7086 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
7087 }
7088 {
7089 wxVisualAttributes * resultptr;
093d3ff1 7090 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
22bfe96c
RD
7091 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
7092 }
7093 return resultobj;
7094 fail:
7095 return NULL;
7096}
7097
7098
c32bde28 7099static PyObject * StaticBitmap_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
7100 PyObject *obj;
7101 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7102 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap, obj);
7103 Py_INCREF(obj);
7104 return Py_BuildValue((char *)"");
7105}
c32bde28 7106static int _wrap_ListBoxNameStr_set(PyObject *) {
b2dc1044
RD
7107 PyErr_SetString(PyExc_TypeError,"Variable ListBoxNameStr is read-only.");
7108 return 1;
7109}
7110
7111
093d3ff1 7112static PyObject *_wrap_ListBoxNameStr_get(void) {
b2dc1044
RD
7113 PyObject *pyobj;
7114
7115 {
7116#if wxUSE_UNICODE
7117 pyobj = PyUnicode_FromWideChar((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
7118#else
7119 pyobj = PyString_FromStringAndSize((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
7120#endif
7121 }
7122 return pyobj;
7123}
7124
7125
c32bde28 7126static PyObject *_wrap_new_ListBox(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7127 PyObject *resultobj;
7128 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 7129 int arg2 = (int) -1 ;
d14a1e28
RD
7130 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7131 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7132 wxSize const &arg4_defvalue = wxDefaultSize ;
7133 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4d5c3d91
RD
7134 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
7135 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
7136 long arg6 = (long) 0 ;
7137 wxValidator const &arg7_defvalue = wxDefaultValidator ;
7138 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
7139 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
7140 wxString *arg8 = (wxString *) &arg8_defvalue ;
d14a1e28
RD
7141 wxListBox *result;
7142 wxPoint temp3 ;
7143 wxSize temp4 ;
ae8162c8
RD
7144 bool temp5 = false ;
7145 bool temp8 = false ;
d14a1e28 7146 PyObject * obj0 = 0 ;
994141e6 7147 PyObject * obj1 = 0 ;
d14a1e28
RD
7148 PyObject * obj2 = 0 ;
7149 PyObject * obj3 = 0 ;
7150 PyObject * obj4 = 0 ;
994141e6 7151 PyObject * obj5 = 0 ;
d14a1e28
RD
7152 PyObject * obj6 = 0 ;
7153 PyObject * obj7 = 0 ;
7154 char *kwnames[] = {
7155 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7156 };
7157
248ed943 7158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
7159 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7160 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 7161 if (obj1) {
093d3ff1
RD
7162 {
7163 arg2 = (int)(SWIG_As_int(obj1));
7164 if (SWIG_arg_fail(2)) SWIG_fail;
7165 }
248ed943 7166 }
d14a1e28
RD
7167 if (obj2) {
7168 {
7169 arg3 = &temp3;
7170 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7171 }
7172 }
7173 if (obj3) {
7174 {
7175 arg4 = &temp4;
7176 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7177 }
7178 }
7179 if (obj4) {
7180 {
4d5c3d91
RD
7181 if (! PySequence_Check(obj4)) {
7182 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7183 SWIG_fail;
7184 }
7185 arg5 = new wxArrayString;
ae8162c8 7186 temp5 = true;
4d5c3d91
RD
7187 int i, len=PySequence_Length(obj4);
7188 for (i=0; i<len; i++) {
7189 PyObject* item = PySequence_GetItem(obj4, i);
7190#if wxUSE_UNICODE
7191 PyObject* str = PyObject_Unicode(item);
7192#else
7193 PyObject* str = PyObject_Str(item);
7194#endif
74a57fcd 7195 if (PyErr_Occurred()) SWIG_fail;
4d5c3d91
RD
7196 arg5->Add(Py2wxString(str));
7197 Py_DECREF(item);
7198 Py_DECREF(str);
7199 }
d14a1e28
RD
7200 }
7201 }
994141e6 7202 if (obj5) {
093d3ff1
RD
7203 {
7204 arg6 = (long)(SWIG_As_long(obj5));
7205 if (SWIG_arg_fail(6)) SWIG_fail;
7206 }
994141e6 7207 }
d14a1e28 7208 if (obj6) {
093d3ff1
RD
7209 {
7210 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
7211 if (SWIG_arg_fail(7)) SWIG_fail;
7212 if (arg7 == NULL) {
7213 SWIG_null_ref("wxValidator");
7214 }
7215 if (SWIG_arg_fail(7)) SWIG_fail;
d14a1e28
RD
7216 }
7217 }
7218 if (obj7) {
7219 {
4d5c3d91
RD
7220 arg8 = wxString_in_helper(obj7);
7221 if (arg8 == NULL) SWIG_fail;
ae8162c8 7222 temp8 = true;
d14a1e28
RD
7223 }
7224 }
7225 {
e3b71cb8 7226 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 7227 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 7228 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
d14a1e28
RD
7229
7230 wxPyEndAllowThreads(__tstate);
110da5b0 7231 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 7232 }
15afbcd0 7233 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
d14a1e28 7234 {
3adfb63b 7235 if (temp5) delete arg5;
d14a1e28
RD
7236 }
7237 {
7238 if (temp8)
4d5c3d91 7239 delete arg8;
d14a1e28
RD
7240 }
7241 return resultobj;
7242 fail:
7243 {
3adfb63b 7244 if (temp5) delete arg5;
d14a1e28
RD
7245 }
7246 {
7247 if (temp8)
4d5c3d91 7248 delete arg8;
d14a1e28
RD
7249 }
7250 return NULL;
7251}
7252
7253
c32bde28 7254static PyObject *_wrap_new_PreListBox(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7255 PyObject *resultobj;
7256 wxListBox *result;
7257 char *kwnames[] = {
7258 NULL
7259 };
7260
7261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListBox",kwnames)) goto fail;
7262 {
e3b71cb8 7263 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
7264 PyThreadState* __tstate = wxPyBeginAllowThreads();
7265 result = (wxListBox *)new wxListBox();
7266
7267 wxPyEndAllowThreads(__tstate);
110da5b0 7268 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 7269 }
15afbcd0 7270 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
d14a1e28
RD
7271 return resultobj;
7272 fail:
7273 return NULL;
7274}
7275
7276
c32bde28 7277static PyObject *_wrap_ListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7278 PyObject *resultobj;
7279 wxListBox *arg1 = (wxListBox *) 0 ;
7280 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 7281 int arg3 = (int) -1 ;
d14a1e28
RD
7282 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7283 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7284 wxSize const &arg5_defvalue = wxDefaultSize ;
7285 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4d5c3d91
RD
7286 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
7287 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
7288 long arg7 = (long) 0 ;
7289 wxValidator const &arg8_defvalue = wxDefaultValidator ;
7290 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
7291 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
7292 wxString *arg9 = (wxString *) &arg9_defvalue ;
d14a1e28
RD
7293 bool result;
7294 wxPoint temp4 ;
7295 wxSize temp5 ;
ae8162c8
RD
7296 bool temp6 = false ;
7297 bool temp9 = false ;
d14a1e28
RD
7298 PyObject * obj0 = 0 ;
7299 PyObject * obj1 = 0 ;
994141e6 7300 PyObject * obj2 = 0 ;
d14a1e28
RD
7301 PyObject * obj3 = 0 ;
7302 PyObject * obj4 = 0 ;
7303 PyObject * obj5 = 0 ;
994141e6 7304 PyObject * obj6 = 0 ;
d14a1e28
RD
7305 PyObject * obj7 = 0 ;
7306 PyObject * obj8 = 0 ;
7307 char *kwnames[] = {
7308 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7309 };
7310
248ed943 7311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
7312 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7313 if (SWIG_arg_fail(1)) SWIG_fail;
7314 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7315 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 7316 if (obj2) {
093d3ff1
RD
7317 {
7318 arg3 = (int)(SWIG_As_int(obj2));
7319 if (SWIG_arg_fail(3)) SWIG_fail;
7320 }
248ed943 7321 }
d14a1e28
RD
7322 if (obj3) {
7323 {
7324 arg4 = &temp4;
7325 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7326 }
7327 }
7328 if (obj4) {
7329 {
7330 arg5 = &temp5;
7331 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7332 }
7333 }
7334 if (obj5) {
7335 {
4d5c3d91
RD
7336 if (! PySequence_Check(obj5)) {
7337 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7338 SWIG_fail;
7339 }
7340 arg6 = new wxArrayString;
ae8162c8 7341 temp6 = true;
4d5c3d91
RD
7342 int i, len=PySequence_Length(obj5);
7343 for (i=0; i<len; i++) {
7344 PyObject* item = PySequence_GetItem(obj5, i);
7345#if wxUSE_UNICODE
7346 PyObject* str = PyObject_Unicode(item);
7347#else
7348 PyObject* str = PyObject_Str(item);
7349#endif
74a57fcd 7350 if (PyErr_Occurred()) SWIG_fail;
4d5c3d91
RD
7351 arg6->Add(Py2wxString(str));
7352 Py_DECREF(item);
7353 Py_DECREF(str);
7354 }
d14a1e28
RD
7355 }
7356 }
994141e6 7357 if (obj6) {
093d3ff1
RD
7358 {
7359 arg7 = (long)(SWIG_As_long(obj6));
7360 if (SWIG_arg_fail(7)) SWIG_fail;
7361 }
994141e6 7362 }
d14a1e28 7363 if (obj7) {
093d3ff1
RD
7364 {
7365 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
7366 if (SWIG_arg_fail(8)) SWIG_fail;
7367 if (arg8 == NULL) {
7368 SWIG_null_ref("wxValidator");
7369 }
7370 if (SWIG_arg_fail(8)) SWIG_fail;
d14a1e28
RD
7371 }
7372 }
7373 if (obj8) {
7374 {
4d5c3d91
RD
7375 arg9 = wxString_in_helper(obj8);
7376 if (arg9 == NULL) SWIG_fail;
ae8162c8 7377 temp9 = true;
d14a1e28
RD
7378 }
7379 }
7380 {
7381 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 7382 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
d14a1e28
RD
7383
7384 wxPyEndAllowThreads(__tstate);
7385 if (PyErr_Occurred()) SWIG_fail;
7386 }
4f89f6a3
RD
7387 {
7388 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7389 }
d14a1e28 7390 {
3adfb63b 7391 if (temp6) delete arg6;
d14a1e28
RD
7392 }
7393 {
7394 if (temp9)
4d5c3d91 7395 delete arg9;
d14a1e28
RD
7396 }
7397 return resultobj;
7398 fail:
7399 {
3adfb63b 7400 if (temp6) delete arg6;
d14a1e28
RD
7401 }
7402 {
7403 if (temp9)
4d5c3d91 7404 delete arg9;
d14a1e28
RD
7405 }
7406 return NULL;
7407}
7408
7409
c32bde28 7410static PyObject *_wrap_ListBox_Insert(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7411 PyObject *resultobj;
7412 wxListBox *arg1 = (wxListBox *) 0 ;
7413 wxString *arg2 = 0 ;
7414 int arg3 ;
7415 PyObject *arg4 = (PyObject *) NULL ;
ae8162c8 7416 bool temp2 = false ;
d14a1e28
RD
7417 PyObject * obj0 = 0 ;
7418 PyObject * obj1 = 0 ;
994141e6 7419 PyObject * obj2 = 0 ;
d14a1e28
RD
7420 PyObject * obj3 = 0 ;
7421 char *kwnames[] = {
7422 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
7423 };
7424
994141e6 7425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListBox_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
7426 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7427 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7428 {
7429 arg2 = wxString_in_helper(obj1);
7430 if (arg2 == NULL) SWIG_fail;
ae8162c8 7431 temp2 = true;
d14a1e28 7432 }
093d3ff1
RD
7433 {
7434 arg3 = (int)(SWIG_As_int(obj2));
7435 if (SWIG_arg_fail(3)) SWIG_fail;
7436 }
d14a1e28
RD
7437 if (obj3) {
7438 arg4 = obj3;
7439 }
7440 {
7441 PyThreadState* __tstate = wxPyBeginAllowThreads();
7442 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
7443
7444 wxPyEndAllowThreads(__tstate);
7445 if (PyErr_Occurred()) SWIG_fail;
7446 }
7447 Py_INCREF(Py_None); resultobj = Py_None;
7448 {
7449 if (temp2)
7450 delete arg2;
7451 }
7452 return resultobj;
7453 fail:
7454 {
7455 if (temp2)
7456 delete arg2;
7457 }
7458 return NULL;
7459}
7460
7461
c32bde28 7462static PyObject *_wrap_ListBox_InsertItems(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7463 PyObject *resultobj;
7464 wxListBox *arg1 = (wxListBox *) 0 ;
7465 wxArrayString *arg2 = 0 ;
7466 int arg3 ;
ae8162c8 7467 bool temp2 = false ;
d14a1e28
RD
7468 PyObject * obj0 = 0 ;
7469 PyObject * obj1 = 0 ;
994141e6 7470 PyObject * obj2 = 0 ;
d14a1e28
RD
7471 char *kwnames[] = {
7472 (char *) "self",(char *) "items",(char *) "pos", NULL
7473 };
7474
994141e6 7475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_InsertItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
7476 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7477 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7478 {
7479 if (! PySequence_Check(obj1)) {
7480 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7481 SWIG_fail;
7482 }
7483 arg2 = new wxArrayString;
ae8162c8 7484 temp2 = true;
d14a1e28
RD
7485 int i, len=PySequence_Length(obj1);
7486 for (i=0; i<len; i++) {
7487 PyObject* item = PySequence_GetItem(obj1, i);
7488#if wxUSE_UNICODE
7489 PyObject* str = PyObject_Unicode(item);
7490#else
7491 PyObject* str = PyObject_Str(item);
7492#endif
74a57fcd 7493 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7494 arg2->Add(Py2wxString(str));
7495 Py_DECREF(item);
7496 Py_DECREF(str);
7497 }
7498 }
093d3ff1
RD
7499 {
7500 arg3 = (int)(SWIG_As_int(obj2));
7501 if (SWIG_arg_fail(3)) SWIG_fail;
7502 }
d14a1e28
RD
7503 {
7504 PyThreadState* __tstate = wxPyBeginAllowThreads();
7505 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
7506
7507 wxPyEndAllowThreads(__tstate);
7508 if (PyErr_Occurred()) SWIG_fail;
7509 }
7510 Py_INCREF(Py_None); resultobj = Py_None;
7511 {
3adfb63b 7512 if (temp2) delete arg2;
d14a1e28
RD
7513 }
7514 return resultobj;
7515 fail:
7516 {
3adfb63b 7517 if (temp2) delete arg2;
d14a1e28
RD
7518 }
7519 return NULL;
7520}
7521
7522
c32bde28 7523static PyObject *_wrap_ListBox_Set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7524 PyObject *resultobj;
7525 wxListBox *arg1 = (wxListBox *) 0 ;
7526 wxArrayString *arg2 = 0 ;
ae8162c8 7527 bool temp2 = false ;
d14a1e28
RD
7528 PyObject * obj0 = 0 ;
7529 PyObject * obj1 = 0 ;
7530 char *kwnames[] = {
7531 (char *) "self",(char *) "items", NULL
7532 };
7533
7534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7535 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7536 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7537 {
7538 if (! PySequence_Check(obj1)) {
7539 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7540 SWIG_fail;
7541 }
7542 arg2 = new wxArrayString;
ae8162c8 7543 temp2 = true;
d14a1e28
RD
7544 int i, len=PySequence_Length(obj1);
7545 for (i=0; i<len; i++) {
7546 PyObject* item = PySequence_GetItem(obj1, i);
7547#if wxUSE_UNICODE
7548 PyObject* str = PyObject_Unicode(item);
7549#else
7550 PyObject* str = PyObject_Str(item);
7551#endif
74a57fcd 7552 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7553 arg2->Add(Py2wxString(str));
7554 Py_DECREF(item);
7555 Py_DECREF(str);
7556 }
7557 }
7558 {
7559 PyThreadState* __tstate = wxPyBeginAllowThreads();
7560 (arg1)->Set((wxArrayString const &)*arg2);
7561
7562 wxPyEndAllowThreads(__tstate);
7563 if (PyErr_Occurred()) SWIG_fail;
7564 }
7565 Py_INCREF(Py_None); resultobj = Py_None;
7566 {
3adfb63b 7567 if (temp2) delete arg2;
d14a1e28
RD
7568 }
7569 return resultobj;
7570 fail:
7571 {
3adfb63b 7572 if (temp2) delete arg2;
d14a1e28
RD
7573 }
7574 return NULL;
7575}
7576
7577
c32bde28 7578static PyObject *_wrap_ListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7579 PyObject *resultobj;
7580 wxListBox *arg1 = (wxListBox *) 0 ;
7581 int arg2 ;
7582 bool result;
7583 PyObject * obj0 = 0 ;
994141e6 7584 PyObject * obj1 = 0 ;
d14a1e28
RD
7585 char *kwnames[] = {
7586 (char *) "self",(char *) "n", NULL
7587 };
7588
994141e6 7589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7590 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7591 if (SWIG_arg_fail(1)) SWIG_fail;
7592 {
7593 arg2 = (int)(SWIG_As_int(obj1));
7594 if (SWIG_arg_fail(2)) SWIG_fail;
7595 }
d14a1e28
RD
7596 {
7597 PyThreadState* __tstate = wxPyBeginAllowThreads();
7598 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
7599
7600 wxPyEndAllowThreads(__tstate);
7601 if (PyErr_Occurred()) SWIG_fail;
7602 }
4f89f6a3
RD
7603 {
7604 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7605 }
d14a1e28
RD
7606 return resultobj;
7607 fail:
7608 return NULL;
7609}
7610
7611
c32bde28 7612static PyObject *_wrap_ListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7613 PyObject *resultobj;
7614 wxListBox *arg1 = (wxListBox *) 0 ;
7615 int arg2 ;
ae8162c8 7616 bool arg3 = (bool) true ;
d14a1e28 7617 PyObject * obj0 = 0 ;
994141e6 7618 PyObject * obj1 = 0 ;
d14a1e28
RD
7619 PyObject * obj2 = 0 ;
7620 char *kwnames[] = {
7621 (char *) "self",(char *) "n",(char *) "select", NULL
7622 };
7623
994141e6 7624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
7625 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7626 if (SWIG_arg_fail(1)) SWIG_fail;
7627 {
7628 arg2 = (int)(SWIG_As_int(obj1));
7629 if (SWIG_arg_fail(2)) SWIG_fail;
7630 }
d14a1e28 7631 if (obj2) {
093d3ff1
RD
7632 {
7633 arg3 = (bool)(SWIG_As_bool(obj2));
7634 if (SWIG_arg_fail(3)) SWIG_fail;
7635 }
d14a1e28
RD
7636 }
7637 {
7638 PyThreadState* __tstate = wxPyBeginAllowThreads();
7639 (arg1)->SetSelection(arg2,arg3);
7640
7641 wxPyEndAllowThreads(__tstate);
7642 if (PyErr_Occurred()) SWIG_fail;
7643 }
7644 Py_INCREF(Py_None); resultobj = Py_None;
7645 return resultobj;
7646 fail:
7647 return NULL;
7648}
7649
7650
c32bde28 7651static PyObject *_wrap_ListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7652 PyObject *resultobj;
7653 wxListBox *arg1 = (wxListBox *) 0 ;
7654 int arg2 ;
7655 PyObject * obj0 = 0 ;
994141e6 7656 PyObject * obj1 = 0 ;
d14a1e28
RD
7657 char *kwnames[] = {
7658 (char *) "self",(char *) "n", NULL
7659 };
7660
994141e6 7661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Select",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7662 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7663 if (SWIG_arg_fail(1)) SWIG_fail;
7664 {
7665 arg2 = (int)(SWIG_As_int(obj1));
7666 if (SWIG_arg_fail(2)) SWIG_fail;
7667 }
d14a1e28
RD
7668 {
7669 PyThreadState* __tstate = wxPyBeginAllowThreads();
7670 (arg1)->Select(arg2);
7671
7672 wxPyEndAllowThreads(__tstate);
7673 if (PyErr_Occurred()) SWIG_fail;
7674 }
7675 Py_INCREF(Py_None); resultobj = Py_None;
7676 return resultobj;
7677 fail:
7678 return NULL;
7679}
7680
7681
c32bde28 7682static PyObject *_wrap_ListBox_Deselect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7683 PyObject *resultobj;
7684 wxListBox *arg1 = (wxListBox *) 0 ;
7685 int arg2 ;
7686 PyObject * obj0 = 0 ;
994141e6 7687 PyObject * obj1 = 0 ;
d14a1e28
RD
7688 char *kwnames[] = {
7689 (char *) "self",(char *) "n", NULL
7690 };
7691
994141e6 7692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Deselect",kwnames,&obj0,&obj1)) 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
RD
7699 {
7700 PyThreadState* __tstate = wxPyBeginAllowThreads();
7701 (arg1)->Deselect(arg2);
7702
7703 wxPyEndAllowThreads(__tstate);
7704 if (PyErr_Occurred()) SWIG_fail;
7705 }
7706 Py_INCREF(Py_None); resultobj = Py_None;
7707 return resultobj;
7708 fail:
7709 return NULL;
7710}
7711
7712
c32bde28 7713static PyObject *_wrap_ListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7714 PyObject *resultobj;
7715 wxListBox *arg1 = (wxListBox *) 0 ;
7716 int arg2 = (int) -1 ;
7717 PyObject * obj0 = 0 ;
994141e6 7718 PyObject * obj1 = 0 ;
d14a1e28
RD
7719 char *kwnames[] = {
7720 (char *) "self",(char *) "itemToLeaveSelected", NULL
7721 };
7722
994141e6 7723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListBox_DeselectAll",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7724 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7725 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 7726 if (obj1) {
093d3ff1
RD
7727 {
7728 arg2 = (int)(SWIG_As_int(obj1));
7729 if (SWIG_arg_fail(2)) SWIG_fail;
7730 }
994141e6 7731 }
d14a1e28
RD
7732 {
7733 PyThreadState* __tstate = wxPyBeginAllowThreads();
7734 (arg1)->DeselectAll(arg2);
7735
7736 wxPyEndAllowThreads(__tstate);
7737 if (PyErr_Occurred()) SWIG_fail;
7738 }
7739 Py_INCREF(Py_None); resultobj = Py_None;
7740 return resultobj;
7741 fail:
7742 return NULL;
7743}
7744
7745
c32bde28 7746static PyObject *_wrap_ListBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7747 PyObject *resultobj;
7748 wxListBox *arg1 = (wxListBox *) 0 ;
7749 wxString *arg2 = 0 ;
ae8162c8 7750 bool arg3 = (bool) true ;
d14a1e28 7751 bool result;
ae8162c8 7752 bool temp2 = false ;
d14a1e28
RD
7753 PyObject * obj0 = 0 ;
7754 PyObject * obj1 = 0 ;
7755 PyObject * obj2 = 0 ;
7756 char *kwnames[] = {
7757 (char *) "self",(char *) "s",(char *) "select", NULL
7758 };
7759
7760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) 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;
d14a1e28
RD
7763 {
7764 arg2 = wxString_in_helper(obj1);
7765 if (arg2 == NULL) SWIG_fail;
ae8162c8 7766 temp2 = true;
d14a1e28
RD
7767 }
7768 if (obj2) {
093d3ff1
RD
7769 {
7770 arg3 = (bool)(SWIG_As_bool(obj2));
7771 if (SWIG_arg_fail(3)) SWIG_fail;
7772 }
d14a1e28
RD
7773 }
7774 {
7775 PyThreadState* __tstate = wxPyBeginAllowThreads();
7776 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
7777
7778 wxPyEndAllowThreads(__tstate);
7779 if (PyErr_Occurred()) SWIG_fail;
7780 }
4f89f6a3
RD
7781 {
7782 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7783 }
d14a1e28
RD
7784 {
7785 if (temp2)
7786 delete arg2;
7787 }
7788 return resultobj;
7789 fail:
7790 {
7791 if (temp2)
7792 delete arg2;
7793 }
7794 return NULL;
7795}
7796
7797
c32bde28 7798static PyObject *_wrap_ListBox_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7799 PyObject *resultobj;
7800 wxListBox *arg1 = (wxListBox *) 0 ;
7801 PyObject *result;
7802 PyObject * obj0 = 0 ;
7803 char *kwnames[] = {
7804 (char *) "self", NULL
7805 };
7806
7807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_GetSelections",kwnames,&obj0)) goto fail;
093d3ff1
RD
7808 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7809 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7810 {
7811 PyThreadState* __tstate = wxPyBeginAllowThreads();
7812 result = (PyObject *)wxListBox_GetSelections(arg1);
7813
7814 wxPyEndAllowThreads(__tstate);
7815 if (PyErr_Occurred()) SWIG_fail;
7816 }
7817 resultobj = result;
7818 return resultobj;
7819 fail:
7820 return NULL;
7821}
7822
7823
c32bde28 7824static PyObject *_wrap_ListBox_SetFirstItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7825 PyObject *resultobj;
7826 wxListBox *arg1 = (wxListBox *) 0 ;
7827 int arg2 ;
7828 PyObject * obj0 = 0 ;
994141e6 7829 PyObject * obj1 = 0 ;
d14a1e28
RD
7830 char *kwnames[] = {
7831 (char *) "self",(char *) "n", NULL
7832 };
7833
994141e6 7834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7835 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7836 if (SWIG_arg_fail(1)) SWIG_fail;
7837 {
7838 arg2 = (int)(SWIG_As_int(obj1));
7839 if (SWIG_arg_fail(2)) SWIG_fail;
7840 }
d14a1e28
RD
7841 {
7842 PyThreadState* __tstate = wxPyBeginAllowThreads();
7843 (arg1)->SetFirstItem(arg2);
7844
7845 wxPyEndAllowThreads(__tstate);
7846 if (PyErr_Occurred()) SWIG_fail;
7847 }
7848 Py_INCREF(Py_None); resultobj = Py_None;
7849 return resultobj;
7850 fail:
7851 return NULL;
7852}
7853
7854
c32bde28 7855static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7856 PyObject *resultobj;
7857 wxListBox *arg1 = (wxListBox *) 0 ;
7858 wxString *arg2 = 0 ;
ae8162c8 7859 bool temp2 = false ;
d14a1e28
RD
7860 PyObject * obj0 = 0 ;
7861 PyObject * obj1 = 0 ;
7862 char *kwnames[] = {
7863 (char *) "self",(char *) "s", NULL
7864 };
7865
7866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7867 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7868 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7869 {
7870 arg2 = wxString_in_helper(obj1);
7871 if (arg2 == NULL) SWIG_fail;
ae8162c8 7872 temp2 = true;
d14a1e28
RD
7873 }
7874 {
7875 PyThreadState* __tstate = wxPyBeginAllowThreads();
7876 (arg1)->SetFirstItem((wxString const &)*arg2);
7877
7878 wxPyEndAllowThreads(__tstate);
7879 if (PyErr_Occurred()) SWIG_fail;
7880 }
7881 Py_INCREF(Py_None); resultobj = Py_None;
7882 {
7883 if (temp2)
7884 delete arg2;
7885 }
7886 return resultobj;
7887 fail:
7888 {
7889 if (temp2)
7890 delete arg2;
7891 }
7892 return NULL;
7893}
7894
7895
c32bde28 7896static PyObject *_wrap_ListBox_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7897 PyObject *resultobj;
7898 wxListBox *arg1 = (wxListBox *) 0 ;
7899 int arg2 ;
7900 PyObject * obj0 = 0 ;
994141e6 7901 PyObject * obj1 = 0 ;
d14a1e28
RD
7902 char *kwnames[] = {
7903 (char *) "self",(char *) "n", NULL
7904 };
7905
994141e6 7906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7907 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7908 if (SWIG_arg_fail(1)) SWIG_fail;
7909 {
7910 arg2 = (int)(SWIG_As_int(obj1));
7911 if (SWIG_arg_fail(2)) SWIG_fail;
7912 }
d14a1e28
RD
7913 {
7914 PyThreadState* __tstate = wxPyBeginAllowThreads();
7915 (arg1)->EnsureVisible(arg2);
7916
7917 wxPyEndAllowThreads(__tstate);
7918 if (PyErr_Occurred()) SWIG_fail;
7919 }
7920 Py_INCREF(Py_None); resultobj = Py_None;
7921 return resultobj;
7922 fail:
7923 return NULL;
7924}
7925
7926
c32bde28 7927static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7928 PyObject *resultobj;
7929 wxListBox *arg1 = (wxListBox *) 0 ;
7930 wxString *arg2 = 0 ;
ae8162c8 7931 bool temp2 = false ;
d14a1e28
RD
7932 PyObject * obj0 = 0 ;
7933 PyObject * obj1 = 0 ;
7934 char *kwnames[] = {
7935 (char *) "self",(char *) "s", NULL
7936 };
7937
7938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7939 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7940 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7941 {
7942 arg2 = wxString_in_helper(obj1);
7943 if (arg2 == NULL) SWIG_fail;
ae8162c8 7944 temp2 = true;
d14a1e28
RD
7945 }
7946 {
7947 PyThreadState* __tstate = wxPyBeginAllowThreads();
7948 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
7949
7950 wxPyEndAllowThreads(__tstate);
7951 if (PyErr_Occurred()) SWIG_fail;
7952 }
7953 Py_INCREF(Py_None); resultobj = Py_None;
7954 {
7955 if (temp2)
7956 delete arg2;
7957 }
7958 return resultobj;
7959 fail:
7960 {
7961 if (temp2)
7962 delete arg2;
7963 }
7964 return NULL;
7965}
7966
7967
c32bde28 7968static PyObject *_wrap_ListBox_IsSorted(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7969 PyObject *resultobj;
7970 wxListBox *arg1 = (wxListBox *) 0 ;
7971 bool result;
7972 PyObject * obj0 = 0 ;
7973 char *kwnames[] = {
7974 (char *) "self", NULL
7975 };
7976
7977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_IsSorted",kwnames,&obj0)) goto fail;
093d3ff1
RD
7978 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7979 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7980 {
7981 PyThreadState* __tstate = wxPyBeginAllowThreads();
7982 result = (bool)((wxListBox const *)arg1)->IsSorted();
7983
7984 wxPyEndAllowThreads(__tstate);
7985 if (PyErr_Occurred()) SWIG_fail;
7986 }
4f89f6a3
RD
7987 {
7988 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7989 }
d14a1e28
RD
7990 return resultobj;
7991 fail:
7992 return NULL;
7993}
7994
7995
c32bde28 7996static PyObject *_wrap_ListBox_SetItemForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
c3eb6258
RD
7997 PyObject *resultobj;
7998 wxListBox *arg1 = (wxListBox *) 0 ;
7999 int arg2 ;
8000 wxColour *arg3 = 0 ;
8001 wxColour temp3 ;
8002 PyObject * obj0 = 0 ;
8003 PyObject * obj1 = 0 ;
8004 PyObject * obj2 = 0 ;
8005 char *kwnames[] = {
8006 (char *) "self",(char *) "item",(char *) "c", NULL
8007 };
8008
8009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8010 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8011 if (SWIG_arg_fail(1)) SWIG_fail;
8012 {
8013 arg2 = (int)(SWIG_As_int(obj1));
8014 if (SWIG_arg_fail(2)) SWIG_fail;
8015 }
c3eb6258
RD
8016 {
8017 arg3 = &temp3;
8018 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
8019 }
8020 {
8021 PyThreadState* __tstate = wxPyBeginAllowThreads();
8022 wxListBox_SetItemForegroundColour(arg1,arg2,(wxColour const &)*arg3);
8023
8024 wxPyEndAllowThreads(__tstate);
8025 if (PyErr_Occurred()) SWIG_fail;
8026 }
8027 Py_INCREF(Py_None); resultobj = Py_None;
8028 return resultobj;
8029 fail:
8030 return NULL;
8031}
8032
8033
c32bde28 8034static PyObject *_wrap_ListBox_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
c3eb6258
RD
8035 PyObject *resultobj;
8036 wxListBox *arg1 = (wxListBox *) 0 ;
8037 int arg2 ;
8038 wxColour *arg3 = 0 ;
8039 wxColour temp3 ;
8040 PyObject * obj0 = 0 ;
8041 PyObject * obj1 = 0 ;
8042 PyObject * obj2 = 0 ;
8043 char *kwnames[] = {
8044 (char *) "self",(char *) "item",(char *) "c", NULL
8045 };
8046
8047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8048 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8049 if (SWIG_arg_fail(1)) SWIG_fail;
8050 {
8051 arg2 = (int)(SWIG_As_int(obj1));
8052 if (SWIG_arg_fail(2)) SWIG_fail;
8053 }
c3eb6258
RD
8054 {
8055 arg3 = &temp3;
8056 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
8057 }
8058 {
8059 PyThreadState* __tstate = wxPyBeginAllowThreads();
8060 wxListBox_SetItemBackgroundColour(arg1,arg2,(wxColour const &)*arg3);
8061
8062 wxPyEndAllowThreads(__tstate);
8063 if (PyErr_Occurred()) SWIG_fail;
8064 }
8065 Py_INCREF(Py_None); resultobj = Py_None;
8066 return resultobj;
8067 fail:
8068 return NULL;
8069}
8070
8071
c32bde28 8072static PyObject *_wrap_ListBox_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
c3eb6258
RD
8073 PyObject *resultobj;
8074 wxListBox *arg1 = (wxListBox *) 0 ;
8075 int arg2 ;
8076 wxFont *arg3 = 0 ;
8077 PyObject * obj0 = 0 ;
8078 PyObject * obj1 = 0 ;
8079 PyObject * obj2 = 0 ;
8080 char *kwnames[] = {
8081 (char *) "self",(char *) "item",(char *) "f", NULL
8082 };
8083
8084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8085 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8086 if (SWIG_arg_fail(1)) SWIG_fail;
8087 {
8088 arg2 = (int)(SWIG_As_int(obj1));
8089 if (SWIG_arg_fail(2)) SWIG_fail;
8090 }
8091 {
8092 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
8093 if (SWIG_arg_fail(3)) SWIG_fail;
8094 if (arg3 == NULL) {
8095 SWIG_null_ref("wxFont");
8096 }
8097 if (SWIG_arg_fail(3)) SWIG_fail;
c3eb6258
RD
8098 }
8099 {
8100 PyThreadState* __tstate = wxPyBeginAllowThreads();
8101 wxListBox_SetItemFont(arg1,arg2,(wxFont const &)*arg3);
8102
8103 wxPyEndAllowThreads(__tstate);
8104 if (PyErr_Occurred()) SWIG_fail;
8105 }
8106 Py_INCREF(Py_None); resultobj = Py_None;
8107 return resultobj;
8108 fail:
8109 return NULL;
8110}
8111
8112
c32bde28 8113static PyObject *_wrap_ListBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
74a57fcd 8114 PyObject *resultobj;
093d3ff1 8115 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
74a57fcd
RD
8116 wxVisualAttributes result;
8117 PyObject * obj0 = 0 ;
8118 char *kwnames[] = {
8119 (char *) "variant", NULL
8120 };
8121
8122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
8123 if (obj0) {
093d3ff1
RD
8124 {
8125 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
8126 if (SWIG_arg_fail(1)) SWIG_fail;
8127 }
74a57fcd
RD
8128 }
8129 {
110da5b0 8130 if (!wxPyCheckForApp()) SWIG_fail;
74a57fcd
RD
8131 PyThreadState* __tstate = wxPyBeginAllowThreads();
8132 result = wxListBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
8133
8134 wxPyEndAllowThreads(__tstate);
dfbb5885 8135 if (PyErr_Occurred()) SWIG_fail;
74a57fcd
RD
8136 }
8137 {
8138 wxVisualAttributes * resultptr;
093d3ff1 8139 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
74a57fcd
RD
8140 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
8141 }
8142 return resultobj;
8143 fail:
8144 return NULL;
8145}
8146
8147
c32bde28 8148static PyObject * ListBox_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
8149 PyObject *obj;
8150 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8151 SWIG_TypeClientData(SWIGTYPE_p_wxListBox, obj);
8152 Py_INCREF(obj);
8153 return Py_BuildValue((char *)"");
8154}
c32bde28 8155static PyObject *_wrap_new_CheckListBox(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8156 PyObject *resultobj;
8157 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 8158 int arg2 = (int) -1 ;
d14a1e28
RD
8159 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8160 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8161 wxSize const &arg4_defvalue = wxDefaultSize ;
8162 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4d5c3d91
RD
8163 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
8164 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
8165 long arg6 = (long) 0 ;
8166 wxValidator const &arg7_defvalue = wxDefaultValidator ;
8167 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
8168 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
8169 wxString *arg8 = (wxString *) &arg8_defvalue ;
d14a1e28
RD
8170 wxCheckListBox *result;
8171 wxPoint temp3 ;
8172 wxSize temp4 ;
ae8162c8
RD
8173 bool temp5 = false ;
8174 bool temp8 = false ;
d14a1e28 8175 PyObject * obj0 = 0 ;
994141e6 8176 PyObject * obj1 = 0 ;
d14a1e28
RD
8177 PyObject * obj2 = 0 ;
8178 PyObject * obj3 = 0 ;
8179 PyObject * obj4 = 0 ;
994141e6 8180 PyObject * obj5 = 0 ;
d14a1e28
RD
8181 PyObject * obj6 = 0 ;
8182 PyObject * obj7 = 0 ;
8183 char *kwnames[] = {
8184 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8185 };
8186
248ed943 8187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
8188 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8189 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 8190 if (obj1) {
093d3ff1
RD
8191 {
8192 arg2 = (int)(SWIG_As_int(obj1));
8193 if (SWIG_arg_fail(2)) SWIG_fail;
8194 }
248ed943 8195 }
d14a1e28
RD
8196 if (obj2) {
8197 {
8198 arg3 = &temp3;
8199 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8200 }
8201 }
8202 if (obj3) {
8203 {
8204 arg4 = &temp4;
8205 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8206 }
8207 }
8208 if (obj4) {
8209 {
4d5c3d91
RD
8210 if (! PySequence_Check(obj4)) {
8211 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
8212 SWIG_fail;
8213 }
8214 arg5 = new wxArrayString;
ae8162c8 8215 temp5 = true;
4d5c3d91
RD
8216 int i, len=PySequence_Length(obj4);
8217 for (i=0; i<len; i++) {
8218 PyObject* item = PySequence_GetItem(obj4, i);
8219#if wxUSE_UNICODE
8220 PyObject* str = PyObject_Unicode(item);
8221#else
8222 PyObject* str = PyObject_Str(item);
8223#endif
74a57fcd 8224 if (PyErr_Occurred()) SWIG_fail;
4d5c3d91
RD
8225 arg5->Add(Py2wxString(str));
8226 Py_DECREF(item);
8227 Py_DECREF(str);
8228 }
d14a1e28
RD
8229 }
8230 }
994141e6 8231 if (obj5) {
093d3ff1
RD
8232 {
8233 arg6 = (long)(SWIG_As_long(obj5));
8234 if (SWIG_arg_fail(6)) SWIG_fail;
8235 }
994141e6 8236 }
d14a1e28 8237 if (obj6) {
093d3ff1
RD
8238 {
8239 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
8240 if (SWIG_arg_fail(7)) SWIG_fail;
8241 if (arg7 == NULL) {
8242 SWIG_null_ref("wxValidator");
8243 }
8244 if (SWIG_arg_fail(7)) SWIG_fail;
d14a1e28
RD
8245 }
8246 }
8247 if (obj7) {
8248 {
4d5c3d91
RD
8249 arg8 = wxString_in_helper(obj7);
8250 if (arg8 == NULL) SWIG_fail;
ae8162c8 8251 temp8 = true;
d14a1e28
RD
8252 }
8253 }
8254 {
e3b71cb8 8255 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 8256 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 8257 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
d14a1e28
RD
8258
8259 wxPyEndAllowThreads(__tstate);
110da5b0 8260 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 8261 }
15afbcd0 8262 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
d14a1e28 8263 {
3adfb63b 8264 if (temp5) delete arg5;
d14a1e28
RD
8265 }
8266 {
8267 if (temp8)
4d5c3d91 8268 delete arg8;
d14a1e28
RD
8269 }
8270 return resultobj;
8271 fail:
8272 {
3adfb63b 8273 if (temp5) delete arg5;
d14a1e28
RD
8274 }
8275 {
8276 if (temp8)
4d5c3d91 8277 delete arg8;
d14a1e28
RD
8278 }
8279 return NULL;
8280}
8281
8282
c32bde28 8283static PyObject *_wrap_new_PreCheckListBox(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8284 PyObject *resultobj;
8285 wxCheckListBox *result;
8286 char *kwnames[] = {
8287 NULL
8288 };
8289
8290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckListBox",kwnames)) goto fail;
8291 {
e3b71cb8 8292 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
8293 PyThreadState* __tstate = wxPyBeginAllowThreads();
8294 result = (wxCheckListBox *)new wxCheckListBox();
8295
8296 wxPyEndAllowThreads(__tstate);
110da5b0 8297 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 8298 }
15afbcd0 8299 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
d14a1e28
RD
8300 return resultobj;
8301 fail:
8302 return NULL;
8303}
8304
8305
c32bde28 8306static PyObject *_wrap_CheckListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8307 PyObject *resultobj;
8308 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8309 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 8310 int arg3 = (int) -1 ;
d14a1e28
RD
8311 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8312 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8313 wxSize const &arg5_defvalue = wxDefaultSize ;
8314 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4d5c3d91
RD
8315 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
8316 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
8317 long arg7 = (long) 0 ;
8318 wxValidator const &arg8_defvalue = wxDefaultValidator ;
8319 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
8320 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
8321 wxString *arg9 = (wxString *) &arg9_defvalue ;
d14a1e28
RD
8322 bool result;
8323 wxPoint temp4 ;
8324 wxSize temp5 ;
ae8162c8
RD
8325 bool temp6 = false ;
8326 bool temp9 = false ;
d14a1e28
RD
8327 PyObject * obj0 = 0 ;
8328 PyObject * obj1 = 0 ;
994141e6 8329 PyObject * obj2 = 0 ;
d14a1e28
RD
8330 PyObject * obj3 = 0 ;
8331 PyObject * obj4 = 0 ;
8332 PyObject * obj5 = 0 ;
994141e6 8333 PyObject * obj6 = 0 ;
d14a1e28
RD
8334 PyObject * obj7 = 0 ;
8335 PyObject * obj8 = 0 ;
8336 char *kwnames[] = {
8337 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8338 };
8339
248ed943 8340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
8341 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8342 if (SWIG_arg_fail(1)) SWIG_fail;
8343 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8344 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 8345 if (obj2) {
093d3ff1
RD
8346 {
8347 arg3 = (int)(SWIG_As_int(obj2));
8348 if (SWIG_arg_fail(3)) SWIG_fail;
8349 }
248ed943 8350 }
d14a1e28
RD
8351 if (obj3) {
8352 {
8353 arg4 = &temp4;
8354 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8355 }
8356 }
8357 if (obj4) {
8358 {
8359 arg5 = &temp5;
8360 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8361 }
8362 }
8363 if (obj5) {
8364 {
4d5c3d91
RD
8365 if (! PySequence_Check(obj5)) {
8366 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
8367 SWIG_fail;
8368 }
8369 arg6 = new wxArrayString;
ae8162c8 8370 temp6 = true;
4d5c3d91
RD
8371 int i, len=PySequence_Length(obj5);
8372 for (i=0; i<len; i++) {
8373 PyObject* item = PySequence_GetItem(obj5, i);
8374#if wxUSE_UNICODE
8375 PyObject* str = PyObject_Unicode(item);
8376#else
8377 PyObject* str = PyObject_Str(item);
8378#endif
74a57fcd 8379 if (PyErr_Occurred()) SWIG_fail;
4d5c3d91
RD
8380 arg6->Add(Py2wxString(str));
8381 Py_DECREF(item);
8382 Py_DECREF(str);
8383 }
d14a1e28
RD
8384 }
8385 }
994141e6 8386 if (obj6) {
093d3ff1
RD
8387 {
8388 arg7 = (long)(SWIG_As_long(obj6));
8389 if (SWIG_arg_fail(7)) SWIG_fail;
8390 }
994141e6 8391 }
d14a1e28 8392 if (obj7) {
093d3ff1
RD
8393 {
8394 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
8395 if (SWIG_arg_fail(8)) SWIG_fail;
8396 if (arg8 == NULL) {
8397 SWIG_null_ref("wxValidator");
8398 }
8399 if (SWIG_arg_fail(8)) SWIG_fail;
d14a1e28
RD
8400 }
8401 }
8402 if (obj8) {
8403 {
4d5c3d91
RD
8404 arg9 = wxString_in_helper(obj8);
8405 if (arg9 == NULL) SWIG_fail;
ae8162c8 8406 temp9 = true;
d14a1e28
RD
8407 }
8408 }
8409 {
8410 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 8411 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
d14a1e28
RD
8412
8413 wxPyEndAllowThreads(__tstate);
8414 if (PyErr_Occurred()) SWIG_fail;
8415 }
4f89f6a3
RD
8416 {
8417 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8418 }
d14a1e28 8419 {
3adfb63b 8420 if (temp6) delete arg6;
d14a1e28
RD
8421 }
8422 {
8423 if (temp9)
4d5c3d91 8424 delete arg9;
d14a1e28
RD
8425 }
8426 return resultobj;
8427 fail:
8428 {
3adfb63b 8429 if (temp6) delete arg6;
d14a1e28
RD
8430 }
8431 {
8432 if (temp9)
4d5c3d91 8433 delete arg9;
d14a1e28
RD
8434 }
8435 return NULL;
8436}
8437
8438
c32bde28 8439static PyObject *_wrap_CheckListBox_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8440 PyObject *resultobj;
8441 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8442 int arg2 ;
8443 bool result;
8444 PyObject * obj0 = 0 ;
994141e6 8445 PyObject * obj1 = 0 ;
d14a1e28
RD
8446 char *kwnames[] = {
8447 (char *) "self",(char *) "index", NULL
8448 };
8449
994141e6 8450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_IsChecked",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8451 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8452 if (SWIG_arg_fail(1)) SWIG_fail;
8453 {
8454 arg2 = (int)(SWIG_As_int(obj1));
8455 if (SWIG_arg_fail(2)) SWIG_fail;
8456 }
d14a1e28
RD
8457 {
8458 PyThreadState* __tstate = wxPyBeginAllowThreads();
8459 result = (bool)(arg1)->IsChecked(arg2);
8460
8461 wxPyEndAllowThreads(__tstate);
8462 if (PyErr_Occurred()) SWIG_fail;
8463 }
4f89f6a3
RD
8464 {
8465 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8466 }
d14a1e28
RD
8467 return resultobj;
8468 fail:
8469 return NULL;
8470}
8471
8472
c32bde28 8473static PyObject *_wrap_CheckListBox_Check(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8474 PyObject *resultobj;
8475 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8476 int arg2 ;
ae8162c8 8477 int arg3 = (int) true ;
d14a1e28 8478 PyObject * obj0 = 0 ;
994141e6
RD
8479 PyObject * obj1 = 0 ;
8480 PyObject * obj2 = 0 ;
d14a1e28
RD
8481 char *kwnames[] = {
8482 (char *) "self",(char *) "index",(char *) "check", NULL
8483 };
8484
994141e6 8485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:CheckListBox_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8486 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8487 if (SWIG_arg_fail(1)) SWIG_fail;
8488 {
8489 arg2 = (int)(SWIG_As_int(obj1));
8490 if (SWIG_arg_fail(2)) SWIG_fail;
8491 }
994141e6 8492 if (obj2) {
093d3ff1
RD
8493 {
8494 arg3 = (int)(SWIG_As_int(obj2));
8495 if (SWIG_arg_fail(3)) SWIG_fail;
8496 }
994141e6 8497 }
d14a1e28
RD
8498 {
8499 PyThreadState* __tstate = wxPyBeginAllowThreads();
8500 (arg1)->Check(arg2,arg3);
8501
8502 wxPyEndAllowThreads(__tstate);
8503 if (PyErr_Occurred()) SWIG_fail;
8504 }
8505 Py_INCREF(Py_None); resultobj = Py_None;
8506 return resultobj;
8507 fail:
8508 return NULL;
8509}
8510
8511
c32bde28 8512static PyObject *_wrap_CheckListBox_GetItemHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8513 PyObject *resultobj;
8514 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8515 int result;
8516 PyObject * obj0 = 0 ;
8517 char *kwnames[] = {
8518 (char *) "self", NULL
8519 };
8520
8521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckListBox_GetItemHeight",kwnames,&obj0)) goto fail;
093d3ff1
RD
8522 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8523 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8524 {
8525 PyThreadState* __tstate = wxPyBeginAllowThreads();
8526 result = (int)(arg1)->GetItemHeight();
8527
8528 wxPyEndAllowThreads(__tstate);
8529 if (PyErr_Occurred()) SWIG_fail;
8530 }
093d3ff1
RD
8531 {
8532 resultobj = SWIG_From_int((int)(result));
8533 }
d14a1e28
RD
8534 return resultobj;
8535 fail:
8536 return NULL;
8537}
8538
8539
c32bde28 8540static PyObject *_wrap_CheckListBox_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8541 PyObject *resultobj;
8542 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8543 wxPoint *arg2 = 0 ;
8544 int result;
8545 wxPoint temp2 ;
8546 PyObject * obj0 = 0 ;
8547 PyObject * obj1 = 0 ;
8548 char *kwnames[] = {
8549 (char *) "self",(char *) "pt", NULL
8550 };
8551
8552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_HitTest",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8553 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8554 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8555 {
8556 arg2 = &temp2;
8557 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8558 }
8559 {
8560 PyThreadState* __tstate = wxPyBeginAllowThreads();
8561 result = (int)((wxCheckListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
8562
8563 wxPyEndAllowThreads(__tstate);
8564 if (PyErr_Occurred()) SWIG_fail;
8565 }
093d3ff1
RD
8566 {
8567 resultobj = SWIG_From_int((int)(result));
8568 }
d14a1e28
RD
8569 return resultobj;
8570 fail:
8571 return NULL;
8572}
8573
8574
c32bde28 8575static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8576 PyObject *resultobj;
8577 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
e811c8ce
RD
8578 int arg2 ;
8579 int arg3 ;
d14a1e28
RD
8580 int result;
8581 PyObject * obj0 = 0 ;
994141e6
RD
8582 PyObject * obj1 = 0 ;
8583 PyObject * obj2 = 0 ;
d14a1e28
RD
8584 char *kwnames[] = {
8585 (char *) "self",(char *) "x",(char *) "y", NULL
8586 };
8587
994141e6 8588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:CheckListBox_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8589 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8590 if (SWIG_arg_fail(1)) SWIG_fail;
8591 {
8592 arg2 = (int)(SWIG_As_int(obj1));
8593 if (SWIG_arg_fail(2)) SWIG_fail;
8594 }
8595 {
8596 arg3 = (int)(SWIG_As_int(obj2));
8597 if (SWIG_arg_fail(3)) SWIG_fail;
8598 }
d14a1e28
RD
8599 {
8600 PyThreadState* __tstate = wxPyBeginAllowThreads();
8601 result = (int)((wxCheckListBox const *)arg1)->HitTest(arg2,arg3);
8602
8603 wxPyEndAllowThreads(__tstate);
8604 if (PyErr_Occurred()) SWIG_fail;
8605 }
093d3ff1
RD
8606 {
8607 resultobj = SWIG_From_int((int)(result));
8608 }
d14a1e28
RD
8609 return resultobj;
8610 fail:
8611 return NULL;
8612}
8613
8614
c32bde28 8615static PyObject * CheckListBox_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
8616 PyObject *obj;
8617 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8618 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox, obj);
8619 Py_INCREF(obj);
8620 return Py_BuildValue((char *)"");
8621}
c32bde28 8622static int _wrap_TextCtrlNameStr_set(PyObject *) {
b2dc1044
RD
8623 PyErr_SetString(PyExc_TypeError,"Variable TextCtrlNameStr is read-only.");
8624 return 1;
8625}
8626
8627
093d3ff1 8628static PyObject *_wrap_TextCtrlNameStr_get(void) {
b2dc1044
RD
8629 PyObject *pyobj;
8630
8631 {
8632#if wxUSE_UNICODE
8633 pyobj = PyUnicode_FromWideChar((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
8634#else
8635 pyobj = PyString_FromStringAndSize((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
8636#endif
8637 }
8638 return pyobj;
8639}
8640
8641
c32bde28 8642static PyObject *_wrap_new_TextAttr(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 8643 PyObject *resultobj;
908b74cd
RD
8644 wxColour const &arg1_defvalue = wxNullColour ;
8645 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
d14a1e28
RD
8646 wxColour const &arg2_defvalue = wxNullColour ;
8647 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
8648 wxFont const &arg3_defvalue = wxNullFont ;
8649 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
093d3ff1 8650 wxTextAttrAlignment arg4 = (wxTextAttrAlignment) wxTEXT_ALIGNMENT_DEFAULT ;
d14a1e28
RD
8651 wxTextAttr *result;
8652 wxColour temp1 ;
8653 wxColour temp2 ;
8654 PyObject * obj0 = 0 ;
8655 PyObject * obj1 = 0 ;
8656 PyObject * obj2 = 0 ;
994141e6 8657 PyObject * obj3 = 0 ;
908b74cd
RD
8658 char *kwnames[] = {
8659 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
8660 };
d14a1e28 8661
908b74cd
RD
8662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TextAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8663 if (obj0) {
8664 {
8665 arg1 = &temp1;
8666 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
8667 }
d14a1e28
RD
8668 }
8669 if (obj1) {
8670 {
8671 arg2 = &temp2;
8672 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8673 }
8674 }
8675 if (obj2) {
093d3ff1
RD
8676 {
8677 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
8678 if (SWIG_arg_fail(3)) SWIG_fail;
8679 if (arg3 == NULL) {
8680 SWIG_null_ref("wxFont");
8681 }
8682 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
8683 }
8684 }
994141e6 8685 if (obj3) {
093d3ff1
RD
8686 {
8687 arg4 = (wxTextAttrAlignment)(SWIG_As_int(obj3));
8688 if (SWIG_arg_fail(4)) SWIG_fail;
8689 }
994141e6 8690 }
d14a1e28
RD
8691 {
8692 PyThreadState* __tstate = wxPyBeginAllowThreads();
8693 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,(wxTextAttrAlignment )arg4);
8694
8695 wxPyEndAllowThreads(__tstate);
8696 if (PyErr_Occurred()) SWIG_fail;
8697 }
15afbcd0 8698 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 1);
d14a1e28
RD
8699 return resultobj;
8700 fail:
8701 return NULL;
8702}
8703
8704
c32bde28 8705static PyObject *_wrap_delete_TextAttr(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8706 PyObject *resultobj;
8707 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8708 PyObject * obj0 = 0 ;
8709 char *kwnames[] = {
8710 (char *) "self", NULL
8711 };
8712
994141e6 8713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TextAttr",kwnames,&obj0)) goto fail;
093d3ff1
RD
8714 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8715 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8716 {
8717 PyThreadState* __tstate = wxPyBeginAllowThreads();
994141e6 8718 delete arg1;
d14a1e28
RD
8719
8720 wxPyEndAllowThreads(__tstate);
8721 if (PyErr_Occurred()) SWIG_fail;
8722 }
8723 Py_INCREF(Py_None); resultobj = Py_None;
8724 return resultobj;
8725 fail:
8726 return NULL;
8727}
8728
8729
c32bde28 8730static PyObject *_wrap_TextAttr_Init(PyObject *, PyObject *args, PyObject *kwargs) {
994141e6
RD
8731 PyObject *resultobj;
8732 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8733 PyObject * obj0 = 0 ;
8734 char *kwnames[] = {
8735 (char *) "self", NULL
8736 };
8737
8738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_Init",kwnames,&obj0)) goto fail;
093d3ff1
RD
8739 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8740 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6
RD
8741 {
8742 PyThreadState* __tstate = wxPyBeginAllowThreads();
8743 (arg1)->Init();
8744
8745 wxPyEndAllowThreads(__tstate);
8746 if (PyErr_Occurred()) SWIG_fail;
8747 }
8748 Py_INCREF(Py_None); resultobj = Py_None;
8749 return resultobj;
8750 fail:
8751 return NULL;
8752}
8753
8754
c32bde28 8755static PyObject *_wrap_TextAttr_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8756 PyObject *resultobj;
8757 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8758 wxColour *arg2 = 0 ;
8759 wxColour temp2 ;
8760 PyObject * obj0 = 0 ;
8761 PyObject * obj1 = 0 ;
8762 char *kwnames[] = {
8763 (char *) "self",(char *) "colText", NULL
8764 };
8765
8766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8767 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8768 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8769 {
8770 arg2 = &temp2;
8771 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8772 }
8773 {
8774 PyThreadState* __tstate = wxPyBeginAllowThreads();
8775 (arg1)->SetTextColour((wxColour const &)*arg2);
8776
8777 wxPyEndAllowThreads(__tstate);
8778 if (PyErr_Occurred()) SWIG_fail;
8779 }
8780 Py_INCREF(Py_None); resultobj = Py_None;
8781 return resultobj;
8782 fail:
8783 return NULL;
8784}
8785
8786
c32bde28 8787static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8788 PyObject *resultobj;
8789 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8790 wxColour *arg2 = 0 ;
8791 wxColour temp2 ;
8792 PyObject * obj0 = 0 ;
8793 PyObject * obj1 = 0 ;
8794 char *kwnames[] = {
8795 (char *) "self",(char *) "colBack", NULL
8796 };
8797
8798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8799 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8800 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8801 {
8802 arg2 = &temp2;
8803 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8804 }
8805 {
8806 PyThreadState* __tstate = wxPyBeginAllowThreads();
8807 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
8808
8809 wxPyEndAllowThreads(__tstate);
8810 if (PyErr_Occurred()) SWIG_fail;
8811 }
8812 Py_INCREF(Py_None); resultobj = Py_None;
8813 return resultobj;
8814 fail:
8815 return NULL;
8816}
8817
8818
c32bde28 8819static PyObject *_wrap_TextAttr_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8820 PyObject *resultobj;
8821 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8822 wxFont *arg2 = 0 ;
8823 long arg3 = (long) wxTEXT_ATTR_FONT ;
8824 PyObject * obj0 = 0 ;
8825 PyObject * obj1 = 0 ;
994141e6 8826 PyObject * obj2 = 0 ;
d14a1e28
RD
8827 char *kwnames[] = {
8828 (char *) "self",(char *) "font",(char *) "flags", NULL
8829 };
8830
994141e6 8831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8832 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8833 if (SWIG_arg_fail(1)) SWIG_fail;
8834 {
8835 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
8836 if (SWIG_arg_fail(2)) SWIG_fail;
8837 if (arg2 == NULL) {
8838 SWIG_null_ref("wxFont");
8839 }
8840 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 8841 }
994141e6 8842 if (obj2) {
093d3ff1
RD
8843 {
8844 arg3 = (long)(SWIG_As_long(obj2));
8845 if (SWIG_arg_fail(3)) SWIG_fail;
8846 }
994141e6 8847 }
d14a1e28
RD
8848 {
8849 PyThreadState* __tstate = wxPyBeginAllowThreads();
8850 (arg1)->SetFont((wxFont const &)*arg2,arg3);
8851
8852 wxPyEndAllowThreads(__tstate);
8853 if (PyErr_Occurred()) SWIG_fail;
8854 }
8855 Py_INCREF(Py_None); resultobj = Py_None;
8856 return resultobj;
8857 fail:
8858 return NULL;
8859}
8860
8861
c32bde28 8862static PyObject *_wrap_TextAttr_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8863 PyObject *resultobj;
8864 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
093d3ff1 8865 wxTextAttrAlignment arg2 ;
d14a1e28 8866 PyObject * obj0 = 0 ;
994141e6 8867 PyObject * obj1 = 0 ;
d14a1e28
RD
8868 char *kwnames[] = {
8869 (char *) "self",(char *) "alignment", NULL
8870 };
8871
994141e6 8872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8873 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8874 if (SWIG_arg_fail(1)) SWIG_fail;
8875 {
8876 arg2 = (wxTextAttrAlignment)(SWIG_As_int(obj1));
8877 if (SWIG_arg_fail(2)) SWIG_fail;
8878 }
d14a1e28
RD
8879 {
8880 PyThreadState* __tstate = wxPyBeginAllowThreads();
8881 (arg1)->SetAlignment((wxTextAttrAlignment )arg2);
8882
8883 wxPyEndAllowThreads(__tstate);
8884 if (PyErr_Occurred()) SWIG_fail;
8885 }
8886 Py_INCREF(Py_None); resultobj = Py_None;
8887 return resultobj;
8888 fail:
8889 return NULL;
8890}
8891
8892
c32bde28 8893static PyObject *_wrap_TextAttr_SetTabs(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8894 PyObject *resultobj;
8895 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8896 wxArrayInt *arg2 = 0 ;
ae8162c8 8897 bool temp2 = false ;
d14a1e28
RD
8898 PyObject * obj0 = 0 ;
8899 PyObject * obj1 = 0 ;
8900 char *kwnames[] = {
8901 (char *) "self",(char *) "tabs", NULL
8902 };
8903
8904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8905 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8906 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8907 {
8908 if (! PySequence_Check(obj1)) {
8909 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
8910 SWIG_fail;
8911 }
8912 arg2 = new wxArrayInt;
ae8162c8 8913 temp2 = true;
d14a1e28
RD
8914 int i, len=PySequence_Length(obj1);
8915 for (i=0; i<len; i++) {
8916 PyObject* item = PySequence_GetItem(obj1, i);
8917 PyObject* number = PyNumber_Int(item);
8918 arg2->Add(PyInt_AS_LONG(number));
8919 Py_DECREF(item);
8920 Py_DECREF(number);
8921 }
8922 }
8923 {
8924 PyThreadState* __tstate = wxPyBeginAllowThreads();
8925 (arg1)->SetTabs((wxArrayInt const &)*arg2);
8926
8927 wxPyEndAllowThreads(__tstate);
8928 if (PyErr_Occurred()) SWIG_fail;
8929 }
8930 Py_INCREF(Py_None); resultobj = Py_None;
8931 {
3adfb63b 8932 if (temp2) delete arg2;
d14a1e28
RD
8933 }
8934 return resultobj;
8935 fail:
8936 {
3adfb63b 8937 if (temp2) delete arg2;
d14a1e28
RD
8938 }
8939 return NULL;
8940}
8941
8942
c32bde28 8943static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8944 PyObject *resultobj;
8945 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8946 int arg2 ;
5e4ca4a8 8947 int arg3 = (int) 0 ;
d14a1e28 8948 PyObject * obj0 = 0 ;
994141e6 8949 PyObject * obj1 = 0 ;
5e4ca4a8 8950 PyObject * obj2 = 0 ;
d14a1e28 8951 char *kwnames[] = {
5e4ca4a8 8952 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
d14a1e28
RD
8953 };
8954
5e4ca4a8 8955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8956 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8957 if (SWIG_arg_fail(1)) SWIG_fail;
8958 {
8959 arg2 = (int)(SWIG_As_int(obj1));
8960 if (SWIG_arg_fail(2)) SWIG_fail;
8961 }
5e4ca4a8 8962 if (obj2) {
093d3ff1
RD
8963 {
8964 arg3 = (int)(SWIG_As_int(obj2));
8965 if (SWIG_arg_fail(3)) SWIG_fail;
8966 }
5e4ca4a8 8967 }
d14a1e28
RD
8968 {
8969 PyThreadState* __tstate = wxPyBeginAllowThreads();
5e4ca4a8 8970 (arg1)->SetLeftIndent(arg2,arg3);
d14a1e28
RD
8971
8972 wxPyEndAllowThreads(__tstate);
8973 if (PyErr_Occurred()) SWIG_fail;
8974 }
8975 Py_INCREF(Py_None); resultobj = Py_None;
8976 return resultobj;
8977 fail:
8978 return NULL;
8979}
8980
8981
c32bde28 8982static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8983 PyObject *resultobj;
8984 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8985 int arg2 ;
8986 PyObject * obj0 = 0 ;
994141e6 8987 PyObject * obj1 = 0 ;
d14a1e28
RD
8988 char *kwnames[] = {
8989 (char *) "self",(char *) "indent", NULL
8990 };
8991
994141e6 8992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetRightIndent",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8993 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8994 if (SWIG_arg_fail(1)) SWIG_fail;
8995 {
8996 arg2 = (int)(SWIG_As_int(obj1));
8997 if (SWIG_arg_fail(2)) SWIG_fail;
8998 }
d14a1e28
RD
8999 {
9000 PyThreadState* __tstate = wxPyBeginAllowThreads();
9001 (arg1)->SetRightIndent(arg2);
9002
9003 wxPyEndAllowThreads(__tstate);
9004 if (PyErr_Occurred()) SWIG_fail;
9005 }
9006 Py_INCREF(Py_None); resultobj = Py_None;
9007 return resultobj;
9008 fail:
9009 return NULL;
9010}
9011
9012
c32bde28 9013static PyObject *_wrap_TextAttr_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9014 PyObject *resultobj;
9015 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9016 long arg2 ;
9017 PyObject * obj0 = 0 ;
994141e6 9018 PyObject * obj1 = 0 ;
d14a1e28
RD
9019 char *kwnames[] = {
9020 (char *) "self",(char *) "flags", NULL
9021 };
9022
994141e6 9023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetFlags",kwnames,&obj0,&obj1)) 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 = (long)(SWIG_As_long(obj1));
9028 if (SWIG_arg_fail(2)) SWIG_fail;
9029 }
d14a1e28
RD
9030 {
9031 PyThreadState* __tstate = wxPyBeginAllowThreads();
9032 (arg1)->SetFlags(arg2);
9033
9034 wxPyEndAllowThreads(__tstate);
9035 if (PyErr_Occurred()) SWIG_fail;
9036 }
9037 Py_INCREF(Py_None); resultobj = Py_None;
9038 return resultobj;
9039 fail:
9040 return NULL;
9041}
9042
9043
c32bde28 9044static PyObject *_wrap_TextAttr_HasTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9045 PyObject *resultobj;
9046 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9047 bool result;
9048 PyObject * obj0 = 0 ;
9049 char *kwnames[] = {
9050 (char *) "self", NULL
9051 };
9052
9053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTextColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
9054 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9055 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9056 {
9057 PyThreadState* __tstate = wxPyBeginAllowThreads();
9058 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
9059
9060 wxPyEndAllowThreads(__tstate);
9061 if (PyErr_Occurred()) SWIG_fail;
9062 }
4f89f6a3
RD
9063 {
9064 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9065 }
d14a1e28
RD
9066 return resultobj;
9067 fail:
9068 return NULL;
9069}
9070
9071
c32bde28 9072static PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9073 PyObject *resultobj;
9074 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9075 bool result;
9076 PyObject * obj0 = 0 ;
9077 char *kwnames[] = {
9078 (char *) "self", NULL
9079 };
9080
9081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
9082 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9083 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9084 {
9085 PyThreadState* __tstate = wxPyBeginAllowThreads();
9086 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
9087
9088 wxPyEndAllowThreads(__tstate);
9089 if (PyErr_Occurred()) SWIG_fail;
9090 }
4f89f6a3
RD
9091 {
9092 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9093 }
d14a1e28
RD
9094 return resultobj;
9095 fail:
9096 return NULL;
9097}
9098
9099
c32bde28 9100static PyObject *_wrap_TextAttr_HasFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9101 PyObject *resultobj;
9102 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9103 bool result;
9104 PyObject * obj0 = 0 ;
9105 char *kwnames[] = {
9106 (char *) "self", NULL
9107 };
9108
9109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasFont",kwnames,&obj0)) goto fail;
093d3ff1
RD
9110 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9111 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9112 {
9113 PyThreadState* __tstate = wxPyBeginAllowThreads();
9114 result = (bool)((wxTextAttr const *)arg1)->HasFont();
9115
9116 wxPyEndAllowThreads(__tstate);
9117 if (PyErr_Occurred()) SWIG_fail;
9118 }
4f89f6a3
RD
9119 {
9120 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9121 }
d14a1e28
RD
9122 return resultobj;
9123 fail:
9124 return NULL;
9125}
9126
9127
c32bde28 9128static PyObject *_wrap_TextAttr_HasAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9129 PyObject *resultobj;
9130 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9131 bool result;
9132 PyObject * obj0 = 0 ;
9133 char *kwnames[] = {
9134 (char *) "self", NULL
9135 };
9136
9137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasAlignment",kwnames,&obj0)) goto fail;
093d3ff1
RD
9138 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9139 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9140 {
9141 PyThreadState* __tstate = wxPyBeginAllowThreads();
9142 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
9143
9144 wxPyEndAllowThreads(__tstate);
9145 if (PyErr_Occurred()) SWIG_fail;
9146 }
4f89f6a3
RD
9147 {
9148 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9149 }
d14a1e28
RD
9150 return resultobj;
9151 fail:
9152 return NULL;
9153}
9154
9155
c32bde28 9156static PyObject *_wrap_TextAttr_HasTabs(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9157 PyObject *resultobj;
9158 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9159 bool result;
9160 PyObject * obj0 = 0 ;
9161 char *kwnames[] = {
9162 (char *) "self", NULL
9163 };
9164
9165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTabs",kwnames,&obj0)) goto fail;
093d3ff1
RD
9166 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9167 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9168 {
9169 PyThreadState* __tstate = wxPyBeginAllowThreads();
9170 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
9171
9172 wxPyEndAllowThreads(__tstate);
9173 if (PyErr_Occurred()) SWIG_fail;
9174 }
4f89f6a3
RD
9175 {
9176 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9177 }
d14a1e28
RD
9178 return resultobj;
9179 fail:
9180 return NULL;
9181}
9182
9183
c32bde28 9184static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9185 PyObject *resultobj;
9186 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9187 bool result;
9188 PyObject * obj0 = 0 ;
9189 char *kwnames[] = {
9190 (char *) "self", NULL
9191 };
9192
9193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasLeftIndent",kwnames,&obj0)) goto fail;
093d3ff1
RD
9194 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9195 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9196 {
9197 PyThreadState* __tstate = wxPyBeginAllowThreads();
9198 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
9199
9200 wxPyEndAllowThreads(__tstate);
9201 if (PyErr_Occurred()) SWIG_fail;
9202 }
4f89f6a3
RD
9203 {
9204 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9205 }
d14a1e28
RD
9206 return resultobj;
9207 fail:
9208 return NULL;
9209}
9210
9211
c32bde28 9212static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9213 PyObject *resultobj;
9214 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9215 bool result;
9216 PyObject * obj0 = 0 ;
9217 char *kwnames[] = {
9218 (char *) "self", NULL
9219 };
9220
9221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasRightIndent",kwnames,&obj0)) goto fail;
093d3ff1
RD
9222 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9223 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9224 {
9225 PyThreadState* __tstate = wxPyBeginAllowThreads();
9226 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
9227
9228 wxPyEndAllowThreads(__tstate);
9229 if (PyErr_Occurred()) SWIG_fail;
9230 }
4f89f6a3
RD
9231 {
9232 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9233 }
d14a1e28
RD
9234 return resultobj;
9235 fail:
9236 return NULL;
9237}
9238
9239
c32bde28 9240static PyObject *_wrap_TextAttr_HasFlag(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9241 PyObject *resultobj;
9242 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9243 long arg2 ;
9244 bool result;
9245 PyObject * obj0 = 0 ;
994141e6 9246 PyObject * obj1 = 0 ;
d14a1e28
RD
9247 char *kwnames[] = {
9248 (char *) "self",(char *) "flag", NULL
9249 };
9250
994141e6 9251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_HasFlag",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9252 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9253 if (SWIG_arg_fail(1)) SWIG_fail;
9254 {
9255 arg2 = (long)(SWIG_As_long(obj1));
9256 if (SWIG_arg_fail(2)) SWIG_fail;
9257 }
d14a1e28
RD
9258 {
9259 PyThreadState* __tstate = wxPyBeginAllowThreads();
9260 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
9261
9262 wxPyEndAllowThreads(__tstate);
9263 if (PyErr_Occurred()) SWIG_fail;
9264 }
4f89f6a3
RD
9265 {
9266 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9267 }
d14a1e28
RD
9268 return resultobj;
9269 fail:
9270 return NULL;
9271}
9272
9273
c32bde28 9274static PyObject *_wrap_TextAttr_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9275 PyObject *resultobj;
9276 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9277 wxColour *result;
9278 PyObject * obj0 = 0 ;
9279 char *kwnames[] = {
9280 (char *) "self", NULL
9281 };
9282
9283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTextColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
9284 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9285 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9286 {
9287 PyThreadState* __tstate = wxPyBeginAllowThreads();
9288 {
9289 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
9290 result = (wxColour *) &_result_ref;
9291 }
9292
9293 wxPyEndAllowThreads(__tstate);
9294 if (PyErr_Occurred()) SWIG_fail;
9295 }
15afbcd0 9296 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
9297 return resultobj;
9298 fail:
9299 return NULL;
9300}
9301
9302
c32bde28 9303static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9304 PyObject *resultobj;
9305 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9306 wxColour *result;
9307 PyObject * obj0 = 0 ;
9308 char *kwnames[] = {
9309 (char *) "self", NULL
9310 };
9311
9312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
9313 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9314 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9315 {
9316 PyThreadState* __tstate = wxPyBeginAllowThreads();
9317 {
9318 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
9319 result = (wxColour *) &_result_ref;
9320 }
9321
9322 wxPyEndAllowThreads(__tstate);
9323 if (PyErr_Occurred()) SWIG_fail;
9324 }
15afbcd0 9325 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
9326 return resultobj;
9327 fail:
9328 return NULL;
9329}
9330
9331
c32bde28 9332static PyObject *_wrap_TextAttr_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9333 PyObject *resultobj;
9334 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9335 wxFont *result;
9336 PyObject * obj0 = 0 ;
9337 char *kwnames[] = {
9338 (char *) "self", NULL
9339 };
9340
9341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFont",kwnames,&obj0)) goto fail;
093d3ff1
RD
9342 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9343 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9344 {
9345 PyThreadState* __tstate = wxPyBeginAllowThreads();
9346 {
9347 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
9348 result = (wxFont *) &_result_ref;
9349 }
9350
9351 wxPyEndAllowThreads(__tstate);
9352 if (PyErr_Occurred()) SWIG_fail;
9353 }
4276dc52
RD
9354 {
9355 wxFont* resultptr = new wxFont(*result);
9356 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxFont, 1);
9357 }
d14a1e28
RD
9358 return resultobj;
9359 fail:
9360 return NULL;
9361}
9362
9363
c32bde28 9364static PyObject *_wrap_TextAttr_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9365 PyObject *resultobj;
9366 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
093d3ff1 9367 wxTextAttrAlignment result;
d14a1e28
RD
9368 PyObject * obj0 = 0 ;
9369 char *kwnames[] = {
9370 (char *) "self", NULL
9371 };
9372
9373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetAlignment",kwnames,&obj0)) goto fail;
093d3ff1
RD
9374 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9375 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9376 {
9377 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 9378 result = (wxTextAttrAlignment)((wxTextAttr const *)arg1)->GetAlignment();
d14a1e28
RD
9379
9380 wxPyEndAllowThreads(__tstate);
9381 if (PyErr_Occurred()) SWIG_fail;
9382 }
093d3ff1 9383 resultobj = SWIG_From_int((result));
d14a1e28
RD
9384 return resultobj;
9385 fail:
9386 return NULL;
9387}
9388
9389
c32bde28 9390static PyObject *_wrap_TextAttr_GetTabs(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9391 PyObject *resultobj;
9392 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9393 wxArrayInt *result;
9394 PyObject * obj0 = 0 ;
9395 char *kwnames[] = {
9396 (char *) "self", NULL
9397 };
9398
9399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTabs",kwnames,&obj0)) goto fail;
093d3ff1
RD
9400 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9401 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9402 {
9403 PyThreadState* __tstate = wxPyBeginAllowThreads();
9404 {
9405 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
9406 result = (wxArrayInt *) &_result_ref;
9407 }
9408
9409 wxPyEndAllowThreads(__tstate);
9410 if (PyErr_Occurred()) SWIG_fail;
9411 }
9412 {
9413 resultobj = PyList_New(0);
9414 size_t idx;
9415 for (idx = 0; idx < result->GetCount(); idx += 1) {
9416 PyObject* val = PyInt_FromLong( result->Item(idx) );
9417 PyList_Append(resultobj, val);
9418 Py_DECREF(val);
9419 }
9420 }
9421 return resultobj;
9422 fail:
9423 return NULL;
9424}
9425
9426
c32bde28 9427static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9428 PyObject *resultobj;
9429 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9430 long result;
9431 PyObject * obj0 = 0 ;
9432 char *kwnames[] = {
9433 (char *) "self", NULL
9434 };
9435
9436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftIndent",kwnames,&obj0)) goto fail;
093d3ff1
RD
9437 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9438 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9439 {
9440 PyThreadState* __tstate = wxPyBeginAllowThreads();
9441 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
9442
9443 wxPyEndAllowThreads(__tstate);
9444 if (PyErr_Occurred()) SWIG_fail;
9445 }
093d3ff1
RD
9446 {
9447 resultobj = SWIG_From_long((long)(result));
9448 }
d14a1e28
RD
9449 return resultobj;
9450 fail:
9451 return NULL;
9452}
9453
9454
c32bde28 9455static PyObject *_wrap_TextAttr_GetLeftSubIndent(PyObject *, PyObject *args, PyObject *kwargs) {
5e4ca4a8
RD
9456 PyObject *resultobj;
9457 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9458 long result;
9459 PyObject * obj0 = 0 ;
9460 char *kwnames[] = {
9461 (char *) "self", NULL
9462 };
9463
9464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftSubIndent",kwnames,&obj0)) goto fail;
093d3ff1
RD
9465 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9466 if (SWIG_arg_fail(1)) SWIG_fail;
5e4ca4a8
RD
9467 {
9468 PyThreadState* __tstate = wxPyBeginAllowThreads();
9469 result = (long)((wxTextAttr const *)arg1)->GetLeftSubIndent();
9470
9471 wxPyEndAllowThreads(__tstate);
9472 if (PyErr_Occurred()) SWIG_fail;
9473 }
093d3ff1
RD
9474 {
9475 resultobj = SWIG_From_long((long)(result));
9476 }
5e4ca4a8
RD
9477 return resultobj;
9478 fail:
9479 return NULL;
9480}
9481
9482
c32bde28 9483static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9484 PyObject *resultobj;
9485 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9486 long result;
9487 PyObject * obj0 = 0 ;
9488 char *kwnames[] = {
9489 (char *) "self", NULL
9490 };
9491
9492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetRightIndent",kwnames,&obj0)) goto fail;
093d3ff1
RD
9493 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9494 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9495 {
9496 PyThreadState* __tstate = wxPyBeginAllowThreads();
9497 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
9498
9499 wxPyEndAllowThreads(__tstate);
9500 if (PyErr_Occurred()) SWIG_fail;
9501 }
093d3ff1
RD
9502 {
9503 resultobj = SWIG_From_long((long)(result));
9504 }
d14a1e28
RD
9505 return resultobj;
9506 fail:
9507 return NULL;
9508}
9509
9510
c32bde28 9511static PyObject *_wrap_TextAttr_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9512 PyObject *resultobj;
9513 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9514 long result;
9515 PyObject * obj0 = 0 ;
9516 char *kwnames[] = {
9517 (char *) "self", NULL
9518 };
9519
9520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFlags",kwnames,&obj0)) goto fail;
093d3ff1
RD
9521 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9522 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9523 {
9524 PyThreadState* __tstate = wxPyBeginAllowThreads();
9525 result = (long)((wxTextAttr const *)arg1)->GetFlags();
9526
9527 wxPyEndAllowThreads(__tstate);
9528 if (PyErr_Occurred()) SWIG_fail;
9529 }
093d3ff1
RD
9530 {
9531 resultobj = SWIG_From_long((long)(result));
9532 }
d14a1e28
RD
9533 return resultobj;
9534 fail:
9535 return NULL;
9536}
9537
9538
c32bde28 9539static PyObject *_wrap_TextAttr_IsDefault(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9540 PyObject *resultobj;
9541 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9542 bool result;
9543 PyObject * obj0 = 0 ;
9544 char *kwnames[] = {
9545 (char *) "self", NULL
9546 };
9547
9548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_IsDefault",kwnames,&obj0)) goto fail;
093d3ff1
RD
9549 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9550 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9551 {
9552 PyThreadState* __tstate = wxPyBeginAllowThreads();
9553 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
9554
9555 wxPyEndAllowThreads(__tstate);
9556 if (PyErr_Occurred()) SWIG_fail;
9557 }
4f89f6a3
RD
9558 {
9559 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9560 }
d14a1e28
RD
9561 return resultobj;
9562 fail:
9563 return NULL;
9564}
9565
9566
c32bde28 9567static PyObject *_wrap_TextAttr_Combine(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9568 PyObject *resultobj;
9569 wxTextAttr *arg1 = 0 ;
9570 wxTextAttr *arg2 = 0 ;
9571 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
9572 wxTextAttr result;
9573 PyObject * obj0 = 0 ;
9574 PyObject * obj1 = 0 ;
9575 PyObject * obj2 = 0 ;
9576 char *kwnames[] = {
9577 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
9578 };
9579
9580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
9581 {
9582 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9583 if (SWIG_arg_fail(1)) SWIG_fail;
9584 if (arg1 == NULL) {
9585 SWIG_null_ref("wxTextAttr");
9586 }
9587 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 9588 }
093d3ff1
RD
9589 {
9590 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9591 if (SWIG_arg_fail(2)) SWIG_fail;
9592 if (arg2 == NULL) {
9593 SWIG_null_ref("wxTextAttr");
9594 }
9595 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 9596 }
093d3ff1
RD
9597 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9598 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
9599 {
9600 PyThreadState* __tstate = wxPyBeginAllowThreads();
9601 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
9602
9603 wxPyEndAllowThreads(__tstate);
9604 if (PyErr_Occurred()) SWIG_fail;
9605 }
9606 {
9607 wxTextAttr * resultptr;
093d3ff1 9608 resultptr = new wxTextAttr((wxTextAttr &)(result));
15afbcd0 9609 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTextAttr, 1);
d14a1e28
RD
9610 }
9611 return resultobj;
9612 fail:
9613 return NULL;
9614}
9615
9616
c32bde28 9617static PyObject * TextAttr_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
9618 PyObject *obj;
9619 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9620 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr, obj);
9621 Py_INCREF(obj);
9622 return Py_BuildValue((char *)"");
9623}
c32bde28 9624static PyObject *_wrap_new_TextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9625 PyObject *resultobj;
9626 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 9627 int arg2 = (int) -1 ;
d14a1e28
RD
9628 wxString const &arg3_defvalue = wxPyEmptyString ;
9629 wxString *arg3 = (wxString *) &arg3_defvalue ;
9630 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9631 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9632 wxSize const &arg5_defvalue = wxDefaultSize ;
9633 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9634 long arg6 = (long) 0 ;
9635 wxValidator const &arg7_defvalue = wxDefaultValidator ;
9636 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
9637 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
9638 wxString *arg8 = (wxString *) &arg8_defvalue ;
9639 wxTextCtrl *result;
ae8162c8 9640 bool temp3 = false ;
d14a1e28
RD
9641 wxPoint temp4 ;
9642 wxSize temp5 ;
ae8162c8 9643 bool temp8 = false ;
d14a1e28 9644 PyObject * obj0 = 0 ;
994141e6 9645 PyObject * obj1 = 0 ;
d14a1e28
RD
9646 PyObject * obj2 = 0 ;
9647 PyObject * obj3 = 0 ;
9648 PyObject * obj4 = 0 ;
994141e6 9649 PyObject * obj5 = 0 ;
d14a1e28
RD
9650 PyObject * obj6 = 0 ;
9651 PyObject * obj7 = 0 ;
9652 char *kwnames[] = {
9653 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9654 };
9655
248ed943 9656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_TextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
9657 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
9658 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 9659 if (obj1) {
093d3ff1
RD
9660 {
9661 arg2 = (int)(SWIG_As_int(obj1));
9662 if (SWIG_arg_fail(2)) SWIG_fail;
9663 }
248ed943 9664 }
d14a1e28
RD
9665 if (obj2) {
9666 {
9667 arg3 = wxString_in_helper(obj2);
9668 if (arg3 == NULL) SWIG_fail;
ae8162c8 9669 temp3 = true;
d14a1e28
RD
9670 }
9671 }
9672 if (obj3) {
9673 {
9674 arg4 = &temp4;
9675 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9676 }
9677 }
9678 if (obj4) {
9679 {
9680 arg5 = &temp5;
9681 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9682 }
9683 }
994141e6 9684 if (obj5) {
093d3ff1
RD
9685 {
9686 arg6 = (long)(SWIG_As_long(obj5));
9687 if (SWIG_arg_fail(6)) SWIG_fail;
9688 }
994141e6 9689 }
d14a1e28 9690 if (obj6) {
093d3ff1
RD
9691 {
9692 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
9693 if (SWIG_arg_fail(7)) SWIG_fail;
9694 if (arg7 == NULL) {
9695 SWIG_null_ref("wxValidator");
9696 }
9697 if (SWIG_arg_fail(7)) SWIG_fail;
d14a1e28
RD
9698 }
9699 }
9700 if (obj7) {
9701 {
9702 arg8 = wxString_in_helper(obj7);
9703 if (arg8 == NULL) SWIG_fail;
ae8162c8 9704 temp8 = true;
d14a1e28
RD
9705 }
9706 }
9707 {
e3b71cb8 9708 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
9709 PyThreadState* __tstate = wxPyBeginAllowThreads();
9710 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
9711
9712 wxPyEndAllowThreads(__tstate);
110da5b0 9713 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 9714 }
b0f7404b 9715 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextCtrl, 1);
d14a1e28
RD
9716 {
9717 if (temp3)
9718 delete arg3;
9719 }
9720 {
9721 if (temp8)
9722 delete arg8;
9723 }
9724 return resultobj;
9725 fail:
9726 {
9727 if (temp3)
9728 delete arg3;
9729 }
9730 {
9731 if (temp8)
9732 delete arg8;
9733 }
9734 return NULL;
9735}
9736
9737
c32bde28 9738static PyObject *_wrap_new_PreTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9739 PyObject *resultobj;
9740 wxTextCtrl *result;
9741 char *kwnames[] = {
9742 NULL
9743 };
9744
9745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTextCtrl",kwnames)) goto fail;
9746 {
e3b71cb8 9747 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
9748 PyThreadState* __tstate = wxPyBeginAllowThreads();
9749 result = (wxTextCtrl *)new wxTextCtrl();
9750
9751 wxPyEndAllowThreads(__tstate);
110da5b0 9752 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 9753 }
b0f7404b 9754 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextCtrl, 1);
d14a1e28
RD
9755 return resultobj;
9756 fail:
9757 return NULL;
9758}
9759
9760
c32bde28 9761static PyObject *_wrap_TextCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9762 PyObject *resultobj;
9763 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9764 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 9765 int arg3 = (int) -1 ;
d14a1e28
RD
9766 wxString const &arg4_defvalue = wxPyEmptyString ;
9767 wxString *arg4 = (wxString *) &arg4_defvalue ;
9768 wxPoint const &arg5_defvalue = wxDefaultPosition ;
9769 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
9770 wxSize const &arg6_defvalue = wxDefaultSize ;
9771 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
9772 long arg7 = (long) 0 ;
9773 wxValidator const &arg8_defvalue = wxDefaultValidator ;
9774 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
9775 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
9776 wxString *arg9 = (wxString *) &arg9_defvalue ;
9777 bool result;
ae8162c8 9778 bool temp4 = false ;
d14a1e28
RD
9779 wxPoint temp5 ;
9780 wxSize temp6 ;
ae8162c8 9781 bool temp9 = false ;
d14a1e28
RD
9782 PyObject * obj0 = 0 ;
9783 PyObject * obj1 = 0 ;
994141e6 9784 PyObject * obj2 = 0 ;
d14a1e28
RD
9785 PyObject * obj3 = 0 ;
9786 PyObject * obj4 = 0 ;
9787 PyObject * obj5 = 0 ;
994141e6 9788 PyObject * obj6 = 0 ;
d14a1e28
RD
9789 PyObject * obj7 = 0 ;
9790 PyObject * obj8 = 0 ;
9791 char *kwnames[] = {
9792 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9793 };
9794
248ed943 9795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
9796 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9797 if (SWIG_arg_fail(1)) SWIG_fail;
9798 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
9799 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 9800 if (obj2) {
093d3ff1
RD
9801 {
9802 arg3 = (int)(SWIG_As_int(obj2));
9803 if (SWIG_arg_fail(3)) SWIG_fail;
9804 }
248ed943 9805 }
d14a1e28
RD
9806 if (obj3) {
9807 {
9808 arg4 = wxString_in_helper(obj3);
9809 if (arg4 == NULL) SWIG_fail;
ae8162c8 9810 temp4 = true;
d14a1e28
RD
9811 }
9812 }
9813 if (obj4) {
9814 {
9815 arg5 = &temp5;
9816 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
9817 }
9818 }
9819 if (obj5) {
9820 {
9821 arg6 = &temp6;
9822 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
9823 }
9824 }
994141e6 9825 if (obj6) {
093d3ff1
RD
9826 {
9827 arg7 = (long)(SWIG_As_long(obj6));
9828 if (SWIG_arg_fail(7)) SWIG_fail;
9829 }
994141e6 9830 }
d14a1e28 9831 if (obj7) {
093d3ff1
RD
9832 {
9833 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
9834 if (SWIG_arg_fail(8)) SWIG_fail;
9835 if (arg8 == NULL) {
9836 SWIG_null_ref("wxValidator");
9837 }
9838 if (SWIG_arg_fail(8)) SWIG_fail;
d14a1e28
RD
9839 }
9840 }
9841 if (obj8) {
9842 {
9843 arg9 = wxString_in_helper(obj8);
9844 if (arg9 == NULL) SWIG_fail;
ae8162c8 9845 temp9 = true;
d14a1e28
RD
9846 }
9847 }
9848 {
9849 PyThreadState* __tstate = wxPyBeginAllowThreads();
9850 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
9851
9852 wxPyEndAllowThreads(__tstate);
9853 if (PyErr_Occurred()) SWIG_fail;
9854 }
4f89f6a3
RD
9855 {
9856 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9857 }
d14a1e28
RD
9858 {
9859 if (temp4)
9860 delete arg4;
9861 }
9862 {
9863 if (temp9)
9864 delete arg9;
9865 }
9866 return resultobj;
9867 fail:
9868 {
9869 if (temp4)
9870 delete arg4;
9871 }
9872 {
9873 if (temp9)
9874 delete arg9;
9875 }
9876 return NULL;
9877}
9878
9879
c32bde28 9880static PyObject *_wrap_TextCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9881 PyObject *resultobj;
9882 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9883 wxString result;
9884 PyObject * obj0 = 0 ;
9885 char *kwnames[] = {
9886 (char *) "self", NULL
9887 };
9888
9889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
9890 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9891 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9892 {
9893 PyThreadState* __tstate = wxPyBeginAllowThreads();
9894 result = ((wxTextCtrl const *)arg1)->GetValue();
9895
9896 wxPyEndAllowThreads(__tstate);
9897 if (PyErr_Occurred()) SWIG_fail;
9898 }
9899 {
9900#if wxUSE_UNICODE
9901 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9902#else
9903 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9904#endif
9905 }
9906 return resultobj;
9907 fail:
9908 return NULL;
9909}
9910
9911
c32bde28 9912static PyObject *_wrap_TextCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9913 PyObject *resultobj;
9914 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9915 wxString *arg2 = 0 ;
ae8162c8 9916 bool temp2 = false ;
d14a1e28
RD
9917 PyObject * obj0 = 0 ;
9918 PyObject * obj1 = 0 ;
9919 char *kwnames[] = {
9920 (char *) "self",(char *) "value", NULL
9921 };
9922
9923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9924 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9925 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9926 {
9927 arg2 = wxString_in_helper(obj1);
9928 if (arg2 == NULL) SWIG_fail;
ae8162c8 9929 temp2 = true;
d14a1e28
RD
9930 }
9931 {
9932 PyThreadState* __tstate = wxPyBeginAllowThreads();
9933 (arg1)->SetValue((wxString const &)*arg2);
9934
9935 wxPyEndAllowThreads(__tstate);
9936 if (PyErr_Occurred()) SWIG_fail;
9937 }
9938 Py_INCREF(Py_None); resultobj = Py_None;
9939 {
9940 if (temp2)
9941 delete arg2;
9942 }
9943 return resultobj;
9944 fail:
9945 {
9946 if (temp2)
9947 delete arg2;
9948 }
9949 return NULL;
9950}
9951
9952
c32bde28 9953static PyObject *_wrap_TextCtrl_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9954 PyObject *resultobj;
9955 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9956 long arg2 ;
9957 long arg3 ;
9958 wxString result;
9959 PyObject * obj0 = 0 ;
994141e6
RD
9960 PyObject * obj1 = 0 ;
9961 PyObject * obj2 = 0 ;
d14a1e28
RD
9962 char *kwnames[] = {
9963 (char *) "self",(char *) "from",(char *) "to", NULL
9964 };
9965
994141e6 9966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
9967 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9968 if (SWIG_arg_fail(1)) SWIG_fail;
9969 {
9970 arg2 = (long)(SWIG_As_long(obj1));
9971 if (SWIG_arg_fail(2)) SWIG_fail;
9972 }
9973 {
9974 arg3 = (long)(SWIG_As_long(obj2));
9975 if (SWIG_arg_fail(3)) SWIG_fail;
9976 }
d14a1e28
RD
9977 {
9978 PyThreadState* __tstate = wxPyBeginAllowThreads();
9979 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
9980
9981 wxPyEndAllowThreads(__tstate);
9982 if (PyErr_Occurred()) SWIG_fail;
9983 }
9984 {
9985#if wxUSE_UNICODE
9986 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9987#else
9988 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9989#endif
9990 }
9991 return resultobj;
9992 fail:
9993 return NULL;
9994}
9995
9996
c32bde28 9997static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9998 PyObject *resultobj;
9999 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10000 long arg2 ;
10001 int result;
10002 PyObject * obj0 = 0 ;
994141e6 10003 PyObject * obj1 = 0 ;
d14a1e28
RD
10004 char *kwnames[] = {
10005 (char *) "self",(char *) "lineNo", NULL
10006 };
10007
994141e6 10008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineLength",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10009 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10010 if (SWIG_arg_fail(1)) SWIG_fail;
10011 {
10012 arg2 = (long)(SWIG_As_long(obj1));
10013 if (SWIG_arg_fail(2)) SWIG_fail;
10014 }
d14a1e28
RD
10015 {
10016 PyThreadState* __tstate = wxPyBeginAllowThreads();
10017 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
10018
10019 wxPyEndAllowThreads(__tstate);
10020 if (PyErr_Occurred()) SWIG_fail;
10021 }
093d3ff1
RD
10022 {
10023 resultobj = SWIG_From_int((int)(result));
10024 }
d14a1e28
RD
10025 return resultobj;
10026 fail:
10027 return NULL;
10028}
10029
10030
c32bde28 10031static PyObject *_wrap_TextCtrl_GetLineText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10032 PyObject *resultobj;
10033 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10034 long arg2 ;
10035 wxString result;
10036 PyObject * obj0 = 0 ;
994141e6 10037 PyObject * obj1 = 0 ;
d14a1e28
RD
10038 char *kwnames[] = {
10039 (char *) "self",(char *) "lineNo", NULL
10040 };
10041
994141e6 10042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10043 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10044 if (SWIG_arg_fail(1)) SWIG_fail;
10045 {
10046 arg2 = (long)(SWIG_As_long(obj1));
10047 if (SWIG_arg_fail(2)) SWIG_fail;
10048 }
d14a1e28
RD
10049 {
10050 PyThreadState* __tstate = wxPyBeginAllowThreads();
10051 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
10052
10053 wxPyEndAllowThreads(__tstate);
10054 if (PyErr_Occurred()) SWIG_fail;
10055 }
10056 {
10057#if wxUSE_UNICODE
10058 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10059#else
10060 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10061#endif
10062 }
10063 return resultobj;
10064 fail:
10065 return NULL;
10066}
10067
10068
c32bde28 10069static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10070 PyObject *resultobj;
10071 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10072 int result;
10073 PyObject * obj0 = 0 ;
10074 char *kwnames[] = {
10075 (char *) "self", NULL
10076 };
10077
10078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetNumberOfLines",kwnames,&obj0)) goto fail;
093d3ff1
RD
10079 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10080 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10081 {
10082 PyThreadState* __tstate = wxPyBeginAllowThreads();
10083 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
10084
10085 wxPyEndAllowThreads(__tstate);
10086 if (PyErr_Occurred()) SWIG_fail;
10087 }
093d3ff1
RD
10088 {
10089 resultobj = SWIG_From_int((int)(result));
10090 }
d14a1e28
RD
10091 return resultobj;
10092 fail:
10093 return NULL;
10094}
10095
10096
c32bde28 10097static PyObject *_wrap_TextCtrl_IsModified(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10098 PyObject *resultobj;
10099 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10100 bool result;
10101 PyObject * obj0 = 0 ;
10102 char *kwnames[] = {
10103 (char *) "self", NULL
10104 };
10105
10106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsModified",kwnames,&obj0)) goto fail;
093d3ff1
RD
10107 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10108 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10109 {
10110 PyThreadState* __tstate = wxPyBeginAllowThreads();
10111 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
10112
10113 wxPyEndAllowThreads(__tstate);
10114 if (PyErr_Occurred()) SWIG_fail;
10115 }
4f89f6a3
RD
10116 {
10117 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10118 }
d14a1e28
RD
10119 return resultobj;
10120 fail:
10121 return NULL;
10122}
10123
10124
c32bde28 10125static PyObject *_wrap_TextCtrl_IsEditable(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10126 PyObject *resultobj;
10127 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10128 bool result;
10129 PyObject * obj0 = 0 ;
10130 char *kwnames[] = {
10131 (char *) "self", NULL
10132 };
10133
10134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsEditable",kwnames,&obj0)) goto fail;
093d3ff1
RD
10135 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10136 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10137 {
10138 PyThreadState* __tstate = wxPyBeginAllowThreads();
10139 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
10140
10141 wxPyEndAllowThreads(__tstate);
10142 if (PyErr_Occurred()) SWIG_fail;
10143 }
4f89f6a3
RD
10144 {
10145 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10146 }
d14a1e28
RD
10147 return resultobj;
10148 fail:
10149 return NULL;
10150}
10151
10152
c32bde28 10153static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10154 PyObject *resultobj;
10155 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10156 bool result;
10157 PyObject * obj0 = 0 ;
10158 char *kwnames[] = {
10159 (char *) "self", NULL
10160 };
10161
10162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsSingleLine",kwnames,&obj0)) goto fail;
093d3ff1
RD
10163 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10164 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10165 {
10166 PyThreadState* __tstate = wxPyBeginAllowThreads();
10167 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
10168
10169 wxPyEndAllowThreads(__tstate);
10170 if (PyErr_Occurred()) SWIG_fail;
10171 }
4f89f6a3
RD
10172 {
10173 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10174 }
d14a1e28
RD
10175 return resultobj;
10176 fail:
10177 return NULL;
10178}
10179
10180
c32bde28 10181static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10182 PyObject *resultobj;
10183 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10184 bool result;
10185 PyObject * obj0 = 0 ;
10186 char *kwnames[] = {
10187 (char *) "self", NULL
10188 };
10189
10190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsMultiLine",kwnames,&obj0)) goto fail;
093d3ff1
RD
10191 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10192 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10193 {
10194 PyThreadState* __tstate = wxPyBeginAllowThreads();
10195 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
10196
10197 wxPyEndAllowThreads(__tstate);
10198 if (PyErr_Occurred()) SWIG_fail;
10199 }
4f89f6a3
RD
10200 {
10201 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10202 }
d14a1e28
RD
10203 return resultobj;
10204 fail:
10205 return NULL;
10206}
10207
10208
c32bde28 10209static PyObject *_wrap_TextCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10210 PyObject *resultobj;
10211 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10212 long *arg2 = (long *) 0 ;
10213 long *arg3 = (long *) 0 ;
10214 long temp2 ;
c32bde28 10215 int res2 = 0 ;
d14a1e28 10216 long temp3 ;
c32bde28 10217 int res3 = 0 ;
d14a1e28
RD
10218 PyObject * obj0 = 0 ;
10219 char *kwnames[] = {
10220 (char *) "self", NULL
10221 };
10222
c32bde28
RD
10223 arg2 = &temp2; res2 = SWIG_NEWOBJ;
10224 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 10225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
10226 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10227 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10228 {
10229 PyThreadState* __tstate = wxPyBeginAllowThreads();
10230 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
10231
10232 wxPyEndAllowThreads(__tstate);
10233 if (PyErr_Occurred()) SWIG_fail;
10234 }
10235 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
10236 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
10237 SWIG_From_long((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, 0)));
10238 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
10239 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
d14a1e28
RD
10240 return resultobj;
10241 fail:
10242 return NULL;
10243}
10244
10245
c32bde28 10246static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10247 PyObject *resultobj;
10248 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10249 wxString result;
10250 PyObject * obj0 = 0 ;
10251 char *kwnames[] = {
10252 (char *) "self", NULL
10253 };
10254
10255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetStringSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
10256 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10257 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10258 {
10259 PyThreadState* __tstate = wxPyBeginAllowThreads();
10260 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
10261
10262 wxPyEndAllowThreads(__tstate);
10263 if (PyErr_Occurred()) SWIG_fail;
10264 }
10265 {
10266#if wxUSE_UNICODE
10267 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10268#else
10269 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10270#endif
10271 }
10272 return resultobj;
10273 fail:
10274 return NULL;
10275}
10276
10277
c32bde28 10278static PyObject *_wrap_TextCtrl_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10279 PyObject *resultobj;
10280 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10281 PyObject * obj0 = 0 ;
10282 char *kwnames[] = {
10283 (char *) "self", NULL
10284 };
10285
10286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Clear",kwnames,&obj0)) goto fail;
093d3ff1
RD
10287 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10288 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10289 {
10290 PyThreadState* __tstate = wxPyBeginAllowThreads();
10291 (arg1)->Clear();
10292
10293 wxPyEndAllowThreads(__tstate);
10294 if (PyErr_Occurred()) SWIG_fail;
10295 }
10296 Py_INCREF(Py_None); resultobj = Py_None;
10297 return resultobj;
10298 fail:
10299 return NULL;
10300}
10301
10302
c32bde28 10303static PyObject *_wrap_TextCtrl_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10304 PyObject *resultobj;
10305 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10306 long arg2 ;
10307 long arg3 ;
10308 wxString *arg4 = 0 ;
ae8162c8 10309 bool temp4 = false ;
d14a1e28 10310 PyObject * obj0 = 0 ;
994141e6
RD
10311 PyObject * obj1 = 0 ;
10312 PyObject * obj2 = 0 ;
d14a1e28
RD
10313 PyObject * obj3 = 0 ;
10314 char *kwnames[] = {
10315 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
10316 };
10317
994141e6 10318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
10319 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10320 if (SWIG_arg_fail(1)) SWIG_fail;
10321 {
10322 arg2 = (long)(SWIG_As_long(obj1));
10323 if (SWIG_arg_fail(2)) SWIG_fail;
10324 }
10325 {
10326 arg3 = (long)(SWIG_As_long(obj2));
10327 if (SWIG_arg_fail(3)) SWIG_fail;
10328 }
d14a1e28
RD
10329 {
10330 arg4 = wxString_in_helper(obj3);
10331 if (arg4 == NULL) SWIG_fail;
ae8162c8 10332 temp4 = true;
d14a1e28
RD
10333 }
10334 {
10335 PyThreadState* __tstate = wxPyBeginAllowThreads();
10336 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
10337
10338 wxPyEndAllowThreads(__tstate);
10339 if (PyErr_Occurred()) SWIG_fail;
10340 }
10341 Py_INCREF(Py_None); resultobj = Py_None;
10342 {
10343 if (temp4)
10344 delete arg4;
10345 }
10346 return resultobj;
10347 fail:
10348 {
10349 if (temp4)
10350 delete arg4;
10351 }
10352 return NULL;
10353}
10354
10355
c32bde28 10356static PyObject *_wrap_TextCtrl_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10357 PyObject *resultobj;
10358 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10359 long arg2 ;
10360 long arg3 ;
10361 PyObject * obj0 = 0 ;
994141e6
RD
10362 PyObject * obj1 = 0 ;
10363 PyObject * obj2 = 0 ;
d14a1e28
RD
10364 char *kwnames[] = {
10365 (char *) "self",(char *) "from",(char *) "to", NULL
10366 };
10367
994141e6 10368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10369 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10370 if (SWIG_arg_fail(1)) SWIG_fail;
10371 {
10372 arg2 = (long)(SWIG_As_long(obj1));
10373 if (SWIG_arg_fail(2)) SWIG_fail;
10374 }
10375 {
10376 arg3 = (long)(SWIG_As_long(obj2));
10377 if (SWIG_arg_fail(3)) SWIG_fail;
10378 }
d14a1e28
RD
10379 {
10380 PyThreadState* __tstate = wxPyBeginAllowThreads();
10381 (arg1)->Remove(arg2,arg3);
10382
10383 wxPyEndAllowThreads(__tstate);
10384 if (PyErr_Occurred()) SWIG_fail;
10385 }
10386 Py_INCREF(Py_None); resultobj = Py_None;
10387 return resultobj;
10388 fail:
10389 return NULL;
10390}
10391
10392
c32bde28 10393static PyObject *_wrap_TextCtrl_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10394 PyObject *resultobj;
10395 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10396 wxString *arg2 = 0 ;
10397 bool result;
ae8162c8 10398 bool temp2 = false ;
d14a1e28
RD
10399 PyObject * obj0 = 0 ;
10400 PyObject * obj1 = 0 ;
10401 char *kwnames[] = {
10402 (char *) "self",(char *) "file", NULL
10403 };
10404
10405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10406 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10407 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10408 {
10409 arg2 = wxString_in_helper(obj1);
10410 if (arg2 == NULL) SWIG_fail;
ae8162c8 10411 temp2 = true;
d14a1e28
RD
10412 }
10413 {
10414 PyThreadState* __tstate = wxPyBeginAllowThreads();
10415 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
10416
10417 wxPyEndAllowThreads(__tstate);
10418 if (PyErr_Occurred()) SWIG_fail;
10419 }
4f89f6a3
RD
10420 {
10421 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10422 }
d14a1e28
RD
10423 {
10424 if (temp2)
10425 delete arg2;
10426 }
10427 return resultobj;
10428 fail:
10429 {
10430 if (temp2)
10431 delete arg2;
10432 }
10433 return NULL;
10434}
10435
10436
c32bde28 10437static PyObject *_wrap_TextCtrl_SaveFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10438 PyObject *resultobj;
10439 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10440 wxString const &arg2_defvalue = wxPyEmptyString ;
10441 wxString *arg2 = (wxString *) &arg2_defvalue ;
10442 bool result;
ae8162c8 10443 bool temp2 = false ;
d14a1e28
RD
10444 PyObject * obj0 = 0 ;
10445 PyObject * obj1 = 0 ;
10446 char *kwnames[] = {
10447 (char *) "self",(char *) "file", NULL
10448 };
10449
10450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10451 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10452 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10453 if (obj1) {
10454 {
10455 arg2 = wxString_in_helper(obj1);
10456 if (arg2 == NULL) SWIG_fail;
ae8162c8 10457 temp2 = true;
d14a1e28
RD
10458 }
10459 }
10460 {
10461 PyThreadState* __tstate = wxPyBeginAllowThreads();
10462 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
10463
10464 wxPyEndAllowThreads(__tstate);
10465 if (PyErr_Occurred()) SWIG_fail;
10466 }
4f89f6a3
RD
10467 {
10468 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10469 }
d14a1e28
RD
10470 {
10471 if (temp2)
10472 delete arg2;
10473 }
10474 return resultobj;
10475 fail:
10476 {
10477 if (temp2)
10478 delete arg2;
10479 }
10480 return NULL;
10481}
10482
10483
c32bde28 10484static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10485 PyObject *resultobj;
10486 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10487 PyObject * obj0 = 0 ;
10488 char *kwnames[] = {
10489 (char *) "self", NULL
10490 };
10491
10492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_MarkDirty",kwnames,&obj0)) goto fail;
093d3ff1
RD
10493 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10494 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10495 {
10496 PyThreadState* __tstate = wxPyBeginAllowThreads();
10497 (arg1)->MarkDirty();
10498
10499 wxPyEndAllowThreads(__tstate);
10500 if (PyErr_Occurred()) SWIG_fail;
10501 }
10502 Py_INCREF(Py_None); resultobj = Py_None;
10503 return resultobj;
10504 fail:
10505 return NULL;
10506}
10507
10508
c32bde28 10509static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10510 PyObject *resultobj;
10511 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10512 PyObject * obj0 = 0 ;
10513 char *kwnames[] = {
10514 (char *) "self", NULL
10515 };
10516
10517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_DiscardEdits",kwnames,&obj0)) goto fail;
093d3ff1
RD
10518 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10519 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10520 {
10521 PyThreadState* __tstate = wxPyBeginAllowThreads();
10522 (arg1)->DiscardEdits();
10523
10524 wxPyEndAllowThreads(__tstate);
10525 if (PyErr_Occurred()) SWIG_fail;
10526 }
10527 Py_INCREF(Py_None); resultobj = Py_None;
10528 return resultobj;
10529 fail:
10530 return NULL;
10531}
10532
10533
c32bde28 10534static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10535 PyObject *resultobj;
10536 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10537 unsigned long arg2 ;
10538 PyObject * obj0 = 0 ;
10539 PyObject * obj1 = 0 ;
10540 char *kwnames[] = {
10541 (char *) "self",(char *) "len", NULL
10542 };
10543
10544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10545 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10546 if (SWIG_arg_fail(1)) SWIG_fail;
10547 {
10548 arg2 = (unsigned long)(SWIG_As_unsigned_SS_long(obj1));
10549 if (SWIG_arg_fail(2)) SWIG_fail;
10550 }
d14a1e28
RD
10551 {
10552 PyThreadState* __tstate = wxPyBeginAllowThreads();
10553 (arg1)->SetMaxLength(arg2);
10554
10555 wxPyEndAllowThreads(__tstate);
10556 if (PyErr_Occurred()) SWIG_fail;
10557 }
10558 Py_INCREF(Py_None); resultobj = Py_None;
10559 return resultobj;
10560 fail:
10561 return NULL;
10562}
10563
10564
c32bde28 10565static PyObject *_wrap_TextCtrl_WriteText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10566 PyObject *resultobj;
10567 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10568 wxString *arg2 = 0 ;
ae8162c8 10569 bool temp2 = false ;
d14a1e28
RD
10570 PyObject * obj0 = 0 ;
10571 PyObject * obj1 = 0 ;
10572 char *kwnames[] = {
10573 (char *) "self",(char *) "text", NULL
10574 };
10575
10576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10577 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10578 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10579 {
10580 arg2 = wxString_in_helper(obj1);
10581 if (arg2 == NULL) SWIG_fail;
ae8162c8 10582 temp2 = true;
d14a1e28
RD
10583 }
10584 {
10585 PyThreadState* __tstate = wxPyBeginAllowThreads();
10586 (arg1)->WriteText((wxString const &)*arg2);
10587
10588 wxPyEndAllowThreads(__tstate);
10589 if (PyErr_Occurred()) SWIG_fail;
10590 }
10591 Py_INCREF(Py_None); resultobj = Py_None;
10592 {
10593 if (temp2)
10594 delete arg2;
10595 }
10596 return resultobj;
10597 fail:
10598 {
10599 if (temp2)
10600 delete arg2;
10601 }
10602 return NULL;
10603}
10604
10605
c32bde28 10606static PyObject *_wrap_TextCtrl_AppendText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10607 PyObject *resultobj;
10608 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10609 wxString *arg2 = 0 ;
ae8162c8 10610 bool temp2 = false ;
d14a1e28
RD
10611 PyObject * obj0 = 0 ;
10612 PyObject * obj1 = 0 ;
10613 char *kwnames[] = {
10614 (char *) "self",(char *) "text", NULL
10615 };
10616
10617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10618 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10619 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10620 {
10621 arg2 = wxString_in_helper(obj1);
10622 if (arg2 == NULL) SWIG_fail;
ae8162c8 10623 temp2 = true;
d14a1e28
RD
10624 }
10625 {
10626 PyThreadState* __tstate = wxPyBeginAllowThreads();
10627 (arg1)->AppendText((wxString const &)*arg2);
10628
10629 wxPyEndAllowThreads(__tstate);
10630 if (PyErr_Occurred()) SWIG_fail;
10631 }
10632 Py_INCREF(Py_None); resultobj = Py_None;
10633 {
10634 if (temp2)
10635 delete arg2;
10636 }
10637 return resultobj;
10638 fail:
10639 {
10640 if (temp2)
10641 delete arg2;
10642 }
10643 return NULL;
10644}
10645
10646
c32bde28 10647static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10648 PyObject *resultobj;
10649 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10650 wxKeyEvent *arg2 = 0 ;
10651 bool result;
10652 PyObject * obj0 = 0 ;
10653 PyObject * obj1 = 0 ;
10654 char *kwnames[] = {
10655 (char *) "self",(char *) "event", NULL
10656 };
10657
10658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10659 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10660 if (SWIG_arg_fail(1)) SWIG_fail;
10661 {
10662 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
10663 if (SWIG_arg_fail(2)) SWIG_fail;
10664 if (arg2 == NULL) {
10665 SWIG_null_ref("wxKeyEvent");
10666 }
10667 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
10668 }
10669 {
10670 PyThreadState* __tstate = wxPyBeginAllowThreads();
10671 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
10672
10673 wxPyEndAllowThreads(__tstate);
10674 if (PyErr_Occurred()) SWIG_fail;
10675 }
4f89f6a3
RD
10676 {
10677 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10678 }
d14a1e28
RD
10679 return resultobj;
10680 fail:
10681 return NULL;
10682}
10683
10684
c32bde28 10685static PyObject *_wrap_TextCtrl_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10686 PyObject *resultobj;
10687 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10688 long arg2 ;
10689 long arg3 ;
10690 wxTextAttr *arg4 = 0 ;
10691 bool result;
10692 PyObject * obj0 = 0 ;
994141e6
RD
10693 PyObject * obj1 = 0 ;
10694 PyObject * obj2 = 0 ;
d14a1e28
RD
10695 PyObject * obj3 = 0 ;
10696 char *kwnames[] = {
10697 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
10698 };
10699
994141e6 10700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_SetStyle",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
10701 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10702 if (SWIG_arg_fail(1)) SWIG_fail;
10703 {
10704 arg2 = (long)(SWIG_As_long(obj1));
10705 if (SWIG_arg_fail(2)) SWIG_fail;
10706 }
10707 {
10708 arg3 = (long)(SWIG_As_long(obj2));
10709 if (SWIG_arg_fail(3)) SWIG_fail;
10710 }
10711 {
10712 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
10713 if (SWIG_arg_fail(4)) SWIG_fail;
10714 if (arg4 == NULL) {
10715 SWIG_null_ref("wxTextAttr");
10716 }
10717 if (SWIG_arg_fail(4)) SWIG_fail;
d14a1e28
RD
10718 }
10719 {
10720 PyThreadState* __tstate = wxPyBeginAllowThreads();
10721 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
10722
10723 wxPyEndAllowThreads(__tstate);
10724 if (PyErr_Occurred()) SWIG_fail;
10725 }
4f89f6a3
RD
10726 {
10727 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10728 }
d14a1e28
RD
10729 return resultobj;
10730 fail:
10731 return NULL;
10732}
10733
10734
c32bde28 10735static PyObject *_wrap_TextCtrl_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10736 PyObject *resultobj;
10737 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10738 long arg2 ;
10739 wxTextAttr *arg3 = 0 ;
10740 bool result;
10741 PyObject * obj0 = 0 ;
994141e6 10742 PyObject * obj1 = 0 ;
d14a1e28
RD
10743 PyObject * obj2 = 0 ;
10744 char *kwnames[] = {
10745 (char *) "self",(char *) "position",(char *) "style", NULL
10746 };
10747
994141e6 10748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10749 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10750 if (SWIG_arg_fail(1)) SWIG_fail;
10751 {
10752 arg2 = (long)(SWIG_As_long(obj1));
10753 if (SWIG_arg_fail(2)) SWIG_fail;
10754 }
10755 {
10756 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
10757 if (SWIG_arg_fail(3)) SWIG_fail;
10758 if (arg3 == NULL) {
10759 SWIG_null_ref("wxTextAttr");
10760 }
10761 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
10762 }
10763 {
10764 PyThreadState* __tstate = wxPyBeginAllowThreads();
10765 result = (bool)(arg1)->GetStyle(arg2,*arg3);
10766
10767 wxPyEndAllowThreads(__tstate);
10768 if (PyErr_Occurred()) SWIG_fail;
10769 }
4f89f6a3
RD
10770 {
10771 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10772 }
d14a1e28
RD
10773 return resultobj;
10774 fail:
10775 return NULL;
10776}
10777
10778
c32bde28 10779static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10780 PyObject *resultobj;
10781 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10782 wxTextAttr *arg2 = 0 ;
10783 bool result;
10784 PyObject * obj0 = 0 ;
10785 PyObject * obj1 = 0 ;
10786 char *kwnames[] = {
10787 (char *) "self",(char *) "style", NULL
10788 };
10789
10790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10791 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10792 if (SWIG_arg_fail(1)) SWIG_fail;
10793 {
10794 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
10795 if (SWIG_arg_fail(2)) SWIG_fail;
10796 if (arg2 == NULL) {
10797 SWIG_null_ref("wxTextAttr");
10798 }
10799 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
10800 }
10801 {
10802 PyThreadState* __tstate = wxPyBeginAllowThreads();
10803 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
10804
10805 wxPyEndAllowThreads(__tstate);
10806 if (PyErr_Occurred()) SWIG_fail;
10807 }
4f89f6a3
RD
10808 {
10809 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10810 }
d14a1e28
RD
10811 return resultobj;
10812 fail:
10813 return NULL;
10814}
10815
10816
c32bde28 10817static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10818 PyObject *resultobj;
10819 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10820 wxTextAttr *result;
10821 PyObject * obj0 = 0 ;
10822 char *kwnames[] = {
10823 (char *) "self", NULL
10824 };
10825
10826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetDefaultStyle",kwnames,&obj0)) goto fail;
093d3ff1
RD
10827 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10828 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10829 {
10830 PyThreadState* __tstate = wxPyBeginAllowThreads();
10831 {
10832 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
10833 result = (wxTextAttr *) &_result_ref;
10834 }
10835
10836 wxPyEndAllowThreads(__tstate);
10837 if (PyErr_Occurred()) SWIG_fail;
10838 }
15afbcd0 10839 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 0);
d14a1e28
RD
10840 return resultobj;
10841 fail:
10842 return NULL;
10843}
10844
10845
c32bde28 10846static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10847 PyObject *resultobj;
10848 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10849 long arg2 ;
10850 long arg3 ;
10851 long result;
10852 PyObject * obj0 = 0 ;
994141e6
RD
10853 PyObject * obj1 = 0 ;
10854 PyObject * obj2 = 0 ;
d14a1e28
RD
10855 char *kwnames[] = {
10856 (char *) "self",(char *) "x",(char *) "y", NULL
10857 };
10858
994141e6 10859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_XYToPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10860 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10861 if (SWIG_arg_fail(1)) SWIG_fail;
10862 {
10863 arg2 = (long)(SWIG_As_long(obj1));
10864 if (SWIG_arg_fail(2)) SWIG_fail;
10865 }
10866 {
10867 arg3 = (long)(SWIG_As_long(obj2));
10868 if (SWIG_arg_fail(3)) SWIG_fail;
10869 }
d14a1e28
RD
10870 {
10871 PyThreadState* __tstate = wxPyBeginAllowThreads();
10872 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
10873
10874 wxPyEndAllowThreads(__tstate);
10875 if (PyErr_Occurred()) SWIG_fail;
10876 }
093d3ff1
RD
10877 {
10878 resultobj = SWIG_From_long((long)(result));
10879 }
d14a1e28
RD
10880 return resultobj;
10881 fail:
10882 return NULL;
10883}
10884
10885
c32bde28 10886static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10887 PyObject *resultobj;
10888 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10889 long arg2 ;
10890 long *arg3 = (long *) 0 ;
10891 long *arg4 = (long *) 0 ;
10892 long temp3 ;
c32bde28 10893 int res3 = 0 ;
d14a1e28 10894 long temp4 ;
c32bde28 10895 int res4 = 0 ;
d14a1e28 10896 PyObject * obj0 = 0 ;
994141e6 10897 PyObject * obj1 = 0 ;
d14a1e28
RD
10898 char *kwnames[] = {
10899 (char *) "self",(char *) "pos", NULL
10900 };
10901
c32bde28
RD
10902 arg3 = &temp3; res3 = SWIG_NEWOBJ;
10903 arg4 = &temp4; res4 = SWIG_NEWOBJ;
994141e6 10904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_PositionToXY",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10905 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10906 if (SWIG_arg_fail(1)) SWIG_fail;
10907 {
10908 arg2 = (long)(SWIG_As_long(obj1));
10909 if (SWIG_arg_fail(2)) SWIG_fail;
10910 }
d14a1e28
RD
10911 {
10912 PyThreadState* __tstate = wxPyBeginAllowThreads();
10913 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
10914
10915 wxPyEndAllowThreads(__tstate);
10916 if (PyErr_Occurred()) SWIG_fail;
10917 }
10918 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
10919 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
10920 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
10921 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
10922 SWIG_From_long((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, 0)));
d14a1e28
RD
10923 return resultobj;
10924 fail:
10925 return NULL;
10926}
10927
10928
c32bde28 10929static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10930 PyObject *resultobj;
10931 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10932 long arg2 ;
10933 PyObject * obj0 = 0 ;
994141e6 10934 PyObject * obj1 = 0 ;
d14a1e28
RD
10935 char *kwnames[] = {
10936 (char *) "self",(char *) "pos", NULL
10937 };
10938
994141e6 10939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ShowPosition",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10940 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10941 if (SWIG_arg_fail(1)) SWIG_fail;
10942 {
10943 arg2 = (long)(SWIG_As_long(obj1));
10944 if (SWIG_arg_fail(2)) SWIG_fail;
10945 }
d14a1e28
RD
10946 {
10947 PyThreadState* __tstate = wxPyBeginAllowThreads();
10948 (arg1)->ShowPosition(arg2);
10949
10950 wxPyEndAllowThreads(__tstate);
10951 if (PyErr_Occurred()) SWIG_fail;
10952 }
10953 Py_INCREF(Py_None); resultobj = Py_None;
10954 return resultobj;
10955 fail:
10956 return NULL;
10957}
10958
10959
c32bde28 10960static PyObject *_wrap_TextCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
4d5c3d91
RD
10961 PyObject *resultobj;
10962 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10963 wxPoint *arg2 = 0 ;
10964 long *arg3 = (long *) 0 ;
10965 long *arg4 = (long *) 0 ;
093d3ff1 10966 wxTextCtrlHitTestResult result;
4d5c3d91
RD
10967 wxPoint temp2 ;
10968 long temp3 ;
c32bde28 10969 int res3 = 0 ;
4d5c3d91 10970 long temp4 ;
c32bde28 10971 int res4 = 0 ;
4d5c3d91
RD
10972 PyObject * obj0 = 0 ;
10973 PyObject * obj1 = 0 ;
10974 char *kwnames[] = {
10975 (char *) "self",(char *) "pt", NULL
10976 };
10977
c32bde28
RD
10978 arg3 = &temp3; res3 = SWIG_NEWOBJ;
10979 arg4 = &temp4; res4 = SWIG_NEWOBJ;
4d5c3d91 10980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10981 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10982 if (SWIG_arg_fail(1)) SWIG_fail;
4d5c3d91
RD
10983 {
10984 arg2 = &temp2;
10985 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10986 }
10987 {
10988 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 10989 result = (wxTextCtrlHitTestResult)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3,arg4);
4d5c3d91
RD
10990
10991 wxPyEndAllowThreads(__tstate);
10992 if (PyErr_Occurred()) SWIG_fail;
10993 }
093d3ff1 10994 resultobj = SWIG_From_int((result));
c32bde28
RD
10995 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
10996 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
10997 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
10998 SWIG_From_long((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, 0)));
4d5c3d91
RD
10999 return resultobj;
11000 fail:
11001 return NULL;
11002}
11003
11004
c32bde28 11005static PyObject *_wrap_TextCtrl_HitTestPos(PyObject *, PyObject *args, PyObject *kwargs) {
4896ac9e
RD
11006 PyObject *resultobj;
11007 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11008 wxPoint *arg2 = 0 ;
11009 long *arg3 = (long *) 0 ;
093d3ff1 11010 wxTextCtrlHitTestResult result;
4896ac9e
RD
11011 wxPoint temp2 ;
11012 long temp3 ;
c32bde28 11013 int res3 = 0 ;
4896ac9e
RD
11014 PyObject * obj0 = 0 ;
11015 PyObject * obj1 = 0 ;
11016 char *kwnames[] = {
11017 (char *) "self",(char *) "pt", NULL
11018 };
11019
c32bde28 11020 arg3 = &temp3; res3 = SWIG_NEWOBJ;
4896ac9e 11021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTestPos",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11022 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11023 if (SWIG_arg_fail(1)) SWIG_fail;
4896ac9e
RD
11024 {
11025 arg2 = &temp2;
11026 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11027 }
11028 {
11029 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 11030 result = (wxTextCtrlHitTestResult)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
4896ac9e
RD
11031
11032 wxPyEndAllowThreads(__tstate);
11033 if (PyErr_Occurred()) SWIG_fail;
11034 }
093d3ff1 11035 resultobj = SWIG_From_int((result));
c32bde28
RD
11036 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
11037 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
4896ac9e
RD
11038 return resultobj;
11039 fail:
11040 return NULL;
11041}
11042
11043
c32bde28 11044static PyObject *_wrap_TextCtrl_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11045 PyObject *resultobj;
11046 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11047 PyObject * obj0 = 0 ;
11048 char *kwnames[] = {
11049 (char *) "self", NULL
11050 };
11051
11052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Copy",kwnames,&obj0)) goto fail;
093d3ff1
RD
11053 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11054 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11055 {
11056 PyThreadState* __tstate = wxPyBeginAllowThreads();
11057 (arg1)->Copy();
11058
11059 wxPyEndAllowThreads(__tstate);
11060 if (PyErr_Occurred()) SWIG_fail;
11061 }
11062 Py_INCREF(Py_None); resultobj = Py_None;
11063 return resultobj;
11064 fail:
11065 return NULL;
11066}
11067
11068
c32bde28 11069static PyObject *_wrap_TextCtrl_Cut(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11070 PyObject *resultobj;
11071 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11072 PyObject * obj0 = 0 ;
11073 char *kwnames[] = {
11074 (char *) "self", NULL
11075 };
11076
11077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Cut",kwnames,&obj0)) goto fail;
093d3ff1
RD
11078 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11079 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11080 {
11081 PyThreadState* __tstate = wxPyBeginAllowThreads();
11082 (arg1)->Cut();
11083
11084 wxPyEndAllowThreads(__tstate);
11085 if (PyErr_Occurred()) SWIG_fail;
11086 }
11087 Py_INCREF(Py_None); resultobj = Py_None;
11088 return resultobj;
11089 fail:
11090 return NULL;
11091}
11092
11093
c32bde28 11094static PyObject *_wrap_TextCtrl_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11095 PyObject *resultobj;
11096 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11097 PyObject * obj0 = 0 ;
11098 char *kwnames[] = {
11099 (char *) "self", NULL
11100 };
11101
11102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Paste",kwnames,&obj0)) goto fail;
093d3ff1
RD
11103 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11104 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11105 {
11106 PyThreadState* __tstate = wxPyBeginAllowThreads();
11107 (arg1)->Paste();
11108
11109 wxPyEndAllowThreads(__tstate);
11110 if (PyErr_Occurred()) SWIG_fail;
11111 }
11112 Py_INCREF(Py_None); resultobj = Py_None;
11113 return resultobj;
11114 fail:
11115 return NULL;
11116}
11117
11118
c32bde28 11119static PyObject *_wrap_TextCtrl_CanCopy(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11120 PyObject *resultobj;
11121 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11122 bool result;
11123 PyObject * obj0 = 0 ;
11124 char *kwnames[] = {
11125 (char *) "self", NULL
11126 };
11127
11128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCopy",kwnames,&obj0)) goto fail;
093d3ff1
RD
11129 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11130 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11131 {
11132 PyThreadState* __tstate = wxPyBeginAllowThreads();
11133 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
11134
11135 wxPyEndAllowThreads(__tstate);
11136 if (PyErr_Occurred()) SWIG_fail;
11137 }
4f89f6a3
RD
11138 {
11139 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11140 }
d14a1e28
RD
11141 return resultobj;
11142 fail:
11143 return NULL;
11144}
11145
11146
c32bde28 11147static PyObject *_wrap_TextCtrl_CanCut(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11148 PyObject *resultobj;
11149 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11150 bool result;
11151 PyObject * obj0 = 0 ;
11152 char *kwnames[] = {
11153 (char *) "self", NULL
11154 };
11155
11156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCut",kwnames,&obj0)) goto fail;
093d3ff1
RD
11157 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11158 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11159 {
11160 PyThreadState* __tstate = wxPyBeginAllowThreads();
11161 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
11162
11163 wxPyEndAllowThreads(__tstate);
11164 if (PyErr_Occurred()) SWIG_fail;
11165 }
4f89f6a3
RD
11166 {
11167 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11168 }
d14a1e28
RD
11169 return resultobj;
11170 fail:
11171 return NULL;
11172}
11173
11174
c32bde28 11175static PyObject *_wrap_TextCtrl_CanPaste(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11176 PyObject *resultobj;
11177 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11178 bool result;
11179 PyObject * obj0 = 0 ;
11180 char *kwnames[] = {
11181 (char *) "self", NULL
11182 };
11183
11184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanPaste",kwnames,&obj0)) goto fail;
093d3ff1
RD
11185 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11186 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11187 {
11188 PyThreadState* __tstate = wxPyBeginAllowThreads();
11189 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
11190
11191 wxPyEndAllowThreads(__tstate);
11192 if (PyErr_Occurred()) SWIG_fail;
11193 }
4f89f6a3
RD
11194 {
11195 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11196 }
d14a1e28
RD
11197 return resultobj;
11198 fail:
11199 return NULL;
11200}
11201
11202
c32bde28 11203static PyObject *_wrap_TextCtrl_Undo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11204 PyObject *resultobj;
11205 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11206 PyObject * obj0 = 0 ;
11207 char *kwnames[] = {
11208 (char *) "self", NULL
11209 };
11210
11211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Undo",kwnames,&obj0)) goto fail;
093d3ff1
RD
11212 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11213 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11214 {
11215 PyThreadState* __tstate = wxPyBeginAllowThreads();
11216 (arg1)->Undo();
11217
11218 wxPyEndAllowThreads(__tstate);
11219 if (PyErr_Occurred()) SWIG_fail;
11220 }
11221 Py_INCREF(Py_None); resultobj = Py_None;
11222 return resultobj;
11223 fail:
11224 return NULL;
11225}
11226
11227
c32bde28 11228static PyObject *_wrap_TextCtrl_Redo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11229 PyObject *resultobj;
11230 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11231 PyObject * obj0 = 0 ;
11232 char *kwnames[] = {
11233 (char *) "self", NULL
11234 };
11235
11236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Redo",kwnames,&obj0)) goto fail;
093d3ff1
RD
11237 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11238 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11239 {
11240 PyThreadState* __tstate = wxPyBeginAllowThreads();
11241 (arg1)->Redo();
11242
11243 wxPyEndAllowThreads(__tstate);
11244 if (PyErr_Occurred()) SWIG_fail;
11245 }
11246 Py_INCREF(Py_None); resultobj = Py_None;
11247 return resultobj;
11248 fail:
11249 return NULL;
11250}
11251
11252
c32bde28 11253static PyObject *_wrap_TextCtrl_CanUndo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11254 PyObject *resultobj;
11255 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11256 bool result;
11257 PyObject * obj0 = 0 ;
11258 char *kwnames[] = {
11259 (char *) "self", NULL
11260 };
11261
11262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanUndo",kwnames,&obj0)) goto fail;
093d3ff1
RD
11263 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11264 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11265 {
11266 PyThreadState* __tstate = wxPyBeginAllowThreads();
11267 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
11268
11269 wxPyEndAllowThreads(__tstate);
11270 if (PyErr_Occurred()) SWIG_fail;
11271 }
4f89f6a3
RD
11272 {
11273 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11274 }
d14a1e28
RD
11275 return resultobj;
11276 fail:
11277 return NULL;
11278}
11279
11280
c32bde28 11281static PyObject *_wrap_TextCtrl_CanRedo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11282 PyObject *resultobj;
11283 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11284 bool result;
11285 PyObject * obj0 = 0 ;
11286 char *kwnames[] = {
11287 (char *) "self", NULL
11288 };
11289
11290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanRedo",kwnames,&obj0)) goto fail;
093d3ff1
RD
11291 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11292 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11293 {
11294 PyThreadState* __tstate = wxPyBeginAllowThreads();
11295 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
11296
11297 wxPyEndAllowThreads(__tstate);
11298 if (PyErr_Occurred()) SWIG_fail;
11299 }
4f89f6a3
RD
11300 {
11301 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11302 }
d14a1e28
RD
11303 return resultobj;
11304 fail:
11305 return NULL;
11306}
11307
11308
c32bde28 11309static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11310 PyObject *resultobj;
11311 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11312 long arg2 ;
11313 PyObject * obj0 = 0 ;
994141e6 11314 PyObject * obj1 = 0 ;
d14a1e28
RD
11315 char *kwnames[] = {
11316 (char *) "self",(char *) "pos", NULL
11317 };
11318
994141e6 11319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11320 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11321 if (SWIG_arg_fail(1)) SWIG_fail;
11322 {
11323 arg2 = (long)(SWIG_As_long(obj1));
11324 if (SWIG_arg_fail(2)) SWIG_fail;
11325 }
d14a1e28
RD
11326 {
11327 PyThreadState* __tstate = wxPyBeginAllowThreads();
11328 (arg1)->SetInsertionPoint(arg2);
11329
11330 wxPyEndAllowThreads(__tstate);
11331 if (PyErr_Occurred()) SWIG_fail;
11332 }
11333 Py_INCREF(Py_None); resultobj = Py_None;
11334 return resultobj;
11335 fail:
11336 return NULL;
11337}
11338
11339
c32bde28 11340static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11341 PyObject *resultobj;
11342 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11343 PyObject * obj0 = 0 ;
11344 char *kwnames[] = {
11345 (char *) "self", NULL
11346 };
11347
11348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
093d3ff1
RD
11349 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11350 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11351 {
11352 PyThreadState* __tstate = wxPyBeginAllowThreads();
11353 (arg1)->SetInsertionPointEnd();
11354
11355 wxPyEndAllowThreads(__tstate);
11356 if (PyErr_Occurred()) SWIG_fail;
11357 }
11358 Py_INCREF(Py_None); resultobj = Py_None;
11359 return resultobj;
11360 fail:
11361 return NULL;
11362}
11363
11364
c32bde28 11365static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11366 PyObject *resultobj;
11367 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11368 long result;
11369 PyObject * obj0 = 0 ;
11370 char *kwnames[] = {
11371 (char *) "self", NULL
11372 };
11373
11374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetInsertionPoint",kwnames,&obj0)) goto fail;
093d3ff1
RD
11375 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11376 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11377 {
11378 PyThreadState* __tstate = wxPyBeginAllowThreads();
11379 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
11380
11381 wxPyEndAllowThreads(__tstate);
11382 if (PyErr_Occurred()) SWIG_fail;
11383 }
093d3ff1
RD
11384 {
11385 resultobj = SWIG_From_long((long)(result));
11386 }
d14a1e28
RD
11387 return resultobj;
11388 fail:
11389 return NULL;
11390}
11391
11392
c32bde28 11393static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11394 PyObject *resultobj;
11395 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11396 long result;
11397 PyObject * obj0 = 0 ;
11398 char *kwnames[] = {
11399 (char *) "self", NULL
11400 };
11401
11402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetLastPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
11403 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11404 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11405 {
11406 PyThreadState* __tstate = wxPyBeginAllowThreads();
11407 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
11408
11409 wxPyEndAllowThreads(__tstate);
11410 if (PyErr_Occurred()) SWIG_fail;
11411 }
093d3ff1
RD
11412 {
11413 resultobj = SWIG_From_long((long)(result));
11414 }
d14a1e28
RD
11415 return resultobj;
11416 fail:
11417 return NULL;
11418}
11419
11420
c32bde28 11421static PyObject *_wrap_TextCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11422 PyObject *resultobj;
11423 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11424 long arg2 ;
11425 long arg3 ;
11426 PyObject * obj0 = 0 ;
994141e6
RD
11427 PyObject * obj1 = 0 ;
11428 PyObject * obj2 = 0 ;
d14a1e28
RD
11429 char *kwnames[] = {
11430 (char *) "self",(char *) "from",(char *) "to", NULL
11431 };
11432
994141e6 11433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
11434 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11435 if (SWIG_arg_fail(1)) SWIG_fail;
11436 {
11437 arg2 = (long)(SWIG_As_long(obj1));
11438 if (SWIG_arg_fail(2)) SWIG_fail;
11439 }
11440 {
11441 arg3 = (long)(SWIG_As_long(obj2));
11442 if (SWIG_arg_fail(3)) SWIG_fail;
11443 }
d14a1e28
RD
11444 {
11445 PyThreadState* __tstate = wxPyBeginAllowThreads();
11446 (arg1)->SetSelection(arg2,arg3);
11447
11448 wxPyEndAllowThreads(__tstate);
11449 if (PyErr_Occurred()) SWIG_fail;
11450 }
11451 Py_INCREF(Py_None); resultobj = Py_None;
11452 return resultobj;
11453 fail:
11454 return NULL;
11455}
11456
11457
c32bde28 11458static PyObject *_wrap_TextCtrl_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11459 PyObject *resultobj;
11460 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11461 PyObject * obj0 = 0 ;
11462 char *kwnames[] = {
11463 (char *) "self", NULL
11464 };
11465
11466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SelectAll",kwnames,&obj0)) goto fail;
093d3ff1
RD
11467 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11468 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11469 {
11470 PyThreadState* __tstate = wxPyBeginAllowThreads();
11471 (arg1)->SelectAll();
11472
11473 wxPyEndAllowThreads(__tstate);
11474 if (PyErr_Occurred()) SWIG_fail;
11475 }
11476 Py_INCREF(Py_None); resultobj = Py_None;
11477 return resultobj;
11478 fail:
11479 return NULL;
11480}
11481
11482
c32bde28 11483static PyObject *_wrap_TextCtrl_SetEditable(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11484 PyObject *resultobj;
11485 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11486 bool arg2 ;
11487 PyObject * obj0 = 0 ;
11488 PyObject * obj1 = 0 ;
11489 char *kwnames[] = {
11490 (char *) "self",(char *) "editable", NULL
11491 };
11492
11493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11494 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11495 if (SWIG_arg_fail(1)) SWIG_fail;
11496 {
11497 arg2 = (bool)(SWIG_As_bool(obj1));
11498 if (SWIG_arg_fail(2)) SWIG_fail;
11499 }
d14a1e28
RD
11500 {
11501 PyThreadState* __tstate = wxPyBeginAllowThreads();
11502 (arg1)->SetEditable(arg2);
11503
11504 wxPyEndAllowThreads(__tstate);
11505 if (PyErr_Occurred()) SWIG_fail;
11506 }
11507 Py_INCREF(Py_None); resultobj = Py_None;
11508 return resultobj;
11509 fail:
11510 return NULL;
11511}
11512
11513
c32bde28 11514static PyObject *_wrap_TextCtrl_write(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11515 PyObject *resultobj;
11516 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11517 wxString *arg2 = 0 ;
ae8162c8 11518 bool temp2 = false ;
d14a1e28
RD
11519 PyObject * obj0 = 0 ;
11520 PyObject * obj1 = 0 ;
11521 char *kwnames[] = {
11522 (char *) "self",(char *) "text", NULL
11523 };
11524
11525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11526 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11527 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11528 {
11529 arg2 = wxString_in_helper(obj1);
11530 if (arg2 == NULL) SWIG_fail;
ae8162c8 11531 temp2 = true;
d14a1e28
RD
11532 }
11533 {
11534 PyThreadState* __tstate = wxPyBeginAllowThreads();
11535 wxTextCtrl_write(arg1,(wxString const &)*arg2);
11536
11537 wxPyEndAllowThreads(__tstate);
11538 if (PyErr_Occurred()) SWIG_fail;
11539 }
11540 Py_INCREF(Py_None); resultobj = Py_None;
11541 {
11542 if (temp2)
11543 delete arg2;
11544 }
11545 return resultobj;
11546 fail:
11547 {
11548 if (temp2)
11549 delete arg2;
11550 }
11551 return NULL;
11552}
11553
11554
c32bde28 11555static PyObject *_wrap_TextCtrl_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11556 PyObject *resultobj;
11557 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11558 long arg2 ;
11559 long arg3 ;
11560 wxString result;
11561 PyObject * obj0 = 0 ;
994141e6
RD
11562 PyObject * obj1 = 0 ;
11563 PyObject * obj2 = 0 ;
d14a1e28
RD
11564 char *kwnames[] = {
11565 (char *) "self",(char *) "from",(char *) "to", NULL
11566 };
11567
994141e6 11568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
11569 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11570 if (SWIG_arg_fail(1)) SWIG_fail;
11571 {
11572 arg2 = (long)(SWIG_As_long(obj1));
11573 if (SWIG_arg_fail(2)) SWIG_fail;
11574 }
11575 {
11576 arg3 = (long)(SWIG_As_long(obj2));
11577 if (SWIG_arg_fail(3)) SWIG_fail;
11578 }
d14a1e28
RD
11579 {
11580 PyThreadState* __tstate = wxPyBeginAllowThreads();
11581 result = wxTextCtrl_GetString(arg1,arg2,arg3);
11582
11583 wxPyEndAllowThreads(__tstate);
11584 if (PyErr_Occurred()) SWIG_fail;
11585 }
11586 {
11587#if wxUSE_UNICODE
11588 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11589#else
11590 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11591#endif
11592 }
11593 return resultobj;
11594 fail:
11595 return NULL;
11596}
11597
11598
c32bde28 11599static PyObject *_wrap_TextCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c 11600 PyObject *resultobj;
093d3ff1 11601 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
11602 wxVisualAttributes result;
11603 PyObject * obj0 = 0 ;
11604 char *kwnames[] = {
11605 (char *) "variant", NULL
11606 };
11607
11608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
11609 if (obj0) {
093d3ff1
RD
11610 {
11611 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
11612 if (SWIG_arg_fail(1)) SWIG_fail;
11613 }
22bfe96c
RD
11614 }
11615 {
110da5b0 11616 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
11617 PyThreadState* __tstate = wxPyBeginAllowThreads();
11618 result = wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
11619
11620 wxPyEndAllowThreads(__tstate);
dfbb5885 11621 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
11622 }
11623 {
11624 wxVisualAttributes * resultptr;
093d3ff1 11625 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
22bfe96c
RD
11626 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
11627 }
11628 return resultobj;
11629 fail:
11630 return NULL;
11631}
11632
11633
c32bde28 11634static PyObject * TextCtrl_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
11635 PyObject *obj;
11636 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11637 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl, obj);
11638 Py_INCREF(obj);
11639 return Py_BuildValue((char *)"");
11640}
c32bde28 11641static PyObject *_wrap_new_TextUrlEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11642 PyObject *resultobj;
11643 int arg1 ;
11644 wxMouseEvent *arg2 = 0 ;
11645 long arg3 ;
11646 long arg4 ;
11647 wxTextUrlEvent *result;
994141e6 11648 PyObject * obj0 = 0 ;
d14a1e28 11649 PyObject * obj1 = 0 ;
994141e6
RD
11650 PyObject * obj2 = 0 ;
11651 PyObject * obj3 = 0 ;
d14a1e28
RD
11652 char *kwnames[] = {
11653 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
11654 };
11655
994141e6 11656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_TextUrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
11657 {
11658 arg1 = (int)(SWIG_As_int(obj0));
11659 if (SWIG_arg_fail(1)) SWIG_fail;
11660 }
11661 {
11662 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
11663 if (SWIG_arg_fail(2)) SWIG_fail;
11664 if (arg2 == NULL) {
11665 SWIG_null_ref("wxMouseEvent");
11666 }
11667 if (SWIG_arg_fail(2)) SWIG_fail;
11668 }
11669 {
11670 arg3 = (long)(SWIG_As_long(obj2));
11671 if (SWIG_arg_fail(3)) SWIG_fail;
11672 }
11673 {
11674 arg4 = (long)(SWIG_As_long(obj3));
11675 if (SWIG_arg_fail(4)) SWIG_fail;
994141e6 11676 }
d14a1e28
RD
11677 {
11678 PyThreadState* __tstate = wxPyBeginAllowThreads();
11679 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
11680
11681 wxPyEndAllowThreads(__tstate);
11682 if (PyErr_Occurred()) SWIG_fail;
11683 }
15afbcd0 11684 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextUrlEvent, 1);
d14a1e28
RD
11685 return resultobj;
11686 fail:
11687 return NULL;
11688}
11689
11690
c32bde28 11691static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11692 PyObject *resultobj;
11693 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
11694 wxMouseEvent *result;
11695 PyObject * obj0 = 0 ;
11696 char *kwnames[] = {
11697 (char *) "self", NULL
11698 };
11699
11700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames,&obj0)) goto fail;
093d3ff1
RD
11701 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_EXCEPTION | 0);
11702 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11703 {
11704 PyThreadState* __tstate = wxPyBeginAllowThreads();
11705 {
11706 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
11707 result = (wxMouseEvent *) &_result_ref;
11708 }
11709
11710 wxPyEndAllowThreads(__tstate);
11711 if (PyErr_Occurred()) SWIG_fail;
11712 }
15afbcd0 11713 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMouseEvent, 0);
d14a1e28
RD
11714 return resultobj;
11715 fail:
11716 return NULL;
11717}
11718
11719
c32bde28 11720static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11721 PyObject *resultobj;
11722 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
11723 long result;
11724 PyObject * obj0 = 0 ;
11725 char *kwnames[] = {
11726 (char *) "self", NULL
11727 };
11728
11729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLStart",kwnames,&obj0)) goto fail;
093d3ff1
RD
11730 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_EXCEPTION | 0);
11731 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11732 {
11733 PyThreadState* __tstate = wxPyBeginAllowThreads();
11734 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
11735
11736 wxPyEndAllowThreads(__tstate);
11737 if (PyErr_Occurred()) SWIG_fail;
11738 }
093d3ff1
RD
11739 {
11740 resultobj = SWIG_From_long((long)(result));
11741 }
d14a1e28
RD
11742 return resultobj;
11743 fail:
11744 return NULL;
11745}
11746
11747
c32bde28 11748static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11749 PyObject *resultobj;
11750 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
11751 long result;
11752 PyObject * obj0 = 0 ;
11753 char *kwnames[] = {
11754 (char *) "self", NULL
11755 };
11756
11757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLEnd",kwnames,&obj0)) goto fail;
093d3ff1
RD
11758 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_EXCEPTION | 0);
11759 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11760 {
11761 PyThreadState* __tstate = wxPyBeginAllowThreads();
11762 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
11763
11764 wxPyEndAllowThreads(__tstate);
11765 if (PyErr_Occurred()) SWIG_fail;
11766 }
093d3ff1
RD
11767 {
11768 resultobj = SWIG_From_long((long)(result));
11769 }
d14a1e28
RD
11770 return resultobj;
11771 fail:
11772 return NULL;
11773}
11774
11775
c32bde28 11776static PyObject * TextUrlEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
11777 PyObject *obj;
11778 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11779 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent, obj);
11780 Py_INCREF(obj);
11781 return Py_BuildValue((char *)"");
11782}
c32bde28 11783static int _wrap_ScrollBarNameStr_set(PyObject *) {
b2dc1044
RD
11784 PyErr_SetString(PyExc_TypeError,"Variable ScrollBarNameStr is read-only.");
11785 return 1;
11786}
11787
11788
093d3ff1 11789static PyObject *_wrap_ScrollBarNameStr_get(void) {
b2dc1044
RD
11790 PyObject *pyobj;
11791
11792 {
11793#if wxUSE_UNICODE
11794 pyobj = PyUnicode_FromWideChar((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
11795#else
11796 pyobj = PyString_FromStringAndSize((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
11797#endif
11798 }
11799 return pyobj;
11800}
11801
11802
c32bde28 11803static PyObject *_wrap_new_ScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11804 PyObject *resultobj;
11805 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 11806 int arg2 = (int) -1 ;
d14a1e28
RD
11807 wxPoint const &arg3_defvalue = wxDefaultPosition ;
11808 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
11809 wxSize const &arg4_defvalue = wxDefaultSize ;
11810 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
11811 long arg5 = (long) wxSB_HORIZONTAL ;
11812 wxValidator const &arg6_defvalue = wxDefaultValidator ;
11813 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
11814 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
11815 wxString *arg7 = (wxString *) &arg7_defvalue ;
11816 wxScrollBar *result;
11817 wxPoint temp3 ;
11818 wxSize temp4 ;
ae8162c8 11819 bool temp7 = false ;
d14a1e28 11820 PyObject * obj0 = 0 ;
994141e6 11821 PyObject * obj1 = 0 ;
d14a1e28
RD
11822 PyObject * obj2 = 0 ;
11823 PyObject * obj3 = 0 ;
994141e6 11824 PyObject * obj4 = 0 ;
d14a1e28
RD
11825 PyObject * obj5 = 0 ;
11826 PyObject * obj6 = 0 ;
11827 char *kwnames[] = {
11828 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11829 };
11830
994141e6 11831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ScrollBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
11832 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11833 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 11834 if (obj1) {
093d3ff1
RD
11835 {
11836 arg2 = (int)(SWIG_As_int(obj1));
11837 if (SWIG_arg_fail(2)) SWIG_fail;
11838 }
994141e6 11839 }
d14a1e28
RD
11840 if (obj2) {
11841 {
11842 arg3 = &temp3;
11843 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11844 }
11845 }
11846 if (obj3) {
11847 {
11848 arg4 = &temp4;
11849 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
11850 }
11851 }
994141e6 11852 if (obj4) {
093d3ff1
RD
11853 {
11854 arg5 = (long)(SWIG_As_long(obj4));
11855 if (SWIG_arg_fail(5)) SWIG_fail;
11856 }
994141e6 11857 }
d14a1e28 11858 if (obj5) {
093d3ff1
RD
11859 {
11860 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
11861 if (SWIG_arg_fail(6)) SWIG_fail;
11862 if (arg6 == NULL) {
11863 SWIG_null_ref("wxValidator");
11864 }
11865 if (SWIG_arg_fail(6)) SWIG_fail;
d14a1e28
RD
11866 }
11867 }
11868 if (obj6) {
11869 {
11870 arg7 = wxString_in_helper(obj6);
11871 if (arg7 == NULL) SWIG_fail;
ae8162c8 11872 temp7 = true;
d14a1e28
RD
11873 }
11874 }
11875 {
e3b71cb8 11876 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
11877 PyThreadState* __tstate = wxPyBeginAllowThreads();
11878 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
11879
11880 wxPyEndAllowThreads(__tstate);
110da5b0 11881 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 11882 }
15afbcd0 11883 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
d14a1e28
RD
11884 {
11885 if (temp7)
11886 delete arg7;
11887 }
11888 return resultobj;
11889 fail:
11890 {
11891 if (temp7)
11892 delete arg7;
11893 }
11894 return NULL;
11895}
11896
11897
c32bde28 11898static PyObject *_wrap_new_PreScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11899 PyObject *resultobj;
11900 wxScrollBar *result;
11901 char *kwnames[] = {
11902 NULL
11903 };
11904
11905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrollBar",kwnames)) goto fail;
11906 {
e3b71cb8 11907 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
11908 PyThreadState* __tstate = wxPyBeginAllowThreads();
11909 result = (wxScrollBar *)new wxScrollBar();
11910
11911 wxPyEndAllowThreads(__tstate);
110da5b0 11912 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 11913 }
15afbcd0 11914 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
d14a1e28
RD
11915 return resultobj;
11916 fail:
11917 return NULL;
11918}
11919
11920
c32bde28 11921static PyObject *_wrap_ScrollBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11922 PyObject *resultobj;
11923 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
11924 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 11925 int arg3 = (int) -1 ;
d14a1e28
RD
11926 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11927 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11928 wxSize const &arg5_defvalue = wxDefaultSize ;
11929 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11930 long arg6 = (long) wxSB_HORIZONTAL ;
11931 wxValidator const &arg7_defvalue = wxDefaultValidator ;
11932 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
11933 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
11934 wxString *arg8 = (wxString *) &arg8_defvalue ;
11935 bool result;
11936 wxPoint temp4 ;
11937 wxSize temp5 ;
ae8162c8 11938 bool temp8 = false ;
d14a1e28
RD
11939 PyObject * obj0 = 0 ;
11940 PyObject * obj1 = 0 ;
994141e6 11941 PyObject * obj2 = 0 ;
d14a1e28
RD
11942 PyObject * obj3 = 0 ;
11943 PyObject * obj4 = 0 ;
994141e6 11944 PyObject * obj5 = 0 ;
d14a1e28
RD
11945 PyObject * obj6 = 0 ;
11946 PyObject * obj7 = 0 ;
11947 char *kwnames[] = {
11948 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11949 };
11950
994141e6 11951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
11952 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
11953 if (SWIG_arg_fail(1)) SWIG_fail;
11954 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11955 if (SWIG_arg_fail(2)) SWIG_fail;
994141e6 11956 if (obj2) {
093d3ff1
RD
11957 {
11958 arg3 = (int)(SWIG_As_int(obj2));
11959 if (SWIG_arg_fail(3)) SWIG_fail;
11960 }
994141e6 11961 }
d14a1e28
RD
11962 if (obj3) {
11963 {
11964 arg4 = &temp4;
11965 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11966 }
11967 }
11968 if (obj4) {
11969 {
11970 arg5 = &temp5;
11971 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11972 }
11973 }
994141e6 11974 if (obj5) {
093d3ff1
RD
11975 {
11976 arg6 = (long)(SWIG_As_long(obj5));
11977 if (SWIG_arg_fail(6)) SWIG_fail;
11978 }
994141e6 11979 }
d14a1e28 11980 if (obj6) {
093d3ff1
RD
11981 {
11982 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
11983 if (SWIG_arg_fail(7)) SWIG_fail;
11984 if (arg7 == NULL) {
11985 SWIG_null_ref("wxValidator");
11986 }
11987 if (SWIG_arg_fail(7)) SWIG_fail;
d14a1e28
RD
11988 }
11989 }
11990 if (obj7) {
11991 {
11992 arg8 = wxString_in_helper(obj7);
11993 if (arg8 == NULL) SWIG_fail;
ae8162c8 11994 temp8 = true;
d14a1e28
RD
11995 }
11996 }
11997 {
11998 PyThreadState* __tstate = wxPyBeginAllowThreads();
11999 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
12000
12001 wxPyEndAllowThreads(__tstate);
12002 if (PyErr_Occurred()) SWIG_fail;
12003 }
4f89f6a3
RD
12004 {
12005 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12006 }
d14a1e28
RD
12007 {
12008 if (temp8)
12009 delete arg8;
12010 }
12011 return resultobj;
12012 fail:
12013 {
12014 if (temp8)
12015 delete arg8;
12016 }
12017 return NULL;
12018}
12019
12020
c32bde28 12021static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12022 PyObject *resultobj;
12023 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12024 int result;
12025 PyObject * obj0 = 0 ;
12026 char *kwnames[] = {
12027 (char *) "self", NULL
12028 };
12029
12030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
12031 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12032 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12033 {
12034 PyThreadState* __tstate = wxPyBeginAllowThreads();
12035 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
12036
12037 wxPyEndAllowThreads(__tstate);
12038 if (PyErr_Occurred()) SWIG_fail;
12039 }
093d3ff1
RD
12040 {
12041 resultobj = SWIG_From_int((int)(result));
12042 }
d14a1e28
RD
12043 return resultobj;
12044 fail:
12045 return NULL;
12046}
12047
12048
c32bde28 12049static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12050 PyObject *resultobj;
12051 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12052 int result;
12053 PyObject * obj0 = 0 ;
12054 char *kwnames[] = {
12055 (char *) "self", NULL
12056 };
12057
12058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
12059 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12060 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12061 {
12062 PyThreadState* __tstate = wxPyBeginAllowThreads();
12063 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
12064
12065 wxPyEndAllowThreads(__tstate);
12066 if (PyErr_Occurred()) SWIG_fail;
12067 }
093d3ff1
RD
12068 {
12069 resultobj = SWIG_From_int((int)(result));
12070 }
d14a1e28
RD
12071 return resultobj;
12072 fail:
12073 return NULL;
12074}
12075
12076
c32bde28 12077static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12078 PyObject *resultobj;
12079 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12080 int result;
12081 PyObject * obj0 = 0 ;
12082 char *kwnames[] = {
12083 (char *) "self", NULL
12084 };
12085
12086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetPageSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
12087 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12088 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12089 {
12090 PyThreadState* __tstate = wxPyBeginAllowThreads();
12091 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
12092
12093 wxPyEndAllowThreads(__tstate);
12094 if (PyErr_Occurred()) SWIG_fail;
12095 }
093d3ff1
RD
12096 {
12097 resultobj = SWIG_From_int((int)(result));
12098 }
d14a1e28
RD
12099 return resultobj;
12100 fail:
12101 return NULL;
12102}
12103
12104
c32bde28 12105static PyObject *_wrap_ScrollBar_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12106 PyObject *resultobj;
12107 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12108 int result;
12109 PyObject * obj0 = 0 ;
12110 char *kwnames[] = {
12111 (char *) "self", NULL
12112 };
12113
12114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetRange",kwnames,&obj0)) goto fail;
093d3ff1
RD
12115 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12116 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12117 {
12118 PyThreadState* __tstate = wxPyBeginAllowThreads();
12119 result = (int)((wxScrollBar const *)arg1)->GetRange();
12120
12121 wxPyEndAllowThreads(__tstate);
12122 if (PyErr_Occurred()) SWIG_fail;
12123 }
093d3ff1
RD
12124 {
12125 resultobj = SWIG_From_int((int)(result));
12126 }
d14a1e28
RD
12127 return resultobj;
12128 fail:
12129 return NULL;
12130}
12131
12132
c32bde28 12133static PyObject *_wrap_ScrollBar_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12134 PyObject *resultobj;
12135 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12136 bool result;
12137 PyObject * obj0 = 0 ;
12138 char *kwnames[] = {
12139 (char *) "self", NULL
12140 };
12141
12142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_IsVertical",kwnames,&obj0)) goto fail;
093d3ff1
RD
12143 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12144 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12145 {
12146 PyThreadState* __tstate = wxPyBeginAllowThreads();
12147 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
12148
12149 wxPyEndAllowThreads(__tstate);
12150 if (PyErr_Occurred()) SWIG_fail;
12151 }
4f89f6a3
RD
12152 {
12153 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12154 }
d14a1e28
RD
12155 return resultobj;
12156 fail:
12157 return NULL;
12158}
12159
12160
c32bde28 12161static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12162 PyObject *resultobj;
12163 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12164 int arg2 ;
12165 PyObject * obj0 = 0 ;
994141e6 12166 PyObject * obj1 = 0 ;
d14a1e28
RD
12167 char *kwnames[] = {
12168 (char *) "self",(char *) "viewStart", NULL
12169 };
12170
994141e6 12171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollBar_SetThumbPosition",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12172 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12173 if (SWIG_arg_fail(1)) SWIG_fail;
12174 {
12175 arg2 = (int)(SWIG_As_int(obj1));
12176 if (SWIG_arg_fail(2)) SWIG_fail;
12177 }
d14a1e28
RD
12178 {
12179 PyThreadState* __tstate = wxPyBeginAllowThreads();
12180 (arg1)->SetThumbPosition(arg2);
12181
12182 wxPyEndAllowThreads(__tstate);
12183 if (PyErr_Occurred()) SWIG_fail;
12184 }
12185 Py_INCREF(Py_None); resultobj = Py_None;
12186 return resultobj;
12187 fail:
12188 return NULL;
12189}
12190
12191
c32bde28 12192static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12193 PyObject *resultobj;
12194 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12195 int arg2 ;
12196 int arg3 ;
12197 int arg4 ;
12198 int arg5 ;
ae8162c8 12199 bool arg6 = (bool) true ;
d14a1e28 12200 PyObject * obj0 = 0 ;
994141e6
RD
12201 PyObject * obj1 = 0 ;
12202 PyObject * obj2 = 0 ;
12203 PyObject * obj3 = 0 ;
12204 PyObject * obj4 = 0 ;
d14a1e28
RD
12205 PyObject * obj5 = 0 ;
12206 char *kwnames[] = {
12207 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
12208 };
12209
994141e6 12210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) 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;
12213 {
12214 arg2 = (int)(SWIG_As_int(obj1));
12215 if (SWIG_arg_fail(2)) SWIG_fail;
12216 }
12217 {
12218 arg3 = (int)(SWIG_As_int(obj2));
12219 if (SWIG_arg_fail(3)) SWIG_fail;
12220 }
12221 {
12222 arg4 = (int)(SWIG_As_int(obj3));
12223 if (SWIG_arg_fail(4)) SWIG_fail;
12224 }
12225 {
12226 arg5 = (int)(SWIG_As_int(obj4));
12227 if (SWIG_arg_fail(5)) SWIG_fail;
12228 }
d14a1e28 12229 if (obj5) {
093d3ff1
RD
12230 {
12231 arg6 = (bool)(SWIG_As_bool(obj5));
12232 if (SWIG_arg_fail(6)) SWIG_fail;
12233 }
d14a1e28
RD
12234 }
12235 {
12236 PyThreadState* __tstate = wxPyBeginAllowThreads();
12237 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
12238
12239 wxPyEndAllowThreads(__tstate);
12240 if (PyErr_Occurred()) SWIG_fail;
12241 }
12242 Py_INCREF(Py_None); resultobj = Py_None;
12243 return resultobj;
12244 fail:
12245 return NULL;
12246}
12247
12248
c32bde28 12249static PyObject *_wrap_ScrollBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c 12250 PyObject *resultobj;
093d3ff1 12251 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
12252 wxVisualAttributes result;
12253 PyObject * obj0 = 0 ;
12254 char *kwnames[] = {
12255 (char *) "variant", NULL
12256 };
12257
12258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
12259 if (obj0) {
093d3ff1
RD
12260 {
12261 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
12262 if (SWIG_arg_fail(1)) SWIG_fail;
12263 }
22bfe96c
RD
12264 }
12265 {
110da5b0 12266 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
12267 PyThreadState* __tstate = wxPyBeginAllowThreads();
12268 result = wxScrollBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
12269
12270 wxPyEndAllowThreads(__tstate);
dfbb5885 12271 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
12272 }
12273 {
12274 wxVisualAttributes * resultptr;
093d3ff1 12275 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
22bfe96c
RD
12276 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
12277 }
12278 return resultobj;
12279 fail:
12280 return NULL;
12281}
12282
12283
c32bde28 12284static PyObject * ScrollBar_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
12285 PyObject *obj;
12286 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12287 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar, obj);
12288 Py_INCREF(obj);
12289 return Py_BuildValue((char *)"");
12290}
c32bde28 12291static int _wrap_SPIN_BUTTON_NAME_set(PyObject *) {
b2dc1044
RD
12292 PyErr_SetString(PyExc_TypeError,"Variable SPIN_BUTTON_NAME is read-only.");
12293 return 1;
12294}
12295
12296
093d3ff1 12297static PyObject *_wrap_SPIN_BUTTON_NAME_get(void) {
b2dc1044
RD
12298 PyObject *pyobj;
12299
12300 {
12301#if wxUSE_UNICODE
12302 pyobj = PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
12303#else
12304 pyobj = PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
12305#endif
12306 }
12307 return pyobj;
12308}
12309
12310
c32bde28 12311static int _wrap_SpinCtrlNameStr_set(PyObject *) {
b2dc1044
RD
12312 PyErr_SetString(PyExc_TypeError,"Variable SpinCtrlNameStr is read-only.");
12313 return 1;
12314}
12315
12316
093d3ff1 12317static PyObject *_wrap_SpinCtrlNameStr_get(void) {
b2dc1044
RD
12318 PyObject *pyobj;
12319
12320 {
12321#if wxUSE_UNICODE
12322 pyobj = PyUnicode_FromWideChar((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
12323#else
12324 pyobj = PyString_FromStringAndSize((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
12325#endif
12326 }
12327 return pyobj;
12328}
12329
12330
c32bde28 12331static PyObject *_wrap_new_SpinButton(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12332 PyObject *resultobj;
12333 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 12334 int arg2 = (int) -1 ;
d14a1e28
RD
12335 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12336 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12337 wxSize const &arg4_defvalue = wxDefaultSize ;
12338 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12339 long arg5 = (long) wxSP_HORIZONTAL ;
12340 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
12341 wxString *arg6 = (wxString *) &arg6_defvalue ;
12342 wxSpinButton *result;
12343 wxPoint temp3 ;
12344 wxSize temp4 ;
ae8162c8 12345 bool temp6 = false ;
d14a1e28 12346 PyObject * obj0 = 0 ;
994141e6 12347 PyObject * obj1 = 0 ;
d14a1e28
RD
12348 PyObject * obj2 = 0 ;
12349 PyObject * obj3 = 0 ;
994141e6 12350 PyObject * obj4 = 0 ;
d14a1e28
RD
12351 PyObject * obj5 = 0 ;
12352 char *kwnames[] = {
12353 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12354 };
12355
994141e6 12356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SpinButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
12357 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12358 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 12359 if (obj1) {
093d3ff1
RD
12360 {
12361 arg2 = (int)(SWIG_As_int(obj1));
12362 if (SWIG_arg_fail(2)) SWIG_fail;
12363 }
994141e6 12364 }
d14a1e28
RD
12365 if (obj2) {
12366 {
12367 arg3 = &temp3;
12368 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12369 }
12370 }
12371 if (obj3) {
12372 {
12373 arg4 = &temp4;
12374 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12375 }
12376 }
994141e6 12377 if (obj4) {
093d3ff1
RD
12378 {
12379 arg5 = (long)(SWIG_As_long(obj4));
12380 if (SWIG_arg_fail(5)) SWIG_fail;
12381 }
994141e6 12382 }
d14a1e28
RD
12383 if (obj5) {
12384 {
12385 arg6 = wxString_in_helper(obj5);
12386 if (arg6 == NULL) SWIG_fail;
ae8162c8 12387 temp6 = true;
d14a1e28
RD
12388 }
12389 }
12390 {
e3b71cb8 12391 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
12392 PyThreadState* __tstate = wxPyBeginAllowThreads();
12393 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12394
12395 wxPyEndAllowThreads(__tstate);
110da5b0 12396 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 12397 }
15afbcd0 12398 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
d14a1e28
RD
12399 {
12400 if (temp6)
12401 delete arg6;
12402 }
12403 return resultobj;
12404 fail:
12405 {
12406 if (temp6)
12407 delete arg6;
12408 }
12409 return NULL;
12410}
12411
12412
c32bde28 12413static PyObject *_wrap_new_PreSpinButton(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12414 PyObject *resultobj;
12415 wxSpinButton *result;
12416 char *kwnames[] = {
12417 NULL
12418 };
12419
12420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinButton",kwnames)) goto fail;
12421 {
e3b71cb8 12422 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
12423 PyThreadState* __tstate = wxPyBeginAllowThreads();
12424 result = (wxSpinButton *)new wxSpinButton();
12425
12426 wxPyEndAllowThreads(__tstate);
110da5b0 12427 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 12428 }
15afbcd0 12429 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
d14a1e28
RD
12430 return resultobj;
12431 fail:
12432 return NULL;
12433}
12434
12435
c32bde28 12436static PyObject *_wrap_SpinButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12437 PyObject *resultobj;
12438 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12439 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 12440 int arg3 = (int) -1 ;
d14a1e28
RD
12441 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12442 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12443 wxSize const &arg5_defvalue = wxDefaultSize ;
12444 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12445 long arg6 = (long) wxSP_HORIZONTAL ;
12446 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
12447 wxString *arg7 = (wxString *) &arg7_defvalue ;
12448 bool result;
12449 wxPoint temp4 ;
12450 wxSize temp5 ;
ae8162c8 12451 bool temp7 = false ;
d14a1e28
RD
12452 PyObject * obj0 = 0 ;
12453 PyObject * obj1 = 0 ;
994141e6 12454 PyObject * obj2 = 0 ;
d14a1e28
RD
12455 PyObject * obj3 = 0 ;
12456 PyObject * obj4 = 0 ;
994141e6 12457 PyObject * obj5 = 0 ;
d14a1e28
RD
12458 PyObject * obj6 = 0 ;
12459 char *kwnames[] = {
12460 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12461 };
12462
994141e6 12463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SpinButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
12464 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12465 if (SWIG_arg_fail(1)) SWIG_fail;
12466 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12467 if (SWIG_arg_fail(2)) SWIG_fail;
994141e6 12468 if (obj2) {
093d3ff1
RD
12469 {
12470 arg3 = (int)(SWIG_As_int(obj2));
12471 if (SWIG_arg_fail(3)) SWIG_fail;
12472 }
994141e6 12473 }
d14a1e28
RD
12474 if (obj3) {
12475 {
12476 arg4 = &temp4;
12477 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12478 }
12479 }
12480 if (obj4) {
12481 {
12482 arg5 = &temp5;
12483 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12484 }
12485 }
994141e6 12486 if (obj5) {
093d3ff1
RD
12487 {
12488 arg6 = (long)(SWIG_As_long(obj5));
12489 if (SWIG_arg_fail(6)) SWIG_fail;
12490 }
994141e6 12491 }
d14a1e28
RD
12492 if (obj6) {
12493 {
12494 arg7 = wxString_in_helper(obj6);
12495 if (arg7 == NULL) SWIG_fail;
ae8162c8 12496 temp7 = true;
d14a1e28
RD
12497 }
12498 }
12499 {
12500 PyThreadState* __tstate = wxPyBeginAllowThreads();
12501 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12502
12503 wxPyEndAllowThreads(__tstate);
12504 if (PyErr_Occurred()) SWIG_fail;
12505 }
4f89f6a3
RD
12506 {
12507 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12508 }
d14a1e28
RD
12509 {
12510 if (temp7)
12511 delete arg7;
12512 }
12513 return resultobj;
12514 fail:
12515 {
12516 if (temp7)
12517 delete arg7;
12518 }
12519 return NULL;
12520}
12521
12522
c32bde28 12523static PyObject *_wrap_SpinButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12524 PyObject *resultobj;
12525 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12526 int result;
12527 PyObject * obj0 = 0 ;
12528 char *kwnames[] = {
12529 (char *) "self", NULL
12530 };
12531
12532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
12533 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12534 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12535 {
12536 PyThreadState* __tstate = wxPyBeginAllowThreads();
12537 result = (int)((wxSpinButton const *)arg1)->GetValue();
12538
12539 wxPyEndAllowThreads(__tstate);
12540 if (PyErr_Occurred()) SWIG_fail;
12541 }
093d3ff1
RD
12542 {
12543 resultobj = SWIG_From_int((int)(result));
12544 }
d14a1e28
RD
12545 return resultobj;
12546 fail:
12547 return NULL;
12548}
12549
12550
c32bde28 12551static PyObject *_wrap_SpinButton_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12552 PyObject *resultobj;
12553 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12554 int result;
12555 PyObject * obj0 = 0 ;
12556 char *kwnames[] = {
12557 (char *) "self", NULL
12558 };
12559
12560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMin",kwnames,&obj0)) goto fail;
093d3ff1
RD
12561 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12562 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12563 {
12564 PyThreadState* __tstate = wxPyBeginAllowThreads();
12565 result = (int)((wxSpinButton const *)arg1)->GetMin();
12566
12567 wxPyEndAllowThreads(__tstate);
12568 if (PyErr_Occurred()) SWIG_fail;
12569 }
093d3ff1
RD
12570 {
12571 resultobj = SWIG_From_int((int)(result));
12572 }
d14a1e28
RD
12573 return resultobj;
12574 fail:
12575 return NULL;
12576}
12577
12578
c32bde28 12579static PyObject *_wrap_SpinButton_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12580 PyObject *resultobj;
12581 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12582 int result;
12583 PyObject * obj0 = 0 ;
12584 char *kwnames[] = {
12585 (char *) "self", NULL
12586 };
12587
12588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMax",kwnames,&obj0)) goto fail;
093d3ff1
RD
12589 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12590 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12591 {
12592 PyThreadState* __tstate = wxPyBeginAllowThreads();
12593 result = (int)((wxSpinButton const *)arg1)->GetMax();
12594
12595 wxPyEndAllowThreads(__tstate);
12596 if (PyErr_Occurred()) SWIG_fail;
12597 }
093d3ff1
RD
12598 {
12599 resultobj = SWIG_From_int((int)(result));
12600 }
d14a1e28
RD
12601 return resultobj;
12602 fail:
12603 return NULL;
12604}
12605
12606
c32bde28 12607static PyObject *_wrap_SpinButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12608 PyObject *resultobj;
12609 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12610 int arg2 ;
12611 PyObject * obj0 = 0 ;
994141e6 12612 PyObject * obj1 = 0 ;
d14a1e28
RD
12613 char *kwnames[] = {
12614 (char *) "self",(char *) "val", NULL
12615 };
12616
994141e6 12617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12618 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12619 if (SWIG_arg_fail(1)) SWIG_fail;
12620 {
12621 arg2 = (int)(SWIG_As_int(obj1));
12622 if (SWIG_arg_fail(2)) SWIG_fail;
12623 }
d14a1e28
RD
12624 {
12625 PyThreadState* __tstate = wxPyBeginAllowThreads();
12626 (arg1)->SetValue(arg2);
12627
12628 wxPyEndAllowThreads(__tstate);
12629 if (PyErr_Occurred()) SWIG_fail;
12630 }
12631 Py_INCREF(Py_None); resultobj = Py_None;
12632 return resultobj;
12633 fail:
12634 return NULL;
12635}
12636
12637
c32bde28 12638static PyObject *_wrap_SpinButton_SetMin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12639 PyObject *resultobj;
12640 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12641 int arg2 ;
12642 PyObject * obj0 = 0 ;
994141e6 12643 PyObject * obj1 = 0 ;
d14a1e28
RD
12644 char *kwnames[] = {
12645 (char *) "self",(char *) "minVal", NULL
12646 };
12647
994141e6 12648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMin",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12649 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12650 if (SWIG_arg_fail(1)) SWIG_fail;
12651 {
12652 arg2 = (int)(SWIG_As_int(obj1));
12653 if (SWIG_arg_fail(2)) SWIG_fail;
12654 }
d14a1e28
RD
12655 {
12656 PyThreadState* __tstate = wxPyBeginAllowThreads();
12657 (arg1)->SetMin(arg2);
12658
12659 wxPyEndAllowThreads(__tstate);
12660 if (PyErr_Occurred()) SWIG_fail;
12661 }
12662 Py_INCREF(Py_None); resultobj = Py_None;
12663 return resultobj;
12664 fail:
12665 return NULL;
12666}
12667
12668
c32bde28 12669static PyObject *_wrap_SpinButton_SetMax(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12670 PyObject *resultobj;
12671 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12672 int arg2 ;
12673 PyObject * obj0 = 0 ;
994141e6 12674 PyObject * obj1 = 0 ;
d14a1e28
RD
12675 char *kwnames[] = {
12676 (char *) "self",(char *) "maxVal", NULL
12677 };
12678
994141e6 12679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMax",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12680 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12681 if (SWIG_arg_fail(1)) SWIG_fail;
12682 {
12683 arg2 = (int)(SWIG_As_int(obj1));
12684 if (SWIG_arg_fail(2)) SWIG_fail;
12685 }
d14a1e28
RD
12686 {
12687 PyThreadState* __tstate = wxPyBeginAllowThreads();
12688 (arg1)->SetMax(arg2);
12689
12690 wxPyEndAllowThreads(__tstate);
12691 if (PyErr_Occurred()) SWIG_fail;
12692 }
12693 Py_INCREF(Py_None); resultobj = Py_None;
12694 return resultobj;
12695 fail:
12696 return NULL;
12697}
12698
12699
c32bde28 12700static PyObject *_wrap_SpinButton_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12701 PyObject *resultobj;
12702 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12703 int arg2 ;
12704 int arg3 ;
12705 PyObject * obj0 = 0 ;
994141e6
RD
12706 PyObject * obj1 = 0 ;
12707 PyObject * obj2 = 0 ;
d14a1e28
RD
12708 char *kwnames[] = {
12709 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
12710 };
12711
994141e6 12712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinButton_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
12713 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12714 if (SWIG_arg_fail(1)) SWIG_fail;
12715 {
12716 arg2 = (int)(SWIG_As_int(obj1));
12717 if (SWIG_arg_fail(2)) SWIG_fail;
12718 }
12719 {
12720 arg3 = (int)(SWIG_As_int(obj2));
12721 if (SWIG_arg_fail(3)) SWIG_fail;
12722 }
994141e6 12723 {
15afbcd0
RD
12724 PyThreadState* __tstate = wxPyBeginAllowThreads();
12725 (arg1)->SetRange(arg2,arg3);
12726
12727 wxPyEndAllowThreads(__tstate);
d14a1e28
RD
12728 if (PyErr_Occurred()) SWIG_fail;
12729 }
22bfe96c
RD
12730 Py_INCREF(Py_None); resultobj = Py_None;
12731 return resultobj;
12732 fail:
12733 return NULL;
12734}
12735
12736
c32bde28 12737static PyObject *_wrap_SpinButton_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c
RD
12738 PyObject *resultobj;
12739 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12740 bool result;
12741 PyObject * obj0 = 0 ;
12742 char *kwnames[] = {
12743 (char *) "self", NULL
12744 };
12745
12746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_IsVertical",kwnames,&obj0)) goto fail;
093d3ff1
RD
12747 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12748 if (SWIG_arg_fail(1)) SWIG_fail;
22bfe96c
RD
12749 {
12750 PyThreadState* __tstate = wxPyBeginAllowThreads();
12751 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
12752
12753 wxPyEndAllowThreads(__tstate);
12754 if (PyErr_Occurred()) SWIG_fail;
12755 }
12756 {
12757 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12758 }
d14a1e28
RD
12759 return resultobj;
12760 fail:
12761 return NULL;
12762}
12763
12764
c32bde28 12765static PyObject *_wrap_SpinButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 12766 PyObject *resultobj;
093d3ff1 12767 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c 12768 wxVisualAttributes result;
d14a1e28
RD
12769 PyObject * obj0 = 0 ;
12770 char *kwnames[] = {
22bfe96c 12771 (char *) "variant", NULL
d14a1e28
RD
12772 };
12773
22bfe96c
RD
12774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
12775 if (obj0) {
093d3ff1
RD
12776 {
12777 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
12778 if (SWIG_arg_fail(1)) SWIG_fail;
12779 }
22bfe96c 12780 }
d14a1e28 12781 {
110da5b0 12782 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 12783 PyThreadState* __tstate = wxPyBeginAllowThreads();
22bfe96c 12784 result = wxSpinButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
d14a1e28
RD
12785
12786 wxPyEndAllowThreads(__tstate);
dfbb5885 12787 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 12788 }
4f89f6a3 12789 {
22bfe96c 12790 wxVisualAttributes * resultptr;
093d3ff1 12791 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
22bfe96c 12792 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4f89f6a3 12793 }
d14a1e28
RD
12794 return resultobj;
12795 fail:
12796 return NULL;
12797}
12798
12799
c32bde28 12800static PyObject * SpinButton_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
12801 PyObject *obj;
12802 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12803 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton, obj);
12804 Py_INCREF(obj);
12805 return Py_BuildValue((char *)"");
12806}
c32bde28 12807static PyObject *_wrap_new_SpinCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12808 PyObject *resultobj;
12809 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 12810 int arg2 = (int) -1 ;
d14a1e28
RD
12811 wxString const &arg3_defvalue = wxPyEmptyString ;
12812 wxString *arg3 = (wxString *) &arg3_defvalue ;
12813 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12814 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12815 wxSize const &arg5_defvalue = wxDefaultSize ;
12816 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12817 long arg6 = (long) wxSP_ARROW_KEYS ;
12818 int arg7 = (int) 0 ;
12819 int arg8 = (int) 100 ;
12820 int arg9 = (int) 0 ;
12821 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
12822 wxString *arg10 = (wxString *) &arg10_defvalue ;
12823 wxSpinCtrl *result;
ae8162c8 12824 bool temp3 = false ;
d14a1e28
RD
12825 wxPoint temp4 ;
12826 wxSize temp5 ;
ae8162c8 12827 bool temp10 = false ;
d14a1e28 12828 PyObject * obj0 = 0 ;
994141e6 12829 PyObject * obj1 = 0 ;
d14a1e28
RD
12830 PyObject * obj2 = 0 ;
12831 PyObject * obj3 = 0 ;
12832 PyObject * obj4 = 0 ;
994141e6
RD
12833 PyObject * obj5 = 0 ;
12834 PyObject * obj6 = 0 ;
12835 PyObject * obj7 = 0 ;
12836 PyObject * obj8 = 0 ;
d14a1e28
RD
12837 PyObject * obj9 = 0 ;
12838 char *kwnames[] = {
12839 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
12840 };
12841
994141e6 12842 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
12843 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12844 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 12845 if (obj1) {
093d3ff1
RD
12846 {
12847 arg2 = (int)(SWIG_As_int(obj1));
12848 if (SWIG_arg_fail(2)) SWIG_fail;
12849 }
994141e6
RD
12850 }
12851 if (obj2) {
d14a1e28
RD
12852 {
12853 arg3 = wxString_in_helper(obj2);
12854 if (arg3 == NULL) SWIG_fail;
ae8162c8 12855 temp3 = true;
d14a1e28
RD
12856 }
12857 }
12858 if (obj3) {
12859 {
12860 arg4 = &temp4;
12861 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12862 }
12863 }
12864 if (obj4) {
12865 {
12866 arg5 = &temp5;
12867 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12868 }
12869 }
994141e6 12870 if (obj5) {
093d3ff1
RD
12871 {
12872 arg6 = (long)(SWIG_As_long(obj5));
12873 if (SWIG_arg_fail(6)) SWIG_fail;
12874 }
994141e6
RD
12875 }
12876 if (obj6) {
093d3ff1
RD
12877 {
12878 arg7 = (int)(SWIG_As_int(obj6));
12879 if (SWIG_arg_fail(7)) SWIG_fail;
12880 }
994141e6
RD
12881 }
12882 if (obj7) {
093d3ff1
RD
12883 {
12884 arg8 = (int)(SWIG_As_int(obj7));
12885 if (SWIG_arg_fail(8)) SWIG_fail;
12886 }
994141e6
RD
12887 }
12888 if (obj8) {
093d3ff1
RD
12889 {
12890 arg9 = (int)(SWIG_As_int(obj8));
12891 if (SWIG_arg_fail(9)) SWIG_fail;
12892 }
994141e6 12893 }
d14a1e28
RD
12894 if (obj9) {
12895 {
12896 arg10 = wxString_in_helper(obj9);
12897 if (arg10 == NULL) SWIG_fail;
ae8162c8 12898 temp10 = true;
d14a1e28
RD
12899 }
12900 }
12901 {
e3b71cb8 12902 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
12903 PyThreadState* __tstate = wxPyBeginAllowThreads();
12904 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
12905
12906 wxPyEndAllowThreads(__tstate);
110da5b0 12907 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 12908 }
15afbcd0 12909 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
d14a1e28
RD
12910 {
12911 if (temp3)
12912 delete arg3;
12913 }
12914 {
12915 if (temp10)
12916 delete arg10;
12917 }
12918 return resultobj;
12919 fail:
12920 {
12921 if (temp3)
12922 delete arg3;
12923 }
12924 {
12925 if (temp10)
12926 delete arg10;
12927 }
12928 return NULL;
12929}
12930
12931
c32bde28 12932static PyObject *_wrap_new_PreSpinCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12933 PyObject *resultobj;
12934 wxSpinCtrl *result;
12935 char *kwnames[] = {
12936 NULL
12937 };
12938
12939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinCtrl",kwnames)) goto fail;
12940 {
e3b71cb8 12941 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
12942 PyThreadState* __tstate = wxPyBeginAllowThreads();
12943 result = (wxSpinCtrl *)new wxSpinCtrl();
12944
12945 wxPyEndAllowThreads(__tstate);
110da5b0 12946 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 12947 }
15afbcd0 12948 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
d14a1e28
RD
12949 return resultobj;
12950 fail:
12951 return NULL;
12952}
12953
12954
c32bde28 12955static PyObject *_wrap_SpinCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12956 PyObject *resultobj;
12957 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
12958 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 12959 int arg3 = (int) -1 ;
d14a1e28
RD
12960 wxString const &arg4_defvalue = wxPyEmptyString ;
12961 wxString *arg4 = (wxString *) &arg4_defvalue ;
12962 wxPoint const &arg5_defvalue = wxDefaultPosition ;
12963 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
12964 wxSize const &arg6_defvalue = wxDefaultSize ;
12965 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
12966 long arg7 = (long) wxSP_ARROW_KEYS ;
12967 int arg8 = (int) 0 ;
12968 int arg9 = (int) 100 ;
12969 int arg10 = (int) 0 ;
12970 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
12971 wxString *arg11 = (wxString *) &arg11_defvalue ;
12972 bool result;
ae8162c8 12973 bool temp4 = false ;
d14a1e28
RD
12974 wxPoint temp5 ;
12975 wxSize temp6 ;
ae8162c8 12976 bool temp11 = false ;
d14a1e28
RD
12977 PyObject * obj0 = 0 ;
12978 PyObject * obj1 = 0 ;
994141e6 12979 PyObject * obj2 = 0 ;
d14a1e28
RD
12980 PyObject * obj3 = 0 ;
12981 PyObject * obj4 = 0 ;
12982 PyObject * obj5 = 0 ;
994141e6
RD
12983 PyObject * obj6 = 0 ;
12984 PyObject * obj7 = 0 ;
12985 PyObject * obj8 = 0 ;
12986 PyObject * obj9 = 0 ;
d14a1e28
RD
12987 PyObject * obj10 = 0 ;
12988 char *kwnames[] = {
12989 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
12990 };
12991
994141e6 12992 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
12993 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
12994 if (SWIG_arg_fail(1)) SWIG_fail;
12995 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12996 if (SWIG_arg_fail(2)) SWIG_fail;
994141e6 12997 if (obj2) {
093d3ff1
RD
12998 {
12999 arg3 = (int)(SWIG_As_int(obj2));
13000 if (SWIG_arg_fail(3)) SWIG_fail;
13001 }
994141e6 13002 }
d14a1e28
RD
13003 if (obj3) {
13004 {
13005 arg4 = wxString_in_helper(obj3);
13006 if (arg4 == NULL) SWIG_fail;
ae8162c8 13007 temp4 = true;
d14a1e28
RD
13008 }
13009 }
13010 if (obj4) {
13011 {
13012 arg5 = &temp5;
13013 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13014 }
13015 }
13016 if (obj5) {
13017 {
13018 arg6 = &temp6;
13019 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13020 }
13021 }
994141e6 13022 if (obj6) {
093d3ff1
RD
13023 {
13024 arg7 = (long)(SWIG_As_long(obj6));
13025 if (SWIG_arg_fail(7)) SWIG_fail;
13026 }
994141e6
RD
13027 }
13028 if (obj7) {
093d3ff1
RD
13029 {
13030 arg8 = (int)(SWIG_As_int(obj7));
13031 if (SWIG_arg_fail(8)) SWIG_fail;
13032 }
994141e6
RD
13033 }
13034 if (obj8) {
093d3ff1
RD
13035 {
13036 arg9 = (int)(SWIG_As_int(obj8));
13037 if (SWIG_arg_fail(9)) SWIG_fail;
13038 }
994141e6
RD
13039 }
13040 if (obj9) {
093d3ff1
RD
13041 {
13042 arg10 = (int)(SWIG_As_int(obj9));
13043 if (SWIG_arg_fail(10)) SWIG_fail;
13044 }
994141e6 13045 }
d14a1e28
RD
13046 if (obj10) {
13047 {
13048 arg11 = wxString_in_helper(obj10);
13049 if (arg11 == NULL) SWIG_fail;
ae8162c8 13050 temp11 = true;
d14a1e28
RD
13051 }
13052 }
13053 {
13054 PyThreadState* __tstate = wxPyBeginAllowThreads();
13055 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
13056
13057 wxPyEndAllowThreads(__tstate);
13058 if (PyErr_Occurred()) SWIG_fail;
13059 }
4f89f6a3
RD
13060 {
13061 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13062 }
d14a1e28
RD
13063 {
13064 if (temp4)
13065 delete arg4;
13066 }
13067 {
13068 if (temp11)
13069 delete arg11;
13070 }
13071 return resultobj;
13072 fail:
13073 {
13074 if (temp4)
13075 delete arg4;
13076 }
13077 {
13078 if (temp11)
13079 delete arg11;
13080 }
13081 return NULL;
13082}
13083
13084
c32bde28 13085static PyObject *_wrap_SpinCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13086 PyObject *resultobj;
13087 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13088 int result;
13089 PyObject * obj0 = 0 ;
13090 char *kwnames[] = {
13091 (char *) "self", NULL
13092 };
13093
13094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
13095 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13096 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13097 {
13098 PyThreadState* __tstate = wxPyBeginAllowThreads();
13099 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
13100
13101 wxPyEndAllowThreads(__tstate);
13102 if (PyErr_Occurred()) SWIG_fail;
13103 }
093d3ff1
RD
13104 {
13105 resultobj = SWIG_From_int((int)(result));
13106 }
d14a1e28
RD
13107 return resultobj;
13108 fail:
13109 return NULL;
13110}
13111
13112
c32bde28 13113static PyObject *_wrap_SpinCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13114 PyObject *resultobj;
13115 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13116 int arg2 ;
13117 PyObject * obj0 = 0 ;
994141e6 13118 PyObject * obj1 = 0 ;
d14a1e28
RD
13119 char *kwnames[] = {
13120 (char *) "self",(char *) "value", NULL
13121 };
13122
994141e6 13123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13124 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13125 if (SWIG_arg_fail(1)) SWIG_fail;
13126 {
13127 arg2 = (int)(SWIG_As_int(obj1));
13128 if (SWIG_arg_fail(2)) SWIG_fail;
13129 }
d14a1e28
RD
13130 {
13131 PyThreadState* __tstate = wxPyBeginAllowThreads();
13132 (arg1)->SetValue(arg2);
13133
13134 wxPyEndAllowThreads(__tstate);
13135 if (PyErr_Occurred()) SWIG_fail;
13136 }
13137 Py_INCREF(Py_None); resultobj = Py_None;
13138 return resultobj;
13139 fail:
13140 return NULL;
13141}
13142
13143
c32bde28 13144static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13145 PyObject *resultobj;
13146 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13147 wxString *arg2 = 0 ;
ae8162c8 13148 bool temp2 = false ;
d14a1e28
RD
13149 PyObject * obj0 = 0 ;
13150 PyObject * obj1 = 0 ;
13151 char *kwnames[] = {
13152 (char *) "self",(char *) "text", NULL
13153 };
13154
13155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13156 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13157 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13158 {
13159 arg2 = wxString_in_helper(obj1);
13160 if (arg2 == NULL) SWIG_fail;
ae8162c8 13161 temp2 = true;
d14a1e28
RD
13162 }
13163 {
13164 PyThreadState* __tstate = wxPyBeginAllowThreads();
13165 (arg1)->SetValue((wxString const &)*arg2);
13166
13167 wxPyEndAllowThreads(__tstate);
13168 if (PyErr_Occurred()) SWIG_fail;
13169 }
13170 Py_INCREF(Py_None); resultobj = Py_None;
13171 {
13172 if (temp2)
13173 delete arg2;
13174 }
13175 return resultobj;
13176 fail:
13177 {
13178 if (temp2)
13179 delete arg2;
13180 }
13181 return NULL;
13182}
13183
13184
c32bde28 13185static PyObject *_wrap_SpinCtrl_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13186 PyObject *resultobj;
13187 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13188 int arg2 ;
13189 int arg3 ;
13190 PyObject * obj0 = 0 ;
994141e6
RD
13191 PyObject * obj1 = 0 ;
13192 PyObject * obj2 = 0 ;
d14a1e28
RD
13193 char *kwnames[] = {
13194 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
13195 };
13196
994141e6 13197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
13198 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13199 if (SWIG_arg_fail(1)) SWIG_fail;
13200 {
13201 arg2 = (int)(SWIG_As_int(obj1));
13202 if (SWIG_arg_fail(2)) SWIG_fail;
13203 }
13204 {
13205 arg3 = (int)(SWIG_As_int(obj2));
13206 if (SWIG_arg_fail(3)) SWIG_fail;
13207 }
d14a1e28
RD
13208 {
13209 PyThreadState* __tstate = wxPyBeginAllowThreads();
13210 (arg1)->SetRange(arg2,arg3);
13211
13212 wxPyEndAllowThreads(__tstate);
13213 if (PyErr_Occurred()) SWIG_fail;
13214 }
13215 Py_INCREF(Py_None); resultobj = Py_None;
13216 return resultobj;
13217 fail:
13218 return NULL;
13219}
13220
13221
c32bde28 13222static PyObject *_wrap_SpinCtrl_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13223 PyObject *resultobj;
13224 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13225 int result;
13226 PyObject * obj0 = 0 ;
13227 char *kwnames[] = {
13228 (char *) "self", NULL
13229 };
13230
13231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMin",kwnames,&obj0)) goto fail;
093d3ff1
RD
13232 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13233 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13234 {
13235 PyThreadState* __tstate = wxPyBeginAllowThreads();
13236 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
13237
13238 wxPyEndAllowThreads(__tstate);
13239 if (PyErr_Occurred()) SWIG_fail;
13240 }
093d3ff1
RD
13241 {
13242 resultobj = SWIG_From_int((int)(result));
13243 }
d14a1e28
RD
13244 return resultobj;
13245 fail:
13246 return NULL;
13247}
13248
13249
c32bde28 13250static PyObject *_wrap_SpinCtrl_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13251 PyObject *resultobj;
13252 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13253 int result;
13254 PyObject * obj0 = 0 ;
13255 char *kwnames[] = {
13256 (char *) "self", NULL
13257 };
13258
13259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMax",kwnames,&obj0)) goto fail;
093d3ff1
RD
13260 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13261 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13262 {
13263 PyThreadState* __tstate = wxPyBeginAllowThreads();
13264 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
13265
13266 wxPyEndAllowThreads(__tstate);
13267 if (PyErr_Occurred()) SWIG_fail;
13268 }
093d3ff1
RD
13269 {
13270 resultobj = SWIG_From_int((int)(result));
13271 }
d14a1e28
RD
13272 return resultobj;
13273 fail:
13274 return NULL;
13275}
13276
13277
c32bde28 13278static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13279 PyObject *resultobj;
13280 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13281 long arg2 ;
13282 long arg3 ;
13283 PyObject * obj0 = 0 ;
994141e6
RD
13284 PyObject * obj1 = 0 ;
13285 PyObject * obj2 = 0 ;
d14a1e28
RD
13286 char *kwnames[] = {
13287 (char *) "self",(char *) "from",(char *) "to", NULL
13288 };
13289
994141e6 13290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
13291 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13292 if (SWIG_arg_fail(1)) SWIG_fail;
13293 {
13294 arg2 = (long)(SWIG_As_long(obj1));
13295 if (SWIG_arg_fail(2)) SWIG_fail;
13296 }
13297 {
13298 arg3 = (long)(SWIG_As_long(obj2));
13299 if (SWIG_arg_fail(3)) SWIG_fail;
13300 }
d14a1e28
RD
13301 {
13302 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 13303 (arg1)->SetSelection(arg2,arg3);
d14a1e28
RD
13304
13305 wxPyEndAllowThreads(__tstate);
13306 if (PyErr_Occurred()) SWIG_fail;
13307 }
13308 Py_INCREF(Py_None); resultobj = Py_None;
13309 return resultobj;
13310 fail:
13311 return NULL;
13312}
13313
13314
c32bde28 13315static PyObject *_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c 13316 PyObject *resultobj;
093d3ff1 13317 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
13318 wxVisualAttributes result;
13319 PyObject * obj0 = 0 ;
13320 char *kwnames[] = {
13321 (char *) "variant", NULL
13322 };
13323
13324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
13325 if (obj0) {
093d3ff1
RD
13326 {
13327 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
13328 if (SWIG_arg_fail(1)) SWIG_fail;
13329 }
22bfe96c
RD
13330 }
13331 {
110da5b0 13332 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
13333 PyThreadState* __tstate = wxPyBeginAllowThreads();
13334 result = wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
13335
13336 wxPyEndAllowThreads(__tstate);
dfbb5885 13337 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
13338 }
13339 {
13340 wxVisualAttributes * resultptr;
093d3ff1 13341 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
22bfe96c
RD
13342 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
13343 }
13344 return resultobj;
13345 fail:
13346 return NULL;
13347}
13348
13349
c32bde28 13350static PyObject * SpinCtrl_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
13351 PyObject *obj;
13352 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13353 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl, obj);
13354 Py_INCREF(obj);
13355 return Py_BuildValue((char *)"");
13356}
c32bde28 13357static PyObject *_wrap_new_SpinEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d1e20054
RD
13358 PyObject *resultobj;
13359 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13360 int arg2 = (int) 0 ;
13361 wxSpinEvent *result;
994141e6
RD
13362 PyObject * obj0 = 0 ;
13363 PyObject * obj1 = 0 ;
d1e20054
RD
13364 char *kwnames[] = {
13365 (char *) "commandType",(char *) "winid", NULL
13366 };
13367
994141e6
RD
13368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SpinEvent",kwnames,&obj0,&obj1)) goto fail;
13369 if (obj0) {
093d3ff1
RD
13370 {
13371 arg1 = (wxEventType)(SWIG_As_int(obj0));
13372 if (SWIG_arg_fail(1)) SWIG_fail;
13373 }
994141e6
RD
13374 }
13375 if (obj1) {
093d3ff1
RD
13376 {
13377 arg2 = (int)(SWIG_As_int(obj1));
13378 if (SWIG_arg_fail(2)) SWIG_fail;
13379 }
994141e6 13380 }
d1e20054
RD
13381 {
13382 PyThreadState* __tstate = wxPyBeginAllowThreads();
13383 result = (wxSpinEvent *)new wxSpinEvent(arg1,arg2);
13384
13385 wxPyEndAllowThreads(__tstate);
13386 if (PyErr_Occurred()) SWIG_fail;
13387 }
15afbcd0 13388 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinEvent, 1);
d1e20054
RD
13389 return resultobj;
13390 fail:
13391 return NULL;
13392}
13393
13394
c32bde28 13395static PyObject *_wrap_SpinEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d1e20054
RD
13396 PyObject *resultobj;
13397 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
13398 int result;
13399 PyObject * obj0 = 0 ;
13400 char *kwnames[] = {
13401 (char *) "self", NULL
13402 };
13403
13404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinEvent_GetPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
13405 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinEvent, SWIG_POINTER_EXCEPTION | 0);
13406 if (SWIG_arg_fail(1)) SWIG_fail;
d1e20054
RD
13407 {
13408 PyThreadState* __tstate = wxPyBeginAllowThreads();
13409 result = (int)((wxSpinEvent const *)arg1)->GetPosition();
13410
13411 wxPyEndAllowThreads(__tstate);
13412 if (PyErr_Occurred()) SWIG_fail;
13413 }
093d3ff1
RD
13414 {
13415 resultobj = SWIG_From_int((int)(result));
13416 }
d1e20054
RD
13417 return resultobj;
13418 fail:
13419 return NULL;
13420}
13421
13422
c32bde28 13423static PyObject *_wrap_SpinEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d1e20054
RD
13424 PyObject *resultobj;
13425 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
13426 int arg2 ;
13427 PyObject * obj0 = 0 ;
994141e6 13428 PyObject * obj1 = 0 ;
d1e20054
RD
13429 char *kwnames[] = {
13430 (char *) "self",(char *) "pos", NULL
13431 };
13432
994141e6 13433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13434 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinEvent, SWIG_POINTER_EXCEPTION | 0);
13435 if (SWIG_arg_fail(1)) SWIG_fail;
13436 {
13437 arg2 = (int)(SWIG_As_int(obj1));
13438 if (SWIG_arg_fail(2)) SWIG_fail;
13439 }
d1e20054
RD
13440 {
13441 PyThreadState* __tstate = wxPyBeginAllowThreads();
13442 (arg1)->SetPosition(arg2);
13443
13444 wxPyEndAllowThreads(__tstate);
13445 if (PyErr_Occurred()) SWIG_fail;
13446 }
13447 Py_INCREF(Py_None); resultobj = Py_None;
13448 return resultobj;
13449 fail:
13450 return NULL;
13451}
13452
13453
c32bde28 13454static PyObject * SpinEvent_swigregister(PyObject *, PyObject *args) {
d1e20054
RD
13455 PyObject *obj;
13456 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13457 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent, obj);
13458 Py_INCREF(obj);
13459 return Py_BuildValue((char *)"");
13460}
c32bde28 13461static int _wrap_RadioBoxNameStr_set(PyObject *) {
b2dc1044
RD
13462 PyErr_SetString(PyExc_TypeError,"Variable RadioBoxNameStr is read-only.");
13463 return 1;
13464}
13465
13466
093d3ff1 13467static PyObject *_wrap_RadioBoxNameStr_get(void) {
b2dc1044
RD
13468 PyObject *pyobj;
13469
13470 {
13471#if wxUSE_UNICODE
13472 pyobj = PyUnicode_FromWideChar((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
13473#else
13474 pyobj = PyString_FromStringAndSize((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
13475#endif
13476 }
13477 return pyobj;
13478}
13479
13480
c32bde28 13481static int _wrap_RadioButtonNameStr_set(PyObject *) {
b2dc1044
RD
13482 PyErr_SetString(PyExc_TypeError,"Variable RadioButtonNameStr is read-only.");
13483 return 1;
13484}
13485
13486
093d3ff1 13487static PyObject *_wrap_RadioButtonNameStr_get(void) {
b2dc1044
RD
13488 PyObject *pyobj;
13489
13490 {
13491#if wxUSE_UNICODE
13492 pyobj = PyUnicode_FromWideChar((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
13493#else
13494 pyobj = PyString_FromStringAndSize((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
13495#endif
13496 }
13497 return pyobj;
13498}
13499
13500
c32bde28 13501static PyObject *_wrap_new_RadioBox(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13502 PyObject *resultobj;
13503 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
13504 int arg2 = (int) -1 ;
13505 wxString const &arg3_defvalue = wxPyEmptyString ;
13506 wxString *arg3 = (wxString *) &arg3_defvalue ;
d14a1e28
RD
13507 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13508 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13509 wxSize const &arg5_defvalue = wxDefaultSize ;
13510 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4d5c3d91
RD
13511 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
13512 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
13513 int arg7 = (int) 0 ;
13514 long arg8 = (long) wxRA_HORIZONTAL ;
13515 wxValidator const &arg9_defvalue = wxDefaultValidator ;
13516 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
13517 wxString const &arg10_defvalue = wxPyRadioBoxNameStr ;
13518 wxString *arg10 = (wxString *) &arg10_defvalue ;
d14a1e28 13519 wxRadioBox *result;
ae8162c8 13520 bool temp3 = false ;
d14a1e28
RD
13521 wxPoint temp4 ;
13522 wxSize temp5 ;
ae8162c8
RD
13523 bool temp6 = false ;
13524 bool temp10 = false ;
d14a1e28 13525 PyObject * obj0 = 0 ;
994141e6 13526 PyObject * obj1 = 0 ;
d14a1e28
RD
13527 PyObject * obj2 = 0 ;
13528 PyObject * obj3 = 0 ;
13529 PyObject * obj4 = 0 ;
13530 PyObject * obj5 = 0 ;
994141e6
RD
13531 PyObject * obj6 = 0 ;
13532 PyObject * obj7 = 0 ;
d14a1e28
RD
13533 PyObject * obj8 = 0 ;
13534 PyObject * obj9 = 0 ;
13535 char *kwnames[] = {
994141e6 13536 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
d14a1e28
RD
13537 };
13538
248ed943 13539 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
13540 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13541 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 13542 if (obj1) {
093d3ff1
RD
13543 {
13544 arg2 = (int)(SWIG_As_int(obj1));
13545 if (SWIG_arg_fail(2)) SWIG_fail;
13546 }
248ed943
RD
13547 }
13548 if (obj2) {
13549 {
13550 arg3 = wxString_in_helper(obj2);
13551 if (arg3 == NULL) SWIG_fail;
ae8162c8 13552 temp3 = true;
248ed943 13553 }
d14a1e28
RD
13554 }
13555 if (obj3) {
13556 {
13557 arg4 = &temp4;
13558 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13559 }
13560 }
13561 if (obj4) {
13562 {
13563 arg5 = &temp5;
13564 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13565 }
13566 }
13567 if (obj5) {
13568 {
4d5c3d91
RD
13569 if (! PySequence_Check(obj5)) {
13570 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
13571 SWIG_fail;
13572 }
13573 arg6 = new wxArrayString;
ae8162c8 13574 temp6 = true;
4d5c3d91
RD
13575 int i, len=PySequence_Length(obj5);
13576 for (i=0; i<len; i++) {
13577 PyObject* item = PySequence_GetItem(obj5, i);
13578#if wxUSE_UNICODE
13579 PyObject* str = PyObject_Unicode(item);
13580#else
13581 PyObject* str = PyObject_Str(item);
13582#endif
74a57fcd 13583 if (PyErr_Occurred()) SWIG_fail;
4d5c3d91
RD
13584 arg6->Add(Py2wxString(str));
13585 Py_DECREF(item);
13586 Py_DECREF(str);
13587 }
d14a1e28
RD
13588 }
13589 }
994141e6 13590 if (obj6) {
093d3ff1
RD
13591 {
13592 arg7 = (int)(SWIG_As_int(obj6));
13593 if (SWIG_arg_fail(7)) SWIG_fail;
13594 }
994141e6
RD
13595 }
13596 if (obj7) {
093d3ff1
RD
13597 {
13598 arg8 = (long)(SWIG_As_long(obj7));
13599 if (SWIG_arg_fail(8)) SWIG_fail;
13600 }
994141e6 13601 }
d14a1e28 13602 if (obj8) {
093d3ff1
RD
13603 {
13604 SWIG_Python_ConvertPtr(obj8, (void **)&arg9, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
13605 if (SWIG_arg_fail(9)) SWIG_fail;
13606 if (arg9 == NULL) {
13607 SWIG_null_ref("wxValidator");
13608 }
13609 if (SWIG_arg_fail(9)) SWIG_fail;
d14a1e28
RD
13610 }
13611 }
13612 if (obj9) {
13613 {
4d5c3d91
RD
13614 arg10 = wxString_in_helper(obj9);
13615 if (arg10 == NULL) SWIG_fail;
ae8162c8 13616 temp10 = true;
d14a1e28
RD
13617 }
13618 }
13619 {
e3b71cb8 13620 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 13621 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 13622 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
13623
13624 wxPyEndAllowThreads(__tstate);
110da5b0 13625 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 13626 }
15afbcd0 13627 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
d14a1e28
RD
13628 {
13629 if (temp3)
13630 delete arg3;
13631 }
13632 {
3adfb63b 13633 if (temp6) delete arg6;
d14a1e28
RD
13634 }
13635 {
13636 if (temp10)
4d5c3d91 13637 delete arg10;
d14a1e28
RD
13638 }
13639 return resultobj;
13640 fail:
13641 {
13642 if (temp3)
13643 delete arg3;
13644 }
13645 {
3adfb63b 13646 if (temp6) delete arg6;
d14a1e28
RD
13647 }
13648 {
13649 if (temp10)
4d5c3d91 13650 delete arg10;
d14a1e28
RD
13651 }
13652 return NULL;
13653}
13654
13655
c32bde28 13656static PyObject *_wrap_new_PreRadioBox(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13657 PyObject *resultobj;
13658 wxRadioBox *result;
13659 char *kwnames[] = {
13660 NULL
13661 };
13662
13663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioBox",kwnames)) goto fail;
13664 {
e3b71cb8 13665 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
13666 PyThreadState* __tstate = wxPyBeginAllowThreads();
13667 result = (wxRadioBox *)new wxRadioBox();
13668
13669 wxPyEndAllowThreads(__tstate);
110da5b0 13670 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 13671 }
15afbcd0 13672 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
d14a1e28
RD
13673 return resultobj;
13674 fail:
13675 return NULL;
13676}
13677
13678
c32bde28 13679static PyObject *_wrap_RadioBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13680 PyObject *resultobj;
13681 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13682 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
13683 int arg3 = (int) -1 ;
13684 wxString const &arg4_defvalue = wxPyEmptyString ;
13685 wxString *arg4 = (wxString *) &arg4_defvalue ;
d14a1e28
RD
13686 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13687 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13688 wxSize const &arg6_defvalue = wxDefaultSize ;
13689 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4d5c3d91
RD
13690 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
13691 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
13692 int arg8 = (int) 0 ;
13693 long arg9 = (long) wxRA_HORIZONTAL ;
13694 wxValidator const &arg10_defvalue = wxDefaultValidator ;
13695 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
13696 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
13697 wxString *arg11 = (wxString *) &arg11_defvalue ;
d14a1e28 13698 bool result;
ae8162c8 13699 bool temp4 = false ;
d14a1e28
RD
13700 wxPoint temp5 ;
13701 wxSize temp6 ;
ae8162c8
RD
13702 bool temp7 = false ;
13703 bool temp11 = false ;
d14a1e28
RD
13704 PyObject * obj0 = 0 ;
13705 PyObject * obj1 = 0 ;
994141e6 13706 PyObject * obj2 = 0 ;
d14a1e28
RD
13707 PyObject * obj3 = 0 ;
13708 PyObject * obj4 = 0 ;
13709 PyObject * obj5 = 0 ;
13710 PyObject * obj6 = 0 ;
994141e6
RD
13711 PyObject * obj7 = 0 ;
13712 PyObject * obj8 = 0 ;
d14a1e28
RD
13713 PyObject * obj9 = 0 ;
13714 PyObject * obj10 = 0 ;
13715 char *kwnames[] = {
994141e6 13716 (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
13717 };
13718
248ed943 13719 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
13720 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13721 if (SWIG_arg_fail(1)) SWIG_fail;
13722 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13723 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 13724 if (obj2) {
093d3ff1
RD
13725 {
13726 arg3 = (int)(SWIG_As_int(obj2));
13727 if (SWIG_arg_fail(3)) SWIG_fail;
13728 }
248ed943
RD
13729 }
13730 if (obj3) {
13731 {
13732 arg4 = wxString_in_helper(obj3);
13733 if (arg4 == NULL) SWIG_fail;
ae8162c8 13734 temp4 = true;
248ed943 13735 }
d14a1e28
RD
13736 }
13737 if (obj4) {
13738 {
13739 arg5 = &temp5;
13740 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13741 }
13742 }
13743 if (obj5) {
13744 {
13745 arg6 = &temp6;
13746 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13747 }
13748 }
13749 if (obj6) {
13750 {
4d5c3d91
RD
13751 if (! PySequence_Check(obj6)) {
13752 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
13753 SWIG_fail;
13754 }
13755 arg7 = new wxArrayString;
ae8162c8 13756 temp7 = true;
4d5c3d91
RD
13757 int i, len=PySequence_Length(obj6);
13758 for (i=0; i<len; i++) {
13759 PyObject* item = PySequence_GetItem(obj6, i);
13760#if wxUSE_UNICODE
13761 PyObject* str = PyObject_Unicode(item);
13762#else
13763 PyObject* str = PyObject_Str(item);
13764#endif
74a57fcd 13765 if (PyErr_Occurred()) SWIG_fail;
4d5c3d91
RD
13766 arg7->Add(Py2wxString(str));
13767 Py_DECREF(item);
13768 Py_DECREF(str);
13769 }
d14a1e28
RD
13770 }
13771 }
994141e6 13772 if (obj7) {
093d3ff1
RD
13773 {
13774 arg8 = (int)(SWIG_As_int(obj7));
13775 if (SWIG_arg_fail(8)) SWIG_fail;
13776 }
994141e6
RD
13777 }
13778 if (obj8) {
093d3ff1
RD
13779 {
13780 arg9 = (long)(SWIG_As_long(obj8));
13781 if (SWIG_arg_fail(9)) SWIG_fail;
13782 }
994141e6 13783 }
d14a1e28 13784 if (obj9) {
093d3ff1
RD
13785 {
13786 SWIG_Python_ConvertPtr(obj9, (void **)&arg10, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
13787 if (SWIG_arg_fail(10)) SWIG_fail;
13788 if (arg10 == NULL) {
13789 SWIG_null_ref("wxValidator");
13790 }
13791 if (SWIG_arg_fail(10)) SWIG_fail;
d14a1e28
RD
13792 }
13793 }
13794 if (obj10) {
13795 {
4d5c3d91
RD
13796 arg11 = wxString_in_helper(obj10);
13797 if (arg11 == NULL) SWIG_fail;
ae8162c8 13798 temp11 = true;
d14a1e28
RD
13799 }
13800 }
13801 {
13802 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 13803 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
13804
13805 wxPyEndAllowThreads(__tstate);
13806 if (PyErr_Occurred()) SWIG_fail;
13807 }
4f89f6a3
RD
13808 {
13809 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13810 }
d14a1e28
RD
13811 {
13812 if (temp4)
13813 delete arg4;
13814 }
13815 {
3adfb63b 13816 if (temp7) delete arg7;
d14a1e28
RD
13817 }
13818 {
13819 if (temp11)
4d5c3d91 13820 delete arg11;
d14a1e28
RD
13821 }
13822 return resultobj;
13823 fail:
13824 {
13825 if (temp4)
13826 delete arg4;
13827 }
13828 {
3adfb63b 13829 if (temp7) delete arg7;
d14a1e28
RD
13830 }
13831 {
13832 if (temp11)
4d5c3d91 13833 delete arg11;
d14a1e28
RD
13834 }
13835 return NULL;
13836}
13837
13838
c32bde28 13839static PyObject *_wrap_RadioBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13840 PyObject *resultobj;
13841 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13842 int arg2 ;
13843 PyObject * obj0 = 0 ;
994141e6 13844 PyObject * obj1 = 0 ;
d14a1e28
RD
13845 char *kwnames[] = {
13846 (char *) "self",(char *) "n", NULL
13847 };
13848
994141e6 13849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13850 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13851 if (SWIG_arg_fail(1)) SWIG_fail;
13852 {
13853 arg2 = (int)(SWIG_As_int(obj1));
13854 if (SWIG_arg_fail(2)) SWIG_fail;
13855 }
d14a1e28
RD
13856 {
13857 PyThreadState* __tstate = wxPyBeginAllowThreads();
13858 (arg1)->SetSelection(arg2);
13859
13860 wxPyEndAllowThreads(__tstate);
13861 if (PyErr_Occurred()) SWIG_fail;
13862 }
13863 Py_INCREF(Py_None); resultobj = Py_None;
13864 return resultobj;
13865 fail:
13866 return NULL;
13867}
13868
13869
c32bde28 13870static PyObject *_wrap_RadioBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13871 PyObject *resultobj;
13872 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13873 int result;
13874 PyObject * obj0 = 0 ;
13875 char *kwnames[] = {
13876 (char *) "self", NULL
13877 };
13878
13879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
13880 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13881 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13882 {
13883 PyThreadState* __tstate = wxPyBeginAllowThreads();
13884 result = (int)((wxRadioBox const *)arg1)->GetSelection();
13885
13886 wxPyEndAllowThreads(__tstate);
13887 if (PyErr_Occurred()) SWIG_fail;
13888 }
093d3ff1
RD
13889 {
13890 resultobj = SWIG_From_int((int)(result));
13891 }
d14a1e28
RD
13892 return resultobj;
13893 fail:
13894 return NULL;
13895}
13896
13897
c32bde28 13898static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13899 PyObject *resultobj;
13900 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13901 wxString result;
13902 PyObject * obj0 = 0 ;
13903 char *kwnames[] = {
13904 (char *) "self", NULL
13905 };
13906
13907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetStringSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
13908 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13909 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13910 {
13911 PyThreadState* __tstate = wxPyBeginAllowThreads();
13912 result = ((wxRadioBox const *)arg1)->GetStringSelection();
13913
13914 wxPyEndAllowThreads(__tstate);
13915 if (PyErr_Occurred()) SWIG_fail;
13916 }
13917 {
13918#if wxUSE_UNICODE
13919 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13920#else
13921 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13922#endif
13923 }
13924 return resultobj;
13925 fail:
13926 return NULL;
13927}
13928
13929
c32bde28 13930static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13931 PyObject *resultobj;
13932 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13933 wxString *arg2 = 0 ;
13934 bool result;
ae8162c8 13935 bool temp2 = false ;
d14a1e28
RD
13936 PyObject * obj0 = 0 ;
13937 PyObject * obj1 = 0 ;
13938 char *kwnames[] = {
13939 (char *) "self",(char *) "s", NULL
13940 };
13941
13942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13943 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13944 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13945 {
13946 arg2 = wxString_in_helper(obj1);
13947 if (arg2 == NULL) SWIG_fail;
ae8162c8 13948 temp2 = true;
d14a1e28
RD
13949 }
13950 {
13951 PyThreadState* __tstate = wxPyBeginAllowThreads();
13952 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
13953
13954 wxPyEndAllowThreads(__tstate);
13955 if (PyErr_Occurred()) SWIG_fail;
13956 }
4f89f6a3
RD
13957 {
13958 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13959 }
d14a1e28
RD
13960 {
13961 if (temp2)
13962 delete arg2;
13963 }
13964 return resultobj;
13965 fail:
13966 {
13967 if (temp2)
13968 delete arg2;
13969 }
13970 return NULL;
13971}
13972
13973
c32bde28 13974static PyObject *_wrap_RadioBox_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13975 PyObject *resultobj;
13976 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13977 int result;
13978 PyObject * obj0 = 0 ;
13979 char *kwnames[] = {
13980 (char *) "self", NULL
13981 };
13982
13983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
13984 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13985 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13986 {
13987 PyThreadState* __tstate = wxPyBeginAllowThreads();
13988 result = (int)((wxRadioBox const *)arg1)->GetCount();
13989
13990 wxPyEndAllowThreads(__tstate);
13991 if (PyErr_Occurred()) SWIG_fail;
13992 }
093d3ff1
RD
13993 {
13994 resultobj = SWIG_From_int((int)(result));
13995 }
d14a1e28
RD
13996 return resultobj;
13997 fail:
13998 return NULL;
13999}
14000
14001
c32bde28 14002static PyObject *_wrap_RadioBox_FindString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14003 PyObject *resultobj;
14004 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14005 wxString *arg2 = 0 ;
14006 int result;
ae8162c8 14007 bool temp2 = false ;
d14a1e28
RD
14008 PyObject * obj0 = 0 ;
14009 PyObject * obj1 = 0 ;
14010 char *kwnames[] = {
14011 (char *) "self",(char *) "s", NULL
14012 };
14013
14014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14015 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14016 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14017 {
14018 arg2 = wxString_in_helper(obj1);
14019 if (arg2 == NULL) SWIG_fail;
ae8162c8 14020 temp2 = true;
d14a1e28
RD
14021 }
14022 {
14023 PyThreadState* __tstate = wxPyBeginAllowThreads();
14024 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
14025
14026 wxPyEndAllowThreads(__tstate);
14027 if (PyErr_Occurred()) SWIG_fail;
14028 }
093d3ff1
RD
14029 {
14030 resultobj = SWIG_From_int((int)(result));
14031 }
d14a1e28
RD
14032 {
14033 if (temp2)
14034 delete arg2;
14035 }
14036 return resultobj;
14037 fail:
14038 {
14039 if (temp2)
14040 delete arg2;
14041 }
14042 return NULL;
14043}
14044
14045
c32bde28 14046static PyObject *_wrap_RadioBox_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14047 PyObject *resultobj;
14048 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14049 int arg2 ;
14050 wxString result;
14051 PyObject * obj0 = 0 ;
994141e6 14052 PyObject * obj1 = 0 ;
d14a1e28
RD
14053 char *kwnames[] = {
14054 (char *) "self",(char *) "n", NULL
14055 };
14056
994141e6 14057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetString",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14058 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14059 if (SWIG_arg_fail(1)) SWIG_fail;
14060 {
14061 arg2 = (int)(SWIG_As_int(obj1));
14062 if (SWIG_arg_fail(2)) SWIG_fail;
14063 }
d14a1e28
RD
14064 {
14065 PyThreadState* __tstate = wxPyBeginAllowThreads();
14066 result = ((wxRadioBox const *)arg1)->GetString(arg2);
14067
14068 wxPyEndAllowThreads(__tstate);
14069 if (PyErr_Occurred()) SWIG_fail;
14070 }
14071 {
14072#if wxUSE_UNICODE
14073 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14074#else
14075 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14076#endif
14077 }
14078 return resultobj;
14079 fail:
14080 return NULL;
14081}
14082
14083
c32bde28 14084static PyObject *_wrap_RadioBox_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14085 PyObject *resultobj;
14086 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14087 int arg2 ;
14088 wxString *arg3 = 0 ;
ae8162c8 14089 bool temp3 = false ;
d14a1e28 14090 PyObject * obj0 = 0 ;
994141e6 14091 PyObject * obj1 = 0 ;
d14a1e28
RD
14092 PyObject * obj2 = 0 ;
14093 char *kwnames[] = {
14094 (char *) "self",(char *) "n",(char *) "label", NULL
14095 };
14096
994141e6 14097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
14098 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14099 if (SWIG_arg_fail(1)) SWIG_fail;
14100 {
14101 arg2 = (int)(SWIG_As_int(obj1));
14102 if (SWIG_arg_fail(2)) SWIG_fail;
14103 }
d14a1e28
RD
14104 {
14105 arg3 = wxString_in_helper(obj2);
14106 if (arg3 == NULL) SWIG_fail;
ae8162c8 14107 temp3 = true;
d14a1e28
RD
14108 }
14109 {
14110 PyThreadState* __tstate = wxPyBeginAllowThreads();
14111 (arg1)->SetString(arg2,(wxString const &)*arg3);
14112
14113 wxPyEndAllowThreads(__tstate);
14114 if (PyErr_Occurred()) SWIG_fail;
14115 }
14116 Py_INCREF(Py_None); resultobj = Py_None;
14117 {
14118 if (temp3)
14119 delete arg3;
14120 }
14121 return resultobj;
14122 fail:
14123 {
14124 if (temp3)
14125 delete arg3;
14126 }
14127 return NULL;
14128}
14129
14130
c32bde28 14131static PyObject *_wrap_RadioBox_EnableItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14132 PyObject *resultobj;
14133 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14134 int arg2 ;
ae8162c8 14135 bool arg3 = (bool) true ;
d14a1e28 14136 PyObject * obj0 = 0 ;
994141e6 14137 PyObject * obj1 = 0 ;
d14a1e28
RD
14138 PyObject * obj2 = 0 ;
14139 char *kwnames[] = {
14140 (char *) "self",(char *) "n",(char *) "enable", NULL
14141 };
14142
994141e6 14143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_EnableItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
14144 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14145 if (SWIG_arg_fail(1)) SWIG_fail;
14146 {
14147 arg2 = (int)(SWIG_As_int(obj1));
14148 if (SWIG_arg_fail(2)) SWIG_fail;
14149 }
d14a1e28 14150 if (obj2) {
093d3ff1
RD
14151 {
14152 arg3 = (bool)(SWIG_As_bool(obj2));
14153 if (SWIG_arg_fail(3)) SWIG_fail;
14154 }
d14a1e28
RD
14155 }
14156 {
14157 PyThreadState* __tstate = wxPyBeginAllowThreads();
14158 (arg1)->Enable(arg2,arg3);
14159
14160 wxPyEndAllowThreads(__tstate);
14161 if (PyErr_Occurred()) SWIG_fail;
14162 }
14163 Py_INCREF(Py_None); resultobj = Py_None;
14164 return resultobj;
14165 fail:
14166 return NULL;
14167}
14168
14169
c32bde28 14170static PyObject *_wrap_RadioBox_ShowItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14171 PyObject *resultobj;
14172 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14173 int arg2 ;
ae8162c8 14174 bool arg3 = (bool) true ;
d14a1e28 14175 PyObject * obj0 = 0 ;
994141e6 14176 PyObject * obj1 = 0 ;
d14a1e28
RD
14177 PyObject * obj2 = 0 ;
14178 char *kwnames[] = {
14179 (char *) "self",(char *) "n",(char *) "show", NULL
14180 };
14181
994141e6 14182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_ShowItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
14183 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14184 if (SWIG_arg_fail(1)) SWIG_fail;
14185 {
14186 arg2 = (int)(SWIG_As_int(obj1));
14187 if (SWIG_arg_fail(2)) SWIG_fail;
14188 }
d14a1e28 14189 if (obj2) {
093d3ff1
RD
14190 {
14191 arg3 = (bool)(SWIG_As_bool(obj2));
14192 if (SWIG_arg_fail(3)) SWIG_fail;
14193 }
d14a1e28
RD
14194 }
14195 {
14196 PyThreadState* __tstate = wxPyBeginAllowThreads();
14197 (arg1)->Show(arg2,arg3);
14198
14199 wxPyEndAllowThreads(__tstate);
14200 if (PyErr_Occurred()) SWIG_fail;
14201 }
14202 Py_INCREF(Py_None); resultobj = Py_None;
14203 return resultobj;
14204 fail:
14205 return NULL;
14206}
14207
14208
c32bde28 14209static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14210 PyObject *resultobj;
14211 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14212 int result;
14213 PyObject * obj0 = 0 ;
14214 char *kwnames[] = {
14215 (char *) "self", NULL
14216 };
14217
14218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetColumnCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
14219 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14220 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14221 {
14222 PyThreadState* __tstate = wxPyBeginAllowThreads();
14223 result = (int)wxRadioBox_GetColumnCount((wxRadioBox const *)arg1);
14224
14225 wxPyEndAllowThreads(__tstate);
14226 if (PyErr_Occurred()) SWIG_fail;
14227 }
093d3ff1
RD
14228 {
14229 resultobj = SWIG_From_int((int)(result));
14230 }
d14a1e28
RD
14231 return resultobj;
14232 fail:
14233 return NULL;
14234}
14235
14236
c32bde28 14237static PyObject *_wrap_RadioBox_GetRowCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14238 PyObject *resultobj;
14239 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14240 int result;
14241 PyObject * obj0 = 0 ;
14242 char *kwnames[] = {
14243 (char *) "self", NULL
14244 };
14245
14246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetRowCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
14247 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14248 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14249 {
14250 PyThreadState* __tstate = wxPyBeginAllowThreads();
14251 result = (int)wxRadioBox_GetRowCount((wxRadioBox const *)arg1);
14252
14253 wxPyEndAllowThreads(__tstate);
14254 if (PyErr_Occurred()) SWIG_fail;
14255 }
093d3ff1
RD
14256 {
14257 resultobj = SWIG_From_int((int)(result));
14258 }
d14a1e28
RD
14259 return resultobj;
14260 fail:
14261 return NULL;
14262}
14263
14264
c32bde28 14265static PyObject *_wrap_RadioBox_GetNextItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14266 PyObject *resultobj;
14267 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14268 int arg2 ;
093d3ff1 14269 wxDirection arg3 ;
d14a1e28
RD
14270 long arg4 ;
14271 int result;
14272 PyObject * obj0 = 0 ;
994141e6
RD
14273 PyObject * obj1 = 0 ;
14274 PyObject * obj2 = 0 ;
14275 PyObject * obj3 = 0 ;
d14a1e28
RD
14276 char *kwnames[] = {
14277 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
14278 };
14279
994141e6 14280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RadioBox_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
14281 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14282 if (SWIG_arg_fail(1)) SWIG_fail;
14283 {
14284 arg2 = (int)(SWIG_As_int(obj1));
14285 if (SWIG_arg_fail(2)) SWIG_fail;
14286 }
14287 {
14288 arg3 = (wxDirection)(SWIG_As_int(obj2));
14289 if (SWIG_arg_fail(3)) SWIG_fail;
14290 }
14291 {
14292 arg4 = (long)(SWIG_As_long(obj3));
14293 if (SWIG_arg_fail(4)) SWIG_fail;
14294 }
d14a1e28
RD
14295 {
14296 PyThreadState* __tstate = wxPyBeginAllowThreads();
14297 result = (int)wxRadioBox_GetNextItem((wxRadioBox const *)arg1,arg2,(wxDirection )arg3,arg4);
14298
14299 wxPyEndAllowThreads(__tstate);
14300 if (PyErr_Occurred()) SWIG_fail;
14301 }
093d3ff1
RD
14302 {
14303 resultobj = SWIG_From_int((int)(result));
14304 }
d14a1e28
RD
14305 return resultobj;
14306 fail:
14307 return NULL;
14308}
14309
14310
c32bde28 14311static PyObject *_wrap_RadioBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c 14312 PyObject *resultobj;
093d3ff1 14313 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
14314 wxVisualAttributes result;
14315 PyObject * obj0 = 0 ;
14316 char *kwnames[] = {
14317 (char *) "variant", NULL
14318 };
14319
14320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
14321 if (obj0) {
093d3ff1
RD
14322 {
14323 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
14324 if (SWIG_arg_fail(1)) SWIG_fail;
14325 }
22bfe96c
RD
14326 }
14327 {
110da5b0 14328 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
14329 PyThreadState* __tstate = wxPyBeginAllowThreads();
14330 result = wxRadioBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
14331
14332 wxPyEndAllowThreads(__tstate);
dfbb5885 14333 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
14334 }
14335 {
14336 wxVisualAttributes * resultptr;
093d3ff1 14337 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
22bfe96c
RD
14338 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
14339 }
14340 return resultobj;
14341 fail:
14342 return NULL;
14343}
14344
14345
c32bde28 14346static PyObject * RadioBox_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
14347 PyObject *obj;
14348 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14349 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox, obj);
14350 Py_INCREF(obj);
14351 return Py_BuildValue((char *)"");
14352}
c32bde28 14353static PyObject *_wrap_new_RadioButton(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14354 PyObject *resultobj;
14355 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
14356 int arg2 = (int) -1 ;
14357 wxString const &arg3_defvalue = wxPyEmptyString ;
14358 wxString *arg3 = (wxString *) &arg3_defvalue ;
d14a1e28
RD
14359 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14360 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14361 wxSize const &arg5_defvalue = wxDefaultSize ;
14362 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14363 long arg6 = (long) 0 ;
14364 wxValidator const &arg7_defvalue = wxDefaultValidator ;
14365 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
14366 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
14367 wxString *arg8 = (wxString *) &arg8_defvalue ;
14368 wxRadioButton *result;
ae8162c8 14369 bool temp3 = false ;
d14a1e28
RD
14370 wxPoint temp4 ;
14371 wxSize temp5 ;
ae8162c8 14372 bool temp8 = false ;
d14a1e28 14373 PyObject * obj0 = 0 ;
994141e6 14374 PyObject * obj1 = 0 ;
d14a1e28
RD
14375 PyObject * obj2 = 0 ;
14376 PyObject * obj3 = 0 ;
14377 PyObject * obj4 = 0 ;
994141e6 14378 PyObject * obj5 = 0 ;
d14a1e28
RD
14379 PyObject * obj6 = 0 ;
14380 PyObject * obj7 = 0 ;
14381 char *kwnames[] = {
14382 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14383 };
14384
248ed943 14385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_RadioButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
14386 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14387 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 14388 if (obj1) {
093d3ff1
RD
14389 {
14390 arg2 = (int)(SWIG_As_int(obj1));
14391 if (SWIG_arg_fail(2)) SWIG_fail;
14392 }
248ed943
RD
14393 }
14394 if (obj2) {
14395 {
14396 arg3 = wxString_in_helper(obj2);
14397 if (arg3 == NULL) SWIG_fail;
ae8162c8 14398 temp3 = true;
248ed943 14399 }
d14a1e28
RD
14400 }
14401 if (obj3) {
14402 {
14403 arg4 = &temp4;
14404 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14405 }
14406 }
14407 if (obj4) {
14408 {
14409 arg5 = &temp5;
14410 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14411 }
14412 }
994141e6 14413 if (obj5) {
093d3ff1
RD
14414 {
14415 arg6 = (long)(SWIG_As_long(obj5));
14416 if (SWIG_arg_fail(6)) SWIG_fail;
14417 }
994141e6 14418 }
d14a1e28 14419 if (obj6) {
093d3ff1
RD
14420 {
14421 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14422 if (SWIG_arg_fail(7)) SWIG_fail;
14423 if (arg7 == NULL) {
14424 SWIG_null_ref("wxValidator");
14425 }
14426 if (SWIG_arg_fail(7)) SWIG_fail;
d14a1e28
RD
14427 }
14428 }
14429 if (obj7) {
14430 {
14431 arg8 = wxString_in_helper(obj7);
14432 if (arg8 == NULL) SWIG_fail;
ae8162c8 14433 temp8 = true;
d14a1e28
RD
14434 }
14435 }
14436 {
e3b71cb8 14437 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
14438 PyThreadState* __tstate = wxPyBeginAllowThreads();
14439 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
14440
14441 wxPyEndAllowThreads(__tstate);
110da5b0 14442 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 14443 }
15afbcd0 14444 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
d14a1e28
RD
14445 {
14446 if (temp3)
14447 delete arg3;
14448 }
14449 {
14450 if (temp8)
14451 delete arg8;
14452 }
14453 return resultobj;
14454 fail:
14455 {
14456 if (temp3)
14457 delete arg3;
14458 }
14459 {
14460 if (temp8)
14461 delete arg8;
14462 }
14463 return NULL;
14464}
14465
14466
c32bde28 14467static PyObject *_wrap_new_PreRadioButton(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14468 PyObject *resultobj;
14469 wxRadioButton *result;
14470 char *kwnames[] = {
14471 NULL
14472 };
14473
14474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioButton",kwnames)) goto fail;
14475 {
e3b71cb8 14476 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
14477 PyThreadState* __tstate = wxPyBeginAllowThreads();
14478 result = (wxRadioButton *)new wxRadioButton();
14479
14480 wxPyEndAllowThreads(__tstate);
110da5b0 14481 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 14482 }
15afbcd0 14483 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
d14a1e28
RD
14484 return resultobj;
14485 fail:
14486 return NULL;
14487}
14488
14489
c32bde28 14490static PyObject *_wrap_RadioButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14491 PyObject *resultobj;
14492 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
14493 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
14494 int arg3 = (int) -1 ;
14495 wxString const &arg4_defvalue = wxPyEmptyString ;
14496 wxString *arg4 = (wxString *) &arg4_defvalue ;
d14a1e28
RD
14497 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14498 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14499 wxSize const &arg6_defvalue = wxDefaultSize ;
14500 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14501 long arg7 = (long) 0 ;
14502 wxValidator const &arg8_defvalue = wxDefaultValidator ;
14503 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
14504 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
14505 wxString *arg9 = (wxString *) &arg9_defvalue ;
14506 bool result;
ae8162c8 14507 bool temp4 = false ;
d14a1e28
RD
14508 wxPoint temp5 ;
14509 wxSize temp6 ;
ae8162c8 14510 bool temp9 = false ;
d14a1e28
RD
14511 PyObject * obj0 = 0 ;
14512 PyObject * obj1 = 0 ;
994141e6 14513 PyObject * obj2 = 0 ;
d14a1e28
RD
14514 PyObject * obj3 = 0 ;
14515 PyObject * obj4 = 0 ;
14516 PyObject * obj5 = 0 ;
994141e6 14517 PyObject * obj6 = 0 ;
d14a1e28
RD
14518 PyObject * obj7 = 0 ;
14519 PyObject * obj8 = 0 ;
14520 char *kwnames[] = {
14521 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14522 };
14523
248ed943 14524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
14525 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioButton, SWIG_POINTER_EXCEPTION | 0);
14526 if (SWIG_arg_fail(1)) SWIG_fail;
14527 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14528 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 14529 if (obj2) {
093d3ff1
RD
14530 {
14531 arg3 = (int)(SWIG_As_int(obj2));
14532 if (SWIG_arg_fail(3)) SWIG_fail;
14533 }
248ed943
RD
14534 }
14535 if (obj3) {
14536 {
14537 arg4 = wxString_in_helper(obj3);
14538 if (arg4 == NULL) SWIG_fail;
ae8162c8 14539 temp4 = true;
248ed943 14540 }
d14a1e28
RD
14541 }
14542 if (obj4) {
14543 {
14544 arg5 = &temp5;
14545 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14546 }
14547 }
14548 if (obj5) {
14549 {
14550 arg6 = &temp6;
14551 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14552 }
14553 }
994141e6 14554 if (obj6) {
093d3ff1
RD
14555 {
14556 arg7 = (long)(SWIG_As_long(obj6));
14557 if (SWIG_arg_fail(7)) SWIG_fail;
14558 }
994141e6 14559 }
d14a1e28 14560 if (obj7) {
093d3ff1
RD
14561 {
14562 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14563 if (SWIG_arg_fail(8)) SWIG_fail;
14564 if (arg8 == NULL) {
14565 SWIG_null_ref("wxValidator");
14566 }
14567 if (SWIG_arg_fail(8)) SWIG_fail;
d14a1e28
RD
14568 }
14569 }
14570 if (obj8) {
14571 {
14572 arg9 = wxString_in_helper(obj8);
14573 if (arg9 == NULL) SWIG_fail;
ae8162c8 14574 temp9 = true;
d14a1e28
RD
14575 }
14576 }
14577 {
14578 PyThreadState* __tstate = wxPyBeginAllowThreads();
14579 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
14580
14581 wxPyEndAllowThreads(__tstate);
14582 if (PyErr_Occurred()) SWIG_fail;
14583 }
4f89f6a3
RD
14584 {
14585 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14586 }
d14a1e28
RD
14587 {
14588 if (temp4)
14589 delete arg4;
14590 }
14591 {
14592 if (temp9)
14593 delete arg9;
14594 }
14595 return resultobj;
14596 fail:
14597 {
14598 if (temp4)
14599 delete arg4;
14600 }
14601 {
14602 if (temp9)
14603 delete arg9;
14604 }
14605 return NULL;
14606}
14607
14608
c32bde28 14609static PyObject *_wrap_RadioButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14610 PyObject *resultobj;
14611 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
14612 bool result;
14613 PyObject * obj0 = 0 ;
14614 char *kwnames[] = {
14615 (char *) "self", NULL
14616 };
14617
14618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioButton_GetValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
14619 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioButton, SWIG_POINTER_EXCEPTION | 0);
14620 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14621 {
14622 PyThreadState* __tstate = wxPyBeginAllowThreads();
14623 result = (bool)(arg1)->GetValue();
14624
14625 wxPyEndAllowThreads(__tstate);
14626 if (PyErr_Occurred()) SWIG_fail;
14627 }
4f89f6a3
RD
14628 {
14629 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14630 }
d14a1e28
RD
14631 return resultobj;
14632 fail:
14633 return NULL;
14634}
14635
14636
c32bde28 14637static PyObject *_wrap_RadioButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14638 PyObject *resultobj;
14639 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
14640 bool arg2 ;
14641 PyObject * obj0 = 0 ;
14642 PyObject * obj1 = 0 ;
14643 char *kwnames[] = {
14644 (char *) "self",(char *) "value", NULL
14645 };
14646
14647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14648 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioButton, SWIG_POINTER_EXCEPTION | 0);
14649 if (SWIG_arg_fail(1)) SWIG_fail;
14650 {
14651 arg2 = (bool)(SWIG_As_bool(obj1));
14652 if (SWIG_arg_fail(2)) SWIG_fail;
14653 }
d14a1e28
RD
14654 {
14655 PyThreadState* __tstate = wxPyBeginAllowThreads();
14656 (arg1)->SetValue(arg2);
14657
14658 wxPyEndAllowThreads(__tstate);
14659 if (PyErr_Occurred()) SWIG_fail;
14660 }
14661 Py_INCREF(Py_None); resultobj = Py_None;
14662 return resultobj;
14663 fail:
14664 return NULL;
14665}
14666
14667
c32bde28 14668static PyObject *_wrap_RadioButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c 14669 PyObject *resultobj;
093d3ff1 14670 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
14671 wxVisualAttributes result;
14672 PyObject * obj0 = 0 ;
14673 char *kwnames[] = {
14674 (char *) "variant", NULL
14675 };
14676
14677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
14678 if (obj0) {
093d3ff1
RD
14679 {
14680 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
14681 if (SWIG_arg_fail(1)) SWIG_fail;
14682 }
22bfe96c
RD
14683 }
14684 {
110da5b0 14685 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
14686 PyThreadState* __tstate = wxPyBeginAllowThreads();
14687 result = wxRadioButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
14688
14689 wxPyEndAllowThreads(__tstate);
dfbb5885 14690 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
14691 }
14692 {
14693 wxVisualAttributes * resultptr;
093d3ff1 14694 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
22bfe96c
RD
14695 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
14696 }
14697 return resultobj;
14698 fail:
14699 return NULL;
14700}
14701
14702
c32bde28 14703static PyObject * RadioButton_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
14704 PyObject *obj;
14705 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14706 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton, obj);
14707 Py_INCREF(obj);
14708 return Py_BuildValue((char *)"");
14709}
c32bde28 14710static int _wrap_SliderNameStr_set(PyObject *) {
b2dc1044
RD
14711 PyErr_SetString(PyExc_TypeError,"Variable SliderNameStr is read-only.");
14712 return 1;
14713}
14714
14715
093d3ff1 14716static PyObject *_wrap_SliderNameStr_get(void) {
b2dc1044
RD
14717 PyObject *pyobj;
14718
14719 {
14720#if wxUSE_UNICODE
14721 pyobj = PyUnicode_FromWideChar((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
14722#else
14723 pyobj = PyString_FromStringAndSize((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
14724#endif
14725 }
14726 return pyobj;
14727}
14728
14729
c32bde28 14730static PyObject *_wrap_new_Slider(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14731 PyObject *resultobj;
14732 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
14733 int arg2 = (int) -1 ;
14734 int arg3 = (int) 0 ;
14735 int arg4 = (int) 0 ;
14736 int arg5 = (int) 100 ;
d14a1e28
RD
14737 wxPoint const &arg6_defvalue = wxDefaultPosition ;
14738 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
14739 wxSize const &arg7_defvalue = wxDefaultSize ;
14740 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
14741 long arg8 = (long) wxSL_HORIZONTAL ;
14742 wxValidator const &arg9_defvalue = wxDefaultValidator ;
14743 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
14744 wxString const &arg10_defvalue = wxPySliderNameStr ;
14745 wxString *arg10 = (wxString *) &arg10_defvalue ;
14746 wxSlider *result;
14747 wxPoint temp6 ;
14748 wxSize temp7 ;
ae8162c8 14749 bool temp10 = false ;
d14a1e28 14750 PyObject * obj0 = 0 ;
994141e6
RD
14751 PyObject * obj1 = 0 ;
14752 PyObject * obj2 = 0 ;
14753 PyObject * obj3 = 0 ;
14754 PyObject * obj4 = 0 ;
d14a1e28
RD
14755 PyObject * obj5 = 0 ;
14756 PyObject * obj6 = 0 ;
994141e6 14757 PyObject * obj7 = 0 ;
d14a1e28
RD
14758 PyObject * obj8 = 0 ;
14759 PyObject * obj9 = 0 ;
14760 char *kwnames[] = {
994141e6 14761 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
d14a1e28
RD
14762 };
14763
248ed943 14764 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
14765 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14766 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 14767 if (obj1) {
093d3ff1
RD
14768 {
14769 arg2 = (int)(SWIG_As_int(obj1));
14770 if (SWIG_arg_fail(2)) SWIG_fail;
14771 }
248ed943
RD
14772 }
14773 if (obj2) {
093d3ff1
RD
14774 {
14775 arg3 = (int)(SWIG_As_int(obj2));
14776 if (SWIG_arg_fail(3)) SWIG_fail;
14777 }
248ed943
RD
14778 }
14779 if (obj3) {
093d3ff1
RD
14780 {
14781 arg4 = (int)(SWIG_As_int(obj3));
14782 if (SWIG_arg_fail(4)) SWIG_fail;
14783 }
248ed943
RD
14784 }
14785 if (obj4) {
093d3ff1
RD
14786 {
14787 arg5 = (int)(SWIG_As_int(obj4));
14788 if (SWIG_arg_fail(5)) SWIG_fail;
14789 }
248ed943 14790 }
d14a1e28
RD
14791 if (obj5) {
14792 {
14793 arg6 = &temp6;
14794 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
14795 }
14796 }
14797 if (obj6) {
14798 {
14799 arg7 = &temp7;
14800 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
14801 }
14802 }
994141e6 14803 if (obj7) {
093d3ff1
RD
14804 {
14805 arg8 = (long)(SWIG_As_long(obj7));
14806 if (SWIG_arg_fail(8)) SWIG_fail;
14807 }
994141e6 14808 }
d14a1e28 14809 if (obj8) {
093d3ff1
RD
14810 {
14811 SWIG_Python_ConvertPtr(obj8, (void **)&arg9, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14812 if (SWIG_arg_fail(9)) SWIG_fail;
14813 if (arg9 == NULL) {
14814 SWIG_null_ref("wxValidator");
14815 }
14816 if (SWIG_arg_fail(9)) SWIG_fail;
d14a1e28
RD
14817 }
14818 }
14819 if (obj9) {
14820 {
14821 arg10 = wxString_in_helper(obj9);
14822 if (arg10 == NULL) SWIG_fail;
ae8162c8 14823 temp10 = true;
d14a1e28
RD
14824 }
14825 }
14826 {
e3b71cb8 14827 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
14828 PyThreadState* __tstate = wxPyBeginAllowThreads();
14829 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
14830
14831 wxPyEndAllowThreads(__tstate);
110da5b0 14832 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 14833 }
15afbcd0 14834 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
d14a1e28
RD
14835 {
14836 if (temp10)
14837 delete arg10;
14838 }
14839 return resultobj;
14840 fail:
14841 {
14842 if (temp10)
14843 delete arg10;
14844 }
14845 return NULL;
14846}
14847
14848
c32bde28 14849static PyObject *_wrap_new_PreSlider(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14850 PyObject *resultobj;
14851 wxSlider *result;
14852 char *kwnames[] = {
14853 NULL
14854 };
14855
14856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSlider",kwnames)) goto fail;
14857 {
e3b71cb8 14858 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
14859 PyThreadState* __tstate = wxPyBeginAllowThreads();
14860 result = (wxSlider *)new wxSlider();
14861
14862 wxPyEndAllowThreads(__tstate);
110da5b0 14863 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 14864 }
15afbcd0 14865 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
d14a1e28
RD
14866 return resultobj;
14867 fail:
14868 return NULL;
14869}
14870
14871
c32bde28 14872static PyObject *_wrap_Slider_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14873 PyObject *resultobj;
14874 wxSlider *arg1 = (wxSlider *) 0 ;
14875 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
14876 int arg3 = (int) -1 ;
14877 int arg4 = (int) 0 ;
14878 int arg5 = (int) 0 ;
14879 int arg6 = (int) 100 ;
d14a1e28
RD
14880 wxPoint const &arg7_defvalue = wxDefaultPosition ;
14881 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
14882 wxSize const &arg8_defvalue = wxDefaultSize ;
14883 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
14884 long arg9 = (long) wxSL_HORIZONTAL ;
14885 wxValidator const &arg10_defvalue = wxDefaultValidator ;
14886 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
14887 wxString const &arg11_defvalue = wxPySliderNameStr ;
14888 wxString *arg11 = (wxString *) &arg11_defvalue ;
14889 bool result;
14890 wxPoint temp7 ;
14891 wxSize temp8 ;
ae8162c8 14892 bool temp11 = false ;
d14a1e28
RD
14893 PyObject * obj0 = 0 ;
14894 PyObject * obj1 = 0 ;
994141e6
RD
14895 PyObject * obj2 = 0 ;
14896 PyObject * obj3 = 0 ;
14897 PyObject * obj4 = 0 ;
14898 PyObject * obj5 = 0 ;
d14a1e28
RD
14899 PyObject * obj6 = 0 ;
14900 PyObject * obj7 = 0 ;
994141e6 14901 PyObject * obj8 = 0 ;
d14a1e28
RD
14902 PyObject * obj9 = 0 ;
14903 PyObject * obj10 = 0 ;
14904 char *kwnames[] = {
994141e6 14905 (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
14906 };
14907
248ed943 14908 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
14909 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
14910 if (SWIG_arg_fail(1)) SWIG_fail;
14911 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14912 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 14913 if (obj2) {
093d3ff1
RD
14914 {
14915 arg3 = (int)(SWIG_As_int(obj2));
14916 if (SWIG_arg_fail(3)) SWIG_fail;
14917 }
248ed943
RD
14918 }
14919 if (obj3) {
093d3ff1
RD
14920 {
14921 arg4 = (int)(SWIG_As_int(obj3));
14922 if (SWIG_arg_fail(4)) SWIG_fail;
14923 }
248ed943
RD
14924 }
14925 if (obj4) {
093d3ff1
RD
14926 {
14927 arg5 = (int)(SWIG_As_int(obj4));
14928 if (SWIG_arg_fail(5)) SWIG_fail;
14929 }
248ed943
RD
14930 }
14931 if (obj5) {
093d3ff1
RD
14932 {
14933 arg6 = (int)(SWIG_As_int(obj5));
14934 if (SWIG_arg_fail(6)) SWIG_fail;
14935 }
248ed943 14936 }
d14a1e28
RD
14937 if (obj6) {
14938 {
14939 arg7 = &temp7;
14940 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
14941 }
14942 }
14943 if (obj7) {
14944 {
14945 arg8 = &temp8;
14946 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
14947 }
14948 }
994141e6 14949 if (obj8) {
093d3ff1
RD
14950 {
14951 arg9 = (long)(SWIG_As_long(obj8));
14952 if (SWIG_arg_fail(9)) SWIG_fail;
14953 }
994141e6 14954 }
d14a1e28 14955 if (obj9) {
093d3ff1
RD
14956 {
14957 SWIG_Python_ConvertPtr(obj9, (void **)&arg10, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14958 if (SWIG_arg_fail(10)) SWIG_fail;
14959 if (arg10 == NULL) {
14960 SWIG_null_ref("wxValidator");
14961 }
14962 if (SWIG_arg_fail(10)) SWIG_fail;
d14a1e28
RD
14963 }
14964 }
14965 if (obj10) {
14966 {
14967 arg11 = wxString_in_helper(obj10);
14968 if (arg11 == NULL) SWIG_fail;
ae8162c8 14969 temp11 = true;
d14a1e28
RD
14970 }
14971 }
14972 {
14973 PyThreadState* __tstate = wxPyBeginAllowThreads();
14974 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
14975
14976 wxPyEndAllowThreads(__tstate);
14977 if (PyErr_Occurred()) SWIG_fail;
14978 }
4f89f6a3
RD
14979 {
14980 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14981 }
d14a1e28
RD
14982 {
14983 if (temp11)
14984 delete arg11;
14985 }
14986 return resultobj;
14987 fail:
14988 {
14989 if (temp11)
14990 delete arg11;
14991 }
14992 return NULL;
14993}
14994
14995
c32bde28 14996static PyObject *_wrap_Slider_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14997 PyObject *resultobj;
14998 wxSlider *arg1 = (wxSlider *) 0 ;
14999 int result;
15000 PyObject * obj0 = 0 ;
15001 char *kwnames[] = {
15002 (char *) "self", NULL
15003 };
15004
15005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
15006 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15007 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15008 {
15009 PyThreadState* __tstate = wxPyBeginAllowThreads();
15010 result = (int)((wxSlider const *)arg1)->GetValue();
15011
15012 wxPyEndAllowThreads(__tstate);
15013 if (PyErr_Occurred()) SWIG_fail;
15014 }
093d3ff1
RD
15015 {
15016 resultobj = SWIG_From_int((int)(result));
15017 }
d14a1e28
RD
15018 return resultobj;
15019 fail:
15020 return NULL;
15021}
15022
15023
c32bde28 15024static PyObject *_wrap_Slider_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15025 PyObject *resultobj;
15026 wxSlider *arg1 = (wxSlider *) 0 ;
15027 int arg2 ;
15028 PyObject * obj0 = 0 ;
994141e6 15029 PyObject * obj1 = 0 ;
d14a1e28
RD
15030 char *kwnames[] = {
15031 (char *) "self",(char *) "value", NULL
15032 };
15033
994141e6 15034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetValue",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15035 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15036 if (SWIG_arg_fail(1)) SWIG_fail;
15037 {
15038 arg2 = (int)(SWIG_As_int(obj1));
15039 if (SWIG_arg_fail(2)) SWIG_fail;
15040 }
d14a1e28
RD
15041 {
15042 PyThreadState* __tstate = wxPyBeginAllowThreads();
15043 (arg1)->SetValue(arg2);
15044
15045 wxPyEndAllowThreads(__tstate);
15046 if (PyErr_Occurred()) SWIG_fail;
15047 }
15048 Py_INCREF(Py_None); resultobj = Py_None;
15049 return resultobj;
15050 fail:
15051 return NULL;
15052}
15053
15054
c32bde28 15055static PyObject *_wrap_Slider_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15056 PyObject *resultobj;
15057 wxSlider *arg1 = (wxSlider *) 0 ;
15058 int arg2 ;
15059 int arg3 ;
15060 PyObject * obj0 = 0 ;
994141e6
RD
15061 PyObject * obj1 = 0 ;
15062 PyObject * obj2 = 0 ;
d14a1e28
RD
15063 char *kwnames[] = {
15064 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
15065 };
15066
994141e6 15067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
15068 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15069 if (SWIG_arg_fail(1)) SWIG_fail;
15070 {
15071 arg2 = (int)(SWIG_As_int(obj1));
15072 if (SWIG_arg_fail(2)) SWIG_fail;
15073 }
15074 {
15075 arg3 = (int)(SWIG_As_int(obj2));
15076 if (SWIG_arg_fail(3)) SWIG_fail;
15077 }
d14a1e28
RD
15078 {
15079 PyThreadState* __tstate = wxPyBeginAllowThreads();
15080 (arg1)->SetRange(arg2,arg3);
15081
15082 wxPyEndAllowThreads(__tstate);
15083 if (PyErr_Occurred()) SWIG_fail;
15084 }
15085 Py_INCREF(Py_None); resultobj = Py_None;
15086 return resultobj;
15087 fail:
15088 return NULL;
15089}
15090
15091
c32bde28 15092static PyObject *_wrap_Slider_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15093 PyObject *resultobj;
15094 wxSlider *arg1 = (wxSlider *) 0 ;
15095 int result;
15096 PyObject * obj0 = 0 ;
15097 char *kwnames[] = {
15098 (char *) "self", NULL
15099 };
15100
15101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMin",kwnames,&obj0)) goto fail;
093d3ff1
RD
15102 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15103 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15104 {
15105 PyThreadState* __tstate = wxPyBeginAllowThreads();
15106 result = (int)((wxSlider const *)arg1)->GetMin();
15107
15108 wxPyEndAllowThreads(__tstate);
15109 if (PyErr_Occurred()) SWIG_fail;
15110 }
093d3ff1
RD
15111 {
15112 resultobj = SWIG_From_int((int)(result));
15113 }
d14a1e28
RD
15114 return resultobj;
15115 fail:
15116 return NULL;
15117}
15118
15119
c32bde28 15120static PyObject *_wrap_Slider_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15121 PyObject *resultobj;
15122 wxSlider *arg1 = (wxSlider *) 0 ;
15123 int result;
15124 PyObject * obj0 = 0 ;
15125 char *kwnames[] = {
15126 (char *) "self", NULL
15127 };
15128
15129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMax",kwnames,&obj0)) goto fail;
093d3ff1
RD
15130 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15131 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15132 {
15133 PyThreadState* __tstate = wxPyBeginAllowThreads();
15134 result = (int)((wxSlider const *)arg1)->GetMax();
15135
15136 wxPyEndAllowThreads(__tstate);
15137 if (PyErr_Occurred()) SWIG_fail;
15138 }
093d3ff1
RD
15139 {
15140 resultobj = SWIG_From_int((int)(result));
15141 }
d14a1e28
RD
15142 return resultobj;
15143 fail:
15144 return NULL;
15145}
15146
15147
c32bde28 15148static PyObject *_wrap_Slider_SetMin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15149 PyObject *resultobj;
15150 wxSlider *arg1 = (wxSlider *) 0 ;
15151 int arg2 ;
15152 PyObject * obj0 = 0 ;
994141e6 15153 PyObject * obj1 = 0 ;
d14a1e28
RD
15154 char *kwnames[] = {
15155 (char *) "self",(char *) "minValue", NULL
15156 };
15157
994141e6 15158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMin",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15159 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15160 if (SWIG_arg_fail(1)) SWIG_fail;
15161 {
15162 arg2 = (int)(SWIG_As_int(obj1));
15163 if (SWIG_arg_fail(2)) SWIG_fail;
15164 }
d14a1e28
RD
15165 {
15166 PyThreadState* __tstate = wxPyBeginAllowThreads();
15167 (arg1)->SetMin(arg2);
15168
15169 wxPyEndAllowThreads(__tstate);
15170 if (PyErr_Occurred()) SWIG_fail;
15171 }
15172 Py_INCREF(Py_None); resultobj = Py_None;
15173 return resultobj;
15174 fail:
15175 return NULL;
15176}
15177
15178
c32bde28 15179static PyObject *_wrap_Slider_SetMax(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15180 PyObject *resultobj;
15181 wxSlider *arg1 = (wxSlider *) 0 ;
15182 int arg2 ;
15183 PyObject * obj0 = 0 ;
994141e6 15184 PyObject * obj1 = 0 ;
d14a1e28
RD
15185 char *kwnames[] = {
15186 (char *) "self",(char *) "maxValue", NULL
15187 };
15188
994141e6 15189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMax",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15190 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15191 if (SWIG_arg_fail(1)) SWIG_fail;
15192 {
15193 arg2 = (int)(SWIG_As_int(obj1));
15194 if (SWIG_arg_fail(2)) SWIG_fail;
15195 }
d14a1e28
RD
15196 {
15197 PyThreadState* __tstate = wxPyBeginAllowThreads();
15198 (arg1)->SetMax(arg2);
15199
15200 wxPyEndAllowThreads(__tstate);
15201 if (PyErr_Occurred()) SWIG_fail;
15202 }
15203 Py_INCREF(Py_None); resultobj = Py_None;
15204 return resultobj;
15205 fail:
15206 return NULL;
15207}
15208
15209
c32bde28 15210static PyObject *_wrap_Slider_SetLineSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15211 PyObject *resultobj;
15212 wxSlider *arg1 = (wxSlider *) 0 ;
15213 int arg2 ;
15214 PyObject * obj0 = 0 ;
994141e6 15215 PyObject * obj1 = 0 ;
d14a1e28
RD
15216 char *kwnames[] = {
15217 (char *) "self",(char *) "lineSize", NULL
15218 };
15219
994141e6 15220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetLineSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15221 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15222 if (SWIG_arg_fail(1)) SWIG_fail;
15223 {
15224 arg2 = (int)(SWIG_As_int(obj1));
15225 if (SWIG_arg_fail(2)) SWIG_fail;
15226 }
d14a1e28
RD
15227 {
15228 PyThreadState* __tstate = wxPyBeginAllowThreads();
15229 (arg1)->SetLineSize(arg2);
15230
15231 wxPyEndAllowThreads(__tstate);
15232 if (PyErr_Occurred()) SWIG_fail;
15233 }
15234 Py_INCREF(Py_None); resultobj = Py_None;
15235 return resultobj;
15236 fail:
15237 return NULL;
15238}
15239
15240
c32bde28 15241static PyObject *_wrap_Slider_SetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15242 PyObject *resultobj;
15243 wxSlider *arg1 = (wxSlider *) 0 ;
15244 int arg2 ;
15245 PyObject * obj0 = 0 ;
994141e6 15246 PyObject * obj1 = 0 ;
d14a1e28
RD
15247 char *kwnames[] = {
15248 (char *) "self",(char *) "pageSize", NULL
15249 };
15250
994141e6 15251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15252 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15253 if (SWIG_arg_fail(1)) SWIG_fail;
15254 {
15255 arg2 = (int)(SWIG_As_int(obj1));
15256 if (SWIG_arg_fail(2)) SWIG_fail;
15257 }
d14a1e28
RD
15258 {
15259 PyThreadState* __tstate = wxPyBeginAllowThreads();
15260 (arg1)->SetPageSize(arg2);
15261
15262 wxPyEndAllowThreads(__tstate);
15263 if (PyErr_Occurred()) SWIG_fail;
15264 }
15265 Py_INCREF(Py_None); resultobj = Py_None;
15266 return resultobj;
15267 fail:
15268 return NULL;
15269}
15270
15271
c32bde28 15272static PyObject *_wrap_Slider_GetLineSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15273 PyObject *resultobj;
15274 wxSlider *arg1 = (wxSlider *) 0 ;
15275 int result;
15276 PyObject * obj0 = 0 ;
15277 char *kwnames[] = {
15278 (char *) "self", NULL
15279 };
15280
15281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetLineSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
15282 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15283 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15284 {
15285 PyThreadState* __tstate = wxPyBeginAllowThreads();
15286 result = (int)((wxSlider const *)arg1)->GetLineSize();
15287
15288 wxPyEndAllowThreads(__tstate);
15289 if (PyErr_Occurred()) SWIG_fail;
15290 }
093d3ff1
RD
15291 {
15292 resultobj = SWIG_From_int((int)(result));
15293 }
d14a1e28
RD
15294 return resultobj;
15295 fail:
15296 return NULL;
15297}
15298
15299
c32bde28 15300static PyObject *_wrap_Slider_GetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15301 PyObject *resultobj;
15302 wxSlider *arg1 = (wxSlider *) 0 ;
15303 int result;
15304 PyObject * obj0 = 0 ;
15305 char *kwnames[] = {
15306 (char *) "self", NULL
15307 };
15308
15309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetPageSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
15310 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15311 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15312 {
15313 PyThreadState* __tstate = wxPyBeginAllowThreads();
15314 result = (int)((wxSlider const *)arg1)->GetPageSize();
15315
15316 wxPyEndAllowThreads(__tstate);
15317 if (PyErr_Occurred()) SWIG_fail;
15318 }
093d3ff1
RD
15319 {
15320 resultobj = SWIG_From_int((int)(result));
15321 }
d14a1e28
RD
15322 return resultobj;
15323 fail:
15324 return NULL;
15325}
15326
15327
c32bde28 15328static PyObject *_wrap_Slider_SetThumbLength(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15329 PyObject *resultobj;
15330 wxSlider *arg1 = (wxSlider *) 0 ;
15331 int arg2 ;
15332 PyObject * obj0 = 0 ;
994141e6 15333 PyObject * obj1 = 0 ;
d14a1e28
RD
15334 char *kwnames[] = {
15335 (char *) "self",(char *) "lenPixels", NULL
15336 };
15337
994141e6 15338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetThumbLength",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15339 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15340 if (SWIG_arg_fail(1)) SWIG_fail;
15341 {
15342 arg2 = (int)(SWIG_As_int(obj1));
15343 if (SWIG_arg_fail(2)) SWIG_fail;
15344 }
d14a1e28
RD
15345 {
15346 PyThreadState* __tstate = wxPyBeginAllowThreads();
15347 (arg1)->SetThumbLength(arg2);
15348
15349 wxPyEndAllowThreads(__tstate);
15350 if (PyErr_Occurred()) SWIG_fail;
15351 }
15352 Py_INCREF(Py_None); resultobj = Py_None;
15353 return resultobj;
15354 fail:
15355 return NULL;
15356}
15357
15358
c32bde28 15359static PyObject *_wrap_Slider_GetThumbLength(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15360 PyObject *resultobj;
15361 wxSlider *arg1 = (wxSlider *) 0 ;
15362 int result;
15363 PyObject * obj0 = 0 ;
15364 char *kwnames[] = {
15365 (char *) "self", NULL
15366 };
15367
15368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetThumbLength",kwnames,&obj0)) goto fail;
093d3ff1
RD
15369 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15370 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15371 {
15372 PyThreadState* __tstate = wxPyBeginAllowThreads();
15373 result = (int)((wxSlider const *)arg1)->GetThumbLength();
15374
15375 wxPyEndAllowThreads(__tstate);
15376 if (PyErr_Occurred()) SWIG_fail;
15377 }
093d3ff1
RD
15378 {
15379 resultobj = SWIG_From_int((int)(result));
15380 }
d14a1e28
RD
15381 return resultobj;
15382 fail:
15383 return NULL;
15384}
15385
15386
c32bde28 15387static PyObject *_wrap_Slider_SetTickFreq(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15388 PyObject *resultobj;
15389 wxSlider *arg1 = (wxSlider *) 0 ;
15390 int arg2 ;
994141e6 15391 int arg3 = (int) 1 ;
d14a1e28 15392 PyObject * obj0 = 0 ;
994141e6
RD
15393 PyObject * obj1 = 0 ;
15394 PyObject * obj2 = 0 ;
d14a1e28
RD
15395 char *kwnames[] = {
15396 (char *) "self",(char *) "n",(char *) "pos", NULL
15397 };
15398
994141e6 15399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Slider_SetTickFreq",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
15400 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15401 if (SWIG_arg_fail(1)) SWIG_fail;
15402 {
15403 arg2 = (int)(SWIG_As_int(obj1));
15404 if (SWIG_arg_fail(2)) SWIG_fail;
15405 }
994141e6 15406 if (obj2) {
093d3ff1
RD
15407 {
15408 arg3 = (int)(SWIG_As_int(obj2));
15409 if (SWIG_arg_fail(3)) SWIG_fail;
15410 }
994141e6 15411 }
d14a1e28
RD
15412 {
15413 PyThreadState* __tstate = wxPyBeginAllowThreads();
15414 (arg1)->SetTickFreq(arg2,arg3);
15415
15416 wxPyEndAllowThreads(__tstate);
15417 if (PyErr_Occurred()) SWIG_fail;
15418 }
15419 Py_INCREF(Py_None); resultobj = Py_None;
15420 return resultobj;
15421 fail:
15422 return NULL;
15423}
15424
15425
c32bde28 15426static PyObject *_wrap_Slider_GetTickFreq(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15427 PyObject *resultobj;
15428 wxSlider *arg1 = (wxSlider *) 0 ;
15429 int result;
15430 PyObject * obj0 = 0 ;
15431 char *kwnames[] = {
15432 (char *) "self", NULL
15433 };
15434
15435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetTickFreq",kwnames,&obj0)) goto fail;
093d3ff1
RD
15436 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15437 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15438 {
15439 PyThreadState* __tstate = wxPyBeginAllowThreads();
15440 result = (int)((wxSlider const *)arg1)->GetTickFreq();
15441
15442 wxPyEndAllowThreads(__tstate);
15443 if (PyErr_Occurred()) SWIG_fail;
15444 }
093d3ff1
RD
15445 {
15446 resultobj = SWIG_From_int((int)(result));
15447 }
d14a1e28
RD
15448 return resultobj;
15449 fail:
15450 return NULL;
15451}
15452
15453
c32bde28 15454static PyObject *_wrap_Slider_ClearTicks(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15455 PyObject *resultobj;
15456 wxSlider *arg1 = (wxSlider *) 0 ;
15457 PyObject * obj0 = 0 ;
15458 char *kwnames[] = {
15459 (char *) "self", NULL
15460 };
15461
15462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearTicks",kwnames,&obj0)) goto fail;
093d3ff1
RD
15463 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15464 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15465 {
15466 PyThreadState* __tstate = wxPyBeginAllowThreads();
15467 (arg1)->ClearTicks();
15468
15469 wxPyEndAllowThreads(__tstate);
15470 if (PyErr_Occurred()) SWIG_fail;
15471 }
15472 Py_INCREF(Py_None); resultobj = Py_None;
15473 return resultobj;
15474 fail:
15475 return NULL;
15476}
15477
15478
c32bde28 15479static PyObject *_wrap_Slider_SetTick(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15480 PyObject *resultobj;
15481 wxSlider *arg1 = (wxSlider *) 0 ;
15482 int arg2 ;
15483 PyObject * obj0 = 0 ;
994141e6 15484 PyObject * obj1 = 0 ;
d14a1e28
RD
15485 char *kwnames[] = {
15486 (char *) "self",(char *) "tickPos", NULL
15487 };
15488
994141e6 15489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetTick",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15490 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15491 if (SWIG_arg_fail(1)) SWIG_fail;
15492 {
15493 arg2 = (int)(SWIG_As_int(obj1));
15494 if (SWIG_arg_fail(2)) SWIG_fail;
15495 }
d14a1e28
RD
15496 {
15497 PyThreadState* __tstate = wxPyBeginAllowThreads();
15498 (arg1)->SetTick(arg2);
15499
15500 wxPyEndAllowThreads(__tstate);
15501 if (PyErr_Occurred()) SWIG_fail;
15502 }
15503 Py_INCREF(Py_None); resultobj = Py_None;
15504 return resultobj;
15505 fail:
15506 return NULL;
15507}
15508
15509
c32bde28 15510static PyObject *_wrap_Slider_ClearSel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15511 PyObject *resultobj;
15512 wxSlider *arg1 = (wxSlider *) 0 ;
15513 PyObject * obj0 = 0 ;
15514 char *kwnames[] = {
15515 (char *) "self", NULL
15516 };
15517
15518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearSel",kwnames,&obj0)) goto fail;
093d3ff1
RD
15519 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15520 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15521 {
15522 PyThreadState* __tstate = wxPyBeginAllowThreads();
15523 (arg1)->ClearSel();
15524
15525 wxPyEndAllowThreads(__tstate);
15526 if (PyErr_Occurred()) SWIG_fail;
15527 }
15528 Py_INCREF(Py_None); resultobj = Py_None;
15529 return resultobj;
15530 fail:
15531 return NULL;
15532}
15533
15534
c32bde28 15535static PyObject *_wrap_Slider_GetSelEnd(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15536 PyObject *resultobj;
15537 wxSlider *arg1 = (wxSlider *) 0 ;
15538 int result;
15539 PyObject * obj0 = 0 ;
15540 char *kwnames[] = {
15541 (char *) "self", NULL
15542 };
15543
15544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelEnd",kwnames,&obj0)) goto fail;
093d3ff1
RD
15545 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15546 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15547 {
15548 PyThreadState* __tstate = wxPyBeginAllowThreads();
15549 result = (int)((wxSlider const *)arg1)->GetSelEnd();
15550
15551 wxPyEndAllowThreads(__tstate);
15552 if (PyErr_Occurred()) SWIG_fail;
15553 }
093d3ff1
RD
15554 {
15555 resultobj = SWIG_From_int((int)(result));
15556 }
d14a1e28
RD
15557 return resultobj;
15558 fail:
15559 return NULL;
15560}
15561
15562
c32bde28 15563static PyObject *_wrap_Slider_GetSelStart(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15564 PyObject *resultobj;
15565 wxSlider *arg1 = (wxSlider *) 0 ;
15566 int result;
15567 PyObject * obj0 = 0 ;
15568 char *kwnames[] = {
15569 (char *) "self", NULL
15570 };
15571
15572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelStart",kwnames,&obj0)) goto fail;
093d3ff1
RD
15573 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15574 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15575 {
15576 PyThreadState* __tstate = wxPyBeginAllowThreads();
15577 result = (int)((wxSlider const *)arg1)->GetSelStart();
15578
15579 wxPyEndAllowThreads(__tstate);
15580 if (PyErr_Occurred()) SWIG_fail;
15581 }
093d3ff1
RD
15582 {
15583 resultobj = SWIG_From_int((int)(result));
15584 }
d14a1e28
RD
15585 return resultobj;
15586 fail:
15587 return NULL;
15588}
15589
15590
c32bde28 15591static PyObject *_wrap_Slider_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15592 PyObject *resultobj;
15593 wxSlider *arg1 = (wxSlider *) 0 ;
15594 int arg2 ;
15595 int arg3 ;
15596 PyObject * obj0 = 0 ;
994141e6
RD
15597 PyObject * obj1 = 0 ;
15598 PyObject * obj2 = 0 ;
d14a1e28
RD
15599 char *kwnames[] = {
15600 (char *) "self",(char *) "min",(char *) "max", NULL
15601 };
15602
994141e6 15603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
15604 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15605 if (SWIG_arg_fail(1)) SWIG_fail;
15606 {
15607 arg2 = (int)(SWIG_As_int(obj1));
15608 if (SWIG_arg_fail(2)) SWIG_fail;
15609 }
15610 {
15611 arg3 = (int)(SWIG_As_int(obj2));
15612 if (SWIG_arg_fail(3)) SWIG_fail;
15613 }
d14a1e28
RD
15614 {
15615 PyThreadState* __tstate = wxPyBeginAllowThreads();
15616 (arg1)->SetSelection(arg2,arg3);
15617
15618 wxPyEndAllowThreads(__tstate);
15619 if (PyErr_Occurred()) SWIG_fail;
15620 }
15621 Py_INCREF(Py_None); resultobj = Py_None;
15622 return resultobj;
15623 fail:
15624 return NULL;
15625}
15626
15627
c32bde28 15628static PyObject *_wrap_Slider_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c 15629 PyObject *resultobj;
093d3ff1 15630 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
15631 wxVisualAttributes result;
15632 PyObject * obj0 = 0 ;
15633 char *kwnames[] = {
15634 (char *) "variant", NULL
15635 };
15636
15637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
15638 if (obj0) {
093d3ff1
RD
15639 {
15640 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
15641 if (SWIG_arg_fail(1)) SWIG_fail;
15642 }
22bfe96c
RD
15643 }
15644 {
110da5b0 15645 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
15646 PyThreadState* __tstate = wxPyBeginAllowThreads();
15647 result = wxSlider::GetClassDefaultAttributes((wxWindowVariant )arg1);
15648
15649 wxPyEndAllowThreads(__tstate);
dfbb5885 15650 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
15651 }
15652 {
15653 wxVisualAttributes * resultptr;
093d3ff1 15654 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
22bfe96c
RD
15655 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
15656 }
15657 return resultobj;
15658 fail:
15659 return NULL;
15660}
15661
15662
c32bde28 15663static PyObject * Slider_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
15664 PyObject *obj;
15665 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15666 SWIG_TypeClientData(SWIGTYPE_p_wxSlider, obj);
15667 Py_INCREF(obj);
15668 return Py_BuildValue((char *)"");
15669}
c32bde28 15670static int _wrap_ToggleButtonNameStr_set(PyObject *) {
b2dc1044
RD
15671 PyErr_SetString(PyExc_TypeError,"Variable ToggleButtonNameStr is read-only.");
15672 return 1;
15673}
15674
15675
093d3ff1 15676static PyObject *_wrap_ToggleButtonNameStr_get(void) {
b2dc1044
RD
15677 PyObject *pyobj;
15678
15679 {
15680#if wxUSE_UNICODE
15681 pyobj = PyUnicode_FromWideChar((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
15682#else
15683 pyobj = PyString_FromStringAndSize((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
15684#endif
15685 }
15686 return pyobj;
15687}
15688
15689
c32bde28 15690static PyObject *_wrap_new_ToggleButton(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15691 PyObject *resultobj;
15692 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
15693 int arg2 = (int) -1 ;
15694 wxString const &arg3_defvalue = wxPyEmptyString ;
15695 wxString *arg3 = (wxString *) &arg3_defvalue ;
d14a1e28
RD
15696 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15697 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15698 wxSize const &arg5_defvalue = wxDefaultSize ;
15699 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15700 long arg6 = (long) 0 ;
15701 wxValidator const &arg7_defvalue = wxDefaultValidator ;
15702 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
15703 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
15704 wxString *arg8 = (wxString *) &arg8_defvalue ;
15705 wxToggleButton *result;
ae8162c8 15706 bool temp3 = false ;
d14a1e28
RD
15707 wxPoint temp4 ;
15708 wxSize temp5 ;
ae8162c8 15709 bool temp8 = false ;
d14a1e28 15710 PyObject * obj0 = 0 ;
994141e6 15711 PyObject * obj1 = 0 ;
d14a1e28
RD
15712 PyObject * obj2 = 0 ;
15713 PyObject * obj3 = 0 ;
15714 PyObject * obj4 = 0 ;
994141e6 15715 PyObject * obj5 = 0 ;
d14a1e28
RD
15716 PyObject * obj6 = 0 ;
15717 PyObject * obj7 = 0 ;
15718 char *kwnames[] = {
15719 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15720 };
15721
248ed943 15722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ToggleButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
15723 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15724 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 15725 if (obj1) {
093d3ff1
RD
15726 {
15727 arg2 = (int)(SWIG_As_int(obj1));
15728 if (SWIG_arg_fail(2)) SWIG_fail;
15729 }
248ed943
RD
15730 }
15731 if (obj2) {
15732 {
15733 arg3 = wxString_in_helper(obj2);
15734 if (arg3 == NULL) SWIG_fail;
ae8162c8 15735 temp3 = true;
248ed943 15736 }
d14a1e28
RD
15737 }
15738 if (obj3) {
15739 {
15740 arg4 = &temp4;
15741 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15742 }
15743 }
15744 if (obj4) {
15745 {
15746 arg5 = &temp5;
15747 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15748 }
15749 }
994141e6 15750 if (obj5) {
093d3ff1
RD
15751 {
15752 arg6 = (long)(SWIG_As_long(obj5));
15753 if (SWIG_arg_fail(6)) SWIG_fail;
15754 }
994141e6 15755 }
d14a1e28 15756 if (obj6) {
093d3ff1
RD
15757 {
15758 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
15759 if (SWIG_arg_fail(7)) SWIG_fail;
15760 if (arg7 == NULL) {
15761 SWIG_null_ref("wxValidator");
15762 }
15763 if (SWIG_arg_fail(7)) SWIG_fail;
d14a1e28
RD
15764 }
15765 }
15766 if (obj7) {
15767 {
15768 arg8 = wxString_in_helper(obj7);
15769 if (arg8 == NULL) SWIG_fail;
ae8162c8 15770 temp8 = true;
d14a1e28
RD
15771 }
15772 }
15773 {
e3b71cb8 15774 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
15775 PyThreadState* __tstate = wxPyBeginAllowThreads();
15776 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
15777
15778 wxPyEndAllowThreads(__tstate);
110da5b0 15779 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 15780 }
15afbcd0 15781 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
d14a1e28
RD
15782 {
15783 if (temp3)
15784 delete arg3;
15785 }
15786 {
15787 if (temp8)
15788 delete arg8;
15789 }
15790 return resultobj;
15791 fail:
15792 {
15793 if (temp3)
15794 delete arg3;
15795 }
15796 {
15797 if (temp8)
15798 delete arg8;
15799 }
15800 return NULL;
15801}
15802
15803
c32bde28 15804static PyObject *_wrap_new_PreToggleButton(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15805 PyObject *resultobj;
15806 wxToggleButton *result;
15807 char *kwnames[] = {
15808 NULL
15809 };
15810
15811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToggleButton",kwnames)) goto fail;
15812 {
e3b71cb8 15813 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
15814 PyThreadState* __tstate = wxPyBeginAllowThreads();
15815 result = (wxToggleButton *)new wxToggleButton();
15816
15817 wxPyEndAllowThreads(__tstate);
110da5b0 15818 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 15819 }
15afbcd0 15820 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
d14a1e28
RD
15821 return resultobj;
15822 fail:
15823 return NULL;
15824}
15825
15826
c32bde28 15827static PyObject *_wrap_ToggleButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15828 PyObject *resultobj;
15829 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
15830 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
15831 int arg3 = (int) -1 ;
15832 wxString const &arg4_defvalue = wxPyEmptyString ;
15833 wxString *arg4 = (wxString *) &arg4_defvalue ;
d14a1e28
RD
15834 wxPoint const &arg5_defvalue = wxDefaultPosition ;
15835 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
15836 wxSize const &arg6_defvalue = wxDefaultSize ;
15837 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
15838 long arg7 = (long) 0 ;
15839 wxValidator const &arg8_defvalue = wxDefaultValidator ;
15840 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
15841 wxString const &arg9_defvalue = wxPyToggleButtonNameStr ;
15842 wxString *arg9 = (wxString *) &arg9_defvalue ;
15843 bool result;
ae8162c8 15844 bool temp4 = false ;
d14a1e28
RD
15845 wxPoint temp5 ;
15846 wxSize temp6 ;
ae8162c8 15847 bool temp9 = false ;
d14a1e28
RD
15848 PyObject * obj0 = 0 ;
15849 PyObject * obj1 = 0 ;
994141e6 15850 PyObject * obj2 = 0 ;
d14a1e28
RD
15851 PyObject * obj3 = 0 ;
15852 PyObject * obj4 = 0 ;
15853 PyObject * obj5 = 0 ;
994141e6 15854 PyObject * obj6 = 0 ;
d14a1e28
RD
15855 PyObject * obj7 = 0 ;
15856 PyObject * obj8 = 0 ;
15857 char *kwnames[] = {
15858 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15859 };
15860
248ed943 15861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
15862 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
15863 if (SWIG_arg_fail(1)) SWIG_fail;
15864 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15865 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 15866 if (obj2) {
093d3ff1
RD
15867 {
15868 arg3 = (int)(SWIG_As_int(obj2));
15869 if (SWIG_arg_fail(3)) SWIG_fail;
15870 }
248ed943
RD
15871 }
15872 if (obj3) {
15873 {
15874 arg4 = wxString_in_helper(obj3);
15875 if (arg4 == NULL) SWIG_fail;
ae8162c8 15876 temp4 = true;
248ed943 15877 }
d14a1e28
RD
15878 }
15879 if (obj4) {
15880 {
15881 arg5 = &temp5;
15882 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
15883 }
15884 }
15885 if (obj5) {
15886 {
15887 arg6 = &temp6;
15888 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
15889 }
15890 }
994141e6 15891 if (obj6) {
093d3ff1
RD
15892 {
15893 arg7 = (long)(SWIG_As_long(obj6));
15894 if (SWIG_arg_fail(7)) SWIG_fail;
15895 }
994141e6 15896 }
d14a1e28 15897 if (obj7) {
093d3ff1
RD
15898 {
15899 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
15900 if (SWIG_arg_fail(8)) SWIG_fail;
15901 if (arg8 == NULL) {
15902 SWIG_null_ref("wxValidator");
15903 }
15904 if (SWIG_arg_fail(8)) SWIG_fail;
d14a1e28
RD
15905 }
15906 }
15907 if (obj8) {
15908 {
15909 arg9 = wxString_in_helper(obj8);
15910 if (arg9 == NULL) SWIG_fail;
ae8162c8 15911 temp9 = true;
d14a1e28
RD
15912 }
15913 }
15914 {
15915 PyThreadState* __tstate = wxPyBeginAllowThreads();
15916 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
15917
15918 wxPyEndAllowThreads(__tstate);
15919 if (PyErr_Occurred()) SWIG_fail;
15920 }
4f89f6a3
RD
15921 {
15922 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15923 }
d14a1e28
RD
15924 {
15925 if (temp4)
15926 delete arg4;
15927 }
15928 {
15929 if (temp9)
15930 delete arg9;
15931 }
15932 return resultobj;
15933 fail:
15934 {
15935 if (temp4)
15936 delete arg4;
15937 }
15938 {
15939 if (temp9)
15940 delete arg9;
15941 }
15942 return NULL;
15943}
15944
15945
c32bde28 15946static PyObject *_wrap_ToggleButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15947 PyObject *resultobj;
15948 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
15949 bool arg2 ;
15950 PyObject * obj0 = 0 ;
15951 PyObject * obj1 = 0 ;
15952 char *kwnames[] = {
15953 (char *) "self",(char *) "value", NULL
15954 };
15955
15956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15957 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
15958 if (SWIG_arg_fail(1)) SWIG_fail;
15959 {
15960 arg2 = (bool)(SWIG_As_bool(obj1));
15961 if (SWIG_arg_fail(2)) SWIG_fail;
15962 }
d14a1e28
RD
15963 {
15964 PyThreadState* __tstate = wxPyBeginAllowThreads();
15965 (arg1)->SetValue(arg2);
15966
15967 wxPyEndAllowThreads(__tstate);
15968 if (PyErr_Occurred()) SWIG_fail;
15969 }
15970 Py_INCREF(Py_None); resultobj = Py_None;
15971 return resultobj;
15972 fail:
15973 return NULL;
15974}
15975
15976
c32bde28 15977static PyObject *_wrap_ToggleButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15978 PyObject *resultobj;
15979 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
15980 bool result;
15981 PyObject * obj0 = 0 ;
15982 char *kwnames[] = {
15983 (char *) "self", NULL
15984 };
15985
15986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToggleButton_GetValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
15987 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
15988 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15989 {
15990 PyThreadState* __tstate = wxPyBeginAllowThreads();
15991 result = (bool)((wxToggleButton const *)arg1)->GetValue();
15992
15993 wxPyEndAllowThreads(__tstate);
15994 if (PyErr_Occurred()) SWIG_fail;
15995 }
4f89f6a3
RD
15996 {
15997 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15998 }
d14a1e28
RD
15999 return resultobj;
16000 fail:
16001 return NULL;
16002}
16003
16004
c32bde28 16005static PyObject *_wrap_ToggleButton_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16006 PyObject *resultobj;
16007 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
16008 wxString *arg2 = 0 ;
ae8162c8 16009 bool temp2 = false ;
d14a1e28
RD
16010 PyObject * obj0 = 0 ;
16011 PyObject * obj1 = 0 ;
16012 char *kwnames[] = {
16013 (char *) "self",(char *) "label", NULL
16014 };
16015
16016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetLabel",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16017 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
16018 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16019 {
16020 arg2 = wxString_in_helper(obj1);
16021 if (arg2 == NULL) SWIG_fail;
ae8162c8 16022 temp2 = true;
d14a1e28
RD
16023 }
16024 {
16025 PyThreadState* __tstate = wxPyBeginAllowThreads();
16026 (arg1)->SetLabel((wxString const &)*arg2);
16027
16028 wxPyEndAllowThreads(__tstate);
16029 if (PyErr_Occurred()) SWIG_fail;
16030 }
16031 Py_INCREF(Py_None); resultobj = Py_None;
16032 {
16033 if (temp2)
16034 delete arg2;
16035 }
16036 return resultobj;
16037 fail:
16038 {
16039 if (temp2)
16040 delete arg2;
16041 }
16042 return NULL;
16043}
16044
16045
c32bde28 16046static PyObject *_wrap_ToggleButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c 16047 PyObject *resultobj;
093d3ff1 16048 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
16049 wxVisualAttributes result;
16050 PyObject * obj0 = 0 ;
16051 char *kwnames[] = {
16052 (char *) "variant", NULL
16053 };
16054
16055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
16056 if (obj0) {
093d3ff1
RD
16057 {
16058 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
16059 if (SWIG_arg_fail(1)) SWIG_fail;
16060 }
22bfe96c
RD
16061 }
16062 {
110da5b0 16063 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
16064 PyThreadState* __tstate = wxPyBeginAllowThreads();
16065 result = wxToggleButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
16066
16067 wxPyEndAllowThreads(__tstate);
dfbb5885 16068 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
16069 }
16070 {
16071 wxVisualAttributes * resultptr;
093d3ff1 16072 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
22bfe96c
RD
16073 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
16074 }
16075 return resultobj;
16076 fail:
16077 return NULL;
16078}
16079
16080
c32bde28 16081static PyObject * ToggleButton_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
16082 PyObject *obj;
16083 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16084 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton, obj);
16085 Py_INCREF(obj);
16086 return Py_BuildValue((char *)"");
16087}
51b83b37
RD
16088static int _wrap_NotebookNameStr_set(PyObject *) {
16089 PyErr_SetString(PyExc_TypeError,"Variable NotebookNameStr is read-only.");
b2dc1044
RD
16090 return 1;
16091}
16092
16093
51b83b37 16094static PyObject *_wrap_NotebookNameStr_get(void) {
b2dc1044
RD
16095 PyObject *pyobj;
16096
16097 {
16098#if wxUSE_UNICODE
51b83b37 16099 pyobj = PyUnicode_FromWideChar((&wxPyNotebookNameStr)->c_str(), (&wxPyNotebookNameStr)->Len());
b2dc1044 16100#else
51b83b37 16101 pyobj = PyString_FromStringAndSize((&wxPyNotebookNameStr)->c_str(), (&wxPyNotebookNameStr)->Len());
b2dc1044
RD
16102#endif
16103 }
16104 return pyobj;
16105}
16106
16107
8ac8dba0 16108static PyObject *_wrap_BookCtrlBase_GetPageCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 16109 PyObject *resultobj;
8ac8dba0 16110 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d14a1e28
RD
16111 size_t result;
16112 PyObject * obj0 = 0 ;
16113 char *kwnames[] = {
16114 (char *) "self", NULL
16115 };
16116
8ac8dba0 16117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetPageCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
16118 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16119 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16120 {
16121 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 16122 result = (size_t)((wxBookCtrlBase const *)arg1)->GetPageCount();
d14a1e28
RD
16123
16124 wxPyEndAllowThreads(__tstate);
16125 if (PyErr_Occurred()) SWIG_fail;
16126 }
093d3ff1
RD
16127 {
16128 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
16129 }
d14a1e28
RD
16130 return resultobj;
16131 fail:
16132 return NULL;
16133}
16134
16135
8ac8dba0 16136static PyObject *_wrap_BookCtrlBase_GetPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 16137 PyObject *resultobj;
8ac8dba0 16138 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d14a1e28
RD
16139 size_t arg2 ;
16140 wxWindow *result;
16141 PyObject * obj0 = 0 ;
16142 PyObject * obj1 = 0 ;
16143 char *kwnames[] = {
16144 (char *) "self",(char *) "n", NULL
16145 };
16146
8ac8dba0 16147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16148 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16149 if (SWIG_arg_fail(1)) SWIG_fail;
16150 {
16151 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16152 if (SWIG_arg_fail(2)) SWIG_fail;
16153 }
d14a1e28
RD
16154 {
16155 PyThreadState* __tstate = wxPyBeginAllowThreads();
16156 result = (wxWindow *)(arg1)->GetPage(arg2);
16157
16158 wxPyEndAllowThreads(__tstate);
16159 if (PyErr_Occurred()) SWIG_fail;
16160 }
16161 {
412d302d 16162 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
16163 }
16164 return resultobj;
16165 fail:
16166 return NULL;
16167}
16168
16169
8ac8dba0 16170static PyObject *_wrap_BookCtrlBase_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
8fb0e70a 16171 PyObject *resultobj;
8ac8dba0 16172 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
8fb0e70a
RD
16173 wxWindow *result;
16174 PyObject * obj0 = 0 ;
16175 char *kwnames[] = {
16176 (char *) "self", NULL
16177 };
16178
8ac8dba0 16179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetCurrentPage",kwnames,&obj0)) goto fail;
093d3ff1
RD
16180 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16181 if (SWIG_arg_fail(1)) SWIG_fail;
8fb0e70a
RD
16182 {
16183 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 16184 result = (wxWindow *)((wxBookCtrlBase const *)arg1)->GetCurrentPage();
8fb0e70a
RD
16185
16186 wxPyEndAllowThreads(__tstate);
16187 if (PyErr_Occurred()) SWIG_fail;
16188 }
16189 {
16190 resultobj = wxPyMake_wxObject(result, 0);
16191 }
16192 return resultobj;
16193 fail:
16194 return NULL;
16195}
16196
16197
8ac8dba0 16198static PyObject *_wrap_BookCtrlBase_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 16199 PyObject *resultobj;
8ac8dba0 16200 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d14a1e28
RD
16201 int result;
16202 PyObject * obj0 = 0 ;
16203 char *kwnames[] = {
16204 (char *) "self", NULL
16205 };
16206
8ac8dba0 16207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
16208 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16209 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16210 {
16211 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 16212 result = (int)((wxBookCtrlBase const *)arg1)->GetSelection();
d14a1e28
RD
16213
16214 wxPyEndAllowThreads(__tstate);
16215 if (PyErr_Occurred()) SWIG_fail;
16216 }
093d3ff1
RD
16217 {
16218 resultobj = SWIG_From_int((int)(result));
16219 }
d14a1e28
RD
16220 return resultobj;
16221 fail:
16222 return NULL;
16223}
16224
16225
8ac8dba0 16226static PyObject *_wrap_BookCtrlBase_SetPageText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 16227 PyObject *resultobj;
8ac8dba0 16228 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d14a1e28
RD
16229 size_t arg2 ;
16230 wxString *arg3 = 0 ;
16231 bool result;
ae8162c8 16232 bool temp3 = false ;
d14a1e28
RD
16233 PyObject * obj0 = 0 ;
16234 PyObject * obj1 = 0 ;
16235 PyObject * obj2 = 0 ;
16236 char *kwnames[] = {
16237 (char *) "self",(char *) "n",(char *) "strText", NULL
16238 };
16239
8ac8dba0 16240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageText",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
16241 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16242 if (SWIG_arg_fail(1)) SWIG_fail;
16243 {
16244 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16245 if (SWIG_arg_fail(2)) SWIG_fail;
16246 }
d14a1e28
RD
16247 {
16248 arg3 = wxString_in_helper(obj2);
16249 if (arg3 == NULL) SWIG_fail;
ae8162c8 16250 temp3 = true;
d14a1e28
RD
16251 }
16252 {
16253 PyThreadState* __tstate = wxPyBeginAllowThreads();
16254 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
16255
16256 wxPyEndAllowThreads(__tstate);
16257 if (PyErr_Occurred()) SWIG_fail;
16258 }
4f89f6a3
RD
16259 {
16260 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16261 }
d14a1e28
RD
16262 {
16263 if (temp3)
16264 delete arg3;
16265 }
16266 return resultobj;
16267 fail:
16268 {
16269 if (temp3)
16270 delete arg3;
16271 }
16272 return NULL;
16273}
16274
16275
8ac8dba0 16276static PyObject *_wrap_BookCtrlBase_GetPageText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 16277 PyObject *resultobj;
8ac8dba0 16278 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d14a1e28
RD
16279 size_t arg2 ;
16280 wxString result;
16281 PyObject * obj0 = 0 ;
16282 PyObject * obj1 = 0 ;
16283 char *kwnames[] = {
16284 (char *) "self",(char *) "n", NULL
16285 };
16286
8ac8dba0 16287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16288 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16289 if (SWIG_arg_fail(1)) SWIG_fail;
16290 {
16291 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16292 if (SWIG_arg_fail(2)) SWIG_fail;
16293 }
d14a1e28
RD
16294 {
16295 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 16296 result = ((wxBookCtrlBase const *)arg1)->GetPageText(arg2);
d14a1e28
RD
16297
16298 wxPyEndAllowThreads(__tstate);
16299 if (PyErr_Occurred()) SWIG_fail;
16300 }
16301 {
16302#if wxUSE_UNICODE
16303 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16304#else
16305 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16306#endif
16307 }
16308 return resultobj;
16309 fail:
16310 return NULL;
16311}
16312
16313
8ac8dba0 16314static PyObject *_wrap_BookCtrlBase_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 16315 PyObject *resultobj;
8ac8dba0 16316 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d14a1e28
RD
16317 wxImageList *arg2 = (wxImageList *) 0 ;
16318 PyObject * obj0 = 0 ;
16319 PyObject * obj1 = 0 ;
16320 char *kwnames[] = {
16321 (char *) "self",(char *) "imageList", NULL
16322 };
16323
8ac8dba0 16324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetImageList",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16325 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16326 if (SWIG_arg_fail(1)) SWIG_fail;
16327 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
16328 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
16329 {
16330 PyThreadState* __tstate = wxPyBeginAllowThreads();
16331 (arg1)->SetImageList(arg2);
16332
16333 wxPyEndAllowThreads(__tstate);
16334 if (PyErr_Occurred()) SWIG_fail;
16335 }
16336 Py_INCREF(Py_None); resultobj = Py_None;
16337 return resultobj;
16338 fail:
16339 return NULL;
16340}
16341
16342
8ac8dba0 16343static PyObject *_wrap_BookCtrlBase_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 16344 PyObject *resultobj;
8ac8dba0 16345 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d14a1e28
RD
16346 wxImageList *arg2 = (wxImageList *) 0 ;
16347 PyObject * obj0 = 0 ;
16348 PyObject * obj1 = 0 ;
16349 char *kwnames[] = {
16350 (char *) "self",(char *) "imageList", NULL
16351 };
16352
8ac8dba0 16353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16354 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16355 if (SWIG_arg_fail(1)) SWIG_fail;
16356 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
16357 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
16358 {
16359 PyThreadState* __tstate = wxPyBeginAllowThreads();
16360 (arg1)->AssignImageList(arg2);
16361
16362 wxPyEndAllowThreads(__tstate);
16363 if (PyErr_Occurred()) SWIG_fail;
16364 }
16365 Py_INCREF(Py_None); resultobj = Py_None;
16366 return resultobj;
16367 fail:
16368 return NULL;
16369}
16370
16371
8ac8dba0 16372static PyObject *_wrap_BookCtrlBase_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 16373 PyObject *resultobj;
8ac8dba0 16374 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d14a1e28
RD
16375 wxImageList *result;
16376 PyObject * obj0 = 0 ;
16377 char *kwnames[] = {
16378 (char *) "self", NULL
16379 };
16380
8ac8dba0 16381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetImageList",kwnames,&obj0)) goto fail;
093d3ff1
RD
16382 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16383 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16384 {
16385 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 16386 result = (wxImageList *)((wxBookCtrlBase const *)arg1)->GetImageList();
d14a1e28
RD
16387
16388 wxPyEndAllowThreads(__tstate);
16389 if (PyErr_Occurred()) SWIG_fail;
16390 }
16391 {
412d302d 16392 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
16393 }
16394 return resultobj;
16395 fail:
16396 return NULL;
16397}
16398
16399
8ac8dba0 16400static PyObject *_wrap_BookCtrlBase_GetPageImage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 16401 PyObject *resultobj;
8ac8dba0 16402 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d14a1e28
RD
16403 size_t arg2 ;
16404 int result;
16405 PyObject * obj0 = 0 ;
16406 PyObject * obj1 = 0 ;
16407 char *kwnames[] = {
16408 (char *) "self",(char *) "n", NULL
16409 };
16410
8ac8dba0 16411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageImage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16412 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16413 if (SWIG_arg_fail(1)) SWIG_fail;
16414 {
16415 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16416 if (SWIG_arg_fail(2)) SWIG_fail;
16417 }
d14a1e28
RD
16418 {
16419 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 16420 result = (int)((wxBookCtrlBase const *)arg1)->GetPageImage(arg2);
d14a1e28
RD
16421
16422 wxPyEndAllowThreads(__tstate);
16423 if (PyErr_Occurred()) SWIG_fail;
16424 }
093d3ff1
RD
16425 {
16426 resultobj = SWIG_From_int((int)(result));
16427 }
d14a1e28
RD
16428 return resultobj;
16429 fail:
16430 return NULL;
16431}
16432
16433
8ac8dba0 16434static PyObject *_wrap_BookCtrlBase_SetPageImage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 16435 PyObject *resultobj;
8ac8dba0 16436 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d14a1e28
RD
16437 size_t arg2 ;
16438 int arg3 ;
16439 bool result;
16440 PyObject * obj0 = 0 ;
16441 PyObject * obj1 = 0 ;
994141e6 16442 PyObject * obj2 = 0 ;
d14a1e28
RD
16443 char *kwnames[] = {
16444 (char *) "self",(char *) "n",(char *) "imageId", NULL
16445 };
16446
8ac8dba0 16447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
16448 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16449 if (SWIG_arg_fail(1)) SWIG_fail;
16450 {
16451 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16452 if (SWIG_arg_fail(2)) SWIG_fail;
16453 }
16454 {
16455 arg3 = (int)(SWIG_As_int(obj2));
16456 if (SWIG_arg_fail(3)) SWIG_fail;
16457 }
d14a1e28
RD
16458 {
16459 PyThreadState* __tstate = wxPyBeginAllowThreads();
16460 result = (bool)(arg1)->SetPageImage(arg2,arg3);
16461
16462 wxPyEndAllowThreads(__tstate);
16463 if (PyErr_Occurred()) SWIG_fail;
16464 }
4f89f6a3
RD
16465 {
16466 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16467 }
d14a1e28
RD
16468 return resultobj;
16469 fail:
16470 return NULL;
16471}
16472
16473
8ac8dba0 16474static PyObject *_wrap_BookCtrlBase_SetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 16475 PyObject *resultobj;
8ac8dba0 16476 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d14a1e28
RD
16477 wxSize *arg2 = 0 ;
16478 wxSize temp2 ;
16479 PyObject * obj0 = 0 ;
16480 PyObject * obj1 = 0 ;
16481 char *kwnames[] = {
16482 (char *) "self",(char *) "size", NULL
16483 };
16484
8ac8dba0 16485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16486 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16487 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16488 {
16489 arg2 = &temp2;
16490 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16491 }
16492 {
16493 PyThreadState* __tstate = wxPyBeginAllowThreads();
16494 (arg1)->SetPageSize((wxSize const &)*arg2);
16495
16496 wxPyEndAllowThreads(__tstate);
16497 if (PyErr_Occurred()) SWIG_fail;
16498 }
16499 Py_INCREF(Py_None); resultobj = Py_None;
16500 return resultobj;
16501 fail:
16502 return NULL;
16503}
16504
16505
8ac8dba0 16506static PyObject *_wrap_BookCtrlBase_CalcSizeFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 16507 PyObject *resultobj;
8ac8dba0 16508 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d14a1e28
RD
16509 wxSize *arg2 = 0 ;
16510 wxSize result;
16511 wxSize temp2 ;
16512 PyObject * obj0 = 0 ;
16513 PyObject * obj1 = 0 ;
16514 char *kwnames[] = {
16515 (char *) "self",(char *) "sizePage", NULL
16516 };
16517
8ac8dba0 16518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16519 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16520 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16521 {
16522 arg2 = &temp2;
16523 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16524 }
16525 {
16526 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 16527 result = ((wxBookCtrlBase const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
d14a1e28
RD
16528
16529 wxPyEndAllowThreads(__tstate);
16530 if (PyErr_Occurred()) SWIG_fail;
16531 }
16532 {
16533 wxSize * resultptr;
093d3ff1 16534 resultptr = new wxSize((wxSize &)(result));
15afbcd0 16535 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
16536 }
16537 return resultobj;
16538 fail:
16539 return NULL;
16540}
16541
16542
8ac8dba0 16543static PyObject *_wrap_BookCtrlBase_DeletePage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 16544 PyObject *resultobj;
8ac8dba0 16545 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d14a1e28
RD
16546 size_t arg2 ;
16547 bool result;
16548 PyObject * obj0 = 0 ;
16549 PyObject * obj1 = 0 ;
16550 char *kwnames[] = {
16551 (char *) "self",(char *) "n", NULL
16552 };
16553
8ac8dba0 16554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_DeletePage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16555 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16556 if (SWIG_arg_fail(1)) SWIG_fail;
16557 {
16558 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16559 if (SWIG_arg_fail(2)) SWIG_fail;
16560 }
d14a1e28
RD
16561 {
16562 PyThreadState* __tstate = wxPyBeginAllowThreads();
16563 result = (bool)(arg1)->DeletePage(arg2);
16564
16565 wxPyEndAllowThreads(__tstate);
16566 if (PyErr_Occurred()) SWIG_fail;
16567 }
4f89f6a3
RD
16568 {
16569 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16570 }
d14a1e28
RD
16571 return resultobj;
16572 fail:
16573 return NULL;
16574}
16575
16576
8ac8dba0 16577static PyObject *_wrap_BookCtrlBase_RemovePage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 16578 PyObject *resultobj;
8ac8dba0 16579 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d14a1e28
RD
16580 size_t arg2 ;
16581 bool result;
16582 PyObject * obj0 = 0 ;
16583 PyObject * obj1 = 0 ;
16584 char *kwnames[] = {
16585 (char *) "self",(char *) "n", NULL
16586 };
16587
8ac8dba0 16588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_RemovePage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16589 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16590 if (SWIG_arg_fail(1)) SWIG_fail;
16591 {
16592 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16593 if (SWIG_arg_fail(2)) SWIG_fail;
16594 }
d14a1e28
RD
16595 {
16596 PyThreadState* __tstate = wxPyBeginAllowThreads();
16597 result = (bool)(arg1)->RemovePage(arg2);
16598
16599 wxPyEndAllowThreads(__tstate);
16600 if (PyErr_Occurred()) SWIG_fail;
16601 }
4f89f6a3
RD
16602 {
16603 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16604 }
d14a1e28
RD
16605 return resultobj;
16606 fail:
16607 return NULL;
16608}
16609
16610
8ac8dba0 16611static PyObject *_wrap_BookCtrlBase_DeleteAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 16612 PyObject *resultobj;
8ac8dba0 16613 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d14a1e28
RD
16614 bool result;
16615 PyObject * obj0 = 0 ;
16616 char *kwnames[] = {
16617 (char *) "self", NULL
16618 };
16619
8ac8dba0 16620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_DeleteAllPages",kwnames,&obj0)) goto fail;
093d3ff1
RD
16621 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16622 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16623 {
16624 PyThreadState* __tstate = wxPyBeginAllowThreads();
16625 result = (bool)(arg1)->DeleteAllPages();
16626
16627 wxPyEndAllowThreads(__tstate);
16628 if (PyErr_Occurred()) SWIG_fail;
16629 }
4f89f6a3
RD
16630 {
16631 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16632 }
d14a1e28
RD
16633 return resultobj;
16634 fail:
16635 return NULL;
16636}
16637
16638
8ac8dba0 16639static PyObject *_wrap_BookCtrlBase_AddPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 16640 PyObject *resultobj;
8ac8dba0 16641 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d14a1e28
RD
16642 wxWindow *arg2 = (wxWindow *) 0 ;
16643 wxString *arg3 = 0 ;
ae8162c8 16644 bool arg4 = (bool) false ;
d14a1e28
RD
16645 int arg5 = (int) -1 ;
16646 bool result;
ae8162c8 16647 bool temp3 = false ;
d14a1e28
RD
16648 PyObject * obj0 = 0 ;
16649 PyObject * obj1 = 0 ;
16650 PyObject * obj2 = 0 ;
16651 PyObject * obj3 = 0 ;
994141e6 16652 PyObject * obj4 = 0 ;
d14a1e28
RD
16653 char *kwnames[] = {
16654 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16655 };
16656
8ac8dba0 16657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
16658 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16659 if (SWIG_arg_fail(1)) SWIG_fail;
16660 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16661 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
16662 {
16663 arg3 = wxString_in_helper(obj2);
16664 if (arg3 == NULL) SWIG_fail;
ae8162c8 16665 temp3 = true;
d14a1e28
RD
16666 }
16667 if (obj3) {
093d3ff1
RD
16668 {
16669 arg4 = (bool)(SWIG_As_bool(obj3));
16670 if (SWIG_arg_fail(4)) SWIG_fail;
16671 }
994141e6
RD
16672 }
16673 if (obj4) {
093d3ff1
RD
16674 {
16675 arg5 = (int)(SWIG_As_int(obj4));
16676 if (SWIG_arg_fail(5)) SWIG_fail;
16677 }
d14a1e28
RD
16678 }
16679 {
16680 PyThreadState* __tstate = wxPyBeginAllowThreads();
16681 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
16682
16683 wxPyEndAllowThreads(__tstate);
16684 if (PyErr_Occurred()) SWIG_fail;
16685 }
4f89f6a3
RD
16686 {
16687 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16688 }
d14a1e28
RD
16689 {
16690 if (temp3)
16691 delete arg3;
16692 }
16693 return resultobj;
16694 fail:
16695 {
16696 if (temp3)
16697 delete arg3;
16698 }
16699 return NULL;
16700}
16701
16702
8ac8dba0 16703static PyObject *_wrap_BookCtrlBase_InsertPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 16704 PyObject *resultobj;
8ac8dba0 16705 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d14a1e28
RD
16706 size_t arg2 ;
16707 wxWindow *arg3 = (wxWindow *) 0 ;
16708 wxString *arg4 = 0 ;
ae8162c8 16709 bool arg5 = (bool) false ;
d14a1e28
RD
16710 int arg6 = (int) -1 ;
16711 bool result;
ae8162c8 16712 bool temp4 = false ;
d14a1e28
RD
16713 PyObject * obj0 = 0 ;
16714 PyObject * obj1 = 0 ;
16715 PyObject * obj2 = 0 ;
16716 PyObject * obj3 = 0 ;
16717 PyObject * obj4 = 0 ;
994141e6 16718 PyObject * obj5 = 0 ;
d14a1e28
RD
16719 char *kwnames[] = {
16720 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16721 };
16722
8ac8dba0 16723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
16724 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16725 if (SWIG_arg_fail(1)) SWIG_fail;
16726 {
16727 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16728 if (SWIG_arg_fail(2)) SWIG_fail;
16729 }
16730 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16731 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
16732 {
16733 arg4 = wxString_in_helper(obj3);
16734 if (arg4 == NULL) SWIG_fail;
ae8162c8 16735 temp4 = true;
d14a1e28
RD
16736 }
16737 if (obj4) {
093d3ff1
RD
16738 {
16739 arg5 = (bool)(SWIG_As_bool(obj4));
16740 if (SWIG_arg_fail(5)) SWIG_fail;
16741 }
994141e6
RD
16742 }
16743 if (obj5) {
093d3ff1
RD
16744 {
16745 arg6 = (int)(SWIG_As_int(obj5));
16746 if (SWIG_arg_fail(6)) SWIG_fail;
16747 }
d14a1e28
RD
16748 }
16749 {
16750 PyThreadState* __tstate = wxPyBeginAllowThreads();
16751 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
16752
16753 wxPyEndAllowThreads(__tstate);
16754 if (PyErr_Occurred()) SWIG_fail;
16755 }
4f89f6a3
RD
16756 {
16757 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16758 }
d14a1e28
RD
16759 {
16760 if (temp4)
16761 delete arg4;
16762 }
16763 return resultobj;
16764 fail:
16765 {
16766 if (temp4)
16767 delete arg4;
16768 }
16769 return NULL;
16770}
16771
16772
8ac8dba0 16773static PyObject *_wrap_BookCtrlBase_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 16774 PyObject *resultobj;
8ac8dba0 16775 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d14a1e28
RD
16776 size_t arg2 ;
16777 int result;
16778 PyObject * obj0 = 0 ;
16779 PyObject * obj1 = 0 ;
16780 char *kwnames[] = {
16781 (char *) "self",(char *) "n", NULL
16782 };
16783
8ac8dba0 16784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16785 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16786 if (SWIG_arg_fail(1)) SWIG_fail;
16787 {
16788 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16789 if (SWIG_arg_fail(2)) SWIG_fail;
16790 }
d14a1e28
RD
16791 {
16792 PyThreadState* __tstate = wxPyBeginAllowThreads();
16793 result = (int)(arg1)->SetSelection(arg2);
16794
16795 wxPyEndAllowThreads(__tstate);
16796 if (PyErr_Occurred()) SWIG_fail;
16797 }
093d3ff1
RD
16798 {
16799 resultobj = SWIG_From_int((int)(result));
16800 }
d14a1e28
RD
16801 return resultobj;
16802 fail:
16803 return NULL;
16804}
16805
16806
8ac8dba0 16807static PyObject *_wrap_BookCtrlBase_AdvanceSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 16808 PyObject *resultobj;
8ac8dba0 16809 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
ae8162c8 16810 bool arg2 = (bool) true ;
d14a1e28
RD
16811 PyObject * obj0 = 0 ;
16812 PyObject * obj1 = 0 ;
16813 char *kwnames[] = {
16814 (char *) "self",(char *) "forward", NULL
16815 };
16816
8ac8dba0 16817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16818 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16819 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 16820 if (obj1) {
093d3ff1
RD
16821 {
16822 arg2 = (bool)(SWIG_As_bool(obj1));
16823 if (SWIG_arg_fail(2)) SWIG_fail;
16824 }
d14a1e28
RD
16825 }
16826 {
16827 PyThreadState* __tstate = wxPyBeginAllowThreads();
16828 (arg1)->AdvanceSelection(arg2);
16829
16830 wxPyEndAllowThreads(__tstate);
16831 if (PyErr_Occurred()) SWIG_fail;
16832 }
16833 Py_INCREF(Py_None); resultobj = Py_None;
16834 return resultobj;
16835 fail:
16836 return NULL;
16837}
16838
16839
8ac8dba0 16840static PyObject *_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c 16841 PyObject *resultobj;
093d3ff1 16842 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
16843 wxVisualAttributes result;
16844 PyObject * obj0 = 0 ;
16845 char *kwnames[] = {
16846 (char *) "variant", NULL
16847 };
16848
8ac8dba0 16849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
22bfe96c 16850 if (obj0) {
093d3ff1
RD
16851 {
16852 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
16853 if (SWIG_arg_fail(1)) SWIG_fail;
16854 }
22bfe96c
RD
16855 }
16856 {
110da5b0 16857 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c 16858 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 16859 result = wxBookCtrlBase::GetClassDefaultAttributes((wxWindowVariant )arg1);
22bfe96c
RD
16860
16861 wxPyEndAllowThreads(__tstate);
dfbb5885 16862 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
16863 }
16864 {
16865 wxVisualAttributes * resultptr;
093d3ff1 16866 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
22bfe96c
RD
16867 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
16868 }
16869 return resultobj;
16870 fail:
16871 return NULL;
16872}
16873
16874
8ac8dba0 16875static PyObject * BookCtrlBase_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
16876 PyObject *obj;
16877 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8ac8dba0 16878 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBase, obj);
d14a1e28
RD
16879 Py_INCREF(obj);
16880 return Py_BuildValue((char *)"");
16881}
8ac8dba0 16882static PyObject *_wrap_new_BookCtrlBaseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16883 PyObject *resultobj;
16884 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16885 int arg2 = (int) 0 ;
16886 int arg3 = (int) -1 ;
16887 int arg4 = (int) -1 ;
8ac8dba0 16888 wxBookCtrlBaseEvent *result;
994141e6
RD
16889 PyObject * obj0 = 0 ;
16890 PyObject * obj1 = 0 ;
16891 PyObject * obj2 = 0 ;
16892 PyObject * obj3 = 0 ;
d14a1e28
RD
16893 char *kwnames[] = {
16894 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
16895 };
16896
8ac8dba0 16897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
994141e6 16898 if (obj0) {
093d3ff1
RD
16899 {
16900 arg1 = (wxEventType)(SWIG_As_int(obj0));
16901 if (SWIG_arg_fail(1)) SWIG_fail;
16902 }
994141e6
RD
16903 }
16904 if (obj1) {
093d3ff1
RD
16905 {
16906 arg2 = (int)(SWIG_As_int(obj1));
16907 if (SWIG_arg_fail(2)) SWIG_fail;
16908 }
994141e6
RD
16909 }
16910 if (obj2) {
093d3ff1
RD
16911 {
16912 arg3 = (int)(SWIG_As_int(obj2));
16913 if (SWIG_arg_fail(3)) SWIG_fail;
16914 }
994141e6
RD
16915 }
16916 if (obj3) {
093d3ff1
RD
16917 {
16918 arg4 = (int)(SWIG_As_int(obj3));
16919 if (SWIG_arg_fail(4)) SWIG_fail;
16920 }
994141e6 16921 }
d14a1e28
RD
16922 {
16923 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 16924 result = (wxBookCtrlBaseEvent *)new wxBookCtrlBaseEvent(arg1,arg2,arg3,arg4);
d14a1e28
RD
16925
16926 wxPyEndAllowThreads(__tstate);
16927 if (PyErr_Occurred()) SWIG_fail;
16928 }
8ac8dba0 16929 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlBaseEvent, 1);
d14a1e28
RD
16930 return resultobj;
16931 fail:
16932 return NULL;
16933}
16934
16935
8ac8dba0 16936static PyObject *_wrap_BookCtrlBaseEvent_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 16937 PyObject *resultobj;
8ac8dba0 16938 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
d14a1e28
RD
16939 int result;
16940 PyObject * obj0 = 0 ;
16941 char *kwnames[] = {
16942 (char *) "self", NULL
16943 };
16944
8ac8dba0 16945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBaseEvent_GetSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
16946 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
16947 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16948 {
16949 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 16950 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetSelection();
d14a1e28
RD
16951
16952 wxPyEndAllowThreads(__tstate);
16953 if (PyErr_Occurred()) SWIG_fail;
16954 }
093d3ff1
RD
16955 {
16956 resultobj = SWIG_From_int((int)(result));
16957 }
d14a1e28
RD
16958 return resultobj;
16959 fail:
16960 return NULL;
16961}
16962
16963
8ac8dba0 16964static PyObject *_wrap_BookCtrlBaseEvent_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 16965 PyObject *resultobj;
8ac8dba0 16966 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
d14a1e28
RD
16967 int arg2 ;
16968 PyObject * obj0 = 0 ;
994141e6 16969 PyObject * obj1 = 0 ;
d14a1e28
RD
16970 char *kwnames[] = {
16971 (char *) "self",(char *) "nSel", NULL
16972 };
16973
8ac8dba0 16974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16975 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
16976 if (SWIG_arg_fail(1)) SWIG_fail;
16977 {
16978 arg2 = (int)(SWIG_As_int(obj1));
16979 if (SWIG_arg_fail(2)) SWIG_fail;
16980 }
d14a1e28
RD
16981 {
16982 PyThreadState* __tstate = wxPyBeginAllowThreads();
16983 (arg1)->SetSelection(arg2);
16984
16985 wxPyEndAllowThreads(__tstate);
16986 if (PyErr_Occurred()) SWIG_fail;
16987 }
16988 Py_INCREF(Py_None); resultobj = Py_None;
16989 return resultobj;
16990 fail:
16991 return NULL;
16992}
16993
16994
8ac8dba0 16995static PyObject *_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 16996 PyObject *resultobj;
8ac8dba0 16997 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
d14a1e28
RD
16998 int result;
16999 PyObject * obj0 = 0 ;
17000 char *kwnames[] = {
17001 (char *) "self", NULL
17002 };
17003
8ac8dba0 17004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBaseEvent_GetOldSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
17005 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
17006 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17007 {
17008 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 17009 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetOldSelection();
d14a1e28
RD
17010
17011 wxPyEndAllowThreads(__tstate);
17012 if (PyErr_Occurred()) SWIG_fail;
17013 }
093d3ff1
RD
17014 {
17015 resultobj = SWIG_From_int((int)(result));
17016 }
d14a1e28
RD
17017 return resultobj;
17018 fail:
17019 return NULL;
17020}
17021
17022
8ac8dba0 17023static PyObject *_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 17024 PyObject *resultobj;
8ac8dba0 17025 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
d14a1e28
RD
17026 int arg2 ;
17027 PyObject * obj0 = 0 ;
994141e6 17028 PyObject * obj1 = 0 ;
d14a1e28
RD
17029 char *kwnames[] = {
17030 (char *) "self",(char *) "nOldSel", NULL
17031 };
17032
8ac8dba0 17033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17034 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
17035 if (SWIG_arg_fail(1)) SWIG_fail;
17036 {
17037 arg2 = (int)(SWIG_As_int(obj1));
17038 if (SWIG_arg_fail(2)) SWIG_fail;
17039 }
d14a1e28
RD
17040 {
17041 PyThreadState* __tstate = wxPyBeginAllowThreads();
17042 (arg1)->SetOldSelection(arg2);
17043
17044 wxPyEndAllowThreads(__tstate);
17045 if (PyErr_Occurred()) SWIG_fail;
17046 }
17047 Py_INCREF(Py_None); resultobj = Py_None;
17048 return resultobj;
17049 fail:
17050 return NULL;
17051}
17052
17053
8ac8dba0 17054static PyObject * BookCtrlBaseEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
17055 PyObject *obj;
17056 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8ac8dba0 17057 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBaseEvent, obj);
d14a1e28
RD
17058 Py_INCREF(obj);
17059 return Py_BuildValue((char *)"");
17060}
c32bde28 17061static PyObject *_wrap_new_Notebook(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17062 PyObject *resultobj;
17063 wxWindow *arg1 = (wxWindow *) 0 ;
4f89f6a3 17064 int arg2 = (int) -1 ;
d14a1e28
RD
17065 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17066 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17067 wxSize const &arg4_defvalue = wxDefaultSize ;
17068 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17069 long arg5 = (long) 0 ;
51b83b37 17070 wxString const &arg6_defvalue = wxPyNotebookNameStr ;
d14a1e28
RD
17071 wxString *arg6 = (wxString *) &arg6_defvalue ;
17072 wxNotebook *result;
17073 wxPoint temp3 ;
17074 wxSize temp4 ;
ae8162c8 17075 bool temp6 = false ;
d14a1e28 17076 PyObject * obj0 = 0 ;
994141e6 17077 PyObject * obj1 = 0 ;
d14a1e28
RD
17078 PyObject * obj2 = 0 ;
17079 PyObject * obj3 = 0 ;
994141e6 17080 PyObject * obj4 = 0 ;
d14a1e28
RD
17081 PyObject * obj5 = 0 ;
17082 char *kwnames[] = {
17083 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17084 };
17085
4f89f6a3 17086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Notebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
17087 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17088 if (SWIG_arg_fail(1)) SWIG_fail;
4f89f6a3 17089 if (obj1) {
093d3ff1
RD
17090 {
17091 arg2 = (int)(SWIG_As_int(obj1));
17092 if (SWIG_arg_fail(2)) SWIG_fail;
17093 }
4f89f6a3 17094 }
d14a1e28
RD
17095 if (obj2) {
17096 {
17097 arg3 = &temp3;
17098 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17099 }
17100 }
17101 if (obj3) {
17102 {
17103 arg4 = &temp4;
17104 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17105 }
17106 }
994141e6 17107 if (obj4) {
093d3ff1
RD
17108 {
17109 arg5 = (long)(SWIG_As_long(obj4));
17110 if (SWIG_arg_fail(5)) SWIG_fail;
17111 }
994141e6 17112 }
d14a1e28
RD
17113 if (obj5) {
17114 {
17115 arg6 = wxString_in_helper(obj5);
17116 if (arg6 == NULL) SWIG_fail;
ae8162c8 17117 temp6 = true;
d14a1e28
RD
17118 }
17119 }
17120 {
e3b71cb8 17121 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
17122 PyThreadState* __tstate = wxPyBeginAllowThreads();
17123 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17124
17125 wxPyEndAllowThreads(__tstate);
110da5b0 17126 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 17127 }
b0f7404b 17128 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebook, 1);
d14a1e28
RD
17129 {
17130 if (temp6)
17131 delete arg6;
17132 }
17133 return resultobj;
17134 fail:
17135 {
17136 if (temp6)
17137 delete arg6;
17138 }
17139 return NULL;
17140}
17141
17142
c32bde28 17143static PyObject *_wrap_new_PreNotebook(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17144 PyObject *resultobj;
17145 wxNotebook *result;
17146 char *kwnames[] = {
17147 NULL
17148 };
17149
17150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreNotebook",kwnames)) goto fail;
17151 {
e3b71cb8 17152 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
17153 PyThreadState* __tstate = wxPyBeginAllowThreads();
17154 result = (wxNotebook *)new wxNotebook();
17155
17156 wxPyEndAllowThreads(__tstate);
110da5b0 17157 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 17158 }
b0f7404b 17159 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebook, 1);
d14a1e28
RD
17160 return resultobj;
17161 fail:
17162 return NULL;
17163}
17164
17165
c32bde28 17166static PyObject *_wrap_Notebook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17167 PyObject *resultobj;
17168 wxNotebook *arg1 = (wxNotebook *) 0 ;
17169 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 17170 int arg3 = (int) -1 ;
d14a1e28
RD
17171 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17172 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17173 wxSize const &arg5_defvalue = wxDefaultSize ;
17174 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17175 long arg6 = (long) 0 ;
51b83b37 17176 wxString const &arg7_defvalue = wxPyNotebookNameStr ;
d14a1e28
RD
17177 wxString *arg7 = (wxString *) &arg7_defvalue ;
17178 bool result;
17179 wxPoint temp4 ;
17180 wxSize temp5 ;
ae8162c8 17181 bool temp7 = false ;
d14a1e28
RD
17182 PyObject * obj0 = 0 ;
17183 PyObject * obj1 = 0 ;
994141e6 17184 PyObject * obj2 = 0 ;
d14a1e28
RD
17185 PyObject * obj3 = 0 ;
17186 PyObject * obj4 = 0 ;
994141e6 17187 PyObject * obj5 = 0 ;
d14a1e28
RD
17188 PyObject * obj6 = 0 ;
17189 char *kwnames[] = {
17190 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17191 };
17192
248ed943 17193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Notebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
17194 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17195 if (SWIG_arg_fail(1)) SWIG_fail;
17196 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17197 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 17198 if (obj2) {
093d3ff1
RD
17199 {
17200 arg3 = (int)(SWIG_As_int(obj2));
17201 if (SWIG_arg_fail(3)) SWIG_fail;
17202 }
248ed943 17203 }
d14a1e28
RD
17204 if (obj3) {
17205 {
17206 arg4 = &temp4;
17207 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17208 }
17209 }
17210 if (obj4) {
17211 {
17212 arg5 = &temp5;
17213 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17214 }
17215 }
994141e6 17216 if (obj5) {
093d3ff1
RD
17217 {
17218 arg6 = (long)(SWIG_As_long(obj5));
17219 if (SWIG_arg_fail(6)) SWIG_fail;
17220 }
994141e6 17221 }
d14a1e28
RD
17222 if (obj6) {
17223 {
17224 arg7 = wxString_in_helper(obj6);
17225 if (arg7 == NULL) SWIG_fail;
ae8162c8 17226 temp7 = true;
d14a1e28
RD
17227 }
17228 }
17229 {
17230 PyThreadState* __tstate = wxPyBeginAllowThreads();
17231 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17232
17233 wxPyEndAllowThreads(__tstate);
17234 if (PyErr_Occurred()) SWIG_fail;
17235 }
4f89f6a3
RD
17236 {
17237 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17238 }
d14a1e28
RD
17239 {
17240 if (temp7)
17241 delete arg7;
17242 }
17243 return resultobj;
17244 fail:
17245 {
17246 if (temp7)
17247 delete arg7;
17248 }
17249 return NULL;
17250}
17251
17252
c32bde28 17253static PyObject *_wrap_Notebook_GetRowCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17254 PyObject *resultobj;
17255 wxNotebook *arg1 = (wxNotebook *) 0 ;
17256 int result;
17257 PyObject * obj0 = 0 ;
17258 char *kwnames[] = {
17259 (char *) "self", NULL
17260 };
17261
17262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetRowCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
17263 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17264 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17265 {
17266 PyThreadState* __tstate = wxPyBeginAllowThreads();
17267 result = (int)((wxNotebook const *)arg1)->GetRowCount();
17268
17269 wxPyEndAllowThreads(__tstate);
17270 if (PyErr_Occurred()) SWIG_fail;
17271 }
093d3ff1
RD
17272 {
17273 resultobj = SWIG_From_int((int)(result));
17274 }
d14a1e28
RD
17275 return resultobj;
17276 fail:
17277 return NULL;
17278}
17279
17280
c32bde28 17281static PyObject *_wrap_Notebook_SetPadding(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17282 PyObject *resultobj;
17283 wxNotebook *arg1 = (wxNotebook *) 0 ;
17284 wxSize *arg2 = 0 ;
17285 wxSize temp2 ;
17286 PyObject * obj0 = 0 ;
17287 PyObject * obj1 = 0 ;
17288 char *kwnames[] = {
17289 (char *) "self",(char *) "padding", NULL
17290 };
17291
17292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17293 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17294 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17295 {
17296 arg2 = &temp2;
17297 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17298 }
17299 {
17300 PyThreadState* __tstate = wxPyBeginAllowThreads();
17301 (arg1)->SetPadding((wxSize const &)*arg2);
17302
17303 wxPyEndAllowThreads(__tstate);
17304 if (PyErr_Occurred()) SWIG_fail;
17305 }
17306 Py_INCREF(Py_None); resultobj = Py_None;
17307 return resultobj;
17308 fail:
17309 return NULL;
17310}
17311
17312
c32bde28 17313static PyObject *_wrap_Notebook_SetTabSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17314 PyObject *resultobj;
17315 wxNotebook *arg1 = (wxNotebook *) 0 ;
17316 wxSize *arg2 = 0 ;
17317 wxSize temp2 ;
17318 PyObject * obj0 = 0 ;
17319 PyObject * obj1 = 0 ;
17320 char *kwnames[] = {
17321 (char *) "self",(char *) "sz", NULL
17322 };
17323
17324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17325 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17326 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17327 {
17328 arg2 = &temp2;
17329 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17330 }
17331 {
17332 PyThreadState* __tstate = wxPyBeginAllowThreads();
17333 (arg1)->SetTabSize((wxSize const &)*arg2);
17334
17335 wxPyEndAllowThreads(__tstate);
17336 if (PyErr_Occurred()) SWIG_fail;
17337 }
17338 Py_INCREF(Py_None); resultobj = Py_None;
17339 return resultobj;
17340 fail:
17341 return NULL;
17342}
17343
17344
c32bde28 17345static PyObject *_wrap_Notebook_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17346 PyObject *resultobj;
17347 wxNotebook *arg1 = (wxNotebook *) 0 ;
17348 wxPoint *arg2 = 0 ;
17349 long *arg3 = (long *) 0 ;
17350 int result;
17351 wxPoint temp2 ;
17352 long temp3 ;
c32bde28 17353 int res3 = 0 ;
d14a1e28
RD
17354 PyObject * obj0 = 0 ;
17355 PyObject * obj1 = 0 ;
17356 char *kwnames[] = {
17357 (char *) "self",(char *) "pt", NULL
17358 };
17359
c32bde28 17360 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 17361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_HitTest",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17362 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17363 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17364 {
17365 arg2 = &temp2;
17366 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
17367 }
17368 {
17369 PyThreadState* __tstate = wxPyBeginAllowThreads();
17370 result = (int)((wxNotebook const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
17371
17372 wxPyEndAllowThreads(__tstate);
17373 if (PyErr_Occurred()) SWIG_fail;
17374 }
093d3ff1
RD
17375 {
17376 resultobj = SWIG_From_int((int)(result));
17377 }
c32bde28
RD
17378 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17379 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
d14a1e28
RD
17380 return resultobj;
17381 fail:
17382 return NULL;
17383}
17384
17385
c32bde28 17386static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17387 PyObject *resultobj;
17388 wxNotebook *arg1 = (wxNotebook *) 0 ;
17389 wxSize *arg2 = 0 ;
17390 wxSize result;
17391 wxSize temp2 ;
17392 PyObject * obj0 = 0 ;
17393 PyObject * obj1 = 0 ;
17394 char *kwnames[] = {
17395 (char *) "self",(char *) "sizePage", NULL
17396 };
17397
17398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17399 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17400 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17401 {
17402 arg2 = &temp2;
17403 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17404 }
17405 {
17406 PyThreadState* __tstate = wxPyBeginAllowThreads();
17407 result = ((wxNotebook const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
17408
17409 wxPyEndAllowThreads(__tstate);
17410 if (PyErr_Occurred()) SWIG_fail;
17411 }
17412 {
17413 wxSize * resultptr;
093d3ff1 17414 resultptr = new wxSize((wxSize &)(result));
15afbcd0 17415 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
17416 }
17417 return resultobj;
17418 fail:
17419 return NULL;
17420}
17421
17422
8e738329
RD
17423static PyObject *_wrap_Notebook_GetThemeBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
17424 PyObject *resultobj;
17425 wxNotebook *arg1 = (wxNotebook *) 0 ;
17426 wxColour result;
17427 PyObject * obj0 = 0 ;
17428 char *kwnames[] = {
17429 (char *) "self", NULL
17430 };
17431
17432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetThemeBackgroundColour",kwnames,&obj0)) goto fail;
17433 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17434 if (SWIG_arg_fail(1)) SWIG_fail;
17435 {
17436 PyThreadState* __tstate = wxPyBeginAllowThreads();
17437 result = ((wxNotebook const *)arg1)->GetThemeBackgroundColour();
17438
17439 wxPyEndAllowThreads(__tstate);
17440 if (PyErr_Occurred()) SWIG_fail;
17441 }
17442 {
17443 wxColour * resultptr;
17444 resultptr = new wxColour((wxColour &)(result));
17445 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
17446 }
17447 return resultobj;
17448 fail:
17449 return NULL;
17450}
17451
17452
c32bde28 17453static PyObject *_wrap_Notebook_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c 17454 PyObject *resultobj;
093d3ff1 17455 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
17456 wxVisualAttributes result;
17457 PyObject * obj0 = 0 ;
17458 char *kwnames[] = {
17459 (char *) "variant", NULL
17460 };
17461
17462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
17463 if (obj0) {
093d3ff1
RD
17464 {
17465 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
17466 if (SWIG_arg_fail(1)) SWIG_fail;
17467 }
22bfe96c
RD
17468 }
17469 {
110da5b0 17470 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
17471 PyThreadState* __tstate = wxPyBeginAllowThreads();
17472 result = wxNotebook::GetClassDefaultAttributes((wxWindowVariant )arg1);
17473
17474 wxPyEndAllowThreads(__tstate);
dfbb5885 17475 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
17476 }
17477 {
17478 wxVisualAttributes * resultptr;
093d3ff1 17479 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
22bfe96c
RD
17480 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
17481 }
17482 return resultobj;
17483 fail:
17484 return NULL;
17485}
17486
17487
c32bde28 17488static PyObject * Notebook_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
17489 PyObject *obj;
17490 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17491 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook, obj);
17492 Py_INCREF(obj);
17493 return Py_BuildValue((char *)"");
17494}
c32bde28 17495static PyObject *_wrap_new_NotebookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17496 PyObject *resultobj;
17497 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17498 int arg2 = (int) 0 ;
17499 int arg3 = (int) -1 ;
17500 int arg4 = (int) -1 ;
17501 wxNotebookEvent *result;
994141e6
RD
17502 PyObject * obj0 = 0 ;
17503 PyObject * obj1 = 0 ;
17504 PyObject * obj2 = 0 ;
17505 PyObject * obj3 = 0 ;
d14a1e28
RD
17506 char *kwnames[] = {
17507 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17508 };
17509
994141e6
RD
17510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_NotebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17511 if (obj0) {
093d3ff1
RD
17512 {
17513 arg1 = (wxEventType)(SWIG_As_int(obj0));
17514 if (SWIG_arg_fail(1)) SWIG_fail;
17515 }
994141e6
RD
17516 }
17517 if (obj1) {
093d3ff1
RD
17518 {
17519 arg2 = (int)(SWIG_As_int(obj1));
17520 if (SWIG_arg_fail(2)) SWIG_fail;
17521 }
994141e6
RD
17522 }
17523 if (obj2) {
093d3ff1
RD
17524 {
17525 arg3 = (int)(SWIG_As_int(obj2));
17526 if (SWIG_arg_fail(3)) SWIG_fail;
17527 }
994141e6
RD
17528 }
17529 if (obj3) {
093d3ff1
RD
17530 {
17531 arg4 = (int)(SWIG_As_int(obj3));
17532 if (SWIG_arg_fail(4)) SWIG_fail;
17533 }
994141e6 17534 }
d14a1e28
RD
17535 {
17536 PyThreadState* __tstate = wxPyBeginAllowThreads();
17537 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
17538
17539 wxPyEndAllowThreads(__tstate);
17540 if (PyErr_Occurred()) SWIG_fail;
17541 }
15afbcd0 17542 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookEvent, 1);
d14a1e28
RD
17543 return resultobj;
17544 fail:
17545 return NULL;
17546}
17547
17548
c32bde28 17549static PyObject * NotebookEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
17550 PyObject *obj;
17551 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17552 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj);
17553 Py_INCREF(obj);
17554 return Py_BuildValue((char *)"");
17555}
c32bde28 17556static PyObject *_wrap_new_Listbook(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17557 PyObject *resultobj;
17558 wxWindow *arg1 = (wxWindow *) 0 ;
4f89f6a3 17559 int arg2 = (int) -1 ;
d14a1e28
RD
17560 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17561 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17562 wxSize const &arg4_defvalue = wxDefaultSize ;
17563 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17564 long arg5 = (long) 0 ;
17565 wxString const &arg6_defvalue = wxPyEmptyString ;
17566 wxString *arg6 = (wxString *) &arg6_defvalue ;
17567 wxListbook *result;
17568 wxPoint temp3 ;
17569 wxSize temp4 ;
ae8162c8 17570 bool temp6 = false ;
d14a1e28 17571 PyObject * obj0 = 0 ;
994141e6 17572 PyObject * obj1 = 0 ;
d14a1e28
RD
17573 PyObject * obj2 = 0 ;
17574 PyObject * obj3 = 0 ;
994141e6 17575 PyObject * obj4 = 0 ;
d14a1e28
RD
17576 PyObject * obj5 = 0 ;
17577 char *kwnames[] = {
17578 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17579 };
17580
4f89f6a3 17581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Listbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
17582 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17583 if (SWIG_arg_fail(1)) SWIG_fail;
4f89f6a3 17584 if (obj1) {
093d3ff1
RD
17585 {
17586 arg2 = (int)(SWIG_As_int(obj1));
17587 if (SWIG_arg_fail(2)) SWIG_fail;
17588 }
4f89f6a3 17589 }
d14a1e28
RD
17590 if (obj2) {
17591 {
17592 arg3 = &temp3;
17593 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17594 }
17595 }
17596 if (obj3) {
17597 {
17598 arg4 = &temp4;
17599 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17600 }
17601 }
994141e6 17602 if (obj4) {
093d3ff1
RD
17603 {
17604 arg5 = (long)(SWIG_As_long(obj4));
17605 if (SWIG_arg_fail(5)) SWIG_fail;
17606 }
994141e6 17607 }
d14a1e28
RD
17608 if (obj5) {
17609 {
17610 arg6 = wxString_in_helper(obj5);
17611 if (arg6 == NULL) SWIG_fail;
ae8162c8 17612 temp6 = true;
d14a1e28
RD
17613 }
17614 }
17615 {
e3b71cb8 17616 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
17617 PyThreadState* __tstate = wxPyBeginAllowThreads();
17618 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17619
17620 wxPyEndAllowThreads(__tstate);
110da5b0 17621 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 17622 }
15afbcd0 17623 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
d14a1e28
RD
17624 {
17625 if (temp6)
17626 delete arg6;
17627 }
17628 return resultobj;
17629 fail:
17630 {
17631 if (temp6)
17632 delete arg6;
17633 }
17634 return NULL;
17635}
17636
17637
c32bde28 17638static PyObject *_wrap_new_PreListbook(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17639 PyObject *resultobj;
17640 wxListbook *result;
17641 char *kwnames[] = {
17642 NULL
17643 };
17644
17645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail;
17646 {
e3b71cb8 17647 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
17648 PyThreadState* __tstate = wxPyBeginAllowThreads();
17649 result = (wxListbook *)new wxListbook();
17650
17651 wxPyEndAllowThreads(__tstate);
110da5b0 17652 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 17653 }
15afbcd0 17654 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
d14a1e28
RD
17655 return resultobj;
17656 fail:
17657 return NULL;
17658}
17659
17660
c32bde28 17661static PyObject *_wrap_Listbook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17662 PyObject *resultobj;
17663 wxListbook *arg1 = (wxListbook *) 0 ;
17664 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 17665 int arg3 = (int) -1 ;
d14a1e28
RD
17666 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17667 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17668 wxSize const &arg5_defvalue = wxDefaultSize ;
17669 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17670 long arg6 = (long) 0 ;
17671 wxString const &arg7_defvalue = wxPyEmptyString ;
17672 wxString *arg7 = (wxString *) &arg7_defvalue ;
17673 bool result;
17674 wxPoint temp4 ;
17675 wxSize temp5 ;
ae8162c8 17676 bool temp7 = false ;
d14a1e28
RD
17677 PyObject * obj0 = 0 ;
17678 PyObject * obj1 = 0 ;
994141e6 17679 PyObject * obj2 = 0 ;
d14a1e28
RD
17680 PyObject * obj3 = 0 ;
17681 PyObject * obj4 = 0 ;
994141e6 17682 PyObject * obj5 = 0 ;
d14a1e28
RD
17683 PyObject * obj6 = 0 ;
17684 char *kwnames[] = {
17685 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17686 };
17687
248ed943 17688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Listbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
17689 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListbook, SWIG_POINTER_EXCEPTION | 0);
17690 if (SWIG_arg_fail(1)) SWIG_fail;
17691 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17692 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 17693 if (obj2) {
093d3ff1
RD
17694 {
17695 arg3 = (int)(SWIG_As_int(obj2));
17696 if (SWIG_arg_fail(3)) SWIG_fail;
17697 }
248ed943 17698 }
d14a1e28
RD
17699 if (obj3) {
17700 {
17701 arg4 = &temp4;
17702 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17703 }
17704 }
17705 if (obj4) {
17706 {
17707 arg5 = &temp5;
17708 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17709 }
17710 }
994141e6 17711 if (obj5) {
093d3ff1
RD
17712 {
17713 arg6 = (long)(SWIG_As_long(obj5));
17714 if (SWIG_arg_fail(6)) SWIG_fail;
17715 }
994141e6 17716 }
d14a1e28
RD
17717 if (obj6) {
17718 {
17719 arg7 = wxString_in_helper(obj6);
17720 if (arg7 == NULL) SWIG_fail;
ae8162c8 17721 temp7 = true;
d14a1e28
RD
17722 }
17723 }
17724 {
17725 PyThreadState* __tstate = wxPyBeginAllowThreads();
17726 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17727
17728 wxPyEndAllowThreads(__tstate);
17729 if (PyErr_Occurred()) SWIG_fail;
17730 }
4f89f6a3
RD
17731 {
17732 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17733 }
d14a1e28
RD
17734 {
17735 if (temp7)
17736 delete arg7;
17737 }
17738 return resultobj;
17739 fail:
17740 {
17741 if (temp7)
17742 delete arg7;
17743 }
17744 return NULL;
17745}
17746
17747
c32bde28 17748static PyObject *_wrap_Listbook_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17749 PyObject *resultobj;
17750 wxListbook *arg1 = (wxListbook *) 0 ;
17751 bool result;
17752 PyObject * obj0 = 0 ;
17753 char *kwnames[] = {
17754 (char *) "self", NULL
17755 };
17756
17757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_IsVertical",kwnames,&obj0)) goto fail;
093d3ff1
RD
17758 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListbook, SWIG_POINTER_EXCEPTION | 0);
17759 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17760 {
17761 PyThreadState* __tstate = wxPyBeginAllowThreads();
17762 result = (bool)((wxListbook const *)arg1)->IsVertical();
17763
17764 wxPyEndAllowThreads(__tstate);
17765 if (PyErr_Occurred()) SWIG_fail;
17766 }
4f89f6a3
RD
17767 {
17768 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17769 }
d14a1e28
RD
17770 return resultobj;
17771 fail:
17772 return NULL;
17773}
17774
17775
1fbf26be
RD
17776static PyObject *_wrap_Listbook_GetListView(PyObject *, PyObject *args, PyObject *kwargs) {
17777 PyObject *resultobj;
17778 wxListbook *arg1 = (wxListbook *) 0 ;
17779 wxListView *result;
17780 PyObject * obj0 = 0 ;
17781 char *kwnames[] = {
17782 (char *) "self", NULL
17783 };
17784
17785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_GetListView",kwnames,&obj0)) goto fail;
093d3ff1
RD
17786 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListbook, SWIG_POINTER_EXCEPTION | 0);
17787 if (SWIG_arg_fail(1)) SWIG_fail;
1fbf26be
RD
17788 {
17789 PyThreadState* __tstate = wxPyBeginAllowThreads();
17790 result = (wxListView *)(arg1)->GetListView();
17791
17792 wxPyEndAllowThreads(__tstate);
17793 if (PyErr_Occurred()) SWIG_fail;
17794 }
17795 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 0);
17796 return resultobj;
17797 fail:
17798 return NULL;
17799}
17800
17801
c32bde28 17802static PyObject * Listbook_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
17803 PyObject *obj;
17804 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17805 SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
17806 Py_INCREF(obj);
17807 return Py_BuildValue((char *)"");
17808}
c32bde28 17809static PyObject *_wrap_new_ListbookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17810 PyObject *resultobj;
17811 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17812 int arg2 = (int) 0 ;
17813 int arg3 = (int) -1 ;
17814 int arg4 = (int) -1 ;
17815 wxListbookEvent *result;
994141e6
RD
17816 PyObject * obj0 = 0 ;
17817 PyObject * obj1 = 0 ;
17818 PyObject * obj2 = 0 ;
17819 PyObject * obj3 = 0 ;
d14a1e28
RD
17820 char *kwnames[] = {
17821 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17822 };
17823
994141e6
RD
17824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ListbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17825 if (obj0) {
093d3ff1
RD
17826 {
17827 arg1 = (wxEventType)(SWIG_As_int(obj0));
17828 if (SWIG_arg_fail(1)) SWIG_fail;
17829 }
994141e6
RD
17830 }
17831 if (obj1) {
093d3ff1
RD
17832 {
17833 arg2 = (int)(SWIG_As_int(obj1));
17834 if (SWIG_arg_fail(2)) SWIG_fail;
17835 }
994141e6
RD
17836 }
17837 if (obj2) {
093d3ff1
RD
17838 {
17839 arg3 = (int)(SWIG_As_int(obj2));
17840 if (SWIG_arg_fail(3)) SWIG_fail;
17841 }
994141e6
RD
17842 }
17843 if (obj3) {
093d3ff1
RD
17844 {
17845 arg4 = (int)(SWIG_As_int(obj3));
17846 if (SWIG_arg_fail(4)) SWIG_fail;
17847 }
994141e6 17848 }
d14a1e28
RD
17849 {
17850 PyThreadState* __tstate = wxPyBeginAllowThreads();
17851 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
17852
17853 wxPyEndAllowThreads(__tstate);
17854 if (PyErr_Occurred()) SWIG_fail;
17855 }
15afbcd0 17856 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbookEvent, 1);
d14a1e28
RD
17857 return resultobj;
17858 fail:
17859 return NULL;
17860}
17861
17862
c32bde28 17863static PyObject * ListbookEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
17864 PyObject *obj;
17865 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17866 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
17867 Py_INCREF(obj);
17868 return Py_BuildValue((char *)"");
17869}
2ef75293
RD
17870static PyObject *_wrap_new_Choicebook(PyObject *, PyObject *args, PyObject *kwargs) {
17871 PyObject *resultobj;
17872 wxWindow *arg1 = (wxWindow *) 0 ;
17873 int arg2 ;
17874 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17875 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17876 wxSize const &arg4_defvalue = wxDefaultSize ;
17877 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17878 long arg5 = (long) 0 ;
17879 wxString const &arg6_defvalue = wxPyEmptyString ;
17880 wxString *arg6 = (wxString *) &arg6_defvalue ;
17881 wxChoicebook *result;
17882 wxPoint temp3 ;
17883 wxSize temp4 ;
ae8162c8 17884 bool temp6 = false ;
2ef75293
RD
17885 PyObject * obj0 = 0 ;
17886 PyObject * obj1 = 0 ;
17887 PyObject * obj2 = 0 ;
17888 PyObject * obj3 = 0 ;
17889 PyObject * obj4 = 0 ;
17890 PyObject * obj5 = 0 ;
17891 char *kwnames[] = {
17892 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17893 };
17894
17895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Choicebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
17896 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17897 if (SWIG_arg_fail(1)) SWIG_fail;
17898 {
17899 arg2 = (int)(SWIG_As_int(obj1));
17900 if (SWIG_arg_fail(2)) SWIG_fail;
17901 }
2ef75293
RD
17902 if (obj2) {
17903 {
17904 arg3 = &temp3;
17905 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17906 }
17907 }
17908 if (obj3) {
17909 {
17910 arg4 = &temp4;
17911 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17912 }
17913 }
17914 if (obj4) {
093d3ff1
RD
17915 {
17916 arg5 = (long)(SWIG_As_long(obj4));
17917 if (SWIG_arg_fail(5)) SWIG_fail;
17918 }
2ef75293
RD
17919 }
17920 if (obj5) {
17921 {
17922 arg6 = wxString_in_helper(obj5);
17923 if (arg6 == NULL) SWIG_fail;
ae8162c8 17924 temp6 = true;
2ef75293
RD
17925 }
17926 }
17927 {
17928 if (!wxPyCheckForApp()) SWIG_fail;
17929 PyThreadState* __tstate = wxPyBeginAllowThreads();
17930 result = (wxChoicebook *)new wxChoicebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17931
17932 wxPyEndAllowThreads(__tstate);
17933 if (PyErr_Occurred()) SWIG_fail;
17934 }
17935 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebook, 1);
17936 {
17937 if (temp6)
17938 delete arg6;
17939 }
17940 return resultobj;
17941 fail:
17942 {
17943 if (temp6)
17944 delete arg6;
17945 }
17946 return NULL;
17947}
17948
17949
17950static PyObject *_wrap_new_PreChoicebook(PyObject *, PyObject *args, PyObject *kwargs) {
17951 PyObject *resultobj;
17952 wxChoicebook *result;
17953 char *kwnames[] = {
17954 NULL
17955 };
17956
17957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoicebook",kwnames)) goto fail;
17958 {
17959 if (!wxPyCheckForApp()) SWIG_fail;
17960 PyThreadState* __tstate = wxPyBeginAllowThreads();
17961 result = (wxChoicebook *)new wxChoicebook();
17962
17963 wxPyEndAllowThreads(__tstate);
17964 if (PyErr_Occurred()) SWIG_fail;
17965 }
17966 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebook, 1);
17967 return resultobj;
17968 fail:
17969 return NULL;
17970}
17971
17972
17973static PyObject *_wrap_Choicebook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
17974 PyObject *resultobj;
17975 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
17976 wxWindow *arg2 = (wxWindow *) 0 ;
17977 int arg3 ;
17978 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17979 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17980 wxSize const &arg5_defvalue = wxDefaultSize ;
17981 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17982 long arg6 = (long) 0 ;
17983 wxString const &arg7_defvalue = wxPyEmptyString ;
17984 wxString *arg7 = (wxString *) &arg7_defvalue ;
17985 bool result;
17986 wxPoint temp4 ;
17987 wxSize temp5 ;
ae8162c8 17988 bool temp7 = false ;
2ef75293
RD
17989 PyObject * obj0 = 0 ;
17990 PyObject * obj1 = 0 ;
17991 PyObject * obj2 = 0 ;
17992 PyObject * obj3 = 0 ;
17993 PyObject * obj4 = 0 ;
17994 PyObject * obj5 = 0 ;
17995 PyObject * obj6 = 0 ;
17996 char *kwnames[] = {
17997 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17998 };
17999
18000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Choicebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
18001 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
18002 if (SWIG_arg_fail(1)) SWIG_fail;
18003 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18004 if (SWIG_arg_fail(2)) SWIG_fail;
18005 {
18006 arg3 = (int)(SWIG_As_int(obj2));
18007 if (SWIG_arg_fail(3)) SWIG_fail;
18008 }
2ef75293
RD
18009 if (obj3) {
18010 {
18011 arg4 = &temp4;
18012 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
18013 }
18014 }
18015 if (obj4) {
18016 {
18017 arg5 = &temp5;
18018 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
18019 }
18020 }
18021 if (obj5) {
093d3ff1
RD
18022 {
18023 arg6 = (long)(SWIG_As_long(obj5));
18024 if (SWIG_arg_fail(6)) SWIG_fail;
18025 }
2ef75293
RD
18026 }
18027 if (obj6) {
18028 {
18029 arg7 = wxString_in_helper(obj6);
18030 if (arg7 == NULL) SWIG_fail;
ae8162c8 18031 temp7 = true;
2ef75293
RD
18032 }
18033 }
18034 {
18035 PyThreadState* __tstate = wxPyBeginAllowThreads();
18036 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
18037
18038 wxPyEndAllowThreads(__tstate);
18039 if (PyErr_Occurred()) SWIG_fail;
18040 }
18041 {
18042 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18043 }
18044 {
18045 if (temp7)
18046 delete arg7;
18047 }
18048 return resultobj;
18049 fail:
18050 {
18051 if (temp7)
18052 delete arg7;
18053 }
18054 return NULL;
18055}
18056
18057
18058static PyObject *_wrap_Choicebook_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
18059 PyObject *resultobj;
18060 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
18061 bool result;
18062 PyObject * obj0 = 0 ;
18063 char *kwnames[] = {
18064 (char *) "self", NULL
18065 };
18066
18067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_IsVertical",kwnames,&obj0)) goto fail;
093d3ff1
RD
18068 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
18069 if (SWIG_arg_fail(1)) SWIG_fail;
2ef75293
RD
18070 {
18071 PyThreadState* __tstate = wxPyBeginAllowThreads();
18072 result = (bool)((wxChoicebook const *)arg1)->IsVertical();
18073
18074 wxPyEndAllowThreads(__tstate);
18075 if (PyErr_Occurred()) SWIG_fail;
18076 }
18077 {
18078 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18079 }
18080 return resultobj;
18081 fail:
18082 return NULL;
18083}
18084
18085
18086static PyObject *_wrap_Choicebook_DeleteAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
18087 PyObject *resultobj;
18088 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
18089 bool result;
18090 PyObject * obj0 = 0 ;
18091 char *kwnames[] = {
18092 (char *) "self", NULL
18093 };
18094
18095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_DeleteAllPages",kwnames,&obj0)) goto fail;
093d3ff1
RD
18096 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
18097 if (SWIG_arg_fail(1)) SWIG_fail;
2ef75293
RD
18098 {
18099 PyThreadState* __tstate = wxPyBeginAllowThreads();
18100 result = (bool)(arg1)->DeleteAllPages();
18101
18102 wxPyEndAllowThreads(__tstate);
18103 if (PyErr_Occurred()) SWIG_fail;
18104 }
18105 {
18106 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18107 }
18108 return resultobj;
18109 fail:
18110 return NULL;
18111}
18112
18113
18114static PyObject * Choicebook_swigregister(PyObject *, PyObject *args) {
18115 PyObject *obj;
18116 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18117 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebook, obj);
18118 Py_INCREF(obj);
18119 return Py_BuildValue((char *)"");
18120}
18121static PyObject *_wrap_new_ChoicebookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
18122 PyObject *resultobj;
18123 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
18124 int arg2 = (int) 0 ;
18125 int arg3 = (int) -1 ;
18126 int arg4 = (int) -1 ;
18127 wxChoicebookEvent *result;
18128 PyObject * obj0 = 0 ;
18129 PyObject * obj1 = 0 ;
18130 PyObject * obj2 = 0 ;
18131 PyObject * obj3 = 0 ;
18132 char *kwnames[] = {
18133 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
18134 };
18135
18136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ChoicebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18137 if (obj0) {
093d3ff1
RD
18138 {
18139 arg1 = (wxEventType)(SWIG_As_int(obj0));
18140 if (SWIG_arg_fail(1)) SWIG_fail;
18141 }
2ef75293
RD
18142 }
18143 if (obj1) {
093d3ff1
RD
18144 {
18145 arg2 = (int)(SWIG_As_int(obj1));
18146 if (SWIG_arg_fail(2)) SWIG_fail;
18147 }
2ef75293
RD
18148 }
18149 if (obj2) {
093d3ff1
RD
18150 {
18151 arg3 = (int)(SWIG_As_int(obj2));
18152 if (SWIG_arg_fail(3)) SWIG_fail;
18153 }
2ef75293
RD
18154 }
18155 if (obj3) {
093d3ff1
RD
18156 {
18157 arg4 = (int)(SWIG_As_int(obj3));
18158 if (SWIG_arg_fail(4)) SWIG_fail;
18159 }
2ef75293
RD
18160 }
18161 {
18162 PyThreadState* __tstate = wxPyBeginAllowThreads();
18163 result = (wxChoicebookEvent *)new wxChoicebookEvent(arg1,arg2,arg3,arg4);
18164
18165 wxPyEndAllowThreads(__tstate);
18166 if (PyErr_Occurred()) SWIG_fail;
18167 }
18168 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebookEvent, 1);
18169 return resultobj;
18170 fail:
18171 return NULL;
18172}
18173
18174
18175static PyObject * ChoicebookEvent_swigregister(PyObject *, PyObject *args) {
18176 PyObject *obj;
18177 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18178 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebookEvent, obj);
18179 Py_INCREF(obj);
18180 return Py_BuildValue((char *)"");
18181}
c32bde28 18182static PyObject *_wrap_new_BookCtrlSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 18183 PyObject *resultobj;
8ac8dba0 18184 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d14a1e28
RD
18185 wxBookCtrlSizer *result;
18186 PyObject * obj0 = 0 ;
18187 char *kwnames[] = {
18188 (char *) "nb", NULL
18189 };
18190
18191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BookCtrlSizer",kwnames,&obj0)) goto fail;
093d3ff1
RD
18192 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
18193 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18194 {
18195 PyThreadState* __tstate = wxPyBeginAllowThreads();
18196 result = (wxBookCtrlSizer *)new wxBookCtrlSizer(arg1);
18197
18198 wxPyEndAllowThreads(__tstate);
18199 if (PyErr_Occurred()) SWIG_fail;
18200 }
15afbcd0 18201 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlSizer, 1);
d14a1e28
RD
18202 return resultobj;
18203 fail:
18204 return NULL;
18205}
18206
18207
c32bde28 18208static PyObject *_wrap_BookCtrlSizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18209 PyObject *resultobj;
18210 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
18211 PyObject * obj0 = 0 ;
18212 char *kwnames[] = {
18213 (char *) "self", NULL
18214 };
18215
18216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames,&obj0)) goto fail;
093d3ff1
RD
18217 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlSizer, SWIG_POINTER_EXCEPTION | 0);
18218 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18219 {
18220 PyThreadState* __tstate = wxPyBeginAllowThreads();
18221 (arg1)->RecalcSizes();
18222
18223 wxPyEndAllowThreads(__tstate);
18224 if (PyErr_Occurred()) SWIG_fail;
18225 }
18226 Py_INCREF(Py_None); resultobj = Py_None;
18227 return resultobj;
18228 fail:
18229 return NULL;
18230}
18231
18232
c32bde28 18233static PyObject *_wrap_BookCtrlSizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18234 PyObject *resultobj;
18235 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
18236 wxSize result;
18237 PyObject * obj0 = 0 ;
18238 char *kwnames[] = {
18239 (char *) "self", NULL
18240 };
18241
18242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_CalcMin",kwnames,&obj0)) goto fail;
093d3ff1
RD
18243 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlSizer, SWIG_POINTER_EXCEPTION | 0);
18244 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18245 {
18246 PyThreadState* __tstate = wxPyBeginAllowThreads();
18247 result = (arg1)->CalcMin();
18248
18249 wxPyEndAllowThreads(__tstate);
18250 if (PyErr_Occurred()) SWIG_fail;
18251 }
18252 {
18253 wxSize * resultptr;
093d3ff1 18254 resultptr = new wxSize((wxSize &)(result));
15afbcd0 18255 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
18256 }
18257 return resultobj;
18258 fail:
18259 return NULL;
18260}
18261
18262
c32bde28 18263static PyObject *_wrap_BookCtrlSizer_GetControl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18264 PyObject *resultobj;
18265 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
8ac8dba0 18266 wxBookCtrlBase *result;
d14a1e28
RD
18267 PyObject * obj0 = 0 ;
18268 char *kwnames[] = {
18269 (char *) "self", NULL
18270 };
18271
18272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_GetControl",kwnames,&obj0)) goto fail;
093d3ff1
RD
18273 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlSizer, SWIG_POINTER_EXCEPTION | 0);
18274 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18275 {
18276 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 18277 result = (wxBookCtrlBase *)(arg1)->GetControl();
d14a1e28
RD
18278
18279 wxPyEndAllowThreads(__tstate);
18280 if (PyErr_Occurred()) SWIG_fail;
18281 }
8ac8dba0 18282 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlBase, 0);
d14a1e28
RD
18283 return resultobj;
18284 fail:
18285 return NULL;
18286}
18287
18288
c32bde28 18289static PyObject * BookCtrlSizer_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
18290 PyObject *obj;
18291 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18292 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer, obj);
18293 Py_INCREF(obj);
18294 return Py_BuildValue((char *)"");
18295}
c32bde28 18296static PyObject *_wrap_new_NotebookSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18297 PyObject *resultobj;
18298 wxNotebook *arg1 = (wxNotebook *) 0 ;
18299 wxNotebookSizer *result;
18300 PyObject * obj0 = 0 ;
18301 char *kwnames[] = {
18302 (char *) "nb", NULL
18303 };
18304
18305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_NotebookSizer",kwnames,&obj0)) goto fail;
093d3ff1
RD
18306 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
18307 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18308 {
18309 PyThreadState* __tstate = wxPyBeginAllowThreads();
18310 result = (wxNotebookSizer *)new wxNotebookSizer(arg1);
18311
18312 wxPyEndAllowThreads(__tstate);
18313 if (PyErr_Occurred()) SWIG_fail;
18314 }
15afbcd0 18315 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookSizer, 1);
d14a1e28
RD
18316 return resultobj;
18317 fail:
18318 return NULL;
18319}
18320
18321
c32bde28 18322static PyObject *_wrap_NotebookSizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18323 PyObject *resultobj;
18324 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
18325 PyObject * obj0 = 0 ;
18326 char *kwnames[] = {
18327 (char *) "self", NULL
18328 };
18329
18330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_RecalcSizes",kwnames,&obj0)) goto fail;
093d3ff1
RD
18331 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebookSizer, SWIG_POINTER_EXCEPTION | 0);
18332 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18333 {
18334 PyThreadState* __tstate = wxPyBeginAllowThreads();
18335 (arg1)->RecalcSizes();
18336
18337 wxPyEndAllowThreads(__tstate);
18338 if (PyErr_Occurred()) SWIG_fail;
18339 }
18340 Py_INCREF(Py_None); resultobj = Py_None;
18341 return resultobj;
18342 fail:
18343 return NULL;
18344}
18345
18346
c32bde28 18347static PyObject *_wrap_NotebookSizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18348 PyObject *resultobj;
18349 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
18350 wxSize result;
18351 PyObject * obj0 = 0 ;
18352 char *kwnames[] = {
18353 (char *) "self", NULL
18354 };
18355
18356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_CalcMin",kwnames,&obj0)) goto fail;
093d3ff1
RD
18357 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebookSizer, SWIG_POINTER_EXCEPTION | 0);
18358 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18359 {
18360 PyThreadState* __tstate = wxPyBeginAllowThreads();
18361 result = (arg1)->CalcMin();
18362
18363 wxPyEndAllowThreads(__tstate);
18364 if (PyErr_Occurred()) SWIG_fail;
18365 }
18366 {
18367 wxSize * resultptr;
093d3ff1 18368 resultptr = new wxSize((wxSize &)(result));
15afbcd0 18369 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
18370 }
18371 return resultobj;
18372 fail:
18373 return NULL;
18374}
18375
18376
c32bde28 18377static PyObject *_wrap_NotebookSizer_GetNotebook(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18378 PyObject *resultobj;
18379 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
18380 wxNotebook *result;
18381 PyObject * obj0 = 0 ;
18382 char *kwnames[] = {
18383 (char *) "self", NULL
18384 };
18385
18386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_GetNotebook",kwnames,&obj0)) goto fail;
093d3ff1
RD
18387 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebookSizer, SWIG_POINTER_EXCEPTION | 0);
18388 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18389 {
18390 PyThreadState* __tstate = wxPyBeginAllowThreads();
18391 result = (wxNotebook *)(arg1)->GetNotebook();
18392
18393 wxPyEndAllowThreads(__tstate);
18394 if (PyErr_Occurred()) SWIG_fail;
18395 }
18396 {
412d302d 18397 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
18398 }
18399 return resultobj;
18400 fail:
18401 return NULL;
18402}
18403
18404
c32bde28 18405static PyObject * NotebookSizer_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
18406 PyObject *obj;
18407 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18408 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer, obj);
18409 Py_INCREF(obj);
18410 return Py_BuildValue((char *)"");
18411}
c32bde28 18412static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18413 PyObject *resultobj;
18414 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18415 int result;
18416 PyObject * obj0 = 0 ;
18417 char *kwnames[] = {
18418 (char *) "self", NULL
18419 };
18420
18421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetId",kwnames,&obj0)) goto fail;
093d3ff1
RD
18422 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18423 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18424 {
18425 PyThreadState* __tstate = wxPyBeginAllowThreads();
18426 result = (int)(arg1)->GetId();
18427
18428 wxPyEndAllowThreads(__tstate);
18429 if (PyErr_Occurred()) SWIG_fail;
18430 }
093d3ff1
RD
18431 {
18432 resultobj = SWIG_From_int((int)(result));
18433 }
d14a1e28
RD
18434 return resultobj;
18435 fail:
18436 return NULL;
18437}
18438
18439
c32bde28 18440static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18441 PyObject *resultobj;
18442 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18443 wxControl *result;
18444 PyObject * obj0 = 0 ;
18445 char *kwnames[] = {
18446 (char *) "self", NULL
18447 };
18448
18449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetControl",kwnames,&obj0)) goto fail;
093d3ff1
RD
18450 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18451 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18452 {
18453 PyThreadState* __tstate = wxPyBeginAllowThreads();
18454 result = (wxControl *)(arg1)->GetControl();
18455
18456 wxPyEndAllowThreads(__tstate);
18457 if (PyErr_Occurred()) SWIG_fail;
18458 }
18459 {
412d302d 18460 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
18461 }
18462 return resultobj;
18463 fail:
18464 return NULL;
18465}
18466
18467
c32bde28 18468static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18469 PyObject *resultobj;
18470 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18471 wxToolBarBase *result;
18472 PyObject * obj0 = 0 ;
18473 char *kwnames[] = {
18474 (char *) "self", NULL
18475 };
18476
18477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetToolBar",kwnames,&obj0)) goto fail;
093d3ff1
RD
18478 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18479 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18480 {
18481 PyThreadState* __tstate = wxPyBeginAllowThreads();
18482 result = (wxToolBarBase *)(arg1)->GetToolBar();
18483
18484 wxPyEndAllowThreads(__tstate);
18485 if (PyErr_Occurred()) SWIG_fail;
18486 }
18487 {
412d302d 18488 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
18489 }
18490 return resultobj;
18491 fail:
18492 return NULL;
18493}
18494
18495
c32bde28 18496static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18497 PyObject *resultobj;
18498 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18499 int result;
18500 PyObject * obj0 = 0 ;
18501 char *kwnames[] = {
18502 (char *) "self", NULL
18503 };
18504
18505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsButton",kwnames,&obj0)) goto fail;
093d3ff1
RD
18506 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18507 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18508 {
18509 PyThreadState* __tstate = wxPyBeginAllowThreads();
18510 result = (int)(arg1)->IsButton();
18511
18512 wxPyEndAllowThreads(__tstate);
18513 if (PyErr_Occurred()) SWIG_fail;
18514 }
093d3ff1
RD
18515 {
18516 resultobj = SWIG_From_int((int)(result));
18517 }
d14a1e28
RD
18518 return resultobj;
18519 fail:
18520 return NULL;
18521}
18522
18523
c32bde28 18524static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18525 PyObject *resultobj;
18526 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18527 int result;
18528 PyObject * obj0 = 0 ;
18529 char *kwnames[] = {
18530 (char *) "self", NULL
18531 };
18532
18533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsControl",kwnames,&obj0)) goto fail;
093d3ff1
RD
18534 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18535 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18536 {
18537 PyThreadState* __tstate = wxPyBeginAllowThreads();
18538 result = (int)(arg1)->IsControl();
18539
18540 wxPyEndAllowThreads(__tstate);
18541 if (PyErr_Occurred()) SWIG_fail;
18542 }
093d3ff1
RD
18543 {
18544 resultobj = SWIG_From_int((int)(result));
18545 }
d14a1e28
RD
18546 return resultobj;
18547 fail:
18548 return NULL;
18549}
18550
18551
c32bde28 18552static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18553 PyObject *resultobj;
18554 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18555 int result;
18556 PyObject * obj0 = 0 ;
18557 char *kwnames[] = {
18558 (char *) "self", NULL
18559 };
18560
18561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsSeparator",kwnames,&obj0)) goto fail;
093d3ff1
RD
18562 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18563 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18564 {
18565 PyThreadState* __tstate = wxPyBeginAllowThreads();
18566 result = (int)(arg1)->IsSeparator();
18567
18568 wxPyEndAllowThreads(__tstate);
18569 if (PyErr_Occurred()) SWIG_fail;
18570 }
093d3ff1
RD
18571 {
18572 resultobj = SWIG_From_int((int)(result));
18573 }
d14a1e28
RD
18574 return resultobj;
18575 fail:
18576 return NULL;
18577}
18578
18579
c32bde28 18580static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18581 PyObject *resultobj;
18582 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18583 int result;
18584 PyObject * obj0 = 0 ;
18585 char *kwnames[] = {
18586 (char *) "self", NULL
18587 };
18588
18589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetStyle",kwnames,&obj0)) goto fail;
093d3ff1
RD
18590 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18591 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18592 {
18593 PyThreadState* __tstate = wxPyBeginAllowThreads();
18594 result = (int)(arg1)->GetStyle();
18595
18596 wxPyEndAllowThreads(__tstate);
18597 if (PyErr_Occurred()) SWIG_fail;
18598 }
093d3ff1
RD
18599 {
18600 resultobj = SWIG_From_int((int)(result));
18601 }
d14a1e28
RD
18602 return resultobj;
18603 fail:
18604 return NULL;
18605}
18606
18607
c32bde28 18608static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18609 PyObject *resultobj;
18610 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
093d3ff1 18611 wxItemKind result;
d14a1e28
RD
18612 PyObject * obj0 = 0 ;
18613 char *kwnames[] = {
18614 (char *) "self", NULL
18615 };
18616
18617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetKind",kwnames,&obj0)) goto fail;
093d3ff1
RD
18618 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18619 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18620 {
18621 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 18622 result = (wxItemKind)(arg1)->GetKind();
d14a1e28
RD
18623
18624 wxPyEndAllowThreads(__tstate);
18625 if (PyErr_Occurred()) SWIG_fail;
18626 }
093d3ff1 18627 resultobj = SWIG_From_int((result));
d14a1e28
RD
18628 return resultobj;
18629 fail:
18630 return NULL;
18631}
18632
18633
c32bde28 18634static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18635 PyObject *resultobj;
18636 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18637 bool result;
18638 PyObject * obj0 = 0 ;
18639 char *kwnames[] = {
18640 (char *) "self", NULL
18641 };
18642
18643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsEnabled",kwnames,&obj0)) goto fail;
093d3ff1
RD
18644 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18645 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18646 {
18647 PyThreadState* __tstate = wxPyBeginAllowThreads();
18648 result = (bool)(arg1)->IsEnabled();
18649
18650 wxPyEndAllowThreads(__tstate);
18651 if (PyErr_Occurred()) SWIG_fail;
18652 }
4f89f6a3
RD
18653 {
18654 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18655 }
d14a1e28
RD
18656 return resultobj;
18657 fail:
18658 return NULL;
18659}
18660
18661
c32bde28 18662static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18663 PyObject *resultobj;
18664 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18665 bool result;
18666 PyObject * obj0 = 0 ;
18667 char *kwnames[] = {
18668 (char *) "self", NULL
18669 };
18670
18671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsToggled",kwnames,&obj0)) goto fail;
093d3ff1
RD
18672 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18673 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18674 {
18675 PyThreadState* __tstate = wxPyBeginAllowThreads();
18676 result = (bool)(arg1)->IsToggled();
18677
18678 wxPyEndAllowThreads(__tstate);
18679 if (PyErr_Occurred()) SWIG_fail;
18680 }
4f89f6a3
RD
18681 {
18682 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18683 }
d14a1e28
RD
18684 return resultobj;
18685 fail:
18686 return NULL;
18687}
18688
18689
c32bde28 18690static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18691 PyObject *resultobj;
18692 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18693 bool result;
18694 PyObject * obj0 = 0 ;
18695 char *kwnames[] = {
18696 (char *) "self", NULL
18697 };
18698
18699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames,&obj0)) goto fail;
093d3ff1
RD
18700 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18701 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18702 {
18703 PyThreadState* __tstate = wxPyBeginAllowThreads();
18704 result = (bool)(arg1)->CanBeToggled();
18705
18706 wxPyEndAllowThreads(__tstate);
18707 if (PyErr_Occurred()) SWIG_fail;
18708 }
4f89f6a3
RD
18709 {
18710 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18711 }
d14a1e28
RD
18712 return resultobj;
18713 fail:
18714 return NULL;
18715}
18716
18717
c32bde28 18718static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18719 PyObject *resultobj;
18720 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18721 wxBitmap *result;
18722 PyObject * obj0 = 0 ;
18723 char *kwnames[] = {
18724 (char *) "self", NULL
18725 };
18726
18727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames,&obj0)) goto fail;
093d3ff1
RD
18728 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18729 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18730 {
18731 PyThreadState* __tstate = wxPyBeginAllowThreads();
18732 {
18733 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
18734 result = (wxBitmap *) &_result_ref;
18735 }
18736
18737 wxPyEndAllowThreads(__tstate);
18738 if (PyErr_Occurred()) SWIG_fail;
18739 }
4276dc52
RD
18740 {
18741 wxBitmap* resultptr = new wxBitmap(*result);
18742 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
18743 }
d14a1e28
RD
18744 return resultobj;
18745 fail:
18746 return NULL;
18747}
18748
18749
c32bde28 18750static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18751 PyObject *resultobj;
18752 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18753 wxBitmap *result;
18754 PyObject * obj0 = 0 ;
18755 char *kwnames[] = {
18756 (char *) "self", NULL
18757 };
18758
18759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames,&obj0)) goto fail;
093d3ff1
RD
18760 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18761 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18762 {
18763 PyThreadState* __tstate = wxPyBeginAllowThreads();
18764 {
18765 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
18766 result = (wxBitmap *) &_result_ref;
18767 }
18768
18769 wxPyEndAllowThreads(__tstate);
18770 if (PyErr_Occurred()) SWIG_fail;
18771 }
4276dc52
RD
18772 {
18773 wxBitmap* resultptr = new wxBitmap(*result);
18774 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
18775 }
d14a1e28
RD
18776 return resultobj;
18777 fail:
18778 return NULL;
18779}
18780
18781
c32bde28 18782static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18783 PyObject *resultobj;
18784 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18785 wxBitmap result;
18786 PyObject * obj0 = 0 ;
18787 char *kwnames[] = {
18788 (char *) "self", NULL
18789 };
18790
18791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetBitmap",kwnames,&obj0)) goto fail;
093d3ff1
RD
18792 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18793 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18794 {
18795 PyThreadState* __tstate = wxPyBeginAllowThreads();
18796 result = (arg1)->GetBitmap();
18797
18798 wxPyEndAllowThreads(__tstate);
18799 if (PyErr_Occurred()) SWIG_fail;
18800 }
18801 {
18802 wxBitmap * resultptr;
093d3ff1 18803 resultptr = new wxBitmap((wxBitmap &)(result));
15afbcd0 18804 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
18805 }
18806 return resultobj;
18807 fail:
18808 return NULL;
18809}
18810
18811
c32bde28 18812static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18813 PyObject *resultobj;
18814 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18815 wxString result;
18816 PyObject * obj0 = 0 ;
18817 char *kwnames[] = {
18818 (char *) "self", NULL
18819 };
18820
18821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLabel",kwnames,&obj0)) goto fail;
093d3ff1
RD
18822 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18823 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18824 {
18825 PyThreadState* __tstate = wxPyBeginAllowThreads();
18826 result = (arg1)->GetLabel();
18827
18828 wxPyEndAllowThreads(__tstate);
18829 if (PyErr_Occurred()) SWIG_fail;
18830 }
18831 {
18832#if wxUSE_UNICODE
18833 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18834#else
18835 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18836#endif
18837 }
18838 return resultobj;
18839 fail:
18840 return NULL;
18841}
18842
18843
c32bde28 18844static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18845 PyObject *resultobj;
18846 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18847 wxString result;
18848 PyObject * obj0 = 0 ;
18849 char *kwnames[] = {
18850 (char *) "self", NULL
18851 };
18852
18853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames,&obj0)) goto fail;
093d3ff1
RD
18854 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18855 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18856 {
18857 PyThreadState* __tstate = wxPyBeginAllowThreads();
18858 result = (arg1)->GetShortHelp();
18859
18860 wxPyEndAllowThreads(__tstate);
18861 if (PyErr_Occurred()) SWIG_fail;
18862 }
18863 {
18864#if wxUSE_UNICODE
18865 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18866#else
18867 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18868#endif
18869 }
18870 return resultobj;
18871 fail:
18872 return NULL;
18873}
18874
18875
c32bde28 18876static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18877 PyObject *resultobj;
18878 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18879 wxString result;
18880 PyObject * obj0 = 0 ;
18881 char *kwnames[] = {
18882 (char *) "self", NULL
18883 };
18884
18885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames,&obj0)) goto fail;
093d3ff1
RD
18886 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18887 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18888 {
18889 PyThreadState* __tstate = wxPyBeginAllowThreads();
18890 result = (arg1)->GetLongHelp();
18891
18892 wxPyEndAllowThreads(__tstate);
18893 if (PyErr_Occurred()) SWIG_fail;
18894 }
18895 {
18896#if wxUSE_UNICODE
18897 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18898#else
18899 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18900#endif
18901 }
18902 return resultobj;
18903 fail:
18904 return NULL;
18905}
18906
18907
c32bde28 18908static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18909 PyObject *resultobj;
18910 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18911 bool arg2 ;
18912 bool result;
18913 PyObject * obj0 = 0 ;
18914 PyObject * obj1 = 0 ;
18915 char *kwnames[] = {
18916 (char *) "self",(char *) "enable", NULL
18917 };
18918
18919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18920 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18921 if (SWIG_arg_fail(1)) SWIG_fail;
18922 {
18923 arg2 = (bool)(SWIG_As_bool(obj1));
18924 if (SWIG_arg_fail(2)) SWIG_fail;
18925 }
d14a1e28
RD
18926 {
18927 PyThreadState* __tstate = wxPyBeginAllowThreads();
18928 result = (bool)(arg1)->Enable(arg2);
18929
18930 wxPyEndAllowThreads(__tstate);
18931 if (PyErr_Occurred()) SWIG_fail;
18932 }
4f89f6a3
RD
18933 {
18934 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18935 }
d14a1e28
RD
18936 return resultobj;
18937 fail:
18938 return NULL;
18939}
18940
18941
c32bde28 18942static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18943 PyObject *resultobj;
18944 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18945 PyObject * obj0 = 0 ;
18946 char *kwnames[] = {
18947 (char *) "self", NULL
18948 };
18949
18950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Toggle",kwnames,&obj0)) goto fail;
093d3ff1
RD
18951 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18952 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18953 {
18954 PyThreadState* __tstate = wxPyBeginAllowThreads();
18955 (arg1)->Toggle();
18956
18957 wxPyEndAllowThreads(__tstate);
18958 if (PyErr_Occurred()) SWIG_fail;
18959 }
18960 Py_INCREF(Py_None); resultobj = Py_None;
18961 return resultobj;
18962 fail:
18963 return NULL;
18964}
18965
18966
c32bde28 18967static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18968 PyObject *resultobj;
18969 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18970 bool arg2 ;
18971 bool result;
18972 PyObject * obj0 = 0 ;
18973 PyObject * obj1 = 0 ;
18974 char *kwnames[] = {
18975 (char *) "self",(char *) "toggle", NULL
18976 };
18977
18978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18979 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18980 if (SWIG_arg_fail(1)) SWIG_fail;
18981 {
18982 arg2 = (bool)(SWIG_As_bool(obj1));
18983 if (SWIG_arg_fail(2)) SWIG_fail;
18984 }
d14a1e28
RD
18985 {
18986 PyThreadState* __tstate = wxPyBeginAllowThreads();
18987 result = (bool)(arg1)->SetToggle(arg2);
18988
18989 wxPyEndAllowThreads(__tstate);
18990 if (PyErr_Occurred()) SWIG_fail;
18991 }
4f89f6a3
RD
18992 {
18993 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18994 }
d14a1e28
RD
18995 return resultobj;
18996 fail:
18997 return NULL;
18998}
18999
19000
c32bde28 19001static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19002 PyObject *resultobj;
19003 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19004 wxString *arg2 = 0 ;
19005 bool result;
ae8162c8 19006 bool temp2 = false ;
d14a1e28
RD
19007 PyObject * obj0 = 0 ;
19008 PyObject * obj1 = 0 ;
19009 char *kwnames[] = {
19010 (char *) "self",(char *) "help", NULL
19011 };
19012
19013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19014 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19015 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19016 {
19017 arg2 = wxString_in_helper(obj1);
19018 if (arg2 == NULL) SWIG_fail;
ae8162c8 19019 temp2 = true;
d14a1e28
RD
19020 }
19021 {
19022 PyThreadState* __tstate = wxPyBeginAllowThreads();
19023 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
19024
19025 wxPyEndAllowThreads(__tstate);
19026 if (PyErr_Occurred()) SWIG_fail;
19027 }
4f89f6a3
RD
19028 {
19029 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19030 }
d14a1e28
RD
19031 {
19032 if (temp2)
19033 delete arg2;
19034 }
19035 return resultobj;
19036 fail:
19037 {
19038 if (temp2)
19039 delete arg2;
19040 }
19041 return NULL;
19042}
19043
19044
c32bde28 19045static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19046 PyObject *resultobj;
19047 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19048 wxString *arg2 = 0 ;
19049 bool result;
ae8162c8 19050 bool temp2 = false ;
d14a1e28
RD
19051 PyObject * obj0 = 0 ;
19052 PyObject * obj1 = 0 ;
19053 char *kwnames[] = {
19054 (char *) "self",(char *) "help", NULL
19055 };
19056
19057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19058 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19059 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19060 {
19061 arg2 = wxString_in_helper(obj1);
19062 if (arg2 == NULL) SWIG_fail;
ae8162c8 19063 temp2 = true;
d14a1e28
RD
19064 }
19065 {
19066 PyThreadState* __tstate = wxPyBeginAllowThreads();
19067 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
19068
19069 wxPyEndAllowThreads(__tstate);
19070 if (PyErr_Occurred()) SWIG_fail;
19071 }
4f89f6a3
RD
19072 {
19073 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19074 }
d14a1e28
RD
19075 {
19076 if (temp2)
19077 delete arg2;
19078 }
19079 return resultobj;
19080 fail:
19081 {
19082 if (temp2)
19083 delete arg2;
19084 }
19085 return NULL;
19086}
19087
19088
c32bde28 19089static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19090 PyObject *resultobj;
19091 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19092 wxBitmap *arg2 = 0 ;
19093 PyObject * obj0 = 0 ;
19094 PyObject * obj1 = 0 ;
19095 char *kwnames[] = {
19096 (char *) "self",(char *) "bmp", NULL
19097 };
19098
19099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19100 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19101 if (SWIG_arg_fail(1)) SWIG_fail;
19102 {
19103 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19104 if (SWIG_arg_fail(2)) SWIG_fail;
19105 if (arg2 == NULL) {
19106 SWIG_null_ref("wxBitmap");
19107 }
19108 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
19109 }
19110 {
19111 PyThreadState* __tstate = wxPyBeginAllowThreads();
19112 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
19113
19114 wxPyEndAllowThreads(__tstate);
19115 if (PyErr_Occurred()) SWIG_fail;
19116 }
19117 Py_INCREF(Py_None); resultobj = Py_None;
19118 return resultobj;
19119 fail:
19120 return NULL;
19121}
19122
19123
c32bde28 19124static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19125 PyObject *resultobj;
19126 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19127 wxBitmap *arg2 = 0 ;
19128 PyObject * obj0 = 0 ;
19129 PyObject * obj1 = 0 ;
19130 char *kwnames[] = {
19131 (char *) "self",(char *) "bmp", NULL
19132 };
19133
19134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19135 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19136 if (SWIG_arg_fail(1)) SWIG_fail;
19137 {
19138 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19139 if (SWIG_arg_fail(2)) SWIG_fail;
19140 if (arg2 == NULL) {
19141 SWIG_null_ref("wxBitmap");
19142 }
19143 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
19144 }
19145 {
19146 PyThreadState* __tstate = wxPyBeginAllowThreads();
19147 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
19148
19149 wxPyEndAllowThreads(__tstate);
19150 if (PyErr_Occurred()) SWIG_fail;
19151 }
19152 Py_INCREF(Py_None); resultobj = Py_None;
19153 return resultobj;
19154 fail:
19155 return NULL;
19156}
19157
19158
c32bde28 19159static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19160 PyObject *resultobj;
19161 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19162 wxString *arg2 = 0 ;
ae8162c8 19163 bool temp2 = false ;
d14a1e28
RD
19164 PyObject * obj0 = 0 ;
19165 PyObject * obj1 = 0 ;
19166 char *kwnames[] = {
19167 (char *) "self",(char *) "label", NULL
19168 };
19169
19170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19171 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19172 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19173 {
19174 arg2 = wxString_in_helper(obj1);
19175 if (arg2 == NULL) SWIG_fail;
ae8162c8 19176 temp2 = true;
d14a1e28
RD
19177 }
19178 {
19179 PyThreadState* __tstate = wxPyBeginAllowThreads();
19180 (arg1)->SetLabel((wxString const &)*arg2);
19181
19182 wxPyEndAllowThreads(__tstate);
19183 if (PyErr_Occurred()) SWIG_fail;
19184 }
19185 Py_INCREF(Py_None); resultobj = Py_None;
19186 {
19187 if (temp2)
19188 delete arg2;
19189 }
19190 return resultobj;
19191 fail:
19192 {
19193 if (temp2)
19194 delete arg2;
19195 }
19196 return NULL;
19197}
19198
19199
c32bde28 19200static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19201 PyObject *resultobj;
19202 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19203 PyObject * obj0 = 0 ;
19204 char *kwnames[] = {
19205 (char *) "self", NULL
19206 };
19207
19208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Detach",kwnames,&obj0)) 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 PyThreadState* __tstate = wxPyBeginAllowThreads();
19213 (arg1)->Detach();
19214
19215 wxPyEndAllowThreads(__tstate);
19216 if (PyErr_Occurred()) SWIG_fail;
19217 }
19218 Py_INCREF(Py_None); resultobj = Py_None;
19219 return resultobj;
19220 fail:
19221 return NULL;
19222}
19223
19224
c32bde28 19225static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19226 PyObject *resultobj;
19227 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19228 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
19229 PyObject * obj0 = 0 ;
19230 PyObject * obj1 = 0 ;
19231 char *kwnames[] = {
19232 (char *) "self",(char *) "tbar", NULL
19233 };
19234
19235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19236 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19237 if (SWIG_arg_fail(1)) SWIG_fail;
19238 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19239 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
19240 {
19241 PyThreadState* __tstate = wxPyBeginAllowThreads();
19242 (arg1)->Attach(arg2);
19243
19244 wxPyEndAllowThreads(__tstate);
19245 if (PyErr_Occurred()) SWIG_fail;
19246 }
19247 Py_INCREF(Py_None); resultobj = Py_None;
19248 return resultobj;
19249 fail:
19250 return NULL;
19251}
19252
19253
c32bde28 19254static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19255 PyObject *resultobj;
19256 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19257 PyObject *result;
19258 PyObject * obj0 = 0 ;
19259 char *kwnames[] = {
19260 (char *) "self", NULL
19261 };
19262
19263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetClientData",kwnames,&obj0)) goto fail;
093d3ff1
RD
19264 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19265 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19266 {
19267 PyThreadState* __tstate = wxPyBeginAllowThreads();
19268 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
19269
19270 wxPyEndAllowThreads(__tstate);
19271 if (PyErr_Occurred()) SWIG_fail;
19272 }
19273 resultobj = result;
19274 return resultobj;
19275 fail:
19276 return NULL;
19277}
19278
19279
c32bde28 19280static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19281 PyObject *resultobj;
19282 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19283 PyObject *arg2 = (PyObject *) 0 ;
19284 PyObject * obj0 = 0 ;
19285 PyObject * obj1 = 0 ;
19286 char *kwnames[] = {
19287 (char *) "self",(char *) "clientData", NULL
19288 };
19289
19290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19291 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19292 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19293 arg2 = obj1;
19294 {
19295 PyThreadState* __tstate = wxPyBeginAllowThreads();
19296 wxToolBarToolBase_SetClientData(arg1,arg2);
19297
19298 wxPyEndAllowThreads(__tstate);
19299 if (PyErr_Occurred()) SWIG_fail;
19300 }
19301 Py_INCREF(Py_None); resultobj = Py_None;
19302 return resultobj;
19303 fail:
19304 return NULL;
19305}
19306
19307
c32bde28 19308static PyObject * ToolBarToolBase_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
19309 PyObject *obj;
19310 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19311 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase, obj);
19312 Py_INCREF(obj);
19313 return Py_BuildValue((char *)"");
19314}
c32bde28 19315static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19316 PyObject *resultobj;
19317 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19318 int arg2 ;
19319 wxString *arg3 = 0 ;
19320 wxBitmap *arg4 = 0 ;
19321 wxBitmap const &arg5_defvalue = wxNullBitmap ;
19322 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
093d3ff1 19323 wxItemKind arg6 = (wxItemKind) wxITEM_NORMAL ;
d14a1e28
RD
19324 wxString const &arg7_defvalue = wxPyEmptyString ;
19325 wxString *arg7 = (wxString *) &arg7_defvalue ;
19326 wxString const &arg8_defvalue = wxPyEmptyString ;
19327 wxString *arg8 = (wxString *) &arg8_defvalue ;
19328 PyObject *arg9 = (PyObject *) NULL ;
19329 wxToolBarToolBase *result;
ae8162c8
RD
19330 bool temp3 = false ;
19331 bool temp7 = false ;
19332 bool temp8 = false ;
d14a1e28 19333 PyObject * obj0 = 0 ;
994141e6 19334 PyObject * obj1 = 0 ;
d14a1e28
RD
19335 PyObject * obj2 = 0 ;
19336 PyObject * obj3 = 0 ;
19337 PyObject * obj4 = 0 ;
994141e6 19338 PyObject * obj5 = 0 ;
d14a1e28
RD
19339 PyObject * obj6 = 0 ;
19340 PyObject * obj7 = 0 ;
19341 PyObject * obj8 = 0 ;
19342 char *kwnames[] = {
19343 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19344 };
19345
994141e6 19346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
19347 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19348 if (SWIG_arg_fail(1)) SWIG_fail;
19349 {
19350 arg2 = (int)(SWIG_As_int(obj1));
19351 if (SWIG_arg_fail(2)) SWIG_fail;
19352 }
d14a1e28
RD
19353 {
19354 arg3 = wxString_in_helper(obj2);
19355 if (arg3 == NULL) SWIG_fail;
ae8162c8 19356 temp3 = true;
d14a1e28 19357 }
093d3ff1
RD
19358 {
19359 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19360 if (SWIG_arg_fail(4)) SWIG_fail;
19361 if (arg4 == NULL) {
19362 SWIG_null_ref("wxBitmap");
19363 }
19364 if (SWIG_arg_fail(4)) SWIG_fail;
d14a1e28
RD
19365 }
19366 if (obj4) {
093d3ff1
RD
19367 {
19368 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19369 if (SWIG_arg_fail(5)) SWIG_fail;
19370 if (arg5 == NULL) {
19371 SWIG_null_ref("wxBitmap");
19372 }
19373 if (SWIG_arg_fail(5)) SWIG_fail;
d14a1e28
RD
19374 }
19375 }
994141e6 19376 if (obj5) {
093d3ff1
RD
19377 {
19378 arg6 = (wxItemKind)(SWIG_As_int(obj5));
19379 if (SWIG_arg_fail(6)) SWIG_fail;
19380 }
994141e6 19381 }
d14a1e28
RD
19382 if (obj6) {
19383 {
19384 arg7 = wxString_in_helper(obj6);
19385 if (arg7 == NULL) SWIG_fail;
ae8162c8 19386 temp7 = true;
d14a1e28
RD
19387 }
19388 }
19389 if (obj7) {
19390 {
19391 arg8 = wxString_in_helper(obj7);
19392 if (arg8 == NULL) SWIG_fail;
ae8162c8 19393 temp8 = true;
d14a1e28
RD
19394 }
19395 }
19396 if (obj8) {
19397 arg9 = obj8;
19398 }
19399 {
19400 PyThreadState* __tstate = wxPyBeginAllowThreads();
19401 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,(wxItemKind )arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
19402
19403 wxPyEndAllowThreads(__tstate);
19404 if (PyErr_Occurred()) SWIG_fail;
19405 }
19406 {
412d302d 19407 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
19408 }
19409 {
19410 if (temp3)
19411 delete arg3;
19412 }
19413 {
19414 if (temp7)
19415 delete arg7;
19416 }
19417 {
19418 if (temp8)
19419 delete arg8;
19420 }
19421 return resultobj;
19422 fail:
19423 {
19424 if (temp3)
19425 delete arg3;
19426 }
19427 {
19428 if (temp7)
19429 delete arg7;
19430 }
19431 {
19432 if (temp8)
19433 delete arg8;
19434 }
19435 return NULL;
19436}
19437
19438
c32bde28 19439static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19440 PyObject *resultobj;
19441 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19442 size_t arg2 ;
19443 int arg3 ;
19444 wxString *arg4 = 0 ;
19445 wxBitmap *arg5 = 0 ;
19446 wxBitmap const &arg6_defvalue = wxNullBitmap ;
19447 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
093d3ff1 19448 wxItemKind arg7 = (wxItemKind) wxITEM_NORMAL ;
d14a1e28
RD
19449 wxString const &arg8_defvalue = wxPyEmptyString ;
19450 wxString *arg8 = (wxString *) &arg8_defvalue ;
19451 wxString const &arg9_defvalue = wxPyEmptyString ;
19452 wxString *arg9 = (wxString *) &arg9_defvalue ;
19453 PyObject *arg10 = (PyObject *) NULL ;
19454 wxToolBarToolBase *result;
ae8162c8
RD
19455 bool temp4 = false ;
19456 bool temp8 = false ;
19457 bool temp9 = false ;
d14a1e28
RD
19458 PyObject * obj0 = 0 ;
19459 PyObject * obj1 = 0 ;
994141e6 19460 PyObject * obj2 = 0 ;
d14a1e28
RD
19461 PyObject * obj3 = 0 ;
19462 PyObject * obj4 = 0 ;
19463 PyObject * obj5 = 0 ;
994141e6 19464 PyObject * obj6 = 0 ;
d14a1e28
RD
19465 PyObject * obj7 = 0 ;
19466 PyObject * obj8 = 0 ;
19467 PyObject * obj9 = 0 ;
19468 char *kwnames[] = {
19469 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19470 };
19471
994141e6 19472 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
19473 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19474 if (SWIG_arg_fail(1)) SWIG_fail;
19475 {
19476 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19477 if (SWIG_arg_fail(2)) SWIG_fail;
19478 }
19479 {
19480 arg3 = (int)(SWIG_As_int(obj2));
19481 if (SWIG_arg_fail(3)) SWIG_fail;
19482 }
d14a1e28
RD
19483 {
19484 arg4 = wxString_in_helper(obj3);
19485 if (arg4 == NULL) SWIG_fail;
ae8162c8 19486 temp4 = true;
d14a1e28 19487 }
093d3ff1
RD
19488 {
19489 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19490 if (SWIG_arg_fail(5)) SWIG_fail;
19491 if (arg5 == NULL) {
19492 SWIG_null_ref("wxBitmap");
19493 }
19494 if (SWIG_arg_fail(5)) SWIG_fail;
d14a1e28
RD
19495 }
19496 if (obj5) {
093d3ff1
RD
19497 {
19498 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19499 if (SWIG_arg_fail(6)) SWIG_fail;
19500 if (arg6 == NULL) {
19501 SWIG_null_ref("wxBitmap");
19502 }
19503 if (SWIG_arg_fail(6)) SWIG_fail;
d14a1e28
RD
19504 }
19505 }
994141e6 19506 if (obj6) {
093d3ff1
RD
19507 {
19508 arg7 = (wxItemKind)(SWIG_As_int(obj6));
19509 if (SWIG_arg_fail(7)) SWIG_fail;
19510 }
994141e6 19511 }
d14a1e28
RD
19512 if (obj7) {
19513 {
19514 arg8 = wxString_in_helper(obj7);
19515 if (arg8 == NULL) SWIG_fail;
ae8162c8 19516 temp8 = true;
d14a1e28
RD
19517 }
19518 }
19519 if (obj8) {
19520 {
19521 arg9 = wxString_in_helper(obj8);
19522 if (arg9 == NULL) SWIG_fail;
ae8162c8 19523 temp9 = true;
d14a1e28
RD
19524 }
19525 }
19526 if (obj9) {
19527 arg10 = obj9;
19528 }
19529 {
19530 PyThreadState* __tstate = wxPyBeginAllowThreads();
19531 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);
19532
19533 wxPyEndAllowThreads(__tstate);
19534 if (PyErr_Occurred()) SWIG_fail;
19535 }
19536 {
412d302d 19537 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
19538 }
19539 {
19540 if (temp4)
19541 delete arg4;
19542 }
19543 {
19544 if (temp8)
19545 delete arg8;
19546 }
19547 {
19548 if (temp9)
19549 delete arg9;
19550 }
19551 return resultobj;
19552 fail:
19553 {
19554 if (temp4)
19555 delete arg4;
19556 }
19557 {
19558 if (temp8)
19559 delete arg8;
19560 }
19561 {
19562 if (temp9)
19563 delete arg9;
19564 }
19565 return NULL;
19566}
19567
19568
c32bde28 19569static PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *, PyObject *args, PyObject *kwargs) {
3a04f143
RD
19570 PyObject *resultobj;
19571 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19572 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
19573 wxToolBarToolBase *result;
19574 PyObject * obj0 = 0 ;
19575 PyObject * obj1 = 0 ;
19576 char *kwnames[] = {
19577 (char *) "self",(char *) "tool", NULL
19578 };
19579
19580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19581 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19582 if (SWIG_arg_fail(1)) SWIG_fail;
19583 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19584 if (SWIG_arg_fail(2)) SWIG_fail;
3a04f143
RD
19585 {
19586 PyThreadState* __tstate = wxPyBeginAllowThreads();
19587 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
19588
19589 wxPyEndAllowThreads(__tstate);
19590 if (PyErr_Occurred()) SWIG_fail;
19591 }
19592 {
412d302d 19593 resultobj = wxPyMake_wxObject(result, 0);
3a04f143
RD
19594 }
19595 return resultobj;
19596 fail:
19597 return NULL;
19598}
19599
19600
c32bde28 19601static PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *, PyObject *args, PyObject *kwargs) {
3a04f143
RD
19602 PyObject *resultobj;
19603 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19604 size_t arg2 ;
19605 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
19606 wxToolBarToolBase *result;
19607 PyObject * obj0 = 0 ;
19608 PyObject * obj1 = 0 ;
19609 PyObject * obj2 = 0 ;
19610 char *kwnames[] = {
19611 (char *) "self",(char *) "pos",(char *) "tool", NULL
19612 };
19613
19614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
19615 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19616 if (SWIG_arg_fail(1)) SWIG_fail;
19617 {
19618 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19619 if (SWIG_arg_fail(2)) SWIG_fail;
19620 }
19621 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19622 if (SWIG_arg_fail(3)) SWIG_fail;
3a04f143
RD
19623 {
19624 PyThreadState* __tstate = wxPyBeginAllowThreads();
19625 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
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_AddControl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19640 PyObject *resultobj;
19641 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19642 wxControl *arg2 = (wxControl *) 0 ;
19643 wxToolBarToolBase *result;
19644 PyObject * obj0 = 0 ;
19645 PyObject * obj1 = 0 ;
19646 char *kwnames[] = {
19647 (char *) "self",(char *) "control", NULL
19648 };
19649
19650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19651 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19652 if (SWIG_arg_fail(1)) SWIG_fail;
19653 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxControl, SWIG_POINTER_EXCEPTION | 0);
19654 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
19655 {
19656 PyThreadState* __tstate = wxPyBeginAllowThreads();
19657 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
19658
19659 wxPyEndAllowThreads(__tstate);
19660 if (PyErr_Occurred()) SWIG_fail;
19661 }
19662 {
412d302d 19663 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
19664 }
19665 return resultobj;
19666 fail:
19667 return NULL;
19668}
19669
19670
c32bde28 19671static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19672 PyObject *resultobj;
19673 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19674 size_t arg2 ;
19675 wxControl *arg3 = (wxControl *) 0 ;
19676 wxToolBarToolBase *result;
19677 PyObject * obj0 = 0 ;
19678 PyObject * obj1 = 0 ;
19679 PyObject * obj2 = 0 ;
19680 char *kwnames[] = {
19681 (char *) "self",(char *) "pos",(char *) "control", NULL
19682 };
19683
19684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
19685 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19686 if (SWIG_arg_fail(1)) SWIG_fail;
19687 {
19688 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19689 if (SWIG_arg_fail(2)) SWIG_fail;
19690 }
19691 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxControl, SWIG_POINTER_EXCEPTION | 0);
19692 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
19693 {
19694 PyThreadState* __tstate = wxPyBeginAllowThreads();
19695 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
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_FindControl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19710 PyObject *resultobj;
19711 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19712 int arg2 ;
19713 wxControl *result;
19714 PyObject * obj0 = 0 ;
994141e6 19715 PyObject * obj1 = 0 ;
d14a1e28
RD
19716 char *kwnames[] = {
19717 (char *) "self",(char *) "id", NULL
19718 };
19719
994141e6 19720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindControl",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19721 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19722 if (SWIG_arg_fail(1)) SWIG_fail;
19723 {
19724 arg2 = (int)(SWIG_As_int(obj1));
19725 if (SWIG_arg_fail(2)) SWIG_fail;
19726 }
d14a1e28
RD
19727 {
19728 PyThreadState* __tstate = wxPyBeginAllowThreads();
19729 result = (wxControl *)(arg1)->FindControl(arg2);
19730
19731 wxPyEndAllowThreads(__tstate);
19732 if (PyErr_Occurred()) SWIG_fail;
19733 }
19734 {
412d302d 19735 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
19736 }
19737 return resultobj;
19738 fail:
19739 return NULL;
19740}
19741
19742
c32bde28 19743static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19744 PyObject *resultobj;
19745 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19746 wxToolBarToolBase *result;
19747 PyObject * obj0 = 0 ;
19748 char *kwnames[] = {
19749 (char *) "self", NULL
19750 };
19751
19752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_AddSeparator",kwnames,&obj0)) goto fail;
093d3ff1
RD
19753 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19754 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19755 {
19756 PyThreadState* __tstate = wxPyBeginAllowThreads();
19757 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
19758
19759 wxPyEndAllowThreads(__tstate);
19760 if (PyErr_Occurred()) SWIG_fail;
19761 }
19762 {
412d302d 19763 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
19764 }
19765 return resultobj;
19766 fail:
19767 return NULL;
19768}
19769
19770
c32bde28 19771static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19772 PyObject *resultobj;
19773 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19774 size_t arg2 ;
19775 wxToolBarToolBase *result;
19776 PyObject * obj0 = 0 ;
19777 PyObject * obj1 = 0 ;
19778 char *kwnames[] = {
19779 (char *) "self",(char *) "pos", NULL
19780 };
19781
19782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19783 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19784 if (SWIG_arg_fail(1)) SWIG_fail;
19785 {
19786 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19787 if (SWIG_arg_fail(2)) SWIG_fail;
19788 }
d14a1e28
RD
19789 {
19790 PyThreadState* __tstate = wxPyBeginAllowThreads();
19791 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
19792
19793 wxPyEndAllowThreads(__tstate);
19794 if (PyErr_Occurred()) SWIG_fail;
19795 }
19796 {
412d302d 19797 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
19798 }
19799 return resultobj;
19800 fail:
19801 return NULL;
19802}
19803
19804
c32bde28 19805static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19806 PyObject *resultobj;
19807 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19808 int arg2 ;
19809 wxToolBarToolBase *result;
19810 PyObject * obj0 = 0 ;
994141e6 19811 PyObject * obj1 = 0 ;
d14a1e28
RD
19812 char *kwnames[] = {
19813 (char *) "self",(char *) "id", NULL
19814 };
19815
994141e6 19816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_RemoveTool",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19817 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19818 if (SWIG_arg_fail(1)) SWIG_fail;
19819 {
19820 arg2 = (int)(SWIG_As_int(obj1));
19821 if (SWIG_arg_fail(2)) SWIG_fail;
19822 }
d14a1e28
RD
19823 {
19824 PyThreadState* __tstate = wxPyBeginAllowThreads();
19825 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
19826
19827 wxPyEndAllowThreads(__tstate);
19828 if (PyErr_Occurred()) SWIG_fail;
19829 }
19830 {
412d302d 19831 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
19832 }
19833 return resultobj;
19834 fail:
19835 return NULL;
19836}
19837
19838
c32bde28 19839static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19840 PyObject *resultobj;
19841 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19842 size_t arg2 ;
19843 bool result;
19844 PyObject * obj0 = 0 ;
19845 PyObject * obj1 = 0 ;
19846 char *kwnames[] = {
19847 (char *) "self",(char *) "pos", NULL
19848 };
19849
19850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19851 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19852 if (SWIG_arg_fail(1)) SWIG_fail;
19853 {
19854 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19855 if (SWIG_arg_fail(2)) SWIG_fail;
19856 }
d14a1e28
RD
19857 {
19858 PyThreadState* __tstate = wxPyBeginAllowThreads();
19859 result = (bool)(arg1)->DeleteToolByPos(arg2);
19860
19861 wxPyEndAllowThreads(__tstate);
19862 if (PyErr_Occurred()) SWIG_fail;
19863 }
4f89f6a3
RD
19864 {
19865 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19866 }
d14a1e28
RD
19867 return resultobj;
19868 fail:
19869 return NULL;
19870}
19871
19872
c32bde28 19873static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19874 PyObject *resultobj;
19875 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19876 int arg2 ;
19877 bool result;
19878 PyObject * obj0 = 0 ;
994141e6 19879 PyObject * obj1 = 0 ;
d14a1e28
RD
19880 char *kwnames[] = {
19881 (char *) "self",(char *) "id", NULL
19882 };
19883
994141e6 19884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteTool",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19885 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19886 if (SWIG_arg_fail(1)) SWIG_fail;
19887 {
19888 arg2 = (int)(SWIG_As_int(obj1));
19889 if (SWIG_arg_fail(2)) SWIG_fail;
19890 }
d14a1e28
RD
19891 {
19892 PyThreadState* __tstate = wxPyBeginAllowThreads();
19893 result = (bool)(arg1)->DeleteTool(arg2);
19894
19895 wxPyEndAllowThreads(__tstate);
19896 if (PyErr_Occurred()) SWIG_fail;
19897 }
4f89f6a3
RD
19898 {
19899 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19900 }
d14a1e28
RD
19901 return resultobj;
19902 fail:
19903 return NULL;
19904}
19905
19906
c32bde28 19907static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19908 PyObject *resultobj;
19909 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19910 PyObject * obj0 = 0 ;
19911 char *kwnames[] = {
19912 (char *) "self", NULL
19913 };
19914
19915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_ClearTools",kwnames,&obj0)) goto fail;
093d3ff1
RD
19916 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19917 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19918 {
19919 PyThreadState* __tstate = wxPyBeginAllowThreads();
19920 (arg1)->ClearTools();
19921
19922 wxPyEndAllowThreads(__tstate);
19923 if (PyErr_Occurred()) SWIG_fail;
19924 }
19925 Py_INCREF(Py_None); resultobj = Py_None;
19926 return resultobj;
19927 fail:
19928 return NULL;
19929}
19930
19931
c32bde28 19932static PyObject *_wrap_ToolBarBase_Realize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19933 PyObject *resultobj;
19934 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19935 bool result;
19936 PyObject * obj0 = 0 ;
19937 char *kwnames[] = {
19938 (char *) "self", NULL
19939 };
19940
19941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_Realize",kwnames,&obj0)) goto fail;
093d3ff1
RD
19942 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19943 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19944 {
19945 PyThreadState* __tstate = wxPyBeginAllowThreads();
19946 result = (bool)(arg1)->Realize();
19947
19948 wxPyEndAllowThreads(__tstate);
19949 if (PyErr_Occurred()) SWIG_fail;
19950 }
4f89f6a3
RD
19951 {
19952 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19953 }
d14a1e28
RD
19954 return resultobj;
19955 fail:
19956 return NULL;
19957}
19958
19959
c32bde28 19960static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19961 PyObject *resultobj;
19962 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19963 int arg2 ;
19964 bool arg3 ;
19965 PyObject * obj0 = 0 ;
994141e6 19966 PyObject * obj1 = 0 ;
d14a1e28
RD
19967 PyObject * obj2 = 0 ;
19968 char *kwnames[] = {
19969 (char *) "self",(char *) "id",(char *) "enable", NULL
19970 };
19971
994141e6 19972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_EnableTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
19973 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19974 if (SWIG_arg_fail(1)) SWIG_fail;
19975 {
19976 arg2 = (int)(SWIG_As_int(obj1));
19977 if (SWIG_arg_fail(2)) SWIG_fail;
19978 }
19979 {
19980 arg3 = (bool)(SWIG_As_bool(obj2));
19981 if (SWIG_arg_fail(3)) SWIG_fail;
19982 }
d14a1e28
RD
19983 {
19984 PyThreadState* __tstate = wxPyBeginAllowThreads();
19985 (arg1)->EnableTool(arg2,arg3);
19986
19987 wxPyEndAllowThreads(__tstate);
19988 if (PyErr_Occurred()) SWIG_fail;
19989 }
19990 Py_INCREF(Py_None); resultobj = Py_None;
19991 return resultobj;
19992 fail:
19993 return NULL;
19994}
19995
19996
c32bde28 19997static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19998 PyObject *resultobj;
19999 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20000 int arg2 ;
20001 bool arg3 ;
20002 PyObject * obj0 = 0 ;
994141e6 20003 PyObject * obj1 = 0 ;
d14a1e28
RD
20004 PyObject * obj2 = 0 ;
20005 char *kwnames[] = {
20006 (char *) "self",(char *) "id",(char *) "toggle", NULL
20007 };
20008
994141e6 20009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_ToggleTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
20010 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20011 if (SWIG_arg_fail(1)) SWIG_fail;
20012 {
20013 arg2 = (int)(SWIG_As_int(obj1));
20014 if (SWIG_arg_fail(2)) SWIG_fail;
20015 }
20016 {
20017 arg3 = (bool)(SWIG_As_bool(obj2));
20018 if (SWIG_arg_fail(3)) SWIG_fail;
20019 }
d14a1e28
RD
20020 {
20021 PyThreadState* __tstate = wxPyBeginAllowThreads();
20022 (arg1)->ToggleTool(arg2,arg3);
20023
20024 wxPyEndAllowThreads(__tstate);
20025 if (PyErr_Occurred()) SWIG_fail;
20026 }
20027 Py_INCREF(Py_None); resultobj = Py_None;
20028 return resultobj;
20029 fail:
20030 return NULL;
20031}
20032
20033
c32bde28 20034static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20035 PyObject *resultobj;
20036 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20037 int arg2 ;
20038 bool arg3 ;
20039 PyObject * obj0 = 0 ;
994141e6 20040 PyObject * obj1 = 0 ;
d14a1e28
RD
20041 PyObject * obj2 = 0 ;
20042 char *kwnames[] = {
20043 (char *) "self",(char *) "id",(char *) "toggle", NULL
20044 };
20045
994141e6 20046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToggle",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
20047 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20048 if (SWIG_arg_fail(1)) SWIG_fail;
20049 {
20050 arg2 = (int)(SWIG_As_int(obj1));
20051 if (SWIG_arg_fail(2)) SWIG_fail;
20052 }
20053 {
20054 arg3 = (bool)(SWIG_As_bool(obj2));
20055 if (SWIG_arg_fail(3)) SWIG_fail;
20056 }
d14a1e28
RD
20057 {
20058 PyThreadState* __tstate = wxPyBeginAllowThreads();
20059 (arg1)->SetToggle(arg2,arg3);
20060
20061 wxPyEndAllowThreads(__tstate);
20062 if (PyErr_Occurred()) SWIG_fail;
20063 }
20064 Py_INCREF(Py_None); resultobj = Py_None;
20065 return resultobj;
20066 fail:
20067 return NULL;
20068}
20069
20070
c32bde28 20071static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20072 PyObject *resultobj;
20073 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20074 int arg2 ;
20075 PyObject *result;
20076 PyObject * obj0 = 0 ;
994141e6 20077 PyObject * obj1 = 0 ;
d14a1e28
RD
20078 char *kwnames[] = {
20079 (char *) "self",(char *) "id", NULL
20080 };
20081
994141e6 20082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolClientData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20083 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20084 if (SWIG_arg_fail(1)) SWIG_fail;
20085 {
20086 arg2 = (int)(SWIG_As_int(obj1));
20087 if (SWIG_arg_fail(2)) SWIG_fail;
20088 }
d14a1e28
RD
20089 {
20090 PyThreadState* __tstate = wxPyBeginAllowThreads();
20091 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
20092
20093 wxPyEndAllowThreads(__tstate);
20094 if (PyErr_Occurred()) SWIG_fail;
20095 }
20096 resultobj = result;
20097 return resultobj;
20098 fail:
20099 return NULL;
20100}
20101
20102
c32bde28 20103static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20104 PyObject *resultobj;
20105 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20106 int arg2 ;
20107 PyObject *arg3 = (PyObject *) 0 ;
20108 PyObject * obj0 = 0 ;
994141e6 20109 PyObject * obj1 = 0 ;
d14a1e28
RD
20110 PyObject * obj2 = 0 ;
20111 char *kwnames[] = {
20112 (char *) "self",(char *) "id",(char *) "clientData", NULL
20113 };
20114
994141e6 20115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
20116 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20117 if (SWIG_arg_fail(1)) SWIG_fail;
20118 {
20119 arg2 = (int)(SWIG_As_int(obj1));
20120 if (SWIG_arg_fail(2)) SWIG_fail;
20121 }
d14a1e28
RD
20122 arg3 = obj2;
20123 {
20124 PyThreadState* __tstate = wxPyBeginAllowThreads();
20125 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
20126
20127 wxPyEndAllowThreads(__tstate);
20128 if (PyErr_Occurred()) SWIG_fail;
20129 }
20130 Py_INCREF(Py_None); resultobj = Py_None;
20131 return resultobj;
20132 fail:
20133 return NULL;
20134}
20135
20136
c32bde28 20137static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20138 PyObject *resultobj;
20139 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20140 int arg2 ;
20141 int result;
20142 PyObject * obj0 = 0 ;
994141e6 20143 PyObject * obj1 = 0 ;
d14a1e28
RD
20144 char *kwnames[] = {
20145 (char *) "self",(char *) "id", NULL
20146 };
20147
994141e6 20148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolPos",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20149 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20150 if (SWIG_arg_fail(1)) SWIG_fail;
20151 {
20152 arg2 = (int)(SWIG_As_int(obj1));
20153 if (SWIG_arg_fail(2)) SWIG_fail;
20154 }
d14a1e28
RD
20155 {
20156 PyThreadState* __tstate = wxPyBeginAllowThreads();
20157 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
20158
20159 wxPyEndAllowThreads(__tstate);
20160 if (PyErr_Occurred()) SWIG_fail;
20161 }
093d3ff1
RD
20162 {
20163 resultobj = SWIG_From_int((int)(result));
20164 }
d14a1e28
RD
20165 return resultobj;
20166 fail:
20167 return NULL;
20168}
20169
20170
c32bde28 20171static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20172 PyObject *resultobj;
20173 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20174 int arg2 ;
20175 bool result;
20176 PyObject * obj0 = 0 ;
994141e6 20177 PyObject * obj1 = 0 ;
d14a1e28
RD
20178 char *kwnames[] = {
20179 (char *) "self",(char *) "id", NULL
20180 };
20181
994141e6 20182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolState",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20183 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20184 if (SWIG_arg_fail(1)) SWIG_fail;
20185 {
20186 arg2 = (int)(SWIG_As_int(obj1));
20187 if (SWIG_arg_fail(2)) SWIG_fail;
20188 }
d14a1e28
RD
20189 {
20190 PyThreadState* __tstate = wxPyBeginAllowThreads();
20191 result = (bool)(arg1)->GetToolState(arg2);
20192
20193 wxPyEndAllowThreads(__tstate);
20194 if (PyErr_Occurred()) SWIG_fail;
20195 }
4f89f6a3
RD
20196 {
20197 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20198 }
d14a1e28
RD
20199 return resultobj;
20200 fail:
20201 return NULL;
20202}
20203
20204
c32bde28 20205static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20206 PyObject *resultobj;
20207 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20208 int arg2 ;
20209 bool result;
20210 PyObject * obj0 = 0 ;
994141e6 20211 PyObject * obj1 = 0 ;
d14a1e28
RD
20212 char *kwnames[] = {
20213 (char *) "self",(char *) "id", NULL
20214 };
20215
994141e6 20216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20217 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20218 if (SWIG_arg_fail(1)) SWIG_fail;
20219 {
20220 arg2 = (int)(SWIG_As_int(obj1));
20221 if (SWIG_arg_fail(2)) SWIG_fail;
20222 }
d14a1e28
RD
20223 {
20224 PyThreadState* __tstate = wxPyBeginAllowThreads();
20225 result = (bool)(arg1)->GetToolEnabled(arg2);
20226
20227 wxPyEndAllowThreads(__tstate);
20228 if (PyErr_Occurred()) SWIG_fail;
20229 }
4f89f6a3
RD
20230 {
20231 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20232 }
d14a1e28
RD
20233 return resultobj;
20234 fail:
20235 return NULL;
20236}
20237
20238
c32bde28 20239static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20240 PyObject *resultobj;
20241 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20242 int arg2 ;
20243 wxString *arg3 = 0 ;
ae8162c8 20244 bool temp3 = false ;
d14a1e28 20245 PyObject * obj0 = 0 ;
994141e6 20246 PyObject * obj1 = 0 ;
d14a1e28
RD
20247 PyObject * obj2 = 0 ;
20248 char *kwnames[] = {
20249 (char *) "self",(char *) "id",(char *) "helpString", NULL
20250 };
20251
994141e6 20252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
20253 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20254 if (SWIG_arg_fail(1)) SWIG_fail;
20255 {
20256 arg2 = (int)(SWIG_As_int(obj1));
20257 if (SWIG_arg_fail(2)) SWIG_fail;
20258 }
d14a1e28
RD
20259 {
20260 arg3 = wxString_in_helper(obj2);
20261 if (arg3 == NULL) SWIG_fail;
ae8162c8 20262 temp3 = true;
d14a1e28
RD
20263 }
20264 {
20265 PyThreadState* __tstate = wxPyBeginAllowThreads();
20266 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
20267
20268 wxPyEndAllowThreads(__tstate);
20269 if (PyErr_Occurred()) SWIG_fail;
20270 }
20271 Py_INCREF(Py_None); resultobj = Py_None;
20272 {
20273 if (temp3)
20274 delete arg3;
20275 }
20276 return resultobj;
20277 fail:
20278 {
20279 if (temp3)
20280 delete arg3;
20281 }
20282 return NULL;
20283}
20284
20285
c32bde28 20286static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20287 PyObject *resultobj;
20288 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20289 int arg2 ;
20290 wxString result;
20291 PyObject * obj0 = 0 ;
994141e6 20292 PyObject * obj1 = 0 ;
d14a1e28
RD
20293 char *kwnames[] = {
20294 (char *) "self",(char *) "id", NULL
20295 };
20296
994141e6 20297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20298 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20299 if (SWIG_arg_fail(1)) SWIG_fail;
20300 {
20301 arg2 = (int)(SWIG_As_int(obj1));
20302 if (SWIG_arg_fail(2)) SWIG_fail;
20303 }
d14a1e28
RD
20304 {
20305 PyThreadState* __tstate = wxPyBeginAllowThreads();
20306 result = (arg1)->GetToolShortHelp(arg2);
20307
20308 wxPyEndAllowThreads(__tstate);
20309 if (PyErr_Occurred()) SWIG_fail;
20310 }
20311 {
20312#if wxUSE_UNICODE
20313 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20314#else
20315 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20316#endif
20317 }
20318 return resultobj;
20319 fail:
20320 return NULL;
20321}
20322
20323
c32bde28 20324static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20325 PyObject *resultobj;
20326 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20327 int arg2 ;
20328 wxString *arg3 = 0 ;
ae8162c8 20329 bool temp3 = false ;
d14a1e28 20330 PyObject * obj0 = 0 ;
994141e6 20331 PyObject * obj1 = 0 ;
d14a1e28
RD
20332 PyObject * obj2 = 0 ;
20333 char *kwnames[] = {
20334 (char *) "self",(char *) "id",(char *) "helpString", NULL
20335 };
20336
994141e6 20337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
20338 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20339 if (SWIG_arg_fail(1)) SWIG_fail;
20340 {
20341 arg2 = (int)(SWIG_As_int(obj1));
20342 if (SWIG_arg_fail(2)) SWIG_fail;
20343 }
d14a1e28
RD
20344 {
20345 arg3 = wxString_in_helper(obj2);
20346 if (arg3 == NULL) SWIG_fail;
ae8162c8 20347 temp3 = true;
d14a1e28
RD
20348 }
20349 {
20350 PyThreadState* __tstate = wxPyBeginAllowThreads();
20351 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
20352
20353 wxPyEndAllowThreads(__tstate);
20354 if (PyErr_Occurred()) SWIG_fail;
20355 }
20356 Py_INCREF(Py_None); resultobj = Py_None;
20357 {
20358 if (temp3)
20359 delete arg3;
20360 }
20361 return resultobj;
20362 fail:
20363 {
20364 if (temp3)
20365 delete arg3;
20366 }
20367 return NULL;
20368}
20369
20370
c32bde28 20371static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20372 PyObject *resultobj;
20373 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20374 int arg2 ;
20375 wxString result;
20376 PyObject * obj0 = 0 ;
994141e6 20377 PyObject * obj1 = 0 ;
d14a1e28
RD
20378 char *kwnames[] = {
20379 (char *) "self",(char *) "id", NULL
20380 };
20381
994141e6 20382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20383 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20384 if (SWIG_arg_fail(1)) SWIG_fail;
20385 {
20386 arg2 = (int)(SWIG_As_int(obj1));
20387 if (SWIG_arg_fail(2)) SWIG_fail;
20388 }
d14a1e28
RD
20389 {
20390 PyThreadState* __tstate = wxPyBeginAllowThreads();
20391 result = (arg1)->GetToolLongHelp(arg2);
20392
20393 wxPyEndAllowThreads(__tstate);
20394 if (PyErr_Occurred()) SWIG_fail;
20395 }
20396 {
20397#if wxUSE_UNICODE
20398 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20399#else
20400 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20401#endif
20402 }
20403 return resultobj;
20404 fail:
20405 return NULL;
20406}
20407
20408
c32bde28 20409static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20410 PyObject *resultobj;
20411 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20412 int arg2 ;
20413 int arg3 ;
20414 PyObject * obj0 = 0 ;
994141e6
RD
20415 PyObject * obj1 = 0 ;
20416 PyObject * obj2 = 0 ;
d14a1e28
RD
20417 char *kwnames[] = {
20418 (char *) "self",(char *) "x",(char *) "y", NULL
20419 };
20420
994141e6 20421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
20422 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20423 if (SWIG_arg_fail(1)) SWIG_fail;
20424 {
20425 arg2 = (int)(SWIG_As_int(obj1));
20426 if (SWIG_arg_fail(2)) SWIG_fail;
20427 }
20428 {
20429 arg3 = (int)(SWIG_As_int(obj2));
20430 if (SWIG_arg_fail(3)) SWIG_fail;
20431 }
d14a1e28
RD
20432 {
20433 PyThreadState* __tstate = wxPyBeginAllowThreads();
20434 (arg1)->SetMargins(arg2,arg3);
20435
20436 wxPyEndAllowThreads(__tstate);
20437 if (PyErr_Occurred()) SWIG_fail;
20438 }
20439 Py_INCREF(Py_None); resultobj = Py_None;
20440 return resultobj;
20441 fail:
20442 return NULL;
20443}
20444
20445
c32bde28 20446static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20447 PyObject *resultobj;
20448 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20449 wxSize *arg2 = 0 ;
20450 wxSize temp2 ;
20451 PyObject * obj0 = 0 ;
20452 PyObject * obj1 = 0 ;
20453 char *kwnames[] = {
20454 (char *) "self",(char *) "size", NULL
20455 };
20456
20457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20458 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20459 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20460 {
20461 arg2 = &temp2;
20462 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20463 }
20464 {
20465 PyThreadState* __tstate = wxPyBeginAllowThreads();
20466 (arg1)->SetMargins((wxSize const &)*arg2);
20467
20468 wxPyEndAllowThreads(__tstate);
20469 if (PyErr_Occurred()) SWIG_fail;
20470 }
20471 Py_INCREF(Py_None); resultobj = Py_None;
20472 return resultobj;
20473 fail:
20474 return NULL;
20475}
20476
20477
c32bde28 20478static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20479 PyObject *resultobj;
20480 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20481 int arg2 ;
20482 PyObject * obj0 = 0 ;
994141e6 20483 PyObject * obj1 = 0 ;
d14a1e28
RD
20484 char *kwnames[] = {
20485 (char *) "self",(char *) "packing", NULL
20486 };
20487
994141e6 20488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolPacking",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20489 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20490 if (SWIG_arg_fail(1)) SWIG_fail;
20491 {
20492 arg2 = (int)(SWIG_As_int(obj1));
20493 if (SWIG_arg_fail(2)) SWIG_fail;
20494 }
d14a1e28
RD
20495 {
20496 PyThreadState* __tstate = wxPyBeginAllowThreads();
20497 (arg1)->SetToolPacking(arg2);
20498
20499 wxPyEndAllowThreads(__tstate);
20500 if (PyErr_Occurred()) SWIG_fail;
20501 }
20502 Py_INCREF(Py_None); resultobj = Py_None;
20503 return resultobj;
20504 fail:
20505 return NULL;
20506}
20507
20508
c32bde28 20509static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20510 PyObject *resultobj;
20511 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20512 int arg2 ;
20513 PyObject * obj0 = 0 ;
994141e6 20514 PyObject * obj1 = 0 ;
d14a1e28
RD
20515 char *kwnames[] = {
20516 (char *) "self",(char *) "separation", NULL
20517 };
20518
994141e6 20519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20520 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20521 if (SWIG_arg_fail(1)) SWIG_fail;
20522 {
20523 arg2 = (int)(SWIG_As_int(obj1));
20524 if (SWIG_arg_fail(2)) SWIG_fail;
20525 }
d14a1e28
RD
20526 {
20527 PyThreadState* __tstate = wxPyBeginAllowThreads();
20528 (arg1)->SetToolSeparation(arg2);
20529
20530 wxPyEndAllowThreads(__tstate);
20531 if (PyErr_Occurred()) SWIG_fail;
20532 }
20533 Py_INCREF(Py_None); resultobj = Py_None;
20534 return resultobj;
20535 fail:
20536 return NULL;
20537}
20538
20539
c32bde28 20540static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20541 PyObject *resultobj;
20542 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20543 wxSize result;
20544 PyObject * obj0 = 0 ;
20545 char *kwnames[] = {
20546 (char *) "self", NULL
20547 };
20548
20549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolMargins",kwnames,&obj0)) goto fail;
093d3ff1
RD
20550 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20551 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20552 {
20553 PyThreadState* __tstate = wxPyBeginAllowThreads();
20554 result = (arg1)->GetToolMargins();
20555
20556 wxPyEndAllowThreads(__tstate);
20557 if (PyErr_Occurred()) SWIG_fail;
20558 }
20559 {
20560 wxSize * resultptr;
093d3ff1 20561 resultptr = new wxSize((wxSize &)(result));
15afbcd0 20562 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
20563 }
20564 return resultobj;
20565 fail:
20566 return NULL;
20567}
20568
20569
c32bde28 20570static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20571 PyObject *resultobj;
20572 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20573 wxSize result;
20574 PyObject * obj0 = 0 ;
20575 char *kwnames[] = {
20576 (char *) "self", NULL
20577 };
20578
20579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMargins",kwnames,&obj0)) goto fail;
093d3ff1
RD
20580 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20581 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20582 {
20583 PyThreadState* __tstate = wxPyBeginAllowThreads();
20584 result = (arg1)->GetMargins();
20585
20586 wxPyEndAllowThreads(__tstate);
20587 if (PyErr_Occurred()) SWIG_fail;
20588 }
20589 {
20590 wxSize * resultptr;
093d3ff1 20591 resultptr = new wxSize((wxSize &)(result));
15afbcd0 20592 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
20593 }
20594 return resultobj;
20595 fail:
20596 return NULL;
20597}
20598
20599
c32bde28 20600static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20601 PyObject *resultobj;
20602 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20603 int result;
20604 PyObject * obj0 = 0 ;
20605 char *kwnames[] = {
20606 (char *) "self", NULL
20607 };
20608
20609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolPacking",kwnames,&obj0)) goto fail;
093d3ff1
RD
20610 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20611 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20612 {
20613 PyThreadState* __tstate = wxPyBeginAllowThreads();
20614 result = (int)(arg1)->GetToolPacking();
20615
20616 wxPyEndAllowThreads(__tstate);
20617 if (PyErr_Occurred()) SWIG_fail;
20618 }
093d3ff1
RD
20619 {
20620 resultobj = SWIG_From_int((int)(result));
20621 }
d14a1e28
RD
20622 return resultobj;
20623 fail:
20624 return NULL;
20625}
20626
20627
c32bde28 20628static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20629 PyObject *resultobj;
20630 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20631 int result;
20632 PyObject * obj0 = 0 ;
20633 char *kwnames[] = {
20634 (char *) "self", NULL
20635 };
20636
20637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSeparation",kwnames,&obj0)) goto fail;
093d3ff1
RD
20638 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20639 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20640 {
20641 PyThreadState* __tstate = wxPyBeginAllowThreads();
20642 result = (int)(arg1)->GetToolSeparation();
20643
20644 wxPyEndAllowThreads(__tstate);
20645 if (PyErr_Occurred()) SWIG_fail;
20646 }
093d3ff1
RD
20647 {
20648 resultobj = SWIG_From_int((int)(result));
20649 }
d14a1e28
RD
20650 return resultobj;
20651 fail:
20652 return NULL;
20653}
20654
20655
c32bde28 20656static PyObject *_wrap_ToolBarBase_SetRows(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20657 PyObject *resultobj;
20658 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20659 int arg2 ;
20660 PyObject * obj0 = 0 ;
994141e6 20661 PyObject * obj1 = 0 ;
d14a1e28
RD
20662 char *kwnames[] = {
20663 (char *) "self",(char *) "nRows", NULL
20664 };
20665
994141e6 20666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetRows",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20667 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20668 if (SWIG_arg_fail(1)) SWIG_fail;
20669 {
20670 arg2 = (int)(SWIG_As_int(obj1));
20671 if (SWIG_arg_fail(2)) SWIG_fail;
20672 }
d14a1e28
RD
20673 {
20674 PyThreadState* __tstate = wxPyBeginAllowThreads();
20675 (arg1)->SetRows(arg2);
20676
20677 wxPyEndAllowThreads(__tstate);
20678 if (PyErr_Occurred()) SWIG_fail;
20679 }
20680 Py_INCREF(Py_None); resultobj = Py_None;
20681 return resultobj;
20682 fail:
20683 return NULL;
20684}
20685
20686
c32bde28 20687static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20688 PyObject *resultobj;
20689 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20690 int arg2 ;
20691 int arg3 ;
20692 PyObject * obj0 = 0 ;
994141e6
RD
20693 PyObject * obj1 = 0 ;
20694 PyObject * obj2 = 0 ;
d14a1e28
RD
20695 char *kwnames[] = {
20696 (char *) "self",(char *) "rows",(char *) "cols", NULL
20697 };
20698
994141e6 20699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
20700 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20701 if (SWIG_arg_fail(1)) SWIG_fail;
20702 {
20703 arg2 = (int)(SWIG_As_int(obj1));
20704 if (SWIG_arg_fail(2)) SWIG_fail;
20705 }
20706 {
20707 arg3 = (int)(SWIG_As_int(obj2));
20708 if (SWIG_arg_fail(3)) SWIG_fail;
20709 }
d14a1e28
RD
20710 {
20711 PyThreadState* __tstate = wxPyBeginAllowThreads();
20712 (arg1)->SetMaxRowsCols(arg2,arg3);
20713
20714 wxPyEndAllowThreads(__tstate);
20715 if (PyErr_Occurred()) SWIG_fail;
20716 }
20717 Py_INCREF(Py_None); resultobj = Py_None;
20718 return resultobj;
20719 fail:
20720 return NULL;
20721}
20722
20723
c32bde28 20724static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20725 PyObject *resultobj;
20726 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20727 int result;
20728 PyObject * obj0 = 0 ;
20729 char *kwnames[] = {
20730 (char *) "self", NULL
20731 };
20732
20733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxRows",kwnames,&obj0)) goto fail;
093d3ff1
RD
20734 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20735 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20736 {
20737 PyThreadState* __tstate = wxPyBeginAllowThreads();
20738 result = (int)(arg1)->GetMaxRows();
20739
20740 wxPyEndAllowThreads(__tstate);
20741 if (PyErr_Occurred()) SWIG_fail;
20742 }
093d3ff1
RD
20743 {
20744 resultobj = SWIG_From_int((int)(result));
20745 }
d14a1e28
RD
20746 return resultobj;
20747 fail:
20748 return NULL;
20749}
20750
20751
c32bde28 20752static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20753 PyObject *resultobj;
20754 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20755 int result;
20756 PyObject * obj0 = 0 ;
20757 char *kwnames[] = {
20758 (char *) "self", NULL
20759 };
20760
20761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxCols",kwnames,&obj0)) goto fail;
093d3ff1
RD
20762 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20763 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20764 {
20765 PyThreadState* __tstate = wxPyBeginAllowThreads();
20766 result = (int)(arg1)->GetMaxCols();
20767
20768 wxPyEndAllowThreads(__tstate);
20769 if (PyErr_Occurred()) SWIG_fail;
20770 }
093d3ff1
RD
20771 {
20772 resultobj = SWIG_From_int((int)(result));
20773 }
d14a1e28
RD
20774 return resultobj;
20775 fail:
20776 return NULL;
20777}
20778
20779
c32bde28 20780static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20781 PyObject *resultobj;
20782 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20783 wxSize *arg2 = 0 ;
20784 wxSize temp2 ;
20785 PyObject * obj0 = 0 ;
20786 PyObject * obj1 = 0 ;
20787 char *kwnames[] = {
20788 (char *) "self",(char *) "size", NULL
20789 };
20790
20791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20792 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20793 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20794 {
20795 arg2 = &temp2;
20796 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20797 }
20798 {
20799 PyThreadState* __tstate = wxPyBeginAllowThreads();
20800 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
20801
20802 wxPyEndAllowThreads(__tstate);
20803 if (PyErr_Occurred()) SWIG_fail;
20804 }
20805 Py_INCREF(Py_None); resultobj = Py_None;
20806 return resultobj;
20807 fail:
20808 return NULL;
20809}
20810
20811
c32bde28 20812static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20813 PyObject *resultobj;
20814 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20815 wxSize result;
20816 PyObject * obj0 = 0 ;
20817 char *kwnames[] = {
20818 (char *) "self", NULL
20819 };
20820
20821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
20822 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20823 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20824 {
20825 PyThreadState* __tstate = wxPyBeginAllowThreads();
20826 result = (arg1)->GetToolBitmapSize();
20827
20828 wxPyEndAllowThreads(__tstate);
20829 if (PyErr_Occurred()) SWIG_fail;
20830 }
20831 {
20832 wxSize * resultptr;
093d3ff1 20833 resultptr = new wxSize((wxSize &)(result));
15afbcd0 20834 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
20835 }
20836 return resultobj;
20837 fail:
20838 return NULL;
20839}
20840
20841
c32bde28 20842static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20843 PyObject *resultobj;
20844 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20845 wxSize result;
20846 PyObject * obj0 = 0 ;
20847 char *kwnames[] = {
20848 (char *) "self", NULL
20849 };
20850
20851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
20852 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20853 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20854 {
20855 PyThreadState* __tstate = wxPyBeginAllowThreads();
20856 result = (arg1)->GetToolSize();
20857
20858 wxPyEndAllowThreads(__tstate);
20859 if (PyErr_Occurred()) SWIG_fail;
20860 }
20861 {
20862 wxSize * resultptr;
093d3ff1 20863 resultptr = new wxSize((wxSize &)(result));
15afbcd0 20864 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
20865 }
20866 return resultobj;
20867 fail:
20868 return NULL;
20869}
20870
20871
c32bde28 20872static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20873 PyObject *resultobj;
20874 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
e811c8ce
RD
20875 int arg2 ;
20876 int arg3 ;
d14a1e28
RD
20877 wxToolBarToolBase *result;
20878 PyObject * obj0 = 0 ;
994141e6
RD
20879 PyObject * obj1 = 0 ;
20880 PyObject * obj2 = 0 ;
d14a1e28
RD
20881 char *kwnames[] = {
20882 (char *) "self",(char *) "x",(char *) "y", NULL
20883 };
20884
994141e6 20885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
20886 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20887 if (SWIG_arg_fail(1)) SWIG_fail;
20888 {
20889 arg2 = (int)(SWIG_As_int(obj1));
20890 if (SWIG_arg_fail(2)) SWIG_fail;
20891 }
20892 {
20893 arg3 = (int)(SWIG_As_int(obj2));
20894 if (SWIG_arg_fail(3)) SWIG_fail;
20895 }
d14a1e28
RD
20896 {
20897 PyThreadState* __tstate = wxPyBeginAllowThreads();
20898 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
20899
20900 wxPyEndAllowThreads(__tstate);
20901 if (PyErr_Occurred()) SWIG_fail;
20902 }
20903 {
412d302d 20904 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
20905 }
20906 return resultobj;
20907 fail:
20908 return NULL;
20909}
20910
20911
c32bde28 20912static PyObject *_wrap_ToolBarBase_FindById(PyObject *, PyObject *args, PyObject *kwargs) {
3a04f143
RD
20913 PyObject *resultobj;
20914 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20915 int arg2 ;
20916 wxToolBarToolBase *result;
20917 PyObject * obj0 = 0 ;
994141e6 20918 PyObject * obj1 = 0 ;
3a04f143
RD
20919 char *kwnames[] = {
20920 (char *) "self",(char *) "toolid", NULL
20921 };
20922
994141e6 20923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindById",kwnames,&obj0,&obj1)) 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 }
3a04f143
RD
20930 {
20931 PyThreadState* __tstate = wxPyBeginAllowThreads();
20932 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
20933
20934 wxPyEndAllowThreads(__tstate);
20935 if (PyErr_Occurred()) SWIG_fail;
20936 }
20937 {
412d302d 20938 resultobj = wxPyMake_wxObject(result, 0);
3a04f143
RD
20939 }
20940 return resultobj;
20941 fail:
20942 return NULL;
20943}
20944
20945
c32bde28 20946static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20947 PyObject *resultobj;
20948 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20949 bool result;
20950 PyObject * obj0 = 0 ;
20951 char *kwnames[] = {
20952 (char *) "self", NULL
20953 };
20954
20955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_IsVertical",kwnames,&obj0)) goto fail;
093d3ff1
RD
20956 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20957 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20958 {
20959 PyThreadState* __tstate = wxPyBeginAllowThreads();
20960 result = (bool)(arg1)->IsVertical();
20961
20962 wxPyEndAllowThreads(__tstate);
20963 if (PyErr_Occurred()) SWIG_fail;
20964 }
4f89f6a3
RD
20965 {
20966 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20967 }
d14a1e28
RD
20968 return resultobj;
20969 fail:
20970 return NULL;
20971}
20972
20973
c32bde28 20974static PyObject * ToolBarBase_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
20975 PyObject *obj;
20976 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20977 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase, obj);
20978 Py_INCREF(obj);
20979 return Py_BuildValue((char *)"");
20980}
c32bde28 20981static PyObject *_wrap_new_ToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20982 PyObject *resultobj;
20983 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 20984 int arg2 = (int) -1 ;
d14a1e28
RD
20985 wxPoint const &arg3_defvalue = wxDefaultPosition ;
20986 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
20987 wxSize const &arg4_defvalue = wxDefaultSize ;
20988 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
20989 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
20990 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
20991 wxString *arg6 = (wxString *) &arg6_defvalue ;
20992 wxToolBar *result;
20993 wxPoint temp3 ;
20994 wxSize temp4 ;
ae8162c8 20995 bool temp6 = false ;
d14a1e28 20996 PyObject * obj0 = 0 ;
994141e6 20997 PyObject * obj1 = 0 ;
d14a1e28
RD
20998 PyObject * obj2 = 0 ;
20999 PyObject * obj3 = 0 ;
994141e6 21000 PyObject * obj4 = 0 ;
d14a1e28
RD
21001 PyObject * obj5 = 0 ;
21002 char *kwnames[] = {
21003 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21004 };
21005
248ed943 21006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ToolBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
21007 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
21008 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 21009 if (obj1) {
093d3ff1
RD
21010 {
21011 arg2 = (int)(SWIG_As_int(obj1));
21012 if (SWIG_arg_fail(2)) SWIG_fail;
21013 }
248ed943 21014 }
d14a1e28
RD
21015 if (obj2) {
21016 {
21017 arg3 = &temp3;
21018 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21019 }
21020 }
21021 if (obj3) {
21022 {
21023 arg4 = &temp4;
21024 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21025 }
21026 }
994141e6 21027 if (obj4) {
093d3ff1
RD
21028 {
21029 arg5 = (long)(SWIG_As_long(obj4));
21030 if (SWIG_arg_fail(5)) SWIG_fail;
21031 }
994141e6 21032 }
d14a1e28
RD
21033 if (obj5) {
21034 {
21035 arg6 = wxString_in_helper(obj5);
21036 if (arg6 == NULL) SWIG_fail;
ae8162c8 21037 temp6 = true;
d14a1e28
RD
21038 }
21039 }
21040 {
e3b71cb8 21041 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
21042 PyThreadState* __tstate = wxPyBeginAllowThreads();
21043 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21044
21045 wxPyEndAllowThreads(__tstate);
110da5b0 21046 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 21047 }
b0f7404b 21048 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolBar, 1);
d14a1e28
RD
21049 {
21050 if (temp6)
21051 delete arg6;
21052 }
21053 return resultobj;
21054 fail:
21055 {
21056 if (temp6)
21057 delete arg6;
21058 }
21059 return NULL;
21060}
21061
21062
c32bde28 21063static PyObject *_wrap_new_PreToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21064 PyObject *resultobj;
21065 wxToolBar *result;
21066 char *kwnames[] = {
21067 NULL
21068 };
21069
21070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolBar",kwnames)) goto fail;
21071 {
e3b71cb8 21072 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
21073 PyThreadState* __tstate = wxPyBeginAllowThreads();
21074 result = (wxToolBar *)new wxToolBar();
21075
21076 wxPyEndAllowThreads(__tstate);
110da5b0 21077 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 21078 }
b0f7404b 21079 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolBar, 1);
d14a1e28
RD
21080 return resultobj;
21081 fail:
21082 return NULL;
21083}
21084
21085
c32bde28 21086static PyObject *_wrap_ToolBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21087 PyObject *resultobj;
21088 wxToolBar *arg1 = (wxToolBar *) 0 ;
21089 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 21090 int arg3 = (int) -1 ;
d14a1e28
RD
21091 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21092 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21093 wxSize const &arg5_defvalue = wxDefaultSize ;
21094 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21095 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
21096 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
21097 wxString *arg7 = (wxString *) &arg7_defvalue ;
21098 bool result;
21099 wxPoint temp4 ;
21100 wxSize temp5 ;
ae8162c8 21101 bool temp7 = false ;
d14a1e28
RD
21102 PyObject * obj0 = 0 ;
21103 PyObject * obj1 = 0 ;
994141e6 21104 PyObject * obj2 = 0 ;
d14a1e28
RD
21105 PyObject * obj3 = 0 ;
21106 PyObject * obj4 = 0 ;
994141e6 21107 PyObject * obj5 = 0 ;
d14a1e28
RD
21108 PyObject * obj6 = 0 ;
21109 char *kwnames[] = {
21110 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21111 };
21112
248ed943 21113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ToolBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
21114 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0);
21115 if (SWIG_arg_fail(1)) SWIG_fail;
21116 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
21117 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 21118 if (obj2) {
093d3ff1
RD
21119 {
21120 arg3 = (int)(SWIG_As_int(obj2));
21121 if (SWIG_arg_fail(3)) SWIG_fail;
21122 }
248ed943 21123 }
d14a1e28
RD
21124 if (obj3) {
21125 {
21126 arg4 = &temp4;
21127 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21128 }
21129 }
21130 if (obj4) {
21131 {
21132 arg5 = &temp5;
21133 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21134 }
21135 }
994141e6 21136 if (obj5) {
093d3ff1
RD
21137 {
21138 arg6 = (long)(SWIG_As_long(obj5));
21139 if (SWIG_arg_fail(6)) SWIG_fail;
21140 }
994141e6 21141 }
d14a1e28
RD
21142 if (obj6) {
21143 {
21144 arg7 = wxString_in_helper(obj6);
21145 if (arg7 == NULL) SWIG_fail;
ae8162c8 21146 temp7 = true;
d14a1e28
RD
21147 }
21148 }
21149 {
21150 PyThreadState* __tstate = wxPyBeginAllowThreads();
21151 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21152
21153 wxPyEndAllowThreads(__tstate);
21154 if (PyErr_Occurred()) SWIG_fail;
21155 }
4f89f6a3
RD
21156 {
21157 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21158 }
d14a1e28
RD
21159 {
21160 if (temp7)
21161 delete arg7;
21162 }
21163 return resultobj;
21164 fail:
21165 {
21166 if (temp7)
21167 delete arg7;
21168 }
21169 return NULL;
21170}
21171
21172
c32bde28 21173static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21174 PyObject *resultobj;
21175 wxToolBar *arg1 = (wxToolBar *) 0 ;
e811c8ce
RD
21176 int arg2 ;
21177 int arg3 ;
d14a1e28
RD
21178 wxToolBarToolBase *result;
21179 PyObject * obj0 = 0 ;
994141e6
RD
21180 PyObject * obj1 = 0 ;
21181 PyObject * obj2 = 0 ;
d14a1e28
RD
21182 char *kwnames[] = {
21183 (char *) "self",(char *) "x",(char *) "y", NULL
21184 };
21185
994141e6 21186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBar_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
21187 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0);
21188 if (SWIG_arg_fail(1)) SWIG_fail;
21189 {
21190 arg2 = (int)(SWIG_As_int(obj1));
21191 if (SWIG_arg_fail(2)) SWIG_fail;
21192 }
21193 {
21194 arg3 = (int)(SWIG_As_int(obj2));
21195 if (SWIG_arg_fail(3)) SWIG_fail;
21196 }
d14a1e28
RD
21197 {
21198 PyThreadState* __tstate = wxPyBeginAllowThreads();
21199 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
21200
21201 wxPyEndAllowThreads(__tstate);
21202 if (PyErr_Occurred()) SWIG_fail;
21203 }
21204 {
412d302d 21205 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
21206 }
21207 return resultobj;
21208 fail:
21209 return NULL;
21210}
21211
21212
c32bde28 21213static PyObject *_wrap_ToolBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c 21214 PyObject *resultobj;
093d3ff1 21215 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
21216 wxVisualAttributes result;
21217 PyObject * obj0 = 0 ;
21218 char *kwnames[] = {
21219 (char *) "variant", NULL
21220 };
21221
21222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
21223 if (obj0) {
093d3ff1
RD
21224 {
21225 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
21226 if (SWIG_arg_fail(1)) SWIG_fail;
21227 }
22bfe96c
RD
21228 }
21229 {
110da5b0 21230 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
21231 PyThreadState* __tstate = wxPyBeginAllowThreads();
21232 result = wxToolBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
21233
21234 wxPyEndAllowThreads(__tstate);
dfbb5885 21235 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
21236 }
21237 {
21238 wxVisualAttributes * resultptr;
093d3ff1 21239 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
22bfe96c
RD
21240 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
21241 }
21242 return resultobj;
21243 fail:
21244 return NULL;
21245}
21246
21247
c32bde28 21248static PyObject * ToolBar_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
21249 PyObject *obj;
21250 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21251 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar, obj);
21252 Py_INCREF(obj);
21253 return Py_BuildValue((char *)"");
21254}
c32bde28 21255static int _wrap_ListCtrlNameStr_set(PyObject *) {
b2dc1044
RD
21256 PyErr_SetString(PyExc_TypeError,"Variable ListCtrlNameStr is read-only.");
21257 return 1;
21258}
21259
21260
093d3ff1 21261static PyObject *_wrap_ListCtrlNameStr_get(void) {
b2dc1044
RD
21262 PyObject *pyobj;
21263
21264 {
21265#if wxUSE_UNICODE
21266 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
21267#else
21268 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
21269#endif
21270 }
21271 return pyobj;
21272}
21273
21274
c32bde28 21275static PyObject *_wrap_new_ListItemAttr(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21276 PyObject *resultobj;
21277 wxColour const &arg1_defvalue = wxNullColour ;
21278 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
21279 wxColour const &arg2_defvalue = wxNullColour ;
21280 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
21281 wxFont const &arg3_defvalue = wxNullFont ;
21282 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
21283 wxListItemAttr *result;
21284 wxColour temp1 ;
21285 wxColour temp2 ;
21286 PyObject * obj0 = 0 ;
21287 PyObject * obj1 = 0 ;
21288 PyObject * obj2 = 0 ;
21289 char *kwnames[] = {
21290 (char *) "colText",(char *) "colBack",(char *) "font", NULL
21291 };
21292
21293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
21294 if (obj0) {
21295 {
21296 arg1 = &temp1;
21297 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
21298 }
21299 }
21300 if (obj1) {
21301 {
21302 arg2 = &temp2;
21303 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21304 }
21305 }
21306 if (obj2) {
093d3ff1
RD
21307 {
21308 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
21309 if (SWIG_arg_fail(3)) SWIG_fail;
21310 if (arg3 == NULL) {
21311 SWIG_null_ref("wxFont");
21312 }
21313 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
21314 }
21315 }
21316 {
21317 PyThreadState* __tstate = wxPyBeginAllowThreads();
21318 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
21319
21320 wxPyEndAllowThreads(__tstate);
21321 if (PyErr_Occurred()) SWIG_fail;
21322 }
15afbcd0 21323 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 1);
d14a1e28
RD
21324 return resultobj;
21325 fail:
21326 return NULL;
21327}
21328
21329
c32bde28 21330static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21331 PyObject *resultobj;
21332 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21333 wxColour *arg2 = 0 ;
21334 wxColour temp2 ;
21335 PyObject * obj0 = 0 ;
21336 PyObject * obj1 = 0 ;
21337 char *kwnames[] = {
21338 (char *) "self",(char *) "colText", NULL
21339 };
21340
21341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21342 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21343 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21344 {
21345 arg2 = &temp2;
21346 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21347 }
21348 {
21349 PyThreadState* __tstate = wxPyBeginAllowThreads();
21350 (arg1)->SetTextColour((wxColour const &)*arg2);
21351
21352 wxPyEndAllowThreads(__tstate);
21353 if (PyErr_Occurred()) SWIG_fail;
21354 }
21355 Py_INCREF(Py_None); resultobj = Py_None;
21356 return resultobj;
21357 fail:
21358 return NULL;
21359}
21360
21361
c32bde28 21362static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21363 PyObject *resultobj;
21364 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21365 wxColour *arg2 = 0 ;
21366 wxColour temp2 ;
21367 PyObject * obj0 = 0 ;
21368 PyObject * obj1 = 0 ;
21369 char *kwnames[] = {
21370 (char *) "self",(char *) "colBack", NULL
21371 };
21372
21373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21374 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21375 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21376 {
21377 arg2 = &temp2;
21378 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21379 }
21380 {
21381 PyThreadState* __tstate = wxPyBeginAllowThreads();
21382 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
21383
21384 wxPyEndAllowThreads(__tstate);
21385 if (PyErr_Occurred()) SWIG_fail;
21386 }
21387 Py_INCREF(Py_None); resultobj = Py_None;
21388 return resultobj;
21389 fail:
21390 return NULL;
21391}
21392
21393
c32bde28 21394static PyObject *_wrap_ListItemAttr_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21395 PyObject *resultobj;
21396 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21397 wxFont *arg2 = 0 ;
21398 PyObject * obj0 = 0 ;
21399 PyObject * obj1 = 0 ;
21400 char *kwnames[] = {
21401 (char *) "self",(char *) "font", NULL
21402 };
21403
21404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21405 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21406 if (SWIG_arg_fail(1)) SWIG_fail;
21407 {
21408 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
21409 if (SWIG_arg_fail(2)) SWIG_fail;
21410 if (arg2 == NULL) {
21411 SWIG_null_ref("wxFont");
21412 }
21413 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
21414 }
21415 {
21416 PyThreadState* __tstate = wxPyBeginAllowThreads();
21417 (arg1)->SetFont((wxFont const &)*arg2);
21418
21419 wxPyEndAllowThreads(__tstate);
21420 if (PyErr_Occurred()) SWIG_fail;
21421 }
21422 Py_INCREF(Py_None); resultobj = Py_None;
21423 return resultobj;
21424 fail:
21425 return NULL;
21426}
21427
21428
c32bde28 21429static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21430 PyObject *resultobj;
21431 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21432 bool result;
21433 PyObject * obj0 = 0 ;
21434 char *kwnames[] = {
21435 (char *) "self", NULL
21436 };
21437
21438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasTextColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
21439 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21440 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21441 {
21442 PyThreadState* __tstate = wxPyBeginAllowThreads();
21443 result = (bool)(arg1)->HasTextColour();
21444
21445 wxPyEndAllowThreads(__tstate);
21446 if (PyErr_Occurred()) SWIG_fail;
21447 }
4f89f6a3
RD
21448 {
21449 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21450 }
d14a1e28
RD
21451 return resultobj;
21452 fail:
21453 return NULL;
21454}
21455
21456
c32bde28 21457static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21458 PyObject *resultobj;
21459 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21460 bool result;
21461 PyObject * obj0 = 0 ;
21462 char *kwnames[] = {
21463 (char *) "self", NULL
21464 };
21465
21466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
21467 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21468 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21469 {
21470 PyThreadState* __tstate = wxPyBeginAllowThreads();
21471 result = (bool)(arg1)->HasBackgroundColour();
21472
21473 wxPyEndAllowThreads(__tstate);
21474 if (PyErr_Occurred()) SWIG_fail;
21475 }
4f89f6a3
RD
21476 {
21477 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21478 }
d14a1e28
RD
21479 return resultobj;
21480 fail:
21481 return NULL;
21482}
21483
21484
c32bde28 21485static PyObject *_wrap_ListItemAttr_HasFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21486 PyObject *resultobj;
21487 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21488 bool result;
21489 PyObject * obj0 = 0 ;
21490 char *kwnames[] = {
21491 (char *) "self", NULL
21492 };
21493
21494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasFont",kwnames,&obj0)) goto fail;
093d3ff1
RD
21495 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21496 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21497 {
21498 PyThreadState* __tstate = wxPyBeginAllowThreads();
21499 result = (bool)(arg1)->HasFont();
21500
21501 wxPyEndAllowThreads(__tstate);
21502 if (PyErr_Occurred()) SWIG_fail;
21503 }
4f89f6a3
RD
21504 {
21505 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21506 }
d14a1e28
RD
21507 return resultobj;
21508 fail:
21509 return NULL;
21510}
21511
21512
c32bde28 21513static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21514 PyObject *resultobj;
21515 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21516 wxColour result;
21517 PyObject * obj0 = 0 ;
21518 char *kwnames[] = {
21519 (char *) "self", NULL
21520 };
21521
21522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetTextColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
21523 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21524 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21525 {
21526 PyThreadState* __tstate = wxPyBeginAllowThreads();
21527 result = (arg1)->GetTextColour();
21528
21529 wxPyEndAllowThreads(__tstate);
21530 if (PyErr_Occurred()) SWIG_fail;
21531 }
21532 {
21533 wxColour * resultptr;
093d3ff1 21534 resultptr = new wxColour((wxColour &)(result));
15afbcd0 21535 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
21536 }
21537 return resultobj;
21538 fail:
21539 return NULL;
21540}
21541
21542
c32bde28 21543static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21544 PyObject *resultobj;
21545 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21546 wxColour result;
21547 PyObject * obj0 = 0 ;
21548 char *kwnames[] = {
21549 (char *) "self", NULL
21550 };
21551
21552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
21553 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21554 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21555 {
21556 PyThreadState* __tstate = wxPyBeginAllowThreads();
21557 result = (arg1)->GetBackgroundColour();
21558
21559 wxPyEndAllowThreads(__tstate);
21560 if (PyErr_Occurred()) SWIG_fail;
21561 }
21562 {
21563 wxColour * resultptr;
093d3ff1 21564 resultptr = new wxColour((wxColour &)(result));
15afbcd0 21565 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
21566 }
21567 return resultobj;
21568 fail:
21569 return NULL;
21570}
21571
21572
c32bde28 21573static PyObject *_wrap_ListItemAttr_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21574 PyObject *resultobj;
21575 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21576 wxFont result;
21577 PyObject * obj0 = 0 ;
21578 char *kwnames[] = {
21579 (char *) "self", NULL
21580 };
21581
21582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetFont",kwnames,&obj0)) goto fail;
093d3ff1
RD
21583 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21584 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21585 {
21586 PyThreadState* __tstate = wxPyBeginAllowThreads();
21587 result = (arg1)->GetFont();
21588
21589 wxPyEndAllowThreads(__tstate);
21590 if (PyErr_Occurred()) SWIG_fail;
21591 }
21592 {
21593 wxFont * resultptr;
093d3ff1 21594 resultptr = new wxFont((wxFont &)(result));
15afbcd0 21595 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
21596 }
21597 return resultobj;
21598 fail:
21599 return NULL;
21600}
21601
21602
c32bde28 21603static PyObject *_wrap_ListItemAttr_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21604 PyObject *resultobj;
21605 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21606 PyObject * obj0 = 0 ;
21607 char *kwnames[] = {
21608 (char *) "self", NULL
21609 };
21610
21611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_Destroy",kwnames,&obj0)) goto fail;
093d3ff1
RD
21612 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21613 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21614 {
21615 PyThreadState* __tstate = wxPyBeginAllowThreads();
21616 wxListItemAttr_Destroy(arg1);
21617
21618 wxPyEndAllowThreads(__tstate);
21619 if (PyErr_Occurred()) SWIG_fail;
21620 }
21621 Py_INCREF(Py_None); resultobj = Py_None;
21622 return resultobj;
21623 fail:
21624 return NULL;
21625}
21626
21627
c32bde28 21628static PyObject * ListItemAttr_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
21629 PyObject *obj;
21630 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21631 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr, obj);
21632 Py_INCREF(obj);
21633 return Py_BuildValue((char *)"");
21634}
c32bde28 21635static PyObject *_wrap_new_ListItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21636 PyObject *resultobj;
21637 wxListItem *result;
21638 char *kwnames[] = {
21639 NULL
21640 };
21641
21642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ListItem",kwnames)) goto fail;
21643 {
21644 PyThreadState* __tstate = wxPyBeginAllowThreads();
21645 result = (wxListItem *)new wxListItem();
21646
21647 wxPyEndAllowThreads(__tstate);
21648 if (PyErr_Occurred()) SWIG_fail;
21649 }
21650 {
412d302d 21651 resultobj = wxPyMake_wxObject(result, 1);
d14a1e28
RD
21652 }
21653 return resultobj;
21654 fail:
21655 return NULL;
21656}
21657
21658
c32bde28 21659static PyObject *_wrap_delete_ListItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21660 PyObject *resultobj;
21661 wxListItem *arg1 = (wxListItem *) 0 ;
21662 PyObject * obj0 = 0 ;
21663 char *kwnames[] = {
21664 (char *) "self", NULL
21665 };
21666
21667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItem",kwnames,&obj0)) goto fail;
093d3ff1
RD
21668 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21669 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21670 {
21671 PyThreadState* __tstate = wxPyBeginAllowThreads();
21672 delete arg1;
21673
21674 wxPyEndAllowThreads(__tstate);
21675 if (PyErr_Occurred()) SWIG_fail;
21676 }
21677 Py_INCREF(Py_None); resultobj = Py_None;
21678 return resultobj;
21679 fail:
21680 return NULL;
21681}
21682
21683
c32bde28 21684static PyObject *_wrap_ListItem_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21685 PyObject *resultobj;
21686 wxListItem *arg1 = (wxListItem *) 0 ;
21687 PyObject * obj0 = 0 ;
21688 char *kwnames[] = {
21689 (char *) "self", NULL
21690 };
21691
21692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_Clear",kwnames,&obj0)) goto fail;
093d3ff1
RD
21693 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21694 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21695 {
21696 PyThreadState* __tstate = wxPyBeginAllowThreads();
21697 (arg1)->Clear();
21698
21699 wxPyEndAllowThreads(__tstate);
21700 if (PyErr_Occurred()) SWIG_fail;
21701 }
21702 Py_INCREF(Py_None); resultobj = Py_None;
21703 return resultobj;
21704 fail:
21705 return NULL;
21706}
21707
21708
c32bde28 21709static PyObject *_wrap_ListItem_ClearAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21710 PyObject *resultobj;
21711 wxListItem *arg1 = (wxListItem *) 0 ;
21712 PyObject * obj0 = 0 ;
21713 char *kwnames[] = {
21714 (char *) "self", NULL
21715 };
21716
21717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_ClearAttributes",kwnames,&obj0)) goto fail;
093d3ff1
RD
21718 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21719 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21720 {
21721 PyThreadState* __tstate = wxPyBeginAllowThreads();
21722 (arg1)->ClearAttributes();
21723
21724 wxPyEndAllowThreads(__tstate);
21725 if (PyErr_Occurred()) SWIG_fail;
21726 }
21727 Py_INCREF(Py_None); resultobj = Py_None;
21728 return resultobj;
21729 fail:
21730 return NULL;
21731}
21732
21733
c32bde28 21734static PyObject *_wrap_ListItem_SetMask(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21735 PyObject *resultobj;
21736 wxListItem *arg1 = (wxListItem *) 0 ;
21737 long arg2 ;
21738 PyObject * obj0 = 0 ;
994141e6 21739 PyObject * obj1 = 0 ;
d14a1e28
RD
21740 char *kwnames[] = {
21741 (char *) "self",(char *) "mask", NULL
21742 };
21743
994141e6 21744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetMask",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21745 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21746 if (SWIG_arg_fail(1)) SWIG_fail;
21747 {
21748 arg2 = (long)(SWIG_As_long(obj1));
21749 if (SWIG_arg_fail(2)) SWIG_fail;
21750 }
d14a1e28
RD
21751 {
21752 PyThreadState* __tstate = wxPyBeginAllowThreads();
21753 (arg1)->SetMask(arg2);
21754
21755 wxPyEndAllowThreads(__tstate);
21756 if (PyErr_Occurred()) SWIG_fail;
21757 }
21758 Py_INCREF(Py_None); resultobj = Py_None;
21759 return resultobj;
21760 fail:
21761 return NULL;
21762}
21763
21764
c32bde28 21765static PyObject *_wrap_ListItem_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21766 PyObject *resultobj;
21767 wxListItem *arg1 = (wxListItem *) 0 ;
21768 long arg2 ;
21769 PyObject * obj0 = 0 ;
994141e6 21770 PyObject * obj1 = 0 ;
d14a1e28
RD
21771 char *kwnames[] = {
21772 (char *) "self",(char *) "id", NULL
21773 };
21774
994141e6 21775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetId",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21776 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21777 if (SWIG_arg_fail(1)) SWIG_fail;
21778 {
21779 arg2 = (long)(SWIG_As_long(obj1));
21780 if (SWIG_arg_fail(2)) SWIG_fail;
21781 }
d14a1e28
RD
21782 {
21783 PyThreadState* __tstate = wxPyBeginAllowThreads();
21784 (arg1)->SetId(arg2);
21785
21786 wxPyEndAllowThreads(__tstate);
21787 if (PyErr_Occurred()) SWIG_fail;
21788 }
21789 Py_INCREF(Py_None); resultobj = Py_None;
21790 return resultobj;
21791 fail:
21792 return NULL;
21793}
21794
21795
c32bde28 21796static PyObject *_wrap_ListItem_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21797 PyObject *resultobj;
21798 wxListItem *arg1 = (wxListItem *) 0 ;
21799 int arg2 ;
21800 PyObject * obj0 = 0 ;
994141e6 21801 PyObject * obj1 = 0 ;
d14a1e28
RD
21802 char *kwnames[] = {
21803 (char *) "self",(char *) "col", NULL
21804 };
21805
994141e6 21806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetColumn",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21807 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21808 if (SWIG_arg_fail(1)) SWIG_fail;
21809 {
21810 arg2 = (int)(SWIG_As_int(obj1));
21811 if (SWIG_arg_fail(2)) SWIG_fail;
21812 }
d14a1e28
RD
21813 {
21814 PyThreadState* __tstate = wxPyBeginAllowThreads();
21815 (arg1)->SetColumn(arg2);
21816
21817 wxPyEndAllowThreads(__tstate);
21818 if (PyErr_Occurred()) SWIG_fail;
21819 }
21820 Py_INCREF(Py_None); resultobj = Py_None;
21821 return resultobj;
21822 fail:
21823 return NULL;
21824}
21825
21826
c32bde28 21827static PyObject *_wrap_ListItem_SetState(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21828 PyObject *resultobj;
21829 wxListItem *arg1 = (wxListItem *) 0 ;
21830 long arg2 ;
21831 PyObject * obj0 = 0 ;
994141e6 21832 PyObject * obj1 = 0 ;
d14a1e28
RD
21833 char *kwnames[] = {
21834 (char *) "self",(char *) "state", NULL
21835 };
21836
994141e6 21837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetState",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21838 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21839 if (SWIG_arg_fail(1)) SWIG_fail;
21840 {
21841 arg2 = (long)(SWIG_As_long(obj1));
21842 if (SWIG_arg_fail(2)) SWIG_fail;
21843 }
d14a1e28
RD
21844 {
21845 PyThreadState* __tstate = wxPyBeginAllowThreads();
21846 (arg1)->SetState(arg2);
21847
21848 wxPyEndAllowThreads(__tstate);
21849 if (PyErr_Occurred()) SWIG_fail;
21850 }
21851 Py_INCREF(Py_None); resultobj = Py_None;
21852 return resultobj;
21853 fail:
21854 return NULL;
21855}
21856
21857
c32bde28 21858static PyObject *_wrap_ListItem_SetStateMask(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21859 PyObject *resultobj;
21860 wxListItem *arg1 = (wxListItem *) 0 ;
21861 long arg2 ;
21862 PyObject * obj0 = 0 ;
994141e6 21863 PyObject * obj1 = 0 ;
d14a1e28
RD
21864 char *kwnames[] = {
21865 (char *) "self",(char *) "stateMask", NULL
21866 };
21867
994141e6 21868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetStateMask",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21869 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21870 if (SWIG_arg_fail(1)) SWIG_fail;
21871 {
21872 arg2 = (long)(SWIG_As_long(obj1));
21873 if (SWIG_arg_fail(2)) SWIG_fail;
21874 }
d14a1e28
RD
21875 {
21876 PyThreadState* __tstate = wxPyBeginAllowThreads();
21877 (arg1)->SetStateMask(arg2);
21878
21879 wxPyEndAllowThreads(__tstate);
21880 if (PyErr_Occurred()) SWIG_fail;
21881 }
21882 Py_INCREF(Py_None); resultobj = Py_None;
21883 return resultobj;
21884 fail:
21885 return NULL;
21886}
21887
21888
c32bde28 21889static PyObject *_wrap_ListItem_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21890 PyObject *resultobj;
21891 wxListItem *arg1 = (wxListItem *) 0 ;
21892 wxString *arg2 = 0 ;
ae8162c8 21893 bool temp2 = false ;
d14a1e28
RD
21894 PyObject * obj0 = 0 ;
21895 PyObject * obj1 = 0 ;
21896 char *kwnames[] = {
21897 (char *) "self",(char *) "text", NULL
21898 };
21899
21900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21901 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21902 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21903 {
21904 arg2 = wxString_in_helper(obj1);
21905 if (arg2 == NULL) SWIG_fail;
ae8162c8 21906 temp2 = true;
d14a1e28
RD
21907 }
21908 {
21909 PyThreadState* __tstate = wxPyBeginAllowThreads();
21910 (arg1)->SetText((wxString const &)*arg2);
21911
21912 wxPyEndAllowThreads(__tstate);
21913 if (PyErr_Occurred()) SWIG_fail;
21914 }
21915 Py_INCREF(Py_None); resultobj = Py_None;
21916 {
21917 if (temp2)
21918 delete arg2;
21919 }
21920 return resultobj;
21921 fail:
21922 {
21923 if (temp2)
21924 delete arg2;
21925 }
21926 return NULL;
21927}
21928
21929
c32bde28 21930static PyObject *_wrap_ListItem_SetImage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21931 PyObject *resultobj;
21932 wxListItem *arg1 = (wxListItem *) 0 ;
21933 int arg2 ;
21934 PyObject * obj0 = 0 ;
994141e6 21935 PyObject * obj1 = 0 ;
d14a1e28
RD
21936 char *kwnames[] = {
21937 (char *) "self",(char *) "image", NULL
21938 };
21939
994141e6 21940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetImage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21941 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21942 if (SWIG_arg_fail(1)) SWIG_fail;
21943 {
21944 arg2 = (int)(SWIG_As_int(obj1));
21945 if (SWIG_arg_fail(2)) SWIG_fail;
21946 }
d14a1e28
RD
21947 {
21948 PyThreadState* __tstate = wxPyBeginAllowThreads();
21949 (arg1)->SetImage(arg2);
21950
21951 wxPyEndAllowThreads(__tstate);
21952 if (PyErr_Occurred()) SWIG_fail;
21953 }
21954 Py_INCREF(Py_None); resultobj = Py_None;
21955 return resultobj;
21956 fail:
21957 return NULL;
21958}
21959
21960
c32bde28 21961static PyObject *_wrap_ListItem_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21962 PyObject *resultobj;
21963 wxListItem *arg1 = (wxListItem *) 0 ;
21964 long arg2 ;
21965 PyObject * obj0 = 0 ;
994141e6 21966 PyObject * obj1 = 0 ;
d14a1e28
RD
21967 char *kwnames[] = {
21968 (char *) "self",(char *) "data", NULL
21969 };
21970
994141e6 21971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21972 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21973 if (SWIG_arg_fail(1)) SWIG_fail;
21974 {
21975 arg2 = (long)(SWIG_As_long(obj1));
21976 if (SWIG_arg_fail(2)) SWIG_fail;
21977 }
d14a1e28
RD
21978 {
21979 PyThreadState* __tstate = wxPyBeginAllowThreads();
21980 (arg1)->SetData(arg2);
21981
21982 wxPyEndAllowThreads(__tstate);
21983 if (PyErr_Occurred()) SWIG_fail;
21984 }
21985 Py_INCREF(Py_None); resultobj = Py_None;
21986 return resultobj;
21987 fail:
21988 return NULL;
21989}
21990
21991
c32bde28 21992static PyObject *_wrap_ListItem_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21993 PyObject *resultobj;
21994 wxListItem *arg1 = (wxListItem *) 0 ;
21995 int arg2 ;
21996 PyObject * obj0 = 0 ;
994141e6 21997 PyObject * obj1 = 0 ;
d14a1e28
RD
21998 char *kwnames[] = {
21999 (char *) "self",(char *) "width", NULL
22000 };
22001
994141e6 22002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetWidth",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22003 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22004 if (SWIG_arg_fail(1)) SWIG_fail;
22005 {
22006 arg2 = (int)(SWIG_As_int(obj1));
22007 if (SWIG_arg_fail(2)) SWIG_fail;
22008 }
d14a1e28
RD
22009 {
22010 PyThreadState* __tstate = wxPyBeginAllowThreads();
22011 (arg1)->SetWidth(arg2);
22012
22013 wxPyEndAllowThreads(__tstate);
22014 if (PyErr_Occurred()) SWIG_fail;
22015 }
22016 Py_INCREF(Py_None); resultobj = Py_None;
22017 return resultobj;
22018 fail:
22019 return NULL;
22020}
22021
22022
c32bde28 22023static PyObject *_wrap_ListItem_SetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22024 PyObject *resultobj;
22025 wxListItem *arg1 = (wxListItem *) 0 ;
093d3ff1 22026 wxListColumnFormat arg2 ;
d14a1e28 22027 PyObject * obj0 = 0 ;
994141e6 22028 PyObject * obj1 = 0 ;
d14a1e28
RD
22029 char *kwnames[] = {
22030 (char *) "self",(char *) "align", NULL
22031 };
22032
994141e6 22033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetAlign",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22034 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22035 if (SWIG_arg_fail(1)) SWIG_fail;
22036 {
22037 arg2 = (wxListColumnFormat)(SWIG_As_int(obj1));
22038 if (SWIG_arg_fail(2)) SWIG_fail;
22039 }
d14a1e28
RD
22040 {
22041 PyThreadState* __tstate = wxPyBeginAllowThreads();
22042 (arg1)->SetAlign((wxListColumnFormat )arg2);
22043
22044 wxPyEndAllowThreads(__tstate);
22045 if (PyErr_Occurred()) SWIG_fail;
22046 }
22047 Py_INCREF(Py_None); resultobj = Py_None;
22048 return resultobj;
22049 fail:
22050 return NULL;
22051}
22052
22053
c32bde28 22054static PyObject *_wrap_ListItem_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22055 PyObject *resultobj;
22056 wxListItem *arg1 = (wxListItem *) 0 ;
22057 wxColour *arg2 = 0 ;
22058 wxColour temp2 ;
22059 PyObject * obj0 = 0 ;
22060 PyObject * obj1 = 0 ;
22061 char *kwnames[] = {
22062 (char *) "self",(char *) "colText", NULL
22063 };
22064
22065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22066 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22067 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22068 {
22069 arg2 = &temp2;
22070 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22071 }
22072 {
22073 PyThreadState* __tstate = wxPyBeginAllowThreads();
22074 (arg1)->SetTextColour((wxColour const &)*arg2);
22075
22076 wxPyEndAllowThreads(__tstate);
22077 if (PyErr_Occurred()) SWIG_fail;
22078 }
22079 Py_INCREF(Py_None); resultobj = Py_None;
22080 return resultobj;
22081 fail:
22082 return NULL;
22083}
22084
22085
c32bde28 22086static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22087 PyObject *resultobj;
22088 wxListItem *arg1 = (wxListItem *) 0 ;
22089 wxColour *arg2 = 0 ;
22090 wxColour temp2 ;
22091 PyObject * obj0 = 0 ;
22092 PyObject * obj1 = 0 ;
22093 char *kwnames[] = {
22094 (char *) "self",(char *) "colBack", NULL
22095 };
22096
22097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22098 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22099 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22100 {
22101 arg2 = &temp2;
22102 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22103 }
22104 {
22105 PyThreadState* __tstate = wxPyBeginAllowThreads();
22106 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
22107
22108 wxPyEndAllowThreads(__tstate);
22109 if (PyErr_Occurred()) SWIG_fail;
22110 }
22111 Py_INCREF(Py_None); resultobj = Py_None;
22112 return resultobj;
22113 fail:
22114 return NULL;
22115}
22116
22117
c32bde28 22118static PyObject *_wrap_ListItem_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22119 PyObject *resultobj;
22120 wxListItem *arg1 = (wxListItem *) 0 ;
22121 wxFont *arg2 = 0 ;
22122 PyObject * obj0 = 0 ;
22123 PyObject * obj1 = 0 ;
22124 char *kwnames[] = {
22125 (char *) "self",(char *) "font", NULL
22126 };
22127
22128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22129 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22130 if (SWIG_arg_fail(1)) SWIG_fail;
22131 {
22132 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
22133 if (SWIG_arg_fail(2)) SWIG_fail;
22134 if (arg2 == NULL) {
22135 SWIG_null_ref("wxFont");
22136 }
22137 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
22138 }
22139 {
22140 PyThreadState* __tstate = wxPyBeginAllowThreads();
22141 (arg1)->SetFont((wxFont const &)*arg2);
22142
22143 wxPyEndAllowThreads(__tstate);
22144 if (PyErr_Occurred()) SWIG_fail;
22145 }
22146 Py_INCREF(Py_None); resultobj = Py_None;
22147 return resultobj;
22148 fail:
22149 return NULL;
22150}
22151
22152
c32bde28 22153static PyObject *_wrap_ListItem_GetMask(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22154 PyObject *resultobj;
22155 wxListItem *arg1 = (wxListItem *) 0 ;
22156 long result;
22157 PyObject * obj0 = 0 ;
22158 char *kwnames[] = {
22159 (char *) "self", NULL
22160 };
22161
22162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetMask",kwnames,&obj0)) goto fail;
093d3ff1
RD
22163 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22164 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22165 {
22166 PyThreadState* __tstate = wxPyBeginAllowThreads();
22167 result = (long)(arg1)->GetMask();
22168
22169 wxPyEndAllowThreads(__tstate);
22170 if (PyErr_Occurred()) SWIG_fail;
22171 }
093d3ff1
RD
22172 {
22173 resultobj = SWIG_From_long((long)(result));
22174 }
d14a1e28
RD
22175 return resultobj;
22176 fail:
22177 return NULL;
22178}
22179
22180
c32bde28 22181static PyObject *_wrap_ListItem_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22182 PyObject *resultobj;
22183 wxListItem *arg1 = (wxListItem *) 0 ;
22184 long result;
22185 PyObject * obj0 = 0 ;
22186 char *kwnames[] = {
22187 (char *) "self", NULL
22188 };
22189
22190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetId",kwnames,&obj0)) goto fail;
093d3ff1
RD
22191 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22192 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22193 {
22194 PyThreadState* __tstate = wxPyBeginAllowThreads();
22195 result = (long)(arg1)->GetId();
22196
22197 wxPyEndAllowThreads(__tstate);
22198 if (PyErr_Occurred()) SWIG_fail;
22199 }
093d3ff1
RD
22200 {
22201 resultobj = SWIG_From_long((long)(result));
22202 }
d14a1e28
RD
22203 return resultobj;
22204 fail:
22205 return NULL;
22206}
22207
22208
c32bde28 22209static PyObject *_wrap_ListItem_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22210 PyObject *resultobj;
22211 wxListItem *arg1 = (wxListItem *) 0 ;
22212 int result;
22213 PyObject * obj0 = 0 ;
22214 char *kwnames[] = {
22215 (char *) "self", NULL
22216 };
22217
22218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetColumn",kwnames,&obj0)) goto fail;
093d3ff1
RD
22219 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22220 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22221 {
22222 PyThreadState* __tstate = wxPyBeginAllowThreads();
22223 result = (int)(arg1)->GetColumn();
22224
22225 wxPyEndAllowThreads(__tstate);
22226 if (PyErr_Occurred()) SWIG_fail;
22227 }
093d3ff1
RD
22228 {
22229 resultobj = SWIG_From_int((int)(result));
22230 }
d14a1e28
RD
22231 return resultobj;
22232 fail:
22233 return NULL;
22234}
22235
22236
c32bde28 22237static PyObject *_wrap_ListItem_GetState(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22238 PyObject *resultobj;
22239 wxListItem *arg1 = (wxListItem *) 0 ;
22240 long result;
22241 PyObject * obj0 = 0 ;
22242 char *kwnames[] = {
22243 (char *) "self", NULL
22244 };
22245
22246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetState",kwnames,&obj0)) goto fail;
093d3ff1
RD
22247 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22248 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22249 {
22250 PyThreadState* __tstate = wxPyBeginAllowThreads();
22251 result = (long)(arg1)->GetState();
22252
22253 wxPyEndAllowThreads(__tstate);
22254 if (PyErr_Occurred()) SWIG_fail;
22255 }
093d3ff1
RD
22256 {
22257 resultobj = SWIG_From_long((long)(result));
22258 }
d14a1e28
RD
22259 return resultobj;
22260 fail:
22261 return NULL;
22262}
22263
22264
c32bde28 22265static PyObject *_wrap_ListItem_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22266 PyObject *resultobj;
22267 wxListItem *arg1 = (wxListItem *) 0 ;
22268 wxString *result;
22269 PyObject * obj0 = 0 ;
22270 char *kwnames[] = {
22271 (char *) "self", NULL
22272 };
22273
22274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetText",kwnames,&obj0)) goto fail;
093d3ff1
RD
22275 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22276 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22277 {
22278 PyThreadState* __tstate = wxPyBeginAllowThreads();
22279 {
22280 wxString const &_result_ref = (arg1)->GetText();
22281 result = (wxString *) &_result_ref;
22282 }
22283
22284 wxPyEndAllowThreads(__tstate);
22285 if (PyErr_Occurred()) SWIG_fail;
22286 }
cc6dd355
RD
22287 {
22288#if wxUSE_UNICODE
22289 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
22290#else
22291 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
22292#endif
22293 }
d14a1e28
RD
22294 return resultobj;
22295 fail:
22296 return NULL;
22297}
22298
22299
c32bde28 22300static PyObject *_wrap_ListItem_GetImage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22301 PyObject *resultobj;
22302 wxListItem *arg1 = (wxListItem *) 0 ;
22303 int result;
22304 PyObject * obj0 = 0 ;
22305 char *kwnames[] = {
22306 (char *) "self", NULL
22307 };
22308
22309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetImage",kwnames,&obj0)) goto fail;
093d3ff1
RD
22310 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22311 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22312 {
22313 PyThreadState* __tstate = wxPyBeginAllowThreads();
22314 result = (int)(arg1)->GetImage();
22315
22316 wxPyEndAllowThreads(__tstate);
22317 if (PyErr_Occurred()) SWIG_fail;
22318 }
093d3ff1
RD
22319 {
22320 resultobj = SWIG_From_int((int)(result));
22321 }
d14a1e28
RD
22322 return resultobj;
22323 fail:
22324 return NULL;
22325}
22326
22327
c32bde28 22328static PyObject *_wrap_ListItem_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22329 PyObject *resultobj;
22330 wxListItem *arg1 = (wxListItem *) 0 ;
22331 long result;
22332 PyObject * obj0 = 0 ;
22333 char *kwnames[] = {
22334 (char *) "self", NULL
22335 };
22336
22337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetData",kwnames,&obj0)) goto fail;
093d3ff1
RD
22338 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22339 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22340 {
22341 PyThreadState* __tstate = wxPyBeginAllowThreads();
22342 result = (long)(arg1)->GetData();
22343
22344 wxPyEndAllowThreads(__tstate);
22345 if (PyErr_Occurred()) SWIG_fail;
22346 }
093d3ff1
RD
22347 {
22348 resultobj = SWIG_From_long((long)(result));
22349 }
d14a1e28
RD
22350 return resultobj;
22351 fail:
22352 return NULL;
22353}
22354
22355
c32bde28 22356static PyObject *_wrap_ListItem_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22357 PyObject *resultobj;
22358 wxListItem *arg1 = (wxListItem *) 0 ;
22359 int result;
22360 PyObject * obj0 = 0 ;
22361 char *kwnames[] = {
22362 (char *) "self", NULL
22363 };
22364
22365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetWidth",kwnames,&obj0)) goto fail;
093d3ff1
RD
22366 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22367 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22368 {
22369 PyThreadState* __tstate = wxPyBeginAllowThreads();
22370 result = (int)(arg1)->GetWidth();
22371
22372 wxPyEndAllowThreads(__tstate);
22373 if (PyErr_Occurred()) SWIG_fail;
22374 }
093d3ff1
RD
22375 {
22376 resultobj = SWIG_From_int((int)(result));
22377 }
d14a1e28
RD
22378 return resultobj;
22379 fail:
22380 return NULL;
22381}
22382
22383
c32bde28 22384static PyObject *_wrap_ListItem_GetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22385 PyObject *resultobj;
22386 wxListItem *arg1 = (wxListItem *) 0 ;
093d3ff1 22387 wxListColumnFormat result;
d14a1e28
RD
22388 PyObject * obj0 = 0 ;
22389 char *kwnames[] = {
22390 (char *) "self", NULL
22391 };
22392
22393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAlign",kwnames,&obj0)) goto fail;
093d3ff1
RD
22394 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22395 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22396 {
22397 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 22398 result = (wxListColumnFormat)(arg1)->GetAlign();
d14a1e28
RD
22399
22400 wxPyEndAllowThreads(__tstate);
22401 if (PyErr_Occurred()) SWIG_fail;
22402 }
093d3ff1 22403 resultobj = SWIG_From_int((result));
d14a1e28
RD
22404 return resultobj;
22405 fail:
22406 return NULL;
22407}
22408
22409
c32bde28 22410static PyObject *_wrap_ListItem_GetAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22411 PyObject *resultobj;
22412 wxListItem *arg1 = (wxListItem *) 0 ;
22413 wxListItemAttr *result;
22414 PyObject * obj0 = 0 ;
22415 char *kwnames[] = {
22416 (char *) "self", NULL
22417 };
22418
22419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAttributes",kwnames,&obj0)) goto fail;
093d3ff1
RD
22420 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22421 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22422 {
22423 PyThreadState* __tstate = wxPyBeginAllowThreads();
22424 result = (wxListItemAttr *)(arg1)->GetAttributes();
22425
22426 wxPyEndAllowThreads(__tstate);
22427 if (PyErr_Occurred()) SWIG_fail;
22428 }
15afbcd0 22429 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 0);
d14a1e28
RD
22430 return resultobj;
22431 fail:
22432 return NULL;
22433}
22434
22435
c32bde28 22436static PyObject *_wrap_ListItem_HasAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22437 PyObject *resultobj;
22438 wxListItem *arg1 = (wxListItem *) 0 ;
22439 bool result;
22440 PyObject * obj0 = 0 ;
22441 char *kwnames[] = {
22442 (char *) "self", NULL
22443 };
22444
22445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_HasAttributes",kwnames,&obj0)) goto fail;
093d3ff1
RD
22446 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22447 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22448 {
22449 PyThreadState* __tstate = wxPyBeginAllowThreads();
22450 result = (bool)(arg1)->HasAttributes();
22451
22452 wxPyEndAllowThreads(__tstate);
22453 if (PyErr_Occurred()) SWIG_fail;
22454 }
4f89f6a3
RD
22455 {
22456 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22457 }
d14a1e28
RD
22458 return resultobj;
22459 fail:
22460 return NULL;
22461}
22462
22463
c32bde28 22464static PyObject *_wrap_ListItem_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22465 PyObject *resultobj;
22466 wxListItem *arg1 = (wxListItem *) 0 ;
22467 wxColour result;
22468 PyObject * obj0 = 0 ;
22469 char *kwnames[] = {
22470 (char *) "self", NULL
22471 };
22472
22473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetTextColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
22474 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22475 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22476 {
22477 PyThreadState* __tstate = wxPyBeginAllowThreads();
22478 result = ((wxListItem const *)arg1)->GetTextColour();
22479
22480 wxPyEndAllowThreads(__tstate);
22481 if (PyErr_Occurred()) SWIG_fail;
22482 }
22483 {
22484 wxColour * resultptr;
093d3ff1 22485 resultptr = new wxColour((wxColour &)(result));
15afbcd0 22486 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
22487 }
22488 return resultobj;
22489 fail:
22490 return NULL;
22491}
22492
22493
c32bde28 22494static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22495 PyObject *resultobj;
22496 wxListItem *arg1 = (wxListItem *) 0 ;
22497 wxColour result;
22498 PyObject * obj0 = 0 ;
22499 char *kwnames[] = {
22500 (char *) "self", NULL
22501 };
22502
22503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
22504 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22505 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22506 {
22507 PyThreadState* __tstate = wxPyBeginAllowThreads();
22508 result = ((wxListItem const *)arg1)->GetBackgroundColour();
22509
22510 wxPyEndAllowThreads(__tstate);
22511 if (PyErr_Occurred()) SWIG_fail;
22512 }
22513 {
22514 wxColour * resultptr;
093d3ff1 22515 resultptr = new wxColour((wxColour &)(result));
15afbcd0 22516 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
22517 }
22518 return resultobj;
22519 fail:
22520 return NULL;
22521}
22522
22523
c32bde28 22524static PyObject *_wrap_ListItem_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22525 PyObject *resultobj;
22526 wxListItem *arg1 = (wxListItem *) 0 ;
22527 wxFont result;
22528 PyObject * obj0 = 0 ;
22529 char *kwnames[] = {
22530 (char *) "self", NULL
22531 };
22532
22533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetFont",kwnames,&obj0)) goto fail;
093d3ff1
RD
22534 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22535 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22536 {
22537 PyThreadState* __tstate = wxPyBeginAllowThreads();
22538 result = ((wxListItem const *)arg1)->GetFont();
22539
22540 wxPyEndAllowThreads(__tstate);
22541 if (PyErr_Occurred()) SWIG_fail;
22542 }
22543 {
22544 wxFont * resultptr;
093d3ff1 22545 resultptr = new wxFont((wxFont &)(result));
15afbcd0 22546 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
22547 }
22548 return resultobj;
22549 fail:
22550 return NULL;
22551}
22552
22553
c32bde28 22554static PyObject *_wrap_ListItem_m_mask_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22555 PyObject *resultobj;
22556 wxListItem *arg1 = (wxListItem *) 0 ;
22557 long arg2 ;
22558 PyObject * obj0 = 0 ;
994141e6 22559 PyObject * obj1 = 0 ;
d14a1e28
RD
22560 char *kwnames[] = {
22561 (char *) "self",(char *) "m_mask", NULL
22562 };
22563
994141e6 22564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_mask_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22565 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22566 if (SWIG_arg_fail(1)) SWIG_fail;
22567 {
22568 arg2 = (long)(SWIG_As_long(obj1));
22569 if (SWIG_arg_fail(2)) SWIG_fail;
22570 }
d14a1e28
RD
22571 if (arg1) (arg1)->m_mask = arg2;
22572
22573 Py_INCREF(Py_None); resultobj = Py_None;
22574 return resultobj;
22575 fail:
22576 return NULL;
22577}
22578
22579
c32bde28 22580static PyObject *_wrap_ListItem_m_mask_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22581 PyObject *resultobj;
22582 wxListItem *arg1 = (wxListItem *) 0 ;
22583 long result;
22584 PyObject * obj0 = 0 ;
22585 char *kwnames[] = {
22586 (char *) "self", NULL
22587 };
22588
22589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_mask_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
22590 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22591 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22592 result = (long) ((arg1)->m_mask);
22593
093d3ff1
RD
22594 {
22595 resultobj = SWIG_From_long((long)(result));
22596 }
d14a1e28
RD
22597 return resultobj;
22598 fail:
22599 return NULL;
22600}
22601
22602
c32bde28 22603static PyObject *_wrap_ListItem_m_itemId_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22604 PyObject *resultobj;
22605 wxListItem *arg1 = (wxListItem *) 0 ;
22606 long arg2 ;
22607 PyObject * obj0 = 0 ;
994141e6 22608 PyObject * obj1 = 0 ;
d14a1e28
RD
22609 char *kwnames[] = {
22610 (char *) "self",(char *) "m_itemId", NULL
22611 };
22612
994141e6 22613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_itemId_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22614 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22615 if (SWIG_arg_fail(1)) SWIG_fail;
22616 {
22617 arg2 = (long)(SWIG_As_long(obj1));
22618 if (SWIG_arg_fail(2)) SWIG_fail;
22619 }
d14a1e28
RD
22620 if (arg1) (arg1)->m_itemId = arg2;
22621
22622 Py_INCREF(Py_None); resultobj = Py_None;
22623 return resultobj;
22624 fail:
22625 return NULL;
22626}
22627
22628
c32bde28 22629static PyObject *_wrap_ListItem_m_itemId_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22630 PyObject *resultobj;
22631 wxListItem *arg1 = (wxListItem *) 0 ;
22632 long result;
22633 PyObject * obj0 = 0 ;
22634 char *kwnames[] = {
22635 (char *) "self", NULL
22636 };
22637
22638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_itemId_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
22639 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22640 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22641 result = (long) ((arg1)->m_itemId);
22642
093d3ff1
RD
22643 {
22644 resultobj = SWIG_From_long((long)(result));
22645 }
d14a1e28
RD
22646 return resultobj;
22647 fail:
22648 return NULL;
22649}
22650
22651
c32bde28 22652static PyObject *_wrap_ListItem_m_col_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22653 PyObject *resultobj;
22654 wxListItem *arg1 = (wxListItem *) 0 ;
22655 int arg2 ;
22656 PyObject * obj0 = 0 ;
994141e6 22657 PyObject * obj1 = 0 ;
d14a1e28
RD
22658 char *kwnames[] = {
22659 (char *) "self",(char *) "m_col", NULL
22660 };
22661
994141e6 22662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_col_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22663 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22664 if (SWIG_arg_fail(1)) SWIG_fail;
22665 {
22666 arg2 = (int)(SWIG_As_int(obj1));
22667 if (SWIG_arg_fail(2)) SWIG_fail;
22668 }
d14a1e28
RD
22669 if (arg1) (arg1)->m_col = arg2;
22670
22671 Py_INCREF(Py_None); resultobj = Py_None;
22672 return resultobj;
22673 fail:
22674 return NULL;
22675}
22676
22677
c32bde28 22678static PyObject *_wrap_ListItem_m_col_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22679 PyObject *resultobj;
22680 wxListItem *arg1 = (wxListItem *) 0 ;
22681 int result;
22682 PyObject * obj0 = 0 ;
22683 char *kwnames[] = {
22684 (char *) "self", NULL
22685 };
22686
22687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_col_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
22688 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22689 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22690 result = (int) ((arg1)->m_col);
22691
093d3ff1
RD
22692 {
22693 resultobj = SWIG_From_int((int)(result));
22694 }
d14a1e28
RD
22695 return resultobj;
22696 fail:
22697 return NULL;
22698}
22699
22700
c32bde28 22701static PyObject *_wrap_ListItem_m_state_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22702 PyObject *resultobj;
22703 wxListItem *arg1 = (wxListItem *) 0 ;
22704 long arg2 ;
22705 PyObject * obj0 = 0 ;
994141e6 22706 PyObject * obj1 = 0 ;
d14a1e28
RD
22707 char *kwnames[] = {
22708 (char *) "self",(char *) "m_state", NULL
22709 };
22710
994141e6 22711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_state_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22712 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22713 if (SWIG_arg_fail(1)) SWIG_fail;
22714 {
22715 arg2 = (long)(SWIG_As_long(obj1));
22716 if (SWIG_arg_fail(2)) SWIG_fail;
22717 }
d14a1e28
RD
22718 if (arg1) (arg1)->m_state = arg2;
22719
22720 Py_INCREF(Py_None); resultobj = Py_None;
22721 return resultobj;
22722 fail:
22723 return NULL;
22724}
22725
22726
c32bde28 22727static PyObject *_wrap_ListItem_m_state_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22728 PyObject *resultobj;
22729 wxListItem *arg1 = (wxListItem *) 0 ;
22730 long result;
22731 PyObject * obj0 = 0 ;
22732 char *kwnames[] = {
22733 (char *) "self", NULL
22734 };
22735
22736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_state_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
22737 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22738 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22739 result = (long) ((arg1)->m_state);
22740
093d3ff1
RD
22741 {
22742 resultobj = SWIG_From_long((long)(result));
22743 }
d14a1e28
RD
22744 return resultobj;
22745 fail:
22746 return NULL;
22747}
22748
22749
c32bde28 22750static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22751 PyObject *resultobj;
22752 wxListItem *arg1 = (wxListItem *) 0 ;
22753 long arg2 ;
22754 PyObject * obj0 = 0 ;
994141e6 22755 PyObject * obj1 = 0 ;
d14a1e28
RD
22756 char *kwnames[] = {
22757 (char *) "self",(char *) "m_stateMask", NULL
22758 };
22759
994141e6 22760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_stateMask_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22761 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22762 if (SWIG_arg_fail(1)) SWIG_fail;
22763 {
22764 arg2 = (long)(SWIG_As_long(obj1));
22765 if (SWIG_arg_fail(2)) SWIG_fail;
22766 }
d14a1e28
RD
22767 if (arg1) (arg1)->m_stateMask = arg2;
22768
22769 Py_INCREF(Py_None); resultobj = Py_None;
22770 return resultobj;
22771 fail:
22772 return NULL;
22773}
22774
22775
c32bde28 22776static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22777 PyObject *resultobj;
22778 wxListItem *arg1 = (wxListItem *) 0 ;
22779 long result;
22780 PyObject * obj0 = 0 ;
22781 char *kwnames[] = {
22782 (char *) "self", NULL
22783 };
22784
22785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_stateMask_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
22786 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22787 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22788 result = (long) ((arg1)->m_stateMask);
22789
093d3ff1
RD
22790 {
22791 resultobj = SWIG_From_long((long)(result));
22792 }
d14a1e28
RD
22793 return resultobj;
22794 fail:
22795 return NULL;
22796}
22797
22798
c32bde28 22799static PyObject *_wrap_ListItem_m_text_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22800 PyObject *resultobj;
22801 wxListItem *arg1 = (wxListItem *) 0 ;
196addbf 22802 wxString *arg2 = (wxString *) 0 ;
ae8162c8 22803 bool temp2 = false ;
d14a1e28
RD
22804 PyObject * obj0 = 0 ;
22805 PyObject * obj1 = 0 ;
22806 char *kwnames[] = {
22807 (char *) "self",(char *) "m_text", NULL
22808 };
22809
22810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22811 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22812 if (SWIG_arg_fail(1)) SWIG_fail;
7eae615b
RD
22813 {
22814 arg2 = wxString_in_helper(obj1);
22815 if (arg2 == NULL) SWIG_fail;
ae8162c8 22816 temp2 = true;
7eae615b 22817 }
196addbf 22818 if (arg1) (arg1)->m_text = *arg2;
d14a1e28
RD
22819
22820 Py_INCREF(Py_None); resultobj = Py_None;
7eae615b
RD
22821 {
22822 if (temp2)
22823 delete arg2;
22824 }
d14a1e28
RD
22825 return resultobj;
22826 fail:
7eae615b
RD
22827 {
22828 if (temp2)
22829 delete arg2;
22830 }
d14a1e28
RD
22831 return NULL;
22832}
22833
22834
c32bde28 22835static PyObject *_wrap_ListItem_m_text_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22836 PyObject *resultobj;
22837 wxListItem *arg1 = (wxListItem *) 0 ;
196addbf 22838 wxString *result;
d14a1e28
RD
22839 PyObject * obj0 = 0 ;
22840 char *kwnames[] = {
22841 (char *) "self", NULL
22842 };
22843
22844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
22845 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22846 if (SWIG_arg_fail(1)) SWIG_fail;
196addbf 22847 result = (wxString *)& ((arg1)->m_text);
d14a1e28
RD
22848
22849 {
22850#if wxUSE_UNICODE
196addbf 22851 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
d14a1e28 22852#else
196addbf 22853 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
d14a1e28
RD
22854#endif
22855 }
22856 return resultobj;
22857 fail:
22858 return NULL;
22859}
22860
22861
c32bde28 22862static PyObject *_wrap_ListItem_m_image_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22863 PyObject *resultobj;
22864 wxListItem *arg1 = (wxListItem *) 0 ;
22865 int arg2 ;
22866 PyObject * obj0 = 0 ;
994141e6 22867 PyObject * obj1 = 0 ;
d14a1e28
RD
22868 char *kwnames[] = {
22869 (char *) "self",(char *) "m_image", NULL
22870 };
22871
994141e6 22872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_image_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22873 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22874 if (SWIG_arg_fail(1)) SWIG_fail;
22875 {
22876 arg2 = (int)(SWIG_As_int(obj1));
22877 if (SWIG_arg_fail(2)) SWIG_fail;
22878 }
d14a1e28
RD
22879 if (arg1) (arg1)->m_image = arg2;
22880
22881 Py_INCREF(Py_None); resultobj = Py_None;
22882 return resultobj;
22883 fail:
22884 return NULL;
22885}
22886
22887
c32bde28 22888static PyObject *_wrap_ListItem_m_image_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22889 PyObject *resultobj;
22890 wxListItem *arg1 = (wxListItem *) 0 ;
22891 int result;
22892 PyObject * obj0 = 0 ;
22893 char *kwnames[] = {
22894 (char *) "self", NULL
22895 };
22896
22897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
22898 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22899 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22900 result = (int) ((arg1)->m_image);
22901
093d3ff1
RD
22902 {
22903 resultobj = SWIG_From_int((int)(result));
22904 }
d14a1e28
RD
22905 return resultobj;
22906 fail:
22907 return NULL;
22908}
22909
22910
c32bde28 22911static PyObject *_wrap_ListItem_m_data_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22912 PyObject *resultobj;
22913 wxListItem *arg1 = (wxListItem *) 0 ;
22914 long arg2 ;
22915 PyObject * obj0 = 0 ;
994141e6 22916 PyObject * obj1 = 0 ;
d14a1e28
RD
22917 char *kwnames[] = {
22918 (char *) "self",(char *) "m_data", NULL
22919 };
22920
994141e6 22921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_data_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22922 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22923 if (SWIG_arg_fail(1)) SWIG_fail;
22924 {
22925 arg2 = (long)(SWIG_As_long(obj1));
22926 if (SWIG_arg_fail(2)) SWIG_fail;
22927 }
d14a1e28
RD
22928 if (arg1) (arg1)->m_data = arg2;
22929
22930 Py_INCREF(Py_None); resultobj = Py_None;
22931 return resultobj;
22932 fail:
22933 return NULL;
22934}
22935
22936
c32bde28 22937static PyObject *_wrap_ListItem_m_data_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22938 PyObject *resultobj;
22939 wxListItem *arg1 = (wxListItem *) 0 ;
22940 long result;
22941 PyObject * obj0 = 0 ;
22942 char *kwnames[] = {
22943 (char *) "self", NULL
22944 };
22945
22946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_data_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
22947 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22948 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22949 result = (long) ((arg1)->m_data);
22950
093d3ff1
RD
22951 {
22952 resultobj = SWIG_From_long((long)(result));
22953 }
d14a1e28
RD
22954 return resultobj;
22955 fail:
22956 return NULL;
22957}
22958
22959
c32bde28 22960static PyObject *_wrap_ListItem_m_format_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22961 PyObject *resultobj;
22962 wxListItem *arg1 = (wxListItem *) 0 ;
22963 int arg2 ;
22964 PyObject * obj0 = 0 ;
994141e6 22965 PyObject * obj1 = 0 ;
d14a1e28
RD
22966 char *kwnames[] = {
22967 (char *) "self",(char *) "m_format", NULL
22968 };
22969
994141e6 22970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_format_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22971 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22972 if (SWIG_arg_fail(1)) SWIG_fail;
22973 {
22974 arg2 = (int)(SWIG_As_int(obj1));
22975 if (SWIG_arg_fail(2)) SWIG_fail;
22976 }
d14a1e28
RD
22977 if (arg1) (arg1)->m_format = arg2;
22978
22979 Py_INCREF(Py_None); resultobj = Py_None;
22980 return resultobj;
22981 fail:
22982 return NULL;
22983}
22984
22985
c32bde28 22986static PyObject *_wrap_ListItem_m_format_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22987 PyObject *resultobj;
22988 wxListItem *arg1 = (wxListItem *) 0 ;
22989 int result;
22990 PyObject * obj0 = 0 ;
22991 char *kwnames[] = {
22992 (char *) "self", NULL
22993 };
22994
22995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_format_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
22996 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22997 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22998 result = (int) ((arg1)->m_format);
22999
093d3ff1
RD
23000 {
23001 resultobj = SWIG_From_int((int)(result));
23002 }
d14a1e28
RD
23003 return resultobj;
23004 fail:
23005 return NULL;
23006}
23007
23008
c32bde28 23009static PyObject *_wrap_ListItem_m_width_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23010 PyObject *resultobj;
23011 wxListItem *arg1 = (wxListItem *) 0 ;
23012 int arg2 ;
23013 PyObject * obj0 = 0 ;
994141e6 23014 PyObject * obj1 = 0 ;
d14a1e28
RD
23015 char *kwnames[] = {
23016 (char *) "self",(char *) "m_width", NULL
23017 };
23018
994141e6 23019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_width_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23020 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23021 if (SWIG_arg_fail(1)) SWIG_fail;
23022 {
23023 arg2 = (int)(SWIG_As_int(obj1));
23024 if (SWIG_arg_fail(2)) SWIG_fail;
23025 }
d14a1e28
RD
23026 if (arg1) (arg1)->m_width = arg2;
23027
23028 Py_INCREF(Py_None); resultobj = Py_None;
23029 return resultobj;
23030 fail:
23031 return NULL;
23032}
23033
23034
c32bde28 23035static PyObject *_wrap_ListItem_m_width_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23036 PyObject *resultobj;
23037 wxListItem *arg1 = (wxListItem *) 0 ;
23038 int result;
23039 PyObject * obj0 = 0 ;
23040 char *kwnames[] = {
23041 (char *) "self", NULL
23042 };
23043
23044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
23045 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23046 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23047 result = (int) ((arg1)->m_width);
23048
093d3ff1
RD
23049 {
23050 resultobj = SWIG_From_int((int)(result));
23051 }
d14a1e28
RD
23052 return resultobj;
23053 fail:
23054 return NULL;
23055}
23056
23057
c32bde28 23058static PyObject * ListItem_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
23059 PyObject *obj;
23060 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23061 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
23062 Py_INCREF(obj);
23063 return Py_BuildValue((char *)"");
23064}
c32bde28 23065static PyObject *_wrap_new_ListEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23066 PyObject *resultobj;
23067 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
23068 int arg2 = (int) 0 ;
23069 wxListEvent *result;
994141e6
RD
23070 PyObject * obj0 = 0 ;
23071 PyObject * obj1 = 0 ;
d14a1e28
RD
23072 char *kwnames[] = {
23073 (char *) "commandType",(char *) "id", NULL
23074 };
23075
994141e6
RD
23076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ListEvent",kwnames,&obj0,&obj1)) goto fail;
23077 if (obj0) {
093d3ff1
RD
23078 {
23079 arg1 = (wxEventType)(SWIG_As_int(obj0));
23080 if (SWIG_arg_fail(1)) SWIG_fail;
23081 }
994141e6
RD
23082 }
23083 if (obj1) {
093d3ff1
RD
23084 {
23085 arg2 = (int)(SWIG_As_int(obj1));
23086 if (SWIG_arg_fail(2)) SWIG_fail;
23087 }
994141e6 23088 }
d14a1e28
RD
23089 {
23090 PyThreadState* __tstate = wxPyBeginAllowThreads();
23091 result = (wxListEvent *)new wxListEvent(arg1,arg2);
23092
23093 wxPyEndAllowThreads(__tstate);
23094 if (PyErr_Occurred()) SWIG_fail;
23095 }
15afbcd0 23096 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListEvent, 1);
d14a1e28
RD
23097 return resultobj;
23098 fail:
23099 return NULL;
23100}
23101
23102
c32bde28 23103static PyObject *_wrap_ListEvent_m_code_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23104 PyObject *resultobj;
23105 wxListEvent *arg1 = (wxListEvent *) 0 ;
23106 int arg2 ;
23107 PyObject * obj0 = 0 ;
994141e6 23108 PyObject * obj1 = 0 ;
d14a1e28
RD
23109 char *kwnames[] = {
23110 (char *) "self",(char *) "m_code", NULL
23111 };
23112
994141e6 23113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_code_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23114 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23115 if (SWIG_arg_fail(1)) SWIG_fail;
23116 {
23117 arg2 = (int)(SWIG_As_int(obj1));
23118 if (SWIG_arg_fail(2)) SWIG_fail;
23119 }
d14a1e28
RD
23120 if (arg1) (arg1)->m_code = arg2;
23121
23122 Py_INCREF(Py_None); resultobj = Py_None;
23123 return resultobj;
23124 fail:
23125 return NULL;
23126}
23127
23128
c32bde28 23129static PyObject *_wrap_ListEvent_m_code_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23130 PyObject *resultobj;
23131 wxListEvent *arg1 = (wxListEvent *) 0 ;
23132 int result;
23133 PyObject * obj0 = 0 ;
23134 char *kwnames[] = {
23135 (char *) "self", NULL
23136 };
23137
23138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
23139 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23140 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23141 result = (int) ((arg1)->m_code);
23142
093d3ff1
RD
23143 {
23144 resultobj = SWIG_From_int((int)(result));
23145 }
d14a1e28
RD
23146 return resultobj;
23147 fail:
23148 return NULL;
23149}
23150
23151
c32bde28 23152static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23153 PyObject *resultobj;
23154 wxListEvent *arg1 = (wxListEvent *) 0 ;
23155 long arg2 ;
23156 PyObject * obj0 = 0 ;
994141e6 23157 PyObject * obj1 = 0 ;
d14a1e28
RD
23158 char *kwnames[] = {
23159 (char *) "self",(char *) "m_oldItemIndex", NULL
23160 };
23161
994141e6 23162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23163 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23164 if (SWIG_arg_fail(1)) SWIG_fail;
23165 {
23166 arg2 = (long)(SWIG_As_long(obj1));
23167 if (SWIG_arg_fail(2)) SWIG_fail;
23168 }
d14a1e28
RD
23169 if (arg1) (arg1)->m_oldItemIndex = arg2;
23170
23171 Py_INCREF(Py_None); resultobj = Py_None;
23172 return resultobj;
23173 fail:
23174 return NULL;
23175}
23176
23177
c32bde28 23178static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23179 PyObject *resultobj;
23180 wxListEvent *arg1 = (wxListEvent *) 0 ;
23181 long result;
23182 PyObject * obj0 = 0 ;
23183 char *kwnames[] = {
23184 (char *) "self", NULL
23185 };
23186
23187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
23188 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23189 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23190 result = (long) ((arg1)->m_oldItemIndex);
23191
093d3ff1
RD
23192 {
23193 resultobj = SWIG_From_long((long)(result));
23194 }
d14a1e28
RD
23195 return resultobj;
23196 fail:
23197 return NULL;
23198}
23199
23200
c32bde28 23201static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23202 PyObject *resultobj;
23203 wxListEvent *arg1 = (wxListEvent *) 0 ;
23204 long arg2 ;
23205 PyObject * obj0 = 0 ;
994141e6 23206 PyObject * obj1 = 0 ;
d14a1e28
RD
23207 char *kwnames[] = {
23208 (char *) "self",(char *) "m_itemIndex", NULL
23209 };
23210
994141e6 23211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_itemIndex_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23212 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23213 if (SWIG_arg_fail(1)) SWIG_fail;
23214 {
23215 arg2 = (long)(SWIG_As_long(obj1));
23216 if (SWIG_arg_fail(2)) SWIG_fail;
23217 }
d14a1e28
RD
23218 if (arg1) (arg1)->m_itemIndex = arg2;
23219
23220 Py_INCREF(Py_None); resultobj = Py_None;
23221 return resultobj;
23222 fail:
23223 return NULL;
23224}
23225
23226
c32bde28 23227static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23228 PyObject *resultobj;
23229 wxListEvent *arg1 = (wxListEvent *) 0 ;
23230 long result;
23231 PyObject * obj0 = 0 ;
23232 char *kwnames[] = {
23233 (char *) "self", NULL
23234 };
23235
23236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
23237 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23238 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23239 result = (long) ((arg1)->m_itemIndex);
23240
093d3ff1
RD
23241 {
23242 resultobj = SWIG_From_long((long)(result));
23243 }
d14a1e28
RD
23244 return resultobj;
23245 fail:
23246 return NULL;
23247}
23248
23249
c32bde28 23250static PyObject *_wrap_ListEvent_m_col_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23251 PyObject *resultobj;
23252 wxListEvent *arg1 = (wxListEvent *) 0 ;
23253 int arg2 ;
23254 PyObject * obj0 = 0 ;
994141e6 23255 PyObject * obj1 = 0 ;
d14a1e28
RD
23256 char *kwnames[] = {
23257 (char *) "self",(char *) "m_col", NULL
23258 };
23259
994141e6 23260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_col_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23261 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23262 if (SWIG_arg_fail(1)) SWIG_fail;
23263 {
23264 arg2 = (int)(SWIG_As_int(obj1));
23265 if (SWIG_arg_fail(2)) SWIG_fail;
23266 }
d14a1e28
RD
23267 if (arg1) (arg1)->m_col = arg2;
23268
23269 Py_INCREF(Py_None); resultobj = Py_None;
23270 return resultobj;
23271 fail:
23272 return NULL;
23273}
23274
23275
c32bde28 23276static PyObject *_wrap_ListEvent_m_col_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23277 PyObject *resultobj;
23278 wxListEvent *arg1 = (wxListEvent *) 0 ;
23279 int result;
23280 PyObject * obj0 = 0 ;
23281 char *kwnames[] = {
23282 (char *) "self", NULL
23283 };
23284
23285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_col_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
23286 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23287 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23288 result = (int) ((arg1)->m_col);
23289
093d3ff1
RD
23290 {
23291 resultobj = SWIG_From_int((int)(result));
23292 }
d14a1e28
RD
23293 return resultobj;
23294 fail:
23295 return NULL;
23296}
23297
23298
c32bde28 23299static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23300 PyObject *resultobj;
23301 wxListEvent *arg1 = (wxListEvent *) 0 ;
23302 wxPoint *arg2 = (wxPoint *) 0 ;
23303 PyObject * obj0 = 0 ;
23304 PyObject * obj1 = 0 ;
23305 char *kwnames[] = {
23306 (char *) "self",(char *) "m_pointDrag", NULL
23307 };
23308
23309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23310 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23311 if (SWIG_arg_fail(1)) SWIG_fail;
23312 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | 0);
23313 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
23314 if (arg1) (arg1)->m_pointDrag = *arg2;
23315
23316 Py_INCREF(Py_None); resultobj = Py_None;
23317 return resultobj;
23318 fail:
23319 return NULL;
23320}
23321
23322
c32bde28 23323static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23324 PyObject *resultobj;
23325 wxListEvent *arg1 = (wxListEvent *) 0 ;
23326 wxPoint *result;
23327 PyObject * obj0 = 0 ;
23328 char *kwnames[] = {
23329 (char *) "self", NULL
23330 };
23331
23332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
23333 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23334 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23335 result = (wxPoint *)& ((arg1)->m_pointDrag);
23336
15afbcd0 23337 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
23338 return resultobj;
23339 fail:
23340 return NULL;
23341}
23342
23343
c32bde28 23344static PyObject *_wrap_ListEvent_m_item_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23345 PyObject *resultobj;
23346 wxListEvent *arg1 = (wxListEvent *) 0 ;
23347 wxListItem *result;
23348 PyObject * obj0 = 0 ;
23349 char *kwnames[] = {
23350 (char *) "self", NULL
23351 };
23352
23353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
23354 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23355 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23356 result = (wxListItem *)& ((arg1)->m_item);
23357
23358 {
412d302d 23359 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
23360 }
23361 return resultobj;
23362 fail:
23363 return NULL;
23364}
23365
23366
c32bde28 23367static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23368 PyObject *resultobj;
23369 wxListEvent *arg1 = (wxListEvent *) 0 ;
23370 int result;
23371 PyObject * obj0 = 0 ;
23372 char *kwnames[] = {
23373 (char *) "self", NULL
23374 };
23375
23376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetKeyCode",kwnames,&obj0)) goto fail;
093d3ff1
RD
23377 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23378 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23379 {
23380 PyThreadState* __tstate = wxPyBeginAllowThreads();
23381 result = (int)(arg1)->GetKeyCode();
23382
23383 wxPyEndAllowThreads(__tstate);
23384 if (PyErr_Occurred()) SWIG_fail;
23385 }
093d3ff1
RD
23386 {
23387 resultobj = SWIG_From_int((int)(result));
23388 }
d14a1e28
RD
23389 return resultobj;
23390 fail:
23391 return NULL;
23392}
23393
23394
c32bde28 23395static PyObject *_wrap_ListEvent_GetIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23396 PyObject *resultobj;
23397 wxListEvent *arg1 = (wxListEvent *) 0 ;
23398 long result;
23399 PyObject * obj0 = 0 ;
23400 char *kwnames[] = {
23401 (char *) "self", NULL
23402 };
23403
23404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetIndex",kwnames,&obj0)) goto fail;
093d3ff1
RD
23405 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23406 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23407 {
23408 PyThreadState* __tstate = wxPyBeginAllowThreads();
23409 result = (long)(arg1)->GetIndex();
23410
23411 wxPyEndAllowThreads(__tstate);
23412 if (PyErr_Occurred()) SWIG_fail;
23413 }
093d3ff1
RD
23414 {
23415 resultobj = SWIG_From_long((long)(result));
23416 }
d14a1e28
RD
23417 return resultobj;
23418 fail:
23419 return NULL;
23420}
23421
23422
c32bde28 23423static PyObject *_wrap_ListEvent_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23424 PyObject *resultobj;
23425 wxListEvent *arg1 = (wxListEvent *) 0 ;
23426 int result;
23427 PyObject * obj0 = 0 ;
23428 char *kwnames[] = {
23429 (char *) "self", NULL
23430 };
23431
23432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",kwnames,&obj0)) goto fail;
093d3ff1
RD
23433 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23434 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23435 {
23436 PyThreadState* __tstate = wxPyBeginAllowThreads();
23437 result = (int)(arg1)->GetColumn();
23438
23439 wxPyEndAllowThreads(__tstate);
23440 if (PyErr_Occurred()) SWIG_fail;
23441 }
093d3ff1
RD
23442 {
23443 resultobj = SWIG_From_int((int)(result));
23444 }
d14a1e28
RD
23445 return resultobj;
23446 fail:
23447 return NULL;
23448}
23449
23450
c32bde28 23451static PyObject *_wrap_ListEvent_GetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23452 PyObject *resultobj;
23453 wxListEvent *arg1 = (wxListEvent *) 0 ;
23454 wxPoint result;
23455 PyObject * obj0 = 0 ;
23456 char *kwnames[] = {
23457 (char *) "self", NULL
23458 };
23459
23460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",kwnames,&obj0)) goto fail;
093d3ff1
RD
23461 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23462 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23463 {
23464 PyThreadState* __tstate = wxPyBeginAllowThreads();
23465 result = (arg1)->GetPoint();
23466
23467 wxPyEndAllowThreads(__tstate);
23468 if (PyErr_Occurred()) SWIG_fail;
23469 }
23470 {
23471 wxPoint * resultptr;
093d3ff1 23472 resultptr = new wxPoint((wxPoint &)(result));
15afbcd0 23473 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
23474 }
23475 return resultobj;
23476 fail:
23477 return NULL;
23478}
23479
23480
c32bde28 23481static PyObject *_wrap_ListEvent_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23482 PyObject *resultobj;
23483 wxListEvent *arg1 = (wxListEvent *) 0 ;
23484 wxString *result;
23485 PyObject * obj0 = 0 ;
23486 char *kwnames[] = {
23487 (char *) "self", NULL
23488 };
23489
23490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",kwnames,&obj0)) goto fail;
093d3ff1
RD
23491 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23492 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23493 {
23494 PyThreadState* __tstate = wxPyBeginAllowThreads();
23495 {
23496 wxString const &_result_ref = (arg1)->GetLabel();
23497 result = (wxString *) &_result_ref;
23498 }
23499
23500 wxPyEndAllowThreads(__tstate);
23501 if (PyErr_Occurred()) SWIG_fail;
23502 }
cc6dd355
RD
23503 {
23504#if wxUSE_UNICODE
23505 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23506#else
23507 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23508#endif
23509 }
d14a1e28
RD
23510 return resultobj;
23511 fail:
23512 return NULL;
23513}
23514
23515
c32bde28 23516static PyObject *_wrap_ListEvent_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23517 PyObject *resultobj;
23518 wxListEvent *arg1 = (wxListEvent *) 0 ;
23519 wxString *result;
23520 PyObject * obj0 = 0 ;
23521 char *kwnames[] = {
23522 (char *) "self", NULL
23523 };
23524
23525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
093d3ff1
RD
23526 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23527 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23528 {
23529 PyThreadState* __tstate = wxPyBeginAllowThreads();
23530 {
23531 wxString const &_result_ref = (arg1)->GetText();
23532 result = (wxString *) &_result_ref;
23533 }
23534
23535 wxPyEndAllowThreads(__tstate);
23536 if (PyErr_Occurred()) SWIG_fail;
23537 }
cc6dd355
RD
23538 {
23539#if wxUSE_UNICODE
23540 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23541#else
23542 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23543#endif
23544 }
d14a1e28
RD
23545 return resultobj;
23546 fail:
23547 return NULL;
23548}
23549
23550
c32bde28 23551static PyObject *_wrap_ListEvent_GetImage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23552 PyObject *resultobj;
23553 wxListEvent *arg1 = (wxListEvent *) 0 ;
23554 int result;
23555 PyObject * obj0 = 0 ;
23556 char *kwnames[] = {
23557 (char *) "self", NULL
23558 };
23559
23560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetImage",kwnames,&obj0)) goto fail;
093d3ff1
RD
23561 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23562 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23563 {
23564 PyThreadState* __tstate = wxPyBeginAllowThreads();
23565 result = (int)(arg1)->GetImage();
23566
23567 wxPyEndAllowThreads(__tstate);
23568 if (PyErr_Occurred()) SWIG_fail;
23569 }
093d3ff1
RD
23570 {
23571 resultobj = SWIG_From_int((int)(result));
23572 }
d14a1e28
RD
23573 return resultobj;
23574 fail:
23575 return NULL;
23576}
23577
23578
c32bde28 23579static PyObject *_wrap_ListEvent_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23580 PyObject *resultobj;
23581 wxListEvent *arg1 = (wxListEvent *) 0 ;
23582 long result;
23583 PyObject * obj0 = 0 ;
23584 char *kwnames[] = {
23585 (char *) "self", NULL
23586 };
23587
23588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetData",kwnames,&obj0)) goto fail;
093d3ff1
RD
23589 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23590 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23591 {
23592 PyThreadState* __tstate = wxPyBeginAllowThreads();
23593 result = (long)(arg1)->GetData();
23594
23595 wxPyEndAllowThreads(__tstate);
23596 if (PyErr_Occurred()) SWIG_fail;
23597 }
093d3ff1
RD
23598 {
23599 resultobj = SWIG_From_long((long)(result));
23600 }
d14a1e28
RD
23601 return resultobj;
23602 fail:
23603 return NULL;
23604}
23605
23606
c32bde28 23607static PyObject *_wrap_ListEvent_GetMask(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23608 PyObject *resultobj;
23609 wxListEvent *arg1 = (wxListEvent *) 0 ;
23610 long result;
23611 PyObject * obj0 = 0 ;
23612 char *kwnames[] = {
23613 (char *) "self", NULL
23614 };
23615
23616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",kwnames,&obj0)) goto fail;
093d3ff1
RD
23617 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23618 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23619 {
23620 PyThreadState* __tstate = wxPyBeginAllowThreads();
23621 result = (long)(arg1)->GetMask();
23622
23623 wxPyEndAllowThreads(__tstate);
23624 if (PyErr_Occurred()) SWIG_fail;
23625 }
093d3ff1
RD
23626 {
23627 resultobj = SWIG_From_long((long)(result));
23628 }
d14a1e28
RD
23629 return resultobj;
23630 fail:
23631 return NULL;
23632}
23633
23634
c32bde28 23635static PyObject *_wrap_ListEvent_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23636 PyObject *resultobj;
23637 wxListEvent *arg1 = (wxListEvent *) 0 ;
23638 wxListItem *result;
23639 PyObject * obj0 = 0 ;
23640 char *kwnames[] = {
23641 (char *) "self", NULL
23642 };
23643
23644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",kwnames,&obj0)) goto fail;
093d3ff1
RD
23645 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23646 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23647 {
23648 PyThreadState* __tstate = wxPyBeginAllowThreads();
23649 {
23650 wxListItem const &_result_ref = (arg1)->GetItem();
23651 result = (wxListItem *) &_result_ref;
23652 }
23653
23654 wxPyEndAllowThreads(__tstate);
23655 if (PyErr_Occurred()) SWIG_fail;
23656 }
15afbcd0 23657 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItem, 0);
d14a1e28
RD
23658 return resultobj;
23659 fail:
23660 return NULL;
23661}
23662
23663
c32bde28 23664static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23665 PyObject *resultobj;
23666 wxListEvent *arg1 = (wxListEvent *) 0 ;
23667 long result;
23668 PyObject * obj0 = 0 ;
23669 char *kwnames[] = {
23670 (char *) "self", NULL
23671 };
23672
23673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheFrom",kwnames,&obj0)) goto fail;
093d3ff1
RD
23674 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23675 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23676 {
23677 PyThreadState* __tstate = wxPyBeginAllowThreads();
23678 result = (long)(arg1)->GetCacheFrom();
23679
23680 wxPyEndAllowThreads(__tstate);
23681 if (PyErr_Occurred()) SWIG_fail;
23682 }
093d3ff1
RD
23683 {
23684 resultobj = SWIG_From_long((long)(result));
23685 }
d14a1e28
RD
23686 return resultobj;
23687 fail:
23688 return NULL;
23689}
23690
23691
c32bde28 23692static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23693 PyObject *resultobj;
23694 wxListEvent *arg1 = (wxListEvent *) 0 ;
23695 long result;
23696 PyObject * obj0 = 0 ;
23697 char *kwnames[] = {
23698 (char *) "self", NULL
23699 };
23700
23701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",kwnames,&obj0)) goto fail;
093d3ff1
RD
23702 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23703 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23704 {
23705 PyThreadState* __tstate = wxPyBeginAllowThreads();
23706 result = (long)(arg1)->GetCacheTo();
23707
23708 wxPyEndAllowThreads(__tstate);
23709 if (PyErr_Occurred()) SWIG_fail;
23710 }
093d3ff1
RD
23711 {
23712 resultobj = SWIG_From_long((long)(result));
23713 }
d14a1e28
RD
23714 return resultobj;
23715 fail:
23716 return NULL;
23717}
23718
23719
c32bde28 23720static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23721 PyObject *resultobj;
23722 wxListEvent *arg1 = (wxListEvent *) 0 ;
23723 bool result;
23724 PyObject * obj0 = 0 ;
23725 char *kwnames[] = {
23726 (char *) "self", NULL
23727 };
23728
23729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
093d3ff1
RD
23730 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23731 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23732 {
23733 PyThreadState* __tstate = wxPyBeginAllowThreads();
23734 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
23735
23736 wxPyEndAllowThreads(__tstate);
23737 if (PyErr_Occurred()) SWIG_fail;
23738 }
4f89f6a3
RD
23739 {
23740 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23741 }
d14a1e28
RD
23742 return resultobj;
23743 fail:
23744 return NULL;
23745}
23746
23747
c32bde28 23748static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23749 PyObject *resultobj;
23750 wxListEvent *arg1 = (wxListEvent *) 0 ;
23751 bool arg2 ;
23752 PyObject * obj0 = 0 ;
23753 PyObject * obj1 = 0 ;
23754 char *kwnames[] = {
23755 (char *) "self",(char *) "editCancelled", NULL
23756 };
23757
23758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23759 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23760 if (SWIG_arg_fail(1)) SWIG_fail;
23761 {
23762 arg2 = (bool)(SWIG_As_bool(obj1));
23763 if (SWIG_arg_fail(2)) SWIG_fail;
23764 }
d14a1e28
RD
23765 {
23766 PyThreadState* __tstate = wxPyBeginAllowThreads();
23767 (arg1)->SetEditCanceled(arg2);
23768
23769 wxPyEndAllowThreads(__tstate);
23770 if (PyErr_Occurred()) SWIG_fail;
23771 }
23772 Py_INCREF(Py_None); resultobj = Py_None;
23773 return resultobj;
23774 fail:
23775 return NULL;
23776}
23777
23778
c32bde28 23779static PyObject * ListEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
23780 PyObject *obj;
23781 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23782 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
23783 Py_INCREF(obj);
23784 return Py_BuildValue((char *)"");
23785}
c32bde28 23786static PyObject *_wrap_new_ListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23787 PyObject *resultobj;
23788 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 23789 int arg2 = (int) -1 ;
d14a1e28
RD
23790 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23791 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23792 wxSize const &arg4_defvalue = wxDefaultSize ;
23793 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23794 long arg5 = (long) wxLC_ICON ;
23795 wxValidator const &arg6_defvalue = wxDefaultValidator ;
23796 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
23797 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
23798 wxString *arg7 = (wxString *) &arg7_defvalue ;
23799 wxPyListCtrl *result;
23800 wxPoint temp3 ;
23801 wxSize temp4 ;
ae8162c8 23802 bool temp7 = false ;
d14a1e28 23803 PyObject * obj0 = 0 ;
994141e6 23804 PyObject * obj1 = 0 ;
d14a1e28
RD
23805 PyObject * obj2 = 0 ;
23806 PyObject * obj3 = 0 ;
994141e6 23807 PyObject * obj4 = 0 ;
d14a1e28
RD
23808 PyObject * obj5 = 0 ;
23809 PyObject * obj6 = 0 ;
23810 char *kwnames[] = {
23811 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23812 };
23813
994141e6 23814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
23815 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
23816 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 23817 if (obj1) {
093d3ff1
RD
23818 {
23819 arg2 = (int)(SWIG_As_int(obj1));
23820 if (SWIG_arg_fail(2)) SWIG_fail;
23821 }
994141e6 23822 }
d14a1e28
RD
23823 if (obj2) {
23824 {
23825 arg3 = &temp3;
23826 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23827 }
23828 }
23829 if (obj3) {
23830 {
23831 arg4 = &temp4;
23832 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23833 }
23834 }
994141e6 23835 if (obj4) {
093d3ff1
RD
23836 {
23837 arg5 = (long)(SWIG_As_long(obj4));
23838 if (SWIG_arg_fail(5)) SWIG_fail;
23839 }
994141e6 23840 }
d14a1e28 23841 if (obj5) {
093d3ff1
RD
23842 {
23843 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
23844 if (SWIG_arg_fail(6)) SWIG_fail;
23845 if (arg6 == NULL) {
23846 SWIG_null_ref("wxValidator");
23847 }
23848 if (SWIG_arg_fail(6)) SWIG_fail;
d14a1e28
RD
23849 }
23850 }
23851 if (obj6) {
23852 {
23853 arg7 = wxString_in_helper(obj6);
23854 if (arg7 == NULL) SWIG_fail;
ae8162c8 23855 temp7 = true;
d14a1e28
RD
23856 }
23857 }
23858 {
e3b71cb8 23859 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
23860 PyThreadState* __tstate = wxPyBeginAllowThreads();
23861 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
23862
23863 wxPyEndAllowThreads(__tstate);
110da5b0 23864 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 23865 }
15afbcd0 23866 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
d14a1e28
RD
23867 {
23868 if (temp7)
23869 delete arg7;
23870 }
23871 return resultobj;
23872 fail:
23873 {
23874 if (temp7)
23875 delete arg7;
23876 }
23877 return NULL;
23878}
23879
23880
c32bde28 23881static PyObject *_wrap_new_PreListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23882 PyObject *resultobj;
23883 wxPyListCtrl *result;
23884 char *kwnames[] = {
23885 NULL
23886 };
23887
23888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
23889 {
e3b71cb8 23890 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
23891 PyThreadState* __tstate = wxPyBeginAllowThreads();
23892 result = (wxPyListCtrl *)new wxPyListCtrl();
23893
23894 wxPyEndAllowThreads(__tstate);
110da5b0 23895 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 23896 }
15afbcd0 23897 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
d14a1e28
RD
23898 return resultobj;
23899 fail:
23900 return NULL;
23901}
23902
23903
c32bde28 23904static PyObject *_wrap_ListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23905 PyObject *resultobj;
23906 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23907 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 23908 int arg3 = (int) -1 ;
d14a1e28
RD
23909 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23910 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23911 wxSize const &arg5_defvalue = wxDefaultSize ;
23912 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23913 long arg6 = (long) wxLC_ICON ;
23914 wxValidator const &arg7_defvalue = wxDefaultValidator ;
23915 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
23916 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
23917 wxString *arg8 = (wxString *) &arg8_defvalue ;
23918 bool result;
23919 wxPoint temp4 ;
23920 wxSize temp5 ;
ae8162c8 23921 bool temp8 = false ;
d14a1e28
RD
23922 PyObject * obj0 = 0 ;
23923 PyObject * obj1 = 0 ;
994141e6 23924 PyObject * obj2 = 0 ;
d14a1e28
RD
23925 PyObject * obj3 = 0 ;
23926 PyObject * obj4 = 0 ;
994141e6 23927 PyObject * obj5 = 0 ;
d14a1e28
RD
23928 PyObject * obj6 = 0 ;
23929 PyObject * obj7 = 0 ;
23930 char *kwnames[] = {
23931 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23932 };
23933
994141e6 23934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
23935 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
23936 if (SWIG_arg_fail(1)) SWIG_fail;
23937 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
23938 if (SWIG_arg_fail(2)) SWIG_fail;
994141e6 23939 if (obj2) {
093d3ff1
RD
23940 {
23941 arg3 = (int)(SWIG_As_int(obj2));
23942 if (SWIG_arg_fail(3)) SWIG_fail;
23943 }
994141e6 23944 }
d14a1e28
RD
23945 if (obj3) {
23946 {
23947 arg4 = &temp4;
23948 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23949 }
23950 }
23951 if (obj4) {
23952 {
23953 arg5 = &temp5;
23954 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23955 }
23956 }
994141e6 23957 if (obj5) {
093d3ff1
RD
23958 {
23959 arg6 = (long)(SWIG_As_long(obj5));
23960 if (SWIG_arg_fail(6)) SWIG_fail;
23961 }
994141e6 23962 }
d14a1e28 23963 if (obj6) {
093d3ff1
RD
23964 {
23965 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
23966 if (SWIG_arg_fail(7)) SWIG_fail;
23967 if (arg7 == NULL) {
23968 SWIG_null_ref("wxValidator");
23969 }
23970 if (SWIG_arg_fail(7)) SWIG_fail;
d14a1e28
RD
23971 }
23972 }
23973 if (obj7) {
23974 {
23975 arg8 = wxString_in_helper(obj7);
23976 if (arg8 == NULL) SWIG_fail;
ae8162c8 23977 temp8 = true;
d14a1e28
RD
23978 }
23979 }
23980 {
23981 PyThreadState* __tstate = wxPyBeginAllowThreads();
23982 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
23983
23984 wxPyEndAllowThreads(__tstate);
23985 if (PyErr_Occurred()) SWIG_fail;
23986 }
4f89f6a3
RD
23987 {
23988 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23989 }
d14a1e28
RD
23990 {
23991 if (temp8)
23992 delete arg8;
23993 }
23994 return resultobj;
23995 fail:
23996 {
23997 if (temp8)
23998 delete arg8;
23999 }
24000 return NULL;
24001}
24002
24003
c32bde28 24004static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24005 PyObject *resultobj;
24006 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24007 PyObject *arg2 = (PyObject *) 0 ;
24008 PyObject *arg3 = (PyObject *) 0 ;
24009 PyObject * obj0 = 0 ;
24010 PyObject * obj1 = 0 ;
24011 PyObject * obj2 = 0 ;
24012 char *kwnames[] = {
24013 (char *) "self",(char *) "self",(char *) "_class", NULL
24014 };
24015
24016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24017 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24018 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24019 arg2 = obj1;
24020 arg3 = obj2;
24021 {
24022 PyThreadState* __tstate = wxPyBeginAllowThreads();
24023 (arg1)->_setCallbackInfo(arg2,arg3);
24024
24025 wxPyEndAllowThreads(__tstate);
24026 if (PyErr_Occurred()) SWIG_fail;
24027 }
24028 Py_INCREF(Py_None); resultobj = Py_None;
24029 return resultobj;
24030 fail:
24031 return NULL;
24032}
24033
24034
c32bde28 24035static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24036 PyObject *resultobj;
24037 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24038 wxColour *arg2 = 0 ;
24039 bool result;
24040 wxColour temp2 ;
24041 PyObject * obj0 = 0 ;
24042 PyObject * obj1 = 0 ;
24043 char *kwnames[] = {
24044 (char *) "self",(char *) "col", NULL
24045 };
24046
24047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24048 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24049 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24050 {
24051 arg2 = &temp2;
24052 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
24053 }
24054 {
24055 PyThreadState* __tstate = wxPyBeginAllowThreads();
24056 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
24057
24058 wxPyEndAllowThreads(__tstate);
24059 if (PyErr_Occurred()) SWIG_fail;
24060 }
4f89f6a3
RD
24061 {
24062 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24063 }
d14a1e28
RD
24064 return resultobj;
24065 fail:
24066 return NULL;
24067}
24068
24069
c32bde28 24070static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24071 PyObject *resultobj;
24072 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24073 wxColour *arg2 = 0 ;
24074 bool result;
24075 wxColour temp2 ;
24076 PyObject * obj0 = 0 ;
24077 PyObject * obj1 = 0 ;
24078 char *kwnames[] = {
24079 (char *) "self",(char *) "col", NULL
24080 };
24081
24082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24083 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24084 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24085 {
24086 arg2 = &temp2;
24087 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
24088 }
24089 {
24090 PyThreadState* __tstate = wxPyBeginAllowThreads();
24091 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
24092
24093 wxPyEndAllowThreads(__tstate);
24094 if (PyErr_Occurred()) SWIG_fail;
24095 }
4f89f6a3
RD
24096 {
24097 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24098 }
d14a1e28
RD
24099 return resultobj;
24100 fail:
24101 return NULL;
24102}
24103
24104
c32bde28 24105static PyObject *_wrap_ListCtrl_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24106 PyObject *resultobj;
24107 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24108 int arg2 ;
24109 wxListItem *result;
24110 PyObject * obj0 = 0 ;
994141e6 24111 PyObject * obj1 = 0 ;
d14a1e28
RD
24112 char *kwnames[] = {
24113 (char *) "self",(char *) "col", NULL
24114 };
24115
994141e6 24116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24117 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24118 if (SWIG_arg_fail(1)) SWIG_fail;
24119 {
24120 arg2 = (int)(SWIG_As_int(obj1));
24121 if (SWIG_arg_fail(2)) SWIG_fail;
24122 }
d14a1e28
RD
24123 {
24124 PyThreadState* __tstate = wxPyBeginAllowThreads();
24125 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
24126
24127 wxPyEndAllowThreads(__tstate);
24128 if (PyErr_Occurred()) SWIG_fail;
24129 }
24130 {
412d302d 24131 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
24132 }
24133 return resultobj;
24134 fail:
24135 return NULL;
24136}
24137
24138
c32bde28 24139static PyObject *_wrap_ListCtrl_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24140 PyObject *resultobj;
24141 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24142 int arg2 ;
24143 wxListItem *arg3 = 0 ;
24144 bool result;
24145 PyObject * obj0 = 0 ;
994141e6 24146 PyObject * obj1 = 0 ;
d14a1e28
RD
24147 PyObject * obj2 = 0 ;
24148 char *kwnames[] = {
24149 (char *) "self",(char *) "col",(char *) "item", NULL
24150 };
24151
994141e6 24152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24153 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24154 if (SWIG_arg_fail(1)) SWIG_fail;
24155 {
24156 arg2 = (int)(SWIG_As_int(obj1));
24157 if (SWIG_arg_fail(2)) SWIG_fail;
24158 }
24159 {
24160 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24161 if (SWIG_arg_fail(3)) SWIG_fail;
24162 if (arg3 == NULL) {
24163 SWIG_null_ref("wxListItem");
24164 }
24165 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
24166 }
24167 {
24168 PyThreadState* __tstate = wxPyBeginAllowThreads();
24169 result = (bool)(arg1)->SetColumn(arg2,*arg3);
24170
24171 wxPyEndAllowThreads(__tstate);
24172 if (PyErr_Occurred()) SWIG_fail;
24173 }
4f89f6a3
RD
24174 {
24175 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24176 }
d14a1e28
RD
24177 return resultobj;
24178 fail:
24179 return NULL;
24180}
24181
24182
c32bde28 24183static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24184 PyObject *resultobj;
24185 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24186 int arg2 ;
24187 int result;
24188 PyObject * obj0 = 0 ;
994141e6 24189 PyObject * obj1 = 0 ;
d14a1e28
RD
24190 char *kwnames[] = {
24191 (char *) "self",(char *) "col", NULL
24192 };
24193
994141e6 24194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24195 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24196 if (SWIG_arg_fail(1)) SWIG_fail;
24197 {
24198 arg2 = (int)(SWIG_As_int(obj1));
24199 if (SWIG_arg_fail(2)) SWIG_fail;
24200 }
d14a1e28
RD
24201 {
24202 PyThreadState* __tstate = wxPyBeginAllowThreads();
24203 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
24204
24205 wxPyEndAllowThreads(__tstate);
24206 if (PyErr_Occurred()) SWIG_fail;
24207 }
093d3ff1
RD
24208 {
24209 resultobj = SWIG_From_int((int)(result));
24210 }
d14a1e28
RD
24211 return resultobj;
24212 fail:
24213 return NULL;
24214}
24215
24216
c32bde28 24217static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24218 PyObject *resultobj;
24219 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24220 int arg2 ;
24221 int arg3 ;
24222 bool result;
24223 PyObject * obj0 = 0 ;
994141e6
RD
24224 PyObject * obj1 = 0 ;
24225 PyObject * obj2 = 0 ;
d14a1e28
RD
24226 char *kwnames[] = {
24227 (char *) "self",(char *) "col",(char *) "width", NULL
24228 };
24229
994141e6 24230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24231 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24232 if (SWIG_arg_fail(1)) SWIG_fail;
24233 {
24234 arg2 = (int)(SWIG_As_int(obj1));
24235 if (SWIG_arg_fail(2)) SWIG_fail;
24236 }
24237 {
24238 arg3 = (int)(SWIG_As_int(obj2));
24239 if (SWIG_arg_fail(3)) SWIG_fail;
24240 }
d14a1e28
RD
24241 {
24242 PyThreadState* __tstate = wxPyBeginAllowThreads();
24243 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
24244
24245 wxPyEndAllowThreads(__tstate);
24246 if (PyErr_Occurred()) SWIG_fail;
24247 }
4f89f6a3
RD
24248 {
24249 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24250 }
d14a1e28
RD
24251 return resultobj;
24252 fail:
24253 return NULL;
24254}
24255
24256
c32bde28 24257static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24258 PyObject *resultobj;
24259 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24260 int result;
24261 PyObject * obj0 = 0 ;
24262 char *kwnames[] = {
24263 (char *) "self", NULL
24264 };
24265
24266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",kwnames,&obj0)) goto fail;
093d3ff1
RD
24267 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24268 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24269 {
24270 PyThreadState* __tstate = wxPyBeginAllowThreads();
24271 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
24272
24273 wxPyEndAllowThreads(__tstate);
24274 if (PyErr_Occurred()) SWIG_fail;
24275 }
093d3ff1
RD
24276 {
24277 resultobj = SWIG_From_int((int)(result));
24278 }
d14a1e28
RD
24279 return resultobj;
24280 fail:
24281 return NULL;
24282}
24283
24284
c32bde28 24285static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24286 PyObject *resultobj;
24287 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24288 wxRect result;
24289 PyObject * obj0 = 0 ;
24290 char *kwnames[] = {
24291 (char *) "self", NULL
24292 };
24293
24294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) goto fail;
093d3ff1
RD
24295 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24296 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24297 {
24298 PyThreadState* __tstate = wxPyBeginAllowThreads();
24299 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
24300
24301 wxPyEndAllowThreads(__tstate);
24302 if (PyErr_Occurred()) SWIG_fail;
24303 }
24304 {
24305 wxRect * resultptr;
093d3ff1 24306 resultptr = new wxRect((wxRect &)(result));
15afbcd0 24307 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
24308 }
24309 return resultobj;
24310 fail:
24311 return NULL;
24312}
24313
24314
c32bde28 24315static PyObject *_wrap_ListCtrl_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24316 PyObject *resultobj;
24317 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24318 long arg2 ;
24319 int arg3 = (int) 0 ;
24320 wxListItem *result;
24321 PyObject * obj0 = 0 ;
994141e6
RD
24322 PyObject * obj1 = 0 ;
24323 PyObject * obj2 = 0 ;
d14a1e28
RD
24324 char *kwnames[] = {
24325 (char *) "self",(char *) "itemId",(char *) "col", NULL
24326 };
24327
994141e6 24328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24329 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24330 if (SWIG_arg_fail(1)) SWIG_fail;
24331 {
24332 arg2 = (long)(SWIG_As_long(obj1));
24333 if (SWIG_arg_fail(2)) SWIG_fail;
24334 }
994141e6 24335 if (obj2) {
093d3ff1
RD
24336 {
24337 arg3 = (int)(SWIG_As_int(obj2));
24338 if (SWIG_arg_fail(3)) SWIG_fail;
24339 }
994141e6 24340 }
d14a1e28
RD
24341 {
24342 PyThreadState* __tstate = wxPyBeginAllowThreads();
24343 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
24344
24345 wxPyEndAllowThreads(__tstate);
24346 if (PyErr_Occurred()) SWIG_fail;
24347 }
24348 {
412d302d 24349 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
24350 }
24351 return resultobj;
24352 fail:
24353 return NULL;
24354}
24355
24356
c32bde28 24357static PyObject *_wrap_ListCtrl_SetItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24358 PyObject *resultobj;
24359 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24360 wxListItem *arg2 = 0 ;
24361 bool result;
24362 PyObject * obj0 = 0 ;
24363 PyObject * obj1 = 0 ;
24364 char *kwnames[] = {
24365 (char *) "self",(char *) "info", NULL
24366 };
24367
24368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24369 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24370 if (SWIG_arg_fail(1)) SWIG_fail;
24371 {
24372 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24373 if (SWIG_arg_fail(2)) SWIG_fail;
24374 if (arg2 == NULL) {
24375 SWIG_null_ref("wxListItem");
24376 }
24377 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
24378 }
24379 {
24380 PyThreadState* __tstate = wxPyBeginAllowThreads();
24381 result = (bool)(arg1)->SetItem(*arg2);
24382
24383 wxPyEndAllowThreads(__tstate);
24384 if (PyErr_Occurred()) SWIG_fail;
24385 }
4f89f6a3
RD
24386 {
24387 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24388 }
d14a1e28
RD
24389 return resultobj;
24390 fail:
24391 return NULL;
24392}
24393
24394
c32bde28 24395static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24396 PyObject *resultobj;
24397 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24398 long arg2 ;
24399 int arg3 ;
24400 wxString *arg4 = 0 ;
24401 int arg5 = (int) -1 ;
24402 long result;
ae8162c8 24403 bool temp4 = false ;
d14a1e28 24404 PyObject * obj0 = 0 ;
994141e6
RD
24405 PyObject * obj1 = 0 ;
24406 PyObject * obj2 = 0 ;
d14a1e28 24407 PyObject * obj3 = 0 ;
994141e6 24408 PyObject * obj4 = 0 ;
d14a1e28
RD
24409 char *kwnames[] = {
24410 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
24411 };
24412
994141e6 24413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
24414 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24415 if (SWIG_arg_fail(1)) SWIG_fail;
24416 {
24417 arg2 = (long)(SWIG_As_long(obj1));
24418 if (SWIG_arg_fail(2)) SWIG_fail;
24419 }
24420 {
24421 arg3 = (int)(SWIG_As_int(obj2));
24422 if (SWIG_arg_fail(3)) SWIG_fail;
24423 }
d14a1e28
RD
24424 {
24425 arg4 = wxString_in_helper(obj3);
24426 if (arg4 == NULL) SWIG_fail;
ae8162c8 24427 temp4 = true;
d14a1e28 24428 }
994141e6 24429 if (obj4) {
093d3ff1
RD
24430 {
24431 arg5 = (int)(SWIG_As_int(obj4));
24432 if (SWIG_arg_fail(5)) SWIG_fail;
24433 }
994141e6 24434 }
d14a1e28
RD
24435 {
24436 PyThreadState* __tstate = wxPyBeginAllowThreads();
24437 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
24438
24439 wxPyEndAllowThreads(__tstate);
24440 if (PyErr_Occurred()) SWIG_fail;
24441 }
093d3ff1
RD
24442 {
24443 resultobj = SWIG_From_long((long)(result));
24444 }
d14a1e28
RD
24445 {
24446 if (temp4)
24447 delete arg4;
24448 }
24449 return resultobj;
24450 fail:
24451 {
24452 if (temp4)
24453 delete arg4;
24454 }
24455 return NULL;
24456}
24457
24458
c32bde28 24459static PyObject *_wrap_ListCtrl_GetItemState(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24460 PyObject *resultobj;
24461 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24462 long arg2 ;
24463 long arg3 ;
24464 int result;
24465 PyObject * obj0 = 0 ;
994141e6
RD
24466 PyObject * obj1 = 0 ;
24467 PyObject * obj2 = 0 ;
d14a1e28
RD
24468 char *kwnames[] = {
24469 (char *) "self",(char *) "item",(char *) "stateMask", NULL
24470 };
24471
994141e6 24472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_GetItemState",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24473 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24474 if (SWIG_arg_fail(1)) SWIG_fail;
24475 {
24476 arg2 = (long)(SWIG_As_long(obj1));
24477 if (SWIG_arg_fail(2)) SWIG_fail;
24478 }
24479 {
24480 arg3 = (long)(SWIG_As_long(obj2));
24481 if (SWIG_arg_fail(3)) SWIG_fail;
24482 }
d14a1e28
RD
24483 {
24484 PyThreadState* __tstate = wxPyBeginAllowThreads();
24485 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
24486
24487 wxPyEndAllowThreads(__tstate);
24488 if (PyErr_Occurred()) SWIG_fail;
24489 }
093d3ff1
RD
24490 {
24491 resultobj = SWIG_From_int((int)(result));
24492 }
d14a1e28
RD
24493 return resultobj;
24494 fail:
24495 return NULL;
24496}
24497
24498
c32bde28 24499static PyObject *_wrap_ListCtrl_SetItemState(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24500 PyObject *resultobj;
24501 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24502 long arg2 ;
24503 long arg3 ;
24504 long arg4 ;
24505 bool result;
24506 PyObject * obj0 = 0 ;
994141e6
RD
24507 PyObject * obj1 = 0 ;
24508 PyObject * obj2 = 0 ;
24509 PyObject * obj3 = 0 ;
d14a1e28
RD
24510 char *kwnames[] = {
24511 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
24512 };
24513
994141e6 24514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemState",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
24515 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24516 if (SWIG_arg_fail(1)) SWIG_fail;
24517 {
24518 arg2 = (long)(SWIG_As_long(obj1));
24519 if (SWIG_arg_fail(2)) SWIG_fail;
24520 }
24521 {
24522 arg3 = (long)(SWIG_As_long(obj2));
24523 if (SWIG_arg_fail(3)) SWIG_fail;
24524 }
24525 {
24526 arg4 = (long)(SWIG_As_long(obj3));
24527 if (SWIG_arg_fail(4)) SWIG_fail;
24528 }
d14a1e28
RD
24529 {
24530 PyThreadState* __tstate = wxPyBeginAllowThreads();
24531 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
24532
24533 wxPyEndAllowThreads(__tstate);
24534 if (PyErr_Occurred()) SWIG_fail;
24535 }
4f89f6a3
RD
24536 {
24537 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24538 }
d14a1e28
RD
24539 return resultobj;
24540 fail:
24541 return NULL;
24542}
24543
24544
c32bde28 24545static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24546 PyObject *resultobj;
24547 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24548 long arg2 ;
24549 int arg3 ;
1fc3b23a 24550 int arg4 = (int) -1 ;
d14a1e28
RD
24551 bool result;
24552 PyObject * obj0 = 0 ;
994141e6
RD
24553 PyObject * obj1 = 0 ;
24554 PyObject * obj2 = 0 ;
24555 PyObject * obj3 = 0 ;
d14a1e28
RD
24556 char *kwnames[] = {
24557 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
24558 };
24559
1fc3b23a 24560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
24561 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24562 if (SWIG_arg_fail(1)) SWIG_fail;
24563 {
24564 arg2 = (long)(SWIG_As_long(obj1));
24565 if (SWIG_arg_fail(2)) SWIG_fail;
24566 }
24567 {
24568 arg3 = (int)(SWIG_As_int(obj2));
24569 if (SWIG_arg_fail(3)) SWIG_fail;
24570 }
1fc3b23a 24571 if (obj3) {
093d3ff1
RD
24572 {
24573 arg4 = (int)(SWIG_As_int(obj3));
24574 if (SWIG_arg_fail(4)) SWIG_fail;
24575 }
1fc3b23a 24576 }
d14a1e28
RD
24577 {
24578 PyThreadState* __tstate = wxPyBeginAllowThreads();
24579 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
24580
24581 wxPyEndAllowThreads(__tstate);
24582 if (PyErr_Occurred()) SWIG_fail;
24583 }
4f89f6a3
RD
24584 {
24585 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24586 }
d14a1e28
RD
24587 return resultobj;
24588 fail:
24589 return NULL;
24590}
24591
24592
c32bde28 24593static PyObject *_wrap_ListCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24594 PyObject *resultobj;
24595 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24596 long arg2 ;
24597 wxString result;
24598 PyObject * obj0 = 0 ;
994141e6 24599 PyObject * obj1 = 0 ;
d14a1e28
RD
24600 char *kwnames[] = {
24601 (char *) "self",(char *) "item", NULL
24602 };
24603
994141e6 24604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24605 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24606 if (SWIG_arg_fail(1)) SWIG_fail;
24607 {
24608 arg2 = (long)(SWIG_As_long(obj1));
24609 if (SWIG_arg_fail(2)) SWIG_fail;
24610 }
d14a1e28
RD
24611 {
24612 PyThreadState* __tstate = wxPyBeginAllowThreads();
24613 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
24614
24615 wxPyEndAllowThreads(__tstate);
24616 if (PyErr_Occurred()) SWIG_fail;
24617 }
24618 {
24619#if wxUSE_UNICODE
24620 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24621#else
24622 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24623#endif
24624 }
24625 return resultobj;
24626 fail:
24627 return NULL;
24628}
24629
24630
c32bde28 24631static PyObject *_wrap_ListCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24632 PyObject *resultobj;
24633 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24634 long arg2 ;
24635 wxString *arg3 = 0 ;
ae8162c8 24636 bool temp3 = false ;
d14a1e28 24637 PyObject * obj0 = 0 ;
994141e6 24638 PyObject * obj1 = 0 ;
d14a1e28
RD
24639 PyObject * obj2 = 0 ;
24640 char *kwnames[] = {
24641 (char *) "self",(char *) "item",(char *) "str", NULL
24642 };
24643
994141e6 24644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24645 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24646 if (SWIG_arg_fail(1)) SWIG_fail;
24647 {
24648 arg2 = (long)(SWIG_As_long(obj1));
24649 if (SWIG_arg_fail(2)) SWIG_fail;
24650 }
d14a1e28
RD
24651 {
24652 arg3 = wxString_in_helper(obj2);
24653 if (arg3 == NULL) SWIG_fail;
ae8162c8 24654 temp3 = true;
d14a1e28
RD
24655 }
24656 {
24657 PyThreadState* __tstate = wxPyBeginAllowThreads();
24658 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
24659
24660 wxPyEndAllowThreads(__tstate);
24661 if (PyErr_Occurred()) SWIG_fail;
24662 }
24663 Py_INCREF(Py_None); resultobj = Py_None;
24664 {
24665 if (temp3)
24666 delete arg3;
24667 }
24668 return resultobj;
24669 fail:
24670 {
24671 if (temp3)
24672 delete arg3;
24673 }
24674 return NULL;
24675}
24676
24677
c32bde28 24678static PyObject *_wrap_ListCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24679 PyObject *resultobj;
24680 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24681 long arg2 ;
24682 long result;
24683 PyObject * obj0 = 0 ;
994141e6 24684 PyObject * obj1 = 0 ;
d14a1e28
RD
24685 char *kwnames[] = {
24686 (char *) "self",(char *) "item", NULL
24687 };
24688
994141e6 24689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24690 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24691 if (SWIG_arg_fail(1)) SWIG_fail;
24692 {
24693 arg2 = (long)(SWIG_As_long(obj1));
24694 if (SWIG_arg_fail(2)) SWIG_fail;
24695 }
d14a1e28
RD
24696 {
24697 PyThreadState* __tstate = wxPyBeginAllowThreads();
24698 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
24699
24700 wxPyEndAllowThreads(__tstate);
24701 if (PyErr_Occurred()) SWIG_fail;
24702 }
093d3ff1
RD
24703 {
24704 resultobj = SWIG_From_long((long)(result));
24705 }
d14a1e28
RD
24706 return resultobj;
24707 fail:
24708 return NULL;
24709}
24710
24711
c32bde28 24712static PyObject *_wrap_ListCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24713 PyObject *resultobj;
24714 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24715 long arg2 ;
24716 long arg3 ;
24717 bool result;
24718 PyObject * obj0 = 0 ;
994141e6
RD
24719 PyObject * obj1 = 0 ;
24720 PyObject * obj2 = 0 ;
d14a1e28
RD
24721 char *kwnames[] = {
24722 (char *) "self",(char *) "item",(char *) "data", NULL
24723 };
24724
994141e6 24725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24726 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24727 if (SWIG_arg_fail(1)) SWIG_fail;
24728 {
24729 arg2 = (long)(SWIG_As_long(obj1));
24730 if (SWIG_arg_fail(2)) SWIG_fail;
24731 }
24732 {
24733 arg3 = (long)(SWIG_As_long(obj2));
24734 if (SWIG_arg_fail(3)) SWIG_fail;
24735 }
d14a1e28
RD
24736 {
24737 PyThreadState* __tstate = wxPyBeginAllowThreads();
24738 result = (bool)(arg1)->SetItemData(arg2,arg3);
24739
24740 wxPyEndAllowThreads(__tstate);
24741 if (PyErr_Occurred()) SWIG_fail;
24742 }
4f89f6a3
RD
24743 {
24744 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24745 }
d14a1e28
RD
24746 return resultobj;
24747 fail:
24748 return NULL;
24749}
24750
24751
c32bde28 24752static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24753 PyObject *resultobj;
24754 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24755 long arg2 ;
24756 wxPoint result;
24757 PyObject * obj0 = 0 ;
994141e6 24758 PyObject * obj1 = 0 ;
d14a1e28
RD
24759 char *kwnames[] = {
24760 (char *) "self",(char *) "item", NULL
24761 };
24762
994141e6 24763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemPosition",kwnames,&obj0,&obj1)) 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 }
d14a1e28
RD
24770 {
24771 PyThreadState* __tstate = wxPyBeginAllowThreads();
24772 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
24773
24774 wxPyEndAllowThreads(__tstate);
24775 if (PyErr_Occurred()) SWIG_fail;
24776 }
24777 {
24778 wxPoint * resultptr;
093d3ff1 24779 resultptr = new wxPoint((wxPoint &)(result));
15afbcd0 24780 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
24781 }
24782 return resultobj;
24783 fail:
24784 return NULL;
24785}
24786
24787
c32bde28 24788static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24789 PyObject *resultobj;
24790 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24791 long arg2 ;
24792 int arg3 = (int) wxLIST_RECT_BOUNDS ;
24793 wxRect result;
24794 PyObject * obj0 = 0 ;
994141e6
RD
24795 PyObject * obj1 = 0 ;
24796 PyObject * obj2 = 0 ;
d14a1e28
RD
24797 char *kwnames[] = {
24798 (char *) "self",(char *) "item",(char *) "code", NULL
24799 };
24800
994141e6 24801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItemRect",kwnames,&obj0,&obj1,&obj2)) 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 }
994141e6 24808 if (obj2) {
093d3ff1
RD
24809 {
24810 arg3 = (int)(SWIG_As_int(obj2));
24811 if (SWIG_arg_fail(3)) SWIG_fail;
24812 }
994141e6 24813 }
d14a1e28
RD
24814 {
24815 PyThreadState* __tstate = wxPyBeginAllowThreads();
24816 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
24817
24818 wxPyEndAllowThreads(__tstate);
24819 if (PyErr_Occurred()) SWIG_fail;
24820 }
24821 {
24822 wxRect * resultptr;
093d3ff1 24823 resultptr = new wxRect((wxRect &)(result));
15afbcd0 24824 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
24825 }
24826 return resultobj;
24827 fail:
24828 return NULL;
24829}
24830
24831
c32bde28 24832static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24833 PyObject *resultobj;
24834 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24835 long arg2 ;
24836 wxPoint *arg3 = 0 ;
24837 bool result;
24838 wxPoint temp3 ;
24839 PyObject * obj0 = 0 ;
994141e6 24840 PyObject * obj1 = 0 ;
d14a1e28
RD
24841 PyObject * obj2 = 0 ;
24842 char *kwnames[] = {
24843 (char *) "self",(char *) "item",(char *) "pos", NULL
24844 };
24845
994141e6 24846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24847 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24848 if (SWIG_arg_fail(1)) SWIG_fail;
24849 {
24850 arg2 = (long)(SWIG_As_long(obj1));
24851 if (SWIG_arg_fail(2)) SWIG_fail;
24852 }
d14a1e28
RD
24853 {
24854 arg3 = &temp3;
24855 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24856 }
24857 {
24858 PyThreadState* __tstate = wxPyBeginAllowThreads();
24859 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
24860
24861 wxPyEndAllowThreads(__tstate);
24862 if (PyErr_Occurred()) SWIG_fail;
24863 }
4f89f6a3
RD
24864 {
24865 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24866 }
d14a1e28
RD
24867 return resultobj;
24868 fail:
24869 return NULL;
24870}
24871
24872
c32bde28 24873static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24874 PyObject *resultobj;
24875 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24876 int result;
24877 PyObject * obj0 = 0 ;
24878 char *kwnames[] = {
24879 (char *) "self", NULL
24880 };
24881
24882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
24883 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24884 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24885 {
24886 PyThreadState* __tstate = wxPyBeginAllowThreads();
24887 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
24888
24889 wxPyEndAllowThreads(__tstate);
24890 if (PyErr_Occurred()) SWIG_fail;
24891 }
093d3ff1
RD
24892 {
24893 resultobj = SWIG_From_int((int)(result));
24894 }
d14a1e28
RD
24895 return resultobj;
24896 fail:
24897 return NULL;
24898}
24899
24900
c32bde28 24901static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24902 PyObject *resultobj;
24903 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24904 int result;
24905 PyObject * obj0 = 0 ;
24906 char *kwnames[] = {
24907 (char *) "self", NULL
24908 };
24909
24910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
24911 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24912 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24913 {
24914 PyThreadState* __tstate = wxPyBeginAllowThreads();
24915 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
24916
24917 wxPyEndAllowThreads(__tstate);
24918 if (PyErr_Occurred()) SWIG_fail;
24919 }
093d3ff1
RD
24920 {
24921 resultobj = SWIG_From_int((int)(result));
24922 }
d14a1e28
RD
24923 return resultobj;
24924 fail:
24925 return NULL;
24926}
24927
24928
c32bde28 24929static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24930 PyObject *resultobj;
24931 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24932 wxSize result;
24933 PyObject * obj0 = 0 ;
24934 char *kwnames[] = {
24935 (char *) "self", NULL
24936 };
24937
24938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
093d3ff1
RD
24939 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24940 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24941 {
24942 PyThreadState* __tstate = wxPyBeginAllowThreads();
24943 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
24944
24945 wxPyEndAllowThreads(__tstate);
24946 if (PyErr_Occurred()) SWIG_fail;
24947 }
24948 {
24949 wxSize * resultptr;
093d3ff1 24950 resultptr = new wxSize((wxSize &)(result));
15afbcd0 24951 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
24952 }
24953 return resultobj;
24954 fail:
24955 return NULL;
24956}
24957
24958
c32bde28 24959static PyObject *_wrap_ListCtrl_SetItemSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24960 PyObject *resultobj;
24961 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24962 int arg2 ;
ae8162c8 24963 bool arg3 = (bool) false ;
d14a1e28 24964 PyObject * obj0 = 0 ;
994141e6 24965 PyObject * obj1 = 0 ;
d14a1e28
RD
24966 PyObject * obj2 = 0 ;
24967 char *kwnames[] = {
24968 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
24969 };
24970
994141e6 24971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24972 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24973 if (SWIG_arg_fail(1)) SWIG_fail;
24974 {
24975 arg2 = (int)(SWIG_As_int(obj1));
24976 if (SWIG_arg_fail(2)) SWIG_fail;
24977 }
d14a1e28 24978 if (obj2) {
093d3ff1
RD
24979 {
24980 arg3 = (bool)(SWIG_As_bool(obj2));
24981 if (SWIG_arg_fail(3)) SWIG_fail;
24982 }
d14a1e28
RD
24983 }
24984 {
24985 PyThreadState* __tstate = wxPyBeginAllowThreads();
24986 (arg1)->SetItemSpacing(arg2,arg3);
24987
24988 wxPyEndAllowThreads(__tstate);
24989 if (PyErr_Occurred()) SWIG_fail;
24990 }
24991 Py_INCREF(Py_None); resultobj = Py_None;
24992 return resultobj;
24993 fail:
24994 return NULL;
24995}
24996
24997
c32bde28 24998static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24999 PyObject *resultobj;
25000 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25001 int result;
25002 PyObject * obj0 = 0 ;
25003 char *kwnames[] = {
25004 (char *) "self", NULL
25005 };
25006
25007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
25008 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25009 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25010 {
25011 PyThreadState* __tstate = wxPyBeginAllowThreads();
25012 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
25013
25014 wxPyEndAllowThreads(__tstate);
25015 if (PyErr_Occurred()) SWIG_fail;
25016 }
093d3ff1
RD
25017 {
25018 resultobj = SWIG_From_int((int)(result));
25019 }
d14a1e28
RD
25020 return resultobj;
25021 fail:
25022 return NULL;
25023}
25024
25025
c32bde28 25026static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25027 PyObject *resultobj;
25028 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25029 wxColour result;
25030 PyObject * obj0 = 0 ;
25031 char *kwnames[] = {
25032 (char *) "self", NULL
25033 };
25034
25035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
25036 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25037 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25038 {
25039 PyThreadState* __tstate = wxPyBeginAllowThreads();
25040 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
25041
25042 wxPyEndAllowThreads(__tstate);
25043 if (PyErr_Occurred()) SWIG_fail;
25044 }
25045 {
25046 wxColour * resultptr;
093d3ff1 25047 resultptr = new wxColour((wxColour &)(result));
15afbcd0 25048 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
25049 }
25050 return resultobj;
25051 fail:
25052 return NULL;
25053}
25054
25055
c32bde28 25056static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25057 PyObject *resultobj;
25058 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25059 wxColour *arg2 = 0 ;
25060 wxColour temp2 ;
25061 PyObject * obj0 = 0 ;
25062 PyObject * obj1 = 0 ;
25063 char *kwnames[] = {
25064 (char *) "self",(char *) "col", NULL
25065 };
25066
25067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25068 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25069 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25070 {
25071 arg2 = &temp2;
25072 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
25073 }
25074 {
25075 PyThreadState* __tstate = wxPyBeginAllowThreads();
25076 (arg1)->SetTextColour((wxColour const &)*arg2);
25077
25078 wxPyEndAllowThreads(__tstate);
25079 if (PyErr_Occurred()) SWIG_fail;
25080 }
25081 Py_INCREF(Py_None); resultobj = Py_None;
25082 return resultobj;
25083 fail:
25084 return NULL;
25085}
25086
25087
c32bde28 25088static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25089 PyObject *resultobj;
25090 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25091 long result;
25092 PyObject * obj0 = 0 ;
25093 char *kwnames[] = {
25094 (char *) "self", NULL
25095 };
25096
25097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
093d3ff1
RD
25098 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25099 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25100 {
25101 PyThreadState* __tstate = wxPyBeginAllowThreads();
25102 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
25103
25104 wxPyEndAllowThreads(__tstate);
25105 if (PyErr_Occurred()) SWIG_fail;
25106 }
093d3ff1
RD
25107 {
25108 resultobj = SWIG_From_long((long)(result));
25109 }
d14a1e28
RD
25110 return resultobj;
25111 fail:
25112 return NULL;
25113}
25114
25115
c32bde28 25116static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25117 PyObject *resultobj;
25118 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25119 long arg2 ;
ae8162c8 25120 bool arg3 = (bool) true ;
d14a1e28 25121 PyObject * obj0 = 0 ;
994141e6 25122 PyObject * obj1 = 0 ;
d14a1e28
RD
25123 PyObject * obj2 = 0 ;
25124 char *kwnames[] = {
25125 (char *) "self",(char *) "style",(char *) "add", NULL
25126 };
25127
994141e6 25128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
25129 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25130 if (SWIG_arg_fail(1)) SWIG_fail;
25131 {
25132 arg2 = (long)(SWIG_As_long(obj1));
25133 if (SWIG_arg_fail(2)) SWIG_fail;
25134 }
d14a1e28 25135 if (obj2) {
093d3ff1
RD
25136 {
25137 arg3 = (bool)(SWIG_As_bool(obj2));
25138 if (SWIG_arg_fail(3)) SWIG_fail;
25139 }
d14a1e28
RD
25140 }
25141 {
25142 PyThreadState* __tstate = wxPyBeginAllowThreads();
25143 (arg1)->SetSingleStyle(arg2,arg3);
25144
25145 wxPyEndAllowThreads(__tstate);
25146 if (PyErr_Occurred()) SWIG_fail;
25147 }
25148 Py_INCREF(Py_None); resultobj = Py_None;
25149 return resultobj;
25150 fail:
25151 return NULL;
25152}
25153
25154
c32bde28 25155static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25156 PyObject *resultobj;
25157 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25158 long arg2 ;
25159 PyObject * obj0 = 0 ;
994141e6 25160 PyObject * obj1 = 0 ;
d14a1e28
RD
25161 char *kwnames[] = {
25162 (char *) "self",(char *) "style", NULL
25163 };
25164
994141e6 25165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25166 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25167 if (SWIG_arg_fail(1)) SWIG_fail;
25168 {
25169 arg2 = (long)(SWIG_As_long(obj1));
25170 if (SWIG_arg_fail(2)) SWIG_fail;
25171 }
d14a1e28
RD
25172 {
25173 PyThreadState* __tstate = wxPyBeginAllowThreads();
25174 (arg1)->SetWindowStyleFlag(arg2);
25175
25176 wxPyEndAllowThreads(__tstate);
25177 if (PyErr_Occurred()) SWIG_fail;
25178 }
25179 Py_INCREF(Py_None); resultobj = Py_None;
25180 return resultobj;
25181 fail:
25182 return NULL;
25183}
25184
25185
c32bde28 25186static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25187 PyObject *resultobj;
25188 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25189 long arg2 ;
25190 int arg3 = (int) wxLIST_NEXT_ALL ;
25191 int arg4 = (int) wxLIST_STATE_DONTCARE ;
25192 long result;
25193 PyObject * obj0 = 0 ;
994141e6
RD
25194 PyObject * obj1 = 0 ;
25195 PyObject * obj2 = 0 ;
25196 PyObject * obj3 = 0 ;
d14a1e28
RD
25197 char *kwnames[] = {
25198 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
25199 };
25200
994141e6 25201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
25202 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25203 if (SWIG_arg_fail(1)) SWIG_fail;
25204 {
25205 arg2 = (long)(SWIG_As_long(obj1));
25206 if (SWIG_arg_fail(2)) SWIG_fail;
25207 }
994141e6 25208 if (obj2) {
093d3ff1
RD
25209 {
25210 arg3 = (int)(SWIG_As_int(obj2));
25211 if (SWIG_arg_fail(3)) SWIG_fail;
25212 }
994141e6
RD
25213 }
25214 if (obj3) {
093d3ff1
RD
25215 {
25216 arg4 = (int)(SWIG_As_int(obj3));
25217 if (SWIG_arg_fail(4)) SWIG_fail;
25218 }
994141e6 25219 }
d14a1e28
RD
25220 {
25221 PyThreadState* __tstate = wxPyBeginAllowThreads();
25222 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
25223
25224 wxPyEndAllowThreads(__tstate);
25225 if (PyErr_Occurred()) SWIG_fail;
25226 }
093d3ff1
RD
25227 {
25228 resultobj = SWIG_From_long((long)(result));
25229 }
d14a1e28
RD
25230 return resultobj;
25231 fail:
25232 return NULL;
25233}
25234
25235
c32bde28 25236static PyObject *_wrap_ListCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25237 PyObject *resultobj;
25238 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25239 int arg2 ;
25240 wxImageList *result;
25241 PyObject * obj0 = 0 ;
994141e6 25242 PyObject * obj1 = 0 ;
d14a1e28
RD
25243 char *kwnames[] = {
25244 (char *) "self",(char *) "which", NULL
25245 };
25246
994141e6 25247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetImageList",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25248 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25249 if (SWIG_arg_fail(1)) SWIG_fail;
25250 {
25251 arg2 = (int)(SWIG_As_int(obj1));
25252 if (SWIG_arg_fail(2)) SWIG_fail;
25253 }
d14a1e28
RD
25254 {
25255 PyThreadState* __tstate = wxPyBeginAllowThreads();
25256 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
25257
25258 wxPyEndAllowThreads(__tstate);
25259 if (PyErr_Occurred()) SWIG_fail;
25260 }
25261 {
412d302d 25262 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
25263 }
25264 return resultobj;
25265 fail:
25266 return NULL;
25267}
25268
25269
c32bde28 25270static PyObject *_wrap_ListCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25271 PyObject *resultobj;
25272 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25273 wxImageList *arg2 = (wxImageList *) 0 ;
25274 int arg3 ;
25275 PyObject * obj0 = 0 ;
25276 PyObject * obj1 = 0 ;
994141e6 25277 PyObject * obj2 = 0 ;
d14a1e28
RD
25278 char *kwnames[] = {
25279 (char *) "self",(char *) "imageList",(char *) "which", NULL
25280 };
25281
994141e6 25282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
25283 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25284 if (SWIG_arg_fail(1)) SWIG_fail;
25285 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
25286 if (SWIG_arg_fail(2)) SWIG_fail;
25287 {
25288 arg3 = (int)(SWIG_As_int(obj2));
25289 if (SWIG_arg_fail(3)) SWIG_fail;
25290 }
d14a1e28
RD
25291 {
25292 PyThreadState* __tstate = wxPyBeginAllowThreads();
25293 (arg1)->SetImageList(arg2,arg3);
25294
25295 wxPyEndAllowThreads(__tstate);
25296 if (PyErr_Occurred()) SWIG_fail;
25297 }
25298 Py_INCREF(Py_None); resultobj = Py_None;
25299 return resultobj;
25300 fail:
25301 return NULL;
25302}
25303
25304
c32bde28 25305static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25306 PyObject *resultobj;
25307 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25308 wxImageList *arg2 = (wxImageList *) 0 ;
25309 int arg3 ;
25310 PyObject * obj0 = 0 ;
25311 PyObject * obj1 = 0 ;
994141e6 25312 PyObject * obj2 = 0 ;
d14a1e28
RD
25313 char *kwnames[] = {
25314 (char *) "self",(char *) "imageList",(char *) "which", NULL
25315 };
25316
994141e6 25317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
25318 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25319 if (SWIG_arg_fail(1)) SWIG_fail;
25320 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
25321 if (SWIG_arg_fail(2)) SWIG_fail;
25322 {
25323 arg3 = (int)(SWIG_As_int(obj2));
25324 if (SWIG_arg_fail(3)) SWIG_fail;
25325 }
d14a1e28
RD
25326 {
25327 PyThreadState* __tstate = wxPyBeginAllowThreads();
25328 (arg1)->AssignImageList(arg2,arg3);
25329
25330 wxPyEndAllowThreads(__tstate);
25331 if (PyErr_Occurred()) SWIG_fail;
25332 }
25333 Py_INCREF(Py_None); resultobj = Py_None;
25334 return resultobj;
25335 fail:
25336 return NULL;
25337}
25338
25339
c32bde28 25340static PyObject *_wrap_ListCtrl_InReportView(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
25341 PyObject *resultobj;
25342 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25343 bool result;
25344 PyObject * obj0 = 0 ;
25345 char *kwnames[] = {
25346 (char *) "self", NULL
25347 };
25348
25349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_InReportView",kwnames,&obj0)) goto fail;
093d3ff1
RD
25350 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25351 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52
RD
25352 {
25353 PyThreadState* __tstate = wxPyBeginAllowThreads();
25354 result = (bool)((wxPyListCtrl const *)arg1)->InReportView();
25355
25356 wxPyEndAllowThreads(__tstate);
25357 if (PyErr_Occurred()) SWIG_fail;
25358 }
4f89f6a3
RD
25359 {
25360 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25361 }
4276dc52
RD
25362 return resultobj;
25363 fail:
25364 return NULL;
25365}
25366
25367
c32bde28 25368static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25369 PyObject *resultobj;
25370 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25371 bool result;
25372 PyObject * obj0 = 0 ;
25373 char *kwnames[] = {
25374 (char *) "self", NULL
25375 };
25376
25377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_IsVirtual",kwnames,&obj0)) goto fail;
093d3ff1
RD
25378 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25379 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25380 {
25381 PyThreadState* __tstate = wxPyBeginAllowThreads();
25382 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
25383
25384 wxPyEndAllowThreads(__tstate);
25385 if (PyErr_Occurred()) SWIG_fail;
25386 }
4f89f6a3
RD
25387 {
25388 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25389 }
d14a1e28
RD
25390 return resultobj;
25391 fail:
25392 return NULL;
25393}
25394
25395
c32bde28 25396static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25397 PyObject *resultobj;
25398 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25399 long arg2 ;
25400 PyObject * obj0 = 0 ;
994141e6 25401 PyObject * obj1 = 0 ;
d14a1e28
RD
25402 char *kwnames[] = {
25403 (char *) "self",(char *) "item", NULL
25404 };
25405
994141e6 25406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_RefreshItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25407 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25408 if (SWIG_arg_fail(1)) SWIG_fail;
25409 {
25410 arg2 = (long)(SWIG_As_long(obj1));
25411 if (SWIG_arg_fail(2)) SWIG_fail;
25412 }
d14a1e28
RD
25413 {
25414 PyThreadState* __tstate = wxPyBeginAllowThreads();
25415 (arg1)->RefreshItem(arg2);
25416
25417 wxPyEndAllowThreads(__tstate);
25418 if (PyErr_Occurred()) SWIG_fail;
25419 }
25420 Py_INCREF(Py_None); resultobj = Py_None;
25421 return resultobj;
25422 fail:
25423 return NULL;
25424}
25425
25426
c32bde28 25427static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25428 PyObject *resultobj;
25429 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25430 long arg2 ;
25431 long arg3 ;
25432 PyObject * obj0 = 0 ;
994141e6
RD
25433 PyObject * obj1 = 0 ;
25434 PyObject * obj2 = 0 ;
d14a1e28
RD
25435 char *kwnames[] = {
25436 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
25437 };
25438
994141e6 25439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_RefreshItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
25440 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25441 if (SWIG_arg_fail(1)) SWIG_fail;
25442 {
25443 arg2 = (long)(SWIG_As_long(obj1));
25444 if (SWIG_arg_fail(2)) SWIG_fail;
25445 }
25446 {
25447 arg3 = (long)(SWIG_As_long(obj2));
25448 if (SWIG_arg_fail(3)) SWIG_fail;
25449 }
d14a1e28
RD
25450 {
25451 PyThreadState* __tstate = wxPyBeginAllowThreads();
25452 (arg1)->RefreshItems(arg2,arg3);
25453
25454 wxPyEndAllowThreads(__tstate);
25455 if (PyErr_Occurred()) SWIG_fail;
25456 }
25457 Py_INCREF(Py_None); resultobj = Py_None;
25458 return resultobj;
25459 fail:
25460 return NULL;
25461}
25462
25463
c32bde28 25464static PyObject *_wrap_ListCtrl_Arrange(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25465 PyObject *resultobj;
25466 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25467 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
25468 bool result;
25469 PyObject * obj0 = 0 ;
994141e6 25470 PyObject * obj1 = 0 ;
d14a1e28
RD
25471 char *kwnames[] = {
25472 (char *) "self",(char *) "flag", NULL
25473 };
25474
994141e6 25475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListCtrl_Arrange",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25476 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25477 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 25478 if (obj1) {
093d3ff1
RD
25479 {
25480 arg2 = (int)(SWIG_As_int(obj1));
25481 if (SWIG_arg_fail(2)) SWIG_fail;
25482 }
994141e6 25483 }
d14a1e28
RD
25484 {
25485 PyThreadState* __tstate = wxPyBeginAllowThreads();
25486 result = (bool)(arg1)->Arrange(arg2);
25487
25488 wxPyEndAllowThreads(__tstate);
25489 if (PyErr_Occurred()) SWIG_fail;
25490 }
4f89f6a3
RD
25491 {
25492 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25493 }
d14a1e28
RD
25494 return resultobj;
25495 fail:
25496 return NULL;
25497}
25498
25499
c32bde28 25500static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25501 PyObject *resultobj;
25502 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25503 long arg2 ;
25504 bool result;
25505 PyObject * obj0 = 0 ;
994141e6 25506 PyObject * obj1 = 0 ;
d14a1e28
RD
25507 char *kwnames[] = {
25508 (char *) "self",(char *) "item", NULL
25509 };
25510
994141e6 25511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25512 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25513 if (SWIG_arg_fail(1)) SWIG_fail;
25514 {
25515 arg2 = (long)(SWIG_As_long(obj1));
25516 if (SWIG_arg_fail(2)) SWIG_fail;
25517 }
d14a1e28
RD
25518 {
25519 PyThreadState* __tstate = wxPyBeginAllowThreads();
25520 result = (bool)(arg1)->DeleteItem(arg2);
25521
25522 wxPyEndAllowThreads(__tstate);
25523 if (PyErr_Occurred()) SWIG_fail;
25524 }
4f89f6a3
RD
25525 {
25526 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25527 }
d14a1e28
RD
25528 return resultobj;
25529 fail:
25530 return NULL;
25531}
25532
25533
c32bde28 25534static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25535 PyObject *resultobj;
25536 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25537 bool result;
25538 PyObject * obj0 = 0 ;
25539 char *kwnames[] = {
25540 (char *) "self", NULL
25541 };
25542
25543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
093d3ff1
RD
25544 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25545 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25546 {
25547 PyThreadState* __tstate = wxPyBeginAllowThreads();
25548 result = (bool)(arg1)->DeleteAllItems();
25549
25550 wxPyEndAllowThreads(__tstate);
25551 if (PyErr_Occurred()) SWIG_fail;
25552 }
4f89f6a3
RD
25553 {
25554 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25555 }
d14a1e28
RD
25556 return resultobj;
25557 fail:
25558 return NULL;
25559}
25560
25561
c32bde28 25562static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25563 PyObject *resultobj;
25564 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25565 int arg2 ;
25566 bool result;
25567 PyObject * obj0 = 0 ;
994141e6 25568 PyObject * obj1 = 0 ;
d14a1e28
RD
25569 char *kwnames[] = {
25570 (char *) "self",(char *) "col", NULL
25571 };
25572
994141e6 25573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteColumn",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25574 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25575 if (SWIG_arg_fail(1)) SWIG_fail;
25576 {
25577 arg2 = (int)(SWIG_As_int(obj1));
25578 if (SWIG_arg_fail(2)) SWIG_fail;
25579 }
d14a1e28
RD
25580 {
25581 PyThreadState* __tstate = wxPyBeginAllowThreads();
25582 result = (bool)(arg1)->DeleteColumn(arg2);
25583
25584 wxPyEndAllowThreads(__tstate);
25585 if (PyErr_Occurred()) SWIG_fail;
25586 }
4f89f6a3
RD
25587 {
25588 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25589 }
d14a1e28
RD
25590 return resultobj;
25591 fail:
25592 return NULL;
25593}
25594
25595
c32bde28 25596static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25597 PyObject *resultobj;
25598 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25599 bool result;
25600 PyObject * obj0 = 0 ;
25601 char *kwnames[] = {
25602 (char *) "self", NULL
25603 };
25604
25605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
093d3ff1
RD
25606 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25607 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25608 {
25609 PyThreadState* __tstate = wxPyBeginAllowThreads();
25610 result = (bool)(arg1)->DeleteAllColumns();
25611
25612 wxPyEndAllowThreads(__tstate);
25613 if (PyErr_Occurred()) SWIG_fail;
25614 }
4f89f6a3
RD
25615 {
25616 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25617 }
d14a1e28
RD
25618 return resultobj;
25619 fail:
25620 return NULL;
25621}
25622
25623
c32bde28 25624static PyObject *_wrap_ListCtrl_ClearAll(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25625 PyObject *resultobj;
25626 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25627 PyObject * obj0 = 0 ;
25628 char *kwnames[] = {
25629 (char *) "self", NULL
25630 };
25631
25632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) goto fail;
093d3ff1
RD
25633 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25634 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25635 {
25636 PyThreadState* __tstate = wxPyBeginAllowThreads();
25637 (arg1)->ClearAll();
25638
25639 wxPyEndAllowThreads(__tstate);
25640 if (PyErr_Occurred()) SWIG_fail;
25641 }
25642 Py_INCREF(Py_None); resultobj = Py_None;
25643 return resultobj;
25644 fail:
25645 return NULL;
25646}
25647
25648
c32bde28 25649static PyObject *_wrap_ListCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25650 PyObject *resultobj;
25651 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25652 long arg2 ;
25653 PyObject * obj0 = 0 ;
994141e6 25654 PyObject * obj1 = 0 ;
d14a1e28
RD
25655 char *kwnames[] = {
25656 (char *) "self",(char *) "item", NULL
25657 };
25658
994141e6 25659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25660 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25661 if (SWIG_arg_fail(1)) SWIG_fail;
25662 {
25663 arg2 = (long)(SWIG_As_long(obj1));
25664 if (SWIG_arg_fail(2)) SWIG_fail;
25665 }
d14a1e28
RD
25666 {
25667 PyThreadState* __tstate = wxPyBeginAllowThreads();
25668 (arg1)->EditLabel(arg2);
25669
25670 wxPyEndAllowThreads(__tstate);
25671 if (PyErr_Occurred()) SWIG_fail;
25672 }
25673 Py_INCREF(Py_None); resultobj = Py_None;
25674 return resultobj;
25675 fail:
25676 return NULL;
25677}
25678
25679
c32bde28 25680static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25681 PyObject *resultobj;
25682 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25683 long arg2 ;
25684 bool result;
25685 PyObject * obj0 = 0 ;
994141e6 25686 PyObject * obj1 = 0 ;
d14a1e28
RD
25687 char *kwnames[] = {
25688 (char *) "self",(char *) "item", NULL
25689 };
25690
994141e6 25691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25692 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25693 if (SWIG_arg_fail(1)) SWIG_fail;
25694 {
25695 arg2 = (long)(SWIG_As_long(obj1));
25696 if (SWIG_arg_fail(2)) SWIG_fail;
25697 }
d14a1e28
RD
25698 {
25699 PyThreadState* __tstate = wxPyBeginAllowThreads();
25700 result = (bool)(arg1)->EnsureVisible(arg2);
25701
25702 wxPyEndAllowThreads(__tstate);
25703 if (PyErr_Occurred()) SWIG_fail;
25704 }
4f89f6a3
RD
25705 {
25706 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25707 }
d14a1e28
RD
25708 return resultobj;
25709 fail:
25710 return NULL;
25711}
25712
25713
c32bde28 25714static PyObject *_wrap_ListCtrl_FindItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25715 PyObject *resultobj;
25716 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25717 long arg2 ;
25718 wxString *arg3 = 0 ;
ae8162c8 25719 bool arg4 = (bool) false ;
d14a1e28 25720 long result;
ae8162c8 25721 bool temp3 = false ;
d14a1e28 25722 PyObject * obj0 = 0 ;
994141e6 25723 PyObject * obj1 = 0 ;
d14a1e28
RD
25724 PyObject * obj2 = 0 ;
25725 PyObject * obj3 = 0 ;
25726 char *kwnames[] = {
25727 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
25728 };
25729
994141e6 25730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
25731 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25732 if (SWIG_arg_fail(1)) SWIG_fail;
25733 {
25734 arg2 = (long)(SWIG_As_long(obj1));
25735 if (SWIG_arg_fail(2)) SWIG_fail;
25736 }
d14a1e28
RD
25737 {
25738 arg3 = wxString_in_helper(obj2);
25739 if (arg3 == NULL) SWIG_fail;
ae8162c8 25740 temp3 = true;
d14a1e28
RD
25741 }
25742 if (obj3) {
093d3ff1
RD
25743 {
25744 arg4 = (bool)(SWIG_As_bool(obj3));
25745 if (SWIG_arg_fail(4)) SWIG_fail;
25746 }
d14a1e28
RD
25747 }
25748 {
25749 PyThreadState* __tstate = wxPyBeginAllowThreads();
25750 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
25751
25752 wxPyEndAllowThreads(__tstate);
25753 if (PyErr_Occurred()) SWIG_fail;
25754 }
093d3ff1
RD
25755 {
25756 resultobj = SWIG_From_long((long)(result));
25757 }
d14a1e28
RD
25758 {
25759 if (temp3)
25760 delete arg3;
25761 }
25762 return resultobj;
25763 fail:
25764 {
25765 if (temp3)
25766 delete arg3;
25767 }
25768 return NULL;
25769}
25770
25771
c32bde28 25772static PyObject *_wrap_ListCtrl_FindItemData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25773 PyObject *resultobj;
25774 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25775 long arg2 ;
25776 long arg3 ;
25777 long result;
25778 PyObject * obj0 = 0 ;
994141e6
RD
25779 PyObject * obj1 = 0 ;
25780 PyObject * obj2 = 0 ;
d14a1e28
RD
25781 char *kwnames[] = {
25782 (char *) "self",(char *) "start",(char *) "data", NULL
25783 };
25784
994141e6 25785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_FindItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
25786 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25787 if (SWIG_arg_fail(1)) SWIG_fail;
25788 {
25789 arg2 = (long)(SWIG_As_long(obj1));
25790 if (SWIG_arg_fail(2)) SWIG_fail;
25791 }
25792 {
25793 arg3 = (long)(SWIG_As_long(obj2));
25794 if (SWIG_arg_fail(3)) SWIG_fail;
25795 }
d14a1e28
RD
25796 {
25797 PyThreadState* __tstate = wxPyBeginAllowThreads();
25798 result = (long)(arg1)->FindItem(arg2,arg3);
25799
25800 wxPyEndAllowThreads(__tstate);
25801 if (PyErr_Occurred()) SWIG_fail;
25802 }
093d3ff1
RD
25803 {
25804 resultobj = SWIG_From_long((long)(result));
25805 }
d14a1e28
RD
25806 return resultobj;
25807 fail:
25808 return NULL;
25809}
25810
25811
c32bde28 25812static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25813 PyObject *resultobj;
25814 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25815 long arg2 ;
25816 wxPoint *arg3 = 0 ;
25817 int arg4 ;
25818 long result;
25819 wxPoint temp3 ;
25820 PyObject * obj0 = 0 ;
994141e6 25821 PyObject * obj1 = 0 ;
d14a1e28 25822 PyObject * obj2 = 0 ;
994141e6 25823 PyObject * obj3 = 0 ;
d14a1e28
RD
25824 char *kwnames[] = {
25825 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
25826 };
25827
994141e6 25828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
25829 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25830 if (SWIG_arg_fail(1)) SWIG_fail;
25831 {
25832 arg2 = (long)(SWIG_As_long(obj1));
25833 if (SWIG_arg_fail(2)) SWIG_fail;
25834 }
d14a1e28
RD
25835 {
25836 arg3 = &temp3;
25837 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25838 }
093d3ff1
RD
25839 {
25840 arg4 = (int)(SWIG_As_int(obj3));
25841 if (SWIG_arg_fail(4)) SWIG_fail;
25842 }
d14a1e28
RD
25843 {
25844 PyThreadState* __tstate = wxPyBeginAllowThreads();
25845 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
25846
25847 wxPyEndAllowThreads(__tstate);
25848 if (PyErr_Occurred()) SWIG_fail;
25849 }
093d3ff1
RD
25850 {
25851 resultobj = SWIG_From_long((long)(result));
25852 }
d14a1e28
RD
25853 return resultobj;
25854 fail:
25855 return NULL;
25856}
25857
25858
c32bde28 25859static PyObject *_wrap_ListCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25860 PyObject *resultobj;
25861 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25862 wxPoint *arg2 = 0 ;
25863 int *arg3 = 0 ;
25864 long result;
25865 wxPoint temp2 ;
25866 int temp3 ;
c32bde28 25867 int res3 = 0 ;
d14a1e28
RD
25868 PyObject * obj0 = 0 ;
25869 PyObject * obj1 = 0 ;
25870 char *kwnames[] = {
25871 (char *) "self",(char *) "point", NULL
25872 };
25873
c32bde28 25874 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 25875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25876 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25877 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25878 {
25879 arg2 = &temp2;
25880 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25881 }
25882 {
25883 PyThreadState* __tstate = wxPyBeginAllowThreads();
25884 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
25885
25886 wxPyEndAllowThreads(__tstate);
25887 if (PyErr_Occurred()) SWIG_fail;
25888 }
093d3ff1
RD
25889 {
25890 resultobj = SWIG_From_long((long)(result));
25891 }
c32bde28
RD
25892 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
25893 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
25894 return resultobj;
25895 fail:
25896 return NULL;
25897}
25898
25899
c32bde28 25900static PyObject *_wrap_ListCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25901 PyObject *resultobj;
25902 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25903 wxListItem *arg2 = 0 ;
25904 long result;
25905 PyObject * obj0 = 0 ;
25906 PyObject * obj1 = 0 ;
25907 char *kwnames[] = {
25908 (char *) "self",(char *) "info", NULL
25909 };
25910
25911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25912 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25913 if (SWIG_arg_fail(1)) SWIG_fail;
25914 {
25915 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
25916 if (SWIG_arg_fail(2)) SWIG_fail;
25917 if (arg2 == NULL) {
25918 SWIG_null_ref("wxListItem");
25919 }
25920 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
25921 }
25922 {
25923 PyThreadState* __tstate = wxPyBeginAllowThreads();
25924 result = (long)(arg1)->InsertItem(*arg2);
25925
25926 wxPyEndAllowThreads(__tstate);
25927 if (PyErr_Occurred()) SWIG_fail;
25928 }
093d3ff1
RD
25929 {
25930 resultobj = SWIG_From_long((long)(result));
25931 }
d14a1e28
RD
25932 return resultobj;
25933 fail:
25934 return NULL;
25935}
25936
25937
c32bde28 25938static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25939 PyObject *resultobj;
25940 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25941 long arg2 ;
25942 wxString *arg3 = 0 ;
25943 long result;
ae8162c8 25944 bool temp3 = false ;
d14a1e28 25945 PyObject * obj0 = 0 ;
994141e6 25946 PyObject * obj1 = 0 ;
d14a1e28
RD
25947 PyObject * obj2 = 0 ;
25948 char *kwnames[] = {
25949 (char *) "self",(char *) "index",(char *) "label", NULL
25950 };
25951
994141e6 25952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertStringItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
25953 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25954 if (SWIG_arg_fail(1)) SWIG_fail;
25955 {
25956 arg2 = (long)(SWIG_As_long(obj1));
25957 if (SWIG_arg_fail(2)) SWIG_fail;
25958 }
d14a1e28
RD
25959 {
25960 arg3 = wxString_in_helper(obj2);
25961 if (arg3 == NULL) SWIG_fail;
ae8162c8 25962 temp3 = true;
d14a1e28
RD
25963 }
25964 {
25965 PyThreadState* __tstate = wxPyBeginAllowThreads();
25966 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3);
25967
25968 wxPyEndAllowThreads(__tstate);
25969 if (PyErr_Occurred()) SWIG_fail;
25970 }
093d3ff1
RD
25971 {
25972 resultobj = SWIG_From_long((long)(result));
25973 }
d14a1e28
RD
25974 {
25975 if (temp3)
25976 delete arg3;
25977 }
25978 return resultobj;
25979 fail:
25980 {
25981 if (temp3)
25982 delete arg3;
25983 }
25984 return NULL;
25985}
25986
25987
c32bde28 25988static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25989 PyObject *resultobj;
25990 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25991 long arg2 ;
25992 int arg3 ;
25993 long result;
25994 PyObject * obj0 = 0 ;
994141e6
RD
25995 PyObject * obj1 = 0 ;
25996 PyObject * obj2 = 0 ;
d14a1e28
RD
25997 char *kwnames[] = {
25998 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
25999 };
26000
994141e6 26001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertImageItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26002 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26003 if (SWIG_arg_fail(1)) SWIG_fail;
26004 {
26005 arg2 = (long)(SWIG_As_long(obj1));
26006 if (SWIG_arg_fail(2)) SWIG_fail;
26007 }
26008 {
26009 arg3 = (int)(SWIG_As_int(obj2));
26010 if (SWIG_arg_fail(3)) SWIG_fail;
26011 }
d14a1e28
RD
26012 {
26013 PyThreadState* __tstate = wxPyBeginAllowThreads();
26014 result = (long)(arg1)->InsertItem(arg2,arg3);
26015
26016 wxPyEndAllowThreads(__tstate);
26017 if (PyErr_Occurred()) SWIG_fail;
26018 }
093d3ff1
RD
26019 {
26020 resultobj = SWIG_From_long((long)(result));
26021 }
d14a1e28
RD
26022 return resultobj;
26023 fail:
26024 return NULL;
26025}
26026
26027
c32bde28 26028static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26029 PyObject *resultobj;
26030 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26031 long arg2 ;
26032 wxString *arg3 = 0 ;
26033 int arg4 ;
26034 long result;
ae8162c8 26035 bool temp3 = false ;
d14a1e28 26036 PyObject * obj0 = 0 ;
994141e6 26037 PyObject * obj1 = 0 ;
d14a1e28 26038 PyObject * obj2 = 0 ;
994141e6 26039 PyObject * obj3 = 0 ;
d14a1e28
RD
26040 char *kwnames[] = {
26041 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
26042 };
26043
994141e6 26044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
26045 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26046 if (SWIG_arg_fail(1)) SWIG_fail;
26047 {
26048 arg2 = (long)(SWIG_As_long(obj1));
26049 if (SWIG_arg_fail(2)) SWIG_fail;
26050 }
d14a1e28
RD
26051 {
26052 arg3 = wxString_in_helper(obj2);
26053 if (arg3 == NULL) SWIG_fail;
ae8162c8 26054 temp3 = true;
d14a1e28 26055 }
093d3ff1
RD
26056 {
26057 arg4 = (int)(SWIG_As_int(obj3));
26058 if (SWIG_arg_fail(4)) SWIG_fail;
26059 }
d14a1e28
RD
26060 {
26061 PyThreadState* __tstate = wxPyBeginAllowThreads();
26062 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
26063
26064 wxPyEndAllowThreads(__tstate);
26065 if (PyErr_Occurred()) SWIG_fail;
26066 }
093d3ff1
RD
26067 {
26068 resultobj = SWIG_From_long((long)(result));
26069 }
d14a1e28
RD
26070 {
26071 if (temp3)
26072 delete arg3;
26073 }
26074 return resultobj;
26075 fail:
26076 {
26077 if (temp3)
26078 delete arg3;
26079 }
26080 return NULL;
26081}
26082
26083
c32bde28 26084static PyObject *_wrap_ListCtrl_InsertColumnInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26085 PyObject *resultobj;
26086 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26087 long arg2 ;
26088 wxListItem *arg3 = 0 ;
26089 long result;
26090 PyObject * obj0 = 0 ;
994141e6 26091 PyObject * obj1 = 0 ;
d14a1e28
RD
26092 PyObject * obj2 = 0 ;
26093 char *kwnames[] = {
26094 (char *) "self",(char *) "col",(char *) "info", NULL
26095 };
26096
994141e6 26097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26098 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26099 if (SWIG_arg_fail(1)) SWIG_fail;
26100 {
26101 arg2 = (long)(SWIG_As_long(obj1));
26102 if (SWIG_arg_fail(2)) SWIG_fail;
26103 }
26104 {
26105 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
26106 if (SWIG_arg_fail(3)) SWIG_fail;
26107 if (arg3 == NULL) {
26108 SWIG_null_ref("wxListItem");
26109 }
26110 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
26111 }
26112 {
26113 PyThreadState* __tstate = wxPyBeginAllowThreads();
26114 result = (long)(arg1)->InsertColumn(arg2,*arg3);
26115
26116 wxPyEndAllowThreads(__tstate);
26117 if (PyErr_Occurred()) SWIG_fail;
26118 }
093d3ff1
RD
26119 {
26120 resultobj = SWIG_From_long((long)(result));
26121 }
d14a1e28
RD
26122 return resultobj;
26123 fail:
26124 return NULL;
26125}
26126
26127
c32bde28 26128static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26129 PyObject *resultobj;
26130 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26131 long arg2 ;
26132 wxString *arg3 = 0 ;
26133 int arg4 = (int) wxLIST_FORMAT_LEFT ;
26134 int arg5 = (int) -1 ;
26135 long result;
ae8162c8 26136 bool temp3 = false ;
d14a1e28 26137 PyObject * obj0 = 0 ;
994141e6 26138 PyObject * obj1 = 0 ;
d14a1e28 26139 PyObject * obj2 = 0 ;
994141e6
RD
26140 PyObject * obj3 = 0 ;
26141 PyObject * obj4 = 0 ;
d14a1e28
RD
26142 char *kwnames[] = {
26143 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
26144 };
26145
994141e6 26146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
26147 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26148 if (SWIG_arg_fail(1)) SWIG_fail;
26149 {
26150 arg2 = (long)(SWIG_As_long(obj1));
26151 if (SWIG_arg_fail(2)) SWIG_fail;
26152 }
d14a1e28
RD
26153 {
26154 arg3 = wxString_in_helper(obj2);
26155 if (arg3 == NULL) SWIG_fail;
ae8162c8 26156 temp3 = true;
d14a1e28 26157 }
994141e6 26158 if (obj3) {
093d3ff1
RD
26159 {
26160 arg4 = (int)(SWIG_As_int(obj3));
26161 if (SWIG_arg_fail(4)) SWIG_fail;
26162 }
994141e6
RD
26163 }
26164 if (obj4) {
093d3ff1
RD
26165 {
26166 arg5 = (int)(SWIG_As_int(obj4));
26167 if (SWIG_arg_fail(5)) SWIG_fail;
26168 }
994141e6 26169 }
d14a1e28
RD
26170 {
26171 PyThreadState* __tstate = wxPyBeginAllowThreads();
26172 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
26173
26174 wxPyEndAllowThreads(__tstate);
26175 if (PyErr_Occurred()) SWIG_fail;
26176 }
093d3ff1
RD
26177 {
26178 resultobj = SWIG_From_long((long)(result));
26179 }
d14a1e28
RD
26180 {
26181 if (temp3)
26182 delete arg3;
26183 }
26184 return resultobj;
26185 fail:
26186 {
26187 if (temp3)
26188 delete arg3;
26189 }
26190 return NULL;
26191}
26192
26193
c32bde28 26194static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26195 PyObject *resultobj;
26196 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26197 long arg2 ;
26198 PyObject * obj0 = 0 ;
994141e6 26199 PyObject * obj1 = 0 ;
d14a1e28
RD
26200 char *kwnames[] = {
26201 (char *) "self",(char *) "count", NULL
26202 };
26203
994141e6 26204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26205 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26206 if (SWIG_arg_fail(1)) SWIG_fail;
26207 {
26208 arg2 = (long)(SWIG_As_long(obj1));
26209 if (SWIG_arg_fail(2)) SWIG_fail;
26210 }
d14a1e28
RD
26211 {
26212 PyThreadState* __tstate = wxPyBeginAllowThreads();
26213 (arg1)->SetItemCount(arg2);
26214
26215 wxPyEndAllowThreads(__tstate);
26216 if (PyErr_Occurred()) SWIG_fail;
26217 }
26218 Py_INCREF(Py_None); resultobj = Py_None;
26219 return resultobj;
26220 fail:
26221 return NULL;
26222}
26223
26224
c32bde28 26225static PyObject *_wrap_ListCtrl_ScrollList(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26226 PyObject *resultobj;
26227 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26228 int arg2 ;
26229 int arg3 ;
26230 bool result;
26231 PyObject * obj0 = 0 ;
994141e6
RD
26232 PyObject * obj1 = 0 ;
26233 PyObject * obj2 = 0 ;
d14a1e28
RD
26234 char *kwnames[] = {
26235 (char *) "self",(char *) "dx",(char *) "dy", NULL
26236 };
26237
994141e6 26238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_ScrollList",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26239 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26240 if (SWIG_arg_fail(1)) SWIG_fail;
26241 {
26242 arg2 = (int)(SWIG_As_int(obj1));
26243 if (SWIG_arg_fail(2)) SWIG_fail;
26244 }
26245 {
26246 arg3 = (int)(SWIG_As_int(obj2));
26247 if (SWIG_arg_fail(3)) SWIG_fail;
26248 }
d14a1e28
RD
26249 {
26250 PyThreadState* __tstate = wxPyBeginAllowThreads();
26251 result = (bool)(arg1)->ScrollList(arg2,arg3);
26252
26253 wxPyEndAllowThreads(__tstate);
26254 if (PyErr_Occurred()) SWIG_fail;
26255 }
4f89f6a3
RD
26256 {
26257 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26258 }
d14a1e28
RD
26259 return resultobj;
26260 fail:
26261 return NULL;
26262}
26263
26264
c32bde28 26265static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26266 PyObject *resultobj;
26267 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26268 long arg2 ;
26269 wxColour *arg3 = 0 ;
26270 wxColour temp3 ;
26271 PyObject * obj0 = 0 ;
994141e6 26272 PyObject * obj1 = 0 ;
d14a1e28
RD
26273 PyObject * obj2 = 0 ;
26274 char *kwnames[] = {
26275 (char *) "self",(char *) "item",(char *) "col", NULL
26276 };
26277
994141e6 26278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26279 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26280 if (SWIG_arg_fail(1)) SWIG_fail;
26281 {
26282 arg2 = (long)(SWIG_As_long(obj1));
26283 if (SWIG_arg_fail(2)) SWIG_fail;
26284 }
d14a1e28
RD
26285 {
26286 arg3 = &temp3;
26287 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
26288 }
26289 {
26290 PyThreadState* __tstate = wxPyBeginAllowThreads();
26291 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
26292
26293 wxPyEndAllowThreads(__tstate);
26294 if (PyErr_Occurred()) SWIG_fail;
26295 }
26296 Py_INCREF(Py_None); resultobj = Py_None;
26297 return resultobj;
26298 fail:
26299 return NULL;
26300}
26301
26302
c32bde28 26303static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26304 PyObject *resultobj;
26305 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26306 long arg2 ;
26307 wxColour result;
26308 PyObject * obj0 = 0 ;
994141e6 26309 PyObject * obj1 = 0 ;
d14a1e28
RD
26310 char *kwnames[] = {
26311 (char *) "self",(char *) "item", NULL
26312 };
26313
994141e6 26314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26315 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26316 if (SWIG_arg_fail(1)) SWIG_fail;
26317 {
26318 arg2 = (long)(SWIG_As_long(obj1));
26319 if (SWIG_arg_fail(2)) SWIG_fail;
26320 }
d14a1e28
RD
26321 {
26322 PyThreadState* __tstate = wxPyBeginAllowThreads();
26323 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
26324
26325 wxPyEndAllowThreads(__tstate);
26326 if (PyErr_Occurred()) SWIG_fail;
26327 }
26328 {
26329 wxColour * resultptr;
093d3ff1 26330 resultptr = new wxColour((wxColour &)(result));
15afbcd0 26331 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
26332 }
26333 return resultobj;
26334 fail:
26335 return NULL;
26336}
26337
26338
c32bde28 26339static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26340 PyObject *resultobj;
26341 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26342 long arg2 ;
26343 wxColour *arg3 = 0 ;
26344 wxColour temp3 ;
26345 PyObject * obj0 = 0 ;
994141e6 26346 PyObject * obj1 = 0 ;
d14a1e28
RD
26347 PyObject * obj2 = 0 ;
26348 char *kwnames[] = {
26349 (char *) "self",(char *) "item",(char *) "col", NULL
26350 };
26351
994141e6 26352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) 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 arg3 = &temp3;
26361 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
26362 }
26363 {
26364 PyThreadState* __tstate = wxPyBeginAllowThreads();
26365 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
26366
26367 wxPyEndAllowThreads(__tstate);
26368 if (PyErr_Occurred()) SWIG_fail;
26369 }
26370 Py_INCREF(Py_None); resultobj = Py_None;
26371 return resultobj;
26372 fail:
26373 return NULL;
26374}
26375
26376
c32bde28 26377static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26378 PyObject *resultobj;
26379 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26380 long arg2 ;
26381 wxColour result;
26382 PyObject * obj0 = 0 ;
994141e6 26383 PyObject * obj1 = 0 ;
d14a1e28
RD
26384 char *kwnames[] = {
26385 (char *) "self",(char *) "item", NULL
26386 };
26387
994141e6 26388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26389 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26390 if (SWIG_arg_fail(1)) SWIG_fail;
26391 {
26392 arg2 = (long)(SWIG_As_long(obj1));
26393 if (SWIG_arg_fail(2)) SWIG_fail;
26394 }
d14a1e28
RD
26395 {
26396 PyThreadState* __tstate = wxPyBeginAllowThreads();
26397 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
26398
26399 wxPyEndAllowThreads(__tstate);
26400 if (PyErr_Occurred()) SWIG_fail;
26401 }
26402 {
26403 wxColour * resultptr;
093d3ff1 26404 resultptr = new wxColour((wxColour &)(result));
15afbcd0 26405 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
26406 }
26407 return resultobj;
26408 fail:
26409 return NULL;
26410}
26411
26412
c32bde28 26413static PyObject *_wrap_ListCtrl_SortItems(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26414 PyObject *resultobj;
26415 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26416 PyObject *arg2 = (PyObject *) 0 ;
26417 bool result;
26418 PyObject * obj0 = 0 ;
26419 PyObject * obj1 = 0 ;
26420 char *kwnames[] = {
26421 (char *) "self",(char *) "func", NULL
26422 };
26423
26424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26425 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26426 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
26427 arg2 = obj1;
26428 {
26429 PyThreadState* __tstate = wxPyBeginAllowThreads();
26430 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
26431
26432 wxPyEndAllowThreads(__tstate);
26433 if (PyErr_Occurred()) SWIG_fail;
26434 }
4f89f6a3
RD
26435 {
26436 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26437 }
d14a1e28
RD
26438 return resultobj;
26439 fail:
26440 return NULL;
26441}
26442
26443
c32bde28 26444static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26445 PyObject *resultobj;
26446 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26447 wxWindow *result;
26448 PyObject * obj0 = 0 ;
26449 char *kwnames[] = {
26450 (char *) "self", NULL
26451 };
26452
26453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
26454 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26455 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
26456 {
26457 PyThreadState* __tstate = wxPyBeginAllowThreads();
26458 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
26459
26460 wxPyEndAllowThreads(__tstate);
26461 if (PyErr_Occurred()) SWIG_fail;
26462 }
26463 {
412d302d 26464 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
26465 }
26466 return resultobj;
26467 fail:
26468 return NULL;
26469}
26470
26471
c32bde28 26472static PyObject *_wrap_ListCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
74a57fcd 26473 PyObject *resultobj;
093d3ff1 26474 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
74a57fcd
RD
26475 wxVisualAttributes result;
26476 PyObject * obj0 = 0 ;
26477 char *kwnames[] = {
26478 (char *) "variant", NULL
26479 };
26480
26481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
26482 if (obj0) {
093d3ff1
RD
26483 {
26484 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
26485 if (SWIG_arg_fail(1)) SWIG_fail;
26486 }
74a57fcd
RD
26487 }
26488 {
110da5b0 26489 if (!wxPyCheckForApp()) SWIG_fail;
74a57fcd
RD
26490 PyThreadState* __tstate = wxPyBeginAllowThreads();
26491 result = wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
26492
26493 wxPyEndAllowThreads(__tstate);
dfbb5885 26494 if (PyErr_Occurred()) SWIG_fail;
74a57fcd
RD
26495 }
26496 {
26497 wxVisualAttributes * resultptr;
093d3ff1 26498 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
74a57fcd
RD
26499 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
26500 }
26501 return resultobj;
26502 fail:
26503 return NULL;
26504}
26505
26506
c32bde28 26507static PyObject * ListCtrl_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
26508 PyObject *obj;
26509 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26510 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
26511 Py_INCREF(obj);
26512 return Py_BuildValue((char *)"");
26513}
c32bde28 26514static PyObject *_wrap_new_ListView(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26515 PyObject *resultobj;
26516 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 26517 int arg2 = (int) -1 ;
d14a1e28
RD
26518 wxPoint const &arg3_defvalue = wxDefaultPosition ;
26519 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
26520 wxSize const &arg4_defvalue = wxDefaultSize ;
26521 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
26522 long arg5 = (long) wxLC_REPORT ;
26523 wxValidator const &arg6_defvalue = wxDefaultValidator ;
26524 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
26525 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
26526 wxString *arg7 = (wxString *) &arg7_defvalue ;
26527 wxListView *result;
26528 wxPoint temp3 ;
26529 wxSize temp4 ;
ae8162c8 26530 bool temp7 = false ;
d14a1e28 26531 PyObject * obj0 = 0 ;
994141e6 26532 PyObject * obj1 = 0 ;
d14a1e28
RD
26533 PyObject * obj2 = 0 ;
26534 PyObject * obj3 = 0 ;
994141e6 26535 PyObject * obj4 = 0 ;
d14a1e28
RD
26536 PyObject * obj5 = 0 ;
26537 PyObject * obj6 = 0 ;
26538 char *kwnames[] = {
26539 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26540 };
26541
994141e6 26542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListView",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
26543 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26544 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 26545 if (obj1) {
093d3ff1
RD
26546 {
26547 arg2 = (int)(SWIG_As_int(obj1));
26548 if (SWIG_arg_fail(2)) SWIG_fail;
26549 }
994141e6 26550 }
d14a1e28
RD
26551 if (obj2) {
26552 {
26553 arg3 = &temp3;
26554 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
26555 }
26556 }
26557 if (obj3) {
26558 {
26559 arg4 = &temp4;
26560 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
26561 }
26562 }
994141e6 26563 if (obj4) {
093d3ff1
RD
26564 {
26565 arg5 = (long)(SWIG_As_long(obj4));
26566 if (SWIG_arg_fail(5)) SWIG_fail;
26567 }
994141e6 26568 }
d14a1e28 26569 if (obj5) {
093d3ff1
RD
26570 {
26571 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
26572 if (SWIG_arg_fail(6)) SWIG_fail;
26573 if (arg6 == NULL) {
26574 SWIG_null_ref("wxValidator");
26575 }
26576 if (SWIG_arg_fail(6)) SWIG_fail;
d14a1e28
RD
26577 }
26578 }
26579 if (obj6) {
26580 {
26581 arg7 = wxString_in_helper(obj6);
26582 if (arg7 == NULL) SWIG_fail;
ae8162c8 26583 temp7 = true;
d14a1e28
RD
26584 }
26585 }
26586 {
e3b71cb8 26587 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
26588 PyThreadState* __tstate = wxPyBeginAllowThreads();
26589 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
26590
26591 wxPyEndAllowThreads(__tstate);
110da5b0 26592 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 26593 }
15afbcd0 26594 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
d14a1e28
RD
26595 {
26596 if (temp7)
26597 delete arg7;
26598 }
26599 return resultobj;
26600 fail:
26601 {
26602 if (temp7)
26603 delete arg7;
26604 }
26605 return NULL;
26606}
26607
26608
c32bde28 26609static PyObject *_wrap_new_PreListView(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26610 PyObject *resultobj;
26611 wxListView *result;
26612 char *kwnames[] = {
26613 NULL
26614 };
26615
26616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
26617 {
e3b71cb8 26618 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
26619 PyThreadState* __tstate = wxPyBeginAllowThreads();
26620 result = (wxListView *)new wxListView();
26621
26622 wxPyEndAllowThreads(__tstate);
110da5b0 26623 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 26624 }
15afbcd0 26625 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
d14a1e28
RD
26626 return resultobj;
26627 fail:
26628 return NULL;
26629}
26630
26631
c32bde28 26632static PyObject *_wrap_ListView_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26633 PyObject *resultobj;
26634 wxListView *arg1 = (wxListView *) 0 ;
26635 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 26636 int arg3 = (int) -1 ;
d14a1e28
RD
26637 wxPoint const &arg4_defvalue = wxDefaultPosition ;
26638 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
26639 wxSize const &arg5_defvalue = wxDefaultSize ;
26640 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
26641 long arg6 = (long) wxLC_REPORT ;
26642 wxValidator const &arg7_defvalue = wxDefaultValidator ;
26643 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
26644 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
26645 wxString *arg8 = (wxString *) &arg8_defvalue ;
26646 bool result;
26647 wxPoint temp4 ;
26648 wxSize temp5 ;
ae8162c8 26649 bool temp8 = false ;
d14a1e28
RD
26650 PyObject * obj0 = 0 ;
26651 PyObject * obj1 = 0 ;
994141e6 26652 PyObject * obj2 = 0 ;
d14a1e28
RD
26653 PyObject * obj3 = 0 ;
26654 PyObject * obj4 = 0 ;
994141e6 26655 PyObject * obj5 = 0 ;
d14a1e28
RD
26656 PyObject * obj6 = 0 ;
26657 PyObject * obj7 = 0 ;
26658 char *kwnames[] = {
26659 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26660 };
26661
994141e6 26662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListView_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
26663 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26664 if (SWIG_arg_fail(1)) SWIG_fail;
26665 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26666 if (SWIG_arg_fail(2)) SWIG_fail;
994141e6 26667 if (obj2) {
093d3ff1
RD
26668 {
26669 arg3 = (int)(SWIG_As_int(obj2));
26670 if (SWIG_arg_fail(3)) SWIG_fail;
26671 }
994141e6 26672 }
d14a1e28
RD
26673 if (obj3) {
26674 {
26675 arg4 = &temp4;
26676 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
26677 }
26678 }
26679 if (obj4) {
26680 {
26681 arg5 = &temp5;
26682 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
26683 }
26684 }
994141e6 26685 if (obj5) {
093d3ff1
RD
26686 {
26687 arg6 = (long)(SWIG_As_long(obj5));
26688 if (SWIG_arg_fail(6)) SWIG_fail;
26689 }
994141e6 26690 }
d14a1e28 26691 if (obj6) {
093d3ff1
RD
26692 {
26693 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
26694 if (SWIG_arg_fail(7)) SWIG_fail;
26695 if (arg7 == NULL) {
26696 SWIG_null_ref("wxValidator");
26697 }
26698 if (SWIG_arg_fail(7)) SWIG_fail;
d14a1e28
RD
26699 }
26700 }
26701 if (obj7) {
26702 {
26703 arg8 = wxString_in_helper(obj7);
26704 if (arg8 == NULL) SWIG_fail;
ae8162c8 26705 temp8 = true;
d14a1e28
RD
26706 }
26707 }
26708 {
26709 PyThreadState* __tstate = wxPyBeginAllowThreads();
26710 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
26711
26712 wxPyEndAllowThreads(__tstate);
26713 if (PyErr_Occurred()) SWIG_fail;
26714 }
4f89f6a3
RD
26715 {
26716 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26717 }
d14a1e28
RD
26718 {
26719 if (temp8)
26720 delete arg8;
26721 }
26722 return resultobj;
26723 fail:
26724 {
26725 if (temp8)
26726 delete arg8;
26727 }
26728 return NULL;
26729}
26730
26731
c32bde28 26732static PyObject *_wrap_ListView_Select(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26733 PyObject *resultobj;
26734 wxListView *arg1 = (wxListView *) 0 ;
26735 long arg2 ;
ae8162c8 26736 bool arg3 = (bool) true ;
d14a1e28 26737 PyObject * obj0 = 0 ;
994141e6 26738 PyObject * obj1 = 0 ;
d14a1e28
RD
26739 PyObject * obj2 = 0 ;
26740 char *kwnames[] = {
26741 (char *) "self",(char *) "n",(char *) "on", NULL
26742 };
26743
15afbcd0 26744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListView_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26745 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26746 if (SWIG_arg_fail(1)) SWIG_fail;
26747 {
26748 arg2 = (long)(SWIG_As_long(obj1));
26749 if (SWIG_arg_fail(2)) SWIG_fail;
26750 }
d14a1e28 26751 if (obj2) {
093d3ff1
RD
26752 {
26753 arg3 = (bool)(SWIG_As_bool(obj2));
26754 if (SWIG_arg_fail(3)) SWIG_fail;
26755 }
d14a1e28
RD
26756 }
26757 {
26758 PyThreadState* __tstate = wxPyBeginAllowThreads();
26759 (arg1)->Select(arg2,arg3);
26760
26761 wxPyEndAllowThreads(__tstate);
26762 if (PyErr_Occurred()) SWIG_fail;
26763 }
26764 Py_INCREF(Py_None); resultobj = Py_None;
26765 return resultobj;
26766 fail:
26767 return NULL;
26768}
26769
26770
c32bde28 26771static PyObject *_wrap_ListView_Focus(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26772 PyObject *resultobj;
26773 wxListView *arg1 = (wxListView *) 0 ;
26774 long arg2 ;
26775 PyObject * obj0 = 0 ;
994141e6 26776 PyObject * obj1 = 0 ;
d14a1e28
RD
26777 char *kwnames[] = {
26778 (char *) "self",(char *) "index", NULL
26779 };
26780
994141e6 26781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_Focus",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26782 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26783 if (SWIG_arg_fail(1)) SWIG_fail;
26784 {
26785 arg2 = (long)(SWIG_As_long(obj1));
26786 if (SWIG_arg_fail(2)) SWIG_fail;
26787 }
d14a1e28
RD
26788 {
26789 PyThreadState* __tstate = wxPyBeginAllowThreads();
26790 (arg1)->Focus(arg2);
26791
26792 wxPyEndAllowThreads(__tstate);
26793 if (PyErr_Occurred()) SWIG_fail;
26794 }
26795 Py_INCREF(Py_None); resultobj = Py_None;
26796 return resultobj;
26797 fail:
26798 return NULL;
26799}
26800
26801
c32bde28 26802static PyObject *_wrap_ListView_GetFocusedItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26803 PyObject *resultobj;
26804 wxListView *arg1 = (wxListView *) 0 ;
26805 long result;
26806 PyObject * obj0 = 0 ;
26807 char *kwnames[] = {
26808 (char *) "self", NULL
26809 };
26810
26811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
093d3ff1
RD
26812 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26813 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
26814 {
26815 PyThreadState* __tstate = wxPyBeginAllowThreads();
26816 result = (long)((wxListView const *)arg1)->GetFocusedItem();
26817
26818 wxPyEndAllowThreads(__tstate);
26819 if (PyErr_Occurred()) SWIG_fail;
26820 }
093d3ff1
RD
26821 {
26822 resultobj = SWIG_From_long((long)(result));
26823 }
d14a1e28
RD
26824 return resultobj;
26825 fail:
26826 return NULL;
26827}
26828
26829
c32bde28 26830static PyObject *_wrap_ListView_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26831 PyObject *resultobj;
26832 wxListView *arg1 = (wxListView *) 0 ;
26833 long arg2 ;
26834 long result;
26835 PyObject * obj0 = 0 ;
994141e6 26836 PyObject * obj1 = 0 ;
d14a1e28
RD
26837 char *kwnames[] = {
26838 (char *) "self",(char *) "item", NULL
26839 };
26840
994141e6 26841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26842 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26843 if (SWIG_arg_fail(1)) SWIG_fail;
26844 {
26845 arg2 = (long)(SWIG_As_long(obj1));
26846 if (SWIG_arg_fail(2)) SWIG_fail;
26847 }
d14a1e28
RD
26848 {
26849 PyThreadState* __tstate = wxPyBeginAllowThreads();
26850 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
26851
26852 wxPyEndAllowThreads(__tstate);
26853 if (PyErr_Occurred()) SWIG_fail;
26854 }
093d3ff1
RD
26855 {
26856 resultobj = SWIG_From_long((long)(result));
26857 }
d14a1e28
RD
26858 return resultobj;
26859 fail:
26860 return NULL;
26861}
26862
26863
c32bde28 26864static PyObject *_wrap_ListView_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26865 PyObject *resultobj;
26866 wxListView *arg1 = (wxListView *) 0 ;
26867 long result;
26868 PyObject * obj0 = 0 ;
26869 char *kwnames[] = {
26870 (char *) "self", NULL
26871 };
26872
26873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
093d3ff1
RD
26874 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26875 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
26876 {
26877 PyThreadState* __tstate = wxPyBeginAllowThreads();
26878 result = (long)((wxListView const *)arg1)->GetFirstSelected();
26879
26880 wxPyEndAllowThreads(__tstate);
26881 if (PyErr_Occurred()) SWIG_fail;
26882 }
093d3ff1
RD
26883 {
26884 resultobj = SWIG_From_long((long)(result));
26885 }
d14a1e28
RD
26886 return resultobj;
26887 fail:
26888 return NULL;
26889}
26890
26891
c32bde28 26892static PyObject *_wrap_ListView_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26893 PyObject *resultobj;
26894 wxListView *arg1 = (wxListView *) 0 ;
26895 long arg2 ;
26896 bool result;
26897 PyObject * obj0 = 0 ;
994141e6 26898 PyObject * obj1 = 0 ;
d14a1e28
RD
26899 char *kwnames[] = {
26900 (char *) "self",(char *) "index", NULL
26901 };
26902
994141e6 26903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_IsSelected",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26904 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26905 if (SWIG_arg_fail(1)) SWIG_fail;
26906 {
26907 arg2 = (long)(SWIG_As_long(obj1));
26908 if (SWIG_arg_fail(2)) SWIG_fail;
26909 }
d14a1e28
RD
26910 {
26911 PyThreadState* __tstate = wxPyBeginAllowThreads();
26912 result = (bool)(arg1)->IsSelected(arg2);
26913
26914 wxPyEndAllowThreads(__tstate);
26915 if (PyErr_Occurred()) SWIG_fail;
26916 }
4f89f6a3
RD
26917 {
26918 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26919 }
d14a1e28
RD
26920 return resultobj;
26921 fail:
26922 return NULL;
26923}
26924
26925
c32bde28 26926static PyObject *_wrap_ListView_SetColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26927 PyObject *resultobj;
26928 wxListView *arg1 = (wxListView *) 0 ;
26929 int arg2 ;
26930 int arg3 ;
26931 PyObject * obj0 = 0 ;
994141e6
RD
26932 PyObject * obj1 = 0 ;
26933 PyObject * obj2 = 0 ;
d14a1e28
RD
26934 char *kwnames[] = {
26935 (char *) "self",(char *) "col",(char *) "image", NULL
26936 };
26937
994141e6 26938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListView_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26939 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26940 if (SWIG_arg_fail(1)) SWIG_fail;
26941 {
26942 arg2 = (int)(SWIG_As_int(obj1));
26943 if (SWIG_arg_fail(2)) SWIG_fail;
26944 }
26945 {
26946 arg3 = (int)(SWIG_As_int(obj2));
26947 if (SWIG_arg_fail(3)) SWIG_fail;
26948 }
d14a1e28
RD
26949 {
26950 PyThreadState* __tstate = wxPyBeginAllowThreads();
26951 (arg1)->SetColumnImage(arg2,arg3);
26952
26953 wxPyEndAllowThreads(__tstate);
26954 if (PyErr_Occurred()) SWIG_fail;
26955 }
26956 Py_INCREF(Py_None); resultobj = Py_None;
26957 return resultobj;
26958 fail:
26959 return NULL;
26960}
26961
26962
c32bde28 26963static PyObject *_wrap_ListView_ClearColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26964 PyObject *resultobj;
26965 wxListView *arg1 = (wxListView *) 0 ;
26966 int arg2 ;
26967 PyObject * obj0 = 0 ;
994141e6 26968 PyObject * obj1 = 0 ;
d14a1e28
RD
26969 char *kwnames[] = {
26970 (char *) "self",(char *) "col", NULL
26971 };
26972
994141e6 26973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_ClearColumnImage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26974 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26975 if (SWIG_arg_fail(1)) SWIG_fail;
26976 {
26977 arg2 = (int)(SWIG_As_int(obj1));
26978 if (SWIG_arg_fail(2)) SWIG_fail;
26979 }
d14a1e28
RD
26980 {
26981 PyThreadState* __tstate = wxPyBeginAllowThreads();
26982 (arg1)->ClearColumnImage(arg2);
26983
26984 wxPyEndAllowThreads(__tstate);
26985 if (PyErr_Occurred()) SWIG_fail;
26986 }
26987 Py_INCREF(Py_None); resultobj = Py_None;
26988 return resultobj;
26989 fail:
26990 return NULL;
26991}
26992
26993
c32bde28 26994static PyObject * ListView_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
26995 PyObject *obj;
26996 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26997 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
26998 Py_INCREF(obj);
26999 return Py_BuildValue((char *)"");
27000}
c32bde28 27001static int _wrap_TreeCtrlNameStr_set(PyObject *) {
b2dc1044
RD
27002 PyErr_SetString(PyExc_TypeError,"Variable TreeCtrlNameStr is read-only.");
27003 return 1;
27004}
27005
27006
093d3ff1 27007static PyObject *_wrap_TreeCtrlNameStr_get(void) {
b2dc1044
RD
27008 PyObject *pyobj;
27009
27010 {
27011#if wxUSE_UNICODE
27012 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
27013#else
27014 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
27015#endif
27016 }
27017 return pyobj;
27018}
27019
27020
c32bde28 27021static PyObject *_wrap_new_TreeItemId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27022 PyObject *resultobj;
27023 wxTreeItemId *result;
27024 char *kwnames[] = {
27025 NULL
27026 };
27027
27028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
27029 {
27030 PyThreadState* __tstate = wxPyBeginAllowThreads();
27031 result = (wxTreeItemId *)new wxTreeItemId();
27032
27033 wxPyEndAllowThreads(__tstate);
27034 if (PyErr_Occurred()) SWIG_fail;
27035 }
15afbcd0 27036 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
27037 return resultobj;
27038 fail:
27039 return NULL;
27040}
27041
27042
c32bde28 27043static PyObject *_wrap_delete_TreeItemId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27044 PyObject *resultobj;
27045 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27046 PyObject * obj0 = 0 ;
27047 char *kwnames[] = {
27048 (char *) "self", NULL
27049 };
27050
27051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",kwnames,&obj0)) goto fail;
093d3ff1
RD
27052 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27053 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27054 {
27055 PyThreadState* __tstate = wxPyBeginAllowThreads();
27056 delete arg1;
27057
27058 wxPyEndAllowThreads(__tstate);
27059 if (PyErr_Occurred()) SWIG_fail;
27060 }
27061 Py_INCREF(Py_None); resultobj = Py_None;
27062 return resultobj;
27063 fail:
27064 return NULL;
27065}
27066
27067
c32bde28 27068static PyObject *_wrap_TreeItemId_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27069 PyObject *resultobj;
27070 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27071 bool result;
27072 PyObject * obj0 = 0 ;
27073 char *kwnames[] = {
27074 (char *) "self", NULL
27075 };
27076
27077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
093d3ff1
RD
27078 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27079 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27080 {
27081 PyThreadState* __tstate = wxPyBeginAllowThreads();
27082 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
27083
27084 wxPyEndAllowThreads(__tstate);
27085 if (PyErr_Occurred()) SWIG_fail;
27086 }
4f89f6a3
RD
27087 {
27088 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27089 }
d14a1e28
RD
27090 return resultobj;
27091 fail:
27092 return NULL;
27093}
27094
27095
c32bde28 27096static PyObject *_wrap_TreeItemId___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27097 PyObject *resultobj;
27098 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27099 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
27100 bool result;
27101 PyObject * obj0 = 0 ;
27102 PyObject * obj1 = 0 ;
27103 char *kwnames[] = {
27104 (char *) "self",(char *) "other", NULL
27105 };
27106
27107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27108 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27109 if (SWIG_arg_fail(1)) SWIG_fail;
27110 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27111 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
27112 {
27113 PyThreadState* __tstate = wxPyBeginAllowThreads();
22faec7d 27114 result = (bool)wxTreeItemId___eq__(arg1,(wxTreeItemId const *)arg2);
d14a1e28
RD
27115
27116 wxPyEndAllowThreads(__tstate);
27117 if (PyErr_Occurred()) SWIG_fail;
27118 }
4f89f6a3
RD
27119 {
27120 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27121 }
d14a1e28
RD
27122 return resultobj;
27123 fail:
27124 return NULL;
27125}
27126
27127
c32bde28 27128static PyObject *_wrap_TreeItemId___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27129 PyObject *resultobj;
27130 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27131 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
27132 bool result;
27133 PyObject * obj0 = 0 ;
27134 PyObject * obj1 = 0 ;
27135 char *kwnames[] = {
27136 (char *) "self",(char *) "other", NULL
27137 };
27138
27139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27140 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27141 if (SWIG_arg_fail(1)) SWIG_fail;
27142 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27143 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
27144 {
27145 PyThreadState* __tstate = wxPyBeginAllowThreads();
22faec7d 27146 result = (bool)wxTreeItemId___ne__(arg1,(wxTreeItemId const *)arg2);
d14a1e28
RD
27147
27148 wxPyEndAllowThreads(__tstate);
27149 if (PyErr_Occurred()) SWIG_fail;
27150 }
4f89f6a3
RD
27151 {
27152 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27153 }
d14a1e28
RD
27154 return resultobj;
27155 fail:
27156 return NULL;
27157}
27158
27159
c32bde28 27160static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27161 PyObject *resultobj;
27162 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
58203fa6 27163 void *arg2 = (void *) 0 ;
d14a1e28
RD
27164 PyObject * obj0 = 0 ;
27165 PyObject * obj1 = 0 ;
27166 char *kwnames[] = {
27167 (char *) "self",(char *) "m_pItem", NULL
27168 };
27169
27170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27171 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27172 if (SWIG_arg_fail(1)) SWIG_fail;
27173 {
27174 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),0,SWIG_POINTER_EXCEPTION|SWIG_POINTER_DISOWN))== -1) {
27175 SWIG_arg_fail(2);SWIG_fail;
27176 }
27177 }
d14a1e28
RD
27178 if (arg1) (arg1)->m_pItem = arg2;
27179
27180 Py_INCREF(Py_None); resultobj = Py_None;
27181 return resultobj;
27182 fail:
27183 return NULL;
27184}
27185
27186
c32bde28 27187static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27188 PyObject *resultobj;
27189 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
58203fa6 27190 void *result;
d14a1e28
RD
27191 PyObject * obj0 = 0 ;
27192 char *kwnames[] = {
27193 (char *) "self", NULL
27194 };
27195
27196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
27197 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27198 if (SWIG_arg_fail(1)) SWIG_fail;
58203fa6 27199 result = (void *) ((arg1)->m_pItem);
d14a1e28 27200
15afbcd0 27201 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0);
d14a1e28
RD
27202 return resultobj;
27203 fail:
27204 return NULL;
27205}
27206
27207
c32bde28 27208static PyObject * TreeItemId_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
27209 PyObject *obj;
27210 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27211 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
27212 Py_INCREF(obj);
27213 return Py_BuildValue((char *)"");
27214}
c32bde28 27215static PyObject *_wrap_new_TreeItemData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27216 PyObject *resultobj;
27217 PyObject *arg1 = (PyObject *) NULL ;
27218 wxPyTreeItemData *result;
27219 PyObject * obj0 = 0 ;
27220 char *kwnames[] = {
27221 (char *) "obj", NULL
27222 };
27223
27224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
27225 if (obj0) {
27226 arg1 = obj0;
27227 }
27228 {
27229 PyThreadState* __tstate = wxPyBeginAllowThreads();
27230 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
27231
27232 wxPyEndAllowThreads(__tstate);
27233 if (PyErr_Occurred()) SWIG_fail;
27234 }
15afbcd0 27235 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 1);
d14a1e28
RD
27236 return resultobj;
27237 fail:
27238 return NULL;
27239}
27240
27241
c32bde28 27242static PyObject *_wrap_TreeItemData_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27243 PyObject *resultobj;
27244 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27245 PyObject *result;
27246 PyObject * obj0 = 0 ;
27247 char *kwnames[] = {
27248 (char *) "self", NULL
27249 };
27250
27251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) goto fail;
093d3ff1
RD
27252 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27253 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27254 {
27255 PyThreadState* __tstate = wxPyBeginAllowThreads();
27256 result = (PyObject *)(arg1)->GetData();
27257
27258 wxPyEndAllowThreads(__tstate);
27259 if (PyErr_Occurred()) SWIG_fail;
27260 }
27261 resultobj = result;
27262 return resultobj;
27263 fail:
27264 return NULL;
27265}
27266
27267
c32bde28 27268static PyObject *_wrap_TreeItemData_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27269 PyObject *resultobj;
27270 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27271 PyObject *arg2 = (PyObject *) 0 ;
27272 PyObject * obj0 = 0 ;
27273 PyObject * obj1 = 0 ;
27274 char *kwnames[] = {
27275 (char *) "self",(char *) "obj", NULL
27276 };
27277
27278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27279 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27280 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27281 arg2 = obj1;
27282 {
27283 PyThreadState* __tstate = wxPyBeginAllowThreads();
27284 (arg1)->SetData(arg2);
27285
27286 wxPyEndAllowThreads(__tstate);
27287 if (PyErr_Occurred()) SWIG_fail;
27288 }
27289 Py_INCREF(Py_None); resultobj = Py_None;
27290 return resultobj;
27291 fail:
27292 return NULL;
27293}
27294
27295
c32bde28 27296static PyObject *_wrap_TreeItemData_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27297 PyObject *resultobj;
27298 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27299 wxTreeItemId *result;
27300 PyObject * obj0 = 0 ;
27301 char *kwnames[] = {
27302 (char *) "self", NULL
27303 };
27304
27305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
093d3ff1
RD
27306 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27307 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27308 {
27309 PyThreadState* __tstate = wxPyBeginAllowThreads();
27310 {
27311 wxTreeItemId const &_result_ref = (arg1)->GetId();
27312 result = (wxTreeItemId *) &_result_ref;
27313 }
27314
27315 wxPyEndAllowThreads(__tstate);
27316 if (PyErr_Occurred()) SWIG_fail;
27317 }
15afbcd0 27318 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 0);
d14a1e28
RD
27319 return resultobj;
27320 fail:
27321 return NULL;
27322}
27323
27324
c32bde28 27325static PyObject *_wrap_TreeItemData_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27326 PyObject *resultobj;
27327 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27328 wxTreeItemId *arg2 = 0 ;
27329 PyObject * obj0 = 0 ;
27330 PyObject * obj1 = 0 ;
27331 char *kwnames[] = {
27332 (char *) "self",(char *) "id", NULL
27333 };
27334
27335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27336 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27337 if (SWIG_arg_fail(1)) SWIG_fail;
27338 {
27339 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27340 if (SWIG_arg_fail(2)) SWIG_fail;
27341 if (arg2 == NULL) {
27342 SWIG_null_ref("wxTreeItemId");
27343 }
27344 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
27345 }
27346 {
27347 PyThreadState* __tstate = wxPyBeginAllowThreads();
27348 (arg1)->SetId((wxTreeItemId const &)*arg2);
27349
27350 wxPyEndAllowThreads(__tstate);
27351 if (PyErr_Occurred()) SWIG_fail;
27352 }
27353 Py_INCREF(Py_None); resultobj = Py_None;
27354 return resultobj;
27355 fail:
27356 return NULL;
27357}
27358
27359
c32bde28 27360static PyObject *_wrap_TreeItemData_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27361 PyObject *resultobj;
27362 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27363 PyObject * obj0 = 0 ;
27364 char *kwnames[] = {
27365 (char *) "self", NULL
27366 };
27367
27368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
093d3ff1
RD
27369 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27370 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27371 {
27372 PyThreadState* __tstate = wxPyBeginAllowThreads();
27373 wxPyTreeItemData_Destroy(arg1);
27374
27375 wxPyEndAllowThreads(__tstate);
27376 if (PyErr_Occurred()) SWIG_fail;
27377 }
27378 Py_INCREF(Py_None); resultobj = Py_None;
27379 return resultobj;
27380 fail:
27381 return NULL;
27382}
27383
27384
c32bde28 27385static PyObject * TreeItemData_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
27386 PyObject *obj;
27387 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27388 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
27389 Py_INCREF(obj);
27390 return Py_BuildValue((char *)"");
27391}
c32bde28 27392static PyObject *_wrap_new_TreeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27393 PyObject *resultobj;
27394 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
27395 int arg2 = (int) 0 ;
27396 wxTreeEvent *result;
994141e6
RD
27397 PyObject * obj0 = 0 ;
27398 PyObject * obj1 = 0 ;
d14a1e28
RD
27399 char *kwnames[] = {
27400 (char *) "commandType",(char *) "id", NULL
27401 };
27402
994141e6
RD
27403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TreeEvent",kwnames,&obj0,&obj1)) goto fail;
27404 if (obj0) {
093d3ff1
RD
27405 {
27406 arg1 = (wxEventType)(SWIG_As_int(obj0));
27407 if (SWIG_arg_fail(1)) SWIG_fail;
27408 }
994141e6
RD
27409 }
27410 if (obj1) {
093d3ff1
RD
27411 {
27412 arg2 = (int)(SWIG_As_int(obj1));
27413 if (SWIG_arg_fail(2)) SWIG_fail;
27414 }
994141e6 27415 }
d14a1e28
RD
27416 {
27417 PyThreadState* __tstate = wxPyBeginAllowThreads();
27418 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
27419
27420 wxPyEndAllowThreads(__tstate);
27421 if (PyErr_Occurred()) SWIG_fail;
27422 }
15afbcd0 27423 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeEvent, 1);
d14a1e28
RD
27424 return resultobj;
27425 fail:
27426 return NULL;
27427}
27428
27429
c32bde28 27430static PyObject *_wrap_TreeEvent_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27431 PyObject *resultobj;
27432 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27433 wxTreeItemId result;
27434 PyObject * obj0 = 0 ;
27435 char *kwnames[] = {
27436 (char *) "self", NULL
27437 };
27438
27439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
093d3ff1
RD
27440 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27441 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27442 {
27443 PyThreadState* __tstate = wxPyBeginAllowThreads();
27444 result = ((wxTreeEvent const *)arg1)->GetItem();
27445
27446 wxPyEndAllowThreads(__tstate);
27447 if (PyErr_Occurred()) SWIG_fail;
27448 }
27449 {
27450 wxTreeItemId * resultptr;
093d3ff1 27451 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
15afbcd0 27452 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
27453 }
27454 return resultobj;
27455 fail:
27456 return NULL;
27457}
27458
27459
c32bde28 27460static PyObject *_wrap_TreeEvent_SetItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27461 PyObject *resultobj;
27462 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27463 wxTreeItemId *arg2 = 0 ;
27464 PyObject * obj0 = 0 ;
27465 PyObject * obj1 = 0 ;
27466 char *kwnames[] = {
27467 (char *) "self",(char *) "item", NULL
27468 };
27469
27470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27471 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27472 if (SWIG_arg_fail(1)) SWIG_fail;
27473 {
27474 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27475 if (SWIG_arg_fail(2)) SWIG_fail;
27476 if (arg2 == NULL) {
27477 SWIG_null_ref("wxTreeItemId");
27478 }
27479 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
27480 }
27481 {
27482 PyThreadState* __tstate = wxPyBeginAllowThreads();
27483 (arg1)->SetItem((wxTreeItemId const &)*arg2);
27484
27485 wxPyEndAllowThreads(__tstate);
27486 if (PyErr_Occurred()) SWIG_fail;
27487 }
27488 Py_INCREF(Py_None); resultobj = Py_None;
27489 return resultobj;
27490 fail:
27491 return NULL;
27492}
27493
27494
c32bde28 27495static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27496 PyObject *resultobj;
27497 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27498 wxTreeItemId result;
27499 PyObject * obj0 = 0 ;
27500 char *kwnames[] = {
27501 (char *) "self", NULL
27502 };
27503
27504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
093d3ff1
RD
27505 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27506 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27507 {
27508 PyThreadState* __tstate = wxPyBeginAllowThreads();
27509 result = ((wxTreeEvent const *)arg1)->GetOldItem();
27510
27511 wxPyEndAllowThreads(__tstate);
27512 if (PyErr_Occurred()) SWIG_fail;
27513 }
27514 {
27515 wxTreeItemId * resultptr;
093d3ff1 27516 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
15afbcd0 27517 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
27518 }
27519 return resultobj;
27520 fail:
27521 return NULL;
27522}
27523
27524
c32bde28 27525static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27526 PyObject *resultobj;
27527 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27528 wxTreeItemId *arg2 = 0 ;
27529 PyObject * obj0 = 0 ;
27530 PyObject * obj1 = 0 ;
27531 char *kwnames[] = {
27532 (char *) "self",(char *) "item", NULL
27533 };
27534
27535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27536 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27537 if (SWIG_arg_fail(1)) SWIG_fail;
27538 {
27539 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27540 if (SWIG_arg_fail(2)) SWIG_fail;
27541 if (arg2 == NULL) {
27542 SWIG_null_ref("wxTreeItemId");
27543 }
27544 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
27545 }
27546 {
27547 PyThreadState* __tstate = wxPyBeginAllowThreads();
27548 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
27549
27550 wxPyEndAllowThreads(__tstate);
27551 if (PyErr_Occurred()) SWIG_fail;
27552 }
27553 Py_INCREF(Py_None); resultobj = Py_None;
27554 return resultobj;
27555 fail:
27556 return NULL;
27557}
27558
27559
c32bde28 27560static PyObject *_wrap_TreeEvent_GetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27561 PyObject *resultobj;
27562 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27563 wxPoint result;
27564 PyObject * obj0 = 0 ;
27565 char *kwnames[] = {
27566 (char *) "self", NULL
27567 };
27568
27569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",kwnames,&obj0)) goto fail;
093d3ff1
RD
27570 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27571 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27572 {
27573 PyThreadState* __tstate = wxPyBeginAllowThreads();
27574 result = ((wxTreeEvent const *)arg1)->GetPoint();
27575
27576 wxPyEndAllowThreads(__tstate);
27577 if (PyErr_Occurred()) SWIG_fail;
27578 }
27579 {
27580 wxPoint * resultptr;
093d3ff1 27581 resultptr = new wxPoint((wxPoint &)(result));
15afbcd0 27582 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
27583 }
27584 return resultobj;
27585 fail:
27586 return NULL;
27587}
27588
27589
c32bde28 27590static PyObject *_wrap_TreeEvent_SetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27591 PyObject *resultobj;
27592 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27593 wxPoint *arg2 = 0 ;
27594 wxPoint temp2 ;
27595 PyObject * obj0 = 0 ;
27596 PyObject * obj1 = 0 ;
27597 char *kwnames[] = {
27598 (char *) "self",(char *) "pt", NULL
27599 };
27600
27601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27602 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27603 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27604 {
27605 arg2 = &temp2;
27606 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
27607 }
27608 {
27609 PyThreadState* __tstate = wxPyBeginAllowThreads();
27610 (arg1)->SetPoint((wxPoint const &)*arg2);
27611
27612 wxPyEndAllowThreads(__tstate);
27613 if (PyErr_Occurred()) SWIG_fail;
27614 }
27615 Py_INCREF(Py_None); resultobj = Py_None;
27616 return resultobj;
27617 fail:
27618 return NULL;
27619}
27620
27621
c32bde28 27622static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27623 PyObject *resultobj;
27624 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27625 wxKeyEvent *result;
27626 PyObject * obj0 = 0 ;
27627 char *kwnames[] = {
27628 (char *) "self", NULL
27629 };
27630
27631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",kwnames,&obj0)) goto fail;
093d3ff1
RD
27632 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27633 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27634 {
27635 PyThreadState* __tstate = wxPyBeginAllowThreads();
27636 {
27637 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
27638 result = (wxKeyEvent *) &_result_ref;
27639 }
27640
27641 wxPyEndAllowThreads(__tstate);
27642 if (PyErr_Occurred()) SWIG_fail;
27643 }
15afbcd0 27644 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxKeyEvent, 0);
d14a1e28
RD
27645 return resultobj;
27646 fail:
27647 return NULL;
27648}
27649
27650
c32bde28 27651static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27652 PyObject *resultobj;
27653 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27654 int result;
27655 PyObject * obj0 = 0 ;
27656 char *kwnames[] = {
27657 (char *) "self", NULL
27658 };
27659
27660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",kwnames,&obj0)) goto fail;
093d3ff1
RD
27661 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27662 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27663 {
27664 PyThreadState* __tstate = wxPyBeginAllowThreads();
27665 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
27666
27667 wxPyEndAllowThreads(__tstate);
27668 if (PyErr_Occurred()) SWIG_fail;
27669 }
093d3ff1
RD
27670 {
27671 resultobj = SWIG_From_int((int)(result));
27672 }
d14a1e28
RD
27673 return resultobj;
27674 fail:
27675 return NULL;
27676}
27677
27678
c32bde28 27679static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27680 PyObject *resultobj;
27681 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27682 wxKeyEvent *arg2 = 0 ;
27683 PyObject * obj0 = 0 ;
27684 PyObject * obj1 = 0 ;
27685 char *kwnames[] = {
27686 (char *) "self",(char *) "evt", NULL
27687 };
27688
27689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27690 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27691 if (SWIG_arg_fail(1)) SWIG_fail;
27692 {
27693 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
27694 if (SWIG_arg_fail(2)) SWIG_fail;
27695 if (arg2 == NULL) {
27696 SWIG_null_ref("wxKeyEvent");
27697 }
27698 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
27699 }
27700 {
27701 PyThreadState* __tstate = wxPyBeginAllowThreads();
27702 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
27703
27704 wxPyEndAllowThreads(__tstate);
27705 if (PyErr_Occurred()) SWIG_fail;
27706 }
27707 Py_INCREF(Py_None); resultobj = Py_None;
27708 return resultobj;
27709 fail:
27710 return NULL;
27711}
27712
27713
c32bde28 27714static PyObject *_wrap_TreeEvent_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27715 PyObject *resultobj;
27716 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27717 wxString *result;
27718 PyObject * obj0 = 0 ;
27719 char *kwnames[] = {
27720 (char *) "self", NULL
27721 };
27722
27723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",kwnames,&obj0)) goto fail;
093d3ff1
RD
27724 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27725 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27726 {
27727 PyThreadState* __tstate = wxPyBeginAllowThreads();
27728 {
27729 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
27730 result = (wxString *) &_result_ref;
27731 }
27732
27733 wxPyEndAllowThreads(__tstate);
27734 if (PyErr_Occurred()) SWIG_fail;
27735 }
cc6dd355
RD
27736 {
27737#if wxUSE_UNICODE
27738 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
27739#else
27740 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
27741#endif
27742 }
d14a1e28
RD
27743 return resultobj;
27744 fail:
27745 return NULL;
27746}
27747
27748
c32bde28 27749static PyObject *_wrap_TreeEvent_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27750 PyObject *resultobj;
27751 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27752 wxString *arg2 = 0 ;
ae8162c8 27753 bool temp2 = false ;
d14a1e28
RD
27754 PyObject * obj0 = 0 ;
27755 PyObject * obj1 = 0 ;
27756 char *kwnames[] = {
27757 (char *) "self",(char *) "label", NULL
27758 };
27759
27760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27761 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27762 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27763 {
27764 arg2 = wxString_in_helper(obj1);
27765 if (arg2 == NULL) SWIG_fail;
ae8162c8 27766 temp2 = true;
d14a1e28
RD
27767 }
27768 {
27769 PyThreadState* __tstate = wxPyBeginAllowThreads();
27770 (arg1)->SetLabel((wxString const &)*arg2);
27771
27772 wxPyEndAllowThreads(__tstate);
27773 if (PyErr_Occurred()) SWIG_fail;
27774 }
27775 Py_INCREF(Py_None); resultobj = Py_None;
27776 {
27777 if (temp2)
27778 delete arg2;
27779 }
27780 return resultobj;
27781 fail:
27782 {
27783 if (temp2)
27784 delete arg2;
27785 }
27786 return NULL;
27787}
27788
27789
c32bde28 27790static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27791 PyObject *resultobj;
27792 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27793 bool result;
27794 PyObject * obj0 = 0 ;
27795 char *kwnames[] = {
27796 (char *) "self", NULL
27797 };
27798
27799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
093d3ff1
RD
27800 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27801 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27802 {
27803 PyThreadState* __tstate = wxPyBeginAllowThreads();
27804 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
27805
27806 wxPyEndAllowThreads(__tstate);
27807 if (PyErr_Occurred()) SWIG_fail;
27808 }
4f89f6a3
RD
27809 {
27810 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27811 }
d14a1e28
RD
27812 return resultobj;
27813 fail:
27814 return NULL;
27815}
27816
27817
c32bde28 27818static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27819 PyObject *resultobj;
27820 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27821 bool arg2 ;
27822 PyObject * obj0 = 0 ;
27823 PyObject * obj1 = 0 ;
27824 char *kwnames[] = {
27825 (char *) "self",(char *) "editCancelled", NULL
27826 };
27827
27828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27829 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27830 if (SWIG_arg_fail(1)) SWIG_fail;
27831 {
27832 arg2 = (bool)(SWIG_As_bool(obj1));
27833 if (SWIG_arg_fail(2)) SWIG_fail;
27834 }
d14a1e28
RD
27835 {
27836 PyThreadState* __tstate = wxPyBeginAllowThreads();
27837 (arg1)->SetEditCanceled(arg2);
27838
27839 wxPyEndAllowThreads(__tstate);
27840 if (PyErr_Occurred()) SWIG_fail;
27841 }
27842 Py_INCREF(Py_None); resultobj = Py_None;
27843 return resultobj;
27844 fail:
27845 return NULL;
27846}
27847
27848
c32bde28 27849static PyObject *_wrap_TreeEvent_SetToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
c9c7117a
RD
27850 PyObject *resultobj;
27851 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27852 wxString *arg2 = 0 ;
ae8162c8 27853 bool temp2 = false ;
c9c7117a
RD
27854 PyObject * obj0 = 0 ;
27855 PyObject * obj1 = 0 ;
27856 char *kwnames[] = {
27857 (char *) "self",(char *) "toolTip", NULL
27858 };
27859
27860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27861 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27862 if (SWIG_arg_fail(1)) SWIG_fail;
c9c7117a
RD
27863 {
27864 arg2 = wxString_in_helper(obj1);
27865 if (arg2 == NULL) SWIG_fail;
ae8162c8 27866 temp2 = true;
c9c7117a
RD
27867 }
27868 {
27869 PyThreadState* __tstate = wxPyBeginAllowThreads();
27870 (arg1)->SetToolTip((wxString const &)*arg2);
27871
27872 wxPyEndAllowThreads(__tstate);
27873 if (PyErr_Occurred()) SWIG_fail;
27874 }
27875 Py_INCREF(Py_None); resultobj = Py_None;
27876 {
27877 if (temp2)
27878 delete arg2;
27879 }
27880 return resultobj;
27881 fail:
27882 {
27883 if (temp2)
27884 delete arg2;
27885 }
27886 return NULL;
27887}
27888
27889
562ecc31
RD
27890static PyObject *_wrap_TreeEvent_GetToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
27891 PyObject *resultobj;
27892 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27893 wxString result;
27894 PyObject * obj0 = 0 ;
27895 char *kwnames[] = {
27896 (char *) "self", NULL
27897 };
27898
27899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetToolTip",kwnames,&obj0)) goto fail;
27900 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27901 if (SWIG_arg_fail(1)) SWIG_fail;
27902 {
27903 PyThreadState* __tstate = wxPyBeginAllowThreads();
27904 result = (arg1)->GetToolTip();
27905
27906 wxPyEndAllowThreads(__tstate);
27907 if (PyErr_Occurred()) SWIG_fail;
27908 }
27909 {
27910#if wxUSE_UNICODE
27911 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27912#else
27913 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27914#endif
27915 }
27916 return resultobj;
27917 fail:
27918 return NULL;
27919}
27920
27921
c32bde28 27922static PyObject * TreeEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
27923 PyObject *obj;
27924 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27925 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
27926 Py_INCREF(obj);
27927 return Py_BuildValue((char *)"");
27928}
c32bde28 27929static PyObject *_wrap_new_TreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27930 PyObject *resultobj;
27931 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 27932 int arg2 = (int) -1 ;
d14a1e28
RD
27933 wxPoint const &arg3_defvalue = wxDefaultPosition ;
27934 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
27935 wxSize const &arg4_defvalue = wxDefaultSize ;
27936 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
27937 long arg5 = (long) wxTR_DEFAULT_STYLE ;
27938 wxValidator const &arg6_defvalue = wxDefaultValidator ;
27939 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
b2dc1044 27940 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
d14a1e28
RD
27941 wxString *arg7 = (wxString *) &arg7_defvalue ;
27942 wxPyTreeCtrl *result;
27943 wxPoint temp3 ;
27944 wxSize temp4 ;
ae8162c8 27945 bool temp7 = false ;
d14a1e28 27946 PyObject * obj0 = 0 ;
994141e6 27947 PyObject * obj1 = 0 ;
d14a1e28
RD
27948 PyObject * obj2 = 0 ;
27949 PyObject * obj3 = 0 ;
994141e6 27950 PyObject * obj4 = 0 ;
d14a1e28
RD
27951 PyObject * obj5 = 0 ;
27952 PyObject * obj6 = 0 ;
27953 char *kwnames[] = {
27954 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27955 };
27956
994141e6 27957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
27958 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27959 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 27960 if (obj1) {
093d3ff1
RD
27961 {
27962 arg2 = (int)(SWIG_As_int(obj1));
27963 if (SWIG_arg_fail(2)) SWIG_fail;
27964 }
994141e6 27965 }
d14a1e28
RD
27966 if (obj2) {
27967 {
27968 arg3 = &temp3;
27969 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
27970 }
27971 }
27972 if (obj3) {
27973 {
994141e6
RD
27974 arg4 = &temp4;
27975 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
27976 }
27977 }
27978 if (obj4) {
093d3ff1
RD
27979 {
27980 arg5 = (long)(SWIG_As_long(obj4));
27981 if (SWIG_arg_fail(5)) SWIG_fail;
27982 }
d14a1e28
RD
27983 }
27984 if (obj5) {
093d3ff1
RD
27985 {
27986 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
27987 if (SWIG_arg_fail(6)) SWIG_fail;
27988 if (arg6 == NULL) {
27989 SWIG_null_ref("wxValidator");
27990 }
27991 if (SWIG_arg_fail(6)) SWIG_fail;
d14a1e28
RD
27992 }
27993 }
27994 if (obj6) {
27995 {
27996 arg7 = wxString_in_helper(obj6);
27997 if (arg7 == NULL) SWIG_fail;
ae8162c8 27998 temp7 = true;
d14a1e28
RD
27999 }
28000 }
28001 {
e3b71cb8 28002 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
28003 PyThreadState* __tstate = wxPyBeginAllowThreads();
28004 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
28005
28006 wxPyEndAllowThreads(__tstate);
110da5b0 28007 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 28008 }
b0f7404b 28009 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeCtrl, 1);
d14a1e28
RD
28010 {
28011 if (temp7)
28012 delete arg7;
28013 }
28014 return resultobj;
28015 fail:
28016 {
28017 if (temp7)
28018 delete arg7;
28019 }
28020 return NULL;
28021}
28022
28023
c32bde28 28024static PyObject *_wrap_new_PreTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28025 PyObject *resultobj;
28026 wxPyTreeCtrl *result;
28027 char *kwnames[] = {
28028 NULL
28029 };
28030
28031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
28032 {
e3b71cb8 28033 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
28034 PyThreadState* __tstate = wxPyBeginAllowThreads();
28035 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
28036
28037 wxPyEndAllowThreads(__tstate);
110da5b0 28038 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 28039 }
b0f7404b 28040 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeCtrl, 1);
d14a1e28
RD
28041 return resultobj;
28042 fail:
28043 return NULL;
28044}
28045
28046
c32bde28 28047static PyObject *_wrap_TreeCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28048 PyObject *resultobj;
28049 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28050 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 28051 int arg3 = (int) -1 ;
d14a1e28
RD
28052 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28053 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28054 wxSize const &arg5_defvalue = wxDefaultSize ;
28055 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28056 long arg6 = (long) wxTR_DEFAULT_STYLE ;
28057 wxValidator const &arg7_defvalue = wxDefaultValidator ;
28058 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
b2dc1044 28059 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
d14a1e28
RD
28060 wxString *arg8 = (wxString *) &arg8_defvalue ;
28061 bool result;
28062 wxPoint temp4 ;
28063 wxSize temp5 ;
ae8162c8 28064 bool temp8 = false ;
d14a1e28
RD
28065 PyObject * obj0 = 0 ;
28066 PyObject * obj1 = 0 ;
994141e6 28067 PyObject * obj2 = 0 ;
d14a1e28
RD
28068 PyObject * obj3 = 0 ;
28069 PyObject * obj4 = 0 ;
994141e6 28070 PyObject * obj5 = 0 ;
d14a1e28
RD
28071 PyObject * obj6 = 0 ;
28072 PyObject * obj7 = 0 ;
28073 char *kwnames[] = {
28074 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28075 };
28076
994141e6 28077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
28078 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28079 if (SWIG_arg_fail(1)) SWIG_fail;
28080 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28081 if (SWIG_arg_fail(2)) SWIG_fail;
994141e6 28082 if (obj2) {
093d3ff1
RD
28083 {
28084 arg3 = (int)(SWIG_As_int(obj2));
28085 if (SWIG_arg_fail(3)) SWIG_fail;
28086 }
994141e6 28087 }
d14a1e28
RD
28088 if (obj3) {
28089 {
28090 arg4 = &temp4;
28091 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28092 }
28093 }
28094 if (obj4) {
28095 {
28096 arg5 = &temp5;
28097 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28098 }
28099 }
994141e6 28100 if (obj5) {
093d3ff1
RD
28101 {
28102 arg6 = (long)(SWIG_As_long(obj5));
28103 if (SWIG_arg_fail(6)) SWIG_fail;
28104 }
994141e6 28105 }
d14a1e28 28106 if (obj6) {
093d3ff1
RD
28107 {
28108 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
28109 if (SWIG_arg_fail(7)) SWIG_fail;
28110 if (arg7 == NULL) {
28111 SWIG_null_ref("wxValidator");
28112 }
28113 if (SWIG_arg_fail(7)) SWIG_fail;
d14a1e28
RD
28114 }
28115 }
28116 if (obj7) {
28117 {
28118 arg8 = wxString_in_helper(obj7);
28119 if (arg8 == NULL) SWIG_fail;
ae8162c8 28120 temp8 = true;
d14a1e28
RD
28121 }
28122 }
28123 {
28124 PyThreadState* __tstate = wxPyBeginAllowThreads();
28125 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
28126
28127 wxPyEndAllowThreads(__tstate);
28128 if (PyErr_Occurred()) SWIG_fail;
28129 }
4f89f6a3
RD
28130 {
28131 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28132 }
d14a1e28
RD
28133 {
28134 if (temp8)
28135 delete arg8;
28136 }
28137 return resultobj;
28138 fail:
28139 {
28140 if (temp8)
28141 delete arg8;
28142 }
28143 return NULL;
28144}
28145
28146
c32bde28 28147static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28148 PyObject *resultobj;
28149 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28150 PyObject *arg2 = (PyObject *) 0 ;
28151 PyObject *arg3 = (PyObject *) 0 ;
28152 PyObject * obj0 = 0 ;
28153 PyObject * obj1 = 0 ;
28154 PyObject * obj2 = 0 ;
28155 char *kwnames[] = {
28156 (char *) "self",(char *) "self",(char *) "_class", NULL
28157 };
28158
28159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
28160 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28161 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
28162 arg2 = obj1;
28163 arg3 = obj2;
28164 {
28165 PyThreadState* __tstate = wxPyBeginAllowThreads();
28166 (arg1)->_setCallbackInfo(arg2,arg3);
28167
28168 wxPyEndAllowThreads(__tstate);
28169 if (PyErr_Occurred()) SWIG_fail;
28170 }
28171 Py_INCREF(Py_None); resultobj = Py_None;
28172 return resultobj;
28173 fail:
28174 return NULL;
28175}
28176
28177
c32bde28 28178static PyObject *_wrap_TreeCtrl_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28179 PyObject *resultobj;
28180 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28181 size_t result;
28182 PyObject * obj0 = 0 ;
28183 char *kwnames[] = {
28184 (char *) "self", NULL
28185 };
28186
28187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
28188 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28189 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
28190 {
28191 PyThreadState* __tstate = wxPyBeginAllowThreads();
28192 result = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
28193
28194 wxPyEndAllowThreads(__tstate);
28195 if (PyErr_Occurred()) SWIG_fail;
28196 }
093d3ff1
RD
28197 {
28198 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
28199 }
d14a1e28
RD
28200 return resultobj;
28201 fail:
28202 return NULL;
28203}
28204
28205
c32bde28 28206static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28207 PyObject *resultobj;
28208 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28209 unsigned int result;
28210 PyObject * obj0 = 0 ;
28211 char *kwnames[] = {
28212 (char *) "self", NULL
28213 };
28214
28215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
093d3ff1
RD
28216 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28217 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
28218 {
28219 PyThreadState* __tstate = wxPyBeginAllowThreads();
28220 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
28221
28222 wxPyEndAllowThreads(__tstate);
28223 if (PyErr_Occurred()) SWIG_fail;
28224 }
093d3ff1
RD
28225 {
28226 resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result));
28227 }
d14a1e28
RD
28228 return resultobj;
28229 fail:
28230 return NULL;
28231}
28232
28233
c32bde28 28234static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28235 PyObject *resultobj;
28236 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28237 unsigned int arg2 ;
28238 PyObject * obj0 = 0 ;
28239 PyObject * obj1 = 0 ;
28240 char *kwnames[] = {
28241 (char *) "self",(char *) "indent", NULL
28242 };
28243
28244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28245 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28246 if (SWIG_arg_fail(1)) SWIG_fail;
28247 {
28248 arg2 = (unsigned int)(SWIG_As_unsigned_SS_int(obj1));
28249 if (SWIG_arg_fail(2)) SWIG_fail;
28250 }
d14a1e28
RD
28251 {
28252 PyThreadState* __tstate = wxPyBeginAllowThreads();
28253 (arg1)->SetIndent(arg2);
28254
28255 wxPyEndAllowThreads(__tstate);
28256 if (PyErr_Occurred()) SWIG_fail;
28257 }
28258 Py_INCREF(Py_None); resultobj = Py_None;
28259 return resultobj;
28260 fail:
28261 return NULL;
28262}
28263
28264
c32bde28 28265static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28266 PyObject *resultobj;
28267 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28268 unsigned int result;
28269 PyObject * obj0 = 0 ;
28270 char *kwnames[] = {
28271 (char *) "self", NULL
28272 };
28273
28274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",kwnames,&obj0)) goto fail;
093d3ff1
RD
28275 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28276 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
28277 {
28278 PyThreadState* __tstate = wxPyBeginAllowThreads();
28279 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
28280
28281 wxPyEndAllowThreads(__tstate);
28282 if (PyErr_Occurred()) SWIG_fail;
28283 }
093d3ff1
RD
28284 {
28285 resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result));
28286 }
d14a1e28
RD
28287 return resultobj;
28288 fail:
28289 return NULL;
28290}
28291
28292
c32bde28 28293static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28294 PyObject *resultobj;
28295 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28296 unsigned int arg2 ;
28297 PyObject * obj0 = 0 ;
28298 PyObject * obj1 = 0 ;
28299 char *kwnames[] = {
28300 (char *) "self",(char *) "spacing", NULL
28301 };
28302
28303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28304 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28305 if (SWIG_arg_fail(1)) SWIG_fail;
28306 {
28307 arg2 = (unsigned int)(SWIG_As_unsigned_SS_int(obj1));
28308 if (SWIG_arg_fail(2)) SWIG_fail;
28309 }
d14a1e28
RD
28310 {
28311 PyThreadState* __tstate = wxPyBeginAllowThreads();
28312 (arg1)->SetSpacing(arg2);
28313
28314 wxPyEndAllowThreads(__tstate);
28315 if (PyErr_Occurred()) SWIG_fail;
28316 }
28317 Py_INCREF(Py_None); resultobj = Py_None;
28318 return resultobj;
28319 fail:
28320 return NULL;
28321}
28322
28323
c32bde28 28324static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28325 PyObject *resultobj;
28326 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28327 wxImageList *result;
28328 PyObject * obj0 = 0 ;
28329 char *kwnames[] = {
28330 (char *) "self", NULL
28331 };
28332
28333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) goto fail;
093d3ff1
RD
28334 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28335 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
28336 {
28337 PyThreadState* __tstate = wxPyBeginAllowThreads();
28338 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
28339
28340 wxPyEndAllowThreads(__tstate);
28341 if (PyErr_Occurred()) SWIG_fail;
28342 }
28343 {
412d302d 28344 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
28345 }
28346 return resultobj;
28347 fail:
28348 return NULL;
28349}
28350
28351
c32bde28 28352static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28353 PyObject *resultobj;
28354 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28355 wxImageList *result;
28356 PyObject * obj0 = 0 ;
28357 char *kwnames[] = {
28358 (char *) "self", NULL
28359 };
28360
28361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
093d3ff1
RD
28362 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28363 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
28364 {
28365 PyThreadState* __tstate = wxPyBeginAllowThreads();
28366 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
28367
28368 wxPyEndAllowThreads(__tstate);
28369 if (PyErr_Occurred()) SWIG_fail;
28370 }
28371 {
412d302d 28372 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
28373 }
28374 return resultobj;
28375 fail:
28376 return NULL;
28377}
28378
28379
c32bde28 28380static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28381 PyObject *resultobj;
28382 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28383 wxImageList *arg2 = (wxImageList *) 0 ;
28384 PyObject * obj0 = 0 ;
28385 PyObject * obj1 = 0 ;
28386 char *kwnames[] = {
28387 (char *) "self",(char *) "imageList", NULL
28388 };
28389
28390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28391 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28392 if (SWIG_arg_fail(1)) SWIG_fail;
28393 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
28394 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
28395 {
28396 PyThreadState* __tstate = wxPyBeginAllowThreads();
28397 (arg1)->SetImageList(arg2);
28398
28399 wxPyEndAllowThreads(__tstate);
28400 if (PyErr_Occurred()) SWIG_fail;
28401 }
28402 Py_INCREF(Py_None); resultobj = Py_None;
28403 return resultobj;
28404 fail:
28405 return NULL;
28406}
28407
28408
c32bde28 28409static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28410 PyObject *resultobj;
28411 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28412 wxImageList *arg2 = (wxImageList *) 0 ;
28413 PyObject * obj0 = 0 ;
28414 PyObject * obj1 = 0 ;
28415 char *kwnames[] = {
28416 (char *) "self",(char *) "imageList", NULL
28417 };
28418
28419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28420 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28421 if (SWIG_arg_fail(1)) SWIG_fail;
28422 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
28423 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
28424 {
28425 PyThreadState* __tstate = wxPyBeginAllowThreads();
28426 (arg1)->SetStateImageList(arg2);
28427
28428 wxPyEndAllowThreads(__tstate);
28429 if (PyErr_Occurred()) SWIG_fail;
28430 }
28431 Py_INCREF(Py_None); resultobj = Py_None;
28432 return resultobj;
28433 fail:
28434 return NULL;
28435}
28436
28437
c32bde28 28438static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28439 PyObject *resultobj;
28440 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28441 wxImageList *arg2 = (wxImageList *) 0 ;
28442 PyObject * obj0 = 0 ;
28443 PyObject * obj1 = 0 ;
28444 char *kwnames[] = {
28445 (char *) "self",(char *) "imageList", NULL
28446 };
28447
28448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28449 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28450 if (SWIG_arg_fail(1)) SWIG_fail;
28451 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
28452 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
28453 {
28454 PyThreadState* __tstate = wxPyBeginAllowThreads();
28455 (arg1)->AssignImageList(arg2);
28456
28457 wxPyEndAllowThreads(__tstate);
28458 if (PyErr_Occurred()) SWIG_fail;
28459 }
28460 Py_INCREF(Py_None); resultobj = Py_None;
28461 return resultobj;
28462 fail:
28463 return NULL;
28464}
28465
28466
c32bde28 28467static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28468 PyObject *resultobj;
28469 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28470 wxImageList *arg2 = (wxImageList *) 0 ;
28471 PyObject * obj0 = 0 ;
28472 PyObject * obj1 = 0 ;
28473 char *kwnames[] = {
28474 (char *) "self",(char *) "imageList", NULL
28475 };
28476
28477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28478 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28479 if (SWIG_arg_fail(1)) SWIG_fail;
28480 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
28481 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
28482 {
28483 PyThreadState* __tstate = wxPyBeginAllowThreads();
28484 (arg1)->AssignStateImageList(arg2);
28485
28486 wxPyEndAllowThreads(__tstate);
28487 if (PyErr_Occurred()) SWIG_fail;
28488 }
28489 Py_INCREF(Py_None); resultobj = Py_None;
28490 return resultobj;
28491 fail:
28492 return NULL;
28493}
28494
28495
c32bde28 28496static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28497 PyObject *resultobj;
28498 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28499 wxTreeItemId *arg2 = 0 ;
28500 wxString result;
28501 PyObject * obj0 = 0 ;
28502 PyObject * obj1 = 0 ;
28503 char *kwnames[] = {
28504 (char *) "self",(char *) "item", NULL
28505 };
28506
28507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28508 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28509 if (SWIG_arg_fail(1)) SWIG_fail;
28510 {
28511 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28512 if (SWIG_arg_fail(2)) SWIG_fail;
28513 if (arg2 == NULL) {
28514 SWIG_null_ref("wxTreeItemId");
28515 }
28516 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
28517 }
28518 {
28519 PyThreadState* __tstate = wxPyBeginAllowThreads();
28520 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
28521
28522 wxPyEndAllowThreads(__tstate);
28523 if (PyErr_Occurred()) SWIG_fail;
28524 }
28525 {
28526#if wxUSE_UNICODE
28527 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28528#else
28529 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28530#endif
28531 }
28532 return resultobj;
28533 fail:
28534 return NULL;
28535}
28536
28537
c32bde28 28538static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28539 PyObject *resultobj;
28540 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28541 wxTreeItemId *arg2 = 0 ;
093d3ff1 28542 wxTreeItemIcon arg3 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
d14a1e28
RD
28543 int result;
28544 PyObject * obj0 = 0 ;
28545 PyObject * obj1 = 0 ;
994141e6 28546 PyObject * obj2 = 0 ;
d14a1e28
RD
28547 char *kwnames[] = {
28548 (char *) "self",(char *) "item",(char *) "which", NULL
28549 };
28550
994141e6 28551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
28552 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28553 if (SWIG_arg_fail(1)) SWIG_fail;
28554 {
28555 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28556 if (SWIG_arg_fail(2)) SWIG_fail;
28557 if (arg2 == NULL) {
28558 SWIG_null_ref("wxTreeItemId");
28559 }
28560 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 28561 }
994141e6 28562 if (obj2) {
093d3ff1
RD
28563 {
28564 arg3 = (wxTreeItemIcon)(SWIG_As_int(obj2));
28565 if (SWIG_arg_fail(3)) SWIG_fail;
28566 }
994141e6 28567 }
d14a1e28
RD
28568 {
28569 PyThreadState* __tstate = wxPyBeginAllowThreads();
28570 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,(wxTreeItemIcon )arg3);
28571
28572 wxPyEndAllowThreads(__tstate);
28573 if (PyErr_Occurred()) SWIG_fail;
28574 }
093d3ff1
RD
28575 {
28576 resultobj = SWIG_From_int((int)(result));
28577 }
d14a1e28
RD
28578 return resultobj;
28579 fail:
28580 return NULL;
28581}
28582
28583
c32bde28 28584static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28585 PyObject *resultobj;
28586 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28587 wxTreeItemId *arg2 = 0 ;
28588 wxPyTreeItemData *result;
28589 PyObject * obj0 = 0 ;
28590 PyObject * obj1 = 0 ;
28591 char *kwnames[] = {
28592 (char *) "self",(char *) "item", NULL
28593 };
28594
28595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28596 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28597 if (SWIG_arg_fail(1)) SWIG_fail;
28598 {
28599 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28600 if (SWIG_arg_fail(2)) SWIG_fail;
28601 if (arg2 == NULL) {
28602 SWIG_null_ref("wxTreeItemId");
28603 }
28604 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
28605 }
28606 {
28607 PyThreadState* __tstate = wxPyBeginAllowThreads();
28608 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
28609
28610 wxPyEndAllowThreads(__tstate);
28611 if (PyErr_Occurred()) SWIG_fail;
28612 }
15afbcd0 28613 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 0);
d14a1e28
RD
28614 return resultobj;
28615 fail:
28616 return NULL;
28617}
28618
28619
c32bde28 28620static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28621 PyObject *resultobj;
28622 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28623 wxTreeItemId *arg2 = 0 ;
28624 PyObject *result;
28625 PyObject * obj0 = 0 ;
28626 PyObject * obj1 = 0 ;
28627 char *kwnames[] = {
28628 (char *) "self",(char *) "item", NULL
28629 };
28630
28631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28632 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28633 if (SWIG_arg_fail(1)) SWIG_fail;
28634 {
28635 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28636 if (SWIG_arg_fail(2)) SWIG_fail;
28637 if (arg2 == NULL) {
28638 SWIG_null_ref("wxTreeItemId");
28639 }
28640 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
28641 }
28642 {
28643 PyThreadState* __tstate = wxPyBeginAllowThreads();
28644 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
28645
28646 wxPyEndAllowThreads(__tstate);
28647 if (PyErr_Occurred()) SWIG_fail;
28648 }
28649 resultobj = result;
28650 return resultobj;
28651 fail:
28652 return NULL;
28653}
28654
28655
c32bde28 28656static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28657 PyObject *resultobj;
28658 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28659 wxTreeItemId *arg2 = 0 ;
28660 wxColour result;
28661 PyObject * obj0 = 0 ;
28662 PyObject * obj1 = 0 ;
28663 char *kwnames[] = {
28664 (char *) "self",(char *) "item", NULL
28665 };
28666
28667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28668 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28669 if (SWIG_arg_fail(1)) SWIG_fail;
28670 {
28671 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28672 if (SWIG_arg_fail(2)) SWIG_fail;
28673 if (arg2 == NULL) {
28674 SWIG_null_ref("wxTreeItemId");
28675 }
28676 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
28677 }
28678 {
28679 PyThreadState* __tstate = wxPyBeginAllowThreads();
28680 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
28681
28682 wxPyEndAllowThreads(__tstate);
28683 if (PyErr_Occurred()) SWIG_fail;
28684 }
28685 {
28686 wxColour * resultptr;
093d3ff1 28687 resultptr = new wxColour((wxColour &)(result));
15afbcd0 28688 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
28689 }
28690 return resultobj;
28691 fail:
28692 return NULL;
28693}
28694
28695
c32bde28 28696static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28697 PyObject *resultobj;
28698 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28699 wxTreeItemId *arg2 = 0 ;
28700 wxColour result;
28701 PyObject * obj0 = 0 ;
28702 PyObject * obj1 = 0 ;
28703 char *kwnames[] = {
28704 (char *) "self",(char *) "item", NULL
28705 };
28706
28707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28708 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28709 if (SWIG_arg_fail(1)) SWIG_fail;
28710 {
28711 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28712 if (SWIG_arg_fail(2)) SWIG_fail;
28713 if (arg2 == NULL) {
28714 SWIG_null_ref("wxTreeItemId");
28715 }
28716 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
28717 }
28718 {
28719 PyThreadState* __tstate = wxPyBeginAllowThreads();
28720 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
28721
28722 wxPyEndAllowThreads(__tstate);
28723 if (PyErr_Occurred()) SWIG_fail;
28724 }
28725 {
28726 wxColour * resultptr;
093d3ff1 28727 resultptr = new wxColour((wxColour &)(result));
15afbcd0 28728 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
28729 }
28730 return resultobj;
28731 fail:
28732 return NULL;
28733}
28734
28735
c32bde28 28736static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28737 PyObject *resultobj;
28738 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28739 wxTreeItemId *arg2 = 0 ;
28740 wxFont result;
28741 PyObject * obj0 = 0 ;
28742 PyObject * obj1 = 0 ;
28743 char *kwnames[] = {
28744 (char *) "self",(char *) "item", NULL
28745 };
28746
28747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28748 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28749 if (SWIG_arg_fail(1)) SWIG_fail;
28750 {
28751 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28752 if (SWIG_arg_fail(2)) SWIG_fail;
28753 if (arg2 == NULL) {
28754 SWIG_null_ref("wxTreeItemId");
28755 }
28756 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
28757 }
28758 {
28759 PyThreadState* __tstate = wxPyBeginAllowThreads();
28760 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
28761
28762 wxPyEndAllowThreads(__tstate);
28763 if (PyErr_Occurred()) SWIG_fail;
28764 }
28765 {
28766 wxFont * resultptr;
093d3ff1 28767 resultptr = new wxFont((wxFont &)(result));
15afbcd0 28768 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
28769 }
28770 return resultobj;
28771 fail:
28772 return NULL;
28773}
28774
28775
c32bde28 28776static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28777 PyObject *resultobj;
28778 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28779 wxTreeItemId *arg2 = 0 ;
28780 wxString *arg3 = 0 ;
ae8162c8 28781 bool temp3 = false ;
d14a1e28
RD
28782 PyObject * obj0 = 0 ;
28783 PyObject * obj1 = 0 ;
28784 PyObject * obj2 = 0 ;
28785 char *kwnames[] = {
28786 (char *) "self",(char *) "item",(char *) "text", NULL
28787 };
28788
28789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
28790 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28791 if (SWIG_arg_fail(1)) SWIG_fail;
28792 {
28793 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28794 if (SWIG_arg_fail(2)) SWIG_fail;
28795 if (arg2 == NULL) {
28796 SWIG_null_ref("wxTreeItemId");
28797 }
28798 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
28799 }
28800 {
28801 arg3 = wxString_in_helper(obj2);
28802 if (arg3 == NULL) SWIG_fail;
ae8162c8 28803 temp3 = true;
d14a1e28
RD
28804 }
28805 {
28806 PyThreadState* __tstate = wxPyBeginAllowThreads();
28807 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
28808
28809 wxPyEndAllowThreads(__tstate);
28810 if (PyErr_Occurred()) SWIG_fail;
28811 }
28812 Py_INCREF(Py_None); resultobj = Py_None;
28813 {
28814 if (temp3)
28815 delete arg3;
28816 }
28817 return resultobj;
28818 fail:
28819 {
28820 if (temp3)
28821 delete arg3;
28822 }
28823 return NULL;
28824}
28825
28826
c32bde28 28827static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28828 PyObject *resultobj;
28829 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28830 wxTreeItemId *arg2 = 0 ;
28831 int arg3 ;
093d3ff1 28832 wxTreeItemIcon arg4 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
d14a1e28
RD
28833 PyObject * obj0 = 0 ;
28834 PyObject * obj1 = 0 ;
994141e6
RD
28835 PyObject * obj2 = 0 ;
28836 PyObject * obj3 = 0 ;
d14a1e28
RD
28837 char *kwnames[] = {
28838 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
28839 };
28840
994141e6 28841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
28842 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28843 if (SWIG_arg_fail(1)) SWIG_fail;
28844 {
28845 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28846 if (SWIG_arg_fail(2)) SWIG_fail;
28847 if (arg2 == NULL) {
28848 SWIG_null_ref("wxTreeItemId");
28849 }
28850 if (SWIG_arg_fail(2)) SWIG_fail;
28851 }
28852 {
28853 arg3 = (int)(SWIG_As_int(obj2));
28854 if (SWIG_arg_fail(3)) SWIG_fail;
28855 }
994141e6 28856 if (obj3) {
093d3ff1
RD
28857 {
28858 arg4 = (wxTreeItemIcon)(SWIG_As_int(obj3));
28859 if (SWIG_arg_fail(4)) SWIG_fail;
28860 }
994141e6 28861 }
d14a1e28
RD
28862 {
28863 PyThreadState* __tstate = wxPyBeginAllowThreads();
28864 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4);
28865
28866 wxPyEndAllowThreads(__tstate);
28867 if (PyErr_Occurred()) SWIG_fail;
28868 }
28869 Py_INCREF(Py_None); resultobj = Py_None;
28870 return resultobj;
28871 fail:
28872 return NULL;
28873}
28874
28875
c32bde28 28876static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28877 PyObject *resultobj;
28878 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28879 wxTreeItemId *arg2 = 0 ;
28880 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
28881 PyObject * obj0 = 0 ;
28882 PyObject * obj1 = 0 ;
28883 PyObject * obj2 = 0 ;
28884 char *kwnames[] = {
28885 (char *) "self",(char *) "item",(char *) "data", NULL
28886 };
28887
28888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
28889 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28890 if (SWIG_arg_fail(1)) SWIG_fail;
28891 {
28892 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28893 if (SWIG_arg_fail(2)) SWIG_fail;
28894 if (arg2 == NULL) {
28895 SWIG_null_ref("wxTreeItemId");
28896 }
28897 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 28898 }
093d3ff1
RD
28899 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
28900 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
28901 {
28902 PyThreadState* __tstate = wxPyBeginAllowThreads();
28903 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
28904
28905 wxPyEndAllowThreads(__tstate);
28906 if (PyErr_Occurred()) SWIG_fail;
28907 }
28908 Py_INCREF(Py_None); resultobj = Py_None;
28909 return resultobj;
28910 fail:
28911 return NULL;
28912}
28913
28914
c32bde28 28915static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28916 PyObject *resultobj;
28917 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28918 wxTreeItemId *arg2 = 0 ;
28919 PyObject *arg3 = (PyObject *) 0 ;
28920 PyObject * obj0 = 0 ;
28921 PyObject * obj1 = 0 ;
28922 PyObject * obj2 = 0 ;
28923 char *kwnames[] = {
28924 (char *) "self",(char *) "item",(char *) "obj", NULL
28925 };
28926
28927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
28928 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28929 if (SWIG_arg_fail(1)) SWIG_fail;
28930 {
28931 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28932 if (SWIG_arg_fail(2)) SWIG_fail;
28933 if (arg2 == NULL) {
28934 SWIG_null_ref("wxTreeItemId");
28935 }
28936 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
28937 }
28938 arg3 = obj2;
28939 {
28940 PyThreadState* __tstate = wxPyBeginAllowThreads();
28941 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
28942
28943 wxPyEndAllowThreads(__tstate);
28944 if (PyErr_Occurred()) SWIG_fail;
28945 }
28946 Py_INCREF(Py_None); resultobj = Py_None;
28947 return resultobj;
28948 fail:
28949 return NULL;
28950}
28951
28952
c32bde28 28953static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28954 PyObject *resultobj;
28955 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28956 wxTreeItemId *arg2 = 0 ;
ae8162c8 28957 bool arg3 = (bool) true ;
d14a1e28
RD
28958 PyObject * obj0 = 0 ;
28959 PyObject * obj1 = 0 ;
28960 PyObject * obj2 = 0 ;
28961 char *kwnames[] = {
28962 (char *) "self",(char *) "item",(char *) "has", NULL
28963 };
28964
28965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
28966 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28967 if (SWIG_arg_fail(1)) SWIG_fail;
28968 {
28969 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28970 if (SWIG_arg_fail(2)) SWIG_fail;
28971 if (arg2 == NULL) {
28972 SWIG_null_ref("wxTreeItemId");
28973 }
28974 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
28975 }
28976 if (obj2) {
093d3ff1
RD
28977 {
28978 arg3 = (bool)(SWIG_As_bool(obj2));
28979 if (SWIG_arg_fail(3)) SWIG_fail;
28980 }
d14a1e28
RD
28981 }
28982 {
28983 PyThreadState* __tstate = wxPyBeginAllowThreads();
28984 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
28985
28986 wxPyEndAllowThreads(__tstate);
28987 if (PyErr_Occurred()) SWIG_fail;
28988 }
28989 Py_INCREF(Py_None); resultobj = Py_None;
28990 return resultobj;
28991 fail:
28992 return NULL;
28993}
28994
28995
c32bde28 28996static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28997 PyObject *resultobj;
28998 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28999 wxTreeItemId *arg2 = 0 ;
ae8162c8 29000 bool arg3 = (bool) true ;
d14a1e28
RD
29001 PyObject * obj0 = 0 ;
29002 PyObject * obj1 = 0 ;
29003 PyObject * obj2 = 0 ;
29004 char *kwnames[] = {
29005 (char *) "self",(char *) "item",(char *) "bold", NULL
29006 };
29007
29008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
29009 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29010 if (SWIG_arg_fail(1)) SWIG_fail;
29011 {
29012 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29013 if (SWIG_arg_fail(2)) SWIG_fail;
29014 if (arg2 == NULL) {
29015 SWIG_null_ref("wxTreeItemId");
29016 }
29017 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
29018 }
29019 if (obj2) {
093d3ff1
RD
29020 {
29021 arg3 = (bool)(SWIG_As_bool(obj2));
29022 if (SWIG_arg_fail(3)) SWIG_fail;
29023 }
d14a1e28
RD
29024 }
29025 {
29026 PyThreadState* __tstate = wxPyBeginAllowThreads();
29027 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
29028
29029 wxPyEndAllowThreads(__tstate);
29030 if (PyErr_Occurred()) SWIG_fail;
29031 }
29032 Py_INCREF(Py_None); resultobj = Py_None;
29033 return resultobj;
29034 fail:
29035 return NULL;
29036}
29037
29038
fef4c27a
RD
29039static PyObject *_wrap_TreeCtrl_SetItemDropHighlight(PyObject *, PyObject *args, PyObject *kwargs) {
29040 PyObject *resultobj;
29041 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29042 wxTreeItemId *arg2 = 0 ;
29043 bool arg3 = (bool) true ;
29044 PyObject * obj0 = 0 ;
29045 PyObject * obj1 = 0 ;
29046 PyObject * obj2 = 0 ;
29047 char *kwnames[] = {
29048 (char *) "self",(char *) "item",(char *) "highlight", NULL
29049 };
29050
29051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
29052 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29053 if (SWIG_arg_fail(1)) SWIG_fail;
29054 {
29055 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29056 if (SWIG_arg_fail(2)) SWIG_fail;
29057 if (arg2 == NULL) {
29058 SWIG_null_ref("wxTreeItemId");
29059 }
29060 if (SWIG_arg_fail(2)) SWIG_fail;
29061 }
29062 if (obj2) {
29063 {
29064 arg3 = (bool)(SWIG_As_bool(obj2));
29065 if (SWIG_arg_fail(3)) SWIG_fail;
29066 }
29067 }
29068 {
29069 PyThreadState* __tstate = wxPyBeginAllowThreads();
29070 (arg1)->SetItemDropHighlight((wxTreeItemId const &)*arg2,arg3);
29071
29072 wxPyEndAllowThreads(__tstate);
29073 if (PyErr_Occurred()) SWIG_fail;
29074 }
29075 Py_INCREF(Py_None); resultobj = Py_None;
29076 return resultobj;
29077 fail:
29078 return NULL;
29079}
29080
29081
c32bde28 29082static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29083 PyObject *resultobj;
29084 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29085 wxTreeItemId *arg2 = 0 ;
29086 wxColour *arg3 = 0 ;
29087 wxColour temp3 ;
29088 PyObject * obj0 = 0 ;
29089 PyObject * obj1 = 0 ;
29090 PyObject * obj2 = 0 ;
29091 char *kwnames[] = {
29092 (char *) "self",(char *) "item",(char *) "col", NULL
29093 };
29094
29095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
29096 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29097 if (SWIG_arg_fail(1)) SWIG_fail;
29098 {
29099 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29100 if (SWIG_arg_fail(2)) SWIG_fail;
29101 if (arg2 == NULL) {
29102 SWIG_null_ref("wxTreeItemId");
29103 }
29104 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
29105 }
29106 {
29107 arg3 = &temp3;
29108 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
29109 }
29110 {
29111 PyThreadState* __tstate = wxPyBeginAllowThreads();
29112 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
29113
29114 wxPyEndAllowThreads(__tstate);
29115 if (PyErr_Occurred()) SWIG_fail;
29116 }
29117 Py_INCREF(Py_None); resultobj = Py_None;
29118 return resultobj;
29119 fail:
29120 return NULL;
29121}
29122
29123
c32bde28 29124static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29125 PyObject *resultobj;
29126 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29127 wxTreeItemId *arg2 = 0 ;
29128 wxColour *arg3 = 0 ;
29129 wxColour temp3 ;
29130 PyObject * obj0 = 0 ;
29131 PyObject * obj1 = 0 ;
29132 PyObject * obj2 = 0 ;
29133 char *kwnames[] = {
29134 (char *) "self",(char *) "item",(char *) "col", NULL
29135 };
29136
29137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
29138 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29139 if (SWIG_arg_fail(1)) SWIG_fail;
29140 {
29141 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29142 if (SWIG_arg_fail(2)) SWIG_fail;
29143 if (arg2 == NULL) {
29144 SWIG_null_ref("wxTreeItemId");
29145 }
29146 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
29147 }
29148 {
29149 arg3 = &temp3;
29150 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
29151 }
29152 {
29153 PyThreadState* __tstate = wxPyBeginAllowThreads();
29154 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
29155
29156 wxPyEndAllowThreads(__tstate);
29157 if (PyErr_Occurred()) SWIG_fail;
29158 }
29159 Py_INCREF(Py_None); resultobj = Py_None;
29160 return resultobj;
29161 fail:
29162 return NULL;
29163}
29164
29165
c32bde28 29166static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29167 PyObject *resultobj;
29168 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29169 wxTreeItemId *arg2 = 0 ;
29170 wxFont *arg3 = 0 ;
29171 PyObject * obj0 = 0 ;
29172 PyObject * obj1 = 0 ;
29173 PyObject * obj2 = 0 ;
29174 char *kwnames[] = {
29175 (char *) "self",(char *) "item",(char *) "font", NULL
29176 };
29177
29178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
29179 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29180 if (SWIG_arg_fail(1)) SWIG_fail;
29181 {
29182 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29183 if (SWIG_arg_fail(2)) SWIG_fail;
29184 if (arg2 == NULL) {
29185 SWIG_null_ref("wxTreeItemId");
29186 }
29187 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 29188 }
093d3ff1
RD
29189 {
29190 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
29191 if (SWIG_arg_fail(3)) SWIG_fail;
29192 if (arg3 == NULL) {
29193 SWIG_null_ref("wxFont");
29194 }
29195 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
29196 }
29197 {
29198 PyThreadState* __tstate = wxPyBeginAllowThreads();
29199 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
29200
29201 wxPyEndAllowThreads(__tstate);
29202 if (PyErr_Occurred()) SWIG_fail;
29203 }
29204 Py_INCREF(Py_None); resultobj = Py_None;
29205 return resultobj;
29206 fail:
29207 return NULL;
29208}
29209
29210
c32bde28 29211static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29212 PyObject *resultobj;
29213 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29214 wxTreeItemId *arg2 = 0 ;
29215 bool result;
29216 PyObject * obj0 = 0 ;
29217 PyObject * obj1 = 0 ;
29218 char *kwnames[] = {
29219 (char *) "self",(char *) "item", NULL
29220 };
29221
29222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29223 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29224 if (SWIG_arg_fail(1)) SWIG_fail;
29225 {
29226 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29227 if (SWIG_arg_fail(2)) SWIG_fail;
29228 if (arg2 == NULL) {
29229 SWIG_null_ref("wxTreeItemId");
29230 }
29231 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
29232 }
29233 {
29234 PyThreadState* __tstate = wxPyBeginAllowThreads();
29235 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
29236
29237 wxPyEndAllowThreads(__tstate);
29238 if (PyErr_Occurred()) SWIG_fail;
29239 }
4f89f6a3
RD
29240 {
29241 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29242 }
d14a1e28
RD
29243 return resultobj;
29244 fail:
29245 return NULL;
29246}
29247
29248
c32bde28 29249static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29250 PyObject *resultobj;
29251 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29252 wxTreeItemId *arg2 = 0 ;
29253 bool result;
29254 PyObject * obj0 = 0 ;
29255 PyObject * obj1 = 0 ;
29256 char *kwnames[] = {
29257 (char *) "self",(char *) "item", NULL
29258 };
29259
29260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29261 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29262 if (SWIG_arg_fail(1)) SWIG_fail;
29263 {
29264 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29265 if (SWIG_arg_fail(2)) SWIG_fail;
29266 if (arg2 == NULL) {
29267 SWIG_null_ref("wxTreeItemId");
29268 }
29269 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
29270 }
29271 {
29272 PyThreadState* __tstate = wxPyBeginAllowThreads();
29273 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
29274
29275 wxPyEndAllowThreads(__tstate);
29276 if (PyErr_Occurred()) SWIG_fail;
29277 }
4f89f6a3
RD
29278 {
29279 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29280 }
d14a1e28
RD
29281 return resultobj;
29282 fail:
29283 return NULL;
29284}
29285
29286
c32bde28 29287static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29288 PyObject *resultobj;
29289 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29290 wxTreeItemId *arg2 = 0 ;
29291 bool result;
29292 PyObject * obj0 = 0 ;
29293 PyObject * obj1 = 0 ;
29294 char *kwnames[] = {
29295 (char *) "self",(char *) "item", NULL
29296 };
29297
29298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29299 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29300 if (SWIG_arg_fail(1)) SWIG_fail;
29301 {
29302 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29303 if (SWIG_arg_fail(2)) SWIG_fail;
29304 if (arg2 == NULL) {
29305 SWIG_null_ref("wxTreeItemId");
29306 }
29307 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
29308 }
29309 {
29310 PyThreadState* __tstate = wxPyBeginAllowThreads();
29311 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
29312
29313 wxPyEndAllowThreads(__tstate);
29314 if (PyErr_Occurred()) SWIG_fail;
29315 }
4f89f6a3
RD
29316 {
29317 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29318 }
d14a1e28
RD
29319 return resultobj;
29320 fail:
29321 return NULL;
29322}
29323
29324
c32bde28 29325static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29326 PyObject *resultobj;
29327 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29328 wxTreeItemId *arg2 = 0 ;
29329 bool result;
29330 PyObject * obj0 = 0 ;
29331 PyObject * obj1 = 0 ;
29332 char *kwnames[] = {
29333 (char *) "self",(char *) "item", NULL
29334 };
29335
29336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29337 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29338 if (SWIG_arg_fail(1)) SWIG_fail;
29339 {
29340 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29341 if (SWIG_arg_fail(2)) SWIG_fail;
29342 if (arg2 == NULL) {
29343 SWIG_null_ref("wxTreeItemId");
29344 }
29345 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
29346 }
29347 {
29348 PyThreadState* __tstate = wxPyBeginAllowThreads();
29349 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
29350
29351 wxPyEndAllowThreads(__tstate);
29352 if (PyErr_Occurred()) SWIG_fail;
29353 }
4f89f6a3
RD
29354 {
29355 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29356 }
d14a1e28
RD
29357 return resultobj;
29358 fail:
29359 return NULL;
29360}
29361
29362
c32bde28 29363static PyObject *_wrap_TreeCtrl_IsBold(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29364 PyObject *resultobj;
29365 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29366 wxTreeItemId *arg2 = 0 ;
29367 bool result;
29368 PyObject * obj0 = 0 ;
29369 PyObject * obj1 = 0 ;
29370 char *kwnames[] = {
29371 (char *) "self",(char *) "item", NULL
29372 };
29373
29374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29375 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29376 if (SWIG_arg_fail(1)) SWIG_fail;
29377 {
29378 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29379 if (SWIG_arg_fail(2)) SWIG_fail;
29380 if (arg2 == NULL) {
29381 SWIG_null_ref("wxTreeItemId");
29382 }
29383 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
29384 }
29385 {
29386 PyThreadState* __tstate = wxPyBeginAllowThreads();
29387 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
29388
29389 wxPyEndAllowThreads(__tstate);
29390 if (PyErr_Occurred()) SWIG_fail;
29391 }
4f89f6a3
RD
29392 {
29393 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29394 }
d14a1e28
RD
29395 return resultobj;
29396 fail:
29397 return NULL;
29398}
29399
29400
c32bde28 29401static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29402 PyObject *resultobj;
29403 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29404 wxTreeItemId *arg2 = 0 ;
ae8162c8 29405 bool arg3 = (bool) true ;
d14a1e28
RD
29406 size_t result;
29407 PyObject * obj0 = 0 ;
29408 PyObject * obj1 = 0 ;
29409 PyObject * obj2 = 0 ;
29410 char *kwnames[] = {
29411 (char *) "self",(char *) "item",(char *) "recursively", NULL
29412 };
29413
29414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
29415 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29416 if (SWIG_arg_fail(1)) SWIG_fail;
29417 {
29418 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29419 if (SWIG_arg_fail(2)) SWIG_fail;
29420 if (arg2 == NULL) {
29421 SWIG_null_ref("wxTreeItemId");
29422 }
29423 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
29424 }
29425 if (obj2) {
093d3ff1
RD
29426 {
29427 arg3 = (bool)(SWIG_As_bool(obj2));
29428 if (SWIG_arg_fail(3)) SWIG_fail;
29429 }
d14a1e28
RD
29430 }
29431 {
29432 PyThreadState* __tstate = wxPyBeginAllowThreads();
29433 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
29434
29435 wxPyEndAllowThreads(__tstate);
29436 if (PyErr_Occurred()) SWIG_fail;
29437 }
093d3ff1
RD
29438 {
29439 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
29440 }
d14a1e28
RD
29441 return resultobj;
29442 fail:
29443 return NULL;
29444}
29445
29446
c32bde28 29447static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29448 PyObject *resultobj;
29449 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29450 wxTreeItemId result;
29451 PyObject * obj0 = 0 ;
29452 char *kwnames[] = {
29453 (char *) "self", NULL
29454 };
29455
29456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
093d3ff1
RD
29457 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29458 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
29459 {
29460 PyThreadState* __tstate = wxPyBeginAllowThreads();
29461 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
29462
29463 wxPyEndAllowThreads(__tstate);
29464 if (PyErr_Occurred()) SWIG_fail;
29465 }
29466 {
29467 wxTreeItemId * resultptr;
093d3ff1 29468 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
15afbcd0 29469 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
29470 }
29471 return resultobj;
29472 fail:
29473 return NULL;
29474}
29475
29476
c32bde28 29477static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29478 PyObject *resultobj;
29479 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29480 wxTreeItemId result;
29481 PyObject * obj0 = 0 ;
29482 char *kwnames[] = {
29483 (char *) "self", NULL
29484 };
29485
29486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
29487 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29488 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
29489 {
29490 PyThreadState* __tstate = wxPyBeginAllowThreads();
29491 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
29492
29493 wxPyEndAllowThreads(__tstate);
29494 if (PyErr_Occurred()) SWIG_fail;
29495 }
29496 {
29497 wxTreeItemId * resultptr;
093d3ff1 29498 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
15afbcd0 29499 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
29500 }
29501 return resultobj;
29502 fail:
29503 return NULL;
29504}
29505
29506
c32bde28 29507static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29508 PyObject *resultobj;
29509 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29510 PyObject *result;
29511 PyObject * obj0 = 0 ;
29512 char *kwnames[] = {
29513 (char *) "self", NULL
29514 };
29515
29516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
093d3ff1
RD
29517 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29518 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
29519 {
29520 PyThreadState* __tstate = wxPyBeginAllowThreads();
29521 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
29522
29523 wxPyEndAllowThreads(__tstate);
29524 if (PyErr_Occurred()) SWIG_fail;
29525 }
29526 resultobj = result;
29527 return resultobj;
29528 fail:
29529 return NULL;
29530}
29531
29532
c32bde28 29533static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29534 PyObject *resultobj;
29535 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29536 wxTreeItemId *arg2 = 0 ;
29537 wxTreeItemId result;
29538 PyObject * obj0 = 0 ;
29539 PyObject * obj1 = 0 ;
29540 char *kwnames[] = {
29541 (char *) "self",(char *) "item", NULL
29542 };
29543
29544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29545 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29546 if (SWIG_arg_fail(1)) SWIG_fail;
29547 {
29548 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29549 if (SWIG_arg_fail(2)) SWIG_fail;
29550 if (arg2 == NULL) {
29551 SWIG_null_ref("wxTreeItemId");
29552 }
29553 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
29554 }
29555 {
29556 PyThreadState* __tstate = wxPyBeginAllowThreads();
29557 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
29558
29559 wxPyEndAllowThreads(__tstate);
29560 if (PyErr_Occurred()) SWIG_fail;
29561 }
29562 {
29563 wxTreeItemId * resultptr;
093d3ff1 29564 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
15afbcd0 29565 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
29566 }
29567 return resultobj;
29568 fail:
29569 return NULL;
29570}
29571
29572
c32bde28 29573static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29574 PyObject *resultobj;
29575 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29576 wxTreeItemId *arg2 = 0 ;
29577 PyObject *result;
29578 PyObject * obj0 = 0 ;
29579 PyObject * obj1 = 0 ;
29580 char *kwnames[] = {
29581 (char *) "self",(char *) "item", NULL
29582 };
29583
29584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29585 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29586 if (SWIG_arg_fail(1)) SWIG_fail;
29587 {
29588 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29589 if (SWIG_arg_fail(2)) SWIG_fail;
29590 if (arg2 == NULL) {
29591 SWIG_null_ref("wxTreeItemId");
29592 }
29593 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
29594 }
29595 {
29596 PyThreadState* __tstate = wxPyBeginAllowThreads();
29597 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
29598
29599 wxPyEndAllowThreads(__tstate);
29600 if (PyErr_Occurred()) SWIG_fail;
29601 }
29602 resultobj = result;
29603 return resultobj;
29604 fail:
29605 return NULL;
29606}
29607
29608
c32bde28 29609static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29610 PyObject *resultobj;
29611 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29612 wxTreeItemId *arg2 = 0 ;
58203fa6 29613 void *arg3 = (void *) 0 ;
d14a1e28
RD
29614 PyObject *result;
29615 PyObject * obj0 = 0 ;
29616 PyObject * obj1 = 0 ;
29617 PyObject * obj2 = 0 ;
29618 char *kwnames[] = {
29619 (char *) "self",(char *) "item",(char *) "cookie", NULL
29620 };
29621
29622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
29623 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29624 if (SWIG_arg_fail(1)) SWIG_fail;
29625 {
29626 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29627 if (SWIG_arg_fail(2)) SWIG_fail;
29628 if (arg2 == NULL) {
29629 SWIG_null_ref("wxTreeItemId");
29630 }
29631 if (SWIG_arg_fail(2)) SWIG_fail;
29632 }
29633 {
29634 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),0,SWIG_POINTER_EXCEPTION|0))== -1) {
29635 SWIG_arg_fail(3);SWIG_fail;
29636 }
d14a1e28 29637 }
d14a1e28
RD
29638 {
29639 PyThreadState* __tstate = wxPyBeginAllowThreads();
58203fa6 29640 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
d14a1e28
RD
29641
29642 wxPyEndAllowThreads(__tstate);
29643 if (PyErr_Occurred()) SWIG_fail;
29644 }
29645 resultobj = result;
29646 return resultobj;
29647 fail:
29648 return NULL;
29649}
29650
29651
c32bde28 29652static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29653 PyObject *resultobj;
29654 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29655 wxTreeItemId *arg2 = 0 ;
29656 wxTreeItemId result;
29657 PyObject * obj0 = 0 ;
29658 PyObject * obj1 = 0 ;
29659 char *kwnames[] = {
29660 (char *) "self",(char *) "item", NULL
29661 };
29662
29663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29664 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29665 if (SWIG_arg_fail(1)) SWIG_fail;
29666 {
29667 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29668 if (SWIG_arg_fail(2)) SWIG_fail;
29669 if (arg2 == NULL) {
29670 SWIG_null_ref("wxTreeItemId");
29671 }
29672 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
29673 }
29674 {
29675 PyThreadState* __tstate = wxPyBeginAllowThreads();
29676 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
29677
29678 wxPyEndAllowThreads(__tstate);
29679 if (PyErr_Occurred()) SWIG_fail;
29680 }
29681 {
29682 wxTreeItemId * resultptr;
093d3ff1 29683 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
15afbcd0 29684 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
29685 }
29686 return resultobj;
29687 fail:
29688 return NULL;
29689}
29690
29691
c32bde28 29692static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29693 PyObject *resultobj;
29694 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29695 wxTreeItemId *arg2 = 0 ;
29696 wxTreeItemId result;
29697 PyObject * obj0 = 0 ;
29698 PyObject * obj1 = 0 ;
29699 char *kwnames[] = {
29700 (char *) "self",(char *) "item", NULL
29701 };
29702
29703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29704 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29705 if (SWIG_arg_fail(1)) SWIG_fail;
29706 {
29707 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29708 if (SWIG_arg_fail(2)) SWIG_fail;
29709 if (arg2 == NULL) {
29710 SWIG_null_ref("wxTreeItemId");
29711 }
29712 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
29713 }
29714 {
29715 PyThreadState* __tstate = wxPyBeginAllowThreads();
29716 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
29717
29718 wxPyEndAllowThreads(__tstate);
29719 if (PyErr_Occurred()) SWIG_fail;
29720 }
29721 {
29722 wxTreeItemId * resultptr;
093d3ff1 29723 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
15afbcd0 29724 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
29725 }
29726 return resultobj;
29727 fail:
29728 return NULL;
29729}
29730
29731
c32bde28 29732static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29733 PyObject *resultobj;
29734 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29735 wxTreeItemId *arg2 = 0 ;
29736 wxTreeItemId result;
29737 PyObject * obj0 = 0 ;
29738 PyObject * obj1 = 0 ;
29739 char *kwnames[] = {
29740 (char *) "self",(char *) "item", NULL
29741 };
29742
29743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29744 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29745 if (SWIG_arg_fail(1)) SWIG_fail;
29746 {
29747 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29748 if (SWIG_arg_fail(2)) SWIG_fail;
29749 if (arg2 == NULL) {
29750 SWIG_null_ref("wxTreeItemId");
29751 }
29752 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
29753 }
29754 {
29755 PyThreadState* __tstate = wxPyBeginAllowThreads();
29756 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
29757
29758 wxPyEndAllowThreads(__tstate);
29759 if (PyErr_Occurred()) SWIG_fail;
29760 }
29761 {
29762 wxTreeItemId * resultptr;
093d3ff1 29763 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
15afbcd0 29764 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
29765 }
29766 return resultobj;
29767 fail:
29768 return NULL;
29769}
29770
29771
c32bde28 29772static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29773 PyObject *resultobj;
29774 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29775 wxTreeItemId result;
29776 PyObject * obj0 = 0 ;
29777 char *kwnames[] = {
29778 (char *) "self", NULL
29779 };
29780
29781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
093d3ff1
RD
29782 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29783 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
29784 {
29785 PyThreadState* __tstate = wxPyBeginAllowThreads();
29786 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
29787
29788 wxPyEndAllowThreads(__tstate);
29789 if (PyErr_Occurred()) SWIG_fail;
29790 }
29791 {
29792 wxTreeItemId * resultptr;
093d3ff1 29793 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
15afbcd0 29794 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
29795 }
29796 return resultobj;
29797 fail:
29798 return NULL;
29799}
29800
29801
c32bde28 29802static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29803 PyObject *resultobj;
29804 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29805 wxTreeItemId *arg2 = 0 ;
29806 wxTreeItemId result;
29807 PyObject * obj0 = 0 ;
29808 PyObject * obj1 = 0 ;
29809 char *kwnames[] = {
29810 (char *) "self",(char *) "item", NULL
29811 };
29812
29813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29814 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29815 if (SWIG_arg_fail(1)) SWIG_fail;
29816 {
29817 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29818 if (SWIG_arg_fail(2)) SWIG_fail;
29819 if (arg2 == NULL) {
29820 SWIG_null_ref("wxTreeItemId");
29821 }
29822 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
29823 }
29824 {
29825 PyThreadState* __tstate = wxPyBeginAllowThreads();
29826 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
29827
29828 wxPyEndAllowThreads(__tstate);
29829 if (PyErr_Occurred()) SWIG_fail;
29830 }
29831 {
29832 wxTreeItemId * resultptr;
093d3ff1 29833 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
15afbcd0 29834 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
29835 }
29836 return resultobj;
29837 fail:
29838 return NULL;
29839}
29840
29841
c32bde28 29842static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29843 PyObject *resultobj;
29844 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29845 wxTreeItemId *arg2 = 0 ;
29846 wxTreeItemId result;
29847 PyObject * obj0 = 0 ;
29848 PyObject * obj1 = 0 ;
29849 char *kwnames[] = {
29850 (char *) "self",(char *) "item", NULL
29851 };
29852
29853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29854 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29855 if (SWIG_arg_fail(1)) SWIG_fail;
29856 {
29857 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29858 if (SWIG_arg_fail(2)) SWIG_fail;
29859 if (arg2 == NULL) {
29860 SWIG_null_ref("wxTreeItemId");
29861 }
29862 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
29863 }
29864 {
29865 PyThreadState* __tstate = wxPyBeginAllowThreads();
29866 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
29867
29868 wxPyEndAllowThreads(__tstate);
29869 if (PyErr_Occurred()) SWIG_fail;
29870 }
29871 {
29872 wxTreeItemId * resultptr;
093d3ff1 29873 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
15afbcd0 29874 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
29875 }
29876 return resultobj;
29877 fail:
29878 return NULL;
29879}
29880
29881
c32bde28 29882static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29883 PyObject *resultobj;
29884 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29885 wxString *arg2 = 0 ;
29886 int arg3 = (int) -1 ;
29887 int arg4 = (int) -1 ;
29888 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
29889 wxTreeItemId result;
ae8162c8 29890 bool temp2 = false ;
d14a1e28
RD
29891 PyObject * obj0 = 0 ;
29892 PyObject * obj1 = 0 ;
994141e6
RD
29893 PyObject * obj2 = 0 ;
29894 PyObject * obj3 = 0 ;
d14a1e28
RD
29895 PyObject * obj4 = 0 ;
29896 char *kwnames[] = {
29897 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29898 };
29899
994141e6 29900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
29901 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29902 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
29903 {
29904 arg2 = wxString_in_helper(obj1);
29905 if (arg2 == NULL) SWIG_fail;
ae8162c8 29906 temp2 = true;
d14a1e28 29907 }
994141e6 29908 if (obj2) {
093d3ff1
RD
29909 {
29910 arg3 = (int)(SWIG_As_int(obj2));
29911 if (SWIG_arg_fail(3)) SWIG_fail;
29912 }
994141e6
RD
29913 }
29914 if (obj3) {
093d3ff1
RD
29915 {
29916 arg4 = (int)(SWIG_As_int(obj3));
29917 if (SWIG_arg_fail(4)) SWIG_fail;
29918 }
994141e6 29919 }
d14a1e28 29920 if (obj4) {
093d3ff1
RD
29921 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
29922 if (SWIG_arg_fail(5)) SWIG_fail;
d14a1e28
RD
29923 }
29924 {
29925 PyThreadState* __tstate = wxPyBeginAllowThreads();
29926 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
29927
29928 wxPyEndAllowThreads(__tstate);
29929 if (PyErr_Occurred()) SWIG_fail;
29930 }
29931 {
29932 wxTreeItemId * resultptr;
093d3ff1 29933 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
15afbcd0 29934 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
29935 }
29936 {
29937 if (temp2)
29938 delete arg2;
29939 }
29940 return resultobj;
29941 fail:
29942 {
29943 if (temp2)
29944 delete arg2;
29945 }
29946 return NULL;
29947}
29948
29949
c32bde28 29950static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29951 PyObject *resultobj;
29952 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29953 wxTreeItemId *arg2 = 0 ;
29954 wxString *arg3 = 0 ;
29955 int arg4 = (int) -1 ;
29956 int arg5 = (int) -1 ;
29957 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
29958 wxTreeItemId result;
ae8162c8 29959 bool temp3 = false ;
d14a1e28
RD
29960 PyObject * obj0 = 0 ;
29961 PyObject * obj1 = 0 ;
29962 PyObject * obj2 = 0 ;
994141e6
RD
29963 PyObject * obj3 = 0 ;
29964 PyObject * obj4 = 0 ;
d14a1e28
RD
29965 PyObject * obj5 = 0 ;
29966 char *kwnames[] = {
29967 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29968 };
29969
994141e6 29970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
29971 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29972 if (SWIG_arg_fail(1)) SWIG_fail;
29973 {
29974 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29975 if (SWIG_arg_fail(2)) SWIG_fail;
29976 if (arg2 == NULL) {
29977 SWIG_null_ref("wxTreeItemId");
29978 }
29979 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
29980 }
29981 {
29982 arg3 = wxString_in_helper(obj2);
29983 if (arg3 == NULL) SWIG_fail;
ae8162c8 29984 temp3 = true;
d14a1e28 29985 }
994141e6 29986 if (obj3) {
093d3ff1
RD
29987 {
29988 arg4 = (int)(SWIG_As_int(obj3));
29989 if (SWIG_arg_fail(4)) SWIG_fail;
29990 }
994141e6
RD
29991 }
29992 if (obj4) {
093d3ff1
RD
29993 {
29994 arg5 = (int)(SWIG_As_int(obj4));
29995 if (SWIG_arg_fail(5)) SWIG_fail;
29996 }
994141e6 29997 }
d14a1e28 29998 if (obj5) {
093d3ff1
RD
29999 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
30000 if (SWIG_arg_fail(6)) SWIG_fail;
d14a1e28
RD
30001 }
30002 {
30003 PyThreadState* __tstate = wxPyBeginAllowThreads();
30004 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
30005
30006 wxPyEndAllowThreads(__tstate);
30007 if (PyErr_Occurred()) SWIG_fail;
30008 }
30009 {
30010 wxTreeItemId * resultptr;
093d3ff1 30011 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
15afbcd0 30012 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
30013 }
30014 {
30015 if (temp3)
30016 delete arg3;
30017 }
30018 return resultobj;
30019 fail:
30020 {
30021 if (temp3)
30022 delete arg3;
30023 }
30024 return NULL;
30025}
30026
30027
c32bde28 30028static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30029 PyObject *resultobj;
30030 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30031 wxTreeItemId *arg2 = 0 ;
30032 wxTreeItemId *arg3 = 0 ;
30033 wxString *arg4 = 0 ;
30034 int arg5 = (int) -1 ;
30035 int arg6 = (int) -1 ;
30036 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
30037 wxTreeItemId result;
ae8162c8 30038 bool temp4 = false ;
d14a1e28
RD
30039 PyObject * obj0 = 0 ;
30040 PyObject * obj1 = 0 ;
30041 PyObject * obj2 = 0 ;
30042 PyObject * obj3 = 0 ;
994141e6
RD
30043 PyObject * obj4 = 0 ;
30044 PyObject * obj5 = 0 ;
d14a1e28
RD
30045 PyObject * obj6 = 0 ;
30046 char *kwnames[] = {
30047 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30048 };
30049
994141e6 30050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
30051 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30052 if (SWIG_arg_fail(1)) SWIG_fail;
30053 {
30054 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30055 if (SWIG_arg_fail(2)) SWIG_fail;
30056 if (arg2 == NULL) {
30057 SWIG_null_ref("wxTreeItemId");
30058 }
30059 if (SWIG_arg_fail(2)) SWIG_fail;
30060 }
30061 {
30062 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30063 if (SWIG_arg_fail(3)) SWIG_fail;
30064 if (arg3 == NULL) {
30065 SWIG_null_ref("wxTreeItemId");
30066 }
30067 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
30068 }
30069 {
30070 arg4 = wxString_in_helper(obj3);
30071 if (arg4 == NULL) SWIG_fail;
ae8162c8 30072 temp4 = true;
d14a1e28 30073 }
994141e6 30074 if (obj4) {
093d3ff1
RD
30075 {
30076 arg5 = (int)(SWIG_As_int(obj4));
30077 if (SWIG_arg_fail(5)) SWIG_fail;
30078 }
994141e6
RD
30079 }
30080 if (obj5) {
093d3ff1
RD
30081 {
30082 arg6 = (int)(SWIG_As_int(obj5));
30083 if (SWIG_arg_fail(6)) SWIG_fail;
30084 }
994141e6 30085 }
d14a1e28 30086 if (obj6) {
093d3ff1
RD
30087 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
30088 if (SWIG_arg_fail(7)) SWIG_fail;
d14a1e28
RD
30089 }
30090 {
30091 PyThreadState* __tstate = wxPyBeginAllowThreads();
30092 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
30093
30094 wxPyEndAllowThreads(__tstate);
30095 if (PyErr_Occurred()) SWIG_fail;
30096 }
30097 {
30098 wxTreeItemId * resultptr;
093d3ff1 30099 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
15afbcd0 30100 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
30101 }
30102 {
30103 if (temp4)
30104 delete arg4;
30105 }
30106 return resultobj;
30107 fail:
30108 {
30109 if (temp4)
30110 delete arg4;
30111 }
30112 return NULL;
30113}
30114
30115
c32bde28 30116static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30117 PyObject *resultobj;
30118 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30119 wxTreeItemId *arg2 = 0 ;
30120 size_t arg3 ;
30121 wxString *arg4 = 0 ;
30122 int arg5 = (int) -1 ;
30123 int arg6 = (int) -1 ;
30124 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
30125 wxTreeItemId result;
ae8162c8 30126 bool temp4 = false ;
d14a1e28
RD
30127 PyObject * obj0 = 0 ;
30128 PyObject * obj1 = 0 ;
30129 PyObject * obj2 = 0 ;
30130 PyObject * obj3 = 0 ;
994141e6
RD
30131 PyObject * obj4 = 0 ;
30132 PyObject * obj5 = 0 ;
d14a1e28
RD
30133 PyObject * obj6 = 0 ;
30134 char *kwnames[] = {
30135 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30136 };
30137
994141e6 30138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
30139 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30140 if (SWIG_arg_fail(1)) SWIG_fail;
30141 {
30142 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30143 if (SWIG_arg_fail(2)) SWIG_fail;
30144 if (arg2 == NULL) {
30145 SWIG_null_ref("wxTreeItemId");
30146 }
30147 if (SWIG_arg_fail(2)) SWIG_fail;
30148 }
30149 {
30150 arg3 = (size_t)(SWIG_As_unsigned_SS_long(obj2));
30151 if (SWIG_arg_fail(3)) SWIG_fail;
30152 }
d14a1e28
RD
30153 {
30154 arg4 = wxString_in_helper(obj3);
30155 if (arg4 == NULL) SWIG_fail;
ae8162c8 30156 temp4 = true;
d14a1e28 30157 }
994141e6 30158 if (obj4) {
093d3ff1
RD
30159 {
30160 arg5 = (int)(SWIG_As_int(obj4));
30161 if (SWIG_arg_fail(5)) SWIG_fail;
30162 }
994141e6
RD
30163 }
30164 if (obj5) {
093d3ff1
RD
30165 {
30166 arg6 = (int)(SWIG_As_int(obj5));
30167 if (SWIG_arg_fail(6)) SWIG_fail;
30168 }
994141e6 30169 }
d14a1e28 30170 if (obj6) {
093d3ff1
RD
30171 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
30172 if (SWIG_arg_fail(7)) SWIG_fail;
d14a1e28
RD
30173 }
30174 {
30175 PyThreadState* __tstate = wxPyBeginAllowThreads();
30176 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
30177
30178 wxPyEndAllowThreads(__tstate);
30179 if (PyErr_Occurred()) SWIG_fail;
30180 }
30181 {
30182 wxTreeItemId * resultptr;
093d3ff1 30183 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
15afbcd0 30184 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
30185 }
30186 {
30187 if (temp4)
30188 delete arg4;
30189 }
30190 return resultobj;
30191 fail:
30192 {
30193 if (temp4)
30194 delete arg4;
30195 }
30196 return NULL;
30197}
30198
30199
c32bde28 30200static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30201 PyObject *resultobj;
30202 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30203 wxTreeItemId *arg2 = 0 ;
30204 wxString *arg3 = 0 ;
30205 int arg4 = (int) -1 ;
30206 int arg5 = (int) -1 ;
30207 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
30208 wxTreeItemId result;
ae8162c8 30209 bool temp3 = false ;
d14a1e28
RD
30210 PyObject * obj0 = 0 ;
30211 PyObject * obj1 = 0 ;
30212 PyObject * obj2 = 0 ;
994141e6
RD
30213 PyObject * obj3 = 0 ;
30214 PyObject * obj4 = 0 ;
d14a1e28
RD
30215 PyObject * obj5 = 0 ;
30216 char *kwnames[] = {
30217 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30218 };
30219
994141e6 30220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
30221 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30222 if (SWIG_arg_fail(1)) SWIG_fail;
30223 {
30224 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30225 if (SWIG_arg_fail(2)) SWIG_fail;
30226 if (arg2 == NULL) {
30227 SWIG_null_ref("wxTreeItemId");
30228 }
30229 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
30230 }
30231 {
30232 arg3 = wxString_in_helper(obj2);
30233 if (arg3 == NULL) SWIG_fail;
ae8162c8 30234 temp3 = true;
d14a1e28 30235 }
994141e6 30236 if (obj3) {
093d3ff1
RD
30237 {
30238 arg4 = (int)(SWIG_As_int(obj3));
30239 if (SWIG_arg_fail(4)) SWIG_fail;
30240 }
994141e6
RD
30241 }
30242 if (obj4) {
093d3ff1
RD
30243 {
30244 arg5 = (int)(SWIG_As_int(obj4));
30245 if (SWIG_arg_fail(5)) SWIG_fail;
30246 }
994141e6 30247 }
d14a1e28 30248 if (obj5) {
093d3ff1
RD
30249 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
30250 if (SWIG_arg_fail(6)) SWIG_fail;
d14a1e28
RD
30251 }
30252 {
30253 PyThreadState* __tstate = wxPyBeginAllowThreads();
30254 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
30255
30256 wxPyEndAllowThreads(__tstate);
30257 if (PyErr_Occurred()) SWIG_fail;
30258 }
30259 {
30260 wxTreeItemId * resultptr;
093d3ff1 30261 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
15afbcd0 30262 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
30263 }
30264 {
30265 if (temp3)
30266 delete arg3;
30267 }
30268 return resultobj;
30269 fail:
30270 {
30271 if (temp3)
30272 delete arg3;
30273 }
30274 return NULL;
30275}
30276
30277
c32bde28 30278static PyObject *_wrap_TreeCtrl_Delete(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30279 PyObject *resultobj;
30280 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30281 wxTreeItemId *arg2 = 0 ;
30282 PyObject * obj0 = 0 ;
30283 PyObject * obj1 = 0 ;
30284 char *kwnames[] = {
30285 (char *) "self",(char *) "item", NULL
30286 };
30287
30288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30289 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30290 if (SWIG_arg_fail(1)) SWIG_fail;
30291 {
30292 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30293 if (SWIG_arg_fail(2)) SWIG_fail;
30294 if (arg2 == NULL) {
30295 SWIG_null_ref("wxTreeItemId");
30296 }
30297 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
30298 }
30299 {
30300 PyThreadState* __tstate = wxPyBeginAllowThreads();
30301 (arg1)->Delete((wxTreeItemId const &)*arg2);
30302
30303 wxPyEndAllowThreads(__tstate);
30304 if (PyErr_Occurred()) SWIG_fail;
30305 }
30306 Py_INCREF(Py_None); resultobj = Py_None;
30307 return resultobj;
30308 fail:
30309 return NULL;
30310}
30311
30312
c32bde28 30313static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30314 PyObject *resultobj;
30315 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30316 wxTreeItemId *arg2 = 0 ;
30317 PyObject * obj0 = 0 ;
30318 PyObject * obj1 = 0 ;
30319 char *kwnames[] = {
30320 (char *) "self",(char *) "item", NULL
30321 };
30322
30323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30324 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30325 if (SWIG_arg_fail(1)) SWIG_fail;
30326 {
30327 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30328 if (SWIG_arg_fail(2)) SWIG_fail;
30329 if (arg2 == NULL) {
30330 SWIG_null_ref("wxTreeItemId");
30331 }
30332 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
30333 }
30334 {
30335 PyThreadState* __tstate = wxPyBeginAllowThreads();
30336 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
30337
30338 wxPyEndAllowThreads(__tstate);
30339 if (PyErr_Occurred()) SWIG_fail;
30340 }
30341 Py_INCREF(Py_None); resultobj = Py_None;
30342 return resultobj;
30343 fail:
30344 return NULL;
30345}
30346
30347
c32bde28 30348static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30349 PyObject *resultobj;
30350 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30351 PyObject * obj0 = 0 ;
30352 char *kwnames[] = {
30353 (char *) "self", NULL
30354 };
30355
30356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
093d3ff1
RD
30357 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30358 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
30359 {
30360 PyThreadState* __tstate = wxPyBeginAllowThreads();
30361 (arg1)->DeleteAllItems();
30362
30363 wxPyEndAllowThreads(__tstate);
30364 if (PyErr_Occurred()) SWIG_fail;
30365 }
30366 Py_INCREF(Py_None); resultobj = Py_None;
30367 return resultobj;
30368 fail:
30369 return NULL;
30370}
30371
30372
c32bde28 30373static PyObject *_wrap_TreeCtrl_Expand(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30374 PyObject *resultobj;
30375 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30376 wxTreeItemId *arg2 = 0 ;
30377 PyObject * obj0 = 0 ;
30378 PyObject * obj1 = 0 ;
30379 char *kwnames[] = {
30380 (char *) "self",(char *) "item", NULL
30381 };
30382
30383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30384 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30385 if (SWIG_arg_fail(1)) SWIG_fail;
30386 {
30387 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30388 if (SWIG_arg_fail(2)) SWIG_fail;
30389 if (arg2 == NULL) {
30390 SWIG_null_ref("wxTreeItemId");
30391 }
30392 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
30393 }
30394 {
30395 PyThreadState* __tstate = wxPyBeginAllowThreads();
30396 (arg1)->Expand((wxTreeItemId const &)*arg2);
30397
30398 wxPyEndAllowThreads(__tstate);
30399 if (PyErr_Occurred()) SWIG_fail;
30400 }
30401 Py_INCREF(Py_None); resultobj = Py_None;
30402 return resultobj;
30403 fail:
30404 return NULL;
30405}
30406
30407
c32bde28 30408static PyObject *_wrap_TreeCtrl_Collapse(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30409 PyObject *resultobj;
30410 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30411 wxTreeItemId *arg2 = 0 ;
30412 PyObject * obj0 = 0 ;
30413 PyObject * obj1 = 0 ;
30414 char *kwnames[] = {
30415 (char *) "self",(char *) "item", NULL
30416 };
30417
30418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30419 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30420 if (SWIG_arg_fail(1)) SWIG_fail;
30421 {
30422 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30423 if (SWIG_arg_fail(2)) SWIG_fail;
30424 if (arg2 == NULL) {
30425 SWIG_null_ref("wxTreeItemId");
30426 }
30427 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
30428 }
30429 {
30430 PyThreadState* __tstate = wxPyBeginAllowThreads();
30431 (arg1)->Collapse((wxTreeItemId const &)*arg2);
30432
30433 wxPyEndAllowThreads(__tstate);
30434 if (PyErr_Occurred()) SWIG_fail;
30435 }
30436 Py_INCREF(Py_None); resultobj = Py_None;
30437 return resultobj;
30438 fail:
30439 return NULL;
30440}
30441
30442
c32bde28 30443static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30444 PyObject *resultobj;
30445 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30446 wxTreeItemId *arg2 = 0 ;
30447 PyObject * obj0 = 0 ;
30448 PyObject * obj1 = 0 ;
30449 char *kwnames[] = {
30450 (char *) "self",(char *) "item", NULL
30451 };
30452
30453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30454 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30455 if (SWIG_arg_fail(1)) SWIG_fail;
30456 {
30457 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30458 if (SWIG_arg_fail(2)) SWIG_fail;
30459 if (arg2 == NULL) {
30460 SWIG_null_ref("wxTreeItemId");
30461 }
30462 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
30463 }
30464 {
30465 PyThreadState* __tstate = wxPyBeginAllowThreads();
30466 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
30467
30468 wxPyEndAllowThreads(__tstate);
30469 if (PyErr_Occurred()) SWIG_fail;
30470 }
30471 Py_INCREF(Py_None); resultobj = Py_None;
30472 return resultobj;
30473 fail:
30474 return NULL;
30475}
30476
30477
c32bde28 30478static PyObject *_wrap_TreeCtrl_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30479 PyObject *resultobj;
30480 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30481 wxTreeItemId *arg2 = 0 ;
30482 PyObject * obj0 = 0 ;
30483 PyObject * obj1 = 0 ;
30484 char *kwnames[] = {
30485 (char *) "self",(char *) "item", NULL
30486 };
30487
30488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30489 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30490 if (SWIG_arg_fail(1)) SWIG_fail;
30491 {
30492 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30493 if (SWIG_arg_fail(2)) SWIG_fail;
30494 if (arg2 == NULL) {
30495 SWIG_null_ref("wxTreeItemId");
30496 }
30497 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
30498 }
30499 {
30500 PyThreadState* __tstate = wxPyBeginAllowThreads();
30501 (arg1)->Toggle((wxTreeItemId const &)*arg2);
30502
30503 wxPyEndAllowThreads(__tstate);
30504 if (PyErr_Occurred()) SWIG_fail;
30505 }
30506 Py_INCREF(Py_None); resultobj = Py_None;
30507 return resultobj;
30508 fail:
30509 return NULL;
30510}
30511
30512
c32bde28 30513static PyObject *_wrap_TreeCtrl_Unselect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30514 PyObject *resultobj;
30515 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30516 PyObject * obj0 = 0 ;
30517 char *kwnames[] = {
30518 (char *) "self", NULL
30519 };
30520
30521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
093d3ff1
RD
30522 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30523 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
30524 {
30525 PyThreadState* __tstate = wxPyBeginAllowThreads();
30526 (arg1)->Unselect();
30527
30528 wxPyEndAllowThreads(__tstate);
30529 if (PyErr_Occurred()) SWIG_fail;
30530 }
30531 Py_INCREF(Py_None); resultobj = Py_None;
30532 return resultobj;
30533 fail:
30534 return NULL;
30535}
30536
30537
c32bde28 30538static PyObject *_wrap_TreeCtrl_UnselectItem(PyObject *, PyObject *args, PyObject *kwargs) {
3adfb63b
RD
30539 PyObject *resultobj;
30540 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30541 wxTreeItemId *arg2 = 0 ;
30542 PyObject * obj0 = 0 ;
30543 PyObject * obj1 = 0 ;
30544 char *kwnames[] = {
30545 (char *) "self",(char *) "item", NULL
30546 };
30547
30548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_UnselectItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30549 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30550 if (SWIG_arg_fail(1)) SWIG_fail;
30551 {
30552 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30553 if (SWIG_arg_fail(2)) SWIG_fail;
30554 if (arg2 == NULL) {
30555 SWIG_null_ref("wxTreeItemId");
30556 }
30557 if (SWIG_arg_fail(2)) SWIG_fail;
3adfb63b
RD
30558 }
30559 {
30560 PyThreadState* __tstate = wxPyBeginAllowThreads();
30561 (arg1)->UnselectItem((wxTreeItemId const &)*arg2);
30562
30563 wxPyEndAllowThreads(__tstate);
30564 if (PyErr_Occurred()) SWIG_fail;
30565 }
30566 Py_INCREF(Py_None); resultobj = Py_None;
30567 return resultobj;
30568 fail:
30569 return NULL;
30570}
30571
30572
c32bde28 30573static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30574 PyObject *resultobj;
30575 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30576 PyObject * obj0 = 0 ;
30577 char *kwnames[] = {
30578 (char *) "self", NULL
30579 };
30580
30581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_UnselectAll",kwnames,&obj0)) goto fail;
093d3ff1
RD
30582 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30583 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
30584 {
30585 PyThreadState* __tstate = wxPyBeginAllowThreads();
30586 (arg1)->UnselectAll();
30587
30588 wxPyEndAllowThreads(__tstate);
30589 if (PyErr_Occurred()) SWIG_fail;
30590 }
30591 Py_INCREF(Py_None); resultobj = Py_None;
30592 return resultobj;
30593 fail:
30594 return NULL;
30595}
30596
30597
c32bde28 30598static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *, PyObject *args, PyObject *kwargs) {
3adfb63b
RD
30599 PyObject *resultobj;
30600 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30601 wxTreeItemId *arg2 = 0 ;
ae8162c8 30602 bool arg3 = (bool) true ;
3adfb63b
RD
30603 PyObject * obj0 = 0 ;
30604 PyObject * obj1 = 0 ;
30605 PyObject * obj2 = 0 ;
30606 char *kwnames[] = {
30607 (char *) "self",(char *) "item",(char *) "select", NULL
30608 };
30609
30610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
30611 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30612 if (SWIG_arg_fail(1)) SWIG_fail;
30613 {
30614 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30615 if (SWIG_arg_fail(2)) SWIG_fail;
30616 if (arg2 == NULL) {
30617 SWIG_null_ref("wxTreeItemId");
30618 }
30619 if (SWIG_arg_fail(2)) SWIG_fail;
3adfb63b
RD
30620 }
30621 if (obj2) {
093d3ff1
RD
30622 {
30623 arg3 = (bool)(SWIG_As_bool(obj2));
30624 if (SWIG_arg_fail(3)) SWIG_fail;
30625 }
3adfb63b
RD
30626 }
30627 {
30628 PyThreadState* __tstate = wxPyBeginAllowThreads();
30629 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3);
30630
30631 wxPyEndAllowThreads(__tstate);
30632 if (PyErr_Occurred()) SWIG_fail;
30633 }
30634 Py_INCREF(Py_None); resultobj = Py_None;
30635 return resultobj;
30636 fail:
30637 return NULL;
30638}
30639
30640
c32bde28 30641static PyObject *_wrap_TreeCtrl_ToggleItemSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30642 PyObject *resultobj;
30643 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30644 wxTreeItemId *arg2 = 0 ;
30645 PyObject * obj0 = 0 ;
30646 PyObject * obj1 = 0 ;
30647 char *kwnames[] = {
30648 (char *) "self",(char *) "item", NULL
30649 };
30650
3adfb63b 30651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30652 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30653 if (SWIG_arg_fail(1)) SWIG_fail;
30654 {
30655 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30656 if (SWIG_arg_fail(2)) SWIG_fail;
30657 if (arg2 == NULL) {
30658 SWIG_null_ref("wxTreeItemId");
30659 }
30660 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
30661 }
30662 {
30663 PyThreadState* __tstate = wxPyBeginAllowThreads();
3adfb63b 30664 (arg1)->ToggleItemSelection((wxTreeItemId const &)*arg2);
d14a1e28
RD
30665
30666 wxPyEndAllowThreads(__tstate);
30667 if (PyErr_Occurred()) SWIG_fail;
30668 }
30669 Py_INCREF(Py_None); resultobj = Py_None;
30670 return resultobj;
30671 fail:
30672 return NULL;
30673}
30674
30675
c32bde28 30676static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30677 PyObject *resultobj;
30678 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30679 wxTreeItemId *arg2 = 0 ;
30680 PyObject * obj0 = 0 ;
30681 PyObject * obj1 = 0 ;
30682 char *kwnames[] = {
30683 (char *) "self",(char *) "item", NULL
30684 };
30685
30686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30687 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30688 if (SWIG_arg_fail(1)) SWIG_fail;
30689 {
30690 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30691 if (SWIG_arg_fail(2)) SWIG_fail;
30692 if (arg2 == NULL) {
30693 SWIG_null_ref("wxTreeItemId");
30694 }
30695 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
30696 }
30697 {
30698 PyThreadState* __tstate = wxPyBeginAllowThreads();
30699 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
30700
30701 wxPyEndAllowThreads(__tstate);
30702 if (PyErr_Occurred()) SWIG_fail;
30703 }
30704 Py_INCREF(Py_None); resultobj = Py_None;
30705 return resultobj;
30706 fail:
30707 return NULL;
30708}
30709
30710
c32bde28 30711static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30712 PyObject *resultobj;
30713 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30714 wxTreeItemId *arg2 = 0 ;
30715 PyObject * obj0 = 0 ;
30716 PyObject * obj1 = 0 ;
30717 char *kwnames[] = {
30718 (char *) "self",(char *) "item", NULL
30719 };
30720
30721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30722 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30723 if (SWIG_arg_fail(1)) SWIG_fail;
30724 {
30725 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30726 if (SWIG_arg_fail(2)) SWIG_fail;
30727 if (arg2 == NULL) {
30728 SWIG_null_ref("wxTreeItemId");
30729 }
30730 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
30731 }
30732 {
30733 PyThreadState* __tstate = wxPyBeginAllowThreads();
30734 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
30735
30736 wxPyEndAllowThreads(__tstate);
30737 if (PyErr_Occurred()) SWIG_fail;
30738 }
30739 Py_INCREF(Py_None); resultobj = Py_None;
30740 return resultobj;
30741 fail:
30742 return NULL;
30743}
30744
30745
c32bde28 30746static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30747 PyObject *resultobj;
30748 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30749 wxTreeItemId *arg2 = 0 ;
30750 PyObject * obj0 = 0 ;
30751 PyObject * obj1 = 0 ;
30752 char *kwnames[] = {
30753 (char *) "self",(char *) "item", NULL
30754 };
30755
30756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30757 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30758 if (SWIG_arg_fail(1)) SWIG_fail;
30759 {
30760 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30761 if (SWIG_arg_fail(2)) SWIG_fail;
30762 if (arg2 == NULL) {
30763 SWIG_null_ref("wxTreeItemId");
30764 }
30765 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
30766 }
30767 {
30768 PyThreadState* __tstate = wxPyBeginAllowThreads();
30769 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
30770
30771 wxPyEndAllowThreads(__tstate);
30772 if (PyErr_Occurred()) SWIG_fail;
30773 }
30774 Py_INCREF(Py_None); resultobj = Py_None;
30775 return resultobj;
30776 fail:
30777 return NULL;
30778}
30779
30780
c32bde28 30781static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30782 PyObject *resultobj;
30783 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30784 wxTextCtrl *result;
30785 PyObject * obj0 = 0 ;
30786 char *kwnames[] = {
30787 (char *) "self", NULL
30788 };
30789
30790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
093d3ff1
RD
30791 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30792 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
30793 {
30794 PyThreadState* __tstate = wxPyBeginAllowThreads();
30795 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
30796
30797 wxPyEndAllowThreads(__tstate);
30798 if (PyErr_Occurred()) SWIG_fail;
30799 }
30800 {
412d302d 30801 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
30802 }
30803 return resultobj;
30804 fail:
30805 return NULL;
30806}
30807
30808
c32bde28 30809static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30810 PyObject *resultobj;
30811 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30812 wxTreeItemId *arg2 = 0 ;
30813 PyObject * obj0 = 0 ;
30814 PyObject * obj1 = 0 ;
30815 char *kwnames[] = {
30816 (char *) "self",(char *) "item", NULL
30817 };
30818
30819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30820 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30821 if (SWIG_arg_fail(1)) SWIG_fail;
30822 {
30823 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30824 if (SWIG_arg_fail(2)) SWIG_fail;
30825 if (arg2 == NULL) {
30826 SWIG_null_ref("wxTreeItemId");
30827 }
30828 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
30829 }
30830 {
30831 PyThreadState* __tstate = wxPyBeginAllowThreads();
30832 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
30833
30834 wxPyEndAllowThreads(__tstate);
30835 if (PyErr_Occurred()) SWIG_fail;
30836 }
30837 Py_INCREF(Py_None); resultobj = Py_None;
30838 return resultobj;
30839 fail:
30840 return NULL;
30841}
30842
30843
c32bde28 30844static PyObject *_wrap_TreeCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30845 PyObject *resultobj;
30846 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30847 wxPoint *arg2 = 0 ;
30848 int *arg3 = 0 ;
30849 wxTreeItemId result;
30850 wxPoint temp2 ;
30851 int temp3 ;
c32bde28 30852 int res3 = 0 ;
d14a1e28
RD
30853 PyObject * obj0 = 0 ;
30854 PyObject * obj1 = 0 ;
30855 char *kwnames[] = {
30856 (char *) "self",(char *) "point", NULL
30857 };
30858
c32bde28 30859 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 30860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30861 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30862 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
30863 {
30864 arg2 = &temp2;
30865 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
30866 }
30867 {
30868 PyThreadState* __tstate = wxPyBeginAllowThreads();
30869 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
30870
30871 wxPyEndAllowThreads(__tstate);
30872 if (PyErr_Occurred()) SWIG_fail;
30873 }
30874 {
30875 wxTreeItemId * resultptr;
093d3ff1 30876 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
15afbcd0 30877 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28 30878 }
c32bde28
RD
30879 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
30880 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
30881 return resultobj;
30882 fail:
30883 return NULL;
30884}
30885
30886
c32bde28 30887static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30888 PyObject *resultobj;
30889 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30890 wxTreeItemId *arg2 = 0 ;
ae8162c8 30891 bool arg3 = (bool) false ;
d14a1e28
RD
30892 PyObject *result;
30893 PyObject * obj0 = 0 ;
30894 PyObject * obj1 = 0 ;
30895 PyObject * obj2 = 0 ;
30896 char *kwnames[] = {
30897 (char *) "self",(char *) "item",(char *) "textOnly", NULL
30898 };
30899
30900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
30901 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30902 if (SWIG_arg_fail(1)) SWIG_fail;
30903 {
30904 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30905 if (SWIG_arg_fail(2)) SWIG_fail;
30906 if (arg2 == NULL) {
30907 SWIG_null_ref("wxTreeItemId");
30908 }
30909 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
30910 }
30911 if (obj2) {
093d3ff1
RD
30912 {
30913 arg3 = (bool)(SWIG_As_bool(obj2));
30914 if (SWIG_arg_fail(3)) SWIG_fail;
30915 }
d14a1e28
RD
30916 }
30917 {
30918 PyThreadState* __tstate = wxPyBeginAllowThreads();
30919 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
30920
30921 wxPyEndAllowThreads(__tstate);
30922 if (PyErr_Occurred()) SWIG_fail;
30923 }
30924 resultobj = result;
30925 return resultobj;
30926 fail:
30927 return NULL;
30928}
30929
30930
c32bde28 30931static PyObject *_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
74a57fcd 30932 PyObject *resultobj;
093d3ff1 30933 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
74a57fcd
RD
30934 wxVisualAttributes result;
30935 PyObject * obj0 = 0 ;
30936 char *kwnames[] = {
30937 (char *) "variant", NULL
30938 };
30939
30940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
30941 if (obj0) {
093d3ff1
RD
30942 {
30943 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
30944 if (SWIG_arg_fail(1)) SWIG_fail;
30945 }
74a57fcd
RD
30946 }
30947 {
110da5b0 30948 if (!wxPyCheckForApp()) SWIG_fail;
74a57fcd
RD
30949 PyThreadState* __tstate = wxPyBeginAllowThreads();
30950 result = wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
30951
30952 wxPyEndAllowThreads(__tstate);
dfbb5885 30953 if (PyErr_Occurred()) SWIG_fail;
74a57fcd
RD
30954 }
30955 {
30956 wxVisualAttributes * resultptr;
093d3ff1 30957 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
74a57fcd
RD
30958 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
30959 }
30960 return resultobj;
30961 fail:
30962 return NULL;
30963}
30964
30965
c32bde28 30966static PyObject * TreeCtrl_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
30967 PyObject *obj;
30968 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30969 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
30970 Py_INCREF(obj);
30971 return Py_BuildValue((char *)"");
30972}
c32bde28 30973static int _wrap_DirDialogDefaultFolderStr_set(PyObject *) {
b2dc1044
RD
30974 PyErr_SetString(PyExc_TypeError,"Variable DirDialogDefaultFolderStr is read-only.");
30975 return 1;
30976}
30977
30978
093d3ff1 30979static PyObject *_wrap_DirDialogDefaultFolderStr_get(void) {
b2dc1044
RD
30980 PyObject *pyobj;
30981
30982 {
30983#if wxUSE_UNICODE
30984 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
30985#else
30986 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
30987#endif
30988 }
30989 return pyobj;
30990}
30991
30992
c32bde28 30993static PyObject *_wrap_new_GenericDirCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30994 PyObject *resultobj;
30995 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 30996 int arg2 = (int) (int)-1 ;
d14a1e28
RD
30997 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
30998 wxString *arg3 = (wxString *) &arg3_defvalue ;
30999 wxPoint const &arg4_defvalue = wxDefaultPosition ;
31000 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
31001 wxSize const &arg5_defvalue = wxDefaultSize ;
31002 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
31003 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
31004 wxString const &arg7_defvalue = wxPyEmptyString ;
31005 wxString *arg7 = (wxString *) &arg7_defvalue ;
31006 int arg8 = (int) 0 ;
b2dc1044 31007 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
d14a1e28
RD
31008 wxString *arg9 = (wxString *) &arg9_defvalue ;
31009 wxGenericDirCtrl *result;
ae8162c8 31010 bool temp3 = false ;
d14a1e28
RD
31011 wxPoint temp4 ;
31012 wxSize temp5 ;
ae8162c8
RD
31013 bool temp7 = false ;
31014 bool temp9 = false ;
d14a1e28 31015 PyObject * obj0 = 0 ;
994141e6 31016 PyObject * obj1 = 0 ;
d14a1e28
RD
31017 PyObject * obj2 = 0 ;
31018 PyObject * obj3 = 0 ;
31019 PyObject * obj4 = 0 ;
994141e6 31020 PyObject * obj5 = 0 ;
d14a1e28 31021 PyObject * obj6 = 0 ;
994141e6 31022 PyObject * obj7 = 0 ;
d14a1e28
RD
31023 PyObject * obj8 = 0 ;
31024 char *kwnames[] = {
31025 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
31026 };
31027
994141e6 31028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
31029 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31030 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 31031 if (obj1) {
093d3ff1
RD
31032 {
31033 arg2 = (int const)(SWIG_As_int(obj1));
31034 if (SWIG_arg_fail(2)) SWIG_fail;
31035 }
994141e6 31036 }
d14a1e28
RD
31037 if (obj2) {
31038 {
31039 arg3 = wxString_in_helper(obj2);
31040 if (arg3 == NULL) SWIG_fail;
ae8162c8 31041 temp3 = true;
d14a1e28
RD
31042 }
31043 }
31044 if (obj3) {
31045 {
31046 arg4 = &temp4;
31047 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
31048 }
31049 }
31050 if (obj4) {
31051 {
31052 arg5 = &temp5;
31053 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
31054 }
31055 }
994141e6 31056 if (obj5) {
093d3ff1
RD
31057 {
31058 arg6 = (long)(SWIG_As_long(obj5));
31059 if (SWIG_arg_fail(6)) SWIG_fail;
31060 }
994141e6 31061 }
d14a1e28
RD
31062 if (obj6) {
31063 {
31064 arg7 = wxString_in_helper(obj6);
31065 if (arg7 == NULL) SWIG_fail;
ae8162c8 31066 temp7 = true;
d14a1e28
RD
31067 }
31068 }
994141e6 31069 if (obj7) {
093d3ff1
RD
31070 {
31071 arg8 = (int)(SWIG_As_int(obj7));
31072 if (SWIG_arg_fail(8)) SWIG_fail;
31073 }
994141e6 31074 }
d14a1e28
RD
31075 if (obj8) {
31076 {
31077 arg9 = wxString_in_helper(obj8);
31078 if (arg9 == NULL) SWIG_fail;
ae8162c8 31079 temp9 = true;
d14a1e28
RD
31080 }
31081 }
31082 {
e3b71cb8 31083 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
31084 PyThreadState* __tstate = wxPyBeginAllowThreads();
31085 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
31086
31087 wxPyEndAllowThreads(__tstate);
110da5b0 31088 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 31089 }
15afbcd0 31090 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
d14a1e28
RD
31091 {
31092 if (temp3)
31093 delete arg3;
31094 }
31095 {
31096 if (temp7)
31097 delete arg7;
31098 }
31099 {
31100 if (temp9)
31101 delete arg9;
31102 }
31103 return resultobj;
31104 fail:
31105 {
31106 if (temp3)
31107 delete arg3;
31108 }
31109 {
31110 if (temp7)
31111 delete arg7;
31112 }
31113 {
31114 if (temp9)
31115 delete arg9;
31116 }
31117 return NULL;
31118}
31119
31120
c32bde28 31121static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31122 PyObject *resultobj;
31123 wxGenericDirCtrl *result;
31124 char *kwnames[] = {
31125 NULL
31126 };
31127
31128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
31129 {
e3b71cb8 31130 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
31131 PyThreadState* __tstate = wxPyBeginAllowThreads();
31132 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
31133
31134 wxPyEndAllowThreads(__tstate);
110da5b0 31135 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 31136 }
15afbcd0 31137 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
d14a1e28
RD
31138 return resultobj;
31139 fail:
31140 return NULL;
31141}
31142
31143
c32bde28 31144static PyObject *_wrap_GenericDirCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31145 PyObject *resultobj;
31146 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31147 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 31148 int arg3 = (int) (int)-1 ;
d14a1e28
RD
31149 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
31150 wxString *arg4 = (wxString *) &arg4_defvalue ;
31151 wxPoint const &arg5_defvalue = wxDefaultPosition ;
31152 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
31153 wxSize const &arg6_defvalue = wxDefaultSize ;
31154 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
31155 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
31156 wxString const &arg8_defvalue = wxPyEmptyString ;
31157 wxString *arg8 = (wxString *) &arg8_defvalue ;
31158 int arg9 = (int) 0 ;
b2dc1044 31159 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
d14a1e28
RD
31160 wxString *arg10 = (wxString *) &arg10_defvalue ;
31161 bool result;
ae8162c8 31162 bool temp4 = false ;
d14a1e28
RD
31163 wxPoint temp5 ;
31164 wxSize temp6 ;
ae8162c8
RD
31165 bool temp8 = false ;
31166 bool temp10 = false ;
d14a1e28
RD
31167 PyObject * obj0 = 0 ;
31168 PyObject * obj1 = 0 ;
994141e6 31169 PyObject * obj2 = 0 ;
d14a1e28
RD
31170 PyObject * obj3 = 0 ;
31171 PyObject * obj4 = 0 ;
31172 PyObject * obj5 = 0 ;
994141e6 31173 PyObject * obj6 = 0 ;
d14a1e28 31174 PyObject * obj7 = 0 ;
994141e6 31175 PyObject * obj8 = 0 ;
d14a1e28
RD
31176 PyObject * obj9 = 0 ;
31177 char *kwnames[] = {
31178 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
31179 };
31180
994141e6 31181 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
31182 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31183 if (SWIG_arg_fail(1)) SWIG_fail;
31184 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31185 if (SWIG_arg_fail(2)) SWIG_fail;
994141e6 31186 if (obj2) {
093d3ff1
RD
31187 {
31188 arg3 = (int const)(SWIG_As_int(obj2));
31189 if (SWIG_arg_fail(3)) SWIG_fail;
31190 }
994141e6 31191 }
d14a1e28
RD
31192 if (obj3) {
31193 {
31194 arg4 = wxString_in_helper(obj3);
31195 if (arg4 == NULL) SWIG_fail;
ae8162c8 31196 temp4 = true;
d14a1e28
RD
31197 }
31198 }
31199 if (obj4) {
31200 {
31201 arg5 = &temp5;
31202 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
31203 }
31204 }
31205 if (obj5) {
31206 {
31207 arg6 = &temp6;
31208 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
31209 }
31210 }
994141e6 31211 if (obj6) {
093d3ff1
RD
31212 {
31213 arg7 = (long)(SWIG_As_long(obj6));
31214 if (SWIG_arg_fail(7)) SWIG_fail;
31215 }
994141e6 31216 }
d14a1e28
RD
31217 if (obj7) {
31218 {
31219 arg8 = wxString_in_helper(obj7);
31220 if (arg8 == NULL) SWIG_fail;
ae8162c8 31221 temp8 = true;
d14a1e28
RD
31222 }
31223 }
994141e6 31224 if (obj8) {
093d3ff1
RD
31225 {
31226 arg9 = (int)(SWIG_As_int(obj8));
31227 if (SWIG_arg_fail(9)) SWIG_fail;
31228 }
994141e6 31229 }
d14a1e28
RD
31230 if (obj9) {
31231 {
31232 arg10 = wxString_in_helper(obj9);
31233 if (arg10 == NULL) SWIG_fail;
ae8162c8 31234 temp10 = true;
d14a1e28
RD
31235 }
31236 }
31237 {
31238 PyThreadState* __tstate = wxPyBeginAllowThreads();
31239 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
31240
31241 wxPyEndAllowThreads(__tstate);
31242 if (PyErr_Occurred()) SWIG_fail;
31243 }
4f89f6a3
RD
31244 {
31245 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31246 }
d14a1e28
RD
31247 {
31248 if (temp4)
31249 delete arg4;
31250 }
31251 {
31252 if (temp8)
31253 delete arg8;
31254 }
31255 {
31256 if (temp10)
31257 delete arg10;
31258 }
31259 return resultobj;
31260 fail:
31261 {
31262 if (temp4)
31263 delete arg4;
31264 }
31265 {
31266 if (temp8)
31267 delete arg8;
31268 }
31269 {
31270 if (temp10)
31271 delete arg10;
31272 }
31273 return NULL;
31274}
31275
31276
c32bde28 31277static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31278 PyObject *resultobj;
31279 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31280 wxString *arg2 = 0 ;
31281 bool result;
ae8162c8 31282 bool temp2 = false ;
d14a1e28
RD
31283 PyObject * obj0 = 0 ;
31284 PyObject * obj1 = 0 ;
31285 char *kwnames[] = {
31286 (char *) "self",(char *) "path", NULL
31287 };
31288
31289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31290 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31291 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
31292 {
31293 arg2 = wxString_in_helper(obj1);
31294 if (arg2 == NULL) SWIG_fail;
ae8162c8 31295 temp2 = true;
d14a1e28
RD
31296 }
31297 {
31298 PyThreadState* __tstate = wxPyBeginAllowThreads();
31299 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
31300
31301 wxPyEndAllowThreads(__tstate);
31302 if (PyErr_Occurred()) SWIG_fail;
31303 }
4f89f6a3
RD
31304 {
31305 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31306 }
d14a1e28
RD
31307 {
31308 if (temp2)
31309 delete arg2;
31310 }
31311 return resultobj;
31312 fail:
31313 {
31314 if (temp2)
31315 delete arg2;
31316 }
31317 return NULL;
31318}
31319
31320
c32bde28 31321static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31322 PyObject *resultobj;
31323 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31324 wxString result;
31325 PyObject * obj0 = 0 ;
31326 char *kwnames[] = {
31327 (char *) "self", NULL
31328 };
31329
31330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames,&obj0)) goto fail;
093d3ff1
RD
31331 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31332 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
31333 {
31334 PyThreadState* __tstate = wxPyBeginAllowThreads();
31335 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
31336
31337 wxPyEndAllowThreads(__tstate);
31338 if (PyErr_Occurred()) SWIG_fail;
31339 }
31340 {
31341#if wxUSE_UNICODE
31342 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31343#else
31344 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31345#endif
31346 }
31347 return resultobj;
31348 fail:
31349 return NULL;
31350}
31351
31352
c32bde28 31353static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31354 PyObject *resultobj;
31355 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31356 wxString *arg2 = 0 ;
ae8162c8 31357 bool temp2 = false ;
d14a1e28
RD
31358 PyObject * obj0 = 0 ;
31359 PyObject * obj1 = 0 ;
31360 char *kwnames[] = {
31361 (char *) "self",(char *) "path", NULL
31362 };
31363
31364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31365 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31366 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
31367 {
31368 arg2 = wxString_in_helper(obj1);
31369 if (arg2 == NULL) SWIG_fail;
ae8162c8 31370 temp2 = true;
d14a1e28
RD
31371 }
31372 {
31373 PyThreadState* __tstate = wxPyBeginAllowThreads();
31374 (arg1)->SetDefaultPath((wxString const &)*arg2);
31375
31376 wxPyEndAllowThreads(__tstate);
31377 if (PyErr_Occurred()) SWIG_fail;
31378 }
31379 Py_INCREF(Py_None); resultobj = Py_None;
31380 {
31381 if (temp2)
31382 delete arg2;
31383 }
31384 return resultobj;
31385 fail:
31386 {
31387 if (temp2)
31388 delete arg2;
31389 }
31390 return NULL;
31391}
31392
31393
c32bde28 31394static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31395 PyObject *resultobj;
31396 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31397 wxString result;
31398 PyObject * obj0 = 0 ;
31399 char *kwnames[] = {
31400 (char *) "self", NULL
31401 };
31402
31403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
093d3ff1
RD
31404 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31405 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
31406 {
31407 PyThreadState* __tstate = wxPyBeginAllowThreads();
31408 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
31409
31410 wxPyEndAllowThreads(__tstate);
31411 if (PyErr_Occurred()) SWIG_fail;
31412 }
31413 {
31414#if wxUSE_UNICODE
31415 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31416#else
31417 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31418#endif
31419 }
31420 return resultobj;
31421 fail:
31422 return NULL;
31423}
31424
31425
c32bde28 31426static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31427 PyObject *resultobj;
31428 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31429 wxString result;
31430 PyObject * obj0 = 0 ;
31431 char *kwnames[] = {
31432 (char *) "self", NULL
31433 };
31434
31435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
093d3ff1
RD
31436 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31437 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
31438 {
31439 PyThreadState* __tstate = wxPyBeginAllowThreads();
31440 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
31441
31442 wxPyEndAllowThreads(__tstate);
31443 if (PyErr_Occurred()) SWIG_fail;
31444 }
31445 {
31446#if wxUSE_UNICODE
31447 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31448#else
31449 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31450#endif
31451 }
31452 return resultobj;
31453 fail:
31454 return NULL;
31455}
31456
31457
c32bde28 31458static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31459 PyObject *resultobj;
31460 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31461 wxString *arg2 = 0 ;
ae8162c8 31462 bool temp2 = false ;
d14a1e28
RD
31463 PyObject * obj0 = 0 ;
31464 PyObject * obj1 = 0 ;
31465 char *kwnames[] = {
31466 (char *) "self",(char *) "path", NULL
31467 };
31468
31469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31470 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31471 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
31472 {
31473 arg2 = wxString_in_helper(obj1);
31474 if (arg2 == NULL) SWIG_fail;
ae8162c8 31475 temp2 = true;
d14a1e28
RD
31476 }
31477 {
31478 PyThreadState* __tstate = wxPyBeginAllowThreads();
31479 (arg1)->SetPath((wxString const &)*arg2);
31480
31481 wxPyEndAllowThreads(__tstate);
31482 if (PyErr_Occurred()) SWIG_fail;
31483 }
31484 Py_INCREF(Py_None); resultobj = Py_None;
31485 {
31486 if (temp2)
31487 delete arg2;
31488 }
31489 return resultobj;
31490 fail:
31491 {
31492 if (temp2)
31493 delete arg2;
31494 }
31495 return NULL;
31496}
31497
31498
c32bde28 31499static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31500 PyObject *resultobj;
31501 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31502 bool arg2 ;
31503 PyObject * obj0 = 0 ;
31504 PyObject * obj1 = 0 ;
31505 char *kwnames[] = {
31506 (char *) "self",(char *) "show", NULL
31507 };
31508
31509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31510 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31511 if (SWIG_arg_fail(1)) SWIG_fail;
31512 {
31513 arg2 = (bool)(SWIG_As_bool(obj1));
31514 if (SWIG_arg_fail(2)) SWIG_fail;
31515 }
d14a1e28
RD
31516 {
31517 PyThreadState* __tstate = wxPyBeginAllowThreads();
31518 (arg1)->ShowHidden(arg2);
31519
31520 wxPyEndAllowThreads(__tstate);
31521 if (PyErr_Occurred()) SWIG_fail;
31522 }
31523 Py_INCREF(Py_None); resultobj = Py_None;
31524 return resultobj;
31525 fail:
31526 return NULL;
31527}
31528
31529
c32bde28 31530static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31531 PyObject *resultobj;
31532 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31533 bool result;
31534 PyObject * obj0 = 0 ;
31535 char *kwnames[] = {
31536 (char *) "self", NULL
31537 };
31538
31539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames,&obj0)) goto fail;
093d3ff1
RD
31540 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31541 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
31542 {
31543 PyThreadState* __tstate = wxPyBeginAllowThreads();
31544 result = (bool)(arg1)->GetShowHidden();
31545
31546 wxPyEndAllowThreads(__tstate);
31547 if (PyErr_Occurred()) SWIG_fail;
31548 }
4f89f6a3
RD
31549 {
31550 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31551 }
d14a1e28
RD
31552 return resultobj;
31553 fail:
31554 return NULL;
31555}
31556
31557
c32bde28 31558static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31559 PyObject *resultobj;
31560 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31561 wxString result;
31562 PyObject * obj0 = 0 ;
31563 char *kwnames[] = {
31564 (char *) "self", NULL
31565 };
31566
31567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilter",kwnames,&obj0)) goto fail;
093d3ff1
RD
31568 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31569 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
31570 {
31571 PyThreadState* __tstate = wxPyBeginAllowThreads();
31572 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
31573
31574 wxPyEndAllowThreads(__tstate);
31575 if (PyErr_Occurred()) SWIG_fail;
31576 }
31577 {
31578#if wxUSE_UNICODE
31579 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31580#else
31581 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31582#endif
31583 }
31584 return resultobj;
31585 fail:
31586 return NULL;
31587}
31588
31589
c32bde28 31590static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31591 PyObject *resultobj;
31592 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31593 wxString *arg2 = 0 ;
ae8162c8 31594 bool temp2 = false ;
d14a1e28
RD
31595 PyObject * obj0 = 0 ;
31596 PyObject * obj1 = 0 ;
31597 char *kwnames[] = {
31598 (char *) "self",(char *) "filter", NULL
31599 };
31600
31601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31602 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31603 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
31604 {
31605 arg2 = wxString_in_helper(obj1);
31606 if (arg2 == NULL) SWIG_fail;
ae8162c8 31607 temp2 = true;
d14a1e28
RD
31608 }
31609 {
31610 PyThreadState* __tstate = wxPyBeginAllowThreads();
31611 (arg1)->SetFilter((wxString const &)*arg2);
31612
31613 wxPyEndAllowThreads(__tstate);
31614 if (PyErr_Occurred()) SWIG_fail;
31615 }
31616 Py_INCREF(Py_None); resultobj = Py_None;
31617 {
31618 if (temp2)
31619 delete arg2;
31620 }
31621 return resultobj;
31622 fail:
31623 {
31624 if (temp2)
31625 delete arg2;
31626 }
31627 return NULL;
31628}
31629
31630
c32bde28 31631static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31632 PyObject *resultobj;
31633 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31634 int result;
31635 PyObject * obj0 = 0 ;
31636 char *kwnames[] = {
31637 (char *) "self", NULL
31638 };
31639
31640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames,&obj0)) goto fail;
093d3ff1
RD
31641 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31642 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
31643 {
31644 PyThreadState* __tstate = wxPyBeginAllowThreads();
31645 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
31646
31647 wxPyEndAllowThreads(__tstate);
31648 if (PyErr_Occurred()) SWIG_fail;
31649 }
093d3ff1
RD
31650 {
31651 resultobj = SWIG_From_int((int)(result));
31652 }
d14a1e28
RD
31653 return resultobj;
31654 fail:
31655 return NULL;
31656}
31657
31658
c32bde28 31659static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31660 PyObject *resultobj;
31661 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31662 int arg2 ;
31663 PyObject * obj0 = 0 ;
994141e6 31664 PyObject * obj1 = 0 ;
d14a1e28
RD
31665 char *kwnames[] = {
31666 (char *) "self",(char *) "n", NULL
31667 };
31668
994141e6 31669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31670 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31671 if (SWIG_arg_fail(1)) SWIG_fail;
31672 {
31673 arg2 = (int)(SWIG_As_int(obj1));
31674 if (SWIG_arg_fail(2)) SWIG_fail;
31675 }
d14a1e28
RD
31676 {
31677 PyThreadState* __tstate = wxPyBeginAllowThreads();
31678 (arg1)->SetFilterIndex(arg2);
31679
31680 wxPyEndAllowThreads(__tstate);
31681 if (PyErr_Occurred()) SWIG_fail;
31682 }
31683 Py_INCREF(Py_None); resultobj = Py_None;
31684 return resultobj;
31685 fail:
31686 return NULL;
31687}
31688
31689
c32bde28 31690static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31691 PyObject *resultobj;
31692 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31693 wxTreeItemId result;
31694 PyObject * obj0 = 0 ;
31695 char *kwnames[] = {
31696 (char *) "self", NULL
31697 };
31698
31699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
093d3ff1
RD
31700 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31701 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
31702 {
31703 PyThreadState* __tstate = wxPyBeginAllowThreads();
31704 result = (arg1)->GetRootId();
31705
31706 wxPyEndAllowThreads(__tstate);
31707 if (PyErr_Occurred()) SWIG_fail;
31708 }
31709 {
31710 wxTreeItemId * resultptr;
093d3ff1 31711 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
15afbcd0 31712 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
31713 }
31714 return resultobj;
31715 fail:
31716 return NULL;
31717}
31718
31719
c32bde28 31720static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31721 PyObject *resultobj;
31722 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
b2dc1044 31723 wxPyTreeCtrl *result;
d14a1e28
RD
31724 PyObject * obj0 = 0 ;
31725 char *kwnames[] = {
31726 (char *) "self", NULL
31727 };
31728
31729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
093d3ff1
RD
31730 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31731 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
31732 {
31733 PyThreadState* __tstate = wxPyBeginAllowThreads();
b2dc1044 31734 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
d14a1e28
RD
31735
31736 wxPyEndAllowThreads(__tstate);
31737 if (PyErr_Occurred()) SWIG_fail;
31738 }
31739 {
412d302d 31740 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
31741 }
31742 return resultobj;
31743 fail:
31744 return NULL;
31745}
31746
31747
c32bde28 31748static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31749 PyObject *resultobj;
31750 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31751 wxDirFilterListCtrl *result;
31752 PyObject * obj0 = 0 ;
31753 char *kwnames[] = {
31754 (char *) "self", NULL
31755 };
31756
31757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames,&obj0)) goto fail;
093d3ff1
RD
31758 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31759 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
31760 {
31761 PyThreadState* __tstate = wxPyBeginAllowThreads();
31762 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
31763
31764 wxPyEndAllowThreads(__tstate);
31765 if (PyErr_Occurred()) SWIG_fail;
31766 }
15afbcd0 31767 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 0);
d14a1e28
RD
31768 return resultobj;
31769 fail:
31770 return NULL;
31771}
31772
31773
c32bde28 31774static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31775 PyObject *resultobj;
31776 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31777 wxTreeItemId arg2 ;
31778 wxString *arg3 = 0 ;
31779 bool *arg4 = 0 ;
31780 wxTreeItemId result;
ae8162c8 31781 bool temp3 = false ;
d14a1e28 31782 bool temp4 ;
c32bde28 31783 int res4 = 0 ;
d14a1e28
RD
31784 PyObject * obj0 = 0 ;
31785 PyObject * obj1 = 0 ;
31786 PyObject * obj2 = 0 ;
31787 char *kwnames[] = {
31788 (char *) "self",(char *) "parentId",(char *) "path", NULL
31789 };
31790
c32bde28 31791 arg4 = &temp4; res4 = SWIG_NEWOBJ;
d14a1e28 31792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
31793 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31794 if (SWIG_arg_fail(1)) SWIG_fail;
31795 {
31796 wxTreeItemId * argp;
31797 SWIG_Python_ConvertPtr(obj1, (void **)&argp, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION);
31798 if (SWIG_arg_fail(2)) SWIG_fail;
31799 if (argp == NULL) {
31800 SWIG_null_ref("wxTreeItemId");
31801 }
31802 if (SWIG_arg_fail(2)) SWIG_fail;
31803 arg2 = *argp;
31804 }
d14a1e28
RD
31805 {
31806 arg3 = wxString_in_helper(obj2);
31807 if (arg3 == NULL) SWIG_fail;
ae8162c8 31808 temp3 = true;
d14a1e28
RD
31809 }
31810 {
31811 PyThreadState* __tstate = wxPyBeginAllowThreads();
31812 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
31813
31814 wxPyEndAllowThreads(__tstate);
31815 if (PyErr_Occurred()) SWIG_fail;
31816 }
31817 {
31818 wxTreeItemId * resultptr;
093d3ff1 31819 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
15afbcd0 31820 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28 31821 }
c32bde28
RD
31822 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
31823 SWIG_From_bool((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, 0)));
d14a1e28
RD
31824 {
31825 if (temp3)
31826 delete arg3;
31827 }
31828 return resultobj;
31829 fail:
31830 {
31831 if (temp3)
31832 delete arg3;
31833 }
31834 return NULL;
31835}
31836
31837
c32bde28 31838static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31839 PyObject *resultobj;
31840 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31841 PyObject * obj0 = 0 ;
31842 char *kwnames[] = {
31843 (char *) "self", NULL
31844 };
31845
31846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
093d3ff1
RD
31847 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31848 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
31849 {
31850 PyThreadState* __tstate = wxPyBeginAllowThreads();
31851 (arg1)->DoResize();
31852
31853 wxPyEndAllowThreads(__tstate);
31854 if (PyErr_Occurred()) SWIG_fail;
31855 }
31856 Py_INCREF(Py_None); resultobj = Py_None;
31857 return resultobj;
31858 fail:
31859 return NULL;
31860}
31861
31862
c32bde28 31863static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31864 PyObject *resultobj;
31865 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31866 PyObject * obj0 = 0 ;
31867 char *kwnames[] = {
31868 (char *) "self", NULL
31869 };
31870
31871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
093d3ff1
RD
31872 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31873 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
31874 {
31875 PyThreadState* __tstate = wxPyBeginAllowThreads();
31876 (arg1)->ReCreateTree();
31877
31878 wxPyEndAllowThreads(__tstate);
31879 if (PyErr_Occurred()) SWIG_fail;
31880 }
31881 Py_INCREF(Py_None); resultobj = Py_None;
31882 return resultobj;
31883 fail:
31884 return NULL;
31885}
31886
31887
c32bde28 31888static PyObject * GenericDirCtrl_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
31889 PyObject *obj;
31890 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31891 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
31892 Py_INCREF(obj);
31893 return Py_BuildValue((char *)"");
31894}
c32bde28 31895static PyObject *_wrap_new_DirFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31896 PyObject *resultobj;
31897 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
e811c8ce 31898 int arg2 = (int) (int)-1 ;
d14a1e28
RD
31899 wxPoint const &arg3_defvalue = wxDefaultPosition ;
31900 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
31901 wxSize const &arg4_defvalue = wxDefaultSize ;
31902 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
31903 long arg5 = (long) 0 ;
31904 wxDirFilterListCtrl *result;
31905 wxPoint temp3 ;
31906 wxSize temp4 ;
31907 PyObject * obj0 = 0 ;
994141e6 31908 PyObject * obj1 = 0 ;
d14a1e28
RD
31909 PyObject * obj2 = 0 ;
31910 PyObject * obj3 = 0 ;
994141e6 31911 PyObject * obj4 = 0 ;
d14a1e28
RD
31912 char *kwnames[] = {
31913 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
31914 };
31915
994141e6 31916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
31917 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31918 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 31919 if (obj1) {
093d3ff1
RD
31920 {
31921 arg2 = (int const)(SWIG_As_int(obj1));
31922 if (SWIG_arg_fail(2)) SWIG_fail;
31923 }
994141e6 31924 }
d14a1e28
RD
31925 if (obj2) {
31926 {
31927 arg3 = &temp3;
31928 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
31929 }
31930 }
31931 if (obj3) {
31932 {
31933 arg4 = &temp4;
31934 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
31935 }
31936 }
994141e6 31937 if (obj4) {
093d3ff1
RD
31938 {
31939 arg5 = (long)(SWIG_As_long(obj4));
31940 if (SWIG_arg_fail(5)) SWIG_fail;
31941 }
994141e6 31942 }
d14a1e28 31943 {
e3b71cb8 31944 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
31945 PyThreadState* __tstate = wxPyBeginAllowThreads();
31946 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
31947
31948 wxPyEndAllowThreads(__tstate);
110da5b0 31949 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 31950 }
15afbcd0 31951 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
d14a1e28
RD
31952 return resultobj;
31953 fail:
31954 return NULL;
31955}
31956
31957
c32bde28 31958static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31959 PyObject *resultobj;
31960 wxDirFilterListCtrl *result;
31961 char *kwnames[] = {
31962 NULL
31963 };
31964
31965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
31966 {
e3b71cb8 31967 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
31968 PyThreadState* __tstate = wxPyBeginAllowThreads();
31969 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
31970
31971 wxPyEndAllowThreads(__tstate);
110da5b0 31972 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 31973 }
15afbcd0 31974 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
d14a1e28
RD
31975 return resultobj;
31976 fail:
31977 return NULL;
31978}
31979
31980
c32bde28 31981static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31982 PyObject *resultobj;
31983 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
31984 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
e811c8ce 31985 int arg3 = (int) (int)-1 ;
d14a1e28
RD
31986 wxPoint const &arg4_defvalue = wxDefaultPosition ;
31987 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
31988 wxSize const &arg5_defvalue = wxDefaultSize ;
31989 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
31990 long arg6 = (long) 0 ;
31991 bool result;
31992 wxPoint temp4 ;
31993 wxSize temp5 ;
31994 PyObject * obj0 = 0 ;
31995 PyObject * obj1 = 0 ;
994141e6 31996 PyObject * obj2 = 0 ;
d14a1e28
RD
31997 PyObject * obj3 = 0 ;
31998 PyObject * obj4 = 0 ;
994141e6 31999 PyObject * obj5 = 0 ;
d14a1e28
RD
32000 char *kwnames[] = {
32001 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
32002 };
32003
994141e6 32004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
32005 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirFilterListCtrl, SWIG_POINTER_EXCEPTION | 0);
32006 if (SWIG_arg_fail(1)) SWIG_fail;
32007 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32008 if (SWIG_arg_fail(2)) SWIG_fail;
994141e6 32009 if (obj2) {
093d3ff1
RD
32010 {
32011 arg3 = (int const)(SWIG_As_int(obj2));
32012 if (SWIG_arg_fail(3)) SWIG_fail;
32013 }
994141e6 32014 }
d14a1e28
RD
32015 if (obj3) {
32016 {
32017 arg4 = &temp4;
32018 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
32019 }
32020 }
32021 if (obj4) {
32022 {
32023 arg5 = &temp5;
32024 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
32025 }
32026 }
994141e6 32027 if (obj5) {
093d3ff1
RD
32028 {
32029 arg6 = (long)(SWIG_As_long(obj5));
32030 if (SWIG_arg_fail(6)) SWIG_fail;
32031 }
994141e6 32032 }
d14a1e28
RD
32033 {
32034 PyThreadState* __tstate = wxPyBeginAllowThreads();
32035 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
32036
32037 wxPyEndAllowThreads(__tstate);
32038 if (PyErr_Occurred()) SWIG_fail;
32039 }
4f89f6a3
RD
32040 {
32041 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32042 }
d14a1e28
RD
32043 return resultobj;
32044 fail:
32045 return NULL;
32046}
32047
32048
c32bde28 32049static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32050 PyObject *resultobj;
32051 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
32052 wxString *arg2 = 0 ;
32053 int arg3 ;
ae8162c8 32054 bool temp2 = false ;
d14a1e28
RD
32055 PyObject * obj0 = 0 ;
32056 PyObject * obj1 = 0 ;
994141e6 32057 PyObject * obj2 = 0 ;
d14a1e28
RD
32058 char *kwnames[] = {
32059 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
32060 };
32061
994141e6 32062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
32063 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirFilterListCtrl, SWIG_POINTER_EXCEPTION | 0);
32064 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
32065 {
32066 arg2 = wxString_in_helper(obj1);
32067 if (arg2 == NULL) SWIG_fail;
ae8162c8 32068 temp2 = true;
d14a1e28 32069 }
093d3ff1
RD
32070 {
32071 arg3 = (int)(SWIG_As_int(obj2));
32072 if (SWIG_arg_fail(3)) SWIG_fail;
32073 }
d14a1e28
RD
32074 {
32075 PyThreadState* __tstate = wxPyBeginAllowThreads();
32076 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
32077
32078 wxPyEndAllowThreads(__tstate);
32079 if (PyErr_Occurred()) SWIG_fail;
32080 }
32081 Py_INCREF(Py_None); resultobj = Py_None;
32082 {
32083 if (temp2)
32084 delete arg2;
32085 }
32086 return resultobj;
32087 fail:
32088 {
32089 if (temp2)
32090 delete arg2;
32091 }
32092 return NULL;
32093}
32094
32095
c32bde28 32096static PyObject * DirFilterListCtrl_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
32097 PyObject *obj;
32098 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32099 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
32100 Py_INCREF(obj);
32101 return Py_BuildValue((char *)"");
32102}
c32bde28 32103static PyObject *_wrap_new_PyControl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32104 PyObject *resultobj;
32105 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 32106 int arg2 = (int) (int)-1 ;
d14a1e28
RD
32107 wxPoint const &arg3_defvalue = wxDefaultPosition ;
32108 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
32109 wxSize const &arg4_defvalue = wxDefaultSize ;
32110 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
32111 long arg5 = (long) 0 ;
32112 wxValidator const &arg6_defvalue = wxDefaultValidator ;
32113 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
32114 wxString const &arg7_defvalue = wxPyControlNameStr ;
32115 wxString *arg7 = (wxString *) &arg7_defvalue ;
32116 wxPyControl *result;
32117 wxPoint temp3 ;
32118 wxSize temp4 ;
ae8162c8 32119 bool temp7 = false ;
d14a1e28 32120 PyObject * obj0 = 0 ;
994141e6 32121 PyObject * obj1 = 0 ;
d14a1e28
RD
32122 PyObject * obj2 = 0 ;
32123 PyObject * obj3 = 0 ;
994141e6 32124 PyObject * obj4 = 0 ;
d14a1e28
RD
32125 PyObject * obj5 = 0 ;
32126 PyObject * obj6 = 0 ;
32127 char *kwnames[] = {
32128 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32129 };
32130
248ed943 32131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_PyControl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
32132 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32133 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 32134 if (obj1) {
093d3ff1
RD
32135 {
32136 arg2 = (int const)(SWIG_As_int(obj1));
32137 if (SWIG_arg_fail(2)) SWIG_fail;
32138 }
248ed943 32139 }
d14a1e28
RD
32140 if (obj2) {
32141 {
32142 arg3 = &temp3;
32143 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
32144 }
32145 }
32146 if (obj3) {
32147 {
32148 arg4 = &temp4;
32149 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
32150 }
32151 }
994141e6 32152 if (obj4) {
093d3ff1
RD
32153 {
32154 arg5 = (long)(SWIG_As_long(obj4));
32155 if (SWIG_arg_fail(5)) SWIG_fail;
32156 }
994141e6 32157 }
d14a1e28 32158 if (obj5) {
093d3ff1
RD
32159 {
32160 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
32161 if (SWIG_arg_fail(6)) SWIG_fail;
32162 if (arg6 == NULL) {
32163 SWIG_null_ref("wxValidator");
32164 }
32165 if (SWIG_arg_fail(6)) SWIG_fail;
d14a1e28
RD
32166 }
32167 }
32168 if (obj6) {
32169 {
32170 arg7 = wxString_in_helper(obj6);
32171 if (arg7 == NULL) SWIG_fail;
ae8162c8 32172 temp7 = true;
d14a1e28
RD
32173 }
32174 }
32175 {
e3b71cb8 32176 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
32177 PyThreadState* __tstate = wxPyBeginAllowThreads();
32178 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
32179
32180 wxPyEndAllowThreads(__tstate);
110da5b0 32181 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 32182 }
15afbcd0 32183 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
d14a1e28
RD
32184 {
32185 if (temp7)
32186 delete arg7;
32187 }
32188 return resultobj;
32189 fail:
32190 {
32191 if (temp7)
32192 delete arg7;
32193 }
32194 return NULL;
32195}
32196
32197
c32bde28 32198static PyObject *_wrap_new_PrePyControl(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
32199 PyObject *resultobj;
32200 wxPyControl *result;
32201 char *kwnames[] = {
32202 NULL
32203 };
32204
32205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyControl",kwnames)) goto fail;
32206 {
e3b71cb8 32207 if (!wxPyCheckForApp()) SWIG_fail;
1cb4a8aa
RD
32208 PyThreadState* __tstate = wxPyBeginAllowThreads();
32209 result = (wxPyControl *)new wxPyControl();
32210
32211 wxPyEndAllowThreads(__tstate);
110da5b0 32212 if (PyErr_Occurred()) SWIG_fail;
1cb4a8aa
RD
32213 }
32214 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
32215 return resultobj;
32216 fail:
32217 return NULL;
32218}
32219
32220
c32bde28 32221static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32222 PyObject *resultobj;
32223 wxPyControl *arg1 = (wxPyControl *) 0 ;
32224 PyObject *arg2 = (PyObject *) 0 ;
32225 PyObject *arg3 = (PyObject *) 0 ;
32226 PyObject * obj0 = 0 ;
32227 PyObject * obj1 = 0 ;
32228 PyObject * obj2 = 0 ;
32229 char *kwnames[] = {
32230 (char *) "self",(char *) "self",(char *) "_class", NULL
32231 };
32232
32233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
32234 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32235 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
32236 arg2 = obj1;
32237 arg3 = obj2;
32238 {
32239 PyThreadState* __tstate = wxPyBeginAllowThreads();
32240 (arg1)->_setCallbackInfo(arg2,arg3);
32241
32242 wxPyEndAllowThreads(__tstate);
32243 if (PyErr_Occurred()) SWIG_fail;
32244 }
32245 Py_INCREF(Py_None); resultobj = Py_None;
32246 return resultobj;
32247 fail:
32248 return NULL;
32249}
32250
32251
c32bde28 32252static PyObject *_wrap_PyControl_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
db3e571a
RD
32253 PyObject *resultobj;
32254 wxPyControl *arg1 = (wxPyControl *) 0 ;
32255 wxSize *arg2 = 0 ;
32256 wxSize temp2 ;
32257 PyObject * obj0 = 0 ;
32258 PyObject * obj1 = 0 ;
32259 char *kwnames[] = {
32260 (char *) "self",(char *) "size", NULL
32261 };
32262
32263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_SetBestSize",kwnames,&obj0,&obj1)) 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;
db3e571a
RD
32266 {
32267 arg2 = &temp2;
32268 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
32269 }
32270 {
32271 PyThreadState* __tstate = wxPyBeginAllowThreads();
32272 (arg1)->SetBestSize((wxSize const &)*arg2);
32273
32274 wxPyEndAllowThreads(__tstate);
32275 if (PyErr_Occurred()) SWIG_fail;
32276 }
32277 Py_INCREF(Py_None); resultobj = Py_None;
32278 return resultobj;
32279 fail:
32280 return NULL;
32281}
32282
32283
c32bde28 32284static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32285 PyObject *resultobj;
32286 wxPyControl *arg1 = (wxPyControl *) 0 ;
32287 int arg2 ;
32288 int arg3 ;
32289 int arg4 ;
32290 int arg5 ;
32291 PyObject * obj0 = 0 ;
994141e6
RD
32292 PyObject * obj1 = 0 ;
32293 PyObject * obj2 = 0 ;
32294 PyObject * obj3 = 0 ;
32295 PyObject * obj4 = 0 ;
d14a1e28
RD
32296 char *kwnames[] = {
32297 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
32298 };
32299
994141e6 32300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
32301 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32302 if (SWIG_arg_fail(1)) SWIG_fail;
32303 {
32304 arg2 = (int)(SWIG_As_int(obj1));
32305 if (SWIG_arg_fail(2)) SWIG_fail;
32306 }
32307 {
32308 arg3 = (int)(SWIG_As_int(obj2));
32309 if (SWIG_arg_fail(3)) SWIG_fail;
32310 }
32311 {
32312 arg4 = (int)(SWIG_As_int(obj3));
32313 if (SWIG_arg_fail(4)) SWIG_fail;
32314 }
32315 {
32316 arg5 = (int)(SWIG_As_int(obj4));
32317 if (SWIG_arg_fail(5)) SWIG_fail;
32318 }
d14a1e28
RD
32319 {
32320 PyThreadState* __tstate = wxPyBeginAllowThreads();
32321 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
32322
32323 wxPyEndAllowThreads(__tstate);
32324 if (PyErr_Occurred()) SWIG_fail;
32325 }
32326 Py_INCREF(Py_None); resultobj = Py_None;
32327 return resultobj;
32328 fail:
32329 return NULL;
32330}
32331
32332
c32bde28 32333static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32334 PyObject *resultobj;
32335 wxPyControl *arg1 = (wxPyControl *) 0 ;
32336 int arg2 ;
32337 int arg3 ;
32338 int arg4 ;
32339 int arg5 ;
32340 int arg6 = (int) wxSIZE_AUTO ;
32341 PyObject * obj0 = 0 ;
994141e6
RD
32342 PyObject * obj1 = 0 ;
32343 PyObject * obj2 = 0 ;
32344 PyObject * obj3 = 0 ;
32345 PyObject * obj4 = 0 ;
32346 PyObject * obj5 = 0 ;
d14a1e28
RD
32347 char *kwnames[] = {
32348 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
32349 };
32350
994141e6 32351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
32352 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32353 if (SWIG_arg_fail(1)) SWIG_fail;
32354 {
32355 arg2 = (int)(SWIG_As_int(obj1));
32356 if (SWIG_arg_fail(2)) SWIG_fail;
32357 }
32358 {
32359 arg3 = (int)(SWIG_As_int(obj2));
32360 if (SWIG_arg_fail(3)) SWIG_fail;
32361 }
32362 {
32363 arg4 = (int)(SWIG_As_int(obj3));
32364 if (SWIG_arg_fail(4)) SWIG_fail;
32365 }
32366 {
32367 arg5 = (int)(SWIG_As_int(obj4));
32368 if (SWIG_arg_fail(5)) SWIG_fail;
32369 }
994141e6 32370 if (obj5) {
093d3ff1
RD
32371 {
32372 arg6 = (int)(SWIG_As_int(obj5));
32373 if (SWIG_arg_fail(6)) SWIG_fail;
32374 }
994141e6 32375 }
d14a1e28
RD
32376 {
32377 PyThreadState* __tstate = wxPyBeginAllowThreads();
32378 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
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_DoSetClientSize(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 *) "width",(char *) "height", NULL
32400 };
32401
994141e6 32402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetClientSize",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_DoSetClientSize(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_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32428 PyObject *resultobj;
32429 wxPyControl *arg1 = (wxPyControl *) 0 ;
32430 int arg2 ;
32431 int arg3 ;
32432 PyObject * obj0 = 0 ;
994141e6
RD
32433 PyObject * obj1 = 0 ;
32434 PyObject * obj2 = 0 ;
d14a1e28
RD
32435 char *kwnames[] = {
32436 (char *) "self",(char *) "x",(char *) "y", NULL
32437 };
32438
994141e6 32439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
32440 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32441 if (SWIG_arg_fail(1)) SWIG_fail;
32442 {
32443 arg2 = (int)(SWIG_As_int(obj1));
32444 if (SWIG_arg_fail(2)) SWIG_fail;
32445 }
32446 {
32447 arg3 = (int)(SWIG_As_int(obj2));
32448 if (SWIG_arg_fail(3)) SWIG_fail;
32449 }
d14a1e28
RD
32450 {
32451 PyThreadState* __tstate = wxPyBeginAllowThreads();
32452 (arg1)->base_DoSetVirtualSize(arg2,arg3);
32453
32454 wxPyEndAllowThreads(__tstate);
32455 if (PyErr_Occurred()) SWIG_fail;
32456 }
32457 Py_INCREF(Py_None); resultobj = Py_None;
32458 return resultobj;
32459 fail:
32460 return NULL;
32461}
32462
32463
c32bde28 32464static PyObject *_wrap_PyControl_base_DoGetSize(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_DoGetSize",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_DoGetSize(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_DoGetClientSize(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_DoGetClientSize",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_DoGetClientSize(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_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32539 PyObject *resultobj;
32540 wxPyControl *arg1 = (wxPyControl *) 0 ;
32541 int *arg2 = (int *) 0 ;
32542 int *arg3 = (int *) 0 ;
32543 int temp2 ;
c32bde28 32544 int res2 = 0 ;
d14a1e28 32545 int temp3 ;
c32bde28 32546 int res3 = 0 ;
d14a1e28
RD
32547 PyObject * obj0 = 0 ;
32548 char *kwnames[] = {
32549 (char *) "self", NULL
32550 };
32551
c32bde28
RD
32552 arg2 = &temp2; res2 = SWIG_NEWOBJ;
32553 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 32554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
32555 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32556 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
32557 {
32558 PyThreadState* __tstate = wxPyBeginAllowThreads();
32559 ((wxPyControl const *)arg1)->base_DoGetPosition(arg2,arg3);
32560
32561 wxPyEndAllowThreads(__tstate);
32562 if (PyErr_Occurred()) SWIG_fail;
32563 }
32564 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
32565 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
32566 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
32567 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
32568 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
32569 return resultobj;
32570 fail:
32571 return NULL;
32572}
32573
32574
c32bde28 32575static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32576 PyObject *resultobj;
32577 wxPyControl *arg1 = (wxPyControl *) 0 ;
32578 wxSize result;
32579 PyObject * obj0 = 0 ;
32580 char *kwnames[] = {
32581 (char *) "self", NULL
32582 };
32583
32584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
32585 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32586 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
32587 {
32588 PyThreadState* __tstate = wxPyBeginAllowThreads();
32589 result = ((wxPyControl const *)arg1)->base_DoGetVirtualSize();
32590
32591 wxPyEndAllowThreads(__tstate);
32592 if (PyErr_Occurred()) SWIG_fail;
32593 }
32594 {
32595 wxSize * resultptr;
093d3ff1 32596 resultptr = new wxSize((wxSize &)(result));
15afbcd0 32597 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
32598 }
32599 return resultobj;
32600 fail:
32601 return NULL;
32602}
32603
32604
c32bde28 32605static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32606 PyObject *resultobj;
32607 wxPyControl *arg1 = (wxPyControl *) 0 ;
32608 wxSize result;
32609 PyObject * obj0 = 0 ;
32610 char *kwnames[] = {
32611 (char *) "self", NULL
32612 };
32613
32614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetBestSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
32615 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32616 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
32617 {
32618 PyThreadState* __tstate = wxPyBeginAllowThreads();
32619 result = ((wxPyControl const *)arg1)->base_DoGetBestSize();
32620
32621 wxPyEndAllowThreads(__tstate);
32622 if (PyErr_Occurred()) SWIG_fail;
32623 }
32624 {
32625 wxSize * resultptr;
093d3ff1 32626 resultptr = new wxSize((wxSize &)(result));
15afbcd0 32627 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
32628 }
32629 return resultobj;
32630 fail:
32631 return NULL;
32632}
32633
32634
c32bde28 32635static PyObject *_wrap_PyControl_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32636 PyObject *resultobj;
32637 wxPyControl *arg1 = (wxPyControl *) 0 ;
32638 PyObject * obj0 = 0 ;
32639 char *kwnames[] = {
32640 (char *) "self", NULL
32641 };
32642
32643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_InitDialog",kwnames,&obj0)) goto fail;
093d3ff1
RD
32644 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32645 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
32646 {
32647 PyThreadState* __tstate = wxPyBeginAllowThreads();
32648 (arg1)->base_InitDialog();
32649
32650 wxPyEndAllowThreads(__tstate);
32651 if (PyErr_Occurred()) SWIG_fail;
32652 }
32653 Py_INCREF(Py_None); resultobj = Py_None;
32654 return resultobj;
32655 fail:
32656 return NULL;
32657}
32658
32659
c32bde28 32660static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32661 PyObject *resultobj;
32662 wxPyControl *arg1 = (wxPyControl *) 0 ;
32663 bool result;
32664 PyObject * obj0 = 0 ;
32665 char *kwnames[] = {
32666 (char *) "self", NULL
32667 };
32668
32669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
32670 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32671 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
32672 {
32673 PyThreadState* __tstate = wxPyBeginAllowThreads();
32674 result = (bool)(arg1)->base_TransferDataToWindow();
32675
32676 wxPyEndAllowThreads(__tstate);
32677 if (PyErr_Occurred()) SWIG_fail;
32678 }
4f89f6a3
RD
32679 {
32680 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32681 }
d14a1e28
RD
32682 return resultobj;
32683 fail:
32684 return NULL;
32685}
32686
32687
c32bde28 32688static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32689 PyObject *resultobj;
32690 wxPyControl *arg1 = (wxPyControl *) 0 ;
32691 bool result;
32692 PyObject * obj0 = 0 ;
32693 char *kwnames[] = {
32694 (char *) "self", NULL
32695 };
32696
32697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
32698 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32699 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
32700 {
32701 PyThreadState* __tstate = wxPyBeginAllowThreads();
32702 result = (bool)(arg1)->base_TransferDataFromWindow();
32703
32704 wxPyEndAllowThreads(__tstate);
32705 if (PyErr_Occurred()) SWIG_fail;
32706 }
4f89f6a3
RD
32707 {
32708 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32709 }
d14a1e28
RD
32710 return resultobj;
32711 fail:
32712 return NULL;
32713}
32714
32715
c32bde28 32716static PyObject *_wrap_PyControl_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32717 PyObject *resultobj;
32718 wxPyControl *arg1 = (wxPyControl *) 0 ;
32719 bool result;
32720 PyObject * obj0 = 0 ;
32721 char *kwnames[] = {
32722 (char *) "self", NULL
32723 };
32724
32725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_Validate",kwnames,&obj0)) goto fail;
093d3ff1
RD
32726 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32727 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
32728 {
32729 PyThreadState* __tstate = wxPyBeginAllowThreads();
32730 result = (bool)(arg1)->base_Validate();
32731
32732 wxPyEndAllowThreads(__tstate);
32733 if (PyErr_Occurred()) SWIG_fail;
32734 }
4f89f6a3
RD
32735 {
32736 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32737 }
d14a1e28
RD
32738 return resultobj;
32739 fail:
32740 return NULL;
32741}
32742
32743
c32bde28 32744static PyObject *_wrap_PyControl_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32745 PyObject *resultobj;
32746 wxPyControl *arg1 = (wxPyControl *) 0 ;
32747 bool result;
32748 PyObject * obj0 = 0 ;
32749 char *kwnames[] = {
32750 (char *) "self", NULL
32751 };
32752
32753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocus",kwnames,&obj0)) goto fail;
093d3ff1
RD
32754 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32755 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
32756 {
32757 PyThreadState* __tstate = wxPyBeginAllowThreads();
32758 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocus();
32759
32760 wxPyEndAllowThreads(__tstate);
32761 if (PyErr_Occurred()) SWIG_fail;
32762 }
4f89f6a3
RD
32763 {
32764 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32765 }
d14a1e28
RD
32766 return resultobj;
32767 fail:
32768 return NULL;
32769}
32770
32771
c32bde28 32772static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32773 PyObject *resultobj;
32774 wxPyControl *arg1 = (wxPyControl *) 0 ;
32775 bool result;
32776 PyObject * obj0 = 0 ;
32777 char *kwnames[] = {
32778 (char *) "self", NULL
32779 };
32780
32781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
093d3ff1
RD
32782 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32783 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
32784 {
32785 PyThreadState* __tstate = wxPyBeginAllowThreads();
32786 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocusFromKeyboard();
32787
32788 wxPyEndAllowThreads(__tstate);
32789 if (PyErr_Occurred()) SWIG_fail;
32790 }
4f89f6a3
RD
32791 {
32792 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32793 }
d14a1e28
RD
32794 return resultobj;
32795 fail:
32796 return NULL;
32797}
32798
32799
c32bde28 32800static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32801 PyObject *resultobj;
32802 wxPyControl *arg1 = (wxPyControl *) 0 ;
32803 wxSize result;
32804 PyObject * obj0 = 0 ;
32805 char *kwnames[] = {
32806 (char *) "self", NULL
32807 };
32808
32809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetMaxSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
32810 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32811 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
32812 {
32813 PyThreadState* __tstate = wxPyBeginAllowThreads();
32814 result = ((wxPyControl const *)arg1)->base_GetMaxSize();
32815
32816 wxPyEndAllowThreads(__tstate);
32817 if (PyErr_Occurred()) SWIG_fail;
32818 }
32819 {
32820 wxSize * resultptr;
093d3ff1 32821 resultptr = new wxSize((wxSize &)(result));
15afbcd0 32822 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
32823 }
32824 return resultobj;
32825 fail:
32826 return NULL;
32827}
32828
32829
c32bde28 32830static PyObject *_wrap_PyControl_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32831 PyObject *resultobj;
32832 wxPyControl *arg1 = (wxPyControl *) 0 ;
32833 wxWindow *arg2 = (wxWindow *) 0 ;
32834 PyObject * obj0 = 0 ;
32835 PyObject * obj1 = 0 ;
32836 char *kwnames[] = {
32837 (char *) "self",(char *) "child", NULL
32838 };
32839
32840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
32841 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32842 if (SWIG_arg_fail(1)) SWIG_fail;
32843 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32844 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
32845 {
32846 PyThreadState* __tstate = wxPyBeginAllowThreads();
32847 (arg1)->base_AddChild(arg2);
32848
32849 wxPyEndAllowThreads(__tstate);
32850 if (PyErr_Occurred()) SWIG_fail;
32851 }
32852 Py_INCREF(Py_None); resultobj = Py_None;
32853 return resultobj;
32854 fail:
32855 return NULL;
32856}
32857
32858
c32bde28 32859static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32860 PyObject *resultobj;
32861 wxPyControl *arg1 = (wxPyControl *) 0 ;
32862 wxWindow *arg2 = (wxWindow *) 0 ;
32863 PyObject * obj0 = 0 ;
32864 PyObject * obj1 = 0 ;
32865 char *kwnames[] = {
32866 (char *) "self",(char *) "child", NULL
32867 };
32868
32869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
32870 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32871 if (SWIG_arg_fail(1)) SWIG_fail;
32872 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32873 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
32874 {
32875 PyThreadState* __tstate = wxPyBeginAllowThreads();
32876 (arg1)->base_RemoveChild(arg2);
32877
32878 wxPyEndAllowThreads(__tstate);
32879 if (PyErr_Occurred()) SWIG_fail;
32880 }
32881 Py_INCREF(Py_None); resultobj = Py_None;
32882 return resultobj;
32883 fail:
32884 return NULL;
32885}
32886
32887
c32bde28 32888static PyObject *_wrap_PyControl_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
32889 PyObject *resultobj;
32890 wxPyControl *arg1 = (wxPyControl *) 0 ;
32891 bool result;
32892 PyObject * obj0 = 0 ;
32893 char *kwnames[] = {
32894 (char *) "self", NULL
32895 };
32896
32897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
093d3ff1
RD
32898 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32899 if (SWIG_arg_fail(1)) SWIG_fail;
1cb4a8aa
RD
32900 {
32901 PyThreadState* __tstate = wxPyBeginAllowThreads();
db3e571a 32902 result = (bool)((wxPyControl const *)arg1)->base_ShouldInheritColours();
1cb4a8aa
RD
32903
32904 wxPyEndAllowThreads(__tstate);
32905 if (PyErr_Occurred()) SWIG_fail;
32906 }
32907 {
32908 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32909 }
32910 return resultobj;
32911 fail:
32912 return NULL;
32913}
32914
32915
c32bde28 32916static PyObject *_wrap_PyControl_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
32917 PyObject *resultobj;
32918 wxPyControl *arg1 = (wxPyControl *) 0 ;
32919 wxColour *arg2 = 0 ;
32920 wxColour temp2 ;
32921 PyObject * obj0 = 0 ;
32922 PyObject * obj1 = 0 ;
32923 char *kwnames[] = {
32924 (char *) "self",(char *) "c", NULL
32925 };
32926
32927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
32928 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32929 if (SWIG_arg_fail(1)) SWIG_fail;
1cb4a8aa
RD
32930 {
32931 arg2 = &temp2;
32932 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
32933 }
32934 {
32935 PyThreadState* __tstate = wxPyBeginAllowThreads();
32936 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
32937
32938 wxPyEndAllowThreads(__tstate);
32939 if (PyErr_Occurred()) SWIG_fail;
32940 }
32941 Py_INCREF(Py_None); resultobj = Py_None;
32942 return resultobj;
32943 fail:
32944 return NULL;
32945}
32946
32947
c32bde28 32948static PyObject *_wrap_PyControl_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
db3e571a
RD
32949 PyObject *resultobj;
32950 wxPyControl *arg1 = (wxPyControl *) 0 ;
32951 wxVisualAttributes result;
32952 PyObject * obj0 = 0 ;
32953 char *kwnames[] = {
32954 (char *) "self", NULL
32955 };
32956
32957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
093d3ff1
RD
32958 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32959 if (SWIG_arg_fail(1)) SWIG_fail;
db3e571a
RD
32960 {
32961 PyThreadState* __tstate = wxPyBeginAllowThreads();
32962 result = (arg1)->base_GetDefaultAttributes();
32963
32964 wxPyEndAllowThreads(__tstate);
32965 if (PyErr_Occurred()) SWIG_fail;
32966 }
32967 {
32968 wxVisualAttributes * resultptr;
093d3ff1 32969 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
db3e571a
RD
32970 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
32971 }
32972 return resultobj;
32973 fail:
32974 return NULL;
32975}
32976
32977
c32bde28 32978static PyObject * PyControl_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
32979 PyObject *obj;
32980 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32981 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
32982 Py_INCREF(obj);
32983 return Py_BuildValue((char *)"");
32984}
c32bde28 32985static PyObject *_wrap_new_HelpEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32986 PyObject *resultobj;
32987 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
e811c8ce 32988 int arg2 = (int) 0 ;
d14a1e28
RD
32989 wxPoint const &arg3_defvalue = wxDefaultPosition ;
32990 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
32991 wxHelpEvent *result;
32992 wxPoint temp3 ;
994141e6
RD
32993 PyObject * obj0 = 0 ;
32994 PyObject * obj1 = 0 ;
d14a1e28
RD
32995 PyObject * obj2 = 0 ;
32996 char *kwnames[] = {
32997 (char *) "type",(char *) "winid",(char *) "pt", NULL
32998 };
32999
994141e6
RD
33000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_HelpEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
33001 if (obj0) {
093d3ff1
RD
33002 {
33003 arg1 = (wxEventType)(SWIG_As_int(obj0));
33004 if (SWIG_arg_fail(1)) SWIG_fail;
33005 }
994141e6
RD
33006 }
33007 if (obj1) {
093d3ff1
RD
33008 {
33009 arg2 = (int)(SWIG_As_int(obj1));
33010 if (SWIG_arg_fail(2)) SWIG_fail;
33011 }
994141e6 33012 }
d14a1e28
RD
33013 if (obj2) {
33014 {
33015 arg3 = &temp3;
33016 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
33017 }
33018 }
33019 {
33020 PyThreadState* __tstate = wxPyBeginAllowThreads();
33021 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
33022
33023 wxPyEndAllowThreads(__tstate);
33024 if (PyErr_Occurred()) SWIG_fail;
33025 }
15afbcd0 33026 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpEvent, 1);
d14a1e28
RD
33027 return resultobj;
33028 fail:
33029 return NULL;
33030}
33031
33032
c32bde28 33033static PyObject *_wrap_HelpEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33034 PyObject *resultobj;
33035 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
15afbcd0 33036 wxPoint result;
d14a1e28
RD
33037 PyObject * obj0 = 0 ;
33038 char *kwnames[] = {
33039 (char *) "self", NULL
33040 };
33041
33042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
33043 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33044 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
33045 {
33046 PyThreadState* __tstate = wxPyBeginAllowThreads();
15afbcd0 33047 result = ((wxHelpEvent const *)arg1)->GetPosition();
d14a1e28
RD
33048
33049 wxPyEndAllowThreads(__tstate);
33050 if (PyErr_Occurred()) SWIG_fail;
33051 }
15afbcd0
RD
33052 {
33053 wxPoint * resultptr;
093d3ff1 33054 resultptr = new wxPoint((wxPoint const &)(result));
15afbcd0
RD
33055 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
33056 }
d14a1e28
RD
33057 return resultobj;
33058 fail:
33059 return NULL;
33060}
33061
33062
c32bde28 33063static PyObject *_wrap_HelpEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33064 PyObject *resultobj;
33065 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33066 wxPoint *arg2 = 0 ;
33067 wxPoint temp2 ;
33068 PyObject * obj0 = 0 ;
33069 PyObject * obj1 = 0 ;
33070 char *kwnames[] = {
33071 (char *) "self",(char *) "pos", NULL
33072 };
33073
33074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
33075 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33076 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
33077 {
33078 arg2 = &temp2;
33079 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
33080 }
33081 {
33082 PyThreadState* __tstate = wxPyBeginAllowThreads();
33083 (arg1)->SetPosition((wxPoint const &)*arg2);
33084
33085 wxPyEndAllowThreads(__tstate);
33086 if (PyErr_Occurred()) SWIG_fail;
33087 }
33088 Py_INCREF(Py_None); resultobj = Py_None;
33089 return resultobj;
33090 fail:
33091 return NULL;
33092}
33093
33094
c32bde28 33095static PyObject *_wrap_HelpEvent_GetLink(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33096 PyObject *resultobj;
33097 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33098 wxString *result;
33099 PyObject * obj0 = 0 ;
33100 char *kwnames[] = {
33101 (char *) "self", NULL
33102 };
33103
33104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) 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 PyThreadState* __tstate = wxPyBeginAllowThreads();
33109 {
33110 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
33111 result = (wxString *) &_result_ref;
33112 }
33113
33114 wxPyEndAllowThreads(__tstate);
33115 if (PyErr_Occurred()) SWIG_fail;
33116 }
cc6dd355
RD
33117 {
33118#if wxUSE_UNICODE
33119 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
33120#else
33121 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
33122#endif
33123 }
d14a1e28
RD
33124 return resultobj;
33125 fail:
33126 return NULL;
33127}
33128
33129
c32bde28 33130static PyObject *_wrap_HelpEvent_SetLink(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33131 PyObject *resultobj;
33132 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33133 wxString *arg2 = 0 ;
ae8162c8 33134 bool temp2 = false ;
d14a1e28
RD
33135 PyObject * obj0 = 0 ;
33136 PyObject * obj1 = 0 ;
33137 char *kwnames[] = {
33138 (char *) "self",(char *) "link", NULL
33139 };
33140
33141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
33142 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33143 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
33144 {
33145 arg2 = wxString_in_helper(obj1);
33146 if (arg2 == NULL) SWIG_fail;
ae8162c8 33147 temp2 = true;
d14a1e28
RD
33148 }
33149 {
33150 PyThreadState* __tstate = wxPyBeginAllowThreads();
33151 (arg1)->SetLink((wxString const &)*arg2);
33152
33153 wxPyEndAllowThreads(__tstate);
33154 if (PyErr_Occurred()) SWIG_fail;
33155 }
33156 Py_INCREF(Py_None); resultobj = Py_None;
33157 {
33158 if (temp2)
33159 delete arg2;
33160 }
33161 return resultobj;
33162 fail:
33163 {
33164 if (temp2)
33165 delete arg2;
33166 }
33167 return NULL;
33168}
33169
33170
c32bde28 33171static PyObject *_wrap_HelpEvent_GetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33172 PyObject *resultobj;
33173 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33174 wxString *result;
33175 PyObject * obj0 = 0 ;
33176 char *kwnames[] = {
33177 (char *) "self", NULL
33178 };
33179
33180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) 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 PyThreadState* __tstate = wxPyBeginAllowThreads();
33185 {
33186 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
33187 result = (wxString *) &_result_ref;
33188 }
33189
33190 wxPyEndAllowThreads(__tstate);
33191 if (PyErr_Occurred()) SWIG_fail;
33192 }
cc6dd355
RD
33193 {
33194#if wxUSE_UNICODE
33195 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
33196#else
33197 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
33198#endif
33199 }
d14a1e28
RD
33200 return resultobj;
33201 fail:
33202 return NULL;
33203}
33204
33205
c32bde28 33206static PyObject *_wrap_HelpEvent_SetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33207 PyObject *resultobj;
33208 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33209 wxString *arg2 = 0 ;
ae8162c8 33210 bool temp2 = false ;
d14a1e28
RD
33211 PyObject * obj0 = 0 ;
33212 PyObject * obj1 = 0 ;
33213 char *kwnames[] = {
33214 (char *) "self",(char *) "target", NULL
33215 };
33216
33217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
33218 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33219 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
33220 {
33221 arg2 = wxString_in_helper(obj1);
33222 if (arg2 == NULL) SWIG_fail;
ae8162c8 33223 temp2 = true;
d14a1e28
RD
33224 }
33225 {
33226 PyThreadState* __tstate = wxPyBeginAllowThreads();
33227 (arg1)->SetTarget((wxString const &)*arg2);
33228
33229 wxPyEndAllowThreads(__tstate);
33230 if (PyErr_Occurred()) SWIG_fail;
33231 }
33232 Py_INCREF(Py_None); resultobj = Py_None;
33233 {
33234 if (temp2)
33235 delete arg2;
33236 }
33237 return resultobj;
33238 fail:
33239 {
33240 if (temp2)
33241 delete arg2;
33242 }
33243 return NULL;
33244}
33245
33246
c32bde28 33247static PyObject * HelpEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
33248 PyObject *obj;
33249 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33250 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
33251 Py_INCREF(obj);
33252 return Py_BuildValue((char *)"");
33253}
c32bde28 33254static PyObject *_wrap_new_ContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33255 PyObject *resultobj;
33256 wxWindow *arg1 = (wxWindow *) NULL ;
ae8162c8 33257 bool arg2 = (bool) true ;
d14a1e28
RD
33258 wxContextHelp *result;
33259 PyObject * obj0 = 0 ;
33260 PyObject * obj1 = 0 ;
33261 char *kwnames[] = {
33262 (char *) "window",(char *) "doNow", NULL
33263 };
33264
33265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
33266 if (obj0) {
093d3ff1
RD
33267 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33268 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
33269 }
33270 if (obj1) {
093d3ff1
RD
33271 {
33272 arg2 = (bool)(SWIG_As_bool(obj1));
33273 if (SWIG_arg_fail(2)) SWIG_fail;
33274 }
d14a1e28
RD
33275 }
33276 {
e3b71cb8 33277 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
33278 PyThreadState* __tstate = wxPyBeginAllowThreads();
33279 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
33280
33281 wxPyEndAllowThreads(__tstate);
110da5b0 33282 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 33283 }
15afbcd0 33284 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelp, 1);
d14a1e28
RD
33285 return resultobj;
33286 fail:
33287 return NULL;
33288}
33289
33290
c32bde28 33291static PyObject *_wrap_delete_ContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33292 PyObject *resultobj;
33293 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
33294 PyObject * obj0 = 0 ;
33295 char *kwnames[] = {
33296 (char *) "self", NULL
33297 };
33298
33299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
093d3ff1
RD
33300 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextHelp, SWIG_POINTER_EXCEPTION | 0);
33301 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
33302 {
33303 PyThreadState* __tstate = wxPyBeginAllowThreads();
33304 delete arg1;
33305
33306 wxPyEndAllowThreads(__tstate);
33307 if (PyErr_Occurred()) SWIG_fail;
33308 }
33309 Py_INCREF(Py_None); resultobj = Py_None;
33310 return resultobj;
33311 fail:
33312 return NULL;
33313}
33314
33315
c32bde28 33316static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33317 PyObject *resultobj;
33318 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
33319 wxWindow *arg2 = (wxWindow *) NULL ;
33320 bool result;
33321 PyObject * obj0 = 0 ;
33322 PyObject * obj1 = 0 ;
33323 char *kwnames[] = {
33324 (char *) "self",(char *) "window", NULL
33325 };
33326
33327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
33328 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextHelp, SWIG_POINTER_EXCEPTION | 0);
33329 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 33330 if (obj1) {
093d3ff1
RD
33331 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33332 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
33333 }
33334 {
33335 PyThreadState* __tstate = wxPyBeginAllowThreads();
33336 result = (bool)(arg1)->BeginContextHelp(arg2);
33337
33338 wxPyEndAllowThreads(__tstate);
33339 if (PyErr_Occurred()) SWIG_fail;
33340 }
4f89f6a3
RD
33341 {
33342 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33343 }
d14a1e28
RD
33344 return resultobj;
33345 fail:
33346 return NULL;
33347}
33348
33349
c32bde28 33350static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33351 PyObject *resultobj;
33352 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
33353 bool result;
33354 PyObject * obj0 = 0 ;
33355 char *kwnames[] = {
33356 (char *) "self", NULL
33357 };
33358
33359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
093d3ff1
RD
33360 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextHelp, SWIG_POINTER_EXCEPTION | 0);
33361 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
33362 {
33363 PyThreadState* __tstate = wxPyBeginAllowThreads();
33364 result = (bool)(arg1)->EndContextHelp();
33365
33366 wxPyEndAllowThreads(__tstate);
33367 if (PyErr_Occurred()) SWIG_fail;
33368 }
4f89f6a3
RD
33369 {
33370 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33371 }
d14a1e28
RD
33372 return resultobj;
33373 fail:
33374 return NULL;
33375}
33376
33377
c32bde28 33378static PyObject * ContextHelp_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
33379 PyObject *obj;
33380 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33381 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
33382 Py_INCREF(obj);
33383 return Py_BuildValue((char *)"");
33384}
c32bde28 33385static PyObject *_wrap_new_ContextHelpButton(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33386 PyObject *resultobj;
33387 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 33388 int arg2 = (int) wxID_CONTEXT_HELP ;
d14a1e28
RD
33389 wxPoint const &arg3_defvalue = wxDefaultPosition ;
33390 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
33391 wxSize const &arg4_defvalue = wxDefaultSize ;
33392 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
33393 long arg5 = (long) wxBU_AUTODRAW ;
33394 wxContextHelpButton *result;
33395 wxPoint temp3 ;
33396 wxSize temp4 ;
33397 PyObject * obj0 = 0 ;
994141e6 33398 PyObject * obj1 = 0 ;
d14a1e28
RD
33399 PyObject * obj2 = 0 ;
33400 PyObject * obj3 = 0 ;
994141e6 33401 PyObject * obj4 = 0 ;
d14a1e28
RD
33402 char *kwnames[] = {
33403 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
33404 };
33405
994141e6 33406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ContextHelpButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
33407 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33408 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 33409 if (obj1) {
093d3ff1
RD
33410 {
33411 arg2 = (int)(SWIG_As_int(obj1));
33412 if (SWIG_arg_fail(2)) SWIG_fail;
33413 }
994141e6 33414 }
d14a1e28
RD
33415 if (obj2) {
33416 {
33417 arg3 = &temp3;
33418 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
33419 }
33420 }
33421 if (obj3) {
33422 {
33423 arg4 = &temp4;
33424 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
33425 }
33426 }
994141e6 33427 if (obj4) {
093d3ff1
RD
33428 {
33429 arg5 = (long)(SWIG_As_long(obj4));
33430 if (SWIG_arg_fail(5)) SWIG_fail;
33431 }
994141e6 33432 }
d14a1e28 33433 {
e3b71cb8 33434 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
33435 PyThreadState* __tstate = wxPyBeginAllowThreads();
33436 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
33437
33438 wxPyEndAllowThreads(__tstate);
110da5b0 33439 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 33440 }
15afbcd0 33441 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelpButton, 1);
d14a1e28
RD
33442 return resultobj;
33443 fail:
33444 return NULL;
33445}
33446
33447
c32bde28 33448static PyObject * ContextHelpButton_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
33449 PyObject *obj;
33450 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33451 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
33452 Py_INCREF(obj);
33453 return Py_BuildValue((char *)"");
33454}
c32bde28 33455static PyObject *_wrap_HelpProvider_Set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33456 PyObject *resultobj;
33457 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33458 wxHelpProvider *result;
33459 PyObject * obj0 = 0 ;
33460 char *kwnames[] = {
33461 (char *) "helpProvider", NULL
33462 };
33463
33464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
093d3ff1
RD
33465 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33466 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
33467 {
33468 PyThreadState* __tstate = wxPyBeginAllowThreads();
33469 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
33470
33471 wxPyEndAllowThreads(__tstate);
33472 if (PyErr_Occurred()) SWIG_fail;
33473 }
15afbcd0 33474 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
d14a1e28
RD
33475 return resultobj;
33476 fail:
33477 return NULL;
33478}
33479
33480
c32bde28 33481static PyObject *_wrap_HelpProvider_Get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33482 PyObject *resultobj;
33483 wxHelpProvider *result;
33484 char *kwnames[] = {
33485 NULL
33486 };
33487
33488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
33489 {
33490 PyThreadState* __tstate = wxPyBeginAllowThreads();
33491 result = (wxHelpProvider *)wxHelpProvider::Get();
33492
33493 wxPyEndAllowThreads(__tstate);
33494 if (PyErr_Occurred()) SWIG_fail;
33495 }
15afbcd0 33496 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
d14a1e28
RD
33497 return resultobj;
33498 fail:
33499 return NULL;
33500}
33501
33502
c32bde28 33503static PyObject *_wrap_HelpProvider_GetHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33504 PyObject *resultobj;
33505 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33506 wxWindow *arg2 = (wxWindow *) 0 ;
33507 wxString result;
33508 PyObject * obj0 = 0 ;
33509 PyObject * obj1 = 0 ;
33510 char *kwnames[] = {
33511 (char *) "self",(char *) "window", NULL
33512 };
33513
33514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
33515 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33516 if (SWIG_arg_fail(1)) SWIG_fail;
33517 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33518 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
33519 {
33520 PyThreadState* __tstate = wxPyBeginAllowThreads();
33521 result = (arg1)->GetHelp((wxWindow const *)arg2);
33522
33523 wxPyEndAllowThreads(__tstate);
33524 if (PyErr_Occurred()) SWIG_fail;
33525 }
33526 {
33527#if wxUSE_UNICODE
33528 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
33529#else
33530 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
33531#endif
33532 }
33533 return resultobj;
33534 fail:
33535 return NULL;
33536}
33537
33538
c32bde28 33539static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33540 PyObject *resultobj;
33541 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33542 wxWindow *arg2 = (wxWindow *) 0 ;
33543 bool result;
33544 PyObject * obj0 = 0 ;
33545 PyObject * obj1 = 0 ;
33546 char *kwnames[] = {
33547 (char *) "self",(char *) "window", NULL
33548 };
33549
33550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
33551 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33552 if (SWIG_arg_fail(1)) SWIG_fail;
33553 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33554 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
33555 {
33556 PyThreadState* __tstate = wxPyBeginAllowThreads();
33557 result = (bool)(arg1)->ShowHelp(arg2);
33558
33559 wxPyEndAllowThreads(__tstate);
33560 if (PyErr_Occurred()) SWIG_fail;
33561 }
4f89f6a3
RD
33562 {
33563 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33564 }
d14a1e28
RD
33565 return resultobj;
33566 fail:
33567 return NULL;
33568}
33569
33570
c32bde28 33571static PyObject *_wrap_HelpProvider_AddHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33572 PyObject *resultobj;
33573 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33574 wxWindow *arg2 = (wxWindow *) 0 ;
33575 wxString *arg3 = 0 ;
ae8162c8 33576 bool temp3 = false ;
d14a1e28
RD
33577 PyObject * obj0 = 0 ;
33578 PyObject * obj1 = 0 ;
33579 PyObject * obj2 = 0 ;
33580 char *kwnames[] = {
33581 (char *) "self",(char *) "window",(char *) "text", NULL
33582 };
33583
33584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
33585 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33586 if (SWIG_arg_fail(1)) SWIG_fail;
33587 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33588 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
33589 {
33590 arg3 = wxString_in_helper(obj2);
33591 if (arg3 == NULL) SWIG_fail;
ae8162c8 33592 temp3 = true;
d14a1e28
RD
33593 }
33594 {
33595 PyThreadState* __tstate = wxPyBeginAllowThreads();
33596 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
33597
33598 wxPyEndAllowThreads(__tstate);
33599 if (PyErr_Occurred()) SWIG_fail;
33600 }
33601 Py_INCREF(Py_None); resultobj = Py_None;
33602 {
33603 if (temp3)
33604 delete arg3;
33605 }
33606 return resultobj;
33607 fail:
33608 {
33609 if (temp3)
33610 delete arg3;
33611 }
33612 return NULL;
33613}
33614
33615
c32bde28 33616static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33617 PyObject *resultobj;
33618 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
e811c8ce 33619 int arg2 ;
d14a1e28 33620 wxString *arg3 = 0 ;
ae8162c8 33621 bool temp3 = false ;
d14a1e28 33622 PyObject * obj0 = 0 ;
994141e6 33623 PyObject * obj1 = 0 ;
d14a1e28
RD
33624 PyObject * obj2 = 0 ;
33625 char *kwnames[] = {
33626 (char *) "self",(char *) "id",(char *) "text", NULL
33627 };
33628
994141e6 33629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelpById",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
33630 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33631 if (SWIG_arg_fail(1)) SWIG_fail;
33632 {
33633 arg2 = (int)(SWIG_As_int(obj1));
33634 if (SWIG_arg_fail(2)) SWIG_fail;
33635 }
d14a1e28
RD
33636 {
33637 arg3 = wxString_in_helper(obj2);
33638 if (arg3 == NULL) SWIG_fail;
ae8162c8 33639 temp3 = true;
d14a1e28
RD
33640 }
33641 {
33642 PyThreadState* __tstate = wxPyBeginAllowThreads();
33643 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
33644
33645 wxPyEndAllowThreads(__tstate);
33646 if (PyErr_Occurred()) SWIG_fail;
33647 }
33648 Py_INCREF(Py_None); resultobj = Py_None;
33649 {
33650 if (temp3)
33651 delete arg3;
33652 }
33653 return resultobj;
33654 fail:
33655 {
33656 if (temp3)
33657 delete arg3;
33658 }
33659 return NULL;
33660}
33661
33662
c32bde28 33663static PyObject *_wrap_HelpProvider_RemoveHelp(PyObject *, PyObject *args, PyObject *kwargs) {
15afbcd0
RD
33664 PyObject *resultobj;
33665 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33666 wxWindow *arg2 = (wxWindow *) 0 ;
33667 PyObject * obj0 = 0 ;
33668 PyObject * obj1 = 0 ;
33669 char *kwnames[] = {
33670 (char *) "self",(char *) "window", NULL
33671 };
33672
33673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_RemoveHelp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
33674 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33675 if (SWIG_arg_fail(1)) SWIG_fail;
33676 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33677 if (SWIG_arg_fail(2)) SWIG_fail;
15afbcd0
RD
33678 {
33679 PyThreadState* __tstate = wxPyBeginAllowThreads();
33680 (arg1)->RemoveHelp(arg2);
33681
33682 wxPyEndAllowThreads(__tstate);
33683 if (PyErr_Occurred()) SWIG_fail;
33684 }
33685 Py_INCREF(Py_None); resultobj = Py_None;
33686 return resultobj;
33687 fail:
33688 return NULL;
33689}
33690
33691
c32bde28 33692static PyObject *_wrap_HelpProvider_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33693 PyObject *resultobj;
33694 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33695 PyObject * obj0 = 0 ;
33696 char *kwnames[] = {
33697 (char *) "self", NULL
33698 };
33699
33700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
093d3ff1
RD
33701 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33702 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
33703 {
33704 PyThreadState* __tstate = wxPyBeginAllowThreads();
33705 wxHelpProvider_Destroy(arg1);
33706
33707 wxPyEndAllowThreads(__tstate);
33708 if (PyErr_Occurred()) SWIG_fail;
33709 }
33710 Py_INCREF(Py_None); resultobj = Py_None;
33711 return resultobj;
33712 fail:
33713 return NULL;
33714}
33715
33716
c32bde28 33717static PyObject * HelpProvider_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
33718 PyObject *obj;
33719 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33720 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
33721 Py_INCREF(obj);
33722 return Py_BuildValue((char *)"");
33723}
c32bde28 33724static PyObject *_wrap_new_SimpleHelpProvider(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33725 PyObject *resultobj;
33726 wxSimpleHelpProvider *result;
33727 char *kwnames[] = {
33728 NULL
33729 };
33730
33731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
33732 {
33733 PyThreadState* __tstate = wxPyBeginAllowThreads();
33734 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
33735
33736 wxPyEndAllowThreads(__tstate);
33737 if (PyErr_Occurred()) SWIG_fail;
33738 }
15afbcd0 33739 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSimpleHelpProvider, 1);
d14a1e28
RD
33740 return resultobj;
33741 fail:
33742 return NULL;
33743}
33744
33745
c32bde28 33746static PyObject * SimpleHelpProvider_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
33747 PyObject *obj;
33748 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33749 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
33750 Py_INCREF(obj);
33751 return Py_BuildValue((char *)"");
33752}
c32bde28 33753static PyObject *_wrap_new_DragImage(PyObject *, PyObject *args, PyObject *kwargs) {
e811c8ce
RD
33754 PyObject *resultobj;
33755 wxBitmap *arg1 = 0 ;
33756 wxCursor const &arg2_defvalue = wxNullCursor ;
33757 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
33758 wxGenericDragImage *result;
33759 PyObject * obj0 = 0 ;
33760 PyObject * obj1 = 0 ;
33761 char *kwnames[] = {
33762 (char *) "image",(char *) "cursor", NULL
33763 };
33764
33765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
33766 {
33767 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
33768 if (SWIG_arg_fail(1)) SWIG_fail;
33769 if (arg1 == NULL) {
33770 SWIG_null_ref("wxBitmap");
33771 }
33772 if (SWIG_arg_fail(1)) SWIG_fail;
e811c8ce
RD
33773 }
33774 if (obj1) {
093d3ff1
RD
33775 {
33776 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
33777 if (SWIG_arg_fail(2)) SWIG_fail;
33778 if (arg2 == NULL) {
33779 SWIG_null_ref("wxCursor");
33780 }
33781 if (SWIG_arg_fail(2)) SWIG_fail;
e811c8ce
RD
33782 }
33783 }
33784 {
e3b71cb8 33785 if (!wxPyCheckForApp()) SWIG_fail;
e811c8ce
RD
33786 PyThreadState* __tstate = wxPyBeginAllowThreads();
33787 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
33788
33789 wxPyEndAllowThreads(__tstate);
110da5b0 33790 if (PyErr_Occurred()) SWIG_fail;
e811c8ce 33791 }
15afbcd0 33792 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
e811c8ce
RD
33793 return resultobj;
33794 fail:
33795 return NULL;
33796}
33797
33798
c32bde28 33799static PyObject *_wrap_new_DragIcon(PyObject *, PyObject *args, PyObject *kwargs) {
e811c8ce
RD
33800 PyObject *resultobj;
33801 wxIcon *arg1 = 0 ;
33802 wxCursor const &arg2_defvalue = wxNullCursor ;
33803 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
33804 wxGenericDragImage *result;
33805 PyObject * obj0 = 0 ;
33806 PyObject * obj1 = 0 ;
33807 char *kwnames[] = {
33808 (char *) "image",(char *) "cursor", NULL
33809 };
33810
33811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
33812 {
33813 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
33814 if (SWIG_arg_fail(1)) SWIG_fail;
33815 if (arg1 == NULL) {
33816 SWIG_null_ref("wxIcon");
33817 }
33818 if (SWIG_arg_fail(1)) SWIG_fail;
e811c8ce
RD
33819 }
33820 if (obj1) {
093d3ff1
RD
33821 {
33822 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
33823 if (SWIG_arg_fail(2)) SWIG_fail;
33824 if (arg2 == NULL) {
33825 SWIG_null_ref("wxCursor");
33826 }
33827 if (SWIG_arg_fail(2)) SWIG_fail;
e811c8ce
RD
33828 }
33829 }
33830 {
e3b71cb8 33831 if (!wxPyCheckForApp()) SWIG_fail;
e811c8ce
RD
33832 PyThreadState* __tstate = wxPyBeginAllowThreads();
33833 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
33834
33835 wxPyEndAllowThreads(__tstate);
110da5b0 33836 if (PyErr_Occurred()) SWIG_fail;
e811c8ce 33837 }
15afbcd0 33838 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
e811c8ce
RD
33839 return resultobj;
33840 fail:
33841 return NULL;
33842}
33843
33844
c32bde28 33845static PyObject *_wrap_new_DragString(PyObject *, PyObject *args, PyObject *kwargs) {
e811c8ce
RD
33846 PyObject *resultobj;
33847 wxString *arg1 = 0 ;
33848 wxCursor const &arg2_defvalue = wxNullCursor ;
33849 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
33850 wxGenericDragImage *result;
ae8162c8 33851 bool temp1 = false ;
e811c8ce
RD
33852 PyObject * obj0 = 0 ;
33853 PyObject * obj1 = 0 ;
33854 char *kwnames[] = {
33855 (char *) "str",(char *) "cursor", NULL
33856 };
33857
33858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail;
33859 {
33860 arg1 = wxString_in_helper(obj0);
33861 if (arg1 == NULL) SWIG_fail;
ae8162c8 33862 temp1 = true;
e811c8ce
RD
33863 }
33864 if (obj1) {
093d3ff1
RD
33865 {
33866 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
33867 if (SWIG_arg_fail(2)) SWIG_fail;
33868 if (arg2 == NULL) {
33869 SWIG_null_ref("wxCursor");
33870 }
33871 if (SWIG_arg_fail(2)) SWIG_fail;
e811c8ce
RD
33872 }
33873 }
33874 {
e3b71cb8 33875 if (!wxPyCheckForApp()) SWIG_fail;
e811c8ce
RD
33876 PyThreadState* __tstate = wxPyBeginAllowThreads();
33877 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
33878
33879 wxPyEndAllowThreads(__tstate);
110da5b0 33880 if (PyErr_Occurred()) SWIG_fail;
e811c8ce 33881 }
15afbcd0 33882 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
e811c8ce
RD
33883 {
33884 if (temp1)
33885 delete arg1;
33886 }
33887 return resultobj;
33888 fail:
33889 {
33890 if (temp1)
33891 delete arg1;
33892 }
33893 return NULL;
33894}
33895
33896
c32bde28 33897static PyObject *_wrap_new_DragTreeItem(PyObject *, PyObject *args, PyObject *kwargs) {
e811c8ce
RD
33898 PyObject *resultobj;
33899 wxPyTreeCtrl *arg1 = 0 ;
33900 wxTreeItemId *arg2 = 0 ;
33901 wxGenericDragImage *result;
33902 PyObject * obj0 = 0 ;
33903 PyObject * obj1 = 0 ;
33904 char *kwnames[] = {
33905 (char *) "treeCtrl",(char *) "id", NULL
33906 };
33907
33908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
33909 {
33910 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
33911 if (SWIG_arg_fail(1)) SWIG_fail;
33912 if (arg1 == NULL) {
33913 SWIG_null_ref("wxPyTreeCtrl");
33914 }
33915 if (SWIG_arg_fail(1)) SWIG_fail;
e811c8ce 33916 }
093d3ff1
RD
33917 {
33918 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
33919 if (SWIG_arg_fail(2)) SWIG_fail;
33920 if (arg2 == NULL) {
33921 SWIG_null_ref("wxTreeItemId");
33922 }
33923 if (SWIG_arg_fail(2)) SWIG_fail;
e811c8ce
RD
33924 }
33925 {
e3b71cb8 33926 if (!wxPyCheckForApp()) SWIG_fail;
e811c8ce
RD
33927 PyThreadState* __tstate = wxPyBeginAllowThreads();
33928 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
33929
33930 wxPyEndAllowThreads(__tstate);
110da5b0 33931 if (PyErr_Occurred()) SWIG_fail;
e811c8ce 33932 }
15afbcd0 33933 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
e811c8ce
RD
33934 return resultobj;
33935 fail:
33936 return NULL;
33937}
33938
33939
c32bde28 33940static PyObject *_wrap_new_DragListItem(PyObject *, PyObject *args, PyObject *kwargs) {
e811c8ce
RD
33941 PyObject *resultobj;
33942 wxPyListCtrl *arg1 = 0 ;
33943 long arg2 ;
33944 wxGenericDragImage *result;
33945 PyObject * obj0 = 0 ;
994141e6 33946 PyObject * obj1 = 0 ;
e811c8ce
RD
33947 char *kwnames[] = {
33948 (char *) "listCtrl",(char *) "id", NULL
33949 };
33950
994141e6 33951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragListItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
33952 {
33953 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
33954 if (SWIG_arg_fail(1)) SWIG_fail;
33955 if (arg1 == NULL) {
33956 SWIG_null_ref("wxPyListCtrl");
33957 }
33958 if (SWIG_arg_fail(1)) SWIG_fail;
33959 }
33960 {
33961 arg2 = (long)(SWIG_As_long(obj1));
33962 if (SWIG_arg_fail(2)) SWIG_fail;
994141e6 33963 }
e811c8ce 33964 {
e3b71cb8 33965 if (!wxPyCheckForApp()) SWIG_fail;
e811c8ce
RD
33966 PyThreadState* __tstate = wxPyBeginAllowThreads();
33967 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
33968
33969 wxPyEndAllowThreads(__tstate);
110da5b0 33970 if (PyErr_Occurred()) SWIG_fail;
e811c8ce 33971 }
15afbcd0 33972 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
e811c8ce
RD
33973 return resultobj;
33974 fail:
33975 return NULL;
33976}
33977
33978
c32bde28 33979static PyObject *_wrap_delete_DragImage(PyObject *, PyObject *args, PyObject *kwargs) {
e811c8ce
RD
33980 PyObject *resultobj;
33981 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
33982 PyObject * obj0 = 0 ;
33983 char *kwnames[] = {
33984 (char *) "self", NULL
33985 };
33986
33987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail;
093d3ff1
RD
33988 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
33989 if (SWIG_arg_fail(1)) SWIG_fail;
e811c8ce
RD
33990 {
33991 PyThreadState* __tstate = wxPyBeginAllowThreads();
33992 delete arg1;
33993
33994 wxPyEndAllowThreads(__tstate);
33995 if (PyErr_Occurred()) SWIG_fail;
33996 }
33997 Py_INCREF(Py_None); resultobj = Py_None;
33998 return resultobj;
33999 fail:
34000 return NULL;
34001}
34002
34003
c32bde28 34004static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
e811c8ce
RD
34005 PyObject *resultobj;
34006 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34007 wxBitmap *arg2 = (wxBitmap *) 0 ;
34008 PyObject * obj0 = 0 ;
34009 PyObject * obj1 = 0 ;
34010 char *kwnames[] = {
34011 (char *) "self",(char *) "bitmap", NULL
34012 };
34013
34014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) 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;
34017 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
34018 if (SWIG_arg_fail(2)) SWIG_fail;
e811c8ce
RD
34019 {
34020 PyThreadState* __tstate = wxPyBeginAllowThreads();
34021 (arg1)->SetBackingBitmap(arg2);
34022
34023 wxPyEndAllowThreads(__tstate);
34024 if (PyErr_Occurred()) SWIG_fail;
34025 }
34026 Py_INCREF(Py_None); resultobj = Py_None;
34027 return resultobj;
34028 fail:
34029 return NULL;
34030}
34031
34032
c32bde28 34033static PyObject *_wrap_DragImage_BeginDrag(PyObject *, PyObject *args, PyObject *kwargs) {
e811c8ce
RD
34034 PyObject *resultobj;
34035 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34036 wxPoint *arg2 = 0 ;
34037 wxWindow *arg3 = (wxWindow *) 0 ;
ae8162c8 34038 bool arg4 = (bool) false ;
e811c8ce
RD
34039 wxRect *arg5 = (wxRect *) NULL ;
34040 bool result;
34041 wxPoint temp2 ;
34042 PyObject * obj0 = 0 ;
34043 PyObject * obj1 = 0 ;
34044 PyObject * obj2 = 0 ;
34045 PyObject * obj3 = 0 ;
34046 PyObject * obj4 = 0 ;
34047 char *kwnames[] = {
34048 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
34049 };
34050
34051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
34052 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34053 if (SWIG_arg_fail(1)) SWIG_fail;
e811c8ce
RD
34054 {
34055 arg2 = &temp2;
34056 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34057 }
093d3ff1
RD
34058 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34059 if (SWIG_arg_fail(3)) SWIG_fail;
e811c8ce 34060 if (obj3) {
093d3ff1
RD
34061 {
34062 arg4 = (bool)(SWIG_As_bool(obj3));
34063 if (SWIG_arg_fail(4)) SWIG_fail;
34064 }
e811c8ce
RD
34065 }
34066 if (obj4) {
093d3ff1
RD
34067 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
34068 if (SWIG_arg_fail(5)) SWIG_fail;
e811c8ce
RD
34069 }
34070 {
34071 PyThreadState* __tstate = wxPyBeginAllowThreads();
34072 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
34073
34074 wxPyEndAllowThreads(__tstate);
34075 if (PyErr_Occurred()) SWIG_fail;
34076 }
4f89f6a3
RD
34077 {
34078 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34079 }
e811c8ce
RD
34080 return resultobj;
34081 fail:
34082 return NULL;
34083}
34084
34085
c32bde28 34086static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *, PyObject *args, PyObject *kwargs) {
e811c8ce
RD
34087 PyObject *resultobj;
34088 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34089 wxPoint *arg2 = 0 ;
34090 wxWindow *arg3 = (wxWindow *) 0 ;
34091 wxWindow *arg4 = (wxWindow *) 0 ;
34092 bool result;
34093 wxPoint temp2 ;
34094 PyObject * obj0 = 0 ;
34095 PyObject * obj1 = 0 ;
34096 PyObject * obj2 = 0 ;
34097 PyObject * obj3 = 0 ;
34098 char *kwnames[] = {
34099 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
34100 };
34101
34102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
34103 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34104 if (SWIG_arg_fail(1)) SWIG_fail;
e811c8ce
RD
34105 {
34106 arg2 = &temp2;
34107 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34108 }
093d3ff1
RD
34109 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34110 if (SWIG_arg_fail(3)) SWIG_fail;
34111 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34112 if (SWIG_arg_fail(4)) SWIG_fail;
e811c8ce
RD
34113 {
34114 PyThreadState* __tstate = wxPyBeginAllowThreads();
34115 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
34116
34117 wxPyEndAllowThreads(__tstate);
34118 if (PyErr_Occurred()) SWIG_fail;
34119 }
4f89f6a3
RD
34120 {
34121 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34122 }
e811c8ce
RD
34123 return resultobj;
34124 fail:
34125 return NULL;
34126}
34127
34128
c32bde28 34129static PyObject *_wrap_DragImage_EndDrag(PyObject *, PyObject *args, PyObject *kwargs) {
e811c8ce
RD
34130 PyObject *resultobj;
34131 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34132 bool result;
34133 PyObject * obj0 = 0 ;
34134 char *kwnames[] = {
34135 (char *) "self", NULL
34136 };
34137
34138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail;
093d3ff1
RD
34139 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34140 if (SWIG_arg_fail(1)) SWIG_fail;
e811c8ce
RD
34141 {
34142 PyThreadState* __tstate = wxPyBeginAllowThreads();
34143 result = (bool)(arg1)->EndDrag();
34144
34145 wxPyEndAllowThreads(__tstate);
34146 if (PyErr_Occurred()) SWIG_fail;
34147 }
4f89f6a3
RD
34148 {
34149 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34150 }
e811c8ce
RD
34151 return resultobj;
34152 fail:
34153 return NULL;
34154}
34155
34156
c32bde28 34157static PyObject *_wrap_DragImage_Move(PyObject *, PyObject *args, PyObject *kwargs) {
e811c8ce
RD
34158 PyObject *resultobj;
34159 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34160 wxPoint *arg2 = 0 ;
34161 bool result;
34162 wxPoint temp2 ;
34163 PyObject * obj0 = 0 ;
34164 PyObject * obj1 = 0 ;
34165 char *kwnames[] = {
34166 (char *) "self",(char *) "pt", NULL
34167 };
34168
34169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
34170 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34171 if (SWIG_arg_fail(1)) SWIG_fail;
e811c8ce
RD
34172 {
34173 arg2 = &temp2;
34174 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34175 }
34176 {
34177 PyThreadState* __tstate = wxPyBeginAllowThreads();
34178 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
34179
34180 wxPyEndAllowThreads(__tstate);
34181 if (PyErr_Occurred()) SWIG_fail;
34182 }
4f89f6a3
RD
34183 {
34184 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34185 }
e811c8ce
RD
34186 return resultobj;
34187 fail:
34188 return NULL;
34189}
34190
34191
c32bde28 34192static PyObject *_wrap_DragImage_Show(PyObject *, PyObject *args, PyObject *kwargs) {
e811c8ce
RD
34193 PyObject *resultobj;
34194 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34195 bool result;
34196 PyObject * obj0 = 0 ;
34197 char *kwnames[] = {
34198 (char *) "self", NULL
34199 };
34200
34201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail;
093d3ff1
RD
34202 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34203 if (SWIG_arg_fail(1)) SWIG_fail;
e811c8ce
RD
34204 {
34205 PyThreadState* __tstate = wxPyBeginAllowThreads();
34206 result = (bool)(arg1)->Show();
34207
34208 wxPyEndAllowThreads(__tstate);
34209 if (PyErr_Occurred()) SWIG_fail;
34210 }
4f89f6a3
RD
34211 {
34212 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34213 }
e811c8ce
RD
34214 return resultobj;
34215 fail:
34216 return NULL;
34217}
34218
34219
c32bde28 34220static PyObject *_wrap_DragImage_Hide(PyObject *, PyObject *args, PyObject *kwargs) {
e811c8ce
RD
34221 PyObject *resultobj;
34222 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34223 bool result;
34224 PyObject * obj0 = 0 ;
34225 char *kwnames[] = {
34226 (char *) "self", NULL
34227 };
34228
34229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail;
093d3ff1
RD
34230 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34231 if (SWIG_arg_fail(1)) SWIG_fail;
e811c8ce
RD
34232 {
34233 PyThreadState* __tstate = wxPyBeginAllowThreads();
34234 result = (bool)(arg1)->Hide();
34235
34236 wxPyEndAllowThreads(__tstate);
34237 if (PyErr_Occurred()) SWIG_fail;
34238 }
4f89f6a3
RD
34239 {
34240 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34241 }
e811c8ce
RD
34242 return resultobj;
34243 fail:
34244 return NULL;
34245}
34246
34247
c32bde28 34248static PyObject *_wrap_DragImage_GetImageRect(PyObject *, PyObject *args, PyObject *kwargs) {
e811c8ce
RD
34249 PyObject *resultobj;
34250 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34251 wxPoint *arg2 = 0 ;
34252 wxRect result;
34253 wxPoint temp2 ;
34254 PyObject * obj0 = 0 ;
34255 PyObject * obj1 = 0 ;
34256 char *kwnames[] = {
34257 (char *) "self",(char *) "pos", NULL
34258 };
34259
34260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
34261 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34262 if (SWIG_arg_fail(1)) SWIG_fail;
e811c8ce
RD
34263 {
34264 arg2 = &temp2;
34265 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34266 }
34267 {
34268 PyThreadState* __tstate = wxPyBeginAllowThreads();
34269 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
34270
34271 wxPyEndAllowThreads(__tstate);
34272 if (PyErr_Occurred()) SWIG_fail;
34273 }
34274 {
34275 wxRect * resultptr;
093d3ff1 34276 resultptr = new wxRect((wxRect &)(result));
15afbcd0 34277 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
e811c8ce
RD
34278 }
34279 return resultobj;
34280 fail:
34281 return NULL;
34282}
34283
34284
c32bde28 34285static PyObject *_wrap_DragImage_DoDrawImage(PyObject *, PyObject *args, PyObject *kwargs) {
e811c8ce
RD
34286 PyObject *resultobj;
34287 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34288 wxDC *arg2 = 0 ;
34289 wxPoint *arg3 = 0 ;
34290 bool result;
34291 wxPoint temp3 ;
34292 PyObject * obj0 = 0 ;
34293 PyObject * obj1 = 0 ;
34294 PyObject * obj2 = 0 ;
34295 char *kwnames[] = {
34296 (char *) "self",(char *) "dc",(char *) "pos", NULL
34297 };
34298
34299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
34300 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34301 if (SWIG_arg_fail(1)) SWIG_fail;
34302 {
34303 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
34304 if (SWIG_arg_fail(2)) SWIG_fail;
34305 if (arg2 == NULL) {
34306 SWIG_null_ref("wxDC");
34307 }
34308 if (SWIG_arg_fail(2)) SWIG_fail;
e811c8ce
RD
34309 }
34310 {
34311 arg3 = &temp3;
34312 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
34313 }
34314 {
34315 PyThreadState* __tstate = wxPyBeginAllowThreads();
34316 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
34317
34318 wxPyEndAllowThreads(__tstate);
34319 if (PyErr_Occurred()) SWIG_fail;
34320 }
4f89f6a3
RD
34321 {
34322 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34323 }
e811c8ce
RD
34324 return resultobj;
34325 fail:
34326 return NULL;
34327}
34328
34329
c32bde28 34330static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
e811c8ce
RD
34331 PyObject *resultobj;
34332 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34333 wxDC *arg2 = 0 ;
34334 wxMemoryDC *arg3 = 0 ;
34335 wxRect *arg4 = 0 ;
34336 wxRect *arg5 = 0 ;
34337 bool result;
34338 wxRect temp4 ;
34339 wxRect temp5 ;
34340 PyObject * obj0 = 0 ;
34341 PyObject * obj1 = 0 ;
34342 PyObject * obj2 = 0 ;
34343 PyObject * obj3 = 0 ;
34344 PyObject * obj4 = 0 ;
34345 char *kwnames[] = {
34346 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
34347 };
34348
34349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
34350 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34351 if (SWIG_arg_fail(1)) SWIG_fail;
34352 {
34353 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
34354 if (SWIG_arg_fail(2)) SWIG_fail;
34355 if (arg2 == NULL) {
34356 SWIG_null_ref("wxDC");
34357 }
34358 if (SWIG_arg_fail(2)) SWIG_fail;
34359 }
34360 {
34361 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxMemoryDC, SWIG_POINTER_EXCEPTION | 0);
34362 if (SWIG_arg_fail(3)) SWIG_fail;
34363 if (arg3 == NULL) {
34364 SWIG_null_ref("wxMemoryDC");
34365 }
34366 if (SWIG_arg_fail(3)) SWIG_fail;
e811c8ce
RD
34367 }
34368 {
34369 arg4 = &temp4;
34370 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
34371 }
34372 {
34373 arg5 = &temp5;
34374 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
34375 }
34376 {
34377 PyThreadState* __tstate = wxPyBeginAllowThreads();
34378 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
34379
34380 wxPyEndAllowThreads(__tstate);
34381 if (PyErr_Occurred()) SWIG_fail;
34382 }
4f89f6a3
RD
34383 {
34384 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34385 }
e811c8ce
RD
34386 return resultobj;
34387 fail:
34388 return NULL;
34389}
34390
34391
c32bde28 34392static PyObject *_wrap_DragImage_RedrawImage(PyObject *, PyObject *args, PyObject *kwargs) {
e811c8ce
RD
34393 PyObject *resultobj;
34394 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34395 wxPoint *arg2 = 0 ;
34396 wxPoint *arg3 = 0 ;
34397 bool arg4 ;
34398 bool arg5 ;
34399 bool result;
34400 wxPoint temp2 ;
34401 wxPoint temp3 ;
34402 PyObject * obj0 = 0 ;
34403 PyObject * obj1 = 0 ;
34404 PyObject * obj2 = 0 ;
34405 PyObject * obj3 = 0 ;
34406 PyObject * obj4 = 0 ;
34407 char *kwnames[] = {
34408 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
34409 };
34410
34411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
34412 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34413 if (SWIG_arg_fail(1)) SWIG_fail;
e811c8ce
RD
34414 {
34415 arg2 = &temp2;
34416 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34417 }
34418 {
34419 arg3 = &temp3;
34420 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
34421 }
093d3ff1
RD
34422 {
34423 arg4 = (bool)(SWIG_As_bool(obj3));
34424 if (SWIG_arg_fail(4)) SWIG_fail;
34425 }
34426 {
34427 arg5 = (bool)(SWIG_As_bool(obj4));
34428 if (SWIG_arg_fail(5)) SWIG_fail;
34429 }
e811c8ce
RD
34430 {
34431 PyThreadState* __tstate = wxPyBeginAllowThreads();
34432 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
34433
34434 wxPyEndAllowThreads(__tstate);
34435 if (PyErr_Occurred()) SWIG_fail;
34436 }
4f89f6a3
RD
34437 {
34438 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34439 }
e811c8ce
RD
34440 return resultobj;
34441 fail:
34442 return NULL;
34443}
34444
34445
c32bde28 34446static PyObject * DragImage_swigregister(PyObject *, PyObject *args) {
e811c8ce
RD
34447 PyObject *obj;
34448 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34449 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj);
34450 Py_INCREF(obj);
34451 return Py_BuildValue((char *)"");
34452}
53aa7709
RD
34453static int _wrap_DatePickerCtrlNameStr_set(PyObject *) {
34454 PyErr_SetString(PyExc_TypeError,"Variable DatePickerCtrlNameStr is read-only.");
34455 return 1;
34456}
34457
34458
34459static PyObject *_wrap_DatePickerCtrlNameStr_get(void) {
34460 PyObject *pyobj;
34461
34462 {
34463#if wxUSE_UNICODE
34464 pyobj = PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr)->c_str(), (&wxPyDatePickerCtrlNameStr)->Len());
34465#else
34466 pyobj = PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr)->c_str(), (&wxPyDatePickerCtrlNameStr)->Len());
34467#endif
34468 }
34469 return pyobj;
34470}
34471
34472
34473static PyObject *_wrap_new_DatePickerCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
34474 PyObject *resultobj;
34475 wxWindow *arg1 = (wxWindow *) 0 ;
34476 int arg2 = (int) -1 ;
34477 wxDateTime const &arg3_defvalue = wxDefaultDateTime ;
34478 wxDateTime *arg3 = (wxDateTime *) &arg3_defvalue ;
34479 wxPoint const &arg4_defvalue = wxDefaultPosition ;
34480 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
34481 wxSize const &arg5_defvalue = wxDefaultSize ;
34482 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
34483 long arg6 = (long) wxDP_DEFAULT|wxDP_SHOWCENTURY ;
34484 wxValidator const &arg7_defvalue = wxDefaultValidator ;
34485 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
34486 wxString const &arg8_defvalue = wxPyDatePickerCtrlNameStr ;
34487 wxString *arg8 = (wxString *) &arg8_defvalue ;
34488 wxDatePickerCtrl *result;
34489 wxPoint temp4 ;
34490 wxSize temp5 ;
34491 bool temp8 = false ;
34492 PyObject * obj0 = 0 ;
34493 PyObject * obj1 = 0 ;
34494 PyObject * obj2 = 0 ;
34495 PyObject * obj3 = 0 ;
34496 PyObject * obj4 = 0 ;
34497 PyObject * obj5 = 0 ;
34498 PyObject * obj6 = 0 ;
34499 PyObject * obj7 = 0 ;
34500 char *kwnames[] = {
34501 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34502 };
34503
34504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
34505 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34506 if (SWIG_arg_fail(1)) SWIG_fail;
34507 if (obj1) {
34508 {
34509 arg2 = (int)(SWIG_As_int(obj1));
34510 if (SWIG_arg_fail(2)) SWIG_fail;
34511 }
34512 }
34513 if (obj2) {
34514 {
34515 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
34516 if (SWIG_arg_fail(3)) SWIG_fail;
34517 if (arg3 == NULL) {
34518 SWIG_null_ref("wxDateTime");
34519 }
34520 if (SWIG_arg_fail(3)) SWIG_fail;
34521 }
34522 }
34523 if (obj3) {
34524 {
34525 arg4 = &temp4;
34526 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
34527 }
34528 }
34529 if (obj4) {
34530 {
34531 arg5 = &temp5;
34532 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
34533 }
34534 }
34535 if (obj5) {
34536 {
34537 arg6 = (long)(SWIG_As_long(obj5));
34538 if (SWIG_arg_fail(6)) SWIG_fail;
34539 }
34540 }
34541 if (obj6) {
34542 {
34543 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
34544 if (SWIG_arg_fail(7)) SWIG_fail;
34545 if (arg7 == NULL) {
34546 SWIG_null_ref("wxValidator");
34547 }
34548 if (SWIG_arg_fail(7)) SWIG_fail;
34549 }
34550 }
34551 if (obj7) {
34552 {
34553 arg8 = wxString_in_helper(obj7);
34554 if (arg8 == NULL) SWIG_fail;
34555 temp8 = true;
34556 }
34557 }
34558 {
34559 if (!wxPyCheckForApp()) SWIG_fail;
34560 PyThreadState* __tstate = wxPyBeginAllowThreads();
34561 result = (wxDatePickerCtrl *)new wxDatePickerCtrl(arg1,arg2,(wxDateTime const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
34562
34563 wxPyEndAllowThreads(__tstate);
34564 if (PyErr_Occurred()) SWIG_fail;
34565 }
34566 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDatePickerCtrl, 1);
34567 {
34568 if (temp8)
34569 delete arg8;
34570 }
34571 return resultobj;
34572 fail:
34573 {
34574 if (temp8)
34575 delete arg8;
34576 }
34577 return NULL;
34578}
34579
34580
34581static PyObject *_wrap_new_PreDatePickerCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
34582 PyObject *resultobj;
34583 wxDatePickerCtrl *result;
34584 char *kwnames[] = {
34585 NULL
34586 };
34587
34588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDatePickerCtrl",kwnames)) goto fail;
34589 {
34590 if (!wxPyCheckForApp()) SWIG_fail;
34591 PyThreadState* __tstate = wxPyBeginAllowThreads();
34592 result = (wxDatePickerCtrl *)new wxDatePickerCtrl();
34593
34594 wxPyEndAllowThreads(__tstate);
34595 if (PyErr_Occurred()) SWIG_fail;
34596 }
34597 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDatePickerCtrl, 1);
34598 return resultobj;
34599 fail:
34600 return NULL;
34601}
34602
34603
34604static PyObject *_wrap_DatePickerCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
34605 PyObject *resultobj;
34606 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
34607 wxWindow *arg2 = (wxWindow *) 0 ;
34608 int arg3 = (int) -1 ;
34609 wxDateTime const &arg4_defvalue = wxDefaultDateTime ;
34610 wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ;
34611 wxPoint const &arg5_defvalue = wxDefaultPosition ;
34612 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
34613 wxSize const &arg6_defvalue = wxDefaultSize ;
34614 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
34615 long arg7 = (long) wxDP_DEFAULT|wxDP_SHOWCENTURY ;
34616 wxValidator const &arg8_defvalue = wxDefaultValidator ;
34617 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
34618 wxString const &arg9_defvalue = wxPyDatePickerCtrlNameStr ;
34619 wxString *arg9 = (wxString *) &arg9_defvalue ;
34620 bool result;
34621 wxPoint temp5 ;
34622 wxSize temp6 ;
34623 bool temp9 = false ;
34624 PyObject * obj0 = 0 ;
34625 PyObject * obj1 = 0 ;
34626 PyObject * obj2 = 0 ;
34627 PyObject * obj3 = 0 ;
34628 PyObject * obj4 = 0 ;
34629 PyObject * obj5 = 0 ;
34630 PyObject * obj6 = 0 ;
34631 PyObject * obj7 = 0 ;
34632 PyObject * obj8 = 0 ;
34633 char *kwnames[] = {
34634 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34635 };
34636
34637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
34638 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
34639 if (SWIG_arg_fail(1)) SWIG_fail;
34640 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34641 if (SWIG_arg_fail(2)) SWIG_fail;
34642 if (obj2) {
34643 {
34644 arg3 = (int)(SWIG_As_int(obj2));
34645 if (SWIG_arg_fail(3)) SWIG_fail;
34646 }
34647 }
34648 if (obj3) {
34649 {
34650 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
34651 if (SWIG_arg_fail(4)) SWIG_fail;
34652 if (arg4 == NULL) {
34653 SWIG_null_ref("wxDateTime");
34654 }
34655 if (SWIG_arg_fail(4)) SWIG_fail;
34656 }
34657 }
34658 if (obj4) {
34659 {
34660 arg5 = &temp5;
34661 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
34662 }
34663 }
34664 if (obj5) {
34665 {
34666 arg6 = &temp6;
34667 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
34668 }
34669 }
34670 if (obj6) {
34671 {
34672 arg7 = (long)(SWIG_As_long(obj6));
34673 if (SWIG_arg_fail(7)) SWIG_fail;
34674 }
34675 }
34676 if (obj7) {
34677 {
34678 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
34679 if (SWIG_arg_fail(8)) SWIG_fail;
34680 if (arg8 == NULL) {
34681 SWIG_null_ref("wxValidator");
34682 }
34683 if (SWIG_arg_fail(8)) SWIG_fail;
34684 }
34685 }
34686 if (obj8) {
34687 {
34688 arg9 = wxString_in_helper(obj8);
34689 if (arg9 == NULL) SWIG_fail;
34690 temp9 = true;
34691 }
34692 }
34693 {
34694 PyThreadState* __tstate = wxPyBeginAllowThreads();
34695 result = (bool)(arg1)->Create(arg2,arg3,(wxDateTime const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
34696
34697 wxPyEndAllowThreads(__tstate);
34698 if (PyErr_Occurred()) SWIG_fail;
34699 }
34700 {
34701 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34702 }
34703 {
34704 if (temp9)
34705 delete arg9;
34706 }
34707 return resultobj;
34708 fail:
34709 {
34710 if (temp9)
34711 delete arg9;
34712 }
34713 return NULL;
34714}
34715
34716
34717static PyObject *_wrap_DatePickerCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
34718 PyObject *resultobj;
34719 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
34720 wxDateTime *arg2 = 0 ;
34721 PyObject * obj0 = 0 ;
34722 PyObject * obj1 = 0 ;
34723 char *kwnames[] = {
34724 (char *) "self",(char *) "dt", NULL
34725 };
34726
34727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DatePickerCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
34728 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
34729 if (SWIG_arg_fail(1)) SWIG_fail;
34730 {
34731 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
34732 if (SWIG_arg_fail(2)) SWIG_fail;
34733 if (arg2 == NULL) {
34734 SWIG_null_ref("wxDateTime");
34735 }
34736 if (SWIG_arg_fail(2)) SWIG_fail;
34737 }
34738 {
34739 PyThreadState* __tstate = wxPyBeginAllowThreads();
34740 (arg1)->SetValue((wxDateTime const &)*arg2);
34741
34742 wxPyEndAllowThreads(__tstate);
34743 if (PyErr_Occurred()) SWIG_fail;
34744 }
34745 Py_INCREF(Py_None); resultobj = Py_None;
34746 return resultobj;
34747 fail:
34748 return NULL;
34749}
34750
34751
34752static PyObject *_wrap_DatePickerCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
34753 PyObject *resultobj;
34754 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
34755 wxDateTime result;
34756 PyObject * obj0 = 0 ;
34757 char *kwnames[] = {
34758 (char *) "self", NULL
34759 };
34760
34761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DatePickerCtrl_GetValue",kwnames,&obj0)) goto fail;
34762 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
34763 if (SWIG_arg_fail(1)) SWIG_fail;
34764 {
34765 PyThreadState* __tstate = wxPyBeginAllowThreads();
34766 result = ((wxDatePickerCtrl const *)arg1)->GetValue();
34767
34768 wxPyEndAllowThreads(__tstate);
34769 if (PyErr_Occurred()) SWIG_fail;
34770 }
34771 {
34772 wxDateTime * resultptr;
34773 resultptr = new wxDateTime((wxDateTime &)(result));
34774 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
34775 }
34776 return resultobj;
34777 fail:
34778 return NULL;
34779}
34780
34781
34782static PyObject *_wrap_DatePickerCtrl_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
34783 PyObject *resultobj;
34784 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
34785 wxDateTime *arg2 = 0 ;
34786 wxDateTime *arg3 = 0 ;
34787 PyObject * obj0 = 0 ;
34788 PyObject * obj1 = 0 ;
34789 PyObject * obj2 = 0 ;
34790 char *kwnames[] = {
34791 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
34792 };
34793
34794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DatePickerCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
34795 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
34796 if (SWIG_arg_fail(1)) SWIG_fail;
34797 {
34798 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
34799 if (SWIG_arg_fail(2)) SWIG_fail;
34800 if (arg2 == NULL) {
34801 SWIG_null_ref("wxDateTime");
34802 }
34803 if (SWIG_arg_fail(2)) SWIG_fail;
34804 }
34805 {
34806 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
34807 if (SWIG_arg_fail(3)) SWIG_fail;
34808 if (arg3 == NULL) {
34809 SWIG_null_ref("wxDateTime");
34810 }
34811 if (SWIG_arg_fail(3)) SWIG_fail;
34812 }
34813 {
34814 PyThreadState* __tstate = wxPyBeginAllowThreads();
34815 (arg1)->SetRange((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
34816
34817 wxPyEndAllowThreads(__tstate);
34818 if (PyErr_Occurred()) SWIG_fail;
34819 }
34820 Py_INCREF(Py_None); resultobj = Py_None;
34821 return resultobj;
34822 fail:
34823 return NULL;
34824}
34825
34826
34827static PyObject *_wrap_DatePickerCtrl_GetLowerLimit(PyObject *, PyObject *args, PyObject *kwargs) {
34828 PyObject *resultobj;
34829 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
34830 wxDateTime result;
34831 PyObject * obj0 = 0 ;
34832 char *kwnames[] = {
34833 (char *) "self", NULL
34834 };
34835
34836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DatePickerCtrl_GetLowerLimit",kwnames,&obj0)) goto fail;
34837 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
34838 if (SWIG_arg_fail(1)) SWIG_fail;
34839 {
34840 PyThreadState* __tstate = wxPyBeginAllowThreads();
34841 result = wxDatePickerCtrl_GetLowerLimit(arg1);
34842
34843 wxPyEndAllowThreads(__tstate);
34844 if (PyErr_Occurred()) SWIG_fail;
34845 }
34846 {
34847 wxDateTime * resultptr;
34848 resultptr = new wxDateTime((wxDateTime &)(result));
34849 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
34850 }
34851 return resultobj;
34852 fail:
34853 return NULL;
34854}
34855
34856
34857static PyObject *_wrap_DatePickerCtrl_GetUpperLimit(PyObject *, PyObject *args, PyObject *kwargs) {
34858 PyObject *resultobj;
34859 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
34860 wxDateTime result;
34861 PyObject * obj0 = 0 ;
34862 char *kwnames[] = {
34863 (char *) "self", NULL
34864 };
34865
34866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DatePickerCtrl_GetUpperLimit",kwnames,&obj0)) goto fail;
34867 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
34868 if (SWIG_arg_fail(1)) SWIG_fail;
34869 {
34870 PyThreadState* __tstate = wxPyBeginAllowThreads();
34871 result = wxDatePickerCtrl_GetUpperLimit(arg1);
34872
34873 wxPyEndAllowThreads(__tstate);
34874 if (PyErr_Occurred()) SWIG_fail;
34875 }
34876 {
34877 wxDateTime * resultptr;
34878 resultptr = new wxDateTime((wxDateTime &)(result));
34879 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
34880 }
34881 return resultobj;
34882 fail:
34883 return NULL;
34884}
34885
34886
34887static PyObject * DatePickerCtrl_swigregister(PyObject *, PyObject *args) {
34888 PyObject *obj;
34889 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34890 SWIG_TypeClientData(SWIGTYPE_p_wxDatePickerCtrl, obj);
34891 Py_INCREF(obj);
34892 return Py_BuildValue((char *)"");
34893}
e811c8ce 34894static PyMethodDef SwigMethods[] = {
093d3ff1
RD
34895 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS, NULL},
34896 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS, NULL},
34897 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34898 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS, NULL},
34899 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
34900 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction) _wrap_Button_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34901 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS, NULL},
34902 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS, NULL},
34903 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS, NULL},
34904 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34905 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL},
34906 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL},
34907 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL},
34908 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL},
34909 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL},
34910 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL},
34911 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL},
34912 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL},
34913 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
34914 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS, NULL},
34915 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS, NULL},
34916 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS, NULL},
34917 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS, NULL},
34918 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS, NULL},
34919 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34920 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34921 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL},
34922 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34923 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS, NULL},
34924 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS, NULL},
34925 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS, NULL},
34926 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS, NULL},
34927 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction) _wrap_CheckBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34928 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS, NULL},
34929 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS, NULL},
34930 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS, NULL},
34931 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
34932 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction) _wrap_Choice_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34933 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS, NULL},
34934 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS, NULL},
34935 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS, NULL},
34936 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34937 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34938 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34939 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
34940 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS, NULL},
34941 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS, NULL},
34942 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
34943 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
34944 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS, NULL},
34945 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
34946 { (char *)"ComboBox_SetSelection", (PyCFunction) _wrap_ComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34947 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS, NULL},
b9d6a5f3 34948 { (char *)"ComboBox_GetMark", (PyCFunction) _wrap_ComboBox_GetMark, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
34949 { (char *)"ComboBox_SetStringSelection", (PyCFunction) _wrap_ComboBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34950 { (char *)"ComboBox_SetString", (PyCFunction) _wrap_ComboBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
34951 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
34952 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS, NULL},
34953 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
34954 { (char *)"ComboBox_IsEditable", (PyCFunction) _wrap_ComboBox_IsEditable, METH_VARARGS | METH_KEYWORDS, NULL},
34955 { (char *)"ComboBox_Undo", (PyCFunction) _wrap_ComboBox_Undo, METH_VARARGS | METH_KEYWORDS, NULL},
34956 { (char *)"ComboBox_Redo", (PyCFunction) _wrap_ComboBox_Redo, METH_VARARGS | METH_KEYWORDS, NULL},
34957 { (char *)"ComboBox_SelectAll", (PyCFunction) _wrap_ComboBox_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
34958 { (char *)"ComboBox_CanCopy", (PyCFunction) _wrap_ComboBox_CanCopy, METH_VARARGS | METH_KEYWORDS, NULL},
34959 { (char *)"ComboBox_CanCut", (PyCFunction) _wrap_ComboBox_CanCut, METH_VARARGS | METH_KEYWORDS, NULL},
34960 { (char *)"ComboBox_CanPaste", (PyCFunction) _wrap_ComboBox_CanPaste, METH_VARARGS | METH_KEYWORDS, NULL},
34961 { (char *)"ComboBox_CanUndo", (PyCFunction) _wrap_ComboBox_CanUndo, METH_VARARGS | METH_KEYWORDS, NULL},
34962 { (char *)"ComboBox_CanRedo", (PyCFunction) _wrap_ComboBox_CanRedo, METH_VARARGS | METH_KEYWORDS, NULL},
34963 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ComboBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34964 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS, NULL},
34965 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS, NULL},
34966 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS, NULL},
34967 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34968 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
34969 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
34970 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34971 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34972 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
34973 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL},
34974 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL},
34975 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL},
34976 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL},
34977 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction) _wrap_Gauge_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34978 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS, NULL},
34979 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS, NULL},
34980 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS, NULL},
34981 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34982 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34983 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS, NULL},
34984 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS, NULL},
34985 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS, NULL},
34986 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34987 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
34988 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
34989 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticLine_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34990 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS, NULL},
34991 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS, NULL},
34992 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS, NULL},
34993 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34994 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticText_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34995 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS, NULL},
34996 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
34997 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
34998 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34999 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35000 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35001 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
35002 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBitmap_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35003 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS, NULL},
35004 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS, NULL},
35005 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS, NULL},
35006 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35007 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS, NULL},
35008 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS, NULL},
35009 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS, NULL},
35010 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35011 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35012 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
35013 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS, NULL},
35014 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
35015 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35016 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
35017 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS, NULL},
35018 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS, NULL},
35019 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35020 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35021 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS, NULL},
35022 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction) _wrap_ListBox_SetItemForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35023 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction) _wrap_ListBox_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35024 { (char *)"ListBox_SetItemFont", (PyCFunction) _wrap_ListBox_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
35025 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ListBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35026 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS, NULL},
35027 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS, NULL},
35028 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS, NULL},
35029 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35030 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL},
35031 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS, NULL},
35032 { (char *)"CheckListBox_GetItemHeight", (PyCFunction) _wrap_CheckListBox_GetItemHeight, METH_VARARGS | METH_KEYWORDS, NULL},
35033 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
35034 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
35035 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS, NULL},
35036 { (char *)"new_TextAttr", (PyCFunction) _wrap_new_TextAttr, METH_VARARGS | METH_KEYWORDS, NULL},
35037 { (char *)"delete_TextAttr", (PyCFunction) _wrap_delete_TextAttr, METH_VARARGS | METH_KEYWORDS, NULL},
35038 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS, NULL},
35039 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35040 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35041 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35042 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
35043 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS, NULL},
35044 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35045 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35046 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
35047 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35048 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35049 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS, NULL},
35050 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
35051 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS, NULL},
35052 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35053 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35054 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL},
35055 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35056 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35057 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35058 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
35059 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS, NULL},
35060 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35061 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction) _wrap_TextAttr_GetLeftSubIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35062 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35063 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
35064 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS, NULL},
35065 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS, NULL},
35066 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS, NULL},
35067 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35068 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35069 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35070 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35071 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35072 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35073 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS, NULL},
35074 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS, NULL},
35075 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS, NULL},
35076 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS, NULL},
35077 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS, NULL},
35078 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS, NULL},
35079 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS, NULL},
35080 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35081 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35082 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
35083 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
35084 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
35085 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
35086 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL},
35087 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS, NULL},
35088 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS, NULL},
35089 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS, NULL},
35090 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS, NULL},
35091 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS, NULL},
35092 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS, NULL},
35093 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35094 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35095 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35096 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35097 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35098 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS, NULL},
35099 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35100 { (char *)"TextCtrl_HitTest", (PyCFunction) _wrap_TextCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
35101 { (char *)"TextCtrl_HitTestPos", (PyCFunction) _wrap_TextCtrl_HitTestPos, METH_VARARGS | METH_KEYWORDS, NULL},
35102 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
35103 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS, NULL},
35104 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS, NULL},
35105 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS, NULL},
35106 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS, NULL},
35107 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS, NULL},
35108 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS, NULL},
35109 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS, NULL},
35110 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS, NULL},
35111 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS, NULL},
35112 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35113 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS, NULL},
35114 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35115 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35116 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35117 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
35118 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
35119 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS, NULL},
35120 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
35121 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TextCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35122 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS, NULL},
35123 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35124 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35125 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS, NULL},
35126 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS, NULL},
35127 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS, NULL},
35128 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
35129 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
35130 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35131 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35132 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS, NULL},
35133 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
35134 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35135 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35136 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35137 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS, NULL},
35138 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrollBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35139 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS, NULL},
35140 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS, NULL},
35141 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS, NULL},
35142 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35143 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35144 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS, NULL},
35145 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS, NULL},
35146 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35147 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS, NULL},
35148 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS, NULL},
35149 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35150 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35151 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35152 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS, NULL},
35153 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35154 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35155 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35156 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35157 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35158 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS, NULL},
35159 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35160 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS, NULL},
35161 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS, NULL},
35162 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35163 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35164 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS, NULL},
35165 { (char *)"new_SpinEvent", (PyCFunction) _wrap_new_SpinEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35166 { (char *)"SpinEvent_GetPosition", (PyCFunction) _wrap_SpinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35167 { (char *)"SpinEvent_SetPosition", (PyCFunction) _wrap_SpinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35168 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister, METH_VARARGS, NULL},
35169 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS, NULL},
35170 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS, NULL},
35171 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35172 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35173 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35174 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35175 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35176 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS, NULL},
35177 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS, NULL},
35178 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
35179 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
35180 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS, NULL},
35181 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS, NULL},
35182 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL},
35183 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS, NULL},
35184 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
35185 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35186 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS, NULL},
35187 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS, NULL},
35188 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS, NULL},
35189 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35190 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35191 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35192 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35193 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS, NULL},
35194 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS, NULL},
35195 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS, NULL},
35196 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35197 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35198 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35199 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35200 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS, NULL},
35201 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS, NULL},
35202 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS, NULL},
35203 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS, NULL},
35204 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS, NULL},
35205 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
35206 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS, NULL},
35207 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
35208 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL},
35209 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL},
35210 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL},
35211 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL},
35212 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS, NULL},
35213 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS, NULL},
35214 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS, NULL},
35215 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS, NULL},
35216 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS, NULL},
35217 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35218 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction) _wrap_Slider_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35219 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS, NULL},
35220 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS, NULL},
35221 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS, NULL},
35222 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35223 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35224 { (char *)"ToggleButton_GetValue", (PyCFunction) _wrap_ToggleButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35225 { (char *)"ToggleButton_SetLabel", (PyCFunction) _wrap_ToggleButton_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35226 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction) _wrap_ToggleButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35227 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS, NULL},
35228 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction) _wrap_BookCtrlBase_GetPageCount, METH_VARARGS | METH_KEYWORDS, NULL},
35229 { (char *)"BookCtrlBase_GetPage", (PyCFunction) _wrap_BookCtrlBase_GetPage, METH_VARARGS | METH_KEYWORDS, NULL},
35230 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction) _wrap_BookCtrlBase_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
35231 { (char *)"BookCtrlBase_GetSelection", (PyCFunction) _wrap_BookCtrlBase_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35232 { (char *)"BookCtrlBase_SetPageText", (PyCFunction) _wrap_BookCtrlBase_SetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
35233 { (char *)"BookCtrlBase_GetPageText", (PyCFunction) _wrap_BookCtrlBase_GetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
35234 { (char *)"BookCtrlBase_SetImageList", (PyCFunction) _wrap_BookCtrlBase_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35235 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction) _wrap_BookCtrlBase_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35236 { (char *)"BookCtrlBase_GetImageList", (PyCFunction) _wrap_BookCtrlBase_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35237 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction) _wrap_BookCtrlBase_GetPageImage, METH_VARARGS | METH_KEYWORDS, NULL},
35238 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction) _wrap_BookCtrlBase_SetPageImage, METH_VARARGS | METH_KEYWORDS, NULL},
35239 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction) _wrap_BookCtrlBase_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
35240 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrlBase_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
35241 { (char *)"BookCtrlBase_DeletePage", (PyCFunction) _wrap_BookCtrlBase_DeletePage, METH_VARARGS | METH_KEYWORDS, NULL},
35242 { (char *)"BookCtrlBase_RemovePage", (PyCFunction) _wrap_BookCtrlBase_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL},
35243 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction) _wrap_BookCtrlBase_DeleteAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
35244 { (char *)"BookCtrlBase_AddPage", (PyCFunction) _wrap_BookCtrlBase_AddPage, METH_VARARGS | METH_KEYWORDS, NULL},
35245 { (char *)"BookCtrlBase_InsertPage", (PyCFunction) _wrap_BookCtrlBase_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL},
35246 { (char *)"BookCtrlBase_SetSelection", (PyCFunction) _wrap_BookCtrlBase_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35247 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction) _wrap_BookCtrlBase_AdvanceSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35248 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction) _wrap_BookCtrlBase_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35249 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister, METH_VARARGS, NULL},
35250 { (char *)"new_BookCtrlBaseEvent", (PyCFunction) _wrap_new_BookCtrlBaseEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35251 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35252 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35253 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35254 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35255 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister, METH_VARARGS, NULL},
35256 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS, NULL},
35257 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS, NULL},
35258 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35259 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS, NULL},
35260 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS, NULL},
35261 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS, NULL},
35262 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
35263 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
8e738329 35264 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction) _wrap_Notebook_GetThemeBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
35265 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction) _wrap_Notebook_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35266 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS, NULL},
35267 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35268 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS, NULL},
35269 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS, NULL},
35270 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS, NULL},
35271 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35272 { (char *)"Listbook_IsVertical", (PyCFunction) _wrap_Listbook_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35273 { (char *)"Listbook_GetListView", (PyCFunction) _wrap_Listbook_GetListView, METH_VARARGS | METH_KEYWORDS, NULL},
35274 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS, NULL},
35275 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35276 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS, NULL},
35277 { (char *)"new_Choicebook", (PyCFunction) _wrap_new_Choicebook, METH_VARARGS | METH_KEYWORDS, NULL},
35278 { (char *)"new_PreChoicebook", (PyCFunction) _wrap_new_PreChoicebook, METH_VARARGS | METH_KEYWORDS, NULL},
35279 { (char *)"Choicebook_Create", (PyCFunction) _wrap_Choicebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35280 { (char *)"Choicebook_IsVertical", (PyCFunction) _wrap_Choicebook_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35281 { (char *)"Choicebook_DeleteAllPages", (PyCFunction) _wrap_Choicebook_DeleteAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
35282 { (char *)"Choicebook_swigregister", Choicebook_swigregister, METH_VARARGS, NULL},
35283 { (char *)"new_ChoicebookEvent", (PyCFunction) _wrap_new_ChoicebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35284 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister, METH_VARARGS, NULL},
35285 { (char *)"new_BookCtrlSizer", (PyCFunction) _wrap_new_BookCtrlSizer, METH_VARARGS | METH_KEYWORDS, NULL},
35286 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction) _wrap_BookCtrlSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS, NULL},
35287 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction) _wrap_BookCtrlSizer_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL},
35288 { (char *)"BookCtrlSizer_GetControl", (PyCFunction) _wrap_BookCtrlSizer_GetControl, METH_VARARGS | METH_KEYWORDS, NULL},
35289 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister, METH_VARARGS, NULL},
35290 { (char *)"new_NotebookSizer", (PyCFunction) _wrap_new_NotebookSizer, METH_VARARGS | METH_KEYWORDS, NULL},
35291 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction) _wrap_NotebookSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS, NULL},
35292 { (char *)"NotebookSizer_CalcMin", (PyCFunction) _wrap_NotebookSizer_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL},
35293 { (char *)"NotebookSizer_GetNotebook", (PyCFunction) _wrap_NotebookSizer_GetNotebook, METH_VARARGS | METH_KEYWORDS, NULL},
35294 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister, METH_VARARGS, NULL},
35295 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
35296 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS, NULL},
35297 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
35298 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS, NULL},
35299 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS, NULL},
35300 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
35301 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35302 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS, NULL},
35303 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
35304 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS, NULL},
35305 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS, NULL},
35306 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35307 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35308 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35309 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35310 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35311 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35312 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS, NULL},
35313 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
35314 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL},
35315 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35316 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35317 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35318 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35319 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35320 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS, NULL},
35321 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS, NULL},
35322 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS, NULL},
35323 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS, NULL},
35324 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS, NULL},
35325 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS, NULL},
35326 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS, NULL},
35327 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS, NULL},
35328 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS, NULL},
35329 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS, NULL},
35330 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS, NULL},
35331 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS, NULL},
35332 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
35333 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
35334 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS, NULL},
35335 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS, NULL},
35336 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS, NULL},
35337 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS, NULL},
35338 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS, NULL},
35339 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS, NULL},
35340 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS, NULL},
35341 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL},
35342 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL},
35343 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL},
35344 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS, NULL},
35345 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS, NULL},
35346 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
35347 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35348 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35349 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35350 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35351 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
35352 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
35353 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL},
35354 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL},
35355 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS, NULL},
35356 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
35357 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL},
35358 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL},
35359 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS, NULL},
35360 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS, NULL},
35361 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS, NULL},
35362 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS, NULL},
35363 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL},
35364 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL},
35365 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS, NULL},
35366 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35367 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS, NULL},
35368 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35369 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS, NULL},
35370 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
35371 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
35372 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35373 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35374 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ToolBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35375 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS, NULL},
35376 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS, NULL},
35377 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35378 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35379 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35380 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35381 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35382 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS, NULL},
35383 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35384 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35385 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35386 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
35387 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS, NULL},
35388 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS, NULL},
35389 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS, NULL},
35390 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
35391 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35392 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS, NULL},
35393 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
35394 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35395 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS, NULL},
35396 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS, NULL},
35397 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
35398 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS, NULL},
35399 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
35400 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
35401 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
35402 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35403 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35404 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35405 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS, NULL},
35406 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
35407 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35408 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS, NULL},
35409 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS, NULL},
35410 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS, NULL},
35411 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
35412 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
35413 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
35414 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35415 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35416 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35417 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35418 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35419 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS, NULL},
35420 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS, NULL},
35421 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS, NULL},
35422 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS, NULL},
35423 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS, NULL},
35424 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS, NULL},
35425 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS, NULL},
35426 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS, NULL},
35427 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS, NULL},
35428 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS, NULL},
35429 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS, NULL},
35430 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS, NULL},
35431 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS, NULL},
35432 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS, NULL},
35433 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS, NULL},
35434 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS, NULL},
35435 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS, NULL},
35436 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS, NULL},
35437 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS, NULL},
35438 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS, NULL},
35439 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS, NULL},
35440 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35441 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS, NULL},
35442 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS, NULL},
35443 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS, NULL},
35444 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS, NULL},
35445 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS, NULL},
35446 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS, NULL},
35447 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS, NULL},
35448 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS, NULL},
35449 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS, NULL},
35450 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS, NULL},
35451 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS, NULL},
35452 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL},
35453 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS, NULL},
35454 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35455 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35456 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35457 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS, NULL},
35458 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS, NULL},
35459 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
35460 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS, NULL},
35461 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35462 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS, NULL},
35463 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS, NULL},
35464 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS, NULL},
35465 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
35466 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS, NULL},
35467 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35468 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35469 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35470 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
35471 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35472 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35473 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35474 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35475 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
35476 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
35477 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS, NULL},
35478 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS, NULL},
35479 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35480 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35481 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
35482 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS, NULL},
35483 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS, NULL},
35484 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
35485 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
35486 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
35487 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35488 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35489 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35490 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS, NULL},
35491 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35492 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
35493 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL},
35494 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
35495 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction) _wrap_ListCtrl_SetItemSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
35496 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
35497 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35498 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35499 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS, NULL},
35500 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35501 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS, NULL},
35502 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
35503 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35504 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35505 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35506 { (char *)"ListCtrl_InReportView", (PyCFunction) _wrap_ListCtrl_InReportView, METH_VARARGS | METH_KEYWORDS, NULL},
35507 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS, NULL},
35508 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS, NULL},
35509 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS, NULL},
35510 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS, NULL},
35511 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS, NULL},
35512 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS, NULL},
35513 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35514 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS, NULL},
35515 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS, NULL},
35516 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35517 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35518 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS, NULL},
35519 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35520 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS, NULL},
35521 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
35522 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
35523 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
35524 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS, NULL},
35525 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
35526 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction) _wrap_ListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL},
35527 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35528 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
35529 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS, NULL},
35530 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35531 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35532 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35533 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35534 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS, NULL},
35535 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35536 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_ListCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35537 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS, NULL},
35538 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS, NULL},
35539 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS, NULL},
35540 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35541 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS, NULL},
35542 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS, NULL},
35543 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS, NULL},
35544 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35545 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35546 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35547 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
35548 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
35549 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS, NULL},
35550 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS, NULL},
35551 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS, NULL},
35552 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
35553 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
35554 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
35555 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS, NULL},
35556 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS, NULL},
35557 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS, NULL},
35558 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35559 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
35560 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
35561 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
35562 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
35563 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
35564 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS, NULL},
35565 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35566 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35567 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35568 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS, NULL},
35569 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS, NULL},
35570 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35571 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35572 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35573 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL},
35574 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35575 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35576 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35577 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS, NULL},
35578 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
35579 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
562ecc31 35580 { (char *)"TreeEvent_GetToolTip", (PyCFunction) _wrap_TreeEvent_GetToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
35581 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS, NULL},
35582 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35583 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35584 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35585 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
35586 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS, NULL},
35587 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35588 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35589 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
35590 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
35591 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35592 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35593 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35594 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35595 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35596 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35597 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
35598 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
35599 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35600 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
35601 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35602 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35603 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
35604 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
35605 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
35606 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35607 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
35608 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
35609 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS, NULL},
fef4c27a 35610 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction) _wrap_TreeCtrl_SetItemDropHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
35611 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35612 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35613 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
35614 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35615 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
35616 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
35617 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35618 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS, NULL},
35619 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS, NULL},
35620 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS, NULL},
35621 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35622 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
35623 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS, NULL},
35624 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL},
35625 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS, NULL},
35626 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL},
35627 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS, NULL},
35628 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS, NULL},
35629 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS, NULL},
35630 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35631 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35632 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS, NULL},
35633 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL},
35634 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
35635 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS, NULL},
35636 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL},
35637 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS, NULL},
35638 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS, NULL},
35639 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS, NULL},
35640 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS, NULL},
35641 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS, NULL},
35642 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS, NULL},
35643 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
35644 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS, NULL},
35645 { (char *)"TreeCtrl_UnselectItem", (PyCFunction) _wrap_TreeCtrl_UnselectItem, METH_VARARGS | METH_KEYWORDS, NULL},
35646 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
35647 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS, NULL},
35648 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction) _wrap_TreeCtrl_ToggleItemSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35649 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35650 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS, NULL},
35651 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35652 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS, NULL},
35653 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS, NULL},
35654 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
35655 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
35656 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TreeCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35657 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS, NULL},
35658 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35659 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35660 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35661 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS, NULL},
35662 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL},
35663 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL},
35664 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS, NULL},
35665 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS, NULL},
35666 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
35667 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS, NULL},
35668 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS, NULL},
35669 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS, NULL},
35670 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS, NULL},
35671 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
35672 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
35673 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS, NULL},
35674 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35675 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35676 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS, NULL},
35677 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS, NULL},
35678 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS, NULL},
35679 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS, NULL},
35680 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35681 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35682 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35683 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS, NULL},
35684 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS, NULL},
35685 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS, NULL},
35686 { (char *)"new_PrePyControl", (PyCFunction) _wrap_new_PrePyControl, METH_VARARGS | METH_KEYWORDS, NULL},
35687 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
35688 { (char *)"PyControl_SetBestSize", (PyCFunction) _wrap_PyControl_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
35689 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction) _wrap_PyControl_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35690 { (char *)"PyControl_base_DoSetSize", (PyCFunction) _wrap_PyControl_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
35691 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction) _wrap_PyControl_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
35692 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
35693 { (char *)"PyControl_base_DoGetSize", (PyCFunction) _wrap_PyControl_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
35694 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction) _wrap_PyControl_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
35695 { (char *)"PyControl_base_DoGetPosition", (PyCFunction) _wrap_PyControl_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35696 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
35697 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction) _wrap_PyControl_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
35698 { (char *)"PyControl_base_InitDialog", (PyCFunction) _wrap_PyControl_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
35699 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction) _wrap_PyControl_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35700 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35701 { (char *)"PyControl_base_Validate", (PyCFunction) _wrap_PyControl_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
35702 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction) _wrap_PyControl_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
35703 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
35704 { (char *)"PyControl_base_GetMaxSize", (PyCFunction) _wrap_PyControl_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
35705 { (char *)"PyControl_base_AddChild", (PyCFunction) _wrap_PyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
35706 { (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
35707 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction) _wrap_PyControl_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
35708 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyControl_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL},
35709 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction) _wrap_PyControl_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35710 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS, NULL},
35711 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35712 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35713 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35714 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS, NULL},
35715 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS, NULL},
35716 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS, NULL},
35717 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS, NULL},
35718 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS, NULL},
35719 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35720 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35721 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35722 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35723 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS, NULL},
35724 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS, NULL},
35725 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS, NULL},
35726 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS, NULL},
35727 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS, NULL},
35728 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35729 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35730 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35731 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS, NULL},
35732 { (char *)"HelpProvider_RemoveHelp", (PyCFunction) _wrap_HelpProvider_RemoveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35733 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
35734 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS, NULL},
35735 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS, NULL},
35736 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS, NULL},
35737 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS, NULL},
35738 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS, NULL},
35739 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS, NULL},
35740 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS, NULL},
35741 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS, NULL},
35742 { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS, NULL},
35743 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35744 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS, NULL},
35745 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS, NULL},
35746 { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS, NULL},
35747 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS, NULL},
35748 { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS, NULL},
35749 { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS, NULL},
35750 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS, NULL},
35751 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS, NULL},
35752 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35753 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS, NULL},
35754 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS, NULL},
53aa7709
RD
35755 { (char *)"new_DatePickerCtrl", (PyCFunction) _wrap_new_DatePickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35756 { (char *)"new_PreDatePickerCtrl", (PyCFunction) _wrap_new_PreDatePickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35757 { (char *)"DatePickerCtrl_Create", (PyCFunction) _wrap_DatePickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35758 { (char *)"DatePickerCtrl_SetValue", (PyCFunction) _wrap_DatePickerCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35759 { (char *)"DatePickerCtrl_GetValue", (PyCFunction) _wrap_DatePickerCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35760 { (char *)"DatePickerCtrl_SetRange", (PyCFunction) _wrap_DatePickerCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35761 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction) _wrap_DatePickerCtrl_GetLowerLimit, METH_VARARGS | METH_KEYWORDS, NULL},
35762 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction) _wrap_DatePickerCtrl_GetUpperLimit, METH_VARARGS | METH_KEYWORDS, NULL},
35763 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister, METH_VARARGS, NULL},
c32bde28 35764 { NULL, NULL, 0, NULL }
d14a1e28
RD
35765};
35766
35767
35768/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
35769
d14a1e28
RD
35770static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
35771 return (void *)((wxSizer *) ((wxBoxSizer *) x));
35772}
35773static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
35774 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
35775}
e505d15e
RD
35776static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x) {
35777 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
35778}
d14a1e28
RD
35779static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
35780 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
35781}
35782static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
35783 return (void *)((wxSizer *) ((wxGridSizer *) x));
35784}
35785static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
35786 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
35787}
35788static void *_p_wxNotebookSizerTo_p_wxSizer(void *x) {
35789 return (void *)((wxSizer *) ((wxNotebookSizer *) x));
35790}
35791static void *_p_wxPySizerTo_p_wxSizer(void *x) {
35792 return (void *)((wxSizer *) ((wxPySizer *) x));
35793}
35794static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x) {
35795 return (void *)((wxSizer *) ((wxBookCtrlSizer *) x));
35796}
35797static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
35798 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
35799}
35800static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
35801 return (void *)((wxEvent *) ((wxMenuEvent *) x));
35802}
35803static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
35804 return (void *)((wxEvent *) ((wxCloseEvent *) x));
35805}
35806static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
35807 return (void *)((wxEvent *) ((wxMouseEvent *) x));
35808}
35809static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
35810 return (void *)((wxEvent *) ((wxEraseEvent *) x));
35811}
8ac8dba0
RD
35812static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x) {
35813 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
35814}
d14a1e28
RD
35815static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
35816 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
35817}
35818static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
35819 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
35820}
35821static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
35822 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
35823}
35824static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
35825 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
35826}
35827static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
35828 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
35829}
d14a1e28
RD
35830static void *_p_wxPyEventTo_p_wxEvent(void *x) {
35831 return (void *)((wxEvent *) ((wxPyEvent *) x));
35832}
35833static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
35834 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
35835}
35836static void *_p_wxListEventTo_p_wxEvent(void *x) {
35837 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
35838}
35839static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
8ac8dba0 35840 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
d14a1e28
RD
35841}
35842static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
8ac8dba0 35843 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
d14a1e28 35844}
2ef75293 35845static void *_p_wxChoicebookEventTo_p_wxEvent(void *x) {
8ac8dba0 35846 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
2ef75293 35847}
d14a1e28
RD
35848static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
35849 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
35850}
35851static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
35852 return (void *)((wxEvent *) ((wxIdleEvent *) x));
35853}
35854static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
35855 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
35856}
35857static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
35858 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
35859}
35860static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
35861 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
35862}
35863static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
35864 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
35865}
35866static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
35867 return (void *)((wxEvent *) ((wxActivateEvent *) x));
35868}
35869static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
35870 return (void *)((wxEvent *) ((wxSizeEvent *) x));
35871}
35872static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
35873 return (void *)((wxEvent *) ((wxMoveEvent *) x));
35874}
53aa7709
RD
35875static void *_p_wxDateEventTo_p_wxEvent(void *x) {
35876 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
35877}
d14a1e28
RD
35878static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
35879 return (void *)((wxEvent *) ((wxPaintEvent *) x));
35880}
35881static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
35882 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
35883}
35884static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
35885 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
35886}
35887static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
35888 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
35889}
35890static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
35891 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
35892}
35893static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
35894 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
35895}
35896static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
35897 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
35898}
35899static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
35900 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
35901}
35902static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
35903 return (void *)((wxEvent *) ((wxFocusEvent *) x));
35904}
35905static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
35906 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
35907}
35908static void *_p_wxShowEventTo_p_wxEvent(void *x) {
35909 return (void *)((wxEvent *) ((wxShowEvent *) x));
35910}
35911static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
35912 return (void *)((wxEvent *) ((wxCommandEvent *) x));
35913}
35914static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
35915 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
35916}
35917static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
35918 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
35919}
35920static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
35921 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
35922}
35923static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
35924 return (void *)((wxEvent *) ((wxKeyEvent *) x));
35925}
35926static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
35927 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
35928}
d1e20054
RD
35929static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
35930 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
35931}
d14a1e28
RD
35932static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
35933 return (void *)((wxItemContainer *) ((wxComboBox *) x));
35934}
35935static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
35936 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
35937}
35938static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
35939 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
35940}
35941static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
35942 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
35943}
35944static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
35945 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
35946}
35947static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
35948 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
35949}
35950static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
35951 return (void *)((wxPyListCtrl *) ((wxListView *) x));
35952}
8ac8dba0
RD
35953static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x) {
35954 return (void *)((wxControl *) ((wxBookCtrlBase *) x));
d14a1e28
RD
35955}
35956static void *_p_wxToolBarTo_p_wxControl(void *x) {
35957 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
35958}
2ef75293
RD
35959static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
35960 return (void *)((wxControl *) ((wxToggleButton *) x));
d14a1e28 35961}
2ef75293
RD
35962static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
35963 return (void *)((wxControl *) ((wxRadioButton *) x));
d14a1e28 35964}
2ef75293
RD
35965static void *_p_wxPyControlTo_p_wxControl(void *x) {
35966 return (void *)((wxControl *) ((wxPyControl *) x));
d14a1e28 35967}
2ef75293
RD
35968static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
35969 return (void *)((wxControl *) ((wxToolBarBase *) x));
35970}
35971static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
35972 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
d14a1e28
RD
35973}
35974static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
35975 return (void *)((wxControl *) ((wxPyListCtrl *) x));
35976}
2ef75293
RD
35977static void *_p_wxComboBoxTo_p_wxControl(void *x) {
35978 return (void *)((wxControl *) ((wxComboBox *) x));
d14a1e28 35979}
2ef75293
RD
35980static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
35981 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
d14a1e28
RD
35982}
35983static void *_p_wxScrollBarTo_p_wxControl(void *x) {
35984 return (void *)((wxControl *) ((wxScrollBar *) x));
35985}
2ef75293
RD
35986static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
35987 return (void *)((wxControl *) ((wxControlWithItems *) x));
d14a1e28
RD
35988}
35989static void *_p_wxGaugeTo_p_wxControl(void *x) {
35990 return (void *)((wxControl *) ((wxGauge *) x));
35991}
2ef75293
RD
35992static void *_p_wxStaticLineTo_p_wxControl(void *x) {
35993 return (void *)((wxControl *) ((wxStaticLine *) x));
d14a1e28 35994}
2ef75293 35995static void *_p_wxChoicebookTo_p_wxControl(void *x) {
8ac8dba0 35996 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxChoicebook *) x));
d14a1e28 35997}
2ef75293 35998static void *_p_wxListbookTo_p_wxControl(void *x) {
8ac8dba0 35999 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxListbook *) x));
d14a1e28 36000}
2ef75293
RD
36001static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
36002 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
d14a1e28 36003}
2ef75293
RD
36004static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
36005 return (void *)((wxControl *) ((wxCheckBox *) x));
d14a1e28
RD
36006}
36007static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
36008 return (void *)((wxControl *) ((wxRadioBox *) x));
36009}
2ef75293
RD
36010static void *_p_wxChoiceTo_p_wxControl(void *x) {
36011 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
36012}
36013static void *_p_wxListBoxTo_p_wxControl(void *x) {
36014 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
36015}
36016static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
36017 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
36018}
36019static void *_p_wxListViewTo_p_wxControl(void *x) {
36020 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
36021}
d14a1e28 36022static void *_p_wxNotebookTo_p_wxControl(void *x) {
8ac8dba0 36023 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxNotebook *) x));
d14a1e28 36024}
2ef75293
RD
36025static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
36026 return (void *)((wxControl *) ((wxStaticBitmap *) x));
d14a1e28 36027}
2ef75293
RD
36028static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
36029 return (void *)((wxControl *) ((wxSpinCtrl *) x));
d14a1e28 36030}
2ef75293
RD
36031static void *_p_wxStaticTextTo_p_wxControl(void *x) {
36032 return (void *)((wxControl *) ((wxStaticText *) x));
d14a1e28 36033}
2ef75293
RD
36034static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
36035 return (void *)((wxControl *) ((wxStaticBox *) x));
d14a1e28
RD
36036}
36037static void *_p_wxSliderTo_p_wxControl(void *x) {
36038 return (void *)((wxControl *) ((wxSlider *) x));
36039}
2ef75293
RD
36040static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
36041 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
d14a1e28 36042}
2ef75293
RD
36043static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
36044 return (void *)((wxControl *) ((wxSpinButton *) x));
d14a1e28 36045}
2ef75293
RD
36046static void *_p_wxButtonTo_p_wxControl(void *x) {
36047 return (void *)((wxControl *) ((wxButton *) x));
d14a1e28 36048}
2ef75293
RD
36049static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
36050 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
36051}
53aa7709
RD
36052static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x) {
36053 return (void *)((wxControl *) ((wxDatePickerCtrl *) x));
36054}
2ef75293
RD
36055static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
36056 return (void *)((wxControl *) ((wxTextCtrl *) x));
d14a1e28
RD
36057}
36058static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
36059 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
36060}
36061static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
36062 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
36063}
8ac8dba0
RD
36064static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x) {
36065 return (void *)((wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
36066}
d14a1e28
RD
36067static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
36068 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
36069}
d14a1e28
RD
36070static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
36071 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
36072}
d1e20054
RD
36073static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x) {
36074 return (void *)((wxNotifyEvent *) ((wxSpinEvent *) x));
36075}
d14a1e28 36076static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
8ac8dba0 36077 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
d14a1e28
RD
36078}
36079static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
8ac8dba0 36080 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
d14a1e28 36081}
2ef75293 36082static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x) {
8ac8dba0
RD
36083 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
36084}
36085static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x) {
36086 return (void *)((wxBookCtrlBase *) ((wxChoicebook *) x));
36087}
36088static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x) {
36089 return (void *)((wxBookCtrlBase *) ((wxListbook *) x));
2ef75293 36090}
8ac8dba0
RD
36091static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x) {
36092 return (void *)((wxBookCtrlBase *) ((wxNotebook *) x));
d14a1e28
RD
36093}
36094static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
36095 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
36096}
8ac8dba0
RD
36097static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x) {
36098 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
36099}
d14a1e28
RD
36100static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
36101 return (void *)((wxEvtHandler *) ((wxValidator *) x));
36102}
36103static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
36104 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
36105}
36106static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
36107 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
36108}
36109static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
36110 return (void *)((wxEvtHandler *) ((wxMenu *) x));
36111}
36112static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
36113 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
36114}
36115static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
36116 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
36117}
36118static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
36119 return (void *)((wxEvtHandler *) ((wxWindow *) x));
36120}
36121static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
36122 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
36123}
36124static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
36125 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
36126}
d14a1e28
RD
36127static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
36128 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxComboBox *) x));
36129}
2ef75293
RD
36130static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
36131 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
36132}
d14a1e28
RD
36133static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
36134 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
36135}
36136static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
36137 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
36138}
36139static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
36140 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
36141}
36142static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
36143 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
36144}
36145static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
36146 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
36147}
36148static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
36149 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
36150}
36151static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
36152 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
36153}
36154static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
36155 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
36156}
2ef75293 36157static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x) {
8ac8dba0 36158 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
2ef75293 36159}
d14a1e28 36160static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
8ac8dba0 36161 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
d14a1e28
RD
36162}
36163static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
36164 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
36165}
36166static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
36167 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
36168}
36169static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
36170 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
36171}
36172static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
36173 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
36174}
36175static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
36176 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
36177}
36178static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
36179 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
36180}
36181static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
8ac8dba0 36182 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
d14a1e28
RD
36183}
36184static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
36185 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
36186}
36187static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
36188 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
36189}
36190static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
36191 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
36192}
36193static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
36194 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
36195}
36196static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
36197 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
36198}
36199static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
36200 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
36201}
36202static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
36203 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
36204}
36205static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
36206 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
36207}
36208static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
36209 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
36210}
36211static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
36212 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
36213}
53aa7709
RD
36214static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x) {
36215 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
36216}
d14a1e28
RD
36217static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
36218 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
36219}
36220static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
36221 return (void *)((wxListBox *) ((wxCheckListBox *) x));
36222}
d14a1e28
RD
36223static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
36224 return (void *)((wxButton *) ((wxBitmapButton *) x));
36225}
36226static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
36227 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
36228}
36229static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
36230 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
36231}
36232static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
36233 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
36234}
36235static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
36236 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
36237}
36238static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
36239 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
36240}
36241static void *_p_wxSizerItemTo_p_wxObject(void *x) {
36242 return (void *)((wxObject *) ((wxSizerItem *) x));
36243}
36244static void *_p_wxScrollEventTo_p_wxObject(void *x) {
36245 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
36246}
36247static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
36248 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
36249}
36250static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
36251 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
36252}
d14a1e28
RD
36253static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
36254 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
36255}
36256static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
36257 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
36258}
36259static void *_p_wxSizerTo_p_wxObject(void *x) {
36260 return (void *)((wxObject *) ((wxSizer *) x));
36261}
36262static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
36263 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
36264}
36265static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
36266 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
36267}
36268static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
36269 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
36270}
36271static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
36272 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
36273}
36274static void *_p_wxEventTo_p_wxObject(void *x) {
36275 return (void *)((wxObject *) ((wxEvent *) x));
36276}
36277static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
36278 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
36279}
36280static void *_p_wxGridSizerTo_p_wxObject(void *x) {
36281 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
36282}
36283static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
36284 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
36285}
36286static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
36287 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
36288}
36289static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
36290 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
36291}
36292static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
36293 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
36294}
36295static void *_p_wxPaintEventTo_p_wxObject(void *x) {
36296 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
36297}
36298static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
36299 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
36300}
36301static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
36302 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
36303}
36304static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
36305 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
36306}
36307static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
36308 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
36309}
36310static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
36311 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
36312}
36313static void *_p_wxStaticLineTo_p_wxObject(void *x) {
36314 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
36315}
36316static void *_p_wxControlTo_p_wxObject(void *x) {
36317 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
36318}
36319static void *_p_wxPyControlTo_p_wxObject(void *x) {
36320 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
36321}
36322static void *_p_wxGaugeTo_p_wxObject(void *x) {
36323 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
36324}
36325static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
36326 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
36327}
36328static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
36329 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
36330}
36331static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
36332 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
36333}
36334static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
36335 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
36336}
36337static void *_p_wxChoiceTo_p_wxObject(void *x) {
36338 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
36339}
36340static void *_p_wxFSFileTo_p_wxObject(void *x) {
36341 return (void *)((wxObject *) ((wxFSFile *) x));
36342}
36343static void *_p_wxPySizerTo_p_wxObject(void *x) {
36344 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
36345}
36346static void *_p_wxListViewTo_p_wxObject(void *x) {
36347 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
36348}
36349static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
36350 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
36351}
36352static void *_p_wxNotebookTo_p_wxObject(void *x) {
8ac8dba0 36353 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
d14a1e28
RD
36354}
36355static void *_p_wxPyEventTo_p_wxObject(void *x) {
36356 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
36357}
36358static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
36359 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
36360}
2ef75293 36361static void *_p_wxChoicebookTo_p_wxObject(void *x) {
8ac8dba0 36362 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
2ef75293 36363}
d14a1e28 36364static void *_p_wxListbookTo_p_wxObject(void *x) {
8ac8dba0 36365 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
d14a1e28
RD
36366}
36367static void *_p_wxShowEventTo_p_wxObject(void *x) {
36368 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
36369}
36370static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
36371 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
36372}
36373static void *_p_wxSliderTo_p_wxObject(void *x) {
36374 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
36375}
36376static void *_p_wxMenuItemTo_p_wxObject(void *x) {
36377 return (void *)((wxObject *) ((wxMenuItem *) x));
36378}
53aa7709
RD
36379static void *_p_wxDateEventTo_p_wxObject(void *x) {
36380 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
36381}
d14a1e28
RD
36382static void *_p_wxIdleEventTo_p_wxObject(void *x) {
36383 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
36384}
36385static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
36386 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
36387}
36388static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
36389 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
36390}
36391static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
36392 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
36393}
36394static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
36395 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
36396}
36397static void *_p_wxSizeEventTo_p_wxObject(void *x) {
36398 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
36399}
36400static void *_p_wxMoveEventTo_p_wxObject(void *x) {
36401 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
36402}
36403static void *_p_wxActivateEventTo_p_wxObject(void *x) {
36404 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
36405}
36406static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
36407 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
36408}
36409static void *_p_wxContextHelpTo_p_wxObject(void *x) {
36410 return (void *)((wxObject *) ((wxContextHelp *) x));
36411}
8ac8dba0
RD
36412static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x) {
36413 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
36414}
d14a1e28
RD
36415static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
36416 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
36417}
36418static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
36419 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
36420}
36421static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
36422 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
36423}
36424static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
36425 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
36426}
36427static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
36428 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
36429}
36430static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
36431 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
36432}
36433static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
36434 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
36435}
36436static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
36437 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
36438}
36439static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
36440 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
36441}
36442static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
36443 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
36444}
36445static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
36446 return (void *)((wxObject *) ((wxImageHandler *) x));
36447}
36448static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
36449 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
36450}
36451static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
36452 return (void *)((wxObject *) ((wxEvtHandler *) x));
36453}
36454static void *_p_wxListEventTo_p_wxObject(void *x) {
36455 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
36456}
36457static void *_p_wxListBoxTo_p_wxObject(void *x) {
36458 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
36459}
36460static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
36461 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
36462}
d14a1e28
RD
36463static void *_p_wxButtonTo_p_wxObject(void *x) {
36464 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
36465}
1e0c8722
RD
36466static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
36467 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
36468}
d14a1e28
RD
36469static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
36470 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
36471}
36472static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
36473 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
36474}
e505d15e
RD
36475static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
36476 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
36477}
1e0c8722
RD
36478static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
36479 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
36480}
d14a1e28
RD
36481static void *_p_wxScrollBarTo_p_wxObject(void *x) {
36482 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
36483}
36484static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
36485 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
36486}
36487static void *_p_wxComboBoxTo_p_wxObject(void *x) {
36488 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxComboBox *) x));
36489}
36490static void *_p_wxHelpEventTo_p_wxObject(void *x) {
36491 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
36492}
36493static void *_p_wxListItemTo_p_wxObject(void *x) {
36494 return (void *)((wxObject *) ((wxListItem *) x));
36495}
36496static void *_p_wxImageTo_p_wxObject(void *x) {
36497 return (void *)((wxObject *) ((wxImage *) x));
36498}
36499static void *_p_wxNotebookSizerTo_p_wxObject(void *x) {
36500 return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x));
36501}
36502static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
36503 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
36504}
d1e20054
RD
36505static void *_p_wxSpinEventTo_p_wxObject(void *x) {
36506 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
36507}
e811c8ce
RD
36508static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
36509 return (void *)((wxObject *) ((wxGenericDragImage *) x));
36510}
d14a1e28
RD
36511static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
36512 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
36513}
36514static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
8ac8dba0 36515 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
d14a1e28
RD
36516}
36517static void *_p_wxListbookEventTo_p_wxObject(void *x) {
8ac8dba0 36518 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
d14a1e28 36519}
2ef75293 36520static void *_p_wxChoicebookEventTo_p_wxObject(void *x) {
8ac8dba0 36521 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
2ef75293 36522}
d14a1e28
RD
36523static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
36524 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
36525}
36526static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
36527 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
36528}
36529static void *_p_wxKeyEventTo_p_wxObject(void *x) {
36530 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
36531}
36532static void *_p_wxWindowTo_p_wxObject(void *x) {
36533 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
36534}
36535static void *_p_wxMenuTo_p_wxObject(void *x) {
36536 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
36537}
36538static void *_p_wxMenuBarTo_p_wxObject(void *x) {
36539 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
36540}
36541static void *_p_wxFileSystemTo_p_wxObject(void *x) {
36542 return (void *)((wxObject *) ((wxFileSystem *) x));
36543}
36544static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
36545 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
36546}
36547static void *_p_wxMenuEventTo_p_wxObject(void *x) {
36548 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
36549}
36550static void *_p_wxPyAppTo_p_wxObject(void *x) {
36551 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
36552}
36553static void *_p_wxCloseEventTo_p_wxObject(void *x) {
36554 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
36555}
36556static void *_p_wxMouseEventTo_p_wxObject(void *x) {
36557 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
36558}
36559static void *_p_wxEraseEventTo_p_wxObject(void *x) {
36560 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
36561}
8ac8dba0
RD
36562static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x) {
36563 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
36564}
d14a1e28
RD
36565static void *_p_wxTreeEventTo_p_wxObject(void *x) {
36566 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
36567}
36568static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
36569 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
36570}
36571static void *_p_wxCommandEventTo_p_wxObject(void *x) {
36572 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
36573}
36574static void *_p_wxStaticTextTo_p_wxObject(void *x) {
36575 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
36576}
36577static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
36578 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
36579}
36580static void *_p_wxFocusEventTo_p_wxObject(void *x) {
36581 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
36582}
36583static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
36584 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
36585}
53aa7709
RD
36586static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x) {
36587 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
36588}
d14a1e28
RD
36589static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
36590 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
36591}
36592static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
36593 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
36594}
36595static void *_p_wxToolBarTo_p_wxObject(void *x) {
36596 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
36597}
36598static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
36599 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
36600}
36601static void *_p_wxValidatorTo_p_wxObject(void *x) {
36602 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
36603}
36604static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) {
36605 return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x));
36606}
d14a1e28
RD
36607static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
36608 return (void *)((wxWindow *) ((wxMenuBar *) x));
36609}
8ac8dba0
RD
36610static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x) {
36611 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrlBase *) x));
36612}
d14a1e28
RD
36613static void *_p_wxToolBarTo_p_wxWindow(void *x) {
36614 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
36615}
36616static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
36617 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
36618}
36619static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
36620 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
36621}
d14a1e28
RD
36622static void *_p_wxControlTo_p_wxWindow(void *x) {
36623 return (void *)((wxWindow *) ((wxControl *) x));
36624}
36625static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
36626 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
36627}
36628static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
36629 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
36630}
36631static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
36632 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
36633}
36634static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
36635 return (void *)((wxWindow *) (wxControl *) ((wxComboBox *) x));
36636}
2ef75293
RD
36637static void *_p_wxPyControlTo_p_wxWindow(void *x) {
36638 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
36639}
d14a1e28
RD
36640static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
36641 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
36642}
36643static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
36644 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
36645}
36646static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
36647 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
36648}
36649static void *_p_wxGaugeTo_p_wxWindow(void *x) {
36650 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
36651}
36652static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
36653 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
36654}
2ef75293 36655static void *_p_wxChoicebookTo_p_wxWindow(void *x) {
8ac8dba0 36656 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
2ef75293 36657}
d14a1e28 36658static void *_p_wxListbookTo_p_wxWindow(void *x) {
8ac8dba0 36659 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
d14a1e28
RD
36660}
36661static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
36662 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
36663}
36664static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
36665 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
36666}
36667static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
36668 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
36669}
36670static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
36671 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
36672}
36673static void *_p_wxChoiceTo_p_wxWindow(void *x) {
36674 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
36675}
36676static void *_p_wxListBoxTo_p_wxWindow(void *x) {
36677 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
36678}
36679static void *_p_wxListViewTo_p_wxWindow(void *x) {
36680 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
36681}
36682static void *_p_wxNotebookTo_p_wxWindow(void *x) {
8ac8dba0 36683 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
d14a1e28
RD
36684}
36685static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
36686 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
36687}
36688static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
36689 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
36690}
36691static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
36692 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
36693}
36694static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
36695 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
36696}
36697static void *_p_wxSliderTo_p_wxWindow(void *x) {
36698 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
36699}
36700static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
36701 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
36702}
36703static void *_p_wxButtonTo_p_wxWindow(void *x) {
36704 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
36705}
36706static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
36707 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
36708}
36709static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
36710 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
36711}
53aa7709
RD
36712static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x) {
36713 return (void *)((wxWindow *) (wxControl *) ((wxDatePickerCtrl *) x));
36714}
d14a1e28
RD
36715static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
36716 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
36717}
8ac8dba0
RD
36718static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
36719 return (void *)((wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
36720}
36721static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x) {
36722 return (void *)((wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
36723}
36724static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
36725 return (void *)((wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
36726}
d14a1e28
RD
36727static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
36728 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
36729}
d14a1e28
RD
36730static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
36731 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
36732}
36733static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
36734 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
36735}
36736static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
36737 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
36738}
36739static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
36740 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
36741}
36742static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
36743 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
36744}
36745static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
8ac8dba0 36746 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
d14a1e28
RD
36747}
36748static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
8ac8dba0 36749 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
d14a1e28 36750}
53aa7709
RD
36751static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x) {
36752 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
36753}
36754static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
36755 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
36756}
d14a1e28
RD
36757static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
36758 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
36759}
2ef75293
RD
36760static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
36761 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
36762}
8ac8dba0
RD
36763static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x) {
36764 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
36765}
d14a1e28
RD
36766static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
36767 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
36768}
d1e20054
RD
36769static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
36770 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
36771}
d14a1e28
RD
36772static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
36773 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
36774}
36775static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
36776 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
36777}
36778static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
36779 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
36780}
36781static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
36782 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
36783}
36784static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
36785 return (void *)((wxControlWithItems *) ((wxChoice *) x));
36786}
36787static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
36788 return (void *)((wxControlWithItems *) ((wxListBox *) x));
36789}
36790static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
36791 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
36792}
36793static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
36794 return (void *)((wxValidator *) ((wxPyValidator *) x));
36795}
15afbcd0 36796static 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 36797static 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
36798static 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}};
36799static swig_type_info _swigt__p_wxPyTreeCtrl[] = {{"_p_wxPyTreeCtrl", 0, "wxPyTreeCtrl *", 0, 0, 0, 0},{"_p_wxPyTreeCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
53aa7709 36800static swig_type_info _swigt__p_wxEvent[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBaseEvent", _p_wxBookCtrlBaseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15afbcd0
RD
36801static 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}};
36802static 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 36803static 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 36804static 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 36805static 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 36806static 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 36807static swig_type_info _swigt__p_wxStaticLine[] = {{"_p_wxStaticLine", 0, "wxStaticLine *", 0, 0, 0, 0},{"_p_wxStaticLine", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
53aa7709 36808static swig_type_info _swigt__p_wxControl[] = {{"_p_wxControl", 0, "wxControl *", 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxControl", 0, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxDatePickerCtrl", _p_wxDatePickerCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15afbcd0
RD
36809static 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}};
36810static 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}};
36811static 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}};
36812static 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}};
36813static 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}};
36814static 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}};
36815static 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}};
36816static 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
36817static 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}};
36818static 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
36819static 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}};
36820static 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}};
36821static 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}};
36822static 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}};
36823static 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}};
36824static 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}};
36825static 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 36826static 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
36827static 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}};
36828static 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 36829static 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 36830static 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 36831static 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 36832static 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
36833static 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}};
36834static 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}};
36835static 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}};
36836static 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}};
36837static 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}};
36838static 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}};
36839static 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 36840static 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 36841static swig_type_info _swigt__p_wxBookCtrlBase[] = {{"_p_wxBookCtrlBase", 0, "wxBookCtrlBase *", 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxBookCtrlBase, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxBookCtrlBase, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBase", 0, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxBookCtrlBase, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
53aa7709 36842static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDatePickerCtrl", _p_wxDatePickerCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15afbcd0 36843static 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 36844static 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 36845static 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
36846static 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}};
36847static 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}};
36848static 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}};
36849static 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}};
36850static 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}};
36851static 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}};
36852static 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}};
36853static 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 36854static 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 36855static 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
36856static 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}};
36857static 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}};
36858static 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}};
36859static 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}};
36860static 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}};
36861static 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 36862static 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
36863static 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}};
36864static 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}};
36865static 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}};
36866static 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 36867static 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
36868static 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}};
36869static 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 36870static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0, 0, 0, 0},{"_p_wxPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
53aa7709 36871static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextHelp", _p_wxContextHelpTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListItem", _p_wxListItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotebookSizer", _p_wxNotebookSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGenericDragImage", _p_wxGenericDragImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBaseEvent", _p_wxBookCtrlBaseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDatePickerCtrl", _p_wxDatePickerCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToolBarToolBase", _p_wxToolBarToolBaseTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBookCtrlSizer", _p_wxBookCtrlSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15afbcd0 36872static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0, 0, 0, 0},{"_p_wxCursor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
53aa7709 36873static swig_type_info _swigt__p_wxDateTime[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0, 0, 0, 0},{"_p_wxDateTime", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15afbcd0 36874static 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 36875static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *|wxUIntPtr *", 0, 0, 0, 0},{"_p_unsigned_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
53aa7709 36876static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDatePickerCtrl", _p_wxDatePickerCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15afbcd0
RD
36877static 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}};
36878static 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
36879static 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}};
36880static 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}};
36881static 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 36882static 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 36883static 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 36884static swig_type_info _swigt__p_wxTreeEvent[] = {{"_p_wxTreeEvent", 0, "wxTreeEvent *", 0, 0, 0, 0},{"_p_wxTreeEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
53aa7709 36885static swig_type_info _swigt__p_wxCommandEvent[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBaseEvent", _p_wxBookCtrlBaseEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15afbcd0 36886static swig_type_info _swigt__p_wxStaticText[] = {{"_p_wxStaticText", 0, "wxStaticText *", 0, 0, 0, 0},{"_p_wxStaticText", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
53aa7709 36887static swig_type_info _swigt__p_wxDatePickerCtrl[] = {{"_p_wxDatePickerCtrl", 0, "wxDatePickerCtrl *", 0, 0, 0, 0},{"_p_wxDatePickerCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15afbcd0
RD
36888static 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}};
36889static 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}};
36890static 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}};
36891static 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}};
36892static 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}};
36893static 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
36894
36895static swig_type_info *swig_types_initial[] = {
36896_swigt__p_wxTextUrlEvent,
d14a1e28 36897_swigt__p_wxSizer,
d14a1e28
RD
36898_swigt__p_wxCheckBox,
36899_swigt__p_wxPyTreeCtrl,
36900_swigt__p_wxEvent,
36901_swigt__p_wxGenericDirCtrl,
36902_swigt__p_bool,
d14a1e28 36903_swigt__p_wxItemContainer,
d14a1e28 36904_swigt__p_wxPyListCtrl,
093d3ff1 36905_swigt__p_wxPyTreeItemData,
74a57fcd 36906_swigt__p_wxDirFilterListCtrl,
d14a1e28
RD
36907_swigt__p_wxStaticLine,
36908_swigt__p_wxControl,
36909_swigt__p_wxPyControl,
36910_swigt__p_wxGauge,
36911_swigt__p_wxToolBarBase,
36912_swigt__p_wxFont,
36913_swigt__p_wxToggleButton,
36914_swigt__p_wxRadioButton,
36915_swigt__p_wxChoice,
e811c8ce 36916_swigt__p_wxMemoryDC,
093d3ff1
RD
36917_swigt__ptrdiff_t,
36918_swigt__std__ptrdiff_t,
d14a1e28 36919_swigt__p_wxListItemAttr,
58203fa6 36920_swigt__p_void,
d14a1e28
RD
36921_swigt__p_int,
36922_swigt__p_wxSize,
e811c8ce 36923_swigt__p_wxDC,
d14a1e28
RD
36924_swigt__p_wxListView,
36925_swigt__p_wxIcon,
74a57fcd 36926_swigt__p_wxVisualAttributes,
d14a1e28
RD
36927_swigt__p_wxTextCtrl,
36928_swigt__p_wxNotebook,
2ef75293 36929_swigt__p_wxChoicebook,
d14a1e28
RD
36930_swigt__p_wxNotifyEvent,
36931_swigt__p_wxArrayString,
093d3ff1 36932_swigt__p_form_ops_t,
d14a1e28
RD
36933_swigt__p_wxListbook,
36934_swigt__p_wxStaticBitmap,
36935_swigt__p_wxSlider,
36936_swigt__p_wxStaticBox,
36937_swigt__p_wxArrayInt,
36938_swigt__p_wxContextHelp,
36939_swigt__p_long,
093d3ff1 36940_swigt__p_wxDuplexMode,
8ac8dba0 36941_swigt__p_wxBookCtrlBase,
d14a1e28
RD
36942_swigt__p_wxEvtHandler,
36943_swigt__p_wxListEvent,
d14a1e28 36944_swigt__p_wxCheckListBox,
74a57fcd 36945_swigt__p_wxListBox,
d14a1e28
RD
36946_swigt__p_wxSpinButton,
36947_swigt__p_wxButton,
36948_swigt__p_wxBitmapButton,
36949_swigt__p_wxRect,
36950_swigt__p_wxContextHelpButton,
36951_swigt__p_wxRadioBox,
36952_swigt__p_wxScrollBar,
994141e6 36953_swigt__p_char,
d14a1e28 36954_swigt__p_wxComboBox,
093d3ff1 36955_swigt__p_wxTreeItemId,
d14a1e28
RD
36956_swigt__p_wxHelpEvent,
36957_swigt__p_wxListItem,
36958_swigt__p_wxNotebookSizer,
d1e20054 36959_swigt__p_wxSpinEvent,
e811c8ce 36960_swigt__p_wxGenericDragImage,
d14a1e28 36961_swigt__p_wxSpinCtrl,
093d3ff1 36962_swigt__p_wxPaperSize,
d14a1e28
RD
36963_swigt__p_wxImageList,
36964_swigt__p_wxHelpProvider,
36965_swigt__p_wxTextAttr,
36966_swigt__p_wxSimpleHelpProvider,
2ef75293 36967_swigt__p_wxChoicebookEvent,
d14a1e28
RD
36968_swigt__p_wxListbookEvent,
36969_swigt__p_wxNotebookEvent,
093d3ff1 36970_swigt__p_wxPoint,
d14a1e28 36971_swigt__p_wxObject,
e811c8ce 36972_swigt__p_wxCursor,
53aa7709 36973_swigt__p_wxDateTime,
d14a1e28 36974_swigt__p_wxKeyEvent,
093d3ff1 36975_swigt__p_unsigned_long,
d14a1e28
RD
36976_swigt__p_wxWindow,
36977_swigt__p_wxString,
36978_swigt__p_wxBitmap,
093d3ff1
RD
36979_swigt__unsigned_int,
36980_swigt__p_unsigned_int,
36981_swigt__p_unsigned_char,
d14a1e28 36982_swigt__p_wxMouseEvent,
8ac8dba0 36983_swigt__p_wxBookCtrlBaseEvent,
093d3ff1 36984_swigt__p_wxTreeEvent,
d14a1e28
RD
36985_swigt__p_wxCommandEvent,
36986_swigt__p_wxStaticText,
53aa7709 36987_swigt__p_wxDatePickerCtrl,
d14a1e28
RD
36988_swigt__p_wxControlWithItems,
36989_swigt__p_wxToolBarToolBase,
36990_swigt__p_wxColour,
36991_swigt__p_wxToolBar,
36992_swigt__p_wxBookCtrlSizer,
36993_swigt__p_wxValidator,
369940
36995};
36996
36997
36998/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
36999
37000static swig_const_info swig_const_table[] = {
c32bde28 37001{0, 0, 0, 0.0, 0, 0}};
d14a1e28
RD
37002
37003#ifdef __cplusplus
37004}
37005#endif
37006
093d3ff1
RD
37007
37008#ifdef __cplusplus
37009extern "C" {
37010#endif
37011
37012 /* Python-specific SWIG API */
37013#define SWIG_newvarlink() SWIG_Python_newvarlink()
37014#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
37015#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
37016
37017 /* -----------------------------------------------------------------------------
37018 * global variable support code.
37019 * ----------------------------------------------------------------------------- */
37020
37021 typedef struct swig_globalvar {
37022 char *name; /* Name of global variable */
37023 PyObject *(*get_attr)(); /* Return the current value */
37024 int (*set_attr)(PyObject *); /* Set the value */
37025 struct swig_globalvar *next;
37026 } swig_globalvar;
37027
37028 typedef struct swig_varlinkobject {
37029 PyObject_HEAD
37030 swig_globalvar *vars;
37031 } swig_varlinkobject;
37032
37033 static PyObject *
37034 swig_varlink_repr(swig_varlinkobject *v) {
37035 v = v;
37036 return PyString_FromString("<Swig global variables>");
37037 }
37038
37039 static int
37040 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
37041 swig_globalvar *var;
37042 flags = flags;
37043 fprintf(fp,"Swig global variables { ");
37044 for (var = v->vars; var; var=var->next) {
37045 fprintf(fp,"%s", var->name);
37046 if (var->next) fprintf(fp,", ");
37047 }
37048 fprintf(fp," }\n");
37049 return 0;
37050 }
37051
37052 static PyObject *
37053 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
37054 swig_globalvar *var = v->vars;
37055 while (var) {
37056 if (strcmp(var->name,n) == 0) {
37057 return (*var->get_attr)();
37058 }
37059 var = var->next;
37060 }
37061 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
37062 return NULL;
37063 }
37064
37065 static int
37066 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
37067 swig_globalvar *var = v->vars;
37068 while (var) {
37069 if (strcmp(var->name,n) == 0) {
37070 return (*var->set_attr)(p);
37071 }
37072 var = var->next;
37073 }
37074 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
37075 return 1;
37076 }
37077
37078 static PyTypeObject varlinktype = {
37079 PyObject_HEAD_INIT(0)
37080 0, /* Number of items in variable part (ob_size) */
37081 (char *)"swigvarlink", /* Type name (tp_name) */
37082 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
37083 0, /* Itemsize (tp_itemsize) */
37084 0, /* Deallocator (tp_dealloc) */
37085 (printfunc) swig_varlink_print, /* Print (tp_print) */
37086 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
37087 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
37088 0, /* tp_compare */
37089 (reprfunc) swig_varlink_repr, /* tp_repr */
37090 0, /* tp_as_number */
37091 0, /* tp_as_sequence */
37092 0, /* tp_as_mapping */
37093 0, /* tp_hash */
37094 0, /* tp_call */
37095 0, /* tp_str */
37096 0, /* tp_getattro */
37097 0, /* tp_setattro */
37098 0, /* tp_as_buffer */
37099 0, /* tp_flags */
37100 0, /* tp_doc */
37101#if PY_VERSION_HEX >= 0x02000000
37102 0, /* tp_traverse */
37103 0, /* tp_clear */
37104#endif
37105#if PY_VERSION_HEX >= 0x02010000
37106 0, /* tp_richcompare */
37107 0, /* tp_weaklistoffset */
37108#endif
37109#if PY_VERSION_HEX >= 0x02020000
37110 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
37111#endif
37112#if PY_VERSION_HEX >= 0x02030000
37113 0, /* tp_del */
37114#endif
37115#ifdef COUNT_ALLOCS
37116 0,0,0,0 /* tp_alloc -> tp_next */
37117#endif
37118 };
37119
37120 /* Create a variable linking object for use later */
37121 static PyObject *
37122 SWIG_Python_newvarlink(void) {
37123 swig_varlinkobject *result = 0;
37124 result = PyMem_NEW(swig_varlinkobject,1);
37125 varlinktype.ob_type = &PyType_Type; /* Patch varlinktype into a PyType */
37126 result->ob_type = &varlinktype;
37127 result->vars = 0;
37128 result->ob_refcnt = 0;
37129 Py_XINCREF((PyObject *) result);
37130 return ((PyObject*) result);
37131 }
37132
37133 static void
37134 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
37135 swig_varlinkobject *v;
37136 swig_globalvar *gv;
37137 v= (swig_varlinkobject *) p;
37138 gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
37139 gv->name = (char *) malloc(strlen(name)+1);
37140 strcpy(gv->name,name);
37141 gv->get_attr = get_attr;
37142 gv->set_attr = set_attr;
37143 gv->next = v->vars;
37144 v->vars = gv;
37145 }
37146
37147 /* -----------------------------------------------------------------------------
37148 * constants/methods manipulation
37149 * ----------------------------------------------------------------------------- */
37150
37151 /* Install Constants */
37152 static void
37153 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
37154 PyObject *obj = 0;
37155 size_t i;
37156 for (i = 0; constants[i].type; i++) {
37157 switch(constants[i].type) {
37158 case SWIG_PY_INT:
37159 obj = PyInt_FromLong(constants[i].lvalue);
37160 break;
37161 case SWIG_PY_FLOAT:
37162 obj = PyFloat_FromDouble(constants[i].dvalue);
37163 break;
37164 case SWIG_PY_STRING:
37165 if (constants[i].pvalue) {
37166 obj = PyString_FromString((char *) constants[i].pvalue);
37167 } else {
37168 Py_INCREF(Py_None);
37169 obj = Py_None;
37170 }
37171 break;
37172 case SWIG_PY_POINTER:
37173 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
37174 break;
37175 case SWIG_PY_BINARY:
37176 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
37177 break;
37178 default:
37179 obj = 0;
37180 break;
37181 }
37182 if (obj) {
37183 PyDict_SetItemString(d,constants[i].name,obj);
37184 Py_DECREF(obj);
37185 }
37186 }
37187 }
37188
37189 /* -----------------------------------------------------------------------------*/
37190 /* Fix SwigMethods to carry the callback ptrs when needed */
37191 /* -----------------------------------------------------------------------------*/
37192
37193 static void
37194 SWIG_Python_FixMethods(PyMethodDef *methods,
37195 swig_const_info *const_table,
37196 swig_type_info **types,
37197 swig_type_info **types_initial) {
37198 size_t i;
37199 for (i = 0; methods[i].ml_name; ++i) {
37200 char *c = methods[i].ml_doc;
37201 if (c && (c = strstr(c, "swig_ptr: "))) {
37202 int j;
37203 swig_const_info *ci = 0;
37204 char *name = c + 10;
37205 for (j = 0; const_table[j].type; j++) {
37206 if (strncmp(const_table[j].name, name,
37207 strlen(const_table[j].name)) == 0) {
37208 ci = &(const_table[j]);
37209 break;
37210 }
37211 }
37212 if (ci) {
37213 size_t shift = (ci->ptype) - types;
37214 swig_type_info *ty = types_initial[shift];
37215 size_t ldoc = (c - methods[i].ml_doc);
37216 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
37217 char *ndoc = (char*)malloc(ldoc + lptr + 10);
37218 char *buff = ndoc;
37219 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue: (void *)(ci->lvalue);
37220 strncpy(buff, methods[i].ml_doc, ldoc);
37221 buff += ldoc;
37222 strncpy(buff, "swig_ptr: ", 10);
37223 buff += 10;
37224 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
37225 methods[i].ml_doc = ndoc;
37226 }
37227 }
37228 }
37229 }
37230
37231 /* -----------------------------------------------------------------------------*
37232 * Initialize type list
37233 * -----------------------------------------------------------------------------*/
37234
37235#if PY_MAJOR_VERSION < 2
37236 /* PyModule_AddObject function was introduced in Python 2.0. The following function
37237 is copied out of Python/modsupport.c in python version 2.3.4 */
37238 static int
37239 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
37240 {
37241 PyObject *dict;
37242 if (!PyModule_Check(m)) {
37243 PyErr_SetString(PyExc_TypeError,
37244 "PyModule_AddObject() needs module as first arg");
37245 return -1;
37246 }
37247 if (!o) {
37248 PyErr_SetString(PyExc_TypeError,
37249 "PyModule_AddObject() needs non-NULL value");
37250 return -1;
37251 }
37252
37253 dict = PyModule_GetDict(m);
37254 if (dict == NULL) {
37255 /* Internal error -- modules must have a dict! */
37256 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
37257 PyModule_GetName(m));
37258 return -1;
37259 }
37260 if (PyDict_SetItemString(dict, name, o))
37261 return -1;
37262 Py_DECREF(o);
37263 return 0;
37264 }
37265#endif
37266
37267 static swig_type_info **
37268 SWIG_Python_SetTypeListHandle(swig_type_info **type_list_handle) {
37269 static PyMethodDef swig_empty_runtime_method_table[] = {
37270 {
37271 NULL, NULL, 0, NULL
37272 }
37273 };/* Sentinel */
37274
37275 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
37276 swig_empty_runtime_method_table);
37277 PyObject *pointer = PyCObject_FromVoidPtr((void *) type_list_handle, NULL);
37278 if (pointer && module) {
37279 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
37280 }
37281 return type_list_handle;
37282 }
37283
37284 static swig_type_info **
37285 SWIG_Python_LookupTypePointer(swig_type_info **type_list_handle) {
37286 swig_type_info **type_pointer;
37287
37288 /* first check if module already created */
37289 type_pointer = SWIG_Python_GetTypeListHandle();
37290 if (type_pointer) {
37291 return type_pointer;
37292 } else {
37293 /* create a new module and variable */
37294 return SWIG_Python_SetTypeListHandle(type_list_handle);
37295 }
37296 }
37297
37298#ifdef __cplusplus
37299}
37300#endif
37301
37302/* -----------------------------------------------------------------------------*
37303 * Partial Init method
37304 * -----------------------------------------------------------------------------*/
37305
37306#ifdef SWIG_LINK_RUNTIME
37307#ifdef __cplusplus
37308extern "C"
37309#endif
37310SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
37311#endif
37312
d14a1e28
RD
37313#ifdef __cplusplus
37314extern "C"
37315#endif
37316SWIGEXPORT(void) SWIG_init(void) {
37317 static PyObject *SWIG_globals = 0;
37318 static int typeinit = 0;
37319 PyObject *m, *d;
37320 int i;
37321 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
093d3ff1
RD
37322
37323 /* Fix SwigMethods to carry the callback ptrs when needed */
37324 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_types_initial);
37325
d14a1e28
RD
37326 m = Py_InitModule((char *) SWIG_name, SwigMethods);
37327 d = PyModule_GetDict(m);
37328
37329 if (!typeinit) {
093d3ff1
RD
37330#ifdef SWIG_LINK_RUNTIME
37331 swig_type_list_handle = (swig_type_info **) SWIG_ReturnGlobalTypeList(swig_type_list_handle);
37332#else
37333# ifndef SWIG_STATIC_RUNTIME
37334 swig_type_list_handle = SWIG_Python_LookupTypePointer(swig_type_list_handle);
37335# endif
37336#endif
d14a1e28
RD
37337 for (i = 0; swig_types_initial[i]; i++) {
37338 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
37339 }
37340 typeinit = 1;
37341 }
37342 SWIG_InstallConstants(d,swig_const_table);
37343
b2dc1044
RD
37344 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
37345 SWIG_addvarlink(SWIG_globals,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get, _wrap_ButtonNameStr_set);
093d3ff1
RD
37346 {
37347 PyDict_SetItemString(d,"BU_LEFT", SWIG_From_int((int)(wxBU_LEFT)));
37348 }
37349 {
37350 PyDict_SetItemString(d,"BU_TOP", SWIG_From_int((int)(wxBU_TOP)));
37351 }
37352 {
37353 PyDict_SetItemString(d,"BU_RIGHT", SWIG_From_int((int)(wxBU_RIGHT)));
37354 }
37355 {
37356 PyDict_SetItemString(d,"BU_BOTTOM", SWIG_From_int((int)(wxBU_BOTTOM)));
37357 }
37358 {
37359 PyDict_SetItemString(d,"BU_ALIGN_MASK", SWIG_From_int((int)(wxBU_ALIGN_MASK)));
37360 }
37361 {
37362 PyDict_SetItemString(d,"BU_EXACTFIT", SWIG_From_int((int)(wxBU_EXACTFIT)));
37363 }
37364 {
37365 PyDict_SetItemString(d,"BU_AUTODRAW", SWIG_From_int((int)(wxBU_AUTODRAW)));
37366 }
b2dc1044 37367 SWIG_addvarlink(SWIG_globals,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get, _wrap_CheckBoxNameStr_set);
093d3ff1
RD
37368 {
37369 PyDict_SetItemString(d,"CHK_2STATE", SWIG_From_int((int)(wxCHK_2STATE)));
37370 }
37371 {
37372 PyDict_SetItemString(d,"CHK_3STATE", SWIG_From_int((int)(wxCHK_3STATE)));
37373 }
37374 {
37375 PyDict_SetItemString(d,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_From_int((int)(wxCHK_ALLOW_3RD_STATE_FOR_USER)));
37376 }
37377 {
37378 PyDict_SetItemString(d,"CHK_UNCHECKED", SWIG_From_int((int)(wxCHK_UNCHECKED)));
37379 }
37380 {
37381 PyDict_SetItemString(d,"CHK_CHECKED", SWIG_From_int((int)(wxCHK_CHECKED)));
37382 }
37383 {
37384 PyDict_SetItemString(d,"CHK_UNDETERMINED", SWIG_From_int((int)(wxCHK_UNDETERMINED)));
37385 }
b2dc1044
RD
37386 SWIG_addvarlink(SWIG_globals,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get, _wrap_ChoiceNameStr_set);
37387 SWIG_addvarlink(SWIG_globals,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get, _wrap_ComboBoxNameStr_set);
37388 SWIG_addvarlink(SWIG_globals,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get, _wrap_GaugeNameStr_set);
093d3ff1
RD
37389 {
37390 PyDict_SetItemString(d,"GA_HORIZONTAL", SWIG_From_int((int)(wxGA_HORIZONTAL)));
37391 }
37392 {
37393 PyDict_SetItemString(d,"GA_VERTICAL", SWIG_From_int((int)(wxGA_VERTICAL)));
37394 }
37395 {
37396 PyDict_SetItemString(d,"GA_SMOOTH", SWIG_From_int((int)(wxGA_SMOOTH)));
37397 }
37398 {
37399 PyDict_SetItemString(d,"GA_PROGRESSBAR", SWIG_From_int((int)(wxGA_PROGRESSBAR)));
37400 }
b2dc1044
RD
37401 SWIG_addvarlink(SWIG_globals,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get, _wrap_StaticBitmapNameStr_set);
37402 SWIG_addvarlink(SWIG_globals,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get, _wrap_StaticBoxNameStr_set);
37403 SWIG_addvarlink(SWIG_globals,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get, _wrap_StaticTextNameStr_set);
37404 SWIG_addvarlink(SWIG_globals,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get, _wrap_ListBoxNameStr_set);
37405 SWIG_addvarlink(SWIG_globals,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get, _wrap_TextCtrlNameStr_set);
093d3ff1
RD
37406 {
37407 PyDict_SetItemString(d,"TE_NO_VSCROLL", SWIG_From_int((int)(wxTE_NO_VSCROLL)));
37408 }
37409 {
37410 PyDict_SetItemString(d,"TE_AUTO_SCROLL", SWIG_From_int((int)(wxTE_AUTO_SCROLL)));
37411 }
37412 {
37413 PyDict_SetItemString(d,"TE_READONLY", SWIG_From_int((int)(wxTE_READONLY)));
37414 }
37415 {
37416 PyDict_SetItemString(d,"TE_MULTILINE", SWIG_From_int((int)(wxTE_MULTILINE)));
37417 }
37418 {
37419 PyDict_SetItemString(d,"TE_PROCESS_TAB", SWIG_From_int((int)(wxTE_PROCESS_TAB)));
37420 }
37421 {
37422 PyDict_SetItemString(d,"TE_LEFT", SWIG_From_int((int)(wxTE_LEFT)));
37423 }
37424 {
37425 PyDict_SetItemString(d,"TE_CENTER", SWIG_From_int((int)(wxTE_CENTER)));
37426 }
37427 {
37428 PyDict_SetItemString(d,"TE_RIGHT", SWIG_From_int((int)(wxTE_RIGHT)));
37429 }
37430 {
37431 PyDict_SetItemString(d,"TE_CENTRE", SWIG_From_int((int)(wxTE_CENTRE)));
37432 }
37433 {
37434 PyDict_SetItemString(d,"TE_RICH", SWIG_From_int((int)(wxTE_RICH)));
37435 }
37436 {
37437 PyDict_SetItemString(d,"TE_PROCESS_ENTER", SWIG_From_int((int)(wxTE_PROCESS_ENTER)));
37438 }
37439 {
37440 PyDict_SetItemString(d,"TE_PASSWORD", SWIG_From_int((int)(wxTE_PASSWORD)));
37441 }
37442 {
37443 PyDict_SetItemString(d,"TE_AUTO_URL", SWIG_From_int((int)(wxTE_AUTO_URL)));
37444 }
37445 {
37446 PyDict_SetItemString(d,"TE_NOHIDESEL", SWIG_From_int((int)(wxTE_NOHIDESEL)));
37447 }
37448 {
37449 PyDict_SetItemString(d,"TE_DONTWRAP", SWIG_From_int((int)(wxTE_DONTWRAP)));
37450 }
37451 {
08d9e66e 37452 PyDict_SetItemString(d,"TE_CHARWRAP", SWIG_From_int((int)(wxTE_CHARWRAP)));
093d3ff1
RD
37453 }
37454 {
37455 PyDict_SetItemString(d,"TE_WORDWRAP", SWIG_From_int((int)(wxTE_WORDWRAP)));
37456 }
08d9e66e
RD
37457 {
37458 PyDict_SetItemString(d,"TE_BESTWRAP", SWIG_From_int((int)(wxTE_BESTWRAP)));
37459 }
37460 {
37461 PyDict_SetItemString(d,"TE_LINEWRAP", SWIG_From_int((int)(wxTE_LINEWRAP)));
37462 }
093d3ff1
RD
37463 {
37464 PyDict_SetItemString(d,"TE_RICH2", SWIG_From_int((int)(wxTE_RICH2)));
37465 }
88c6b281
RD
37466 {
37467 PyDict_SetItemString(d,"TE_CAPITALIZE", SWIG_From_int((int)(wxTE_CAPITALIZE)));
37468 }
093d3ff1
RD
37469 {
37470 PyDict_SetItemString(d,"TEXT_ALIGNMENT_DEFAULT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_DEFAULT)));
37471 }
37472 {
37473 PyDict_SetItemString(d,"TEXT_ALIGNMENT_LEFT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_LEFT)));
37474 }
37475 {
37476 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTRE", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTRE)));
37477 }
37478 {
37479 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTER", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTER)));
37480 }
37481 {
37482 PyDict_SetItemString(d,"TEXT_ALIGNMENT_RIGHT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_RIGHT)));
37483 }
37484 {
37485 PyDict_SetItemString(d,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_From_int((int)(wxTEXT_ALIGNMENT_JUSTIFIED)));
37486 }
37487 {
37488 PyDict_SetItemString(d,"TEXT_ATTR_TEXT_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_TEXT_COLOUR)));
37489 }
37490 {
37491 PyDict_SetItemString(d,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_BACKGROUND_COLOUR)));
37492 }
37493 {
37494 PyDict_SetItemString(d,"TEXT_ATTR_FONT_FACE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_FACE)));
37495 }
37496 {
37497 PyDict_SetItemString(d,"TEXT_ATTR_FONT_SIZE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_SIZE)));
37498 }
37499 {
37500 PyDict_SetItemString(d,"TEXT_ATTR_FONT_WEIGHT", SWIG_From_int((int)(wxTEXT_ATTR_FONT_WEIGHT)));
37501 }
37502 {
37503 PyDict_SetItemString(d,"TEXT_ATTR_FONT_ITALIC", SWIG_From_int((int)(wxTEXT_ATTR_FONT_ITALIC)));
37504 }
37505 {
37506 PyDict_SetItemString(d,"TEXT_ATTR_FONT_UNDERLINE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_UNDERLINE)));
37507 }
37508 {
37509 PyDict_SetItemString(d,"TEXT_ATTR_FONT", SWIG_From_int((int)(wxTEXT_ATTR_FONT)));
37510 }
37511 {
37512 PyDict_SetItemString(d,"TEXT_ATTR_ALIGNMENT", SWIG_From_int((int)(wxTEXT_ATTR_ALIGNMENT)));
37513 }
37514 {
37515 PyDict_SetItemString(d,"TEXT_ATTR_LEFT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_LEFT_INDENT)));
37516 }
37517 {
37518 PyDict_SetItemString(d,"TEXT_ATTR_RIGHT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_RIGHT_INDENT)));
37519 }
37520 {
37521 PyDict_SetItemString(d,"TEXT_ATTR_TABS", SWIG_From_int((int)(wxTEXT_ATTR_TABS)));
37522 }
37523 {
37524 PyDict_SetItemString(d,"TE_HT_UNKNOWN", SWIG_From_int((int)(wxTE_HT_UNKNOWN)));
37525 }
37526 {
37527 PyDict_SetItemString(d,"TE_HT_BEFORE", SWIG_From_int((int)(wxTE_HT_BEFORE)));
37528 }
37529 {
37530 PyDict_SetItemString(d,"TE_HT_ON_TEXT", SWIG_From_int((int)(wxTE_HT_ON_TEXT)));
37531 }
37532 {
37533 PyDict_SetItemString(d,"TE_HT_BELOW", SWIG_From_int((int)(wxTE_HT_BELOW)));
37534 }
37535 {
37536 PyDict_SetItemString(d,"TE_HT_BEYOND", SWIG_From_int((int)(wxTE_HT_BEYOND)));
37537 }
7557b9b5
RD
37538 {
37539 PyDict_SetItemString(d,"OutOfRangeTextCoord", SWIG_From_int((int)(wxOutOfRangeTextCoord)));
37540 }
37541 {
37542 PyDict_SetItemString(d,"InvalidTextCoord", SWIG_From_int((int)(wxInvalidTextCoord)));
37543 }
d14a1e28
RD
37544 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
37545 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
37546 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
37547 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
b2dc1044
RD
37548 SWIG_addvarlink(SWIG_globals,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get, _wrap_ScrollBarNameStr_set);
37549 SWIG_addvarlink(SWIG_globals,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get, _wrap_SPIN_BUTTON_NAME_set);
37550 SWIG_addvarlink(SWIG_globals,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get, _wrap_SpinCtrlNameStr_set);
093d3ff1
RD
37551 {
37552 PyDict_SetItemString(d,"SP_HORIZONTAL", SWIG_From_int((int)(wxSP_HORIZONTAL)));
37553 }
37554 {
37555 PyDict_SetItemString(d,"SP_VERTICAL", SWIG_From_int((int)(wxSP_VERTICAL)));
37556 }
37557 {
37558 PyDict_SetItemString(d,"SP_ARROW_KEYS", SWIG_From_int((int)(wxSP_ARROW_KEYS)));
37559 }
37560 {
37561 PyDict_SetItemString(d,"SP_WRAP", SWIG_From_int((int)(wxSP_WRAP)));
37562 }
d14a1e28 37563 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
b2dc1044
RD
37564 SWIG_addvarlink(SWIG_globals,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get, _wrap_RadioBoxNameStr_set);
37565 SWIG_addvarlink(SWIG_globals,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get, _wrap_RadioButtonNameStr_set);
37566 SWIG_addvarlink(SWIG_globals,(char*)"SliderNameStr",_wrap_SliderNameStr_get, _wrap_SliderNameStr_set);
7557b9b5
RD
37567 {
37568 PyDict_SetItemString(d,"SL_HORIZONTAL", SWIG_From_int((int)(wxSL_HORIZONTAL)));
37569 }
37570 {
37571 PyDict_SetItemString(d,"SL_VERTICAL", SWIG_From_int((int)(wxSL_VERTICAL)));
37572 }
37573 {
37574 PyDict_SetItemString(d,"SL_AUTOTICKS", SWIG_From_int((int)(wxSL_AUTOTICKS)));
37575 }
37576 {
37577 PyDict_SetItemString(d,"SL_LABELS", SWIG_From_int((int)(wxSL_LABELS)));
37578 }
37579 {
37580 PyDict_SetItemString(d,"SL_LEFT", SWIG_From_int((int)(wxSL_LEFT)));
37581 }
37582 {
37583 PyDict_SetItemString(d,"SL_TOP", SWIG_From_int((int)(wxSL_TOP)));
37584 }
37585 {
37586 PyDict_SetItemString(d,"SL_RIGHT", SWIG_From_int((int)(wxSL_RIGHT)));
37587 }
37588 {
37589 PyDict_SetItemString(d,"SL_BOTTOM", SWIG_From_int((int)(wxSL_BOTTOM)));
37590 }
37591 {
37592 PyDict_SetItemString(d,"SL_BOTH", SWIG_From_int((int)(wxSL_BOTH)));
37593 }
37594 {
37595 PyDict_SetItemString(d,"SL_SELRANGE", SWIG_From_int((int)(wxSL_SELRANGE)));
37596 }
37597 {
37598 PyDict_SetItemString(d,"SL_INVERSE", SWIG_From_int((int)(wxSL_INVERSE)));
37599 }
b2dc1044 37600 SWIG_addvarlink(SWIG_globals,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get, _wrap_ToggleButtonNameStr_set);
d14a1e28 37601 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
51b83b37 37602 SWIG_addvarlink(SWIG_globals,(char*)"NotebookNameStr",_wrap_NotebookNameStr_get, _wrap_NotebookNameStr_set);
093d3ff1
RD
37603 {
37604 PyDict_SetItemString(d,"NB_FIXEDWIDTH", SWIG_From_int((int)(wxNB_FIXEDWIDTH)));
37605 }
37606 {
37607 PyDict_SetItemString(d,"NB_TOP", SWIG_From_int((int)(wxNB_TOP)));
37608 }
37609 {
37610 PyDict_SetItemString(d,"NB_LEFT", SWIG_From_int((int)(wxNB_LEFT)));
37611 }
37612 {
37613 PyDict_SetItemString(d,"NB_RIGHT", SWIG_From_int((int)(wxNB_RIGHT)));
37614 }
37615 {
37616 PyDict_SetItemString(d,"NB_BOTTOM", SWIG_From_int((int)(wxNB_BOTTOM)));
37617 }
37618 {
37619 PyDict_SetItemString(d,"NB_MULTILINE", SWIG_From_int((int)(wxNB_MULTILINE)));
37620 }
8e738329
RD
37621 {
37622 PyDict_SetItemString(d,"NB_NOPAGETHEME", SWIG_From_int((int)(wxNB_NOPAGETHEME)));
37623 }
093d3ff1
RD
37624 {
37625 PyDict_SetItemString(d,"NB_HITTEST_NOWHERE", SWIG_From_int((int)(wxNB_HITTEST_NOWHERE)));
37626 }
37627 {
37628 PyDict_SetItemString(d,"NB_HITTEST_ONICON", SWIG_From_int((int)(wxNB_HITTEST_ONICON)));
37629 }
37630 {
37631 PyDict_SetItemString(d,"NB_HITTEST_ONLABEL", SWIG_From_int((int)(wxNB_HITTEST_ONLABEL)));
37632 }
37633 {
37634 PyDict_SetItemString(d,"NB_HITTEST_ONITEM", SWIG_From_int((int)(wxNB_HITTEST_ONITEM)));
37635 }
d14a1e28
RD
37636 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
37637 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
093d3ff1
RD
37638 {
37639 PyDict_SetItemString(d,"LB_DEFAULT", SWIG_From_int((int)(wxLB_DEFAULT)));
37640 }
37641 {
37642 PyDict_SetItemString(d,"LB_TOP", SWIG_From_int((int)(wxLB_TOP)));
37643 }
37644 {
37645 PyDict_SetItemString(d,"LB_BOTTOM", SWIG_From_int((int)(wxLB_BOTTOM)));
37646 }
37647 {
37648 PyDict_SetItemString(d,"LB_LEFT", SWIG_From_int((int)(wxLB_LEFT)));
37649 }
37650 {
37651 PyDict_SetItemString(d,"LB_RIGHT", SWIG_From_int((int)(wxLB_RIGHT)));
37652 }
37653 {
37654 PyDict_SetItemString(d,"LB_ALIGN_MASK", SWIG_From_int((int)(wxLB_ALIGN_MASK)));
37655 }
d14a1e28
RD
37656 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
37657 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
093d3ff1
RD
37658 {
37659 PyDict_SetItemString(d,"CHB_DEFAULT", SWIG_From_int((int)(wxCHB_DEFAULT)));
37660 }
37661 {
37662 PyDict_SetItemString(d,"CHB_TOP", SWIG_From_int((int)(wxCHB_TOP)));
37663 }
37664 {
37665 PyDict_SetItemString(d,"CHB_BOTTOM", SWIG_From_int((int)(wxCHB_BOTTOM)));
37666 }
37667 {
37668 PyDict_SetItemString(d,"CHB_LEFT", SWIG_From_int((int)(wxCHB_LEFT)));
37669 }
37670 {
37671 PyDict_SetItemString(d,"CHB_RIGHT", SWIG_From_int((int)(wxCHB_RIGHT)));
37672 }
37673 {
37674 PyDict_SetItemString(d,"CHB_ALIGN_MASK", SWIG_From_int((int)(wxCHB_ALIGN_MASK)));
37675 }
2ef75293
RD
37676 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED));
37677 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING));
093d3ff1
RD
37678 {
37679 PyDict_SetItemString(d,"TOOL_STYLE_BUTTON", SWIG_From_int((int)(wxTOOL_STYLE_BUTTON)));
37680 }
37681 {
37682 PyDict_SetItemString(d,"TOOL_STYLE_SEPARATOR", SWIG_From_int((int)(wxTOOL_STYLE_SEPARATOR)));
37683 }
37684 {
37685 PyDict_SetItemString(d,"TOOL_STYLE_CONTROL", SWIG_From_int((int)(wxTOOL_STYLE_CONTROL)));
37686 }
37687 {
37688 PyDict_SetItemString(d,"TB_HORIZONTAL", SWIG_From_int((int)(wxTB_HORIZONTAL)));
37689 }
37690 {
37691 PyDict_SetItemString(d,"TB_VERTICAL", SWIG_From_int((int)(wxTB_VERTICAL)));
37692 }
37693 {
37694 PyDict_SetItemString(d,"TB_3DBUTTONS", SWIG_From_int((int)(wxTB_3DBUTTONS)));
37695 }
37696 {
37697 PyDict_SetItemString(d,"TB_FLAT", SWIG_From_int((int)(wxTB_FLAT)));
37698 }
37699 {
37700 PyDict_SetItemString(d,"TB_DOCKABLE", SWIG_From_int((int)(wxTB_DOCKABLE)));
37701 }
37702 {
37703 PyDict_SetItemString(d,"TB_NOICONS", SWIG_From_int((int)(wxTB_NOICONS)));
37704 }
37705 {
37706 PyDict_SetItemString(d,"TB_TEXT", SWIG_From_int((int)(wxTB_TEXT)));
37707 }
37708 {
37709 PyDict_SetItemString(d,"TB_NODIVIDER", SWIG_From_int((int)(wxTB_NODIVIDER)));
37710 }
37711 {
37712 PyDict_SetItemString(d,"TB_NOALIGN", SWIG_From_int((int)(wxTB_NOALIGN)));
37713 }
37714 {
37715 PyDict_SetItemString(d,"TB_HORZ_LAYOUT", SWIG_From_int((int)(wxTB_HORZ_LAYOUT)));
37716 }
37717 {
37718 PyDict_SetItemString(d,"TB_HORZ_TEXT", SWIG_From_int((int)(wxTB_HORZ_TEXT)));
37719 }
b2dc1044 37720 SWIG_addvarlink(SWIG_globals,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get, _wrap_ListCtrlNameStr_set);
093d3ff1
RD
37721 {
37722 PyDict_SetItemString(d,"LC_VRULES", SWIG_From_int((int)(wxLC_VRULES)));
37723 }
37724 {
37725 PyDict_SetItemString(d,"LC_HRULES", SWIG_From_int((int)(wxLC_HRULES)));
37726 }
37727 {
37728 PyDict_SetItemString(d,"LC_ICON", SWIG_From_int((int)(wxLC_ICON)));
37729 }
37730 {
37731 PyDict_SetItemString(d,"LC_SMALL_ICON", SWIG_From_int((int)(wxLC_SMALL_ICON)));
37732 }
37733 {
37734 PyDict_SetItemString(d,"LC_LIST", SWIG_From_int((int)(wxLC_LIST)));
37735 }
37736 {
37737 PyDict_SetItemString(d,"LC_REPORT", SWIG_From_int((int)(wxLC_REPORT)));
37738 }
37739 {
37740 PyDict_SetItemString(d,"LC_ALIGN_TOP", SWIG_From_int((int)(wxLC_ALIGN_TOP)));
37741 }
37742 {
37743 PyDict_SetItemString(d,"LC_ALIGN_LEFT", SWIG_From_int((int)(wxLC_ALIGN_LEFT)));
37744 }
37745 {
37746 PyDict_SetItemString(d,"LC_AUTOARRANGE", SWIG_From_int((int)(wxLC_AUTOARRANGE)));
37747 }
37748 {
37749 PyDict_SetItemString(d,"LC_VIRTUAL", SWIG_From_int((int)(wxLC_VIRTUAL)));
37750 }
37751 {
37752 PyDict_SetItemString(d,"LC_EDIT_LABELS", SWIG_From_int((int)(wxLC_EDIT_LABELS)));
37753 }
37754 {
37755 PyDict_SetItemString(d,"LC_NO_HEADER", SWIG_From_int((int)(wxLC_NO_HEADER)));
37756 }
37757 {
37758 PyDict_SetItemString(d,"LC_NO_SORT_HEADER", SWIG_From_int((int)(wxLC_NO_SORT_HEADER)));
37759 }
37760 {
37761 PyDict_SetItemString(d,"LC_SINGLE_SEL", SWIG_From_int((int)(wxLC_SINGLE_SEL)));
37762 }
37763 {
37764 PyDict_SetItemString(d,"LC_SORT_ASCENDING", SWIG_From_int((int)(wxLC_SORT_ASCENDING)));
37765 }
37766 {
37767 PyDict_SetItemString(d,"LC_SORT_DESCENDING", SWIG_From_int((int)(wxLC_SORT_DESCENDING)));
37768 }
37769 {
37770 PyDict_SetItemString(d,"LC_MASK_TYPE", SWIG_From_int((int)(wxLC_MASK_TYPE)));
37771 }
37772 {
37773 PyDict_SetItemString(d,"LC_MASK_ALIGN", SWIG_From_int((int)(wxLC_MASK_ALIGN)));
37774 }
37775 {
37776 PyDict_SetItemString(d,"LC_MASK_SORT", SWIG_From_int((int)(wxLC_MASK_SORT)));
37777 }
37778 {
37779 PyDict_SetItemString(d,"LIST_MASK_STATE", SWIG_From_int((int)(wxLIST_MASK_STATE)));
37780 }
37781 {
37782 PyDict_SetItemString(d,"LIST_MASK_TEXT", SWIG_From_int((int)(wxLIST_MASK_TEXT)));
37783 }
37784 {
37785 PyDict_SetItemString(d,"LIST_MASK_IMAGE", SWIG_From_int((int)(wxLIST_MASK_IMAGE)));
37786 }
37787 {
37788 PyDict_SetItemString(d,"LIST_MASK_DATA", SWIG_From_int((int)(wxLIST_MASK_DATA)));
37789 }
37790 {
37791 PyDict_SetItemString(d,"LIST_SET_ITEM", SWIG_From_int((int)(wxLIST_SET_ITEM)));
37792 }
37793 {
37794 PyDict_SetItemString(d,"LIST_MASK_WIDTH", SWIG_From_int((int)(wxLIST_MASK_WIDTH)));
37795 }
37796 {
37797 PyDict_SetItemString(d,"LIST_MASK_FORMAT", SWIG_From_int((int)(wxLIST_MASK_FORMAT)));
37798 }
37799 {
37800 PyDict_SetItemString(d,"LIST_STATE_DONTCARE", SWIG_From_int((int)(wxLIST_STATE_DONTCARE)));
37801 }
37802 {
37803 PyDict_SetItemString(d,"LIST_STATE_DROPHILITED", SWIG_From_int((int)(wxLIST_STATE_DROPHILITED)));
37804 }
37805 {
37806 PyDict_SetItemString(d,"LIST_STATE_FOCUSED", SWIG_From_int((int)(wxLIST_STATE_FOCUSED)));
37807 }
37808 {
37809 PyDict_SetItemString(d,"LIST_STATE_SELECTED", SWIG_From_int((int)(wxLIST_STATE_SELECTED)));
37810 }
37811 {
37812 PyDict_SetItemString(d,"LIST_STATE_CUT", SWIG_From_int((int)(wxLIST_STATE_CUT)));
37813 }
37814 {
37815 PyDict_SetItemString(d,"LIST_STATE_DISABLED", SWIG_From_int((int)(wxLIST_STATE_DISABLED)));
37816 }
37817 {
37818 PyDict_SetItemString(d,"LIST_STATE_FILTERED", SWIG_From_int((int)(wxLIST_STATE_FILTERED)));
37819 }
37820 {
37821 PyDict_SetItemString(d,"LIST_STATE_INUSE", SWIG_From_int((int)(wxLIST_STATE_INUSE)));
37822 }
37823 {
37824 PyDict_SetItemString(d,"LIST_STATE_PICKED", SWIG_From_int((int)(wxLIST_STATE_PICKED)));
37825 }
37826 {
37827 PyDict_SetItemString(d,"LIST_STATE_SOURCE", SWIG_From_int((int)(wxLIST_STATE_SOURCE)));
37828 }
37829 {
37830 PyDict_SetItemString(d,"LIST_HITTEST_ABOVE", SWIG_From_int((int)(wxLIST_HITTEST_ABOVE)));
37831 }
37832 {
37833 PyDict_SetItemString(d,"LIST_HITTEST_BELOW", SWIG_From_int((int)(wxLIST_HITTEST_BELOW)));
37834 }
37835 {
37836 PyDict_SetItemString(d,"LIST_HITTEST_NOWHERE", SWIG_From_int((int)(wxLIST_HITTEST_NOWHERE)));
37837 }
37838 {
37839 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMICON)));
37840 }
37841 {
37842 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMLABEL)));
37843 }
37844 {
37845 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMRIGHT)));
37846 }
37847 {
37848 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMSTATEICON)));
37849 }
37850 {
37851 PyDict_SetItemString(d,"LIST_HITTEST_TOLEFT", SWIG_From_int((int)(wxLIST_HITTEST_TOLEFT)));
37852 }
37853 {
37854 PyDict_SetItemString(d,"LIST_HITTEST_TORIGHT", SWIG_From_int((int)(wxLIST_HITTEST_TORIGHT)));
37855 }
37856 {
37857 PyDict_SetItemString(d,"LIST_HITTEST_ONITEM", SWIG_From_int((int)(wxLIST_HITTEST_ONITEM)));
37858 }
37859 {
37860 PyDict_SetItemString(d,"LIST_NEXT_ABOVE", SWIG_From_int((int)(wxLIST_NEXT_ABOVE)));
37861 }
37862 {
37863 PyDict_SetItemString(d,"LIST_NEXT_ALL", SWIG_From_int((int)(wxLIST_NEXT_ALL)));
37864 }
37865 {
37866 PyDict_SetItemString(d,"LIST_NEXT_BELOW", SWIG_From_int((int)(wxLIST_NEXT_BELOW)));
37867 }
37868 {
37869 PyDict_SetItemString(d,"LIST_NEXT_LEFT", SWIG_From_int((int)(wxLIST_NEXT_LEFT)));
37870 }
37871 {
37872 PyDict_SetItemString(d,"LIST_NEXT_RIGHT", SWIG_From_int((int)(wxLIST_NEXT_RIGHT)));
37873 }
37874 {
37875 PyDict_SetItemString(d,"LIST_ALIGN_DEFAULT", SWIG_From_int((int)(wxLIST_ALIGN_DEFAULT)));
37876 }
37877 {
37878 PyDict_SetItemString(d,"LIST_ALIGN_LEFT", SWIG_From_int((int)(wxLIST_ALIGN_LEFT)));
37879 }
37880 {
37881 PyDict_SetItemString(d,"LIST_ALIGN_TOP", SWIG_From_int((int)(wxLIST_ALIGN_TOP)));
37882 }
37883 {
37884 PyDict_SetItemString(d,"LIST_ALIGN_SNAP_TO_GRID", SWIG_From_int((int)(wxLIST_ALIGN_SNAP_TO_GRID)));
37885 }
37886 {
37887 PyDict_SetItemString(d,"LIST_FORMAT_LEFT", SWIG_From_int((int)(wxLIST_FORMAT_LEFT)));
37888 }
37889 {
37890 PyDict_SetItemString(d,"LIST_FORMAT_RIGHT", SWIG_From_int((int)(wxLIST_FORMAT_RIGHT)));
37891 }
37892 {
37893 PyDict_SetItemString(d,"LIST_FORMAT_CENTRE", SWIG_From_int((int)(wxLIST_FORMAT_CENTRE)));
37894 }
37895 {
37896 PyDict_SetItemString(d,"LIST_FORMAT_CENTER", SWIG_From_int((int)(wxLIST_FORMAT_CENTER)));
37897 }
37898 {
37899 PyDict_SetItemString(d,"LIST_AUTOSIZE", SWIG_From_int((int)(wxLIST_AUTOSIZE)));
37900 }
37901 {
37902 PyDict_SetItemString(d,"LIST_AUTOSIZE_USEHEADER", SWIG_From_int((int)(wxLIST_AUTOSIZE_USEHEADER)));
37903 }
37904 {
37905 PyDict_SetItemString(d,"LIST_RECT_BOUNDS", SWIG_From_int((int)(wxLIST_RECT_BOUNDS)));
37906 }
37907 {
37908 PyDict_SetItemString(d,"LIST_RECT_ICON", SWIG_From_int((int)(wxLIST_RECT_ICON)));
37909 }
37910 {
37911 PyDict_SetItemString(d,"LIST_RECT_LABEL", SWIG_From_int((int)(wxLIST_RECT_LABEL)));
37912 }
37913 {
37914 PyDict_SetItemString(d,"LIST_FIND_UP", SWIG_From_int((int)(wxLIST_FIND_UP)));
37915 }
37916 {
37917 PyDict_SetItemString(d,"LIST_FIND_DOWN", SWIG_From_int((int)(wxLIST_FIND_DOWN)));
37918 }
37919 {
37920 PyDict_SetItemString(d,"LIST_FIND_LEFT", SWIG_From_int((int)(wxLIST_FIND_LEFT)));
37921 }
37922 {
37923 PyDict_SetItemString(d,"LIST_FIND_RIGHT", SWIG_From_int((int)(wxLIST_FIND_RIGHT)));
37924 }
d14a1e28
RD
37925 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
37926 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
37927 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
37928 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
37929 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
37930 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
d14a1e28
RD
37931 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
37932 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
37933 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
37934 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
37935 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
37936 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
37937 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
37938 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
37939 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
37940 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
37941 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
37942 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
37943 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
37944 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
7557b9b5
RD
37945 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO));
37946 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO));
d14a1e28
RD
37947
37948 // Map renamed classes back to their common name for OOR
37949 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
37950
b2dc1044 37951 SWIG_addvarlink(SWIG_globals,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get, _wrap_TreeCtrlNameStr_set);
093d3ff1
RD
37952 {
37953 PyDict_SetItemString(d,"TR_NO_BUTTONS", SWIG_From_int((int)(wxTR_NO_BUTTONS)));
37954 }
37955 {
37956 PyDict_SetItemString(d,"TR_HAS_BUTTONS", SWIG_From_int((int)(wxTR_HAS_BUTTONS)));
37957 }
37958 {
37959 PyDict_SetItemString(d,"TR_NO_LINES", SWIG_From_int((int)(wxTR_NO_LINES)));
37960 }
37961 {
37962 PyDict_SetItemString(d,"TR_LINES_AT_ROOT", SWIG_From_int((int)(wxTR_LINES_AT_ROOT)));
37963 }
37964 {
37965 PyDict_SetItemString(d,"TR_SINGLE", SWIG_From_int((int)(wxTR_SINGLE)));
37966 }
37967 {
37968 PyDict_SetItemString(d,"TR_MULTIPLE", SWIG_From_int((int)(wxTR_MULTIPLE)));
37969 }
37970 {
37971 PyDict_SetItemString(d,"TR_EXTENDED", SWIG_From_int((int)(wxTR_EXTENDED)));
37972 }
37973 {
37974 PyDict_SetItemString(d,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_From_int((int)(wxTR_HAS_VARIABLE_ROW_HEIGHT)));
37975 }
37976 {
37977 PyDict_SetItemString(d,"TR_EDIT_LABELS", SWIG_From_int((int)(wxTR_EDIT_LABELS)));
37978 }
37979 {
37980 PyDict_SetItemString(d,"TR_HIDE_ROOT", SWIG_From_int((int)(wxTR_HIDE_ROOT)));
37981 }
37982 {
37983 PyDict_SetItemString(d,"TR_ROW_LINES", SWIG_From_int((int)(wxTR_ROW_LINES)));
37984 }
37985 {
37986 PyDict_SetItemString(d,"TR_FULL_ROW_HIGHLIGHT", SWIG_From_int((int)(wxTR_FULL_ROW_HIGHLIGHT)));
37987 }
37988 {
37989 PyDict_SetItemString(d,"TR_DEFAULT_STYLE", SWIG_From_int((int)(wxTR_DEFAULT_STYLE)));
37990 }
37991 {
37992 PyDict_SetItemString(d,"TR_TWIST_BUTTONS", SWIG_From_int((int)(wxTR_TWIST_BUTTONS)));
37993 }
37994 {
37995 PyDict_SetItemString(d,"TR_MAC_BUTTONS", SWIG_From_int((int)(wxTR_MAC_BUTTONS)));
37996 }
37997 {
37998 PyDict_SetItemString(d,"TR_AQUA_BUTTONS", SWIG_From_int((int)(wxTR_AQUA_BUTTONS)));
37999 }
38000 {
38001 PyDict_SetItemString(d,"TreeItemIcon_Normal", SWIG_From_int((int)(wxTreeItemIcon_Normal)));
38002 }
38003 {
38004 PyDict_SetItemString(d,"TreeItemIcon_Selected", SWIG_From_int((int)(wxTreeItemIcon_Selected)));
38005 }
38006 {
38007 PyDict_SetItemString(d,"TreeItemIcon_Expanded", SWIG_From_int((int)(wxTreeItemIcon_Expanded)));
38008 }
38009 {
38010 PyDict_SetItemString(d,"TreeItemIcon_SelectedExpanded", SWIG_From_int((int)(wxTreeItemIcon_SelectedExpanded)));
38011 }
38012 {
38013 PyDict_SetItemString(d,"TreeItemIcon_Max", SWIG_From_int((int)(wxTreeItemIcon_Max)));
38014 }
38015 {
38016 PyDict_SetItemString(d,"TREE_HITTEST_ABOVE", SWIG_From_int((int)(wxTREE_HITTEST_ABOVE)));
38017 }
38018 {
38019 PyDict_SetItemString(d,"TREE_HITTEST_BELOW", SWIG_From_int((int)(wxTREE_HITTEST_BELOW)));
38020 }
38021 {
38022 PyDict_SetItemString(d,"TREE_HITTEST_NOWHERE", SWIG_From_int((int)(wxTREE_HITTEST_NOWHERE)));
38023 }
38024 {
38025 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMBUTTON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMBUTTON)));
38026 }
38027 {
38028 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMICON)));
38029 }
38030 {
38031 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMINDENT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMINDENT)));
38032 }
38033 {
38034 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLABEL)));
38035 }
38036 {
38037 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMRIGHT)));
38038 }
38039 {
38040 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMSTATEICON)));
38041 }
38042 {
38043 PyDict_SetItemString(d,"TREE_HITTEST_TOLEFT", SWIG_From_int((int)(wxTREE_HITTEST_TOLEFT)));
38044 }
38045 {
38046 PyDict_SetItemString(d,"TREE_HITTEST_TORIGHT", SWIG_From_int((int)(wxTREE_HITTEST_TORIGHT)));
38047 }
38048 {
38049 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMUPPERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMUPPERPART)));
38050 }
38051 {
38052 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLOWERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLOWERPART)));
38053 }
38054 {
38055 PyDict_SetItemString(d,"TREE_HITTEST_ONITEM", SWIG_From_int((int)(wxTREE_HITTEST_ONITEM)));
38056 }
d14a1e28
RD
38057 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
38058 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
38059 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
38060 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
38061 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
38062 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
38063 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
38064 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
38065 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
38066 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
38067 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
38068 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
38069 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
38070 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
38071 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
38072 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
38073 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
38074 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
38075 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
c9c7117a 38076 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
e505d15e 38077 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU));
d14a1e28
RD
38078
38079 // Map renamed classes back to their common name for OOR
38080 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
38081 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
38082
b2dc1044 38083 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get, _wrap_DirDialogDefaultFolderStr_set);
093d3ff1
RD
38084 {
38085 PyDict_SetItemString(d,"DIRCTRL_DIR_ONLY", SWIG_From_int((int)(wxDIRCTRL_DIR_ONLY)));
38086 }
38087 {
38088 PyDict_SetItemString(d,"DIRCTRL_SELECT_FIRST", SWIG_From_int((int)(wxDIRCTRL_SELECT_FIRST)));
38089 }
38090 {
38091 PyDict_SetItemString(d,"DIRCTRL_SHOW_FILTERS", SWIG_From_int((int)(wxDIRCTRL_SHOW_FILTERS)));
38092 }
38093 {
38094 PyDict_SetItemString(d,"DIRCTRL_3D_INTERNAL", SWIG_From_int((int)(wxDIRCTRL_3D_INTERNAL)));
38095 }
38096 {
38097 PyDict_SetItemString(d,"DIRCTRL_EDIT_LABELS", SWIG_From_int((int)(wxDIRCTRL_EDIT_LABELS)));
38098 }
38099 {
38100 PyDict_SetItemString(d,"FRAME_EX_CONTEXTHELP", SWIG_From_int((int)(wxFRAME_EX_CONTEXTHELP)));
38101 }
38102 {
38103 PyDict_SetItemString(d,"DIALOG_EX_CONTEXTHELP", SWIG_From_int((int)(wxDIALOG_EX_CONTEXTHELP)));
38104 }
d14a1e28
RD
38105 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
38106 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
e811c8ce
RD
38107
38108 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
38109
53aa7709
RD
38110 SWIG_addvarlink(SWIG_globals,(char*)"DatePickerCtrlNameStr",_wrap_DatePickerCtrlNameStr_get, _wrap_DatePickerCtrlNameStr_set);
38111 {
38112 PyDict_SetItemString(d,"DP_DEFAULT", SWIG_From_int((int)(wxDP_DEFAULT)));
38113 }
38114 {
38115 PyDict_SetItemString(d,"DP_SPIN", SWIG_From_int((int)(wxDP_SPIN)));
38116 }
38117 {
38118 PyDict_SetItemString(d,"DP_DROPDOWN", SWIG_From_int((int)(wxDP_DROPDOWN)));
38119 }
38120 {
38121 PyDict_SetItemString(d,"DP_SHOWCENTURY", SWIG_From_int((int)(wxDP_SHOWCENTURY)));
38122 }
38123 {
38124 PyDict_SetItemString(d,"DP_ALLOWNONE", SWIG_From_int((int)(wxDP_ALLOWNONE)));
38125 }
d14a1e28
RD
38126}
38127